/* ============================================================
  HEADER — 木馬歯科医院
  XDデザイン準拠
============================================================ */

:root {
  --header-height-pc: 90px;
  --header-sp-row1: 50px;
  --header-sp-row2: 50px;
}

/* ============================================================
  ベース
============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-bg-green);
}

.header.is-scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* ============================================================
  PC レイアウト（1段）
============================================================ */
.header__inner--pc {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: var(--header-height-pc);
  margin: 0 auto;
  padding-left: 21.8rem;
  gap: 2rem;
}

/* SP時は非表示 */
@media screen and (max-width: 767px) {
  .header__inner--pc {
    display: none;
  }
}

/* 左：ロゴ＋住所 */
.header__left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
}

.header__logo-link {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  background-color: var(--color-white);
  border-radius: 0 0 3rem 0;
  width: 20rem;
  height: 11rem;
  padding: 3rem;
}

@media screen and (max-width: 767px) {
  .header__logo-link {
    width: 13rem;
    height: var(--header-sp-row1);
    padding: 1rem;
    border-radius: 0 0 1.5rem 0;
  }
}

.header__address {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.header__address-icon {
  display: flex;
  align-items: center;
  margin-top: 2px;
  flex-shrink: 0;
}

.header__address-text {
  font-family: var(--font-jp);
  font-size: 1.1rem;
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  .header__address-text {
    font-size: 1.2rem;
  }
}

/* 中央：診療時間情報 */
.header__center {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  height: 100%;
}
.header__info-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header__info-bottom {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  font-family: var(--font-jp);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.header__badge--main {
  background-color: var(--color-main);
  color: var(--color-white);
  font-size: 1.2rem;
}

@media screen and (max-width: 767px) {
  .header__badge--main {
    font-size: 1rem;
  }
}

.header__holiday {
  font-family: var(--font-jp);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--color-main);
  letter-spacing: 0;
}

@media screen and (max-width: 767px) {
  .header__holiday {
    font-size: 1.3rem;
  }
}

.header__tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background-color: var(--color-white);
  border: 1px solid var(--color-main);
  color: var(--color-main);
  font-family: var(--font-jp);
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 2px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  gap: 4px;
}

.header__card-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header__card-icons img {
  display: block;
  height: 12px;
  width: auto;
}

/* 右：電話＋お問い合わせ＋ハンバーガー */
.header__right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 0 16px;
  gap: 4px;
}
.header__tel-num {
  font-family: var(--font-en);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--color-main);
  letter-spacing: 0.04em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header__tel-icon {
  width: 1.3rem;
}

.header__tel-time {
  font-family: var(--font-jp);
  font-size: 10px;
  color: var(--color-main);
  line-height: 0;
  letter-spacing: 0.08rem;
  white-space: nowrap;
  text-align: center;
}

.header__contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 6.4rem;
  padding: 0 10px;
  background-color: var(--color-accent-red);
  color: var(--color-white);
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--ease);
  border-radius: 0 0 0 2rem;
}

.header__contact-btn:hover {
  opacity: 0.8;
}

.header__contact-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* ============================================================
  ハンバーガーボタン（kraftman方式）
