/*
Theme Name: ito-hikari
Theme URI: https://example.com/
Author: CLICKTAP
Description: 光命覚醒セッション／医占師光命リーダー 伊藤隆太朗様 オリジナルテーマ。承認済みファーストビュー（docs/design/fv-approved.jpg）のトーン＆マナーに統一。
Version: 0.4.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: ito-hikari
*/

/* ==========================================================================
   デザイントークン
   基準: 伊藤様承認済みのファーストビュー（2026-09-27）
   霞がかった白地 × 深緑のヘッダー × 立体感のある金文字 × 麻の葉と金の霞
   ========================================================================== */
:root {
  /* 色 */
  --color-green: #23322F;        /* ヘッダーと同じ深緑 */
  --color-green-2: #2E423B;
  --color-ink: #2A2925;          /* 墨 */
  --color-ink-soft: #4E4A42;
  --color-paper: #FAF8F3;        /* 霞がかった白 */
  --color-paper-2: #F3EFE6;
  --color-cream: #FFFDF8;
  --color-nav: #E6DECA;          /* ヘッダー上の文字 */
  --color-gold: #B8903F;
  --color-gold-light: #E9CF8A;
  --color-gold-pale: #EADFC4;
  --color-gold-dark: #7F5E24;    /* 小さな金文字用 */
  --color-error: #A3342B;

  --gradient-gold-text: linear-gradient(180deg, #E4C682 0%, #C29A46 32%, #8C6320 60%, #C9A155 80%, #7A561C 100%);
  --gradient-gold-line: linear-gradient(90deg, #E9CF8A 0%, #B8903F 50%, #E9CF8A 100%);
  --gradient-gold-fill: linear-gradient(135deg, #F4E2AC 0%, #CFA652 35%, #F1DC9E 55%, #A9802F 100%);
  --gold-emboss: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.9)) drop-shadow(0 2px 2px rgba(96, 66, 18, 0.35));

  --line: rgba(42, 41, 37, 0.12);
  --line-strong: rgba(42, 41, 37, 0.26);
  --line-gold: rgba(184, 144, 63, 0.45);
  --line-light: rgba(230, 222, 202, 0.22);

  /* 互換用（既存テンプレート・CF7向け） */
  --color-text: var(--color-ink);
  --color-text-muted: var(--color-ink-soft);
  --color-heading: var(--color-ink);
  --color-provisional: #8A6624;
  --color-provisional-bg: #F6EBD2;
  --color-note-bg: #F1EBDD;

  /* 書体（assets/css/fonts.css でセルフホスト。外部通信なし） */
  --font-serif: "Shippori Mincho", "Yu Mincho", "YuMincho", "游明朝", "Hiragino Mincho ProN", serif;
  --font-en: "Cormorant Garamond", "Shippori Mincho", "Yu Mincho", serif;
  --font-sans: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --lh-base: 2.05;
  --lh-heading: 1.6;

  /* 余白 */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5.5rem;
  --space-xxl: 8rem;

  /* レイアウト（承認デザインのヘッダーは約960px幅の中央寄せ） */
  --width-header: 960px;
  --width-content: 780px;
  --width-wide: 1080px;
  --width-narrow: 660px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-height: 64px;

  --ease: cubic-bezier(0.2, 0.65, 0.25, 1);

  /* 素材 */
  --texture-washi: url("assets/images/texture-washi.png");
  --img-asanoha: url("assets/images/asanoha.svg");
  --img-kasumi: url("assets/images/kasumi.svg");
  --img-pine: url("assets/images/pine.webp");
  --img-hero: url("assets/images/hero.webp");
}

/* ==========================================================================
   リセット・基本
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--color-paper);
  background-image: var(--texture-washi);
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  letter-spacing: 0.06em;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(184, 144, 63, 0.25);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease);
}

a:hover {
  color: var(--color-gold);
}

:focus-visible {
  outline: 1px solid var(--color-gold);
  outline-offset: 4px;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: var(--lh-heading);
  letter-spacing: 0.12em;
  font-feature-settings: "palt";
  word-break: auto-phrase;
  text-wrap: balance;
  margin: 0 0 var(--space-sm);
}

h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
h3 { font-size: 1.2rem; }

p {
  margin: 0 0 1.2em;
  word-break: auto-phrase;
  text-wrap: pretty;
}

ul, ol {
  margin: 0 0 1.2em;
  padding-left: 1.3em;
}

li::marker {
  color: var(--color-gold);
}

strong {
  font-weight: 600;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 var(--space-md);
  background-color: var(--color-cream);
  border: 1px solid var(--color-gold-pale);
}

table th,
table td {
  border-bottom: 1px solid var(--color-gold-pale);
  padding: 1.05em 1.2em;
  text-align: left;
  vertical-align: top;
  line-height: 1.95;
}

table th {
  width: 30%;
  background-color: #F7F0E0;
  color: var(--color-ink);
  font-weight: 600;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

@media (max-width: 599px) {
  table th,
  table td {
    display: block;
    width: 100%;
    padding: 0.7em 1em;
  }
  table th {
    border-bottom: 0;
    white-space: normal;
  }
  table thead {
    display: none;
  }
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
}

/* 金の立体文字（承認デザインのキャッチと同じ質感） */
.gold-text,
.section__heading,
.session__heading,
.news-top__heading,
.story-excerpt__heading,
.intro__heading,
.cta-band__heading,
.pair__heading,
.page-header h1 {
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: var(--gold-emboss);
}

.section--dark .story-excerpt__heading,
.section--dark .gold-text {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

/* ==========================================================================
   レイアウト共通
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--width-content);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container--wide {
  max-width: calc(var(--width-wide) + var(--gutter) * 2);
}

.container--narrow {
  max-width: calc(var(--width-narrow) + var(--gutter) * 2);
}

.section {
  position: relative;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.section--alt {
  background-color: var(--color-paper-2);
  background-image: var(--texture-washi);
}

.section--dark {
  background-color: var(--color-green);
  background-image: var(--texture-washi);
  color: var(--color-nav);
  overflow: hidden;
}

.section--dark h2,
.section--dark h3 {
  color: var(--color-cream);
}

/* 英字の小見出し（ナビと同じ語のみ使用）：承認デザインのナビと同じ字面 */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9em;
  margin: 0 0 1rem;
  font-family: var(--font-en);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gradient-gold-line);
}

