/* =========================================
   SECTION LAYOUT
   ========================================= */

.section {
    padding: var(--section-padding) var(--space-md);
}

.section--white {
    background: var(--card-bg);
}

.section--bg {
    background: var(--bg);
}

.section__inner {
    max-width: var(--container-max);
    margin: 0 auto;
}


/* =========================================
   SECTION HEADER — Type A
   英語ラベル + 日本語見出し + ゴールドバー（中央揃え）
   ========================================= */

.section-header-a {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header-a__en {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: var(--space-sm);
    display: block;
}

.section-header-a__ja {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.5;
    letter-spacing: 0.12em;
}

.section-header-a__bar {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: var(--space-md) auto 0;
}


/* =========================================
   SECTION HEADER — Type B
   見出しのみ大きめ。装飾なし。余白で魅せる
   ========================================= */

.section-header-b {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header-b__title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.6;
    letter-spacing: 0.12em;
}

/* Type B2: 英語ラベル+見出しのみ */
.section-header-b2__en {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-md);
    display: block;
}

.section-header-b2__title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.6;
    letter-spacing: 0.12em;
}


/* =========================================
   SECTION HEADER — Type C
   見出し + 説明文（中央揃え）
   ========================================= */

.section-header-c {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header-c__title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.5;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.section-header-c__sub {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}


/* =========================================
   SECTION HEADER — Type D
   左寄せ + 縦アクセント（ゴールド縦線）
   ========================================= */

.section-header-d {
    margin-bottom: var(--space-xl);
    padding-left: var(--space-lg);
    position: relative;
}

.section-header-d::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 3px;
    height: calc(100% - 8px);
    background: var(--gold);
    border-radius: 2px;
}

.section-header-d__en {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: var(--space-xs);
    display: block;
}

.section-header-d__title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.5;
    letter-spacing: 0.1em;
}


/* =========================================
   HERO (open layout)
   ========================================= */

.hero-section {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    padding: var(--space-xl) 0;
}

.hero-section__video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.75) 50%, rgba(255, 255, 255, 0.5) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-section__inner {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 70vh;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-section__copy {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-section__target {
    font-size: 14px;
    color: var(--gold-dark);
    font-weight: 600;
    margin-bottom: var(--space-md);
    letter-spacing: 0.05em;
}

.hero-section__title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--deep);
    line-height: 1.5;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-lg);
}

.hero-section__subtitle {
    font-size: 16px;
    color: var(--text-main);
    line-height: 2.0;
    margin-bottom: var(--space-lg);
}

.hero-section__usp {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--deep);
    margin-bottom: var(--space-lg);
}

.hero-section__badge {
    margin-bottom: var(--space-lg);
}

.hero-section__buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: stretch;
    margin-bottom: var(--space-md);
}

.hero-section__micro {
    font-size: 13px;
    color: var(--text-muted);
}

/* 画像: 全面背景モード — image-wrapは非表示 */
.hero-section__image-wrap {
    display: none;
}

.hero-section__image {
    display: none;
}


/* =========================================
   col-4-icon（コンセプト4つの特徴）
   ========================================= */

.col-4-icon {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    max-width: var(--container-max);
    margin: 0 auto;
}

.col-4-icon__item {
    text-align: center;
}

.col-4-icon__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-warm);
    display: grid;
    place-items: center;
    margin: 0 auto var(--space-sm);
}

.col-4-icon__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: var(--space-xs);
}

.col-4-icon__desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}


/* =========================================
   OFFER BANNER
   ========================================= */

.offer-banner {
    text-align: center;
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.offer-banner__label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--gold-light);
    margin-bottom: var(--space-sm);
}

.offer-banner__title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-md);
}

.offer-banner__desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 2.0;
}

.offer-banner__line {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: var(--space-lg) auto 0;
}


/* =========================================
   MEDIA BAR (open)
   ========================================= */