============================================================ */
.hamburger {
  position: relative;
  z-index: 10000;
  width: 6.4rem;
  height: 6.4rem;
  background: var(--color-main);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

@media screen and (max-width: 767px) {
  .hamburger {
    width: var(--header-sp-row1);
    height: var(--header-sp-row1);
  }
}

.hamburger span {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25px;
  height: 2px;
  background: var(--color-white);
  transform: translate(-50%, -50%);
  transition: all 0.4s;
  border-radius: 2px;
}
.hamburger span:nth-of-type(1) {
  top: 37%;
}
.hamburger span:nth-of-type(2) {
  top: 50%;
  left: 55%;
  width: 18px;
}
.hamburger span:nth-of-type(3) {
  top: 63%;
}

/* × になるアニメーション */
.hamburger.active span {
  top: 50%;
  left: 50%;
  width: 22px;
}
.hamburger.active span:nth-of-type(1) {
  transform: translate(-50%, -50%) rotate(-135deg);
}
.hamburger.active span:nth-of-type(2) {
  opacity: 0;
}
.hamburger.active span:nth-of-type(3) {
  transform: translate(-50%, -50%) rotate(135deg);
}

/* ============================================================
  SP レイアウト（2段）
============================================================ */
.header__sp {
  display: none;
}

.header__sp-row2 {
  display: none;
}

@media (max-width: 1200px) {
  .header__sp-row2 {
    display: block;
  }
}

@media (max-width: 1200px) and (min-width: 768px) {
  .header__sp-row2 {
    background-color: var(--color-bg-green);
    padding: 12px 2rem;
    display: flex;
    justify-content: center;
    gap: 6rem;
    margin-top: var(--header-height-pc);
  }
}

@media screen and (max-width: 767px) {
  .header__sp {
    display: block;
  }

  /* SP 1段目 */
  .header__sp-row1 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: var(--header-sp-row1);
    padding: 0 0 0 12px;
  }

  .header__sp-right {
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
  }

  /* SP 電話 */
  .header__sp-tel {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    padding: 0 10px;
  }
  .header__sp-tel-icon {
    width: 1rem;
  }
  .header__sp-tel-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .header__sp-tel-num {
    font-family: var(--font-en);
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--color-main);
    letter-spacing: 0.03em;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .header__sp-tel-time {
    font-family: var(--font-jp);
    font-size: 8.5px;
    font-weight: 500;
    color: var(--color-main);
    line-height: 1.2;
  }

  /* SP お問い合わせ（アイコンのみ） */
  .header__sp-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: var(--header-sp-row1);
    background-color: var(--color-accent-red);
    text-decoration: none;
    transition: background-color var(--ease);
    flex-shrink: 0;
    padding: 1.7rem;
    border-radius: 0 0 0 7px;
  }

  /* SP ハンバーガー */
  .header__sp .header__hamburger {
    width: 54px;
    height: var(--header-sp-row1);
  }

  /* SP 2段目 */
  .header__sp-row2 {
    background-color: var(--color-bg-green);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: var(--header-sp-row1);
  }

  .header__sp-address-text {
    font-family: var(--font-jp);
    font-size: 1.3rem;
    color: var(--color-text);
    line-height: 1.4;
    margin: 0 0 1.2rem;
  }

  .header__sp-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .header__sp-info-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }
  .header__sp-info-bottom {
    display: grid;
    grid-template-columns: 1fr 0.5fr 0.7fr;
    gap: 0.6rem;
    flex-wrap: wrap;
  }

  .header__sp-info-bottom .header__tag {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px;
    font-size: 1.1rem;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
  }

  .header__tag--card {
    gap: 4px;
  }
}

/* ============================================================
  ドロワーメニュー
============================================================ */
.header__drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100dvh;
  background-color: var(--color-white);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1100;
  -webkit-overflow-scrolling: touch;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}

.header__drawer.is-open {
  transform: translateX(0);
}

.header__drawer-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* ドロワー上部：ロゴ＋閉じるボタン */
.header__drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e8e8e8;
  flex-shrink: 0;
}

.header__drawer-logo-link img {
  display: block;
  width: 120px;
  height: auto;
}

.header__drawer-close {
  position: relative;
  width: 40px;
  height: 40px;
  background-color: var(--color-main);
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 2px;
  flex-shrink: 0;
  transition: background-color var(--ease);
}

.header__drawer-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
}
.header__drawer-close span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.header__drawer-close span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ドロワーボディ */
.header__drawer-body {
  flex: 1;
  display: flex;
}

