@charset "UTF-8";
/* CSS Document */
html {
  font-size: 62.5%;
  width: 100%;
}
* {
  box-sizing: border-box;
}
img {
  max-width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
}
body {
  color: #333;
  margin: 0;
  padding: 0;
  font-family: "Noto sans", sans-serif;
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 2.4rem;
  text-align: center;
}
/* header */
img {
  max-width: 100%;
  height: auto;
}
body {
  background-color: #fff;
  margin: 0;
  padding: 0;
}
header {
  width: 100%;
  background-color: #FFF;
  display: flex;
  justify-content: space-between;
  padding: 1% 4%;
  align-items: center;
  position: fixed; 
  top: 0; 
  left: 0; 
  border-bottom: solid 2px #367D4D;
  z-index: 2999;
  height: 100px;
}
ul {
  display: flex;
  list-style: none;
}
li {
  margin-left: 35px;
}
a {
  text-decoration: none;
  color: #333;
  font-size: 1.8rem;
}
nav {
  margin-left: auto;
}
.nav-menu a {
  font-size: 1.6rem;
}
.nav-menu a:hover {
  opacity: 0.5;
}
.hamburger-menu {
  display: none;
}
/* footer */
.footer-detail {
  width: 100%;
  background-color: #367D4D;
  padding-top: 90px;
  padding-bottom: 40px;
}
.footer-linklist {
  max-width: 1250px;
  margin: 0 auto;
  border-bottom: solid 1px #FFF;
  padding-left: 30px;
}
.footer-linklist ul li {
  display: inline-block;
  text-align: center;
  margin-right: 30px;
  margin-bottom: 40px;
}
.footer-linklist ul li a {
  text-decoration: none;
  color: #FFF;
  font-size: 1.4rem;
  letter-spacing: 1px;
}
.footer-detail img {
  width: 210px;
  height: 60px;
  margin-top: 40px;
}
.footer-text {
  width: 100%;
  background-color: #367D4D;
  padding-bottom: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;  
}
.footer-text p {
  color: #FFF;
  font-size: 1.1rem;
  letter-spacing: 1.65px;
}
.footer-text p:first-child {
	color: #FFF;
	font-size: 2rem;
}
/* トップに戻るボタン */
html {
  scroll-behavior: smooth;
}
.pagetop {
  height: 64px;
  width: 64px;
  position: fixed;
  right: 65px;
  background: #FFEB00;
  border-radius: 5%;
  justify-content: center;
  align-items: center;
  z-index: 2;
  display: block;
  text-decoration: none;
  bottom: 50px;
}
.pagetop-arrow {
  height: 14px;
  width: 14px;
  border-top: 3px solid #367D4D;
  border-right: 3px solid #367D4D;
  margin-bottom: 54px;
  transform: translate(24px, 28px) rotate(-45deg);
}
.pagetop-text {
  color: #333;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 1.5px;
}

