/* ==========================================================================
   Procevo — main.css

   デザインの考え方
   - 青を基調に、「ワークショップの予定表」を主役にした落ち着いた紙面。
   - 和文は Zen Kaku Gothic New、日付・価格などの数字は Instrument Serif。
   - 動きは「読み込み時のヒーロー」「スクロールで色が乗る一文」「ステップの線」
     の3か所に絞り、あとは操作への反応（タブ・開閉・スライド）に使う。
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
    --navy: #1e3a8a;
    --deep: #0f1e4a;
    --deeper: #0a1536;
    --blue: #1e6bbf;
    --blue-dark: #17559a;
    --sky: #4ab0d4;
    --sky-soft: #bfe3f2;
    --mist: #edf4fb;
    --paper: #f7fafd;
    --white: #ffffff;
    --text: #15213f;
    --muted: #51627f;
    --line: #dce5f0;
    --line-strong: #c3d2e3;
    --marker: #ffe45c;
    --live: #e8356d;

    --font-ja: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
    --font-num: "Instrument Serif", "Times New Roman", serif;

    --container: 1200px;
    --gutter: clamp(20px, 5vw, 56px);
    --header-h: 76px;

    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 12px;

    --shadow-lg: 0 40px 80px -40px rgba(15, 30, 74, .38), 0 14px 28px -18px rgba(15, 30, 74, .18);
    --shadow-md: 0 18px 40px -24px rgba(15, 30, 74, .35);

    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

@media (max-width: 767px) {
    :root {
        --header-h: 64px;
        --radius-lg: 22px;
    }
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
    margin: 0;
    font-family: var(--font-ja);
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: .03em;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    word-break: auto-phrase;
    overflow-x: clip;
}

body.is-locked {
    overflow: hidden;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote {
    margin: 0;
}

ul, ol {
    padding: 0;
    list-style: none;
}

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

img {
    height: auto;
}

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

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

address {
    font-style: normal;
}

/* display 指定のある要素でも hidden 属性を必ず優先する */
[hidden] {
    display: none !important;
}

h1, h2, h3 {
    font-feature-settings: "palt";
    letter-spacing: .02em;
    line-height: 1.45;
    word-break: auto-phrase;
}

:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
    border-radius: 6px;
}

.ws-section :focus-visible,
.join :focus-visible,
.site-footer :focus-visible,
.drawer :focus-visible,
.plan--premium :focus-visible,
.bento__item--premium :focus-visible,
.site-header.is-menu-open :focus-visible {
    outline-color: var(--sky);
}

::selection {
    background: var(--sky-soft);
    color: var(--deep);
}

.icon {
    display: inline-flex;
    width: 1em;
    height: 1em;
    flex: none;
}

.icon svg {
    width: 100%;
    height: 100%;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 200;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--deep);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    transform: translateY(-160%);
    transition: transform .2s;
}

.skip-link:focus {
    transform: none;
}

.u-sp {
    display: none;
}

@media (max-width: 767px) {
    .u-sp {
        display: inline;
    }

    .u-pc {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
    width: min(100% - var(--gutter) * 2, var(--container));
    margin-inline: auto;
}

.section {
    padding-block: clamp(96px, 12vw, 168px);
}

.section-title {
    font-size: clamp(1.85rem, 3.3vw, 2.85rem);
    font-weight: 700;
    line-height: 1.42;
    color: var(--navy);
}

.section-lead {
    margin-top: 20px;
    max-width: 34em;
    font-size: clamp(15px, 1.1vw, 16.5px);
    line-height: 2;
    color: var(--muted);
}

.section-head {
    margin-bottom: clamp(48px, 6vw, 80px);
}

.section-head--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px 64px;
    align-items: end;
    margin-bottom: clamp(48px, 6vw, 80px);
}

.section-head--split .section-lead {
    margin-top: 0;
    justify-self: end;
}

@media (max-width: 900px) {
    .section-head--split {
        grid-template-columns: 1fr;
    }

    .section-head--split .section-lead {
        justify-self: start;
    }
}

/* --------------------------------------------------------------------------
   Buttons / links
   -------------------------------------------------------------------------- */
.btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    overflow: hidden;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.2;
    white-space: nowrap;
    transition: color .35s var(--ease-out), box-shadow .35s var(--ease-out), transform .35s var(--ease-out);
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    transform: translateX(-101%);
    transition: transform .55s var(--ease-out);
}

.btn:hover::before {
    transform: none;
}

.btn:active {
    transform: scale(.98);
}

.btn__icon {
    display: grid;
    place-items: center;
    flex: none;
    border-radius: 50%;
    transition: background .35s, transform .45s var(--ease-out);
}

.btn__icon .icon {
    width: 16px;
    height: 16px;
    transition: transform .45s var(--ease-out);
}

.btn:hover .btn__icon .icon {
    transform: translate(2px, -2px);
}

.btn--sm {
    height: 44px;
    padding: 0 6px 0 20px;
    font-size: 14px;
}

.btn--sm .btn__icon {
    width: 32px;
    height: 32px;
}

.btn--md {
    height: 56px;
    padding: 0 8px 0 28px;
    font-size: 15.5px;
}

.btn--md .btn__icon {
    width: 40px;
    height: 40px;
}

.btn--lg {
    height: 68px;
    padding: 0 10px 0 34px;
    font-size: 17px;
    gap: 22px;
}

.btn--lg .btn__icon {
    width: 48px;
    height: 48px;
}

.btn--primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 14px 30px -14px rgba(30, 107, 191, .75);
}

.btn--primary::before {
    background: var(--navy);
}

.btn--primary .btn__icon {
    background: rgba(255, 255, 255, .16);
}

.btn--primary:hover {
    box-shadow: 0 18px 36px -14px rgba(30, 58, 138, .7);
}

.btn--light {
    background: #fff;
    color: var(--navy);
    box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .45);
}

.btn--light::before {
    background: var(--sky-soft);
}

.btn--light .btn__icon {
    background: var(--mist);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-block: 6px;
    font-weight: 700;
    font-size: 15px;
    color: var(--navy);
    background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
    transition: background-size .45s var(--ease-out), color .3s;
}

.text-link:hover {
    background-size: 0 1px;
    background-position: right bottom;
}

.text-link .icon {
    width: 18px;
    height: 18px;
}

.text-link--light {
    color: #fff;
}

.cta-note {
    font-size: 13px;
    color: var(--muted);
    letter-spacing: .04em;
}

.cta-note--light {
    color: rgba(255, 255, 255, .72);
}

.marker {
    padding-inline: .06em;
    background: linear-gradient(transparent 60%, var(--marker) 60%, var(--marker) 92%, transparent 92%) left / 100% 100% no-repeat;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-h);
    transition: transform .5s var(--ease-out), background-color .3s, box-shadow .3s;
}

.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(1.6) blur(16px);
    backdrop-filter: saturate(1.6) blur(16px);
    box-shadow: 0 1px 0 var(--line);
}

.site-header.is-hidden {
    transform: translateY(calc(-100% - 40px));
}

