/*
Theme Name: ボーイスカウト栃木県連盟
Version: 1.1
*/

html,
body {
    width: 100%;
}

body {
   font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 2em;
    color: #333;
    margin: 0;
    -webkit-text-size-adjust: none;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.clearfix {
    display: inline-block;
}

.clearfix {
    display: block;
}

div.clear {
    clear: both;
}

div.clear hr {
    display: none;
}

.breadcrumbs {
    padding: 2em 0 3em 0;
}

img{
	vertical-align:top;
}

a {
	color: #0056b5;
}

a:hover {
	text-decoration: none;
}


span.wpcf7-list-item { display: block; }

/* ----------------------------------------------
	PageNavi
------------------------------------------------*/

#pnavi {
	display: block;
	width: 100%;
	margin: 2em auto;
	padding-bottom: 3em;
}
.nav-previous a,.nav-next a { width:120px; background: #08690b; color: #fff; display: block; padding: .5em 1em; text-decoration: none; -webkit-transition: 0.5s; transition: 0.5s; text-align: center;}
.nav-previous a:hover,.nav-next a:hover { background: #2da631; color: #fff;}

#page-navi {
    width: 100%;
    margin: 3em 0;
    display: block;
    clear: both;
}

.wp-pagenavi {
    font-size: 14px;
}

.wp-pagenavi span.pages {
    width: 100px;
    display: block;
    margin: 0 auto 1em auto;
    padding: text-align: center;
    border: none;
}

.wp-pagenavi {
    display: block;
    text-align: center;
}

.smaller,
.larger {
    background:  #08690b;
}

.wp-pagenavi a {
    color: #fff;
    border: none;
    padding: 1em;
    text-decoration: none;
}

.wp-pagenavi a:hover {
    background: #2da631;
    color: #fff;
}

.current {
    background: #08690b;
    color: #fff;
    border: none;
 border: solid 1px #fff;
}

.previouspostslink,
.nextpostslink,
.wp-pagenavi .first,
.wp-pagenavi .last {
    background: #08690b;
border: solid 1px #fff;    
}

.wp-pagenavi a,
.wp-pagenavi span {
    padding: 12px;
}

.cont-menu-wp {
	margin: 3em 0 4em 0;
}


/*------------------------
	 フォーム
-------------------------*/

input[type="text"],
textarea {
    vertical-align: middle;
    max-width: 90%;
    line-height: 30px;
    height: 30px;
    padding: 1px 5px;
    border: 1px solid #d4d4d7;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    font-size: 100%;
    color: #555;
    background: #fcfcfc;
}

input[type="text"].readonly {
    font-weight: bold;
    vertical-align: middle;
    width: 100%;
    line-height: 20px;
    height: 20px;
    padding: 1px 0;
    border: none;
    font-size: 100%;
    color: #555;
    background: #fff;
}

input[type="tel"],
textarea {
    vertical-align: middle;
    max-width: 90%;
    line-height: 30px;
    height: 30px;
    padding: 1px 5px;
    border: 1px solid #d4d4d7;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    font-size: 100%;
    color: #555;
    background: #fcfcfc;
}

input[type="email"],
textarea {
    vertical-align: middle;
    max-width: 90%;
    line-height: 30px;
    height: 30px;
    padding: 1px 5px;
    border: 1px solid #d4d4d7;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    font-size: 100%;
    color: #555;
    background: #fcfcfc;
}

textarea {
    height: auto;
    line-height: 1.5;
}

input[type="submit"],
input[type="reset"],
input[type="button"] {
    padding: .5em 3em;
    background: #007c1a;
    background: -moz-linear-gradient(top, #1549aa 0%, #1549aa 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #1549aa), color-stop(100%, #1549aa));
    background: -webkit-linear-gradient(top, #1549aa7 0%, #1549aa 100%);
    background: -o-linear-gradient(top, #1549aa 0%, #1549aa 100%);
    background: linear-gradient(to bottom, #1549aa 0%, #1549aa 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1549aa', endColorstr='#1549aa', GradientType=0);
    border: 0;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    line-height: 1.5;
    font-size: 16px;
    color: #fff;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
    background: #212121;
    background: -moz-linear-gradient(top, #212121 0%, #212121 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #212121), color-stop(100%, #212121));
    background: -webkit-linear-gradient(top, #212121 0%, #212121 100%);
    background: -o-linear-gradient(top, #212121 0%, #212121 100%);
    background: linear-gradient(to bottom, #212121 0%, #212121 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#212121', endColorstr='#212121', GradientType=0);
    cursor: pointer;
    -webkit-transition: all .8s;
    transition: all .8s;
}


*:first-child+html input[type="submit"] {
    padding: 3px;
}

#search {
    background: #e2e2e2;
    margin: 0;
    padding: 1em .5em;
    text-align: center;
}

#topm { position: absolute; top:0; width: 100%;}

img {
 vertical-align: bottom;
}

#vi { position: relative;}
#vi-inner::before {content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, #000000ad, transparent 46%);
   z-index: 1;}
#vi img { width: 100%;}
#vi #vbt { position: absolute; left: 0; display: flex; justify-content: center; bottom: 0; text-align: center; margin: 0;  z-index: 5; width: 100%; }
#vbt section { font-size: 19px; line-height: 1; font-weight: bold; margin: 0; padding: 0; width: 15em; list-style: none; list-style-position: inside;}
#vbt section a {text-decoration: none; padding: 1.5em 0; margin: 0; -webkit-transition: all .8s; transition: all .8s;}
#vbt section a::before { content: url(images/arow.svg); display: inline-block; width: 19px; height: 19px; margin-top: -.1em; margin-right: .5em; vertical-align: middle;}
#vbt .vibt1 a { background: #07338d; color: #fff; display: block; }
#vbt .vibt2 a { background: #269b7b; color: #fff; display: block;}
#vbt section a:hover {background: #d51;}
#fbt {display: none;}

#vbt2 { position: fixed; top:35%; right: 0;}
#vbt2 section { font-size: 14px;writing-mode: vertical-rl; line-height: 1; font-weight: bold; margin: 0; padding: 0 ; list-style: none; list-style-position: inside;}
#vbt2 section a {text-decoration: none; padding: 1em 1.2em ; margin: 0; -webkit-transition: all .8s; transition: all .8s;}
/* #vbt2 section a::before { content: url(images/arow.svg); writing-mode: vertical-rl; display: inline-block; width: 19px; height: 19px; margin-top: -.1em; margin-right: .5em; vertical-align: middle;} */
#vbt2 .vibt1 a { background: #07338d; color: #fff; display: block; }
#vbt2 .vibt2 a { background: #269b7b; color: #fff; display: block;}
#vbt2 section a:hover {background: #d51;}


#blockA { background: #dcf0e8 url(images/kumo.png) no-repeat top left; display: block; }
#blockA-inner { max-width: 1100px; width: 95%; display: block; margin: auto; padding: 3em 0 0 0;}
#copy {text-align: center; display: block; max-width:1100px; width: 100%; margin: auto; padding: 3em 0; }
#copy h1 {line-height: 1.6; padding: 1em 0; }
#copy p { font-weight: bold; text-align: left;}
#whatsbs img { width: 100%; height: auto;}
#whatsbs-inner { background: #1f8038; text-align: center; padding: 3em 0 5em 0;}
#whatsbs-inner h2 { margin: 0; color: #fff; font-size: 46px; padding: .5em 0;}
#whatsbs-inner p { font-weight: bold;  color: #fff; padding-bottom: 2em;}

#video { display: block; max-width: 560px; width:90%; margin: 0 auto 2em auto;  }
#youtube {
  position: relative;
  padding-top: 56.25%; 
  height: 0;
}
#youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

#news { max-width: 1100px; width: 95%; display: block; text-align: center;  margin: auto; padding: 3em 0 5em 0;}
#news h3 { font-size: 30px; margin: 0; padding: .6em 0;}

#news-inner { display: flex; flex-wrap: wrap; margin-bottom: 2em;}
#news-inner section { flex-basis: 29%; margin: 2%; text-align: left;}
#news-inner .thum {
    max-width: 100%;
    height: 190px;
    overflow: hidden;
    margin-bottom: .5em;
    border-radius: 10px;
}
#news-inner .thum img {
    width: 100%;
    height: auto;
    transform: scale(1);
    transition: .3s ease-in-out;
}
#news-inner a:hover .thum img{transform: scale(1.1);}
#news-inner a {text-decoration: none; color:#000;}
#news-inner .date {line-height: 1; margin: 0 0 .5em 0; padding: 0;}
#news-inner h4 { font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; font-size: 18px; line-height: 1.2; margin: 0 0 .5em 0; padding: 0;}
#news-inner p { font-size: 14px; line-height: 1.6; margin: 0; padding: 0;}
#blockB {display: block; background: #295642;}
#area { display: block; background: #f5e7bb; border-bottom-left-radius: 30px; border-bottom-right-radius: 30px;}
#area-inner { display: block;max-width: 900px; width: 90%; margin: auto; padding: 3em 0 5em 0; text-align: center;}
#area-inner h3 {font-size: 30px; margin: 0; padding: .6em 0;}
#area-inner p { font-weight: bold; margin: 0 0 3em 0; }
#area-inner  iframe { border: none;}
#ad { display: flex; justify-content: space-between; max-width: 1100px; width: 90%; margin: auto; padding: 4em 0;}
#ad { font-size: 14px; color: #fff; line-height: 1.6;}
#ad a { color: #fff;}
#more a { background: #000; border: solid 1px #fff; display: inline-block; color: #fff; font-weight: bold; text-decoration: none; font-size: 18px; border-radius: 60px; padding: .5em 3em; -webkit-transition: all .8s; transition: all .8s;}
#more a:hover {background: #830;}
#banner { display: block; padding: 3em 0;}
#banner-inner { max-width: 1100px; width: 90%; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; margin: auto;}
#banner-inner section { flex-basis: 20%; margin: 1%;}
#footer {display: block; background: #295642; font-size: 12px; line-height: 1.3; color: #fff; position: relative; z-index: 9999;}
#fdimg img{ width: 100%;}
#footer ul {margin: 0; padding: 2em 0; font-size: 16px;}
#footer li {display: inline-block; list-style: none; }
#footer li::after { content: "|"; padding: 0 .5em;}
#footer li:last-of-type::after { content: ""; padding: 0;}
#footer li a {color: #fff;}
#footer-inner { width: 90%; text-align: center; display: block; padding: 3em 0; margin: auto;}
#content { max-width: 1100px; width: 90%; display: block; margin: auto; padding-bottom: 10em; position: relative; top:74px;}
#pgtop {background: url(images/vi.jpg) no-repeat; background-size: cover; background-position: center; height: 150px; position: relative; top:77px;}
#pgtop::before {content: "";
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background: linear-gradient(180deg, #000000ad, transparent 46%);}
#mbns {display: flex; justify-content: space-between;}
#mbns section:first-of-type {margin-right: 2em;}
#mbns dt { margin: 0; padding: 0; line-height: 1.4; font-size: 14px; }
#mbns dd { margin: 0 0 1em 0; padding: 0; }
#mbns dd h3 { font-size: 16px; line-height: 1.4; margin:.5em 0; padding: 0;}

#blog { display: flex; flex-wrap: wrap;}
#blog section { flex-basis: 31%; margin: 1%;}
#blog .thum {
    max-width: 100%;
    height: 190px;
    overflow: hidden;
    margin-bottom: .5em;
    border-radius: 20px;
}
#blog .thum img {
    width: 100%;
    height: auto;
    transform: scale(1);
    transition: .3s ease-in-out;
}
#blog a:hover .thum img{transform: scale(1.1);}
#blog a {text-decoration: none; color:#000;}
#cont #blog h2 { font-size: 22px; line-height: 1.2; margin: 0 0 .2em 0; padding: 0;}
#blog p { font-size: 14px; line-height: 1.6;}

#qa h2 { background: #281; display: block; color: #fff; padding: .3em 1em; border-top-right-radius: 10px; border-top-left-radius: 10px; margin-bottom: 1em; }
#qrb { display: block; margin: 1em 0 5em 1em;}
#qrb h3 { padding-top: 1em;}
#qrb h3::before {content: 'Q.'; font-size: 26px; color: #261; margin-right: .5em;}
#qrb p { display: block; margin-left: 2.8em;}

#towblock {display: flex; justify-content: space-between;}
#towblock section {flex:1; margin: 2%;}

 a.ct01 {background: #362 url(images/ct01.png) no-repeat; background-size: cover; display: block; border-radius: 20px; ine-height: 1; font-size:26px; font-weight: bold; color: #fff; padding: 3em 2em; text-align: center; text-decoration: none;}
 a.ct02 {background: #584 url(images/ct02.png) no-repeat; background-size: cover; display: block; border-radius: 20px;ine-height: 1; font-size: 26px; font-weight: bold; color: #fff; padding: 3em 2em; text-align: center; text-decoration: none;}
a.ct01 b,a.ct02 b {text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);}
#sosiki { display: flex; justify-content: space-between;}
#sosiki section.soA {flex-basis: 70%;}
#sosiki section.soB {flex-basis: 25%;}
#content h1 { font-size: 28px; border-bottom: solid 2px #281; padding: 0 0 .3em 0; margin: 0 0 1em 0;}


#soblock { display: flex; flex-wrap: wrap;}
#sols  { flex-basis: 28%; margin:2%;}
#soblock #sols .thum {
    max-width: 100%;
    height: 130px;
    overflow: hidden;
    margin-bottom: .5em;
    border-radius: 10px;
}
#soblock #sols .thum img {
    width: 100%;
    height: auto;
    transform: scale(1);
    transition: .3s ease-in-out;
}
#soblock #sols a:hover .thum img{transform: scale(1.1);}
#soblock #sols  a {text-decoration: none; color:#000;}
#cont #sols  h2 { font-size: 18px; line-height: 1.2; margin: 0 0 .2em 0; padding: 0;}

.cap {font-size:22px; font-weight:bold;  border: dotted 1px #281; display: block; padding: .5em 1em; margin-bottom: 2em;}
.cap2::before {  content: '●'; color:#261; margin-right: .3em;}


#content .wpcf7-spinner {
    display: block;
}
#content p {
    margin-bottom: 1.5em;
}

#content ul {
    margin: 0 0 3em 1em;
    padding: 0;
}

#content ul li {
    margin: 0 0 1em 0;
    padding: 0;
    list-style-position: outside;
}