.media-bar {
    text-align: center;
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.media-bar__stats {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.media-bar__stat {
    text-align: center;
}

.media-bar__stat-num {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--gold-dark);
    display: block;
}

.media-bar__stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

.media-bar__detail {
    font-size: 15px;
    color: var(--text-main);
    line-height: 2.0;
    letter-spacing: 0.05em;
}


/* =========================================
   OPEN LAYOUT SYSTEM
   ========================================= */

.open-section {
    padding: var(--section-padding) var(--space-md);
}

.open-section__inner {
    max-width: var(--container-max);
    margin: 0 auto;
}

.open-section__text {
    max-width: var(--container-narrow);
    margin: 0 auto;
    text-align: center;
}

.open-section__text p {
    font-size: 16px;
    color: var(--text-main);
    line-height: 2.2;
    letter-spacing: 0.05em;
}

.open-section__text p+p {
    margin-top: var(--space-lg);
}

.open-section__line {
    width: 20px;
    height: 1px;
    background: var(--gold);
    margin: var(--space-xl) auto;
}

/* --- open-checklist --- */
.open-checklist {
    list-style: none;
    max-width: var(--container-narrow);
    margin: 0 auto;
    display: grid;
    gap: var(--space-md);
}

.open-checklist__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    font-size: 16px;
    color: var(--text-main);
    line-height: 2.0;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--line);
}

.open-checklist__item:last-child {
    border-bottom: none;
}

.open-checklist__icon {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 6px;
    color: var(--gold);
}

/* --- Botanical Divider --- */
.botanical-divider {
    text-align: center;
    padding: 0;
    margin: 0 auto;
    max-width: 300px;
}

.botanical-divider img {
    width: 100%;
    height: auto;
    opacity: 0.7;
}

/* --- open-two-col (media variant) --- */
.open-two-col--media .open-two-col__image {
    display: none;
}

.open-two-col--media .media-img-mobile {
    display: block;
    border-radius: var(--radius-img);
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* --- open-two-col --- */
.open-two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: stretch;
    max-width: var(--container-max);
    margin: 0 auto;
}

.open-two-col--reverse {
    direction: ltr;
}

.open-two-col--reverse>* {
    direction: ltr;
}

.open-two-col__image {
    border-radius: var(--radius-img);
    object-fit: cover;
    width: 100%;
    height: auto;
}

.open-two-col__text p {
    font-size: 16px;
    color: var(--text-main);
    line-height: 2.2;
    letter-spacing: 0.05em;
}

.open-two-col__text p+p {
    margin-top: var(--space-md);
}

/* --- highlight-block --- */
.highlight-block {
    background: var(--deep);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: var(--space-xl) var(--space-md);
    position: relative;
    overflow: hidden;
}

.highlight-block::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(199, 165, 100, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.highlight-block__title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    position: relative;
}

.highlight-block__text {
    font-size: 16px;
    line-height: 2.2;
    opacity: 0.95;
    position: relative;
}

.highlight-block__emphasis {
    color: var(--gold-light);
    font-weight: 700;
}

/* --- col-2-text (Before/After比較) --- */
.col-2-text {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: var(--container-max);
    margin: 0 auto;
}

.col-2-text__side {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
}

.col-2-text__side img {
    max-width: 100% !important;
    height: auto;
}

.col-2-text__side--before {
    background: var(--bg-warm);
    border: 1px solid var(--line);
}

.col-2-text__side--after {
    background: rgba(199, 165, 100, 0.06);
    border: 1px solid var(--line-gold);
}

.col-2-text__label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.col-2-text__side--before .col-2-text__label {
    color: var(--text-muted);
}

.col-2-text__side--after .col-2-text__label {
    color: var(--gold-dark);
}

.col-2-text__icon {
    margin-bottom: var(--space-md);
    display: flex;
}

.col-2-text__content {
    font-size: 15px;
    color: var(--text-main);
    line-height: 2.0;
}

.col-2-text__content strong {
    display: block;
    font-size: 16px;
    color: var(--text-heading);
    margin-bottom: var(--space-sm);
}

/* --- open-benefit --- */
.open-benefit {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
}

.open-benefit__icon {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    background: var(--bg-warm);
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.open-benefit__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: var(--space-xs);
}

.open-benefit__desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* --- open-profile --- */
.open-profile {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: start;
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
}

