@charset "utf-8";

:root {
     --scrollbar-width: 0px;
    --exclude-scrollbar-width: calc(100vw - var(--scrollbar-width));
    --key: #1aa692;
    --black: #222222;
    --pale-yellow: #fcfdef;
    --orange: #ffaa86;
    --dark-orange: #fa743b;
    --teal: #a1d6d3;
    --light-teal: #dcf9f0;
    --white: #ffffff;
    --dark-gray: #707070;
    --required: #e01111;
    --optional: #045bcc;
    --error: #ffe5ee;
}

/* フォント・背景色 */
body, html { 
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
    background-color: var(--key);
    font-size: 16px;
    overflow-x: hidden;
}

.sp {
    display: none;
}

@media (max-width: 768px) {
    .sp {
        display: block;
    }

    .pc {
        display: none;
    }
}

/* 画像レスポンシブ */
img { 
    max-width: 100%;
    height: auto;
}

/* コンテンツ幅 */
.all_container {
    max-width: 1280px;
    position: relative;
    margin: 0 auto;
}

/* 全幅レイアウト */
.full_width {
    width: var(--exclude-scrollbar-width);
    margin: 0 calc(50% - var(--exclude-scrollbar-width) / 2);
    padding: 0 calc(var(--exclude-scrollbar-width) / 2 - 50%);
}

/* 行高さ・段落間余白 */
p {
    line-height: 1.8;
    margin: 0 0 0.8em; /*上 左右 下*/
}

/* 見出しタグ（フォントサイズ：ベースサイズ16px） */
h1 { font-size: 2.5em; /* 40px */ }

h2 { font-size: 2em; /* 32px */ }

h2.heading_double_bar {
    align-self: center;
    margin: 1em 0 1em 0;
    text-align: center;
    font-size: 2.625em;
    font-weight: bold;
    position: relative;
    padding-bottom: 0.3em;
}

h2.heading_double_bar::before,
h2.heading_double_bar::after {
    content: "";
    position: absolute;
    left: 0;
    height: 10px;
}

h2.heading_double_bar::before {
    bottom: 0;
    width: 40%;
    background-color: var(--orange);
}

h2.heading_double_bar::after {
    bottom: 0;
    left: 40%;
    width: 60%;
    background-color: var(--teal);
}

h3 { font-size: 1.75em; /* 28px */ }

h4 { font-size: 1.5em; /* 24px */ }

h5 { font-size: 1.25em; /* 20px */ }

h6 { font-size: 1em; /* 16px */ }

/* ヘッダー */
header.full_width {
    padding: 0.5em;
    background-color: var(--white);
}

header.full_width .logo_menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3em;
}

header.full_width .logo_menu .logo img {
    max-width: 230px;
}

header.full_width .logo_menu ul.header_menu_ul {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 2em;
}

/* ハンバーガーボタン（PC用は非表示） */
.hamburger { 
    display: none; 
}

/* ハンバーガーメニュー閉じるボタン */
.menu_close_btn { 
    display: none; 
}

@media (max-width: 992px) {
    header.full_width .logo_menu {
        flex-direction: column;
        row-gap: 1.5em;
    }
    
    header.full_width .logo_menu ul.header_menu_ul {
        align-items: flex-start;
    }
}

header.full_width .logo_menu ul.header_menu_ul li {
    list-style: none;
}

header.full_width .logo_menu ul.header_menu_ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    row-gap: 1.2em;
    font-weight: bold;
    color: var(--black);
    height: 100%; /* 高さを100%に設定 */
    justify-content: center; /* 縦方向の中央揃え */
    padding: 1em 0; /* 上下のパディングを追加 */
}

header.full_width .logo_menu ul.header_menu_ul li a img {
    max-width: 40px;
}

/* ページトップへ戻るボタン（初期状態） */
a.page_top {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 20px;
    right: 20px;
    opacity: 0; /* 初期は非表示 */
    transition: opacity 0.5s ease; /* opacityのみのフェードアニメーション */
    z-index: 9999;
    background-color: #1aa692;
    border: 2px solid #ffffff;
    color: #fff;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    pointer-events: none; /* 非表示時はクリック不可 */
    font-size: 1.5em;
    text-decoration: none;
}

.page_top.show {
  opacity: 1; /* 表示状態 */
  pointer-events: auto;
}

