:root {
  --navy: #123b64;
  --blue: #0a74d1;
  --blue-dark: #075aa2;
  --orange: #ff8a00;
  --yellow: #fff146;
  --red: #df2d21;
  --ink: #1d2730;
  --muted: #627181;
  --line: #d9e4ee;
  --paper: #f7fbff;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(18, 59, 100, 0.16);
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.top-strip {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 9px 16px;
  color: var(--white);
  background: var(--red);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px max(18px, calc((100vw - var(--content)) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--navy));
  border-radius: 8px;
  font-weight: 900;
  font-size: 20px;
}

.brand b,
.brand small {
  display: block;
}

.brand b {
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.header-contact {
  display: block;
  min-width: 190px;
  padding: 8px 14px;
  color: var(--navy);
  background: #fff9d6;
  border: 2px solid var(--orange);
  border-radius: 8px;
  text-align: center;
  line-height: 1.25;
}

.header-contact span,
.header-contact small {
  display: block;
  font-size: 11px;
  font-weight: 900;
}

.header-contact b {
  display: block;
  color: var(--red);
  font-size: 17px;
  font-weight: 900;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
  gap: 34px;
  align-items: center;
  padding: 42px max(18px, calc((100vw - var(--content)) / 2));
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 48%, rgba(225, 241, 255, 0.82) 100%),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=80") center/cover;
  border-bottom: 7px solid var(--blue);
}

.badge {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 7px 14px;
  color: var(--navy);
  background: var(--yellow);
  border: 2px solid var(--navy);
  border-radius: 999px;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  color: var(--navy);
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.12;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin-bottom: 18px;
  color: #32485b;
  font-size: 18px;
  font-weight: 700;
}

.hero-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  width: min(520px, 100%);
  margin: 0 0 18px;
  overflow: hidden;
  border: 2px solid #b9d4ea;
  border-radius: 8px;
  background: #b9d4ea;
}

.hero-summary div {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.92);
}

.hero-summary dt {
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.hero-summary dd {
  margin: 2px 0 0;
  color: var(--red);
  font-size: 25px;
  line-height: 1.15;
  font-weight: 900;
}

.hero-summary dd span {
  font-size: 0.52em;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}

.hero-checks li {
  padding: 7px 12px;
  color: var(--navy);
  background: var(--white);
  border: 2px solid #b9d4ea;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.hero-checks li::before {
  content: "✓";
  margin-right: 6px;
  color: var(--red);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 8px 0 #c65f00;
}

.button.primary:hover {
  background: #f27a00;
}

.button.ghost {
  color: var(--navy);
  background: var(--white);
  border-color: var(--navy);
}

.button.white {
  color: var(--blue);
  background: var(--white);
}

.button.wide {
  width: 100%;
}

.note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-card {
  padding: 24px;
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.card-label {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 4px 10px;
  color: var(--white);
  background: var(--red);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.campaign-stamp {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: start;
  gap: 8px;
  margin-bottom: 16px;
  padding: 16px;
  background: #fffdf0;
  border: 2px solid var(--red);
  border-radius: 8px;
}

.campaign-stamp span {
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
}

.campaign-stamp b {
  color: var(--red);
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
}

.campaign-stamp b small {
  font-size: 0.45em;
}

.campaign-stamp p {
  margin: 0;
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
}

.campaign-stamp em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.6;
}

.mock-browser {
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f1f7fc;
}

.browser-bar {
  display: flex;
  gap: 6px;
  padding: 10px;
  background: var(--navy);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  background: var(--yellow);
  border-radius: 50%;
}

.mock-hero {
  height: 120px;
  background:
    linear-gradient(90deg, rgba(18, 59, 100, 0.88), rgba(10, 116, 209, 0.42)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=900&q=78") center/cover;
}

.mock-lines {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.mock-lines span,
.mock-grid span {
  display: block;
  height: 12px;
  background: #cbddeb;
  border-radius: 8px;
}

.mock-lines span:nth-child(1) {
  width: 78%;
}

.mock-lines span:nth-child(2) {
  width: 58%;
}

.mock-lines span:nth-child(3) {
  width: 88%;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 18px 10px;
}

.mock-grid span {
  height: 54px;
}

.mock-caption {
  display: block;
  padding: 0 18px 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-align: right;
}

.hero-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-weight: 900;
}

.hero-card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--red);
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px max(18px, calc((100vw - var(--content)) / 2));
  color: var(--white);
  background: var(--navy);
}

.contact-band div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.contact-band span {
  font-weight: 900;
}

.contact-band b {
  color: var(--yellow);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1;
}

.contact-band small {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
}

.mail-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  color: var(--white);
  background: var(--orange);
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 6px 0 #b95600;
}

.icon-menu {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  padding: 0 max(18px, calc((100vw - var(--content)) / 2));
  background: var(--navy);
}

.icon-menu a {
  display: grid;
  gap: 4px;
  place-items: center;
  min-height: 78px;
  padding: 14px 8px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
  text-align: center;
}

.icon-menu span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 50%;
  font-size: 13px;
}

