/* ============================================================
   講師採用LP / style.css
   セクションID＋短いクラス名 / Flexbox
   共通設定 → 各構成要素（基本・レスポンシブ）→ フッター
   表示維持のため既存のカスケード順を保持。
   ============================================================ */
/* ==================================================
   基本設定
   ================================================== */
:root {
    --text: #444444;
    --orange: #F8AF62;
    --pink: #ef8996;
    --cream: #FFFBE6;
    --peach: #FFF5EB;
    --blue: #00A0DC;
    --brown: #964C1F;
    text-spacing-trim: trim-start;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: #fff;
    font: 400 clamp(14px, 2.2vw, 17px)/1.85 "Noto Sans JP", sans-serif;
}

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

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

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

h1,
h2,
h3,
p {
    margin: 0;
}

h1,
h2,
h3,
h4 {
    font-feature-settings: "palt";
    letter-spacing: 0.1em;
    word-break: auto-phrase;
}

button,
a {
    touch-action: manipulation;
}

/* 基本設定 / (max-width:439px) */
@media (max-width:439px) {
    body {
        font-size: 14px;
    }
}

/* ===== 基本文字組み ===== */
:where(pre) {
    text-spacing-trim: space-all;
}

/* ===== プロポーショナル文字組み ===== */
.palt {
    font-feature-settings: "palt";
    letter-spacing: 0.1em;
}

/* ==================================================
   共通設定：PC版のみ／SP版のみの切り替え
   ================================================== */
/* SP版のみ改行 */
.br-sp {
    display: none;
}

@media (max-width: 639px) {
    .br-sp {
        display: initial;
    }
}

/* PC版のみ改行 */
.br-pc {
    display: initial;
}

@media (max-width: 639px) {
    .br-pc {
        display: none;
    }
}

/* ==================================================
   共通レイアウト・見出し
   ================================================== */
.container {
    width: min(calc(100% - 48px), 1000px);
    margin-inline: auto;
}

.container_narrow {
    max-width: 850px;
}

.section {
    padding: min(30px, 3vw) 0 min(30px, 3vw);
}

.heading {
    text-align: center;
    font: 500 clamp(23px, 2.8vw, 30px)/1.7 "Noto Serif JP", serif;
    letter-spacing: 0.1em;
    font-feature-settings: "palt" 1;
    margin-bottom: min(30px, 4vw);
}

.heading_bar {
    margin: 0 0 22px;
    padding: 7px 24px;
    border-radius: 100px;
    background: var(--orange);
    color: #fff;
    text-align: center;
    font: 500 21px/1.5 "Noto Sans JP", sans-serif;
}

/* 共通レイアウト・見出し / (max-width:639px) */
@media (max-width:639px) {
    .container {
        width: min(calc(100% - 30px), 560px);
    }

    .section {
        padding: 20px 0;
    }

    .heading {
        font-size: 23px;
        font-weight: 600;
    }

    .heading_bar {
        font-size: 16px;
    }
}

/* ==================================================
   ヘッダー
   ================================================== */
#header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    --header_height: 70px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

#header .header_inner {
    max-width: 900px;
    width: calc(100% - 48px);
    height: var(--header_height);
    margin: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

#header .header_logo img {
    width: 165px;
    margin-top: 10px;
}

#header .header_label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 6px 17px;
    margin-right: auto;
    border: 1px solid #d9d9d9;
    border-radius: 100px;
    color: #777;
    background: #fff;
    font: 600 13px/1.4 "Noto Sans JP", sans-serif;
}

#header .header_toggle {
    position: relative;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

#header .header_toggle span {
    position: absolute;
    left: 8px;
    width: 28px;
    height: 2px;
    background: #444;
    transition: transform .25s, opacity .25s;
}

#header .header_toggle span:nth-child(1) {
    top: 12px;
}

#header .header_toggle span:nth-child(2) {
    top: 21px;
}

#header .header_toggle span:nth-child(3) {
    top: 30px;
}

#header .header_toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

#header .header_toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

#header .header_toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

#header .header_nav {
    position: fixed;
    top: var(--header_height);
    right: 0;
    bottom: 0;
    width: min(420px, 100%);
    padding: 28px 32px 32px;
    padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    text-align: center;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .3s ease, visibility .3s;
}

#header .header_nav.is-open {
    transform: translateX(0);
    visibility: visible;
    box-shadow: -4px 0 18px #0001;
}

#header .menu_title {
    color: var(--blue);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

#header .menu_list {
    width: 90%;
    margin: 0 auto;
    border-top: 1px solid #ddd;
}

#header .menu_list li {
    border-bottom: 1px solid #ddd;
}

#header .menu_list a {
    display: block;
    padding: 12px 4px;
    font-size: 16px;
}

