:root {
  --blue-900: #0d3978;
  --blue-800: #1658a8;
  --blue-700: #236fbd;
  --blue-100: #eaf4ff;
  --red: #c82542;
  --red-dark: #a91834;
  --red-soft: #fff1f3;
  --cyan: #0fb3df;
  --ink: #202735;
  --muted: #667180;
  --line: #dfe4ea;
  --paper: #ffffff;
  --soft: #f5f6f8;
  --shadow: 0 16px 42px rgb(31 51 74 / 12%);
  --anchor-offset: 136px;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  box-shadow: 0 2px 16px rgb(200 37 66 / 16%);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 64px);
  min-height: 78px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--red);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 54px;
  height: 42px;
  place-items: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hotline {
  display: grid;
  justify-items: stretch;
  gap: 0;
  color: var(--red);
  white-space: nowrap;
}

.hotline strong {
  display: block;
  width: 210px;
  font-size: 17px;
  line-height: 1.12;
  letter-spacing: 0;
  text-align: justify;
  text-align-last: justify;
}

.hotline span {
  display: block;
  width: 210px;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
  text-align: justify;
  text-align-last: justify;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2.2vw, 32px);
  min-height: 52px;
  background: var(--red);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.site-nav a.active,
.site-nav a[aria-current] {
  background: rgb(111 10 31 / 24%);
  border-bottom-color: #fff;
}

@media (hover: hover) {
  .site-nav a:hover:not(.active) {
    color: #ffe0e7;
  }
}

.site-nav a:focus-visible {
  outline: 2px solid #ffd166;
  outline-offset: -4px;
}

.content-grid {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.section-block {
  scroll-margin-top: var(--anchor-offset);
  padding: 74px 0;
}

.section-heading {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.section-heading h2::after {
  display: block;
  width: 96px;
  height: 4px;
  margin: 18px auto 0;
  background: var(--red);
  content: "";
}

.section-heading p {
  max-width: 800px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.section-heading--inverse h2 {
  color: #fff;
}

.section-heading--inverse p {
  color: rgb(255 255 255 / 80%);
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 3px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgb(27 48 78 / 20%);
}

.btn:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgb(15 179 223 / 55%);
  outline-offset: 3px;
}

.btn--red {
  background: var(--red);
}

.btn--red:hover {
  background: var(--red-dark);
}

.btn--blue {
  background: var(--blue-800);
}

.btn--blue:hover {
  background: var(--blue-900);
}

.btn--white {
  color: var(--red);
  background: #fff;
}

.btn--outline {
  border-color: rgb(255 255 255 / 82%);
  background: transparent;
}

.btn--outline:hover {
  color: var(--blue-900);
  background: #fff;
}

.landing-hero {
  position: relative;
  min-height: 440px;
  isolation: isolate;
  overflow: hidden;
  color: #171a1f;
  background: #eef5fa url("./assets/other/banner.jpg") center / cover no-repeat;
}

.landing-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 58px;
  background: rgb(8 19 26 / 78%);
  content: "";
}

.landing-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(1120px, calc(100% - 40px));
  min-height: 440px;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  margin: 0 auto;
  padding: 48px 0 74px;
  text-align: center;
}

.landing-hero h1 {
  margin: 0;
  color: #171a1f;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.landing-hero h1 span {
  margin-right: 0.08em;
  color: var(--red);
}

.landing-hero__sub {
  margin: 16px 0 19px;
  padding: 9px 30px;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-size: clamp(18px, 2.1vw, 26px);
  font-weight: 800;
}

.hero-checks {
  display: flex;
  gap: 50px;
  margin: 0 0 24px;
  padding-left: 22px;
  color: #171a1f;
  font-size: 20px;
  font-weight: 700;
}

.hero-checks li::marker {
  color: var(--red);
}

.hero-actions {
  display: flex;
  gap: 46px;
}

.hero-channel {
  min-width: 220px;
  padding: 13px 24px;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 4px;
  box-shadow: 0 8px 18px rgb(146 24 48 / 22%);
  font-size: 20px;
  font-weight: 400;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-channel__key {
  color: #ffe431;
}

.hero-channel::after {
  margin-left: 10px;
  color: #fff;
  content: "→";
  font-weight: 700;
}

.hero-channel:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.hero-deadline {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 10px 12px;
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
}

.hero-deadline strong {
  color: #ffe431;
  font-size: 24px;
  text-shadow: 0 1px 2px rgb(0 0 0 / 55%);
}

.hero-deadline button {
  margin-left: 6px;
  padding: 1px 14px;
  color: #ffe431;
  background: transparent;
  border: 1px solid #ffe431;
  border-radius: 999px;
  font-weight: 700;
}

.service-strip {
  padding: 54px 0 68px;
  background: #fff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.service-grid article {
  display: flex;
  min-height: 286px;
  align-items: center;
  flex-direction: column;
  justify-content: flex-start;
  padding: 38px 28px 30px;
  color: #fff;
  text-align: center;
  background: #d23f43;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgb(158 25 53 / 17%);
}

.service-grid article:nth-child(2n) {
  background: #d23f43;
}

.service-grid img {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  filter: brightness(0) invert(1);
}

.service-grid h3 {
  margin: 0 0 17px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4;
}

.service-grid p {
  margin: 0;
  color: rgb(255 255 255 / 88%);
  font-size: 15px;
  line-height: 2;
  text-align: justify;
}

.path-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 56px 0 50px;
  background: #fff;
}

.path-section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: url("./assets/path-lobby-2026.png") center / cover no-repeat;
  opacity: 0.68;
}

.path-list {
  display: grid;
  width: min(1120px, calc(100% - 40px));
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  margin: 0 auto;
}

