/* common.css - 全ページ共通スタイル */

/* ============================================================
   デザイントークン（CSS変数）
   ============================================================ */
:root {
  /* Colors - Base */
  --color-base-keycolor: #5a7c30;
  --color-base-inagawa: #8c84a4;
  --color-base-kawanishi: #b3b77d;
  --color-base-itami: #5e889d;
  --color-base-sanda: #c48e67;
  --color-base-takarazuka: #c56a79;

  /* Colors - Background */
  --color-bg-keycolor: #00845f;
  --color-bg-keycolor-02: #5a7c30;
  --color-bg-keycolor-dark-02: #405315;
  --color-bg-keycolor-light: #a9c388;
  --color-bg-white: #ffffff;
  --color-bg-black-01: #000000;
  --color-bg-gray-01: #dddddd;
  --color-bg-gray-03: #f9f9f9;
  --color-bg-gray-04: #f5f5f5;
  --color-bg-green-01: #e8eee4;
  --color-bg-green-02: #cddbc3;

  /* Colors - Font */
  --color-font-black-01: #012219;
  --color-font-keycolor: #5a7c30;
  --color-font-keycolor-dark: #405315;
  --color-font-keycolor-light: #a9c388;
  --color-font-white-01: #ffffff;
  --color-font-gray-01: #646464;
  --color-font-gray-02: #858585;
  --color-font-em: #1D1F2B;

  /* Colors - Border */
  --color-border-black-01: #012219;
  --color-border-white-01: #ffffff;
  --color-border-key: #5a7c30;
  --color-border-gray-01: #dddddd;
  --color-border-gray-02: #e5e9ed;
  --color-border-gray-03: #8c9eae;

  /* Font Sizes */
  --fontsize-text-xsmall: 12px;
  --fontsize-text-small: 14px;
  --fontsize-text-normal: 16px;
  --fontsize-text-medium: 18px;
  --fontsize-text-large: 20px;
  --fontsize-text-xxlarge: 26px;
  --fontsize-text-xxxlarge: 28px;
  --fontsize-heading-section: 32px;
  --fontsize-heading-top-01: 36px;

  /* Spacing */
  --space-01: 15px;
  --space-02: 20px;
  --space-03: 30px;
  --margin-block-01: 40px;
  --margin-block-02: 60px;
  --margin-block-03: 80px;
  --margin-block-04: 120px;
  --container-medium: 80px;
  --container-small: 160px;

  /* Radius */
  --radius-nml: 10px;
  --radius-rounded: 9999px;

  /* Font Families */
  --font-heading: 'Zen Kaku Gothic New', sans-serif;
  --font-accent: 'Caveat', cursive;
  --font-body: 'Zen Kaku Gothic New', sans-serif;
  --font-date: 'Lexend Deca', sans-serif;
  --font-gothic: 'Zen Kaku Gothic New', sans-serif;
}

/* ============================================================
   リセット・ベース
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-font-black-01);
  background-color: var(--color-bg-gray-03); /* Figmaページ背景と同色 #f9f9f9 */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* ============================================================
   ユーティリティ
   ============================================================ */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--container-medium);
}

.container--inner {
  max-width: 1280px;
  margin: 0 auto;
}

/* セクションタイトル共通 */
.section-ttl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  margin-bottom: var(--margin-block-01);
}

.section-ttl__lead {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: var(--fontsize-text-large);
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-font-black-01);
  letter-spacing: 0.8px;
}

.section-ttl__lead-deco {
  width: 9px;
  height: 16px;
  flex-shrink: 0;
}

.section-ttl__main {
  font-size: var(--fontsize-heading-top-01);
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-font-black-01);
  letter-spacing: 2.88px;
  line-height: 1.5;
}

.section-ttl__sub {
  font-size: var(--fontsize-text-large);
  font-family: var(--font-accent);
  color: var(--color-font-keycolor);
  letter-spacing: 1.6px;
  line-height: 1.5;
}

/* ボタン */
.btn-fill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 15px 30px;
  background-color: var(--color-bg-keycolor-02);
  color: var(--color-font-white-01);
  border-radius: var(--radius-rounded);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fontsize-text-normal);
  line-height: 1.6;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.btn-fill:hover {
  background-color: var(--color-bg-keycolor-dark-02);
  opacity: 0.9;
}

