/* index.css — SITTIDA landing page styles */

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
    --purple:       #1823ff;
    --purple-bg:    #F0E0FF;
    --black:        #111111;
    --white:        #ffffff;
    --gray-bg:      #F6F6F6;
    --border:       #E8E8E8;
    --text:         #111111;
    --muted:        #888888;
    --light:        #BBBBBB;

    --font-jp:  'Noto Sans JP', sans-serif;
    --font-ser: 'Noto Serif JP', serif;
    --font-en:  'Inter', sans-serif;

    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 18px;
    --gutter: clamp(20px, 5vw, 32px);
    --max:   640px;
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-jp);
    font-size: 15px;
    line-height: 1.75;
    color: var(--text);
    background: #F7F7F7;
    -webkit-font-smoothing: antialiased;
}

a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
img{ display: block; max-width: 100%; }
h1,h2,h3,h4 { font-weight: 400; line-height: 1.4; }
h2 { font-weight: 600; }
button { cursor: pointer; border: none; background: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ============================================================
   HOME HEADER
   ============================================================ */
.hdr {
    position: relative;
}
.hdr__inner {
    display: flex; align-items: center;
    justify-content: space-between;
    min-height: 70px;
    padding: 14px var(--gutter);
    background: #f9f3f0;
}
.hdr__logo {
    display: flex; align-items: center;
}
.hdr__logo img {
    height: 1.1rem;
    width: auto;
    display: block;
}

/* burger button — fixed */
.hdr__burger {
    position: fixed; top: 14px; right: var(--gutter); z-index: 100;
    width: 42px; height: 42px;
    background: var(--white);
    border-radius: var(--r-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 5px; padding: 0;
}
.hdr__burger span {
    display: block;
    width: 18px; height: 1px;
    background: var(--black);
    border-radius: 1px;
    transition: transform .25s;
}

/* open state */
.hdr__burger.open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.hdr__burger.open span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* nav drawer — fixed, below burger */
.hdr__nav {
    position: fixed; top: 70px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    display: flex; flex-direction: column; gap: .75rem;
    opacity: 0; transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .25s, transform .25s;
    z-index: 99;
}
.hdr__nav.open { opacity: 1; transform: none; pointer-events: auto; border-radius: 9px; margin: 1rem; box-shadow: 0 4px 16px rgba(0, 0, 0, .08); }
.hdr__nav a {
    font-size: 13px; color: #999;
    letter-spacing: .1em; text-transform: uppercase;
    padding: .25rem 0;
}
.hdr__nav a:hover { color: var(--black); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: #f9f3f0;
    padding: 56px 0 60px;
}

.hero__label {
    font-size: .8rem;
    color: var(--black);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    letter-spacing: .12em;
}
.hero__label-word,
.hero__label-suffix { color: var(--black); font-weight: 700; font-size: 1rem; }
.hero__label-service { color: #ACACAC; font-weight: 700; width: 100%; }

/* ── Hero Label Scramble ── */
.hero__label-word {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    padding-right: .15em;
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__h1 {
    font-family: var(--font-jp);
    font-size: clamp(2.5rem, 9vw, 3.8rem);
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: .01em;
    margin-bottom: 1.25rem;
    color: var(--black);
}

.hero__sub {
    font-size: .8rem;
    color: #ACACAC;
    font-weight: 500;
    line-height: 1.9;
    margin-bottom: 2rem;
}

/* stacked full-width buttons */
.hero__cta {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.btn-fill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    width: 100%;
    padding: 1rem;
    background: var(--white);
    color: var(--black);
    font-size: .95rem;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: border-color .2s, background .2s;
}
.btn-fill:hover { border-color: #ccc; background: var(--gray-bg); }

.btn-ghost {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    width: 100%;
    padding: 1rem;
    background: var(--black);
    color: var(--white);
    font-size: .95rem;
    font-weight: 500;
    border-radius: var(--r-sm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    transition: background .2s;
}
.btn-ghost:hover { background: #333; }

.btn-ghost__icon {
    width: 27px; height: 27px;
    background: #1823ff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--white);
}

/* hero visual — PC only (hidden on mobile) */
.hero__visual { display: none; }

/* ============================================================
   THEMES
   ============================================================ */
.themes {
    background: #efe6e0;
    padding: 153px 0 158px;
    position: relative;
    overflow: hidden;
}

.themes__h2 {
    font-family: var(--font-jp);
    font-size: clamp(1.5rem, 6vw, 2rem);
    font-weight: 600;
    text-align: left;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    padding-left: 1rem;
}
.themes__h2::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -9999px;
    width: 9999px;
    height: 1px;
    background: var(--muted);
}
.themes__sub {
    font-family: var(--font-en);
    font-size: clamp(5rem, 18vw, 11rem);
    font-weight: 800;
    color: #f9f3f0;
    line-height: 1;
    position: absolute;
    top: 55px;
    left: 0;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}
.themes__sub span {
    display: inline-block;
    letter-spacing: -.02em;
    animation: themes-marquee 18s linear infinite;
}
@keyframes themes-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* theme preview card */
.tcard {
    position: relative;
    background: #f9f3f0;
    border: 1px solid #D9D9D9;
    box-shadow: none;
}
.tcard::before,
.tcard::after {
    content: '';
    position: absolute;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #D9D9D9;
    top: 8px;
    z-index: 1;
}
.tcard::before { left: 8px; }
.tcard::after  { right: 8px; }

.tcard__figure {
    position: relative;
    z-index: 2;
    width: 91%;
    margin: 1.2rem auto 0;
    aspect-ratio: 1179 / 1586;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}
.tcard__badge {
    position: absolute;
    top: 10px; right: 10px;
    background: var(--purple);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 3;
}
.tcard__img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.tcard__img-wrap {
    width: 100%;
    height: 100px;
    margin-top: -100px;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.2) 100%);
    pointer-events: none;
    position: relative;
    z-index: 1;
}

.tcard__meta {
    padding: 1rem 1.5rem;
    background: var(--white);
    margin: 0 -1px -1px -1px;
    border-radius: 0 0 6px 6px;
}
.tcard__meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .5rem;
}
.tcard__name {
    font-family: var(--font-en);
    font-size: .95rem;
    font-weight: 500;
    color: var(--black);
}
.tcard__default {
    font-size: .8rem;
    color: #111111;
    font-weight: 500;
}
.tcard__tags {
    display: flex;
    gap: .4rem;
    align-items: center;
    justify-content: space-between;
}
.tcard__preview {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .72rem;
    font-weight: 500;
    color: #888888;
    text-decoration: none;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 2px 10px;
    transition: background .15s, color .15s;
}
.tcard__preview:hover {
    background: #f0f0f0;
    color: #444;
}
.tcard__tag {
    font-size: .72rem;
    font-weight: 500;
    color: #888888;
    background: #ebebeb;
    border: 1px solid #ebebeb;
    border-radius: 4px;
    padding: 2px 10px;
}

/* ============================================================
   PAIN POINTS
   ============================================================ */
.pain {
    background: #f9f3f0;
    padding: 64px 0;
    border-radius: 45px 45px 0 0;
    margin-top: -5rem;
}

.pain__stmt {
    font-family: var(--font-jp);
    font-size: 1rem;
    font-weight: 600;
    line-height: 2.1;
    word-break: keep-all;
    overflow-wrap: break-word;
    color: var(--black);
    margin-bottom: 2rem;
}

.pain__body {
    font-size: .875rem;
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 1.75rem;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.pain__resolve {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
}

/* ============================================================
   SMART / FEATURE CARDS
   ============================================================ */
.smart {
    --g-angle: 135deg;
    --g-color-0: #ffe9e9ff;
    --g-position-0: 0%;
    --g-color-1: #edf4ffff;
    --g-position-1: 50%;
    --g-color-2: #def7f9ff;
    --g-position-2: 100%;
    background: linear-gradient(var(--g-angle), var(--g-color-0) var(--g-position-0), var(--g-color-1) var(--g-position-1), var(--g-color-2) var(--g-position-2));
    padding: 50px 0 90px;
}

.smart__h2 {
    font-family: var(--font-jp);
    font-size: clamp(1.5rem, 6vw, 2rem);
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: .6rem;
    position: relative;
    padding-left: 1rem;
    z-index: 1;
}
.smart__h2::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -9999px;
    width: 9999px;
    height: 1px;
    background: var(--muted);
}

/* purple highlight badge */
.badge-purple {
    display: inline-block;
    background: none;
    color: var(--purple);
    font-family: var(--font-en);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .05em;
    padding: 3px 10px 3px 1rem;
    border-radius: 4px;
    margin-bottom: 3rem;
}

/* feature card slider */
.fcard.fcard--slider {
    overflow: hidden;
    padding: 0;
}
.fcard-slider__track {
    position: relative;
}
.fcard-slider__track::before,
.fcard-slider__track::after {
    content: '';
    position: absolute;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #d8d8d8;
    z-index: 20;
}
.fcard-slider__track::before { bottom: 10px; left: 10px; }
.fcard-slider__track::after  { bottom: 10px; right: 10px; }
.fcard-slider__panel {
    padding: 2.7rem 2rem;
    transition: transform .45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
.fcard-slider__btns {
    position: absolute;
    top: 3rem;
    right: 1rem;
    display: flex;
    gap: .35rem;
    z-index: 10;
}
.fcard-slider__btn {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #f7f7f7;
    border: 1px solid #e8e8e8;
    color: #666;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
.fcard-slider__btn:hover {
    background: #ebebeb;
    border-color: #d4d4d4;
}

/* feature card */
.fcard {
    position: relative;
    background: var(--white);
    border-radius: var(--r-md);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
    padding: 2.7rem 1.5rem;
    margin-bottom: 2rem;
}

/* corner dots */
.fcard::before,
.fcard::after {
    content: '';
    position: absolute;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #d8d8d8;
}
.fcard::before { top: 10px;  left: 10px;  }
.fcard::after  { top: 10px;  right: 10px; }

.fcard__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.fcard__icon-wrap {
    width: 56px; height: 56px;
    background: var(--gray-bg);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.fcard__icon {
    width: 26px; height: 26px;
    font-size: 1rem;
    color: var(--black);
    font-weight: 800;
    border: 1.5px solid var(--black);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.fcard__icon--sm { display:flex; align-items:center; justify-content:center; border: none; border-radius: 0; }

.fcard__num {
    position: absolute;
    top: -6px;
    left: 35px;
    font-family: var(--font-en);
    font-size: .62rem;
    font-weight: 100;
    color: var(--white);
    letter-spacing: .05em;
    background: var(--purple);
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

.fcard__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .65rem;
    line-height: 1.5;
}
.fcard__text {
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.85;
    margin-bottom: 2rem;
}

/* comparison bar chart */
.fcard__compare {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    position: relative;
}
.fcard__compare::before {
    content: '';
    position: absolute;
    z-index: 1;
    left: calc(42px + 1rem);
    top: -6px;
    bottom: -6px;
    width: 1px;
    background: #d0d0d0;
}

.cmp-row {
    display: flex; align-items: center; gap: 1rem;
}
.cmp-label {
    font-size: .78rem;
    color: var(--muted);
    width: 42px;
    flex-shrink: 0;
}
.fcard__compare .cmp-row:nth-child(1) .cmp-label {
    color: #aaa;
}
.fcard__compare .cmp-row:nth-child(1) .cmp-val {
    color: #8f8f8f;
}
.fcard__compare .cmp-row:nth-child(2) .cmp-label {
    color: var(--black);
    font-weight: 700;
}
.fcard__compare .cmp-row:nth-child(2) .cmp-val {
    left: calc(100% + .6rem);
    transform: translateY(-50%);
}
.cmp-bar {
    height: 24px;
    border-radius: 0 3px 3px 0;
    flex-shrink: 0;
    position: relative;
}
.cmp-bar--gray   { background: #f1f1f1; }
.cmp-bar--purple { background: var(--purple); }
.cmp-bar--long   { width: 140px; }
.cmp-bar--short  { width: 36px; }

.cmp-val {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: .8rem;
    color: var(--black);
    font-weight: 500;
    white-space: nowrap;
}
.cmp-val small {
    font-size: .72rem;
    color: var(--muted);
    font-weight: 400;
}

/* ============================================================
   3 STEPS
   ============================================================ */
.steps-pricing-wrap {
    background: #f9f3f0;
    border-radius: 45px 45px 0 0;
    position: relative;
    z-index: 1;
    margin-top: -3rem;
}
.steps {
    padding: 64px 0;
    border-radius: 45px 45px 0 0;
    margin-top: -3rem;
    position: relative;
    z-index: 1;
}

.steps__h2 {
    font-family: var(--font-jp);
    font-size: clamp(1.5rem, 6vw, 2rem);
    font-weight: 600;
    margin-bottom: .6rem;
    position: relative;
    padding-left: 1rem;
    z-index: 1;
}
.steps__h2::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -9999px;
    width: 9999px;
    height: 1px;
    background: var(--muted);
}

/* step card */
.scard {
    background: var(--white);
    border-radius: var(--r-md);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 8px rgba(0,0,0,.05);
}

.scard__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}
.scard__label {
    font-family: var(--font-en);
    font-size: 10px;
    color: black;
    font-weight: 600;
    letter-spacing: .1em;
}

/* step number tags */
.scard__right {
    display: flex;
    align-items: flex-start;
    gap: .1rem;
}
.scard__steps {
    display: flex;
    gap: .2rem;
}
.sstep {
    font-family: var(--font-en);
    font-size: 21px;
    font-weight: 600;
    color: var(--border);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 1px 4px;
    letter-spacing: .03em;
    line-height: 1;
}
.sstep--active {
    color: black;
    border-color: transparent;
}

/* progress dots */
.scard__progress {
    display: flex;
    align-items: center;
    gap: .2rem;
    margin-top: .3rem;
}
.sdot {
    width: 7px; height: 7px;
    border-radius: 50%;
}
.sdot--num {
    background: var(--purple);
}
.sdot--empty {
    background: var(--border);
    width: 7px; height: 7px;
}
.sdot--done {
    background: var(--border);
    width: 7px; height: 7px;
}
.sdot--num-purple {
    background: var(--purple);
    color: var(--white);
}
.sdot--purple-empty {
    background: var(--border);
    width: 7px; height: 7px;
    border-radius: 50%;
}

.scard__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: .65rem;
}
.scard__text {
    font-size: 13px;
    color: #9E9E9E;
    font-weight: 500;
    line-height: 1.9;
    margin-bottom: 2rem;
}
.scard__note {
    font-size: .75rem;
    color: var(--light);
    margin-top: .75rem;
    margin-bottom: 2rem;
}



/* ============================================================
   PRICING
   ============================================================ */
.pricing {
    padding: 0px 0 120px;
}

.pricing__h2 {
    font-family: var(--font-jp);
    font-size: clamp(1.5rem, 6vw, 2rem);
    font-weight: 600;
    margin-bottom: .6rem;
    position: relative;
    padding-left: 1rem;
    z-index: 1;
}
.pricing__h2::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -9999px;
    width: 9999px;
    height: 1px;
    background: var(--muted);
}

.pcard {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.pcard__price {
    display: block;
    text-align: right;
    font-family: var(--font-en);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--black);
    white-space: nowrap;
    line-height: 1;
    margin-bottom: .6rem;
}

/* plan name row */
.pcard__row {
    margin-bottom: 1rem;
}
.pcard__name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .2rem;
}
.pcard__tag {
    font-size: .78rem;
    font-weight: 400;
    color: var(--muted);
}

/* "テーマを選択する" button */
.pcard__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: var(--gray-bg);
    color: var(--black);
    font-size: .875rem;
    font-weight: 500;
    padding: .8rem 1rem;
    border-radius: var(--r-sm);
    margin-bottom: 1rem;
    transition: background .2s;
}
.pcard__btn:hover { background: #ebebeb; }
.pcard__btn-icon {
    width: 28px; height: 28px;
    background: var(--white);
    border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border);
    color: var(--muted);
}

/* features */
.pcard__features {
    display: flex; flex-direction: column; gap: .4rem;
}
.pcard__features li {
    display: flex; align-items: center; gap: .6rem;
    font-size: .85rem; color: var(--muted);
}
.pcard__features li::before {
    content: "✓";
    font-size: .8rem;
    color: var(--light);
    flex-shrink: 0;
}

/* ============================================================
   STUDENT SUPPORT
   ============================================================ */
.support {
    background: #efe6e0;
    padding: 64px 0 146px;
    border-radius: 45px 45px 0 0;
    margin-top: -3rem;
    position: relative;
    z-index: 2;
}

.support__h2 {
    font-family: var(--font-jp);
    font-size: clamp(1.5rem, 6vw, 2rem);
    font-weight: 600;
    margin-bottom: .6rem;
    position: relative;
    padding-left: 1rem;
    z-index: 1;
}
.support__h2::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -9999px;
    width: 9999px;
    height: 1px;
    background: var(--muted);
}

.support__text {
    font-size: .875rem;
    color: var(--black);
    font-weight: 600;
    line-height: 1.9;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
    background: #f9f3f0;
    padding: 64px 0;
    border-radius: 45px 45px 0 0;
    margin-top: -5rem;
    position: relative;
    z-index: 3;
}

.faq__h2 {
    font-family: var(--font-jp);
    font-size: clamp(1.5rem, 6vw, 2rem);
    font-weight: 600;
    margin-bottom: .6rem;
    position: relative;
    padding-left: 1rem;
}
.faq__h2::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -9999px;
    width: 9999px;
    height: 1px;
    background: var(--muted);
}

