@charset "UTF-8";
/* ============================== reset.css ============================== */
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

fieldset,
img {
    border: 0;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
    font-style: normal;
    font-weight: normal;
}

ol,
ul {
    list-style: none;
}

caption,
th {
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal;
}

q:before,
q:after {
    content: "";
}

abbr,
acronym {
    border: 0;
    font-variant: normal;
}

sup {
    vertical-align: text-top;
}

sub {
    vertical-align: text-bottom;
}

input,
textarea,
select,
button {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    font-size: 100%;
    border-radius: 0;
    border: none;
    appearance: none;
    -webkit-appearance: none;
    background-color: inherit;
}

input,
textarea,
select {
    font-size: inherit;
}

textarea {
    resize: vertical;
    display: block;
}

button {
    padding: 0;
    cursor: pointer;
}

legend {
    color: inherit;
}

tbody {
    -webkit-text-size-adjust: 100%;
}

main {
    display: block;
}

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

img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

svg {
    display: block;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

/* ============================== base.css ============================== */

html {
  font-size: 62.5%; /* 1rem = 10px 計算用 */
  scroll-behavior: smooth;
}

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

/* 基本文字設定（全ページ共通） */
body {
  line-height: var(--lh-body);
  font-size: var(--fs-base);
  color: var(--color-gray-100);
  font-family: var(--font-gothic);
  background: var(--color-bg-primary);
  letter-spacing: 0.02em;
}

/* 見出し要素は明朝体で統一
   bodyがゴシック(--font-gothic)になったため、h1〜h5に明示指定 */
h1, h2, h3, h4, h5 {
  font-family: var(--font-mincho);
}

figure {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:root {
  /* =========================================
   Font Family Tokens
   ─────────────────────────────────────────
   --font-gothic  : 長文本文・UI要素（デフォルト）
   --font-mincho  : 見出し・タイトル・MV・ナビ・CTA
   --font-en      : 英数字装飾（Crimson Text）
   ========================================= */
  --font-gothic: "Noto Sans JP", sans-serif;
  --font-mincho: "Shippori Mincho", serif;
  --font-en:     "Crimson Text", serif;

  /* =========================================
   hover & animation
   ========================================= */
  --hover-speed: 0.3s;
  --hover-timing: ease;

  /* =========================================
   Color Tokens
   ========================================= */
  --color-white: #fff;
  --color-text: #333333;

  --color-bg-primary: #1d2e44;
  --color-bg-secondary: #f8f8f8;
  --color-bg-card: #11171f;
  --rgb-bg-primary: 29, 46, 68;
  --rgb-color-accent: 167, 131, 53;
  --rgb-color-accent-light: 229, 193, 115;

  --color-accent: #a78335;
  --color-accent-light: #e5c173;
  --color-warning: #c30000;

  --color-gray-100: #f8f8f8;
  --color-gray-200: #bababa;
  --color-gray-300: #a3a3a3;
  --color-gray-400: #727272;
  --color-gray-500: #333333;


  /* =========================================
     Em Ratio Tokens（親要素相対サイズ）
     ─────────────────────────────────────────
     矢印記号・装飾文字・注釈など
     親要素の font-size に対する比率で指定
     ========================================= */
  --fs-em-xs:  0.4em;   /* 上付き・極小装飾 */
  --fs-em-sm:  0.85em;  /* 注釈・サブテキスト（親の85%） */
  --fs-em-lg:  1.4em;   /* 装飾的記号 SP */
  --fs-em-xl:  1.6em;   /* 装飾的矢印記号 */
  --fs-em-2xl: 1.8em;   /* 矢印・記号 PC */

  /* =========================================
     MV Specific Scale（MV専用スケール）
     ─────────────────────────────────────────
     キービジュアル内テキスト。vwベースで
     ビューポート全幅に対してスケーリング
     ========================================= */
  --fs-mv-sep:   clamp(3.0rem, 3.40vw, 4.0rem);              /* MV区切り文字（/） */
  --fs-mv-time:  clamp(4.0rem, 4.40vw, 7.0rem);              /* MV時間表示 */
  --fs-mv-sub:   clamp(1.8rem, 2.8vw,  2.5rem);              /* MV時間サブテキスト */
  --fs-mv-place: clamp(1.8rem, 2.1vw,  2.5rem);              /* MV会場テキスト */

  /* =========================================
     Page Specific Scale（ページ固有スケール）
     ========================================= */
  --fs-sp-display:  clamp(4.0rem, 8vw, 5.6rem);              /* SP固有大見出し */
  --fs-sp-body-lg:  clamp(1.6rem, 3vw, 2.0rem);              /* SP固有本文大 */
  --fs-intro-title: clamp(2.1rem, 1.05rem + 3.4vw, 3.3rem);  /* イントロタイトル */

  /* =========================================
     Font Size Tokens
     ─────────────────────────────────────────
     全サイズをclamp()でレスポンシブ対応
     基準ビューポート: SP 375px / PC 1440px
     1rem = 10px（html { font-size: 62.5% }）

     計算式:
       slope  = (maxPx − minPx) / (1440 − 375)
       vw%    = slope × 100
       offset = minPx − slope × 375  (px → ÷10 → rem)
       → clamp(min_rem, vw% + offset_rem, max_rem)
     ========================================= */

  /* ── スケールトークン（数値ベース） ── */

  /* 12px 固定 */
  --fs-2xs:  1.2rem;

  /* 12px → 14px  | 0.19vw + 1.13rem */
  --fs-xs:   clamp(1.2rem, 0.19vw + 1.13rem, 1.4rem);

  /* 14px → 16px  | 0.19vw + 1.33rem */
  --fs-sm:   clamp(1.4rem, 0.19vw + 1.33rem, 1.6rem);

  /* 16px → 18px  | 0.19vw + 1.53rem */
  --fs-base: clamp(1.4rem, 0.19vw + 1.53rem, 1.8rem);

  /* 18px → 20px  | 0.19vw + 1.73rem */
  --fs-md:   clamp(1.8rem, 0.19vw + 1.73rem, 2.0rem);

  /* 20px → 24px  | 0.38vw + 1.86rem */
  --fs-lg:   clamp(2.0rem, 0.38vw + 1.86rem, 2.4rem);

  /* 22px → 28px  | 0.56vw + 1.99rem */
  --fs-xl:   clamp(2.2rem, 0.56vw + 1.99rem, 2.8rem);

  /* 24px → 36px  | 1.13vw + 1.98rem */
  --fs-2xl:  clamp(2.4rem, 1.13vw + 1.98rem, 3.6rem);

  /* 32px → 48px  | 1.50vw + 2.64rem */
  --fs-3xl:  clamp(3.2rem, 1.50vw + 2.64rem, 4.8rem);

  /* 40px → 60px  | 1.88vw + 3.30rem */
  --fs-4xl:  clamp(4.0rem, 1.88vw + 3.30rem, 6.0rem);

  /* 54px → 75px  | 1.97vw + 4.66rem */
  --fs-5xl:  clamp(5.4rem, 1.97vw + 4.66rem, 7.5rem);

  /* ── セマンティックエイリアス（役割ベース） ── */
  /* スケールトークンへのエイリアス。役割で参照するためのもの。 */

  --fs-caption:    var(--fs-2xs);   /* 著作権・極小注釈 */
  --fs-label:      var(--fs-xs);    /* タグ・バッジ */
  --fs-small:      var(--fs-sm);    /* 補足テキスト・注釈 */
  --fs-body:       var(--fs-base);  /* 本文・ラベル・小ボタン */
  --fs-body-lg:    var(--fs-md);    /* リード・ナビ・コンタクト情報 */
  --fs-subhead:    var(--fs-lg);    /* 小見出し・ボタンテキスト */
  --fs-heading-sm: var(--fs-base);    /* モーダル見出し・BTNテキスト */
  --fs-heading-md: var(--fs-2xl);   /* section__heading */
  --fs-heading-lg: var(--fs-3xl);   /* section__title */
  --fs-display:    var(--fs-4xl);   /* 大見出し・大きな数字 */
  --fs-hero:       var(--fs-5xl);   /* MVヒーローテキスト */

  /* =========================================
     Spacing Tokens
     ========================================= */
  --section-padding: 6.5rem;
  --section-gap: 10rem;
  --container-padding: clamp(2rem, 9.39vw - 1.52rem, 12rem);
  --container-width: 120rem;

  /* =========================================
     Line-height Tokens
     ========================================= */
  --lh-tight: 1.2;
  --lh-snug:  1.4;
  --lh-md:    1.5;
  --lh-base:  1.6;
  --lh-body:  1.8;
  --lh-loose: 2;

  /* =========================================
     Letter-spacing Tokens
     ========================================= */
  --ls-sm: 0.05em;
  --ls-md: 0.1em;
  --ls-lg: 0.2em;
  --ls-xl: 0.6em;

  /* =========================================
     UI Spacing Tokens (PC)
     ========================================= */
  --space-xxs:   0.4rem;
  --space-xs:    0.8rem;
  --space-sm:    1.6rem;
  --space-md:    2.4rem;
  --space-md-lg: 3.2rem;
  --space-lg:    4.0rem;
  --space-xl:    6.0rem;
  --space-xxl:   8.0rem;
}


/* ── SP時のUI Spacing上書き ── */
@media screen and (max-width: 768px) {
  :root {
    --space-xxs:   0.4rem;
    --space-xs:    0.8rem;
    --space-sm:    1.2rem;
    --space-md:    1.6rem;
    --space-md-lg: 2.4rem;
    --space-lg:    3.2rem;
    --space-xl:    4.8rem;
    --space-xxl:   6.4rem;
  }
}

/* ===================================================
   スキップナビゲーション（音声ブラウザ・キーボード対応）
   =================================================== */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  padding: 0.75em 1.5em;
  background: #000;
  color: #fff;
  font-size: 1rem; /* アクセシビリティ: 固定値 */
  text-decoration: none;
  transition: top 0.2s;
}
.skip-nav:focus {
  top: 0;
}


/* ========================
  access（top・accessページ共通）
======================== */

.access__info-wrapper {
  margin-inline: auto;
  text-align: left;
  margin-top: var(--space-md);
}

.access__notice-list {
  width: fit-content;
  margin-inline: auto;
  font-size: var(--fs-body); /* 16→18px */
}

.access__heading {
  text-align: center;
}

.access__address {
  margin-bottom: var(--space-xs);
  text-align: center;
  font-family: var(--font-mincho);
  font-size: var(--fs-subhead); /* 20→24px */
  font-weight: 600;
}

.access__address-note {
  font-size: var(--fs-body-lg); /* 18→20px */
}

.access__map-link {
  font-size: var(--fs-body); /* 16→18px */
  color: var(--color-gray-500);
  text-align: center;
  width: fit-content;
  margin-inline: auto;
  display: block !important;
  margin-bottom: var(--space-lg);
}

.access__map {
  display: block;
  width: min(800px, 100%);
  height: auto;
  margin-inline: auto;
}

.access__venue-note-list {
  /* 981px〜PCでは 730px、それ以下では 100% から左右の余白を引いた値になる */
  width: min(730px, 100%);
  margin-inline: auto;
}

.access__venue-map-list {
  display: flex;
  justify-content: space-between;
  gap: var(--space-lg);
  align-items: flex-start;
  list-style: none;
  margin-top: var(--space-lg);
}

.access__venue-map-item {
  flex: 0 1 584px; /* 最大584px。交通案内のカード幅と揃えた */
}

.access__venue-map-image {
  width: 100%; /* 親のli(570px)いっぱいに広げる */
  height: auto;
  display: block;
  margin-bottom: var(--space-sm);
}

.access__venue-map-caption {
  text-align: center;
  font-size: var(--fs-body); /* 16→18px */
}

/* 外側の枠組み：左右の行の高さを同期させる */
.access__transport-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  position: relative;
}

