/* =================================================================
   Reset
================================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    font-size: 16px;
    scroll-behavior: smooth;
}
body {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    color: #1a1a1a;
    background: #fff;
    line-height: 1.7;
    overflow-x: hidden;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
a {
    color: inherit;
    text-decoration: none;
}
ul,
ol {
    list-style: none;
}
button {
    cursor: pointer;
    background: none;
    border: none;
    font: inherit;
}

/* =================================================================
   Design Tokens
================================================================= */
:root {
    --c-primary: #992f3b;
    --c-dark: #731c26;
    --c-light: #d74354;
    --c-green: #1fc397;
    --c-yellow: #e9d927;
    --c-pink: #f9eded;

    --grad-red: linear-gradient(270deg, #d74354 2.98%, #992f3b 99.96%);
    --grad-green: linear-gradient(270deg, #1fc397 0%, #14a07e 100%);
    --grad-orange: linear-gradient(90deg, #ffbb00 0%, #ff3700 100%);

    --f-noto: "Noto Sans JP", sans-serif;
    --f-pop: "Poppins", sans-serif;

    --w-inner: 1100px;
    --hh: 60px; /* SP header height */
}

/* =================================================================
   HEADER  SP（mobile-first）
================================================================= */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: stretch;
    height: var(--hh);
    /* 背景なし：nav-list のみ白 */
}

/* 左：広島県ロゴブロック */
.header__logo-block {
    width: 67px;
    flex-shrink: 0;
    background: var(--c-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.header__logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
}
.header__logo {
    width: 30px;
    height: auto;
    display: block;
}

/* 中央：ナビ（PC のみ） */
.header__nav {
    flex: 1;
    display: none;
    align-items: stretch;
    justify-content: flex-end;
}
/* nav-list のみ白背景＋左下16px角丸 */
.header__nav-list {
    display: flex;
    align-items: center;
    height: 100%;
    background: #fff;
    border-radius: 0 0 0 16px;
}
.header__nav-link {
    display: flex;
    align-items: center;
    padding: 0 24px;
    height: 100%;
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 15px;
    color: #000;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.header__nav-link:hover {
    opacity: 0.6;
}

/* 右：お申込みボタン */
.header__apply {
    width: 117px;
    flex-shrink: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-orange);
    color: #fff;
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 14px;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.header__apply:hover {
    opacity: 0.85;
}

/* =================================================================
   HERO  SP（mobile-first）
   - コンテンツを下部に配置（margin-top: auto）
   - ロゴが左カラム幅いっぱいに広がる
   - side_txt は年バッジと上端を揃えて右配置
================================================================= */
.hero {
    margin-top: calc(-1 * var(--hh));
    height: 100vh;
    min-height: 500px;
    background: url("../img/hero-bg.jpg") center center / cover no-repeat;
}

/* hero全体のフレックスコンテナ（縦積み） */
.hero__inner {
    width: 100%;
    height: 100%;
    padding: var(--hh) 20px 48px;
    display: flex;
    flex-direction: column;
}

/* コンテンツエリア：margin-top:auto で下部へ押し出す */
.hero__content {
    margin-top: auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* 左カラム：年バッジ・ロゴ・CTA を縦積み */
.hero__left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* 令和8年度 バッジ */
.hero__year {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    background: #fff;
    color: var(--c-primary);
    border-radius: 100px;
    padding: 5px 24px;
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 13px;
    white-space: nowrap;
    margin-top: 4vh;
}
.hero__year-num {
    font-family: var(--f-pop);
    font-weight: 700;
    font-style: normal;
    font-size: 14px;
    margin: 0 1px;
}

/* ロゴ：左カラム幅いっぱい */
.hero__logo {
    width: 100%;
    max-width: none;
    height: auto;
    margin-top: 16vh;
    filter: drop-shadow(0 0 25.6px rgba(43, 66, 41, 0.27));
}

/* お申込みはこちら ボタン */
.hero__cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: 14px;
    background: var(--grad-orange);
    color: #fff;
    border-radius: 100px;
    padding: 14px 28px;
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 15px;
    white-space: nowrap;
    transition:
        transform 0.25s,
        box-shadow 0.25s;
    overflow: hidden;
    z-index: 0;
}
.hero__cta span {
    position: relative;
    z-index: 1;
}
.hero__cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad-red);
    opacity: 0;
    transition: opacity 0.25s;
    border-radius: inherit;
}
.hero__cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(153, 47, 59, 0.45);
}
.hero__cta:hover::after {
    opacity: 1;
}

/* side_txt：右カラム（年バッジと上端揃え） */
.hero__side-txt {
    flex-shrink: 0;
    height: 200px; /* ロゴ高さに合わせる */
    width: auto;
    max-width: none;
}

/* =================================================================
   CHECKPOINT  SP（mobile-first）
   Layer順: bg2(green) → img_bg1(野菜) → body(カード) → img_float_bg
================================================================= */
.chkpt {
    background: var(--c-green) url("../img/point_img_bg1.png") center center /
        1238px no-repeat;
    position: relative;
    overflow: hidden;
    padding: 56px 20px 88px;
    @media screen and (max-width: 768px) {
        padding: 20px 20px 88px;
    }
}

/* Layer 2: img_bg1 浮遊野菜 */
.chkpt__bg-imgs {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.chkpt__bgimg {
    position: absolute;
    max-width: none;
    height: auto;
}

/* SP: 左右の主要なものだけ表示 */
.chkpt__bgimg--fa {
    width: 120px;
    left: -20px;
    top: 4%;
}
.chkpt__bgimg--af {
    width: 100px;
    right: -16px;
    top: 7%;
}
.chkpt__bgimg--l1 {
    display: none;
}
.chkpt__bgimg--dws {
    display: none;
}
.chkpt__bgimg--fw {
    width: 110px;
    left: -20px;
    bottom: 10%;
}
.chkpt__bgimg--l23 {
    width: 90px;
    right: 0;
    bottom: 28%;
}
.chkpt__bgimg--re {
    display: none;
}

/* HIROSHIMA 背景テキスト（bg2 と同層: z-index 1） */
.chkpt__hiroshima {
    position: absolute;
    bottom: -0.12em;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--f-pop);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(72px, 17vw, 230px);
    color: #fff;
    line-height: 0.9;
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
}

/* Layer 3: メインコンテンツ（カードより上） */
.chkpt__inner {
    position: relative;
    z-index: 2;
}

/* TTL: bagi + 見出し */
.chkpt__ttl {
    margin: auto;
    width: 575px;
}
@media screen and (max-width: 768px) {
    .chkpt__ttl {
        margin: 0 auto 32px;
        width: 100%;
    }
}

.chkpt__bagi {
    width: 80px;
    height: auto;
    flex-shrink: 0;
    max-width: none;
}

