:root {
  --navy: #1672ab;
  --blue: #509dc7;
  --ink: #1f2a37;
  --muted: #5b6675;
  --line: #dfe6ee;
  --tint: #f3f6f9;
  --word: #2b579a;
  --excel: #1d6f42;
  --pdf: #b3261e;
  --radius: 8px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.header .logo img { display: block; width: 235px; }
.header-right { display: flex; align-items: center; gap: 24px; }
.header-tel { font-size: 13px; color: var(--muted); line-height: 1.4; text-align: right; }
.header-tel strong { display: block; font-size: 20px; color: var(--navy); letter-spacing: .04em; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 6px;
  background: var(--navy); color: #fff;
  font-weight: 700; font-size: 15px; text-decoration: none;
  transition: background .2s;
}
.btn:hover { background: var(--blue); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* MV */
.mv { background: var(--tint); padding: 40px 0 20px; }
.mv-inner { position: relative; max-width: 967px; margin: 0 auto; }
.mv-slides { display: grid; }
.mv-slide {
  grid-area: 1 / 1; position: relative;
  opacity: 0; visibility: hidden; transition: opacity .8s, visibility .8s;
}
.mv-slide.is-active { opacity: 1; visibility: visible; }
.mv-slide img { display: block; width: 100%; }
.mv-ov { position: absolute; bottom: 4%; width: 21%; }
.mv-arrow {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: #fff; color: var(--navy); cursor: pointer;
  box-shadow: 0 2px 8px rgba(13,59,102,.18);
  display: grid; place-items: center;
}
.mv-arrow:hover { background: var(--navy); color: #fff; }
.mv-arrow svg { width: 20px; height: 20px; }
.mv-prev { left: -22px; }
.mv-next { right: -22px; }
.mv-dots { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.mv-dots button {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 5px;
  background: #c3cfdc; cursor: pointer; transition: width .3s, background .3s;
}
.mv-dots button[aria-current] { width: 28px; background: var(--navy); }

/* Quick links */
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px auto 0; }
.quick a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.quick a:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(13,59,102,.08); }
.quick small { display: block; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.quick strong { font-size: 17px; }
.quick svg { width: 20px; height: 20px; color: var(--blue); flex: none; }

/* Sections */
.section { padding: 72px 0 0; scroll-margin-top: 72px; }
.section-head { margin-bottom: 24px; }
.eyebrow { margin: 0; color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.section-head h2 { margin: 4px 0 0; font-size: 26px; line-height: 1.5; color: var(--navy); }
.section-head h2::after { content: ""; display: block; width: 40px; height: 3px; margin-top: 12px; background: var(--blue); }
.note {
  margin: 0 0 16px; padding: 14px 18px;
  background: var(--tint); border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15px;
}
.reader { margin: 0 0 12px; text-align: right; font-size: 13px; color: var(--muted); }

/* Tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; border-top: 2px solid var(--navy); }
.tbl th, .tbl td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.tbl thead th { background: var(--tint); color: var(--navy); font-size: 14px; white-space: nowrap; }
.tbl tbody th { color: var(--navy); white-space: nowrap; }
.tbl ul { margin: 0; padding: 0; list-style: none; }
.tbl li { position: relative; padding-left: 14px; }
.tbl li::before { content: ""; position: absolute; left: 0; top: .8em; width: 5px; height: 5px; border-radius: 50%; background: #9fb3c8; }
.tbl .num { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--muted); }
.tbl .dl-cell { width: 1%; text-align: center; white-space: nowrap; }
.tbl tbody tr:hover { background: #fafcfe; }
.small-note { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }

.dl {
  display: inline-flex; align-items: center; gap: 6px;
  min-width: 96px; justify-content: center;
  padding: 8px 14px; border-radius: 6px; border: 1px solid currentColor;
  font-size: 13px; font-weight: 700; text-decoration: none; background: #fff;
  transition: background .2s, color .2s;
}
.dl svg { width: 16px; height: 16px; }
.dl-word { color: var(--word); }
.dl-excel { color: var(--excel); }
.dl-pdf { color: var(--pdf); }
.dl:hover { color: #fff; }
.dl-word:hover { background: var(--word); border-color: var(--word); }
.dl-excel:hover { background: var(--excel); border-color: var(--excel); }
.dl-pdf:hover { background: var(--pdf); border-color: var(--pdf); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 32px; padding: 0; list-style: none; counter-reset: s; }
.steps li {
  counter-increment: s; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px;
}
.steps li::before {
  content: "STEP " counter(s); display: block; margin-bottom: 4px;
  color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .1em;
}
.steps-lead { margin: 0 0 12px; font-weight: 700; }
.table-group + .table-group { margin-top: 32px; }
.table-group h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy); }

/* Contact */
.contact { margin-top: 96px; background: var(--navy); color: #fff; }
.contact .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.contact h2 { margin: 0; font-size: 22px; }
.contact p { margin: 4px 0 0; font-size: 14px; opacity: .85; }
.contact-actions { display: flex; align-items: center; gap: 32px; }
.contact-tel { color: #fff; text-decoration: none; line-height: 1.4; }
.contact-tel small { display: block; font-size: 12px; opacity: .8; }
.contact-tel strong { font-size: 28px; letter-spacing: .04em; }
.contact .btn { background: #fff; color: var(--navy); }
.contact .btn:hover { background: #e6eef6; }

/* Footer */
.footer { padding: 32px 0; font-size: 13px; color: var(--muted); }
.footer .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.footer p { margin: 0; }

@media (max-width: 720px) {
  .header .wrap { height: 60px; }
  .header .logo img { width: 170px; }
  .header-tel { display: none; }
  .header .btn { padding: 8px 12px; font-size: 13px; }
  .header .btn svg { display: none; }
  .mv { padding: 16px 0 12px; }
  .mv-arrow { display: none; }
  .quick { grid-template-columns: 1fr; margin-top: 24px; }
  .section { padding-top: 56px; scroll-margin-top: 60px; }
  .section-head h2 { font-size: 22px; }
  .steps { grid-template-columns: 1fr; }

  /* 事故報告書テーブルはカード表示 */
  .tbl-stack thead { display: none; }
  .tbl-stack tbody tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .tbl-stack tbody th, .tbl-stack tbody td { display: block; padding: 4px 0; border: 0; width: auto; text-align: left; }
  .tbl-stack tbody th { font-size: 17px; }
  .tbl-stack td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; color: var(--muted); }
  .tbl-stack .dl-cell { padding-top: 8px; }
  .tbl th, .tbl td { padding: 14px 8px; }

  .contact .wrap, .contact-actions, .footer .wrap { flex-direction: column; align-items: flex-start; }
  .contact-actions { gap: 16px; }
}

/* Sub page */
.page-head { background: var(--tint); padding: 20px 0 40px; border-bottom: 1px solid var(--line); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; }
.page-head h1 { margin: 4px 0 0; font-size: 32px; line-height: 1.4; color: var(--navy); }
.page-lead { margin: 8px 0 0; color: var(--muted); }

.prose p { margin: 0 0 1em; }
.figure { margin: 32px 0 0; text-align: center; }
.figure img { display: block; margin: 0 auto; }
.figure figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }

.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center;
  padding: 40px 0; border-top: 1px solid var(--line);
}
.section-head + .feature { border-top: 0; padding-top: 8px; }
.feature-num { margin: 0; color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.feature h3 { margin: 4px 0 12px; font-size: 20px; line-height: 1.6; color: var(--navy); }
.feature p:last-child { margin: 0; }
.feature img { justify-self: center; }

.others {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center;
  margin-top: 16px; padding: 32px; background: var(--tint); border-radius: var(--radius);
}
.others h3 { margin: 0 0 8px; font-size: 20px; color: var(--navy); }
.others img { width: 220px; }
.checklist { margin: 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 28px; margin-top: 8px; }
.checklist li::before {
  content: ""; position: absolute; left: 3px; top: .5em;
  width: 12px; height: 7px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); rotate: -45deg;
}

.callout { margin-top: 72px; padding: 28px 32px; border: 2px solid var(--navy); border-radius: var(--radius); }
.callout h2 { margin: 0 0 8px; font-size: 18px; color: var(--navy); }
.callout p { margin: 0; }
.callout strong { color: var(--blue); }

@media (max-width: 720px) {
  .page-head h1 { font-size: 24px; }
  .feature, .others { grid-template-columns: 1fr; gap: 20px; }
  .others { padding: 24px 20px; }
  .others img { justify-self: center; width: 180px; }
  .callout { padding: 20px; }
}

/* Form */
.form-steps { display: flex; gap: 8px; margin: 0 0 40px; padding: 0; list-style: none; counter-reset: st; }
.form-steps li {
  flex: 1; padding: 10px 8px; border-radius: 6px; counter-increment: st;
  background: var(--tint); color: var(--muted); font-size: 14px; font-weight: 700; text-align: center;
}
.form-steps li::before { content: counter(st) ". "; }
.form-steps li[aria-current] { background: var(--navy); color: #fff; }
.tag-warn {
  display: inline-block; margin-left: 12px; padding: 2px 10px; vertical-align: middle;
  border: 1px solid #c62828; border-radius: 4px; color: #c62828; font-size: 14px; line-height: 1.6;
}
.form-intro { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 24px; }
.form-intro p { margin: 0; font-size: 14px; color: var(--muted); }
.seal { flex: none; }
.req {
  display: inline-block; margin-left: 8px; padding: 0 6px; border-radius: 3px; vertical-align: middle;
  background: #c62828; color: #fff; font-size: 11px; font-weight: 700; line-height: 1.8;
}
.form-note { margin: 0 0 16px; font-size: 14px; }
.form-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); font-size: 15px; }
.form-table th, .form-table td { padding: 20px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.form-table th { width: 30%; background: var(--tint); color: var(--navy); }
.form-table input[type="text"], .form-table input[type="email"], .form-table input[type="tel"], .form-table select, .form-table textarea {
  width: 100%; max-width: 480px; padding: 10px 12px;
  border: 1px solid #c3cfdc; border-radius: 6px; background: #fff; color: var(--ink); font: inherit; font-size: 16px;
}
.form-table select { width: auto; min-width: 200px; }
.form-table textarea { max-width: none; min-height: 180px; resize: vertical; }
.form-table :is(input, select, textarea):focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form-table .short { max-width: 200px; }
.sub + .sub { margin-top: 12px; }
.sub-label { display: block; margin-bottom: 4px; font-size: 13px; color: var(--muted); }
.pre { white-space: pre-wrap; }
.form-actions { display: flex; justify-content: center; gap: 16px; margin-top: 40px; }
.form-actions .btn { min-width: 220px; justify-content: center; border: 1px solid var(--navy); cursor: pointer; font-family: inherit; }
.btn-ghost { background: #fff; color: var(--navy); }
.btn-ghost:hover { background: var(--tint); }
.thanks { padding: 24px 0; text-align: center; }
.thanks p { margin: 0 0 32px; }
main > .wrap:last-child { padding-bottom: 96px; } /* お問い合わせ帯が無いページ */

@media (max-width: 720px) {
  .form-steps li { padding: 8px 4px; font-size: 12px; }
  .tag-warn { display: table; margin: 8px 0 0; }
  .form-intro { flex-direction: column; }
  .form-table th, .form-table td { display: block; width: auto; }
  .form-table th { padding: 10px 12px; border-bottom: 0; }
  .form-table td { padding: 12px 0 20px; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
}

/* Notice */
.notice { margin-top: 48px; padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.notice h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 18px; line-height: 1.5; color: var(--navy); }
.notice h2 svg { width: 22px; height: 22px; flex: none; }
.notice p { margin: 0; font-size: 15px; }
.notice p + p { margin-top: 12px; }

/* Movie */
.section-head.center { text-align: center; }
.section-head.center h2::after { margin-inline: auto; }
.section-lead { margin: 16px 0 0; color: var(--muted); }
.movie { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.movie h3 { margin: 0 0 12px; font-size: 24px; line-height: 1.5; color: var(--navy); }
.movie-text p { margin: 0 0 24px; }
.movie-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  padding: 16px; border: 0; border-radius: 16px; background: var(--tint); color: var(--navy);
  font: inherit; font-weight: 700; cursor: pointer; transition: background .2s, color .2s;
}
.movie-btn:hover { background: var(--navy); color: #fff; }
.movie-btn svg { width: 22px; height: 22px; }
.movie-btn:hover path { fill: var(--navy); }
.movie-thumb { margin: 0; text-align: center; }
.movie-thumb button { display: block; width: 100%; padding: 0; border: 0; overflow: hidden; background: none; cursor: pointer; }
.movie-thumb img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: all .4s; border: 1px solid #cccccc; }
.movie-thumb button:hover img { opacity: .6; }
.movie-thumb figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); }
.movie-dialog { width: min(960px, 92vw); padding: 0; border: 0; background: #000; overflow: visible; }
.movie-dialog::backdrop { background: rgba(0, 0, 0, .75); }
.movie-dialog video { display: block; width: 100%; aspect-ratio: 16 / 9; }
.movie-close {
  position: absolute; top: -48px; right: 0; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer;
}

@media (max-width: 720px) {
  .notice { margin-top: 32px; padding: 20px; }
  .movie { grid-template-columns: 1fr; gap: 24px; }
  .movie h3 { font-size: 20px; }
}
