/* ============================================================
   結 (Yui) Design System — 共有スタイル
   申込フォームLP（index / confirm / thanks）+ 特商法ページ（tokusyo）
   ============================================================ */

:root {
  /* ----- Brand palette ----- */
  --yui-pink-50:  #FDEAEC;
  --yui-pink-100: #F7B7C3;
  --yui-pink-500: #FF8FA3;
  --yui-pink-600: #F47A91;

  --yui-navy-700: #2F3A56;
  --yui-navy-500: #64748B;

  --yui-gray-50:  #F8F9FB;
  --yui-gray-100: #F3F4F6;
  --yui-gray-200: #E5E7EB;
  --yui-gray-400: #9CA3AF;

  --yui-white:    #FFFFFF;
  --yui-error:    #E55B6E;
  --yui-success:  #4FB286;

  /* ----- Semantic aliases ----- */
  --fg-1: var(--yui-navy-700);
  --fg-2: var(--yui-navy-500);
  --fg-3: var(--yui-gray-400);
  --fg-accent: var(--yui-pink-500);

  --bg-page: var(--yui-white);
  --bg-soft: var(--yui-pink-50);
  --bg-card: var(--yui-white);
  --bg-muted: var(--yui-gray-100);

  --border-1: var(--yui-gray-200);
  --border-focus: var(--yui-pink-500);

  /* ----- Type ----- */
  --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --fs-display: 36px;
  --fs-h2: 24px;
  --fs-h3: 18px;
  --fs-body: 14px;
  --fs-caption: 12px;
  --fs-micro: 11px;

  --lh-tight: 1.3;
  --lh-body: 1.7;

  /* ----- Spacing (4-base) ----- */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px;

  /* ----- Radii ----- */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* ----- Shadows ----- */
  --shadow-card: 0 1px 2px rgba(47, 58, 86, 0.04), 0 4px 16px rgba(47, 58, 86, 0.06);
  --shadow-pop:  0 8px 32px rgba(47, 58, 86, 0.12);
  --shadow-cta:  0 6px 14px rgba(255, 143, 163, 0.35);

  /* ----- Motion ----- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 140ms;
  --dur-base: 220ms;
}

/* ===== Base / reset ===== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg-1);
  background: var(--yui-gray-50);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
}

h1, h2, h3 { margin: 0; }
a { color: var(--fg-accent); text-decoration: none; transition: opacity var(--dur-fast) var(--ease-out); }
a:hover { opacity: 0.72; }

.yui-icon { width: 20px; height: 20px; display: inline-block; vertical-align: middle; }

/* ===== Page shell ===== */
.yui-page {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-page);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 60px rgba(47, 58, 86, 0.04);
}
.yui-main { flex: 1; }

/* ===== Header (minimal: copyright + legal links) ===== */
.yui-header {
  border-bottom: 1px solid var(--border-1);
  background: var(--bg-page);
  padding: 12px 20px 10px;
  text-align: center;
}
.yui-header-copyright {
  font-size: 10px;
  color: var(--fg-3);
}
.yui-header-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}
.yui-header-nav a { font-size: 11px; color: var(--fg-2); }
.yui-header-nav a:hover { color: var(--fg-accent); opacity: 1; }

/* ===== Page footer (copyright + legal links, moved to bottom) ===== */
.yui-pagefoot {
  border-top: 1px solid var(--border-1);
  background: var(--bg-page);
  padding: 18px 20px 22px;
  text-align: center;
}