.section--dark .eyebrow {
  color: var(--color-gold-light);
}

/* 下層ページの見出し：金文字＋下に金の霞 */
.section__heading {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto var(--space-lg);
  padding: 0 0 1.1rem;
  text-align: center;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  letter-spacing: 0.16em;
}

.section__heading::after {
  content: "";
  display: block;
  width: 120px;
  height: 14px;
  margin: 0.9rem auto 0;
  background: var(--img-kasumi) no-repeat center / contain;
}

.section__lead {
  text-align: center;
  color: var(--color-ink-soft);
  margin-bottom: var(--space-lg);
}

/* 装飾：麻の葉（角にぼかして置く）・金の霞 */
.asanoha {
  position: absolute;
  display: block;
  width: 420px;
  height: 320px;
  background: var(--img-asanoha) no-repeat left top / 420px 320px;
  -webkit-mask-image: radial-gradient(ellipse at 0% 0%, #000 0%, rgba(0, 0, 0, 0.6) 28%, transparent 68%);
  mask-image: radial-gradient(ellipse at 0% 0%, #000 0%, rgba(0, 0, 0, 0.6) 28%, transparent 68%);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.kasumi {
  position: absolute;
  display: block;
  width: 300px;
  height: 100px;
  background: var(--img-kasumi) no-repeat center / contain;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   ボタン（承認デザインの金のピル型ボタンに準拠）
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  padding: 1em 2.2em 1em 2.6em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(180deg, #FFFEFA 0%, #F6EEDB 100%) padding-box,
    var(--gradient-gold-fill) border-box;
  color: #6A4C1C;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.5;
  cursor: pointer;
  box-shadow:
    0 8px 22px -12px rgba(122, 90, 34, 0.55),
    inset 0 0 0 2px rgba(255, 255, 255, 0.75);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s var(--ease);
}

.btn .icon {
  width: 1.1em;
  height: 1.1em;
  stroke-width: 1.6;
  color: var(--color-gold);
  transition: transform 0.35s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  color: #4F3812;
  transform: translateY(-2px);
  box-shadow:
    0 14px 28px -14px rgba(122, 90, 34, 0.7),
    inset 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.btn:hover .icon,
.btn:focus-visible .icon {
  transform: translateX(3px);
}

.btn--primary,
.btn--gold {
  padding: 1.1em 2.4em 1.1em 2.9em;
  font-size: 1rem;
}

.btn--light {
  background:
    linear-gradient(180deg, #2A3B36, #23322F) padding-box,
    var(--gradient-gold-fill) border-box;
  color: var(--color-gold-light);
  box-shadow: none;
}

.btn--light .icon {
  color: var(--color-gold-light);
}

.btn--light:hover,
.btn--light:focus-visible {
  background:
    linear-gradient(180deg, #FFFEFA 0%, #F6EEDB 100%) padding-box,
    var(--gradient-gold-fill) border-box;
  color: #6A4C1C;
}

.btn--small {
  padding: 0.7em 1.6em 0.7em 2em;
  font-size: 0.85rem;
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

/* 文字＋伸びる金の罫線のリンク */
.link-line,
.btn--text {
  display: inline-flex;
  align-items: center;
  gap: 1em;
  padding: 0.5em 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: var(--color-ink);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.link-line::after,
.btn--text::after {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--gradient-gold-line);
  transition: width 0.5s var(--ease);
}

.link-line:hover,
.btn--text:hover {
  color: var(--color-gold);
  transform: none;
  box-shadow: none;
}

.link-line:hover::after,
.btn--text:hover::after {
  width: 76px;
}

/* ==========================================================================
   ヘッダー（承認デザインどおり：深緑・金の筆文字ロゴ・英字ナビ・ご予約）
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-green);
  color: var(--color-nav);
  transition: box-shadow 0.4s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.7);
}

.admin-bar .site-header {
  top: 32px;
}

.site-header__inner {
  position: relative;
  max-width: calc(var(--width-header) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-branding {
  margin: 0 auto 0 0;
  line-height: 1;
}

.site-branding a {
  display: block;
}

.site-branding__logo {
  width: auto;
  height: clamp(34px, 3.5vw, 48px);
}

.site-nav {
  display: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.4rem;
  align-items: center;
}

.site-nav a {
  position: relative;
  display: inline-block;
  padding: 0.3em 0;
  color: var(--color-nav);
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.12);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.1em;
  height: 1px;
  background: var(--gradient-gold-line);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}

.site-nav a:hover {
  color: var(--color-gold-light);
}

.site-nav a:hover::after,
.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after {
  transform: scaleX(0.7);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(230, 222, 202, 0.85);
  border-radius: 999px;
  color: var(--color-nav);
  padding: 0.45em 2.2em;
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  white-space: nowrap;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: var(--color-gold-light);
  background-color: rgba(233, 207, 138, 0.12);
  color: var(--color-gold-light);
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  margin-right: -8px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  order: 3;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 1px;
  background-color: var(--color-nav);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(30deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-30deg); }
.menu-toggle span:nth-child(3) { display: none; }

.site-nav.is-open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100svh - var(--header-height));
  background-color: var(--color-green);
  background-image: var(--img-asanoha);
  background-repeat: no-repeat;
  background-position: right -80px bottom -60px;
  border-top: 1px solid var(--line-light);
  padding: var(--space-lg) var(--gutter);
}

.site-nav.is-open ul {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.site-nav.is-open a {
  font-size: 1.6rem;
}

@media (min-width: 1000px) {
  .site-nav {
    display: block;
  }
  .menu-toggle {
    display: none;
  }
}

@media (max-width: 480px) {
  .site-header__inner {
    gap: 0.9rem;
  }
  .header-cta {
    padding: 0.4em 1.1em;
    letter-spacing: 0.14em;
  }
}

/* ==========================================================================
   フッター
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  background-color: var(--color-green);
  color: rgba(230, 222, 202, 0.82);
  padding: var(--space-xl) 0 var(--space-md);
}

.site-footer .asanoha--footer {
  top: 0;
  left: 0;
  opacity: 0.28;
}

.site-footer a {
  color: rgba(230, 222, 202, 0.82);
}

.site-footer a:hover {
  color: var(--color-gold-light);
}

.site-footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0 0 var(--space-md);
}

.site-footer__brand img {
  height: 44px;
  width: auto;
}

.site-footer__name {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--color-nav);
}

.footer-tagline {
  order: -1;
  justify-self: center;
  margin: 0;
  writing-mode: vertical-rl;
  max-inline-size: 21em;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 2.3;
  letter-spacing: 0.3em;
  word-break: keep-all;
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-nav ul,
.footer-sub-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-sm);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.8rem;
}

.footer-nav a {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-sub-nav {
  padding-top: var(--space-sm);
  border-top: 1px solid var(--line-light);
}

.footer-sub-nav ul {
  font-size: var(--fs-xs);
  gap: 0.3rem 1.6rem;
}

.footer-copyright {
  margin: var(--space-md) 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  opacity: 0.65;
}

@media (min-width: 800px) {
  .site-footer__grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
  .footer-tagline {
    order: 0;
    justify-self: end;
  }
}

/* ==========================================================================
   画像の差し替え枠
   ========================================================================== */
.image-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background-color: var(--color-paper-2);
  border: 1px solid var(--color-gold-pale);
  color: var(--color-ink-soft);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
}

.image-placeholder--square {
  aspect-ratio: 1 / 1;
}

.image-slot {
  width: 100%;
}

/* ==========================================================================
   【仮】表示・注記
   ========================================================================== */
.provisional {
  color: var(--color-provisional);
  background-color: var(--color-provisional-bg);
  padding: 0.05em 0.4em;
  font-size: 0.85em;
  letter-spacing: 0.04em;
  white-space: nowrap;
  -webkit-text-fill-color: var(--color-provisional);
}

.story-note {
  display: block;
  margin: 0.4em 0 1.4em;
  padding: 0.7em 1em;
  background-color: var(--color-note-bg);
  border-left: 2px solid var(--color-provisional);
  color: var(--color-ink-soft);
  font-size: 0.78rem;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
  line-height: 1.7;
}

.disclaimer-box {
  margin-top: var(--space-lg);
  border: 1px solid var(--color-gold-pale);
  background-color: rgba(255, 253, 248, 0.8);
  padding: 1.4rem 1.6rem;
  font-size: var(--fs-sm);
  line-height: 1.95;
  color: var(--color-ink-soft);
}

.disclaimer-box ul {
  margin-bottom: 0;
}

.disclaimer-box__heading {
  font-size: 1rem;
  letter-spacing: 0.16em;
  margin-bottom: 0.8rem;
}

/* ==========================================================================
   TOP: ファーストビュー（承認デザイン docs/design/fv-approved.jpg に準拠）
   PC: 背景全面＋左に金のキャッチとボタン（約960px幅の中央寄せ枠に揃える）
   スマホ: 龍の絵を上、キャッチとボタンをその下に
   ========================================================================== */
.hero {
  --catch-w: min(88vw, 420px);
  position: relative;
  overflow: hidden;
  background-color: var(--color-paper);
}

.hero__visual {
  position: relative;
  height: min(56svh, 118vw);
  overflow: hidden;
}

.hero__visual .image-slot,
.hero__visual .image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 40%;
  aspect-ratio: auto;
  border: 0;
  animation: hero-settle 2.4s var(--ease) both;
}

.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--color-paper) 0%, rgba(250, 248, 243, 0.7) 12%, rgba(250, 248, 243, 0) 34%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: -3.2rem auto 0;
  padding: 0 var(--gutter) var(--space-lg);
}

.hero__catch {
  width: var(--catch-w);
  margin: 0;
  line-height: 0;
  animation: fade-in 1.4s 0.3s var(--ease) both;
}

.hero__catch img {
  width: 100%;
  height: auto;
}

/* 副題（承認デザインでは画像内の文字。名前の変更に対応するため文字で再現） */
.hero__sub {
  margin: calc(var(--catch-w) * 0.022) 0 0;
  font-family: var(--font-serif);
  font-size: calc(var(--catch-w) * 0.0323);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.03em;
  color: #1E1E1C;
  -webkit-text-stroke: 0.4px #1E1E1C;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.9), 0 0 2px rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  animation: fade-in 1.2s 0.6s var(--ease) both;
}

.hero__cta {
  display: block;
  width: calc(var(--catch-w) * 0.62);
  margin-top: calc(var(--catch-w) * 0.02);
  transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
  animation: fade-in 1.2s 0.9s var(--ease) both;
}

.hero__cta img {
  width: 100%;
  height: auto;
}

.hero__cta:hover,
.hero__cta:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.04) drop-shadow(0 8px 14px rgba(122, 90, 34, 0.25));
}

@media (min-width: 900px) {
  .hero {
    --catch-w: clamp(380px, 30.5vw, 605px);
    display: flex;
    align-items: center;
    min-height: max(480px, 29.6vw);
  }

  .hero__visual {
    position: absolute;
    inset: 0;
    height: auto;
  }

  .hero__visual .image-slot {
    object-position: 50% 35%;
  }

  .hero__visual::after {
    display: none;
  }

  .hero__inner {
    align-items: flex-start;
    width: 100%;
    max-width: calc(var(--width-header) + var(--gutter) * 2);
    margin: 0 auto;
    /* 承認デザインとの実測比較（1980px幅）で上下位置を合わせた値。キャッチ幅に比例させる */
    padding-top: calc(var(--catch-w) * 0.025);
    padding-bottom: calc(var(--catch-w) * 0.115);
  }

  /* キャッチ画像（2026-10-07差し替え）は文字の左に金の曲線と余白があるため、その分だけ左へずらして文字の左端を副題・ボタンに揃える */
  .hero__catch {
    margin-left: calc(var(--catch-w) * -0.115);
  }

  .hero__sub {
    margin-left: 0;
  }

  .hero__cta {
    width: calc(var(--catch-w) * 0.549);
    margin-top: calc(var(--catch-w) * 0.02);
  }
}

@keyframes hero-settle {
  from { transform: scale(1.04); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   日輪（金の細い円＋淡い光）：絵の中の太陽と呼応
   ========================================================================== */
.sun {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  background: radial-gradient(circle, rgba(240, 214, 150, 0.35) 0%, rgba(240, 214, 150, 0.1) 45%, rgba(240, 214, 150, 0) 68%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.sun--glow {
  width: min(26rem, 88vw);
  height: min(26rem, 88vw);
  border-color: rgba(233, 207, 138, 0.35);
  background: radial-gradient(circle, rgba(236, 204, 128, 0.26) 0%, rgba(236, 204, 128, 0.07) 42%, rgba(236, 204, 128, 0) 68%);
}

/* ==========================================================================
   TOP: ご紹介（松と霞を添えて、承認デザインの左側の景色と呼応）
   ========================================================================== */
.intro {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xxl);
  overflow: hidden;
}

.intro::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(46vw, 560px);
  aspect-ratio: 640 / 382;
  background: var(--img-pine) no-repeat left bottom / contain;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 0% 100%, #000 40%, transparent 75%);
  mask-image: radial-gradient(ellipse 100% 100% at 0% 100%, #000 40%, transparent 75%);
  opacity: 0.85;
  pointer-events: none;
}

.intro::after {
  content: "";
  position: absolute;
  top: 3rem;
  right: -30px;
  width: 300px;
  height: 100px;
  background: var(--img-kasumi) no-repeat center / contain;
  transform: scaleX(-1);
  opacity: 0.9;
  pointer-events: none;
}

.intro__grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.intro__title {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 3rem 2rem;
}

.intro__heading {
  position: relative;
  z-index: 1;
  margin: 0;
  writing-mode: vertical-rl;
  max-inline-size: 10.6em;
  font-size: clamp(1.55rem, 5.6vw, 2.1rem);
  line-height: 1.9;
  letter-spacing: 0.2em;
  font-feature-settings: normal;
  text-wrap: wrap;
}

.intro__media {
  margin: 0;
  width: min(100%, 320px);
}

.intro__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.intro__body {
  max-width: 30em;
}

.intro__text {
  color: var(--color-ink-soft);
  font-size: 1.02rem;
  line-height: 2.3;
  margin-bottom: var(--space-md);
}

@media (min-width: 800px) {
  .intro__grid {
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
  }

  .intro__title {
    padding: 4rem 3rem;
  }

  .intro__title .sun {
    width: 19rem;
    height: 19rem;
  }
}

/* ==========================================================================
   TOP: 光命覚醒セッション（4つの流れ）
   ========================================================================== */
.session {
  background-color: var(--color-paper-2);
  background-image: var(--texture-washi);
  overflow: hidden;
}

.session::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 420px;
  height: 320px;
  background: var(--img-asanoha) no-repeat right top / 420px 320px;
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, rgba(0, 0, 0, 0.5) 30%, transparent 68%);
  mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, rgba(0, 0, 0, 0.5) 30%, transparent 68%);
  opacity: 0.5;
  pointer-events: none;
}

.session__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.session__heading {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  letter-spacing: 0.14em;
  margin-bottom: var(--space-md);
}

.session__lead {
  color: var(--color-ink-soft);
  line-height: 2.2;
  margin-bottom: var(--space-md);
}

.flow-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line-gold);
}