.chkpt__heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

/* 小バッジ「このような課題をお持ちの方が対象です」 */
.chkpt__subtitle {
    display: inline-block;
    background: #fff;
    color: #108163;
    border-radius: 100px;
    padding: 5px 14px;
    font-family: var(--f-noto);
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
}

/* 見出し1行目 */
.chkpt__h1 {
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 21px;
    color: #fff;
    line-height: 1.35;
}
.chkpt__h1 b {
    font-family: var(--f-pop);
    font-weight: 700;
    font-style: normal;
    font-size: 24px;
}

/* 見出し2行目 */
.chkpt__h2 {
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 21px;
    color: #fff;
    line-height: 1.35;
}
/* 講座・活用に黄色アンダーライン */
.chkpt__h2 mark {
    background: none;
    color: inherit;
    border-bottom: 3px solid var(--c-yellow);
    padding-bottom: 1px;
}

/* card (body) */
.chkpt__card {
    background: #f5d399;
    border-radius: 4px;
    padding: 0 16px;
}
.chkpt__card_inner {
    background: #fff;
    padding: 0 32px 16px;
}
/* クリップボード上部 */
.chkpt__card-head {
    display: flex;
    justify-content: center;
    padding: 0 0 20px;
    border-bottom: 2px solid #ebebeb;
    margin-bottom: 0;
}
.chkpt__card-clip {
    width: 160px;
    height: auto;
    max-width: none;
    margin-top: -32px;
}
@media screen and (max-width: 768px) {
    .chkpt__card {
        padding: 16px;
    }
    .chkpt__card-clip {
        margin-top: -16px;
    }
    .chkpt__card_inner {
        padding: 0 16px 16px;
    }
}

/* チェックリスト */
.chkpt__list {
    padding: 0;
}
.chkpt__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid #ebebeb;
    font-family: var(--f-noto);
    font-weight: 700;
    font-size: 15px;
    color: #1a1a1a;
    line-height: 1.5;
}
.chkpt__item:last-child {
    border-bottom: none;
}
.chkpt__check-icon {
    width: 30px;
    height: auto;
    flex-shrink: 0;
    max-width: none;
}

/* CTA */
.chkpt__cta {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    @media screen and (max-width: 768px) {
        margin: 10px 0 28px 0;
    }
}
.chkpt__cta-note {
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 14px;
    color: var(--c-primary);
}
.chkpt__cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-orange);
    color: #fff;
    border-radius: 100px;
    padding: 14px 36px;
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 15px;
    overflow: hidden;
    transition:
        transform 0.25s,
        box-shadow 0.25s;
    z-index: 0;
}
.chkpt__cta-btn span {
    position: relative;
    z-index: 1;
}
.chkpt__cta-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad-red);
    opacity: 0;
    transition: opacity 0.25s;
    border-radius: inherit;
}
.chkpt__cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(153, 47, 59, 0.45);
}
.chkpt__cta-btn:hover::after {
    opacity: 1;
}

/* Layer 4: img_float_bg（カード前面） */
.chkpt__float-imgs {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}
.chkpt__floatimg {
    position: absolute;
    max-width: none;
    height: auto;
}
/* SP: 右上の1枚だけ */
.chkpt__floatimg--a {
    width: 72px;
    right: 12px;
    top: 4%;
}
@media screen and (max-width: 768px) {
    .chkpt__floatimg--a {
        display: none;
    }
}
.chkpt__floatimg--b {
    display: none;
}

/* =================================================================
   PC  ( min-width: 768px )
================================================================= */
@media (min-width: 768px) {
    :root {
        --hh: 92px;
    }

    /* Header */
    .header__logo-block {
        width: 108px;
    }
    .header__logo {
        width: 56px;
    }
    .header__nav {
        display: flex;
    }
    .header__apply {
        width: 155px;
        font-size: 17px;
        margin-left: 0;
    }

    /* Hero */
    .hero__inner {
        max-width: var(--w-inner);
        margin: 0 auto;
        padding: calc(var(--hh) + 7px) 0 60px;
    }

    /* PC では hero__content が高さ全体を使い、内部で縦配置を管理 */
    .hero__content {
        margin-top: 0;
        flex: 1;
        align-items: flex-start;
        justify-content: space-between;
    }

    /* PC 左カラム：高さいっぱいに広げてCTAを下に */
    .hero__left {
        height: 100%;
    }

    .hero__year {
        font-size: 16px;
    }
    .hero__year-num {
        font-size: 22px;
    }

    .hero__logo {
        width: 30vw;
        margin-top: 5vh;
        filter: drop-shadow(0 0 51.2px rgba(43, 66, 41, 0.27));
    }

    .hero__cta {
        font-size: 22px;
        padding: 20px 56px;
        margin-top: 6vh;
        margin-bottom: 20px;
    }

    .hero__side-txt {
        height: 430px;
        margin-top: 10vh;
    }

    /* --- CHECKPOINT PC --- */
    .chkpt {
        padding: 40px 0 130px;
    }

    .chkpt__inner {
        max-width: var(--w-inner);
        margin: 0 auto;
    }

    .chkpt__ttl {
        gap: 32px;
        margin-bottom: 48px;
        align-items: center;
        justify-content: center;
    }

    .chkpt__bagi {
        width: 130px;
    }

    .chkpt__subtitle {
        font-size: 19px;
        padding: 8px 20px;
    }

    .chkpt__h1 {
        font-size: 32px;
    }
    .chkpt__h1 b {
        font-size: 36px;
    }

    .chkpt__h2 {
        font-size: 32px;
    }
    .chkpt__h2 mark {
        border-bottom-width: 4px;
    }

    .chkpt__card {
        max-width: 820px;
        margin: 0 auto;
        padding: 16px;
    }

    .chkpt__card-head {
        padding: 16px 0 28px;
    }

    .chkpt__card-clip {
        width: 240px;
    }

    .chkpt__item {
        font-size: 20px;
        padding: 24px 0;
        gap: 20px;
    }

    .chkpt__check-icon {
        width: 40px;
    }

    .chkpt__cta {
        margin: 40px 0;
        gap: 16px;
    }

    .chkpt__cta-note {
        font-size: 18px;
    }

    .chkpt__cta-btn {
        font-size: 18px;
        padding: 18px 64px;
    }

    /* PC 浮遊野菜: 全て表示 */
    .chkpt__bgimg--fa {
        width: 155px;
        left: -44px;
        top: 5%;
    }
    .chkpt__bgimg--af {
        width: 145px;
        right: -36px;
        top: 7%;
    }
    .chkpt__bgimg--l1 {
        display: block;
        width: 125px;
        left: -32px;
        top: 42%;
    }
    .chkpt__bgimg--dws {
        display: block;
        width: 165px;
        right: -44px;
        top: 38%;
    }
    .chkpt__bgimg--fw {
        width: 155px;
        left: -44px;
        bottom: 13%;
    }
    .chkpt__bgimg--l23 {
        width: 135px;
        right: 12px;
        bottom: 27%;
    }
    .chkpt__bgimg--re {
        display: block;
        width: 115px;
        right: 64px;
        bottom: 7%;
    }

    /* PC float 画像 */
    .chkpt__floatimg--a {
        width: 74px;
        right: 97px;
        top: 30%;
    }
    .chkpt__floatimg--b {
        display: block;
        width: 71px;
        left: 103px;
        bottom: 40%;
    }
}
@media (min-width: 1950px) {
    .hero__logo {
        width: 25vw;
        margin-top: 5vh;
        filter: drop-shadow(0 0 51.2px rgba(43, 66, 41, 0.27));
    }
}
@media screen and (max-width: 768px) {
    .hero__logo {
        margin: 4vh 0 2vh 0;
        width: 60vw;
    }
    .hero__side-txt {
        margin-top: 11vh;
        height: 250px;
    }
    .hero {
        height: 78vh;
        background: url("../img/hero-bg.jpg") 64% center / cover no-repeat;
    }
}