/* ===== Hero ===== */
.yui-hero {
  position: relative;
  background: var(--yui-pink-50);
  padding: 0 0 36px;
  overflow: hidden;
}
.yui-hero-petals { position: absolute; inset: 0; pointer-events: none; }
.petal {
  position: absolute;
  width: 14px; height: 14px;
  background: var(--yui-pink-100);
  border-radius: 50% 0 50% 0;
  opacity: 0.55;
  filter: blur(0.5px);
  animation: drift 14s linear infinite;
}
.petal-0 { top: 10%; left: 6%;  animation-delay: -1s; }
.petal-1 { top: 18%; left: 86%; width: 10px; height: 10px; animation-delay: -3s; opacity: .4; }
.petal-2 { top: 58%; left: 12%; width: 8px;  height: 8px;  animation-delay: -6s; opacity: .5; }
.petal-3 { top: 72%; left: 72%; width: 12px; height: 12px; animation-delay: -2s; }
.petal-4 { top: 36%; left: 48%; width: 9px;  height: 9px;  animation-delay: -8s; opacity: .35; }
.petal-5 { top: 8%;  left: 64%; width: 11px; height: 11px; animation-delay: -5s; opacity: .45; }
@keyframes drift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(-10px, 14px) rotate(120deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}
.yui-hero-copy { position: relative; padding: 44px 28px 0; }
.yui-hero-copy h1 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--yui-navy-700);
  letter-spacing: 0.01em;
}
.yui-hero-copy p {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--fg-2);
}

/* ===== Features ===== */
.yui-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 28px 20px;
}
.yui-feature {
  background: #fff;
  border: 1px solid var(--yui-gray-100);
  border-radius: var(--r-md);
  padding: 16px 8px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-card);
}
.yui-feature-chip {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--yui-pink-50);
  color: var(--yui-pink-500);
  display: flex; align-items: center; justify-content: center;
}
.yui-feature-chip .yui-icon { width: 22px; height: 22px; }
.yui-feature-title { font-size: 13px; font-weight: 700; color: var(--fg-1); }
.yui-feature-sub   { font-size: 10.5px; color: var(--fg-2); line-height: 1.55; padding: 0 4px; }

/* ===== Banner ===== */
.yui-banner {
  display: block;
  width: 100%;
  height: auto;
}

/* Honeypot field — 人間には不可視、ボット用トラップ */
.yui-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* ===== Form shell ===== */
.yui-form-shell { padding: 24px 20px 32px; }
.yui-form {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
.yui-form h2 { text-align: center; font-size: 22px; font-weight: 700; color: var(--fg-1); }
.yui-form-intro { margin: 10px 0 22px; text-align: center; font-size: 12.5px; color: var(--fg-2); line-height: 1.8; }

/* Callout */
.yui-callout {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--yui-pink-50);
  color: var(--yui-pink-600);
  border-radius: var(--r-md);
  padding: 11px 14px;
  font-weight: 700; font-size: 13.5px;
  margin-bottom: 22px;
}
.yui-callout .yui-icon { width: 18px; height: 18px; }

/* Steps */
.yui-steps { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 24px; }
.yui-step { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.yui-step-dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--border-1);
  color: var(--fg-3);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px;
  transition: all var(--dur-base) var(--ease-out);
}
.yui-step-dot .yui-icon { width: 14px; height: 14px; }
.yui-step.is-current .yui-step-dot,
.yui-step.is-done .yui-step-dot {
  background: var(--yui-pink-500); border-color: var(--yui-pink-500); color: #fff;
}
.yui-step-label { font-size: 10.5px; color: var(--fg-3); }
.yui-step.is-current .yui-step-label { color: var(--yui-pink-500); font-weight: 700; }
.yui-step.is-done .yui-step-label { color: var(--fg-2); }
.yui-step-bar { width: 42px; height: 2px; background: var(--border-1); margin-bottom: 18px; border-radius: 2px; transition: background var(--dur-base) var(--ease-out); }
.yui-step-bar.is-done { background: var(--yui-pink-500); }

/* Fields */
.yui-field { margin-bottom: 16px; }
.yui-field:last-of-type { margin-bottom: 0; }
.yui-field-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--fg-1); margin-bottom: 6px; }
.yui-required {
  background: var(--yui-pink-50);
  color: var(--yui-pink-600);
  font-size: 10px; font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  letter-spacing: 0.05em;
}
.yui-field input[type="text"],
.yui-field input[type="tel"],
.yui-field input[type="email"],
.yui-select select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border-1);
  border-radius: var(--r-sm);
  font: 14px/1 var(--font-sans);
  color: var(--fg-1);
  background: #fff;
  outline: none;
  transition: border var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.yui-field input::placeholder { color: var(--fg-3); }