.open-profile__avatar {
    display: none;
}

.open-profile__image {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 1;
}

.open-profile__name {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-heading);
    letter-spacing: 0.12em;
    margin-bottom: var(--space-xs);
}

.open-profile__role {
    font-size: 14px;
    color: var(--gold-dark);
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
}

.open-profile__text {
    font-size: 16px;
    color: var(--text-main);
    line-height: 2.2;
    letter-spacing: 0.05em;
    text-align: left;
}

.open-profile__text p+p {
    margin-top: var(--space-md);
}

/* --- Gallery --- */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.gallery__item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform var(--duration-fast) ease;
}

.gallery__item:hover {
    transform: none;
}

/* Featured layout: モバイルでは2カラム */
.gallery--featured {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
}

.gallery__item--tall {
    grid-row: auto;
    aspect-ratio: 1;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(0.7) brightness(1.1) saturate(1.3) opacity(0.85);
}

/* --- Course Card --- */
.course-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.course-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--line);
}

.course-card--featured {
    grid-row: auto;
    position: relative;
    border: none;
    min-height: 400px;
}

.course-card--featured .course-card__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: auto;
}

.course-card--featured::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
    pointer-events: none;
}

.course-card--featured .course-card__badge {
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    z-index: 2;
    border-radius: var(--radius-full);
}

.course-card--featured .course-card__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.course-card--featured .course-card__name {
    color: #fff;
    font-size: 20px;
}

.course-card--featured .course-card__desc {
    color: rgba(255, 255, 255, 0.85);
}

.course-card--featured .course-card__price {
    color: #fff;
}

.course-card--featured .course-card__time {
    color: rgba(255, 255, 255, 0.7);
}

.course-card--featured .course-card__tags .tag {
    border-color: rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.9);
}

.course-card--overlay {
    position: relative;
    min-height: 280px;
}

.course-card--overlay .course-card__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: auto;
}

.course-card--overlay::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
}

.course-card--overlay .course-card__badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    z-index: 2;
    border-radius: var(--radius-full);
    font-size: 12px;
    padding: 6px 12px;
}

.course-card--overlay .course-card__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: var(--space-md);
}

.course-card--overlay .course-card__name {
    color: #fff;
    font-size: 16px;
}

.course-card--overlay .course-card__desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
}

.course-card--overlay .course-card__price {
    color: #fff;
    font-size: 22px;
}

.course-card--overlay .course-card__time {
    color: rgba(255, 255, 255, 0.7);
}

.course-card--overlay .course-card__tags .tag {
    border-color: rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
}

.course-card__img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}

.course-card__badge {
    background: var(--deep);
    color: #fff;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.course-card__body {
    padding: var(--space-md);
    position: relative;
}

.course-card__illust-row {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.course-card__illust {
    width: 80px;
    height: 80px;
    object-fit: contain;
    opacity: 0.8;
    flex-shrink: 0;
}

.course-card__name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: var(--space-sm);
}

.course-card__desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.course-card__meta {
    display: flex;
    align-items: baseline;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.course-card__time {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
}

.course-card__price {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--gold-dark);
}

.course-card__price small {
    font-size: 14px;
    font-weight: 500;
}

.course-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* --- open-faq --- */
.open-faq {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.open-faq__item {
    border-bottom: 1px solid var(--line);
}

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

.open-faq__q {
    padding: var(--space-lg) 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-heading);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    cursor: pointer;
}

.open-faq__q-label {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 22px;
    font-weight: 600;
    color: var(--gold);
    flex: 0 0 auto;
}

.open-faq__q-text {
    flex: 1;
}

.open-faq__q-toggle {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform var(--duration-fast) ease;
}

.open-faq__item.is-open .open-faq__q-toggle {
    transform: rotate(180deg);
}

.open-faq__a {
    padding: 0 0 var(--space-lg);
    padding-left: calc(15px * 1.5 + var(--space-md));
    font-size: 15px;
    color: var(--text-main);
    line-height: 2.0;
    display: none;
}

.open-faq__item.is-open .open-faq__a {
    display: block;
}

