/* ===== 千年翠 ===== */
:root {
  --bg: #FBF9F4;
  --bg-tint: #F2ECDF;
  --white: #FFFFFF;
  --dark: #1F1E1B;
  --text: #2B2B2B;
  --muted: #6B6355;
  --gold: #B8912F;
  --gold-deep: #8C6D2C;
  --line: #E6DCC4;
  --pine: #5F7356;        /* 松の渋い緑（差し色） */
  --pine-pale: #E4E9DE;   /* 松の淡い緑（面に使う） */
  --error: #A0412D;
  --mincho: "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --brush: "Shippori Mincho B1", "Shippori Mincho", serif;   /* 題字：パンフと同じ Shippori Mincho B1 ExtraBold（正式ロゴができるまで） */
  --latin: "Cormorant Garamond", "Shippori Mincho", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
@media (min-width: 960px) { html { scroll-padding-top: 76px; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--mincho);
  font-size: 16px;
  line-height: 2;
  letter-spacing: .06em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); }
a:hover { color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.note { font-size: 13px; color: var(--muted); margin: 40px 0 0; text-align: center; }

/* ===== オープニング ===== */
.opening { display: none; }
.is-opening .opening {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  animation: openingOut .8s ease 1.6s forwards;
}
.opening__title {
  margin: 0;
  writing-mode: vertical-rl;
  font-family: var(--brush);
  font-weight: 800;
  font-size: clamp(48px, 9vw, 84px);
  letter-spacing: .3em;
  color: #F3EEE3;
  opacity: 0;
  animation: openingIn 1.1s ease .2s forwards;
}
@keyframes openingIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes openingOut { to { opacity: 0; visibility: hidden; } }

/* ===== スクロールで静かに現れる ===== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s ease, transform 1.1s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== 上部のバー（全画面共通） =====
   ページの一番上では題字が重ならないよう「千年翠」を隠し、ボタンだけを出す。
   ファーストビューを過ぎると背景と「千年翠」が現れる（.is-scrolled は main.js が付ける） */
.sidebar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px 0 20px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s;
}
.sidebar.is-scrolled { background: var(--bg); border-bottom-color: var(--line); }
.sidebar__logo {
  font-family: var(--brush);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: .2em;
  color: var(--text);
  text-decoration: none;
  margin-right: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.sidebar.is-scrolled .sidebar__logo { opacity: 1; visibility: visible; }
.sidebar__order {
  order: 2;
  font-size: 13px;
  letter-spacing: .14em;
  padding: 8px 16px;
  border: 1px solid var(--pine);
  background: var(--pine);
  color: #fff;
  text-decoration: none;
  line-height: 1.6;
}
.menu-btn {
  order: 3;
  width: 40px; height: 40px;
  background: rgba(251, 249, 244, .92);
  border: 0; padding: 0;
  cursor: pointer;
  position: relative;
}
.menu-btn span:not(.sr-only) {
  position: absolute; left: 10px; width: 20px; height: 1px; background: var(--text);
  transition: transform .3s;
}
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 23px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(30deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-30deg); }

.gnav {
  position: fixed;
  top: 60px; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.gnav.is-open { opacity: 1; visibility: visible; }
.sidebar:has(.gnav.is-open) { background: var(--bg); }
.gnav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: row-reverse; gap: 28px;
}
.gnav a {
  writing-mode: vertical-rl;
  white-space: nowrap;
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  letter-spacing: .3em;
}
.gnav a:hover { color: var(--gold-deep); }
@media (min-width: 960px) {
  .sidebar { padding: 0 32px 0 40px; height: 72px; }
  .gnav { top: 72px; padding-top: 80px; }
  .gnav ul { gap: 44px; }
  .gnav a { font-size: 18px; }
}

.wrapper { padding-top: 0; }

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  min-width: 240px;
  padding: 15px 44px;
  background: var(--gold-deep);
  color: #fff;
  font-family: var(--mincho);
  font-size: 15px;
  letter-spacing: .24em;
  text-decoration: none;
  border: 1px solid var(--gold-deep);
  border-radius: 0;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.btn:hover, .btn:focus-visible { background: transparent; color: var(--gold-deep); }