.access__transport-item {
  display: flex;
  flex-direction: column;
  background-color: var(--color-gray-100);
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
}

.access__transport-title {
  color: var(--color-gray-500);
  font-weight: 600;
  font-size: var(--fs-subhead); /* 20→24px */
}

.access__transport-time {
  font-size: var(--fs-lg);
}

.access__transport-text {
  color: var(--color-gray-500);
}

.access__transport-link {
  display: block;
  width: fit-content;
  margin-inline: auto;
  font-size: var(--fs-body); /* 16→18px */
}

.access__transport-map {
  display: block;
  margin-inline: auto;
  margin-top: var(--space-xs);
  margin-bottom: var(--space-md);
  width: 380px;
  max-width: 100%;
}

@media screen and (max-width: 981px) {
  .access__info-wrapper {
    text-align: center;
  }

  .access__venue-map-list {
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
    margin-top: var(--space-lg);
  }

  .access__venue-map-item {
    flex: none;
    width: 100%;
  }

  .access__transport-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    grid-template-columns: none;
    grid-template-rows: none;
  }

  .access__transport-item {
    display: flex;
    flex-direction: column;
  }
}


/* ========================
  how-to 共通（top・lanternページ共通）
  フローカードのレイアウトはページごとに異なるため各CSSに残す
======================== */