.yui-field input:focus,
.yui-select select:focus {
  border-color: var(--yui-pink-500);
  box-shadow: 0 0 0 4px rgba(255, 143, 163, 0.18);
}
.yui-field.has-error input,
.yui-field.has-error .yui-select select { border-color: var(--yui-error); background: #FFF7F8; }
.yui-field-hint  { margin-top: 4px; font-size: 11px; color: var(--fg-3); }
.yui-field-error { margin-top: 4px; font-size: 11px; color: var(--yui-error); display: none; }
.yui-field.has-error .yui-field-error { display: block; }

/* Select */
.yui-select { position: relative; }
.yui-select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.yui-select .yui-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--fg-2); pointer-events: none; }

/* Checkbox */
.yui-check {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; padding: 10px 12px;
  border: 1px solid var(--border-1); border-radius: var(--r-sm);
  transition: border var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.yui-check:hover { border-color: var(--yui-pink-100); background: #FFFAFB; }
.yui-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.yui-check-box {
  flex: none; width: 20px; height: 20px;
  border: 1.5px solid var(--border-1); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: #fff; margin-top: 1px;
  transition: all var(--dur-fast) var(--ease-out);
}
.yui-check-box .yui-icon { width: 14px; height: 14px; opacity: 0; }
.yui-check input:checked + .yui-check-box { background: var(--yui-pink-500); border-color: var(--yui-pink-500); }
.yui-check input:checked + .yui-check-box .yui-icon { opacity: 1; }
.yui-check input:focus-visible + .yui-check-box { box-shadow: 0 0 0 4px rgba(255, 143, 163, 0.18); }
.yui-check-text { font-size: 13px; font-weight: 500; color: var(--fg-1); line-height: 1.6; }
.yui-field.has-error .yui-check { border-color: var(--yui-error); background: #FFF7F8; }

/* Legal note in form */
.yui-form-legal { margin: 18px 0 22px; font-size: 11.5px; color: var(--fg-2); line-height: 1.7; }
.yui-form-legal a { color: var(--yui-pink-500); text-decoration: underline; text-underline-offset: 2px; }

/* Trust row */
.yui-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--yui-gray-100); }
.yui-trust span { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--fg-2); }
.yui-trust .yui-icon { width: 14px; height: 14px; color: var(--yui-success); }

/* CTAs */
.yui-cta {
  width: 100%; height: 52px;
  border: none; border-radius: var(--r-md);
  background: var(--yui-pink-500); color: #fff;
  font: 700 15px/1 var(--font-sans);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  box-shadow: var(--shadow-cta);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.yui-cta:hover { opacity: 0.92; }
.yui-cta:active { background: var(--yui-pink-600); transform: translateY(1px); box-shadow: 0 2px 6px rgba(255, 143, 163, 0.3); }
.yui-cta:disabled { background: var(--yui-gray-200); color: #fff; box-shadow: none; cursor: default; }
.yui-cta .yui-icon { width: 18px; height: 18px; }

.yui-cta-secondary {
  height: 48px; padding: 0 28px;
  border: 1.5px solid var(--yui-pink-500);
  background: #fff; color: var(--yui-pink-500);
  border-radius: var(--r-md);
  font: 700 14px/1 var(--font-sans);
  cursor: pointer;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.yui-cta-secondary:hover { opacity: 0.85; }

.yui-actions { display: flex; gap: 12px; align-items: stretch; }
.yui-actions .yui-cta-secondary { flex: 0 0 auto; }
.yui-actions .yui-cta { flex: 1; }

.yui-submit-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4); border-top-color: #fff;
  border-radius: 50%;
  animation: yui-spin 0.8s linear infinite;
  display: none;
}
@keyframes yui-spin { to { transform: rotate(360deg); } }

/* Error box (submit failure) */
.yui-error-box {
  margin-top: 16px;
  background: #FFF1F3; border: 1px solid rgba(229, 91, 110, 0.25);
  color: var(--yui-error);
  padding: 12px 14px; border-radius: var(--r-md);
  font-size: 12.5px; text-align: center; display: none;
}
.yui-error-box.show { display: block; }

/* Confirm */
.yui-confirm { margin: 0 0 24px; }
.yui-confirm > div {
  display: grid; grid-template-columns: 110px 1fr; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--yui-gray-100);
}
.yui-confirm > div:last-child { border-bottom: none; }
.yui-confirm dt { margin: 0; font-size: 12px; color: var(--fg-2); font-weight: 500; }
.yui-confirm dd { margin: 0; font-size: 14px; color: var(--fg-1); word-break: break-all; }