.page_top:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
    header.full_width .logo_menu {
        flex-direction: row;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: var(--white);
        z-index: 9999;
        padding: 0.5em;
    }

    .header_logo_menu h1.logo { 
        margin-right: 0; 
    }

    header.full_width .logo_menu .logo img {
        max-width: 250px;
    }

    /* ハンバーガーボタンを表示（PCファーストのためデフォルト非表示から上書き） */
    .hamburger, .menu_close_btn {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        position: absolute;
        right: 1em;
    }

    .menu_close_btn {
        top: 1em;
    }

    /* ハンバーガーアイコンの基本デザイン（四角枠と3本線） */
    .hamburger .hamburger_icon,
    .menu_close_btn .close_icon {
        position: relative;
        width: 40px;
        height: 40px;
        border: 2px solid #1aa692;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hamburger .hamburger_icon span,
    .hamburger .hamburger_icon::before,
    .hamburger .hamburger_icon::after,
    .menu_close_btn .close_icon span,
    .menu_close_btn .close_icon::before,
    .menu_close_btn .close_icon::after {
        content: "";
        position: absolute;
        background-color: #1aa692;
        width: 20px;
        height: 2px;
        transition: all 0.3s ease;
    }

    /* 上のライン */
    .hamburger .hamburger_icon::before { 
        top: 8px; 
    }
    
    /* 下のライン */
    .hamburger .hamburger_icon::after { 
        bottom: 8px; 
    }

    /* 中央のライン */
    .hamburger .hamburger_icon span {
        top: 50%;
        transform: translateY(-50%);
    }

    /* ボタンがopen状態の場合、アイコンを×に切り替え */
    .hamburger.open .hamburger_icon::before, .menu_close_btn .close_icon::before {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .hamburger.open .hamburger_icon::after, .menu_close_btn .close_icon::after {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
    }

    .hamburger.open .hamburger_icon span, .menu_close_btn .close_icon span {
        opacity: 0;
    }

    /* ナビゲーションを固定位置のスライドインメニューに */
    .header_menu {
        position: fixed;
        top: 0;
        right: -100%; /* 初期状態は画面外（右側） */
        width: 100%;
        height: 100vh; /* ビューポートの高さいっぱいに */
        background-color: var(--white);
        transition: right 0.3s ease;
        z-index: 9999;
        padding: 0;
        overflow-y: auto; /* 縦方向のスクロールを有効化 */
    }

    /* メニューが開いた状態 */
    .header_menu.open { 
        right: 0; 
    }

    /* ヘッダーの高さ分だけコンテンツを下げる */
    body, div.page_header {
        padding-top: 4em; /* ヘッダーの高さ分のパディングを追加 */
    }

    header.full_width .logo_menu ul.header_menu_ul {
        flex-direction: column;
        gap: 1em;
        padding: 3em 0 0 1em; /* 上・右・下・左 */
        overflow-y: auto; /* 縦方向のスクロールを有効化 */
    }

    header.full_width .logo_menu ul.header_menu_ul li a {
        flex-direction: row;
        column-gap: 1em;
        padding: 1em 0; /* タップ領域を確保 */
    }
}

footer {
    background-color: var(--light-teal);
    padding: 3em calc(var(--exclude-scrollbar-width) / 2 - 50%) 0!important;
    display: flex;
    flex-direction: column;
    row-gap: 1em;
}

footer nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
    margin-bottom: 2em;
}

footer nav ul li {
    list-style: none;
}

footer nav ul li a {
    text-decoration: none;
    color: var(--black);
    font-weight: bold;
}

footer nav ul li a img {
    max-width: 40px;
}

footer .logo_address_tel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2em;
}

footer .logo_address_tel .address_tel {
    text-align: center;
    line-height: 2;
}

footer .logo_address_tel a img {
    max-width: 280px;
}

footer .copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--key);
    color: var(--white);
    font-size: 0.625em;
    text-align: center;
    padding: 2em calc(var(--exclude-scrollbar-width) / 2 - 50%) 1em!important;
}

@media (max-width: 768px) {
    footer nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    footer nav ul li {
        padding-left: 2.5em;
    }
}