.how-to__lead {
  margin-inline: auto;
  width: fit-content;
  color: var(--color-gray-100);
}

/* ── 参加方法カード ── */
.how-to__method-list {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  align-items: stretch;
  list-style: none;
  margin-top: var(--space-xl);
}

.how-to__method {
  flex: 0 1 570px; /* 最大570px。画面が狭まれば縮む */
  display: flex;
  flex-direction: column;
}

.how-to__method-title {
  font-size: var(--fs-xl); /* 24→36px */
  letter-spacing: var(--ls-md);
  text-align: center;
  background-color: var(--color-bg-card);
  padding-block: var(--space-xs);
  font-weight: 600;
}

.how-to__method-image {
  margin: 0;
}

.how-to__method-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.how-to__method-info {
  background-color: var(--color-gray-100);
  padding: var(--space-lg);
  flex-grow: 1; /* 白い部分が伸びる */
}

.how-to__method-text {
  color: var(--color-text);
}

.how-to__annotation-list {
  margin-top: var(--space-sm);
}

.how-to__method-notice {
  color: var(--color-warning);
  font-size: var(--fs-body); /* 16→18px */
}

/* ── フロー共通要素 ── */
.how-to__flow-notice {
  font-size: var(--fs-body); /* 16→18px */
  color: var(--color-accent-light);
}

.how-to__flow-step {
  color: var(--color-accent);
  font-size: var(--fs-subhead); /* 20→24px */
  position: relative;
  padding-left: 48px;
}

.how-to__flow-step::before {
  content: "";
  display: block;
  position: absolute;
  width: 40px;
  height: 1px;
  background-color: currentColor;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.how-to__flow-title {
  color: var(--color-gray-100);
  font-size: var(--fs-xl); /* 22→28px */
  line-height: var(--lh-md);
  padding-bottom: var(--space-sm);
  font-weight: 600;
}

.how-to__flow-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── レスポンシブ（981px以下） ── */
@media screen and (max-width: 981px) {
  .how-to__method-list {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .how-to__method {
    flex: none;
    margin-inline: auto;
    width: min(580px, 100%);
  }
}

/* ============================== layout.css ============================== */

.container {
  /* 「中身 1200px」 + 「左右余白の最大値合計 240px」 = 1440px を最大幅にする */
  max-width: calc(var(--container-width) + (var(--container-padding) * 2));
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.container--narrow {
  /* 幅の制限 */
  max-width: calc(95.2rem + (var(--container-padding) * 2));
}

.container--wide {
  /* 画面幅に合わせて拡大 */
  max-width: none;
}

section,
footer {
  padding-block:var(--section-padding) ;
}

/* ========================
  下層ページ共通レイアウト
======================== */

/* ヘッダーがfixedで浮いている分、コンテンツを押し下げる */
.underlayer main {
  /* ヘッダーの高さ(約85px) + デザインの余白(120px) = 205px */
  padding-top: 205px;
}

@media screen and (max-width: 768px) {
  .underlayer main {
    padding-top: 180px; /* スマホ用に少し狭める 暫定 */
  }
}

/* ============================== component.css ============================== */

/* ========================
  text utilities
======================== */
.text-sans    { font-family: var(--font-gothic); }
.text-en      { font-family: var(--font-en); }
.text-default { font-family: var(--font-mincho); }

.letter-space-lg { letter-spacing: var(--ls-xl); }
.letter-space-md { letter-spacing: var(--ls-lg); }
.letter-space-xs { letter-spacing: var(--ls-md); }

/* ========================
  utility
======================== */
.u-border-radius {
  border-radius: 0 2.2rem;
  overflow: hidden;
}

.u-bg-radius {
  position: relative;
}
.u-bg-radius::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--radius-bg, var(--color-bg-primary));
  border-radius: 0 2.2rem;
  z-index: 0;
}
.u-bg-radius > * {
  position: relative;
  z-index: 1;
}

.u-mx-auto {
  margin-inline: auto !important;
  display: block;
  width: fit-content;
}

/* ── 注釈 ── */
.u-annotation {
  display: block;
  padding-left: 1em;
  text-indent: -0.8em;
}

.u-annotation-list {
  list-style: none;
  padding: 0;
}
.u-annotation-list li {
  padding-left: 1em;
  text-indent: -0.8em;
}

/* ドット付き注釈リスト */
.u-annotation-list-dot {
  background-color: var(--color-bg-primary);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}
.u-annotation-list-dot li {
  display: flex;
  align-items: flex-start;
  gap: 0.8em;
  line-height: var(--lh-md);
  font-size: var(--fs-sm);    /* 16→18px */
  padding-left: 0;
  text-indent: 0;
  margin-bottom: 1em;
}
.u-annotation-list-dot li::before {
  content: "";
  width: 3px;
  height: 3px;
  background-color: var(--color-gray-100);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5em;
}

/* ステップリスト */
.u-step-list {
  list-style: none;
  counter-reset: step-counter;
  padding-left: 0;
}
.u-step-list li {
  position: relative;
  padding-left: 1.5em;
  line-height: var(--lh-base);
  margin-bottom: 0.8em;
}
.u-step-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: bold;
  font-family: var(--font-en);
  font-size: var(--fs-subhead);    /* 20→24px */
  line-height: var(--lh-tight);
  transform: translateY(0.2em);
}
@media (max-width: 768px) {
  .u-step-list li::before {
    line-height: 1;
  }
}