#header .menu_list a:hover {
    color: var(--blue);
}

#header .menu_cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
}

#header .menu_cta .buttons {
    width: 100%;
    max-width: 320px;
    font-size: 16px;
}

html {
    scroll-padding-top: 82px;
}

html.menu_open {
    overflow: hidden;
}

@media (max-width: 767px) {
    #header {
        --header_height: 64px;
    }

    #header .header_inner {
        width: calc(100% - 24px);
        gap: 8px;
    }

    #header .header_logo img {
        width: min(33vw, 155px);
        margin-top: 0;
    }

    #header .header_label {
        font-size: 10px;
        padding: 5px 10px;
        white-space: nowrap;
    }

    #header .header_nav {
        width: 100%;
        padding: 24px 24px 28px;
        padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
    }

    #header .menu_list {
        max-width: 440px;
    }

    #header .menu_list a {
        padding: 10px 4px;
        font-size: 15px;
    }

    html {
        scroll-padding-top: 76px;
    }
}

@media (prefers-reduced-motion: reduce) {

    #header .header_nav,
    #header .header_toggle span {
        transition: none;
    }
}

/* ==================================================
   共通CTA・ボタン
   ================================================== */
.cta {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 30px auto;
}

.buttons.buttons.btn01:hover {
    opacity: .78;
}

.btn01 {
    background: var(--blue);
    color: #fff;
}

.btn02 {
    background: #fff;
    color: var(--blue);
}

.buttons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(50%, 260px);
    padding: 12px 10px;
    border: 1.5px solid var(--blue);
    border-radius: 0;
    text-align: center;
    font: 700 19px/1.4 "Noto Sans JP", sans-serif;
    letter-spacing: .04em;
    font-size: min(18px, 2.6vw);

    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.buttons.btn01:hover {
    background-color: var(--pink);
    color: #fff;
    border: 1.5px solid var(--pink);
    opacity: 1;
}

.buttons.btn02:hover {
    background-color: var(--pink);
    color: #fff;
    border: 1.5px solid var(--pink);
    opacity: 1;
}

/* 共通CTA・ボタン / (max-width:767px) */
@media (max-width:767px) {
    .cta {
        width: 90%;
    }
}

/* 共通CTA・ボタン / (max-width:439px) */
@media (max-width:439px) {
    .cta {
        width: 100%;
    }

    .buttons.btn01 {
        font-size: 14px;
    }

    .buttons.btn02 {
        font-size: 14px;
    }
}

/* ==================================================
   メインビジュアル #fv
   ================================================== */
#fv {
    background: var(--cream);
}

#fv .visual {
    width: 100%;
}

#fv .visual picture,
#fv .visual img {
    display: block;
    width: 100%;
    height: auto;
}

#fv .body {
    text-align: center;
    padding-top: 34px;
    padding-bottom: 80px;
}

#fv .heading {
    font: 500 clamp(21px, 2.6vw, 29px)/1.7 "Noto Serif JP", serif;
    letter-spacing: .08em;
    font-feature-settings: "palt" 1;
    margin-bottom: 50px;
}

#fv .fv_btn01 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(50%, 260px);
    padding: 12px 25px;
    border: 1.5px solid var(--brown);
    border-radius: 0;
    background: var(--brown);
    color: #fff;
    text-align: center;
    font: 700 min(18px, 2.6vw) "Noto Sans JP", sans-serif;
    letter-spacing: .04em;
    transition: opacity .2s;
}

#fv .fv_btn02 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(50%, 260px);
    padding: 12px 25px;
    border: 1.5px solid var(--brown);
    border-radius: 0;
    background: #fff;
    color: var(--brown);
    text-align: center;
    font: 700 min(18px, 2.6vw) "Noto Sans JP", sans-serif;
    letter-spacing: .04em;
    transition: opacity .2s;
}

#fv .fv_btn01:hover {
    background-color: var(--pink);
    color: #fff;
    border: 1.5px solid var(--pink);
    opacity: 1;
}

#fv .fv_btn02:hover {
    background-color: var(--pink);
    color: #fff;
    border: 1.5px solid var(--pink);
    opacity: 1;
}

.buttons:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

#fv .points {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 60px;
}

#fv .points li {
    flex: 1 1 0;
    max-width: 230px;
    min-height: 130px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #fff;
    border: 1.5px solid #964C1F;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

#fv .point_icon {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* (max-width:767px) */
@media (max-width:767px) {
    .cta {
        width: 90%;
    }

    #fv .points li {
        min-height: 130px;
        padding: 8px 4px;
        font-size: 13px;
    }

}

