:root {
  --navy: #123354;
  --navy-deep: #0b223b;
  --blue-soft: #edf6fb;
  --cream: #fff8e8;
  --gray: #f6f8fb;
  --yellow: #f6c84c;
  --yellow-deep: #e5aa19;
  --yellow-soft: #fff2bd;
  --text: #1f2d3a;
  --muted: #617083;
  --line: #dfe6ee;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(18, 51, 84, 0.1);
  --shadow-soft: 0 10px 28px rgba(18, 51, 84, 0.08);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcfe 44%, #ffffff 100%);
  line-height: 1.8;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 230, 238, 0.8);
  backdrop-filter: blur(14px);
}

.header-inner,
.section-inner,
.footer-inner,
.page-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
}

.brand-logo {
  width: 100px;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(18, 51, 84, 0.08));
}

.brand-logo.is-missing {
  display: none;
}

.brand-fallback {
  display: none;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.brand-fallback.is-visible,
.brand-fallback.default-visible {
  display: inline-flex;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--navy-deep);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--yellow);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  align-items: center;
  justify-content: center;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  width: 20px;
  height: 2px;
  background: currentColor;
  display: block;
  border-radius: 2px;
}

.menu-button {
  flex-direction: column;
  gap: 5px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.4;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button-primary {
  background: linear-gradient(180deg, #ffd96b 0%, var(--yellow) 100%);
  color: var(--navy-deep);
  box-shadow: 0 12px 28px rgba(229, 170, 25, 0.25);
  border: 1px solid rgba(229, 170, 25, 0.3);
}

.button-primary:hover {
  background: #ffd96b;
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--navy);
  background: var(--white);
}

.hero {
  background:
    linear-gradient(135deg, rgba(238, 246, 251, 0.98) 0%, rgba(255, 255, 255, 0.96) 48%, rgba(255, 248, 232, 0.92) 100%),
    var(--white);
  padding: 78px 0 76px;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  width: 58vw;
  height: 28vw;
  min-height: 220px;
  right: -16vw;
  top: 26px;
  border: 1px solid rgba(18, 51, 84, 0.08);
  border-radius: 48% 52% 45% 55%;
  transform: rotate(-10deg);
}

.hero::after {
  left: 0;
  right: 0;
  bottom: -1px;
  height: 74px;
  background:
    url("data:image/svg+xml,%3Csvg width='1440' height='74' viewBox='0 0 1440 74' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 50C186 12 308 10 474 40C657 73 798 78 976 37C1132 1 1274 4 1440 35V74H0V50Z' fill='white'/%3E%3C/svg%3E") center bottom / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: clamp(34px, 5vw, 62px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
  font-size: 0.95rem;
  margin: 0 0 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: var(--yellow);
}

h1,
h2,
h3 {
  color: var(--navy-deep);
  line-height: 1.35;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(1.78rem, 2.9vw, 2.9rem);
  margin-bottom: 22px;
}

.hero-copy {
  max-width: 650px;
}

.hero-title {
  line-height: 1.48;
  letter-spacing: 0;
  margin-bottom: 24px;
}

.hero-title span {
  display: inline;
  background: linear-gradient(transparent 62%, rgba(246, 200, 76, 0.42) 62%);
  color: var(--navy-deep);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.16rem;
}

p {
  margin: 0;
}

.lead {
  font-size: 1.08rem;
  color: #334458;
  margin-bottom: 18px;
}

.sublead {
  color: var(--muted);
  margin-bottom: 0;
}

.cta-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 14px;
}

.hero-cta {
  margin-top: 30px;
}

.hero-visual {
  background: var(--white);
  border: 1px solid rgba(223, 230, 238, 0.85);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 26px 70px rgba(18, 51, 84, 0.13);
  position: relative;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(18, 51, 84, 0.07);
  border-radius: 15px;
  pointer-events: none;
}

.service-map::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 130px;
  right: -92px;
  top: -34px;
  border: 1px solid rgba(246, 200, 76, 0.26);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.service-map-head {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.service-map-head span {
  width: fit-content;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(246, 200, 76, 0.2);
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 900;
}

.service-map-head strong {
  color: var(--navy);
  font-size: clamp(1.18rem, 2vw, 1.48rem);
  line-height: 1.5;
}

.service-flow {
  display: grid;
  grid-template-columns: 0.82fr 1.1fr 0.98fr;
  gap: 14px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.flow-column {
  border-radius: 14px;
  border: 1px solid rgba(223, 230, 238, 0.92);
}

.flow-input,
.flow-output {
  background: linear-gradient(180deg, #ffffff, #f8fbfd);
  padding: 18px;
  display: grid;
  align-content: center;
  gap: 10px;
}

.flow-input p,
.flow-output p {
  color: var(--yellow-deep);
  font-size: 0.83rem;
  font-weight: 900;
  margin: 0;
}

.flow-input span {
  display: block;
  padding: 10px 11px;
  border-radius: 9px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy-deep);
  font-weight: 800;
  line-height: 1.45;
}

.flow-process {
  display: grid;
  gap: 10px;
  border: 0;
  position: relative;
}

.flow-process::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 28px;
  bottom: 28px;
  border-left: 2px dashed rgba(18, 51, 84, 0.16);
}

.flow-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(18, 51, 84, 0.06);
  position: relative;
}

.flow-card strong {
  color: var(--navy-deep);
  line-height: 1.4;
}

.flow-output {
  background: linear-gradient(155deg, var(--navy), #174a72);
  color: var(--white);
  border-color: rgba(18, 51, 84, 0.24);
  position: relative;
  overflow: hidden;
}

.flow-output::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 58px;
  right: -38px;
  bottom: 18px;
  border: 2px solid rgba(246, 200, 76, 0.3);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.flow-output strong {
  color: var(--white);
  font-size: 1.2rem;
  line-height: 1.45;
  position: relative;
  z-index: 1;
}

.flow-output small {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.service-map-bottom {
  margin-top: 18px;
  padding: 15px 16px;
  border-radius: 12px;
  background: rgba(255, 248, 232, 0.72);
  border: 1px solid rgba(246, 200, 76, 0.28);
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.service-map-bottom p {
  color: #3c4c5f;
  font-weight: 700;
  line-height: 1.65;
}

.check-item,
.service-item,
.reason-card,
.flow-step,
.faq-item,
.plan-card,
.profile-box,
.legal-table,
.cta-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.section {
  padding: 82px 0;
  position: relative;
  overflow: hidden;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(246, 248, 251, 0.98), rgba(238, 246, 251, 0.62)),
    var(--gray);
}

.section-cream {
  background:
    linear-gradient(145deg, rgba(255, 248, 232, 0.95), rgba(255, 255, 255, 0.65)),
    var(--cream);
}

.section-blue {
  background:
    linear-gradient(135deg, rgba(237, 246, 251, 0.96), rgba(255, 248, 232, 0.48)),
    var(--blue-soft);
}

.section-white {
  background:
    linear-gradient(180deg, #ffffff, #fbfcfe);
}

.section-decor::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 220px;
  right: -190px;
  top: 48px;
  border: 1px solid rgba(18, 51, 84, 0.06);
  border-radius: 50% 45% 55% 50%;
  transform: rotate(-12deg);
}

.section-decor::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 120px;
  right: -140px;
  bottom: 34px;
  border-top: 2px solid rgba(246, 200, 76, 0.2);
  border-radius: 50%;
  transform: rotate(-9deg);
}

.decor-left::before {
  right: auto;
  left: -210px;
  transform: rotate(12deg);
}

.section-inner {
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
}

.check-grid,
.service-grid,
.reason-grid,
.flow-grid,
.faq-list {
  display: grid;
  gap: 16px;
}

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

.check-item,
.service-item,
.reason-card {
  padding: 22px;
}

.check-item,
.service-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.line-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(18, 51, 84, 0.2);
  border-radius: 12px;
  background: linear-gradient(145deg, #ffffff, #fff8e8);
  position: relative;
  display: inline-flex;
  margin-top: 0;
  box-shadow: 0 8px 18px rgba(18, 51, 84, 0.06);
}

.line-icon::before,
.line-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.icon-question::before {
  width: 16px;
  height: 16px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  left: 12px;
  top: 10px;
}

.icon-question::after {
  width: 4px;
  height: 4px;
  background: var(--yellow-deep);
  border-radius: 50%;
  left: 19px;
  top: 29px;
}

.icon-target::before {
  inset: 10px;
  border: 2px solid var(--navy);
  border-radius: 50%;
}

.icon-target::after {
  width: 8px;
  height: 8px;
  background: var(--yellow-deep);
  border-radius: 50%;
  left: 17px;
  top: 17px;
}

.icon-doc::before {
  width: 18px;
  height: 22px;
  border: 2px solid var(--navy);
  border-radius: 3px;
  left: 12px;
  top: 9px;
}

.icon-doc::after {
  width: 12px;
  height: 8px;
  border-top: 2px solid var(--yellow-deep);
  border-bottom: 2px solid var(--yellow-deep);
  left: 15px;
  top: 17px;
}

.icon-talk::before {
  width: 24px;
  height: 17px;
  border: 2px solid var(--navy);
  border-radius: 8px;
  left: 9px;
  top: 10px;
}

.icon-talk::after {
  width: 9px;
  height: 9px;
  border-left: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(-16deg);
  left: 17px;
  top: 23px;
}

.icon-reply::before {
  width: 22px;
  height: 18px;
  border-top: 2px solid var(--navy);
  border-left: 2px solid var(--navy);
  border-radius: 12px 0 0 0;
  left: 12px;
  top: 13px;
}

.icon-reply::after {
  width: 10px;
  height: 10px;
  border-left: 2px solid var(--yellow-deep);
  border-bottom: 2px solid var(--yellow-deep);
  transform: rotate(45deg);
  left: 10px;
  top: 11px;
}

.icon-handshake::before {
  width: 22px;
  height: 12px;
  border: 2px solid var(--navy);
  border-radius: 8px;
  transform: rotate(-12deg);
  left: 10px;
  top: 16px;
}

.icon-handshake::after {
  width: 16px;
  height: 2px;
  background: var(--yellow-deep);
  transform: rotate(25deg);
  left: 13px;
  top: 21px;
}

.icon-adjust::before {
  width: 24px;
  height: 18px;
  border-top: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  left: 9px;
  top: 12px;
}

.icon-adjust::after {
  width: 8px;
  height: 8px;
  border: 2px solid var(--yellow-deep);
  border-radius: 50%;
  left: 16px;
  top: 10px;
  box-shadow: 9px 12px 0 -2px #ffffff, 9px 12px 0 0 var(--yellow-deep);
}

.icon-pen::before {
  width: 21px;
  height: 6px;
  border: 2px solid var(--navy);
  border-radius: 4px;
  transform: rotate(-38deg);
  left: 11px;
  top: 18px;
}

.icon-pen::after {
  width: 10px;
  height: 2px;
  background: var(--yellow-deep);
  left: 12px;
  top: 29px;
}

.icon-flag::before {
  width: 2px;
  height: 24px;
  background: var(--navy);
  left: 14px;
  top: 9px;
}

.icon-flag::after {
  width: 17px;
  height: 12px;
  border: 2px solid var(--yellow-deep);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  left: 15px;
  top: 10px;
}

.icon-route::before {
  width: 24px;
  height: 18px;
  border: 2px solid var(--navy);
  border-left-color: transparent;
  border-radius: 50%;
  left: 9px;
  top: 11px;
  transform: rotate(-18deg);
}

.icon-route::after {
  width: 7px;
  height: 7px;
  background: var(--yellow-deep);
  border-radius: 50%;
  left: 10px;
  top: 23px;
  box-shadow: 17px -12px 0 var(--yellow-deep);
}

.icon-mail::before {
  width: 24px;
  height: 17px;
  border: 2px solid var(--navy);
  border-radius: 4px;
  left: 9px;
  top: 12px;
}

.icon-mail::after {
  width: 16px;
  height: 16px;
  border-left: 2px solid var(--yellow-deep);
  border-bottom: 2px solid var(--yellow-deep);
  transform: rotate(-45deg);
  left: 13px;
  top: 7px;
}

.icon-layer::before {
  width: 20px;
  height: 13px;
  border: 2px solid var(--navy);
  border-radius: 4px;
  left: 11px;
  top: 10px;
}

.icon-layer::after {
  width: 20px;
  height: 13px;
  border: 2px solid var(--yellow-deep);
  border-radius: 4px;
  left: 11px;
  top: 18px;
}

.icon-chart::before {
  width: 24px;
  height: 20px;
  border-left: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  left: 9px;
  top: 10px;
}

.icon-chart::after {
  width: 20px;
  height: 14px;
  border-top: 2px solid var(--yellow-deep);
  border-right: 2px solid var(--yellow-deep);
  transform: skew(-20deg);
  left: 13px;
  top: 12px;
}

.icon-check::before {
  inset: 10px;
  border: 2px solid var(--navy);
  border-radius: 50%;
}

.icon-check::after {
  width: 13px;
  height: 7px;
  border-left: 3px solid var(--yellow-deep);
  border-bottom: 3px solid var(--yellow-deep);
  transform: rotate(-45deg);
  left: 14px;
  top: 16px;
}

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

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: start;
}

.highlight-panel {
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 30px;
}

.highlight-panel h2 {
  color: var(--white);
}

.highlight-panel p {
  color: rgba(255, 255, 255, 0.86);
}

.plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.plain-list li {
  padding: 18px 20px 18px 48px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.plain-list li::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 18px;
  top: 22px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: linear-gradient(135deg, transparent 48%, var(--yellow) 49%);
}

.mini-diagram {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.diagram-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  display: grid;
  justify-items: start;
  gap: 9px;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.diagram-step:not(:last-child)::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  right: -17px;
  top: 50%;
  border-top: 2px solid rgba(18, 51, 84, 0.34);
  border-right: 2px solid rgba(18, 51, 84, 0.34);
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
}

.diagram-step strong {
  color: var(--navy-deep);
  font-size: 1.05rem;
}

.diagram-step small {
  color: var(--muted);
  line-height: 1.55;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.plan-card {
  padding: 28px;
  display: grid;
  grid-template-rows: 108px 62px 486px 326px 48px auto;
  gap: 18px;
  border-radius: 14px;
  box-shadow: 0 16px 44px rgba(18, 51, 84, 0.08);
  position: relative;
  overflow: hidden;
}

.plan-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: linear-gradient(90deg, rgba(18, 51, 84, 0.88), rgba(246, 200, 76, 0.7));
}

.plan-card.recommended {
  border: 2px solid rgba(229, 170, 25, 0.8);
  box-shadow: 0 28px 70px rgba(18, 51, 84, 0.14);
  position: relative;
  background:
    linear-gradient(180deg, #ffffff 0%, #fffdf6 100%);
}

.plan-card.recommended::before {
  height: 7px;
  background: linear-gradient(90deg, var(--yellow-deep), var(--navy));
}

.plan-top {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  height: 108px;
  padding-right: 10px;
}

.badge {
  display: inline-flex;
  width: fit-content;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy-deep);
  font-size: 0.82rem;
  font-weight: 900;
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
}

.price {
  color: var(--navy-deep);
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1.25;
  height: 62px;
  display: flex;
  align-items: center;
}

.plan-block h4 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 0.96rem;
}

