:root {
  --red: #d60000;
  --red-dark: #b80000;
  --red-soft: #fff3f3;
  --text: #111;
  --muted: #666;
  --line: #e5e5e5;
  --surface: #f8f8f8;
  --shadow: 0 6px 28px rgba(0, 0, 0, .045);
  --radius: 16px;
  --max: 1160px;
  --scroll-offset: 72px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-offset);
}
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .03em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.42; letter-spacing: .04em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.narrow { max-width: 880px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; flex-direction: column; font-weight: 700; line-height: 1.35; }
.brand-main { font-size: 22px; letter-spacing: .05em; }
.brand-main strong { color: var(--red); }
.brand-sub { color: #333; font-size: 12px; font-weight: 500; margin-top: 2px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.global-nav { display: flex; align-items: center; gap: 20px; margin-right: 8px; font-size: 14px; font-weight: 600; }
.global-nav a:hover, .footer-links a:hover { color: var(--red); }
.btn {
  min-height: 52px;
  padding: 12px 31px;
  border-radius: 9px;
  border: 1px solid var(--red);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  line-height: 1.4;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(214, 0, 0, .14); }
.btn-primary { color: white; background: var(--red); }
.btn-secondary { color: var(--red); background: white; }
.btn-arrow::after { content: "›"; font-size: 24px; line-height: 0; }
.header-cta { min-height: 45px; padding: 9px 22px; border-radius: 8px; font-size: 14px; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px 6px;
  border: 0;
  background: transparent;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 28px;
  margin: 7px auto;
  background: #111;
  transition: .2s;
}
.menu-toggle:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 6px; }
.mobile-nav { display: none; }
.mobile-benefit { display: none; }
.anchor-target, section[id], .terms-section, .policy-section, .policy-item { scroll-margin-top: var(--scroll-offset); }