.flow-list__item {
  display: grid;
  grid-template-columns: 3.2rem 4rem 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line-gold);
}

.flow-list__num {
  font-family: var(--font-en);
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1;
  background: var(--gradient-gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 金の輪の中の線画アイコン */
.flow-list__icon {
  --icon-bg: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  border: 1.5px solid transparent;
  background:
    radial-gradient(circle, #FFFEFA 0%, #F6EEDB 100%) padding-box,
    var(--gradient-gold-fill) border-box;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.8), 0 6px 14px -8px rgba(122, 90, 34, 0.5);
  color: var(--color-gold);
}

.flow-list__icon .icon {
  width: 1.8rem;
  height: 1.8rem;
  stroke-width: 1.2;
}

.flow-list__text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 1.4rem;
}

.flow-list__label {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.flow-list__desc {
  color: var(--color-ink-soft);
  font-size: 0.92rem;
  letter-spacing: 0.1em;
}

@media (min-width: 960px) {
  .session__grid {
    grid-template-columns: 5fr 7fr;
    gap: clamp(3rem, 7vw, 6rem);
    align-items: start;
  }

  .session__head {
    position: sticky;
    top: calc(var(--header-height) + 3rem);
  }

  .flow-list__item {
    grid-template-columns: 4.2rem 4.6rem 1fr;
    padding: 1.9rem 0;
  }

  .flow-list__num {
    font-size: 2.6rem;
  }
}

/* ==========================================================================
   TOP: STORY抜粋（深緑の帯・日輪・縦組み）
   ========================================================================== */
.story-excerpt {
  padding-top: var(--space-xxl);
  padding-bottom: var(--space-xxl);
}

.story-excerpt::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 420px;
  height: 320px;
  background: var(--img-asanoha) no-repeat left bottom / 420px 320px;
  -webkit-mask-image: radial-gradient(ellipse at 0% 100%, #000 0%, rgba(0, 0, 0, 0.5) 30%, transparent 68%);
  mask-image: radial-gradient(ellipse at 0% 100%, #000 0%, rgba(0, 0, 0, 0.5) 30%, transparent 68%);
  opacity: 0.35;
  pointer-events: none;
}

.story-excerpt__grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.story-excerpt__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2.5rem;
}

.story-excerpt__body {
  position: relative;
  z-index: 1;
  writing-mode: vertical-rl;
  max-inline-size: 16em;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 2.35;
  letter-spacing: 0.2em;
  color: var(--color-cream);
}

.story-excerpt__body p {
  margin: 0;
  margin-block-end: 1.2em;
  text-wrap: wrap;
}

.story-excerpt__heading {
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  letter-spacing: 0.16em;
  margin-bottom: var(--space-md);
}

@media (min-width: 800px) {
  .story-excerpt__grid {
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    gap: clamp(4rem, 10vw, 9rem);
  }
}

@media (max-width: 799px) {
  .story-excerpt__visual {
    padding: 3rem 0.5rem;
  }

  .story-excerpt__body {
    max-inline-size: 21em;
    letter-spacing: 0.14em;
    line-height: 2.2;
  }
}

/* ==========================================================================
   TOP: お知らせ
   ========================================================================== */
.news-top {
  padding-top: var(--space-xxl);
  padding-bottom: var(--space-xxl);
}

.news-top__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.news-top__heading {
  width: fit-content;
  margin-bottom: var(--space-sm);
}

.news-top__note {
  color: var(--color-ink-soft);
  font-size: var(--fs-sm);
}

@media (min-width: 900px) {
  .news-top__grid {
    grid-template-columns: 4fr 8fr;
    gap: clamp(3rem, 7vw, 6.5rem);
  }
}

/* ==========================================================================
   NEWS 共通
   ========================================================================== */
.news-list {
  list-style: none;
  margin: 0 0 var(--space-lg);
  padding: 0;
  border-top: 1px solid var(--line-gold);
}

.news-list__item a {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem;
  padding: 1.4rem 0.2rem;
  border-bottom: 1px solid var(--line-gold);
  color: var(--color-ink);
}

.news-list__item a:hover .news-list__title {
  color: var(--color-gold);
  transform: translateX(4px);
}

.news-list__date {
  font-family: var(--font-en);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-gold-dark);
  line-height: 1.6;
}

.news-list__title {
  display: block;
  letter-spacing: 0.08em;
  transition: color 0.3s var(--ease), transform 0.4s var(--ease);
}

@media (min-width: 600px) {
  .news-list__item a {
    grid-template-columns: 7.5rem 1fr;
    align-items: baseline;
  }
}

.news-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--line-gold);
  font-size: var(--fs-sm);
}

