/* ===== Tokens ===== */
:root {
  --navy: #13284a;
  --navy-2: #1d3a66;
  --ink: #1f2733;
  --muted: #5b6676;
  --line: #dfe3ea;
  --bg: #ffffff;
  --tint: #f3f5f8;
  --accent: #e2711d;     /* 安全色のオレンジ */
  --accent-dark: #c25c10;
  --gold: #c9a24a;
  --ok: #2f8a57;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(19, 40, 74, .10);
  --font: "Noto Sans JP", system-ui, sans-serif;
  --serif: "Shippori Mincho", "Noto Serif JP", serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.4; margin: 0; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 32px); }

.pc-only { display: none; }
@media (min-width: 900px) { .pc-only { display: inline; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .9em 1.6em;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(226, 113, 29, .35); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo-mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  background: var(--navy);
  color: #fff;
  font-family: var(--serif);
  font-size: 22px;
  border-radius: 6px;
  border-bottom: 3px solid var(--accent);
}
.logo-text { font-weight: 700; line-height: 1.3; font-size: 15px; }
.logo-text small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }

.global-nav { display: flex; gap: 20px; align-items: center; font-size: 14px; }
.global-nav a { text-decoration: none; font-weight: 500; }
.global-nav a:hover { color: var(--accent); }
.nav-cta { background: var(--accent); color: #fff !important; padding: .45em 1.1em; border-radius: 999px; }

.header-tel { text-decoration: none; text-align: right; line-height: 1.2; }
.header-tel span { display: block; font-size: 11px; color: var(--muted); }
.header-tel strong { font-size: 20px; color: var(--navy); letter-spacing: .02em; }

.menu-toggle { display: none; }

@media (max-width: 1080px) {
  .header-tel { display: none; }
}
@media (max-width: 900px) {
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px;
  }
  .menu-toggle span { height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .global-nav {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform .25s, visibility .25s;
  }
  .global-nav.open { transform: none; visibility: visible; }
  .global-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav-cta { margin-top: 14px; text-align: center; border-bottom: 0 !important; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(226,113,29,.25), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 72px 0 150px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: .2em 1em;
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: .1em;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: .02em;
  margin-bottom: 24px;
}
.hero h1 .accent { color: #ffb070; }
.hero-lead { color: rgba(255,255,255,.85); font-size: 15px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-points li {
  background: rgba(255,255,255,.1);
  border-radius: 6px;
  padding: .35em .9em;
  font-size: 13px;
}
.hero-points strong { color: #ffb070; margin-right: .3em; }

.hero-card {
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  border-top: 5px solid var(--accent);
}
.hero-card-title { font-weight: 900; font-size: 18px; color: var(--navy); margin-bottom: 16px; }
.hero-card-list { margin: 0; display: grid; gap: 14px; }
.hero-card-list div { background: var(--tint); border-radius: 8px; padding: 14px 16px; }
.hero-card-list dt { font-size: 13px; color: var(--muted); font-weight: 700; }
.hero-card-list dd { margin: 0; line-height: 1.5; }
.hero-card-list b { font-size: 26px; color: var(--accent-dark); }
.hero-card-list small { color: var(--muted); font-size: 12px; }
.hero-card-note { font-size: 12px; color: var(--muted); margin: 14px 0 0; }

.hero-skyline {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%; height: 120px;
  color: #fff;
}

@media (max-width: 900px) {
  .hero { padding: 48px 0 120px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: #fff; }
.section-title {
  text-align: center;
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 20px;
}
.section-dark .section-title { color: #fff; }
.section-title span {
  display: block;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: .2em;
  font-weight: 600;
  margin-bottom: 4px;
}
.section-title.left { text-align: left; }
.section-lead { text-align: center; color: var(--muted); max-width: 760px; margin: 0 auto 44px; }
.section-dark .section-lead { color: rgba(255,255,255,.75); }
.fine { font-size: 13px; color: var(--muted); margin-top: 20px; }
.section-dark .fine { color: rgba(255,255,255,.6); text-align: center; }

@media (max-width: 700px) { .section { padding: 64px 0; } }

/* ===== Worries ===== */
.worries .section-title span { color: var(--muted); font-family: var(--font); letter-spacing: 0; font-size: 16px; }
.worry-list {
  list-style: none; padding: 0; margin: 0 auto 32px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  max-width: 900px;
}
.worry-list li {
  position: relative;
  background: var(--tint);
  border-radius: var(--radius);
  padding: 16px 18px 16px 52px;
  font-weight: 500;
}
.worry-list li::before {
  content: "";
  position: absolute; left: 18px; top: 50%;
  width: 22px; height: 22px; margin-top: -11px;
  border-radius: 4px;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}
.worries-answer { text-align: center; font-size: 18px; font-weight: 700; }
.worries-answer strong { color: var(--navy); background: linear-gradient(transparent 60%, #ffd8b5 60%); }
@media (max-width: 700px) { .worry-list { grid-template-columns: 1fr; } }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.about-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  border-top: 4px solid var(--navy);
}
.about-card h3 { color: var(--navy); font-size: 19px; margin-bottom: 12px; }
.about-card b { color: var(--accent-dark); }
.about-card .note { font-size: 13px; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

.trades { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.trades summary { cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--navy); }
.trades ul {
  list-style: none; margin: 0; padding: 0 20px 20px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px;
}
.trades li { background: var(--tint); padding: 8px 12px; border-radius: 6px; font-size: 14px; }

/* ===== Checker ===== */
.checker {
  max-width: 760px; margin: 0 auto;
  background: #fff; border-radius: 14px; padding: 32px;
  box-shadow: var(--shadow);
}
.checker fieldset { border: 0; padding: 0; margin: 0 0 24px; }
.checker legend { font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.checker label {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; margin-bottom: 8px;
  border: 1.5px solid var(--line); border-radius: 8px;
  cursor: pointer; transition: border-color .15s, background .15s;
}
.checker label:hover { border-color: var(--navy-2); }
.checker label:has(input:checked) { border-color: var(--accent); background: #fff6ee; }
.checker input { accent-color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; }
.checker-result:empty { display: none; }
.checker-result {
  border-radius: 10px; padding: 20px 22px; font-weight: 500;
}
.checker-result.need { background: #fff1e5; border-left: 5px solid var(--accent); }
.checker-result.noneed { background: #eaf6ef; border-left: 5px solid var(--ok); }
.checker-result strong { display: block; font-size: 19px; margin-bottom: 6px; }
.checker-result a { color: var(--accent-dark); font-weight: 700; }

/* ===== Requirements ===== */
.req-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.req-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: req; }
.req-list label {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px; border: 1.5px solid var(--line); border-radius: var(--radius);
  cursor: pointer; transition: border-color .15s, background .15s;
}
.req-list label:has(input:checked) { border-color: var(--ok); background: #f3faf6; }
.req-list input { accent-color: var(--ok); width: 22px; height: 22px; margin-top: 3px; flex-shrink: 0; }
.req-body { font-size: 14px; color: var(--muted); }
.req-body b { display: block; color: var(--navy); font-size: 17px; margin-bottom: 2px; }

.req-meter {
  position: sticky; top: 96px;
  background: var(--navy); color: #fff;
  border-radius: 14px; padding: 26px;
}
.req-meter-label { font-size: 13px; opacity: .75; margin: 0; }
.req-meter-value { font-size: 44px; font-weight: 900; margin: 0; line-height: 1.2; }
.req-meter-value span { color: #ffb070; }
.req-bar { height: 8px; background: rgba(255,255,255,.15); border-radius: 99px; overflow: hidden; margin: 10px 0 16px; }
.req-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #ffb070); transition: width .3s; }
.req-meter-msg { font-size: 14px; min-height: 3.6em; }
@media (max-width: 900px) {
  .req-wrap { grid-template-columns: 1fr; }
  .req-meter { position: static; }
}

/* ===== Price ===== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card {
  position: relative;
  background: #fff; color: var(--ink);
  border-radius: 14px; padding: 28px 24px;
}
.price-card.featured { outline: 3px solid var(--accent); }
.price-tag {
  position: absolute; top: -13px; left: 20px;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
  padding: .2em .9em; border-radius: 99px; margin: 0;
}
.price-card h3 { color: var(--navy); font-size: 18px; margin-bottom: 10px; }
.price { margin: 0; color: var(--muted); }
.price b { font-size: 28px; color: var(--accent-dark); margin: 0 .1em; }
.price-fee { font-size: 13px; color: var(--muted); margin: 0; }
.price-card ul { margin: 16px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--line); list-style: none; font-size: 14px; }
.price-card li { padding-left: 1.2em; position: relative; margin-bottom: 4px; }
.price-card li::before { content: "・"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .price-grid { grid-template-columns: 1fr; } }

/* ===== Flow ===== */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.flow li {
  position: relative;
  background: var(--tint); border-radius: var(--radius); padding: 24px 18px;
}
.flow li:not(:last-child)::after {
  content: ""; position: absolute; right: -13px; top: 38px;
  border: 8px solid transparent; border-left: 10px solid var(--accent);
  z-index: 1;
}
.flow-no { font-family: var(--serif); font-size: 30px; font-weight: 800; color: var(--accent); line-height: 1; }
.flow h3 { font-size: 16px; color: var(--navy); margin: 10px 0 8px; }
.flow p { font-size: 13px; color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; }
  .flow li { display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; }
  .flow-no { grid-row: span 2; }
  .flow h3 { margin-top: 0; }
  .flow li:not(:last-child)::after { right: auto; left: 40px; top: auto; bottom: -15px; border: 8px solid transparent; border-top: 10px solid var(--accent); }
}

/* ===== Area ===== */
.area-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.area-tabs button {
  font: inherit; font-weight: 700; cursor: pointer;
  padding: .7em 1.6em; border-radius: 99px;
  border: 2px solid var(--navy); background: #fff; color: var(--navy);
}
.area-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.area-panel {
  max-width: 820px; margin: 0 auto; background: #fff; border-radius: 14px; padding: 32px; box-shadow: var(--shadow);
}
.city-list { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.city-list li {
  border: 1.5px solid var(--line); border-radius: 8px; padding: .4em 1.1em; font-weight: 700;
}
.city-list li.main { background: var(--accent); border-color: var(--accent); color: #fff; }
.area-panel p { margin: 0; color: var(--muted); }

/* ===== Reason ===== */
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reason-grid article { text-align: center; padding: 12px; }
.reason-no {
  display: inline-grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--serif); font-size: 28px; font-weight: 800;
  border: 3px solid var(--gold); margin-bottom: 14px;
}
.reason-grid h3 { color: var(--navy); font-size: 18px; margin-bottom: 10px; }
.reason-grid p { color: var(--muted); font-size: 15px; text-align: left; }
@media (max-width: 900px) { .reason-grid { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--radius); box-shadow: 0 2px 8px rgba(19,40,74,.06); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 56px; font-weight: 700; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; position: absolute; left: 18px; top: 16px;
  font-family: var(--serif); color: var(--accent); font-size: 20px; font-weight: 800;
}
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 14px; font-size: 24px; color: var(--navy); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 20px 56px; margin: 0; color: var(--muted); position: relative; }
.faq details p::before {
  content: "A"; position: absolute; left: 18px; top: -2px;
  font-family: var(--serif); color: var(--navy); font-size: 20px; font-weight: 800;
}

/* ===== Contact ===== */
.contact { background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.contact-tel {
  display: block; text-decoration: none;
  background: var(--navy); color: #fff; border-radius: 14px; padding: 20px 24px; margin-top: 24px;
}
.contact-tel span { display: block; font-size: 13px; opacity: .8; }
.contact-tel strong { font-size: 32px; letter-spacing: .03em; }

.contact-form { background: #fff; border-radius: 14px; padding: 32px; box-shadow: var(--shadow); }
.field { margin: 0 0 18px; border: 0; padding: 0; }
.field label, .field legend { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field em {
  font-style: normal; font-size: 11px; background: var(--accent); color: #fff;
  padding: .1em .6em; border-radius: 4px; margin-left: .6em; vertical-align: middle;
}
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(29,58,102,.15); }
.field input.invalid { border-color: #d33; background: #fff5f5; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; font-weight: 500; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: .45em 1em; border: 1.5px solid var(--line); border-radius: 99px; font-size: 14px;
}
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid rgba(226,113,29,.5); }

.form-status { margin: 14px 0 0; font-weight: 700; text-align: center; }
.form-status.error { color: #c22; }
.form-status.success { color: var(--ok); }

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 28px; }
  .section-title.left { text-align: center; }
}
@media (max-width: 600px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form, .checker, .area-panel { padding: 22px 18px; }
}

/* ===== Office ===== */
.office-table { width: 100%; border-collapse: collapse; }
.office-table th, .office-table td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.office-table th { width: 140px; color: var(--navy); background: var(--tint); white-space: nowrap; }
@media (max-width: 600px) {
  .office-table th, .office-table td { display: block; width: 100%; }
  .office-table th { border-bottom: 0; padding-bottom: 6px; }
}

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 40px 0 90px; text-align: center; font-size: 14px; }
.footer-name { color: #fff; font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.copyright { margin: 16px 0 0; font-size: 12px; }

/* ===== Floating CTA (mobile) ===== */
.floating-cta {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: none;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 700;
  padding: 14px 22px; border-radius: 99px; box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
@media (max-width: 900px) { .floating-cta { display: block; } }
