@charset "UTF-8";

/******************************
  common
******************************/
.imgbox{
  text-align: center;
}
.link-txtunder,
.singlecontent a{
  color: #0000ee;
  text-decoration: underline;
}
.link-txtunder:hover,
.singlecontent a:hover{
  text-decoration: none;
}
.singlecontent p,
.txtbox p:not(:last-of-type){
  margin-bottom: 2rem;
}
.kome,
.ten{
  padding-left: 2rem;
  position: relative;
}
.kome::before,
.ten::before{
  content:"※";
  position: absolute;
  top: 0;
  left: 0;
}
.ten::before{
  content:"・";
}
.bgcolor1{
  background: rgba(243, 243, 239, .5);
}
.anchor{
  margin-top: -77px;
  padding-top: 77px;
}
.box{
  margin-top: 2rem ;
  padding-top: 2rem;
}

/******************************
  inner
******************************/
.inner1,
.inner2,
.inner3{
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 4rem;
}
.inner2{
  max-width: 1920px;
}
.inner3{
  max-width: 1280px;
}
.innernp{
  margin: 0 auto;
  max-width: 1920px;
}
.inner2 .inner1,
.inner2 .inner3,
.inner3 .inner1{
  padding: 0 !important;
}

@media only screen and (max-width: 1180px) {
    
}
@media only screen and (max-width: 1024px) {
    
}
@media only screen and (max-width: 820px) {
    
}
@media only screen and (max-width: 768px) {
    
}
@media only screen and (max-width: 767px) {
  .inner1,
  .inner2,
  .inner3{
    padding: 0 1.5rem;
  }
}

