/* =============================================
   ヘッダー
============================================= */
.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1292px;
  background-color: #ffffff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  border-radius: 100px;
  z-index: 1000;
  height: 90px;
}
@media (max-width: 900px) {
  .header {
    border-radius: 40px;
    height: 64px;
    top: 12px;
    width: calc(100% - 24px);
  }
}
@media (max-width: 430px) {
  .header {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 50px;
    border-radius: 0;
  }
  .header__inner {
    padding: 15px 15px;
  }
  .header__logo img {
    width: 116px;
    height: 20px;
  }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 29px;
}
@media (max-width: 900px) {
  .header__inner {
    padding: 0 20px;
  }
}

.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.header__logo img {
  width: 169px;
  height: 29px;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 21px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__nav-link {
  font-size: 1.6rem;
  font-weight: 700;
  color: #000000;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.header__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f7b560;
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  width: 148px;
  height: 48px;
  border-radius: 24px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.header__cta-btn:hover {
  opacity: 0.85;
}
@media (max-width: 900px) {
  .header__nav,
  .header__cta-btn {
    display: none;
  }
}

/* =============================================
   ハンバーガーボタン
============================================= */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.header__hamburger-lines span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #555555;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
@media (max-width: 900px) {
  .header__hamburger {
    display: flex;
    align-items: center;
    gap: 6px;
  }
}

.header__hamburger-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.header__hamburger-text {
  display: none;
  font-family: "Archivo Narrow", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 13px;
  color: #93C572;
  letter-spacing: 0;
}

@media (max-width: 430px) {
  .header__hamburger {
    flex-direction: column;
    gap: 4px;
    align-items: center;
  }
  .header__hamburger-lines {
    gap: 6px;
  }
  .header__hamburger-lines span {
    width: 20px;
    height: 2px;
    background-color: #93C572;
    border-radius: 0;
    transition: transform 0.3s ease;
  }
  [aria-expanded="true"] .header__hamburger-lines span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  [aria-expanded="true"] .header__hamburger-lines span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
  .header__hamburger-text {
    display: block;
    font-family: "Archivo Narrow", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 13px;
    letter-spacing: 0;
    color: #93C572;
  }
  .header__mobile-menu.is-open ~ * .header__hamburger-text,
  .header__hamburger[aria-expanded="true"] .header__hamburger-text {
    font-size: 1rem;
  }
}

/* =============================================
   ハンバーガーメニュー（開いた状態）
============================================= */
.header__mobile-menu {
  display: none;
  position: fixed;
  top: 110px;
  left: 12px;
  right: 12px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border-radius: 20px;
  padding: 16px 24px 24px;
  z-index: 998;
}
@media (max-width: 900px) {
  .header__mobile-menu {
    top: 76px;
  }
}
@media (max-width: 430px) {
  .header__mobile-menu {
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
    box-shadow: none;
    background-color: #f5f5f5;
    padding: 0;
    overflow-y: auto;
  }
  .header__mobile-menu ul {
    gap: 0;
    padding-left: 0;
    margin: 0 14px;
  }
  .header__mobile-menu a {
    font-family: "YuGothic", "游ゴシック体", sans-serif;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 12px;
    letter-spacing: 0.8px;
    color: #3B4043;
    padding: 20px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .menu-ja {
    margin-left: 10px;
  }
  .header__mobile-menu a::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='12' viewBox='0 0 30 12'%3E%3Cpath d='M0 9 L25 9 L19 0' stroke='%2393C572' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    display: block;
    margin-left: auto;
    margin-right: 15px;
    flex-shrink: 0;
    line-height: 0;
  }
  .menu-en {
    font-family: "Archivo Narrow", sans-serif;
    font-size: 12px;
    font-weight: normal;
    line-height: 16px;
    letter-spacing: 0.6px;
    color: #F7B560;
    opacity: 1;
    text-align: left;
    margin-left: 10px;
  }
}

.header__mobile-menu__contact {
  display: none;
}
@media (max-width: 430px) {
  .header__mobile-menu__contact {
    display: block;
    text-align: center;
    margin-top: 20px;
    padding: 0 14px;
  }
  .contact-label {
    font-family: "YuGothic", "游ゴシック体", sans-serif;
    font-size: 14px;
    font-weight: bold;
    line-height: 24px;
    color: #93C572;
    margin: 0;
  }
  .contact-tel {
    font-family: "YuGothic", "游ゴシック体", sans-serif;
    font-size: 22px;
    font-weight: bold;
    color: #93C572;
    line-height: 1.4;
    margin: 5px 0 0;
  }
  .contact-hours {
    font-family: "YuGothic", "游ゴシック体", sans-serif;
    font-size: 14px;
    font-weight: bold;
    line-height: 21px;
    letter-spacing: 0px;
    color: #93C572;
    text-align: center;
    margin: 15px 0 0;
  }
}

.header__mobile-menu.is-open {
  display: block;
}

.header__mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.header__mobile-menu a {
  font-size: 1.5rem;
  font-weight: 500;
  color: #555555;
  padding: 10px 0;
  display: block;
  border-bottom: 1px solid #e0e0d8;
}
@media (max-width: 430px) {
  .header__mobile-menu a {
    display: flex;
    align-items: center;
    padding: 20px 15px;
  }
  .header__mobile-menu__cta a::after {
    display: none;
  }
}

.header__mobile-menu__cta {
  margin-top: 16px;
}
.header__mobile-menu__cta a {
  display: block;
  text-align: center;
  background: #F7B560 0% 0% no-repeat padding-box;
  color: #FFFFFF;
  font-family: "YuGothic", "游ゴシック体", sans-serif;
  font-size: 16px;
  font-weight: bold;
  line-height: 30px;
  letter-spacing: 0px;
  border-radius: 24px;
  border-bottom: none;
  width: 300px;
  height: 48px;
  margin: 0 auto;
  padding: 9px 0;
}