/* =================================================================
   COURSE
================================================================= */

/* SP base ---------------------------------------------------- */
.course {
    background: var(--c-primary);
}

.course__ttl {
    text-align: center;
    padding: 48px 24px 0;
}

.course__ttl-inner {
    max-width: 520px;
    margin: 0 auto;
}

.course__illust {
    width: 44px;
    height: auto;
    display: block;
    margin: 0 auto 12px;
    max-width: none;
}

.course__school-label {
    display: inline-block;
    background: #000;
    color: #fff;
    border-radius: 100px;
    padding: 4px 16px;
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 13px;
    margin-bottom: 14px;
}

.course__heading {
    color: #fff;
    font-family: var(--f-noto);
    font-weight: 900;
    text-align: center;
    margin: 0;
}

.course__h-line1,
.course__h-line2 {
    display: block;
    line-height: 1.3;
}

.course__h-line1 {
    font-size: 20px;
}

.course__h-num {
    font-family: var(--f-pop);
    font-weight: 700;
    font-style: normal;
    font-size: 35px;
}

.course__h-lg {
    font-size: 26px;
}
.course__h-sm {
    font-size: 19px;
}

.course__h-line2 {
    font-size: 21px;
    margin-top: 2px;
}

.course__nect {
    display: block;
    width: 100%;
    max-width: 340px;
    height: auto;
    margin: 20px auto 0;
    transform: rotate(180deg);
}

/* Body */
.course__body {
    padding: 0 16px 56px;
}

.course__inner {
    max-width: var(--w-inner);
    margin: 0 auto;
}

/* Badge */
.course__badge-row {
    text-align: center;
    padding: 20px 0;
}

.course__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: url("../img/course-badge-vector.svg") center / contain no-repeat;
}

.course__badge-num {
    font-family: var(--f-pop);
    font-weight: 700;
    font-size: 22px;
    color: #fff;
    letter-spacing: 2.76px;
    line-height: 1;
}

/* Cards */
.course__card {
    background: #fff;
    border-radius: 8px;
    padding: 20px 16px 20px;
}

.course__card-lead {
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 14px;
    color: var(--c-primary);
    text-align: center;
    margin-bottom: 16px;
    @media screen and (max-width: 768px) {
        font-size: 18px;
        margin-bottom: 0;
    }
}

.course__card-arrow {
    display: block;
    width: 32px;
    height: auto;
    margin: 0 auto 16px;
    max-width: none;
    transform: rotate(180deg);
}

.course__steps-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Support box (step2 カード内) */
.course__support {
    border: 3px solid #fff;
    border-radius: 8px;
    background: var(--c-primary);
    padding: 16px 12px;
    margin-bottom: 32px;
    text-align: center;
}

.course__support-label {
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 13px;
    color: var(--c-yellow);
    margin-bottom: 10px;
}

.course__support-text {
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 16px;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 8px;
}

.course__support-note {
    font-family: var(--f-noto);
    font-weight: 500;
    font-size: 13px;
    color: #fff;
}

/* Sub-cards */
.course__subcards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.course__subcard {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
}

.course__subcard-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
}

.course__subcard-type {
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 16px;
    color: var(--c-primary);
}

.course__subcard-target {
    display: inline-block;
    background: var(--c-pink);
    color: var(--c-primary);
    border-radius: 100px;
    padding: 2px 10px;
    font-family: var(--f-noto);
    font-weight: 500;
    font-size: 12px;
}

.course__subcard-sep {
    height: 1px;
    background: #ebebeb;
    margin-bottom: 12px;
}

.course__subcard-desc {
    font-family: var(--f-noto);
    font-weight: 500;
    font-size: 14px;
    color: #000;
    line-height: 1.6;
    margin-bottom: 12px;
}

.course__subcard-detail {
    background: #f2f2f2;
    border-radius: 6px;
    padding: 12px 14px;
}

.course__subcard-detail p {
    font-family: var(--f-noto);
    font-weight: 500;
    font-size: 13px;
    color: #000;
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 4px;
    line-height: 1.6;
}

.course__subcard-detail p:last-child {
    margin-bottom: 0;
}

.course__bull {
    color: var(--c-primary);
    flex-shrink: 0;
}