.yui-confirm-check {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-1);
}
.yui-confirm-check .yui-icon {
  width: 14px;
  height: 14px;
  color: var(--yui-pink-500);
  flex-shrink: 0;
}

/* Done */
.yui-done { text-align: center; }
.yui-done-icon {
  margin: 14px auto 8px;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--yui-pink-50); color: var(--yui-pink-500);
  display: flex; align-items: center; justify-content: center;
  animation: yui-pop 0.5s var(--ease-out) both;
}
.yui-done-icon .yui-icon { width: 32px; height: 32px; }
@keyframes yui-pop { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }
.yui-done h2 { margin-top: 8px; }
.yui-done p { font-size: 13px; line-height: 1.9; color: var(--fg-2); margin: 14px 0 24px; }

.yui-info-box {
  text-align: left;
  background: var(--yui-pink-50);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin: 20px 0 8px;
}
.yui-info-box .info-title { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--yui-pink-600); margin-bottom: 6px; }
.yui-info-box .info-title .yui-icon { width: 16px; height: 16px; }
.yui-info-box p { font-size: 12px; color: var(--fg-2); line-height: 1.7; margin: 0; }

.yui-next-steps { text-align: left; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--yui-gray-100); }
.yui-next-steps .ns-title { text-align: center; font-size: 13px; font-weight: 700; color: var(--fg-1); margin-bottom: 16px; }
.yui-next-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.yui-next-item:last-child { margin-bottom: 0; }
.yui-next-num {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--yui-pink-500); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.yui-next-text strong { display: block; font-size: 13px; color: var(--fg-1); margin-bottom: 2px; }
.yui-next-text span { font-size: 11.5px; color: var(--fg-2); }

/* ===== Footer ===== */
.yui-footer { margin-top: 24px; }
.yui-footer-inner {
  display: flex; flex-direction: column; gap: 16px;
  padding: 28px 24px 18px;
  background: #fff;
  border-top: 1px solid var(--border-1);
}
.yui-footer-name { font-size: 14px; font-weight: 700; color: var(--yui-navy-700); letter-spacing: 0.02em; }
.yui-footer-links { display: flex; flex-direction: column; gap: 10px; }
.yui-footer-links a { font-size: 12px; color: var(--fg-2); }
.yui-footer-links a:hover { color: var(--yui-pink-500); opacity: 1; }
.yui-footer-band {
  background: var(--yui-navy-700);
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px; text-align: center;
  padding: 14px 20px; letter-spacing: 0.02em;
}

/* ===== Document page (tokusyo.html) — same brand, formal flat layout ===== */
/* 戻るボタン：左上に固定したピンク円・矢印アイコンのみ
   - left は max() で「mobile: viewport左20px / desktop: ページ左端+20px」へ自動追従
   - 登場時に弾むポップイン、ホバーで矢印が"戻る方向"へ-2px寄る微動 */
.doc-back {
  position: fixed;
  top: 20px;
  left: max(20px, calc(50% - 260px));
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.22), transparent 55%),
    var(--yui-pink-500);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(255, 143, 163, 0.4),
              0 1px 2px rgba(47, 58, 86, 0.06);
  opacity: 0;
  animation: doc-back-in 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s forwards;
  transition: background-color var(--dur-fast) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.doc-back svg {
  width: 18px;
  height: 18px;
  display: block;
  transition: transform var(--dur-base) var(--ease-out);
}
.doc-back:hover {
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.22), transparent 55%),
    var(--yui-pink-600);
  transform: scale(1.06);
  box-shadow: 0 10px 24px rgba(255, 143, 163, 0.5),
              0 2px 4px rgba(47, 58, 86, 0.08);
  opacity: 1;
}
.doc-back:hover svg { transform: translateX(-2px); }
.doc-back:active {
  transform: scale(0.96);
  box-shadow: 0 3px 8px rgba(255, 143, 163, 0.35);
}
.doc-back:focus-visible {
  outline: 3px solid rgba(255, 143, 163, 0.45);
  outline-offset: 3px;
}
@keyframes doc-back-in {
  from { opacity: 0; transform: scale(0.55); }
  to   { opacity: 1; transform: scale(1); }
}

