@charset "UTF-8";
html {
  font-size: 100%;
  line-height: 100%;
}

body {
  background-image: url(../img/BG.svg);
  background-size: cover; /* 画像を全体にフィット */
  background-position: top; /* 中央に配置 */
  background-repeat: no-repeat;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  font-weight: 500;
}
/* 最初は非表示 */
.fade-up-section {
  opacity: 0;
  visibility: hidden;
  transform: translateY(60px);
  transition:
    opacity 1.2s ease,
    transform 1.2s ease,
    visibility 1.2s ease;
}

/* 表示時 */
.fade-up-section.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
header {
  position: relative;
  width: 100%;
}
.header-wrap {
  display: flex;
  width: 85%;
  margin: 60px auto 60px auto;
  justify-content: space-between;
  align-items: center;
}
.header-wrap__logo {
  width: 245px;
}
.header-wrap__logo img {
  width: 100%;
}
.header-wrap__nav {
  width: 65%;
  margin-left: auto;
}
.header-wrap__nav__list {
  display: flex;
  justify-content: space-between;
}
.header-wrap__nav__list__item a {
  color: #387d39;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.28px;
}
.headercon a {
  background-color: #8ac110;
  color: #fff;
  padding: 7px 15px;
  border-radius: 100px;
}
.head {
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: #387d39;
  font-size: 32px;
}
.smallhead {
  font-size: 11px;
  color: #8ac110;
}
.sub_copy {
  color: #387d39;
  font-size: 16px;
  margin-top: 20px;
}
.gr__head {
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: #ffffff;
  font-size: 32px;
}
.gr__smallhead {
  font-size: 11px;
  color: #ffffff;
}
.footer {
  background-color: #387d39;
  color: #fff;
}
.footer-wrap {
  padding: 80px 0;
  margin: 0 auto;
  max-width: 1200px;
  width: 95%;
}
.footer-wrap__top {
  display: flex;
}
.footer-wrap__left {
  width: 48%;
  display: flex;
  gap: 20px;
}
.footer-adresss {
  font-size: 18px;
}
.footer-adresss p {
  font-size: 14px;
  margin-top: 10px;
  line-height: 26px;
  font-weight: 300;
}
.footer-nav__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 120px;
  max-width: 900px;
}

.footer-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav__list li {
  margin-bottom: 18px;
}

.footer-nav__list a {
  font-weight: 300;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: #fff;
}

.footer-nav__list a:hover {
  opacity: 0.7;
}
.footer-copy {
  text-align: center;
  margin-top: 100px;
  font-size: 11px;
  font-weight: 300;
}
.footer-wrap__left__img img {
  width: 200px;
  border-radius: 20px;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
}
.hamburger {
  display: none;
}
/* ヘッダーSNS（navの右） */
.header-sns {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 0 20px;
  padding: 0;
}
.header-sns a {
  display: inline-flex;
  color: #387d39;
  transition: opacity 0.3s ease;
}
.header-sns a:hover {
  opacity: 0.6;
}
.header-sns svg {
  width: 26px;
  height: 26px;
}
/* フッターSNS（左下） */
.footer-sns {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 5px 0 0;
  padding: 0;
}
.footer-sns a {
  display: inline-flex;
  color: #fff;
  transition: opacity 0.3s ease;
}
.footer-sns a:hover {
  opacity: 0.7;
}
.footer-sns svg {
  width: 29px;
  height: 29px;
}
@media screen and (max-width: 1280px) {
  .header-wrap {
    width: 95%;
    margin: 60px auto 60px auto;
  }
  .header-wrap__nav {
    width: 80%;
  }
}
@media screen and (max-width: 1120px) {
  .footer-wrap__top {
    flex-direction: column;
    gap: 40px;
  }
  .footer-wrap__left {
    width: 100%;
  }
}
@media screen and (max-width: 900px) {
  .header-wrap {
    position: relative;
    z-index: 1000;
    margin: 20px auto 60px auto;
  }

  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: #8abd13;
    cursor: pointer;
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 1002;
  }

  .hamburger span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    transition: 0.3s;
  }

  .hamburger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.is-active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header-wrap__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(82vw, 340px);
    height: 100vh;
    background: #f7f9dd;
    padding: 100px 32px 40px;
    z-index: 1001;
    transition: 0.4s ease;
    box-shadow: -10px 0 30px rgba(46, 125, 50, 0.12);
  }

  .header-wrap__nav.is-active {
    right: 0;
  }

  .header-wrap__nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .header-wrap__nav__list__item a {
    display: block;
    padding: 14px 16px;
    color: #2f7d32;
    font-size: 15px;
    font-weight: 700;
    border-bottom: 1px solid rgba(47, 125, 50, 0.15);
  }

  .header-wrap__nav__list__item.headercon a {
    margin-top: 10px;
    text-align: center;
    color: #fff;
    background: #8abd13;
    border-radius: 999px;
    border-bottom: none;
  }

  /* スマホではハンバーガーと重なるため非表示（フッターのSNSは表示） */
  .header-sns {
    display: none;
  }
}
@media screen and (max-width: 540px) {
  .header-wrap__logo {
    width: 200px;
  }
  .footer-nav__inner {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .footer-wrap__left {
    flex-direction: column;
  }
  .footer-adresss {
    font-size: 24px;
  }
  .footer-nav__list a {
    font-size: 20px;
  }
  .footer-adresss p {
    font-size: 16px;
  }
  .footer-nav__list li {
    margin-bottom: 25px;
  }
  .head {
    font-size: 28px;
  }
}