/* ============================================================
  SP ナビ（縦リスト）
============================================================ */
.header__drawer-list--sp {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.header__drawer-item {
  border-bottom: 1px solid #e8e8e8;
}

.header__drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 20px;
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-align: left;
  transition:
    color var(--ease),
    background-color var(--ease);
}
.header__drawer-link:hover {
  color: var(--color-main);
  background-color: #f5fafa;
}

/* 右向き矢印（>） */
.header__drawer-chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #aaa;
  border-top: 2px solid #aaa;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* プラスアイコン（診療案内） */
.header__drawer-plus {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.header__drawer-plus::before,
.header__drawer-plus::after {
  content: "";
  position: absolute;
  background-color: var(--color-main);
  border-radius: 1px;
  transition:
    transform var(--ease),
    opacity var(--ease);
}
.header__drawer-plus::before {
  width: 2px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.header__drawer-plus::after {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.header__drawer-accordion-btn[aria-expanded="true"] .header__drawer-plus::before {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

/* サブメニュー */
.header__drawer-sub {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background-color: #f8fafa;
}
.header__drawer-sub.is-open {
  max-height: 600px;
}

.header__drawer-sub-item {
  border-top: 1px solid #e8e8e8;
}

.header__drawer-sub-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--ease);
}
.header__drawer-sub-link:hover {
  color: var(--color-main);
}

.header__drawer-sub-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background-color: var(--color-main);
  color: var(--color-white);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
  PC ナビ（3列グリッド）
============================================================ */
.header__drawer-grid {
  display: none; /* SPでは非表示 */
}

/* ============================================================
  PC 院内画像
============================================================ */
.header__drawer-image {
  display: none; /* SPでは非表示 */
}

/* ============================================================
  住所
============================================================ */
.header__drawer-address {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 20px;
  border-top: 1px solid #e8e8e8;
  flex-shrink: 0;
}
.header__drawer-address-icon {
  display: flex;
  align-items: center;
  margin-top: 2px;
  flex-shrink: 0;
}
.header__drawer-address-text {
  font-family: var(--font-jp);
  font-size: 12px;
  color: var(--color-text);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
  CTA：電話＋お問い合わせ
============================================================ */
.header__drawer-cta {
  display: flex;
  gap: 10px;
  padding: 16px 20px 24px;
  flex-shrink: 0;
}

/* 電話ボタン */
.header__drawer-tel-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 12px;
  background-color: var(--color-main);
  color: var(--color-white);
  text-decoration: none;
  border-radius: 50px;
  transition: background-color var(--ease);
  min-width: 0;
}

.header__drawer-tel-btn-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header__drawer-tel-btn-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.header__drawer-tel-btn-num {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
}
.header__drawer-tel-btn-time {
  font-family: var(--font-jp);
  font-size: 9px;
  opacity: 0.85;
  line-height: 1.3;
  white-space: nowrap;
}

/* お問い合わせボタン */
.header__drawer-contact-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 12px;
  background-color: var(--color-accent-red);
  color: var(--color-white);
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 50px;
  white-space: nowrap;
  transition: background-color var(--ease);
}

/* CTAの矢印 */
.header__drawer-cta-arrow {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid rgba(255, 255, 255, 0.7);
  border-top: 2px solid rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ============================================================
  オーバーレイ
============================================================ */
.header__overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--ease),
    visibility var(--ease);
}
.header__overlay.is-open {
  opacity: 1;
  visibility: visible;
}

body.is-menu-open {
  overflow: hidden;
}

/* ============================================================
  PC ドロワー（headerPc）
============================================================ */
.headerPc {
  visibility: hidden;
  z-index: 120;
  position: fixed;
  top: var(--header-h-pc);
  right: 0;
  width: 100%;
  height: calc(100vh - var(--header-h-pc));
  padding-bottom: 6rem;
  overflow-y: auto;
  border-bottom: 2rem solid var(--color-main);
  background: rgba(255, 255, 255, 0.95);
  opacity: 0;
  transition: all 0.5s ease;
}