.btn-fill:focus {
  outline: 2px solid var(--color-border-key);
  outline-offset: 2px;
}

.btn-fill__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-fill__icon::after {
  content: '';
  display: block;
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--color-font-white-01);
  border-bottom: 2px solid var(--color-font-white-01);
  transform: rotate(-45deg) translateY(-2px);
}

/* 矢印アイコン */
.nav-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 8px;
  height: 6px;
}

.nav-arrow::after {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
  position: fixed; /* スクロールしても固定 */
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
}

/* ヘッダー全幅の背景（高さ126px） */
.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 126px;
  background-color: var(--color-bg-gray-03);
  z-index: 0;
}

.site-header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  width: 100%;
}

/* ---- ロゴエリア ---- */
.site-header__logo {
  position: relative;
  flex-shrink: 0;
  width: 210px;
  padding: 30px;
  background-color: var(--color-bg-gray-03);
  border-radius: 0 0 14px 0;
  z-index: 3;
  overflow: visible;
}

.site-header__logo-bg {
  position: absolute;
  inset: 0;
  border-radius: 0 0 14px 0;
  overflow: hidden;
  pointer-events: none;
}

.site-header__logo-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-bg-gray-03);
}

.site-header__logo-texture {
  position: absolute;
  inset: 0;
  background-size: 935px 935px;
  background-position: top left;
  mix-blend-mode: overlay;
  opacity: 0.15;
  background-repeat: no-repeat;
}

.site-header__logo-link {
  display: block;
  text-decoration: none;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.site-header__logo-images {
  position: relative;
  width: 150px;
  height: 134px; /* Tourism Guide top(113.29) + height(17.56) = 130.85px → 134px */
}

/* ぐるっとおでかけ阪神北 円弧ロゴ */
.site-header__logo-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 44px;
  object-fit: contain;
}

/* ひょうご */
.site-header__logo-hyogo {
  position: absolute;
  top: 46.42px;
  left: 28.48px;
  width: 91.872px;
  height: 23.471px;
  object-fit: contain;
}

/* 北摂 */
.site-header__logo-hokusetsu {
  position: absolute;
  top: 78.75px;
  left: 47.47px;
  width: 51.38px;
  height: 22.113px;
  object-fit: contain;
}

/* Tourism Guide */
.site-header__logo-tourism {
  position: absolute;
  top: 113.29px;
  left: 22.38px;
  width: 107.182px;
  height: 17.56px;
  object-fit: contain;
}

/* ---- ナビエリア ---- */
.site-header__nav {
  flex: 1;
  position: relative; /* nav-bg の基準 */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  padding: 32px 40px 0 0;
  z-index: 2;
}

/* ナビ背景：.site-header::before に移管したため非表示 */
.site-header__nav-bg {
  display: none;
}

/* SP専用ナビ：デフォルト非表示 */
.site-header__sp-nav {
  display: none;
}

/* 上段：ユーティリティナビ */
.site-header__util-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  flex-wrap: wrap;
}

.site-header__util-links {
  display: flex;
  align-items: center;
  gap: 5px;
}

.site-header__util-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--fontsize-text-small);
  color: var(--color-font-black-01);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-header__util-link:hover {
  color: var(--color-font-keycolor);
}

.site-header__util-link:focus-visible {
  outline: 2px solid var(--color-border-key);
  outline-offset: 2px;
}

.site-header__util-sep {
  display: block;
  width: 1px;
  height: 12px;
  flex-shrink: 0;
}

.site-header__util-btns {
  display: flex;
  align-items: center;
  gap: 5px;
}

.site-header__search-btn,
.site-header__lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 15px 6px 12px;
  border: 1px solid var(--color-border-gray-03);
  border-radius: var(--radius-rounded);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--fontsize-text-small);
  color: var(--color-font-black-01);
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.site-header__search-btn:hover,
.site-header__lang-btn:hover {
  background-color: var(--color-bg-green-01);
}

.site-header__search-btn:focus-visible,
.site-header__lang-btn:focus-visible {
  outline: 2px solid var(--color-border-key);
  outline-offset: 2px;
}

