:root {
  --text: #333;
  --gray: #7b7b7b;
  --line: #b0b0b0;
  --blue: #7d99b5;
  --cream: #f3e5ab;
  --gold: #a8843f;
  /* セクション上下の余白（全セクション共通） */
  --section-py: 100px;
  /* 固定ヘッダーの高さ */
  --header-h: 88px;
  --mincho: "Zen Old Mincho", serif;
  /* 英字用の細身フォント（日本語は明朝に切り替わる） */
  --en: "Cormorant Garamond", var(--mincho);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* ページ内リンクで飛んだとき、固定ヘッダーの高さ分だけ下で止める */
  scroll-padding-top: var(--header-h);
}

body {
  background: #fff;
  color: var(--text);
  font-family: var(--mincho);
  font-size: 16px;
  line-height: 2.5;
  letter-spacing: 0.075em;
  font-weight: 400;
}

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

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

ul {
  list-style: none;
}

h1,
h2,
h3,
hgroup,
.logo,
.button,
nav {
  font-weight: 500;
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 見出し（英字＋日本語） */
hgroup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  line-height: 1.4;
  text-align: center;
}

/* 英字を主役に大きく、日本語は小さく添える */
hgroup p {
  color: var(--gold);
  font-family: var(--en);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

hgroup h2 {
  color: var(--gray);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

/* ボタン */
/* ボタン：フロートの無料相談ボタンと同じ、白地＋ゴールド枠のピル型
   ホバーで背景ゴールド・文字白に反転し、光の筋がキラッと走る */
.button {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  width: min(70%, 640px);
  margin: 20px 0;
  padding: 20px 56px;
  border: 1px solid var(--gold);
  border-radius: 9999px;
  background-color: #fff;
  box-shadow: 0 3px 10px rgba(168, 132, 63, 0.2);
  color: var(--gold);
  font-size: 22px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: center;
  transition: background-color 0.4s, color 0.4s, box-shadow 0.4s;
}

/* 右端の矢印 */
.button::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 28px;
  transform: translateY(-50%);
  transition: right 0.3s;
}

/* キラッと光る筋（ふだんは左の外に隠しておく） */
.button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  z-index: -1;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.65) 50%, transparent 100%);
  transform: skewX(-20deg);
  pointer-events: none;
}

.button:hover {
  background-color: var(--gold);
  box-shadow: 0 4px 14px rgba(168, 132, 63, 0.35);
  color: #fff;
}

.button:hover::before {
  left: 130%;
  transition: left 0.8s ease;
}

.button:hover::after {
  right: 22px;
}

/* 小さめのボタン（works など） */
.button--small {
  width: auto;
  padding: 10px 52px 10px 36px;
  font-family: var(--en);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.button--small::after {
  right: 22px;
}

.button--small:hover::after {
  right: 18px;
}

/* ヘッダー */
header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: var(--header-h);
  padding: 0 56px;
  color: #fff;
  transition: color 0.4s, border-color 0.4s;
}

/* 白透過＋ぼかし背景（スクロール後に表示）
   ※headerに直接backdrop-filterを付けるとスマホメニューの全画面表示が崩れるので疑似要素に付ける */
header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.4s;
}

header.scrolled {
  border-bottom-color: rgba(176, 176, 176, 0.4);
  color: var(--text);
}

header.scrolled::before {
  opacity: 1;
}

header .logo {
  font-size: 24px;
  font-weight: 500;
}

header .logo span {
  font-size: 0.6em;
  font-weight: 400;
}

header nav {
  display: flex;
  gap: 24px;
  font-family: var(--en);
  font-weight: 600;
}

/* ホバーでふわっとゴールドに。
   写真の上（透明なヘッダー）やスマホメニュー（暗い背景）では明るいゴールド、
   スクロール後の白いヘッダーでは濃いゴールド */
header nav a {
  transition: color 0.4s;
}

header nav a:hover {
  color: #e8d6a4;
}

header.scrolled nav a:hover {
  color: var(--gold);
}

header.open nav a:hover {
  color: #e8d6a4;
}

header button {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  /* buttonはブラウザ既定で黒文字になるので、ヘッダーの色（白／スクロール後は黒）を引き継ぐ */
  color: inherit;
  background: none;
  cursor: pointer;
}

