@charset "UTF-8";

/*
sp ~767px
pc 768px~
*/

/*====================
色・サイズ
====================*/
:root {
    --white: #ffffff;
    --yellow_soft: #fff8e1;
    --yellow: #ffc93c;
    --blue: #4db6e5;
    --blue_soft: #e6f5fc;
    --orange: #ff7a3d;
    --orange_dark: #e96526;
    --text: #333340;
    --muted: #6b6b78;
    --line: #e8e4da;
    --radius: 20px;
    --shadow: 0 8px 24px rgba(51, 51, 64, 0.08);
    --header_height: 56px;
    --font_body: 'Zen Maru Gothic', sans-serif;
    --font_en: 'Fredoka', 'Zen Maru Gothic', sans-serif;
}

@media screen and (min-width: 768px) {
    :root {
        --header_height: 72px;
    }
}

/*====================
基本
====================*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header_height);
}

body {
    margin: 0;
    background-color: var(--white);
    color: var(--text);
    font-family: var(--font_body);
    font-size: 15px;
    line-height: 1.8;
}

h1,
h2,
h3,
p,
ul,
ol {
    margin: 0;
    padding: 0;
}

ul,
ol {
    list-style: none;
}

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

a {
    color: inherit;
}

.pc_only {
    display: none;
}

@media screen and (min-width: 768px) {
    body {
        font-size: 16px;
    }

    .pc_only {
        display: inline;
    }

    .sp_only {
        display: none;
    }
}

/*====================
共通パーツ
====================*/
.inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.inner_narrow {
    max-width: 840px;
}

.section {
    padding: 64px 0;
}

.section_yellow {
    background-color: var(--yellow_soft);
}

.section_head {
    margin-bottom: 32px;
    text-align: center;
}

.section_en {
    color: var(--blue);
    font-family: var(--font_en);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1;
}

.section_title {
    margin-top: 8px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    /* 1文字だけ次の行に残らないよう、文節で折り返す */
    word-break: auto-phrase;
    text-wrap: balance;
}

/* 黄色の飾り線 */
.section_title::after {
    content: "";
    display: block;
    width: 48px;
    height: 6px;
    margin: 16px auto 0;
    border-radius: 3px;
    background-color: var(--yellow);
}

.note {
    margin-top: 24px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

@media screen and (min-width: 768px) {
    .section {
        padding: 96px 0;
    }

    .section_head {
        margin-bottom: 48px;
    }

    .section_en {
        font-size: 16px;
    }

    .section_title {
        font-size: 36px;
    }

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

/*====================
ボタン（オレンジはこのボタンだけに使う）
====================*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 32px;
    border: none;
    border-radius: 999px;
    background-color: var(--orange);
    color: var(--white);
    font-family: var(--font_body);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.btn_small {
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
}

.btn:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

@media (hover: hover) {
    .btn:hover {
        background-color: var(--orange_dark);
        transform: translateY(-2px);
    }
}

.cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.cta_note {
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

@media screen and (min-width: 768px) {
    .btn {
        height: 64px;
        padding: 0 40px;
        font-size: 18px;
    }

    .btn_small {
        height: 44px;
        padding: 0 24px;
        font-size: 16px;
    }

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

/*====================
ヘッダー
====================*/
.header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--line);
    background-color: var(--white);
}

.header_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1140px;
    height: var(--header_height);
    margin: 0 auto;
    padding: 0 16px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
}

.logo_mark {
    width: 30px;
    height: auto;
}

.nav {
    display: none;
}

@media screen and (min-width: 768px) {
    .header_inner {
        padding: 0 20px;
    }

    .logo a {
        gap: 10px;
        font-size: 22px;
    }

    .logo_mark {
        width: 36px;
    }
}

@media screen and (min-width: 1000px) {
    .header_inner {
        gap: 32px;
    }

    .nav {
        display: block;
        margin-left: auto;
    }

    .nav ul {
        display: flex;
        gap: 32px;
    }

    .nav a {
        font-weight: 700;
        text-decoration: none;
    }

    .nav a:hover {
        color: var(--blue);
    }
}

/*====================
ファーストビュー
====================*/
.fv {
    padding: 40px 0 64px;
    background-color: var(--yellow_soft);
}

.fv_inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* スマホは中央ぞろえ */
.fv_text {
    text-align: center;
}

.fv_target {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background-color: var(--white);
    color: var(--blue);
    font-weight: 700;
}

.fv_title {
    margin-top: 16px;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.4;
}

.fv_title span {
    color: var(--blue);
}

.fv_lead {
    margin: 24px 0 32px;
}

.fv_img img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    background-color: var(--line);
}