section {
    display: flex;
    flex-direction: column;
    padding: 2em calc(var(--exclude-scrollbar-width) / 2 - 50%)!important;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

section.top_visual_description_cta {
    background-image: url('../img/png/frame/plaid-pattern.png');
    @supports (background-image: url('../img/webp/frame/plaid-pattern.webp')) {
        background-image: url('../img/webp/frame/plaid-pattern.webp');
    }
}

section.top_visual_description_cta .top_visual {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
}

section.top_visual_description_cta .top_visual .left {
    flex: 1;
    margin-right: -20%;
    z-index: 200;
}

section.top_visual_description_cta .top_visual .left .site_title {
    display: flex;
    flex-direction: column;
    row-gap: 1em;
    background-color: var(--white);
    padding: 1em;
    text-align: center;
    margin-bottom: 3em;
}

section.top_visual_description_cta .top_visual .left .site_title span.main,
section.top_visual_description_cta .top_visual .left .site_title span.sub {
    font-weight: bold;
    color: var(--key);
    text-shadow: 2px 2px #c0c0c0;
    white-space: nowrap;
}

section.top_visual_description_cta .top_visual .left .site_title span.main {
    font-size: 5em;
}

section.top_visual_description_cta .top_visual .left .site_title span.sub {
    font-size: 1.875em;
}

section.top_visual_description_cta .top_visual .left .site_description {
    background-color: var(--key);
    font-weight: bold;
    font-size: 2.5em;
    color: var(--white);
    width: fit-content;
    margin-bottom: 0.5em;
    padding: 0.5em;
}

section.top_visual_description_cta .top_visual .left .site_description p {
    margin: 0;
}

section.top_visual_description_cta .top_visual .right {
    flex: 2;
    text-align: center;
    z-index: 100;
}

section.top_visual_description_cta .description_cta {
    display: flex;
    flex-direction: column;
    margin-top: 2em;
}

section.top_visual_description_cta .description_cta .site_description {
    text-align: center;
}

section.top_visual_description_cta .description_cta .cta {
    display: block;
    margin: 1.5em auto;
}

section.top_visual_description_cta .description_cta .cta a img {
    max-width: 600px;
    transition: 0.3s;
}

@media (max-width: 500px) {
    section.top_visual_description_cta .description_cta .cta a img {
        max-width: 100%;
    }
}

section.top_visual_description_cta .description_cta .cta a img:hover,
section.fee_experience_application_cta .cta a img:hover {
    transform: scale(1.05);
    opacity: 0.85;
}

section.about_us_features {
    background-color: var(--pale-yellow);
}

section.about_us_features .recommendations,
section.recommendations_about_us_commute_children .recommendations {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2em;
    margin: 3em auto;
}

section.about_us_features .recommendations .left,
section.recommendations_about_us_commute_children .recommendations .left {
    flex: 1;
}

section.about_us_features .recommendations .right,
section.recommendations_about_us_commute_children .recommendations .right {
    flex: 1;
}

section.about_us_features .recommendations .left p.txt,
section.about_us_features .recommendations .right p.txt,
section.recommendations_about_us_commute_children .recommendations .left p.txt,
section.recommendations_about_us_commute_children .recommendations .right p.txt {
    font-size: 1.75em;
    font-weight: bold;
    color: var(--black);
    text-align: center;
}


section.about_us_features .recommendations .left .box,
section.about_us_features .recommendations .right .box,
section.recommendations_about_us_commute_children .recommendations .left .box,
section.recommendations_about_us_commute_children .recommendations .right .box {
    background-color: var(--white);
    padding: 1em;
    border-radius: 2.5em;
}

section.about_us_features .recommendations .left .box ul li,
section.about_us_features .recommendations .right .box ul li,
section.recommendations_about_us_commute_children .recommendations .left .box ul li,
section.recommendations_about_us_commute_children .recommendations .right .box ul li {
    margin: 1em 0;
    padding: 1em 0.5em;
    list-style-position: inside;
    font-size: 1.25em;
}

section.about_us_features .features {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2em;
    margin: 5em auto 2em;
}

section.about_us_features .features .box {
    flex: 1;
    display: flex;
    flex-direction: column;
    row-gap: 2em;
    align-items: center;
    background-color: var(--light-teal);
    padding: 5em 1em 1em;
    position: relative;
}

section.about_us_features .features .box .num_wrap {
    position: absolute;
    top: -4em;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

section.about_us_features .features .box .num_wrap span.txt {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--key);
}

section.about_us_features .features .box .num_wrap span.num {
    font-size: 3.75em;
    font-weight: bold;
    color: var(--key);
}

section.about_us_features .features .box .img img {
    width: 240px;
    height: 240px;
}

section.about_us_features .features .box .txt h3 {
    font-size: 1.75em;
    font-weight: normal;
}

section.about_us_features a.viewmore_btn,
section.fee_experience_application_cta a.viewmore_btn {
    display: block;
    margin: 3em auto;
    text-align: center;
    width: fit-content;
    padding: 1.5em 5em;
    background-color: var(--key);
    color: var(--white);
    border-radius: 2.5em;
    text-decoration: none;
    transition: 0.3s;
}

section.about_us_features a.viewmore_btn:hover,
section.fee_experience_application_cta a.viewmore_btn:hover {
    background-color: var(--white);
    color: var(--key);
    border: 2px solid var(--key);
}

section.fee_experience_application_cta {
    background-image: url('../img/png/frame/plaid-pattern.png');
    @supports (background-image: url('../img/webp/frame/plaid-pattern.webp')) {
        background-image: url('../img/webp/frame/plaid-pattern.webp');
    }
}

section.fee_experience_application_cta .fee {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin: 0 auto;
    width: 100%;
    gap: 3em;
}

section.fee_experience_application_cta .fee .box {
    flex: 1;
    background-image: url('../img/png/frame/frame-green.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5em 0;
    row-gap: 1em;
}

section.fee_experience_application_cta .fee .box h3 {
    font-size: 2em;
    font-weight: bold;
    padding-top: 1em;
}


section.fee_experience_application_cta .fee .box .fee_txt {
    font-weight: bold;
    font-size: 1.75rem;
}

section.fee_experience_application_cta .fee .box .fee_txt span.price {
    font-size: 3.75rem;
    font-weight: bold;
    color: var(--key);
}

section.fee_experience_application_cta .fee .box .img img {
    max-width: 300px;
}

section.fee_experience_application_cta .cta {
    display: block;
    margin: 3em auto;
}

section.fee_experience_application_cta .cta a img {
    width: 780px;
    height: auto;
    transition: 0.3s;
}

section.fee_experience_application_cta .application {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2em;
}

section.fee_experience_application_cta .application .left,
section.fee_experience_application_cta .application .right {
    flex: 1;
    width: 100%;
}

section.fee_experience_application_cta .application .left a,
section.fee_experience_application_cta .application .right a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-decoration: none;
    transition: 0.3s;
    background-color: var(--pale-yellow);
    padding: 2em 1.5em;
    border-radius: 2.5rem;
    border: 4px solid var(--key);
    color: var(--black);
    font-weight: bold;
    font-size: 1.75em;
}

section.fee_experience_application_cta .application .left a img,
section.fee_experience_application_cta .application .right a img {
    width: 80px;
    height: 80px;
}

section.fee_experience_application_cta .application .left a:hover,
section.fee_experience_application_cta .application .right a:hover {
    transform: scale(1.05);
    opacity: 0.85;
}


@media (max-width: 768px) {
    h2.heading_double_bar {
        font-size: 1.75rem;
        margin: 1em 0;
    }
    
    section.top_visual_description_cta .top_visual {
        flex-direction: column;
        align-items: center;
        gap: 1em;
    }

    section.top_visual_description_cta .top_visual .left {
        margin-right: 0;
        width: 100%;
    }

    section.top_visual_description_cta .top_visual .left .site_title {
        margin-bottom: 1.5em;
    }

    section.top_visual_description_cta .top_visual .left .site_title span.main {
        font-size: 3.125rem;
    }

    section.top_visual_description_cta .top_visual .left .site_title span.sub {
        font-size: 1.25rem;
    }

    section.top_visual_description_cta .top_visual .left .site_description p {
        font-size: 1.375rem;
    }

    section.top_visual_description_cta .top_visual .right {
        width: 100%;
    }

    section.about_us_features .recommendations,
    section.about_us_features .features,
    section.fee_experience_application_cta .fee,
    section.recommendations_about_us_commute_children .recommendations {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    section.fee_experience_application_cta .fee {
        row-gap: 1em;
    }

    section.about_us_features .recommendations .left .box ul li, 
    section.about_us_features .recommendations .right .box ul li, 
    section.recommendations_about_us_commute_children .recommendations .left .box ul li, 
    section.recommendations_about_us_commute_children .recommendations .right .box ul li {
        font-size: 1em;
    }


    section.about_us_features .recommendations .left,
    section.about_us_features .recommendations .right,
    section.about_us_features .features .box,
    section.fee_experience_application_cta .fee .box {
        width: 100%;
    }

    section.about_us_features .recommendations .left p.txt, 
    section.about_us_features .recommendations .right p.txt, 
    section.recommendations_about_us_commute_children .recommendations .left p.txt, 
    section.recommendations_about_us_commute_children .recommendations .right p.txt {
        font-size: 1.25em;
    }

    section.about_us_features .features .box {
        margin: 2em 0;
    }

    section.about_us_features .features .box:last-child {
        margin-bottom: 0;
    }

    section.about_us_features .features .box .num_wrap span.txt {
        font-size: 1.25em;
    }

    section.about_us_features .features .box .num_wrap span.num {
        font-size: 3.125em;
    }

    section.about_us_features .features .box .txt h3 {
        font-size: 1.25em;
    }
    
    section.fee_experience_application_cta .fee .box {
        padding: 3em 0;
    }

    section.fee_experience_application_cta .fee .box h3 {
        font-size: 1.625rem;
    }

    section.fee_experience_application_cta .fee .box .fee_txt {
        font-size: 1.375rem;
    }

    section.fee_experience_application_cta .fee .box .fee_txt span.price {
        font-size: 3.125rem;
    }

    section.fee_experience_application_cta .fee .box .img img {
        max-width: 300px;
        height: auto;
    }

    section.fee_experience_application_cta .application {
        flex-direction: column;
        align-items: center;
    }

    section.fee_experience_application_cta .application .left a,
    section.fee_experience_application_cta .application .right a {
        padding: 1.5em;
    }

    section.fee_experience_application_cta .application .left a span,
    section.fee_experience_application_cta .application .right a span {
        font-size: 1.25rem;
    }

    section.about_us_features a.viewmore_btn, 
    section.fee_experience_application_cta a.viewmore_btn {
        margin: 2em auto;
    }
}

/* ページヘッダー */
div.page_header {
    background-color: var(--light-teal);
    background-image: url(../img/png/frame/title-frame.png);
    background-size: contain;
    background-position: center center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5em calc(var(--exclude-scrollbar-width) / 2 - 50%) 3em;
}

div.page_header .page_subtitle {
    font-size: 1.75em;
    font-weight: bold;
    color: var(--light-teal);
    margin-top: 2em;
    width: 50%;
}

div.page_header h1.page_title {
    font-size: 3.125em;
    font-weight: bold;
    color: var(--black);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    div.page_header {
        padding: 3em calc(var(--exclude-scrollbar-width) / 2 - 50%) 1em;
    }

    div.page_header .page_subtitle {
        font-size: 0.875rem;
        margin-top: 0;
    }

    div.page_header h1.page_title {
        font-size: 1.375rem;
    }
}

/* 個別指導ページ・各ページ共通CTA */
section.ask, section.cta {
    background-image: url(../img/png/frame/plaid-pattern.png);
}

@supports (background-image: url(../img/webp/frame/plaid-pattern.webp)) {
    section.ask, section.cta {
        background-image: url(../img/webp/frame/plaid-pattern.webp);
    }
}

section.ask p, section.cta p.color_key {
    font-size: 2.625em;
    font-weight: bold;
    color: var(--key);
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

section.cta p  {
    font-size: 2em;
    font-weight: bold;
    color: var(--black);
    text-align: center;
}

section.cta a {
    display: block;
    margin: 3em auto;
    transition: all 0.3s ease;
}

section.cta a:hover {
    transform: scale(1.05);
    opacity: 0.85;
}

section.cta a img {
    max-width: 600px;
}

@media (max-width: 768px) {
    section.ask p,
    section.cta p.color_key {
        font-size: 2.25em;
        text-align: left;
        display: flex;
        justify-content: center;
        margin: 0 auto 1em;
    }

    section.cta a img {
        max-width: 100%;
    }

    section.cta .sp .flex {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5em;
    }

    section.cta .sp .flex span {
        font-weight: bold;
    }

    section.cta .sp .flex .slash {
        font-size: 2.25rem;
    }

    section.cta .sp .flex .txt {
        font-size: 1.75rem;
        text-align: center;
    }
}

section.ask .ask_list {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: var(--white);
}

section.ask .ask_list h2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding-top: 1em;
    padding-left: 1em;
    gap: 1em;
}

section.ask .ask_list h2 img {
    max-width: 40px;
}

section.ask .ask_list h2 span {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--black);
}

section.ask img.children {
    display: block;
    margin: 3em auto;
    max-width: 600px;
}

section.recommendations_about_us_commute_children .about_us,
section.access .access {
    width: 100%;
}

section.recommendations_about_us_commute_children .about_us .box_wrap,
section.access .access .box_wrap {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 5em;
    width: 100%;
    margin: 3em 0;
}

section.recommendations_about_us_commute_children .about_us .box_wrap .box,
section.access .access .box_wrap .box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 2em;
}