/* リンク */
.u-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  text-decoration: none;
  color: var(--color-gray-500);
  border-bottom: 0.8px solid var(--color-gray-300);
  padding: 0.1em 0.4em;
  transition:
    background-color var(--hover-speed) var(--hover-timing),
    color var(--hover-speed) var(--hover-timing);
}
.u-link::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background: url("../img/common/icon-link.svg") no-repeat center / contain;
  transition: background var(--hover-speed) var(--hover-timing);
}
.u-link:hover {
  background-color: var(--color-accent-light);
  color: var(--color-text);
}

.u-white-space { white-space: nowrap; }

/* ── 表示/非表示ユーティリティ ── */
.u-show-sp,
.u-show-tab   { display: none; }
.u-show-pc,
.u-show-pc-wide { display: inline; }

@media (max-width: 1024px) {
  .u-show-pc-wide { display: none; }
}
@media (max-width: 981px) {
  .u-show-tab { display: block; }
}
@media (max-width: 768px) {
  .u-show-sp { display: block; }
  .u-show-pc { display: none; }
}

/* ========================
  title / heading
======================== */
.section__title,
.page-title {
  line-height: var(--lh-snug);
  font-family: var(--font-mincho);
  font-size: var(--fs-heading-lg);    /* 32→48px */
  letter-spacing: 0.05em;
  color: var(--color-gray-500);
  margin-inline: auto;
  position: relative;
  text-align: center;
  font-weight: 600;
}

.section__title::after,
.page-title::after {
  content: "";
  display: block;
  width: clamp(40px, 32.96px + 1.88vw, 60px);
  aspect-ratio: 60 / 19;
  background-image: url("../img/common/ornament-section-wave-orange.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-inline: auto;
  margin-top: clamp(10px, 7.46px + 0.67vw, 20px);
}

.section__title--gray,
.page-title--gray {
  color: var(--color-gray-100);
}
.section__title--gray::after,
.page-title--gray::after {
  background-image: url("../img/common/ornament-section-wave-gray.svg");
}

.section__heading {
  line-height: var(--lh-snug);
  font-family: var(--font-mincho);
  font-size: var(--fs-2xl);    /* 24→36px */
  letter-spacing: var(--ls-sm);
  color: var(--color-gray-500);
  border-bottom: 1px solid currentColor;
  padding-bottom: var(--space-md);
  margin:0 0 var(--space-xl) 0;
  font-weight: 600;
}
.section__heading--gray {
  color: var(--color-gray-100);
  border-bottom: 1px solid var(--color-gray-200);
}
.section__heading--top {
  margin-block: var(--space-xxl) var(--space-lg);
}

@media screen and (max-width: 768px) {
  .section__title,
  .page-title {
    letter-spacing: var(--ls-sm);
  }
  .section__heading {
    text-align: center;
  }
}

/* ========================
  button
======================== */

/* ── 矩形ボタン ── */
.btn--rect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: var(--space-sm) ;
  text-decoration: none;
  font-family: var(--font-gothic);
  font-size: var(--fs-sm);          /* 16→18px */
  color: var(--color-text);
  background-color: var(--color-gray-100);
  width: 240px;
  border: solid 1px var(--color-gray-400);
  transition: all var(--hover-speed) var(--hover-timing);
  box-sizing: border-box;
  position: relative;
}
.btn--rect::after {
  position: absolute;
  content: "›";
  font-family: var(--font-gothic);
  font-size: var(--fs-em-2xl);
  font-weight: 100;
  right: 1.8rem;
  top: 50%;
  transform: translateY(-54%);
  transition:
    background-color var(--hover-speed) var(--hover-timing),
    border-color var(--hover-speed) var(--hover-timing),
    color var(--hover-speed) var(--hover-timing);
}
.btn--rect:hover {
  background-color: var(--color-accent-light);
  border-color: var(--color-accent-light);
  color: var(--color-text);
}

.btn-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-lg);
}

.btn-row.btn-row--underlayer{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

@media screen and (max-width: 981px) {
  .btn-row {
   flex-direction: column;
   font-size: var(--fs-body-lg);
   gap: var(--space-md);
  }
  
.btn-row.btn-row--underlayer{
  grid-template-columns: 1fr;
}
}

/* ── プライマリボタン（矢印付き） ── */
.btn--primary {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-md);
  width: fit-content;
  text-decoration: none;
  font-family: var(--font-mincho);
  position: relative;
}

.btn-text {
  font-size: var(--fs-heading-sm);    /* 22→28px */
  color: var(--color-gray-100);
  padding-bottom: 12px;
  width: fit-content;
  line-height: 1.5;
}