#content ol {
    margin: 0 0 3em 0;
    padding: 0 0 0 1em;
}

#content ol li {
    list-style: decimal;
    margin: 0 0 2em 0;
    padding: 0;
}

blockquote {
    clear: both;
    padding: 10px 0 10px 15px;
    margin: 10px 0 25px 30px;
    border-left: 5px solid #ccc;
}

blockquote p {
    padding: 5px 0;
}

table {
    border: 1px #dddddd solid;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 10px 0 2em 0;
    width: 100%;
}

table th {
    padding: 1em;
    border: 1px #dddddd solid;
    border-width: 0 0 1px 1px;
    font-weight: normal;
    background: #f2f2f2;
    vertical-align: middle;
}

table th:first-child {
	width: 25%;
}

table th span {
    color: red;
}

table td {
    padding: 1em;
    border: 1px #dddddd solid;
    border-width: 0 0 1px 1px;
    background: #fff;
    vertical-align: middle;
}

table td.txc {
	text-align: center;
}

table p {
    margin: 0;
    padding: 0;
}

.table_box {
    overflow-x: auto;
    display: block;
}

.table_box table th,
.table_box table td {
    white-space: nowrap;
}


dl {
    margin: 0;
}

dt {
    font-weight: bold;
}

dd {
    padding-bottom: 10px;
}

