/*
Theme Name: Hamuro
Description: Hamuro
Version: 1.0
*/
html{scroll-behavior:smooth}body{background:#e9e1de;font-family:"Noto Serif JP",serif;font-optical-sizing:auto;font-weight:200;font-style:normal;-webkit-font-feature-settings:"palt";font-feature-settings:"palt";letter-spacing:.03rem;line-height:1.8}body a{word-break:break-word;display:inline-block}body .lang-en{letter-spacing:.02rem}body .lang-ja p{font-size:15px}body strong,body em,body h1,body h2,body h3,body h4,body h5,body h6,body .h1,body .h2,body .h3,body .h4,body .h5,body .h6{font-weight:600}header{position:fixed;z-index:1;width:100%;top:0}header nav ul li{padding:5px 0}header nav ul li a{color:#000;display:inline-block}header nav ul li a:hover{color:#000}header nav ul li a i{font-size:20px}@media(919px < width){header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-inline:auto;max-width:1140px;left:0;right:0}header #logo{padding-top:14px;width:160px}header #menu-torigger,header .overlay{display:none}header nav{padding:20px 12px;width:calc(100% - 160px)}header nav ul{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;list-style:none;padding-left:0;margin-bottom:0}header nav ul li a{padding:10px 0}header nav ul li#nav-home{display:none}}@media(919px < width)and (width < 992px){header nav ul li{font-size:14px;letter-spacing:0}}@media(919px < width)and (width < 1200px){header{max-width:940px}header #logo{width:140px}header nav{padding-inline:6px}}@media(919px < width)and (width < 992px){header{max-width:880px}}@media(width < 920px){header.fix{height:100vh}header #logo{padding:14px 16px}header #menu-trigger{position:absolute;display:block;cursor:pointer;z-index:2002;-webkit-transform:translateX(0);transform:translateX(0);height:40px;width:40px;top:5px;right:15px}header #menu-trigger span{display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;left:15px;background-color:#000;-webkit-transition:all .5s;transition:all .5s;left:13px;width:20px;height:2px}header #menu-trigger span:nth-of-type(1){top:15px}header #menu-trigger span:nth-of-type(2){top:21px}header #menu-trigger span:nth-of-type(3){top:27px}header #menu-trigger.active{-webkit-transform:translateX(0);transform:translateX(0);z-index:10000}header #menu-trigger.active span:nth-of-type(1){-webkit-transform:translateY(5px) rotate(-45deg);transform:translateY(5px) rotate(-45deg)}header #menu-trigger.active span:nth-of-type(2){opacity:0}header #menu-trigger.active span:nth-of-type(3){-webkit-transform:translateY(-7px) rotate(45deg);transform:translateY(-7px) rotate(45deg)}header #menu-trigger.active+nav{display:block;z-index:8000;position:fixed;width:100%;width:300px;right:0;top:56px;overflow:scroll;height:calc(100vh - 56px)}header .overlay{content:"";display:block;width:0;height:0;position:fixed;top:0;left:0;opacity:0;-webkit-transition:opacity .5s;transition:opacity .5s;z-index:0}header .overlay.open{width:100%;height:100%;opacity:1;z-index:1000;background:#eee}header nav{display:none;background:rgba(0,0,0,.85);color:#000;overflow-y:scroll;padding-bottom:50px;height:100%;width:100%}header nav.open{display:block}header nav ul{border-bottom:0;margin-bottom:0;list-style:none;padding-left:0;padding:16px 0;width:300px}header nav ul li{font-size:16px;position:relative;padding:2px 28px}header nav ul li a{padding:8px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#fff}header nav ul li a:hover{color:#fff}header nav ul li a i{padding-top:8px}}main{padding-block:380px 240px}main a{color:#000}main #contents h1{font-size:18px}main #contents h2{margin-block:1.6rem;font-size:24px}main #contents h3{font-size:18px;margin-block:1.2rem}main #contents *+h2{margin-top:3rem}main #contents *+h3{margin-top:1.6rem}main #contents a{text-decoration:underline;color:#000}main #contents p{letter-spacing:.05rem}main #contents ul{padding-left:1.6rem}main #contents ul li{margin-bottom:.3rem}main #contents .headline a{text-decoration:none}main #contents article{border-top:1px solid #000;padding-block:1.6rem}main #contents article a{text-decoration:none;display:block}main #contents #articles article h2,main #contents .article-head h2{margin-block:.6rem .4rem;letter-spacing:.1rem}main #contents #articles article h2.en,main #contents .article-head h2.en{font-size:20px;letter-spacing:.02rem}main #contents #articles article h2.jp,main #contents .article-head h2.jp{font-size:16px}main #contents #articles article .date,main #contents .article-head .date{font-size:15px;padding:0rem 0 .7rem}main #contents #localnav ul{list-style:none;padding-left:0}main #contents #localnav ul li{margin-bottom:.8rem}main #contents #localnav ul li a{text-decoration:none}@media(767px < width){main #contents .content{padding-bottom:5rem}main #contents .content+.content{padding-top:5rem}main #contents .content .headline{padding-bottom:100px}main #contents #articles{padding-bottom:1.6rem}main #contents #localnav ul{position:sticky;padding-bottom:40px;top:80px;padding-top:38px}}@media(width < 768px){main .content{padding-bottom:3rem}main .content+.content{padding-top:3rem}main .content .headline{padding-bottom:20px}main #contents h1{font-size:22px}main #contents h2{margin-block:1.6rem;font-size:18px}main #contents h3{font-size:16px}main #contents p,main #contents li{font-size:15px}main #contents #localnav{-webkit-box-ordinal-group:201;-ms-flex-order:200;order:200}main #contents #localnav ul{border-top:1px solid #000;padding-top:40px}main #contents #localnav ul li{font-size:14px}}footer div.logos{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-bottom:20px}footer div.logos div{padding:5px 20px}footer div.logos div a{display:inline-block}footer div.logos div a:hover{opacity:.7}footer div.copyrights{text-align:center;font-size:10px;padding-bottom:20px}@media(919px < width){footer div.logos{-webkit-box-align:center;-ms-flex-align:center;align-items:center}}@media(width < 961px){footer div.logos{margin-bottom:0}footer div.logos div{padding:5px 10px;text-align:center}footer div.copyrights{padding-top:20px}}@media(width < 768px){footer div.logos div{padding:2px 10px;text-align:center}footer div.logos div img{zoom:.8}}@media(767px < width){.home main{padding-top:0;height:100svh;display:-webkit-box;display:-ms-flexbox;display:flex}.home main .container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.home footer{position:fixed;bottom:0;width:100%}}@media(767px < width)and (580px < height){.home main{min-height:580px}.home main #hamuro-mair{max-width:688px}}@media(767px < width)and (height < 581px){.home main #hamuro-mair a{display:block;margin-inline:auto}.home main #hamuro-mair img{width:688px;display:block;margin-inline:auto}}@media(767px < width)and (height < 581px)and (height < 400px){.home{height:400px}.home main{height:308px;padding-top:90px}.home main .container,.home main #hamuro-mair{height:218px}.home footer{position:absolute;margin-top:0;bottom:auto}}@media(width < 768px){.home main{padding-top:139px}.home main #contact{padding-top:78px}}@media(width < 768px)and (567px < height){.home main{padding-top:0;height:100svh;min-height:580px;display:-webkit-box;display:-ms-flexbox;display:flex}.home main .container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.home main #contact{padding-block:5rem 0}.home footer{position:fixed;bottom:0;width:100%}}@media(width < 768px)and (height < 568x){.home main #hamuro-mair{padding-top:104px;padding-bottom:57px}.home main #contact{padding-block:0;padding-bottom:calc((100svh - 480px)/2)}.home footer .logos div{padding:1px 10px}}.about #contents .content-body{border-top:1px solid #000;padding-top:30px}.about #contents ul li a{text-decoration:underline}.about #contents ul.contact{list-style:none;padding-left:0}.news #contents h2,.events #contents h2{display:block}.news-list main #contents article a:hover,.events-list main #contents article a:hover{text-decoration:none}.news-detail #contents .article-head,.events-detail #contents .article-head{word-break:break-word;margin-bottom:2rem}.news-detail #contents .article-body p,.events-detail #contents .article-body p{margin-block:1.6875rem}.news-detail #contents .article-body figcaption,.events-detail #contents .article-body figcaption{font-size:12px}.news-detail #contents .article-nav,.events-detail #contents .article-nav{margin-block:100px}.news-detail #contents .article-nav ul,.events-detail #contents .article-nav ul{padding:0}.news-detail #contents .article-nav ul li,.events-detail #contents .article-nav ul li{font-size:14px;list-style:none}.news-detail #contents .article-nav ul li a,.events-detail #contents .article-nav ul li a{padding:.3rem 1rem}@media(767px < width){.news-detail #contents .article-head,.events-detail #contents .article-head{margin-bottom:4rem}.news-detail #contents .article-nav ul li.nav-prev,.events-detail #contents .article-nav ul li.nav-prev{-webkit-box-ordinal-group:4;-ms-flex-order:3;order:3}.news-detail #contents .article-nav ul li.nav-top,.events-detail #contents .article-nav ul li.nav-top{-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}}@media(width < 768px){.news-detail #contents .article-nav,.events-detail #contents .article-nav{margin-block:70px 50px}.news-detail #contents .article-nav ul,.events-detail #contents .article-nav ul{-ms-flex-wrap:wrap;flex-wrap:wrap}.news-detail #contents .article-nav ul li,.events-detail #contents .article-nav ul li{width:48%;font-size:13px}.news-detail #contents .article-nav ul li.nav-top,.events-detail #contents .article-nav ul li.nav-top{width:100%;margin-bottom:.5rem}}.fellows #contents .col-12>h2{margin-block:0}.fellows #contents .col-12>h2+.fellow{padding-top:30px}.fellows #contents .col-12>.fellow+h2{margin-top:9rem}.fellows #contents .fellow{padding-top:20px}.fellows #contents .fellow:has(p)+.fellow{padding-top:40px}.fellows #contents .fellow h3{font-size:20px;margin-bottom:5rem;border-top:1px solid #000;padding-top:45px;letter-spacing:.13rem}.fellows #contents .fellow h3 span.month{font-size:13px;font-weight:400;display:block;margin-bottom:.4rem}.fellows #contents .fellow h4{font-size:16px;margin-bottom:.7rem;padding-top:3px}.fellows #contents .fellow p:has(a){margin-block:4rem}@media(991px < width){.fellows #contents .fellow div.clear,.fellows #contents .fellow div.clear+div{clear:both !important}.fellows #contents .fellow img{float:right;width:320px;margin:6px 0 20px 24px;max-height:75svw;-o-object-fit:contain;object-fit:contain}.fellows #contents .fellow:has(img)::after{content:"";display:block;clear:both}.fellows #contents .fellow .pic2{max-width:320px;float:right;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.fellows #contents .fellow .pic2 img{max-width:49%;width:49%;margin:0;height:auto;max-height:auto}}.fellows #contents .fellow>div+div{margin-top:1.7rem}@media(width < 992px){.fellows #contents .fellow div{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.fellows #contents .fellow div:not(.pic2)>img{width:100%;margin-top:15px;-webkit-box-ordinal-group:101;-ms-flex-order:100;order:100;max-height:50svw;-o-object-fit:contain;object-fit:contain}.fellows #contents .fellow div>.pic2{width:100%;margin-top:5px;-webkit-box-ordinal-group:101;-ms-flex-order:100;order:100;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-orient:horizontal !important;-webkit-box-direction:normal !important;-ms-flex-direction:row !important;flex-direction:row !important}.fellows #contents .fellow div>.pic2 img{width:49%;margin-top:0;max-height:auto;-o-object-fit:none;object-fit:none;display:block}}@media(991px < width){.fellows #contents #fellow5 img{width:240px}}.fellows #contents #localnav ul li{margin-bottom:.8rem}@media(767px < width){.fellows #contents #localnav ul{padding-top:46px}}@media(width < 768px){.fellows #contents .fellow+.fellow{padding-top:10px}.fellows #contents .fellow div img{max-height:75svw;-o-object-fit:contain;object-fit:contain}}.hamurokai #contents p{border-top:1px solid #000;padding-top:30px;margin-bottom:.2rem}.hamurokai #contents ul li{margin-bottom:0}.hamurokai #contents ul li a{text-decoration:underline}@media(767px < width){.hamurokai #contents .content+.content{padding-top:3rem}}@media(width < 768px){.hamurokai #contents .headline{padding-bottom:20px}.hamurokai #contents .content+.content{padding-top:1rem}}