/* ハンバーガーの線：細く長めにしてシャープに（線の中心どうしの間隔は 8px） */
header button span,
header button::before,
header button::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  margin: 7px auto;
  background: currentColor;
  transition: transform 0.4s ease, opacity 0.3s;
}

/* 追従ボタン（上：期間限定プラン、下：無料相談）
   出たり消えたり・CONTACT手前で止まる動きは、2つまとめて .floating-group で行う */
.floating-group {
  position: fixed;
  right: 40px;
  bottom: 30px;
  z-index: 20;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6em;

  font-size: 18px;

  transform: translateY(20px);
  /* スクロールで出たり消えたりするので、表示の切り替えは軽めに */
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;

  opacity: 0;
  visibility: hidden;
}

.floating-group.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* 期間限定プランへのボタン（メイン） */
.floating {
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  width: 6.5em;
  height: 6.5em;
  border-radius: 9999px;
  background: #234e79;
  /* うっすら紺の影（スマホのバーと同じ） */
  box-shadow: 0 3px 8px rgba(35, 78, 121, 0.3);

  color: #fff;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;

  transition: opacity 0.3s;
}

/* 「残り4組」：ボタンの上に乗せる */
.floating::before {
  content: "＼残り4組／";
  position: absolute;
  top: -1.8em;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.85em;
  font-weight: 700;
  color: #234e79;
}

.floating span {
  font-size: 0.75em;
  font-weight: 500;
}

/* 無料相談ボタン：メインのボタンと同じ大きさ・白地にゴールドの枠 */
.floating-contact {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 6.5em;
  height: 6.5em;
  border: 1px solid var(--gold);
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);

  color: var(--gold);
  font-size: 1em;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;

  transition: opacity 0.3s;
}

/* 文字だけ小さめ（丸の大きさは em で決めているので、中の span で縮める） */
.floating-contact span {
  font-size: 0.75em;
}

/* ホバー：色は変えずに少しだけ透ける */
.floating:hover,
.floating-contact:hover {
  opacity: 0.75;
}

/* キービジュアル */
.hero {
  justify-content: flex-end;
  /* 文字は下寄せのまま、下に余白をとって「中央」と「一番下」の中間あたりに置く */
  padding-bottom: 15svh;
  color: #fff;
  text-align: center;
  min-height: 100svh;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url("../images/hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 48px;
  letter-spacing: 0.2em;
  line-height: 1;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero h1 small {
  font-size: .35em;
  font-weight: 400;
}

/* サブコピー：タイトルから少し離して、上下の細い白線ではさむ */
.hero p {
  margin-top: 36px;
  padding: 14px 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  /* 細身の英字フォント（Cormorant Garamond の Light 300） */
  font-family: var(--en);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* 私たちについて */
#about {
  width: min(600px, 90%);
  margin: 0 auto;
  padding: var(--section-py) 0;
}

#about h3 {
  margin-bottom: 32px;
  font-size: 32px;
  letter-spacing: 0.1em;
  text-align: center;
}

/* スタッフ */
#staff {
  padding: var(--section-py) 40px;
  /* 淡いカフェラテ色（黄みを抑えたミルクベージュ） */
  background: #faf7f2;
}

#staff>div {
  display: flex;
  align-items: center;
  gap: 64px;
  max-width: 1280px;
}

#staff article {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  flex: 1;
  padding: 16px 0;
}

#staff article p {
  width: 80%;
  color: #222;
}

/* works ボタン：本文の左端にそろえて左寄せ（本文は幅80%の中央寄せ → 左に10%） */
#staff article .button {
  align-self: flex-start;
  margin: 0 0 0 10%;
}

#staff figure {
  flex: 1;
  max-width: 568px;
}

#staff figure img {
  width: 100%;
  aspect-ratio: 568 / 302;
  object-fit: cover;
}

#staff figcaption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  /* 写真とキャプションの間の余白 */
  padding-top: 24px;
  color: #222;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
}

#staff figcaption small {
  color: #222;
  font-family: var(--en);
  font-size: 16px;
  font-weight: 600;
}

#staff figcaption .name {
  letter-spacing: 0.1em;
}

/* 名前の読み（ローマ字）：名前の下に、名前と同じ明朝で添える */
#staff figcaption .name-en {
  margin-top: -6px;
  color: #888;
  font-family: var(--mincho);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.15em;
}

/* プラン */
#plan {
  padding: var(--section-py) 0;
}

