/*タブレット用*/
html,body{max-width:100%;width:100%;overflow-x:hidden;}
main.main{width:100%;padding:40px 20px 50px 20px;box-sizing:border-box;}
main.main h3.title, #pageField h3, #pageField h3 span{background-size:200px auto;padding-right:0;}

main.main h3.eTITLE{background-size:auto 140px!important;}
#singlePost p.not-found, #pageField p.not-found, .search p.not-found{max-width:100%;width:100%;box-sizing:border-box;padding-left:15px;padding-right:15px;}
#header .hBCKG h1{left:30px;}
#header .hBCKG ul.donateBTN{right:30px;}
#header nav.gNavi .gNEWS{top:70px;left:0;right:0;margin:0 auto;height:26px;width:80%;display:none;}
#header nav.gNavi .gNEWS h2, #header nav.gNavi .gNEWS div.slick-news article, #header nav.gNavi .gNEWS div.slick-news article a, #header nav.gNavi .gNEWS div.slick-news article time{height:100%;line-height:26px;}
#header nav.gNavi .gNEWS h2{width:80px;text-align:center;}
#header nav.gNavi .gNEWS h2 a{height:100%;font-size:18px;}
#header nav.gNavi .gNEWS div.slick-news{width:calc(100% - 80px);}

#header nav.gNavi .gSEARCH{position:absolute;top:-40px;right:30px;margin-top:0;width:222px;box-shadow:0 0 5px rgba(0,0,0,0.3);overflow:visible;}
#header nav.gNavi .gSEARCH input{padding-right:40px;box-sizing:border-box;width:calc(100%);}
#header nav.gNavi ul.nav{width:100%;}
#header nav.gNavi ul.nav > li{width:calc(100% / 8);}
#header nav.gNavi ul.nav > li > a, #header nav.gNavi ul.nav > li.sub button{padding:0;text-align:center;width:100%;position:relative;}
#header nav.gNavi ul.nav > li.sub button:after{top:auto;bottom:5px;left:0;right:0;margin:0 auto;position:absolute;}