.site-header__btn-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* SNSアイコン */
.site-header__sns {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-left: 10px;
}

.site-header__sns-link {
  display: block;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.site-header__sns-link:hover {
  opacity: 0.75;
}

.site-header__sns-link:focus-visible {
  outline: 2px solid var(--color-border-key);
  outline-offset: 2px;
  border-radius: 50%;
}

/* Facebook（単体 img） */
.site-header__sns-link > img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* Instagram・YouTube（背景円 + アイコン重ね） */
.site-header__sns-circle {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
}

.site-header__sns-circle-bg {
  position: absolute;
  inset: 0;
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.site-header__sns-circle-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

/* 下段：メインナビ */
.site-header__main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
  padding-bottom: 12px;
}

.site-header__main-nav-item {
  display: flex;
  align-items: center;
}

.site-header__nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--fontsize-text-normal);
  color: var(--color-font-black-01);
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header__nav-link:hover {
  color: var(--color-font-keycolor);
}

.site-header__nav-link:focus-visible {
  outline: 2px solid var(--color-border-key);
  outline-offset: 2px;
}

.site-header__nav-arrow {
  width: 8px;
  height: 6px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

/* ドロップダウントリガーボタン（ナビリンクと同スタイル） */
.site-header__main-nav-item--has-dropdown {
  position: relative;
}

.site-header__nav-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: var(--fontsize-text-normal);
  font-weight: 500;
  color: var(--color-font-black-01);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-header__nav-trigger:hover {
  color: var(--color-font-keycolor);
}

.site-header__nav-trigger:focus-visible {
  outline: 2px solid var(--color-border-key);
  outline-offset: 2px;
}


/* ドロップダウン本体 */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background-color: var(--color-bg-gray-03);
  border: 1px solid var(--color-border-key);
  border-radius: 15px;
  padding: 8px 15px;
  min-width: 130px;
  white-space: nowrap;
}

/* 吹き出し矢印 外枠 */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 9px solid var(--color-border-key);
}

/* 吹き出し矢印 内側 */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 8px solid var(--color-bg-gray-03);
}

/* hidden属性で非表示 */
.nav-dropdown[hidden] {
  display: none;
}

/* ドロップダウンリスト */
.nav-dropdown__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-dropdown__item {
  padding: 4px 0;
}

.nav-dropdown__item + .nav-dropdown__item {
  border-top: 1px dashed var(--color-border-black-01);
  padding-top: 9px;
}

.nav-dropdown__link {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fontsize-text-small);
  font-weight: 500;
  color: var(--color-font-black-01);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-dropdown__link:hover {
  color: var(--color-font-keycolor);
}

/* ---- 検索パネル ---- */
.header-search {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background-color: var(--color-bg-green-01);
  padding-top: 190px; /* ヘッダーナビ高さ分下げる（ロゴ高さ基準） */
  padding-bottom: var(--margin-block-01);
}

.header-search[hidden] {
  display: none;
}

.header-search__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--container-small);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-02);
}

.header-search__ttl {
  width: 100%;
  border-bottom: 1px dashed var(--color-border-black-01);
  padding-bottom: 15px;
  text-align: center;
}

.header-search__ttl-text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  color: var(--color-font-black-01);
  letter-spacing: 1.2px;
  white-space: nowrap;
}

.header-search__form-wrap {
  width: 100%;
}

.header-search__input-wrap {
  position: relative;
  width: 100%;
}

.header-search__input {
  width: 100%;
  height: 55px;
  padding: 0 55px 0 30px;
  box-sizing: border-box;
  background-color: var(--color-bg-gray-03);
  border: 1px solid var(--color-border-gray-03);
  border-radius: var(--radius-rounded);
  font-family: var(--font-heading);
  font-size: var(--fontsize-text-small);
  color: var(--color-font-black-01);
  outline: none;
}

.header-search__input::placeholder {
  color: var(--color-font-gray-02);
}

.header-search__input:focus {
  border-color: var(--color-border-key);
}