/* プランカード（ブライダルフェア風） */
.plan-card {
  /* ゴールド系の装飾色 */
  --gold-light: #d9c391;
  --gold: #a8843f;
  --gold-shine: linear-gradient(135deg, #c9a862 0%, #e8d6a4 45%, #a8843f 100%);
  position: relative;
  display: grid;
  grid-template-columns: 44% 1fr;
  gap: 32px;
  width: min(1080px, 90%);
  margin-bottom: 64px;
  padding: 28px 28px 28px 36px;
  border: 2px solid var(--gold-light);
  outline: 1px solid var(--gold-light);
  outline-offset: 5px;
  background: #fff;
}

/* ページ内リンクで飛んだとき、固定ヘッダーと「期間限定」ラベルに隠れないように */
#limited-plan {
  /* ヘッダーの下からさらに32px あけて、「期間限定」ラベルが見えるように */
  scroll-margin-top: 32px;
}

/* 「期間限定」ラベル：カードの左上の枠にかかるように置く */
.plan-card__ribbon {
  position: absolute;
  top: -16px;
  left: 28px;
  z-index: 1;
  padding: 4px 20px;
  background: linear-gradient(135deg, #b8944f 0%, #c9a862 50%, #8f6d2f 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.6;
  box-shadow: 0 0 0 4px #fff;
}

.plan-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.6;
}

.plan-card__title {
  font-size: 24px;
  letter-spacing: 0.08em;
}

/* タイトル下の飾り罫＋左右・中央の飾り */
.plan-card__orn {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 100%;
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
}

.plan-card__orn::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  left: 22px;
  height: 1px;
  background: var(--gold);
}

/* 飾り線の上のきらめき（両端は小さめ、中央は大きめ） */
.plan-card__orn span {
  position: relative;
  display: grid;
  place-items: center;
  width: 26px;
  height: 22px;
  background: #fff;
}

.plan-card__orn span::before {
  content: "";
  width: 16px;
  height: 16px;
  background: var(--gold-shine);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}

.plan-card__orn span:nth-child(2) {
  width: 32px;
}

.plan-card__orn span:nth-child(2)::before {
  width: 22px;
  height: 22px;
}

/* キャッチコピー：塗りのラベルではなく、上下の細いゴールド線にはさんだゴールド文字 */
.plan-card__badge {
  margin-bottom: 16px;
  padding: 8px 12px;
  border-top: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.7;
}

.plan-card__badge span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
}

.plan-card__badge strong {
  margin-left: 2px;
  font-size: 18px;
}

.plan-card__title+.plan-card__orn {
  margin-top: 6px;
}

.plan-card__orn+.plan-card__text {
  margin-top: 14px;
  text-align: left;
}

/* 料金表（通常価格 → サンプル協力のみ → 特別価格 の3段） */
.plan-prices {
  width: 100%;
  margin-top: 18px;
  line-height: 1.5;
}

.plan-prices__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 6px;
  border-bottom: 1px dotted var(--gold-light);
}

