/* ==========================================================================
   Apfilia — Billing
   Mobile-first / 高級感・信頼感のあるミニマルデザイン
   ========================================================================== */

:root {
  --ink: #14171c;
  --ink-soft: #2b2f36;
  --muted: #62676f;
  --faint: #8f949c;
  --line: #e7e1d5;
  --line-strong: #d3c9b6;
  --bg: #f6f3ed;
  --bg-deep: #efeae0;
  --surface: #ffffff;
  --navy: #141b2b;
  --navy-2: #1f2940;
  --gold: #b89a5e;
  --gold-text: #7f6430;
  --gold-light: #e6d8b8;
  --gold-bg: #f7f1e3;
  --ok: #2d6a4f;
  --ok-bg: #edf5f0;
  --warn: #85560a;
  --warn-bg: #fbf3e2;
  --danger: #9b2c2c;
  --danger-bg: #fbeeed;

  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
  --latin: "Cormorant Garamond", "Shippori Mincho", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", YuGothic, Meiryo, sans-serif;

  --radius: 4px;
  --radius-lg: 6px;
  --shadow-sm: 0 1px 2px rgba(20, 23, 28, .04);
  --shadow: 0 1px 2px rgba(20, 23, 28, .04), 0 12px 32px -12px rgba(20, 23, 28, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --gutter: 20px;
  --header-h: 60px;
  color-scheme: light;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 72px; }
}

/* ---------- Reset / Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: .03em;
  font-feature-settings: "palt" 1;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-wrap: anywhere;
}

@media (min-width: 768px) { body { font-size: 15.5px; } }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.5; word-break: auto-phrase; }
.nb { display: inline-block; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
::selection { background: var(--gold-light); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.icon { width: 1.15em; height: 1.15em; flex: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius);
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}
.container-narrow { max-width: 600px; }
.container-mid { max-width: 820px; }

main { flex: 1 0 auto; }

.section { padding-block: 56px; }
@media (min-width: 768px) { .section { padding-block: 96px; } }

.page { padding-block: 32px 72px; }
@media (min-width: 768px) { .page { padding-block: 56px 112px; } }

/* ---------- Test mode ribbon ---------- */

