:root {
  --red: #c8102e;
  --ink: #292d33;
  --muted: #5e646c;
  --line: #dcdfe3;
  --soft: #f6f7f8;
  --white: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
a { color: inherit; }
.container { width: min(100% - 40px, 1120px); margin-inline: auto; }
.narrow { max-width: 800px; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-name { font-size: 18px; font-weight: 800; letter-spacing: .04em; text-decoration: none; }
.site-name:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border: 2px solid var(--red);
  border-radius: 6px;
  background: var(--red);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s ease;
}
.button:hover { text-decoration: underline; }
.button-small { min-height: 44px; padding: 9px 18px; }
.hero { position: relative; overflow: hidden; background: var(--soft); }
.hero::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8px; background: var(--red); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); align-items: center; gap: 64px; padding-block: 96px; }
.eyebrow { margin: 0 0 18px; color: var(--red); font-size: 16px; font-weight: 800; letter-spacing: .04em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(38px, 5vw, 64px); line-height: 1.3; letter-spacing: .02em; }
.hero-lead { max-width: 650px; margin-bottom: 32px; font-size: clamp(19px, 2vw, 24px); font-weight: 700; line-height: 1.65; }
.hero-badges { display: grid; gap: 12px; }
.badge { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 90px; padding: 18px 22px; border: 1px solid var(--line); border-left: 5px solid var(--red); border-radius: 4px; background: var(--white); }
.badge strong { flex: 0 0 auto; color: var(--red); font-size: clamp(23px, 2.5vw, 30px); line-height: 1.5; }
.badge span { font-size: 16px; font-weight: 700; text-align: right; }
.section { padding-block: 88px; }
.section-soft { background: var(--soft); }
h2 { margin-bottom: 36px; font-size: clamp(27px, 3vw, 36px); line-height: 1.45; letter-spacing: .01em; }
h3 { margin-bottom: 14px; font-size: 19px; line-height: 1.55; }
.need-list { display: grid; gap: 12px; margin: 0 0 36px; padding: 0; list-style: none; }
.need-list li { padding: 18px 22px 18px 48px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); position: relative; font-weight: 600; }
.need-list li::before { content: ""; position: absolute; top: 27px; left: 22px; width: 11px; height: 11px; border-radius: 50%; background: var(--red); }
.emphasis { margin: 36px 0 0; padding: 14px 0 14px 20px; border-left: 5px solid var(--red); font-size: 19px; font-weight: 800; line-height: 1.65; }
.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.job-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.role-card h3 { padding-bottom: 14px; border-bottom: 2px solid var(--red); }
.role-card h3 small, tbody th small { display: block; font-size: 14px; font-weight: 600; }
.plain-list { margin: 0; padding-left: 1.3em; }
.plain-list li + li { margin-top: 10px; }
.plain-list li::marker { color: var(--red); }
.flow-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.flow-list li { min-width: 0; padding: 22px 16px; border-top: 4px solid var(--red); background: var(--soft); counter-increment: flow; }
.flow-list li::before { content: counter(flow, decimal-leading-zero); display: block; margin-bottom: 12px; color: var(--red); font-size: 25px; font-weight: 800; line-height: 1; }
.flow-list h3 { font-size: 17px; }
.flow-list p, .reason-grid p { margin-bottom: 0; }
.reason-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.reason-grid .card { border-top: 4px solid var(--red); }
.job-card { font-weight: 650; }
.section-note { margin: 20px 0 0; color: var(--muted); font-size: 16px; }
.table-wrap { width: 100%; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; line-height: 1.65; }
th, td { padding: 18px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { border-bottom: 2px solid var(--red); background: var(--soft); font-weight: 800; }
th:first-child { width: 25%; }
th:nth-child(2) { width: 48%; }
tbody th { font-weight: 700; }
.price-highlight { color: var(--red); font-size: clamp(19px, 2vw, 24px); line-height: 1.45; }
.muted-service { color: var(--muted); }
.notice-box { padding: 28px 32px; border: 1px solid #b9bec4; border-radius: 5px; background: var(--white); color: #4e545c; font-size: 16px; }
.notice-box h2 { margin-bottom: 20px; color: var(--ink); font-size: 22px; }
.notice-box li::marker { color: #8a9097; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 38px 22px 0; cursor: pointer; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 14px; color: var(--red); font-size: 30px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin-bottom: 22px; padding-right: 32px; }
.section-contact { text-align: center; background: var(--soft); }
.section-contact h2 { margin-bottom: 12px; }
.contact-lead { margin-bottom: 24px; }
.company-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; text-align: left; }
.company-block { min-width: 0; }
.company-block h3 { margin-bottom: 10px; color: var(--ink); }
.company-details p { margin: 0; }
.company-details p + p { margin-top: 6px; }
.site-footer { padding: 24px 0; color: var(--muted); font-size: 16px; text-align: center; }
.mobile-contact { display: none; }

@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; padding-block: 68px; }
  .hero-badges { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .badge { display: block; min-height: 110px; padding: 14px; }
  .badge strong, .badge span { display: block; text-align: left; }
  .flow-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reason-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { padding-bottom: 78px; }
  .container { width: min(100% - 32px, 1120px); }
  .header-inner { min-height: 60px; }
  .header-contact { display: none; }
  .hero::before { width: 5px; }
  .hero-inner { gap: 28px; padding-block: 56px 48px; }
  .hero-lead { margin-bottom: 24px; }
  .hero-button { width: 100%; }
  .hero-badges { grid-template-columns: 1fr; gap: 8px; }
  .badge { display: flex; min-height: 72px; align-items: center; padding: 12px 16px; }
  .badge span { text-align: right; }
  .section { padding-block: 60px; }
  h2 { margin-bottom: 26px; }
  .emphasis { font-size: 17px; }
  .role-grid, .job-grid, .flow-list, .company-details { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .flow-list li { padding: 18px 20px; }
  .flow-list li::before { margin-bottom: 8px; }
  .flow-list h3 { margin-bottom: 6px; }
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap th, .table-wrap td { display: block; width: 100%; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .table-wrap tr { margin-bottom: 14px; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
  .table-wrap th, .table-wrap td { padding: 12px 16px; border-bottom: 0; }
  .table-wrap tbody th { border-bottom: 2px solid var(--red); background: var(--soft); }
  .table-wrap td::before { display: block; color: var(--muted); font-size: 16px; font-weight: 700; }
  .table-wrap td:nth-of-type(1)::before { content: "中身"; }
  .table-wrap td:nth-of-type(2)::before { content: "料金"; }
  .notice-box { padding: 22px; }
  .company-details { gap: 24px; }
  .mobile-contact { position: fixed; z-index: 20; inset: auto 0 0; display: block; padding: 10px 16px max(10px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); box-shadow: 0 -4px 16px #292d3314; }
  .mobile-contact .button { width: 100%; min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