.plan-prices dt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.plan-prices dd {
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.plan-prices small {
  margin-left: 2px;
  font-size: 11px;
  font-weight: 400;
}

/* 割引率のタグ */
.plan-prices__tag {
  padding: 1px 8px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

/* 通常価格は控えめに */
.plan-prices__row--regular {
  color: var(--gray);
}

.plan-prices__row--regular dt {
  font-weight: 400;
}

.plan-prices__row--regular dd {
  font-size: 16px;
  font-weight: 400;
}

/* 特別価格は枠で囲んで主役に */
.plan-prices__row--best {
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  padding: 14px 12px 12px;
  border: 1px solid var(--gold-light);
  background: #fbf7ee;
}

.plan-prices__row--best dt {
  justify-content: center;
  color: var(--gold);
  text-align: center;
}

.plan-prices__row--best .plan-prices__tag {
  background: var(--gold);
  color: #fff;
}

.plan-prices__row--best dd {
  color: var(--gold);
  font-size: 32px;
  letter-spacing: 0.03em;
}

.plan-prices__label {
  margin-right: 10px;
  font-size: 15px;
  vertical-align: 0.3em;
}

.plan-prices__row--best small {
  font-size: 13px;
}

.plan-card__price {
  margin-top: 14px;
  color: var(--gold);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.plan-card__price small {
  font-size: 14px;
}

.plan-card__lead {
  position: relative;
  margin: 10px 0 12px;
  padding: 2px 28px;
  font-size: 18px;
  font-weight: 700;
}

/* 中括弧風の飾り */
.plan-card__lead::before,
.plan-card__lead::after {
  position: absolute;
  top: 50%;
  color: var(--gray);
  font-size: 44px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-50%) scaleX(0.6);
}

.plan-card__lead::before {
  content: "{";
  left: 0;
}

.plan-card__lead::after {
  content: "}";
  right: 0;
}

.plan-card__text {
  font-size: 15px;
}

/* プラン内容の箇条書き（ブロックは中央、行は左寄せ） */
.plan-card__list {
  margin: 14px 0 8px;
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
}

.plan-card__list li {
  position: relative;
  padding: 7px 4px 7px 22px;
  border-bottom: 1px dotted var(--gold-light);
}

/* 折り返すときは「(」の前など区切りのいい位置で */
.plan-card__list li {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.plan-card__list li:last-child {
  border-bottom: 0;
}

/* 点：ゴールドの小さな丸 */
.plan-card__list li::before {
  content: "";
  position: absolute;
  top: calc(7px + 0.85em - 3px);
  left: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}

.plan-card__note {
  font-size: 11px;
}

/* 写真エリア（右側）：上に大きい写真1枚、下の段に小さい写真2枚 */
.plan-card__media {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan-card__thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.plan-card__thumbs img,
.plan-card__main {
  width: 100%;
  object-fit: cover;
}

.plan-card__thumbs img {
  aspect-ratio: 3 / 2;
}

/* 大きい写真は、文章側の高さに合わせて残りのスペースいっぱいに広がる */
.plan-card__main {
  flex: 1 1 0px;
  height: 0;
  min-height: 240px;
}

/* アコーディオン（全プラン共通・料金オプション）
   ゴールドの細枠のボックス。タイトル部分だけ淡いクリーム色 */
.accordion {
  width: min(1080px, 90%);
  border: 1px solid var(--gold-light, #d9c391);
  background: #fff;
}

.accordion+.accordion {
  margin-top: 20px;
}

.accordion summary {
  position: relative;
  padding: 22px 56px;
  background: #faf6ee;
  list-style: none;
  text-align: center;
  cursor: pointer;
}

/* 開いているときは、タイトルと中身の間に区切り線 */
.accordion[open] summary {
  border-bottom: 1px solid var(--gold-light, #d9c391);
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary h3 {
  font-size: 20px;
  letter-spacing: 0.12em;
  line-height: 1.6;
}

/* ＋／− アイコン（開くと縦棒が寝てマイナスになる）
   ハンバーガーメニューとそろえて、細く長めのシャープな線に */
.accordion summary::before,
.accordion summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 16px;
  height: 1px;
  background: var(--gold);
  transition: transform 0.4s ease;
}

.accordion summary::after {
  transform: rotate(90deg);
}

.accordion[open] summary::after {
  transform: rotate(0);
}

/* キーボード操作のときだけ、フォーカス位置がわかる枠を出す */
.accordion summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -4px;
}

.accordion__body {
  display: flex;
  justify-content: center;
  padding: 28px 0 32px;
}

.common {
  color: var(--text);
  font-size: 16px;
}

/* お得ポイントの強調：太字＋ゴールドの蛍光ペン風の下線 */
.common strong {
  padding: 0 2px;
  background: linear-gradient(transparent 62%, rgba(217, 195, 145, 0.45) 62%);
  font-weight: 700;
}

/* 箇条書きの点：プランカードと同じゴールドの小さな丸 */
.common li {
  position: relative;
  padding: 6px 0 6px 20px;
  line-height: 1.8;
}

.common li::before {
  content: "";
  position: absolute;
  top: calc(6px + 0.9em - 3px);
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}


/* スライダー */
.slider {
  display: flex;
  gap: 16px;
  width: 100%;
  padding: 30px 0;
  overflow: hidden;
}

.slider li {
  flex: none;
  width: 40%;
  height: 420px;
}

.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 特徴 */
#feature {
  padding: var(--section-py) 0;
  /* グレーにほんのりクリーム味を足した色（STAFFのラテ色と同じ系統で少しだけ濃いめ） */
  background: #f5f1ea;
}

#feature article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1280px, 100%);
  padding: 40px 56px;
}

#feature article:nth-of-type(1) {
  flex-direction: row-reverse;
}

#feature article img {
  width: 47%;
  height: 549px;
  object-fit: cover;
}

#feature article div {
  width: 47%;
  padding: 0 24px 24px;
}

