/* 会社専用AI セキュリティサービス LP
   色は提案書に合わせる：夜の紺・青・朝焼けのオレンジ */
:root {
  --night: #0c2350;
  --navy: #13306b;
  --blue: #1659d1;
  --blue-dark: #0f47ad;
  --sky: #e8f0fc;
  --dawn: #f29b2e;
  --dawn-dark: #b8650a;
  --dawn-soft: #fdf0dc;
  --paper: #f3f6fa;
  --ink: #17233b;
  --ink-2: #4b5875;
  --line: #d6dfeb;
  --alert: #c93a22;
  --ok: #1f8f55;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --num: "Barlow Semi Condensed", "Noto Sans JP", sans-serif;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
h1, h2, h3 {
  font-feature-settings: "palt";
  letter-spacing: .01em;
  word-break: auto-phrase;
  text-wrap: balance;
}
:focus-visible { outline: 3px solid var(--dawn); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.5rem; height: 1.5rem; flex: none; }
.package .icon, .pillars .icon, .form-done .icon { display: block; }
.num { font-family: var(--num); font-weight: 700; letter-spacing: .01em; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--night); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip:focus { top: 1rem; }
.todo {
  background: #fff1a8; color: #5c4300; padding: 0 .35em; border-radius: 3px;
  outline: 1px dashed #b38f00;
}

.wrap { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 20px; }
.wrap--narrow { max-width: 860px; }

.note { margin-top: 1rem; font-size: .8125rem; line-height: 1.75; color: var(--ink-2); }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.25rem; padding: .75rem 1.5rem;
  border: 2px solid transparent; border-radius: 10px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.3;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); }
