/* PC/ SP表示切替 */
.sp-only { display: none !important; }

@media (max-width: 1024px){
    .pc-only { display: none!important; }
    .sp-only { display: block!important; }

    .container {
        margin: 0 auto;
        padding: 0 20px;
    }

}

/* ハンバーガーボタン */
.hamburger {
    width: 30px;
    height: 22px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
}
.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: .3s;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }



/* ==== SP フルスクリーンメニュー ==== */

/* 下部の×を右端に */





.mobile-menu{
    position: fixed; inset:0; z-index: 9999;
    display: none; background: rgba(0,0,0,.35);
}
.mobile-menu.is-open{ display:block; }
.mobile-menu__inner{
    display: block;
    position: absolute; inset: 0;
    background: #e6f2fb;  /* 薄いブルー系（スクショ雰囲気） */
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: 0 0 24px;
}
.mobile-menu__head{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* ロゴを中央 */
    background-color: #FFFFFF;
    padding: 15px 16px 15px;
}

.mobile-menu__logo{
    display: block;
    margin: 0 auto;
    height: 40px;
}
.mobile-menu__close, .mobile-menu__bottom-close{
    appearance:none;
    border:none;
    background:#e6e6e6;
    width:36px;
    height:36px;
    border-radius:10px;
    font-size:20px;
    line-height:36px;
    text-align:center;
    cursor:pointer;
    position: absolute;
    right: 16px;             /* 右端に固定 */
    top: 19px;
}