/* メインビジュアル #fv / (max-width:439px) */
@media (max-width:439px) {
    .cta {
        width: 100%;
    }

    #fv .fv_btn01 {
        flex: 1;
        min-width: 0;
        padding: 10px 6px;
        font-size: 14px;
    }

    #fv .fv_btn02 {
        flex: 1;
        min-width: 0;
        padding: 10px 6px;
        font-size: 14px;
    }

    #fv .body {
        padding-top: 27px;
        padding-bottom: 30px;
    }

    #fv .heading {
        font-size: 21px;
        line-height: 1.7;
        letter-spacing: 0;
        font-weight: 600;
    }

    #fv .points {
        gap: 6px;
        margin-top: 24px;
    }

    #fv .points li {
        min-height: 88px;
        padding: 8px 4px;
        font-size: 11px;
    }

    #fv .point_icon {
        height: 36px;
    }
}

/* ==================================================
   お悩み #concerns
   ================================================== */
#concerns {
    background: #fff;
}

#concerns>.container {
    padding-top: 24px;
}

#concerns .concerns__visual {
    position: relative;
    overflow: hidden;
}

#concerns .concerns__visual picture,
#concerns .concerns__visual picture img {
    display: block;
    width: 100%;
    height: auto;
}

/* お悩み #concerns / (max-width:439px) */
@media (max-width:439px) {
    #concerns .concerns__list {
        top: 8%;
        left: 3%;
        width: 65%;
        gap: 11px;
    }
}

/* ==================================================
   3つの魅力 #benefits
   ================================================== */
#benefits {
    background: var(--peach);
}

#benefits .heading {
    font-family: Noto sans JP, sans-serif;
    /* 無効な font 一括指定を削除し、従来の共通見出し設定を維持 */
}

#benefits .heading em {
    font-family: Noto Serif JP, serif;
    font-weight: 600;
    font-style: normal;
    color: var(--pink);
    font-size: 1.7em;
}

#benefits .list {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

#benefits .list li {
    flex: 1;
    min-width: 0;
    padding: 20px 14px 25px;
    text-align: center;
    background: #fff;
    border: 1px solid #f5a6ac;
    border-radius: 15px;
}

#benefits .number {
    font: 500 39px/1.5 "Noto Serif JP", serif;
    color: var(--pink);
}

#benefits .list h3 {
    margin: 9px 0;
    font-size: 21px;
    line-height: 1.55;
    color: #e8868b;
}

#benefits .list p {
    font-size: 15px;
    line-height: 1.8;
}

/* 3つの魅力 #benefits / (max-width: 767px) */
@media (max-width: 767px) {
    #benefits .list {
        display: flex;
        flex-direction: column;
        width: 80%;
        margin: auto;
        gap: 14px;
        padding-bottom: 40px;
    }

    #benefits .list li {
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
        padding: 12px 20px 18px;
        border: 1px solid #f58b93;
        border-radius: 15px;
        background: #fff;
        text-align: center;
    }

    #benefits .number {
        display: block;
        font-size: 43px;
        line-height: 1.3;
    }

    #benefits .list h3 {
        margin: 4px 0 5px;
        font-size: 19px;
        line-height: 1.5;
    }

    #benefits .list p {
        font-size: 15px;
        line-height: 1.65;
    }
}

/* (max-width:439px) */
@media (max-width:439px) {
    #benefits .list {
        flex-direction: column;
        width: 100%;
        margin: auto;
        gap: 10px;
    }

    #benefits .list li {
        padding: 14px 20px;
    }

    #benefits .number {
        font-size: 32px;
    }

    #benefits .list h3 {
        font-size: 20px;
    }

    #benefits .list p {
        font-size: 14px;
    }

}

/* ==================================================
   共通左右分割
   ================================================== */
.split {
    display: flex;
    align-items: center;
    gap: 38px;
    margin-bottom: 0;
}

.split_text {
    flex: 1;
    min-width: 0;
}

.split_text p {
    margin-bottom: 25px;
    text-justify: inter-character;
    font-feature-settings: "palt";
    letter-spacing: 0.1em;
}

.split_image {
    width: 46%;
    object-fit: cover;
}

/* 共通左右分割 / (max-width:439px) */
@media (max-width:439px) {
    .split {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .split_image {
        width: 100%;
    }
}

/* ==================================================
   教室紹介 #about
   ================================================== */
#about>.container {
    padding-top: 24px;
}

#about .heading_about {
    text-align: center;
    font: 500 clamp(23px, 2.8vw, 30px)/1.7 "Noto Serif JP", serif;
    letter-spacing: 0.1em;
    font-feature-settings: "palt" 1;
    color: var(--brown);
    margin: 0 0 34px;
}

#about .split_text {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

#about .link {
    border: 1px solid var(--brown);
    border-radius: 100px;
    color: var(--brown);
    font-size: 18px;

    position: relative;
    display: block;
    align-self: center;
    width: min(100%, 400px);
    padding: 8px 42px 8px 25px;
    margin: 25px auto 0;
    text-align: center;
}