@keyframes line-move {
  0%   { transform: scaleX(1); transform-origin: right; }
  45%  { transform: scaleX(0); transform-origin: right; }
  50%  { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

.btn-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 12px;
  width: calc(100% - 35px);
  height: 1px;
  background-color: var(--color-gray-200);
  transition: transform var(--hover-speed) var(--hover-timing);
}
.btn--primary:hover .btn-text::after {
  animation: line-move 0.7s var(--hover-timing) 1;
}

.btn-arrow {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid var(--color-gray-200);
  position: relative;
  background-color: transparent;
  transition:
    background-color var(--hover-speed) var(--hover-timing),
    border-color var(--hover-speed) var(--hover-timing),
    transform var(--hover-speed) var(--hover-timing),
    box-shadow var(--hover-speed) var(--hover-timing);
}
.btn-arrow::before {
  content: "";
  display: block;
  width: 22px;
  height: 10px;
  -webkit-mask-image: url("../img/common/icon-arrow.svg");
  mask-image: url("../img/common/icon-arrow.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  background-color: #e5e5e5;
  transform: scale(1) translateX(0);
  transition:
    transform var(--hover-speed) var(--hover-timing),
    background-color var(--hover-speed) var(--hover-timing);
}
.btn--primary:hover .btn-arrow {
  border: none;
  background: radial-gradient(
    circle,
    rgba(var(--rgb-color-accent), 0.8) 0%,
    rgba(var(--rgb-color-accent), 0.6) 70%,
    rgba(var(--rgb-color-accent), 0) 100%
  );
  box-shadow: 0 0 1px 2px rgba(var(--rgb-color-accent), 0.2);
  transform: scale(0.72);
}
.btn--primary:hover .btn-arrow::before {
  transform: scaleX(0.92) translateX(10px);
}

/* ダークバージョン */
.btn--primary.is-dark {
  --btn-main-color: var(--color-text);
  --btn-sub-color: var(--color-gray-400);
}
.btn--primary.is-dark .btn-text            { color: var(--btn-main-color); }
.btn--primary.is-dark .btn-text::after     { background-color: var(--btn-sub-color); height: 0.6px; }
.btn--primary.is-dark .btn-arrow           { border-color: var(--btn-sub-color); }
.btn--primary.is-dark .btn-arrow::before   { background-color: var(--btn-sub-color); }
.btn--primary.is-dark:hover .btn-arrow::before { background-color: var(--color-gray-100); }
.btn--primary.is-dark:hover .btn-arrow     { border-color: rgba(var(--rgb-color-accent), 0.7); }

@media screen and (max-width: 768px) {
  .btn-text   { font-size: var(--fs-xl); }    /* 22→28px → SP端では約22px */
  .btn-arrow  { width: 55px; height: 55px; }
}

/* ── 下層リンクボタン（背景画像付き） ── */
.btn--underlayer {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1.625 / 1;
  border-radius: 0 1.5rem 0 1.5rem;
  color: var(--color-gray-100);
font-family: var(--font-mincho);
font-size: var(--fs-md);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.btn--underlayer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.66);
  transition: opacity var(--hover-speed) var(--hover-timing);
  z-index: 0;
}
.btn--underlayer:hover::before { opacity: 0.55; }
.btn--underlayer > *           { position: relative; z-index: 1; }
.btn--underlayer span {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  position: relative;
  z-index: 1;
  transition: text-shadow var(--hover-speed) var(--hover-timing);
}
.btn--underlayer:hover span {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}
.btn--underlayer span::after {
  content: "›";
  font-family: var(--font-gothic);
  font-size: var(--fs-em-xl);
  font-weight: 300;
  color: var(--color-gray-100);
  top: 50%;
  transform: translateY(-5%);
}

.btn--index   { background-image: url("../img/common/btn-index.webp"); }
.btn--lantern { background-image: url("../img/common/btn-lantern.webp"); background-position: bottom; }
.btn--faq     { background-image: url("../img/common/btn-faq.webp"); }
.btn--access  { background-image: url("../img/common/btn-access.webp"); }
.btn--history { background-image: url("../img/common/btn-history.webp"); }


/* ── フィクスドボタン（寄付/流灯ボタン） ── */
.fixed-btn {
  position: fixed;
  right: 2%;
  bottom: 40px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 2s cubic-bezier(0.22, 1, 0.36, 1) 0s,
    visibility 2s cubic-bezier(0.22, 1, 0.36, 1) 0s,
    transform 2s cubic-bezier(0.22, 1, 0.36, 1) 0s;
  transform: translateY(20px);
  background: none;
  box-shadow: none;
}
@media screen and (max-width: 768px) {
  .fixed-btn {
    transition:
      opacity var(--hover-speed) var(--hover-timing),
      visibility var(--hover-speed) var(--hover-timing);
  }
}

.fixed-btn__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--color-bg-secondary);
  box-shadow:
    0 0 5px 0 var(--color-bg-secondary),
    0 0 10px var(--color-bg-primary);
  animation: none;
  transition: none;
}
.fixed-btn__inner.is-floating {
  animation: float 3s ease-in-out infinite;
}
.fixed-btn.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.fixed-btn span {
  font-family: var(--font-mincho);
  font-size: var(--fs-body);  
  display: block;
  text-align: center;
  line-height: var(--lh-snug);
  color: var(--color-bg-primary);
  transition: color var(--hover-speed) var(--hover-timing);
  letter-spacing: -0.1em;
}

:lang(en) .fixed-btn span{
  letter-spacing: normal;
}

.fixed-btn span::after {
  content: "››";
  font-family: var(--font-gothic);
  font-size: var(--fs-em-2xl);
  font-weight: 300;
  line-height: 1;
  color: var(--color-bg-primary);
  transition: color var(--hover-speed) var(--hover-timing);
  display: block;
}

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.fixed-btn:hover .fixed-btn__inner {
  background: var(--color-bg-primary);
  transition: background var(--hover-speed) var(--hover-timing) 0s;
}
.fixed-btn:hover span,
.fixed-btn:hover span::after {
  color: var(--color-gray-100);
  transition: color var(--hover-speed) var(--hover-timing) 0s;
}