/* キーボードでヘッダー内にフォーカスが入ったら、隠れていても出す */
.site-header:focus-within {
    transform: none;
}

/* ログイン中のスマホ幅では管理バーがスクロールで消えるので、その分を詰める */
@media (max-width: 600px) {
    .admin-bar .site-header.is-scrolled {
        top: 0;
    }
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(100% - var(--gutter) * 2, 1320px);
    height: 100%;
    margin-inline: auto;
}

.site-header__logo {
    flex: none;
}

.site-header__logo img {
    width: auto;
    height: 30px;
    transition: filter .3s;
}

.site-nav__list {
    display: flex;
    gap: clamp(18px, 2.2vw, 34px);
}

.site-nav__link {
    position: relative;
    display: block;
    padding-block: 8px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .05em;
    color: var(--text);
    transition: color .3s;
}

.site-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .45s var(--ease-out);
}

.site-nav__link:hover,
.site-nav__link.is-current {
    color: var(--navy);
}

.site-nav__link:hover::after,
.site-nav__link.is-current::after {
    transform: scaleX(1);
    transform-origin: left;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 18px 0 16px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    transition: background .3s, color .3s, border-color .3s;
}

html:not(.js) .menu-toggle {
    display: none !important;
}

.menu-toggle__bars {
    position: relative;
    width: 18px;
    height: 10px;
}

.menu-toggle__bars span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}

.menu-toggle__bars span:first-child {
    top: 0;
}

.menu-toggle__bars span:last-child {
    top: 8px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child {
    top: 4px;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child {
    top: 4px;
    transform: rotate(-45deg);
}

.scroll-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    pointer-events: none;
}

.scroll-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--sky), var(--blue));
    transform: scaleX(0);
    transform-origin: left;
}

.site-header.is-menu-open {
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.site-header.is-menu-open .site-header__logo img {
    filter: brightness(0) invert(1);
}

.site-header.is-menu-open .menu-toggle {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .35);
}

.site-header.is-menu-open .site-header__cta,
.site-header.is-menu-open .scroll-progress {
    visibility: hidden;
}

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

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

@media (max-width: 767px) {
    .site-header__cta {
        display: none;
    }

    .site-header__logo img {
        height: 26px;
    }
}

/* Drawer (mobile menu) */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    padding: calc(var(--header-h) + 40px) var(--gutter) max(32px, env(safe-area-inset-bottom));
    background: var(--deep);
    color: #fff;
    overflow-y: auto;
    opacity: 0;
    transition: opacity .4s var(--ease-out);
}

.drawer.is-open {
    opacity: 1;
}

.drawer__inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    max-width: 560px;
    min-height: 100%;
    margin-inline: auto;
}

.drawer__list li {
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}

.drawer.is-open .drawer__list li {
    opacity: 1;
    transform: none;
}

.drawer.is-open .drawer__list li:nth-child(2) { transition-delay: .04s; }
.drawer.is-open .drawer__list li:nth-child(3) { transition-delay: .08s; }
.drawer.is-open .drawer__list li:nth-child(4) { transition-delay: .12s; }
.drawer.is-open .drawer__list li:nth-child(5) { transition-delay: .16s; }
.drawer.is-open .drawer__list li:nth-child(6) { transition-delay: .2s; }
.drawer.is-open .drawer__list li:nth-child(7) { transition-delay: .24s; }

.drawer__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 2px;
    font-size: clamp(20px, 5.4vw, 24px);
    font-weight: 700;
    letter-spacing: .04em;
}

.drawer__list a .icon {
    width: 18px;
    height: 18px;
    opacity: .6;
}

.drawer__foot .btn {
    width: 100%;
}

.drawer__note {
    margin-top: 12px;
    font-size: 13px;
    text-align: center;
    color: rgba(255, 255, 255, .7);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px));
    padding-bottom: clamp(48px, 6vw, 72px);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 560px at 88% 18%, rgba(74, 176, 212, .18), transparent 62%),
        linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}

.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    background-position: center top;
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 78% 38%, #000 10%, transparent 72%);
    mask-image: radial-gradient(ellipse 60% 70% at 78% 38%, #000 10%, transparent 72%);
    opacity: .7;
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
    gap: clamp(40px, 5vw, 88px);
    align-items: center;
}

.hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 5px 18px 5px 5px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 10px 24px -18px rgba(15, 30, 74, .5);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--navy);
}

.hero__kicker img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.hero__title {
    margin: clamp(24px, 3vw, 36px) 0 clamp(24px, 3vw, 36px);
    font-size: clamp(3rem, 7.2vw, 6.2rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -.005em;
    color: var(--navy);
}

.hero__line {
    display: block;
    overflow: hidden;
    padding-bottom: .08em;
    margin-bottom: -.08em;
}

.hero__line > span {
    display: inline-block;
    white-space: nowrap;
}

.hero__line--2 {
    padding-left: 1.15em;
}

.hero__lead,
.section-lead,
.about__lead {
    word-break: auto-phrase;
}

.hero__lead {
    max-width: 33em;
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 2.05;
    color: var(--muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 32px;
    margin-top: clamp(28px, 3vw, 40px);
}

.hero__note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--muted);
    letter-spacing: .04em;
}

/* Schedule board */
.board-wrap {
    position: relative;
    isolation: isolate;
}

/* 後ろに重ねた1枚（予定表を重ねたような奥行き） */
.board-wrap::before {
    content: "";
    position: absolute;
    inset: 16px -12px -14px 14px;
    z-index: -1;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--mist);
    transform: rotate(2.4deg);
}

.board {
    position: relative;
    padding: 18px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-lg);
}

.board__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 6px 14px;
}

.board__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: .06em;
}

.status-pill,
.board__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--mist);
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
}

.board__status::before,
.ws-card__status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sky);
}

[data-state="soon"]::before,
[data-state="today"]::before,
[data-state="live"]::before {
    background: var(--live) !important;
    animation: pulse 1.8s ease-out infinite;
}

[data-state="past"]::before {
    background: #9aa8bf !important;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(232, 53, 109, .55); }
    70% { box-shadow: 0 0 0 7px rgba(232, 53, 109, 0); }
    100% { box-shadow: 0 0 0 0 rgba(232, 53, 109, 0); }
}

.board__feature {
    display: block;
    padding: 0 0 6px;
    border-radius: 18px;
}

.board__thumb {
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: var(--mist);
}

.board__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}

.board__feature:hover .board__thumb img {
    transform: scale(1.04);
}

.board__when {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 16px 6px 2px;
}

.board__date {
    font-family: var(--font-num);
    font-size: 46px;
    line-height: 1;
    letter-spacing: 0;
    color: var(--navy);
}

.board__meta {
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
}

.board__name {
    display: -webkit-box;
    margin: 6px 6px 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--text);
    transition: color .3s;
}

.board__feature:hover .board__name {
    color: var(--blue);
}

.board__list {
    margin-top: 14px;
    border-top: 1px dashed var(--line-strong);
}

