@charset "UTF-8";
/* CSS Document */
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
}
body {
  color: #333; /* RGB */
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 500;
  font-size: 1.6em;
  line-height: 2.4rem;
  text-align: center;
}
section h2 {
  font-size: 3.2rem;
}
/* デフォルト非表示（PCでは出さない） */
.sp-logo {
  display: none;
}
@media (max-width: 1160px) {
  section h2 {
    font-size: 2.3rem;
  }
  .sp-logo {
    display: block;
    position: absolute;
    top: 35px;
    left: 35px;
    z-index: 1000;
  }
  .sp-logo img {
    width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
  }
  /* メニュー開いたら消す */
  .header.open ~ .main .sp-logo {
    display: none;
  }
}
a:hover {
  opacity: 0.5;
}
*, *:before, *:after {
  box-sizing: border-box;
}
/* header */
.header {
  position: fixed; /* ← 固定表示 */
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background-color: #C7D36F;
  z-index: 1000; /* 他の要素より上に表示 */
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.2);
}
.header-content-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.header-logo__area {
  background: linear-gradient(to right, #E0DECA, #F0EFE5);
  padding: 60px 45px; /* ← これが余白になる */
}
.header-logo__image {
  width: 190px;
  height: auto;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.header nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.header nav ul li {
  border-bottom: solid 1px rgba(255, 255, 255, 0.5);
}
.header nav ul li:first-child {
  border-top: solid 1px rgba(255, 255, 255, 0.5);
}
.header nav ul li:last-child {
  border-bottom: none
}
.header nav ul li a, .contact {
  font-weight: 600;
  line-height: 60px;
  vertical-align: middle;
  text-decoration: none;
  list-style: none;
  color: #6F6F6F;
}
.contact li:first-child {
  background: linear-gradient(to right, #FCF9C6, #FFFACD);
}
.contact li:nth-child(2) {
  background: linear-gradient(to right, #E0DECA, #F0EFE5);
}
.copylight {
  font-weight: 600;
  line-height: 40px;
  vertical-align: middle;
  color: #6F6F6F;
}
/* ハンバーガーボタンはデフォルト非表示 */
.open-button {
  display: none;
}
/* ハンバーガーの3本線 */
.open-button span, .open-button span::before, .open-button span::after {
  display: block;
  position: absolute;
  width: 30px;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
  content: '';
  left: 0;
}
.open-button span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.open-button span::before {
  position: absolute;
  top: -10px;
}
.open-button span::after {
  position: absolute;
  top: 10px;
}
/* Xマーク表示（active時） */
.open-button.active span {
  background-color: transparent;
}
.open-button.active span::before {
  top: 0;
  transform: rotate(45deg);
}
.open-button.active span::after {
  top: 0;
  transform: rotate(-45deg);
}
@media (max-width: 1160px) {
  .open-button {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #C7D36F;   /* ← 白背景 */
    border-radius: 50%;       /* ← 丸にする */
	box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* ← 影で浮かせる */
    z-index: 1101;
    cursor: pointer;
  }
  .header {
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
	  min-height: 100dvh;
    overflow-y: auto;    /* ← メニュー項目が多い場合にスクロール可能にする */
    background-color: #C7D36F;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1100;
  }
  .header.open {
    transform: translateX(0);
  }
}
.header-logo__area {
  display: flex;
  justify-content: center; /* 横方向中央 */
  align-items: center; /* 縦方向中央 */
  padding: 60px 45px;
  background: linear-gradient(to right, #E0DECA, #F0EFE5);
}
.header-logo__image {
  width: 190px; /* 必要に応じて調整 */
}
.header-logo__image img {
  width: 100%; /* 親divに合わせて拡大縮小 */
  height: auto;
  display: block; /* inlineの隙間を消す */
}
/* footer */
.footer {
  width: 100%;
  padding: 45px 0;
  background-color: #7a7b7c;
  color: #fff;
}
.footer a {
  color: #fff;
  text-decoration: none;
}
.site-map {
  display: flex;
  text-align: left;
  justify-content: left;
  padding: 0 30px;
  font-weight: 600;
  font-size: 1.4rem;
}
.footer-content-wrapper {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer .site-map {
  padding: 0;
  font-weight: 400;
}
.footer .site-map li {
  padding: 0;
  margin-bottom: 10px;
}
.site-map__information {
  margin-right: 70rem;
}
.site-map__main-links {
  margin-right: 10rem;
}
.footer__copyright {
  font-size: 2.0rem;
  font-weight: 400;
}
@media (max-width: 1160px) {
  .footer {
    padding: 45px 50px;  /* 左右余白50px */
  }

  .site-map {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    width: 100%;          /* 幅いっぱいに広げる */
  }

  .site-map__information {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .site-map__information li {
    margin-bottom: 10px;
  }

  /* 下段リンク */
  .site-map__links-row {
    display: flex;              /* 横並び */
    justify-content: flex-start; /* 左寄せ */
    gap: 100px;                  /* ul間の間隔 */
    width: 100%;
  }

  .site-map__main-links,
  .site-map__main-links-site-map {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .site-map__main-links li,
  .site-map__main-links-site-map li {
    margin-bottom: 10px;
  }

  .footer__copyright {
    margin-top: 30px;
    text-align: center;
    font-size: 1.6rem;
  }
}
body.menu-open,
html.menu-open {
  overflow: hidden;
  height: 100%;
}

body.menu-open .main {
  height: 100vh;
  overflow: hidden;
}