@media screen and (max-width: 768px) {
  .fixed-btn          { bottom: 10px; }
  .fixed-btn__inner   { width: 100px; height: 100px; }
  .fixed-btn span {
    line-height: var(--lh-snug);
    font-size: var(--fs-sm);         /* 14→16px */
  }
  .fixed-btn span::after {
    font-size: var(--fs-em-lg);
  }
}

/* ========================
  logo
======================== */
.site-logo a,
.footer-logo a,
.nav-logo-sp {
  display: inline-block;
  transition: opacity var(--hover-speed) var(--hover-timing);
}
.site-logo a:hover,
.footer-logo a:hover,
.nav-logo-sp a:hover { opacity: 0.7; }
.site-logo a:active,
.footer-logo a:active,
.nav-logo-sp a:active { transform: scale(0.98); }

/* ========================
  header
======================== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: background-color 0.6s ease;
}
.header__inner {
  padding: var(--space-sm) var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.2rem, 1.6vw, var(--space-lg));
}
.site-logo {
  display: block;
  flex-shrink: 0;
  width: 180px;
  height: auto;
}

.nav__list {
  display: flex;
  justify-content: center;
  gap: clamp(1.2rem, calc(5.88vw - 44.71px), 40px);
  list-style: none;
}
.nav__item {
  font-family: var(--font-mincho);
  font-size: var(--fs-sm);      /* 18→20px（旧: 1.7rem固定） */
}
.nav__link {
  position: relative;
  text-decoration: none;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: #b7b7b7;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--hover-speed) var(--hover-timing);
}
.nav__link:hover::after,
.nav__link.is-current::after { transform: scaleX(1); }

.header__right-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 133px;
  gap: var(--space-xs);
}

.lang-switch {
  background: none;
  cursor: pointer;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 53px;
  height: 53px;
  border: 1px solid var(--color-gray-200);
  border-radius: 50%;
  transition: all var(--hover-speed) var(--hover-timing);
}
.lang-switch:hover {
  background-color: var(--color-gray-100);
  border-color: transparent;
}
.lang-switch:hover .lang-switch__text { color: var(--color-text); }
.lang-switch__text {
  font-family: var(--font-en);
  font-size: var(--fs-body-lg);      /* 18→20px（旧: 1.7rem固定） */
  color: var(--color-gray-100);
  line-height: 1;
  text-decoration: none;
}