.path-list button {
  aspect-ratio: 1;
  padding: 22px 12px 15px;
  color: var(--red);
  background: rgb(255 255 255 / 72%);
  border: 2px solid var(--red);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgb(47 68 96 / 10%);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.path-list button:hover {
  background: #fff;
  box-shadow: 0 14px 32px rgb(149 28 54 / 18%);
  transform: translateY(-3px);
}

.path-list strong,
.path-list span {
  display: block;
}

.path-list strong {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.45;
}

.path-list span {
  width: fit-content;
  margin: 8px auto 0;
  padding: 3px 13px;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.value-section {
  padding-top: 68px;
  background: #fff;
}

.value-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 78px 58px;
  margin-top: 70px;
}

.value-cards article {
  position: relative;
  display: grid;
  min-height: 270px;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  padding: 78px 28px 20px;
  text-align: center;
  background: #fff;
  border: 1px solid #a9adb3;
  box-shadow: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.value-cards article:hover {
  border-color: var(--red);
  box-shadow: 0 12px 30px rgb(158 25 53 / 13%);
  transform: translateY(-4px);
}

.value-cards img {
  position: absolute;
  top: -52px;
  left: 50%;
  width: 104px;
  height: 104px;
  padding: 21px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--red);
  border-radius: 50%;
  transform: translateX(-50%);
}

.value-cards h3 {
  margin: 0 0 15px;
  color: #323a48;
  font-size: 26px;
  line-height: 1.35;
}

.value-cards p {
  max-width: 250px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
  text-align: justify;
}

.policy-reasons button,
.process-list button,
.certificate-gallery button {
  color: #fff;
  background: var(--blue-800);
  border: 0;
  border-radius: 999px;
  padding: 11px 22px;
  font-weight: 700;
}

.value-cards button {
  width: min(240px, 100%);
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 17px;
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.value-cards button:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.concern-section {
  padding-top: 62px;
  padding-bottom: 0;
  background: #fff;
}

.concern-scene {
  display: grid;
  grid-template-columns: 1fr 390px 1fr;
  grid-template-rows: auto 1fr;
  gap: 28px 50px;
  align-items: center;
}

.concern-side {
  display: grid;
  gap: 74px;
}

.concern-side--left {
  grid-column: 1;
  grid-row: 2;
}

.concern-side--right {
  grid-column: 3;
  grid-row: 2;
}

.concern-item {
  text-align: center;
}

.concern-item--top {
  grid-column: 2;
  grid-row: 1;
}

.concern-item h3 {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 23px;
  line-height: 1.4;
}

.concern-item p {
  margin: 0;
  color: #505866;
  font-size: 16px;
  line-height: 1.85;
}

.concern-person {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  margin: 0;
}

.concern-person img {
  display: block;
  width: 100%;
  max-height: 470px;
  object-fit: contain;
  object-position: center bottom;
}

.answer-band {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin-top: 0;
  padding: 28px max(24px, calc((100% - 1120px) / 2));
  color: #fff;
  background: var(--red);
}

.answer-band div {
  display: grid;
  width: max-content;
  max-width: 100%;
  justify-self: start;
  gap: 4px;
}

.answer-band strong,
.answer-band span {
  display: block;
  width: 100%;
  text-align: justify;
  text-align-last: justify;
}

.answer-band strong {
  font-size: 31px;
  line-height: 1.35;
}

.answer-band span {
  color: rgb(255 255 255 / 80%);
  font-size: 17px;
}

.answer-band .btn {
  min-width: 190px;
  min-height: 60px;
  padding: 14px 34px;
  font-size: 20px;
}

.major-section {
  padding: 54px 0 70px;
  background: #fff;
}

.major-table-wrap {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid #c7c7c7;
  scrollbar-width: thin;
}

.major-scroll-hint {
  display: none;
}

.major-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  table-layout: fixed;
}

.major-table th,
.major-table td {
  height: 64px;
  padding: 10px 12px;
  border-right: 1px solid #c7c7c7;
  border-bottom: 1px solid #c7c7c7;
  color: #333a42;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

.major-table th {
  height: 62px;
  color: #fff;
  background: var(--red);
  border-color: rgb(255 255 255 / 34%);
  font-size: 20px;
  font-weight: 800;
}

.major-table tr > :last-child {
  border-right: 0;
}

.major-table tbody tr:last-child td {
  border-bottom: 0;
}

.major-table td.major-highlight {
  color: #c94a4a;
}

.major-action {
  display: flex;
  width: min(310px, calc(100% - 48px));
  min-height: 62px;
  margin: 52px auto 0;
  border-radius: 0;
  background: var(--red);
  font-size: 22px;
}

.major-action:hover {
  background: var(--red-dark);
}

.policy-section {
  overflow: visible;
  padding: 60px 0 104px;
  background: #f4f4f4;
}

.policy-reasons {
  display: grid;
  width: min(1240px, calc(100% - 112px));
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0 auto;
  padding: 22px 12px 46px;
}

.policy-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-width: 0;
  min-height: 610px;
  margin-left: 0;
  box-shadow: 0 14px 26px rgb(22 36 53 / 20%);
  transform: skewX(-3deg);
}

.policy-card:first-child {
  margin-left: 0;
}

.policy-card:nth-child(2) {
  z-index: 4;
  margin-top: 118px;
}

.policy-card:nth-child(3) {
  z-index: 3;
}

.policy-card:nth-child(4) {
  z-index: 5;
  margin-top: 118px;
}

.policy-card__image {
  position: absolute;
  inset: 0 0 auto;
  height: 190px;
  overflow: hidden;
}

.policy-card__image-copy {
  position: absolute;
  inset: -3px -20px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 26px 60px;
  color: #fff;
  background: rgb(215 36 55 / 83%);
  transform: skewX(3deg);
}

.policy-card--light .policy-card__image-copy {
  background: rgb(13 48 79 / 88%);
}

.policy-card__image-copy h3,
.policy-card__image-copy p {
  margin: 0;
}

.policy-card__image-copy h3 {
  font-size: 30px;
  line-height: 1.25;
}

.policy-card__image-copy p {
  font-size: 19px;
  line-height: 1.5;
}

.policy-card__body {
  min-height: 610px;
  padding: 224px 38px 34px;
  color: #fff;
  background: #173a59;
}

.policy-card--light .policy-card__body {
  color: #173a59;
  background: #fff;
}

.policy-card__body-inner {
  display: flex;
  min-height: 352px;
  flex-direction: column;
  transform: skewX(3deg);
}

.policy-card__body ul {
  display: grid;
  gap: 0;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.policy-card__body li {
  min-height: 72px;
  display: flex;
  align-items: center;
  border-bottom: 1px dashed rgb(255 255 255 / 42%);
  font-size: 17px;
  line-height: 1.6;
}

.policy-card--light .policy-card__body li {
  border-bottom-color: rgb(23 58 89 / 20%);
}

.policy-card__body button {
  min-height: 48px;
  align-self: center;
  margin-top: auto;
  padding: 10px 20px;
  color: #173a59;
  background: #fff;
  border: 0;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 700;
}

.policy-card--light .policy-card__body button {
  color: #fff;
  background: #173a59;
}

.process-section {
  overflow: hidden;
  padding: 60px 0 92px;
  background: #fff;
}

.process-list {
  position: relative;
  display: grid;
  grid-template-rows: repeat(6, minmax(270px, 1fr));
  gap: 32px;
  isolation: isolate;
}

.process-list article {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 270px;
  grid-template-columns: 108px 1fr 350px;
  gap: 30px;
  align-items: center;
  padding: 28px 34px 28px 14px;
  background: #fff;
  border: 0;
  border-radius: 0;
}

.process-list article + article {
  margin-top: 0;
}

.process-list article:nth-of-type(even) {
  grid-template-columns: 350px 1fr 108px;
  padding: 28px 14px 28px 34px;
  border-radius: 0;
}

.process-list article:nth-of-type(even) div {
  grid-column: 2;
}

.process-list article:nth-of-type(even) img {
  grid-column: 1;
  grid-row: 1;
}

.process-list article:nth-of-type(even) .process-no {
  grid-column: 3;
  grid-row: 1;
}

.process-no {
  display: grid;
  width: 90px;
  min-height: 76px;
  place-items: center;
  justify-self: start;
  margin-left: -36px;
  color: #fff;
  background: var(--red);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgb(200 37 66 / 24%);
  font-size: 38px;
  font-weight: 900;
  text-align: center;
}

.process-list article:nth-of-type(even) .process-no {
  justify-self: end;
  margin-right: -36px;
  margin-left: 0;
}

.process-list h3 {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 23px;
  line-height: 1.4;
}

.process-list p {
  margin: 0 0 24px;
  color: #222a33;
  font-size: 18px;
  line-height: 1.8;
}

.process-list button {
  min-width: 250px;
  min-height: 54px;
  background: var(--red);
  border-radius: 3px;
  padding: 11px 26px;
  font-size: 17px;
}

.process-list img {
  width: 100%;
  height: 194px;
  object-fit: cover;
}

.certificate-section {
  padding-top: 0;
  background: #fff;
}

.official-band {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 44px 72px;
  align-items: center;
  padding: 66px max(30px, calc((100% - 1120px) / 2));
  background: #eef1f4;
}

.official-heading {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.official-copy {
  display: flex;
  min-height: 370px;
  flex-direction: column;
  align-items: flex-start;
}

.official-copy .official-steps {
  position: relative;
  display: flex;
  width: 100%;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 0 28px;
  padding: 12px 0 12px 54px;
  color: #4e5c6b;
  counter-reset: official-step;
  font-size: 18px;
  line-height: 1.85;
  list-style: none;
}

.official-copy .official-steps::before {
  position: absolute;
  top: calc(12px + 0.925em);
  bottom: calc(12px + 0.925em);
  left: 9px;
  width: 2px;
  background: #cdd1d5;
  content: "";
}

.official-copy .official-steps li {
  position: relative;
  padding-left: 32px;
  counter-increment: official-step;
}

.official-copy .official-steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #4e5c6b;
  content: counter(official-step) ".";
}

.official-copy .official-steps li::after {
  position: absolute;
  top: calc(0.925em - 9px);
  left: -54px;
  width: 18px;
  height: 18px;
  background: #cdd1d5;
  border-radius: 50%;
  content: "";
}

.official-copy .btn {
  min-width: 210px;
  min-height: 58px;
  padding: 14px 32px;
  font-size: 19px;
}

.official-visual {
  padding: 22px;
  background: #fff;
  border: 12px solid #253343;
  box-shadow: 0 22px 46px rgb(24 42 65 / 20%);
}

.official-visual img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: contain;
}

.official-visual--lookup {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.official-visual--lookup img {
  width: min(100%, 540px);
  margin: 0 auto;
  aspect-ratio: auto;
}

.certificate-title {
  margin-top: 64px;
}

.certificate-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.certificate-gallery article {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.certificate-gallery img {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 10px 28px rgb(32 49 72 / 12%);
}

.certificate-gallery button {
  border-radius: 2px;
  background: var(--red);
}

.dream-section {
  position: relative;
  scroll-margin-top: var(--anchor-offset);
  min-height: 430px;
  isolation: isolate;
  color: #fff;
  background: #1b2430 url("./assets/cta-classroom-2026.png") center / cover no-repeat;
}

.dream-section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgb(8 18 31 / 67%);
}

.dream-section__content {
  display: flex;
  width: min(850px, calc(100% - 40px));
  min-height: 430px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  text-align: center;
}

.dream-heading {
  width: 100%;
  margin-bottom: 28px;
}

.dream-section__content .btn {
  min-width: 260px;
  min-height: 62px;
  margin-top: 0;
  padding: 16px 42px;
  border-width: 2px;
  font-size: 20px;
}

.friend-links {
  --friend-accent: var(--red);
  --friend-accent-rgb: 200, 37, 66;
  --friend-ink: var(--red-dark);
  padding: 46px 0 42px;
  background:
    radial-gradient(circle at 12% 0%, rgb(200 37 66 / 12%), transparent 34%),
    linear-gradient(180deg, #fffafb 0%, #f8f1f3 100%);
  border-top: 1px solid rgb(200 37 66 / 10%);
}

.friend-links .friend-links__inner {
  display: block;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 28px 30px;
  background: rgb(255 255 255 / 88%);
  border: 1px solid rgb(200 37 66 / 14%);
  border-radius: 24px;
  box-shadow: 0 20px 54px rgb(85 25 38 / 10%);
  backdrop-filter: blur(14px);
}

.friend-links__header,
.friend-links__heading {
  display: flex;
  align-items: center;
}

.friend-links__header {
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 20px;
}

.friend-links__heading {
  flex: 0 0 auto;
  gap: 13px;
}

.friend-links__eyebrow {
  padding: 6px 11px;
  color: var(--friend-accent);
  background: rgb(200 37 66 / 8%);
  border: 1px solid rgb(200 37 66 / 13%);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.friend-links__header h2 {
  margin: 0;
  color: var(--friend-ink);
  font-size: clamp(23px, 2.3vw, 30px);
  line-height: 1.25;
}

.friend-links__header p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  text-align: right;
}

.friend-links__gallery {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
}

.friend-links__gallery.is-static {
  grid-template-columns: minmax(0, 1fr);
}

.friend-scroll {
  display: flex;
  gap: 16px;
  min-width: 0;
  margin: -8px -4px -14px;
  padding: 8px 4px 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-padding-inline: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

.friend-scroll::-webkit-scrollbar {
  display: none;
}

.friend-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  color: var(--friend-accent);
  background: #fff;
  border: 1px solid rgb(200 37 66 / 20%);
  border-radius: 50%;
  box-shadow: 0 9px 22px rgb(85 25 38 / 12%);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.friend-arrow:hover:not(:disabled) {
  color: #fff;
  background: var(--friend-accent);
  box-shadow: 0 12px 26px rgb(200 37 66 / 22%);
  transform: translateY(-2px);
}

.friend-arrow:focus-visible {
  outline: 3px solid rgb(200 37 66 / 28%);
  outline-offset: 3px;
}

.friend-arrow:disabled {
  opacity: 0.34;
  cursor: default;
  box-shadow: none;
}

.friend-arrow[hidden] {
  display: none;
}

.friend-link {
  position: relative;
  display: flex;
  flex: 1 0 238px;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: inherit;
  background: #fff;
  border: 1px solid rgb(200 37 66 / 13%);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgb(31 51 74 / 9%);
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.friend-link:hover {
  border-color: rgb(200 37 66 / 38%);
  box-shadow: 0 17px 34px rgb(85 25 38 / 14%);
  transform: translateY(-5px);
}

.friend-link.is-current {
  border-color: rgb(200 37 66 / 42%);
  box-shadow: 0 12px 28px rgb(200 37 66 / 15%);
  cursor: default;
}

.friend-link.is-current:hover {
  transform: none;
}

.friend-link:focus-visible {
  outline: 3px solid rgb(200 37 66 / 38%);
  outline-offset: 3px;
}

.friend-link img {
  width: 100%;
  aspect-ratio: 46 / 9;
  height: auto;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.friend-link:hover img {
  transform: scale(1.025);
}

.friend-link.is-current:hover img {
  transform: none;
}

.friend-link__badge {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 1;
  padding: 5px 9px;
  color: #fff;
  background: rgb(113 19 38 / 84%);
  border: 1px solid rgb(255 255 255 / 44%);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.friend-link__meta {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px 11px 15px;
  background: linear-gradient(180deg, #fff 0%, #fffafb 100%);
  border-top: 1px solid rgb(200 37 66 / 8%);
}

.friend-link__category {
  overflow: hidden;
  color: var(--friend-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.friend-link__action {
  flex: 0 0 auto;
  padding: 5px 9px;
  color: var(--friend-accent);
  background: rgb(200 37 66 / 8%);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.friend-links__hint {
  display: none;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.site-footer {
  padding: 28px 0;
  color: #fff5f6;
  background: var(--red-dark);
  border-top: 1px solid rgb(255 255 255 / 18%);
  font-size: 14px;
}

.site-footer__inner {
  display: flex;
  width: min(1180px, calc(100% - 32px));
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  line-height: 1.65;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.floating-consult {
  position: fixed;
  right: 0;
  bottom: 25%;
  z-index: 30;
  display: grid;
  width: 76px;
  min-height: 116px;
  place-items: center;
  align-content: center;
  gap: 5px;
  border-radius: 10px 0 0 10px;
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 28px rgb(133 19 41 / 26%);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.floating-consult svg {
  width: 29px;
  height: 29px;
}

.floating-consult:hover {
  color: #fff;
  background: var(--red-dark);
  text-decoration: none;
  transform: translateX(-4px);
}

.floating-consult:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.consult-panel {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 40;
  display: grid;
  width: min(380px, calc(100% - 32px));
  gap: 18px;
  padding: 28px;
  background: #fff;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 20px 70px rgb(0 0 0 / 22%);
  transform: translate(105%, -50%);
  transition: transform 0.24s ease;
}

.consult-panel.open {
  transform: translate(0, -50%);
}

.consult-panel h2,
.consult-panel p {
  margin: 0;
}

.consult-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.consult-close {
  position: absolute;
  top: 10px;
  right: 12px;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-size: 28px;
}

.consult-panel form {
  display: grid;
  gap: 14px;
}

.consult-panel label {
  display: grid;
  gap: 8px;
  color: #405064;
  font-weight: 700;
}

.consult-panel input,
.consult-panel select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.consult-panel .is-invalid {
  border-color: #c93636;
  box-shadow: 0 0 0 3px rgb(201 54 54 / 12%);
}

.consult-panel button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.consult-panel form button {
  padding: 13px;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 4px;
  font-weight: 800;
}

.panel-mask {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgb(6 20 38 / 44%);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 50;
  padding: 12px 22px;
  color: #fff;
  background: rgb(29 39 51 / 92%);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 980px) {
  .site-header {
    isolation: isolate;
  }

  .hotline {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    box-shadow: 0 14px 28px rgb(73 12 27 / 22%);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    justify-content: center;
    min-height: 48px;
    border-top: 1px solid rgb(255 255 255 / 18%);
  }

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

  .path-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .value-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .concern-scene {
    grid-template-columns: 1fr 300px 1fr;
    gap: 24px;
  }

  .concern-side {
    gap: 42px;
  }

  .concern-item h3 {
    font-size: 19px;
  }

  .concern-item p {
    font-size: 14px;
  }

  .process-list article {
    grid-template-columns: 82px 1fr 270px;
    gap: 22px;
    padding: 24px 22px;
  }

  .process-list article:nth-of-type(even) {
    grid-template-columns: 270px 1fr 82px;
  }

  .process-list article:nth-of-type(even) div {
    grid-column: 2;
  }

  .process-list article:nth-of-type(even) img {
    grid-column: 1;
  }

  .process-list article:nth-of-type(even) .process-no {
    grid-column: 3;
  }

  .process-no,
  .process-list article:nth-of-type(even) .process-no {
    width: 72px;
    min-height: 66px;
    margin-right: 0;
    margin-left: 0;
    font-size: 31px;
  }

  .official-band {
    gap: 38px;
  }
}

@media (max-width: 720px) {
  .topbar {
    min-height: 64px;
    width: min(100% - 24px, 1180px);
  }

  .brand {
    font-size: 22px;
  }

  .brand-mark {
    width: 44px;
    height: 34px;
  }

  .section-block {
    padding: 50px 0;
  }

  .section-heading {
    width: calc(100% - 28px);
    margin-bottom: 30px;
  }

  .section-heading h2 {
    font-size: 28px;
    letter-spacing: -0.02em;
  }

  .section-heading h2::after {
    width: 72px;
    height: 3px;
    margin-top: 14px;
  }

  .section-heading p {
    margin-top: 11px;
    font-size: 15px;
    line-height: 1.65;
  }

  .landing-hero,
  .landing-hero__content {
    min-height: 302px;
  }

  .landing-hero__content {
    width: calc(100% - 28px);
    padding-top: 48px;
  }

  .landing-hero h1 {
    font-size: 37px;
  }

  .landing-hero__sub {
    padding: 8px 18px;
    font-size: 17px;
  }

  .hero-checks {
    gap: 22px;
    padding-left: 16px;
    font-size: 15px;
  }

  .hero-actions {
    width: min(300px, 100%);
    flex-direction: column;
    gap: 12px;
  }

  .hero-channel {
    width: 100%;
    min-width: 0;
    font-size: 17px;
  }

  .hero-deadline {
    bottom: 10px;
    font-size: 13px;
  }

  .hero-deadline strong {
    font-size: 17px;
  }

  .hero-deadline button {
    padding: 2px 8px;
  }

  .service-grid,
  .value-cards,
  .policy-reasons,
  .certificate-gallery {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: auto;
  }

  .path-list {
    width: calc(100% - 28px);
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .value-cards article {
    min-height: 250px;
  }

  .concern-scene {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 28px;
  }

  .concern-item--top,
  .concern-side--left,
  .concern-person,
  .concern-side--right {
    grid-column: 1;
    grid-row: auto;
  }

  .concern-person {
    width: min(300px, 100%);
    justify-self: center;
  }

  .concern-side {
    gap: 28px;
  }

  .answer-band {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  .answer-band div {
    justify-self: center;
  }

  .answer-band strong,
  .answer-band span {
    text-align: center;
    text-align-last: auto;
  }

  .answer-band strong {
    font-size: 25px;
  }

  .answer-band .btn {
    justify-self: center;
  }

  .major-table-wrap {
    width: calc(100% - 28px);
  }

  .major-table {
    min-width: 980px;
  }

  .major-table th,
  .major-table td {
    height: 56px;
    font-size: 16px;
  }

  .major-action {
    min-height: 54px;
    margin-top: 34px;
    font-size: 19px;
  }

  .policy-card,
  .policy-card:first-child,
  .policy-card:nth-child(2),
  .policy-card:nth-child(3),
  .policy-card:nth-child(4) {
    min-height: 0;
    margin: 0;
    transform: none;
  }

  .policy-card__image-copy,
  .policy-card__body-inner {
    transform: none;
  }

  .policy-card__image-copy {
    inset: 0;
  }

  .policy-card__body {
    min-height: 480px;
  }

  .policy-card__body-inner {
    min-height: 256px;
  }

  .policy-card__image-copy {
    padding-inline: 26px;
  }

  .policy-card__body li {
    min-height: 62px;
  }

  .policy-reasons article:nth-child(2n) {
    margin-top: 0;
  }

  .policy-reasons {
    gap: 22px;
    padding-block: 0;
  }

  .process-list {
    width: calc(100% - 28px);
    grid-template-rows: none;
    gap: 20px;
  }

  .process-list article,
  .process-list article:nth-of-type(even) {
    min-height: 0;
    grid-template-columns: 64px 1fr;
    gap: 16px;
    margin-top: 0;
    padding: 20px;
    background: transparent;
    border-radius: 0;
  }

  .process-list article:nth-of-type(even) div {
    grid-column: 2;
    grid-row: 1;
  }

  .process-no,
  .process-list article:nth-of-type(even) .process-no {
    grid-column: 1;
    grid-row: 1;
    width: 60px;
    min-height: 56px;
    align-self: start;
    justify-self: start;
    margin: 0;
    font-size: 27px;
  }

  .process-list img,
  .process-list article:nth-of-type(even) img {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 190px;
  }

  .process-list h3 {
    margin-bottom: 12px;
    font-size: 20px;
  }

  .process-list p {
    font-size: 16px;
    line-height: 1.75;
  }

  .process-list button {
    width: min(250px, 100%);
    min-width: 0;
    font-size: 15px;
  }

  .official-band {
    grid-template-columns: 1fr;
    padding: 48px 20px;
  }

  .official-copy {
    min-height: 0;
  }

  .official-copy .official-steps {
    display: grid;
    flex: none;
    gap: 28px;
    padding: 8px 0 8px 46px;
  }

  .official-copy .official-steps::before {
    top: calc(8px + 0.925em);
    bottom: calc(8px + 0.925em);
    left: 8px;
  }

  .official-copy .official-steps li {
    padding-left: 30px;
  }

  .official-copy .official-steps li::after {
    left: -47px;
    width: 16px;
    height: 16px;
  }

  .official-visual {
    border-width: 8px;
  }

  .certificate-title {
    margin-top: 50px;
  }

  .dream-section,
  .dream-section__content {
    min-height: 390px;
  }

  .dream-section__content {
    width: calc(100% - 28px);
  }

  .site-footer {
    padding: 22px 0 calc(22px + env(safe-area-inset-bottom));
    font-size: 13px;
  }

  .site-footer__inner {
    display: grid;
    justify-items: center;
    gap: 4px;
    line-height: 1.65;
    text-align: center;
  }

  .site-footer__inner span {
    display: block;
  }

  html,
  body {
    overflow-x: clip;
  }

  .topbar {
    min-height: 60px;
  }

  .brand {
    gap: 8px;
    font-size: 20px;
    white-space: nowrap;
  }

  .brand-mark {
    width: 38px;
    height: 30px;
  }

  .section-block {
    padding: 46px 0;
  }

  .section-heading {
    width: calc(100% - 32px);
    margin-bottom: 26px;
  }

  .section-heading h2 {
    font-size: clamp(24px, 7vw, 28px);
    line-height: 1.38;
  }

  .section-heading h2::after {
    width: 64px;
    margin-top: 12px;
  }

  .section-heading p {
    margin-top: 9px;
    font-size: 14px;
    line-height: 1.7;
  }

  button[data-consult] {
    min-height: 44px;
  }

  .landing-hero,
  .landing-hero__content {
    min-height: 520px;
  }

  .landing-hero {
    background-position: center bottom;
  }

  .landing-hero__content {
    width: calc(100% - 32px);
    padding: 32px 0 88px;
  }

  .landing-hero h1 {
    font-size: clamp(30px, 8.2vw, 34px);
    line-height: 1.22;
    letter-spacing: 0;
  }

  .landing-hero__sub {
    margin: 14px 0 16px;
    padding: 7px 15px;
    font-size: 15px;
    line-height: 1.45;
  }

  .hero-checks {
    gap: 18px;
    margin-bottom: 20px;
    padding-left: 18px;
    font-size: 14px;
  }

  .hero-actions {
    width: min(280px, 100%);
    gap: 10px;
  }

  .hero-channel {
    min-height: 48px;
    padding: 11px 18px;
    font-size: 16px;
  }

  .hero-deadline {
    bottom: 0;
    padding: 8px 10px;
    background: rgb(8 19 26 / 64%);
    font-size: 12.5px;
    line-height: 1.55;
  }

  .hero-deadline strong {
    font-size: 19px;
  }

  .hero-deadline button {
    min-height: 30px;
    margin-left: 3px;
    padding: 2px 9px;
  }

  .service-strip {
    padding: 44px 0 48px;
  }

  .service-grid {
    gap: 14px;
  }

  .service-grid article {
    min-height: 0;
    padding: 26px 20px;
  }

  .service-grid img {
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
  }

  .service-grid h3 {
    margin-bottom: 10px;
    font-size: 19px;
  }

  .service-grid p {
    font-size: 14px;
    line-height: 1.75;
  }

  .path-section {
    padding: 46px 0;
  }

  .path-list {
    gap: 12px;
  }

  .path-list button {
    padding: 14px 8px 12px;
  }

  .path-list strong {
    font-size: 18px;
  }

  .path-list span {
    margin-top: 6px;
    padding: 3px 10px;
    font-size: 12.5px;
  }

  .value-section {
    padding: 46px 0;
  }

  .value-cards {
    gap: 62px;
  }

  .value-cards article {
    min-height: 230px;
    padding: 64px 20px 18px;
  }

  .value-cards img {
    top: -44px;
    width: 88px;
    height: 88px;
    padding: 18px;
  }

  .value-cards h3 {
    margin-bottom: 10px;
    font-size: 22px;
  }

  .value-cards p {
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.75;
  }

  .value-cards button {
    min-height: 44px;
    font-size: 15px;
  }

  .concern-section {
    padding: 46px 0 0;
  }

  .concern-scene,
  .concern-side {
    gap: 14px;
  }

  .concern-item {
    padding: 17px 18px;
    text-align: left;
    background: #fff7f8;
    border-left: 3px solid var(--red);
  }

  .concern-item h3 {
    margin-bottom: 7px;
    font-size: 18px;
  }

  .concern-item p {
    font-size: 14px;
    line-height: 1.7;
  }

  .concern-person {
    width: min(270px, 100%);
  }

  .concern-person img {
    max-height: 330px;
  }

  .answer-band {
    gap: 14px;
    padding: 24px 18px;
    margin-top: 10px;
  }

  .answer-band strong {
    font-size: 22px;
  }

  .answer-band span {
    font-size: 14px;
    line-height: 1.65;
  }

  .answer-band .btn {
    width: min(280px, 100%);
    font-size: 18px;
  }

  .major-section {
    padding: 46px 0;
  }

  .major-scroll-hint {
    display: block;
    width: calc(100% - 28px);
    margin: -8px auto 10px;
    color: var(--muted);
    font-size: 13px;
    text-align: right;
  }

  .major-table-wrap {
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .major-table {
    min-width: 820px;
  }

  .major-table th,
  .major-table td {
    height: 50px;
    padding: 8px;
    font-size: 14px;
  }

  .major-table th {
    font-size: 15px;
  }

  .major-action {
    width: min(300px, calc(100% - 28px));
    min-height: 50px;
    margin-top: 28px;
    font-size: 17px;
  }

  .policy-section {
    overflow: hidden;
    padding: 46px 0;
  }

  .policy-reasons {
    width: calc(100% - 28px);
    gap: 16px;
  }

  .policy-card__image {
    height: 160px;
  }

  .policy-card__image-copy {
    inset: 0;
    padding: 22px;
  }

  .policy-card__image-copy h3 {
    font-size: 25px;
  }

  .policy-card__image-copy p {
    font-size: 16px;
  }

  .policy-card__body {
    min-height: 390px;
    padding: 184px 22px 24px;
  }

  .policy-card__body-inner {
    min-height: 190px;
  }

  .policy-card__body ul {
    margin-bottom: 18px;
  }

  .policy-card__body li {
    min-height: 56px;
    font-size: 15px;
    line-height: 1.55;
  }

  .policy-card__body button {
    width: 100%;
    min-height: 46px;
    font-size: 15px;
  }

  .process-section {
    padding: 46px 0;
  }

  .process-list {
    gap: 14px;
  }

  .process-list article,
  .process-list article:nth-of-type(even) {
    grid-template-columns: 52px 1fr;
    gap: 12px;
    padding: 16px;
    border-radius: 0;
  }

  .process-no,
  .process-list article:nth-of-type(even) .process-no {
    width: 50px;
    min-height: 50px;
    font-size: 24px;
  }

  .process-list img,
  .process-list article:nth-of-type(even) img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .process-list h3 {
    margin-bottom: 8px;
    font-size: 19px;
  }

  .process-list p {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.7;
  }

  .process-list button {
    width: 100%;
    min-height: 46px;
  }

  .certificate-section {
    padding-bottom: 46px;
  }

  .official-band {
    gap: 28px;
    padding: 40px 16px;
  }

  .official-heading {
    width: 100%;
  }

  .official-copy .official-steps {
    margin: 18px 0 22px;
    font-size: 16px;
    line-height: 1.7;
  }

  .official-copy .btn {
    width: 100%;
  }

  .official-visual {
    padding: 12px;
    border-width: 4px;
  }

  .official-visual--lookup {
    padding: 0;
    border: 0;
  }

  .certificate-title {
    margin-top: 42px;
  }

  .certificate-gallery {
    gap: 24px;
  }

  .certificate-gallery article {
    gap: 12px;
  }

  .certificate-gallery button {
    width: 100%;
    min-height: 44px;
  }

  .dream-section,
  .dream-section__content {
    min-height: 340px;
  }

  .dream-section__content {
    width: calc(100% - 32px);
  }

  .dream-heading {
    margin-bottom: 22px;
  }

  .dream-section__content .btn {
    width: min(300px, 100%);
    min-height: 58px;
    font-size: 18px;
  }

  .friend-links {
    padding: 30px 0 28px;
  }

  .friend-links .friend-links__inner {
    width: calc(100% - 20px);
    padding: 20px 14px 18px;
    border-radius: 18px;
  }

  .friend-links__header {
    display: block;
    margin-bottom: 17px;
  }

  .friend-links__heading {
    gap: 9px;
  }

  .friend-links__eyebrow {
    padding: 5px 9px;
    font-size: 10px;
  }

  .friend-links__header h2 {
    font-size: 22px;
  }

  .friend-links__header p {
    margin-top: 8px;
    font-size: 13px;
    text-align: left;
  }

  .friend-links__gallery,
  .friend-links__gallery.is-static {
    grid-template-columns: minmax(0, 1fr);
  }

  .friend-scroll {
    gap: 12px;
    margin: -6px -2px -12px;
    padding: 6px 2px 12px;
  }

  .friend-link {
    flex: 0 0 min(314px, calc(100vw - 76px));
  }

  .friend-link__meta {
    min-height: 50px;
    padding-inline: 13px 11px;
  }

  .friend-arrow {
    display: none;
  }

  .friend-links__hint {
    display: block;
  }

  .site-footer {
    padding: 20px 0 calc(20px + env(safe-area-inset-bottom));
  }

  .site-footer__inner {
    width: calc(100% - 28px);
    gap: 7px;
    font-size: 12.5px;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }

  .floating-consult {
    right: 10px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    width: 64px;
    min-height: 82px;
    border-radius: 8px;
    font-size: 13px;
  }

  .consult-panel {
    top: 50%;
    right: 12px;
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    gap: 14px;
    overflow-y: auto;
    padding: 22px 18px;
    border-radius: 10px;
  }

  .consult-panel input,
  .consult-panel select {
    min-height: 44px;
  }

  .consult-panel form button {
    min-height: 46px;
  }

  .toast {
    width: max-content;
    max-width: calc(100% - 24px);
    padding: 11px 16px;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
  }
}

/* qg-pc reference: four-reason cards and six-step planning path */
.policy-section {
  overflow: hidden;
  padding: 60px 0 76px;
  background: #f3f3f3;
}

.policy-reasons {
  position: relative;
  padding: 0;
}

.policy-card {
  overflow: visible;
  min-width: 0;
  min-height: 0;
  margin: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  box-shadow: none;
  transform: none;
}

.policy-card:nth-child(1) {
  background-image: url("./assets/qg-pc/reason1.png");
}

.policy-card:nth-child(2) {
  background-image: url("./assets/qg-pc/reason2.png");
}

.policy-card:nth-child(3) {
  background-image: url("./assets/qg-pc/reason3.png");
}

.policy-card:nth-child(4) {
  background-image: url("./assets/qg-pc/reason4.png");
}

.policy-card__image {
  position: static;
  height: auto;
  overflow: visible;
}

.policy-card__image-copy {
  position: absolute;
  inset: auto;
  display: block;
  padding: 0;
  color: #fff;
  background: transparent;
  text-align: center;
  transform: none;
}

.policy-card--light .policy-card__image-copy {
  background: transparent;
}

.policy-card__image-copy h3,
.policy-card__image-copy p {
  margin: 0;
}

.policy-card__image-copy h3 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
}

.policy-card__image-copy p {
  margin-top: 10px;
  font-size: 22px;
  line-height: 1.45;
}

.policy-card__body,
.policy-card--light .policy-card__body {
  position: static;
  min-height: 0;
  padding: 0;
  color: #fff;
  background: transparent;
}

.policy-card--light .policy-card__body {
  color: #183752;
}

.policy-card__body-inner {
  display: block;
  min-height: 0;
  transform: none;
}

.policy-card__body ul {
  position: absolute;
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.policy-card__body li {
  display: flex;
  min-height: 0;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed rgb(255 255 255 / 50%);
  font-size: 24px;
  line-height: 1.45;
}

.policy-card__body .policy-card__description li {
  align-items: flex-start;
  padding: 6px 0;
  border-bottom: 1px dashed rgb(255 255 255 / 50%);
  font-size: 21px;
  line-height: 1.75;
}

.policy-card--light .policy-card__body li {
  border-bottom-color: rgb(24 55 82 / 28%);
}

.policy-card__body button,
.policy-card--light .policy-card__body button {
  position: absolute;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.policy-card__body button {
  color: #173a59;
  background: #fff;
}

.policy-card--light .policy-card__body button {
  color: #fff;
  background: #173a59;
}

.policy-card__body button:hover {
  color: #fff;
  background: #183752;
  box-shadow: inset 0 0 0 1px #fff;
}

.policy-card--light .policy-card__body button:hover {
  color: #183752;
  background: #fff;
  box-shadow: inset 0 0 0 1px #183752;
}

.process-section {
  overflow: hidden;
  padding: 65px 0 70px;
  background: #fff;
}

.process-section > .section-heading {
  margin-bottom: 35px;
}

.process-list::before,
.process-list::after {
  content: none;
}

.process-list article {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.process-list h3 {
  color: #16b3e6;
}

.process-list button {
  color: #fff;
  background: #ed4343;
  border: 1px solid #ed4343;
  border-radius: 6px;
}

.process-list button:hover {
  color: #ed4343;
  background: #fff;
}

@media (min-width: 1280px) {
  .policy-reasons {
    display: block;
    width: 1125px;
    height: 639px;
    margin: 63px auto 0;
  }

  .policy-card,
  .policy-card:first-child,
  .policy-card:nth-child(2),
  .policy-card:nth-child(3),
  .policy-card:nth-child(4) {
    position: absolute;
    width: 393px;
    height: 507px;
    margin: 0;
  }

  .policy-card:nth-child(1) {
    top: 0;
    left: 0;
    z-index: 1;
  }

  .policy-card:nth-child(2) {
    top: 81px;
    left: 227px;
    z-index: 2;
  }

  .policy-card:nth-child(3) {
    top: 0;
    left: 493px;
    z-index: 3;
  }

  .policy-card:nth-child(4) {
    top: 81px;
    left: 720px;
    z-index: 4;
  }

  .policy-card__image-copy {
    top: 41px;
    left: 129px;
    width: 193px;
  }

  .policy-card:nth-child(even) .policy-card__image-copy {
    left: 122px;
  }

  .policy-card__image-copy h3 {
    font-size: 32px;
  }

  .policy-card__image-copy p {
    margin-top: 9px;
    font-size: 20px;
  }

  .policy-card__body ul {
    top: 180px;
    left: 81px;
    width: 189px;
  }

  .policy-card__body li {
    padding: 9px 0;
    font-size: 22px;
  }

  .policy-card__body button,
  .policy-card--light .policy-card__body button {
    bottom: 32px;
    left: 68px;
    width: 170px;
    height: 38px;
    border-radius: 5px;
    font-size: 16px;
  }

  .process-list {
    position: relative;
    display: block;
    width: 1136px;
    height: 1800px;
    margin: 0 auto;
    padding: 0;
    background: url("./assets/qg-pc/step-bg.png") center top / 100% 2410px no-repeat;
    isolation: auto;
  }

  .process-list article,
  .process-list article:nth-of-type(even) {
    position: absolute;
    z-index: 1;
    display: flex;
    width: 860px;
    height: 205px;
    min-height: 0;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 0;
  }

  .process-list article:nth-of-type(even) {
    flex-direction: row-reverse;
  }

  .process-list article:nth-of-type(1) {
    top: 95px;
    left: 180px;
  }

  .process-list article:nth-of-type(2) {
    top: 385px;
    left: 88px;
  }

  .process-list article:nth-of-type(3) {
    top: 658px;
    left: 205px;
  }

  .process-list article:nth-of-type(4) {
    top: 960px;
    left: 112px;
  }

  .process-list article:nth-of-type(5) {
    top: 1252px;
    left: 200px;
  }

  .process-list article:nth-of-type(6) {
    top: 1542px;
    left: 112px;
  }

  .process-no {
    display: none;
  }

  .process-list article div,
  .process-list article:nth-of-type(even) div {
    width: 455px;
    flex: 0 0 455px;
    text-align: left;
  }

  .process-list h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.4;
  }

  .process-list p {
    margin: 30px 0;
    color: #222;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
  }

  .process-list button {
    width: 278px;
    min-width: 0;
    height: 58px;
    min-height: 58px;
    padding: 0;
    font-size: 20px;
  }

  .process-list img,
  .process-list article:nth-of-type(even) img {
    width: 345px;
    height: 205px;
    flex: 0 0 345px;
    margin: 0 30px;
    object-fit: cover;
  }
}

@media (max-width: 1279px) {
  .policy-reasons {
    display: grid;
    width: min(920px, calc(100% - 40px));
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 437px));
    gap: 28px;
    justify-content: center;
    margin: 48px auto 0;
  }

  .policy-card,
  .policy-card:first-child,
  .policy-card:nth-child(2),
  .policy-card:nth-child(3),
  .policy-card:nth-child(4) {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 437px;
    height: auto;
    aspect-ratio: 437 / 563;
    margin: 0;
    justify-self: center;
  }

  .policy-card__image-copy,
  .policy-card:nth-child(even) .policy-card__image-copy {
    top: 8%;
    left: 25%;
    width: 60%;
  }

  .policy-card__image-copy h3 {
    font-size: clamp(28px, 3.2vw, 36px);
  }

  .policy-card__image-copy p {
    margin-top: 8px;
    font-size: clamp(17px, 2.1vw, 22px);
  }

  .policy-card__body ul {
    top: 35.5%;
    left: 20.6%;
    width: 48%;
  }

  .policy-card__body li {
    padding: 2.2% 0;
    font-size: clamp(16px, 2.15vw, 24px);
  }

  .policy-card__body button,
  .policy-card--light .policy-card__body button {
    bottom: 8%;
    left: 14.9%;
    width: 43.25%;
    height: 7.46%;
    min-height: 36px;
    font-size: clamp(14px, 1.8vw, 18px);
  }

  .process-list {
    position: relative;
    display: grid;
    width: min(920px, calc(100% - 40px));
    height: auto;
    grid-template-rows: none;
    gap: 28px;
    margin: 0 auto;
    padding: 0;
    background: none;
  }

  .process-list article,
  .process-list article:nth-of-type(even) {
    position: relative;
    inset: auto;
    display: grid;
    width: 100%;
    height: auto;
    min-height: 0;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    margin: 0;
    padding: 22px;
    background: #fff;
    border: 1px solid #e8edf1;
    box-shadow: 0 12px 28px rgb(27 52 72 / 8%);
  }

  .process-no,
  .process-list article:nth-of-type(even) .process-no {
    display: grid;
    grid-column: 1;
    grid-row: 1;
    width: 64px;
    min-height: 56px;
    place-items: center;
    align-self: start;
    justify-self: start;
    margin: 0;
    color: #fff;
    background: var(--red);
    border-radius: 5px;
    box-shadow: 0 4px 12px rgb(200 37 66 / 22%);
    font-size: 28px;
  }

  .process-list article div,
  .process-list article:nth-of-type(even) div {
    grid-column: 2;
    grid-row: 1;
    width: auto;
  }

  .process-list img,
  .process-list article:nth-of-type(even) img {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    height: auto;
    margin: 0;
    aspect-ratio: 345 / 205;
    object-fit: cover;
  }

  .process-list h3 {
    margin: 0 0 12px;
    font-size: clamp(20px, 2.7vw, 24px);
    line-height: 1.45;
  }

  .process-list p {
    margin: 0 0 20px;
    color: #222;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.7;
  }

  .process-list button {
    width: min(278px, 100%);
    min-width: 0;
    min-height: 52px;
    padding: 10px 20px;
    font-size: 17px;
  }
}

@media (min-width: 721px) and (max-width: 1279px) {
  .process-list article {
    grid-template-columns: 72px minmax(0, 1fr) clamp(240px, 30vw, 300px);
  }

  .process-list article:nth-of-type(even) {
    grid-template-columns: clamp(240px, 30vw, 300px) minmax(0, 1fr) 72px;
  }

  .process-list article:nth-of-type(even) .process-no {
    grid-column: 3;
  }

  .process-list img {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
  }

  .process-list article:nth-of-type(even) img {
    grid-column: 1;
    grid-row: 1;
  }
}

@media (max-width: 720px) {
  .policy-section,
  .process-section {
    padding: 46px 0;
  }

  .policy-reasons {
    width: calc(100% - 28px);
    grid-template-columns: minmax(0, 437px);
    gap: 22px;
    margin-top: 32px;
  }

  .policy-card__image-copy,
  .policy-card:nth-child(even) .policy-card__image-copy {
    top: 8%;
    left: 24%;
    width: 62%;
    padding: 0;
  }

  .policy-card__image-copy h3 {
    font-size: clamp(26px, 9vw, 36px);
  }

  .policy-card__image-copy p {
    font-size: clamp(16px, 5vw, 22px);
  }

  .policy-card__body li {
    min-height: 0;
    font-size: clamp(15px, 5.3vw, 23px);
    line-height: 1.4;
  }

  .policy-card__body button,
  .policy-card--light .policy-card__body button {
    min-height: 44px;
    font-size: clamp(13px, 4vw, 17px);
  }

  .process-section > .section-heading {
    margin-bottom: 28px;
  }

  .process-list {
    width: calc(100% - 28px);
    gap: 18px;
  }

  .process-list article,
  .process-list article:nth-of-type(even) {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .process-no,
  .process-list article:nth-of-type(even) .process-no {
    width: 48px;
    min-height: 48px;
    font-size: 22px;
  }

  .process-list h3 {
    margin-bottom: 8px;
    font-size: 18px;
  }

  .process-list p {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.65;
  }

  .process-list button {
    width: 100%;
    min-height: 46px;
    font-size: 15px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.friend-links {
  padding: 22px 0;
  background: #f5f7fa;
  border-top: 1px solid #e9edf2;
}

.friend-links .friend-links__grid {
  display: grid;
  width: min(1180px, calc(100% - 32px));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto;
}

.friend-links .friend-link {
  position: static;
  display: block;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: inherit;
  background: #fff;
  border: 1px solid #dfe5ec;
  border-radius: 6px;
  box-shadow: none;
  text-decoration: none;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.friend-links .friend-link:hover {
  border-color: #c8aeb4;
  box-shadow: none;
  opacity: 0.92;
  transform: none;
}

.friend-links .friend-link:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.friend-links .friend-link img,
.friend-links .friend-link:hover img {
  width: 100%;
  aspect-ratio: 46 / 9;
  height: auto;
  object-fit: cover;
  transform: none;
}

@media (max-width: 900px) {
  .friend-links .friend-links__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .friend-links {
    padding: 16px 0;
  }

  .friend-links .friend-links__grid {
    width: calc(100% - 20px);
    display: flex;
    gap: 10px;
    padding: 2px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .friend-links .friend-links__grid::-webkit-scrollbar {
    display: none;
  }

  .friend-links .friend-link {
    flex: 0 0 min(280px, calc(100vw - 52px));
    scroll-snap-align: start;
  }
}

/* Compact mobile layout */
@media (max-width: 720px) {
  :root {
    --anchor-offset: 54px;
  }

  .topbar {
    width: calc(100% - 20px);
    min-height: 54px;
  }

  .brand {
    gap: 6px;
    font-size: 18px;
  }

  .brand-mark {
    width: 34px;
    height: 27px;
  }

  .site-nav {
    max-height: calc(100dvh - 54px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    min-height: 44px;
    padding: 6px 8px;
    border-right: 1px solid rgb(255 255 255 / 18%);
    font-size: 14px;
  }

  .content-grid,
  .section-heading,
  .path-list,
  .concern-scene,
  .major-table-wrap,
  .policy-reasons,
  .process-list,
  .certificate-gallery {
    width: calc(100% - 24px);
  }

  .section-block,
  .value-section,
  .major-section,
  .policy-section,
  .process-section {
    padding: 34px 0;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .section-heading h2 {
    font-size: clamp(21px, 6.2vw, 25px);
    line-height: 1.34;
  }

  .section-heading h2::after {
    width: 48px;
    height: 3px;
    margin-top: 9px;
  }

  .section-heading p {
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.55;
  }

  .landing-hero,
  .landing-hero__content {
    min-height: 302px;
  }

  .landing-hero {
    background-position: center bottom;
  }

  .landing-hero__content {
    width: calc(100% - 24px);
    padding: 24px 0 66px;
  }

  .landing-hero h1 {
    font-size: clamp(28px, 8.5vw, 34px);
    line-height: 1.18;
  }

  .landing-hero h1 span {
    display: block;
    margin: 0 0 2px;
  }

  .landing-hero__sub {
    margin: 10px 0 12px;
    padding: 6px 14px;
    font-size: 14px;
  }

  .hero-checks {
    gap: 17px;
    margin-bottom: 14px;
    padding-left: 16px;
    font-size: 13px;
  }

  .hero-actions {
    display: grid;
    width: min(330px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-channel {
    min-height: 48px;
    padding: 8px 6px;
    font-size: 14px;
    line-height: 1.35;
  }

  .hero-channel::after {
    margin-left: 4px;
  }

  .landing-hero::after {
    height: 44px;
  }

  .hero-deadline {
    padding: 5px 8px;
    background: transparent;
    font-size: 12px;
    line-height: 1.45;
  }

  .hero-deadline strong {
    font-size: 17px;
  }

  .hero-deadline button {
    min-height: 28px;
    padding: 1px 7px;
    font-size: 12px;
  }

  .service-strip {
    padding: 34px 0;
  }

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

  .service-grid article {
    min-height: 0;
    padding: 16px 12px;
    border-radius: 5px;
  }

  .service-grid img {
    width: 38px;
    height: 38px;
    margin-bottom: 9px;
  }

  .service-grid h3 {
    margin-bottom: 7px;
    font-size: 15px;
    line-height: 1.45;
  }

  .service-grid p {
    font-size: 12.5px;
    line-height: 1.58;
    text-align: left;
  }

  .path-section {
    padding: 34px 0;
  }

  .path-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .path-list button {
    min-height: 0;
    padding: 9px 4px 7px;
    border-width: 1px;
  }

  .path-list strong {
    font-size: 15px;
    line-height: 1.35;
  }

  .path-list span {
    margin-top: 4px;
    padding: 2px 7px;
    font-size: 11px;
  }

  .value-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 0;
  }

  .value-cards article {
    display: flex;
    min-height: 158px;
    flex-direction: column;
    justify-content: flex-start;
    padding: 12px 6px 8px;
    border-color: #d8dde3;
    border-radius: 6px;
  }

  .value-cards img {
    position: static;
    width: 42px;
    height: 42px;
    margin: 0 auto 7px;
    padding: 8px;
    transform: none;
  }

  .value-cards h3 {
    min-height: 40px;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
  }

  .value-cards p {
    display: none;
  }

  .value-cards button {
    width: 100%;
    min-height: 44px;
    margin-top: auto;
    padding: 6px 2px;
    font-size: 12px;
  }

  .concern-section {
    padding: 34px 0 0;
  }

  .concern-scene {
    gap: 10px;
  }

  .concern-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .concern-item {
    padding: 13px 12px;
  }

  .concern-item h3 {
    margin-bottom: 5px;
    font-size: 15px;
    line-height: 1.45;
  }

  .concern-item p {
    font-size: 12.5px;
    line-height: 1.58;
  }

  .concern-person {
    display: none;
  }

  .answer-band {
    gap: 10px;
    padding: 18px 12px;
  }

  .answer-band div {
    gap: 3px;
  }

  .answer-band strong {
    font-size: 18px;
    letter-spacing: 0.08em;
  }

  .answer-band span {
    font-size: 12.5px;
    line-height: 1.5;
  }

  .answer-band .btn {
    width: min(220px, 100%);
    min-height: 44px;
    padding: 8px 18px;
    font-size: 15px;
  }

  .major-scroll-hint {
    width: calc(100% - 24px);
    margin: -6px auto 7px;
    font-size: 12px;
  }

  .major-table {
    min-width: 700px;
  }

  .major-table th,
  .major-table td {
    height: 44px;
    padding: 6px;
    font-size: 12px;
  }

  .major-table th {
    font-size: 13px;
  }

  .major-action {
    width: min(260px, calc(100% - 24px));
    min-height: 44px;
    margin-top: 20px;
    font-size: 15px;
  }

  .policy-reasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 10px;
    margin-top: 20px;
  }

  .policy-card,
  .policy-card:first-child,
  .policy-card:nth-child(2),
  .policy-card:nth-child(3),
  .policy-card:nth-child(4) {
    display: flex;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    flex-direction: column;
    overflow: hidden;
    background: #173a59;
    border-radius: 7px;
    box-shadow: 0 7px 18px rgb(22 36 53 / 13%);
  }

  .policy-card:nth-child(even) {
    background: #fff;
    border: 1px solid #dfe4ea;
  }

  .policy-card__image {
    position: static;
    height: auto;
  }

  .policy-card__image-copy,
  .policy-card:nth-child(even) .policy-card__image-copy {
    position: static;
    width: auto;
    padding: 12px 8px;
    color: #fff;
    background: var(--red);
    text-align: center;
  }

  .policy-card:nth-child(even) .policy-card__image-copy {
    background: #173a59;
  }

  .policy-card__image-copy h3 {
    font-size: 18px;
  }

  .policy-card__image-copy p {
    margin-top: 3px;
    font-size: 12px;
    line-height: 1.4;
  }

  .policy-card__body,
  .policy-card--light .policy-card__body {
    position: static;
    display: flex;
    min-height: 0;
    flex: 1;
    padding: 12px 10px;
    color: #fff;
    background: transparent;
  }

  .policy-card--light .policy-card__body {
    color: #173a59;
  }

  .policy-card__body-inner {
    display: flex;
    width: 100%;
    min-height: 0;
    flex-direction: column;
  }

  .policy-card__body ul {
    position: static;
    width: auto;
    margin: 0 0 10px;
  }

  .policy-card__body .policy-card__description li {
    padding: 0;
    font-size: 12.5px;
    line-height: 1.58;
  }

  .policy-card__body button,
  .policy-card--light .policy-card__body button {
    position: static;
    width: 100%;
    height: auto;
    min-height: 44px;
    margin-top: auto;
    padding: 7px 5px;
    font-size: 12.5px;
    line-height: 1.35;
  }

  .process-section > .section-heading {
    margin-bottom: 20px;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .process-list article,
  .process-list article:nth-of-type(even) {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e5e9ee;
    border-radius: 7px;
    box-shadow: 0 6px 16px rgb(27 52 72 / 7%);
  }

  .process-no,
  .process-list article:nth-of-type(even) .process-no {
    display: grid;
    width: 34px;
    min-height: 34px;
    flex: 0 0 34px;
    margin: 0;
    place-items: center;
    border-radius: 5px;
    font-size: 16px;
  }

  .process-list article div,
  .process-list article:nth-of-type(even) div {
    display: flex;
    width: 100%;
    flex: 1;
    flex-direction: column;
  }

  .process-list h3 {
    margin-bottom: 6px;
    font-size: 15px;
    line-height: 1.45;
  }

  .process-list p {
    margin-bottom: 10px;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.58;
  }

  .process-list button {
    min-height: 44px;
    margin-top: auto;
    padding: 7px 6px;
    font-size: 12.5px;
    line-height: 1.35;
  }

  .process-list img,
  .process-list article:nth-of-type(even) img {
    display: none;
  }

  .certificate-section {
    padding-bottom: 34px;
  }

  .official-band {
    gap: 18px;
    padding: 30px 12px;
  }

  .official-copy .official-steps {
    gap: 16px;
    margin: 4px 0 14px;
    padding: 5px 0 5px 36px;
    font-size: 13px;
    line-height: 1.55;
  }

  .official-copy .official-steps::before {
    left: 5px;
  }

  .official-copy .official-steps li {
    padding-left: 20px;
  }

  .official-copy .official-steps li::after {
    left: -38px;
    width: 12px;
    height: 12px;
  }

  .official-copy .btn {
    min-height: 44px;
    padding: 9px 18px;
    font-size: 15px;
  }

  .official-visual {
    width: min(320px, 100%);
    justify-self: center;
  }

  .certificate-title {
    margin-top: 30px;
  }

  .certificate-gallery {
    display: flex;
    width: calc(100% - 20px);
    gap: 10px;
    padding-top: 22px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 1px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .certificate-gallery::-webkit-scrollbar {
    display: none;
  }

  .certificate-gallery article {
    flex: 0 0 min(250px, 78vw);
    gap: 10px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    scroll-snap-align: start;
  }

  .certificate-gallery button {
    min-height: 44px;
    padding: 7px 5px;
    font-size: 12.5px;
    line-height: 1.35;
  }

  .dream-section,
  .dream-section__content {
    min-height: 270px;
  }

  .dream-section__content {
    width: calc(100% - 24px);
  }

  .dream-heading {
    margin-bottom: 16px;
  }

  .dream-section__content .btn {
    width: min(240px, 100%);
    min-height: 48px;
    padding: 10px 24px;
    font-size: 16px;
  }

  .friend-links {
    padding: 12px 0;
  }

  .site-footer {
    padding: 15px 0 calc(15px + env(safe-area-inset-bottom));
  }

  .site-footer__inner {
    width: calc(100% - 24px);
    gap: 4px;
    font-size: 11.5px;
    line-height: 1.55;
  }

  .floating-consult {
    right: 8px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: 52px;
    min-height: 66px;
    gap: 2px;
    border-radius: 8px;
    font-size: 11px;
  }

  .floating-consult svg {
    width: 21px;
    height: 21px;
  }

  .consult-panel {
    gap: 11px;
    padding: 20px 16px;
  }

  .consult-panel h2 {
    font-size: 20px;
  }

  .consult-panel p,
  .consult-panel label {
    font-size: 13px;
  }

  .consult-panel form {
    gap: 10px;
  }
}

@media (max-width: 359px) {
  .service-grid,
  .value-cards,
  .policy-reasons,
  .process-list {
    column-gap: 8px;
  }

  .service-grid article,
  .value-cards article,
  .policy-card__body,
  .process-list article,
  .process-list article:nth-of-type(even) {
    padding-right: 8px;
    padding-left: 8px;
  }

  .brand {
    font-size: 17px;
  }

  .hero-channel,
  .value-cards p,
  .policy-card__body .policy-card__description li,
  .process-list p {
    font-size: 12px;
  }
}

/* Keep the complete hero deadline and its action on one line on narrow phones. */
@media (max-width: 385px) {
  .hero-deadline {
    padding: 5px 4px;
    font-size: clamp(10px, 2.8vw, 11px);
    line-height: 1.35;
    white-space: nowrap;
  }

  .hero-deadline strong {
    font-size: clamp(14px, 4vw, 16px);
  }

  .hero-deadline button {
    min-height: 26px;
    margin-left: 2px;
    padding: 1px 4px;
    font-size: inherit;
  }
}

/* Mobile header: keep the primary navigation visible as a swipeable row. */
@media (max-width: 980px) {
  .site-nav,
  .site-nav.open {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    min-height: 44px;
    max-height: none;
    gap: 0;
    padding: 0 10px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 10px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    touch-action: pan-x;
    box-shadow: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
    min-height: 44px;
    justify-content: center;
    padding: 0 13px;
    border-top: 0;
    border-right: 0;
    scroll-snap-align: start;
    white-space: nowrap;
  }
}