.faq__list {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.faq__item {
    background: var(--white);
    border-radius: 16px;
    padding: 0 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.faq__item:first-child {
    border-top: none;
}

.faq__q {
    list-style: none;
    font-family: var(--font-jp);
    font-size: .95rem;
    font-weight: 600;
    color: var(--black);
    padding: 1.25rem 2.5rem 1.25rem 1.5rem;
    position: relative;
    cursor: pointer;
    user-select: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before {
    content: 'Q';
    position: absolute;
    left: 0;
    top: 1.25rem;
    font-family: var(--font-en);
    font-weight: 700;
    color: var(--purple);
    font-size: .85rem;
}
.faq__q::after {
    content: '';
    position: absolute;
    right: .5rem;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: translateY(-65%) rotate(45deg);
    transition: transform .25s ease;
}
.faq__item[open] .faq__q::after {
    transform: translateY(-35%) rotate(225deg);
}

.faq__a {
    font-size: .875rem;
    color: var(--black);
    line-height: 1.9;
    padding: 0 1rem 1.25rem 1.5rem;
    position: relative;
    overflow: hidden;
}
.faq__a::before {
    content: 'A';
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-en);
    font-weight: 700;
    color: var(--black);
    font-size: .85rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    padding: 2rem 0 2rem;
    background: #262626;
}
.footer__copy {
    font-family: var(--font-en);
    font-size: .78rem;
    color: #9E9E9E;
    text-align: center;
    letter-spacing: .03em;
    font-weight: 700;
}

/* ============================================================
   DESKTOP — min-width: 768px
   スマホスタイルを継承し、PC用に上書きするのみ。
   スマホ側のルールは一切変更しない。
   ============================================================ */
@media (min-width: 768px) {

    /* ---- コンテナ幅を拡張 ---- */
    :root {
        --max:    1100px;
        --gutter: 44px;
    }

    /* ---- HEADER: sticky + 横並びナビ ---- */
    .hdr {
        position: sticky;
        top: 0;
        z-index: 200;
        background: rgba(247, 247, 247, .96);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-bottom: 1px solid var(--border);
    }
    .hdr__inner {
        padding: 14px 44px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    /* バーガーボタンを非表示 */
    .hdr__burger { display: none; }

    /* ナビを横並び常時表示に切り替え（固定位置を解除） */
    .hdr__nav,
    .hdr__nav.open {
        position: static;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        background: transparent;
        border: none;
        padding: 0;
        flex-direction: row;
        align-items: center;
        gap: 1.75rem;
        box-shadow: none;
        margin: 0;
        z-index: auto;
        border-radius: 0;
    }
    .hdr__nav a {
        font-size: 12px;
        color: #999;
        padding: 0;
        letter-spacing: .08em;
    }
    .hdr__nav a:hover { color: var(--black); }
    /* 「新規登録」だけボタン風に */
    .hdr__nav a:last-child {
        background: var(--black);
        color: var(--white);
        padding: .4rem 1.1rem;
        border-radius: var(--r-sm);
        letter-spacing: .04em;
        font-size: 12px;
    }
    .hdr__nav a:last-child:hover {
        background: #333;
        color: var(--white);
    }

    /* ---- HERO: 2カラム（テキスト左・モックアップ右） ---- */
    .hero { padding: 96px 0 88px; }
    .hero .wrap {
        display: grid;
        grid-template-columns: 55fr 45fr;
        column-gap: 4rem;
        align-items: start;
    }
    /* テキスト要素を左カラムに固定 */
    .hero__label,
    .hero__h1,
    .hero__sub,
    .hero__cta { grid-column: 1; }

    /* 右カラムにビジュアルを配置 */
    .hero__visual {
        display: flex;
        grid-column: 2;
        grid-row: 1 / 5;
        align-items: center;
        justify-content: center;
        align-self: center;
    }
    .hero__h1 {
        font-size: clamp(2.6rem, 3.8vw, 3.8rem);
        line-height: 1.45;
    }
    /* CTAを横並びに */
    .hero__cta {
        flex-direction: row;
        flex-wrap: nowrap;
        margin-top: .25rem;
    }
    .btn-fill,
    .btn-ghost {
        width: auto;
        padding: .9rem 1.75rem;
        white-space: nowrap;
    }

    /* ---- PC用モックアップフレーム ---- */
    .hero__mockup {
        width: 100%;
        max-width: 320px;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 24px 64px rgba(0, 0, 0, .13), 0 4px 16px rgba(0, 0, 0, .06);
    }
    .hero__mockup-bar {
        background: #f0f0f0;
        padding: 9px 12px;
        display: flex;
        gap: 5px;
        align-items: center;
        border-bottom: 1px solid var(--border);
    }
    .hero__mockup-dot {
        display: block;
        width: 8px; height: 8px;
        border-radius: 50%;
        background: #ddd;
    }
    .hero__mockup-dot:nth-child(1) { background: #ffbdbd; }
    .hero__mockup-dot:nth-child(2) { background: #ffd9a0; }
    .hero__mockup-dot:nth-child(3) { background: #b8f0c8; }
    .hero__mockup-screen {
        aspect-ratio: 3 / 5;
        overflow: hidden;
    }
    .hero__mockup-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
        display: block;
    }

    /* ---- THEMES ---- */
    .themes { padding: 80px 0; }
    .tcard {
        max-width: 380px;
        margin: 0 auto;
    }

    /* ---- PAIN POINTS ---- */
    .pain { padding: 96px 0; text-align: center; }
    .pain__stmt {
        font-size: 1.1rem;
        max-width: 700px;
        line-height: 2.3;
        margin-left: auto;
        margin-right: auto;
    }
    .pain__body {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    .pain__resolve { text-align: center; }

    /* ---- SMART: フィーチャーカードを横並び（スライダー解除） ---- */
    .smart { padding: 88px 0; }
    .smart__h2 br { display: none; }
    .smart__h2 { font-size: 1.9rem; }

    /* スライダーをグリッドに切り替え（JSの inline style を上書き） */
    .fcard.fcard--slider {
        height: auto !important;
        overflow: visible;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        padding: 0;
        box-shadow: none;
        background: transparent;
        border-radius: 0;
        margin-bottom: 0;
    }
    .fcard.fcard--slider::before,
    .fcard.fcard--slider::after { display: none; }
    .fcard-slider__btns { display: none; }
    .fcard-slider__track {
        display: contents;
        height: auto !important;
    }
    .fcard-slider__track::before,
    .fcard-slider__track::after { display: none; }
    /* 各パネルを通常フローに戻す（JSが設定したpositionを上書き） */
    .fcard-slider__panel {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        flex-direction: unset !important;
        justify-content: unset !important;
        background: var(--white);
        border-radius: var(--r-md);
        box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
        padding: 2.7rem 2rem;
    }
    /* 各パネルに角ドットを復元 */
    .fcard-slider__panel { position: relative !important; }
    .fcard-slider__panel::before,
    .fcard-slider__panel::after {
        content: '';
        position: absolute;
        width: 6px; height: 6px;
        border-radius: 50%;
        background: #d8d8d8;
    }
    .fcard-slider__panel::before { top: 10px; left: 10px; }
    .fcard-slider__panel::after  { top: 10px; right: 10px; }

    /* ---- 3 STEPS: 3カラムグリッド ---- */
    .steps { padding: 96px 0; }
    .steps__h2 {
        font-size: 1.9rem;
        margin-bottom: 2rem;
        grid-column: 1 / -1;
    }
    .steps .wrap {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1.25rem;
        align-items: start;
    }
    .steps .badge-purple { grid-column: 1 / -1; }
    .scard { margin-bottom: 0; }
    .scard__img {
        max-height: 180px;
        width: 100%;
        object-fit: cover;
        object-position: top;
        border-radius: var(--r-sm);
    }

    /* ---- PRICING: 2カラムグリッド ---- */
    .pricing { padding: 0 0 96px; }
    .pricing__h2 {
        font-size: 1.9rem;
        margin-bottom: 2rem;
        grid-column: 1 / -1;
        text-align: left;
    }
    .pricing .wrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }
    .pricing .badge-purple { grid-column: 1 / -1; }
    .pcard { margin-bottom: 0; }

    /* ---- STUDENT SUPPORT ---- */
    .support { padding: 96px 0 160px; }
    .support__h2 { font-size: 1.9rem; }
    .support__text { max-width: 600px; }

    /* ---- FOOTER ---- */
    .footer .wrap { max-width: 1100px; }
}