.header-search__submit {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-search__submit img {
  width: 20px;
  height: 20px;
  display: block;
}

.header-search__submit:focus-visible {
  outline: 2px solid var(--color-border-key);
  outline-offset: 2px;
  border-radius: 4px;
}

.header-search__close {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: var(--fontsize-text-normal);
  font-weight: 700;
  color: var(--color-font-keycolor);
  padding: 0;
  transition: opacity 0.2s ease;
}

.header-search__close:hover {
  opacity: 0.75;
}

.header-search__close:focus-visible {
  outline: 2px solid var(--color-border-key);
  outline-offset: 2px;
  border-radius: 4px;
}

.header-search__close-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--color-bg-keycolor-02);
  position: relative;
  flex-shrink: 0;
}

.header-search__close-icon::before,
.header-search__close-icon::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 2px;
  background-color: var(--color-bg-white);
  border-radius: var(--radius-rounded);
}

.header-search__close-icon::before {
  transform: rotate(45deg);
}

.header-search__close-icon::after {
  transform: rotate(-45deg);
}

/* モバイルではドロップダウンを非表示 */
@media (max-width: 767px) {
  .nav-dropdown {
    display: none !important;
  }
}

/* ============================================================
   フッター
   ============================================================ */
.site-footer {
  background-color: var(--color-bg-white);
}

/* PRバナーエリア */
.site-footer__pr {
  background-color: var(--color-bg-keycolor-02);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--margin-block-01) var(--container-medium) var(--margin-block-02);
}

.site-footer__pr-header {
  width: 100%;
  border-bottom: 1px solid var(--color-border-gray-03);
  padding-bottom: 8px;
  margin-bottom: var(--margin-block-01);
}

.site-footer__pr-label {
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 500;
  font-size: var(--fontsize-text-normal);
  color: var(--color-font-white-01);
  letter-spacing: 0.32px;
}

.site-footer__pr-slider {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.site-footer__pr-track {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  overflow: hidden;
  justify-content: center;
  flex-wrap: wrap;
}

.site-footer__pr-banner {
  height: 48px;
  width: 195px;
  flex-shrink: 0;
  overflow: hidden;
}

.site-footer__pr-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 矢印ボタン（PCでは非表示） */
.site-footer__pr-arrow {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.85);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.site-footer__pr-arrow:hover {
  background-color: var(--color-bg-white);
}

.site-footer__pr-arrow-icon {
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--color-bg-keycolor-dark-02);
  border-right: 2px solid var(--color-bg-keycolor-dark-02);
  border-radius: 1px;
}

.site-footer__pr-arrow--prev .site-footer__pr-arrow-icon {
  transform: rotate(-135deg) translate(-2px, 2px);
}

.site-footer__pr-arrow--next .site-footer__pr-arrow-icon {
  transform: rotate(45deg) translate(-2px, 2px);
}

/* ドット（PCでは非表示） */
.site-footer__pr-dots {
  display: none;
  align-items: center;
  gap: 15px;
  margin-top: var(--margin-block-01);
}

.site-footer__pr-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-bg-green-02);
  opacity: 0.5;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
  cursor: pointer;
}

.site-footer__pr-dot.is-active {
  opacity: 1;
}

/* フッター下部 */
.site-footer__bottom {
  padding: var(--margin-block-02) var(--container-medium);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--margin-block-01);
}

.site-footer__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__org {
  font-family: var(--font-heading);
  font-size: var(--fontsize-text-normal);
  font-weight: 500;
  color: var(--color-font-black-01);
}

.site-footer__address {
  font-family: var(--font-heading);
  font-size: var(--fontsize-text-small);
  color: var(--color-font-black-01);
  line-height: 1.8;
  letter-spacing: 0.14px;
}

.site-footer__navs {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-03);
}

.site-footer__nav-menu {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.site-footer__nav-link {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fontsize-text-normal);
  font-weight: 500;
  color: var(--color-font-black-01);
  line-height: 1.4;
  transition: color 0.2s ease;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  width: 100%;
  text-decoration: none;
}

.site-footer__nav-link:hover {
  color: var(--color-font-keycolor);
}

/* PCではプラスアイコン非表示 */
.site-footer__nav-plus-icon {
  display: none;
}

.site-footer__nav-sub {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 5px;
}

.site-footer__nav-sub-link {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fontsize-text-small);
  font-weight: 500;
  color: var(--color-font-black-01);
  line-height: 1.4;
  transition: color 0.2s ease;
  text-decoration: none;
}