/* PC 768px+ COURSE overrides --------------------------------- */
@media (min-width: 768px) {
    .course__ttl {
        padding: 72px 40px 0;
    }

    .course__ttl-inner {
        max-width: var(--w-inner);
    }

    .course__illust {
        width: 67px;
        margin-bottom: 16px;
    }

    .course__school-label {
        font-size: 18px;
        padding: 6px 24px;
        margin-bottom: 20px;
    }

    .course__h-line1 {
        font-size: 32px;
    }
    .course__h-num {
        font-size: 55px;
    }
    .course__h-lg {
        font-size: 42px;
    }
    .course__h-sm {
        font-size: 30px;
    }

    .course__h-line2 {
        font-size: 33px;
        margin-top: 4px;
    }

    .course__nect {
        max-width: 580px;
        margin-top: 28px;
    }

    .course__body {
        padding: 0 40px 80px;
    }

    .course__badge-row {
        padding: 24px 0;
    }

    .course__badge {
        width: 62px;
        height: 62px;
    }

    .course__badge-num {
        font-size: 23px;
    }

    .course__card {
        padding: 20px 56px 1px;
        margin-top: -40px;
    }

    .course__card-lead {
        font-size: 23px;
        margin-bottom: 24px;
    }

    .course__card-arrow {
        width: 70px;
        margin-bottom: 24px;
    }

    .course__support {
        padding: 24px 40px;
    }

    .course__support-label {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .course__support-text {
        font-size: 23px;
        margin-bottom: 12px;
    }

    .course__support-note {
        font-size: 16px;
    }

    .course__subcards {
        flex-direction: row;
        gap: 24px;
    }

    .course__subcard {
        flex: 1;
        padding: 20px 24px;
    }

    .course__subcard-type {
        font-size: 18px;
    }
    .course__subcard-target {
        font-size: 13px;
    }
    .course__subcard-desc {
        font-size: 16px;
    }

    .course__subcard-detail p {
        font-size: 14px;
    }
}

/* =================================================================
   PROGRAM
================================================================= */
.prog {
    background: #fff;
    border-radius: 40px 40px 0 0;
    padding: 52px 0 64px;
}

.prog__inner {
    width: 100%;
    max-width: var(--w-inner);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Section heading --- */
.prog__ttl {
    text-align: center;
    margin-bottom: 32px;
}

.prog__label {
    display: inline-block;
    background: #000;
    color: #fff;
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 14px;
    border-radius: 100px;
    padding: 4px 20px;
    margin-bottom: 8px;
}

.prog__h {
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 32px;
    color: #000;
    line-height: 1.1;
}

/* --- Accordion list --- */
.prog__list {
    display: flex;
    flex-direction: column;
}

/* --- Accordion item --- */
.prog__item {
    border-top: 3px solid var(--c-green);
}

.prog__item:last-child {
    border-bottom: 3px solid var(--c-green);
}

/* --- Accordion head --- */
.prog__head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    background: #fff;
    text-align: left;
}

.prog__head-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.prog__head-icon {
    flex-shrink: 0;
    height: 36px;
    width: auto;
}

.prog__head-name {
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 16px;
    color: #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prog__head-badge {
    flex-shrink: 0;
    display: inline-block;
    background: rgba(31, 195, 151, 0.11);
    color: var(--c-green);
    font-family: var(--f-pop);
    font-weight: 500;
    font-size: 11px;
    border-radius: 100px;
    padding: 2px 10px;
    white-space: nowrap;
}

/* --- Toggle button pill --- */
.prog__head-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--c-green);
    border-radius: 100px;
    padding: 4px 10px 4px 4px;
}

.prog__item--active .prog__head-btn {
    background: #000;
}

.prog__head-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prog__head-circle::before {
    content: "";
    display: block;
    width: 10px;
    height: 2px;
    background: var(--c-green);
    border-radius: 1px;
    position: absolute;
}

.prog__head-circle::after {
    content: "";
    display: block;
    width: 2px;
    height: 10px;
    background: var(--c-green);
    border-radius: 1px;
    position: absolute;
}

.prog__item--active .prog__head-circle::before {
    background: #000;
}

.prog__item--active .prog__head-circle::after {
    display: none;
}

.prog__head-btn-label {
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 12px;
    color: #fff;
    white-space: nowrap;
}

/* --- Accordion body (grid animation) --- */
.prog__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
}

.prog__item--active .prog__body {
    grid-template-rows: 1fr;
}

.prog__body-inner {
    overflow: hidden;
    background: #f8f5f0;
    border-radius: 0 0 16px 16px;
}

/* =====================================================
   経営発展コース body
===================================================== */

/* Title area */
.prog__hatten-ttl-area {
    padding: 24px 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.prog__hatten-pill {
    display: inline-block;
    background: #000;
    color: #fff;
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 14px;
    border-radius: 100px;
    padding: 5px 20px;
}

.prog__hatten-heading {
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 26px;
    color: #000;
    line-height: 1.4;
}

.prog__hatten-thin {
    font-weight: 100;
}

/* ベージュ背景ラッパー */
.prog__hatten-bg {
    background: #f8f5f0;
    border-radius: 16px;
    margin: 16px 12px 0;
}

/* Detail card (time/price/limit) */
.prog__hatten-detail {
    width: 50%;
    margin: 0 auto;
}
@media screen and (max-width: 768px) {
    .prog__hatten-detail {
        width: 90%;
        margin: 0 auto 16px;
    }
}

.prog__hatten-detail-card {
    border: 1px solid #dbd1bf;
    border-radius: 10px;
    background: #fff;
    padding: 10px 16px;
    text-align: center;
}

.prog__online-tag {
    display: inline-block;
    background: var(--c-green);
    color: #fff;
    font-family: var(--f-noto);
    font-weight: 700;
    font-size: 12px;
    border-radius: 100px;
    padding: 2px 12px;
    margin-bottom: 6px;
}

.prog__hatten-schedule {
    font-family: var(--f-pop);
    font-weight: 700;
    font-size: 14px;
    color: #000;
}

.prog__hatten-limit {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--c-green);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
    gap: 1px;
}

.prog__limit-top {
    margin: 0;
    line-height: 1;
}

.prog__limit-num {
    font-family: var(--f-pop);
    font-weight: 700;
    font-size: 21px;
    color: #fff;
}

.prog__limit-unit {
    font-family: var(--f-pop);
    font-weight: 700;
    font-size: 9px;
    color: #fff;
}

.prog__limit-label {
    font-family: var(--f-noto);
    font-weight: 700;
    font-size: 17px;
    color: #fff;
    margin: 0;
    line-height: 1;
}

/* Point box */
.prog__point_wrap {
    display: flex;
    justify-content: center;
}
/* SP: ブロックレイアウト（flex なし） */
.prog__point {
    margin: 16px 20px 0;
    display: block;
    border: 3px solid #000;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    width: 100%;
}

.prog__point-left {
    background: #000;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.prog__point-icon {
    width: 32px;
    height: auto;
}

.prog__point-text {
    font-family: var(--f-noto);
    font-weight: 700;
    font-size: 16px;
    color: #000;
    line-height: 1.9;
    padding: 12px 14px;
    text-align: center;
}

.prog__mark {
    background: var(--c-yellow);
    border-radius: 3px;
    padding: 0 2px;
    font-style: normal;
    color: inherit;
}

/* Program courses list */
.prog__courses {
    padding: 20px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.prog__course {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px;
    padding: 20px 0 40px;
}

.prog__course:first-child {
    border-top: none;
}

.prog__course-badge {
    width: 129px;
    height: auto;
    flex-shrink: 0;
    align-self: start;
    margin-top: -40px;
    z-index: 1;
}

.prog__course-main {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    border: 3px solid #000;
    background: #fff;
    padding: 24px 24px 24px 100px;
    margin-left: -100px;
    z-index: 0;
}
@media screen and (max-width: 768px) {
    .prog__course-main {
        display: flex;
        flex-direction: column;
        gap: 10px;
        min-width: 0;
        border: 3px solid #000;
        background: #fff;
        padding: 40px 24px 24px;
        margin-left: -88px;
        z-index: 0;
    }
}

/* Topic + date row */
.prog__course-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid #000;
    padding-bottom: 16px;
}