.board__list a {
    display: grid;
    grid-template-columns: 4.2em minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px 6px;
    border-bottom: 1px dashed var(--line-strong);
    border-radius: 6px;
    transition: background .3s;
}

.board__list a:hover {
    background: var(--paper);
}

.board__date--sm {
    font-size: 25px;
    white-space: nowrap;
}

.board__item-title {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.board__more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 14px 0 2px;
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
}

.board__more .icon {
    width: 16px;
    height: 16px;
}

.hero__facts {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: clamp(56px, 7vw, 96px);
    border-top: 1px solid var(--line-strong);
}

.hero__facts > div {
    padding: 22px 24px 0 0;
}

.hero__facts > div + div {
    padding-left: 24px;
    border-left: 1px solid var(--line);
}

.hero__facts dt {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--blue);
}

.hero__facts dd {
    margin-top: 4px;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text);
}

@media (max-width: 1000px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }

    .board-wrap {
        width: min(100%, 560px);
    }
}

@media (max-width: 767px) {
    .hero {
        padding-top: calc(var(--header-h) + 28px);
    }

    .hero__kicker {
        font-size: 12.5px;
        padding-right: 16px;
    }

    .hero__title {
        font-size: clamp(2.6rem, 12.4vw, 3.6rem);
    }

    .hero__line--2 {
        padding-left: .6em;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__actions .text-link {
        align-self: center;
    }

    .hero__note {
        text-align: center;
    }

    .board {
        padding: 14px;
    }

    .board-wrap::before {
        inset: 12px -6px -10px 8px;
    }

    .board__date {
        font-size: 40px;
    }

    .hero__facts {
        grid-template-columns: 1fr;
        margin-top: 56px;
    }

    .hero__facts > div,
    .hero__facts > div + div {
        display: grid;
        grid-template-columns: 7.5em 1fr;
        gap: 12px;
        align-items: baseline;
        padding: 16px 0;
        border-left: 0;
        border-bottom: 1px solid var(--line);
    }

    .hero__facts dd {
        margin-top: 0;
        font-size: 14.5px;
    }
}

/* --------------------------------------------------------------------------
   About（共感 → 答え）
   -------------------------------------------------------------------------- */
.about {
    background: #fff;
}

.about__head {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    gap: 32px 64px;
    align-items: end;
}

.about__title {
    font-size: clamp(1.6rem, 8.2vw, 3.7rem);
    font-weight: 900;
    line-height: 1.38;
    color: var(--navy);
}

.about__lead {
    font-size: clamp(15px, 1.1vw, 16.5px);
    line-height: 2.05;
    color: var(--muted);
}

.worries {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 44px);
    margin-top: clamp(56px, 7vw, 96px);
}

.worries__item {
    padding-top: 22px;
    border-top: 2px solid var(--navy);
}

.worries__title {
    margin-left: -.5em;
    font-size: clamp(18px, 1.55vw, 21px);
    font-weight: 700;
    line-height: 1.6;
    color: var(--navy);
    font-feature-settings: "palt";
}

.worries__text {
    margin-top: 10px;
    font-size: 15px;
    color: var(--muted);
}

.answer {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    gap: 48px clamp(40px, 5vw, 80px);
    align-items: center;
    margin-top: clamp(96px, 11vw, 160px);
}

.answer__statement {
    max-width: 21em;
    font-size: clamp(1.7rem, 3.3vw, 3rem);
    font-weight: 900;
    line-height: 1.52;
    letter-spacing: .01em;
    color: var(--navy);
    font-feature-settings: "palt";
    word-break: auto-phrase;
}

.answer__statement > span,
.scrub-phrase {
    display: inline-block;
}

.scrub-char {
    color: var(--line-strong);
    transition: color .35s ease;
}

.scrub-char.is-lit {
    color: var(--navy);
}

/* 実践・継続・交流の3つの輪 */
.venn {
    position: relative;
    width: min(100%, 460px);
    margin-inline: auto;
    aspect-ratio: 600 / 560;
}

.venn__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.venn__c {
    stroke-width: 1.5;
    stroke-dasharray: 1 1;
    stroke-dashoffset: 1;
    fill-opacity: 0;
    mix-blend-mode: multiply;
    transform-box: fill-box;
    transform-origin: center;
    transform: rotate(-90deg);
    transition: stroke-dashoffset 1.6s var(--ease-in-out), fill-opacity 1s ease;
}

.venn__c--1 {
    stroke: var(--blue);
    fill: #cfe3f6;
}

.venn__c--2 {
    stroke: var(--sky);
    fill: #cdebf5;
    transition-delay: .25s, .25s;
}

.venn__c--3 {
    stroke: var(--navy);
    fill: #d9e0f2;
    transition-delay: .5s, .5s;
}

.venn.is-in .venn__c,
html:not(.js) .venn__c {
    stroke-dashoffset: 0;
    fill-opacity: 1;
}

.venn__label {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translate(-50%, -50%);
    font-size: clamp(11px, 1vw, 12.5px);
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    color: var(--muted);
    white-space: nowrap;
}

.venn__label b {
    margin-bottom: 4px;
    font-size: clamp(17px, 1.7vw, 22px);
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--navy);
}

.venn__label--1 { left: 21%; top: 33%; }
.venn__label--2 { left: 79%; top: 33%; }
.venn__label--3 { left: 50%; top: 82%; }

.venn__core {
    position: absolute;
    left: 50%;
    top: 47%;
    display: grid;
    place-items: center;
    width: 30%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 16px 36px -18px rgba(15, 30, 74, .45);
    transform: translate(-50%, -50%) scale(.6);
    opacity: 0;
    transition: transform .9s var(--ease-out) 1.2s, opacity .6s ease 1.2s;
}

.venn__core img {
    width: 72%;
    height: auto;
}

.venn.is-in .venn__core,
html:not(.js) .venn__core {
    transform: translate(-50%, -50%);
    opacity: 1;
}

.answer__sub {
    margin-top: 28px;
    font-size: clamp(15px, 1.2vw, 17px);
    font-weight: 500;
    color: var(--muted);
}

@media (max-width: 900px) {
    .about__head {
        grid-template-columns: minmax(0, 1fr);
    }

    .worries {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

    .venn {
        width: min(100%, 400px);
    }
}

/* --------------------------------------------------------------------------
   Reason
   -------------------------------------------------------------------------- */
.reason {
    background: var(--paper);
}

.reason__grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 48px clamp(48px, 7vw, 112px);
    align-items: start;
}

.reason__head {
    position: sticky;
    top: calc(var(--header-h) + 48px);
}

.reason__item {
    padding: clamp(28px, 3.4vw, 44px) 0;
    border-top: 1px solid var(--line-strong);
}

.reason__item:last-child {
    border-bottom: 1px solid var(--line-strong);
}

.reason__title {
    font-size: clamp(21px, 2.1vw, 28px);
    font-weight: 700;
    color: var(--navy);
}

.reason__text {
    margin-top: 12px;
    max-width: 38em;
    color: var(--muted);
    font-size: 15.5px;
}

.reason__fact {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
    color: var(--blue-dark);
}