.test-ribbon {
  background: repeating-linear-gradient(135deg, #f3e4bd 0 12px, #efdcaa 12px 24px);
  color: #5b4209;
  font-size: 12px;
  text-align: center;
  padding: 6px 12px;
  letter-spacing: .08em;
  line-height: 1.6;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 243, 237, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
  flex-shrink: 0;
}
.brand-mark {
  white-space: nowrap;
  font-family: var(--latin);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .34em;
  line-height: 1;
  padding-left: .06em;
}
.brand-sub {
  display: none;
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--muted);
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
  line-height: 1.3;
  white-space: nowrap;
}
@media (min-width: 640px) {
  .brand-mark { font-size: 25px; }
  .brand-sub { display: block; }
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .nav button {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 12px;
  font-size: 13px; letter-spacing: .08em;
  text-decoration: none; color: var(--ink-soft);
  background: none; border: 0; border-radius: var(--radius);
  transition: color .2s, background-color .2s;
  white-space: nowrap;
}
.nav a:hover, .nav button:hover { color: var(--ink); background: rgba(20, 27, 43, .05); }
.nav .nav-cta {
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 0 16px;
  margin-left: 4px;
}
.nav .nav-cta:hover { background: var(--navy); color: #f5ecd9; border-color: var(--navy); }
.nav form { margin: 0; }
.nav .icon { width: 17px; height: 17px; }
@media (max-width: 480px) {
  .nav .nav-label-long { display: none; }
  .nav .nav-icon-only { padding: 0; width: 44px; justify-content: center; }
  .nav .nav-icon-only .icon { width: 19px; height: 19px; }
}
@media (max-width: 380px) {
  .nav a, .nav button { padding: 0 9px; font-size: 12.5px; }
  .nav .nav-cta { padding: 0 12px; }
  .brand-mark { font-size: 20px; letter-spacing: .28em; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: rgba(245, 236, 217, .72);
  font-size: 12.5px;
  padding-block: 44px calc(36px + env(safe-area-inset-bottom));
  margin-top: auto;
}
.site-footer .container { display: grid; gap: 24px; }
.footer-brand { font-family: var(--latin); font-size: 21px; letter-spacing: .34em; color: #f5ecd9; }
.footer-brand + p { margin: 6px 0 0; font-size: 12px; letter-spacing: .12em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: rgba(245, 236, 217, .82); text-decoration: none; display: inline-block; padding: 6px 0; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(245, 236, 217, .12);
  padding-top: 20px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-size: 11.5px; color: rgba(245, 236, 217, .5); letter-spacing: .08em;
}
.footer-secure { display: inline-flex; align-items: center; gap: 6px; }
.footer-secure .icon { color: var(--gold); }
@media (min-width: 768px) {
  .site-footer .container { grid-template-columns: 1fr auto; align-items: end; }
  .footer-bottom { grid-column: 1 / -1; }
}

/* ---------- Typography ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--latin);
  font-size: 13px; font-weight: 600; font-style: italic;
  letter-spacing: .22em;
  color: var(--gold-text);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.eyebrow-center { justify-content: center; }
.eyebrow-center::after { content: ""; width: 28px; height: 1px; background: var(--gold); }

.page-title {
  font-family: var(--serif);
  font-size: clamp(24px, 6.2vw, 34px);
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.5;
}
.page-lead { color: var(--muted); margin-top: 12px; font-size: 14.5px; }
.page-lead, .section-head p, .text-center p { word-break: auto-phrase; text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
.page-head { margin-bottom: 28px; }
.page-head-center { text-align: center; }
@media (min-width: 768px) { .page-head { margin-bottom: 40px; } }

.section-title {
  font-family: var(--serif);
  font-size: clamp(22px, 5.4vw, 30px);
  letter-spacing: .1em;
  line-height: 1.55;
}
.section-head { text-align: center; margin-bottom: 36px; }
.section-head p { color: var(--muted); margin-top: 14px; }
@media (min-width: 768px) { .section-head { margin-bottom: 56px; } }

.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; line-height: 1.7; }
.num { font-family: var(--latin); font-feature-settings: "lnum" 1, "tnum" 1; letter-spacing: .02em; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-0 { margin-bottom: 0 !important; }

.link {
  color: var(--gold-text);
  text-decoration: underline;
  text-decoration-color: var(--gold-light);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color .2s;
}
.link:hover { text-decoration-color: var(--gold-text); }

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14.5px; font-weight: 600; letter-spacing: .12em;
  line-height: 1.4;
  text-decoration: none; text-align: center;
  cursor: pointer;
  -webkit-user-select: none; user-select: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), transform .1s;
  touch-action: manipulation;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn-block { display: flex; width: 100%; }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 13px; letter-spacing: .08em; }

.btn-primary {
  background: var(--navy);
  color: #f5ecd9;
  box-shadow: inset 0 0 0 1px rgba(184, 154, 94, 0);
}
.btn-primary:hover { background: var(--navy-2); box-shadow: inset 0 0 0 1px rgba(184, 154, 94, .7); }
.btn-primary .icon { color: var(--gold); }

.btn-gold { background: var(--gold); color: #1a1409; }
.btn-gold:hover { background: #c6a96c; }

.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: var(--surface); }

.btn-light { background: transparent; border-color: rgba(245, 236, 217, .4); color: #f5ecd9; }
.btn-light:hover { border-color: var(--gold); color: #fff; }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #862424; }
.btn-danger-outline { background: transparent; border-color: #dcb9b6; color: var(--danger); }
.btn-danger-outline:hover { border-color: var(--danger); background: var(--danger-bg); }

.btn-text {
  min-height: 44px; padding: 8px 4px;
  background: none; border: 0; color: var(--muted);
  font-weight: 500; letter-spacing: .06em; font-size: 13.5px;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong);
}
.btn-text:hover { color: var(--ink); text-decoration-color: currentColor; }

.btn[disabled], .btn.is-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }

.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading .icon { opacity: 0; }
.btn.is-loading::after {
  content: "";
  position: absolute; inset: 0; margin: auto;
  width: 20px; height: 20px;
  border: 2px solid rgba(245, 236, 217, .35);
  border-top-color: #f5ecd9;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn-outline.is-loading::after, .btn-text.is-loading::after, .btn-danger-outline.is-loading::after { border-color: rgba(20, 23, 28, .15); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

.btn-row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) {
  .btn-row { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .btn-row-end { justify-content: flex-end; }
  .btn-row-center { justify-content: center; }
}

/* ---------- Cards ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 26px 22px;
}
@media (min-width: 640px) { .card { padding: 40px 44px; } }
.card-flat { box-shadow: var(--shadow-sm); }
.card + .card { margin-top: 20px; }
@media (min-width: 768px) { .card + .card { margin-top: 28px; } }

.card-title {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: .08em;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.card-title .icon { color: var(--gold); width: 20px; height: 20px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card-head .card-title { margin-bottom: 0; }

.card-gold-top { position: relative; overflow: hidden; }
.card-gold-top::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
}

/* ---------- Forms ---------- */

.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; gap: 22px; }
@media (min-width: 640px) { .field-row-2 { grid-template-columns: 1fr 1fr; } }

.label {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--ink-soft);
}
.req, .opt {
  display: inline-block;
  font-size: 10.5px; font-weight: 600; letter-spacing: .1em;
  padding: 1px 7px; border-radius: 2px; line-height: 1.7;
}
.req { background: var(--navy); color: #f5ecd9; }
.opt { background: var(--bg-deep); color: var(--muted); }

.input, .select, .textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 16px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 16px; /* iOSの自動ズーム防止 */
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #b0b3b8; }
.input:hover, .select:hover, .textarea:hover { border-color: #bfb39c; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(184, 154, 94, .28);
}
.input[readonly] { background: var(--bg); color: var(--muted); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] {
  border-color: var(--danger);
  background: #fffafa;
}
.textarea { min-height: 120px; resize: vertical; }
.select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2362676f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

.field-hint { font-size: 12.5px; color: var(--muted); line-height: 1.7; margin: 0; }
.field-error {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: 13px; color: var(--danger); line-height: 1.6; margin: 0;
}
.field-error .icon { width: 16px; height: 16px; margin-top: 2px; }

.input-group { position: relative; }
.input-group .input { padding-right: 56px; }
.input-addon {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 54px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; color: var(--faint);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.input-addon:hover { color: var(--ink); }
.input-addon .icon { width: 20px; height: 20px; }

.strength { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); min-height: 18px; }
.strength-bar { flex: 1; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; position: relative; }
.strength-bar span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--danger); transition: width .3s var(--ease), background-color .3s; }
.strength[data-level="1"] .strength-bar span { width: 33%; background: var(--danger); }
.strength[data-level="2"] .strength-bar span { width: 66%; background: #c08a2b; }
.strength[data-level="3"] .strength-bar span { width: 100%; background: var(--ok); }

.check {
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer; line-height: 1.7; font-size: 14px;
  padding: 4px 0;
}
.check input {
  flex: none;
  width: 22px; height: 22px; margin: 1px 0 0;
  accent-color: var(--navy);
  cursor: pointer;
}
.check-box {
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .2s, background-color .2s;
}
.check-box:has(input:checked) { border-color: var(--navy); background: #fbfaf7; }

.form-foot { display: grid; gap: 14px; margin-top: 6px; }
.form-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; font-size: 13.5px; }

/* ---------- Alerts / Flash ---------- */

.alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid;
  font-size: 14px; line-height: 1.75;
  margin-bottom: 20px;
}
.alert > .icon { width: 20px; height: 20px; margin-top: 2px; }
.alert-body { flex: 1; min-width: 0; }
.alert-body p:last-child { margin-bottom: 0; }
.alert-title { font-weight: 700; margin-bottom: 4px; letter-spacing: .06em; }
.alert-info { background: #f3f5f8; border-color: #dde3ec; color: #27354d; }
.alert-success { background: var(--ok-bg); border-color: #cfe3d7; color: #1f4d39; }
.alert-warn { background: var(--warn-bg); border-color: #efdcb3; color: #5f3f08; }
.alert-danger { background: var(--danger-bg); border-color: #efcfcc; color: #7a2020; }
.alert-close {
  flex: none; margin: -8px -8px -8px 0;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; color: inherit; opacity: .6; border-radius: var(--radius);
}
.alert-close:hover { opacity: 1; }
.alert-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
@media (max-width: 639px) {
  .alert-actions { flex-direction: column; }
  .alert-actions > form, .alert-actions .btn { width: 100%; }
}
.flash-stack { margin-top: 20px; }
.flash-stack .alert { box-shadow: var(--shadow-sm); }

/* ---------- Badge ---------- */

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  line-height: 1.4;
  white-space: nowrap;
  border: 1px solid;
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-active { color: var(--ok); background: var(--ok-bg); border-color: #cfe3d7; }
.badge-active .badge-dot { box-shadow: 0 0 0 3px rgba(45, 106, 79, .15); }
.badge-canceling { color: var(--warn); background: var(--warn-bg); border-color: #efdcb3; }
.badge-past_due { color: var(--danger); background: var(--danger-bg); border-color: #efcfcc; }
.badge-terminated, .badge-none { color: var(--muted); background: var(--bg); border-color: var(--line); }
.badge-deleted { color: var(--muted); background: var(--bg-deep); border-color: var(--line); }

/* ---------- Stepper ---------- */

.stepper {
  list-style: none; margin: 0 auto 32px; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 520px;
  counter-reset: step;
}
.stepper li {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .06em; color: var(--faint);
  text-align: center; line-height: 1.4;
}
.stepper li::before {
  counter-increment: step;
  content: counter(step);
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-family: var(--latin); font-size: 15px; font-weight: 600;
  color: var(--faint);
  position: relative; z-index: 1;
}
.stepper li::after {
  content: ""; position: absolute; top: 15px; left: calc(50% + 15px); right: calc(-50% + 15px);
  height: 1px; background: var(--line-strong);
}
.stepper li:last-child::after { display: none; }
.stepper li.is-done { color: var(--muted); }
.stepper li.is-done::before { content: "✓"; font-family: var(--sans); font-size: 13px; background: var(--gold-bg); border-color: var(--gold); color: var(--gold-text); }
.stepper li.is-done::after { background: var(--gold); }
.stepper li.is-current { color: var(--ink); font-weight: 700; }
.stepper li.is-current::before { background: var(--navy); border-color: var(--navy); color: #f5ecd9; box-shadow: 0 0 0 4px rgba(184, 154, 94, .25); }
@media (min-width: 640px) { .stepper li { font-size: 12px; } }

/* ---------- Definition list ---------- */

.dl { margin: 0; border-top: 1px solid var(--line); }
.dl-row {
  display: grid; gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.dl dt { font-size: 12px; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.dl dd { margin: 0; font-size: 15px; color: var(--ink); line-height: 1.7; min-width: 0; }
.dl dd .sub { display: block; font-size: 12.5px; color: var(--muted); }
@media (min-width: 640px) {
  .dl-row { grid-template-columns: 180px 1fr; gap: 20px; align-items: baseline; padding: 18px 0; }
}

.card-number { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card-brand-chip {
  display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  padding: 2px 8px; border: 1px solid var(--line-strong); border-radius: 3px; color: var(--ink-soft);
  background: var(--bg);
}
.dots { letter-spacing: .18em; color: var(--muted); }

/* ---------- Action list (mypage) ---------- */

.action-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.action-list li { border-bottom: 1px solid var(--line); }
.action-list a, .action-list button {
  display: flex; align-items: center; gap: 16px;
  width: 100%;
  min-height: 72px; padding: 14px 4px;
  text-align: left; text-decoration: none;
  background: none; border: 0; color: var(--ink);
  transition: background-color .2s, padding .25s var(--ease);
}
.action-list a:hover, .action-list button:hover { background: rgba(247, 241, 227, .6); padding-inline: 12px 8px; }
.action-icon {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gold-bg); color: var(--gold-text);
}
.action-icon .icon { width: 20px; height: 20px; }
.action-text { flex: 1; min-width: 0; display: grid; gap: 1px; }
.action-text strong { font-size: 15px; font-weight: 600; letter-spacing: .06em; }
.action-text span { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.action-list .chev { color: var(--faint); width: 18px; height: 18px; }
.action-list .is-danger .action-icon { background: var(--danger-bg); color: var(--danger); }
.action-list form { margin: 0; }

/* ---------- Status hero (mypage) ---------- */

.status-card { padding: 0; overflow: hidden; }
.status-top {
  position: relative;
  background: var(--navy);
  color: #f5ecd9;
  padding: 26px 22px 28px;
  overflow: hidden;
}
.status-top::after {
  content: ""; position: absolute; right: -60px; top: -80px;
  width: 260px; height: 260px; border-radius: 50%;
  border: 1px solid rgba(184, 154, 94, .25);
  box-shadow: 0 0 0 28px rgba(184, 154, 94, .05), 0 0 0 56px rgba(184, 154, 94, .03);
  pointer-events: none;
}
.status-top .eyebrow { color: var(--gold); margin-bottom: 10px; }
.status-top .eyebrow::before { background: var(--gold); }
.status-plan { font-family: var(--serif); font-size: 17px; letter-spacing: .08em; line-height: 1.6; }
.status-price { display: flex; align-items: baseline; gap: 6px; margin-top: 14px; }
.status-price .num { font-size: 42px; font-weight: 500; line-height: 1; color: #fff; }
.status-price .unit { font-size: 13px; color: rgba(245, 236, 217, .7); letter-spacing: .08em; }
.status-top .badge { position: absolute; top: 24px; right: 20px; z-index: 1; background: rgba(255, 255, 255, .96); }
.status-body { padding: 8px 22px 24px; }
@media (min-width: 640px) {
  .status-top { padding: 36px 44px 38px; }
  .status-top .badge { top: 34px; right: 40px; }
  .status-body { padding: 16px 44px 36px; }
  .status-price .num { font-size: 50px; }
}

/* ---------- Hero (top page) ---------- */

.hero {
  position: relative;
  background: var(--navy);
  color: #f5ecd9;
  overflow: hidden;
  isolation: isolate;
}
/* 背景写真。文字の可読性のため、上に紺のグラデーションを重ねています */
.hero-media {
  position: absolute; inset: 0; z-index: -2;
  display: block; background: var(--navy);
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 45%;
  /* 写真の明るい側（制作画面）が右に来るよう左右反転しています */
  transform: scaleX(-1);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(20, 27, 43, .97) 0%, rgba(20, 27, 43, .95) 32%, rgba(20, 27, 43, .78) 56%, rgba(20, 27, 43, .46) 100%),
    radial-gradient(ellipse 70% 60% at 85% 0%, rgba(184, 154, 94, .22), transparent 62%),
    radial-gradient(ellipse 60% 70% at 0% 100%, rgba(62, 84, 130, .30), transparent 60%);
}
@media (max-width: 899px) {
  /* 縦積みになるスマホでは、写真の上に文字が乗るため濃いめに覆います */
  .hero::before {
    background:
      linear-gradient(180deg, rgba(20, 27, 43, .95) 0%, rgba(20, 27, 43, .90) 55%, rgba(20, 27, 43, .96) 100%),
      radial-gradient(ellipse 80% 50% at 80% 0%, rgba(184, 154, 94, .18), transparent 60%);
  }
  .hero-media img { object-position: 50% 40%; }
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 1px; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(184, 154, 94, .6), transparent);
}
.hero-inner {
  display: grid; gap: 40px;
  padding-block: 56px 64px;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 64px; padding-block: 104px 112px; }
}
.hero .eyebrow { color: var(--gold); }
.hero .eyebrow::before { background: var(--gold); }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(24px, 6.5vw, 46px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .08em;
  color: #fff;
}
.hero-title em { font-style: normal; color: var(--gold-light); }
.hero-lead { margin-top: 22px; color: rgba(245, 236, 217, .78); font-size: 14.5px; line-height: 2; max-width: 34em; }
.hero-actions { margin-top: 32px; display: grid; gap: 12px; }
@media (min-width: 520px) { .hero-actions { display: flex; flex-wrap: wrap; } }
.hero-note { margin-top: 18px; font-size: 12px; color: rgba(245, 236, 217, .55); display: flex; align-items: center; gap: 8px; }
.hero-note .icon { color: var(--gold); }

.price-card {
  position: relative;
  /* 背景写真の上に載るため、下地を濃いめにして可読性を確保します */
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)),
    linear-gradient(160deg, rgba(16, 22, 36, .90), rgba(16, 22, 36, .82));
  border: 1px solid rgba(184, 154, 94, .35);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: 0 24px 60px -24px rgba(8, 12, 22, .7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.price-card::before, .price-card::after {
  content: ""; position: absolute; width: 16px; height: 16px; border: 1px solid var(--gold);
}
.price-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.price-card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
@media (min-width: 640px) { .price-card { padding: 40px 40px; } }
.price-label { font-size: 12px; letter-spacing: .2em; color: rgba(245, 236, 217, .7); }
.price-main { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 4px; color: #fff; }
.price-main .yen { font-family: var(--latin); font-size: 28px; }
.price-main .num { font-size: 64px; font-weight: 500; line-height: 1; }
.price-main .per { font-size: 14px; color: rgba(245, 236, 217, .7); margin-left: 4px; letter-spacing: .08em; }
.price-tax { font-size: 12px; color: rgba(245, 236, 217, .6); letter-spacing: .1em; }
.price-points { list-style: none; margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(245, 236, 217, .14); display: grid; gap: 12px; }
.price-points li { display: flex; gap: 12px; font-size: 13.5px; line-height: 1.7; color: rgba(245, 236, 217, .88); }
.price-points .icon { color: var(--gold); margin-top: 3px; width: 17px; height: 17px; }

/* ---------- Steps / Features ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 22px 22px 76px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) { .step { padding: 30px 24px 28px; } }
.step::before {
  counter-increment: s;
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 22px; top: 20px;
  font-family: var(--latin); font-size: 30px; font-weight: 500; font-style: italic;
  color: var(--gold); line-height: 1;
}
@media (min-width: 768px) { .step::before { position: static; display: block; margin-bottom: 16px; font-size: 36px; } }
.step h3 { font-family: var(--serif); font-size: 16px; letter-spacing: .08em; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.8; }

.features { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 768px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--surface); padding: 28px 24px; }
@media (min-width: 768px) { .feature { padding: 40px 34px; } }
.feature .icon { width: 28px; height: 28px; color: var(--gold); margin-bottom: 16px; }
.feature h3 { font-family: var(--serif); font-size: 17px; letter-spacing: .08em; margin-bottom: 10px; }
.feature p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.9; }

.bg-deep { background: var(--bg-deep); }

/* ---------- Timeline (billing rules) ---------- */

.rules { display: grid; gap: 16px; }
@media (min-width: 768px) { .rules { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.rule {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.rule-label { font-family: var(--latin); font-style: italic; color: var(--gold-text); letter-spacing: .16em; font-size: 13px; font-weight: 600; }
.rule h3 { font-family: var(--serif); font-size: 17px; letter-spacing: .06em; margin: 6px 0 10px; }
.rule p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none;
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px 4px;
  cursor: pointer;
  font-weight: 600; font-size: 15px; letter-spacing: .05em; line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; font-family: var(--latin); font-size: 20px; font-style: italic; color: var(--gold-text); line-height: 1.3; flex: none; width: 18px;
}
.faq summary::after {
  content: ""; flex: none; margin-left: auto; margin-top: 7px;
  width: 11px; height: 11px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }
.faq .answer { padding: 0 4px 22px 36px; color: var(--ink-soft); font-size: 14px; line-height: 1.95; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Tables / Invoice list ---------- */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; color: var(--muted);
  padding: 12px 14px; border-bottom: 1px solid var(--line-strong); white-space: nowrap; background: var(--bg);
}
.table td { padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .right { text-align: right; }

/* モバイルではカード表示 */
@media (max-width: 719px) {
  .table-cards thead { display: none; }
  .table-cards, .table-cards tbody, .table-cards tr, .table-cards td { display: block; width: 100%; }
  .table-cards tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .table-cards tr:last-child { border-bottom: 0; }
  .table-cards td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; gap: 16px; text-align: right; }
  .table-cards td::before { content: attr(data-label); font-size: 12px; color: var(--muted); letter-spacing: .08em; text-align: left; flex: none; }
  .table-cards td.td-main { font-weight: 700; font-size: 15px; justify-content: flex-start; text-align: left; margin-bottom: 4px; }
  .table-cards td.td-main::before { display: none; }
  .table-cards td.td-actions { justify-content: flex-start; margin-top: 8px; gap: 8px; flex-wrap: wrap; }
  .table-cards td.td-actions::before { display: none; }
  .table-cards .right { text-align: right; }
}

.pill {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
  padding: 2px 10px; border-radius: 999px; line-height: 1.7; white-space: nowrap;
}
.pill-paid { background: var(--ok-bg); color: var(--ok); }
.pill-open { background: var(--danger-bg); color: var(--danger); }
.pill-muted { background: var(--bg-deep); color: var(--muted); }

.doc-link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 4px 12px;
  font-size: 12.5px; letter-spacing: .06em; font-weight: 600;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  text-decoration: none; color: var(--ink-soft); background: var(--surface);
  white-space: nowrap;
}
.doc-link:hover { border-color: var(--ink); color: var(--ink); }
.doc-link .icon { width: 15px; height: 15px; }

/* ---------- Auth ---------- */

.auth-wrap { max-width: 480px; margin-inline: auto; }
.auth-card { padding: 30px 22px; }
@media (min-width: 640px) { .auth-card { padding: 44px 48px; } }
.auth-foot { text-align: center; margin-top: 24px; font-size: 13.5px; color: var(--muted); }

.secure-note {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 22px; padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf7;
  font-size: 12.5px; line-height: 1.8; color: var(--muted);
}
.secure-note .icon { color: var(--gold); width: 20px; height: 20px; margin-top: 2px; }

.sent-illust {
  width: 72px; height: 72px; margin: 0 auto 22px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--gold-bg); color: var(--gold-text);
  box-shadow: 0 0 0 10px rgba(247, 241, 227, .6);
}
.sent-illust .icon { width: 32px; height: 32px; }
.sent-illust-ok { background: var(--ok-bg); color: var(--ok); box-shadow: 0 0 0 10px rgba(237, 245, 240, .7); }

/* ---------- Summary (subscribe) ---------- */

.summary {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fbfaf7;
  padding: 4px 20px;
}
.summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line-strong); font-size: 14px; }
.summary-row:last-child { border-bottom: 0; }
.summary-row .k { color: var(--muted); font-size: 13px; flex: none; white-space: nowrap; }
.summary-row .v { text-align: right; font-weight: 600; min-width: 0; word-break: auto-phrase; }
.summary-row .v .num { font-size: 22px; font-weight: 600; }
.summary-total .v .num { font-size: 28px; }
.summary-total .k { flex: 1 1 auto; white-space: normal; }
.summary-total .v { flex: none; white-space: nowrap; }

/* ---------- Legal / Prose ---------- */

.prose { font-size: 14.5px; line-height: 2; color: var(--ink-soft); }
.prose h2 {
  font-family: var(--serif); font-size: 18px; letter-spacing: .08em; color: var(--ink);
  margin: 40px 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; }
.prose ol, .prose ul { padding-left: 1.4em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose .date { text-align: right; color: var(--muted); font-size: 13px; margin-top: 40px; }

.legal-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); font-size: 14px; }
.legal-table th, .legal-table td { padding: 16px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.85; }
.legal-table th { width: 32%; font-weight: 600; color: var(--ink); padding-right: 16px; font-size: 13px; letter-spacing: .06em; }
@media (max-width: 639px) {
  .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table th { padding-bottom: 2px; border-bottom: 0; color: var(--gold-text); }
  .legal-table td { padding-top: 0; }
}

/* ---------- Error ---------- */

.error-code { font-family: var(--latin); font-size: 72px; font-style: italic; color: var(--gold); line-height: 1; margin-bottom: 16px; }

/* ---------- Sticky CTA (mobile top page) ---------- */

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 12px max(16px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: rgba(246, 243, 237, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: flex; gap: 10px; align-items: center;
  transform: translateY(110%);
  transition: transform .35s var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .sticky-price { font-size: 12px; color: var(--muted); line-height: 1.35; white-space: nowrap; }
.sticky-cta .sticky-price strong { display: block; font-family: var(--latin); font-size: 22px; color: var(--ink); font-weight: 600; font-feature-settings: "lnum" 1; letter-spacing: .02em; }
.sticky-cta .btn { flex: 1; min-height: 50px; }
@media (min-width: 768px) { .sticky-cta { display: none; } }
.has-sticky-cta .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) { .has-sticky-cta .site-footer { padding-bottom: calc(36px + env(safe-area-inset-bottom)); } }

/* ---------- Mypage greeting ---------- */

.greeting { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; margin-bottom: 24px; }
.greeting-name { font-family: var(--serif); font-size: clamp(21px, 5.6vw, 28px); letter-spacing: .08em; line-height: 1.5; }
.greeting-company { font-size: 12.5px; color: var(--muted); letter-spacing: .08em; }

.grid-2 { display: grid; gap: 20px; margin-bottom: 20px; }
@media (min-width: 768px) { .grid-2 { margin-bottom: 28px; } }
.grid-2 > .card + .card { margin-top: 0; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; } }

.empty {
  text-align: center; padding: 36px 16px; color: var(--muted); font-size: 14px;
}
.empty .icon { width: 30px; height: 30px; margin: 0 auto 12px; color: var(--line-strong); }

/* ---------- グローバルナビ ---------- */

/* 広い画面だけに出す本体メニュー */
.nav-main { display: none; }
@media (min-width: 1000px) {
  .nav-main { display: flex; align-items: center; gap: 2px; margin-left: auto; }
  .nav-main a {
    display: inline-flex; align-items: center;
    min-height: 44px; padding: 0 14px;
    font-size: 13px; letter-spacing: .1em;
    color: var(--ink-soft); text-decoration: none;
    border-radius: var(--radius);
    transition: color .2s, background-color .2s;
    white-space: nowrap;
  }
  .nav-main a:hover { color: var(--ink); background: rgba(20, 27, 43, .05); }
  .nav-main a[aria-current="page"] { color: var(--gold-text); }
  .site-header .container > .nav { margin-left: 8px; padding-left: 12px; border-left: 1px solid var(--line); }
}

/* 狭い画面用の開閉ボタンとパネル */
/* `.nav button` より詳細度を高くするため .nav を付けています */
.nav .nav-toggle { width: 44px; justify-content: center; padding: 0; }
@media (min-width: 1000px) { .nav .nav-toggle { display: none; } }
@media (max-width: 600px) { .nav .nav-login { display: none; } }

.site-menu {
  border-top: 1px solid var(--line);
  background: rgba(246, 243, 237, .97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.site-menu[hidden] { display: none; }
/* `.site-header .container` の height / justify-content 指定を打ち消します（同じ詳細度のため明示） */
.site-menu .container {
  display: grid; grid-template-columns: 1fr;
  height: auto; padding-block: 8px 16px;
}
.site-menu a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 52px; padding: 0 4px;
  font-size: 14.5px; letter-spacing: .08em;
  color: var(--ink-soft); text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.site-menu a:last-child { border-bottom: 0; }
.site-menu a[aria-current="page"] { color: var(--gold-text); }
.site-menu .icon { width: 16px; height: 16px; color: var(--faint); }

.footer-links-sub { margin-top: 10px; opacity: .78; }

/* ============================================================
   コーポレートページ（サービス / 実例 / 私たちについて / お問い合わせ）
   ============================================================ */

.mt-6 { margin-top: 64px; }
.mb-3 { margin-bottom: 24px; }
.pc-only { display: none; }
@media (min-width: 768px) { .pc-only { display: inline; } }

.hint { margin-top: 8px; font-size: 12px; line-height: 1.7; color: var(--faint); }

/* 写真と文章を左右に並べる帯 */
.media-band { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) {
  .media-band { grid-template-columns: 1fr 1fr; gap: 56px; }
  .media-band-reverse .media-band-figure { order: 2; }
}
.media-band-figure {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.media-band-figure img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.media-band-figure::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(20, 23, 28, .06); border-radius: inherit; pointer-events: none;
}
.media-band-title {
  font-family: var(--serif); font-size: clamp(20px, 4.2vw, 28px); font-weight: 600;
  line-height: 1.7; letter-spacing: .06em; color: var(--ink); margin: 14px 0 18px;
}
.media-band-body p { color: var(--muted); line-height: 2; }
.media-band-body p + p { margin-top: 16px; }

/* 保守の実例カード */
.case-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 720px) { .case-list { grid-template-columns: 1fr 1fr; gap: 20px; } }
.case {
  position: relative; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.case-tag {
  display: inline-block; font-size: 11px; letter-spacing: .14em;
  color: var(--gold-text); background: var(--gold-bg);
  border: 1px solid var(--gold-light); border-radius: 100px; padding: 4px 12px;
}
.case h3 { font-family: var(--serif); font-size: 16px; font-weight: 600; letter-spacing: .04em; margin: 14px 0 10px; }
.case p { font-size: 13.5px; line-height: 1.95; color: var(--muted); }

/* 対象外の一覧 */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.9; color: var(--ink-soft); }
.check-list li::before {
  content: ""; position: absolute; left: 6px; top: .85em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.check-list-muted li { color: var(--muted); }

/* ページ末尾の誘導帯 */
.cta-band {
  text-align: center; padding: 44px 28px;
  background: var(--gold-bg); border: 1px solid var(--gold-light);
  border-radius: var(--radius-lg);
}
.cta-band h2 {
  font-family: var(--serif); font-size: clamp(18px, 3.6vw, 24px); font-weight: 600;
  letter-spacing: .06em; line-height: 1.7; color: var(--ink);
}
.cta-band p { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* お問い合わせ */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.5fr .85fr; gap: 32px; align-items: start; } }
.contact-figure { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.contact-figure img { display: block; width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.aside-title { font-family: var(--serif); font-size: 15px; font-weight: 600; letter-spacing: .06em; color: var(--ink); }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Print ---------- */

@media print {
  .site-header, .site-footer, .sticky-cta, .test-ribbon, .btn { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; border-color: #ccc; }
}