.diamond-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: .24em;
  font-size: 15px;
}
.diamond {   /* 淡い緑の丸＋下向きの矢印 */
  position: relative;
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #CFD9C6;
  transition: background-color .25s, transform .25s;
}
.diamond::after {
  content: "";
  position: absolute; left: 50%; top: 46%;
  width: 9px; height: 9px;
  border-right: 1.5px solid var(--pine); border-bottom: 1.5px solid var(--pine);
  transform: translate(-50%, -50%) rotate(45deg);
}
.diamond-link:hover { color: var(--pine); }
.diamond-link:hover .diamond { background-color: #BCCBB0; transform: translateY(3px); }

/* ===== ファーストビュー（寄りの写真＋大きな縦書きの題字） ===== */
.hero { position: relative; padding: 76px 0 0; overflow: hidden; }
.hero__tag { margin: 0 20px 16px; font-size: 15px; letter-spacing: .24em; }
.hero__title {
  position: absolute; z-index: 3;
  left: 12px; top: 112px;
  margin: 0;
  writing-mode: vertical-rl;
  white-space: nowrap;
  font-family: var(--brush);
  font-weight: 800;
  font-size: 50px;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--text);
}
.hero__title .logo-img { max-height: 260px; max-width: 90px; width: auto; }
.hero__title.has-logo .logo-text { display: none; }
.hero__sub { display: none; }
.hero__block { position: absolute; z-index: 1; right: -20px; top: 64px; width: 50%; height: 120px; background: url(/images/pine.png) right top / contain no-repeat; opacity: .4; pointer-events: none; }
.hero__main { position: relative; z-index: 2; margin: 0 0 0 auto; width: 78%; }
.hero__main img { width: 100%; height: auto; }   /* 縦横比は崩さない */
.hero__cta { margin: 28px 20px 0; }

@media (min-width: 960px) {
  .hero { height: max(680px, 94vh); padding: 0; overflow: hidden; }
  .hero__tag { position: absolute; left: 6vw; top: 28px; margin: 0; font-size: 19px; letter-spacing: .28em; z-index: 3; }
  .hero__title { left: 3.5vw; top: 104px; font-size: clamp(80px, 7.8vw, 122px); }
  .hero__title .logo-img { max-height: 560px; max-width: 200px; }
  .hero__block { display: block; left: 52vw; right: auto; top: 64px; width: 37vw; height: 46%; opacity: .45; }
  .hero__sub { display: block; position: absolute; right: 0; top: 0; height: 86%; width: auto; max-width: 34vw; object-fit: contain; object-position: right top; }
  .hero__main { position: absolute; z-index: 2; left: 15.5vw; top: 30%; width: 57vw; margin: 0; }
  .hero__cta { position: absolute; right: 6vw; bottom: 5%; margin: 0; z-index: 3; }
}

/* ===== 千年翠の説明 ===== */
.about { position: relative; overflow: hidden; padding: 64px 20px 48px; }
.about__mark { position: absolute; right: -40px; top: 40px; height: 90%; width: auto; opacity: .06; pointer-events: none; }
.about__inner { position: relative; max-width: 900px; margin: 0 auto; }
.about__lead { margin: 0 0 32px; font-size: clamp(20px, 5.6vw, 54px); font-weight: 400; line-height: 1.55; letter-spacing: .04em; }
.about__text p { margin: 0 0 1.4em; line-height: 2.3; font-size: 15px; }
.about .diamond-link { margin-top: 16px; }
@media (min-width: 960px) {
  .about { padding: 112px 56px 80px; }
  .about__mark { right: 4vw; top: 60px; height: 85%; }
  .about__text p { font-size: 16px; }
}

/* ===== 斜め45度の大きな写真 ===== */
.wide-photo { margin: 0 auto; max-width: 1360px; }
.wide-photo img { width: 100%; height: auto; }
@media (min-width: 960px) { .wide-photo { padding: 0 56px 0 12vw; } }

/* ヘッダーのInstagram（PCのみ） */
.sidebar__insta { display: none; order: 1; font-size: 14px; letter-spacing: .14em; color: var(--text); text-decoration: none; margin-right: 6px; padding: 8px 16px; line-height: 1.6; border: 1px solid var(--line); background: rgba(251, 249, 244, .95); }
@media (min-width: 960px) { .sidebar__order { font-size: 15px; padding: 9px 22px; } }
@media (min-width: 960px) { .sidebar__insta { display: inline-block; } }