#about .link::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}

#about .link:hover {
    background-color: var(--pink);
    color: #fff;
    border: 2px solid var(--pink);
    opacity: 1;
}

/* #about：見出し・本文 → 写真 */
#about .link_sp {
    display: none;
}

@media (max-width: 767px) {

    #about .split,
    #beginner .split {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    #about .split_text,
    #beginner .split_text {
        flex: 0 0 auto;
        width: 100%;
    }

    #about .split_image,
    #beginner .split_image {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
        margin: 0;
    }

    /* #about：見出し・本文 → 写真 → リンク */
    #about .split_text {
        order: 1;
    }

    #about .split_image {
        order: 2;
    }

    #about .link {
        font-size: 14px;
    }

    #about .link_pc {
        display: none;
    }

    #about .link_sp {
        display: block;
        order: 3;
        align-self: center;
        width: min(100%, 305px);
        margin: 22px auto 0;
    }

    #about .heading_about {
        margin-bottom: 22px;
    }

    #about .split_text p {
        margin-bottom: 24px;
    }
}

/* ==================================================
   一日の流れ #day
   ================================================== */
/* ===== セクション全体 ===== */

#day>.container {
    width: min(calc(100% - 48px), 1000px);
    padding: 42px 44px 30px;
    background: var(--cream);
    border-radius: 15px;
}

/* ===== 見出し ===== */
#day .heading_bar {
    margin-bottom: 35px;
}

/* ===== 2カラムレイアウト ===== */
#day .split {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 28px;
}

/* ===== 左：スケジュール ===== */
#day .schedule {
    position: relative;
    flex: 0 0 40%;
    min-width: 0;
}

/* タイムラインの縦線 */
#day .schedule::before {
    content: "";
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 11px;
    width: 1px;
    background: var(--orange);
    z-index: 1;
}

/* 各時間の項目 */
#day .schedule li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 7px 6px 7px 29px;
    border-bottom: 1px solid #f4e1bd;
    background: transparent;
    line-height: 1.5;
}

/* タイムラインの丸 */
#day .schedule li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 5px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--orange);
    transform: translateY(-50%);
    z-index: 2;
}

/* 時刻 */
#day .schedule time {
    flex: 0 0 110px;
    color: #e89354;
    font-weight: 700;
    white-space: nowrap;
}

/* ===== 右：写真3枚 ===== */
#day .photos {
    display: flex;
    flex: 1;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: stretch;
    gap: 12px;
    min-width: 0;
    height: 355px;
}

/* 写真共通 */
#day .photos img {
    display: block;
    width: calc(50% - 6px);
    height: calc(50% - 6px);
    object-fit: cover;
}

/* 左側の大きな写真 */
#day .photos img:first-child {
    width: calc(50% - 6px);
    height: 100%;
}

/* ===== CTAボタン ===== */
#day .cta,
#day .cta__buttons {
    margin-top: 40px;
}

#day .buttons {
    border: 1.5px solid var(--orange);
}

#day .btn01 {
    background: var(--orange);
    color: #fff;
}

#day .btn02 {
    background: #fff;
    color: var(--orange);
}

/* ==================================================
   1日のスケジュール #day / SP版
   767px以下
   ================================================== */
@media (max-width: 959px) {

    /* ===== 左：スケジュール ===== */
    #day .schedule {
        flex: 0 0 40%;
    }

    #day .photos {
        height: 350px;
    }
}

@media (max-width: 800px) {

    /* ===== セクション全体 ===== */
    #day>.container {
        width: calc(100% - 30px);
        padding: 25px 15px;
    }

    /* ===== 見出し ===== */
    #day .heading_bar {
        margin-bottom: 24px;
    }

    /* ===== 2カラムレイアウト ===== */
    #day .split {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
    }

    /* ===== 左：スケジュール ===== */
    #day .schedule {
        flex: 0 0 75%;
    }

    /* 各時間の項目 */
    #day .schedule li {
        padding: 12px 6px 12px 29px;
    }

    /* ===== 右：写真3枚 ===== */
    #day .photos {
        flex: 1;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 10px;
        width: auto;
        min-width: 0;
        height: auto;
        align-content: normal;
    }

    /* 写真の横幅を統一し、縦横比を維持 */
    #day .photos img,
    #day .photos img:first-child {
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
    }

    /* ===== CTAボタン ===== */
    #day .cta,
    #day .cta__buttons {
        margin-top: 24px;
    }
}