.btn--dawn { background: var(--dawn); color: var(--night); }
.btn--dawn:hover { background: #f6ad4f; }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--night); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--small { min-height: 2.5rem; padding: .4rem 1rem; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name { font-weight: 900; color: var(--night); font-size: 1rem; line-height: 1.2; letter-spacing: .04em; }
.brand__sub { display: block; font-size: .6875rem; font-weight: 500; color: var(--ink-2); letter-spacing: .06em; }
.site-nav { display: none; gap: 1.75rem; }
.site-nav a { color: var(--night); text-decoration: none; font-size: .9375rem; font-weight: 500; }
.site-nav a:hover { color: var(--blue); }
@media (min-width: 900px) { .site-nav { display: flex; } }

/* ファーストビュー */
.hero {
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(60rem 26rem at 85% -10%, rgba(242, 155, 46, .16), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}
.hero__inner { display: grid; gap: 3rem; align-items: center; }
.hero__tagline {
  display: inline-block;
  border-left: 4px solid var(--dawn);
  padding-left: .75rem;
  font-weight: 700; color: var(--navy); font-size: 1rem; line-height: 1.5;
}
.hero__title {
  margin-top: 1.25rem;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem);
  font-weight: 900; line-height: 1.3; color: var(--night);
  text-wrap: wrap;
}
.hero__lead { margin-top: 1.5rem; max-width: 34em; font-size: 1.0625rem; color: var(--ink-2); }
.hero__limited {
  display: inline-flex; align-items: center; gap: .6rem;
  margin-top: 1.75rem; padding: .35rem 1rem .35rem .35rem;
  border-radius: 999px; background: var(--dawn-soft);
  color: #7a4300; font-weight: 700; font-size: .9375rem;
}
.hero__limited-mark { background: var(--night); color: #fff; border-radius: 999px; padding: .1rem .7rem; font-size: .8125rem; }
.hero__price { display: flex; flex-wrap: wrap; gap: .5rem 2.25rem; margin-top: 1.25rem; }
.hero__price dt { font-size: .8125rem; font-weight: 700; color: var(--ink-2); }
.hero__price dd { font-weight: 700; color: var(--night); font-size: 1.125rem; line-height: 1.2; }
.hero__price .num { font-size: 2.5rem; margin-right: .1em; }
.hero__price small { display: block; font-size: .8125rem; font-weight: 500; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.hero__visual { width: 100%; max-width: 560px; }
.hero__caption { margin-top: .75rem; text-align: right; font-size: .75rem; color: var(--ink-2); }

@media (min-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 3.5rem; }
}

/* 朝焼けの枠。レポートのカードは枠の中に収め、上から朝日がのぞく */
.dawn {
  display: grid; gap: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 24px;
  background: linear-gradient(176deg, var(--night) 0%, #183a78 34%, #4b4f8a 56%, #cf7d58 80%, #f2ae66 100%);
  box-shadow: 0 30px 60px -34px rgba(12, 35, 80, .6);
  overflow: hidden;
}
.dawn__clock {
  position: relative;
  color: rgba(255, 255, 255, .86); font-size: .875rem; font-weight: 700; line-height: 1.6;
}
.dawn__clock .num { display: block; font-size: clamp(2.75rem, 2.1rem + 2.2vw, 3.75rem); font-weight: 600; line-height: 1; color: #fff; }
/* 朝日と重ならないよう、説明は左側で折り返す */
.dawn__note { display: block; max-width: 10.5em; margin-top: .5rem; word-break: auto-phrase; }
.dawn__clock::after {
  content: ""; position: absolute; right: 9%; bottom: -3.6rem;
  width: 5.5rem; height: 5.5rem; border-radius: 50%;
  background: radial-gradient(circle, #fff3dc 0%, #ffd08a 48%, var(--dawn) 100%);
  box-shadow: 0 0 70px 22px rgba(242, 155, 46, .42);
}

/* 朝のレポートの見本 */
.report {
  position: relative; z-index: 1;
  padding: 1rem 1.1rem 1.1rem;
  background: #fff; border-radius: 16px;
  box-shadow: 0 24px 44px -24px rgba(5, 15, 40, .7);
  line-height: 1.5;
}
.report__head { display: flex; align-items: center; gap: .5rem; color: var(--navy); }
.report__head .icon { color: var(--blue); }
.report__title { font-weight: 900; font-size: 1rem; }
.sample {
  margin-left: auto; padding: 0 .5rem; border: 1px solid var(--line); border-radius: 4px;
  font-size: .6875rem; font-weight: 700; line-height: 1.6; color: var(--ink-2);
}
.report__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .8rem; }
.report__tile { padding: .55rem .75rem; border-radius: 10px; font-size: .8125rem; font-weight: 700; }
.report__tile strong { display: block; font-size: .875rem; }
.report__tile .num { font-size: 1.75rem; margin-right: .1em; line-height: 1; }
.report__tile--warn { background: #fff4e5; border: 1px solid #f5cf96; color: #7a4300; }
.report__tile--warn .num { color: #d97200; }
.report__tile--info { background: var(--sky); border: 1px solid #bcd2f4; color: var(--navy); }
.report__tile--info .num { color: var(--blue); }
.report__alert {
  margin-top: .6rem; padding: .6rem .8rem;
  border: 1px solid #f1c1b6; border-left: 4px solid var(--alert); border-radius: 10px;
  background: #fdf0ec;
}
.report__alert-title { font-weight: 900; color: #8d2614; }
.report__alert-meta { font-size: .8125rem; color: #6b3a30; }
.report__action { margin-top: .6rem; padding: .5rem .7rem; border-radius: 8px; background: var(--paper); font-size: .8125rem; font-weight: 500; }
.report__action span {
  display: inline-block; margin-right: .5rem; padding: 0 .5rem; border-radius: 4px;
  background: var(--navy); color: #fff; font-weight: 700;
}

/* 読み込んだときに一度だけ：朝日がのぼり、レポートが届く */
@media (prefers-reduced-motion: no-preference) {
  .dawn__clock::after { animation: rise 1.1s cubic-bezier(.2, .7, .3, 1) .1s both; }
  .report { animation: arrive .75s cubic-bezier(.2, .75, .25, 1) .55s both; }
  .report__alert { animation: flag 1.6s ease-in-out 1.6s 1; }
}
@keyframes rise { from { opacity: 0; transform: translateY(2.5rem); } }
@keyframes arrive { from { opacity: 0; transform: translateY(32px); } }
@keyframes flag {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 58, 34, 0); }
  40% { box-shadow: 0 0 0 7px rgba(201, 58, 34, .16); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* セクション共通 */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section__head { max-width: 48rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section__head h2 {
  font-size: clamp(1.625rem, 1.1rem + 2vw, 2.5rem);
  font-weight: 900; line-height: 1.4; color: var(--night);
}
.section__head p { margin-top: 1rem; max-width: 38em; font-size: 1.0625rem; color: var(--ink-2); word-break: auto-phrase; }

/* 専用の1台 */
.link-diagram { display: grid; gap: 1rem; align-items: center; }
.link-diagram__end img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius); }
.link-diagram__end:first-child img { object-position: center 30%; }
.link-diagram__end figcaption { margin-top: .6rem; font-weight: 700; color: var(--night); }

/* データセンターの機材の図（写真ではなく図で描く） */
.machine {
  position: relative;
  display: grid; justify-items: center; align-content: center; gap: 1.1rem;
  height: 220px; padding: 1.25rem; border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 56px),
    linear-gradient(160deg, var(--navy) 0%, var(--night) 60%, #081a3d 100%);
}
.machine__box { width: min(64%, 250px); height: auto; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .45)); }
.machine__badge.icon {
  position: absolute; top: 1rem; right: 1rem;
  width: 2.5rem; height: 2.5rem; padding: .5rem; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff;
}
.machine__uses { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.machine__uses li {
  padding: .1rem .75rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .1);
  color: #fff; font-size: .8125rem; font-weight: 700;
}
.link-diagram__wire {
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  font-size: .875rem; font-weight: 700; color: var(--blue); text-align: center;
}
.link-diagram__wire::after {
  content: ""; width: 18px; height: 56px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 56'%3E%3Cpath d='M9 0v50' stroke='%231659d1' stroke-width='3' stroke-dasharray='5 4'/%3E%3Cpath d='M2 44l7 10 7-10' fill='none' stroke='%231659d1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media (min-width: 820px) {
  .link-diagram { grid-template-columns: minmax(0, .8fr) auto minmax(0, 1.2fr); gap: 1.25rem; }
  .link-diagram__wire { padding-bottom: 2rem; }
  .link-diagram__wire::after { width: 120px; height: 18px; transform: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 18'%3E%3Cpath d='M0 9h112' stroke='%231659d1' stroke-width='3' stroke-dasharray='6 5'/%3E%3Cpath d='M106 2l10 7-10 7' fill='none' stroke='%231659d1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
}

.package { display: grid; gap: 2rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.package li { border-top: 3px solid var(--night); padding-top: 1.25rem; }
.package .icon { width: 2rem; height: 2rem; color: var(--blue); }
.package h3 { margin-top: .6rem; font-size: 1.1875rem; font-weight: 900; color: var(--night); }
.package p { margin-top: .4rem; font-size: .9375rem; color: var(--ink-2); }
@media (min-width: 820px) { .package { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

/* 専用AIの1日 */
.day { background: var(--paper); }
.timeline { position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 10px; top: 14px; bottom: 0; width: 4px; border-radius: 2px;
  background: linear-gradient(180deg, var(--dawn) 0%, #6fa3ee 28%, var(--blue) 58%, var(--night) 82%, var(--night) 100%);
}
.stop {
  --stop: var(--blue);
  position: relative;
  display: grid; gap: 1.75rem;
  margin-left: 2.75rem;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.stop::before {
  content: ""; position: absolute; left: calc(-2.75rem + 1px); top: .7rem;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--paper); border: 5px solid var(--stop);
}
.stop--dawn { --stop: var(--dawn); }
.stop--morning { --stop: #4f8de6; }
.stop--noon { --stop: var(--blue); }
.stop--night { --stop: var(--night); }
.stop__time { font-family: var(--num); font-weight: 600; font-size: clamp(2.5rem, 1.9rem + 2vw, 3.5rem); line-height: 1; color: var(--stop); }
.stop--dawn .stop__time { color: var(--dawn-dark); }
.stop__until { font-size: .5em; margin-left: .15em; }
.stop__body h3 { margin-top: .9rem; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem); font-weight: 900; line-height: 1.45; color: var(--night); }
.stop__body > p:not(.stop__time):not(.note):not(.stop__optional) { margin-top: .9rem; max-width: 34em; }
.stop__optional {
  display: inline-block; margin-top: .9rem; padding: .1rem .75rem; border-radius: 999px;
  background: var(--dawn-soft); color: #7a4300; font-size: .8125rem; font-weight: 700;
}

.flow { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .35rem; margin-top: 1.25rem; }
.flow li {
  position: relative;
  padding: .3rem .75rem; border-radius: 8px; background: #fff; border: 1px solid var(--line);
  font-size: .875rem; font-weight: 700; color: var(--navy);
}
.flow li:not(:last-child) { margin-right: 1rem; }
.flow li:not(:last-child)::after {
  content: ""; position: absolute; right: -.85rem; top: 50%;
  width: .45rem; height: .45rem; margin-top: -.25rem;
  border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: rotate(45deg);
}

/* 写真と、その仕事の画面の見本を 1 枚にまとめたカード。写真の上には重ねない */
.shot {
  max-width: 560px;
  overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 24px 48px -36px rgba(12, 35, 80, .45);
}
.shot__photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.stop--dawn .shot__photo { aspect-ratio: auto; }
.stop--morning .shot__photo { object-position: center 15%; }
.stop--noon .shot__photo { object-position: center 25%; }
.shot__screen { padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--line); font-size: .875rem; line-height: 1.6; }
.shot__title { display: flex; align-items: center; gap: .45rem; font-weight: 900; font-size: 1rem; color: var(--night); }
.shot__title .icon, .chat__ref .icon { color: var(--blue); width: 1.15rem; height: 1.15rem; }

.inbox { margin-top: .5rem; }
.inbox li {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .5rem 0; border-bottom: 1px solid var(--line);
}
.inbox li:last-child { border-bottom: 0; padding-bottom: 0; }
.inbox__when { font-weight: 700; color: var(--navy); }
.inbox__when .num { margin-left: .15em; font-size: 1.0625rem; }
.inbox__tag { padding: .05rem .65rem; border-radius: 999px; font-size: .8125rem; font-weight: 700; white-space: nowrap; }
.inbox__tag--warn { background: #fff4e5; border: 1px solid #f5cf96; color: #7a4300; }
.inbox__tag--ok { background: #e9f6ef; border: 1px solid #b9e0ca; color: #17683f; }

.memo__label {
  display: inline-block; margin-top: .6rem; padding: 0 .5rem; border-radius: 4px;
  background: var(--blue); color: #fff; font-size: .75rem; font-weight: 700;
}
.memo__text { margin-top: .25rem; }
.memo__list { margin-top: .25rem; }
.memo__list li { position: relative; padding-left: 1.4rem; }
.memo__list li::before {
  content: ""; position: absolute; left: .2rem; top: .45em; width: .7rem; height: .4rem;
  border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg);
}

.chat__q {
  margin: .7rem 0 0 auto; width: fit-content; max-width: 90%;
  padding: .45rem .75rem; border-radius: 12px 12px 4px 12px;
  background: var(--sky); color: var(--navy); font-weight: 700;
}
.chat__a { margin-top: .6rem; padding: .55rem .75rem; border-radius: 12px 12px 12px 4px; background: var(--paper); }
.chat__ref {
  display: flex; align-items: center; gap: .35rem; margin-top: .5rem;
  padding: .35rem .6rem; border: 1px solid #bcd2f4; border-radius: 8px;
  color: var(--blue); font-size: .8125rem; font-weight: 700;
}

.stop--night {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 0;
  border-radius: 20px;
  background: linear-gradient(160deg, #102a5e 0%, var(--night) 55%, #081a3d 100%);
  color: #d9e3f6;
}
.stop--night::before { top: calc(clamp(1.5rem, 4vw, 2.5rem) + .7rem); left: calc(-2.75rem + 1px); }
.stop--night .stop__time { color: #a9c4ff; }
.stop--night h3 { color: #fff; }
.stop--night .checks li::before { border-color: var(--dawn); }

/* 深夜の貸し戻し：1台の中で、御社の資料と計算処理を分ける図 */
.split {
  padding: 1.25rem; border-radius: 16px;
  border: 1px solid rgba(169, 196, 255, .28); background: rgba(255, 255, 255, .04);
}
.split__title { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: #fff; }
.split__title .icon { color: #a9c4ff; }
.split__part {
  display: flex; align-items: flex-start; gap: .85rem;
  margin-top: .85rem; padding: .9rem 1rem; border-radius: 12px;
  border: 1px solid rgba(169, 196, 255, .22); background: rgba(255, 255, 255, .06);
  font-size: .875rem; line-height: 1.6;
}
.split__part .icon { margin-top: .1rem; color: #a9c4ff; }
.split__part strong { display: block; color: #fff; font-size: .9375rem; }
.split__part--lend { border-style: dashed; border-color: rgba(242, 155, 46, .6); background: rgba(242, 155, 46, .08); }
.split__part--lend .icon { color: var(--dawn); }
.split__part p { word-break: auto-phrase; }
.split__part .num { color: #ffd39a; font-size: 1rem; }
/* スマホでは外側の枠を外し、中の 2 つに幅を回す */
@media (max-width: 639px) {
  .split { padding: 0; border: 0; background: none; }
  .split__part { padding: .85rem .9rem; gap: .7rem; }
}

.timeline__loop {
  position: relative; margin: 2rem 0 0 2.75rem;
  font-weight: 700; color: var(--dawn-dark);
}
.timeline__loop::before {
  content: ""; position: absolute; left: calc(-2.75rem + 1px); top: .35rem;
  width: 22px; height: 22px; border-radius: 50%; background: var(--dawn);
}

@media (min-width: 900px) {
  .timeline::before { left: 12px; }
  .stop { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; margin-left: 3.5rem; align-items: center; }
  .stop::before, .stop--night::before, .timeline__loop::before { left: calc(-3.5rem + 3px); }
  .stop::before { top: .7rem; }
  .stop:not(.stop--night) { align-items: start; }
  .timeline__loop { margin-left: 3.5rem; }
}

/* チェック付きの一覧 */
.checks { margin-top: 1rem; }
.checks li { position: relative; padding-left: 1.75rem; margin-top: .35rem; }
.checks li::before {
  content: ""; position: absolute; left: .2rem; top: .5em; width: .8rem; height: .45rem;
  border-left: 3px solid var(--ok); border-bottom: 3px solid var(--ok); transform: rotate(-45deg);
}
.checks--light li::before { border-color: var(--dawn); }

/* 導入前と導入後 */
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 1.1rem 1.25rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { padding-block: .6rem; font-size: .875rem; color: var(--ink-2); border-bottom: 2px solid var(--night); }
.compare tbody th { font-weight: 900; color: var(--night); white-space: nowrap; }
.compare td { color: var(--ink-2); }
.compare td:last-child { color: var(--blue); font-weight: 700; }
/* スマホでは行ごとに縦に並べ、導入後の列を隠さない */
@media (max-width: 639px) {
  .compare thead { display: none; }
  .compare tr { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .compare tbody tr:first-child { border-top: 2px solid var(--night); }
  .compare th, .compare td { display: flex; gap: .75rem; padding: .2rem 0; border: 0; }
  .compare tbody th { margin-bottom: .2rem; }
  .compare td::before { content: attr(data-label); flex: none; width: 4em; font-size: .8125rem; font-weight: 700; color: var(--ink-2); padding-top: .15em; }
}

/* 安心の仕組み */
.safety { background: var(--paper); }
.pillars { display: grid; gap: 1rem; }
.pillars li { padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.pillars .icon {
  width: 2.75rem; height: 2.75rem; padding: .6rem; border-radius: 50%;
  background: var(--sky); color: var(--blue);
}
.pillars h3 { margin-top: .9rem; font-size: 1.125rem; font-weight: 900; color: var(--night); }
.pillars p { margin-top: .4rem; font-size: .9375rem; color: var(--ink-2); }
@media (min-width: 820px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

.safety__grid { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
.checklist, .limits { padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--radius); }
.checklist { background: #fff; border: 1px solid var(--line); }
.checklist h3, .limits h3 { font-size: 1.125rem; font-weight: 900; color: var(--night); }
.checklist dl > div { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.checklist dl > div:last-child { border-bottom: 0; }
.checklist dt { font-size: .875rem; color: var(--ink-2); }
.checklist dd { position: relative; padding-left: 1.6rem; font-weight: 700; color: var(--navy); }
.checklist dd::before {
  content: ""; position: absolute; left: .15rem; top: .5em; width: .8rem; height: .45rem;
  border-left: 3px solid var(--ok); border-bottom: 3px solid var(--ok); transform: rotate(-45deg);
}
.limits { background: var(--dawn-soft); border-left: 5px solid var(--dawn); }
.limits ul { margin-top: .75rem; }
.limits li { position: relative; padding-left: 1.1rem; margin-top: .55rem; font-size: .9375rem; }
.limits li::before { content: ""; position: absolute; left: 0; top: .75em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--dawn-dark); }
@media (min-width: 900px) { .safety__grid { grid-template-columns: 1fr 1fr; } }

/* 料金 */
.price__layout { display: grid; gap: 2rem; align-items: start; }
.price__card {
  padding: clamp(1.75rem, 4vw, 2.5rem); border-radius: 20px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--night) 70%);
  color: #d9e3f6;
}
.price__plan {
  display: inline-block; padding: .15rem .8rem; border-radius: 999px;
  background: rgba(255, 255, 255, .12); font-size: .875rem; font-weight: 700; color: #fff;
}
.price__amounts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.price__amounts dt { font-weight: 700; }
.price__amounts dd { color: #fff; font-weight: 700; font-size: 1.25rem; }
.price__amounts .num { font-size: clamp(3rem, 2rem + 3.5vw, 4.25rem); line-height: 1; margin-right: .1em; }
.price__tax { margin: .75rem 0 1.5rem; text-align: right; font-weight: 700; }
.price__slots { margin-top: 1.25rem; font-size: .875rem; line-height: 1.75; }
.price__slots strong { color: var(--dawn); }
.price__details h3 { font-size: 1.0625rem; font-weight: 900; color: var(--night); }
.price__details h3:not(:first-child) { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.price__details p { margin-top: .5rem; font-size: .9375rem; color: var(--ink-2); }
@media (min-width: 900px) { .price__layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3.5rem; } }

/* 導入の流れ */
.steps { background: var(--paper); }
.steps__list { display: grid; gap: 1.5rem; counter-reset: step; }
.steps__list li { position: relative; padding-left: 3.5rem; counter-increment: step; }
.steps__list li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--night); color: #fff; font-family: var(--num); font-weight: 700; font-size: 1.25rem;
}
.steps__list h3 { font-size: 1.0625rem; font-weight: 900; color: var(--night); line-height: 2.5rem; }
.steps__list p { font-size: .9375rem; color: var(--ink-2); }
@media (min-width: 900px) {
  .steps__list { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
  .steps__list li { padding: 3.5rem 0 0; }
  .steps__list li:not(:last-child)::after {
    content: ""; position: absolute; top: 1.25rem; left: 3.25rem; right: -.75rem; height: 2px; background: var(--line);
  }
  .steps__list h3 { line-height: 1.5; margin-bottom: .4rem; }
}

/* よくある質問 */
.faq__list { max-width: 860px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  position: relative; padding: 1.2rem 2.75rem 1.2rem 0;
  font-weight: 700; color: var(--night); cursor: pointer; list-style: none;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
  font-family: var(--num); font-size: 1.75rem; font-weight: 500; color: var(--blue); line-height: 1;
}
.faq__list details[open] summary::after { content: "−"; }
.faq__list details p { padding: 0 0 1.4rem; color: var(--ink-2); max-width: 40em; }

/* 申し込み */
.apply {
  background: linear-gradient(170deg, var(--night) 0%, #102c63 60%, #163b7d 100%);
  color: #dbe4f5;
}
.apply__inner { display: grid; gap: 2.5rem; align-items: start; }
.apply__intro h2 { font-size: clamp(1.625rem, 1.1rem + 2vw, 2.5rem); font-weight: 900; line-height: 1.4; color: #fff; }
.apply__intro > p { margin-top: 1rem; font-size: 1.0625rem; max-width: 30em; }
.apply__intro .checks { margin-top: 1.5rem; }
.apply__panel { padding: clamp(1.5rem, 4vw, 2.25rem); border-radius: 20px; background: #fff; color: var(--ink); }
@media (min-width: 900px) {
  .apply__inner { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 4rem; }
  .apply__intro { position: sticky; top: 104px; }
}

.field { margin: 0 0 1.25rem; padding: 0; border: 0; min-width: 0; }
.field > label:not(.choice), .field > legend { display: block; margin-bottom: .4rem; padding: 0; font-weight: 700; font-size: .9375rem; color: var(--night); }
.req, .opt {
  display: inline-block; margin-left: .5rem; padding: 0 .45rem; border-radius: 4px;
  font-size: .6875rem; font-weight: 700; line-height: 1.6; vertical-align: .1em;
}
.req { background: var(--night); color: #fff; }
.opt { background: var(--paper); color: var(--ink-2); border: 1px solid var(--line); }
.field__hint { margin-left: .6rem; font-weight: 500; font-size: .8125rem; color: var(--ink-2); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  display: block; width: 100%; padding: .7rem .85rem;
  border: 1.5px solid #c3cfe0; border-radius: 10px; background: #fff;
  font: inherit; font-size: 1rem; line-height: 1.5; color: var(--ink);
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 89, 209, .2);
}
.field [aria-invalid="true"] { border-color: var(--alert); }
.field textarea::placeholder { color: #8692a8; }
.choice {
  display: flex; align-items: center; gap: .65rem;
  margin-bottom: .5rem; padding: .6rem .8rem;
  border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 500;
}
.choice:has(input:checked) { border-color: var(--blue); background: var(--sky); }
.choice input { width: 1.15rem; height: 1.15rem; margin: 0; flex: none; accent-color: var(--blue); }
.choice--agree { padding: 0; border: 0; }
.choice--agree:has(input:checked) { background: none; }
fieldset[aria-invalid="true"] .choice { border-color: #f0b4a8; }
.field__error { margin-top: .4rem; font-size: .8125rem; font-weight: 700; color: var(--alert); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { margin-top: .5rem; min-height: 3.5rem; font-size: 1.0625rem; }
.form__status { margin-top: .75rem; min-height: 1.5em; font-size: .875rem; font-weight: 700; color: var(--alert); }
.form-done { padding: 2.5rem 1rem; text-align: center; }
.form-done:focus { outline: none; }
.form-done .icon {
  width: 3.5rem; height: 3.5rem; padding: .8rem; border-radius: 50%;
  background: #e3f5ea; color: var(--ok); margin-inline: auto;
}
.form-done h3 { margin-top: 1rem; font-size: 1.375rem; font-weight: 900; color: var(--night); }
.form-done p { margin-top: .5rem; color: var(--ink-2); }

/* フッター */
.site-footer { padding: 3rem 0 2rem; background: #081a3d; color: #b6c4de; font-size: .875rem; }
.site-footer__inner { display: grid; gap: 2rem; }
.site-footer__name { font-weight: 900; color: #fff; font-size: 1rem; }
.site-footer__company { margin-top: .75rem; }
.site-footer__company > div { display: flex; gap: 1rem; }
.site-footer__company dt { min-width: 6.5em; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-footer__nav a { color: #fff; }
.site-footer__legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .75rem; line-height: 1.8; }
.site-footer__copy { margin-top: .5rem; font-size: .75rem; }
@media (min-width: 820px) { .site-footer__inner { grid-template-columns: 1fr auto; } }

/* プライバシーポリシー */
.policy { padding-block: clamp(3rem, 6vw, 5rem); }
.policy h1 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.375rem); font-weight: 900; color: var(--night); line-height: 1.4; }
.policy h2 { margin-top: 2.5rem; font-size: 1.1875rem; font-weight: 900; color: var(--night); }
.policy p, .policy ul { margin-top: .75rem; max-width: 40em; }
.policy ul { list-style: disc; padding-left: 1.5rem; }
.policy li + li { margin-top: .3rem; }
.policy__date { margin-top: 3rem; color: var(--ink-2); font-size: .875rem; }