.reason__fact .icon {
    width: 16px;
    height: 16px;
    margin-top: .3em;
    color: var(--blue);
}

.fan {
    margin-top: clamp(40px, 5vw, 64px);
}

.fan__stack {
    position: relative;
    width: min(100%, 400px);
    aspect-ratio: 16 / 11;
}

.fan__stack img {
    position: absolute;
    left: 6%;
    top: 12%;
    width: 80%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 14px;
    border: 4px solid #fff;
    box-shadow: 0 24px 40px -24px rgba(15, 30, 74, .45);
    transition: transform .8s var(--ease-out);
}

.fan__stack img:nth-child(1) {
    transform: rotate(-8deg) translate(-4%, 4%);
}

.fan__stack img:nth-child(2) {
    transform: rotate(4deg) translate(8%, -6%);
}

.fan__stack img:nth-child(3) {
    transform: rotate(-1deg) translate(14%, 14%);
}

.fan:hover .fan__stack img:nth-child(1) {
    transform: rotate(-12deg) translate(-12%, 2%);
}

.fan:hover .fan__stack img:nth-child(2) {
    transform: rotate(7deg) translate(16%, -12%);
}

.fan:hover .fan__stack img:nth-child(3) {
    transform: rotate(2deg) translate(18%, 20%);
}

.fan figcaption {
    margin-top: 12px;
    font-size: 12.5px;
    color: var(--muted);
}

@media (max-width: 1000px) {
    .fan {
        display: none;
    }

    .reason__grid {
        grid-template-columns: 1fr;
    }

    .reason__head {
        position: static;
    }
}

/* --------------------------------------------------------------------------
   Learn（写真の4枠）
   -------------------------------------------------------------------------- */
.learn {
    background: #fff;
}

.bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.bento__item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--paper);
}

.bento__item--archive {
    grid-column: 1 / 8;
    grid-row: 1 / 3;
}

.bento__item--info {
    grid-column: 8 / 13;
    grid-row: 1;
}

.bento__item--community {
    grid-column: 8 / 13;
    grid-row: 2;
}

.bento__item--premium {
    grid-column: 1 / 13;
    grid-row: 3;
    flex-direction: row;
    border-color: var(--deep);
    background: var(--deep);
    color: #fff;
}

.bento__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--mist);
}

.bento__item--archive .bento__media {
    flex: 1;
    aspect-ratio: auto;
    min-height: 300px;
}

.bento__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease-out);
}

.bento__item:hover .bento__media img {
    transform: scale(1.04);
}

.bento__body {
    padding: clamp(22px, 2.4vw, 34px);
}

.bento__item--premium {
    align-items: center;
    gap: clamp(24px, 4vw, 64px);
    padding: clamp(28px, 4vw, 56px);
}

.bento__item--premium .bento__body {
    flex: 1 1 0;
    padding: 0;
}

.bento__item--premium .text-link {
    margin-top: 18px;
}

.bento__perks {
    display: grid;
    flex: 1.2 1 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bento__perks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 20px 22px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .04);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
    color: #fff;
}

.bento__perks .icon {
    width: 18px;
    height: 18px;
    margin-top: .2em;
    color: var(--sky);
}

.bento__tag {
    margin-bottom: 8px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--blue);
}

.bento__item--premium .bento__tag {
    color: var(--sky);
}

.bento__title {
    font-size: clamp(19px, 1.7vw, 24px);
    font-weight: 700;
    color: var(--navy);
}

.bento__item--premium .bento__title {
    color: #fff;
}

.bento__text {
    margin-top: 10px;
    font-size: 15px;
    color: var(--muted);
}

.bento__item--premium .bento__text {
    max-width: 26em;
    color: rgba(255, 255, 255, .76);
}

.topics {
    display: grid;
    grid-template-columns: 15em minmax(0, 1fr);
    gap: 16px 32px;
    margin-top: clamp(48px, 6vw, 72px);
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.topics__label {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
}

.topics__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.topics__list a,
.topics__list span {
    display: block;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text);
}

.topics__list a {
    transition: border-color .3s, color .3s, background .3s;
}

.topics__list a:hover {
    border-color: var(--blue);
    background: var(--mist);
    color: var(--navy);
}

.topics__note {
    grid-column: 2;
    font-size: 13px;
    color: var(--muted);
}