@media (max-width: 600px) {

    /* ===== 左：スケジュール ===== */
    #day .schedule {
        flex: 0 0 60%;
    }

    /* 各時間の項目 */
    #day .schedule li {
        padding: 15px 6px 15px 29px;
    }

    /* 時刻 */
    #day .schedule time {
        flex: 0 0 50px;
        color: #e89354;
        font-weight: 700;
        white-space: nowrap;
    }
}

/* ==================================================
   講師の声 #voices
   ================================================== */
#voices {
    background: var(--peach);
}

#voices>.container {
    padding-top: 30px;
    padding-bottom: 30px;
}

#voices .list {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin-inline: auto;
    gap: 14px;
}

#voices .list li {
    display: flex;
    justify-content: center;
    /* 内容のブロックを左右中央に */
    align-items: center;
    /* 内容のブロックを上下中央に */
    gap: 23px;
    padding: 17px 30px;
    background: #fff;
    border-radius: 15px;
    font-feature-settings: "palt";
    letter-spacing: 0.1em;

}

#voices .lead p {
    margin: 0 0 30px;
    max-width: 800px;
    margin-inline: auto;
    font-feature-settings: "palt";
    letter-spacing: 0.1em;

}

#voices .list h3 {
    font-size: 20px;
    margin-bottom: 6px;
    text-align: center;
    color: #f18491;
}

#voices .heading_voice {
    font-size: clamp(17px, 2vw, 24px);
    text-align: center;

    position: relative;
    display: block;
    width: min(100%, 476px);
    padding: 13px 28px;
    margin: 0 auto 38px;
    border: 1.5px solid #ff8e99;
    border-radius: 100px;
    background: #fff;
    color: #f18491;
    font: 500 25px/1.5 "Noto Serif JP", serif;
    letter-spacing: .05em;
}

/* ===== 吹き出しの三角形 ===== */
#voices .heading_voice {
    position: relative;
}

/* ピンク色の外側の三角形 */
#voices .heading_voice::before {
    content: "";
    position: absolute;
    bottom: -16px;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-top: 16px solid #ff7585;
    transform: translateX(-50%);
}

/* 白い内側の三角形 */
#voices .heading_voice::after {
    content: "";
    position: absolute;
    bottom: -14px;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 15px solid #fff;
    transform: translateX(-50%);
}

/* 講師の声 #voices / (max-width:639px) */
@media (max-width:639px) {
    #voices .heading_voice {
        width: min(85%, 410px);
        padding: 12px 18px;
        font-size: 22px;
        font-weight: 600;
    }
}

/* 講師の声 #voices / (max-width:439px) */
@media (max-width:439px) {
    #voices .heading_voice {
        width: min(85%, 390px);
        padding: 12px 18px;
        font-size: 20px;
    }

    #voices .list li {
        gap: 13px;
        padding: 15px 30px;
    }

    #voices .list img,
    #voices .icon {
        width: 65px;
        height: 65px;
        flex-basis: 65px;
    }

    #voices .list h3 {
        font-size: 19px;
    }

    #voices .lead {
        padding-inline: 10px;
    }
}

/* ==================================================
   初めての方も安心 #beginner
   ================================================== */
#beginner>.container {
    padding-top: 30px;
    padding-bottom: 30px;
}

#beginner .split_text {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
}

@media (max-width: 767px) {

    /* #beginner：見出し・本文 → 写真 */
    #beginner .split_text {
        order: 1;
    }

    #beginner .split_image {
        order: 2;
    }

    #beginner .heading {
        margin-bottom: 18px;
    }

    #beginner .split_text p {
        margin-bottom: 24px;
        font-size: 14px;
    }
}

/* ==================================================
   研修・サポート #support
   ================================================== */
#support {
    --interview_pink: var(--pink);
    background: var(--cream);
    padding-block: clamp(30px, 4.6vw, 58px) clamp(40px, 8vw, 100px);
}

#support>.container {
    max-width: 800px;
}

#support .heading_bar {
    margin-bottom: clamp(24px, 3.3vw, 42px);
    padding: 10px 16px;
    font-size: clamp(16px, 2.25vw, 28px);
    font-weight: 700;
}

/* 研修ステップ・教室写真 */
#support .steps {
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 2.4vw, 30px);
    counter-reset: step;
}

#support .steps li {
    position: relative;
    background: #fff;
    counter-increment: step;
    font-feature-settings: "palt";
    letter-spacing: 0.1em;

}

#support .steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(100% + 7px);
    left: 50%;
    border-inline: 16px solid transparent;
    border-top: 13px solid var(--orange);
    transform: translateX(-50%);
}

#support .steps h3 {
    position: relative;
    padding: 8px 12px 8px 70px;
    background: #fbdfb6;
    font: 700 clamp(16px, 1.75vw, 22px)/1.5 "Noto Sans JP", sans-serif;
}

#support .steps h3::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    inset: 0 auto 0 0;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--orange);
    color: #fff;
}

