@layer reset, base, layout, components, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html, body, h1, h2, h3, p, ul, ol, li, figure, form { margin: 0; padding: 0; }
  ul, ol { list-style: none; }
  img { max-width: 100%; height: auto; display: block; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
  input, select, textarea { font: inherit; color: inherit; }
  svg { display: block; }
}

@layer base {
  :root {
    --c-main: #005149;
    --c-sub: #A8BD38;
    --c-accent: #DEBD37;
    --c-base: #F9F9F9;
    --c-text: #16211f;
    --c-muted: #4d5f5c;
    --c-white: #ffffff;
    --c-btn-on-sub: #ffffff;
    --max: 1440px;
    --radius-lg: clamp(16px, 1.6vw, 28px);
    --radius-md: 16px;
    --gutter: clamp(20px, 4vw, 64px);
    --section-pad: clamp(48px, 6vw, 96px);
  }

  html {
    font-size: 100%;
    overflow-x: clip;
  }

  body {
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
    background: var(--c-base);
    color: var(--c-text);
    line-height: 1.8;
    font-size: clamp(1rem, 0.95rem + 0.15vw, 1.0625rem);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
  }

  @media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  }

  .skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--c-main);
    color: #fff;
    padding: 12px 20px;
    border-radius: 0 0 8px 0;
    z-index: 1000;
  }
  .skip-link:focus { left: 0; }

  h1, h2, h3, h4, .hero__heading {
    font-family: "LINE Seed JP", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  }
}

@layer layout {
  .container {
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: var(--gutter);
  }

  .section { padding-block: var(--section-pad); }
  .section-tight { padding-block: clamp(24px, 3vw, 48px); }
}

