:root {
  color-scheme: light;
  --brand-cyan: #00b5d8;
  --brand-cyan-dark: #00839b;
  --brand-pink: #ff6b9d;
  --brand-purple: #6d5bd0;
  --brand-navy: #0f172a;
  --brand-slate: #334155;
  --brand-muted: #64748b;
  --border-soft: rgba(0, 181, 216, 0.18);
  --shadow-soft: 0 24px 60px -28px rgba(15, 23, 42, 0.22);
  --radius-xl: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--brand-navy);
  background:
    radial-gradient(ellipse at 8% 0%, rgba(0, 181, 216, 0.13), transparent 38%),
    radial-gradient(ellipse at 95% 10%, rgba(255, 107, 157, 0.12), transparent 34%),
    linear-gradient(165deg, #f4fcff 0%, #f8fbff 52%, #fff8fb 100%);
  font-family: "Manrope", "Noto Sans JP", sans-serif;
  font-feature-settings: "palt";
  overflow-x: hidden;
}
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
.content-width { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.estimate-hero { padding: 52px 0 36px; }
.hero-content { max-width: 900px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--brand-cyan-dark); font: 700 0.73rem "Share Tech Mono", monospace; }
.eyebrow span { width: 24px; height: 2px; background: var(--brand-pink); }
h1, h2, h3, p { margin-top: 0; }
.estimate-hero h1 { margin-bottom: 10px; font-size: clamp(1.8rem, 5vw, 2.8rem); line-height: 1.3; font-weight: 900; }
.hero-lead { margin-bottom: 10px; color: var(--brand-cyan-dark); font-weight: 800; font-size: 1.12rem; }
.hero-description { max-width: 680px; margin-bottom: 16px; color: var(--brand-slate); line-height: 1.85; }
.hero-note { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 0; padding: 8px 12px; border-radius: 999px; color: #a83a65; background: rgba(255, 107, 157, 0.11); font-size: 0.82rem; font-weight: 700; }
.hero-note svg { width: 16px; height: 16px; flex: 0 0 auto; }
.estimate-section { padding-bottom: 84px; }
.estimate-layout { display: grid; gap: 22px; align-items: start; }
.form-column, .aside-note, .result-panel { border: 1px solid rgba(255, 255, 255, 0.82); border-radius: var(--radius-xl); background: rgba(255, 255, 255, 0.78); box-shadow: var(--shadow-soft); backdrop-filter: blur(14px); }
.form-column { padding: 22px; }
.progress-wrap { margin-bottom: 25px; }
.progress-copy { display: flex; justify-content: space-between; margin-bottom: 9px; color: var(--brand-muted); font: 700 0.76rem "Share Tech Mono", monospace; }
.progress-track { height: 7px; overflow: hidden; border-radius: 99px; background: #e7f1f5; }
.progress-track span { display: block; width: 12.5%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand-cyan), var(--brand-pink)); transition: width 220ms ease; }
.step-panel { min-height: 205px; animation: step-in 220ms ease both; }
.step-panel[hidden], [hidden] { display: none !important; }
@keyframes step-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.step-kicker { margin-bottom: 8px; color: var(--brand-cyan-dark); font: 700 0.75rem "Share Tech Mono", monospace; }
.step-panel h2, .result-heading h2 { margin-bottom: 8px; font-size: 1.45rem; line-height: 1.4; font-weight: 900; }
.step-description { margin-bottom: 20px; color: var(--brand-muted); line-height: 1.65; font-size: 0.92rem; }
.field-label { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; font-size: 0.91rem; font-weight: 800; }
.required-label { padding: 3px 7px; border-radius: 5px; color: #9f3159; background: #fff0f5; font-size: 0.68rem; }
select { width: 100%; min-height: 54px; padding: 0 42px 0 15px; border: 1px solid rgba(100, 116, 139, 0.28); border-radius: 14px; color: var(--brand-navy); background-color: #fff; }
#prefecture,
#long-prefecture,
#storage-months,
#long-storage-months {
  width: min(100%, 320px);
  padding-right: 56px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23334155' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 24px center;
  background-size: 16px 16px;
}
.field-hint { margin: 10px 0 0; color: var(--brand-muted); font-size: 0.81rem; line-height: 1.6; }
.choice-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; border: 0; }
.choice-card { position: relative; min-height: 66px; padding: 12px; border: 1px solid rgba(100, 116, 139, 0.22); border-radius: 14px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; background: rgba(255, 255, 255, 0.9); cursor: pointer; transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease; }
.choice-card:has(input:checked) { border-color: var(--brand-cyan); background: #effcff; box-shadow: inset 0 0 0 1px var(--brand-cyan); }
.choice-card:has(input:focus-visible) { outline: 3px solid rgba(0, 181, 216, 0.42); outline-offset: 2px; }
.choice-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice-title { font-size: 0.93rem; font-weight: 800; }
.choice-subtitle { color: var(--brand-muted); font-size: 0.72rem; }
.choice-group-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice-group-two .choice-card { min-height: 76px; }
.choice-card.is-disabled { opacity: 0.55; cursor: not-allowed; }
.size-help { margin-top: 18px; border-top: 1px solid #e7eef2; padding-top: 14px; color: var(--brand-slate); font-size: 0.86rem; }
.size-help summary { width: fit-content; color: var(--brand-cyan-dark); font-weight: 800; cursor: pointer; }
.size-help p { margin: 9px 0 0; line-height: 1.7; }
.month-select-wrap { width: min(100%, 320px); }
.vertical-form > .vertical-section { min-height: 0; margin-bottom: 26px; padding-bottom: 24px; border-bottom: 1px solid #e5edf1; }
.vertical-form > .vertical-section:last-of-type { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.vertical-section h2 { margin-bottom: 8px; font-size: 1.45rem; line-height: 1.4; font-weight: 900; }
.form-error { margin: 14px 0 0; padding: 10px 12px; border-left: 3px solid #cf3569; border-radius: 6px; color: #8d2448; background: #fff2f6; font-weight: 700; font-size: 0.86rem; }
.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.form-actions .button:disabled { color: #94a3b8; border-color: #e2e8f0; background: #f1f5f9; box-shadow: none; cursor: not-allowed; }
.next-button { min-width: 122px; margin-left: auto; }
.aside-note { padding: 22px; color: var(--brand-slate); }
.aside-icon { width: 42px; height: 42px; margin-bottom: 14px; border-radius: 14px; display: grid; place-items: center; color: var(--brand-cyan-dark); background: rgba(0, 181, 216, 0.12); }
.aside-icon svg { width: 22px; height: 22px; }
.aside-note h2 { margin-bottom: 8px; color: var(--brand-navy); font-size: 1rem; }
.aside-note p { margin-bottom: 0; line-height: 1.8; font-size: 0.86rem; }
.aside-divider { height: 1px; margin: 16px 0; background: #e2eaf0; }
.aside-note .aside-small { display: flex; align-items: flex-start; gap: 8px; color: var(--brand-cyan-dark); font-weight: 700; }
.aside-small svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 3px; }
.result-panel { max-width: 900px; margin: 28px auto 0; padding: 24px; animation: step-in 260ms ease both; }
.result-heading { margin-bottom: 20px; }
.result-heading h2 { margin-bottom: 0; }
.price-display { padding: 22px; border: 1px solid rgba(0, 181, 216, 0.2); border-radius: 20px; background: linear-gradient(135deg, rgba(0, 181, 216, 0.1), rgba(255, 107, 157, 0.1)); }
.price-label { color: var(--brand-cyan-dark); font-size: 0.82rem; font-weight: 900; }
.price-value { margin: 8px 0; font-size: clamp(1.35rem, 4vw, 2rem); line-height: 1.4; font-weight: 900; }
.price-message { margin: 0; color: var(--brand-slate); font-size: 0.88rem; line-height: 1.7; }
.result-summary { margin-top: 22px; }
.result-summary h3 { margin-bottom: 12px; font-size: 1rem; }
.result-summary dl { display: grid; grid-template-columns: minmax(100px, 0.7fr) 1.3fr; margin: 0 clamp(16px, 8vw, 36px); border-top: 1px solid #e5edf1; }
.result-summary dt, .result-summary dd { display: flex; align-items: center; margin: 0; padding: 11px 8px; border-bottom: 1px solid #e5edf1; font-size: 0.87rem; }
.result-summary dt { padding-left: 0; }
.result-summary dt { color: var(--brand-muted); font-weight: 700; }
.result-summary dd { font-weight: 800; }
.result-notice { margin: 17px 0 0; color: var(--brand-muted); font-size: 0.8rem; line-height: 1.75; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.store-cta { min-height: 58px; padding-inline: 24px; font-size: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (min-width: 720px) {
  .content-width { width: min(1120px, calc(100% - 64px)); }
  .estimate-hero { padding: 66px 0 42px; }
  .estimate-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; }
  .form-column { padding: 30px; }
  .step-panel { min-height: 225px; }
  .aside-note { position: sticky; top: 94px; padding: 24px; }
  .result-panel { padding: 32px; }
}
@media (min-width: 1024px) {
  .estimate-section { padding-bottom: 104px; }
  .estimate-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; }
}
@media (max-width: 380px) {
  .content-width { width: calc(100% - 28px); }
  .form-column { padding: 17px; }
  .choice-group { gap: 8px; }
  .choice-card { padding: 10px; }
  .choice-title { font-size: 0.85rem; }
  .result-panel { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}