/* ===== 紹介文（写真の上に重ねる） ===== */
.intro { padding: 56px 0 0; }
.intro__figure { position: relative; margin: 0 auto; max-width: 1100px; }
.intro__figure img { width: 100%; height: auto; }   /* 縦横比は崩さない */
.intro__figure::after {          /* 文字を読みやすくするための薄い影 */
  content: "";
  position: absolute; inset: 0;
  background: rgba(20, 18, 14, .3);   /* 数字を大きくすると暗く、小さくすると明るくなる */
}
.intro__text {
  position: absolute;
  z-index: 1;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FBF9F4;
  font-size: min(15px, 3.7vw);
  line-height: 2.2;
  letter-spacing: .04em;
  text-shadow: 0 0 6px rgba(0, 0, 0, .55), 0 1px 18px rgba(0, 0, 0, .45);
}
@media (min-width: 960px) {
  .intro { padding: 88px 56px 0; }
  .intro__text {
    writing-mode: vertical-rl;
    text-align: left;
    font-size: 19px;
    line-height: 2.6;
    letter-spacing: .12em;
  }
}

/* ===== セクション（縦書き見出し＋本文） ===== */
.block { padding: 44px 16px; }
.block__body { min-width: 0; }
/* 各段の写真（縦横比はそのまま） */
.block__photo { margin: 0 0 24px; }
.block__photo img { width: 100%; height: auto; }
.name-text { padding: 4px 4px 0; line-height: 2.2; }
@media (min-width: 960px) { .block__photo { margin-bottom: 32px; } }

.vtitle {
  position: relative;
  margin: 0 auto 28px;
  width: fit-content;
  writing-mode: vertical-rl;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: .3em;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.vtitle span { position: relative; z-index: 1; }
.vtitle small { position: relative; z-index: 1; font-size: 12px; letter-spacing: .3em; color: var(--muted); padding-top: .4em; }
/* 見出しの後ろに淡い松 */
.vtitle::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 150px; height: 92px;
  background: url(/images/pine.png) center / contain no-repeat;
  opacity: .45;
  transform: translate(-50%, -50%);
}

.panel { padding: 32px 18px; }
.panel--white { background: var(--white); }
.panel--tint { background: var(--pine-pale); }

@media (min-width: 960px) {
  .block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: center;
    gap: 40px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 64px 56px;
  }
  .block .vtitle { grid-column: 2; grid-row: 1; margin: 0 auto; font-size: 40px; }
  .block .block__body { grid-column: 1; grid-row: 1; }
  .block--reverse { grid-template-columns: 220px minmax(0, 1fr); }
  .block--reverse .vtitle { grid-column: 1; }
  .block--reverse .block__body { grid-column: 2; }
  .vtitle::before { width: 210px; height: 128px; }
  .panel { padding: 44px 48px; }
}

/* ===== お品書き（縦書き） ===== */
.oshinagaki {
  display: flex;
  flex-direction: row-reverse;   /* 右から左へ読む */
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 22px;
}
.oshinagaki__group {
  writing-mode: vertical-rl;
  height: 10em;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .14em;
}
.oshinagaki__group p { margin: 0; }
.oshinagaki__sub { padding-top: 1em; font-size: .92em; }
.oshinagaki__label { color: var(--gold-deep); font-size: 12px; letter-spacing: .3em; margin-left: .6em !important; }
@media (max-width: 374px) { .oshinagaki__group { font-size: 13px; } }
@media (min-width: 960px) {
  .oshinagaki { gap: 48px 34px; }
  .oshinagaki__group { font-size: 16px; line-height: 2.1; }
}

/* ===== 価格 ／ こんな場面に ===== */
.block--price { padding-top: 56px; }
.label-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: .3em;
  color: var(--gold-deep);
}


.price-card { text-align: center; }
.price-card .label-title { justify-content: center; }
.price { margin: 0; line-height: 1.4; }
.price__unit { font-size: 16px; margin-right: .6em; }
.price__num { font-size: 34px; font-weight: 500; letter-spacing: .06em; }
.price__yen { font-size: 18px; margin-left: .1em; }
.price__tax { font-size: 14px; color: var(--muted); }
.price__ship { margin: 24px auto 0; padding-top: 22px; border-top: 1px solid var(--line); max-width: 260px; letter-spacing: .2em; }
.price__tokyo { margin: 10px 0 0; font-size: 14px; letter-spacing: .1em; }