.headerPc.is-openSP {
  visibility: visible;
  z-index: 999;
  opacity: 1;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
}

.headerPc__inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 5rem 2.8rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
}

.headerPc__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.headerPc__content--left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  height: 100%;
}

/* 3列ナビ */
.headerPc__group {
  display: flex;
  gap: 8rem;
}

.headerPc__nav {
  flex-shrink: 0;
}

.headerPc__items {
  display: grid;
  grid-template-rows: repeat(8, 1fr);
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.headerPc__item {
  font-family: var(--font-jp);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
}
.headerPc__item span {
  display: inline-block;
  margin-right: 0.3em;
  color: var(--color-main);
}

.headerPc__item a {
  display: inline-block;
  position: relative;
  width: 100%;
  padding: 0.8rem 0;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s;
}
.headerPc__item a:hover {
  color: var(--color-main);
}

/* 院内画像 */
.headerPc__image img {
  display: block;
  width: 34rem;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
}

/* 住所 */
.headerPc__address {
  display: flex;
  align-items: flex-start;
  gap: 3px;
  padding-top: 1rem;
  margin-top: 4rem;
}

.headerPc__address svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.headerPc__address p {
  font-family: var(--font-jp);
  font-size: 1.6rem;
  color: var(--color-text);
  line-height: 1.3;
  letter-spacing: 0.1em;
  margin: 0;
}

/* CTA */
.headerPc__contacts {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 5rem 0 0 0;
  padding: 0;
}

.headerPc__contact a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 5.4rem;
  min-width: 26rem;
  padding: 1rem 2rem;
  text-align: center;
  text-decoration: none;
  color: var(--color-white);
  border-radius: 50px;
  transition: opacity 0.3s;
  position: relative;
}

.headerPc__contact a::after {
  position: absolute;
  top: 53%;
  right: 2rem;
  transform: translateY(-50%);
  width: 0.6rem;
  height: 1rem;
  background: url(../img/arrow_white.png) no-repeat center/contain;
  content: "";
}

.headerPc__contact a:hover {
  opacity: 0.85;
}

.headerPc__contact-tel a {
  background: var(--color-main);
}
.headerPc__contact-mail a {
  background: var(--color-accent-red);
}

.headerPc__main {
  position: relative;
  font-family: var(--font-en);
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 2rem;
  padding-left: 0.7em;
}
.headerPc__contact-tel .headerPc__main::before {
  position: absolute;
  top: 53%;
  left: 0;
  transform: translateY(-50%);
  width: 1.1rem;
  height: 1.5rem;
  background: url(../img/icon_tel_white.png) no-repeat center/contain;
  content: "";
}
.headerPc__contact-mail .headerPc__main {
  font-family: var(--font-jp);
  font-size: 1.5rem;
  padding-left: 1.4em;
}
.headerPc__contact-mail .headerPc__main::before {
  position: absolute;
  top: 55%;
  left: 0;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 1.2rem;
  background: url(../img/mail.png) no-repeat center/contain;
  content: "";
}

.headerPc__time {
  font-family: var(--font-jp);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 0;
  opacity: 0.85;
  margin-top: 0.8rem;
  margin-bottom: 0.5rem;
}

/* ============================================================
  SP ドロワー（headerSp）
============================================================ */
.headerSp {
  visibility: hidden;
  z-index: 120;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100dvh;
  margin-top: 0;
  padding-bottom: 10rem;
  overflow-y: auto;
  border-bottom: 12px solid var(--color-main);
  background: var(--color-white);
  opacity: 0;
  transition: all 0.5s ease;
  -webkit-overflow-scrolling: touch;
}

.headerSp.is-openSP {
  visibility: visible;
  z-index: 999;
  opacity: 1;
}