.prog__course-topic {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prog__course-icon {
    flex-shrink: 0;
    height: 36px;
    width: auto;
}

.prog__course-name {
    font-family: var(--f-noto);
    font-weight: 700;
    font-size: 20px;
    color: #000;
    line-height: 1.4;
}

/* Date pill */
.prog__date-pill {
    display: inline-flex;
    align-items: center;
    background: #000;
    border-radius: 100px;
    padding: 4px 14px;
    align-self: flex-start;
}

.prog__date-label {
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 11px;
    color: #fff;
    white-space: nowrap;
}

.prog__date-value {
    font-family: var(--f-pop);
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    white-space: nowrap;
}

/* Divider */

/* Content / Lecturer rows */
.prog__course-row {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 10px;
    align-items: start;
}

.prog__row-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    font-family: var(--f-noto);
    font-weight: 700;
    font-size: 11px;
    border-radius: 100px;
    height: 24px;
    white-space: nowrap;
    margin-top: 2px;
}

.prog__course-desc {
    font-family: var(--f-noto);
    font-weight: 500;
    font-size: 13px;
    color: #1a1a1a;
    line-height: 1.75;
}

/* Lecturer info */
.prog__lecturer-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.prog__lecturer-photo {
    width: 56px;
    height: 56px;
}

.prog__lecturer-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.prog__role-badge {
    display: inline-block;
    border: 1px solid #000;
    color: #000;
    font-family: var(--f-noto);
    font-weight: 700;
    font-size: 10px;
    border-radius: 100px;
    padding: 1px 10px;
    align-self: flex-start;
}

.prog__lecturer-org {
    font-size: 11px;
    color: #555;
    line-height: 1.5;
}

.prog__lecturer-name {
    font-family: var(--f-noto);
    font-weight: 700;
    font-size: 13px;
    color: #000;
    line-height: 1.5;
}

/* =====================================================
   Table (水稲 etc.)
===================================================== */
.prog__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 20px 24px;
}

.prog__table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 13px;
    color: #1a1a1a;
    background: #fff;
}

.prog__table--wide {
    min-width: 860px;
}

.prog__th {
    background: var(--c-green);
    color: #fff;
    font-family: var(--f-noto);
    font-weight: 700;
    font-size: 13px;
    padding: 10px 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.prog__th--no {
    width: 5%;
}
.prog__th--date {
    width: 7%;
}
.prog__th--theme {
    width: 8%;
}
.prog__th--content {
    width: 50%;
}
.prog__th--lecturer {
    width: 20%;
}

.prog__td {
    padding: 10px 12px;
    border: 1px solid #d8d8d8;
    vertical-align: top;
    line-height: 1.6;
}

.prog__td--no,
.prog__td--date {
    text-align: center;
    vertical-align: middle;
    font-weight: 700;
    white-space: nowrap;
}

.prog__td--theme {
    text-align: center;
    vertical-align: middle;
    font-weight: 700;
}

.prog__td--guest {
}
.prog__td--guest .prog__guest {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}
.prog__td--guest .prog__guest .prog__guest-icon {
    width: 49px;
    height: auto;
}
.prog__td-list {
    list-style: disc;
    padding-left: 1.2em;
}

.prog__td-list li {
    line-height: 1.65;
}

.prog__td--note {
    font-size: 12px;
    color: #666;
    background: #fafafa;
    padding: 8px 12px;
}

.prog__th--venue {
    width: 5%;
}
.prog__th--practice {
    width: 30%;
}

.prog__td--venue {
    text-align: center;
    vertical-align: middle;
    font-weight: 700;
    white-space: nowrap;
}

.prog__td--practice {
    vertical-align: top;
    font-size: 13px;
    line-height: 1.6;
}

.prog__td--flow {
    padding: 6px 10px;
    vertical-align: top;
}

/* フロー図 */
.prog__flow {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.prog__flow-box {
    background: #fffde7;
    border: 1px solid #f5d000;
    border-radius: 4px;
    padding: 7px 10px;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.prog__flow-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.prog__flow-badge {
    background: #1fc397;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 0;
    text-align: center;
    width: 100%;
}

.prog__flow-chevron {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 9px solid #f5d000;
    align-self: center;
}

/* 最下部の┘型矢印：中央から縦→左端まで横→◄ */
.prog__flow-left-arrow {
    align-self: flex-start;
    width: 50%;
    height: 22px;
    border-right: 3px solid #f5d000;
    border-bottom: 3px solid #f5d000;
    box-sizing: border-box;
    margin-top: 4px;
    position: relative;
}

.prog__flow-left-arrow::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: -10px;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-right: 10px solid #f5d000;
}

.prog__practice-badge {
    display: block;
    margin-top: 8px;
    padding: 3px 10px;
    background: #1fc397;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    text-align: center;
}

.prog__td-title {
    font-weight: 700;
    margin-bottom: 4px;
}

/* =================================================================
   PROGRAM — PC overrides (min-width: 768px)
================================================================= */
@media (min-width: 768px) {
    .prog {
        padding: 80px 0 100px;
        border-radius: 40px 40px 64px 64px;
    }

    .prog__inner {
        padding: 0 40px;
    }

    .prog__ttl {
        margin-bottom: 40px;
    }

    .prog__label {
        font-size: 18px;
        padding: 5px 24px;
    }

    .prog__h {
        font-size: 40px;
    }

    .prog__head {
        padding: 18px 24px;
        gap: 16px;
    }

    .prog__head-left {
        gap: 14px;
    }

    .prog__head-icon {
        height: 48px;
    }

    .prog__head-name {
        font-size: 22px;
    }

    .prog__head-badge {
        font-size: 13px;
        padding: 3px 14px;
    }

    .prog__head-btn {
        padding: 5px 14px 5px 5px;
        gap: 8px;
    }

    .prog__head-circle {
        width: 26px;
        height: 26px;
    }

    .prog__head-circle::before {
        width: 12px;
    }
    .prog__head-circle::after {
        height: 12px;
    }

    .prog__head-btn-label {
        font-size: 15px;
    }

    /* 経営発展 — ベージュ背景 */
    .prog__hatten-bg {
        margin: 24px 40px 0;
    }

    /* 経営発展 — header */
    .prog__hatten-ttl-area {
        padding: 32px 20px 0;
    }

    .prog__hatten-pill {
        font-size: 18px;
        padding: 6px 28px;
    }

    .prog__hatten-heading {
        font-size: 32px;
    }

    .prog__online-tag {
        font-size: 15px;
        font-weight: 900;
    }

    .prog__hatten-schedule {
        font-size: 18px;
    }

    .prog__hatten-detail {
        padding: 20px 40px 24px;
        justify-content: center;
        gap: 40px;
    }

    .prog__hatten-limit {
        width: 95px;
        height: 95px;
    }

    .prog__limit-num {
        font-size: 31px;
    }

    .prog__limit-unit {
        font-size: 13px;
    }

    .prog__limit-label {
        font-size: 26px;
    }

    .prog__point {
        margin: 20px 40px 0;
        display: flex;
        align-items: stretch;
    }

    .prog__point-left {
        width: 80px;
        padding: 16px;
        flex-shrink: 0;
    }

    .prog__point-icon {
        width: 44px;
    }

    .prog__point-text {
        font-size: 23px;
        padding: 16px 20px;
        display: flex;
        align-items: center;
        text-align: left;
    }

    .prog__point-text br {
        display: none;
    }

    /* courses */
    .prog__courses {
        padding: 24px 40px 32px;
    }

    .prog__course {
        grid-template-columns: 129px 1fr;
        gap: 24px;
        padding: 28px 0;
    }

    .prog__course-badge {
        width: 129px;
    }

    .prog__course-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        border-bottom: 1px dotted #000;
        padding-bottom: 12px;
        margin-bottom: 12px;
    }

    .prog__course-name {
        font-size: 23px;
    }

    .prog__course-icon {
        height: 44px;
    }

    .prog__date-pill {
        height: 37px;
        padding: 4px 18px;
    }

    .prog__date-label {
        font-size: 14px;
    }

    .prog__date-value {
        font-size: 16px;
    }

    .prog__course-row {
        grid-template-columns: 60px 1fr;
        gap: 14px;
    }

    .prog__row-label {
        font-size: 13px;
        height: 28px;
    }

    .prog__course-desc {
        font-size: 15px;
    }

    .prog__lecturer-photo {
        width: 90px;
        height: 90px;
    }

    .prog__lecturer-name {
        font-size: 14px;
    }

    .prog__lecturer-org {
        font-size: 12px;
    }

    /* table */
    .prog__table-wrap {
        padding: 24px 40px 32px;
    }

    .prog__table {
        font-size: 14px;
    }
}

/* =================================================================
   DIAGNOSIS
================================================================= */
.diag {
    background: #f9eded;
    padding: 40px 0 52px;
}

.diag__inner {
    width: 100%;
    max-width: var(--w-inner);
    margin: 0 auto;
    padding: 0 20px;
}

.diag__ttl {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    text-align: center;
}

.diag__plant {
    width: 34px;
    height: auto;
}

.diag__label {
    display: inline-block;
    background: #000;
    color: #fff;
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 16px;
    border-radius: 100px;
    padding: 7px 28px;
}

.diag__body {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
}

.diag__flow-group {
    flex: 1;
    min-width: 0;
    display: flex;
}

.diag__chart-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill;
}