.scenes-card { padding: 40px 0 0; }
.scenes-card .label-title { justify-content: center; }
.scenes {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
}
.scenes li {
  writing-mode: vertical-rl;
  padding: 4px 16px;
  border-right: 1px solid var(--line);
  font-size: 16px;
  letter-spacing: .3em;
  line-height: 1.6;
}
.scenes li:last-child { border-left: 1px solid var(--line); }

/* 写真の帯（手仕事）と、価格の横の写真。どちらも縦横比はそのまま */
.photo-band { margin: 0 auto; max-width: 1100px; }
.photo-band img, .price-photo img { width: 100%; height: auto; }
.price-photo { margin: 0 -16px 32px; }

@media (min-width: 960px) {
  .photo-band { padding: 0 56px; max-width: 1212px; }
  .block--price { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; padding-top: 88px; }
  .price-photo { margin: 0; }
  .price-side { display: flex; flex-direction: column; gap: 48px; }
  .scenes-card { padding: 0; }
  .scenes li { padding: 6px 22px; font-size: 17px; }
  .price__num { font-size: 40px; }
}

/* ===== ご注文について ===== */
.rules { list-style: none; padding: 0; margin: 0; }
.rules li {
  position: relative;
  padding: 18px 0 18px 1.8em;
  border-bottom: 1px solid var(--line);
  line-height: 1.9;
}
.rules li:first-child { border-top: 1px solid var(--line); }
.rules li::before {
  content: "";
  position: absolute;
  left: .2em; top: 1.65em;
  width: 10px; height: 6px;
  background: var(--pine);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.rules strong { color: var(--gold-deep); font-weight: 600; }

/* ===== フォーム ===== */
.order-form { max-width: 600px; margin: 0 auto; }
.field { margin: 0 0 28px; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .08em;
  padding: 0;
}
/* 「必須」「任意」の目印は CSS で表示する（通知メールの項目名に混ざらないように） */
.req::after, .opt::after {
  display: inline-block;
  margin-left: .8em;
  padding: 0 .6em;
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .1em;
  font-weight: 400;
  vertical-align: 2px;
}
.req::after { content: "必須"; color: #fff; background: var(--gold-deep); }
.opt::after { content: "任意"; color: var(--muted); border: 1px solid var(--line); }
.tag {
  display: inline-block;
  margin-left: .8em;
  padding: 0 .6em;
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .1em;
  font-weight: 400;
  color: #fff;
  background: var(--gold-deep);
  vertical-align: 2px;
}
.tag--opt { color: var(--muted); background: transparent; border: 1px solid var(--line); }

input[type="text"], input[type="tel"], input[type="email"], input[type="number"], input[type="date"],
select, textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;          /* iPhoneで勝手に拡大されない大きさ */
  letter-spacing: .04em;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  border: 1px solid #D8CDB3;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
input[type="date"] { min-height: 50px; }
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-deep) 50%), linear-gradient(135deg, var(--gold-deep) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.input--short { max-width: 240px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
input.is-invalid { border-color: var(--error); }

.choices { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.choices label, .agree { display: inline-flex; align-items: center; gap: .5em; cursor: pointer; }
input[type="radio"], input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--gold-deep); margin: 0; }

.sub-fields { margin-top: 16px; padding: 20px 16px 0; border-left: 2px solid var(--line); }
.sub-fields .field { margin-bottom: 20px; }
.sub-fields label { font-size: 14px; }

.field__hint { margin: 8px 0 0; font-size: 13px; color: var(--muted); line-height: 1.8; }
.field__hint--warn { color: var(--gold-deep); }
.field__error { margin: 6px 0 0; font-size: 13px; color: var(--error); line-height: 1.8; }
.field__error:empty { display: none; }

.field--agree { margin-top: 40px; text-align: center; }
.agree { font-size: 15px; flex-wrap: wrap; justify-content: center; }
.submit { text-align: center; margin-top: 24px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== よくある質問 ===== */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  position: relative;
  padding: 18px 2.4em 18px 2.4em;
  cursor: pointer;
  line-height: 1.8;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "問"; position: absolute; left: 0; top: 18px; color: var(--pine); font-size: 14px; }
.faq summary::after {
  content: "";
  position: absolute; right: .6em; top: 50%;
  width: 8px; height: 8px;
  border-right: 1px solid var(--gold-deep); border-bottom: 1px solid var(--gold-deep);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { position: relative; margin: 0; padding: 0 0 22px 2.4em; color: var(--muted); line-height: 1.9; }
.faq details p::before { content: "答"; position: absolute; left: 0; color: var(--gold); font-size: 14px; }

/* ===== フッター（運営会社） ===== */
.footer {
  position: relative;
  overflow: hidden;
  background: var(--bg-tint);
  padding: 56px 20px 28px;
}
.footer::before { content: ""; position: absolute; left: -30px; bottom: 40px; width: 300px; height: 180px; background: url(/images/pine.png) left bottom / contain no-repeat; opacity: .18; pointer-events: none; }
.footer__inner { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.footer__label { margin: 0 0 20px; font-size: 12px; font-weight: 400; letter-spacing: .3em; color: var(--muted); }
.footer__nav ul { list-style: none; margin: 0; padding: 0; }
.footer__nav li { margin-bottom: 6px; }
.footer__nav a { color: var(--text); text-decoration: none; font-size: 15px; letter-spacing: .12em; }
.footer__nav a:hover { color: var(--gold-deep); }
.footer__mark { display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 20px; }
.footer__brand {
  margin: 0;
  writing-mode: vertical-rl;
  font-family: var(--brush);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: .3em;
  color: var(--text);
  opacity: .85;
  line-height: 1;
  padding: 18px 12px;
  border: 1px solid rgba(43, 43, 43, .35);
}
.footer__logo { max-width: 90px; max-height: 160px; width: auto; }

.footer__company { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.footer__company p { margin: 0; }
.footer__name { font-size: 20px; letter-spacing: .16em; }
.footer__addr { font-size: 14px; color: var(--muted); margin: 4px 0 12px !important; }
.ext-link { font-size: 14px; color: var(--text); }
.footer__sns { margin-top: 6px !important; }

.footer__bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 12px;
}
.footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer__links a { color: var(--text); text-decoration: none; }
.footer__links a:hover { color: var(--gold-deep); text-decoration: underline; }
.footer__copy { margin: 0; color: var(--muted); letter-spacing: .1em; }

@media (min-width: 960px) {
  .footer { padding: 80px 72px 36px; }
  .footer__inner, .footer__company, .footer__bottom { max-width: 1040px; margin-left: auto; margin-right: auto; }
  .footer__brand { font-size: 60px; padding: 26px 16px; }
  .footer__company { margin-top: 64px; }
}

/* ===== 下層ページ（法的ページ・送信完了） ===== */
.page-header { padding: 32px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.page-header a { font-family: var(--brush); font-weight: 800; font-size: 30px; letter-spacing: .2em; color: var(--text); text-decoration: none; }
.page { max-width: 760px; margin: 0 auto; padding: 64px 20px 96px; }
.page h1 { font-size: 22px; font-weight: 500; letter-spacing: .14em; text-align: center; margin: 0 0 48px; line-height: 1.6; }
.page h2 { font-size: 17px; font-weight: 500; margin: 40px 0 8px; letter-spacing: .08em; }
.page p, .page li { line-height: 2; }
.legal-table { width: 100%; border-collapse: collapse; }
.legal-table th, .legal-table td {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.9;
  font-weight: 400;
}
.legal-table th { width: 34%; padding-right: 16px; color: var(--gold-deep); font-size: 14px; }
@media (max-width: 600px) {
  .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table th { border-bottom: 0; padding-bottom: 0; }
}
.page ~ .footer { background: none; border-top: 1px solid var(--line); padding: 40px 20px; text-align: center; }
.page ~ .footer .footer__links { justify-content: center; margin-bottom: 12px; font-size: 13px; }
.todo { background: #FFF3C4; padding: 0 .3em; }
.thanks { text-align: center; }
.thanks p { margin: 0 0 48px; }