.site-footer__nav-sub-link:hover {
  color: var(--color-font-keycolor);
}

.site-footer__copyright {
  width: 100%;
  padding-top: 40px;
  text-align: center;
  font-family: var(--font-date);
  font-size: var(--fontsize-text-xsmall);
  color: var(--color-font-gray-01);
  letter-spacing: 0.12px;
  line-height: 1.8;
}

/* ============================================================
   レスポンシブ（タブレット: 768px〜）
   ============================================================ */
@media (min-width: 768px) {
  /* タブレット以上はデスクトップスタイルを維持 */
}

/* ============================================================
   モバイル対応（max: 767px） — 共通部分
   ============================================================ */
@media (max-width: 767px) {
  :root {
    --container-medium: 20px;
  }

  /* ---- モバイルヘッダー ---- */
  /* 背景帯は92px */
  .site-header::before {
    height: 92px;
  }

  /* innerは横並び・高さ制約なし・右端16px確保 */
  .site-header__inner {
    flex-direction: row;
    align-items: flex-start;
    padding-right: 16px;
  }

  /* ロゴエリア: 右下だけ角丸12px、パディング16px */
  .site-header__logo {
    width: auto;
    flex-shrink: 0;
    padding: 16px;
    border-radius: 0 0 12px 0;
  }

  /* logo-bg の border-radius も12pxに合わせる */
  .site-header__logo-bg {
    border-radius: 0 0 12px 0;
  }

  /* ロゴリンク: scale後の視覚サイズ(88×77)でクリップ */
  .site-header__logo-link {
    width: 88px;
    height: 77px;
    overflow: hidden;
  }

  /* ロゴ画像群: 0.587倍に縮小（デスクトップ150×134 → 88×77） */
  .site-header__logo-images {
    transform: scale(0.587);
    transform-origin: top left;
    width: 150px;
    height: 134px;
  }

  /* デスクトップ nav を非表示 */
  .site-header__nav {
    display: none;
  }

  /* SP ナビ: ロゴの右に横並び、右端に詰める、上から16px余白 */
  .site-header__sp-nav {
    display: flex;
    flex: 1;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: 16px;
    gap: 0;
  }

  /* 検索・言語ボタン群: さらに10px下げて配置 */
  .site-header__sp-btns {
    display: flex;
    align-items: flex-start;
    padding-top: 10px;
    gap: 0;
  }

  /* 検索・言語ボタン共通 */
  .site-header__sp-search,
  .site-header__sp-lang {
    width: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: none;
    border-left: 1px solid var(--color-border-gray-01);
    background: transparent;
    cursor: pointer;
    padding: 0;
    font-size: 11px;
    font-family: var(--font-heading);
    color: var(--color-font-black-01);
    line-height: 1;
  }

  .site-header__sp-search:hover,
  .site-header__sp-lang:hover {
    opacity: 0.7;
  }

  .site-header__sp-btn-icon {
    width: 20px;
    height: 20px;
  }

  /* メニューボタン: 60×60px 緑丸 */
  .site-header__sp-menu {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: var(--color-bg-keycolor-02);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 4px 10px;
    cursor: pointer;
    font-size: 11px;
    font-family: var(--font-heading);
    color: var(--color-font-white-01);
    border: none;
    line-height: 1;
  }

  .site-header__sp-menu:hover {
    background-color: var(--color-bg-keycolor-dark-02);
  }

  /* ハンバーガーアイコン: 3本線 */
  .site-header__sp-hamburger {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: flex-start;
  }

  .site-header__sp-hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background-color: var(--color-bg-white);
  }

  /* ---- 検索パネル モバイル ---- */
  .header-search {
    padding-top: 114px; /* モバイルヘッダー高さ */
  }

  .header-search__inner {
    padding: 0 var(--container-medium);
    max-width: 100%;
    margin: 0;
    align-items: flex-start;
  }

  .header-search__ttl {
    text-align: left;
    padding-bottom: 13px;
  }

  .header-search__ttl-text {
    font-size: var(--fontsize-text-large);
    letter-spacing: 1px;
  }

  .header-search__close {
    font-size: var(--fontsize-text-small);
  }

  .site-footer__bottom {
    flex-direction: column;
  }

  .site-footer__navs {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  /* ---- フッター PR スライダー（モバイル） ---- */
  .site-footer__pr {
    padding: var(--margin-block-01) var(--container-medium) var(--margin-block-02);
  }

  .site-footer__pr-slider {
    width: 100%;
  }

  .site-footer__pr-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
    flex: 1;
    justify-content: flex-start;
  }

  .site-footer__pr-track::-webkit-scrollbar {
    display: none;
  }

  .site-footer__pr-banner {
    scroll-snap-align: center;
    flex-shrink: 0;
  }

  .site-footer__pr-arrow {
    display: inline-flex;
  }

  .site-footer__pr-dots {
    display: flex;
  }

  /* ---- フッターナビ アコーディオン（モバイル） ---- */
  .site-footer__nav {
    width: 100%;
    gap: 0;
  }

  .site-footer__nav-menu {
    gap: 0;
  }

  /* PC用のdirect linkもモバイルでリスト行として表示 */
  .site-footer__nav-link--direct {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 15px 15px 0;
    border-bottom: 1px solid var(--color-border-gray-01);
    font-size: var(--fontsize-text-medium);
    width: 100%;
    box-sizing: border-box;
  }

  .site-footer__nav-link--direct::after {
    content: '';
    display: block;
    width: 5px;
    height: 8px;
    border-top: 2px solid var(--color-font-black-01);
    border-right: 2px solid var(--color-font-black-01);
    border-radius: 1px;
    transform: rotate(45deg);
    flex-shrink: 0;
  }

  /* アコーディオントリガー */
  .site-footer__nav-link--toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 15px 15px 0;
    border-bottom: 1px solid var(--color-border-gray-01);
    font-size: var(--fontsize-text-medium);
    width: 100%;
    box-sizing: border-box;
  }

  /* +/− アイコン */
  .site-footer__nav-plus-icon {
    display: block;
    position: relative;
    width: 10px;
    height: 10px;
    flex-shrink: 0;
  }

  /* 横線（常に表示 = マイナス） */
  .site-footer__nav-plus-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px;
    height: 2px;
    background-color: var(--color-bg-keycolor-dark-02);
    border-radius: var(--radius-rounded);
    transform: translateY(-50%);
  }

  /* 縦線（閉じているときのみ表示 = プラス） */
  .site-footer__nav-plus-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 10px;
    background-color: var(--color-bg-keycolor-dark-02);
    border-radius: var(--radius-rounded);
    transform: translateX(-50%);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  /* 開いている状態（縦線を消してマイナスにする） */
  .site-footer__nav-link--toggle[aria-expanded="true"] .site-footer__nav-plus-icon::after {
    opacity: 0;
    transform: translateX(-50%) rotate(90deg);
  }

  /* アコーディオン内容 */
  .site-footer__nav-sub {
    display: none;
    flex-direction: column;
    gap: 0;
    padding-left: 0;
  }

  .site-footer__nav-sub.is-open {
    display: flex;
  }

  .site-footer__nav-sub-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid var(--color-border-gray-01);
    font-size: var(--fontsize-text-small);
    box-sizing: border-box;
  }

  .site-footer__nav-sub-link::after {
    content: '';
    display: block;
    width: 5px;
    height: 8px;
    border-top: 2px solid var(--color-font-black-01);
    border-right: 2px solid var(--color-font-black-01);
    border-radius: 1px;
    transform: rotate(45deg);
    flex-shrink: 0;
  }
}