.doc { padding: 0 20px; }
/* 先頭docのトップ余白：
   - デスクトップは固定ボタンが水平方向で本文と被らないため最小
   - モバイル（≤480px）は h1 が幅いっぱいになり初期表示で被るので、ボタン下まで押し下げる */
.doc:first-of-type { padding-top: 16px; }

.doc-title {
  text-align: center;
  padding: 22px 0 20px;
  margin: 0 0 32px;
  border-top: 1px solid var(--yui-gray-200);
  border-bottom: 1px solid var(--yui-gray-200);
}
.doc-title h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--yui-navy-700);
  letter-spacing: 0.08em;
  line-height: 1.55;
  margin: 0;
}
.doc-title h1::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--yui-pink-500);
  margin: 14px auto 0;
}

.doc-section { margin-top: 36px; }
.doc-section:first-of-type { margin-top: 0; }
.doc-section h2 {
  position: relative;
  padding-left: 14px;
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--yui-navy-700);
  letter-spacing: 0.02em;
  line-height: 1.6;
}
.doc-section h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 3px;
  border-radius: 1.5px;
  background: var(--yui-pink-500);
}

/* 特商法側のみ、編集物らしいセクション番号（01–08）を自動付与 */
#tokusyo { counter-reset: tokusyo-section; }
#tokusyo .doc-section { counter-increment: tokusyo-section; }
#tokusyo .doc-section h2 { padding-left: 50px; }
#tokusyo .doc-section h2::after {
  content: counter(tokusyo-section, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--yui-pink-500);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.doc-body { color: var(--yui-navy-700); }
.doc-body p {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--yui-navy-700);
}
.doc-body p:last-child { margin-bottom: 0; }
.doc-body ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}
.doc-body ul li {
  position: relative;
  padding: 4px 0 4px 18px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--yui-navy-700);
}
.doc-body ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yui-pink-500);
}

.doc-info { margin: 0; padding: 0; }
.doc-info-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--yui-gray-200);
  align-items: baseline;
}
.doc-info-row:first-child { padding-top: 0; }
.doc-info-row:last-child { border-bottom: none; padding-bottom: 0; }
.doc-info dt {
  margin: 0;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--yui-navy-500);
  letter-spacing: 0.06em;
}
.doc-info dd {
  margin: 0;
  font-size: 13.5px;
  color: var(--yui-navy-700);
  line-height: 1.8;
}
.doc-note {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--yui-navy-500);
  line-height: 1.7;
}

.doc-address {
  font-style: normal;
  margin: 16px 0 0;
  padding: 18px 0;
  border-top: 1px solid var(--yui-gray-200);
  border-bottom: 1px solid var(--yui-gray-200);
  font-size: 13.5px;
  color: var(--yui-navy-700);
  line-height: 1.95;
}

.doc-date {
  margin: 24px 0 0;
  text-align: right;
  font-size: 12px;
  color: var(--yui-navy-500);
}

.doc-divider {
  border: none;
  margin: 56px auto;
  height: 1px;
  background: var(--yui-gray-200);
  position: relative;
  max-width: 320px;
}
.doc-divider::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yui-pink-500);
  border: 4px solid var(--yui-white);
}

@media (max-width: 480px) {
  .doc-info-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }
  /* 初期表示でh1とボタンが被らないようにタイトルを下げる
     （スクロール後はボタンが追従して本文に重なる挙動はそのまま） */
  .doc:first-of-type { padding-top: 68px; }
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(16px); animation: revealUp 0.6s var(--ease-out) forwards; }
.reveal-d1 { animation-delay: 0.05s; }
.reveal-d2 { animation-delay: 0.18s; }
.reveal-d3 { animation-delay: 0.3s; }
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Desktop ===== */
@media (min-width: 600px) {
  .yui-hero-copy { padding-top: 52px; }
  .yui-hero-copy h1 { font-size: 34px; }
}