section.recommendations_about_us_commute_children .about_us .box_wrap .box .feature_heading,
section.access .access .box_wrap .box .access_heading {
    position: relative;
    display: flex;
    align-items: center;
    border: 2px solid var(--key);
    border-radius: 2.5rem;
    background-color: var(--white);
    padding: 10px 10px 10px 20px;
    font-weight: bold;
    width: 100%;
}

section.recommendations_about_us_commute_children .about_us .box_wrap .box .feature_heading span.num,
section.access .access .box_wrap .box .access_heading span.num {
    position: absolute;
    top: 0;
    left: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--key);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.75rem;
    font-weight: bold;
    box-shadow: 0 0 0 10px var(--white), 0 0 0 15px var(--black);
}

section.recommendations_about_us_commute_children .about_us .box_wrap .box .feature_heading span.txt,
section.access .access .box_wrap .box .access_heading span.txt {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--black);
    padding-left: 3em;
    min-height: 3em;
}

section.recommendations_about_us_commute_children .about_us .box_wrap .box .img img {
    max-width: 280px;
}

section.recommendations_about_us_commute_children .commute_children {
    background-color: var(--pale-yellow);
    border-radius: 2.5em;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0.5em;
    margin: 1em 0;
}

section.recommendations_about_us_commute_children .commute_children .left,
section.recommendations_about_us_commute_children .commute_children .center,
section.recommendations_about_us_commute_children .commute_children .right {
    flex: 1;
}