/* ============================================================
   SP メニューオーバーレイ
   ============================================================ */
.sp-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  overflow-y: auto;
}

/* 背景 */
.sp-menu-overlay__bg {
  position: absolute;
  inset: 0;
  background-color: var(--color-bg-green-01);
  pointer-events: none;
}

.sp-menu-overlay__texture {
  position: absolute;
  inset: 0;
  background-size: 1024px 1024px;
  background-position: top left;
  mix-blend-mode: overlay;
  opacity: 0.15;
}

/* ロゴ（白背景なし） */
.sp-menu-overlay__logo {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 1;
}

.sp-menu-overlay__logo-link {
  display: block;
  width: 88px;
  height: 77px;
  overflow: hidden;
  text-decoration: none;
}

.sp-menu-overlay__logo-images {
  position: relative;
  width: 150px;
  height: 134px;
  transform: scale(0.587);
  transform-origin: top left;
}

/* 閉じるボタン */
.sp-menu-overlay__close {
  position: absolute;
  right: 16px;
  top: 15px;
  width: 60px;
  height: 60px;
  background-color: var(--color-bg-keycolor-02);
  border-radius: 10px;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  font-size: 11px;
  font-family: var(--font-heading);
  color: var(--color-font-white-01);
  line-height: 1;
  z-index: 2;
}