.mobile-menu__list{
    margin: 8px 0 12px;
    padding:0 16px;
}
.mobile-menu__list li{ list-style: none; }
.mobile-menu__link{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
    padding: 17px 14px 24px;
    font-size:18px;
    font-weight:700;
    text-decoration:none;
    border-bottom: 1px solid #808080;
}
.mobile-menu__link span{
    font-weight:900;
    color: #008FD1;
}
.mobile-menu__cta{ padding: 12px 16px 8px; }
.mobile-menu__btn{
    display:flex; align-items:center; justify-content:center; gap:8px;
    width:100%; padding: 23px 14px; border-radius:14px; text-decoration:none;
    background: linear-gradient(180deg, #ff5a66, #e9353f);
    color:#fff; font-size:18px; font-weight:800; box-shadow:0 2px 6px rgba(0,0,0,.15);
}
.mobile-menu__tel{
    margin: 14px 16px 0; padding:16px; background:#fff;
    text-align:center; border:1px solid #1F2C32;
}
.mobile-menu__tel-caption{ margin:0 0 6px; font-weight:700; color:#333; }
.mobile-menu__tel-number{ font-size:22px; font-weight:800; color:#0a2a44; text-decoration:none; }

.mobile-menu__btn{
    position: relative;
    display: block;          /* 以前の flex を上書き */
    text-align: center;      /* テキスト中央揃え */
    padding-right: 44px;     /* 右端の › と重ならない余白を確保 */
}

/* ボタン内の最後の <span>（›）を右端に固定 */
.mobile-menu__btn > span{
    position: absolute;
    right: 14px;             /* 右端の余白 */
    top: 50%;
    transform: translateY(-50%);  /* 垂直中央 */
    pointer-events: none;    /* クリックを邪魔しない */
    font-weight: 900;        /* 視認性確保（任意） */
}
/* ハンバーガーON時のスクロール固定 */
body.menu-open{ overflow:hidden; }

/* メニュー（SP時は非表示） */
.header-nav {
    display: flex;
    justify-content: space-between;
}
@media (max-width: 1024px){

    body { 
        min-width: auto;
        font-size: clamp(12px, 1.5vw, 20px);
    }
    .site-main {
        margin-top: 62px;
    }
    .header-nav {
        display: none;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 60px; left: 0; right: 0;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0,0,0,.1);
    }
    .header-nav.active { display: flex; }



    .hero-bg {
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center top;
    }

    .hero {
        position: relative;
        display: flex;
        height: 125vh;
        align-items: center;
        overflow: hidden;
        margin-top: 0;
        margin-bottom: -56px;
    }

    .hero-bg img {
        width: 100%;
        height: 100%;
        /* object-fit: cover; */
        /* object-position: center; */
        /* filter: none; */
        opacity: 1;
        /* position: absolute; */
        /* top: 51%; */
        /* left: 50%; */
        /* transform: translate(-50%, -50%); */
    }


    .hero-content{
        display: flex;
        flex-direction: column;
    }

    /* 余白の微調整（お好みで） */
    .hero-lead{ margin-top: 12px; }
    .hero-cards{ margin-top: clamp(9px, 3vw, 31px); }
    .hero-features{ margin-top: 14px; }

    .hero-title {
        font-size: clamp(1.7rem, 4vw, 2.5rem);  /* 40px → 2.5rem */
        font-weight: bold;
        margin-bottom: 0;
        line-height: 1.2;
        color: #111;
        background-color: unset;
    }

    .hero-title_02 {
        font-size: clamp(1.7rem, 4vw, 2.5rem);  /* 40px → 2.5rem */
        font-weight: bold;
        line-height: 1.2;
        color: #111;
        background-color: unset;
        width: 36.25rem;     /* 580px → 36.25rem */
    }

    .hero-title-line {
        display: block;
        letter-spacing: 0;
        padding-left: 0;
    }

    .hero-title-line {
        display: block;
        letter-spacing: 0;
        padding-left: 0px;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        color: #111;
        text-align: left;
        max-width: unset;
        padding-top: 0;
        padding-bottom: 60px;
        margin: 0;
    }

    .hero-lead {
        font-size: clamp(1.2rem, 2.5vw, 1.5rem);
        font-weight: bold;
        color: #198fce;
        margin-bottom: 20px;
        letter-spacing: 1px;
        line-height: 1.2;
    }
    .hero-lead-bg {
        background: #fff;
        display: inline-block;
        padding: 0 .4em;
    }

    /* 1段目の背景だけ下に余白を付ける */
    .hero-lead-bg:first-of-type {
        margin-bottom: 0.5rem; /* 例：8px相当 */
    }

    .hero-card {
        min-width: auto;
    }

    .hero-cards {
        display: flex;
        gap: 0.9375rem;       /* 15px */
        margin-bottom: 1.5625rem; /* 25px */
        position: relative;
        z-index: 2;
        font-family: var(--ff-hiragino);
        font-weight: 600;
        font-size: clamp(0.9rem, 1.2vw, 1.0625rem); /* 17px → 可変 */
        min-height: auto;

        justify-content: center; /* ← 横方向の中央寄せ */
        align-items: center;     /* ← 縦方向の中央寄せ（必要なら） */
    }

    .hero-card:hover {
        transform: translateY(-0.1875rem); /* 3px */
        box-shadow: 0 0.5rem 1.5625rem rgba(0, 0, 0, 0.12);
    }

    .hero-card-header {
        padding: 0.75rem 0.625rem; /* 12px 10px */
        text-align: center;
    }

    .hero-card-header h3 {
        color: #ffffff;
        margin: 0;
        line-height: 1.2;
        font-size: clamp(0.9rem, 1.2vw, 1.0625rem); /* 17px */
    }

    .hero-card-left .hero-card-header {
        background-color: #c35462;
    }
    .hero-left {
        display: flex
    ;
        flex-direction: column;
        width: 100%;
    }
    .hero-card-left .hero-card-content h4 {
        color: #c35462;
        line-height: 1.1;
        font-size: clamp(1rem, 2vw, 1.75rem); /* 28px */
    }
    .hero-card-left .hero-card-button span {
        color: #c35462;
        border-color: #c35462;
        text-align: center;
    }

    .hero-card-center .hero-card-header {
        background-color: #d16b5e;
    }
    .hero-card-center .hero-card-content h4 {
        color: #d16b5e;
        line-height: 1.2;
    }
    .hero-card-center .hero-card-content h4 .h4-large {
        font-size: clamp(0.8rem, 2vw, 1.6875rem); /* 27px */
        font-family: var(--ff-hiragino);
        font-weight: 600;
        letter-spacing: 0.05625rem; /* 0.9px */
    }
    .hero-card-center .hero-card-content h4 .h4-small {
        font-size: clamp(0.8rem, 1.2vw, 1rem); /* 16px */
        font-weight: 500;
    }
    .hero-card-center .hero-card-button span {
        color: #d16b5e;
        border-color: #d16b5e;
        text-align: center;
    }

    .hero-card-right .hero-card-header {
        background-color: #29609e;
    }
    .hero-card-right .hero-card-content h4 {
        color: #29609e;
        font-size: clamp(0.8rem, 2vw, 1.75rem); /* 28px */
        line-height: 1.2;
    }
    .hero-card-right .hero-card-button span {
        color: #29609e;
        border-color: #29609e;
        text-align: center;
    }

    .hero-card-icon.red img{
        width: clamp(2.25rem, 8vw, 4.3125rem); /* 52px ← 可変 ← 69px */
        height: auto;
        object-fit: contain;
    }

    .hero-card-icon.orange img{
        width: clamp(2rem, 8vw, 3.8125rem);    /* 48px ← 可変 ← 61px */
        height: auto;
        object-fit: contain;
    }

    .hero-card-icon.blue img{
        width: clamp(2.5rem, 8vw, 4.625rem);   /* 56px ← 可変 ← 74px */
        height: auto;
        object-fit: contain;
    }

    /* hover時の文字色統一 */
    .hero-card-left:hover .hero-card-button span,
    .hero-card-center:hover .hero-card-button span,
    .hero-card-right:hover .hero-card-button span {
        color: #fff;
    }

    /* hover時の背景色統一 */
    .hero-card-left:hover .hero-card-button {
        background: #c35462;
    }
    .hero-card-center:hover .hero-card-button {
        background: #d16b5e;
    }
    .hero-card-right:hover .hero-card-button {
        background: #29609e;
    }

    .hero-card-content {
        padding: 0.75rem 0; /* 12px 0 */
        min-height: auto; /* 148px */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .hero-card-content.red {
        background-color: #F7E9EB;
    }
    .hero-card-content.orange {
        background-color: #F6DEDB;
    }
    .hero-card-content.blue {
        background-color: #C7D9E7;
    }

    .hero-card-icon {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin-bottom: 0.9375rem; /* 15px */
        height: 4.375rem; /* 70px */
    }

    .hero-card-text {
        display: flex;
        flex-direction: column;
        gap: 0.1875rem; /* 3px */
        text-align: left;
    }

    .hero-card-icon.red img {
        object-fit: contain;
    }
    .hero-card-icon.orange img {
        object-fit: contain;
    }
    .hero-card-icon.blue img {
        object-fit: contain;
    }

    .hero-card-content h4 {
        margin: 0;
    }

    .hero-card-subtitle {
        font-size: 0.75rem; /* 12px */
        color: #666;
        font-weight: normal;
        margin: 0;
        line-height: 1.2;
    }

    .hero-card-button {
        background: #fff;
        padding: 0.3125rem 0; /* 5px 0 */
        border-radius: 0; /* 20px */
        width: auto;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .hero-card-button span {
        display: inline-block;
        font-size: clamp(0.9rem, 1.2vw, 1rem); /* 16px */
        letter-spacing: -0.05625rem; /* -0.9px */
    }

    .hero .hero-cards,
    .hero-cards{
        grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)) !important; /* 最小≈208px、余白は自動伸縮 */
        gap: 0.375rem;                 /* 既存値: 15px */
        margin-bottom: 1.5625rem;       /* 既存値: 25px */
        width: 100%;
    }

    /* グリッドのセルにきれいに収める */
    .hero-cards .hero-card{
        min-width: 0 !important;        /* 内容によるはみ出し防止 */
        width: 100%;
        box-sizing: border-box;
    }



    .contents01-grid {
        display: grid
    ;
        grid-template-columns: auto;
        gap: 40px;
        max-width: 1000px;
        margin: 0 auto;
    }


    .cat-tabs {
        display: flex
    ;
        gap: 0px;
        align-items: flex-end;
        position: relative;
        margin: 0 0 calc(-1 * var(--tab-bw)) 0;
        width: 100%;
    }



    /* ===== CONTENTS02セクション ===== */
    /* ===== tokens ===== */
    :root{
        --c-text:#1b1d1f;
        --c-border:#e6e8ec;
        --shadow-1:0 10px 30px rgba(16,24,40,.08);

        --pink:#ED7F67;
        --pink-weak:#FFE7E1;
        --blue:#198fce;
        --blue-weak:#E6F0FB;

        --r-xl:24px;
        --r-2xl:28px;
    }
    :root{
        --business:#3e6364;
        --business-weak:#e5ecea; /* ホバー/背景用に薄い色も作る */
    }
    .cat-tab[data-accent="business"] {
        --tab-accent: var(--business);
        --tab-weak: var(--business-weak);
    }
    .cat-tabset[data-accent="business"] {
        --accent: var(--business);
        --accent-weak: var(--business-weak);
    }

    .contents02{padding:72px 0;background:#fff;color:var(--c-text);}
    .contents02 .container{max-width:1100px;margin:0 auto;padding:0 20px;}
    .contents02-header{
        text-align:center;
        position: relative;
    }
    .contents02-label{
        display:inline-block;
        background:#fff;
        padding: 13px 47px;
        font-size: 36px;
        font-weight: 600;
        letter-spacing: .07em;
        line-height:1.2;
        color:#1b1d1f;
        box-shadow: 0 0 6px rgba(0,0,0,.2);
        position:relative;
    }
    .contents02-label::after{
        content:"";
        position:absolute;
        left:50%;
        transform:translateX(-50%);
        bottom: -19px;
        width: 0;
        height: 0;
        border-left: 13px solid transparent;
        border-right: 13px solid transparent;
        border-top: 22px solid #fff;
        filter: drop-shadow(0 3px 2px rgba(16,24,40,.12));
    }
    /* 「学べる」を青＆下線 */
    .contents02-label .label-accent{
        color: #198fce;
        font-weight: bold;
    }
    .contents02-title{
        margin:25px 0 0;           /* 吹き出しとの間隔 */
        font-size:58px;            /* 画像に合わせて太め＆大きめ */
        font-weight: bold;
        letter-spacing: .08em;
        color:#15171a;
        margin-bottom: 20px;

    }
    .contents02-title .title-accent{
        color: #198fce;
    }
    .contents02-background {
        position: absolute;
        left: 11px;
        top: 92px;
        z-index: 0;
        pointer-events: none;
        font-size: clamp(45px, 10vw + 9px, 84px);
        font-weight: 900;
        line-height: 1;
        color: rgba(11, 18, 34, 0.07);
    }

    /* メタ行（小見出し＋ドット） */
    .contents02-section-meta{
        position:relative; z-index:1;
        display:inline-flex; flex-direction:column; align-items:flex-start;
        gap:8px;
        margin: 0 0 0 28px;
    }
    .section-mini-title{
        font-size: 18px;
        font-weight: 600;
        color: #1b1d1f;
    }

    .contents01-card-header h3 {
        font-size: 38px;
    }

    .contents01-card-left .contents01-image-title h4 {
        font-size: 32px;
    }

    .bullet-list li {
        font-size: 28px;
    }

    .bullet-list li {
        column-gap: 21px;
    }

    .contents01-card-left .wp-block-buttons.is-content-justification-center {
        justify-content: center;
    }

    .contents02-title{
        /* 最大36px（元サイズ） */
        font-size: clamp(32px, 3.5vw + 12px, 58px);
    }

    .contents02-label{
        /* 最大36px（元サイズ） */
        font-size: clamp(17px, 4.3vw, 36px);
    }

    .contents01-card-header h3{
        /* 最大38px（元サイズ） */
        font-size: clamp(20px, 2.6vw + 14px, 38px);
    }

    .contents01-card-left .contents01-image-title h4{
        /* 最大32px（元サイズ） */
        font-size: clamp(17px, 2.2vw, 32px);
    }
    .contents01-image-title h4 {
        font-size: clamp(17px, 2.2vw, 32px);
    }

    .bullet-list li{
        /* 最大28px（元サイズ） */
        font-size: clamp(16px, 1.5vw, 20px);
        letter-spacing: -0.9px; /* 既存のまま */
        padding-left: clamp(16px, 1.5vw, 18px);
        text-align: left;
    }

    .contents01-btn .btn-text{
        /* 最大34px（元サイズ） */
        font-size: clamp(16px, 3.5vw, 34px);
    }

    /* 参考：アイコンやpaddingはそのまま据え置き
    .contents01-icon { width: 40px; height: 40px; }
    .contents01-btn { padding: 11px 26px; }
    */

    .bullet-list li::before {
        content: "■";
        position: absolute;
        left: 0;
        top: 0;
        color: #198fce;
        font-weight: 900;
        font-size: clamp(16px, 1.5vw, 20px);
    }
    .contents01-grid{ grid-template-columns:1fr; gap: 9.5rem; }
    .contents01-card-content .contents01-btn.right{ margin-left:0; }
    .contents01-card-image {
        width: 100%;
        height: auto;
        overflow: hidden;
    }
    .contents01-card-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        aspect-ratio: 690 / 330;
    }
    .bullet-list {
        list-style: none;
        margin: 0 0 0 0;
        padding: 0;
        height: 85px;
    }

    .isa-study-style {
        padding-top: 2.8rem;
        padding-bottom: 2.5rem;
    }
    .isa-course-chooser .icc__frame {
        padding: 47px 0px 12px;
        background-color: #edf2f6;
    }
    .isa-course-chooser .icc__inner {
        max-width: 100%;
        margin: 0 auto;
        padding: 28px 16px 34px;
        background-color: #FFFFFF;
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 8px;
        padding-bottom: 31px;
        border-radius: 15px;
    }


    /* ドット行 */
    /* ドット列（固定色） */
    .section-dots{ display:flex;}
    .section-dots .dot{
        width:10px; height:10px; border-radius:50%;
        background:#b7bdc6; /* デフォルト（使わないが保険） */
    }

    /* 1個目＝青、2–3個目＝濃いグレー、4–5個目＝薄いグレー */
    .section-dots .dot:nth-child(1){ background:#198fce; }
    .section-dots .dot:nth-child(2),
    .section-dots .dot:nth-child(3){ background:#9aa6b2; }
    .section-dots .dot:nth-child(4),
    .section-dots .dot:nth-child(5){ background:#d0d5db; }
    /* タイトル左の3点装飾はこのセクションでは非表示に */
    .contents02-section .contents02-section-title::before{ display:none; }
    .contents02-section-title{
        position:relative;z-index:1;font-size:24px;font-weight:600;margin:19px 0 18px 0;padding-left:28px;
    }
    .contents02-section-title::before{
        content:"";position:absolute;left:0;top:.58em;width:18px;height:6px;
        background:
                radial-gradient(circle at 3px 3px, #0F172A 4px, transparent 5px),
                radial-gradient(circle at 9px 3px, #94A3B8 4px, transparent 5px),
                radial-gradient(circle at 15px 3px, #CBD5E1 4px, transparent 5px);
        background-size:6px 6px; background-repeat:no-repeat;
    }

    /* ====== タブセット ====== */
    :root{
        --shadow-1: 0 10px 30px rgba(16,24,40,.08);
        --r-2xl: 28px;
        --tab-bw: 4px;              /* タブ＆パネル共通の線幅 */

        /* 親カテゴリ用カラー（Office=ピンク、Web・DTP=オレンジ、IT=ブルー） */
        --pink:#ED7F67;      --pink-weak:#FFE7E1;
        --orange:#FF8C42;    --orange-weak:#FFE3CF;
        --blue:#1570C8;      --blue-weak:#E6F0FB;
    }

    /* ====== セット全体（=子カテゴリ枠＆ボタンの色） ======
     /* ===== tokens ===== */
    :root{
        --shadow-1: 0 10px 30px rgba(16,24,40,.08);
        --r-2xl: 28px;
        --tab-bw: 4px;                 /* タブ＆パネル共通の線幅 */

        --pink:#c35462;      --pink-weak:#FFE7E1;   /* Office */
        --orange:#FF8C42;    --orange-weak:#FFE3CF; /* Web・DTP */
        --blue:#1570C8;      --blue-weak:#E6F0FB;   /* IT */
    }

    /* ===== セット全体（=子カテゴリ枠＆ボタンの色） ===== */
    /* 既定は Office、JSで data-accent を切替（orange / blue） */
    .cat-tabset{ --accent:var(--pink); --accent-weak:var(--pink-weak); }
    .cat-tabset[data-accent="orange"]{ --accent:var(--orange); --accent-weak:var(--orange-weak); }
    .cat-tabset[data-accent="blue"]  { --accent:var(--blue);   --accent-weak:var(--blue-weak); }

    /* ===== 見出しタブ（親カテゴリ） ===== */
    /* タブ数可変でも均等・枠と同幅。非アクティブ下にも上線を見せるため z-index は低め */

    /* 親タブごとのローカル色（常に固定） */
    .cat-tab[data-accent="pink"]   { --tab-accent:var(--pink);   --tab-weak:var(--pink-weak); }
    .cat-tab[data-accent="orange"] { --tab-accent:var(--orange); --tab-weak:var(--orange-weak); }
    .cat-tab[data-accent="blue"]   { --tab-accent:var(--blue);   --tab-weak:var(--blue-weak); }

    /* タブ本体：自分色。下ボーダー無し／下角丸なし。均等幅。 */
    .cat-tab{
        position:relative;
        display:flex; align-items:center; gap:0; justify-content:center;
        flex:1 1 0; min-width:0;
        background:#fff;
        border: var(--tab-bw) solid var(--tab-accent);
        border-bottom: 0;                      /* 下のみ無し */
        border-radius: 20px 20px 0 0;          /* 下角は0 */
        color: var(--tab-accent);
        padding:13px 0;
        font-weight:800;
        box-shadow:0 1px 0 rgba(0,0,0,.02);
        min-height: 118px;
    }
    .cat-tab .label{
        font-size: clamp(0.9rem, 2.2vw, 1.375rem); /* 16px ← 可変 ← 22px */
    }
    .cat-tab .icon{
        width: 52px;
        height: 52px;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: none;
    }
    .cat-tab img{
        width:  clamp(2.25rem, 6vw, 3.5625rem); /* 36px ← 可変 ← 57px */
        height: clamp(2.25rem, 6vw, 3.5625rem);
        object-fit: contain;
        display: block;
    }

    /* 選択タブだけ最前面に（枠よりも上） */
    .cat-tab.is-active{ z-index: 5; }

    .cat-tab.is-active::after{
        content:""; position:absolute;
        left: calc(-1 * var(--tab-bw)); right: calc(-1 * var(--tab-bw));
        bottom: calc(-1 * var(--tab-bw));
        background:#fff;
    }

    /* ===== 子カテゴリの大枠（アクティブ親色に同期） ===== */
    .cat-panel{
        background:#fff;
        border: var(--tab-bw) solid var(--accent);
        border-radius: 11px;
        padding:14px 20px 8px 20px;
        min-height:220px;
        position: relative;
        z-index: 2;
    }
    /* 以前つけた“上線を重ねる用”の疑似要素があるなら無効化 */
    .cat-panel::before{ display: none !important; }
    /* 上線を“前面”に1本だけ描き、非アクティブ下にも見せる */
    .cat-panel::before{
        content:"";
        position:absolute; left:0; right:0;
        top: calc(-1 * var(--tab-bw));
        height:0;
        border-top: var(--tab-bw) solid var(--accent);
        z-index:2; pointer-events:none;
    }

    /* パネル表示切替 */
    .cat-pane[hidden]{ display:none; }
    .cat-pane.is-active{ display:block; }

    /* ===== コースボタン（アクティブ親色に同期） ===== */
    .courses{ display:flex; flex-wrap:wrap; gap:18px; }
    .course{
        display:inline-flex; align-items:center; justify-content:center;
        min-width: 149px;
        max-width: 215px;
        height: 80px;
        letter-spacing: normal;
        text-align: center;
        border-radius:20px;
        background:var(--accent-weak);
        color: #ffffff;
        font-weight:800; text-decoration:none;
        transition:.15s; font-size:20px;
    }
    .course:hover{ background:var(--accent); color:#fff; transform:translateY(-1px); }

    /* 左端タブがアクティブ → パネル左上角丸を消す */
    .cat-tabset[data-edge="left"]  .cat-panel{ border-top-left-radius: 0; }

    /* 右端タブがアクティブ → パネル右上角丸を消す */
    .cat-tabset[data-edge="right"] .cat-panel{ border-top-right-radius: 0; }

    /* 真ん中のときは元に戻す（保険） */
    .cat-tabset[data-edge="middle"] .cat-panel{
    }

    .cta-text h3{
        font-weight: 600;
        font-size: clamp(1rem, 2.7vw, 1.5625rem); /* 18px ← 可変 ← 25px */
        letter-spacing: normal;
    }

    .cta-btn{
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        border-radius: var(--cta-pill-radius);
        padding: 24px 8px 26px;
        min-height: 88px;
        width: var(--btn-w);
        font-weight: 600;
        letter-spacing: .02em;
        line-height: 1;
        white-space: nowrap;
        color: #fff;
        font-size: clamp(1.2rem, 2.7vw, 1.625rem); /* 20px ← 可変 ← 26px */
        box-shadow: 0 10px 22px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.25);
    }

    .courses {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); /* 例: 最小144px, 最大フル幅 */
        gap: 1rem;
    }
    .course {
        height: 5rem; /* 80px */
        border-radius: 1.25rem;
        background: var(--accent-weak);
        color: #fff;
        font-weight: 800;
        font-size: 1.25rem; /* 20px */
        display: flex;
        align-items: center;
        justify-content: center;
    }








    .contents04__grid {
        display: block;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        margin: 50px 20px;
        margin-top: 70px;
    }


    .contents04__card {
        display: flex
    ;
        justify-content: space-between;
        align-items: stretch;
        text-decoration: none;
        color: inherit;
        background: #fff;
        border: 1px solid #eee;
        border-top: 4px solid #198fce;
        transition: all 0.3s ease;
        margin-bottom: 25px;
    }

    .contents04__subheading {
        font-size: clamp(1.125rem, 2vw, 1.625rem);
        /* 最小 1.125rem (18px), 可変, 最大 1.625rem (26px) */
        color: #198fce;
        margin: 0 0 0.375rem; /* 6px → 0.375rem */
        letter-spacing: normal;
        font-weight: 700;
    }

    .contents04__heading {
        font-size: clamp(1.6rem, 2.5vw, 2.375rem);
        font-weight: bold;
        margin: 0;
        color: #000;
    }



    .cta-container {
        position: relative;
        background: none;
        border-radius: var(--cta-radius);
        box-shadow: none;
        padding: 32px;
        display: block;
        grid-template-columns: 1fr 1fr;
        overflow: hidden;
    }


    .contents03__grid {
        display: block;
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .contents03__caption {
        background: #ffff;
        padding: 10px;
    }

    .contents03__title {
        text-align: center;
        margin: 0 0 3.75rem; /* 60px → rem換算 */
        color: #111;
        font-weight: 800;
        line-height: 1.35;
        letter-spacing: .04em;
        font-size: clamp(2rem, 5vw, 3.25rem);
        /* 最小 2rem (32px), 画面幅に応じて可変, 最大 3.25rem (52px) */
    }

    .contents03__subtitle {
        font-size: clamp(1.2rem, 2.5vw, 2rem);
        /* 最小 1.5rem (24px), 画面幅に応じて可変, 最大 2rem (32px) */
        color: #1b1b1b;
        letter-spacing: .01em;
        font-weight: 700;
    }

    .contents03__heading {
        margin: 0;
        font-size: clamp(1.6rem, 4vw, 2.625rem);
        /* 最小 2rem (32px), 可変, 最大 2.625rem (42px) */
        font-weight: 900;
        color: #198fce;
        line-height: 1.25;
        letter-spacing: .02em;
    }




    .contents04__header {
        position: relative;
        background: #fff;
        text-align: center;
        border-radius: 6px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
        max-width: none;
        margin: 0;
        padding: 28px 20px 1px 20px;
    }

    .contents04__title {
        margin: 0 0 0.875rem; /* 14px → rem換算 */
        font-weight: 700;
        color: #0288d1;
        font-size: clamp(1.9rem, 4vw, 3rem);
        /* 最小 2rem (32px), 可変, 最大 3rem (48px) */
        letter-spacing: .02em;
    }

    .contents04__subtitle {
        margin: 0 0 1.75rem; /* margin-bottom:28px → 1.75rem */
        color: #444;
        font-size: clamp(16px, 1.5vw, 20px);
        /* 最小 0.875rem (14px), 可変, 最大 1rem (16px) */
        line-height: 1.5;
        font-weight: 400;
    }



    .contents01-card-image img {
         height: auto;
    }

    .kb-row-layout-wrap.wp-block-kadence-rowlayout.kb-row-layout-id883_89f9f2-c3 {
        margin: 10px 25px !important;
    }

    .kb-row-layout-id883_2220f8-98 > .kt-row-column-wrap {
        padding-right: 2rem !important;
        grid-template-columns: minmax(0, 1fr);
    }

    .kb-row-layout-id883_6c9f9e-c4 .kt-row-column-wrap {
        padding: 17px !important;
    }

    .kb-row-layout-id883_a857bf-e1 .kt-row-column-wrap {
        padding: 0 1px !important;
    }
    /* フロント側 */
    .kb-row-layout-id883_89f9f2-c3 > .kt-row-column-wrap{
        border-top: 2px solid #008FD1;
        border-bottom: 3px solid #008FD1;
    }


    .wp-site-blocks .is-layout-constrained{
        max-width: unset;
    }
    .contents02-label {
        width: 100%;
    }

    .news__container {
        max-width: 960px;
        margin: 0 auto;
        padding: 0 0;
    }


      .footer_01 {
        padding: 40px 0;
    }

    .page-id-1221 .footer_01, .page-id-1212 .footer_01 {
        margin-top: 40px;
    }

    .footer02__logo-top-img {
        height: 45px;
        width: auto;
        margin-left: 20px;
        margin-top: 20px;
    }
    .footer02__section {
        margin: 20px 10px;
    }
    .footer02__card-title {
        font-size: clamp(16px, 1.5vw, 25px);
        margin: 0 0 0 0;
    }
    .footer02__section-title {
        font-size: clamp(16px, 1.5vw, 25px);
    }

    .footer02__card {
        padding: clamp(12px, 1.5vw, 20px);
    }

    .footer01__title {
        margin-bottom: 20px;
    }

    .footer01__title .highlight {
        color: #198fce; /* 好きな色コードに変更 */
    }
    .footer01__grid {
        flex-direction: column;
    }
    .footer01__item.img-2 {
        /* width: 105%; */
    }
    .footer01__container {
        padding: 0 5px 0 24px;
    }
    .footer01__title {
        font-size: clamp(24px, 2.2vw, 48px);
    }
    .footer01__item {
        flex: none;
    }
    .footer01__btn{
        display: block;
        margin: 10px auto 0;
        width: 200px;
        padding: 8px 24px;
        border-radius: 25px;
    }

    .footer01__card-inner {
        top: 10px;
    }

    .footer01__icon img {
        width: clamp(30px, 7.6vw, 59px);
    }

    .footer01__copy {
        margin-top: 0;
        font-size: clamp(18px, 4vw, 33px);
    }

    .footer01__card-title {
        margin-top: 0;
        font-size: clamp(21px, 5.4vw, 42px);
    }

    .footer01__text {
        margin-top: 0;
        font-size: clamp(12px, 3.1vw, 24px);
        line-height: 1.4;
    }

        .footer01__tel {
            grid-template-columns: 1fr;
            gap: 0;
            font-size: 12px;
            font-weight: bold;
            text-align: unset;
            margin: 25px 0 28px 0;
            color: #0f172a;
            line-height: 1.5;
        }

        .footer01__tel .phone-number {
            font-size: 25px;
        }

        .footer02__main {
            display: flex;
            gap: 25px;
            margin-bottom: 40px;
            flex-direction: column;
        }

        .footer02__sections {
            display: flex
        ;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            flex-direction: column;
        }
        .footer02__container {
            padding: 35px 35px;
        }
        .footer02__logos {
            display: flex;
            gap: 20px;
            align-items: baseline;
            flex-direction: column;
        }

        .footer02__contact {
            display: flex
        ;
            justify-content: flex-start;
            align-items: baseline;
            gap: 40px;
        }
        .footer02__logo {
            height: 42px;
        }
        .footer02__logos-flex {
            display: flex;
            gap: 40px;
            align-items: flex-end;
        }
        .footer03__logo {
            height: 54px;
        }
        .footer02__bottom {
            background: var(--card-bg);
            padding: 28px 35px;
            border-top: 1px solid var(--border);
        }

        /* ===== Responsive（SPは縦並び、区切り線は非表示） ===== */


        .footer02__logos {
            display: flex;
            gap: 24px;
            align-items: baseline;
            margin-top: 0px;
        }
        .footer04 {
            width: 25px;
            height: 25px;
        }
        .footer-rail__inner {
            position: relative;
            display: flex
        ;
            justify-content: space-between;
            align-items: center;
            max-width: var(--maxw);
            margin: 0 auto;
            padding: 25px 0px 40px;
            color: var(--isa-blue);
        }

        .footer-rail {
            --isa-blue: #0b8bc7;
            --isa-orange: #f6a974;
            --line-w: 2px;
            --line-inset-y: 65px;
            --edge-inset-x: clamp(0px, 0vw, 0px);
            --maxw: 1107px;
            position: relative;
        }

        .footer-rail__item {
            flex: 1 1 0;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 14px;
            text-decoration: none;
            color: inherit;
            position: relative;
            padding: 14px 24px;
            z-index: 1;
        }

        .footer-rail__item {
            flex: 1 1 0;
            display: flex;
            gap: 0;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: inherit;
            position: relative;
            padding: 6px 6px;
            z-index: 1;
            flex-direction: column;
            border-left: 1px solid var(--isa-blue);
        }
        .footer-rail__item:last-of-type {
            border-right: 1px solid var(--isa-blue);
        }

        .footer-rail__logo {
            height: 15px;
        }

        .footer-rail__label {
            font-size: 16px;
        }

    .footer02__top {
        padding: 0px 0;
    }

    /* 1つ目：最大52pxを維持して流体化 */
    .wp-block-kadence-advancedheading.kt-adv-heading1212_7bb1a8-d6,
    .wp-block-kadence-advancedheading.kt-adv-heading1212_7bb1a8-d6[data-kb-block="kb-adv-heading1212_7bb1a8-d6"] {
        font-size: clamp(24px, 3vw + 14px, 52px);
    }

    /* 2つ目：最大58pxを維持して流体化 */
    .wp-block-kadence-advancedheading.kt-adv-heading1212_6151cc-0b,
    .wp-block-kadence-advancedheading.kt-adv-heading1212_6151cc-0b[data-kb-block="kb-adv-heading1212_6151cc-0b"] {
        font-size: clamp(26px, 3.2vw + 16px, 58px);
    }

    .news {
        padding: 30px 0 0;
    }
    .news__tab {
        padding: 5px 0;
        border: none;
        font-size: 19px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s
        ease;
        min-width: 90px;
        color: #fff;
    }
    .news__tab {
        min-width: 90px;
    }
    .news__tabs {
        flex-wrap: unset;
    }
    .news__link{
        display: flex;            /* 既存と同じ */
        flex-wrap: wrap;          /* ← これで折り返し許可 */
        align-items: center;      /* 上下のズレを整える */
        gap: 10px 16px;           /* 行間/列間の余白（お好みで） */
        padding: 16px;            /* モバイル寄りのゆとりに調整（任意） */
    }

    .news__date{
        /* 1行目 左側 */
        flex: 0 0 auto;
        width: auto;              /* 既存の90pxを上書き */
        min-width: 90px;          /* 幅が詰まりすぎないように最低幅だけ確保 */
        margin: 0;                /* 行間をリセット（任意） */
        font-size: 27px;
    }
    /* 本文内リンクだけ青く */
    .news__excerpt a {
        color: #1d4ed8;          /* 好きな青に */
        text-decoration: underline;
    }

    /* クリック後の色も揃えたいなら */
    .news__excerpt a:visited {
        color: #1d4ed8;
    }

    .news__title {
        font-size: clamp(27px, 3vw, 36px);
        font-weight: bold;
        text-align: center;
        margin-bottom: 20px;
        color: #0f172a;
        line-height: 1.4;
    }

    .news__badge{
        /* 1行目 右側 */
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 2px 9px;/* 折り返し防止 */
    }
    .news__title-item {
        font-size: 1rem;
        font-weight: bold;
        color: #000;
        margin: 0 0 8px 0;
        line-height: 1.4;
        font-size: 26px;
    }
    .news__excerpt {
        font-size: 26px;
        color: #666;
        margin: 0;
        line-height: 1.5;
        font-weight: 600;
    }

    .news__tab{
        /* 元: 19px → 最小14px〜最大19pxで可変 */
        font-size: clamp(14px, 1.2vw + 10px, 19px);
    }

    .news__date{
        /* 元: 27px → 最小16px〜最大27pxで可変 */
        font-size: clamp(15px, 1.8vw + 8px, 27px);
    }

    /* 既存のclampは活かす（最大36px） */
    .news__title{
        /* 例: そのままでOK（必要なら微調整可）
           font-size: clamp(27px, 3vw, 36px); */
    }

    .news__title-item{
        /* 元: 26px → 最小16px〜最大26pxで可変 */
        font-size: clamp(15px, 1.7vw + 8px, 26px);
        font-weight: bold;
        line-height: 1.4;
        color: #000;
        margin: 0 0 8px 0;
    }

    .news__excerpt{
        /* 元: 26px → 最小16px〜最大26pxで可変 */
        font-size: clamp(14px, 1.5vw + 8px, 26px);
        line-height: 1.5;
        color: #666;
        margin: 0;
        
        font-weight: 600;
    }

    .news__body{
        /* 2行目に全面展開 */
        flex: 0 0 100%;
        min-width: 100%;
        margin-top: 4px;          /* 上下の余白（お好みで） */
    }

    .kadence-column2810_956730-9d > .kt-inside-inner-col {
        padding-inline: 0 !important;
    }

    .kadence-column1212_a39e01-5c {
        margin-top: 0 !important;
    }
    .footer02__main {
        margin-bottom: auto;
    }

    @media only screen and (min-width: 768px) {
        .stk-block .stk-block.alignwide, .stk-block:is(.aligncenter,.alignwide,.alignfull) > .stk-content-align.alignwide {
            max-width: unset !important;
        }

    }
}