.single-news__header {
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--line-gold);
}

.single-news__header h1 {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.single-news__meta {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-gold-dark);
  margin-bottom: 0;
}

.single-news__content {
  margin-bottom: var(--space-xl);
  line-height: 2.2;
}

/* ==========================================================================
   ご予約CTA（霞がかった風景の帯）
   ========================================================================== */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: var(--space-xxl) 0;
  background-color: var(--color-paper);
  isolation: isolate;
}

/* 背景は拡大せず原寸（1980px幅）のまま、山並みのあたりを帯の中央に置く（粗さを出さないため） */
.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1980px;
  margin-left: -760px;
  z-index: -2;
  background: var(--img-hero) no-repeat left bottom / 1980px auto;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(250, 248, 243, 0.85) 0%, rgba(250, 248, 243, 0) 35%),
    linear-gradient(90deg, rgba(250, 248, 243, 0.94) 0%, rgba(250, 248, 243, 0.72) 45%, rgba(250, 248, 243, 0.55) 72%, rgba(250, 248, 243, 0.9) 100%);
}

.cta-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  align-items: center;
}

.kasumi--cta {
  top: -2.5rem;
  left: -1rem;
  width: 260px;
  height: 86px;
}

.cta-band__heading {
  width: fit-content;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  letter-spacing: 0.16em;
  margin-bottom: 1.2rem;
}