#support .steps p {
    padding: 14px 30px;
    font-size: clamp(14px, 1.5vw, 19px);
    line-height: 1.7;
}

#support .lesson {
    margin: 20px clamp(20px, 2.4vw, 30px) 40px;
    text-align: right;
}

#support .lesson img {
    width: 100%;
    border-radius: 16px;

}

/* 講師インタビュー一覧 */
#support .interviews {
    margin-top: 30px;
    padding: clamp(20px, 2.4vw, 30px) clamp(20px, 2.4vw, 30px) clamp(30px, 4vw, 42px);
    border-radius: 16px;
    background: #fff;
}

#support .interview_heading {
    margin: 0 0 clamp(16px, 2vw, 25px);
    padding: 7px 8px;
    border-block: 1px solid var(--pink);
    color: var(--pink);
    font: 700 clamp(16px, 1.6vw, 20px)/1.4 "Noto Sans JP", sans-serif;
    text-align: center;
}

#support .interview_list {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2vw, 25px);
}

#support .interview,
#support .profile {
    display: flex;
    align-items: flex-start;
    gap: clamp(12px, 1.6vw, 20px);
}

#support .interview {
    padding: clamp(12px, 1.4vw, 17px) clamp(12px, 1.6vw, 20px);
    border: 1px solid #dedede;
}

#support .portrait {
    flex: none;
    width: clamp(78px, 15vw, 137px);
}

#support .intro {
    flex: 1;
    min-width: 0;
}

#support .interview h4 {
    margin: 0 0 6px;
    color: var(--brown);
    font-size: clamp(15px, 1.6vw, 20px);
    line-height: 1.45;
}

#support .interview p {
    font-size: clamp(14px, 1.45vw, 18px);
    line-height: 1.55;
}

#support .read_more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    margin-top: 12px;
    padding: 4px 20px;
    border: 0;
    border-radius: 100px;
    background: var(--pink);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

#support .read_more::after {
    content: "";
    width: 14px;
    height: 8px;
    clip-path: polygon(0 43%, 86% 43%, 60% 10%, 66% 0, 100% 50%, 66% 100%, 60% 90%, 86% 57%, 0 57%);
    background: currentColor;
}

#support .read_more:hover {
    background: #ae484e;
}

/* インタビューのオーバーレイ */
html:has(#support .interview_dialog[open]) {
    overflow: hidden;
}

#support .interview_dialog {
    width: min(calc(100% - 12px), 880px);
    max-width: none;
    max-height: none;
    margin: auto;
    padding: 20px;
    border: 0;
    background: transparent;
    color: inherit;
    overflow: visible;
}

#support .interview_dialog::backdrop {
    background: rgba(241, 134, 135, .70);
}

#support .interview_page {
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    padding: clamp(20px, 4.1vw, 50px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 14px;
    background: #fff;
    box-shadow: 3px 3px 5px #0003;
}

#support .close {
    position: absolute;
    z-index: 1;
    top: 3px;
    right: 4px;
    width: 35px;
    height: 35px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #694343;
    color: #fff;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

#support button:focus-visible {
    outline: 2px solid var(--brown);
    outline-offset: 3px;
}

#support .profile {
    margin-bottom: 18px;
}

#support .profile .role,
#support .profile .name {
    color: var(--brown);
    font-weight: 700;
    line-height: 1.45;
}

#support .profile .name {
    font-size: clamp(17px, 1.85vw, 23px);
}

#support .name span {
    font-size: .75em;
}

#support .lead {
    margin-top: 8px;
    font-size: clamp(17px, 2.75vw, 22px);
    font-weight: 700;
    line-height: 1.45;
}

#support .story+.story {
    margin-top: 19px;
}

#support .story h4 {
    width: fit-content;
    min-width: min(100%, 195px);
    margin: 0 0 8px;
    padding: 3px 12px;
    border-radius: 100px;
    background: var(--pink);
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

#support .story p {
    font-size: clamp(14px, 1.3vw, 16px);
    line-height: 1.75;
}

/* 研修・サポート #support / スマートフォン */
@media (max-width: 639px) {
    #support .steps h3 {
        padding-left: 56px;
    }

    #support .steps h3::before {
        width: 42px;
    }

    #support .steps p {
        padding: 12px 20px;
    }

    #support .read_more {
        min-height: 20px;
        padding: 2px 20px;
        font-size: 12px;
    }

    #support .lead {
        font-size: 18px;
    }

    #support .profile .name span {
        display: inline-block;
    }

    #support .interview_dialog {
        padding: 20px 10px;
    }

    #support .close {
        width: 40px;
        height: 40px;
        right: 0;
        top: 0;
    }
}

/* ==================================================
   働く環境 #environment
   ================================================== */