.plan-block {
  padding: 14px 16px;
  border: 1px solid rgba(223, 230, 238, 0.76);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(246, 248, 251, 0.72), rgba(255, 255, 255, 0.82));
}

.plan-block ul {
  margin: 0;
  padding-left: 1.2em;
  color: #3c4c5f;
  line-height: 1.62;
}

.plan-block li {
  margin-bottom: 4px;
}

.plan-block li:last-child {
  margin-bottom: 0;
}

.plan-block strong {
  color: var(--navy-deep);
  font-weight: 900;
  background: linear-gradient(transparent 64%, rgba(246, 200, 76, 0.32) 64%);
}

@media (min-width: 961px) {
  .plan-card.recommended .plan-audience {
    padding-bottom: 0;
    margin-bottom: 0;
  }
}

.reason-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.reason-card h3 {
  margin: 14px 0 10px;
}

.reason-card p,
.flow-step p,
.faq-item p {
  color: var(--muted);
}

.flow-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  position: relative;
}

.flow-grid::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 26px;
  bottom: 26px;
  border-left: 2px dashed rgba(18, 51, 84, 0.16);
}

.flow-step {
  padding: 24px 24px 24px 82px;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.flow-step .line-icon {
  position: absolute;
  left: 22px;
  top: 24px;
}

.step-label {
  color: var(--yellow-deep);
  font-weight: 900;
  margin-bottom: 8px;
}

.profile-box {
  padding: 30px;
  display: grid;
  gap: 16px;
}

.profile-name {
  font-size: 1.4rem;
  color: var(--navy);
  font-weight: 900;
}

.faq-list {
  max-width: 900px;
}

.faq-item {
  padding: 22px;
}

.faq-item h3 {
  margin-bottom: 8px;
}

.cta-box {
  padding: clamp(28px, 5vw, 52px);
  background: linear-gradient(135deg, var(--navy), #174b74);
  color: var(--white);
  text-align: center;
}

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

.cta-box p {
  max-width: 700px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.88);
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 44px 0 30px;
}

.footer-inner {
  display: grid;
  gap: 26px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
}

.footer-logo {
  width: 112px;
  display: block;
  margin-bottom: 12px;
}

.footer-logo.is-missing {
  display: none;
}

.footer-title {
  color: var(--white);
  font-size: 1.18rem;
  font-weight: 900;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 700;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 20px;
  font-size: 0.88rem;
}

.page-hero {
  background: var(--blue-soft);
  padding: 72px 0 46px;
}

.page-inner {
  padding: 54px 0 84px;
}

.legal-table {
  overflow: hidden;
}

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

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

.legal-row dt,
.legal-row dd {
  margin: 0;
  padding: 18px 20px;
}

.legal-row dt {
  background: var(--gray);
  color: var(--navy);
  font-weight: 900;
}

.policy-content {
  display: grid;
  gap: 26px;
  max-width: 900px;
}

.policy-section {
  border-bottom: 1px solid var(--line);
  padding-bottom: 26px;
}

.policy-section h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.policy-section ul {
  margin: 10px 0 0;
  padding-left: 1.2em;
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.is-open {
    display: flex;
  }

  .menu-button {
    display: inline-flex;
  }

  .nav-wrap > .button {
    display: none;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .service-flow {
    grid-template-columns: 1fr;
  }

  .flow-input,
  .flow-output {
    align-content: start;
  }

  .plans,
  .reason-grid {
    grid-template-columns: 1fr;
  }

  .mini-diagram {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .diagram-step:not(:last-child)::after {
    display: none;
  }

  .plan-card.recommended {
    transform: none;
  }

  .plan-card {
    grid-template-rows: auto;
  }

  .reason-grid {
    gap: 14px;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .page-inner {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-logo {
    width: 86px;
  }

  .nav-links {
    top: 68px;
    left: 14px;
    right: 14px;
  }

  .hero {
    padding: 54px 0;
  }

  .section {
    padding: 58px 0;
  }

  .check-grid,
  .service-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .highlight-panel,
  .profile-box,
  .plan-card {
    padding: 22px;
  }

  .hero-title {
    line-height: 1.44;
  }

  .service-map-head {
    margin-bottom: 18px;
  }

  .service-flow {
    gap: 12px;
  }

  .flow-process::before {
    left: 19px;
  }

  .mini-diagram {
    grid-template-columns: 1fr;
  }

  .check-item,
  .service-item {
    padding: 18px;
  }

  .line-icon {
    width: 38px;
    height: 38px;
  }

  .plan-top {
    grid-template-columns: 42px 1fr;
  }

  .flow-grid::before {
    left: 20px;
  }

  .flow-step {
    padding: 20px 18px 20px 70px;
  }

  .flow-step .line-icon {
    left: 16px;
    top: 20px;
  }

  .footer-top {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-row {
    grid-template-columns: 1fr;
  }

  .legal-row dt,
  .legal-row dd {
    padding: 14px 16px;
  }
}