section.recommendations_about_us_commute_children .commute_children .left,
section.recommendations_about_us_commute_children .commute_children .right {
    display: flex;
    flex-direction: column;
    gap: 0;
}

section.recommendations_about_us_commute_children .commute_children .left h4,
section.recommendations_about_us_commute_children .commute_children .right h4 {
    font-size: 2em;
    font-weight: bold;
    background-color: var(--white);
    color: var(--key);
    text-align: center;
    border: 4px solid var(--key);
    border-radius: 50%;
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

section.recommendations_about_us_commute_children .commute_children .left h4:nth-child(1){
    align-self: flex-start;
}

section.recommendations_about_us_commute_children .commute_children .left h4:nth-child(2){
    align-self: flex-end;
}

section.recommendations_about_us_commute_children .commute_children .left h4:nth-child(3){
    align-self: flex-start;
}

section.recommendations_about_us_commute_children .commute_children .right h4:nth-child(1){
    align-self: flex-end;
}

section.recommendations_about_us_commute_children .commute_children .right h4:nth-child(2){
    align-self: flex-start;
}

section.recommendations_about_us_commute_children .commute_children .right h4:nth-child(3){
    align-self: flex-end;
}

@media (max-width: 768px) {
    section.ask p {
        font-size: 1.75em;
    }

    section.ask .ask_list h2 span {
        font-size: 1.125rem;
    }

    section.ask img.children {
        max-width: 320px;
    }

    section.recommendations_about_us_commute_children .about_us .box_wrap,
    section.recommendations_about_us_commute_children .commute_children,
    section.access .access .box_wrap {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    section.recommendations_about_us_commute_children .commute_children {
        align-items: initial;
    }

    section.recommendations_about_us_commute_children .about_us .box_wrap {
        align-items: center;
    }

    section.recommendations_about_us_commute_children .about_us .box_wrap .box h3.feature_heading span.num,
    section.access .access .box_wrap .box h3.access_heading span.num {
        font-size: 1.75rem;
        width: 40px;
        height: 40px;
        left: 0;
        box-shadow: 0 0 0 5px var(--white), 0 0 0 8px var(--black);
    }

    section.recommendations_about_us_commute_children .about_us .box_wrap .box h3.feature_heading span.txt,
    section.access .access .box_wrap .box h3.access_heading span.txt {
        font-size: 1.25rem;
    }

    section.recommendations_about_us_commute_children .commute_children .left h4,
    section.recommendations_about_us_commute_children .commute_children .right h4 {
        width: 200px;
        height: 200px;
        font-size: 1.625rem;
    }

    section.recommendations_about_us_commute_children .commute_children .center {
        align-self: center;
    }
}

/* コース・料金・ご利用の流れページ */
/* 見出し */
section.faq h2.h2_custom_faq,
section.course_price h2.h2_custom_course_price,
section.contact .intro {
    position: relative; /* 子要素を絶対配置するためにrelativeを付与 */
    margin: 1.5em 0;
    background-color: var(--key);
    color: var(--white);
    padding: 0.3em 0 0.3em 4em;
    display: flex;
    align-items: center;
}

/* 左端の三角形（矢印）を生成 */
section.faq h2.h2_custom_faq span.triangle,
section.course_price h2.h2_custom_course_price span.triangle,
section.contact .intro span.triangle {
    position: absolute; /* 親のposition:relative; を基準に配置 */
    top: 0;
    left: 0;
    width: 50px; /* 三角底辺の幅 */
    height: 100%; /* 親要素の高さに追従 */
    background-color: var(--orange);
    /* 三角形の形をクリップパスで指定 */
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

section.course_price .course_price_wrap {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
}

section.course_price .course_price_wrap .right {
    background-color: var(--white);
    padding-left: 1em;
    flex: 1;
}

section.course_price .course_price_wrap .left .img img {
    width: 480px;
    height: 240px;
    object-fit: cover;
}

section.course_price .course_price_wrap .right .price {
    font-weight: bold;
    font-size: 1.25em;
    margin-top: 1em;
    padding-left: 1em;
}

section.course_price .course_price_wrap .right .price span.num {
    font-size: 1.75rem;
}

section.course_price .course_price_wrap .right .table {
    margin-top: 1em;
}

section.course_price .course_price_wrap .right .table table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

section.course_price .course_price_wrap .right .table tr {
    border: none;
}

section.course_price .course_price_wrap .right .table tr th,
section.course_price .course_price_wrap .right .table tr td {
    border: none;
    padding: 1em;
    text-align: left;
    vertical-align: top;
    font-size: 1.25rem;
}

section.course_price .course_price_wrap .right .table tr th {
    width: 25%;
    font-weight: bold;
    color: var(--dark-orange);
}

section.course_price .course_price_wrap .right .table tr td {
    width: 75%;
}

section.course_price .course_price_wrap .right .table tr td h3 {
    font-size: 1.25rem;
    font-weight: normal;
}

@media (max-width: 768px) {
    section.faq h2.h2_custom_faq,
    section.course_price h2.h2_custom_course_price,
    section.contact .intro {
        font-size: 1.5em;
        padding: 0.3em 0 0.3em 3em;
    }

    section.course_price h2.h2_custom_course_price span.txt span.smaller {
        font-size: 1.125rem;
    }

    section.course_price .course_price_wrap {
        flex-direction: column;
        align-items: center;
    }

    section.course_price .course_price_wrap .left,
    section.course_price .course_price_wrap .right {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    section.course_price .course_price_wrap .left .img img {
        width: 300px;
        height: 150px;
        object-fit: cover;
    }

    section.course_price .course_price_wrap .right .price {
        padding-left: 0;
        text-align: center;
    }

    section.course_price .course_price_wrap .right .table table tr th,
    section.course_price .course_price_wrap .right .table table tr td {
        display: block;
        width: 100%;
        padding: 0.5em;
        text-align: center;
    }
}

/* 注意書き */
section.course_price p.note {
    font-size: 0.8em;
    display: block;
    margin: 2em auto;
}

@media (max-width: 768px) {
}

/* ご利用の流れ */
section.guide .steps {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2em;
    position: relative;
}

section.guide .steps::before {
    content: "";
    position: absolute;
    top: 80px; /* ステップ番号の円の中心位置に合わせて調整 */
    left: 12.5%; /* 50% / 4 = 12.5% */
    width: 75%;  /* 100% - 2 * 12.5% = 75% */
    height: 1px;
    background-color: var(--key);
    z-index: 0;
}

section.guide .steps .step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1; /* 横線の上に表示されるように */
}

section.guide .steps .step .label {
    font-size: 1.5em;
    color: var(--key);
    font-weight: bold;
    margin-bottom: 0.5em;
}

section.guide .steps .step .num {
    width: 80px;
    height: 80px;
    background: var(--key);
    color: var(--white);
    border-radius: 50%;
    font-size: 3.75em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

section.guide .steps .step .title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 1em;
    color: var(--black);
    text-align: center;
}

section.guide .steps .step .description {
    background-color: var(--white);
    border: 2px solid var(--key);
    text-align: left;
    padding: 1.5em;
    width: 100%;
    height: 100%;
    border-radius: 2.5em;
}

@media (max-width: 768px) {
    section.guide .steps::before {
        display: none;
    }
    
    section.guide .steps {
        flex-direction: column;
        position: relative;
    }
    
    section.guide .steps .step {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        margin-bottom: 3em;
        position: relative;
    }
    
    section.guide .steps .step:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 20px; /* 円の中心に合わせる */
        top: 80px;     
        width: 1px;
        height: 100%;
        background: var(--key);
        z-index: 0;
    }

    section.guide .steps .step .label {
        font-size: 1.125rem;
        z-index: 2;
    }
    
    section.guide .steps .step .num {
        position: relative;
        left: 0;
        top: 0;
        font-size: 1.75rem;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--key);
        color: #fff;
        border-radius: 50%;
        font-weight: bold;
        z-index: 1;
        margin-bottom: 0.5em;
        align-self: flex-start;
    }

    section.guide .steps .step .title {
        font-size: 1.25rem;
        padding-left: 3em;
        margin-top: -2.3em;
    }

    section.guide .steps .step .description {
        margin-left: 3em;
        width: calc(100% - 3em);
    }
}

section.access .access .box_wrap .box .access_heading span.txt {
    min-height: 3em;
}

/* 教室までの道順 */
@media (max-width: 768px) {
    section.access .access .box_wrap {
        row-gap: 3em;
    }

    section.access .access .box_wrap:last-child {
        margin-bottom: 0;
    }
}

/* Bit Through教室の様子・授業の様子 */
section.classroom_class .classroom .box_wrap,
section.classroom_class .class .box_wrap {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2em;
    margin: 2.5em 0;
}

section.classroom_class .classroom .box_wrap {
    margin: 2em 0;
}

section.classroom_class .class .box_wrap .box h4.img_caption {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.25rem;
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: initial;
}

section.classroom_class .class .box_wrap .box h4.img_caption span.num {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--white);
    background-color: var(--key);
    border-radius: 50%;
    padding: 0.25rem 0.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    section.classroom_class .classroom .box_wrap,
    section.classroom_class .class .box_wrap {
        flex-direction: column;
        row-gap: 3em;
        margin: 2em 0;
    }
}