/* ── ヘッダー背景 ── */
.header.is-top:not(.is-active) {
  background-color: transparent;
  background-image: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.header:not(.is-top) {
  background-image: linear-gradient(180deg, rgb(8 33 65) 0%, rgb(8 16 25 / 70%) 80%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header.is-top:not(.is-active) .site-logo { display: none; }
.header.is-top {
  transition:
    background-color var(--hover-speed) var(--hover-timing),
    background-image var(--hover-speed) var(--hover-timing),
    backdrop-filter var(--hover-speed) var(--hover-timing);
}
.header.is-top.is-scrolled {
  background-image: linear-gradient(180deg, rgb(8 33 65) 0%, rgb(8 16 25 / 70%) 80%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header.is-top:not(.is-active) .nav { flex: 1; }
.header.is-top:not(.is-active) .header__inner { justify-content: space-between; }
.header.is-top:not(.is-active) .nav__list {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
}
.header.is-top:not(.is-active) .container,
.mv__inner {
  width: 100%;
  max-width: 1680px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.mv__inner { height: 100%; }

.header.is-top.is-active .nav__item:first-child { display: none; }

.header:not(.is-top) .header__right-group,
.header.is-top.is-active .header__right-group {
  flex-direction: row;
  width: auto;
  gap: var(--space-sm);
}

@media screen and (max-width: 1185px) {
  .header.is-top:not(.is-active) .container,
  .mv__inner { max-width: none; }
  .header.is-top:not(.is-active) .nav { margin-right: 0; }
  .header__inner { justify-content: flex-end; }
  .header.is-active .header__inner { justify-content: space-between; }
  .header__right-group { margin-left: auto; }
  .site-logo { width: 180px; height: auto; }
  .header.is-top .nav__item:first-child { display: none; }
  .header.is-top:not(.js-header-active) .nav__item:first-child { display: block; }
  .header.is-top .js-nav-menu.is-active .nav__item:first-child { display: none !important; }
}

@media screen and (max-width: 786px) {
  .lang-switch { width: 42px; height: 42px; }
  /* 英語ページのみ：スマホ時はロゴ幅を縮小（英語ロゴは横長のため） */
  :lang(en) .site-logo { width: 120px; }
}

/* ========================
  hamburger
======================== */
.header__hamburger { display: none; }
.nav-logo-sp       { display: none; }
.js-nav-menu       { display: block; }
.nav-overlay       { display: none; }

@media screen and (max-width: 1185px) {
  .header__hamburger {
    position: relative;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  .hamburger-content-open,
  .hamburger-content-close {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    width: 52px;
    height: 52px;
  }
  .hamburger-icon-open  { width: 42px; height: auto; }
  .hamburger-icon-close { width: 28px; height: auto; }
  .hamburger-text {
    font-size: var(--fs-body);        /* 16→18px（旧: 1.6rem固定） */
    color: var(--color-gray-100);
    line-height: 1;
  }
  .hamburger-content-close                      { display: none; }
  .js-hamburger.is-active .hamburger-content-open  { display: none; }
  .js-hamburger.is-active .hamburger-content-close { display: flex; }

  .js-nav-menu {
    position: fixed;
    top: 0;
    right: -380px;
    width: 90%;
    max-width: 380px;
    height: 100dvh;
    padding-bottom: var(--space-lg);
    background: var(--color-bg-primary);
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.4);
    transition: right var(--hover-speed) var(--hover-timing);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .js-nav-menu.is-active { right: 0; }

  .nav-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(
      to right,
      rgba(var(--rgb-bg-primary), 0.3) 0%,
      rgba(var(--rgb-bg-primary), 0.85) 100%
    );
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity var(--hover-speed) var(--hover-timing),
      visibility var(--hover-speed) var(--hover-timing);
  }
  .nav-overlay.is-active { opacity: 1; visibility: visible; }

  .nav-logo-sp {
    display: block;
    width: 200px;
    margin-bottom: var(--space-xl);
  }
  .nav__list {
    flex-direction: column;
    justify-content: center;
    gap: var(--space-md-lg);
    list-style: none;
    text-align: center;
  }
  .header__right-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    gap: var(--space-sm);
  }
  .nav__item {
     font-size: var(--fs-md);  
  }
}

@media screen and (max-width: 768px) {
  .header__inner { padding-block: var(--space-sm) var(--space-xs); }
  .hamburger-content-open,
  .hamburger-content-close { width: 38px; height: 38px; }
  .hamburger-icon-open  { width: 30px; }
  .hamburger-icon-close { width: 20px; }
  .hamburger-text { font-size: var(--fs-xs); }  /* 12→14px（旧: 1.3rem固定） */
}

@media screen and (max-width: 480px) {
  .js-nav-menu {
    width: 100%;
    max-width: none;
    right: -100%;
  }
}

/* ========================
  footer
======================== */
.footer__heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}
.footer-logo {
  width: clamp(23.5rem, 15.5rem + 21.3vw, 42.8rem);
  height: auto;
}
.footer-logo img { width: 100%; }

.nav__list--footer {
  gap: var(--space-md);
  text-align: left;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  list-style: none;
  padding: var(--space-md);
}

.contact {
  display: grid;
grid-template-columns: 1fr 2fr;
gap: var(--space-lg);
  align-items: center;
  padding: var(--space-md);
  border-top: solid 1px var(--color-gray-400);
  border-bottom: solid 1px var(--color-gray-400);
}
.contact__heading {
  width: 50%;
  font-family: var(--font-mincho);
  font-size: var(--fs-subhead);      /* 20→24px（旧: 2.4rem固定） */
}
.contact__inst {
  font-size: var(--fs-lg);           /* 20→24px（旧: 2rem固定） */
  color: var(--color-gray-100);
  font-family: var(--font-mincho);
}

.contact__list{
display: flex;
column-gap: var(--space-lg);
flex-wrap: wrap;
}
.contact__place,
.contact__data { color: var(--color-gray-100); }
.contact__place,
.contact__notice { font-size: var(--fs-sm); }  /* 16→18px */

.contact__email {
  display: flex;
  justify-content: center;
  width: 30%;
}
.contact__email img {
  width: 100%;
  margin-block: var(--space-xs) var(--space-xxs);
}
.contact__item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
}
.contact__label {
  font-size: var(--fs-body);         /* 16→18px */
  font-family: var(--font-en);
  padding: 0 var(--space-xs);
  background-color: var(--color-gray-200);
  color: var(--color-text);
  line-height: var(--lh-tight);
}

.contact__data{
  font-size: var(--fs-lg);   
  font-family: var(--font-en);
}

.footer-meta__list {
  font-size: var(--fs-sm);         /* 16→18px */
  border-bottom: solid 1px var(--color-gray-400);
  padding: var(--space-md);
}
.footer-meta__item {
  display: block;
  margin-top: var(--space-xs);
}
.footer-meta__item dt { display: inline; }
.footer-meta__item dd { display: inline; margin: 0; }
.footer-meta__list a {
  text-decoration: none;
  border-bottom: 1px solid var(--color-gray-200);
  display: inline;
  transition:
    opacity var(--hover-speed) var(--hover-timing),
    border-color var(--hover-speed) var(--hover-timing);
  color: inherit;
}
.footer-meta__list a:hover { opacity: 0.8; }

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-md);
  margin-top: var(--space-md);
}

.copyright {
  display: block;
  color: var(--color-gray-100); 
  font-size: var(--fs-sm);         /* 16→18px（旧: 1.6rem固定） */
  text-align: right;
}

.footer-legal__link {
  color: var(--color-gray-100);
  font-size: var(--fs-sm);
  text-decoration: none;
  border-bottom: 1px solid var(--color-gray-200);
  transition:
    opacity var(--hover-speed) var(--hover-timing),
    border-color var(--hover-speed) var(--hover-timing);
}

.footer-legal__link:hover { opacity: 0.8; }

@media screen and (max-width: 981px) {
  .footer__heading    { margin-bottom: var(--space-xl); }
  .nav__list--footer  { flex-direction: column; }
  .contact {
    display: block;
    padding-block: var(--space-lg);
    margin-block: var(--space-xl) var(--space-md-lg);
  }
  .contact__heading   { font-size: var(--fs-lg); }      /* 20→24px */
  .contact__info      { padding-block: var(--space-md) var(--space-md-lg); }
  .contact__inst {
    font-size: var(--fs-body-lg);    /* 18→20px */
    margin-top: var(--space-md);
  }
  .contact__place,
  .contact__email     { margin-top: var(--space-xxs);  }
  .contact__email  {max-width:230px; width:auto;}
  .footer-meta__list  { padding-bottom: var(--space-xl); }
  .footer-meta__item  { display: block; padding-block: var(--space-xxs); }
  .footer-legal       { margin-top: var(--space-xl); justify-content: center; }
  .footer-legal__link {
    padding-right: var(--space-md);
    padding-left: var(--space-md);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-gray-400);
    width: 100%;
    margin-bottom: var(--space-md);
  }
  .copyright          { text-align: center; }
}

/* ========================
  modal
======================== */
body.is-modal-open { overflow: hidden; }

.modal {
  border-radius: 6px;
  max-width: 1000px;
  width: 83%;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  max-height: calc(100dvh - 32px);
  overflow: auto;
}
.modal::backdrop {
  background-color: rgba(var(--rgb-bg-primary), 0.85);
}
.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity var(--hover-speed) var(--hover-timing);
}
.modal__close:hover { opacity: 0.7; }