#feature h3 {
  margin-bottom: 16px;
  font-size: 24px;
  letter-spacing: 0.1em;
}

/* PCのみ：写真を画面の端まで広げて、見切れるダイナミックな配置に。
   文章は他のセクションと同じ幅（最大1280px）の内側にそろえる */
@media (min-width: 841px) {
  #feature article {
    width: 100%;
    padding: 40px 0;
  }

  /* 写真：文章 = 52：48（写真を少し大きめに） */
  #feature article img {
    width: 52%;
    height: 600px;
  }

  #feature article div {
    width: 48%;
    padding: 0 max(56px, calc((100% - 1280px) / 2 + 56px)) 0 72px;
  }

  /* 1つ目は写真が右・文章が左なので、余白を左右反転 */
  #feature article:nth-of-type(1) div {
    padding: 0 72px 0 max(56px, calc((100% - 1280px) / 2 + 56px));
  }

  /* 文章の幅が狭くなった分、見出しは語の切れ目（スペースなど）で折り返す */
  #feature h3 {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
}

/* 料金オプション */
/* 料金オプション表（プランカードの料金表とデザインをそろえる） */
#option dl {
  width: 100%;
  padding: 0 48px;
}

#option dl div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 4px;
  border-bottom: 1px dotted var(--gold-light, #d9c391);
}

#option dl div:last-child {
  border-bottom: 0;
}

#option dt {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

#option dt small {
  color: var(--gray);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

#option dd {
  flex: none;
  color: var(--gold);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.4;
  text-align: right;
  white-space: nowrap;
}

#option dd small {
  margin-left: 2px;
  font-size: 12px;
  font-weight: 400;
}

/* ご予約状況 */
#schedule {
  padding: var(--section-py) 16px;
}

#schedule>p {
  text-align: center;
}

#schedule iframe {
  width: min(1024px, 100%);
  height: 464px;
  border: 0;
  background: #eee;
  margin-bottom: 2em;
}

#schedule .button {
  word-break: keep-all;
}

#schedule small {
  margin-top: 16px;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}

/* お問い合わせ */
#contact {
  position: relative;
  isolation: isolate;
  padding: var(--section-py) 16px;
  background: url("../images/contact.webp") center / cover;
  color: #fff;
}

/* heroと同じ黒の半透明フィルター（写真の上に重ねて文字を読みやすく） */
#contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.3);
}

/* 写真背景の上なので、英字サブタイトルは明るめのゴールドに */
#contact hgroup p {
  color: #e8d6a4;
}

#contact hgroup h2 {
  color: #fff;
}

#contact .button {
  width: auto;
  max-width: 100%;
}

#contact>p {
  text-align: center;
}

/* スマホのときだけ改行する <br class="sp-only"> */
.sp-only {
  display: none;
}

/* フッター */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--text);
  color: #fff;
  text-align: center;
}

/* コピーライトだけのシンプルなフッター */
footer small {
  padding: 32px 16px;
  /* 英字は細身フォントの Light（漢字は明朝のまま） */
  font-family: var(--en);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.08em;
}

/* スクロールで表示 */
.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s, transform 1.2s;
}

.fade.show {
  opacity: 1;
  transform: none;
}

/* ボタンにも .fade が付くので、フェードインと色の切り替えの両方の transition を残す */
.button.fade {
  transition: opacity 1.2s, transform 1.2s, background-color 0.4s, color 0.4s, box-shadow 0.4s;
}

/* タブレット */
@media (max-width: 840px) {
  :root {
    --header-h: 80px;
  }

  header {
    padding: 0 40px;
  }

  header button {
    display: block;
    position: relative;
    z-index: 2;
  }

  header nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    background: rgba(51, 51, 51, 0.95);
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }

  header.open nav {
    opacity: 1;
    visibility: visible;
  }

  /* メニューを開いている間は暗い背景の上なので白文字に戻す */
  header.open {
    color: #fff;
  }

  header.open button::before {
    transform: translateY(8px) rotate(45deg);
  }

  header.open button span {
    opacity: 0;
  }

  header.open button::after {
    transform: translateY(-8px) rotate(-45deg);
  }

  hgroup p {
    font-size: 34px;
  }

  hgroup h2 {
    font-size: 14px;
  }

  #about h3 {
    font-size: 24px;
  }

  :root {
    --section-py: 80px;
  }

  #about {
    width: 70%;
  }

  #staff {
    padding: var(--section-py) 32px;
  }

  #staff>div {
    flex-direction: column-reverse;
    gap: 32px;
    width: 100%;
  }

  #staff article {
    width: 100%;
  }

  #staff figure {
    width: 407px;
    max-width: 100%;
  }

  .slider {
    gap: 8px;
    padding: 8px 0;
  }

  .slider li {
    height: 280px;
  }

  #feature article {
    padding: 24px 40px;
  }

  #feature h3 {
    font-size: 20px;
  }

  /* 本文だけ小さく（見出しの英字 FEATURE には効かないよう article の中に限定） */
  #feature article p,
  #about>p {
    font-size: 14px;
  }
}