img {
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

img.aligncenter {
    display: block;
    margin: 0 auto 1em auto;
}

img.alignright {
    margin: 0 0 1em 1em;
    display: inline;
}

img.alignleft {
    margin: 0 1em 1em 0;
}

.alignright {
	margin: 0 0 1em 1em;
    float: right;
}

.alignleft {
	margin: 0 1em 1em 0;
    float: left;
}

.red {
    color: #ff0000;
}

.shadow {
	box-shadow: 0 0 15px 0 rgba(0,  0,  0, 0.13);
}

@media only screen and (max-width: 1060px) {
  
  #blog section { flex-basis: 48%; margin: 1%;}
   #blog .thum {
       max-width: 100%;
       height: 130px;
       overflow: hidden;
       margin-bottom: .5em;
   }
}



@media only screen and (max-width: 900px) {

 #news-inner { display: block; }
 #news-inner section { padding-bottom: 1.5em;}
 #cont #blog h2 { font-size:20px;}
}



@media only screen and (max-width: 800px) {
#blog section { flex-basis: 100%; margin: 1% 0;}
 #blog .thum {
     height: 180px;
 }
}


@media only screen and (max-width: 644px) {
#topm { position: relative; top:0;}
#blockA { background-size: 40%; }
#blockA-inner { width: 90%;}
#copy {text-align: left;  }
#copy img { width: 80px; display: block; margin: auto;}
#copy h1 { font-size: 22px; line-height: 1.6; padding: 1em 0; }
#copy p { font-weight: normal;}
#whatsbs-inner h2 { font-size: 36px; line-height: 1.2; padding: .2em 0 1em 0;}
#whatsbs-inner h2 span { display: block;}
#whatsbs-inner p {width: 90%; display: block; margin: auto; font-weight: normal; text-align: left;}
#ad { display: block;  margin: auto; padding: 4em 0;}
#ad section:first-of-type {text-align: center; margin-bottom: 2em;}
#banner-inner section { flex-basis: 45%; margin: 1%;}
#footer ul {padding: 0 0 2em 0;}
#footer li {display: block; padding: .5em 0;}
#footer li::after { content: ""; padding: 0 ;}
#pgtop {background: url(images/vi.jpg) no-repeat; background-size: cover; background-position: center; height: 120px; position: relative; top:74px}
#footer-inner { padding: 3em 0 7em 0;}
#vi #vbt { visibility: hidden; }
#fbt section { font-size:3vw; line-height: 1; font-weight: bold; margin: 0; padding: 0; flex: 1; list-style: none; list-style-position: inside;}
#fbt section a {text-decoration: none; padding: 1.5em 0; margin: 0; -webkit-transition: all .8s; transition: all .8s;}
#fbt section a::before { content: url(images/arow.svg); display: inline-block; width: 19px; height: 19px; margin-top: -.1em; margin-right: .5em; vertical-align: middle;}
#fbt .vibt1 a { background: #07338d; color: #fff; display: block; }
#fbt .vibt2 a { background: #269b7b; color: #fff; display: block;}
#fbt section a:hover {background: #d51;}
#fbt {position: fixed;  display: flex; justify-content: center; bottom: 0; text-align: center; margin: 0;  z-index: 99999; width: 100%;}

#vbt2 {position: fixed; top: inherit; right:  inherit; bottom:0; display: flex; justify-content: center; text-align: center; margin: 0;  z-index: 99999; width: 100%;}
#vbt2 section  { font-size:3vw; writing-mode: revert; line-height: 1; font-weight: bold; margin: 0; padding: 0; flex: 1; list-style: none; list-style-position: inside;}
#vbt2 section a {text-decoration: none; padding: 1.5em 0 ; margin: 0; -webkit-transition: all .8s; transition: all .8s;}
#vbt2 section a::before { content: url(images/arow.svg); display: inline-block; width: 19px; height: 19px; margin-top: -.1em; margin-right: .5em; vertical-align: middle;}
#vbt2 .vibt1 a { background: #07338d; color: #fff; display: block; }
#vbt2 .vibt2 a { background: #269b7b; color: #fff; display: block;}
#vbt2 section a:hover {background: #d51;}

#mbns {display: block; }
#mbns section:first-of-type {margin-right: 0; margin-bottom: 3em;}
#qrb p { display: block; margin-left: 0em;}
#towblock {display: block; }
#towblock section { margin: 0; padding-bottom: 3em;}
.br-sp {display: none;}
.alignright {
	margin: 0 0 1em 0;
    float: none;
}

.alignleft {
	margin: 0 0 1em 0;
    float: none;
}
    span.wpcf7-list-item {
        display: block;
        padding: .6em 0;
    }
    textarea {
        height: auto;
        line-height: 1.5;
        width: 70%;
    }
    input[type="text"],
    textarea {
        width: 70%;
    }
    input[type="tel"],
    textarea {
        width: 70%;
    }
    input[type="email"],
    textarea {
        width: 70%;
    }
    input[type="url"],
    textarea {
        width: 70%;
    }
}