:root {
  --navy: #111111;
  --navy-deep: #0b0b0b;
  --yellow: #1677d2;
  --yellow-deep: #0f5ea8;
  --sky-light: #8fd0ff;
  --ink: #111111;
  --ink-2: #555b63;
  --rule: #e1e6ec;
  --gray: #f2f7fc;
  --white: #ffffff;
  --num: "Barlow Condensed", "Noto Sans JP", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 60px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  line-break: strict;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-weight: 900; line-height: 1.4; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
figure { margin: 0; }
figcaption { font-size: 11px; color: var(--ink-2); margin-top: 6px; }
.sp { display: inline; }
.pc { display: none; }
.nw { white-space: nowrap; }
@media (min-width: 760px) { .sp { display: none; } .pc { display: inline; } }

.col { max-width: 640px; margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
section p + p { margin-top: 1.1em; }

/* 見出し：小さな英字ラベル＋太いゴシック */
section h2 { font-size: clamp(26px, 6.8vw, 36px); color: var(--navy); margin-bottom: 24px; letter-spacing: .02em; }
section h2[data-en]::before { content: attr(data-en); display: block; width: fit-content; font-family: var(--num); font-weight: 800; font-size: 14px; letter-spacing: .14em; line-height: 1; color: #fff; background: var(--yellow); padding: 5px 9px 4px; margin-bottom: 12px; }


/* header */
.hd { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; color: #fff; transition: background .25s, color .25s; }
.hd.is-solid { background: var(--white); color: var(--navy); box-shadow: 0 1px 0 var(--rule); }
.brand { font-weight: 900; font-size: 15px; text-decoration: none; letter-spacing: .04em; }
.brand, .hd-link { white-space: nowrap; }
@media (max-width: 359px) { .hd-link { display: none; } }
.hd-link { font-size: 13px; font-weight: 700; text-decoration: none; background: var(--yellow); color: #fff; padding: 7px 14px; border-radius: 4px; }

/* buttons */
.btn { display: block; width: 100%; max-width: 420px; text-align: center; text-decoration: none; font-family: inherit; font-weight: 900; font-size: 17px; line-height: 1.5; padding: 16px 20px 15px; border: 0; border-radius: 6px; cursor: pointer; transition: transform .1s, box-shadow .1s; }
.btn span { display: block; font-size: 12px; font-weight: 500; margin-top: 2px; }
.btn-sun { background: var(--yellow); color: #fff; box-shadow: 0 5px 0 var(--yellow-deep); }
.btn-sun:not(:has(span))::after { content: " →"; }
.btn-sun:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--yellow-deep); }
.btn-sun:active { transform: translateY(5px); box-shadow: none; }
.link-btn { display: block; margin-top: 18px; background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; font: inherit; font-size: 14px; cursor: pointer; }

/* hero */
.hero { position: relative; padding: 0; color: #fff; }
.hero-photo { position: relative; height: 90svh; min-height: 560px; max-height: 900px; overflow: hidden; }
.hero-photo img { height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.78) 100%); }
.hero-photo figcaption { position: absolute; right: 12px; bottom: 16px; z-index: 1; color: rgba(255,255,255,.7); margin: 0; }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 1; padding: 0 20px; }
.hero-kicker { display: inline-block; background: var(--yellow); color: #fff; font-weight: 900; font-size: clamp(13px, 3.6vw, 17px); padding: 3px 10px; margin-bottom: 12px; }
.hero h1 { font-size: clamp(32px, 8.8vw, 68px); line-height: 1.3; letter-spacing: .02em; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero-sub { font-weight: 900; font-size: clamp(15px, 4.2vw, 22px); line-height: 1.5; margin-top: 10px !important; }
.hero-nums { display: flex; margin: 20px 0 0; max-width: 600px; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.25); border-radius: 6px; }
.hero-nums div { flex: 1; padding: 10px 10px 8px; }
.hero-nums div + div { border-left: 1px solid rgba(255,255,255,.25); }
.hero-nums dt { font-size: 11px; font-weight: 700; line-height: 1.4; opacity: .9; }
.hero-nums dd { margin: 0; font-family: var(--num); font-weight: 800; font-size: clamp(36px, 10vw, 60px); line-height: 1; color: #fff; white-space: nowrap; }
.hero-nums small { font-family: "Noto Sans JP", sans-serif; font-weight: 900; font-size: .3em; color: var(--sky-light); margin: 0 1px; }
.hero-note { font-size: 10px; opacity: .8; margin-top: 8px !important; }

/* intro */
.intro { padding: 36px 0 12px; }
.intro-lead { font-size: 17px; font-weight: 700; line-height: 1.8; margin-bottom: 22px; color: var(--navy); }

/* article */
.body-lg { font-size: 17px; line-height: 2; }
.article b { font-weight: 900; background: linear-gradient(transparent 60%, rgba(22,119,210,.18) 60%); }

/* merits */
.merits { background: var(--gray); }
.merits .col h2 { margin-bottom: 20px; }
.merit { max-width: 640px; margin: 0 auto 16px; padding: 0 20px; }
.merit > * { background: var(--white); }
.merit > p + p, .merit > p + div { margin-top: 0; }
.merit-tag { display: block; width: fit-content; margin: 0; font-family: var(--num); font-weight: 800; font-size: 15px; letter-spacing: .12em; color: #fff; background: var(--navy) !important; padding: 4px 12px 3px; border-radius: 6px 6px 0 0; }
.merit-num { font-family: var(--num); font-weight: 800; font-size: 96px; line-height: .95; color: var(--yellow); padding: 18px 20px 4px; border-top: 4px solid var(--navy); white-space: nowrap; }
.merit-num small { font-family: "Noto Sans JP", sans-serif; font-weight: 900; font-size: 24px; color: var(--navy); margin: 0 2px; }
.merit-num-word { font-family: "Noto Sans JP", sans-serif; font-weight: 900; font-size: 60px; line-height: 1.1; }
.merit-num::after { content: ""; display: block; width: 64px; height: 6px; background: var(--yellow); margin-top: 10px; }
.merit-body { padding: 12px 20px 22px; border-radius: 0 0 6px 6px; }
.merit h3 { font-size: 21px; line-height: 1.5; color: var(--navy); margin-bottom: 10px; }
.merit-note { font-size: 12px; line-height: 1.8; color: var(--ink-2); margin-top: 12px !important; padding-top: 10px; border-top: 1px dashed var(--rule); }
.merit-photo { max-width: 640px; margin: 8px auto 24px; padding: 0 20px; }
.merit-photo img { border-radius: 6px; }

/* compare */
.compare-lead { color: var(--ink-2); margin-bottom: 20px; }
.sp-only { display: block; font-size: 12px; }
@media (min-width: 640px) { .sp-only { display: none; } }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0 20px 6px; max-width: 960px; margin: 0 auto; }
.compare-table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; font-size: 14px; line-height: 1.6; }
.compare-table th, .compare-table td { padding: 13px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; text-align: left; }
.compare-table thead th { font-size: 14px; font-weight: 900; color: var(--navy); border-bottom: 3px solid var(--navy); vertical-align: bottom; }
.compare-table tbody th { font-size: 12px; font-weight: 700; color: var(--ink-2); width: 92px; position: sticky; left: 0; background: var(--white); }
.compare-table td { color: var(--ink-2); }
.compare-table small { font-size: 11px; color: inherit; }
.compare-table .is-us { background: var(--yellow); color: #fff; }
.compare-table thead .is-us { background: var(--yellow-deep); color: #fff; border-bottom-color: var(--yellow-deep); font-size: 15px; border-radius: 6px 6px 0 0; }
.compare-table td.is-us { border-bottom-color: rgba(255,255,255,.15); }
.compare-table td.is-us b { color: #fff; font-size: 15px; font-weight: 900; }
.compare-table tbody tr:last-child td.is-us { border-radius: 0 0 6px 6px; }
.compare-note { font-size: 12px; line-height: 1.8; color: var(--ink-2); margin: 14px 0 28px; }

/* quote */
.quote { background: var(--yellow); color: #fff; padding: 64px 20px; }
.quote blockquote { margin: 0 auto; max-width: 600px; }
.quote p { font-weight: 900; font-size: clamp(24px, 6.6vw, 40px); line-height: 1.5; }
.quote p.quote-note { font-weight: 500; font-size: 13px; line-height: 1.8; margin-top: 14px; opacity: .9; }

/* article（夜勤） */
.quote + .article { background: var(--gray); }
.side .merit-note { font-size: 12px; color: var(--ink-2); }

/* wide photo */
.wide { padding-top: 0; }
.wide-photo { margin-bottom: 40px; }
.wide-photo img { height: 56vw; max-height: 520px; object-fit: cover; }
.wide-photo figcaption { padding: 0 20px; }

/* risk */
.risk { background: var(--gray); }
.risk-table { width: 100%; border-collapse: collapse; margin: 24px 0 32px; font-size: 15px; line-height: 1.7; background: var(--white); border-radius: 6px; overflow: hidden; }
.risk-table th { text-align: left; font-size: 12px; font-weight: 700; color: #fff; background: var(--navy); padding: 9px 14px; }
.risk-table td { vertical-align: top; padding: 14px; border-bottom: 1px solid var(--rule); }
.risk-table td:first-child { font-weight: 700; width: 46%; color: var(--navy); }
.risk-table td:last-child { color: var(--ink-2); }
.risk-table tr:last-child td { border-bottom: 0; }
.risk-photo img { border-radius: 6px; }

/* faq */
.faq { background: var(--white); }
.faq details { background: var(--gray); border-radius: 6px; margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; font-weight: 700; line-height: 1.6; padding: 16px 44px 16px 52px; position: relative; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; display: grid; place-items: center; background: var(--yellow); color: #fff; font-family: var(--num); font-weight: 800; font-size: 16px; border-radius: 4px; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq .a { position: relative; padding: 0 18px 18px 52px; color: var(--ink-2); font-size: 15px; line-height: 1.9; }
.faq .a::before { content: "A"; position: absolute; left: 14px; top: 0; width: 26px; height: 26px; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--num); font-weight: 800; font-size: 16px; border-radius: 4px; }

/* form */
.form-sec { position: relative; background: var(--navy); color: #fff; padding-top: 64px; padding-bottom: 110px; }
.form-sec h2 { color: #fff; }
.form-lead { color: #b9c0c8; margin-bottom: 24px; }
.f-row { display: block; margin: 0 0 18px; border: 0; padding: 0; }
.f-lbl { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; padding: 0; }
.f-lbl i { font-style: normal; font-weight: 400; font-size: 12px; color: #8b939c; margin-left: 8px; }
.form input[type=text], .form input[type=tel], .form input[type=email], .form select { width: 100%; font: inherit; font-size: 16px; line-height: 1.5; padding: 12px 14px; border: 2px solid transparent; border-radius: 6px; background: var(--white); color: var(--ink); }
.form input:focus, .form select:focus { outline: none; border-color: var(--yellow); }
.chips { display: flex; gap: 8px; margin-top: 8px; }
.chips label { flex: 1; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: block; text-align: center; padding: 10px 2px; border-radius: 6px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); cursor: pointer; font-size: 14px; font-weight: 700; line-height: 1.5; }
.chips input:checked + span { background: var(--yellow); border-color: var(--yellow); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
.agree { display: flex; gap: 10px; align-items: center; font-size: 14px; margin: 8px 0 24px; cursor: pointer; }
.agree input { width: 20px; height: 20px; accent-color: var(--yellow); }
.f-err { color: #ff9b8a; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.f-note { font-size: 12px; color: #8b939c; margin-top: 14px !important; }
.thanks { background: var(--white); color: var(--ink); border-radius: 6px; padding: 24px 20px; }
.thanks-ttl { font-weight: 900; font-size: 22px; color: var(--navy); margin-bottom: 8px; }

/* footer */
.ft { background: var(--navy-deep); color: #6f7680; font-size: 11px; line-height: 1.8; padding: 32px 0 100px; }
.ft-name { color: inherit; font-weight: 500; font-size: 11px; margin-bottom: 0; }
.ft-name + p { margin-top: 0 !important; font-size: 11px; }
.disclaimer { margin-top: 16px !important; }
.copy { margin-top: 12px !important; }
.privacy { margin-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.privacy summary { cursor: pointer; padding: 12px 0; color: #d5dbe1; list-style: none; }
.privacy summary::-webkit-details-marker { display: none; }
.privacy summary::after { content: " +"; }
.privacy[open] summary::after { content: " −"; }
.privacy-body h3 { font-size: 12px; color: #d5dbe1; margin: 14px 0 2px; }
.privacy-body p + p { margin-top: 0; }

/* fixed cta */
.fixed-cta { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 30; display: block; text-align: center; text-decoration: none; background: var(--yellow); color: #fff; font-weight: 900; padding: 15px; border-radius: 6px; box-shadow: 0 4px 0 var(--yellow-deep), 0 8px 24px rgba(0,0,0,.2); transition: transform .25s, opacity .25s; }
.fixed-cta.is-hidden { transform: translateY(140%); opacity: 0; }
@media (min-width: 900px) { .fixed-cta { display: none; } }

/* ===== PC：すべての欄を幅1080の同じ枠にそろえる ===== */
@media (min-width: 900px) {
  :root { --wrap: 1080px; --gutter: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); }

  section { padding: 88px 0; }
  .hd { padding-left: var(--gutter); padding-right: var(--gutter); }
  .hero-copy { padding: 0 var(--gutter); bottom: 64px; }

  /* 見出しは左の列、本文は右の列 */
  .col { max-width: var(--wrap); padding: 0 24px; display: grid; grid-template-columns: 300px minmax(0, 1fr); column-gap: 72px; align-items: start; }
  .col > * { grid-column: 2; }
  .col > h2 { grid-column: 1; grid-row: 1 / span 30; position: sticky; top: 96px; margin-bottom: 0; font-size: 30px; }
  .col > h2 .sp { display: inline; }
  .col > * + * { margin-top: 0; }
  section .col > p + p { margin-top: 1.1em; }
  .col > p, .col > .risk-table, .col > ol, .col > details, .col > .form, .col > .thanks, .col > .f-note { max-width: 660px; }

  /* 見出しのない欄・1列の欄 */
  .intro .col, .article:not(:has(h2)) .col, .ft .col, .merits .col, .compare .col { display: block; }
  .intro .col { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
  .intro .col > * { max-width: none; }
  .intro .btn { flex: none; width: 400px; }
  .article:not(:has(h2)) .col > p { max-width: 760px; }

  /* メリット：番号と数字を左、説明を右 */
  .merit { max-width: var(--wrap); padding: 0 24px; margin-bottom: 20px; display: grid; grid-template-columns: 300px minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .merit > * { background: var(--white); }
  .merit-tag { grid-column: 1; grid-row: 1; justify-self: start; }
  .merit-num { grid-column: 1; grid-row: 2; border-radius: 0 0 0 6px; padding: 28px 28px; font-size: 112px; }
  .merit-num-word { font-size: 66px; }
  .merit-body { grid-column: 2; grid-row: 2; border-top: 4px solid var(--navy); border-radius: 0 0 6px 0; padding: 28px 32px; }
  .merit-photo { max-width: var(--wrap); padding: 0 24px; margin: 8px auto 28px; }
  .merit-photo img { max-height: 480px; object-fit: cover; }

  /* 比較表 */
  .compare-scroll { max-width: var(--wrap); padding: 0 24px 6px; }
  .compare-table { min-width: 0; font-size: 15px; }
  .compare-table tbody th { width: 140px; font-size: 13px; }
  .compare .compare-note { max-width: 760px; }
  .compare .compare-cta { max-width: 420px; }

  /* 引用 */
  .quote { padding: 88px 24px; }
  .quote blockquote { max-width: calc(var(--wrap) - 48px); }

  .wide-photo figcaption { padding: 0 var(--gutter); }
  .risk-photo img { max-height: 420px; object-fit: cover; }
  .ft .col > p { max-width: 760px; }
}
