@charset "UTF-8";

/* ＝＝＝ リセットと基本設定 ＝＝＝ */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    /* PC閲覧時の外側背景色 */
    html {
        background-color: #f5f5f5;
    }
    
    body {
        font-family: 'Noto Sans JP', sans-serif;
        color: #222;
        background-color: #fff;
        width: 100%;
        margin: 0 auto; /* 中央配置用 */
        position: relative;
    }
    
    /* ＝＝＝ PC閲覧時（画面幅が480px以上）の強制375px幅・中央配置 ＝＝＝ */
    @media screen and (min-width: 480px) {
        body {
            max-width: 375px;
            box-shadow: 0 0 20px rgba(0,0,0,0.1); /* 浮き出ているような影 */
            min-height: 100vh;
        }
        .sp-menu {
            max-width: 375px;
            left: 0;
            right: 0;
            margin: 0 auto;
        }
    }

    body.is-locked {
        overflow: hidden;
    }
    img {
        max-width: 100%;
        height: auto;
        vertical-align: bottom;
    }

    /* ＝＝＝ ヘッダーエリア（固定） ＝＝＝ */
    .header-wrap {
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
    .top-notice-bar {
        background-color: #000A49;
        color: #fff;
        font-size: 12px;
        font-weight: normal;
        padding: 6px 12px;
        text-align: left;
        letter-spacing: 0.05em;
        line-height: 1.5;
    }
    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px 10px 12px;
        height: 62px;
    }
    .header-left {
        display: flex;
        align-items: center;
    }
    .logo-img {
        height: 28px; 
        width: auto;
    }
    .header-right {
        display: flex;
        align-items: center;
        gap: 16px;
    }
    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #a0a0a0;
        font-size: 10px;
        background: none;
        border: none;
        cursor: pointer;
    }
    .nav-item svg {
        width: 26px;
        height: 26px;
        fill: #aaa;
        margin-bottom: 2px;
    }
    
    .hamburger {
        width: 26px;
        height: 20px;
        position: relative;
        margin-bottom: 7px;
        margin-top: 2px;
    }
    .hamburger span {
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #aaa;
        left: 0;
        transition: all 0.3s ease-in-out;
    }
    .hamburger span:nth-child(1) { top: 0; }
    .hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
    .hamburger span:nth-child(3) { bottom: 0; }
    
    #js-hamburger.is-active .hamburger span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }
    #js-hamburger.is-active .hamburger span:nth-child(2) {
        opacity: 0;
    }
    #js-hamburger.is-active .hamburger span:nth-child(3) {
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
    }

    /* ＝＝＝ ハンバーガーメニュー（展開エリア） ＝＝＝ */
    .sp-menu {
        position: fixed;
        left: 0;
        width: 100%;
        background-color: #33375c;
        color: #fff;
        z-index: 998;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .sp-menu.is-active {
        opacity: 1;
        visibility: visible;
    }
    .sp-menu-inner {
        padding: 20px 15px 50px;
    }
    .accordion-header {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: none;
        border: none;
        color: #fff;
        font-size: 16px;
        font-weight: bold;
        padding: 15px 0;
        border-bottom: 1px solid #fff;
        cursor: pointer;
        letter-spacing: 0.05em;
    }
    .accordion-icon {
        display: block;
        width: 8px;
        height: 8px;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        transform: rotate(45deg); 
        transition: transform 0.3s ease;
    }
    .accordion-item.is-open .accordion-icon {
        transform: rotate(-135deg);
    }
    .accordion-content {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.3s ease;
    }
    .accordion-item.is-open .accordion-content {
        grid-template-rows: 1fr;
    }
    .accordion-content-inner {
        overflow: hidden;
    }
    .accordion-content ul {
        list-style: none;
        padding: 15px 0 20px;
        margin: 0;
    }
    .accordion-content li {
        margin-bottom: 5px;
    }
    .accordion-content li:last-child {
        margin-bottom: 0;
    }
    .accordion-content a {
        color: #fff;
        text-decoration: none;
        font-size: 14px;
    }
    
    /* ハンバーガーメニュー内の電話ボタン用追加クラス */
    .menu-contact-box {
        margin-top: 30px;
        margin-bottom: 0;
        text-align: center;
    }

    /* ＝＝＝ コンテンツ共通スタイル ＝＝＝ */
    .kv-section { width: 100%; }
    .kv-img { width: 100%; display: block; }
    .course-bar { background-color: #474747; color: #fff; font-size: 14px; text-align: center; padding: 12px 10px; letter-spacing: 0.05em; }
    .intro-section { padding: 35px 15px 10px; background-color: #fff; }
    .intro-heading { color: #32335F; text-align: center; line-height: 1.5; margin-bottom: 24px; letter-spacing: 0.05em; font-weight: bold; }
    .intro-text { color: #222; font-size: 14px; line-height: 1.7; text-align: center; margin-bottom: 40px; }
    .intro-text p { margin-bottom: 15px; }
    .intro-text p:last-child { margin-bottom: 0; }
    
    /* ボタン全体をクリック可能にするための修正 */
    .nav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; padding: 0 10px; }
    .nav-btn { 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        justify-content: center; 
        width: 100%; 
        height: 100%; 
        min-height: 95px;
        background-color: #d4b449; 
        border-radius: 8px; 
        padding:5px; 
        text-align: center; 
        text-decoration: none; 
        color: #222; 
        box-shadow: inset 0px -3px 6px rgba(0,0,0,.2); 
        transition: transform 0.1s, box-shadow 0.1s; 
        -webkit-tap-highlight-color: transparent;
    }
    /* 子要素（画像やテキスト）がクリック判定を吸わないようにする */
    .nav-btn * { pointer-events: none; }
    .nav-btn:active { transform: translateY(4px); box-shadow: none; }
    .nav-icon { width: 36px; height: 36px; margin-bottom: 2px; object-fit: contain; }
    .nav-btn-text { font-size: 13px; font-weight: bold; line-height: 1.3; }

    .banner-section { text-align: center; padding: 0 15px 40px; }
    .banner-lead { font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", sans-serif; color: #32335F; font-size: 16px; font-weight: bold; margin-bottom: 15px; letter-spacing: 0.05em; }
    .banner-img-wrap { width: 100%; display: block; }
    .banner-img { width: 100%; display: block; }
    .curriculum-section { padding: 20px 15px 50px; }
    .section-title { color: #32335F; font-size: 24px; text-align: center; font-weight: bold; margin-bottom: 25px; letter-spacing: 0.05em; }
    .curriculum-main-img { width: 100%; margin-bottom: 30px; display: block; }
    .curriculum-item { margin-bottom: 30px; }
    .curriculum-item:last-child { margin-bottom: 0; }
    .curriculum-item-title { background-color: #32335F; color: #fff; font-size: 18px; padding: 6px; text-align: center; border-radius: 4px; margin-bottom: 20px; font-weight: bold; letter-spacing: 0.1em; }
    .curriculum-item-content { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
    .curriculum-item-content.reverse { flex-direction: row-reverse; }
    .curriculum-item-img { flex: 1; }
    .curriculum-item-img img { width: 100%; display: block; }
    .curriculum-item-info { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
    .curriculum-item-text { font-size: 16px; font-weight: bold; line-height: 1.3; text-align: center; color: #222; }
    .btn-detail { display: inline-block; background-color: #d4b449; color: #222; font-size: 11px; font-weight: bold; text-decoration: none; padding: 5px 14px; margin-top: 10px; border-radius: 2px; transition: opacity 0.2s; }
    .btn-detail:active { opacity: 0.7; }
    .curriculum-tags { display: flex; border: 1px solid #dcdcdc; list-style: none; padding: 0; margin: 0; }
    .curriculum-tags li { flex: 1; text-align: center; font-size: 12px; padding: 3px 0 4px; border-right: 1px solid #d5d5d5; color: #222; }
    .curriculum-tags li:last-child { border-right: none; }
    .guide-section { background-color: #32335F; padding: 35px 15px; }
    .guide-title { color: #fff; font-size: 18px; text-align: center; font-weight: bold; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 8px; letter-spacing: 0.05em; }
    .guide-title svg { width: 20px; height: 20px; fill: #fff; }
    .guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .guide-btn { background-color: #fff; color: #222; text-decoration: none; padding:10px; border-radius: 4px; font-size: 16px; font-weight: bold; display: flex; justify-content: center; align-items: center; position: relative; }
    .guide-btn::after { content: ""; position: absolute; right: 12px; top: 50%; transform: translateY(-50%) rotate(45deg); width: 6px; height: 6px; border-top: 2px solid #32335F; border-right: 2px solid #32335F; }
    .instructor-section { background-color: #ECECEE; padding: 30px 15px; display: flex; align-items: center; gap: 15px; }
    .instructor-info { flex: 1; }
    .instructor-title { color: #32335F; font-size: 18px; font-weight: bold; margin-bottom: 15px; letter-spacing: 0.05em; }
    .instructor-text { font-size: 13px; color: #222; line-height: 1.6; margin-bottom: 15px; }
    .instructor-link { color: #222; font-size: 13px; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; border-bottom: 1px solid #222; padding-bottom: 1px; }
    .instructor-link::after { content: ""; display: inline-block; width: 5px; height: 5px; border-top: 1px solid #222; border-right: 1px solid #222; transform: rotate(45deg); margin-bottom: 2px; }
    .instructor-img-wrap { flex: 2.0; }
    .instructor-img-wrap img { width: 100%; display: block; }
    .mt-40 { margin-top: 40px; }
    .testimonials-section { padding: 20px 0 40px; }
    .ribbon-wrapper { text-align: center; margin: 0 15px 20px; }
    .ribbon-bg { display: inline-block; background-image: url('../new-img/index/bg-number-of-members.png'); background-size: 100% 100%; background-position: center; background-repeat: no-repeat; color: #fff; font-size: 24px; font-weight: bold; padding: 7px 30px 15px; width: 100%; max-width: 360px; }
    .testimonials-lead { text-align: center; font-size: 14px; font-weight: normal; line-height: 1.6; margin-bottom: 30px; }
    .testimonial-item { display: flex; align-items: flex-start; gap: 15px; padding: 0 15px; margin-bottom: 25px; text-decoration: none; color: inherit; }
    .testimonial-img { width: 88px; height: 88px; flex-shrink: 0; }
    .testimonial-img img { width: 100%; height: 100%; object-fit: cover; }
    .testimonial-info { flex: 1; }
    .testimonial-quote { font-size: 16px; font-weight: normal; line-height: 1.5; margin-bottom: 8px; color: #32335F; }
    .testimonial-name { font-size: 12px; color: #222; }
    .btn-large { display: flex; justify-content: center; align-items: center; background-color: #d4b449; color: #222; font-weight: bold; font-size: 16px; text-decoration: none; padding: 14px; width: 230px; margin: 30px auto 0; border-radius: 4px; box-shadow: inset 0px -3px 6px rgba(0,0,0,.2); position: relative; transition: transform 0.1s, box-shadow 0.1s; }
    .btn-large:active { transform: translateY(4px); box-shadow: none; }
    .btn-large::after { content: ""; position: absolute; right: 20px; width: 8px; height: 8px; border-top: 2px solid #111; border-right: 2px solid #111; transform: rotate(45deg); }
    .banner-stack { display: flex; flex-direction: column; gap: 15px; padding: 0 15px 40px; }
    .target-section { background-color: #EFEFFD; padding: 40px 15px; }
    .target-heading { display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
    .target-heading .hl { background-color: #32335F; color: #fff; font-size: 16px; font-weight: bold; padding: 4px 8px; margin-right: 8px; }
    .target-heading .text { color: #32335F; font-size: 16px; font-weight: bold; }
    .target-list-box { background-color: #fff; border: 2px solid #32335F; padding: 20px 15px; margin-bottom: 20px; }
    .target-list { list-style: none; padding: 0; margin: 0; }
    .target-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: 14px; font-weight: bold; color: #32335F; line-height: 1.5; }
    .target-list li:last-child { margin-bottom: 0; }
    .target-list li svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; }
    .target-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .target-grid img { width: 100%; display: block; }
    .community-section { position: relative; padding: 40px 15px 40px; text-align: center; background-image: linear-gradient(to bottom, rgba(255,255,255,0.4) 0%, rgba(255,255,255,1) 80%), url('../new-img/index/bg-message.png'); background-size: cover; background-position: top center; background-repeat: no-repeat; }
    .community-heading { color: #32335F; font-size: 24px; font-weight: bold; margin-bottom: 20px; letter-spacing: 0.05em; }
    .community-text { font-size: 14px; line-height: 1.7; color: #222; margin-bottom: 15px; }
    .community-note { font-size: 11px; color: #222; margin-bottom: 40px; }
    .banner-d-wrap { display: block; width: 100%; text-align: center; }
    .banner-d-wrap img { width: 100%; max-width: 100%; display: block; }
    .sns-section { padding:15px 15px 30px; text-align: center; }
    .sns-heading { color: #32335F; font-size: 20px; font-weight: bold; margin-bottom: 25px; letter-spacing: 0.05em; }
    .sns-flex { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 360px; margin: 0 auto; }
    .sns-item { width: calc((100% - 36px) / 4); max-width: 75px; display: block; text-decoration: none; }
    .sns-item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
    .info-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 0 15px 40px; max-width: 500px; margin: 0 auto; }
    .info-col { text-align: center; display: flex; flex-direction: column; }
    .info-col-title { color: #222; font-size: 16px; font-weight: bold; line-height: 1.4; margin-bottom:0; }
    .info-col-img { margin-bottom: 0; flex-grow: 1; display: flex; align-items: center; justify-content: center; }
    .info-col-img img { width: 100%; max-width: 160px; display: block; }
    .info-col-link { color: #32335F; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; border-bottom: 1px solid #32335F; padding-bottom: 2px; margin: 0 auto; }
    .info-col-link::after { content: ""; display: inline-block; width: 5px; height: 5px; border-top: 1px solid #32335F; border-right: 1px solid #32335F; transform: rotate(45deg); margin-left: 5px; }
    
    /* ＝＝＝ フッターと共通の電話ボタン ＝＝＝ */
    .contact-box { display: block; background: linear-gradient(to bottom, #fdfdfd, #e6e6e6); padding: 10px 10px 13px; border-radius: 8px; text-decoration: none; color: #222; margin-bottom: 20px; box-shadow: 0 2px 4px rgba(0,0,0,0.05);border:1px solid #ededed; }
    .tel-row { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 0; }
    .tel-icon { background-color: #25a068; border-radius: 4px; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; }
    .tel-icon svg { width: 16px; height: 16px; fill: #fff; }
    .tel-num { font-size: 28px; font-weight: bold; }
    .tel-time { font-size: 14px; color: #222; }
    
    .footer { background-color: #fff; }
    .footer-contact { padding: 5px 15px 30px; text-align: center; }
    .footer-logo { margin-bottom: 25px; }
    .footer-logo img { width: 120px; }
    .address-info { font-size: 14px; line-height: 1.8; color: #222; }
    .footer-sitemap { background-color: #32335F; padding: 40px 15px 20px; color: #fff; }
    .sitemap-group { margin-bottom: 30px; }
    .sitemap-heading { font-size: 16px; font-weight: bold; border-bottom: 1px solid #fff; padding-bottom: 10px; margin-bottom: 15px; letter-spacing: 0.05em; }
    .sitemap-list { list-style: none; padding: 0; margin: 0; }
    .sitemap-list li { margin-bottom: 5px; }
    .sitemap-list li:last-child { margin-bottom: 0; }
    .sitemap-list a { color: #fff; text-decoration: none; font-size: 14px; }
    .copyright { text-align: center; font-size: 12px; margin-top: 50px; color: #ddd; }