@media (max-width: 900px) {
    .bento__item--archive,
    .bento__item--info,
    .bento__item--community,
    .bento__item--premium {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .bento__item--info {
        grid-column: 1 / 7;
    }

    .bento__item--community {
        grid-column: 7 / 13;
    }

    .bento__item--archive .bento__media {
        flex: none;
        aspect-ratio: 16 / 10;
        min-height: 0;
    }

    .bento__item--premium {
        flex-direction: column;
        align-items: stretch;
    }

    .topics {
        grid-template-columns: 1fr;
    }

    .topics__note {
        grid-column: 1;
    }
}

@media (max-width: 767px) {
    .bento__item--info,
    .bento__item--community {
        grid-column: 1 / -1;
    }

    .bento__item--premium {
        flex-direction: column;
        align-items: stretch;
        padding: 26px 22px;
    }

    .bento__perks {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .bento__perks li {
        padding: 14px 16px;
    }
}

/* --------------------------------------------------------------------------
   Howto（タブ）
   -------------------------------------------------------------------------- */
.howto {
    background: var(--mist);
}

.howto__body {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
}

.howto__tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.howto__tab {
    position: relative;
    display: block;
    width: 100%;
    padding: 22px 26px 24px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    text-align: left;
    transition: background .4s, border-color .4s, box-shadow .4s;
}

.howto__tab:hover {
    background: rgba(255, 255, 255, .55);
}

.howto__tab.is-active {
    background: #fff;
    border-color: var(--line);
    box-shadow: var(--shadow-md);
}

.howto__tab-title {
    display: block;
    font-size: clamp(17px, 1.5vw, 20px);
    font-weight: 700;
    color: var(--muted);
    transition: color .3s;
}

.howto__tab.is-active .howto__tab-title {
    color: var(--navy);
}

.howto__tab-text {
    display: grid;
    grid-template-rows: 0fr;
    font-size: 15px;
    color: var(--muted);
    opacity: 0;
    transition: grid-template-rows .5s var(--ease-out), opacity .4s, margin .5s var(--ease-out);
}

.howto__tab-text > span {
    min-height: 0;
    overflow: hidden;
}

.howto__tab.is-active .howto__tab-text {
    grid-template-rows: 1fr;
    margin-top: 8px;
    opacity: 1;
}

.howto__tab-bar {
    position: absolute;
    left: 26px;
    right: 26px;
    bottom: 0;
    height: 2px;
    overflow: hidden;
    border-radius: 2px;
    opacity: 0;
}

.howto__tab-bar span {
    display: block;
    height: 100%;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
}

.howto__tab.is-active.is-playing .howto__tab-bar {
    opacity: 1;
}

.howto__tab.is-active.is-playing .howto__tab-bar span {
    animation: tabbar var(--dur, 7s) linear forwards;
}

@keyframes tabbar {
    to { transform: scaleX(1); }
}

.howto__stage {
    position: relative;
    display: grid;
}

.howto__stage::before {
    content: "";
    position: absolute;
    left: 6%;
    right: 6%;
    top: -4%;
    bottom: 10%;
    border-radius: 50%;
    background: radial-gradient(closest-side, #fff 0%, rgba(255, 255, 255, .7) 55%, transparent 100%);
}

.howto__panel {
    position: relative;
    grid-area: 1 / 1;
    transition: opacity .6s var(--ease-out), transform .9s var(--ease-out);
}

.howto__panel.is-leaving,
.howto__panel:not(.is-active) {
    opacity: 0;
    transform: translateY(12px) scale(.985);
    pointer-events: none;
}

.howto__panel img {
    width: 100%;
    filter: drop-shadow(0 30px 40px rgba(15, 30, 74, .18));
}

.howto__panel-text {
    display: none;
}

@media (max-width: 900px) {
    .howto__body {
        grid-template-columns: 1fr;
    }

    .howto__tabs {
        flex-direction: row;
        gap: 8px;
        overflow-x: auto;
        margin-inline: calc(var(--gutter) * -1);
        padding: 4px var(--gutter);
        scrollbar-width: none;
    }

    .howto__tabs::-webkit-scrollbar {
        display: none;
    }

    .howto__tab {
        flex: none;
        width: auto;
        padding: 10px 18px 12px;
        border-radius: 999px;
        border-color: var(--line-strong);
        background: rgba(255, 255, 255, .5);
    }

    .howto__tab.is-active {
        background: var(--navy);
        border-color: var(--navy);
        box-shadow: none;
    }

    .howto__tab-title {
        font-size: 14.5px;
        white-space: nowrap;
    }

    .howto__tab.is-active .howto__tab-title {
        color: #fff;
    }

    .howto__tab-text,
    .howto__tab.is-active .howto__tab-text {
        display: none;
    }

    .howto__tab-bar {
        left: 18px;
        right: 18px;
        bottom: 5px;
    }

    .howto__tab-bar span {
        background: var(--sky);
    }

    .howto__panel-text {
        display: block;
        margin-top: 8px;
        font-size: 15px;
        color: var(--muted);
    }
}

/* --------------------------------------------------------------------------
   Workshop（横スクロール）
   -------------------------------------------------------------------------- */
.ws-section {
    overflow: hidden;
    background: var(--deep);
    color: #fff;
}

.ws-section .section-title {
    color: #fff;
}

.ws-section .section-lead {
    color: rgba(255, 255, 255, .72);
}

.workshop__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: clamp(40px, 5vw, 56px);
}

.carousel-nav {
    display: flex;
    gap: 10px;
    flex: none;
}

.carousel-nav__btn {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    transition: background .3s, color .3s, border-color .3s, opacity .3s;
}

.carousel-nav__btn .icon {
    width: 22px;
    height: 22px;
}

.carousel-nav__btn:hover:not(:disabled) {
    background: #fff;
    border-color: #fff;
    color: var(--deep);
}

.carousel-nav__btn:disabled {
    opacity: .3;
    cursor: default;
}

.carousel__track {
    display: flex;
    gap: clamp(16px, 2vw, 24px);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding: 8px max(var(--gutter), calc((100% - var(--container)) / 2)) 28px;
    scroll-padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
    scrollbar-width: none;
    cursor: grab;
}

.carousel__track::-webkit-scrollbar {
    display: none;
}

.carousel__track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.carousel__track.is-dragging a {
    pointer-events: none;
}

.carousel__track:focus-visible {
    outline-offset: -3px;
}

.ws-card {
    flex: 0 0 clamp(280px, 29vw, 372px);
    scroll-snap-align: start;
}

.ws-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    color: var(--text);
    transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}

.ws-card__link:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .6);
}

.ws-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--mist);
}

.ws-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
    -webkit-user-drag: none;
    user-select: none;
}

.ws-card__link:hover .ws-card__media img {
    transform: scale(1.04);
}

/* アイキャッチ未設定の回の代替表示（タイトル入り） */
.ws-thumb-fallback {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    padding: 8% 10%;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(74, 176, 212, .45), transparent 60%),
        var(--navy);
    color: #fff;
}

.ws-thumb-fallback__label {
    font-family: var(--font-num);
    font-size: 15px;
    letter-spacing: .24em;
    color: var(--sky-soft);
}

.ws-thumb-fallback__title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: clamp(15px, 1.5vw, 19px);
    font-weight: 700;
    line-height: 1.5;
}

.board__thumb .ws-thumb-fallback__title {
    font-size: clamp(17px, 1.8vw, 22px);
}

.ws-card__status {
    position: absolute;
    left: 12px;
    top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4);
}

.ws-card.is-past .ws-card__status,
.ws-card__status[data-state="past"] {
    background: rgba(15, 30, 74, .82);
    color: #fff;
}

.ws-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 20px 24px 24px;
}

.ws-card__when {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.ws-card__date {
    font-family: var(--font-num);
    font-size: 36px;
    line-height: 1;
    color: var(--navy);
}

.ws-card__meta {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
}

.ws-card__title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-top: 4px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--navy);
}

.ws-card__text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 14px;
    line-height: 1.85;
    color: var(--muted);
}

.ws-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 8px;
}

.ws-card__tags span {
    padding: 2px 10px;
    border-radius: 999px;
    background: var(--mist);
    font-size: 12px;
    font-weight: 500;
    color: var(--blue-dark);
}

.ws-card.is-past .ws-card__media img {
    filter: saturate(.75);
}

.carousel__foot {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 12px;
}

.carousel__progress {
    flex: 1;
    height: 2px;
    overflow: hidden;
    border-radius: 2px;
    background: rgba(255, 255, 255, .16);
}

.carousel__progress span {
    display: block;
    height: 100%;
    background: var(--sky);
    transform-origin: left;
    transform: scaleX(.2);
    transition: transform .2s linear;
}

.workshop__empty {
    padding: 48px 24px;
    border-radius: 22px;
    border: 1px dashed rgba(255, 255, 255, .3);
    text-align: center;
    color: rgba(255, 255, 255, .8);
}

.workshop__note {
    margin-top: 28px;
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
}

@media (max-width: 767px) {
    .workshop__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .carousel-nav {
        display: none;
    }

    .ws-card {
        flex-basis: min(82vw, 340px);
    }
}

/* --------------------------------------------------------------------------
   Supervisor
   -------------------------------------------------------------------------- */
.supervisor {
    background: #fff;
}

.supervisor__grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 48px clamp(40px, 6vw, 96px);
    align-items: center;
}

.supervisor__photo {
    position: relative;
    isolation: isolate;
}

.supervisor__photo::before {
    content: "";
    position: absolute;
    inset: 4% 6% 12% 4%;
    z-index: -1;
    border-radius: 50%;
    background: var(--mist);
}