#environment {
    background: var(--peach);
    border-top: 6px solid #f5a6ac;
    padding-top: 50px;
}

#environment .list {
    display: flex;
    gap: 14px;
    margin: 30px 0 80px;
}

#environment .list span {
    display: block;
    font-size: 35px;
    line-height: 1.3;
    color: var(--pink);
}

#environment .list li {
    flex: 1;
    min-width: 0;
    background: #fff;
    border: 1px solid #eee;
    text-align: center;
    box-shadow: 0 2px 8px #0000000d;
    border-radius: 15px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 17px 10px 18px;
}

#environment .icon {
    display: block;
    flex: none;
    width: 72px;
    height: 72px;
    max-width: 100%;
    margin: 0 auto 10px;
    object-fit: contain;
}

#environment .list h3 {
    font-size: 20px;
    color: #e48a92;

    line-height: 1.45;
    margin-bottom: 5px;
}

#environment .list p {
    font-size: 14px;
    line-height: 1.65;
}

/* 働く環境 #environment / (max-width: 767px) */
@media (max-width: 767px) {
    #environment .list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 18px 16px;
        margin-bottom: 60px;
        word-break: auto-phrase;
        text-wrap: balance;

    }

    #environment .list li {
        flex: 0 0 calc((100% - 16px) / 2);
        width: calc((100% - 16px) / 2);
        min-width: 0;
        min-height: 180px;
        padding: 13px 10px 17px;
        border-radius: 17px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    #environment .icon {
        width: 66px;
        height: 66px;
        object-fit: contain;
        margin: 0 auto 9px;
    }

    #environment .list h3 {
        margin: 0 0 6px;
        font-size: 19px;
        line-height: 1.4;
    }

    #environment .list p {
        line-height: 1.4;
        width: 100%;
    }
}

/* 働く環境 #environment / (max-width: 439px) */
@media (max-width: 439px) {
    #environment .list h3 {
        margin: 0 0 6px;
        font-size: 19px;
        line-height: 1.4;
    }

    #environment .list p {
        font-size: 14px;
    }
}

/* ==================================================
   募集要項
   ================================================== */
.job_card {
    padding: 35px 35px;
    background: #fff;
    box-shadow: 0 2px 12px #00000013;
    border-radius: 15px;
}

.job_card>h3 {
    background: #ed8d96;
    color: #fff;
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.job_card dl {
    margin: 0;
}

.job_card dl>div {
    display: flex;
    gap: 25px;
    border-bottom: 1px dashed #ddd;
    padding: 11px 6px;
}

.job_card dt {
    flex: 0 0 min(130px, 13vw);
    font-size: clamp(15px, 2.4vw, 17px);
    line-height: 1.3;
    font-weight: 600;
}

.job_card dd {
    flex: 1;
    margin: 0;
    font-size: clamp(15px, 2.4vw, 17px);
    line-height: 1.5;
    font-feature-settings: "palt";
    letter-spacing: 0.1em;
}

.job_card small {
    font-size: clamp(13px, 2vw, 15px);
    color: #777;
}

/* 募集要項の開閉 */
#environment .job_toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    margin-top: 10px;
    color: var(--pink);
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

#environment .job_toggle::-webkit-details-marker {
    display: none;
}

#environment .job_toggle::after {
    content: "";
    border-inline: 7px solid transparent;
    border-top: 8px solid currentColor;
}

#environment .job_more[open] .job_toggle::after {
    transform: rotate(180deg);
}

#environment .job_more[open] .job_show,
#environment .job_more:not([open]) .job_hide {
    display: none;
}

#environment .job_more[open] .job_toggle {
    border-bottom: 1px dashed #ddd;
}

/* ===== CTAボタン ===== */
#environment .cta,
#environment .cta__buttons {
    margin-top: 50px;
}

#environment .buttons {
    border: 1.5px solid var(--pink);
}

#environment .btn01 {
    background: var(--pink);
    color: #fff;
}

#environment .btn02 {
    background: #fff;
    color: var(--pink);
}

#environment .btn01:hover {
    background-color: var(--blue);
    color: #fff;
    border: 1.5px solid var(--blue);
    opacity: 1;
}

#environment .btn02:hover {
    background-color: var(--blue);
    color: #fff;
    border: 1.5px solid var(--blue);
    opacity: 1;
}

/* 募集要項 / (max-width:439px) */
@media (max-width:439px) {
    .job_card {
        padding: 20px;
    }

    .job_card>h3 {
        font-size: 18px;
    }

    .job_card dl>div {
        gap: 10px;
        padding: 10px 2px;
    }

    .job_card dt {
        flex-basis: 70px;
        font-size: 14px;
    }

    .job_card dd {
        font-size: 14px;
        line-height: 1.4;
    }

    .job_card small {
        font-size: 13px;
        line-height: 1.3;
    }

    #environment .job_toggle {
        font-size: 17px;
    }
}