.headerSp__inner {
  padding: 4.8rem 2.8rem 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* SP ナビ */
.headerSp__items {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.headerSp__item {
  width: 100%;
  padding-bottom: 0;
  border-bottom: 0.75px solid var(--color-text);
  font-family: var(--font-jp);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
}

.headerSp__item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.8rem 0;
  padding-right: 1rem;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s;
}
.headerSp__item a:hover {
  color: var(--color-main);
}

.headerSp__item a::after {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--color-text);
  border-top: 1px solid var(--color-text);
  transform: rotate(45deg);
  content: "";
  flex-shrink: 0;
}

/* 診療案内アコーディオン（megaMenu） */
.megaMenu__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.8rem 0;
  font-family: var(--font-jp);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  margin: 0;
}
.megaMenu__btn::before,
.megaMenu__btn::after {
  display: block;
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 10px;
  height: 1px;
  background: var(--color-text);
  content: "";
  transform: translateY(-50%);
}
.megaMenu__btn::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.3s;
}
.megaMenu__btn.is-active::after {
  transform: translateY(-50%) rotate(0deg);
}

.megaMenu__items {
  display: none;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.megaMenu__item:last-child {
  border-bottom: none;
}

.megaMenu__item a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.8rem;
  padding: 1.2rem 0;
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s;
}
.megaMenu__item a:hover {
  color: var(--color-main);
}
.megaMenu__item a::after {
  display: none;
}

/* SP 住所 */
.headerSp__address {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 2rem 0 1rem;
  margin-top: 1rem;
}
.headerSp__address svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.headerSp__address p {
  font-family: var(--font-jp);
  font-size: 1.3rem;
  color: var(--color-text);
  line-height: 1.5;
  margin: 0;
}

/* SP CTA */
.headerSp__contacts {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.headerSp__contact a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 6.8rem;
  text-align: center;
  text-decoration: none;
  color: var(--color-white);
  border-radius: 5rem;
  transition: opacity 0.3s;
  position: relative;
}

.headerSp__contact a::after {
  position: absolute;
  top: 53%;
  right: 2rem;
  transform: translateY(-50%);
  width: 0.6rem;
  height: 1rem;
  background: url(../img/arrow_white.png) no-repeat center/contain;
  content: "";
}

.headerSp__contact a:hover {
  opacity: 0.85;
}

.headerSp__contact-tel a {
  background: var(--color-main);
}
.headerSp__contact-mail a {
  background: var(--color-accent-red);
}

.headerSp__main {
  position: relative;
  font-family: var(--font-en);
  font-size: 2.1rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.2;
  padding-left: 0;
}

.headerSp__contact-tel .headerSp__main::before {
  position: absolute;
  top: 53%;
  left: -1.7rem;
  transform: translateY(-50%);
  width: 1.2rem;
  height: 1.6rem;
  background: url(../img/icon_tel_white.png) no-repeat center/contain;
  content: "";
}

.headerSp__contact-mail .headerSp__main {
  font-family: var(--font-jp);
  font-size: 1.8rem;
  font-weight: 400;
  padding-left: 1.6em;
}
.headerSp__contact-mail .headerSp__main::before {
  position: absolute;
  top: 55%;
  left: -3%;
  transform: translateY(-50%);
  width: 2.1rem;
  height: 1.5rem;
  background: url(../img/mail.png) no-repeat center/contain;
  content: "";
}

.headerSp__time {
  font-family: var(--font-jp);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 0;
  opacity: 0.85;
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
}

/* ============================================================
  PC 1200px以下：住所を非表示
============================================================ */
@media (max-width: 1200px) and (min-width: 768px) {
  .header__address {
    display: none;
  }
  .header__logo-img {
    width: 140px;
  }
  .header__tag {
    font-size: 9px;
    padding: 2px 8px;
  }
  .header__holiday {
    font-size: 10px;
  }
  .header__tel-num {
    font-size: 17px;
  }

  .header__center {
    display: none;
  }
}