.supervisor__photo img {
    width: 100%;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 97%);
    mask-image: linear-gradient(180deg, #000 72%, transparent 97%);
}

.supervisor__photo figcaption {
    position: absolute;
    left: 0;
    bottom: 10%;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--navy);
}

.sns-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 36px;
}

.sns-stats__item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: center;
    padding: 16px 20px;
    border-radius: 18px;
    border: 1px solid var(--line);
    transition: border-color .3s, transform .4s var(--ease-out), background .3s;
}

.sns-stats__item:hover {
    border-color: var(--blue);
    background: var(--paper);
    transform: translateY(-2px);
}

.sns-stats__icon {
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--mist);
    color: var(--navy);
}

.sns-stats__icon .icon {
    width: 20px;
    height: 20px;
}

.sns-stats__label {
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--muted);
}

.sns-stats__num {
    display: flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1.1;
}

.sns-stats__digits {
    font-family: var(--font-num);
    font-size: 36px;
    color: var(--navy);
}

.sns-stats__unit {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
}

.supervisor__note {
    margin-top: 14px;
    font-size: 12.5px;
    color: var(--muted);
}

@media (max-width: 900px) {
    .supervisor__grid {
        grid-template-columns: 1fr;
    }

    .supervisor__photo {
        width: min(100%, 440px);
    }
}

@media (max-width: 420px) {
    .sns-stats__item {
        grid-template-columns: 1fr;
        padding: 14px 16px;
    }

    .sns-stats__icon {
        grid-row: auto;
        width: 36px;
        height: 36px;
        margin-bottom: 8px;
    }
}

/* --------------------------------------------------------------------------
   Voice（コミュニティの部屋のようなメッセージ一覧）
   -------------------------------------------------------------------------- */
.voice {
    background: var(--paper);
}

.voice__grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 48px clamp(40px, 6vw, 96px);
    align-items: start;
}

.voice__side {
    position: sticky;
    top: calc(var(--header-h) + 48px);
}

.voice__note {
    margin-top: 20px;
    font-size: 12.5px;
    color: var(--muted);
}

.chat {
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-lg);
}

.chat__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 250, 253, .8);
}

.chat__avatars {
    display: flex;
}

.chat__avatars img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
    background: var(--mist);
}

.chat__avatars img + img {
    margin-left: -10px;
}

.chat__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
}

.chat__count {
    margin-left: auto;
    padding: 2px 12px;
    border-radius: 999px;
    background: var(--mist);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--navy);
}

.chat__list {
    display: grid;
    gap: 22px;
    padding: 28px 24px 32px;
}

.chat-msg {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.chat-msg__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--mist);
}

.chat-msg__name {
    margin-bottom: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--muted);
}

.chat-msg__bubble {
    position: relative;
    max-width: 34em;
    padding: 16px 20px 18px;
    border-radius: 4px 20px 20px 20px;
    background: var(--mist);
}

.chat-msg:nth-child(even) .chat-msg__bubble {
    background: #eef6f9;
}

.chat-msg__head {
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--navy);
    font-feature-settings: "palt";
}

.chat-msg__text {
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.9;
    color: var(--text);
}

@media (max-width: 1000px) {
    .voice__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .voice__side {
        position: static;
    }
}

@media (max-width: 767px) {
    .chat {
        margin-inline: calc(var(--gutter) * -.5);
    }

    .chat__head {
        padding: 14px 18px;
    }

    .chat__list {
        gap: 18px;
        padding: 22px 16px 26px;
    }

    .chat-msg {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 10px;
    }

    .chat-msg__avatar {
        width: 36px;
        height: 36px;
    }

    .chat-msg__bubble {
        padding: 14px 16px 16px;
    }

    .chat-msg__head {
        font-size: 15.5px;
    }

    .chat-msg__text {
        font-size: 14.5px;
    }
}

/* --------------------------------------------------------------------------
   Flow
   -------------------------------------------------------------------------- */
.flow {
    background: #fff;
}

.flow__list {
    --gap: clamp(20px, 3vw, 40px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--gap);
}

.flow__step {
    position: relative;
}

.flow__step:not(:last-child)::before,
.flow__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 27px;
    left: 68px;
    right: calc(var(--gap) * -1 + 12px);
    height: 2px;
    border-radius: 2px;
    background: var(--line);
}

.flow__step:not(:last-child)::after {
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .8s var(--ease-in-out);
    transition-delay: calc(var(--i) * .45s + .25s);
}

.flow__num {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1.5px solid var(--line-strong);
    background: #fff;
    font-family: var(--font-num);
    font-size: 28px;
    line-height: 1;
    color: var(--navy);
    transition: background .5s, color .5s, border-color .5s;
    transition-delay: calc(var(--i) * .45s);
}

.flow__icon {
    display: block;
    margin-top: 28px;
    color: var(--blue);
}

.flow__icon .icon {
    width: 34px;
    height: 34px;
}

.flow__title {
    margin-top: 12px;
    font-size: 19px;
    font-weight: 700;
    color: var(--navy);
}

.flow__text {
    margin-top: 8px;
    font-size: 14.5px;
    color: var(--muted);
}

.flow__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
    margin-top: clamp(56px, 6vw, 80px);
    padding-top: clamp(40px, 5vw, 56px);
    border-top: 1px solid var(--line);
}

/* 線を引く（JSが .is-in を付ける。JSなしなら最初から引いた状態） */
.flow__list.is-in .flow__num,
html:not(.js) .flow__num {
    border-color: var(--navy);
    background: var(--navy);
    color: #fff;
}

.flow__list.is-in .flow__step::after,
html:not(.js) .flow__step::after {
    transform: scaleX(1);
}

@media (max-width: 900px) {
    .flow__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 48px;
    }

    .flow__step:nth-child(2n)::before,
    .flow__step:nth-child(2n)::after {
        display: none;
    }
}

@media (max-width: 600px) {
    .flow__list {
        grid-template-columns: 1fr;
        row-gap: 0;
    }

    .flow__step {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr);
        column-gap: 20px;
        padding-bottom: 36px;
    }

    .flow__num {
        grid-row: 1 / 4;
    }

    .flow__icon {
        display: none;
    }

    .flow__title {
        margin-top: 12px;
    }

    .flow__step:nth-child(2n)::before,
    .flow__step:nth-child(2n)::after {
        display: block;
    }

    .flow__step:not(:last-child)::before,
    .flow__step:not(:last-child)::after {
        top: 64px;
        bottom: 6px;
        left: 27px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .flow__step:not(:last-child)::after {
        transform: scaleY(0);
        transform-origin: top;
    }

    .flow__list.is-in .flow__step::after,
    html:not(.js) .flow__step::after {
        transform: scaleY(1);
    }

    .flow__cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   Price
   -------------------------------------------------------------------------- */
.price {
    background: var(--mist);
}

.price__head {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.price__head .section-lead {
    max-width: 40em;
    margin-inline: auto;
}

.price__badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 6px 18px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
}

.plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 2.4vw, 32px);
    max-width: 1000px;
    margin: clamp(48px, 6vw, 72px) auto 0;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(30px, 3.6vw, 48px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: #fff;
}