.diag__btn-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    width: 44%;
    height: 100%;
}

.diag__btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #992f3b;
    border-radius: 8px;
    padding: 7px 10px;
    border: none;
    cursor: pointer;
    text-align: left;
    width: 100%;
    flex: 1;
    transition: opacity 0.2s;
}

.diag__btn:hover {
    opacity: 0.8;
}

.diag__btn-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.diag__btn-name {
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 11px;
    color: #fff;
    line-height: 1.4;
}

/* =================================================================
   DIAGNOSIS — PC overrides (min-width: 768px)
================================================================= */
@media (min-width: 768px) {
    .diag {
        padding: 64px 0 80px;
    }

    .diag__inner {
        padding: 0 40px;
    }

    .diag__plant {
        width: 67px;
    }

    .diag__label {
        font-size: 20px;
        padding: 9px 36px;
    }

    .diag__ttl {
        margin-bottom: 32px;
        gap: 10px;
    }

    .diag__body {
        gap: 32px;
    }

    .diag__btn-group {
        margin-top: 90px;
        width: 300px;
        gap: 10px;
    }

    .diag__btn {
        padding: 26px 20px;
        gap: 16px;
        border-radius: 12px;
    }

    .diag__btn-icon {
        width: 52px;
        height: 52px;
    }

    .diag__btn-name {
        font-size: 18px;
    }
}

/* =================================================================
   VOICE  SP（mobile-first）
================================================================= */
.voice {
    background-image: url(../img/voice-bg.jpg);
    background-size: cover;
    background-position: center top;
    background-repeat: repeat;
    padding: 37px 0 80px;
}
.voice__inner {
    width: 100%;
    max-width: var(--w-inner);
    margin: 0 auto;
    padding: 0 14px;
}

/* --- Title --- */
.voice__ttl {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    text-align: center;
}
.voice__ttl-plant {
    width: 34px;
    height: auto;
}
.voice__ttl-label {
    display: inline-block;
    background: #000;
    color: #fff;
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 16px;
    border-radius: 100px;
    padding: 7px 28px;
}

/* --- List --- */
.voice__list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* --- Item --- */
.voice__item {
    position: relative;
}
.voice__kv {
    margin: 0;
    width: 92.5%;
    border-radius: 12px;
    overflow: hidden;
}
.voice__photo {
    width: 100%;
    height: auto;
}

/* --- White card --- */
.voice__card {
    position: relative;
    z-index: 1;
    margin-top: -24px;
    margin-left: 16.4%;
    background: #fff;
    border-radius: 12px;
    padding: 17px 18px 28px;
    overflow: hidden;
}

/* --- Quote decoration (positioned relative to .voice__item) --- */
.voice__quote {
    position: absolute;
    right: 4%;
    top: 39px;
    font-family: "Arapey", serif;
    font-size: 100px;
    color: rgba(156, 174, 182, 0.24);
    line-height: 1;
    z-index: 2;
    pointer-events: none;
}

/* --- Course row --- */
.voice__course-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}
.voice__pill {
    display: inline-block;
    background: var(--c-green);
    color: #fff;
    font-family: var(--f-noto);
    font-weight: 700;
    font-size: 10px;
    border-radius: 100px;
    padding: 3px 10px;
    align-self: flex-start;
}
.voice__course {
    font-family: var(--f-noto);
    font-weight: 700;
    font-size: 13px;
    color: var(--c-green);
    margin: 0;
    line-height: 1.4;
}

/* --- Testimonial --- */
.voice__text {
    font-family: var(--f-noto);
    font-weight: 500;
    font-size: 13px;
    line-height: 2;
    color: #1a1a1a;
    margin: 0 0 16px;
}

/* --- Separator --- */
.voice__sep {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    margin: 0 0 14px;
}

/* --- Name / Detail --- */
.voice__name {
    font-family: var(--f-noto);
    font-weight: 500;
    font-size: 12px;
    color: #1a1a1a;
    margin: 0 0 5px;
}
.voice__detail {
    font-family: var(--f-noto);
    font-weight: 400;
    font-size: 11px;
    color: #555;
    margin: 0;
    line-height: 1.7;
}