/* 運営会社 */
section.operating_company .operating_company .googlemap {
    width: 100%;
    margin: 3em 0 5em;
}

section.operating_company .operating_company .googlemap iframe {
    width: 100%;
}

section.operating_company .operating_company table {
    width: 100%;
    border-collapse: collapse;
}

section.operating_company .operating_company table tr {
    border-bottom: 1px dashed var(--black);
}

section.operating_company .operating_company table tr:last-child {
    border-bottom: none;
}

section.operating_company .operating_company table th,
section.operating_company .operating_company table td {
    padding: 1.5em;
}

section.operating_company .operating_company table th {
    width: 25%;
    text-align: left;
    vertical-align: top;
}

section.operating_company .operating_company table td {
    width: 75%;
}

@media (max-width: 768px) {    
    section.operating_company .operating_company .googlemap iframe {
        height: 400px;
    }

    section.operating_company .operating_company table th,
    section.operating_company .operating_company table td {
        padding: 0.5em 0 0.7em 1em;
        display: block;
        width: 100%;
    }

}

/* 講師紹介ページ */
section.tutor .tutor {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    margin: 1.5em 0;
}

section.tutor .tutor .left,
section.tutor .tutor .right {
    flex: 1;
    background-color: var(--white);
}

section.tutor .tutor .right {
    padding: 1em;
}