.plan--standard {
    border: 2px solid var(--blue);
    box-shadow: var(--shadow-lg);
}

.plan__flag {
    position: absolute;
    top: -15px;
    left: clamp(28px, 3.4vw, 46px);
    padding: 3px 16px;
    border-radius: 999px;
    background: var(--blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #fff;
}

.plan__name {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 26px;
    font-weight: 700;
    color: var(--navy);
}

.plan__name span {
    font-family: var(--font-num);
    font-style: italic;
    font-size: 21px;
    font-weight: 400;
    letter-spacing: .01em;
    color: var(--sky);
}

.plan--standard .plan__name span {
    color: var(--blue);
}

.plan__for {
    margin-top: 4px;
    font-size: 14.5px;
    color: var(--muted);
}

.plan__price {
    display: flex;
    align-items: baseline;
    margin: 26px 0 24px;
    padding: 20px 0;
    border-block: 1px solid var(--line);
    color: var(--navy);
}

.plan__per {
    margin-right: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
}

.plan__yen {
    font-family: var(--font-num);
    font-size: 34px;
    line-height: 1;
}

.plan__num {
    font-family: var(--font-num);
    font-size: clamp(56px, 6vw, 72px);
    line-height: .9;
    letter-spacing: -.01em;
}

.plan__features {
    display: grid;
    gap: 6px;
    margin-bottom: 36px;
}

.plan__features li {
    display: flex;
    gap: 12px;
    font-size: 15px;
    line-height: 1.75;
}

.plan__features .icon {
    width: 18px;
    height: 18px;
    margin-top: .3em;
    color: var(--blue);
}

.plan__cta {
    width: 100%;
    margin-top: auto;
}

.plan--premium {
    border-color: var(--deep);
    background: var(--deep);
    color: #fff;
}

.plan--premium .plan__name {
    color: #fff;
}

.plan--premium .plan__for,
.plan--premium .plan__per {
    color: rgba(255, 255, 255, .7);
}

.plan--premium .plan__price {
    border-color: rgba(255, 255, 255, .16);
    color: #fff;
}

.plan--premium .plan__features li {
    color: rgba(255, 255, 255, .9);
}

.plan--premium .plan__features .icon {
    color: var(--sky);
}

.plan--premium .plan__all {
    padding-bottom: 8px;
    margin-bottom: 4px;
    border-bottom: 1px dashed rgba(255, 255, 255, .2);
    font-weight: 700;
    color: #fff;
}

.price__notes {
    max-width: 1000px;
    margin: 32px auto 0;
    font-size: 13px;
    line-height: 1.9;
    color: var(--muted);
}

.price__notes li {
    padding-left: 1.2em;
    text-indent: -1.2em;
}

.price__notes li::before {
    content: "※";
    display: inline-block;
    width: 1.2em;
    text-indent: 0;
}

@media (max-width: 800px) {
    .plans {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }
}

@media (max-width: 400px) {
    .plan {
        padding: 28px 22px;
    }

    .plan__num {
        font-size: 50px;
    }

    .plan__yen {
        font-size: 28px;
    }

    .plan__per {
        margin-right: 8px;
    }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq {
    background: #fff;
}

.faq__grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
    grid-template-rows: auto 1fr;
    column-gap: clamp(40px, 6vw, 96px);
    align-items: start;
}

.faq__side {
    grid-column: 1;
    grid-row: 1;
}

.faq__list {
    grid-column: 2;
    grid-row: 1 / 3;
}

.faq__grid > .contact-card {
    grid-column: 1;
    grid-row: 2;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
    border-top: 1px solid var(--line);
}

.faq-item__q button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 24px 4px;
    text-align: left;
    font-size: clamp(16px, 1.3vw, 18px);
    font-weight: 700;
    line-height: 1.65;
    color: var(--navy);
    transition: color .3s;
}

.faq-item__q button:hover {
    color: var(--blue);
}

.faq-item__icon {
    position: relative;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    transition: background .3s, border-color .3s, transform .5s var(--ease-out);
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    margin: -1px 0 0 -7px;
    border-radius: 2px;
    background: var(--navy);
    transition: transform .5s var(--ease-out), background .3s;
}

.faq-item__icon::after {
    transform: rotate(90deg);
}

.faq-item.is-open .faq-item__icon {
    background: var(--navy);
    border-color: var(--navy);
    transform: rotate(180deg);
}

.faq-item.is-open .faq-item__icon::before,
.faq-item.is-open .faq-item__icon::after {
    background: #fff;
}

.faq-item.is-open .faq-item__icon::after {
    transform: rotate(0deg);
}

.faq-item__a {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows .5s var(--ease-out);
}

.js .faq-item__a {
    grid-template-rows: 0fr;
}

.js .faq-item.is-open .faq-item__a {
    grid-template-rows: 1fr;
}

.faq-item__a-inner {
    overflow: hidden;
    font-size: 15px;
    color: var(--muted);
}

.faq-item__a-inner > * {
    padding-inline: 4px;
}

.faq-item__a-inner > :last-child {
    padding-bottom: 28px;
}

.faq-item__a-inner p + p,
.faq-item__a-inner ul + p,
.faq-item__a-inner p + ul {
    margin-top: 10px;
}

.faq-item__a-inner ul {
    padding-left: 1.4em;
    list-style: disc;
}

.faq-item__a-inner li::marker {
    color: var(--sky);
}

.faq-item__a-inner a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-card {
    margin-top: 40px;
    padding: 26px 26px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--paper);
}

.contact-card__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
}

.contact-card__text {
    margin-top: 4px;
    font-size: 13.5px;
    color: var(--muted);
}

.contact-card__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-top: 14px;
}

.contact-card__mail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--blue);
    text-decoration: underline;
    text-decoration-color: rgba(30, 107, 191, .35);
    text-underline-offset: 4px;
}

.contact-card__mail .icon {
    width: 18px;
    height: 18px;
}

.contact-card__copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: #fff;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--navy);
    transition: border-color .3s, background .3s;
}

.contact-card__copy:hover {
    border-color: var(--blue);
}

.contact-card__copy .icon {
    width: 14px;
    height: 14px;
}

.contact-card__toast {
    min-height: 1.6em;
    margin-top: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--blue);
}

@media (max-width: 1000px) {
    .faq__grid {
        grid-template-columns: 1fr;
    }

    .faq__side,
    .faq__list,
    .faq__grid > .contact-card {
        grid-column: 1;
        grid-row: auto;
    }

    .faq__list {
        margin-top: 40px;
    }
}

/* --------------------------------------------------------------------------
   Join（最後のひと押し）
   -------------------------------------------------------------------------- */
.join {
    position: relative;
    overflow: hidden;
    padding-block: clamp(112px, 14vw, 200px);
    background: var(--deep);
    color: #fff;
}

.join::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

/* 夜の作業机の写真（文字側は濃紺のスクリムで沈める） */
.join__photo {
    position: absolute;
    inset: 0;
}