/* --- Num image (Voice 01 / 02 / 03 script) --- */
.voice__num {
    position: absolute;
    top: 86px;
    left: 43%;
    width: 52%;
    z-index: 2;
    pointer-events: none;
}

/* =================================================================
   VOICE  PC overrides（min-width: 768px）
================================================================= */
@media (min-width: 768px) {
    .voice {
        padding: 74px 0 160px;
    }
    .voice__inner {
        padding: 0;
    }

    /* Title */
    .voice__ttl {
        gap: 10px;
        margin-bottom: 76px;
    }
    .voice__ttl-plant {
        width: 67px;
    }
    .voice__ttl-label {
        font-size: 20px;
        padding: 9px 36px;
    }

    /* List */
    .voice__list {
        gap: 80px;
    }

    /* Item */
    .voice__item {
        height: 641px;
    }
    .voice__item--01 {
        height: 673px;
    }

    /* Photo (kv) */
    .voice__kv {
        position: absolute;
        left: 0;
        top: 0;
        width: 92.8%; /* 1021/1100 */
        z-index: 1;
        border-radius: 12px;
        overflow: hidden;
    }
    .voice__item--01 .voice__kv {
        width: 94%; /* 1034/1100 */
    }
    .voice__photo {
        width: 100%;
        height: 541px;
        object-fit: fill;
    }

    /* White card */
    .voice__card {
        position: absolute;
        left: 46.6%; /* 513/1100 */
        top: 145px;
        right: 0;
        bottom: 0;
        margin-top: 0;
        margin-left: 0;
        border-radius: 12px;
        padding: 73px 47px 40px 37px;
        overflow: hidden;
        z-index: 2;
    }

    /* Quote decoration */
    .voice__quote {
        right: 25px;
        top: 125px;
        font-size: 300px;
        z-index: 3;
    }

    /* Course row */
    .voice__course-row {
        gap: 5px;
        margin-bottom: 12px;
    }
    .voice__pill {
        font-size: 12px;
        padding: 4px 16px;
    }
    .voice__course {
        font-size: 16px;
    }

    /* Testimonial */
    .voice__text {
        font-size: 18px;
        margin-bottom: 24px;
    }

    /* Separator */
    .voice__sep {
        margin-bottom: 22px;
    }

    /* Name / Detail */
    .voice__name {
        font-size: 14px;
        margin-bottom: 8px;
    }
    .voice__detail {
        font-size: 14px;
    }

    /* Num image */
    .voice__num {
        left: 39%; /* ≈ 435/1100 */
        top: 47px;
        width: 33%; /* ≈ 363/1100 */
    }
}

/* =================================================================
   FLOW  SP（mobile-first）
================================================================= */
.flow {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 20px;
    padding: 28px 0 77px;
    margin-top: -20px;
    margin-bottom: -20px;
}
.flow__inner {
    width: 100%;
    max-width: var(--w-inner);
    margin: 0 auto;
    padding: 0 14px;
}
.flow__ttl {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    margin-bottom: 26px;
    text-align: center;
}
.flow__ttl-illust {
    width: 42px;
    height: auto;
}
.flow__ttl-pill {
    display: inline-block;
    background: #000;
    color: #fff;
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 11px;
    border-radius: 100px;
    padding: 5px 14px;
}
.flow__ttl-heading {
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 22px;
    color: #000;
    margin: 0;
    line-height: 1.3;
}

/* Step list */
.flow__body {
    display: flex;
    flex-direction: column;
}
.flow__step {
    position: relative;
    display: flex;
    align-items: stretch;
}
.flow__badge {
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 100%;
    min-height: 81px;
    background: #992f3b;
    border-radius: 8px 0 0 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    z-index: 1;
    flex-shrink: 0;
}
.flow__badge-label {
    font-family: var(--f-poppins);
    font-weight: 700;
    font-size: 9px;
    color: #fff;
    line-height: 1;
}
.flow__badge-num {
    font-family: var(--f-poppins);
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    line-height: 1;
}
.flow__card {
    margin-left: 22px;
    flex: 1;
    min-height: 81px;
    border: 3px solid #e1e1e1;
    border-radius: 8px;
    background: #fff;
    padding: 14px 12px 14px 33px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}
.flow__card-ttl {
    font-family: var(--f-noto);
    font-weight: 700;
    font-size: 16px;
    color: #000;
    margin: 0;
    line-height: 1.5;
}
.flow__card-body {
    font-family: var(--f-noto);
    font-weight: 400;
    font-size: 14px;
    color: #333;
    margin: 0;
    line-height: 1.62;
}

/* Arrow between steps */
.flow__arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 18px;
}
.flow__arrow::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-top: 16px solid #992f3b;
}

/* GOAL step */
.flow__badge--goal {
    background: #992f3b;
}
.flow__badge-goal-txt {
    font-family: var(--f-poppins);
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    line-height: 1;
}
.flow__card--goal {
    background: rgba(153, 47, 59, 0.14);
    border-color: #992f3b;
}
.flow__card-ttl--goal {
    color: #992f3b;
}

/* =================================================================
   FLOW  PC overrides（min-width: 768px）
================================================================= */
@media (min-width: 768px) {
    .flow {
        border-radius: 64px;
        padding: 77px 0 155px;
        margin-top: -64px;
        margin-bottom: -64px;
    }
    .flow__inner {
        padding: 0;
    }
    .flow__ttl {
        gap: 10px;
        margin-bottom: 65px;
    }
    .flow__ttl-illust {
        width: 67px;
    }
    .flow__ttl-pill {
        font-size: 18px;
        padding: 6px 24px;
    }
    .flow__ttl-heading {
        font-size: 32px;
    }

    .flow__body {
        max-width: 900px;
        margin: 0 auto;
    }
    .flow__badge {
        width: 115px;
        min-height: 162px;
        gap: 4px;
    }
    .flow__badge-label {
        font-size: 17px;
    }
    .flow__badge-num {
        font-size: 28px;
    }
    .flow__card {
        margin-left: 58px;
        min-height: 162px;
        padding: 43px 40px 44px 90px;
        gap: 11px;
        justify-content: flex-start;
    }
    .flow__card-ttl {
        font-size: 21px;
    }
    .flow__card-body {
        font-size: 17px;
    }
    .flow__arrow {
        height: 35px;
    }
    .flow__arrow::before {
        border-left: 33px solid transparent;
        border-right: 33px solid transparent;
        border-top: 32px solid #992f3b;
    }
    .flow__badge-goal-txt {
        font-size: 28px;
    }
}

/* =================================================================
   CTA  SP
================================================================= */
.cta {
    position: relative;
    background: #992f3b;
    overflow: hidden;
    padding-bottom: 36px;
}
.cta__deco {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 0;
    pointer-events: none;
    line-height: 0;
    text-align: center;
}
.cta__deco-img {
    display: none;
}
.cta__deco-img--sp {
    display: block;
    width: 100%;
    height: auto;
}