@media (max-width : 768px) {
  /*--------- S追記↓↓↓↓↓----------- */
  .all {
    max-width: 768px;
    margin: 0;
  }
  .header, .main, .footer, img {
    width: 100%;
  }
  body {
    margin: 0;
  }
  header {
    display: none;
  }
  header#body-header {
    overflow: hidden;
  }
  main#main {
    overflow: hidden;
  }
  .hamburger-menu {
    display: block;
  }
  .header-nav {
    display: none;
  }
  header img {
    display: block;
    width: auto;
    height: 45px;
  }
  .menu-btn {
    position: fixed;
    top: 30px;
    right: 35px;
    display: flex;
    height: 40px;
    width: 40px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    border: solid 1px #A2C789;
    border-radius: 5px;
    transition-duration: 0.5s;
  }
  /* 三本線 */
  .menu-btn span, .menu-btn span:before, .menu-btn span:after {
    content: "";
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #367D4D;
    position: absolute;
  }
  .menu-btn span:before {
    bottom: 8px;
  }
  .menu-btn span:after {
    top: 8px;
  }
  /* チェックボックスを非表示 */
  #menu-btn-check {
    display: none;
  }
  .hamburger-contents {
    background-color: rgba(251, 250, 225, 20);
    color: #333;
    position: fixed;
    width: 100%;
    height: 100%;
    max-width: 340px;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0 10px;
    transition-duration: 0.5s;
    z-index: 1;
    overflow: auto;
    transform: translateX(110%);
  }
  #menu_btn_check:checked + .menu-btn {
    transform: translateX(340px);
    transition-duration: 0.5s;
  }
  .menu-close {
    display: block;
    background: rgba(251, 250, 225, 20);
    text-align: right;
    margin-top: 30px;
    margin-bottom: 30px;
    margin-right: 30px;
  }
  #menu_btn_check:checked ~ label.menu-mask {
    display: block;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, .5);
    position: fixed;
    top: 0;
    left: 0;
  }
  .hamburger-menu input[type="checkbox"] {
    transform: translateX(-50vw);
    display: none;
  }
  .burger-wrap nav ul li a {
    text-decoration: none;
    list-style: none;
    color: #333;
    font-size: 1.8rem;
  }
  .burger-wrap {
    display: block;
    list-style: none;
  }
  /* メニューバー装飾 */
  .menu-btn {
    border: #A2C789 solid 2px;
  }
  .burger-wrap li {
    width: 300px;
    line-height: 30px;
    text-align: center;
    margin-left: 0;
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 600;
    border-bottom: #A2C789 1px solid;
  }
  .burger-wrap li a {
    text-decoration: none;
    color: #367D4D;
  }
  /* .burger-wrap li:nth-last-child(1) {
  border-bottom: none;
} */
  /* メニューバーXボタンの装飾 */
  .menu-close span {
    color: #367D4D;
    font-weight: bold;
    font-size: 24px;
  }
  /* メニューバーの配置 */
  #menu_btn_check:checked ~ .hamburger-contents {
    transform: translateX(0px);
  }
  /* メニューバーのサイズ */
  .hamburger-contents {
    height: auto;
    width: auto;
    padding-bottom: 5px;
  }
  /* グロナビ表示なし */
  .nav-menu {
    display: none;
  }
  /* Sコーディング↑↑↑↑↑ */
  header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 2% 6%;
    align-items: center;
    position: fixed;
    top: 0; 
    left: 0; 
    border-bottom: solid 2px #367D4D;
    z-index: 1;
    max-height: 160px;
  }
  /* footer */
  .footer-detail {
    width: 100%;
    background-color: #367D4D;
    padding-top: 50px;
    padding-bottom: 30px;
  }
  .footer-linklist {
    display: block;
    width: 80%;
    border-bottom: solid 1px #FFF;
    padding-left: 0;
  }
  .footer-linklist ul {
    display: block;
  }
  .footer-linklist ul li {
    display: block;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 30px;
  }
  .footer-linklist ul li a {
    text-decoration: none;
    color: #FFF;
    font-size: 1.3rem;
    letter-spacing: 1px;
  }
  .footer-detail img {
    width: auto;
    height: 50px;
    margin-top: 40px;
  }
  .footer-text {
    width: 100%;
    background-color: #367D4D;
    padding-bottom: 40px;
  }
  .footer-text p {
    color: #FFF;
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  /* トップに戻るボタン */
  html {
    scroll-behavior: smooth;
  }
  .pagetop {
    height: 40px;
    width: 40px;
    position: fixed;
    right: 30px;
    background: #FFEB00;
    border-radius: 5%;
    justify-content: center;
    align-items: center;
    z-index: 2;
    display: block;
    text-decoration: none;
    bottom: 30px;
  }
  .pagetop-arrow {
    height: 11px;
    width: 11px;
    border-top: 2.5px solid #367D4D;
    border-right: 2.5px solid #367D4D;
    margin-bottom: 25px;
    transform: translate(14px, 18px) rotate(-45deg);
  }
  .pagetop-text {
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.1px;
  }
}