@media screen and (min-width: 768px) {
    .fv {
        padding: 96px 0;
    }

    .fv_inner {
        flex-direction: row;
        align-items: center;
        gap: 64px;
    }

    /* PCは左ぞろえ */
    .fv_text {
        flex: 0 0 43%;
        text-align: left;
    }

    .fv_text .cta {
        align-items: flex-start;
    }

    .fv_img {
        flex: 1;
    }

    .fv_img img {
        border-radius: 32px;
    }
}

@media screen and (min-width: 1000px) {
    .fv_title {
        font-size: 52px;
    }

    .fv_lead {
        margin: 24px 0 40px;
    }
}

/*====================
お悩み
====================*/
.worry_list {
    display: grid;
    gap: 16px;
}

.worry_list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-radius: var(--radius);
    background-color: var(--blue_soft);
    font-weight: 700;
}

/* チェックの丸 */
.worry_list li::before {
    content: "";
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M9.5 16.5l4.5 4.5 8.5-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.worry_answer {
    margin-top: 32px;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.5;
    text-align: center;
}

/* 下向きの矢印 */
.worry_answer::before {
    content: "";
    display: block;
    width: 40px;
    height: 24px;
    margin: 0 auto 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 24'%3E%3Cpath d='M4 4l16 16L36 4' fill='none' stroke='%23FFC93C' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.worry_answer span {
    color: var(--blue);
}

@media screen and (min-width: 768px) {
    .worry_list {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    .worry_list li {
        padding: 32px;
    }

    .worry_answer {
        margin-top: 48px;
        font-size: 28px;
    }
}

/*====================
特徴
====================*/
.card_list {
    display: grid;
    gap: 16px;
}

.card {
    padding: 24px;
    border-radius: var(--radius);
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.card_img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 16px;
    background-color: var(--line);
}

.card_num {
    margin-top: 16px;
    color: var(--yellow);
    font-family: var(--font_en);
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
}

.card_title {
    margin: 16px 0 8px;
    font-size: 18px;
    line-height: 1.5;
}

@media screen and (min-width: 768px) {
    .card_list {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    .card {
        padding: 32px;
    }

    .card_num {
        font-size: 40px;
    }

    .card_title {
        font-size: 22px;
    }
}

/*====================
ステップ（レッスンの流れ・体験の流れ）
====================*/
.step_list {
    display: grid;
    gap: 40px;
}

.step {
    position: relative;
    padding: 24px;
    border-radius: var(--radius);
    background-color: var(--blue_soft);
}

.step_list_white .step {
    background-color: var(--white);
    box-shadow: var(--shadow);
}

/* ステップの間の矢印（スマホは下向き） */
.step:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: -26px;
    left: 50%;
    width: 12px;
    height: 12px;
    border-right: 3px solid var(--blue);
    border-bottom: 3px solid var(--blue);
    transform: translateX(-50%) rotate(45deg);
}

.step_label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background-color: var(--yellow);
    font-weight: 700;
    line-height: 1.5;
}

.step_title {
    margin: 12px 0 8px;
    font-size: 18px;
    line-height: 1.5;
}

.step_text {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.trial .step_list {
    margin-bottom: 48px;
}

@media screen and (min-width: 768px) {
    .step_list {
        grid-template-columns: repeat(4, 1fr);
    }

    /* PCは右向き */
    .step:not(:last-child)::after {
        top: 50%;
        right: -24px;
        bottom: auto;
        left: auto;
        transform: translateY(-50%) rotate(-45deg);
    }

    .step_title {
        font-size: 20px;
    }

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

/*====================
保護者の声
====================*/
.voice_list {
    display: grid;
    gap: 16px;
}

.voice_item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    border-radius: var(--radius);
    background-color: var(--white);
    box-shadow: var(--shadow);
}

/* 引用符 */
.voice_text::before {
    content: "“";
    display: block;
    height: 32px;
    color: var(--yellow);
    font-family: var(--font_en);
    font-size: 48px;
    font-weight: 600;
    line-height: 1;
}

.voice_person {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
}

.voice_person svg {
    flex-shrink: 0;
}

@media screen and (min-width: 768px) {
    .voice_list {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    .voice_item {
        padding: 32px;
    }

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

/*====================
コースと料金
====================*/
.price_list {
    display: grid;
    gap: 16px;
}

.price_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 24px;
    border: 2px solid var(--line);
    border-radius: var(--radius);
    background-color: var(--white);
    text-align: center;
}

.price_item.is_popular {
    border: 3px solid var(--blue);
    box-shadow: var(--shadow);
}

.price_badge {
    padding: 4px 16px;
    border-radius: 999px;
    background-color: var(--yellow);
    font-size: 14px;
    font-weight: 700;
}

.price_name {
    font-size: 18px;
}

.price_target {
    color: var(--muted);
    font-size: 13px;
}

.price_freq {
    padding: 4px 16px;
    border-radius: 999px;
    background-color: var(--blue_soft);
    color: var(--blue);
    font-size: 13px;
}

.price_amount {
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-weight: 700;
}

.price_amount strong {
    margin: 0 4px;
    font-family: var(--font_en);
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
}

@media screen and (min-width: 768px) {
    .price_list {
        grid-template-columns: repeat(3, 1fr);
        align-items: end;
        gap: 32px;
    }

    .price_item {
        gap: 16px;
        padding: 40px 32px;
    }

    .price_name {
        font-size: 22px;
    }

    .price_target,
    .price_freq {
        font-size: 14px;
    }

    .price_amount strong {
        font-size: 40px;
    }
}

/*====================
よくある質問
====================*/
.faq_list {
    display: grid;
    gap: 16px;
}

.faq_item {
    border-radius: 16px;
    background-color: var(--blue_soft);
}

.faq_item summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

.faq_item summary::-webkit-details-marker {
    display: none;
}

/* Q と A の丸 */
.faq_item summary::before,
.faq_answer::before {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-weight: 900;
    line-height: 1;
}

.faq_item summary::before {
    content: "Q";
    background-color: var(--blue);
    color: var(--white);
}

.faq_answer::before {
    content: "A";
    background-color: var(--yellow);
}

/* ＋ と − */
.faq_item summary::after {
    content: "";
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-left: auto;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5v14' stroke='%234DB6E5' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.faq_item[open] summary::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14' stroke='%234DB6E5' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}

.faq_item summary:focus-visible {
    border-radius: 16px;
    outline: 3px solid var(--blue);
}

.faq_answer {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 0 20px;
    padding: 16px 0 20px;
    border-top: 2px solid var(--white);
}

@media screen and (min-width: 768px) {
    .faq_item summary {
        padding: 24px 32px;
    }

    .faq_answer {
        margin: 0 32px;
        padding: 16px 0 24px;
    }
}

/*====================
申し込みフォーム
====================*/
.form_box {
    max-width: 640px;
    margin: 0 auto;
    padding: 32px 20px;
    border-radius: var(--radius);
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.form {
    display: grid;
    gap: 24px;
}

.form_row {
    display: grid;
    gap: 8px;
}

.form_row label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.form_req {
    padding: 2px 8px;
    border-radius: 4px;
    background-color: var(--blue);
    color: var(--white);
    font-size: 12px;
    line-height: 1.5;
}

.form input,
.form textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    background-color: var(--white);
    color: var(--text);
    font-family: var(--font_body);
    font-size: 16px;
}

.form textarea {
    min-height: 120px;
    resize: vertical;
}

.form ::placeholder {
    color: var(--muted);
}

.form input:focus,
.form textarea:focus {
    border-color: var(--blue);
    outline: 2px solid var(--blue_soft);
}

.form [aria-invalid="true"] {
    border-color: #d64545;
}

.form_error {
    color: #d64545;
    font-size: 13px;
}

.form_error:empty {
    display: none;
}

.form_cols {
    display: grid;
    gap: 24px;
}

.form_submit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
}

.form_thanks {
    text-align: center;
}

.form_thanks_title {
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 900;
}

@media screen and (min-width: 768px) {
    .form_box {
        padding: 48px;
    }

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

/*====================
フッター
====================*/
.footer {
    display: grid;
    gap: 16px;
    padding: 40px 20px 116px;
    background-color: var(--text);
    color: var(--white);
    font-size: 13px;
    text-align: center;
}

.footer_logo {
    font-size: 18px;
    font-weight: 900;
}

.footer_note {
    opacity: 0.7;
}

@media screen and (min-width: 768px) {
    .footer {
        padding: 48px 20px;
        font-size: 14px;
    }

    .footer_logo {
        font-size: 22px;
    }
}

/*====================
スマホの固定ボタン
====================*/
.fixed_cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    padding: 10px 16px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -4px 16px rgba(51, 51, 64, 0.12);
    transform: translateY(100%);
    transition: transform 0.3s;
}

.fixed_cta.is_show {
    transform: translateY(0);
}

.fixed_cta .btn {
    width: 100%;
}

@media screen and (min-width: 768px) {
    .fixed_cta {
        display: none;
    }
}

/*====================
スクロールでふわっと表示
====================*/
.js_fade {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s, transform 0.6s;
}

.js_fade.is_show {
    opacity: 1;
    transform: none;
}

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

    .js_fade,
    .fixed_cta {
        transition: none;
    }

    .js_fade {
        opacity: 1;
        transform: none;
    }
}