/*humBTN*/
.humBTN{position:absolute;display:none;width:50px;height:50px;top:45px;right:30px;cursor:pointer;z-index:2;background:#000;}
#humBOX .humBTN{position:absolute;top:10px;right:10px;background:#fff;}
.humBTN span{display:block;position:absolute;width:30px;height:3px;background-color:#fff;right:0;left:0;top:0;bottom:0;margin:auto;transition:all 0.2s ease-in-out 0s;transform:rotate(0deg);opacity:1;}
.humBTN.open span:nth-of-type(2){opacity:0;}
.humBTN.open span{position:absolute;width:30px;height:3px;background-color:#000;z-index:3;}
.humBTN span:nth-of-type(1){top:-20px;}
.humBTN.open span:nth-of-type(1){top: 0;transform:rotate(45deg);opacity:1;}
.humBTN span:nth-of-type(3){top:20px;}
.humBTN.open span:nth-of-type(3){top: 0;transform:rotate(-45deg);opacity:1;}
.humBTN:not(.open):hover span:nth-of-type(1){-webkit-animation:humLINE 0.25s 0s 1 forwards;animation:humLINE 0.25s 0s 1 forwards;}
.humBTN:not(.open):hover span:nth-of-type(2){-webkit-animation:humLINE 0.25s 0.1s 1 forwards;animation:humLINE 0.25s 0.1s 1 forwards;}
.humBTN:not(.open):hover span:nth-of-type(3){-webkit-animation:humLINE 0.25s 0.2s 1 forwards;animation:humLINE 0.25s 0.2s 1 forwards;}
@-webkit-keyframes humLINE{0%{background-color:#fff;}100%{background-color:#eea;}}@keyframes humLINE{0%{background-color:#fff;}100%{background-color:#eea;}}

.humBTN:after{display:block;opacity:0;position:relative;bottom:-15px;font-size:12px;color:#fff;text-align:center;transition:0.3s ease-in-out;}
.humBTN.open:after{opacity:1;bottom:-5px;}
.humBTN.open:hover span{background-color:#0cc;}

/*ハンバーガーメニュー*/
#humBOX{box-sizing:border-box;background:#fff;width:90%;height:100%;border-left:1px solid rgba(255,255,255,0.15);box-shadow:0 0 5px rgba(0,0,0,0.3);position:fixed;right:-120%;top:0;z-index:6;padding:30px 10px 50px 40px;transition:0.2s ease-in-out;overflow:scroll;}
#humBOX.open{right:0;}

#humBOX,
.humBTN{display:none;right:0;position:relative;}

#header .hBCKG ul.donateBTN{top:-20px;}
#header .hBCKG ul.donateBTN li a{height:1.75em;line-height:1.75em;}

nav#bread-single ul{width:100%;box-sizing:border-box;padding-left:15px;padding-right:15px;}

#titleIMG.page-titleIMG > div{width:calc(100% - 60px);margin:0 30px;}
section.fArticle > div{flex-direction:column;}
section.fArticle > div > div{width:100%;}
div.fContact h3{width:100%;text-align:center;height:auto;line-height:1.3;}
div.fContact ul{width:100%;}

#pagetop{width:70px;display:block;position:fixed;right:5px;bottom:50px;transition:0s ease-in-out;}
#pagetop{transform:scale(.7);}
#pagetop span{z-index:2;padding-top:85px;}
#pagetop span:before{z-index:2;}

ul#footerSNS{display:flex;flex-wrap:wrap;justify-content:center;align-items:start;margin:30px auto;}
ul#footerSNS li{margin:0 7px;}
ul#footerSNS li a > *{display:none;}
ul#footerSNS li a{display:block;padding:0;width:30px;height:30px;background:url() no-repeat center / 100% auto;}
ul#footerSNS li.facebook a{background-image:url(../layout/sns01.png);}
ul#footerSNS li.x a{background-image:url(../layout/sns02.png);}
ul#footerSNS li.youtube a{background-image:url(../layout/sns03.png);}
ul#footerSNS li.branches a{background-image:url(../layout/sns04.png);}

.wrapper #sidebar{display:none;}

main article.article h3.title{font-size:40px;}
#map .mapWrap{width:calc(100% - 40px);}
#signature{margin-top:120px;}
nav.gNavi ul{flex-wrap:nowrap;}
nav#bread{top:85px;right:30px;}
nav.menu ul{justify-content:space-between;}
nav.menu ul li{margin:10px 0;}

#pageField .field-items img{max-width:100%;height:auto!important;}
#pageField p em{font-size:17px;}

ul.fBanner{width:100%;margin-top:100px;}
ul.fBanner a.fContact img{width:100%;height:auto;}
ul.fBanner li{width:49%;height:auto;}
ul.fBanner li a{height:0;padding-top:calc(180 / 470 * 100%);background-size:cover;}


footer{background-size:cover;}
footer .fContainer > section nav li,
footer .fContainer > section nav li a{font-size:15px;}
footer .fContainer{width:calc(96% - 30px);padding:40px 15px;}
footer .link-list{flex-wrap:wrap;}
footer .link-list > section.fMenu{margin-top:20px;}
footer nav.fNavi ul{display:flex;flex-wrap:wrap;}
footer nav.fNavi ul li{width:calc(100% / 3);margin-bottom:15px;}

footer address.copyright{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;height:auto;line-height:1.3;font-size:13px;padding:5px 0;}
footer address.copyright br{display:block;}


/*ニュースページ*/
main#news-archive .article{width:100%;padding:0;}
#singlePost .news-body{width:100%;}
#singlePost ul, #pageField ul{margin-left:0;list-style:none;}
#singlePost ul li, #pageField ul li{list-style:none;}


/*会社概要ページ*/
main#company-page .article{width:100%;padding:0;}

/*お問い合わせページ*/
main#contact-page .article{width:100%;padding:0;}

/*Peace & Freedom*/
#peace-freedom-page table:last-of-type{width:100%;table-layout:fixed;}
#peace-freedom-page table:last-of-type tr td p img{width:calc(30vw - 20px);}

#titleIMG.page-titleIMG h3.overTITLE{font-size:35px;}
.error404 main #pageField > div div{margin-left:50px;}
.error404 main #pageField > div div h4{font-size:50px;}
.error404 main #pageField > div:before{background-position:center;}
@media screen and (max-width:1200px){
#header nav.gNavi ul.nav > li{font-size:13.5pt;}
}

@media screen and (max-width:1150px){
nav.menu{width:100%;}
nav.menu ul{width:100%;justify-content:left;}
nav.menu ul li{width:calc(100% / 3 - 20px);margin:0 10px 20px 10px;}
nav.menu ul li a{width:100%;height:0;padding-top:calc(155 / 355 * 100%);background-size:contain;}

}






@media screen and (max-width:1100px){
.list-branch div.mapBOX{width:80%;}
}



@media screen and (max-width:1000px){
#header .hBCKG p.description{background:#ff3378;text-align:center;font-size:12pt;}
#header .hBCKG a.bell{display:none;}
#header nav.gNavi{display:block;}
#header nav.gNavi .gNEWS{display:none;}
#header nav.gNavi{height:48px;padding:0 15px;box-sizing:border-box;width:100%;}
#header nav.gNavi ul.nav{height:100%;justify-content:center;}
#header nav.gNavi ul.nav > li > a,
#header nav.gNavi ul.nav > li.sub button{line-height:48px;}
#header nav.gNavi li.sub div{top:48px;}
#header nav.gNavi li.sub.chirari:before{display:none;}
#header nav.gNavi ul.nav{justify-content:space-around;}
#pageField.article.wilpfus-page ol.link-internal li a{padding:20px 15px;}

#pageField .imgLEFT h5 br,#pageField .imgRIGHT h5 br{display:none;}
#pageField .imgLEFT p br,#pageField .imgRIGHT p br{display:none;}
#reserve-page .detail{font-size:16px;}
h3.business__lead{font-size:28px;}
#pageField p.title{font-size:21px;}
footer .fContainer > section nav{width:calc(100% / 3);}
footer .fContainer > section nav.wide{width:calc(100% / 1);}
footer .fContainer > section nav.wide{width:calc(100% / 1);}
footer .fContainer > section nav.wide ul.branches li{width:calc(100% / 3 - 20px);}
}
@media screen and (max-width:950px){
#pageField .imgLEFT,#pageField .imgRIGHT{display:block;}
#pageField .imgLEFT figure,#pageField .imgRIGHT figure{display:block;margin:0 auto 30px auto;width:450px;}
#pageField .imgLEFT figure img,#pageField .imgRIGHT figure img{display:block;width:100%;}
#pageField .imgLEFT > div,#pageField .imgRIGHT > div{width:100%;margin:0 auto;}

#pageField .wilpfus01 > img{width:100%;height:auto;}
#pageField .wilpfus05 > div{padding-left:0;padding-top:320px;}
#pageField .wilpfus05 img{right:0;margin:0 auto;}
}

@media screen and (max-width:900px){
#header{background:#fff url(../top/topBCKG-sakuraSP.webp) no-repeat top center;}

}
@media screen and (max-width:850px){

.cookie.active{width:70%;}


}
@media screen and (max-width:798px){
#header .hBCKG p.description{font-size:10pt;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

#header nav.gNavi ul.nav > li{width:calc(100% / 6);}
#header nav.gNavi ul.nav > li:nth-of-type(1),#header nav.gNavi ul.nav > li:nth-of-type(8){display:none;}
#header nav.gNavi ul.nav > li > a, #header nav.gNavi ul.nav > li.sub button{padding:0;line-height:48px;}
footer .fContainer > section nav{width:calc(100% / 2 - 10px);}
footer .fContainer > section nav.wide{width:100%;}
.news-archive{width:96%;padding:0;}
.news-archive ul li,
.news-archive ul li.big{width:100%;margin:20px 0;}
.news-archive ul li a{padding:5px;padding-left:30%;box-sizing:border-box;position:relative;min-height:100px!important;}
.news-archive ul li.big a{padding-left:45%;}
.news-archive ul li a span.thumIMG{width:calc(30% - 20px);height:90px;position:absolute;left:5px;top:5px;}
.news-archive ul li.big a span.thumIMG{width:calc(45% - 20px);height:140px;}
.news-archive ul li a b.title{margin:0 0 10px 0;}
.news-archive ul li span.cate{line-height:1.5;margin-top:0;}
.news-archive ul li span.cate time{margin-right:5px;}

.news-archive ul li.big a b.title{font-size:20px;margin-bottom:5px;}

section.fArticle div.fContact{height:auto;}
section.fArticle div.fContact h3{padding:0;}
div.fContact ul li{width:calc(100% / 2);margin:10px 0;}
div.fContact p{font-size:12pt;}

#pageField .wilpfus01 img.topIMG.pc{display:none;}
#pageField .wilpfus01 img.topIMG.sp{display:block;}

#pageField .wilpfus02{padding-left:0;padding-top:330px;}
#pageField .wilpfus02 img{right:0;margin:0 auto;}
#pageField .wilpfus03 > ul li span{font-size:23px;}
#pageField .wilpfus03 > div{padding-right:0;padding-top:270px;}
#pageField .wilpfus03 > div img{left:0;margin:0 auto;width:100%;height:auto;}
#pageField .wilpfus07 > div{padding-left:0;padding-top:400px;}
#pageField .wilpfus07 > div img{right:0;margin:0 auto;}
#pageField .wilpfus08 > div ul.list-news li{width:calc(100% / 2 - 30px);margin-bottom:50px;}

footer{background-image:url(../layout/footerBCKGsp.jpg);background-size:auto 1000px;}
footer .fContainer > section nav{margin-bottom:20px;}
footer .fContainer > section nav h3{font-size:25px;}
footer .fContainer > section nav h3 a{color:#fff;}
footer .fContainer > section nav ul li{display:inline;margin-right:20px;margin-bottom:7px;padding-left:10px;background:url(../layout/arrow02.gif) no-repeat left 3px;}
footer .fContainer > section nav ul.branches li{background:none;padding-left:0;}

footer .fContainer > section{display:block;}
footer .fContainer > section.fNavi{padding:0 20px;box-sizing:border-box;}
footer .fContainer > section nav{width:100%;text-align:left;}
footer .fContainer > section nav.sub ul{display:none;line-height:1.75;}
footer .fContainer > section nav h3{margin:25px auto 10px auto;position:relative;}
footer .fContainer > section nav.sub h3:after{content:'';display:inline-block;width:20px;height:20px;margin-left:15px;background:url(../layout/arrow-bottomWH.gif) no-repeat right center;}
footer .fContainer > section nav.sub h3.active:after{background-image:url(../layout/arrow-upWH.gif);}
footer .fContainer > section nav.wide{display:block;width:100%;box-sizing:border-box;}
footer .fContainer > section nav.wide ul.branches li{width:auto;display:inline-block;}
footer .fLogo{padding:0;}

#our-work-overview-page a.ToHomeBanner{width:90%;padding-left:20px;padding-right:20px;box-sizing:border-box;word-break:keep-all;}
.list-branch div.mapBOX{width:90%;}

}

@media screen and (max-width:660px){
ul.donateBTN{font-size:16px;}
#header nav.gNavi li.sub div{line-height:1.3!important;}
#header nav.gNavi li.sub div ol{display:block;line-height:1.3!important;}
#header nav.gNavi li.sub div ol li{width:auto;margin:8px 20px 8px 0;display:inline-block;}
#header nav.gNavi li.sub div ol li a{font-size:14px;}

#contentField table.list-branch tbody{width:500px;display:table;}

#contentField table{width:100%;overflow-x:auto;display:block;}
#contentField table tbody{width:auto;display:table;}
#contentField table tr{display:table-row-group;}
#contentField table th, #contentField table td{white-space:nowrap;padding:10px;}
table.list-branch{width:100%;overflow-x:auto;display:block;}
table.list-branch tbody{width:auto;display:table;}
table.list-branch tr{display:table-row-group;}
table.list-branch th, table.list-branch td{white-space:nowrap;padding:10px!important;}

table::-webkit-scrollbar{height:10px;}
table::-webkit-scrollbar-track{background:#f1f1f1;border-radius:5px;}
table::-webkit-scrollbar-thumb{background:#888;border-radius:5px;}
table::-webkit-scrollbar-thumb:hover{background:#555;}

.article.wilpfus-page ol.link-internal li{width:calc(100% / 3);}
.article.wilpfus-page ol.link-internal li.blank{display:block;}
#pageField.article.wilpfus-page ol.link-internal li.blank a{background-image:none;}


}
@media screen and (max-width:600px){
body.admin-bar #wpadminbar{position:fixed;}
header ul.donateBTN,header form.gSEARCH{display:none;}
#header .coverIMG > div:before{width:130%;height:0;padding-top:calc(463 / 865 * 130%);left:-100%;right:-100%;margin-left:auto;margin-right:auto;}
#header nav.gNavi ul.nav > li{width:calc(100% / 5);font-size:12.5pt;}
#header nav.gNavi ul.nav > li:nth-of-type(7){display:none;}
body.admin-bar #humBOX{top:46px;}
#humBOX .humBTN.open{background:#fff;}
body.admin-bar #humBOX{top:46px;}
#humBOX .humBTN.open{background:#fff;}

.humBTN{display:block;position:absolute;right:20px;}
body.admin-bar #humBOX .humBTN.open{top:15px;}
#humBOX{display:block;width:95%;box-sizing:border-box;position:fixed;right:-120%;}
section.fArticle > div > div{padding-left:30px;padding-right:30px;}
.list-branch div.mapBOX{width:95%;padding:20px 15px 40px 15px;}

}