/* --- Article Card --- */
.article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.article-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform var(--duration-fast) ease,
        box-shadow var(--duration-fast) ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.article-card__img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.article-card__body {
    padding: var(--space-md);
}

.article-card__cat {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-dark);
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.article-card__title {
    font-family: var(--font-sub);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.article-card__excerpt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card__date {
    font-size: 13px;
    color: var(--text-light);
}

/* --- open-letter --- */
.open-letter {
    max-width: var(--container-narrow);
    margin: 0 auto;
    text-align: center;
    padding: var(--space-xl) 0;
}

.open-letter__bar {
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto var(--space-xl);
}

.open-letter__title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-heading);
    letter-spacing: 0.12em;
    margin-bottom: var(--space-xl);
}

.open-letter__text {
    font-size: 16px;
    color: var(--text-main);
    line-height: 2.2;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xl);
}

.open-letter__sign {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--gold-dark);
    font-weight: 600;
}


/* --- Flow Grid --- */
.flow-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-md);
    max-width: var(--container-max);
    margin: 0 auto;
}

/* --- Mechanism Grid --- */
.mechanism-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

/* --- Concern Grid --- */
.concern-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: var(--container-max);
    margin: 0 auto;
}

.concern-grid > div {
    display: flex;
    flex-direction: column;
}

.concern-grid .concern-voice {
    margin-top: auto;
    min-height: 200px;
}

/* =========================================
   mobile — スマホ専用 (〜767px)
   ========================================= */

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

    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
        font-size: 12px;
    }

    .comparison-table td:first-child {
        white-space: nowrap;
        font-size: 12px;
    }

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

    .open-profile__avatar {
        display: block;
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        margin: 0 auto var(--space-md);
    }

    .open-profile__image {
        display: none;
    }

    .col-2-text {
        gap: var(--space-sm);
    }

    .col-2-text__side {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: var(--space-sm) var(--space-md);
        padding: var(--space-sm);
    }

    .col-2-text__side .col-2-text__label {
        width: 100%;
        text-align: center;
        margin-bottom: 0;
    }

    .col-2-text__side img {
        width: 120px;
        flex-shrink: 0;
        margin: 0;
    }

    .col-2-text__content {
        font-size: 13px;
        line-height: 1.8;
    }

    .col-2-text__content strong {
        font-size: 14px;
    }
}

/* =========================================
   sm — 小型タブレット (576px〜767px)
   ========================================= */

@media (min-width: 576px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-section__title {
        font-size: 30px;
    }
}


/* =========================================
   md — タブレット以上
   ========================================= */