.modal__inner {
  padding-block: var(--space-lg) var(--space-md);
  padding-inline: var(--space-lg);
}
.modal__date {
  font-size: var(--fs-heading-sm);   /* 22→28px（旧: 2.2rem固定） */
}
.modal__title {
  font-size: var(--fs-lg);           /* 20→24px（旧: 2rem固定） */
  border-bottom: solid 1px var(--color-gray-400);
  padding-block: var(--space-xs) var(--space-sm);
}
.modal__body {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  margin-top: var(--space-lg);
}
.modal.has-no-image .modal__body { display: block; }
.modal__content          { flex: 1; }
.modal__image-wrapper    { flex: 0 0 48%; }
.modal__img              { width: 100%; height: auto; object-fit: cover; }
.modal__footer           { margin-top: var(--space-lg); text-align: center; }

.modal__close-text {
  position: relative;
  border: none;
  background: none;
  cursor: pointer;
  padding-bottom: 2px;
  transition: opacity var(--hover-speed) var(--hover-timing);
  font-size: var(--fs-lg);           /* 20→24px（旧: 2rem固定） */
}

.modal__footer .modal__close-text {
  font-size: var(--fs-base);
  background:var(--color-bg-primary);
  border-radius: var(--space-sm);
  color: var(--color-bg-secondary);
  padding:var(--space-xxs) var(--space-md-lg);
}


.modal__close-text:hover { opacity: 0.7; }
.modal__close-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--color-gray-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--hover-speed) var(--hover-timing);
}
.modal__close-text:hover::after { transform: scaleX(1); transform-origin: left; }
.modal__close:focus { outline: none; }

@media (max-width: 768px) {
  .modal__body        { flex-direction: column; }
  .modal__inner       { padding: var(--space-sm); }
  .modal__content     { font-size: var(--fs-body); }  /* 16→18px */
  .modal__image-wrapper { flex: none; width: 100%; }
  .modal__img         { width: 100%; height: auto; object-fit: cover; }
  .modal__close img   { width: 32px; height: 32px; }
}

/* ========================
  text utilities（追加）
======================== */

/* アクセントカラーテキスト（donation.css / history.css から統合） */
.text-highlight { color: var(--color-accent-light); }

/* 太字テキスト（donation.css から統合） */
.text-bold { font-weight: 600; }

/* プレーンリンク（下線のみ、アイコンなし）（history.css .url_underline から統合・リネーム） */
.u-link-plain {
  text-decoration: none;
  border-bottom: 1px solid var(--color-gray-200);
  display: inline;
  transition:
    opacity var(--hover-speed) var(--hover-timing),
    border-color var(--hover-speed) var(--hover-timing);
  color: inherit;
}
.u-link-plain:hover { opacity: 0.8; }

/* ========================
  FAQ コンポーネント（faq.html / lantern.html 共通）
  ネイティブ <details>/<summary> で開閉（JavaScript不要）
======================== */

/* ── 質問（summary）── */
.faq-question {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  list-style: none;                       /* デフォルトの三角マーカーを消す */
  background-color: var(--color-gray-100);   /* 閉：白背景 */
}
.faq-question::-webkit-details-marker { display: none; } /* Safari の三角を消す */

/* Q.ラベル */
.faq-question__label {
  font-size: var(--fs-subhead);
  line-height: var(--lh-tight);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Q本文 */
.faq-question__text {
  font-family: var(--font-mincho);
  font-size: var(--fs-md);
  flex: 1;
  color: var(--color-text);               /* 閉：濃色文字 */
  font-weight: 600;
}

/* 右の丸ボタン（＋／−）を summary の擬似要素で描画 */
.faq-question::after {
  content: "";
  flex-shrink: 0;
  margin-left: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--color-bg-primary);  /* 閉：濃色の丸 */
  background-image:
    linear-gradient(#fff, #fff),   /* 横線 */
    linear-gradient(#fff, #fff);   /* 縦線 */
  background-position: center, center;
  background-size: 14px 1px, 1px 14px;
  background-repeat: no-repeat;
  transition: background-color 0.3s ease, background-size 0.3s ease;
}

/* ── 開いた状態（[open]）：配色を反転し、＋を−へ ── */
.faq-item[open] .faq-question       { background-color: var(--color-bg-primary); }
.faq-item[open] .faq-question__text { color: var(--color-gray-100); }
.faq-item[open] .faq-question::after {
  background-color: var(--color-accent);   /* 開：アクセント色の丸 */
  background-size: 14px 1px, 1px 0;         /* 縦線を消して「−」に */
}

/* ── 境界線 ── */
.faq-item .faq-question             { border-bottom: 1px solid var(--color-gray-200); }
.faq-item:first-child .faq-question { border-top: 1px solid var(--color-gray-200); }
.faq-item:last-child .faq-question  { border-bottom: 1px solid var(--color-gray-200); }

.faq-item[open] .faq-question             { border-bottom: none; }
.faq-item[open]:first-child .faq-question { border-top: none; }
.faq-item[open]:last-child .faq-question  { border-bottom: none; }
.faq-item:has(+ .faq-item[open]) .faq-question { border-bottom: none; }

/* ── 回答 ── */
.faq-answer {
  background-color: var(--color-gray-100);
  padding: var(--space-sm) var(--space-md);
}

/* Aラベル */
.faq-answer__label {
  font-family: var(--font-en);
  font-size: var(--fs-subhead);
  line-height: var(--lh-tight);
  color: var(--color-accent);
  flex-shrink: 0;
}

/* A本文（フォントサイズ・行間はページごとに上書き） */
.faq-answer__text {
  font-family: var(--font-gothic);
  color: var(--color-text);
  margin: 0;
}

.faq-answer__notes { color: var(--color-warning); }
.faq-answer__link  { text-decoration: underline; }