section.tutor .tutor .right h2.tutor_name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5em;
    margin-bottom: 2.5rem;
    color: var(--key);
    text-shadow: 0 0 0.5em rgba(0, 0, 0, 0.1);
}

section.tutor .tutor .right h2.tutor_name .name_row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5em;
}

section.tutor .tutor .right h2.tutor_name span.name {
    font-size: 1.5rem;
}

section.tutor .tutor .right h2.tutor_name span.romaji {
    font-size: 1rem;
}

section.tutor .tutor .right h2.tutor_name span.position {
    font-size: 1.2rem;
    font-weight: normal;
}

section.tutor .tutor .right .introduction p {
    line-height: 2;
    margin-bottom: 2em;
}

section.tutor .tutor .right .introduction p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    section.tutor .tutor {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
}

/* よくあるご質問 */


/* 各Q＆Aを囲む箱 */
section.faq .qa_wrap {
    margin: 1.5em auto;
    width: 100%;
}

/* 質問（Q）部分 */
section.faq .qa_wrap .qa_question {
    display: flex;
    align-items: center;
    gap: 1.25em;
}

section.faq .qa_wrap .qa_question .q_mark {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--orange); /* オレンジ系 */
    border-radius: 50%;
    color: var(--white);
    font-weight: bold;
    font-size: 1.625em;
}

section.faq .qa_wrap .qa_question p {
    font-size: 1.25em;
    font-weight: bold;
    margin: 0;
}

/* ドットの区切り線 */
section.faq .qa_wrap .qa_separator {
    border: none;
    border-top: 2px dotted var(--dark-gray);
    margin: 1em 0;
}

/* 回答（A）部分 */
section.faq .qa_wrap .qa_answer {
    background-color: var(--pale-yellow);
    padding: 1em;
    display: flex;
    align-items: flex-start;
    gap: 1.5em;
    font-size: 1.125em;
}

section.faq .qa_wrap .qa_answer .a_mark {
    font-size: 1.625em;
    font-weight: bold;
    line-height: 1;
}

@media (max-width: 768px) {
    section.faq .qa_wrap .qa_answer {
        font-size: 1em;
    }

    section.faq .qa_wrap .qa_question .q_mark {
        min-width: 50px;
        min-height: 50px;
    }
}

/* 相談・体験申込み */
section.contact .intro {
    justify-content: center;
}

section.contact .intro .txt_wrap { 
    padding: 2em;
}

/* 相談・体験申込みフォーム */
section.contact table.form {
    width: 100%;
    border-collapse: collapse; /* 枠線が二重にならないように */
    margin: 1em auto;
}

section.contact table.form tr {
    border-bottom: 2px dotted var(--dark-gray);
}

section.contact table.form tr:last-child {
    border-bottom: none;
}

section.contact table.form th,
section.contact table.form td {
    padding: 1.5em;
}

section.contact table.form th {
    width: 30%;
    text-align: left;
}

section.contact table.form td { 
    width: 70%; 
}