@media (min-width: 768px) {
    /* Section Headers */
    .section-header-a__en {
        font-size: 28px;
    }

    .section-header-a__ja {
        font-size: 26px;
    }

    .section-header-b__title {
        font-size: 28px;
    }

    .section-header-b2__en {
        font-size: 26px;
    }

    .section-header-b2__title {
        font-size: 28px;
    }

    .section-header-c__title {
        font-size: 24px;
    }

    .section-header-c__sub {
        font-size: 16px;
    }

    .section-header-d__en {
        font-size: 24px;
    }

    .section-header-d__title {
        font-size: 22px;
    }

    /* Hero */
    .hero-section {
        padding: var(--space-3xl) 0;
    }

    .hero-section::after {
        background: linear-gradient(to right, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.7) 35%, rgba(255, 255, 255, 0) 65%);
    }

    .hero-section__inner {
        padding: 0 var(--space-xl);
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        min-height: calc(100vh - 72px);
    }

    .hero-section__copy {
        width: 50%;
        flex: 0 0 50%;
    }

    .hero-section__target {
        font-size: 15px;
    }

    .hero-section__title {
        font-size: 42px;
    }

    .hero-section__subtitle {
        font-size: 18px;
    }

    .hero-section__usp {
        font-size: 18px;
    }

    .hero-section__buttons {
        align-items: flex-start;
    }

    .hero-section__micro {
        font-size: 14px;
    }

    /* Open Layout */
    .open-section {
        padding: var(--section-padding) var(--space-xl);
    }

    .open-section__text p {
        font-size: 18px;
    }

    .open-two-col {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3xl);
    }

    .open-two-col--media .open-two-col__image {
        display: block;
    }

    .open-two-col--media .media-img-mobile {
        display: none;
    }

    .open-two-col--reverse {
        direction: rtl;
    }

    .open-two-col--reverse>* {
        direction: ltr;
    }

    .open-two-col__text p {
        font-size: 18px;
    }

    /* col-4-icon */
    .col-4-icon {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-xl);
    }

    .col-4-icon__icon {
        width: 64px;
        height: 64px;
    }

    .col-4-icon__title {
        font-size: 15px;
    }

    .col-4-icon__desc {
        font-size: 14px;
    }

    /* Offer Banner */
    .offer-banner__title {
        font-size: 26px;
    }

    .offer-banner__desc {
        font-size: 16px;
    }

    /* Media Bar */
    .media-bar__stat-num {
        font-size: 32px;
    }

    .media-bar__detail {
        font-size: 16px;
    }

    /* Highlight Block */
    .highlight-block {
        padding: var(--space-2xl) var(--space-lg);
    }

    .highlight-block__title {
        font-size: 26px;
    }

    .highlight-block__text {
        font-size: 18px;
    }

    /* col-2-text */
    .col-2-text {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    .col-2-text__side {
        padding: var(--space-xl);
    }

    .col-2-text__content {
        font-size: 16px;
    }

    .col-2-text__content strong {
        font-size: 18px;
    }

    /* Open Benefit */
    .open-benefit__title {
        font-size: 18px;
    }

    .open-benefit__desc {
        font-size: 16px;
    }

    /* Open Profile */
    .open-profile {
        grid-template-columns: 1fr 320px;
        gap: var(--space-2xl);
        text-align: left;
    }

    .open-profile__image {
        max-width: none;
        margin: 0;
        border-radius: var(--radius-img);
        aspect-ratio: 3/4;
    }

    .open-profile__name {
        font-size: 26px;
    }

    .open-profile__text {
        font-size: 18px;
    }

    /* Gallery */
    .gallery {
        grid-template-columns: repeat(4, 1fr);
    }

    .gallery--featured {
        grid-template-columns: 1.4fr 1fr 1.4fr;
        grid-template-rows: 1fr 1fr;
    }

    .gallery__item--tall {
        grid-row: 1 / 3;
        aspect-ratio: auto !important;
    }

    /* Course Card */
    .course-grid {
        grid-template-columns: 1.4fr 1fr;
        grid-template-rows: 330px 330px;
    }

    .course-card--featured {
        grid-row: 1 / 3;
        min-height: auto;
    }

    .course-card--featured .course-card__name {
        font-size: 24px;
    }

    .course-card--overlay {
        min-height: auto;
    }

    .course-card__body {
        padding: var(--space-lg);
    }

    .course-card__illust {
        width: 100px;
        height: 100px;
    }

    .course-card__name {
        font-size: 20px;
    }

    .course-card__desc {
        font-size: 15px;
    }

    .course-card__time {
        font-size: 16px;
    }

    .course-card__price {
        font-size: 28px;
    }

    .course-card__price small {
        font-size: 15px;
    }

    /* Open FAQ */
    .open-faq__q {
        font-size: 18px;
    }

    .open-faq__q-label {
        font-size: 24px;
    }

    .open-faq__a {
        font-size: 16px;
    }

    /* Concern Grid */
    .concern-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Article */
    .article-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
    }

    .article-card__body {
        padding: var(--space-lg);
    }

    .article-card__cat {
        font-size: 14px;
    }

    .article-card__title {
        font-size: 18px;
    }

    .article-card__excerpt {
        font-size: 15px;
    }

    .article-card__date {
        font-size: 14px;
    }

    /* Open Letter */
    .open-letter {
        padding: var(--space-2xl) 0;
    }

    .open-letter__title {
        font-size: 20px;
    }

    .open-letter__text {
        font-size: 18px;
    }

    /* Checklist */
    .open-checklist__item {
        font-size: 18px;
    }

    /* Botanical Divider */
    .botanical-divider {
        max-width: 420px;
    }
}