/* スマホ */
@media (max-width: 540px) {
  header {
    padding: 0 16px;
  }

  header .logo {
    font-size: 18px;
  }

  /* スマホ：画面の一番下に横長のバー（左：期間限定プラン／右：無料相談）
     白の半透明＋ぼかしのバーの中に、角丸のピル型ボタンを2つ並べる */
  .floating-group {
    right: 0;
    bottom: 0;
    left: 0;
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    /* 隠れているときは下にすっと引っ込む */
    transform: translateY(100%);
  }

  .floating,
  .floating-contact {
    flex: 1;
    width: auto;
    height: 58px;
    border-radius: 9999px;
  }

  /* 期間限定プラン：紺のグラデーションで立体感を出す */
  .floating {
    gap: 1px;
    background: linear-gradient(135deg, #2f6496 0%, #234e79 55%, #1b3d60 100%);
    box-shadow: 0 3px 8px rgba(35, 78, 121, 0.3);
    line-height: 1.25;
  }

  /* 「残り4組」はボタンの中に小さく入れる */
  .floating::before {
    position: static;
    transform: none;
    color: #e8d6a4;
    font-size: 0.65em;
  }

  .floating span {
    font-size: 0.68em;
  }

  /* バーでは1行で見せる */
  .floating span br,
  .floating-contact span br {
    display: none;
  }

  /* 無料相談：ゴールドの枠のピル型＋右端に小さな矢印 */
  .floating-contact {
    position: relative;
    padding-right: 10px;
    border: 1px solid var(--gold);
    background: #fff;
    box-shadow: 0 3px 8px rgba(168, 132, 63, 0.18);
  }

  .floating-contact::after {
    content: "›";
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-55%);
    color: var(--gold);
    font-size: 1.2em;
    font-weight: 400;
  }

  .floating-contact span {
    font-size: 0.82em;
    letter-spacing: 0.05em;
  }

  .hero h2 {
    font-size: 18px;
  }

  .hero p {
    margin-top: 28px;
    padding: 12px 24px;
    font-size: 18px;
  }

  hgroup p {
    font-size: 30px;
  }

  hgroup h2 {
    font-size: 13px;
  }

  #about h3 {
    font-size: 20px;
  }

  :root {
    --section-py: 64px;
  }

  #about {
    width: 90%;
  }

  #staff {
    padding: var(--section-py) 16px;
  }

  #staff article p {
    width: 90%;
    font-size: 14px;
  }

  /* 本文が幅90%になるので、works ボタンも左に5%そろえる */
  #staff article .button {
    margin-left: 5%;
  }

  #staff figcaption small {
    font-size: 13px;
  }

  #staff figcaption .name-en {
    font-size: 12px;
  }

  .accordion summary {
    padding: 20px 40px;
  }

  .accordion summary h3 {
    font-size: 17px;
  }

  .accordion summary::before,
  .accordion summary::after {
    right: 12px;
  }

  .common {
    width: 90%;
    font-size: 14px;
  }

  .button {
    width: 90%;
    padding: 16px 40px;
    font-size: 18px;
  }

  /* CONTACTのボタン：小さい画面でも1行に収まるよう、
     画面幅に合わせて文字を縮め（最小15px〜最大18px）、左右の余白も少し詰める */
  .sp-only {
    display: inline;
  }

  #contact .button {
    padding: 16px 36px 16px 28px;
    font-size: clamp(15px, 4.6vw, 18px);
    letter-spacing: 0.04em;
  }

  .button--small {
    width: auto;
    padding: 8px 46px 8px 30px;
    font-size: 16px;
  }

  .button::after {
    right: 20px;
  }

  .slider li {
    width: 60%;
  }

  #feature article,
  #feature article:nth-of-type(1) {
    flex-direction: column;
    gap: 24px;
    width: 90%;
    padding: 24px 0;
  }

  #feature article img,
  #feature article div {
    width: 100%;
  }

  #feature article img {
    height: 420px;
  }

  #feature article div {
    padding: 0;
  }

  #feature h3 {
    font-size: 16px;
  }

  #option dl {
    width: 90%;
    padding: 0;
  }

  #option dl div {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px 0;
  }

  #option dt {
    font-size: 15px;
  }

  #option dt small {
    font-size: 12px;
  }

  #option dd {
    font-size: 18px;
  }

  footer small {
    padding: 28px 16px;
  }
}