.cta-band__text {
  color: var(--color-ink-soft);
  line-height: 2.2;
}

.cta-band__text p:last-child {
  margin-bottom: 0;
}

.cta-band__note {
  margin: 1rem 0 0;
  font-size: var(--fs-sm);
  color: var(--color-ink-soft);
}

@media (min-width: 900px) {
  .cta-band__inner {
    grid-template-columns: 1fr auto;
    gap: clamp(2rem, 5vw, 4.5rem);
  }
}

/* ==========================================================================
   下層ページのタイトル（承認デザインの景色を帯状に）
   ========================================================================== */
.page-header {
  overflow: hidden;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
  background-color: var(--color-paper);
  isolation: isolate;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 420px;
  height: 320px;
  z-index: -1;
  background: var(--img-asanoha) no-repeat left top / 420px 320px;
  -webkit-mask-image: radial-gradient(ellipse at 0% 0%, #000 0%, rgba(0, 0, 0, 0.5) 28%, transparent 66%);
  mask-image: radial-gradient(ellipse at 0% 0%, #000 0%, rgba(0, 0, 0, 0.5) 28%, transparent 66%);
  opacity: 0.55;
  pointer-events: none;
}

.page-header .container {
  max-width: calc(var(--width-wide) + var(--gutter) * 2);
  text-align: left;
}

.page-header .container > * {
  position: relative;
  z-index: 1;
  max-width: 38em;
}

.page-header h1 {
  width: fit-content;
  max-width: none;
  margin-bottom: var(--space-md);
  font-family: var(--font-en);
  font-size: clamp(3rem, 8vw, 5.4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-header__sub {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1.6;
  text-transform: none;
  -webkit-text-fill-color: var(--color-ink);
}

.page-header__catch {
  white-space: pre-line;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 2.1;
  color: var(--color-ink);
}

.page-header p:not(.page-header__catch) {
  color: var(--color-ink-soft);
}

@media (min-width: 900px) {
  .page-header {
    min-height: 440px;
    display: flex;
    align-items: center;
  }

  .page-header::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    z-index: -1;
    /* 原寸のまま右下（山並み）を表示し、拡大による粗さを出さない */
    background: var(--img-hero) no-repeat right -980px bottom / 1980px auto;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 50%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 50%);
    opacity: 0.9;
  }
}

/* ==========================================================================
   ABOUT / SERVICE のカード
   ========================================================================== */
.about__media {
  max-width: 300px;
  margin: 0 auto var(--space-lg);
}

.about__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.power-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.power-list__item {
  position: relative;
  padding: 2rem 1.8rem 1.6rem;
  background-color: var(--color-cream);
  border: 1px solid var(--color-gold-pale);
  box-shadow: 0 18px 40px -30px rgba(122, 90, 34, 0.45);
}

.power-list__item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 1.8rem;
  right: 1.8rem;
  height: 2px;
  background: var(--gradient-gold-line);
}

.power-list__item h3 {
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}

.power-list__item p {
  color: var(--color-ink-soft);
  line-height: 2.1;
}

.power-list__item .disclaimer-box {
  margin: 1rem 0 0;
  padding: 0.8em 1em;
  font-size: var(--fs-xs);
}

@media (min-width: 760px) {
  .power-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .power-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .power-list--two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
  }
}