/******************************
  flex
******************************/
.flexbox1{
  display: flex;
  flex-wrap: wrap;
}
.flexbox2{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.flexbox3{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.flex{
  display: flex;
}
.frr{
  flex-direction: row-reverse;
}
.fac{
  align-items: center;
}
.fast{
  align-items: stretch;
}
.fafe{
  align-items: flex-end;
}
.fafs{
  align-items: flex-start;
}
.fabl{
  align-items: baseline;
}

.fbox,
.ftxtbox,
.fimgbox{
  width: 48%;
}
.fimgbox{
  text-align: center;
}

/******************************
  ttl
******************************/
.ttlbox1 {
  color: #115417;
  margin-bottom: 50px;
}
.ttlbox1 .ttl{
  font-size: 3rem;
  line-height: 1.4;
  letter-spacing: 2px;
}
.ttlbox1 .enttl{
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 2px;
}
.ttlbox2 {
  background: #e7f3e8;
  border: 1px solid #115417;
  border-left: 1rem solid #115417;
  padding: 1rem;
}
.ttlbox2 .ttl{
  font-size: 2rem;
  line-height: 1.4;
}
.subttl1{
  font-size: 2.4rem;
  margin: 1rem 0 ;
}


.ttlbox-white {
  color: #fff;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
  z-index: 0;
}
.ttlbox-white .ttl{
  font-size: 3rem;
  line-height: 1.4;
  letter-spacing: 2px;
}

@media only screen and (max-width: 1180px) {
  
}
@media only screen and (max-width: 1024px) {
  .subttl1 {
    font-size: 2rem;
  }
}
@media only screen and (max-width: 820px) {
  
}
@media only screen and (max-width: 768px) {
  
}
@media only screen and (max-width: 767px) {
  .ttlbox1 .ttl {
    font-size: 2.6rem;
  }
}

/******************************
  btn
******************************/
.morebtn1 a{
  background: #115417;
  border: 1px solid #115417;
  box-shadow: 6px 8px 15px rgb(0 0 0 / 30%);
  color: #fff;
  display: inline-block;
  min-width: 180px;
  opacity: 1 !important;
  padding: .5rem 3rem .5rem 2rem;
  position: relative;
}
.morebtn1 a::before,
.morebtn1 a::after{
  content: "";
  background: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: .2s .2s;
  height: 2px;
  width: 2rem;
}
.morebtn1 a::before{
  transform-origin: left;
  right: 0;
}
.morebtn1 a::after{
  background: #115417;
  right: -2rem;
  transform-origin: right;
}
.morebtn1 a:hover{
  background-color: #fff;
  color: #09290c;
  transition: .3s;
}
.morebtn1 a:hover::before,
.morebtn1 a:hover::after{
  transition: .2s;
  width: 0;
}
.morebtn1 a:hover::after{
  right: 0;
}

.morebtn2 a{
  background: #115417;
  border: 1px solid #115417;
  box-shadow: 6px 8px 15px rgb(0 0 0 / 30%);
  color: #fff;
  display: inline-block;
  min-width: 180px;
  opacity: 1 !important;
  padding: .5rem 3rem .5rem 2rem;
  position: relative;
  transition: .3s;
}
.morebtn2 a:hover{
  background-color: #fff;
  color: #333;
}
@media only screen and (max-width: 1180px) {
  
}
@media only screen and (max-width: 1024px) {
  
}
@media only screen and (max-width: 820px) {
  
}
@media only screen and (max-width: 768px) {
  
}
@media only screen and (max-width: 767px) {
  .morebtn1 a{
    padding: .5rem 2.5rem .5rem 1rem;
  }
  .morebtn1 a::before,
  .morebtn1 a::after{
    width: 1rem;
  }
  .morebtn1 a::after{
    right: -1rem;
  }
}

/******************************
  tbl
******************************/
.tblbox1 .tbl{
  border-top: 1px solid #707070;
  margin: 0 auto;
  max-width: 800px;
}
.tblbox1 .tbl:last-of-type{
  border-bottom: 1px solid #707070;
}
.tblbox1 .tblttl,
.tblbox1 .tblcontent{
  padding: 1rem 2rem;
}
.tblbox1 .tblttl{
background: #115417;
color: #fff;
text-align: center;
width: 220px;
letter-spacing: 1px;
}
.tblbox1 .tblcontent{
  width: calc(100% - 220px);
}
@media only screen and (max-width: 1180px) {
  
}
@media only screen and (max-width: 1024px) {
  
}
@media only screen and (max-width: 820px) {
  
}
@media only screen and (max-width: 768px) {
  
}
@media only screen and (max-width: 767px) {
  .tblbox1 .tblttl,
  .tblbox1 .tblcontent{
    padding: 1rem;
    width: 100%;
  }
  .tblbox1 .tblttl{
    font-weight: bold;
    text-align: left;
    padding: 0.5rem 1rem;
  }
  .tblbox1 .tbl:last-of-type{
  border-bottom: unset;
}
}

/******************************
  header
******************************/
.cmnhead{
  /* background: rgba(255, 255, 255, .7); */
  background: #fff;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}
.cmnhead .logo{
  width: 300px;
}
@media screen and (max-width: 1024px) {
.cmnhead .logo{
  width: 250px;
}
}
@media screen and (max-width: 767px) {
.cmnhead .logo{
  width: 200px;
}
}


.cmnhead .logo img{
vertical-align: sub;
}

@media screen and (max-width: 1024px) {
.cmnhead .logo img{
vertical-align: baseline;
}
}


.mainnav > li{
  overflow: hidden;
  margin: 0 1rem;
  text-align: center;
}
.mainnav > li > a{
  border-bottom: 1px solid transparent;
  display: block;
  opacity: 1 !important;
}

.mainnav > li > a:hover,
.mainnav > li > a.nowpage{
  border-bottom: 1px solid #115417;
}
.mainnav .haschild:hover .megamenu{
  opacity: 1;
  pointer-events: all;
}
.megamenuhoverarea{
  position: absolute;
  top: -3rem;
  left: 0;
  height: 30px;
  width: 100vw;
}
.megamenu{
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 77px;
  left: 0;
  width: 100vw;
  transition: .3s;
  transform-origin: center top;
}
.megamenu .fbgbox{
  background: url(../images/main/megabg2.webp) no-repeat center / cover;
  width: 40%;
}
.megamenu2.img01 .fbgbox{
  background: url(../images/main/megabg1.webp) no-repeat center / cover;
}
.megamenu2.img02 .fbgbox{
  background: url(../images/main/megabg2.webp) no-repeat center / cover;
}
.megamenu .fbgbox::before{
  content: "";
  background: rgba(17, 84, 23, .3);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.megamenu .fbgbox p{
  color: #fff;
  font-size: 3rem;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  text-align: center;
  width: 100%;
}
.megamenu .fbox{
  background: #115417;
  padding:  2rem;
  width: 60%;
}
.megamenu .fmegaitem{
  margin: 0;
  padding: 1rem;
  width: 33%;
}
.megamenu1 .fmegaitem{
  width: 40%;
}
.megamenu .fmegaitem2{
  margin-left: 5%;
}
.megamenu .fmegaitem a span{
  color: #fff;
  display: block;
  padding-left: 1.5rem;
  position: relative;
  text-align: left;
}
.megamenu .fmegaitem a span::before{
  content: "";
  border-style: solid;
  border-color: transparent transparent transparent #fff;
  border-width: 5px 0px 5px 7px;
  position: absolute;
  top: 9px;
  left: 0;
  width: 0;
  height: 0;
}
.megamenu .fmegaitem a.nowpage span,
.megamenu .fmegaitem a:hover span{
  text-decoration: underline;
}
.megamenu .megalinkbox .imgbox{
  margin-bottom: 1rem;
  overflow: hidden;
}
.megamenu .megalinkbox .imgbox img{
  object-fit: cover;
  height: 100%;
  transition: .5s;
}

.spbtn{
  border-radius: 5px;
  cursor: pointer;
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  height:50px;
  width: 50px;
}
.spbtn span{
  background: #115417;
  border-radius: 2px;
  display: inline-block;
  position: absolute;
  right: 14px;
  transition: all .4s;
  height: 3px;
  width: 45%;
}
.spbtn span:nth-of-type(1) {
  top:15px; 
}
.spbtn span:nth-of-type(2) {
  top:23px;
  width: 35%;
}
.spbtn span:nth-of-type(3) {
  top:31px;
  width: 25%;
}
.spbtn.active{
  z-index: 1;
}
.spbtn.active span{
  background: #fff;
  top: 50%;
  right: auto;
  left: 50%;
  transform: translate(-50%,-50%) rotate(-45deg);
  width: 30%;
}
.spbtn.active span:nth-of-type(2) {
  opacity: 0;
}
.spbtn.active span:nth-of-type(3) {
  transform: translate(-50%,-50%) rotate(45deg);
}

@media only screen and (max-width: 1180px) {
  
}
@media only screen and (max-width: 1024px) {
  .megamenu .megalinkbox{
    justify-content: flex-start;
  }
  .megamenu .fmegaitem{
    width: 50%;
  }
  .megamenu .fmegaitem2{
    margin-left: 0;
  }
}
@media only screen and (max-width: 950px) {
  .megamenu1,
  .megamenuhoverarea,
  .megamenu2 .fbgbox,
  .megamenu .megalinkbox .imgbox{
    display: none !important;
  }
  .spbtn{
    display: block;
  }
  .headnav {
    background: rgba(17,84,23,.9);
    color: #fff;
    opacity: 0;
    max-width: 340px;
    padding: 4rem 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    right: 0;
    height: 100lvh;
    width: 100vw;
    transition: 1s;
  }
  .headnav.active{
    opacity: 1;
    pointer-events: all;
  }
  .mainnav{
    margin: 3rem auto 0;
    padding: 0 2rem;
    overflow: auto;
    max-width: 80%;
  }
  .mainnav > li{
    margin: 0 0 1rem;
    text-align: left;
    width: 100%;
  }
  .mainnav > li > a {
    color: #fff;
    display: inline-block;
    margin-left: 1.5rem;
    position: relative;
  }
  .mainnav > li > a::before{
    content: "";
    border-style: solid;
    border-color: transparent transparent transparent #fff;
    border-width: 5px 0px 5px 7px;
    position: absolute;
    top: 9px;
    left: -1.5rem;
    width: 0;
    height: 0;
  }
  .mainnav > li > a.sptoggle::before{
    border-color: #fff transparent transparent transparent ;
    border-width: 7px 5px 0px 5px ;
    top: 11px;
    left: auto;
    right: -1.5rem;
  }
  .mainnav > li > a.sptoggle.active::before{
    border-color: transparent transparent #fff transparent ;
    border-width: 0px 5px 7px 5px ;
    left: auto;
    right: -1.5rem;
  }
  .mainnav > li > a:hover{
    border-color: transparent;
  }
  .mainnav > li > a.nowpage{
    border-color: #fff;
  }
.megamenu{
  display: none;
  opacity: 1;
  pointer-events: all;
  transition: inherit;
  transform-origin: inherit;
}
  .megamenu,
  .megamenu .fmegaitem{
    position: static;
    width: 100%;
  }
  .megamenu .fbox{
    background: none;
    padding: 0;
    width: 100%;
  }


    /* SPではメガメニューをアコーディオンで表示 */
  .mainnav > li.haschild > .megamenu{
    display: none;           /* ← まず隠す */
    opacity: 1 !important;   /* ← PC用の opacity:0 を完全に殺す */
    pointer-events: all !important; /* ← PC用の pointer-events:none を殺す */
  }

  .mainnav > li.haschild.open > .megamenu{
    display: block;          /* ← openで表示 */
  }
}
@media only screen and (max-width: 820px) {
  
}
@media only screen and (max-width: 768px) {
  
}
@media only screen and (max-width: 767px) {
  
}

/******************************
  footer
******************************/
.cmnfot{
  color: #fff;
  padding: 10rem 0;
}
.footer_bg{
  position: relative;
    background: url(../images/main/fotbg.webp) no-repeat center / cover;
}
.footer_bg::before{
  content: "";
  background: rgba(17, 84, 23, .2);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.copyright_area{
  text-align: center;
  color: #fff;
  padding: 5px 0;
  font-size: 14px;
}

.fotlogo{
  max-width: 300px;
  filter: brightness(0) invert(1);
  margin-bottom: 2rem;
}
.cmnfot address{
  font-style: normal;
}
.cmnfot .telbtn a{
  color: #fff;
  font-size: 1.8rem;
}
.cmnfot .contactbtn a{
  background: #fff;
  border-radius: 10px;
  color: #115417;
  display: inline-block;
  margin-top: 2rem;
  padding: .5rem .8rem ;
}
.fotlinks {
  max-width: 380px;
  width: 100%;
}
.fotlinks li{
  margin-bottom: 10px;
}
.fotlinks a{
  color: #fff;
}

.fotinfo{
  margin-bottom: 30px;
}