/* プランカード レスポンシブ */
@media (max-width: 840px) {
  .plan-card {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .plan-card__media {
    order: -1;
  }

  .plan-card__main {
    flex: none;
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 540px) {

  /* 期間限定プラン：スマホのときだけ、写真3枚をタイトル（＋飾り線）の下に入れる。
     本文の箱（__body）をいったん解体して、写真と本文の要素を同じ並びで順番を入れ替える */
  #limited-plan {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    line-height: 1.6;
    text-align: center;
  }

  #limited-plan .plan-card__body {
    display: contents;
  }

  #limited-plan .plan-card__body>* {
    order: 3;
  }

  #limited-plan .plan-card__badge,
  #limited-plan .plan-card__title,
  #limited-plan .plan-card__orn {
    order: 1;
  }

  #limited-plan .plan-card__media {
    order: 2;
    align-self: stretch;
    margin: 18px 0 4px;
  }

  .plan-card__title {
    font-size: 17px;
    letter-spacing: 0.02em;
  }

  .plan-card__price {
    font-size: 21px;
  }

  .plan-card__lead {
    padding: 2px 22px;
    font-size: 15px;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .plan-card__text {
    font-size: 13px;
  }

  .plan-card__list {
    font-size: 13px;
  }

  .plan-card__badge {
    font-size: 12px;
  }

  .plan-card__badge span {
    font-size: 11px;
  }

  .plan-card__badge strong {
    font-size: 16px;
  }

  /* 項目名が2行になっても、金額は下の行にそろえる */
  .plan-prices__row:not(.plan-prices__row--best) {
    align-items: flex-end;
  }

  .plan-prices dt {
    font-size: 13px;
  }

  .plan-prices dd {
    font-size: 17px;
  }

  .plan-prices__row--regular dd {
    font-size: 14px;
  }

  .plan-prices__row--best dd {
    font-size: 26px;
  }

  .plan-prices__label {
    font-size: 13px;
  }

  .plan-card__media,
  .plan-card__thumbs {
    gap: 10px;
  }
}

/* 「通常プラン」の区切り：左右に細いゴールドの線 */
.plan-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(1080px, 90%);
  margin-bottom: 32px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.25em;
  line-height: 1.6;
}

.plan-divider::before,
.plan-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #d9c391;
}

/* 通常撮影プラン：写真なし・3つ並びのカード */
.plan-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: min(1080px, 90%);
  margin-bottom: 64px;
}

.plan-card--simple {
  display: flex;
  width: auto;
  margin-bottom: 0;
  padding: 28px 22px;
}

.plan-card--simple .plan-card__body {
  flex: 1;
}

.plan-card--simple .plan-card__title {
  font-size: 19px;
  letter-spacing: 0.04em;
}

.plan-card--simple .plan-card__orn {
  margin: 6px 0 16px;
}

.plan-card--simple .plan-card__text {
  font-size: 14px;
  line-height: 1.9;
}

.plan-card--simple .plan-card__list {
  margin-top: 0;
  font-size: 14px;
}

/* 価格はカードの下端にそろえる */
.plan-card--simple .plan-card__price {
  margin-top: auto;
  padding-top: 16px;
  font-size: 26px;
}

@media (max-width: 840px) {
  .plan-cards {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 540px) {
  .plan-card--simple .plan-card__title {
    font-size: 17px;
  }

  .plan-card--simple .plan-card__text {
    font-size: 13px;
  }

  .plan-card--simple .plan-card__list {
    font-size: 13px;
  }

  .plan-card--simple .plan-card__price {
    font-size: 22px;
  }
}