.power-list--two + .disclaimer-box {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

/* 2カラムの対 */
.pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.pair__item {
  padding-top: var(--space-md);
  border-top: 1px solid var(--line-gold);
}

.pair__heading {
  width: fit-content;
  font-size: clamp(1.3rem, 2.2vw, 1.55rem);
  letter-spacing: 0.16em;
  margin-bottom: var(--space-sm);
}

.pair__item p {
  color: var(--color-ink-soft);
}

.pair__item .btn {
  margin-top: var(--space-sm);
}

@media (min-width: 800px) {
  .pair {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 7vw, 6rem);
  }
}

/* ==========================================================================
   STORYページ：目次・章番号・読了バー
   ========================================================================== */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 2px;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gradient-gold-line);
  transform-origin: left center;
  transform: scaleX(var(--progress, 0));
}

.admin-bar .reading-progress {
  top: 32px;
}

.story__grid {
  display: grid;
  grid-template-columns: 1fr;
}

.story__toc {
  display: none;
}

.story-body {
  max-width: 36em;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 2.35;
  letter-spacing: 0.08em;
}

.story-body h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line-gold);
  font-size: clamp(1.25rem, 2.6vw, 1.5rem);
  letter-spacing: 0.18em;
}

.story-body h2::first-letter {
  font-size: 1.8em;
  font-weight: 600;
  color: var(--color-gold);
  margin-right: 0.2em;
}

.story-body p {
  margin-bottom: 1.5em;
}

.story-body > p:first-child,
.story-lead {
  font-size: 1.12rem;
  line-height: 2.3;
  color: var(--color-ink);
  margin-bottom: var(--space-xl);
}

@media (min-width: 1000px) {
  .story__grid {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }

  .story-body {
    margin: 0;
  }

  .story__toc {
    display: block;
    position: sticky;
    top: calc(var(--header-height) + 3rem);
  }

  .story__toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 1px solid var(--line-gold);
  }

  .story__toc a {
    display: block;
    margin-left: -1px;
    padding: 0.55rem 0 0.55rem 1.2rem;
    border-left: 2px solid transparent;
    color: var(--color-ink-soft);
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    line-height: 1.7;
    word-break: auto-phrase;
    text-wrap: pretty;
    transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
  }

  .story__toc a:hover,
  .story__toc a.is-active {
    color: var(--color-ink);
    border-left-color: var(--color-gold);
  }
}

.entry-content {
  line-height: 2.1;
}

.entry-content h2 {
  margin-top: var(--space-lg);
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-gold);
  font-size: var(--fs-lg);
}

/* ==========================================================================
   フォーム
   ========================================================================== */
.form-flow {
  list-style: none;
  counter-reset: form-flow;
  padding: 0;
  margin: 0 0 var(--space-lg);
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line-gold);
}

.form-flow li {
  counter-increment: form-flow;
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-gold);
  font-size: var(--fs-sm);
  line-height: 1.8;
}

.form-flow li::before {
  content: counter(form-flow, decimal-leading-zero);
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  color: var(--color-gold-dark);
}

@media (min-width: 760px) {
  .form-flow {
    grid-template-columns: repeat(4, 1fr);
    border-top: 0;
  }
  .form-flow li {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding: 1.2rem 1.2rem 1.2rem 0;
    border-top: 1px solid var(--line-gold);
    border-bottom: 0;
  }
}

.wpcf7 form {
  margin-top: var(--space-md);
  padding: var(--space-lg) var(--gutter);
  background-color: var(--color-cream);
  border: 1px solid var(--color-gold-pale);
  box-shadow: 0 24px 50px -38px rgba(122, 90, 34, 0.5);
}

@media (min-width: 760px) {
  .wpcf7 form {
    padding: var(--space-lg) var(--space-xl);
  }
}

.wpcf7-form-control-wrap {
  display: block;
  margin-top: 0.6rem;
}

.form-row {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-gold-pale);
}

.form-row label {
  display: block;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-ink);
}

.form-required,
.form-optional {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1;
  padding: 0.4em 0.7em;
  margin-left: 0.8em;
  border-radius: 999px;
  vertical-align: 0.2em;
}

.form-required {
  color: #FFFDF8;
  background: linear-gradient(135deg, #C29A46 0%, #8C6320 100%);
}

.form-optional {
  color: var(--color-ink-soft);
  border: 1px solid var(--line-strong);
}

.form-hint {
  display: block;
  color: var(--color-ink-soft);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  line-height: 1.8;
  margin-top: 0.3em;
}

.wpcf7-form-control:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not(.wpcf7-radio):not(.wpcf7-checkbox):not(.wpcf7-acceptance) {
  width: 100%;
  padding: 0.85em 1em;
  border: 1px solid #DCCCA6;
  border-radius: 4px;
  background-color: #FFFFFF;
  color: var(--color-ink);
  line-height: 1.6;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.wpcf7-form-control:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(184, 144, 63, 0.18);
}

.wpcf7-date,
.wpcf7-select {
  max-width: 260px;
}

textarea.wpcf7-form-control {
  min-height: 9em;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--color-gold);
  width: 1.05em;
  height: 1.05em;
  margin-right: 0.55em;
  vertical-align: -0.12em;
}

.wpcf7-list-item {
  margin: 0 var(--space-sm) 0.4em 0;
  display: inline-block;
}

.wpcf7-radio .wpcf7-list-item,
.wpcf7-checkbox .wpcf7-list-item {
  display: block;
  margin-bottom: 0.5em;
}

.wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.wpcf7-acceptance a {
  color: var(--color-gold-dark);
  border-bottom: 1px solid var(--line-gold);
}

/* 送信ボタン：金のピル型 */
.wpcf7-submit {
  display: block;
  margin: var(--space-md) auto 0;
  min-width: 300px;
  padding: 1.15em 3em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(180deg, #FFFEFA 0%, #F6EEDB 100%) padding-box,
    var(--gradient-gold-fill) border-box;
  color: #6A4C1C;
  font-weight: 600;
  letter-spacing: 0.2em;
  cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(122, 90, 34, 0.6), inset 0 0 0 2px rgba(255, 255, 255, 0.75);
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease);
}

.wpcf7-submit:hover {
  transform: translateY(-2px);
}

.wpcf7-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  border-color: var(--color-error);
  color: var(--color-error);
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--color-gold);
  color: var(--color-ink);
  background-color: #FBF5E6;
}

.wpcf7-not-valid-tip {
  color: var(--color-error);
  font-size: var(--fs-xs);
  display: block;
  margin-top: 0.4em;
}

.wpcf7-response-output {
  border: 1px solid var(--color-gold-pale);
  padding: var(--space-sm);
  margin: var(--space-md) 0 0;
  font-size: var(--fs-sm);
  line-height: 1.9;
}

.wpcf7-spinner {
  display: block;
  margin: 0.6em auto 0;
}

/* ==========================================================================
   404
   ========================================================================== */
.error-404 {
  text-align: center;
  padding: var(--space-xxl) 0;
}

.error-404 h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

/* ==========================================================================
   スクロール表示の演出（JS有効時のみ）
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .flow-list__item.reveal:nth-child(2) { transition-delay: 0.1s; }
.js .flow-list__item.reveal:nth-child(3) { transition-delay: 0.2s; }
.js .flow-list__item.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ==========================================================================
   ユーティリティ
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-green);
  color: var(--color-nav);
  padding: 0.8em 1.2em;
  z-index: 1000;
}

.skip-link:focus {
  left: var(--gutter);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   アニメーション（リッチさを感じさせる、ゆっくり・控えめな動き）
   すべて transform / opacity のみで描画負荷を抑え、prefers-reduced-motion では停止する
   ========================================================================== */

/* --- ファーストビュー：背景がごくゆっくり呼吸する＋スクロールで奥行き --- */
.hero__visual .image-slot {
  animation:
    hero-settle 2.4s var(--ease) both,
    hero-breathe 26s 2.4s ease-in-out infinite alternate;
  translate: 0 var(--hero-parallax, 0px);
  will-change: transform;
}

@keyframes hero-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.045) translate(-0.6%, -0.4%); }
}

/* --- 霞がゆっくり流れる --- */
.hero__mist {
  position: absolute;
  left: -20%;
  width: 140%;
  height: 38%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 30% 55% at 20% 55%, rgba(255, 255, 255, 0.75), transparent 70%),
    radial-gradient(ellipse 26% 45% at 55% 60%, rgba(255, 255, 255, 0.6), transparent 70%),
    radial-gradient(ellipse 30% 50% at 85% 50%, rgba(255, 255, 255, 0.7), transparent 70%);
  filter: blur(8px);
  opacity: 0.55;
}

.hero__mist--a {
  bottom: 4%;
  animation: mist-flow 38s linear infinite alternate;
}

.hero__mist--b {
  bottom: 22%;
  height: 26%;
  opacity: 0.35;
  animation: mist-flow 52s linear infinite alternate-reverse;
}

@keyframes mist-flow {
  from { transform: translateX(-6%); }
  to { transform: translateX(6%); }
}

/* --- 金粉（canvasで描画） --- */
.hero__dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* --- キャッチとボタンに光が走る（画像の形で切り抜いた光の帯） --- */
.hero__catch,
.hero__cta {
  position: relative;
}

.hero__catch::after,
.hero__cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 248, 225, 0.95) 50%, transparent 62%) no-repeat;
  background-size: 260% 100%;
  background-position: 160% 0;
  mix-blend-mode: screen;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.hero__catch::after {
  -webkit-mask-image: url("assets/images/hero-catch.webp");
  mask-image: url("assets/images/hero-catch.webp");
  animation: sheen 7.5s 2.2s ease-in-out infinite;
}

.hero__cta::after {
  -webkit-mask-image: url("assets/images/btn-reserve.png");
  mask-image: url("assets/images/btn-reserve.png");
  animation: sheen 7.5s 3.1s ease-in-out infinite;
}

@keyframes sheen {
  0% { background-position: 160% 0; }
  28%, 100% { background-position: -60% 0; }
}

/* --- ボタン：ホバーで光が横切る --- */
.btn {
  overflow: hidden;
  isolation: isolate;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.85) 50%, transparent 65%) no-repeat;
  background-size: 250% 100%;
  background-position: 150% 0;
  transition: background-position 0.9s var(--ease);
  pointer-events: none;
}

.btn:hover::after,
.btn:focus-visible::after {
  background-position: -50% 0;
}

.btn--light::after {
  background-image: linear-gradient(105deg, transparent 35%, rgba(233, 207, 138, 0.35) 50%, transparent 65%);
}

/* --- 金の見出し：表示されたときに一度だけ光が走り、下の霞が引かれる --- */
.gold-heading {
  background-image:
    linear-gradient(105deg, transparent 40%, rgba(255, 252, 238, 0.9) 50%, transparent 60%),
    var(--gradient-gold-text);
  background-size: 260% 100%, 100% 100%;
  background-position: 170% 0, 0 0;
  background-repeat: no-repeat;
}

.gold-heading.is-shining {
  animation: text-sheen 2.2s 0.25s ease-out both;
}

@keyframes text-sheen {
  from { background-position: 170% 0, 0 0; }
  to { background-position: -70% 0, 0 0; }
}

.js .section__heading::after {
  transform: scaleX(0);
  transition: transform 1.4s 0.3s var(--ease);
}

.js .section__heading.is-shining::after {
  transform: scaleX(1);
}