.section {
  padding: 56px max(18px, calc((100vw - var(--content)) / 2));
}

.section-title {
  max-width: 840px;
  margin-bottom: 32px;
}

.section-title.center {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-subcopy {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 700;
}

.section-title p {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 4px 12px;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
  font-weight: 900;
}

h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 21px;
}

.worry-grid,
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.worry-grid article {
  padding: 22px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 8px;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(18, 59, 100, 0.08);
}

.worry-grid article::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
}

.solution {
  background: var(--white);
}

.included-grid article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbff;
}

.included-grid span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--orange);
  font-size: 22px;
  font-weight: 900;
}

.included-grid p,
.flow-list span,
.faq p,
.final-cta span {
  color: var(--muted);
}

.price-section {
  background:
    linear-gradient(rgba(18, 59, 100, 0.94), rgba(18, 59, 100, 0.94)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1600&q=78") center/cover;
}

.option {
  background: var(--white);
}

.option-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(18, 59, 100, 0.08);
}

.option-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 0.8fr;
}

.option-row > * {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.option-row > *:first-child {
  border-left: 0;
  font-weight: 900;
}

.option-row.head {
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.option-row strong {
  color: var(--red);
}

.price-section h2 {
  color: var(--white);
}

.price-section .section-title p {
  color: var(--navy);
  background: var(--yellow);
}

.price-table {
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  border: 4px solid var(--yellow);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.price-head {
  padding: 22px;
  color: var(--white);
  background: var(--red);
  text-align: center;
}

.price-head span {
  display: inline-flex;
  margin-bottom: 6px;
  padding: 3px 10px;
  color: var(--red);
  background: var(--yellow);
  border-radius: 999px;
  font-weight: 900;
}

.price-head h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(26px, 4vw, 42px);
}

.price-main {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid var(--line);
}

.price-main div {
  padding: 28px;
  text-align: center;
}

.price-main div + div {
  border-left: 1px solid var(--line);
}

.price-main small {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-weight: 900;
}

.price-main strong {
  color: var(--red);
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1;
  font-weight: 900;
}

.price-main em {
  font-size: 0.36em;
  font-style: normal;
}

.spec-list {
  margin: 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--line);
}

.spec-list dt,
.spec-list dd {
  margin: 0;
  padding: 16px 22px;
}

.spec-list dt {
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.spec-list dd {
  font-weight: 800;
}

.price-table .button {
  border-radius: 0;
  box-shadow: none;
}

.compare {
  background: #eef7ff;
}

.compare-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.row {
  display: grid;
  grid-template-columns: 1fr repeat(3, 1.2fr);
}

.row > * {
  padding: 17px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.row > *:first-child {
  border-left: 0;
  font-weight: 900;
}

.row.head {
  color: var(--white);
  background: var(--navy);
}

.row strong {
  color: var(--red);
  background: #fff9d6;
  font-style: normal;
  font-weight: 900;
}

.row em {
  color: var(--muted);
  font-style: normal;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.advantage-grid article {
  padding: 22px;
  border: 2px solid var(--blue);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(18, 59, 100, 0.08);
}

.advantage-grid span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 3px 10px;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.advantage-grid h3 {
  font-size: 20px;
}

.advantage-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

.zero-cost {
  background: var(--white);
}

.zero-box {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 26px;
  padding: 28px;
  border: 3px solid var(--blue);
  border-radius: 8px;
  background: #eef7ff;
  box-shadow: 0 10px 30px rgba(18, 59, 100, 0.08);
}

.zero-box h3 {
  font-size: clamp(24px, 3vw, 34px);
}

.zero-box p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

.zero-box ul {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 0;
  margin: 0;
  list-style: none;
}

.zero-box li {
  padding: 12px 14px;
  color: var(--navy);
  background: var(--white);
  border-left: 6px solid var(--orange);
  border-radius: 8px;
  font-weight: 900;
}

.portfolio {
  background: #f7fbff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(18, 59, 100, 0.08);
}

.work-thumb {
  position: relative;
  display: grid;
  place-items: end start;
  min-height: 170px;
  padding: 16px;
  color: var(--white);
  background: var(--navy);
}

.work-thumb::before,
.work-thumb::after {
  content: "";
  position: absolute;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.work-thumb::before {
  top: 22px;
  left: 18px;
  right: 18px;
  height: 74px;
  opacity: 0.26;
}

.work-thumb::after {
  top: 112px;
  left: 18px;
  width: 58%;
  height: 12px;
  opacity: 0.45;
}

.work-thumb span {
  position: relative;
  z-index: 1;
  font-size: 20px;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.work-thumb.restaurant {
  background: linear-gradient(135deg, #b9412d, #f2a145);
}

.work-thumb.salon {
  background: linear-gradient(135deg, #5e6fd8, #d66ca6);
}

.work-thumb.office {
  background: linear-gradient(135deg, #123b64, #4f8bbd);
}

.work-thumb.clinic {
  background: linear-gradient(135deg, #168b76, #89c75f);
}

.work-body {
  padding: 18px;
}

.work-body small {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--blue);
  font-weight: 900;
}

.work-body h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.page-structure {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.5;
}

.work-body p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.portfolio-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.industry-grid span {
  display: grid;
  place-items: center;
  min-height: 66px;
  padding: 18px;
  color: var(--navy);
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 8px;
  font-size: 20px;
  font-weight: 900;
}

.flow {
  background: var(--white);
}

.flow-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: flow;
}

.flow-list li {
  counter-increment: flow;
  display: grid;
  grid-template-columns: 88px 170px 1fr;
  align-items: center;
  min-height: 78px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbff;
}

.flow-list li::before {
  content: counter(flow);
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--white);
  background: var(--orange);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

summary {
  cursor: pointer;
  padding: 20px 24px;
  color: var(--navy);
  font-weight: 900;
}

details p {
  padding: 0 24px 22px;
  margin: 0;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding: 56px max(18px, calc((100vw - var(--content)) / 2));
  color: var(--white);
  background: var(--navy);
}

.final-cta h2 {
  color: var(--white);
}

.final-cta p {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 12px;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 999px;
  font-weight: 900;
}

.large-phone {
  display: inline-grid;
  margin-top: 24px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 241, 70, 0.7);
  border-radius: 8px;
}

.large-phone small {
  color: var(--yellow);
  font-weight: 900;
}

.large-phone b {
  color: var(--white);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.contact-form {
  display: grid;
  gap: 15px;
  padding: 24px;
  background: var(--white);
  border-radius: 8px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #c8d6e2;
  border-radius: 8px;
  color: var(--ink);
  background: #f7fbff;
  font: inherit;
}

.contact-form small {
  color: var(--muted);
}

.form-error {
  margin: 0;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
}

.mail-confirm {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #c8d6e2;
  border-radius: 8px;
  background: #f7fbff;
}

.mail-confirm[hidden] {
  display: none;
}

.mail-confirm h3 {
  margin: 0;
  font-size: 18px;
}

.mail-confirm dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.mail-confirm div {
  display: grid;
  gap: 3px;
}

.mail-confirm dt {
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.mail-confirm dd {
  margin: 0;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
}

.site-footer {
  padding: 20px max(18px, calc((100vw - var(--content)) / 2));
  color: var(--white);
  background: #0b2844;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 32px;
  padding: 18px 0 24px;
}

.footer-brand h2,
.footer-info h3,
.footer-main p,
.footer-bottom p {
  margin: 0;
}

.footer-brand h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 24px;
}

.footer-brand p,
.footer-info p,
.footer-note,
.footer-bottom {
  color: rgba(255, 255, 255, 0.78);
}

.footer-info {
  display: grid;
  gap: 16px;
}

.footer-info h3 {
  margin-bottom: 4px;
  color: var(--yellow);
  font-size: 15px;
}

.footer-info a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-note {
  margin-top: 4px;
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-links a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page {
  background: #f8fafc;
}

.legal-hero {
  padding: 42px max(18px, calc((100vw - var(--content)) / 2)) 30px;
  background:
    linear-gradient(135deg, rgba(234, 246, 255, 0.94), rgba(255, 255, 255, 0.96)),
    #f8fafc;
  border-bottom: 1px solid var(--line);
}

.legal-hero p {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 12px;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.legal-hero h1 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.25;
}

.legal-hero span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.legal-content {
  width: min(880px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.legal-section {
  padding: 20px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(18, 59, 100, 0.06);
}

.legal-section h2 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.35;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
}

.legal-section ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding-left: 1.25em;
}

.legal-content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-back {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-table {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(18, 59, 100, 0.06);
}

.legal-table div {
  display: grid;
  grid-template-columns: 210px 1fr;
  border-bottom: 1px solid var(--line);
}

.legal-table div:last-child {
  border-bottom: 0;
}

.legal-table dt,
.legal-table dd {
  margin: 0;
  padding: 15px 18px;
}

.legal-table dt {
  color: var(--navy);
  background: #eef7ff;
  font-size: 14px;
  font-weight: 900;
}

.legal-table dd {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 920px) {
  .nav {
    display: none;
  }

  .hero,
  .final-cta,
  .footer-main,
  .zero-box {
    grid-template-columns: 1fr;
  }

  .worry-grid,
  .included-grid,
  .advantage-grid,
  .portfolio-grid,
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-band {
    flex-direction: column;
    text-align: center;
  }

  .icon-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .compare-table {
    overflow-x: auto;
  }

  .row {
    min-width: 760px;
  }
}

@media (max-width: 620px) {
  .top-strip,
  .site-header,
  .hero-actions,
  .contact-band div {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .site-header {
    align-items: stretch;
  }

  .mail-button,
  .button {
    width: 100%;
  }

  .price-main,
  .hero-summary,
  .worry-grid,
  .included-grid,
  .advantage-grid,
  .portfolio-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .spec-list div,
  .option-row,
  .legal-table div,
  .flow-list li {
    grid-template-columns: 1fr;
  }

  .icon-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }

  .spec-list dt,
  .spec-list dd {
    padding: 12px 16px;
  }

  .flow-list li {
    gap: 8px;
  }
}