/* ==================================================
   よくある質問 #faq
   ================================================== */
#faq {
    background: #fff;
}

#faq>.container {
    padding-top: 30px;
    padding-bottom: 30px;
}

#faq .list li {
    border-bottom: 1px solid #e7e7e7;
    font-feature-settings: "palt";
    letter-spacing: 0.1em;
}

#faq .list summary {
    position: relative;
    cursor: pointer;
    list-style: none;
    padding: 15px 35px 15px 39px;
    font-size: clamp(14px, 2.2vw, 17px);
    font-weight: 500;
}

#faq .list summary::-webkit-details-marker {
    display: none;
}

#faq .list summary::after {
    content: "+";
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-weight: 100;
    font-size: 28px;
    font-family: "Noto Serif JP", serif;
    line-height: 1;
}

#faq .list details[open] summary::after {
    content: "−";
    color: #999;
    font-weight: 100;
    font-size: 28px;
    font-family: "Noto Serif JP", serif;
}

#faq .list summary::before {
    content: "Q";
    position: absolute;
    left: 6px;
    color: #999;
    font-weight: 500;
    font-size: 28px;
    font-family: "Noto Serif JP", serif;

    top: 15px;
    line-height: 1.5;
}

/* 質問：Qと質問文の位置を揃える */
#faq .list summary {
    display: block;
    padding: 15px 35px 10px 39px;
}

#faq .list summary::before {
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
}

/* 回答：Aを回答文の左側に配置する */
#faq .list details p {
    position: relative;
    display: block;
    padding: 2px 32px 10px 39px;
    font-size: 16px;
}

#faq .list details p::before {
    content: "A";
    position: absolute;
    top: 2px;
    left: 7px;
    color: var(--pink);
    font-weight: 500;
    font-size: 28px;
    font-family: "Noto Serif JP", serif;
    line-height: 1;
}

/* よくある質問 #faq / (max-width:439px) */
@media (max-width:439px) {

    #faq .list summary,
    #faq .list details p {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* ==================================================
   エントリー #entry
   ================================================== */
#entry {
    background: var(--peach);
    text-align: center;
}

#entry>.container {
    padding-top: 30px;
    padding-bottom: 30px;
}

#entry .points {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

#entry .entry__icon {
    height: 65px;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    margin: 0 auto 8px;
}

#entry .points h3 {
    font-size: 25px;
    color: #e68a92;
    line-height: 1.4;
    margin-bottom: 8px;
}

#entry .points li {
    flex: 1;
    min-width: 0;
    padding: 20px 20px 17px;
    background: #fff;
    border: 1px solid #f1a2ab;
    border-radius: 15px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 126px;
}

/* (max-width:767px) */
@media (max-width:767px) {
    #entry .points {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        margin: 0 auto;
        gap: 14px;
        width: 70%;
    }

    #entry .points h3 {
        font-size: 22px;
    }
}

/* (max-width:439px) */
@media (max-width:439px) {
    #entry .points {
        width: 80%;
    }

    #entry .points li {
        padding: 12px;
        font-size: 15px;
    }

    #entry .entry__icon {
        height: 55px;
    }

    #entry .points h3 {
        font-size: 22px;
    }
}

/* ==================================================
   最終CTA #entry-cta
   ================================================== */
#entry-cta {
    background: #fff;
    text-align: center;
    padding-top: 48px;
    padding-bottom: 66px;
}

#entry-cta .photo {
    width: min(100%, 850px);
    margin: min(5vw, 40px) auto 40px;
}

#entry-cta .message {
    font: 600 clamp(23px, 2.8vw, 31px)/1.7 "Noto Serif JP", serif;
    letter-spacing: .08em;
    margin: 0 0 60px;
}

#entry-cta .entry-cta__note {
    font-size: 11px;
    color: #777;
    margin-top: 14px;
}

/* 最終CTA #entry-cta / (max-width:439px) */
@media (max-width:439px) {
    #entry-cta {
        padding: 20px 0 20px;
    }
}

/* ==================================================
   フッター
   ================================================== */
.site-footer {
    background: #e4f5fa;
    text-align: center;
    padding: 40px 20px;
    padding-bottom: 50px;
}

.site-footer img {
    width: min(100%, 270px);
    margin: 0 auto 15px;
}

.site-footer p {
    font-size: 12px;
    color: #159dcc;
}

.footer_label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 6px 17px;
    margin-right: auto;
    border: 1px solid var(--blue);
    border-radius: 100px;
    color: var(--blue);
    background: #fff;
    font: 600 13px/1.4 "Noto Sans JP", sans-serif;
}