.join__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% 55%;
    opacity: .7;
}

.join__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, var(--deep) 0%, rgba(15, 30, 74, .9) 38%, rgba(15, 30, 74, .35) 72%, rgba(15, 30, 74, .5) 100%),
        linear-gradient(0deg, var(--deep) 0%, rgba(15, 30, 74, 0) 35%),
        linear-gradient(180deg, var(--deep) 0%, rgba(15, 30, 74, 0) 25%);
}

.join__glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(640px circle at var(--mx, 72%) var(--my, 30%), rgba(74, 176, 212, .3), transparent 62%);
    pointer-events: none;
}

.join__inner {
    position: relative;
}

.join__title {
    font-size: clamp(2.4rem, 6.4vw, 5.6rem);
    font-weight: 900;
    line-height: 1.22;
    letter-spacing: 0;
    color: #fff;
}

.join__lead {
    margin-top: 20px;
    font-size: clamp(16px, 1.4vw, 19px);
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--sky-soft);
}

.join__points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: clamp(48px, 6vw, 80px);
}

.join__points li {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .22);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
    color: rgba(255, 255, 255, .9);
}

.join__point-label {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--sky);
}

.join__action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: clamp(56px, 7vw, 88px);
}

.join__closing {
    font-size: clamp(20px, 1.8vw, 24px);
    font-weight: 700;
}

@media (max-width: 767px) {
    .join__photo img {
        object-position: 78% 50%;
        opacity: .55;
    }

    .join__photo::after {
        background:
            linear-gradient(180deg, var(--deep) 0%, rgba(15, 30, 74, .82) 30%, rgba(15, 30, 74, .72) 70%, var(--deep) 100%);
    }

    .join__title {
        font-size: clamp(2rem, 9.2vw, 2.7rem);
    }

    .join__points {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .join__action {
        align-items: stretch;
    }

    .join__action .btn {
        width: 100%;
    }

    .join .cta-note {
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    padding: clamp(64px, 8vw, 96px) 0 calc(32px + env(safe-area-inset-bottom));
    background: var(--deeper);
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr);
    gap: 48px clamp(32px, 5vw, 80px);
    width: min(100% - var(--gutter) * 2, var(--container));
    margin-inline: auto;
}

.site-footer__logo img {
    width: auto;
    height: 30px;
    filter: brightness(0) invert(1);
}

.site-footer__desc {
    margin-top: 20px;
    line-height: 2;
}

.site-footer__sns {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.site-footer__sns a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    transition: background .3s, color .3s, border-color .3s;
}

.site-footer__sns a:hover {
    background: #fff;
    border-color: #fff;
    color: var(--deeper);
}

.site-footer__sns .icon {
    width: 18px;
    height: 18px;
}

.site-footer__heading {
    margin-bottom: 14px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .5);
}

.site-footer__heading--sub {
    margin-top: 24px;
}

.site-footer__nav ul {
    display: grid;
    gap: 8px;
}

.site-footer__nav a,
.site-footer__legal a {
    transition: color .3s;
}

.site-footer__nav a:hover,
.site-footer__legal a:hover {
    color: #fff;
}

.site-footer__company-name {
    font-weight: 700;
    color: #fff;
}

.site-footer__company address {
    margin-top: 4px;
    line-height: 1.9;
}

.site-footer__mail {
    color: var(--sky);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    width: min(100% - var(--gutter) * 2, var(--container));
    margin: clamp(48px, 6vw, 72px) auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    font-size: 12.5px;
}

.site-footer__copy {
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
}

@media (max-width: 900px) {
    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding-bottom: calc(110px + env(safe-area-inset-bottom));
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Mobile sticky CTA
   -------------------------------------------------------------------------- */
.mobile-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 80;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 8px 8px 18px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    backdrop-filter: saturate(1.6) blur(14px);
    box-shadow: 0 20px 40px -18px rgba(15, 30, 74, .45);
    transform: translateY(160%);
    transition: transform .5s var(--ease-out);
}

.mobile-cta.is-visible {
    transform: none;
}

.mobile-cta__text {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.mobile-cta__text span:first-child {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy);
}

.mobile-cta__text span:last-child {
    font-size: 11.5px;
    color: var(--muted);
}

.mobile-cta .btn--sm {
    flex: none;
    height: 48px;
    padding-left: 22px;
}

@media (max-width: 360px) {
    .mobile-cta {
        padding-left: 14px;
    }

    .mobile-cta .btn--sm {
        padding-left: 16px;
        gap: 10px;
    }

    .mobile-cta__text span:first-child {
        font-size: 12.5px;
    }
}

@media (max-width: 767px) {
    .mobile-cta {
        display: flex;
    }
}

/* --------------------------------------------------------------------------
   Motion（JSが html.js を付けたときだけ初期状態を隠す）
   -------------------------------------------------------------------------- */

/* ヒーローの登場（ページ読み込み時の一度きり）
   見出しはJSを待たずにCSSだけで出す（表示の遅れとJS失敗時の非表示を防ぐ） */
.hero__line > span {
    animation: hero-rise 1.2s var(--ease-out) .12s both;
}

.hero__line--2 > span {
    animation-delay: .24s;
}

@keyframes hero-rise {
    from { transform: translateY(108%); }
    to { transform: none; }
}

.js [data-intro] {
    opacity: 0;
    transform: translateY(18px);
}

.js .is-loaded [data-intro] {
    opacity: 1;
    transform: none;
    transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
    transition-delay: var(--d, .3s);
}

.js .board-wrap {
    transform: translateY(28px) rotate(-1.2deg);
}

.js .board__list li {
    opacity: 0;
    transform: translateX(12px);
}

.js .is-loaded .board__list li {
    opacity: 1;
    transform: none;
    transition: opacity .7s var(--ease-out), transform .9s var(--ease-out);
}

.js .is-loaded .board__list li:nth-child(1) { transition-delay: .9s; }
.js .is-loaded .board__list li:nth-child(2) { transition-delay: 1s; }
.js .is-loaded .board__list li:nth-child(3) { transition-delay: 1.1s; }

/* スクロールで現れる要素 */
.js [data-reveal],
.js [data-reveal-group] > * {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out);
}

.js [data-reveal-group] > * {
    transition-delay: calc(var(--ri, 0) * 90ms);
}

.js [data-reveal].is-in,
.js [data-reveal-group].is-in > * {
    opacity: 1;
    transform: none;
}

.js .marker {
    background-size: 0 100%;
    transition: background-size 1.1s var(--ease-out) .35s;
}

.js .is-in .marker {
    background-size: 100% 100%;
}

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }

    .hero__line > span,
    .js [data-intro],
    .js .board-wrap,
    .js .board__list li,
    .js [data-reveal],
    .js [data-reveal-group] > * {
        opacity: 1;
        transform: none;
    }

    .js .marker {
        background-size: 100% 100%;
    }

    .scrub-char {
        color: var(--navy);
    }

    .venn__c {
        stroke-dashoffset: 0;
        fill-opacity: 1;
    }

    .venn__core {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}