.section { padding: 84px 0; }
.section-soft { background: var(--surface); }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(27px, 3vw, 34px); }
.section-head h2::after, .legal-title::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  border-radius: 2px;
  margin: 16px auto 0;
  background: var(--red);
}
.section-head p { color: var(--muted); margin: 16px auto 0; max-width: 730px; }
.hero { padding: 58px 0 34px; }
.hero-grid { display: grid; grid-template-columns: .94fr 1.06fr; gap: 46px; align-items: center; }
.eyebrow { color: var(--red); font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(36px, 3.4vw, 49px); margin-bottom: 23px; }
.hero h1 strong { color: var(--red); }
.hero-copy { color: #333; margin-bottom: 0; }
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-benefit::after { content: "↗"; font-size: 16px; line-height: 1; }
.hero-visual img { width: 100%; max-height: 510px; object-fit: contain; }

.cards { display: grid; gap: 18px; }
.feature-cards { grid-template-columns: repeat(4, 1fr); margin-top: 38px; }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.card-icon, .category-icon, .step-no {
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  background: var(--red);
  font-weight: 700;
  border-radius: 50%;
}
.card-icon { width: 52px; height: 52px; margin: 0 auto 19px; color: var(--red); background: var(--red-soft); }
.card-icon svg, .category-icon svg, .step-illust svg, .legal-mark svg, .policy-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-icon svg { width: 29px; height: 29px; }
.feature-card { text-align: center; }
.feature-card h3 { font-size: 17px; margin-bottom: 12px; }
.feature-card p { font-size: 14px; color: #444; line-height: 1.7; }
.trouble-cards { grid-template-columns: repeat(4, 1fr); }
.trouble-card { background: #fff; text-align: center; min-height: 178px; }
.trouble-icon {
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 auto 17px;
  color: var(--red);
}
.trouble-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trouble-card h3 { font-size: 17px; }

.categories { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; margin: 36px 0 22px; }
.category {
  min-height: 104px;
  padding: 16px 8px;
  display: grid;
  place-items: center;
  gap: 9px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 600;
  font-size: 13px;
}
.category-icon { width: 39px; height: 39px; background: var(--red-soft); color: var(--red); }
.category-icon svg { width: 23px; height: 23px; }
.reason-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.note {
  background: var(--surface);
  min-height: 114px;
  padding: 24px 28px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}
.note::before {
  content: "✓";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--red);
  border: 1px solid rgba(214, 0, 0, .22);
  border-radius: 50%;
  font-size: 17px;
}
.btn-external {
  min-height: 45px;
  padding: 9px 17px;
  border-radius: 8px;
  border: 1px solid var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--red);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  transition: transform .18s, background .18s, box-shadow .18s;
}
.btn-external::after { content: "↗"; font-size: 14px; }
.btn-external:hover {
  background: #fff5f5;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(214, 0, 0, .08);
}

.plan-card {
  border: 1px solid rgba(214,0,0,.6);
  border-radius: 16px;
  padding: 34px 44px;
  background: white;
}
.plan-main {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 38px 64px;
}
.plan-label { padding-right: 48px; border-right: 1px solid var(--line); text-align: center; }
.plan-badge {
  display: inline-flex;
  color: white;
  background: var(--red);
  border-radius: 20px;
  padding: 3px 18px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 13px;
}
.plan-label h3 { font-size: 27px; }
.plan-label p { color: #444; margin-top: 8px; font-size: 14px; }
.price-block { display: grid; justify-items: center; padding-left: 48px; color: var(--red); }
.price-label { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.price-main, .plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  color: var(--red);
  white-space: nowrap;
}
.price-number { font-size: clamp(50px, 6vw, 66px); line-height: 1; }
.price-unit { font-weight: 700; font-size: 19px; }
.plan-note { text-align: center; font-size: 13px; color: var(--muted); margin: 17px auto 0; max-width: 760px; }
.plan-billing-note {
  max-width: 800px;
  margin: 22px auto 0;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: #333;
  font-size: 14px;
}
.plan-billing-note strong {
  display: block;
  color: var(--red);
  font-size: 16px;
  margin-bottom: 8px;
}
.notice-list {
  list-style: none;
  display: grid;
  gap: 6px;
  margin-top: 12px;
}
.notice-list li {
  position: relative;
  padding-left: 22px;
}
.notice-list li::before {
  content: "※";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.step { position: relative; text-align: center; }
.step:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -26px;
  top: 73px;
  font-size: 52px;
  line-height: 1;
  color: #ddd;
}
.step-no { width: 34px; height: 34px; margin: 0 auto 14px; }
.step-illust {
  width: 88px;
  height: 88px;
  margin: 16px auto;
  display: grid;
  place-items: center;
  background: var(--red-soft);
  color: var(--red);
  border-radius: 50%;
}
.step-illust svg { width: 42px; height: 42px; }
.step h3 { font-size: 17px; }
.step p { color: #444; font-size: 14px; margin-top: 8px; }

.faq-preview { max-width: 1000px; margin: 0 auto; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
details { background: #fff; }
.faq-preview details + details, .faq-group details + details { border-top: 1px solid var(--line); }
summary {
  cursor: pointer;
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 18px 24px;
  list-style: none;
  font-weight: 600;
}
summary::-webkit-details-marker { display: none; }
summary::before { content: "Q."; flex: 0 0 auto; color: var(--red); font-weight: 700; }
summary::after { content: "+"; margin-left: auto; font-size: 22px; font-weight: 400; }
details[open] summary::after { content: "−"; }
.answer { padding: 0 57px 18px; color: #444; font-size: 14px; }
.more-link { display: block; width: max-content; margin: 28px auto 0; color: var(--red); font-weight: 700; }

.cta-band {
  margin-bottom: 74px;
  border-radius: 18px;
  color: #fff;
  background: var(--red);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: stretch;
}
.cta-copy { padding: 43px 47px; }
.cta-copy h2 { font-size: clamp(25px, 3vw, 33px); }
.cta-copy p { margin: 9px 0 23px; opacity: .96; }
.cta-band .btn { background: white; color: var(--red); min-width: 284px; }
.cta-image { background: var(--red); }
.cta-image img { width: 100%; height: 100%; object-fit: cover; object-position: right; }

.page-hero { padding: 60px 0 48px; text-align: center; }
.page-hero h1, .legal-title { font-size: clamp(30px, 3.5vw, 42px); }
.page-hero p { max-width: 700px; margin: 17px auto 0; color: #444; }
.lead-note { display: inline-block; margin-top: 8px; color: #555; font-size: 14px; }
.progress {
  max-width: 700px;
  margin: 40px auto 0;
  display: flex;
  justify-content: space-between;
  position: relative;
}
.progress::before { content: ""; height: 1px; background: var(--line); position: absolute; left: 46px; right: 46px; top: 22px; }
.progress-item { z-index: 1; text-align: center; font-weight: 600; font-size: 14px; }
.progress-no { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; background: #ddd; margin: 0 auto 8px; }
.progress-item.active { color: var(--red); }
.progress-item.active .progress-no { background: var(--red); color: white; }
.progress-item.done { color: var(--red); }
.progress-item.done .progress-no { background: var(--red-soft); color: var(--red); border: 1px solid var(--red); }

.application { padding: 0 0 80px; }
.form-layout { display: grid; grid-template-columns: minmax(500px, 2fr) minmax(300px, .9fr); align-items: start; gap: 32px; }
.form-panel { padding: 39px 42px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.payment-info-card {
  padding: 25px 27px;
  margin-bottom: 30px;
  border: 1px solid #f0c2c2;
  border-radius: 13px;
  background: #fffafa;
}
.payment-info-card h2 {
  color: var(--red);
  font-size: 22px;
  margin-bottom: 10px;
}
.payment-info-card p {
  color: #333;
  margin-bottom: 12px;
}
.payment-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.payment-summary div {
  padding: 13px 15px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
}
.payment-summary dt {
  color: #666;
  font-size: 12px;
  font-weight: 700;
}
.payment-summary dd {
  margin: 3px 0 0;
  color: #111;
  font-weight: 700;
  line-height: 1.55;
}
.form-field { margin-bottom: 28px; }
.form-field label { display: block; margin-bottom: 10px; font-weight: 700; }
.required, .optional {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  font-size: 11px;
  line-height: 1.5;
  color: white;
  border-radius: 4px;
  padding: 2px 7px;
}
.required { background: var(--red); }
.optional { background: #888; }
.input, select, textarea {
  width: 100%;
  border: 1px solid #d5d5d5;
  border-radius: 7px;
  padding: 15px 16px;
  background: white;
}
.input:focus, select:focus, textarea:focus { outline: 2px solid rgba(214, 0, 0, .25); border-color: var(--red); }
.split-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.unit-field { position: relative; }
.unit-field input { padding-right: 50px; }
.unit-field span { position: absolute; right: 16px; top: 15px; font-weight: 700; }
.hint { color: #555; font-size: 12px; margin-top: 7px; }
textarea { min-height: 135px; resize: vertical; }
.checks label { display: block; margin: 12px 0; font-weight: 500; }
.checks input { width: 18px; height: 18px; vertical-align: -3px; margin-right: 9px; accent-color: var(--red); }
.checks a { color: var(--red); text-decoration: underline; }
.form-actions { display: grid; gap: 13px; margin-top: 28px; }
.form-actions .btn { width: 100%; }
.form-actions .btn[disabled] {
  cursor: not-allowed;
  opacity: .55;
  transform: none;
  box-shadow: none;
}
.apply-form.is-confirming .form-field,
.apply-form.is-confirming .checks,
.apply-form.is-confirming .contact-note:not(.form-notice),
.apply-form.is-confirming .payment-info-card,
.apply-form.is-complete .form-field,
.apply-form.is-complete .checks,
.apply-form.is-complete .payment-info-card,
.apply-form.is-complete .confirmation-panel,
.apply-form.is-complete .form-actions,
.apply-form.is-complete .contact-note:not(.form-notice) {
  display: none;
}
.confirmation-panel {
  margin-top: 6px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.confirmation-panel:focus { outline: 2px solid rgba(214, 0, 0, .2); outline-offset: 3px; }
.confirmation-panel h2 { color: var(--red); font-size: 22px; margin-bottom: 8px; }
.confirmation-panel p { color: #444; margin-bottom: 20px; }
.confirmation-payment-note {
  padding: 14px 16px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #f0c2c2;
  color: var(--red) !important;
  font-weight: 700;
}
.confirmation-list { display: grid; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.confirmation-row { display: grid; grid-template-columns: 170px 1fr; border-bottom: 1px solid var(--line); }
.confirmation-row:last-child { border-bottom: 0; }
.confirmation-row dt,
.confirmation-row dd { margin: 0; padding: 14px 16px; line-height: 1.7; }
.confirmation-row dt { color: #555; background: #fafafa; font-weight: 700; }
.confirmation-row dd { white-space: pre-wrap; word-break: break-word; }
.final-confirmation {
  margin-top: 20px;
  padding: 20px 22px;
  border-radius: 12px;
  border: 1px solid #f0c2c2;
  background: #fff;
}
.final-confirmation h3 {
  color: var(--red);
  font-size: 18px;
  margin-bottom: 10px;
}
.final-confirmation ul {
  list-style: disc;
  padding-left: 21px;
  color: #333;
  font-size: 14px;
  line-height: 1.75;
}
.final-consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--red-soft);
  color: #222;
  font-weight: 700;
  line-height: 1.65;
}
.final-consent input {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 4px;
  accent-color: var(--red);
}
.selected-plan { padding: 0; position: sticky; top: 112px; overflow: hidden; }
.selected-head { color: #fff; background: var(--red); padding: 15px; text-align: center; font-weight: 700; }
.selected-body { padding: 34px 29px; text-align: center; }
.selected-body h2 { color: var(--red); text-align: center; font-size: 25px; }
.selected-body .plan-price { justify-content: center; padding: 17px 0 23px; border-bottom: 1px solid var(--line); }
.plan-price-number { font-size: 50px; line-height: 1; }
.plan-price-unit { font-size: 17px; font-weight: 700; }
.check-list { width: fit-content; max-width: 100%; margin: 22px auto 0; text-align: left; }
.check-list li { font-size: 14px; padding: 7px 0 7px 26px; position: relative; }
.check-list li:last-child { padding-bottom: 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.contact-note { margin-top: 25px; padding: 23px 26px; background: var(--red-soft); border-radius: 10px; }
.contact-note strong { display: block; margin-bottom: 6px; }
.form-notice.is-success { background: #f2fff6; color: #115c2a; border: 1px solid #bde7c8; }
.form-notice.is-error { background: #fff5f5; color: var(--red); border: 1px solid #f0c2c2; }
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form button[disabled] {
  cursor: wait;
  opacity: .7;
}
.thanks-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.thanks-progress { margin-top: 32px; }
.thanks-card h2 { color: var(--red); font-size: 24px; margin-bottom: 10px; }
.thanks-flow {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.thanks-flow li {
  position: relative;
  padding-left: 28px;
  color: #333;
}
.thanks-flow li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-weight: 800;
}
.contact-layout { grid-template-columns: minmax(500px, 1.65fr) minmax(300px, .95fr); }
.inquiry-guide {
  position: sticky;
  top: 112px;
  padding: 32px 29px;
}
.inquiry-guide h2 { font-size: 21px; margin-bottom: 14px; }
.inquiry-guide h2::before {
  content: "";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 11px;
  border-radius: 50%;
  background: var(--red-soft) center/18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d60000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 8h.01'/%3E%3C/svg%3E");
}
.inquiry-guide p { color: #444; margin-bottom: 18px; }
.inquiry-guide-list { border-top: 1px solid var(--line); padding-top: 17px; }
.inquiry-guide-list li { padding: 8px 0; font-size: 14px; }
.inquiry-guide-list li::before { content: "✓"; color: var(--red); font-weight: 700; margin-right: 10px; }

.faq-page { padding: 0 0 80px; }
.faq-layout { display: grid; gap: 27px; }
.faq-group { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 8px; box-shadow: var(--shadow); }
.faq-group h2 { font-size: 22px; padding: 4px 14px 14px; display: flex; align-items: center; gap: 12px; word-break: keep-all; }
.faq-group h2::before {
  content: "";
  flex: 0 0 auto;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--red-soft) center/18px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d60000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-8 8H7l-4 2 1.4-4.2A8 8 0 1 1 21 12Z'/%3E%3Cpath d='M9 12h.01M12 12h.01M15 12h.01'/%3E%3C/svg%3E");
}
.faq-group summary { padding: 15px 14px; }
.faq-group .answer { padding: 0 48px 15px; }

.legal-page { padding: 56px 0 82px; }
.legal-header { margin-bottom: 42px; }
.legal-title::after { margin: 14px 0 0; }
.legal-intro { margin-top: 22px; color: #333; }
.commerce-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); }
.commerce-table th, .commerce-table td { text-align: left; padding: 25px 28px; border-bottom: 1px solid var(--line); vertical-align: top; }
.commerce-table th { width: 255px; background: #fff9f9; font-weight: 700; }
.legal-cards { display: grid; gap: 17px; }
.legal-card { border: 1px solid var(--line); border-radius: 12px; display: grid; grid-template-columns: 150px 1fr; background: #fff; overflow: hidden; }
.legal-mark { background: #fffafa; color: var(--red); display: grid; place-items: center; }
.legal-mark svg { width: 43px; height: 43px; stroke-width: 1.6; }
.legal-content { padding: 28px 35px; }
.legal-content h2 { display: flex; align-items: baseline; gap: 12px; font-size: 21px; margin-bottom: 11px; word-break: keep-all; }
.term-no { flex: 0 0 34px; color: var(--red); font-variant-numeric: tabular-nums; }
.legal-content p + p { margin-top: 9px; }
.legal-content ul { list-style: disc; padding-left: 22px; margin-top: 8px; }
.privacy-layout { display: grid; grid-template-columns: 170px 1fr; gap: 48px; }
.toc { position: sticky; top: 112px; align-self: start; padding: 22px; background: var(--surface); border: 1px solid var(--line); }
.toc strong { display: block; margin-bottom: 12px; }
.toc a { display: block; font-size: 13px; padding: 5px 0; color: #444; }
.policy-sections .policy-item { padding: 0 0 29px; margin-bottom: 27px; border-bottom: 1px solid var(--line); }
.policy-heading { display: flex; align-items: center; gap: 12px; font-size: 21px; margin-bottom: 15px; word-break: keep-all; }
.policy-no { flex: 0 0 39px; color: var(--red); font-variant-numeric: tabular-nums; }
.policy-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
}
.policy-icon svg { width: 20px; height: 20px; }
.policy-title { color: var(--text); }
.policy-item ul { list-style: disc; margin: 8px 0 0 22px; }

.site-footer { border-top: 1px solid var(--line); padding: 44px 0 30px; }
.footer-grid { display: flex; justify-content: space-between; gap: 34px; }
.footer-company { margin-top: 20px; font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 27px; justify-content: flex-end; align-content: flex-start; font-size: 14px; font-weight: 600; }
.copyright { margin-top: 32px; color: #555; font-size: 12px; text-align: center; }

.admin-page {
  background: #f6f6f6;
  color: #111;
}
.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
}
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 20px;
  border-right: 1px solid var(--line);
  background: #fff;
}
.admin-brand { margin-bottom: 28px; }
.admin-nav {
  display: grid;
  gap: 8px;
}
.admin-nav a {
  padding: 12px 14px;
  border-radius: 10px;
  color: #333;
  font-weight: 700;
}
.admin-nav a:hover,
.admin-nav a.is-current {
  color: var(--red);
  background: var(--red-soft);
}
.admin-main {
  padding: 34px;
  min-width: 0;
}
.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.admin-top h1 {
  font-size: clamp(28px, 3vw, 38px);
}
.admin-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.admin-metric,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.admin-metric {
  padding: 18px;
}
.admin-metric span {
  display: block;
  min-height: 42px;
  color: #666;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.admin-metric strong {
  display: block;
  margin-top: 12px;
  color: var(--red);
  font-size: 26px;
  line-height: 1.15;
}
.admin-panel {
  padding: 24px;
  margin-bottom: 22px;
}
.admin-panel h2 {
  font-size: 22px;
  margin-bottom: 14px;
}
.admin-help {
  margin-bottom: 14px;
  color: #666;
  font-size: 14px;
}
.admin-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}
.admin-filter-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 800;
}
.admin-filter-link.is-current,
.admin-filter-link:hover {
  border-color: var(--red);
  background: var(--red-soft);
  color: var(--red);
}
.admin-empty {
  color: #666;
}
.admin-flash {
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 700;
}
.admin-flash.is-success {
  color: #115c2a;
  background: #f2fff6;
  border: 1px solid #bde7c8;
}
.admin-flash.is-error {
  color: var(--red);
  background: #fff5f5;
  border: 1px solid #f0c2c2;
}
.admin-table-wrap {
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  font-size: 13px;
}
.admin-table th,
.admin-table td {
  padding: 12px 11px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}
.admin-table th {
  color: #555;
  background: #fafafa;
  font-size: 12px;
  white-space: nowrap;
}
.admin-table small {
  color: #666;
  line-height: 1.45;
}
.admin-badge {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--red);
  background: var(--red-soft);
  font-weight: 800;
  white-space: nowrap;
}
.admin-badge-muted {
  color: #555;
  background: #f1f1f1;
}
.admin-actions-cell {
  min-width: 230px;
}
.admin-inline-form {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}
.admin-inline-form input,
.admin-inline-form select,
.admin-inline-form textarea,
.admin-form-grid input,
.admin-form-grid select,
.admin-form-grid textarea,
.admin-csv {
  width: 100%;
  border: 1px solid #d5d5d5;
  border-radius: 8px;
  padding: 10px 11px;
  background: #fff;
  font-size: 13px;
}
.admin-inline-form textarea {
  min-height: 58px;
}
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.admin-form-grid label span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
}
.admin-full {
  grid-column: 1 / -1;
}
.admin-form-grid textarea {
  min-height: 92px;
}
.admin-csv {
  min-height: 160px;
  margin-bottom: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.admin-button {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #333;
  font-weight: 800;
  cursor: pointer;
}
.admin-button-red {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

@media (max-width: 1080px) {
  .global-nav { display: none; }
  .header-actions { gap: 8px; }
  .menu-toggle { display: block; cursor: pointer; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .mobile-nav.is-open { display: grid; gap: 0; padding: 7px 16px 17px; border-top: 1px solid var(--line); }
  .mobile-nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); font-weight: 600; }
}

@media (max-width: 1024px) {
  .cta-image img { object-position: left top; }
}

@media (max-width: 860px) {
  :root { --scroll-offset: 64px; }
  body { font-size: 15px; line-height: 1.7; }
  .container { width: min(calc(100% - 32px), var(--max)); }
  .header-inner { min-height: 71px; gap: 12px; }
  .brand-main { font-size: 18px; letter-spacing: .02em; }
  .brand-sub { font-size: 11px; }
  .header-benefit { display: none; }
  .header-cta { min-height: 42px; font-size: 12px; padding: 9px 13px; }
  .mobile-nav .mobile-benefit {
    display: block;
    margin-top: 12px;
    padding: 11px 14px;
    border: 1px solid var(--red);
    border-radius: 8px;
    color: var(--red);
    background: #fff;
    text-align: center;
  }
  .section { padding: 57px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 25px; word-break: keep-all; }
  .reason-title { font-size: 22px !important; line-height: 1.5; letter-spacing: .01em; }
  .reason-title span { white-space: nowrap; }
  .hero { padding: 25px 0 26px; }
  .hero-grid { display: flex; flex-direction: column; gap: 22px; }
  .hero-visual { margin: 0 -16px; }
  .hero-visual img { border-radius: 0; }
  .eyebrow { margin-bottom: 8px; }
  .hero h1 { font-size: clamp(30px, 8.8vw, 37px); margin-bottom: 14px; }
  .hero-copy { margin-bottom: 0; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 23px; }
  .hero .btn { width: 100%; }
  .feature-cards, .trouble-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 26px; }
  .card { padding: 20px 13px; border-radius: 13px; }
  .card-icon { width: 44px; height: 44px; font-size: 22px; margin-bottom: 13px; }
  .feature-card h3, .trouble-card h3 { font-size: 14px; }
  .feature-card p { font-size: 12px; }
  .trouble-card { min-height: 150px; }
  .trouble-icon { width: 46px; height: 46px; margin-bottom: 12px; }
  .categories { grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 24px 0 18px; }
  .category { min-height: 85px; font-size: 12px; padding: 10px 4px; }
  .categories .category:last-child { grid-column: 2; }
  .reason-notes { grid-template-columns: 1fr; gap: 10px; }
  .note { min-height: 86px; padding: 18px 20px; font-size: 15px; }
  .plan-card { padding: 23px 17px; }
  .plan-main { display: block; text-align: center; }
  .plan-label { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 20px; }
  .plan-label h3 { font-size: 23px; }
  .price-block { padding: 20px 0 0; text-align: center; }
  .price-main { justify-content: center; }
  .price-number { font-size: 52px; }
  .price-unit { font-size: 17px; }
  .plan-price-number { font-size: 46px; }
  .plan-price-unit { font-size: 15px; }
  .plan-billing-note { padding: 18px 18px; font-size: 13px; text-align: left; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 10px; }
  .step:not(:last-child)::after { display: none; }
  .step-illust { width: 70px; height: 70px; font-size: 30px; margin: 13px auto; }
  .step h3 { font-size: 14px; }
  .step p { font-size: 12px; }
  summary { padding: 14px 12px; gap: 8px; font-size: 14px; }
  .answer { padding: 0 33px 14px; font-size: 13px; }
  .cta-band { display: flex; flex-direction: column; margin-bottom: 49px; }
  .cta-copy { padding: 27px 22px 20px; }
  .cta-copy h2 { font-size: 23px; }
  .cta-copy p { margin-bottom: 18px; }
  .cta-band .btn { min-width: 0; width: 100%; }
  .cta-image {
    height: 168px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .cta-image img {
    object-fit: contain;
    object-position: center;
  }
  .page-hero { padding: 37px 0 34px; }
  .page-hero h1, .legal-title { font-size: 29px; }
  .progress { margin-top: 28px; }
  .progress-no { width: 40px; height: 40px; }
  .progress::before { top: 19px; }
  .application { padding-bottom: 57px; }
  .form-layout { display: flex; flex-direction: column; gap: 20px; }
  .form-panel { width: 100%; padding: 26px 17px; order: 1; }
  .payment-info-card { padding: 20px 16px; margin-bottom: 24px; }
  .payment-info-card h2 { font-size: 20px; }
  .payment-summary { grid-template-columns: 1fr; }
  .selected-plan { position: static; width: 100%; order: 2; }
  .selected-body { padding: 25px 20px 23px; }
  .selected-body .plan-price { padding: 14px 0 17px; }
  .check-list { margin-top: 15px; }
  .inquiry-guide { position: static; width: 100%; order: 2; padding: 25px 21px; }
  .form-field { margin-bottom: 23px; }
  .split-inputs { gap: 8px; }
  .confirmation-panel { padding: 20px 16px; }
  .confirmation-panel h2 { font-size: 20px; }
  .confirmation-row { grid-template-columns: 1fr; }
  .confirmation-row dt { padding-bottom: 6px; }
  .confirmation-row dd { padding-top: 0; }
  .final-confirmation { padding: 18px 16px; }
  .final-confirmation ul { font-size: 13px; }
  .final-consent { padding: 14px; font-size: 13px; }
  .thanks-actions { display: grid; gap: 12px; }
  .contact-note { margin-top: 18px; }
  .faq-page { padding-bottom: 57px; }
  .faq-layout { gap: 14px; }
  .faq-group { padding: 12px 8px 3px; }
  .faq-group h2 { font-size: 19px; padding: 6px 7px 12px; }
  .faq-group summary { padding: 13px 7px; }
  .faq-group .answer { padding: 0 28px 13px; }
  .legal-page { padding: 38px 0 57px; }
  .legal-header { margin-bottom: 28px; }
  .commerce-table, .commerce-table tbody { display: block; border: 0; }
  .commerce-table tr { display: block; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
  .commerce-table th, .commerce-table td { display: block; width: 100%; border: 0; padding: 12px 15px; }
  .commerce-table td { padding-top: 10px; }
  .legal-card { display: block; }
  .legal-mark { display: none; }
  .legal-content { padding: 20px 18px; }
  .legal-content h2 { font-size: 18px; color: var(--text); gap: 9px; }
  .term-no { flex-basis: 29px; }
  .privacy-layout { display: block; }
  .toc { display: none; }
  .policy-heading { gap: 8px; font-size: 18px; margin-bottom: 12px; }
  .policy-no { flex-basis: 34px; }
  .policy-icon { flex-basis: 30px; width: 30px; height: 30px; }
  .policy-icon svg { width: 18px; height: 18px; }
  .site-footer { padding: 31px 0 22px; }
  .footer-grid { display: block; }
  .footer-links { justify-content: flex-start; gap: 10px 22px; margin-top: 27px; }
  .copyright { margin-top: 28px; }
  .admin-shell { display: block; }
  .admin-sidebar {
    position: static;
    height: auto;
    padding: 18px 16px;
  }
  .admin-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-main { padding: 22px 16px; }
  .admin-top { align-items: flex-start; flex-direction: column; }
  .admin-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-table { min-width: 980px; }
}

@media (max-width: 400px) {
  .brand-main { font-size: 16px; }
  .header-cta { padding-inline: 10px; }
  .hero h1 { font-size: 28px; }
}