/* 小見出しの金線が伸びる */
.js .reveal .eyebrow::before {
  width: 0;
  transition: width 1.2s 0.2s var(--ease);
}

.js .reveal.is-visible .eyebrow::before {
  width: 36px;
}

/* --- 日輪がゆっくり呼吸する --- */
.sun {
  animation: sun-breathe 9s ease-in-out infinite;
}

@keyframes sun-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.85; }
  50% { transform: translate(-50%, -50%) scale(1.045); opacity: 1; }
}

/* --- 金の霞・麻の葉がかすかに揺らぐ --- */
.kasumi,
.intro::after {
  animation: kasumi-drift 14s ease-in-out infinite alternate;
}

.intro::after {
  animation-name: kasumi-drift-flip;
}

@keyframes kasumi-drift {
  from { transform: translateX(-10px); }
  to { transform: translateX(12px); }
}

@keyframes kasumi-drift-flip {
  from { transform: scaleX(-1) translateX(-10px); }
  to { transform: scaleX(-1) translateX(12px); }
}

.asanoha,
.session::before,
.story-excerpt::before,
.page-header::before {
  animation: asanoha-glint 11s ease-in-out infinite;
}

@keyframes asanoha-glint {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.25); }
}

/* --- 4つの流れ：アイコンの金の輪がそっと動く --- */
.flow-list__icon {
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.flow-list__item:hover .flow-list__icon {
  transform: rotate(-10deg) scale(1.06);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.8), 0 10px 22px -10px rgba(122, 90, 34, 0.6);
}

.js .flow-list__item.reveal .flow-list__icon {
  transform: scale(0.7) rotate(-30deg);
  opacity: 0;
  transition: transform 1s 0.25s var(--ease), opacity 1s 0.25s var(--ease), box-shadow 0.6s var(--ease);
}

.js .flow-list__item.reveal.is-visible .flow-list__icon {
  transform: none;
  opacity: 1;
}

/* --- 縦組みの本文：1列ずつ滲み出るように --- */
.js .story-excerpt__visual.reveal .story-excerpt__body p {
  opacity: 0;
  filter: blur(6px);
  transition: opacity 1.6s var(--ease), filter 1.6s var(--ease);
}

.js .story-excerpt__visual.reveal.is-visible .story-excerpt__body p {
  opacity: 1;
  filter: none;
}

.js .story-excerpt__visual.reveal.is-visible .story-excerpt__body p:nth-child(2) {
  transition-delay: 0.6s;
}

/* --- お知らせ：行の下に金の線が伸びる --- */
.news-list__item a {
  position: relative;
}

.news-list__item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--gradient-gold-line);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s var(--ease);
}

.news-list__item a:hover::after {
  transform: scaleX(1);
}

/* --- ページ全体：読み込み時に静かにフェードイン --- */
.js body {
  animation: page-in 0.9s var(--ease) both;
}

@keyframes page-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__dust,
  .hero__mist {
    display: none;
  }
  .hero__catch::after,
  .hero__cta::after,
  .btn::after {
    display: none;
  }
  .js .section__heading::after,
  .js .flow-list__item.reveal .flow-list__icon,
  .js .story-excerpt__visual.reveal .story-excerpt__body p {
    transform: none;
    opacity: 1;
    filter: none;
  }
}

/* ==========================================================================
   ABOUT：セッションをするに至った経緯（深緑の帯）
   ========================================================================== */
.origin {
  padding-top: var(--space-xxl);
  padding-bottom: var(--space-xxl);
}

.origin::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 420px;
  height: 320px;
  background: var(--img-asanoha) no-repeat right top / 420px 320px;
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, rgba(0, 0, 0, 0.5) 30%, transparent 68%);
  mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, rgba(0, 0, 0, 0.5) 30%, transparent 68%);
  opacity: 0.35;
  pointer-events: none;
}

.origin__inner {
  position: relative;
  text-align: center;
}

.origin__inner .sun {
  top: 4.5rem;
}

.origin__heading {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 0 auto var(--space-lg);
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  letter-spacing: 0.14em;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

.origin__body {
  position: relative;
  z-index: 1;
  text-align: left;
  color: var(--color-cream);
  font-size: 1.02rem;
  line-height: 2.3;
  letter-spacing: 0.08em;
}

.origin__body p:last-child {
  margin-bottom: 0;
}

/* --- ABOUT: 自己紹介と写真（写真の縁を楕円にぼかし、和紙の背景に溶け込ませる） --- */
.about-intro__grid {
  display: grid;
  gap: var(--space-md, 2rem);
  justify-items: center;
}

.about-intro__photo {
  position: relative;
  width: min(78vw, 360px);
  margin: 0;
}

/* 写真の後ろに淡い金の光 */
.about-intro__photo::before {
  content: "";
  position: absolute;
  inset: 4% 0 8%;
  background: radial-gradient(closest-side, rgba(214, 178, 106, 0.32), rgba(214, 178, 106, 0) 100%);
  filter: blur(6px);
  z-index: 0;
}

.about-intro__photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 45%, #000 24%, rgba(0, 0, 0, 0.85) 38%, rgba(0, 0, 0, 0.55) 54%, rgba(0, 0, 0, 0.25) 70%, rgba(0, 0, 0, 0.07) 85%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 45%, #000 24%, rgba(0, 0, 0, 0.85) 38%, rgba(0, 0, 0, 0.55) 54%, rgba(0, 0, 0, 0.25) 70%, rgba(0, 0, 0, 0.07) 85%, transparent 100%);
}

.about-intro__text {
  max-width: var(--width-narrow);
}

.about-intro__text p:last-child {
  margin-bottom: 0;
}

@media (min-width: 800px) {
  .about-intro--photo .container {
    max-width: calc(var(--width-wide) - 80px + var(--gutter) * 2);
  }

  .about-intro__grid {
    grid-template-columns: minmax(280px, 400px) 1fr;
    align-items: center;
    justify-items: stretch;
    gap: clamp(2rem, 5vw, 4.5rem);
  }

  .about-intro__photo {
    width: 100%;
  }
}