.cta__inner {
    position: relative;
    z-index: 1;
    max-width: var(--w-inner);
    margin: 0 auto;
    padding: 65px 14px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta__ttl {
    text-align: center;
    margin-bottom: 45px;
}
.cta__ttl-pill {
    display: inline-block;
    background: #fff;
    color: #992f3b;
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 12px;
    border-radius: 100px;
    padding: 5px 18px;
    margin-bottom: 8px;
    white-space: nowrap;
}
.cta__ttl-heading {
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 24px;
    color: #fff;
    margin: 0;
    line-height: 1.4;
}
.cta__quote {
    font-weight: 100;
}

.cta__card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 15.6px 10px rgba(109, 40, 48, 0.47);
    padding: 28px 14px 22px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.cta__card-notice {
    display: flex;
    align-items: center;
    gap: 30px;
    color: #992f3b;
    font-family: var(--f-noto);
    font-weight: 700;
    font-size: 18px;
    white-space: nowrap;
}
.cta__card-notice::before {
    content: "";
    width: 4px;
    height: 26px;
    background: #992f3b;
    transform: skewX(15deg);
    flex-shrink: 0;
}
.cta__card-notice::after {
    content: "";
    width: 4px;
    height: 26px;
    background: #992f3b;
    transform: skewX(-15deg);
    flex-shrink: 0;
}

.cta__form {
    display: flex;
    width: 100%;
    border-radius: 8px;
    justify-content: center;
}
.cta__input {
    flex: 1;
    min-width: 0;
    background: #f3ebeb;
    border: none;
    padding: 10px 8px;
    font-family: var(--f-noto);
    font-size: 8px;
    color: #333;
    outline: none;
}
.cta__input::placeholder {
    color: #999;
}
.cta__btn {
    position: relative;
    display: block;
    background: var(--grad-orange);
    color: #fff;
    border: none;
    padding: 16px 140px;
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 20px;
    white-space: nowrap;
    cursor: pointer;
    border-radius: 100px;
    overflow: hidden;
    z-index: 0;
    transition:
        transform 0.25s,
        box-shadow 0.25s;
    text-decoration: none;
}
@media screen and (max-width: 768px) {
    .cta__btn {
        padding: 16px 16vw;
    }
}

.cta__btn span {
    position: relative;
    z-index: 1;
}
.cta__btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--grad-red);
    opacity: 0;
    transition: opacity 0.25s;
    border-radius: inherit;
}
.cta__btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(153, 47, 59, 0.45);
}
.cta__btn:hover::after {
    opacity: 1;
}

.cta__note {
    font-family: var(--f-noto);
    font-weight: 400;
    font-size: 10px;
    color: #333;
    margin: 0;
}

/* =================================================================
   FAQ  SP
================================================================= */
.faq {
    position: relative;
    z-index: 1;
    padding: 0 14px;
    box-sizing: border-box;
}
.faq__inner {
    background: #731c26;
    border-radius: 8px;
    padding: 20px 14px 24px;
}
.faq__ttl-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 28px;
}
.faq__plant {
    width: 23px;
    height: auto;
}
.faq__ttl {
    font-family: var(--f-noto);
    font-weight: 900;
    font-size: 20px;
    color: #fff;
    margin: 0;
}
.faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq__item {
    border-radius: 8px;
    overflow: hidden;
}
.faq__q {
    background: #fff;
    padding: 12px 10px 12px 8px;
    display: flex;
    align-items: flex-start;
    gap: 7px;
}
.faq__a {
    background: #f8f5f0;
    padding: 12px 10px 16px 8px;
    display: flex;
    align-items: flex-start;
    gap: 7px;
}
.faq__badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-poppins);
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    flex-shrink: 0;
    line-height: 0;
}
.faq__badge--q {
    background: #1fc397;
}
.faq__badge--a {
    background: #992f3b;
}
.faq__text {
    font-family: var(--f-noto);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}
.faq__q .faq__text {
    color: #2b2b2b;
}
.faq__a .faq__text {
    color: #992f3b;
}

/* =================================================================
   FOOTER  SP
================================================================= */
.footer {
    background: #000;
    text-align: center;
    padding: 18px 14px;
}
.footer__copy {
    font-family: var(--f-noto);
    font-weight: 700;
    font-size: 12px;
    color: #fff;
    margin: 0;
}

/* =================================================================
   CTA / FAQ / FOOTER  PC overrides（min-width: 768px）
================================================================= */
@media (min-width: 768px) {
    /* CTA */
    .cta {
        padding-bottom: 100px;
    }
    .cta__deco-img--sp {
        display: none;
    }
    .cta__deco-img--pc {
        display: block;
        width: 100%;
        max-width: 1263px;
        height: auto;
        margin: 0 auto;
    }
    .cta__inner {
        padding: 120px 0 91px;
    }
    .cta__ttl {
        margin-bottom: 77px;
    }
    .cta__ttl-pill {
        font-size: 23px;
        padding: 8px 32px;
        margin-bottom: 29px;
    }
    .cta__ttl-heading {
        font-size: 40px;
        white-space: nowrap;
    }
    .cta__ttl-heading br {
        display: none;
    }
    .cta__card {
        max-width: 818px;
        padding: 60px 60px 50px;
        gap: 24px;
    }
    .cta__card-notice {
        font-size: 24px;
    }
    .cta__card-notice::before,
    .cta__card-notice::after {
        width: 3px;
        height: 50px;
    }
    .cta__input {
        font-size: 16px;
        padding: 18px 20px;
    }
    .cta__note {
        font-size: 13px;
    }

    /* FAQ */
    .faq {
        max-width: 818px;
        margin: 0 auto;
        padding: 0;
    }
    .faq__inner {
        padding: 35px 40px 35px;
        border-radius: 8px;
    }
    .faq__ttl-wrap {
        gap: 5px;
        margin-bottom: 68px;
    }
    .faq__plant {
        width: 53px;
    }
    .faq__ttl {
        font-size: 28px;
    }
    .faq__list {
        gap: 20px;
    }
    .faq__q {
        padding: 18px 20px 18px 24px;
        gap: 14px;
    }
    .faq__a {
        padding: 16px 20px 16px 24px;
        gap: 14px;
    }
    .faq__badge {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    .faq__text {
        font-size: 18px;
        line-height: 1.7;
    }

    /* Footer */
    .footer {
        padding: 30px 0;
    }
}
.pc-only {
    display: block;
}
.sp-only {
    display: none;
}

@media screen and (max-width: 768px) {
    .sp-only {
        display: block;
    }
    .pc-only {
        display: none;
    }
}