.sp-menu-overlay__close:hover {
  background-color: var(--color-bg-keycolor-dark-02);
}

.sp-menu-overlay__close-icon {
  position: relative;
  width: 18px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-menu-overlay__close-bar {
  position: absolute;
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--color-bg-white);
  border-radius: 1px;
}

.sp-menu-overlay__close-bar--1 {
  transform: rotate(30deg);
}

.sp-menu-overlay__close-bar--2 {
  transform: rotate(-30deg);
}

/* コンテンツエリア */
.sp-menu-overlay__content {
  position: relative;
  padding: 113px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1;
}

/* ナビ全体 */
.sp-menu-overlay__nav {
  width: 100%;
}

/* アコーディオングループ */
.sp-menu-nav__group {
  width: 100%;
}

/* アコーディオン親ボタン */
.sp-menu-nav__parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 15px 15px 0;
  border: none;
  border-bottom: 1px solid var(--color-border-gray-01);
  background: transparent;
  cursor: pointer;
  font-size: var(--fontsize-text-normal);
  font-family: var(--font-heading);
  color: var(--color-font-black-01);
  text-align: left;
  line-height: 1.4;
}

.sp-menu-nav__parent:hover {
  opacity: 0.7;
}

/* +/- トグルアイコン（CSSで描画） */
.sp-menu-nav__toggle-icon {
  flex-shrink: 0;
  position: relative;
  width: 10px;
  height: 10px;
}

/* 横バー（常に表示） */
.sp-menu-nav__toggle-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 2px;
  background-color: var(--color-bg-keycolor-dark-02);
  border-radius: 9999px;
  transform: translateY(-50%);
}

/* 縦バー（collapsed時のみ表示） */
.sp-menu-nav__toggle-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 10px;
  background-color: var(--color-bg-keycolor-dark-02);
  border-radius: 9999px;
  transform: translateX(-50%);
  transition: opacity 0.2s;
}

/* expanded時は縦バーを非表示 */
.sp-menu-nav__parent[aria-expanded="true"] .sp-menu-nav__toggle-icon::after {
  opacity: 0;
}

/* シングルリンク（サブなし親） */
.sp-menu-nav__single {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 15px 15px 0;
  border-bottom: 1px solid var(--color-border-gray-01);
  text-decoration: none;
  font-size: var(--fontsize-text-normal);
  font-family: var(--font-heading);
  color: var(--color-font-black-01);
  line-height: 1.4;
}

.sp-menu-nav__single:hover {
  opacity: 0.7;
}

/* サブアイテムコンテナ */
.sp-menu-nav__children {
  /* hidden属性でJS制御 */
}

/* サブアイテムリンク */
.sp-menu-nav__child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  border-bottom: 1px solid var(--color-border-gray-01);
  text-decoration: none;
  font-size: 13px;
  font-family: var(--font-heading);
  color: var(--color-font-black-01);
  line-height: 1.4;
}

.sp-menu-nav__child:hover {
  opacity: 0.7;
}

/* 矢印アイコン */
.sp-menu-nav__arrow {
  width: 5.176px;
  height: 8px;
  flex-shrink: 0;
}

/* SNS */
.sp-menu-overlay__sns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.sp-menu-overlay__sns-link {
  display: block;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.sp-menu-overlay__sns-link--instagram {
  position: relative;
}

.sp-menu-overlay__sns-bg {
  display: block;
  width: 40px;
  height: 40px;
}

.sp-menu-overlay__sns-icon {
  position: absolute;
  top: 11px;
  left: 11px;
  width: 18px;
  height: 18px;
}
