@charset "utf-8";

/*
Base style
*/
body {
  font-family: 'Noto Sans JP', "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}
a {
  text-decoration: none;
}

h1 {
font-family: 'Noto Serif JP', "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
color: #005024;
}

/*
grid
*/
.grid {
  display: flex;
  width: 1200px;
  margin: auto;
  padding: 0;
  justify-content: space-between;
}
.grid-item {
  list-style: none;
}
.grid-col-1 > .grid-item {
  width: calc(100% - 0px); /* 10pxは余白の間隔 */
}
.grid-col-2 > .grid-item {
  width: calc(50% - 60px); /* 10pxは余白の間隔 */
}
.grid-col-3 > .grid-item {
  width: calc(33.3% - 40px);
}
.grid-col-4 > .grid-item {
  width: calc(25% - 30px); /* 10pxは余白の間隔 */
}


/*
改行
*/
@media screen and (min-width: 768px){
  .br-sp {display: none; }
  }



/*
grid SP
*/

@media screen and (max-width: 768px) {
  .grid {
    display: block;
    padding: 0 20px 0 20px;
    width: 100%;
  }
  .grid-col-2 > .grid-item,
  .grid-col-3 > .grid-item,
  .grid-col-4 > .grid-item {
    width: 100%;
  }
  
  
}

/* 
header
*/
.header {
  position: fixed;
  background-color: #fff;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  padding-top: 20px;
  padding-bottom: 20px;
  justify-content: space-between;
  align-items: center;
}
header .logo {
 padding-left: 30px;
}

header .logo img {
 width: 285px;
}


.header-nav{
   width: 1200px;
   margin-left: auto;
   margin-right: auto;
}
.header-navlist {
   width: 800px;
   margin: 0;
   display: flex;
   justify-content: space-between;
   align-items: center;
   text-align: center;
}
/*.header-navitem {}*/
.header-navitem > a {
   display: block;
   width: 116px;
   padding: 10px;
   color: #3E3A39;
   text-decoration: none;
   font-weight: bold;
   border-bottom: 2px solid transparent;
   transition: border-color .5s;
}
.header-navitem > a:hover {
   border-bottom: 2px solid #3E3A39;
}

.header-contact img {
 width: 100%;
}

.header-contact :hover {
  opacity: 0.9;
  transition: 1s;
 }

.navtop {
 display: flex;
 padding: 25px 0 25px 0;
}
.navtop h3 {
 font-size: 18px;
 margin-left: 30px;
 margin-right: 5px;
 width: 800px;
}

.navtop-button {
 display: flex;
 gap: 0;
 align-items: center;
}

.navtop-button img {
 width: 220px;
 float: right;
 margin: 0;
 padding-left: 20px;
}
.navtop-button img:hover {
 transition: 1.0s ;
 opacity: 0.7 ;
}

a{
 color: #333333;
 text-decoration: none;
 display: block;
}

ul li{
 list-style: none;
 width:100px;
}



/* 
header-SP
*/
/* スマートフォン表示用のスタイル */
@media screen and (max-width: 768px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .navtop h3 {
    display: none;
  }

  .navtop-button img {
    display: none;
    width: 100%;
    float: 0;
    padding-left: 10px;
  }

  header .logo {
    float: left;
    padding-left: 22px;
    padding-top: 0px;
    padding-bottom: 5px;
  }

  header .logo img {
    width: 70%;
  }

  /* ハンバーガーメニューのスタイル */
  .btn-toggle {
    position: fixed;
    top: 35px;
    right: 20px;
    width: 30px;
    height: 24px;
    z-index: 3;
    cursor: pointer;
    transition: all 400ms;
  }

  .btn-toggle span {
    position: absolute;
    width: 30px;
    height: 4px;
    background: #666;
    border-radius: 10px;
    transition: all 400ms;
  }

  .btn-toggle span:nth-child(1) {
    top: 0;
  }

  .btn-toggle span:nth-child(2) {
    top: 10px;
  }

  .btn-toggle span:nth-child(3) {
    top: 20px;
  }

  .open .btn-toggle span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .open .btn-toggle span:nth-child(2) {
    opacity: 0;
  }

  .open .btn-toggle span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .btn-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .btn-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .btn-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  /* メニューリストの表示/非表示スタイル */
  .header-navitem > a {
    width: 100%;
    border-bottom: 0px;
    transition: none;
  }

  .header-navitem > a:hover {
    opacity: 0.5;
    transition: 0.5s;
    border-bottom: 0px;
 }



  .header-navlist {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #333;
    opacity: 0.98;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transform: translateX(100%); /* 初期状態では画面右側に隠れる */
    transition: transform 0.3s ease-out; /* アニメーションの設定 */
  }

  .header-navlist.open {
    transform: translateX(0%); /* クリックしたら画面内に移動して表示 */
  }

  .header-navlist.open li.header-navitem a {
    color: #fff;
    font-size: 18px;
    font-weight: lighter;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding-top: 25px;
    padding-bottom: 25px;
  }

  header nav ul li {
    width: 100%;
  }

  header nav ul li a {
    display: block;
    color: #ffffff;
    padding-left: 20px;
  }
}
/*
Mainvisual
*/
code
/* メインビジュアルの親要素に相対的な位置指定 */
.mainvisual {
    position: relative;
    padding-top: 200px;
    margin-bottom: 0px;
}

/* メインビジュアルの画像 */
.mainvisual img {
    width: 100%;
    padding-top: 0px;
}
.mainvisual-pc {
  display: block !important;
}
.mainvisual-sp {
  display: none !important;
}


/* 画面幅がスマートフォンサイズの場合に表示 */
@media screen and (max-width: 768px) {
    .mainvisual-pc {
        display: none !important;
    }
    .mainvisual-sp {
        display: block !important;
    }
    .mainvisual img {
      padding-top: 0px;
  }
}



/*
section
*/
.section {
  padding: 150px 0px 0px 0px;
 }
 .section.section-secoundaly {
   background: #F7F8F8;
 }
 .section-headline{
   text-align: center;
   font-size: 45px;
   font-weight: lighter;
   margin-bottom: 0px;
 }
 .section-subheadline{
   text-align: center;
   font-size: 18px;
   font-weight: bold;
   margin: 0 0 70px 0;
 }

 .section-button {
   text-align: right;
   font-weight: bold;
 }
 .section-button .button {
   display: inline-block;
   color: #fff;
   background-color: #E9B4B2;
   text-align: center;
   padding: 15px 60px;
   text-decoration: none;
 }
 a.btn-border {
   font-size: 25px;
   font-weight: 500;
   line-height: 1.5;
   display: block;
   margin-left: auto;
   margin-right: auto;
   margin-top: 100px;
   margin-bottom: 155px;
   padding: 20px 10px;
   max-width: 1200px;
   height: 87px;
   -webkit-transition: all 0.3s;
   transition: all 0.3s;
   text-align: center;
   text-decoration: none;
   letter-spacing: 0.1em;
   color: #212529;
   border: 1.7px solid #1c1c1c;
   border-radius: 0;
 }
 
 a.btn-border:hover {
   color: #fff;
   background: #1c1c1c;
 }
 
 /*
 section-SP
 */
 
 @media screen and (max-width: 768px) {
   .section {
     padding: 70px 0px 0px 0px;
    }
    .section-button {
   text-align: center;
   margin-top: 40px;
   }
   .section-headline{
    font-size: 30px;
   }
   a.btn-border {
     font-size: 20px;
     margin-top: 70px;
     margin-bottom: 70px;
     padding: 10px 10px;
     width: 100%;
     height: 60px;
   }
   .section-subheadline{
    margin: 0 0 50px 0;
  }
 }




/* 
footer
*/
footer {
    color: #fff;
    background: #005024;
    margin: 0;
    padding-top: 50px;
   }
   .footer-logo {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
   }
   .footer-logo img {
    width: 280px;
   }
   .footer_content {
     margin-left: auto;
     margin-right: auto;
     width: 800px;
   }
   .footer_content2 {
    margin-left: auto;
    margin-right: auto;
    width: 600px;
  }
   .footer_1 {
     display: flex;
     margin-top: 10px;
     justify-content: space-around;
   }
   .footer_1 h3 {
    font-size: 17px;
    color: #fff;
  }
   .footer_1 p {
     font-size: 16px;
     line-height: 1.5;
     color: #fff;
   }
   .footer_1 h3:hover {
    opacity: 0.5;
    transition: 0.5s;
  }
   .footer_1 p:hover {
     opacity: 0.5;
     transition: 0.5s;
   }

   .copyright {
     text-align: center;
     margin-top: 70px;
     padding-bottom: 20px;
   }
 
   
   /* 
   footer-SP
   */
   @media screen and (max-width: 768px) {
    .footer_content {
      width: 100%;
      line-height: 50px;
      text-align: center;
      margin-left: auto;
      margin-right: auto;
    }
    .footer_content2 {
      width: 100%;
      text-align: center;
      margin-left: auto;
      margin-right: auto;
    }
   .footer_1 {
    display: block;
    margin-top: 10px;
    justify-content: space-around;
  }
  .footer_1 p {
    line-height: 50px;
  }
   .copyright {
     width: 300px;
     margin-left: auto;
     margin-right: auto;
     text-align: center;
     margin-top: 70px;
     padding-bottom: 20px;
   }
   }