@layer components {

  /* ---- header ---- */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(249, 249, 249, 0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(0, 81, 73, 0.08);
    transform: translateY(0);
    transition: transform 0.3s ease;
  }
  .site-header.is-hidden { transform: translateY(-100%); }
  .site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(12px, 3vw, 24px);
    padding-block: clamp(10px, 1.6vw, 16px);
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }
  .brand__logo { flex: none; }
  .brand__text {
    font-weight: 800;
    color: var(--c-main);
    font-size: clamp(0.8rem, 0.6rem + 1vw, 1.05rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* ---- buttons ---- */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
    padding: 0 clamp(18px, 2.2vw, 28px);
    min-height: clamp(44px, 4vw, 56px);
    font-size: clamp(0.875rem, 0.8rem + 0.3vw, 1rem);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .btn:hover { transform: translateY(-2px); opacity: 0.92; }
  .btn:active { transform: translateY(0); }
  .btn--sub { background: var(--c-sub); color: var(--c-btn-on-sub); }
  .btn--ghost {
    background: var(--c-white);
    color: var(--c-main);
    border: 1px solid rgba(0, 81, 73, 0.25);
  }
  .btn--ghost-invert {
    background: transparent;
    color: var(--c-main);
    border: 1px solid var(--c-main);
  }
  .btn--lg { min-height: clamp(48px, 4.4vw, 60px); }
  .btn--block { width: 100%; }

  /* ---- headings / text utilities ---- */
  .heading {
    font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.5rem);
    line-height: 1.4;
    font-weight: bold;
    color: var(--c-main);
  }
  .heading--sm { font-size: clamp(1.15rem, 1rem + 0.8vw, 1.6rem); }
  .heading--center { text-align: center; }
  .heading--accent { color: var(--c-sub); font-size: 24px; }
  .heading--invert { color: var(--c-white); }
  .lead {
    margin-top: clamp(14px, 1.6vw, 20px);
    color: var(--c-muted);
    font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
    line-height: 1.9;
  }
  .lead--center { text-align: center; max-width: 56em; margin-inline: auto; }
  .lead--invert { color: rgba(255, 255, 255, 0.86); }
  .small { margin-top: clamp(12px, 1.6vw, 16px); color: var(--c-muted); font-size: 0.9rem; }

  /* ---- hero ---- */
  .hero {
    position: relative;
    background: var(--c-base);
    overflow: hidden;
    padding-block: clamp(20px, 3vw, 40px) clamp(32px, 5vw, 56px);
  }
  .hero__collage {
    position: relative;
    width: min(100%, var(--max));
    margin-inline: auto;
    aspect-ratio: 1440 / 996;
  }
  .hero__visual {
    position: absolute;
    inset: 0;
  }
  .hero__mark {
    position: absolute;
    left: 19.37%;
    top: 29.42%;
    width: 57.29%;
    height: auto;
    aspect-ratio: 825 / 434;
    z-index: 1;
  }
  .hero__photo {
    position: absolute;
    overflow: hidden;
    z-index: 2;
  }
  .hero__photo img { width: 100%; height: 100%; object-fit: cover; }
  .hero__photo--main { left: 34.93%; top: 32.93%; width: 30.14%; height: 56.22%; z-index: 3; }
  .hero__photo--sub01 { left: 3.54%; top: 26.2%; width: 14.31%; height: 26.71%; }
  .hero__photo--sub02 { left: 11.32%; top: 76.31%; width: 14.31%; height: 26.71%; }
  .hero__photo--sub03 { left: 85.28%; top: 32.93%; width: 11.25%; height: 21.29%; }
  .hero__heading {
    z-index: 4;
    font-weight: bold;
    color: var(--c-main);
    line-height: 1.75;
    text-align: center;
    font-size: clamp(1.2rem, 0.95rem + 1.2vw, 1.9rem);
  }
  .hero__lead {
    position: absolute;
    left: 69.58%;
    top: 62.71%;
    width: 27.15%;
    z-index: 4;
    color: var(--c-muted);
    font-size: clamp(0.8125rem, 0.6rem + 0.7vw, 0.9375rem);
    line-height: 1.7;
  }
  .hero__badges {
    margin-top: clamp(24px, 4vw, 40px);
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    max-width: 540px;
    margin-inline: auto;
    padding-inline: 0;
  }
  .badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 16px;
    background: var(--c-main);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--c-white);
  }

  /* ---- family / reason ---- */
  .family { background: var(--c-base); }
  .reason-card {
    margin-top: clamp(40px, 2.5rem + 7.2vw, 145px);
    background: var(--c-main);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 56px);
    color: var(--c-white);
  }
  .reason-card__subhead {
    font-size: clamp(1.15rem, 1rem + 1vw, 1.6rem);
    font-weight: 800;
    text-align: center;
    line-height: 1.6;
  }
  .reason-card__lead {
    margin-top: clamp(24px, 1.5rem + 2.3vw, 58px);
    color: rgba(255, 255, 255, 0.82);
    text-align: left;
    max-width: 657px;
    margin-inline: auto;
    margin-bottom: clamp(64px, 10vw, 144px);
    font-size: clamp(0.875rem, 0.8rem + 0.2vw, 0.9375rem);
  }
  .reason-panel {
    position: relative;
    margin-top: 0;
    background: var(--c-base);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 3vw, 40px);
    padding-top: clamp(24px, 3vw, 40px);
  }
  .reason-panel__title {
    position: relative;
    z-index: 2;
    color: var(--c-sub);
    font-size: 40px;
    line-height: 1.45;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    margin-inline: auto;
    margin-bottom: clamp(24px, 3vw, 40px);
  }
  .u-break-sp { display: none; }
  .reason-list {
    display: grid;
    gap: 2rem;
    margin-bottom: clamp(5rem, 4.071rem + 3.81vw, 7.5rem);
    max-width: 660px;
    margin-inline: auto;
  }
  .reason-item { border-radius: 12px; overflow: hidden; border: 1px solid rgba(0, 81, 73, 0.15); }
  .reason-item__title {
    background: var(--c-main);
    color: #fff;
    font-weight: 800;
    padding: 10px 18px;
    text-align: center;
  }
  .reason-item__body {
    background: #EDF2F2;
    padding: 14px 18px;
    color: var(--c-muted);
    font-size: 0.9375rem;
  }

  .reason-slide, .evidence-slide {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 660 / 360;
    max-width: 660px;
    margin-inline: auto;
  }
  .reason-slide__img, .evidence-slide__img {
    position: absolute;
    inset: 0 0 0 51%;
    width: 49%;
    height: 100%;
    object-fit: cover;
  }
  .reason-slide__label, .evidence-slide__label {
    position: absolute;
    inset: 0 49% 0 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding: clamp(16px, 2vw, 24px);
    color: #fff;
    font-weight: 700;
  }
  .reason-slide__label span {
    font-family: "LINE Seed JP", "Noto Sans JP", -apple-system, sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
  }
  .reason-slide__label p, .evidence-slide__label p { font-size: 0.95rem; line-height: 1.6; }
  .reason-slide__label--01 { background: #DD4848; }
  .reason-slide__label--02 { background: #488EDD; }
  .reason-slide__label--03 { background: #C75FDE; }
  .reason-slide__label--04 { background: #4CDA83; }
  .evidence-slide__label { justify-content: flex-end; }

  .evidence-slide__title {
    position: absolute;
    inset: 0 49% 44px 0;
    z-index: 0;
    display: flex;
    align-items: flex-start;
    padding: clamp(16px, 2vw, 24px);
    background: var(--c-main);
    border-radius: 8px 0 0 8px;
    color: #fff;
    font-weight: 700;
    pointer-events: none;
  }
  .evidence-slide__title h3 { font-size: 1.1rem; }

  /* ---- swiper shared (geometry/color overrides live unlayered below, since
     Swiper's CDN stylesheet is unlayered and would otherwise always win) ---- */
  .swiper { position: relative; max-width: 660px; margin-inline: auto; padding-bottom: 44px; }

  /* ---- contents (icon cards) ---- */
  .icon-grid {
    margin-top: clamp(24px, 3vw, 40px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: clamp(14px, 2vw, 20px);
  }
  .icon-card {
    border: 1.5px solid var(--c-main);
    border-radius: var(--radius-md);
    padding: clamp(20px, 2.4vw, 32px) clamp(16px, 2vw, 24px);
    text-align: center;
    background: var(--c-base);
  }
  .icon-card__icon { width: clamp(40px, 4vw, 48px); height: clamp(40px, 4vw, 48px); margin-inline: auto; display: block; }
  .icon-card__title { margin-top: 14px; color: var(--c-main); font-size: 1.15rem; font-weight: bold; }
  .icon-card__body { margin-top: 10px; color: var(--c-muted); font-size: 0.9rem; text-align: left; }

  .checklist-block { margin-top: clamp(40px, 5vw, 64px); }
  .checklist {
    margin-top: clamp(16px, 2vw, 24px);
    display: grid;
    gap: 10px;
    max-width: 42em;
    margin-inline: auto;
  }
  .checklist li {
    position: relative;
    padding-left: 1.6em;
    color: var(--c-text);
  }
  .checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-muted);
  }

  /* ---- learn (dark) ---- */
  .learn { background: var(--c-main); color: #fff; }
  .learn__inner {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: var(--gutter);
    align-items: start;
  }
  .learn__inner .heading { grid-column: 3 / 7; font-size: 24px; }
  .learn__inner .lead { grid-column: 7 / 13; margin-top: 0; }
  .learn-slide {
    max-width: 660px;
    margin-inline: auto;
    background: var(--c-base);
    color: var(--c-text);
    border-radius: 8px;
    overflow: hidden;
  }
  .learn-slide__photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 660 / 466;
  }
  .learn-slide__photo img { width: 100%; height: 100%; object-fit: cover; }
  .learn-slide__photo h3 {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    padding: clamp(16px, 2vw, 24px);
    font-size: 1.15rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  }
  .learn-slide figcaption { padding: clamp(16px, 2vw, 24px); }
  .learn-slide figcaption p { color: var(--c-muted); font-size: 0.9375rem; }
  .learn__inner + .container { margin-top: clamp(20px, 11.8vw, 64px); }

  /* ---- material ---- */
  .material-grid {
    margin-top: clamp(28px, 3.5vw, 44px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: clamp(14px, 2vw, 20px);
  }
  .material-card {
    border-radius: clamp(28px, 3vw, 48px) clamp(28px, 3vw, 48px) clamp(28px, 3vw, 48px) 0;
    padding: clamp(22px, 2.6vw, 32px) clamp(18px, 2vw, 24px);
    color: #fff;
    text-align: left;
  }
  .material-card__num { display: block; text-align: center; font-size: 1.75rem; font-weight: 800; opacity: 0.9; }
  .material-card__title { margin-top: 10px; font-size: 1.1rem; font-weight: bold; }
  .material-card__body { margin-top: 10px; font-size: 0.9rem; line-height: 1.7; opacity: 0.95; }
  .material-card--01 { background: #DD4848; }
  .material-card--02 { background: #488EDD; }
  .material-card--03 { background: #C75FDE; }
  .material-card--04 { background: #4CDA83; }

  /* ---- evidence ---- */
  .evidence {
    max-width: 1140px;
    margin-inline: auto
  }

  .evidence-rows {
    margin-top: clamp(24px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 6vw, 72px);
  }
  .evidence-row {
    display: flex;
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
  }
  .evidence-row--reverse { flex-direction: row-reverse; }
  .evidence-row__media {
    flex: 1 1 0;
    max-width: 440px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 547 / 400;
  }

  .evidence-row__media { width: calc(100% - 50%) }
  .evidence-row__media img { width: 100%; height: 100%; object-fit: cover; }
  .evidence-row__media--badge { background: var(--c-white); padding: clamp(20px, 3vw, 32px); }
  .evidence-row__media--badge img { object-fit: contain; }
  .evidence-row__text { width: calc(100% - 50%); flex: 1 1 0; }
  .evidence-row__text h3 { color: var(--c-main); font-size: 1.1rem; font-weight: bold; }
  .evidence-row__text p { margin-top: 8px; color: var(--c-muted); font-size: 0.9rem; }

  .slider_bg { 
    max-width: 886px;
    background-color: var(--c-white); 
    padding-block: 80px;
    margin-top: 120px;
    border-radius: 1rem;
    margin-inline: auto;
}
  .evidence-swiper { margin-top: clamp(24px, 3vw, 40px); }

  /* ---- flow ---- */
  .flow { background: var(--c-base); }
  .steps { margin-top: clamp(24px, 3vw, 32px); display: grid; gap: clamp(14px, 2vw, 18px); max-width: 56em; margin-inline: auto; }
  .step {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.4vw, 28px);
    background: var(--c-white);
    border: 1px solid rgba(0, 81, 73, 0.15);
    border-radius: var(--radius-md);
    padding: clamp(20px, 2.4vw, 28px);
  }
  .step__num {
    flex: none;
    display: grid;
    place-items: center;
    width: clamp(52px, 5vw, 64px);
    height: clamp(52px, 5vw, 64px);
    border-radius: 50%;
    background: var(--c-main);
    color: #fff;
    font-weight: 800;
    font-size: clamp(1.1rem, 1vw + 0.9rem, 1.375rem);
  }
  .step__body {
    border-left: 2px solid var(--c-main);
    padding-left: clamp(16px, 2.4vw, 28px);
  }
  .step__body h3 { color: var(--c-main); font-size: 1.05rem; font-weight: bold; }
  .step__body p { margin-top: 6px; color: var(--c-muted); font-size: 0.9375rem; }

  /* ---- faq ---- */
  .faq-list { margin-top: clamp(24px, 3vw, 32px); display: grid; gap: 56px; max-width: 56em; margin-inline: auto; }
  .faq-item { border-radius: var(--radius-md); overflow: hidden; border: 1px solid rgba(0, 81, 73, 0.15); }
  .faq-item__q { background: var(--c-main); color: #fff; padding: 14px 20px; font-size: 1rem; font-weight: bold; }
  .faq-item__a { background: #EDF2F2; padding: 16px 20px; color: var(--c-muted); font-size: 0.9375rem; }

  /* ---- CTA banner ---- */
  .cta-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1114 / 535;
    display: flex;
    align-items: center;
  }
  .cta-banner__photo { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; }
  .cta-banner__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: clamp(14px, 2vw, 20px);
    padding: clamp(24px, 6%, 64px) clamp(20px, 4vw, 40px);
    text-align: center;
  }
  .cta-banner__text {
    color: #fff;
    font-weight: 800;
    font-size: clamp(1.1rem, 1vw + 0.9rem, 1.5rem);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    line-height: 1.2;
  }

  /* ---- contact form ---- */
  .contact-panel {
    max-width: 720px;
    margin-inline: auto;
    background: var(--c-white);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 56px);
  }
  .contact .heading--accent { font-size: 32px; }
  .family .heading--accent { font-size: 64px; }
  .form { margin-top: clamp(24px, 3vw, 32px); display: grid; gap: 18px; }
  .form-field { position: relative; }
  .form-field label { display: block; font-weight: 700; margin-bottom: 6px; }
  .form-field.floating label {
    position: absolute;
    left: 18px;
    top: 14px;
    font-size: 1rem;
    color: #9aa39f;
    font-weight: 400;
    pointer-events: none;
    transition: 0.15s ease;
  }
  .form-field.floating input,
  .form-field.floating textarea { color: transparent; }
  .form-field.floating input::placeholder,
  .form-field.floating textarea::placeholder { color: transparent; }
  .form-field.floating input:focus,
  .form-field.floating textarea:focus,
  .form-field.floating input:not(:placeholder-shown),
  .form-field.floating textarea:not(:placeholder-shown) { color: var(--c-text); }
  .form-field.floating input:focus + label,
  .form-field.floating textarea:focus + label,
  .form-field.floating input:not(:placeholder-shown) + label,
  .form-field.floating textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 12px;
    font-size: 0.75rem;
    background: var(--c-white);
    padding: 0 6px;
    color: var(--c-main);
    font-weight: 700;
  }
  .form-field input,
  .form-field select,
  .form-field textarea {
    width: 100%;
    border: 1px solid #d7e0dd;
    border-radius: 12px;
    padding: 14px 16px;
    background: var(--c-base);
  }
  .form-field select {
    color: var(--c-text);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23005149' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    padding-right: 36px;
  }
  .form-field textarea { min-height: 140px; resize: vertical; }
  .form-field input:focus,
  .form-field select:focus,
  .form-field textarea:focus {
    outline: none;
    border-color: var(--c-main);
    box-shadow: 0 0 0 3px rgba(0, 81, 73, 0.12);
  }
  .form-field.has-error input,
  .form-field.has-error select,
  .form-field.has-error textarea { border-color: #c0392b; }
  .form-error { margin-top: 6px; font-size: 0.8125rem; color: #c0392b; min-height: 1em; }
  .form-note { color: var(--c-muted); font-size: 0.875rem; }
  .hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

  /* ---- sticky cta ---- */
  .sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(0, 81, 73, 0.15);
    padding-block: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }
  .sticky-cta.is-visible { transform: translateY(0); }
  .sticky-cta__inner { display: flex; gap: 10px; }
  .sticky-cta__inner .btn { flex: 1; }

  /* ---- footer ---- */
  .footer { background: var(--c-main); color: #fff; padding-block: clamp(28px, 4vw, 40px); }
  .footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  .footer__brand { font-weight: 800; font-size: 1.05rem; }
  .footer__desc { margin-top: 8px; color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; max-width: 40em; }
  .footer__copyright { margin-top: 10px; color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; }
  .footer__top {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--c-sub);
    color: var(--c-btn-on-sub);
    font-weight: 800;
    font-size: 0.7rem;
  }
  .footer__top-icon {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    transform: rotate(-90deg);
  }
  .footer__top-icon::after {
    font-family: swiper-icons;
    content: "next";
  }
}

@layer utilities {
  @media (max-width: 760px) {
    .hero__collage {
      aspect-ratio: auto;
      display: block;
      position: relative;
    }
    .hero__heading { position: static; width: 100%; text-align: center; padding-inline: var(--gutter); font-size: 1rem; }
    .hero__visual {
      position: relative;
      inset: auto;
      aspect-ratio: 390 / 372;
      margin-top: -51px;
      z-index: 0;
    }
    .hero__mark { left: 5.9%; top: 39%; width: 90%; height: auto; }
    .hero__photo--main { left: 28.2%; top: 41.4%; width: 43.3%; height: 58.6%; z-index: 3; }
    .hero__photo--sub01 { left: 0; top: 23.7%; width: 23.1%; height: 30.9%; }
    .hero__photo--sub02 { display: none; }
    .hero__photo--sub03 { left: 76.7%; top: 0; width: 19.2%; height: 26.3%; z-index: 4; }
    .hero__lead {
      position: relative;
      left: auto;
      top: auto;
      width: 67.7%;
      margin-left: 28.2%;
      text-align: left;
      padding-inline: 0;
      margin-top: 15px;
      z-index: 1;
    }
    .hero__badges { justify-content: center; }
    .icon-grid { grid-template-columns: 1fr; }
    .material-grid { grid-template-columns: 1fr; }
    .material-card { border-radius: 64px 64px 40px 0; padding: 50px 20px 40px; max-width: 320px; margin-inline: auto; }
    .lead--center { text-align: center; }
    .evidence-row, .evidence-row--reverse { flex-direction: column; align-items: stretch; }
    .evidence-row__media { max-width: none; flex: 0 0 auto; width: 100%; height: auto; }
    .evidence-row__text { width: 100%; }
    .reason-card__lead { margin-bottom: 108px; }
    .reason-panel { margin-top: 0; padding: 18px; padding-top: 32px; }
    .reason-panel__title { white-space: normal; margin-bottom: 32px; font-size: 24px; }
    .contact .heading--accent { font-size: 24px; }
    .family .heading--accent { font-size: 32px; }
    .reason-list { gap: 16px; }
    .faq-list { gap: 40px; }
    /* full-bleed to viewport edges on mobile */
    .reason-card {
      margin-inline: calc(-1 * var(--gutter));
      width: calc(100% + 2 * var(--gutter));
      padding-inline: 15px;
      border-radius: 0;
    }
    .slider_bg {
      margin-inline: calc(-1 * var(--gutter));
      width: calc(100% + 2 * var(--gutter));
      padding-inline: var(--gutter);
      border-radius: 0;
    }
    .cta-banner {
      aspect-ratio: 390 / 279;
      margin-inline: calc(-1 * var(--gutter));
      width: calc(100% + 2 * var(--gutter));
      border-radius: 0;
    }
    .contact-panel {
      margin-inline: calc(-1 * var(--gutter));
      width: calc(100% + 2 * var(--gutter));
      padding-inline: 15px;
      border-radius: 0;
    }
    .u-break-sp { display: inline; }
    .u-break-pc { display: none; }
    .site-header__inner .btn--sub { display: none; }
  }

  @media (max-width: 768px) {
    .learn__inner { grid-template-columns: 1fr; }
    .learn__inner .heading, .learn__inner .lead { grid-column: 1; }
    .learn__inner .heading { font-size: 24px; }
    .learn__inner .lead { margin-top: clamp(14px, 1.6vw, 20px); }
    .footer__inner { flex-direction: column; align-items: flex-start; text-align: left; }
    .footer__inner > div:first-child { display: contents; }
    .footer__brand { order: 1; width: 100%; }
    .footer__desc { order: 2; width: 100%; }
    .footer__top { order: 3; align-self: center; margin-top: 12px; }
    .footer__copyright { order: 4; width: 100%; text-align: center; margin-top: 32px; }
    .reason-slide__label span { font-size: 1rem; }
    .reason-slide__label p, .evidence-slide__label p { font-size: 14px; }
    .reason-slide, .evidence-slide { aspect-ratio: 854 / 539; }
    .learn-slide__photo { aspect-ratio: 791 / 589; }
    .learn-slide figcaption p { font-size: 12px; line-height: 1.5; }
  }
}

/* ---- swiper overrides (deliberately unlayered: Swiper's CDN stylesheet is
   unlayered, and unlayered rules always beat @layer rules regardless of
   specificity, so these must live outside @layer to take effect) ----
   Design only shows a single "next" button, floating fully outside the
   slide card (not overlapping its edge) with a gap; no button at all on
   mobile (swipe + dots only), so .slider gives the button a positioned,
   non-clipping context separate from the swiper's own overflow:hidden. */
.slider { position: relative; max-width: 660px; margin-inline: auto; }
.slider .swiper-button-next {
  position: absolute;
  top: 50%;
  left: 100%;
  margin-left: 28px;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: var(--c-sub);
  border-radius: 50%;
  color: var(--c-btn-on-sub);
}
.slider .swiper-button-next::after { font-size: 18px; font-weight: 700; }
.swiper .swiper-pagination-bullet { background: #bebebe; opacity: 1; width: 8px; height: 8px; }
.swiper .swiper-pagination-bullet-active { background: #474c4c; opacity: 1; }
.learn .swiper .swiper-pagination-bullet { background: #b3b3b3; opacity: 1; }
.learn .swiper .swiper-pagination-bullet-active { background: #f9f9f9; opacity: 1; }
.swiper .swiper-pagination {
  position: static;
  margin-top: 20px;
  text-align: center;
}

@media (max-width: 768px) {
  .slider .swiper-button-next { display: none; }
}

@layer components {
  /* ---- form submission modal ---- */
  .modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--gutter);
  }
  .modal[hidden] { display: none; }
  .modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.25s ease;
  }
  .modal__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: var(--c-white);
    border-radius: var(--radius-lg);
    padding: clamp(32px, 4vw, 44px) clamp(24px, 3vw, 32px) clamp(28px, 3vw, 36px);
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(16px) scale(0.96);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .modal.is-visible .modal__overlay { opacity: 1; }
  .modal.is-visible .modal__panel { opacity: 1; transform: translateY(0) scale(1); }
  .modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    font-size: 22px;
    line-height: 1;
    color: var(--c-muted);
    border-radius: 50%;
  }
  .modal__close:hover { background: var(--c-base); }
  .modal__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--c-sub);
    color: var(--c-btn-on-sub);
    font-size: 26px;
    font-weight: 700;
  }
  .modal.is-error .modal__icon { background: #c0392b; }
  .modal__title {
    font-size: clamp(1.15rem, 1vw + 1rem, 1.3rem);
    font-weight: bold;
    color: var(--c-main);
    margin-bottom: 8px;
  }
  .modal.is-error .modal__title { color: #c0392b; }
  .modal__desc { color: var(--c-muted); font-size: 0.9375rem; line-height: 1.7; margin-bottom: 24px; }
  .modal__ok { display: inline-flex; min-width: 160px; }
}