section.contact table.form td .privacy_txt_wrap {
    background-color: #fcfdef;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

section.contact table.form td .privacy_txt_wrap span {
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    margin-top: 1em;
    margin-bottom: 2em;
}

/* エラーメッセージのスタイル */
.error_msg {
    display: block;
    color: #af011c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

.error_msg.hide {
    opacity: 0;
}

/* 入力エラー時のスタイル */
.input_error {
    border: 1px solid var(--required) !important;
    background-color: var(--error) !important;
    transition: all 0.3s ease-out;
}

/* チェックボックスのエラー時のスタイル */
input[type="checkbox"].input_error {
    border: 1px solid var(--required) !important;
    background-color: var(--error) !important;
    transition: all 0.3s ease-out;
}

/* チェックボックスのラベルのエラー時のスタイル */
input[type="checkbox"].input_error + label {
    color: var(--required);
    background-color: var(--error);
    padding: 0.5em 1em;
    border-radius: 4px;
    transition: all 0.3s ease-out;
    display: inline-block;
}

/* 入力欄の基本スタイル */
input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
select {
    transition: all 0.3s ease-out;
}

/* すべてのinput, textareaに共通してplaceholderの色を指定 */
::-webkit-input-placeholder {
    color: var(--dark-gray);
    opacity: 1; /* ブラウザによってはデフォルトのopacityが低いことがある */
}
  
:-ms-input-placeholder {
    color: var(--dark-gray);
}

::placeholder {
    color: var(--dark-gray);
    opacity: 1;
}

/* テキスト・メール・電話・パスワードなどの入力欄 */
section.contact table.form input[type="text"],
section.contact table.form input[type="tel"],
section.contact table.form input[type="email"],
section.contact table.form textarea,
section.contact table.form select {
    width: 100%;
    padding: 1.25em;
    background-color: #fcfdef;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* はみ出し防止のため */
    outline: none;          /* デフォルトのアウトラインを消す */
    transition: box-shadow 0.3s ease; /* フォーカス時の変化をスムーズに */
}

section.contact table.form input[type="checkbox"] {
    width: 25px;
    height: 25px;
    vertical-align: bottom;
}

/* フォーカス時のスタイル */
section.contact table.form input[type="text"]:focus,
section.contact table.form input[type="tel"]:focus,
section.contact table.form input[type="email"]:focus,
section.contact table.form textarea:focus,
section.contact table.form select:focus {
    box-shadow: 0 0 5px rgba(26,166,146,0.5); /* ティール系カラーの光彩を付与 */
    border-color: var(--key);
}

/* テキストエリアの高さを伸ばしやすく */
section.contact table.form textarea {
    min-height: 250px;  /* 初期の高さ（お好みで） */
    resize: vertical;   /* 上下方向のリサイズを許可 */
}

/* 必須ラベル */
section.contact table.form .required {
    background-color: var(--required); /* 背景色 */
    color: var(--white); /* 文字色 */
    border-radius: 5px; /* 少し丸みをつける */
    padding: 3px 8px; /* 内側の余白 */
    font-weight: bold; /* 強調する場合 */
    margin-right: 5px; /* 項目名との間に余白 */
}

/* 任意ラベル */
section.contact table.form .optional {
    background-color: var(--optional); /* 背景色 */
    color: var(--white); /* 文字色 */
    border-radius: 5px; /* 少し丸みをつける */
    padding: 3px 8px; /* 内側の余白 */
    font-weight: bold; /* 強調する場合 */
    margin-right: 5px; /* 項目名との間に余白 */
}

/* 送信ボタン */
section.contact .form_wrap .submit_btn {
    display: block;
    margin: 1.5em auto;
    padding: 1em 3em;
    background-color: var(--orange);
    border: 1px solid var(--orange);
    border-radius: 100vh;
    color: var(--white);
    font-weight: bold;
    width: 75%;
    transition: 0.3s;
}

/* hover時 */
section.contact .form_wrap .submit_btn:hover {
    background-color: var(--white);
    border: 1px solid var(--orange);
    color: var(--orange);
    cursor: pointer;
}

/* 同意チェック前の状態（クリック不可）の時 */
section.contact .form_wrap .submit_btn:disabled {
    background-color: var(--dark-gray); /* 背景色 */
    color: var(--white); /* 文字色 */
    border: 1px solid var(--dark-gray); /* 枠線 */
    cursor: not-allowed; /* マウスカーソルを「使用不可」に */
    opacity: 0.7; /* 半透明にして無効感を演出 */
    font-weight: normal;
}

/* エラー案内 */
section.contact .errorinfo {
    background-color: var(--error);
    padding: 15px;
    width: 100%;
}

section.contact .errorinfo p {
    color: var(--required);
    font-weight: bold;
    text-align: center;
}

/* エラーメッセージのスタイル */
section.contact table.form .error_msg {
    color: var(--required);
    font-size: 0.9em;
    margin-top: 0.5em;
    display: block;
    font-weight: bold;
}

/* エラー時の入力フォームスタイル */
section.contact table.form input[type="text"].input_error,
section.contact table.form input[type="tel"].input_error,
section.contact table.form input[type="email"].input_error,
section.contact table.form textarea.input_error,
section.contact table.form select.input_error {
    border: 1px solid var(--required);
    background-color: var(--error);
}

@media (max-width: 768px) {
    section.contact .intro .txt_wrap {
        padding: 0.5em;
        font-size: 1rem;
    }

    section.contact table.form th,
    section.contact table.form td {
        display: block;
        width: 100%;
        padding: 1em 0;
    }
}

/* お問合せ御礼画面 */
section.contact_completed .completed_txt {
    margin: 2em auto;
    background-color: var(--light-teal);
    padding: 1.5em;
    width: 100%;
}

section.contact_completed .completed_txt .contact_details {
    margin: 2em auto;
    background-color: var(--white);
    padding: 1em;
    border-radius: 2.5em;
}

section.contact_completed .completed_txt .contact_details p {
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
}

section.contact_completed .btn {
    width: 100%;
    margin: 2em auto;
}

section.contact_completed .btn a.btn {
    display: block;
    padding: 1em 3em;
    background-color: var(--key);
    border: 2px solid var(--key);
    border-radius: 100vh;
    color: var(--white);
    font-weight: bold;
    width: 75%;
    transition: 0.3s;
    text-decoration: none;
    text-align: center;
}

section.contact_completed .btn a.btn:hover {
    background-color: var(--white);
    border: 1px solid var(--key);
    color: var(--key);
    cursor: pointer;
}

/* レスポンシブ（タブレット） */
@media screen and (max-width: 1280px) {
    .all_container {
        max-width: 95%; /* 画面幅の95%に調整 */
        padding: 0 10px; /* 内側の余白を追加 */
    }
}

/* レスポンシブ（スマホ） */
@media screen and (max-width: 768px) {
    .all_container {
        max-width: calc(100% - 10px); /* 画面幅 - 10px（左右の余白を考慮） */
        padding: 0 10px; /* 内側の余白を追加 */
    }
}