/* WordPress: style.cssとしてテーマに組み込み */


/* 通常の幅判定（sp.css が mediaで効く環境でも確実に反映） */
@media (max-width: 1024px) {
    .pc-only { display: none !important; }
    .sp-only { display: block !important; }
}

/* ?view=sp での強制（Cookieで view-sp が付いた時は幅に関係なくSP表示） */
body.view-sp .pc-only { display: none !important; }
body.view-sp .sp-only { display: block !important; }
/* ===== カラー変数 ===== */
:root {
    --card-pink: #c35462;
    --card-pink-header: #c36a75;
    --card-orange: #d16b5e;
    --card-orange-header: #d18075;
    --card-blue: #29609e;
    --card-blue-header: #48719e;
    --text-primary: #111;
    --text-secondary: #555;
    --pink:#ED7F67;      --pink-weak:#FFE7E1;   /* Office：赤系 */
    --orange:#FF8C42;    --orange-weak:#FFE3CF; /* Web・DTP：オレンジ系 */
    --blue:#1570C8;      --blue-weak:#E6F0FB;   /* IT：青系 */
    /* 既定（全体用）: Noto優先 */
    --ff-noto: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "Meiryo", system-ui, sans-serif;

    /* ヒラギノ優先（Macでヒラギノ、他はNoto等へフォールバック） */
    --ff-hiragino: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro",
    "Noto Sans JP", "Yu Gothic", "Meiryo", system-ui, sans-serif;
}

/* PCだけ表示 */
.pc-only {
    display: block;
}
.sp-only {
    display: none !important;
}

.common-content {
    margin: 0 40px;
}

/* ===== リセット・ベーススタイル ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--ff-noto);
    font-size: clamp(16px, 1.5vw, 20px);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-synthesis-weight: none; /* 疑似ボールド防止 */
    color: #333;
    background-color: #fff;
    letter-spacing: .08em;
}

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

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

/* ===== コンテナ ===== */
.container {
    margin: 0 auto;
    padding: 0px 100px;
}

.mobile-menu__inner {
    display: none;
}

.wp-site-blocks .is-layout-constrained{
    max-width: var(--wp--style--global--content-size,1100px);
    margin-inline:auto;
    padding-inline:clamp(16px,4vw,40px);
}
.wp-site-blocks .alignwide{
    max-width: var(--wp--style--global--wide-size,1280px);
    margin-inline:auto;
}

/* ===== ボタン ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

.btn-primary:hover {
    background-color: #c0392b;
    border-color: #c0392b;
}

.btn-outline {
    background-color: transparent;
    color: #e74c3c;
    border-color: #e74c3c;
}

.btn-outline:hover {
    background-color: #e74c3c;
    color: #fff;
}

/* ===== セクションタイトル ===== */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #e74c3c;
    margin: 1rem auto 0;
}

/* ===== ヘッダー ===== */
.header {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    border-bottom: 2px solid #d1d5db; /* 薄いグレー */
    background: #fff; /* 透明なヘッダーなら入れておくと◎ */
}

.header {
    font-family: var(--ff-hiragino);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 40px;
}

.header-buttons {
    display: flex;
    gap: 10px;
}
.nav-link .icon-01{ width: 23px; }
.nav-link .icon-02{ width: 20px; }

.btn-trial {
    background-color: #ff6b6b;
    color: #fff;
    width: 198px;
    height: 50px;
    padding: 0;
    border-radius: 4px;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.btn-trial:hover {
    background-color: #ff5252;
}

.btn-materials {
    background-color: #ff8c42;
    color: #fff;
    width: 198px;
    height: 50px;
    padding: 0;
    border-radius: 4px;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.btn-materials:hover {
    background-color: #ff7a2e;
}

.btn-counseling {
    background-color: #e63946;
    color: #fff;
    width: 198px;
    height: 50px;
    padding: 0;
    border-radius: 4px;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.btn-counseling:hover {
    background-color: #d62d3a;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 15px 0 0;
}

.nav {
    flex: 1;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
    max-width: 885px;
}

.nav-list li {
    flex-grow: 1;
}

.nav-list a {
    color: #333;
    font-size: clamp(14px, 1.25vw, 18px);
    padding-bottom: 15px;
    position: relative;
    transition: color 0.3s ease;
    display: block;
    text-align: center;
    width: 100%;
    font-family: var(--ff-hiragino);
    font-weight: 600;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(25, 143, 206, 0.37);
    border-radius: 0px;
    transition: background-color 0.3s ease;
}

.nav-list a:hover {
    color: #198fce;
}

.nav-list a:hover::after {
    background-color: #198fce;
}

.nav-list a.active {
    color: #198fce;
}

.nav-list a.active::after {
    background-color: #198fce;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #198fce;
    font-size: 14px;
    transition: color 0.3s ease;
    font-family: var(--ff-hiragino);
    font-weight: 600;
}

.nav-link:hover {
    color: #146a9a;
}

.icon {
    width: 16px;
    height: 16px;
    background-color: #198fce;
    border-radius: 2px;
    position: relative;
}

.icon-book::before {
    content: '📚';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
}

.icon-map::before {
    content: '📍';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
}

/* ===== ヒーローセクション ===== */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 23px;
    margin-bottom: -56px;
}

.hero .container {
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-layout {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-width: 800px;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

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

.hero-bg::after {
    display: none;
}

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



.hero-lead {
    font-size: 24px;
    font-weight: bold;
    color: #198fce;
    margin-bottom: 20px;
    letter-spacing: 1px;
    line-height: 1.4;
}

.hero-title {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.5;
    color: #111;
    background-color: #ffff;
    width: 537px;
}
.hero-title_02 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.5;
    color: #111;
    background-color: #ffff;
    width: 580px;
}

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

.hero-title-highlight {
    color: #198fce;
}

.hero-subtitle {
    font-size: 19px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 35px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* ===== ヒーローカード ===== */
.hero-cards {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    font-family: var(--ff-hiragino);
    font-weight: 600;
    font-size: 17px;
    min-height: 180px;
}

.hero-card {
    min-width: 220px;
}

.hero-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.hero-card-header {
    padding: 12px 10px;
    text-align: center;
}

.hero-card-header h3 {
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    font-size: 17px;
}

.hero-card-left .hero-card-header {
    background-color: #c35462;
}

.hero-card-left .hero-card-content h4 {
    color: #c35462;
    line-height: 1.1;
    font-size: 28px;
}

.hero-card-left .hero-card-button span {
    color: #c35462;
    border-color: #c35462;
}



.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: 27px;  /* 大きめ */
    font-family: var(--ff-hiragino);
    font-weight: 600;
    letter-spacing: 0.9px;
}

.hero-card-center .hero-card-content h4 .h4-small {
    font-size: 16px;  /* 小さめ */
    font-weight: 500;
}


.hero-card-center .hero-card-button span {
    color: #d16b5e;
    border-color: #d16b5e;

}


.hero-card-right .hero-card-header {
    background-color: #29609e;
}

.hero-card-right .hero-card-content h4 {
    color: #29609e;
    font-size: 28px;
    line-height: 1.2;
}

.hero-card-right .hero-card-button span {
    color: #29609e;
    border-color: #29609e;
}
.hero-card-left:hover .hero-card-button span {
    color: #fff;
}
.hero-card-center:hover .hero-card-button span {
    color: #fff;
}
.hero-card-right:hover .hero-card-button span {
    color: #fff;
}

/* 左カード（赤系） */
.hero-card-left:hover .hero-card-button {
    background: #c35462;   /* 背景を赤に */
    color: #fff;           /* spanも白に */
}

/* 中央カード（オレンジ系） */
.hero-card-center:hover .hero-card-button {
    background: #d16b5e;
    color: #fff;
}

/* 右カード（青系） */
.hero-card-right:hover .hero-card-button {
    background: #29609e;
    color: #fff;
}


.hero-card-content {
    padding: 12px 0px;
    min-height: 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: 15px;
    height: 70px;
}

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

.hero-card-icon.red img {
    width: 69px;
    object-fit: contain;
}
.hero-card-icon.orange img {
    width: 61px;
    object-fit: contain;
}
.hero-card-icon.blue img {
    width: 74px;
    object-fit: contain;
}

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

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

.hero-card-button {
    background: #fff;
    padding: 5px 0px;
    border-radius: 20px;
    width: 200px;
    height: 40px;
    display: flex;           /* 中央寄せ */
    align-items: center;     /* 縦中央 */
    justify-content: center; /* 横中央 */
}

.hero-card-button span {
    display: inline-block;
    font-size: 16px;
    letter-spacing: -0.9px;
}

/* ===== ヒーローハッシュタグ ===== */
.hero-tags {
    display: flex;
    gap: 15px;
    margin-top: 0;
    background: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid #c1d9f0;
    width: 557px;

}

.hero-tag {
    color: #1b1b1b;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}


.hero-features {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.hero-features .feature-item {
    background: #009fe8; /* 青背景 */
    color: #fff;
    text-align: center;
    padding: 18px 20px;
    border-radius: 4px;
    flex: 1;
}

.hero-features .feature-item p {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.4;
    font-weight: bold;
    letter-spacing: normal;
}

.hero-features .highlight {
    color: #ffeb00;        /* 黄色文字 */
    font-size: 1.7rem;     /* 白文字より大きく */
    font-weight: 700;
    line-height: 1.3;
    display: inline-block;
    margin-top: 4px;
}






/* =========================
   CTA (based on provided HTML)
   ========================= */
:root{
    --cta-red-start:#e63946;
    --cta-red-end:#e64b46;
    --cta-orange-start:#ff8c42;
    --cta-orange-end:#f0892c;
    --cta-text:#222;
    --cta-shadow:0 14px 36px rgba(0,0,0,.10);
    --cta-radius:28px;
    --cta-pill-radius:15px;
}

.cta{
    position: relative;
    padding: 32px 0 48px;
    font-family: "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Segoe UI", sans-serif;
    color: var(--cta-text);
    overflow: hidden;
}

/* 背景画像（全幅・クリック不可） */
.cta .cta-background{
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.cta .cta-background img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(.95) brightness(1.02);
}

/* 中央寄せコンテナ（サイト共通の.containerが無い想定にも対応） */
.cta .container{
    position: relative;
    z-index: 1; /* 背景より前 */
}

/* 2カラムの白いカード */
.cta-container{
    position: relative;
    background: #fff;
    border-radius: var(--cta-radius);
    box-shadow: var(--cta-shadow);
    padding: 32px;                 /* 外枠の余白 */
    display: grid;
    grid-template-columns: 1fr 1fr;              /* 左右ブロックの間隔 */
    overflow: hidden;              /* 角から画像がはみ出さないように */
}

.cta-block{
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;                    /* 余白は親カードに持たせる */
    display: grid;
    grid-template-rows: auto 1fr;
    align-items: start;
    min-height: 0;
}


/* 左側の見出し・説明 */
.cta-text h3{
    font-weight: 600;
    font-size: 19px;
    letter-spacing: normal;
}
.cta-text{
    text-align: center;
}
.cta-text p{
    font-size: 19px;
    font-weight: 600;
    letter-spacing: normal;
}

/* 画像 + ボタンの行 */
.cta-button-wrapper{
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100px; /* 画像が重なる余白を確保 */
    justify-content: center;
    --btn-w: 448px;
}

/* ボタン（共通） */
.cta-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: var(--cta-pill-radius);
    padding: 24px 36px 26px;
    min-height: 88px;
    width: var(--btn-w);
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.25);
    color: #fff;
    position: relative;
    transition: transform .08s ease, filter .2s ease, box-shadow .2s ease;
}


/* カラー（赤/オレンジ） */
.cta-btn-red{
    background: linear-gradient(180deg, var(--cta-red-start), var(--cta-red-end));
}
.cta-btn-orange{
    background: linear-gradient(180deg, var(--cta-orange-start), var(--cta-orange-end));
}

.cta-btn:hover{
    transform: translateY(-1px);
    filter: saturate(1.05) brightness(1.02);
    box-shadow: 0 14px 28px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.3);
}

/* ボタンの文字サイズ（画像に合わせて大きめ） */
.cta-btn{
    font-size: 26px;
}

/* 画像の重なり表現（カード内でボタンに少し乗る） */
.cta-image{
    position: absolute;
    bottom: 6px;
    z-index: 2; /* ボタンより前 */
    pointer-events: none;
    user-select: none;
}

/* 左カードの人物写真（少し大きめでボタン左に重ねる） */
.cta-block-left .cta-image{
    left: calc(50% - (var(--btn-w) / 2) - 55px);
    transform: translateY(6px);
    width: 17%;
    max-width: 99px;
    min-width: 88px;
}

/* 右カードの冊子写真（ボタン左上に重ねる） */
.cta-block-right .cta-image{
    left: calc(50% - (var(--btn-w) / 2) - 80px);
    top: -18px;
    width: 27%;
    max-width: 147px;
}
.cta-button-wrapper {
    --btn-w: min(100%, 400px); /* 最大400px、親が狭い時は自動で縮む */
}
.cta-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px; /* ボタン同士が近すぎないように */
}

/* ボタンの中身をflexにする */
.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: 26px;
    box-shadow: 0 10px 22px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.25);
}

/* テキストを中央に固定 */
.cta-btn .btn-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

/* 矢印を右端に固定 */
.cta-btn .btn-arrow {
    margin-left: auto;
    font-size: 28px;
    line-height: 1;
}


/* ===== Gutenberg Buttonブロックへの橋渡し ===== */
.wp-block-button.cta-btn .wp-block-button__link{
    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:26px;
    box-shadow:0 10px 22px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.25);
    transition:transform .08s ease, filter .2s ease, box-shadow .2s ease;
}

/* 色 */
.wp-block-button.cta-btn.cta-btn-red    .wp-block-button__link{ background:linear-gradient(180deg,var(--cta-red-start),var(--cta-red-end)); }
.wp-block-button.cta-btn.cta-btn-orange .wp-block-button__link{ background:linear-gradient(180deg,var(--cta-orange-start),var(--cta-orange-end)); }

/* 中のテキスト/矢印（span構造をそのまま使う） */
.wp-block-button.cta-btn .wp-block-button__link .btn-text{ position:absolute; left:50%; transform:translateX(-50%); text-align:center; }
.wp-block-button.cta-btn .wp-block-button__link .btn-arrow{ margin-left:auto; font-size:28px; line-height:1; }

/* ホバー */
.wp-block-button.cta-btn .wp-block-button__link:hover{
    transform:translateY(-1px); filter:saturate(1.05) brightness(1.02);
    box-shadow:0 14px 28px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.3);
}


/* ===== 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: 26px;
    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:36px;            /* 画像に合わせて太め＆大きめ */
    font-weight: bold;
    letter-spacing: .08em;
    color:#15171a;
    margin-bottom: 20px;

}
.contents02-title .title-accent{
    color: #198fce;
}
.contents02-section{
    position:relative;
    margin-bottom: 67px;
}
.contents02-background{
    font-family: 'Oswald', sans-serif;
    position: absolute;
    left: 16px;
    top: 46px;
    z-index: 0;
    pointer-events: none;
    font-size: 118px;
    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;
    height: 46px;
}
.section-mini-title{
    font-size: 18px;
    font-weight: 600;
    color: #1b1d1f;
}

/* ドット行 */
/* ドット列（固定色） */
.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:31px;font-weight:700;margin:5px 0 18px 0;padding-left:28px;letter-spacing: -0.9px;
}
.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-tabs{
    display:flex;
    gap:24px;
    align-items:flex-end;
    position:relative;          /* ← パネル上線を前面に重ねるため */
    margin:0 0 calc(-1 * var(--tab-bw)) 0;     /* パネル上縁に食い込む */
    width:100%;
}

/* 親タブごとのローカル色（常に固定） */
.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:12px; 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:25px 22px;
    font-weight:800;
    box-shadow:0 1px 0 rgba(0,0,0,.02);
}
.cat-tab .label{
    font-size: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{ max-width:100%; max-height:100%; object-fit:contain; }

/* 選択タブだけ最前面に（枠よりも上） */
.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: 149px;
    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{
}

/* ===== CONTENTS03 ===== */
.contents03{
    padding:80px 0;
    background:#e3f2fd; /* ライトブルー */
}

/* タイトル：6だけ強調 */
.contents03__title{
    text-align:center;
    margin:0 0 60px;
    color:#111;
    font-weight:800;
    line-height:1.35;
    letter-spacing:.04em;
    font-size:clamp(28px,3.6vw,44px);
}
.contents03__accent{
    color:#198fce;
    font-size:1.25em;       /* 数字をひとまわり大きく */
    font-weight:600;
}

/* 3カラムグリッド */
.contents03__grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;               /* スクショに近い余白感 */
    list-style:none;
    padding:0;
    margin:0;
}

.contents03__card{
    border-radius:8px;
    transition:transform .25s ease, box-shadow .25s ease;
}
.contents03__card:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(0,0,0,.08);
}

/* 画像 */
.contents03__figure{ margin:0; }
.contents03__image-wrapper{ position:relative; }
.contents03__image{
    display: block;
    width: 100%;
    border-bottom: 4px solid #198fce;
}

/* ラベル（POINT + 2桁番号） */
.contents03__label{
    position:absolute;
    left: 0px;
    top: 0px;
    width:70px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    padding:8px 0 6px;
    background:#548eca;
    color:#fff;
    border-radius: 0 0 6px 0;
    box-shadow:0 4px 10px rgba(0,0,0,.12);
}
.contents03__label-point{
    font-size:14px;
    letter-spacing:.08em;
    font-weight:800;
}
.contents03__label-num{
    font-size:28px;
    font-weight:700;
    color:#efe939;          /* 黄色（スクショ調） */
    line-height:1;
}

/* キャプション */
.contents03__caption{ padding-top:12px; }
.contents03__subtitle{
    /* margin: 0 0 6px; */
    font-size: 15px;
    color: #1b1b1b;
    /* line-height: 1.55; */
    letter-spacing: .01em;
    font-weight: 700;
}
.contents03__heading{
    margin:0;
    font-size:clamp(18px,2.2vw,24px);
    font-weight:900;
    color:#111;
    line-height:1.25;
    letter-spacing:.02em;
}


/* ===== CONTENTS04セクション ===== */
.contents04 {
    background:#f5f7f9;
}

/* 吹き出しヘッダー */
.contents04__header{
    position:relative;
    background:#fff;
    text-align:center;
    border-radius:6px;
    box-shadow: 0 8px 10px rgba(0, 0, 0, .03);
    max-width: none;    /* containerの制約を無効化 */
    margin: 0;
    padding: 60px 20px 1px 20px;
    z-index: 3;
    overflow: visible;
}
.contents04__header::after{
    content:"";
    position:absolute;
    bottom:-49px;
    left:50%;
    transform: translateX(-50%);
    width:190px;
    height:50px;
    background:#fff;
    -webkit-clip-path: polygon(50% 100%, 0 0, 100% 0);
    clip-path: polygon(50% 100%, 0 0, 100% 0);

    /* 外側の影は box-shadow ではなく filter を使う */
    -webkit-filter: drop-shadow(0 12px 18px rgba(0,0,0,.18))
    drop-shadow(0 4px 8px rgba(0,0,0,.10));
    filter: drop-shadow(0 12px 18px rgba(0,0,0,.18))
    drop-shadow(0 4px 8px rgba(0,0,0,.10));

    /* 念のため */
    will-change: filter;
    z-index: 5;
}
.contents04 > .container {
    min-width: auto;     /* container の min-width を上書き */
    padding: 0 0;     /* 左右の余白も調整 */
}

.contents04__title{
    margin: 0 0 14px;
    font-weight: 700;
    color: #0288d1;
    font-size: clamp(24px, 3.2vw, 36px);
    letter-spacing:.02em;
}
.contents04__subtitle{
    margin: 0;
    color: #444;
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 49px;
}


/* グリッド */
.contents04__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 50px 95px;
}

/* カード */
.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;
}

.contents04__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* テキスト部分 */
.contents04__content {
    flex: 1;
    padding: 6%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 152px;
}

.contents04__subheading {
    font-size: 0.9rem;
    color: #198fce;
    margin: 0 0 6px;
    letter-spacing: normal;
    font-weight: 700;
}

.contents04__heading {
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
    color: #000;
}

/* 画像 + 矢印ラッパー */
.contents04__image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* 画像は右端にぴったり */
.contents04__image {
    display: block;
    object-fit: cover;
}

/* 丸矢印 */
.contents04__arrow {
    position: absolute;
    left: -34px;
    transform: translateY(-50%);
    bottom: -8px;
    width: 20px;
    background-size: 14px 14px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
/* ホバー時アニメーション */
.contents04__card:hover .contents04__arrow {
    transform: translateY(-50%) translateX(4px);
}



.hero-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #fff;
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 60%);
}

/* ===== サービスセクション ===== */
.services {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background-color: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: #666;
}

.service-link {
    color: #e74c3c;
    font-weight: bold;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.service-link:hover {
    border-bottom-color: #e74c3c;
}

/* ===== お知らせセクション ===== */
.news {
    padding: 5rem 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
/* 本文内リンクだけ青く */
.news__excerpt a,
.news__excerpt a:visited {
    color: #1d4ed8;
    text-decoration: underline;
}

/* 「詳しく見る」リンクも青く */
.news__more-link,
.news__more-link:visited {
    color: #1d4ed8;
    text-decoration: underline;
}



.news-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 1.5rem;
    transition: box-shadow 0.3s ease;
}

.news-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.news-meta time {
    color: #666;
    font-size: 0.9rem;
}

.news-category {
    background-color: #e74c3c;
    color: #fff;
    padding: 0.2rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.news-card h3 {
    margin-bottom: 1rem;
}

.news-card h3 a {
    color: #2c3e50;
    transition: color 0.3s ease;
}

.news-card h3 a:hover {
    color: #e74c3c;
}

.news-card p {
    color: #666;
    line-height: 1.6;
}

.news-more {
    text-align: center;
}


/* セクション土台 */
.map {
    background: #e3f2fd;
    padding: 3.75rem 0; /* 60px */
}
.map__title {
    text-align: center;
    font-size: 2.2rem; /* 2.2remそのままでもOK */
    font-weight: bold;
    margin-bottom: 1.875rem; /* 30px */
    color: #0b6ea6;
}
.map__accent { color: #03a9f4; }

.school-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 43.4375rem; /* 695px */
 　　row-gap: 0.625rem; /* 10px */
    align-items: start;
}

.school-col--full {
    grid-column: 3;
    margin-top: -15.0125rem;
}

.school-col {
    padding: 1.0625rem;
    padding-top: 0;
}

.pref__badge {
    background: #fff;
    display: inline-block;
    padding: 0.5625rem 0.125rem; /* 9px 2px */
    font-weight: bold;
    border-radius: 0.25rem; /* 4px */
    margin-bottom: 1.25rem; /* 20px */
    font-size: 1.25rem; /* 20px */
    width: 100%;
    text-align: center;
    position: relative;
    letter-spacing: 0.1px;
}

.pref__badge::after {
    content: "";
    position: absolute;
    bottom: -1rem; /* -16px */
    left: 50%;
    transform: translateX(-50%);
    border-width: 1.125rem 0.6875rem 0 0.6875rem; /* 18px 11px 0 11px */
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.school-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem; /* 6px */
    font-weight: 500;
    color: #0f80c6;
    text-decoration: underline;
    margin-top: 0.375rem; /* 6px */
    margin-left: 0.8125rem; /* 13px */
    letter-spacing: normal;
}

.school-icon {
    width: 1.125rem; /* 18px */
    height: 1.125rem; /* 18px */
}

.school-tel {
    display: block;
    margin: 0.125rem 0 0.625rem; /* 2px 0 10px */
    font-size: 1.125rem; /* 18px */
    font-weight: 500;
    color: #111;
    margin-left: 2.3125rem; /* 37px */
}

.online-school {
    position: absolute;
    bottom: 40px; /* 40px */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.online-school .school-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem; /* 6px */
    color: #0f80c6;
    text-decoration: underline;
    font-size: 1.0625rem; /* 17px */
}

.online-school .school-icon {
    width: 1.375rem; /* 22px */
    height: 1.375rem;
}

.online-school .school-tel {
    display: block;
    font-size: 1.0625rem; /* 17px */
    color: #111;
}


/* ===== フッター ===== */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-nav ul {
    display: flex;
    list-style: none;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-sns {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.sns-link {
    width: 40px;
    height: 40px;
    background-color: #34495e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.sns-link:hover {
    background-color: #e74c3c;
}

.sns-link img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* ===== レスポンシブデザイン ===== */




/* WordPress: 管理バー用の調整 */
.admin-bar .header {
    top: 32px;
}


/* ===== MAPセクション ===== */
.map {
    padding: 2.3rem 0;
    background: url('../image/top/map_background.png') center/cover no-repeat;
    position: relative;
}

.map__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}


/* マークは並べる（絶対配置は解除） */


/* レスポンシブ対応 */

/* ===== NEWSセクション ===== */
.news {
    padding: 70px 0;
    background: #ffffff;
}

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

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

.news__tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.news__tab {
    padding: 7px 12px;
    width: 166px;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    color: #fff; /* デフォルトは白文字 */
}

/* カテゴリごとの通常色（hover時と同じ色に設定） */
.news__tab[data-category="all"] {
    background: #E0E0E0;
    color: #333;
}

.news__tab[data-category="news"] {
    background: #198fce;
}

.news__tab[data-category="discount"] {
    background: #dda712;
}

.news__tab[data-category="media"] {
    background: #a9d1a3;
}

/* hoverで少し濃くしたい場合だけ残す */
.news__tab[data-category="news"]:hover {
    background: #147bb5;
}
.news__tab[data-category="discount"]:hover {
    background: #c69510;
}
.news__tab[data-category="media"]:hover {
    background: #91bb8b;
}

/* activeはhoverと同じ色にしておく */
.news__tab--active {
    font-weight: 600;
}


.news__list {
    max-height: 619px;
    overflow-y: auto;
    border-top: 1px solid #000000;
    background: #fff;
    margin: 0;
    padding: 0;
    list-style: none;

}

/* カスタムスクロールバー */
.news__list::-webkit-scrollbar {
    width: 6px;
}

.news__list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.news__list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.news__list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.news__list {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}

.news__item {
    border-bottom: 1px solid #000000;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.news__item:last-child {
    border-bottom: none;
}

.news__item:hover {
    background: rgba(0, 0, 0, 0.03);
}

.news__link {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    gap: 15px;
}

.news__date {
    width: 90px;
    flex-shrink: 0;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.news__badge {
    padding: 3px 22px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    white-space: nowrap;
    width: 120px;
    text-align: center;
}

.news__badge--news {
    background: #198fce;
}

.news__badge--discount {
    background: #dda712;
}

.news__badge--media {
    background: #a9d1a3;
}

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

.news__title-item {
    font-size: 1rem;
    font-weight: bold;
    color: #000;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.news__excerpt {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
    font-weight: 600;
}


/* ===== BANNERセクション ===== */
.banner {
    padding: 80px 0;
    background: #f8f9fa;
}

.banner__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.banner__title {
    font-size: clamp(22px, 3.2vw, 32px);
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #0f172a;
    line-height: 1.4;
}

.banner__lead {
    font-size: 1.14rem;

    /* color: #6b7280; */
    text-align: center;
    margin: 0 auto 20px;
    line-height: 1.7;
    font-weight: 600;
}

.banner__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.banner__item {
    margin: 0;
}

.banner__link {
    display: block;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    background: #fff;
}

.banner__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.banner__link:focus {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

.banner__img {
    width: 100%;
    object-fit: contain;
    display: block;
    background: #fff;
}

/* レスポンシブ対応 */


/* ===== FOOTER_01セクション ===== */
.footer_01 {
    padding: 80px 0;
    background: #e3f2fd;
    margin-top: 0;
    padding-bottom: 10px;
}

.page-id-1221 .footer_01, .page-id-1223 .footer_01 {

}

.footer01__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer01__title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
    color: #0f172a;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.footer01__tel {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 25px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin: 50px 0 40px 0;
    color: #0f172a;
    line-height: 1.5;
}

.footer01__tel .phone-number {
    font-size: 29px;
    font-weight: bold;
}

.footer01__tel .phone-icon img {
    width: 14px;
}

/* 2枚を常に横並び（flex） */
.footer01__grid{
    display: flex;
    justify-content: center;
    align-items: flex-start;      /* 上揃え */
    gap: 25px;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* 2枚とも同じ幅に */
.footer01__item{
    flex: 0 0 clamp(280px, 42vw, 560px);   /* 画面に合わせて伸縮（最大560px） */
}

/* ★ここがポイント：同じ比率＆トリミング表示にする */
.footer01__img{
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;   /* どちらの画像もこの比率に揃える */
    object-fit: cover;      /* はみ出し分はトリミング */
}

/* ボタンは最前面に */
/* 共通スタイル */
.footer01__btn
{
    position: relative;
    display: block;
    margin: min(1.38vw, 20px) 116px 0;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    text-align: center;
    transition: all .2s
    ease;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

.footer01__btn::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  width: 0;
  height: 0;
  margin: auto;
  border-top: 6px solid transparent;
  border-right: 0 solid transparent;
  border-left: 9px solid #e74c3c;
  border-bottom: 6px solid transparent;
  box-sizing: border-box;
}

/* 赤いボタン（デフォルト） */
.footer01__btn--red{
    background: #fff;
    color: #e74c3c;
    border: 2px solid #e74c3c;
}
.footer01__btn--red:hover{
    background:#e74c3c;
    color:#fff;
}
.footer01__btn:hover::after {
    border-left: 9px solid #fff;
}

/* 青いボタン（資料請求用） */
.footer01__btn--blue{
    background: #fff;
    color: #d26f37;
    border: 2px solid #d26f37;
}
.footer01__btn--blue:hover{
    background:#d26f37;
    color:#fff;
}
.footer01__btn--blue::after {
    border-left: 9px solid #d26f37;
}

.footer01__card{
    position: relative;          /* ← これが必須 */
    overflow: hidden;
}


.footer01__btn:focus {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.footer01__card-inner {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 5%;
    width: 100%;
    color: #fff;
}

.footer01__icon {
    text-align: center;
}

.footer01__icon img {
    width: min(4vw,59px);
}

.footer01__copy {
    margin-top: 4px;
    font-size: 18px;
    font-size: min(1.25vw,18px);
    font-weight: 700;
    text-align: center;
    font-feature-settings: "palt";
}

.footer01__card-title {
    margin-top: 4px;
    font-size: 34px;
    font-size: min(2.36vw,34px);
    font-weight: 700;
    text-align: center;
    font-feature-settings: "palt";
}

.footer01__text {
    margin-top: 4px;
    font-size: 18px;
    font-size: min(1.25vw,18px);
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    font-feature-settings: "palt";
}





/* ===== FOOTER_02セクション ===== */
.footer_02 {
    --bg-top: #f3f8f9;
    --text: #0f172a;
    --muted: #6b7785;
    --link: #198fce;
    --hover-underline: #ff8c42;
    --card-bg: #ffffff;
    --border: #e5eef2;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 上部ブロック */
.footer02__top {
    background: var(--bg-top);
    padding: 50px 0;
    padding-bottom: 0;
}

.footer02__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer02__logo-top {
    text-align: left;
    margin-bottom: 30px;
}

.footer02__logo-top-img {
    height: 45px;
    width: auto;
}

.footer02__main {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* 左カラム：講座一覧 */
.footer02__left {
    width: 100%;
}

.footer02__card {
    background: var(--card-bg);
    padding: 28px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.footer02__card-title {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 22px;
    font-weight: bold;
    color: var(--link);
    margin: 0 0 24px 0;
    line-height: 1.4;
}

.footer02__icon {
    width: 24px;;
    flex-shrink: 0;
}

.footer02__sections {
    display: grid;
    grid-template-columns: 1fr 1fr;   /* 左：Web/DTP / 右：Office+Engineer */
    gap: 24px;
}

.footer02__section-group {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer02__section {
    margin-bottom: 20px;
}

.footer02__section-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--link);
    margin: 0 0 12px 0;
    line-height: 1.4;
}
.footer02__section-all {
    font-size: 16px;
    font-weight: bold;
    color: var(--link);
    margin: 0 0 12px 0;
    line-height: 1.4;
}
.footer02__section-all.margin {
    margin-top: 40px;
}

.footer02__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer02__list li {
    margin-bottom: 5px;
}


.footer02__list a {
    color: var(--link);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.2s ease;
}

.footer02__list a:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.footer02__sub-list {
    list-style: none;
    margin: 8px 0 0 16px;
    padding: 0;
}

.footer02__sub-list li {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 4px;
}

/* 右カラム：情報カード */
.footer02__right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer02__right .footer02__card {
    padding: 24px;
}

.footer02__right .footer02__card-title {
    margin-bottom: 16px;
}

/* 右下：ロゴと電話番号 */
.footer02__contact {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
}

.footer02__logos {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-top: -360px;
}

.footer02__logo {
    height: 47px;
    width: auto;
}

@media (max-width: 1200px) {
    .footer02__logo {
    height: 38px;
    }
}

.footer02__phone {
    text-align: right;
}

.footer02__phone-text {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.footer02__phone-number {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--text);
    margin: 0;
    line-height: 1.2;
}

/* 下部ボトムバー */
.footer02__bottom {
    background: var(--card-bg);
    padding: 28px 0;
    border-top: 1px solid var(--border);
    padding-bottom: 100px;
}

.footer02__bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer02__bottom-logo {
    height: 32px;
    width: auto;
}

.footer02__bottom-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}

.footer02__nav-divider {
    width: 1px;
    height: 30px;
    background-color: #198fce;
}

.footer02__bottom-link {
    color: #198fce;
    text-decoration: none;
    font-size: 30px;
    font-weight: bold;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer02__nav-logo {
    height: 30px;
    width: auto;
}

.footer02__bottom-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--hover-underline);
    transition: width 0.2s ease;
}

.footer02__bottom-link:hover::after,
.footer02__bottom-link:focus::after {
    width: 100%;
}

.footer02__bottom-link:focus {
    outline: 2px solid var(--hover-underline);
    outline-offset: 2px;
}

.footer04 {
    width: 31px;
}



.kb-row-layout-id181_eb782b-7d > .kt-row-column-wrap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0 120px;
}

.wp-block-kadence-advancedheading.kt-adv-heading181_86d685-f9, .wp-block-kadence-advancedheading.kt-adv-heading181_86d685-f9[data-kb-block="kb-adv-heading181_86d685-f9"] {
    min-width: 762px;
}

.kb-row-layout-id181_7a5efb-dd > .kt-row-column-wrap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 729px;
}

.kb-row-layout-id181_383543-d9 > .kt-row-column-wrap {
    padding-left: 0 !important;
}

.wp-block-kadence-advancedheading.kt-adv-heading181_f6ba21-ef, .wp-block-kadence-advancedheading.kt-adv-heading181_f6ba21-ef[data-kb-block="kb-adv-heading181_f6ba21-ef"] {
    font-size: 26px;
    padding-left: 60px !important;
    min-width: 690px;
}

.kb-row-layout-id181_97102e-49 > .kt-row-column-wrap {
    padding-left: unset;
    min-width: 1200px;
}

.kb-row-layout-id181_967eee-36 > .kt-row-column-wrap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 722px;
    max-width: 722px;
}

@media (max-width: 1024px) {
    .kb-row-layout-id181_967eee-36 > .kt-row-column-wrap {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        min-width: 722px;
        max-width: 722px;
    }
}

.kb-row-layout-id181_894a9d-02 > .kt-row-column-wrap
Specificity: (0,2,0)
{
    padding-top: unset;
}

.kb-row-layout-id181_967eee-36 > .kt-row-column-wrap {
    max-width: unset;
}

.kb-row-layout-id181_d13e11-de > .kt-row-column-wrap {
    padding: 24px 124px;
}

.contents01-btn.right
Specificity: (0,2,0)
{
    border: unset;
}

.wp-block-buttons>.wp-block-button.wp-block-button__width-75 {
    border: unset;
    width: 0 !important;
}

.wp-block-buttons{
    margin-top: auto;        /* ← これで“下寄せ” */
    align-self: center;      /* 横中央（is-content-justification-centerとも相性◎） */
}
.stk-block-columns.stk-block-columns--has-single-block-polyfill, body:not(.wp-admin) .stk-block-columns:has(>.stk-block-content>.stk-block-column:first-child:last-child) {
    margin-top: 60px;
    margin-bottom: -30px !important;
}

.kadence-column181_f24db7-3b > .kt-inside-inner-col {
    margin-top: 10px;
}

.kb-row-layout-id181_a8986d-67 > .kt-row-column-wrap
Specificity: (0,2,0)
{
    padding-left: 18px !important;
}


.wp-block-kadence-advancedheading.kt-adv-heading181_fa29e0-36, .wp-block-kadence-advancedheading.kt-adv-heading181_fa29e0-36[data-kb-block="kb-adv-heading181_fa29e0-36"] {
    height: 138px !important;
}
.wp-block-kadence-advancedheading.kt-adv-heading181_3c85e5-16, .wp-block-kadence-advancedheading.kt-adv-heading181_3c85e5-16[data-kb-block="kb-adv-heading181_3c85e5-16"] {
    height: 138px !important;
}
.wp-block-kadence-advancedheading.kt-adv-heading181_d1a126-43, .wp-block-kadence-advancedheading.kt-adv-heading181_d1a126-43[data-kb-block="kb-adv-heading181_d1a126-43"] {
    height: 138px !important;
}

.kb-row-layout-id181_bbdc45-23 > .kt-row-column-wrap {
    align-items: center;
}

.wp-block-cover .wp-block-cover__image-background, .wp-block-cover video.wp-block-cover__video-background, .wp-block-cover-image .wp-block-cover__image-background, .wp-block-cover-image video.wp-block-cover__video-background {

}

.kb-row-layout-id181_715369-82 > .kt-row-column-wrap {
    height: 550px;
}

.kb-row-layout-id181_28bd9c-03 > .kt-row-column-wrap {
    padding: 0 126px !important;
}

.kb-row-layout-id181_370936-9f > .kt-row-column-wrap {
    padding: 0 80px;
}

.wp-block-kadence-image kb-image181_fba0a0-88 {
    padding-top: 3px !important;
}


.kb-row-layout-id181_42fc73-0f > .kt-row-column-wrap {
    grid-template-columns: minmax(0, calc(3% - ((var(--global-kb-gap-none, 0rem) * 1) / 2))) minmax(0, calc(97% - ((var(--global-kb-gap-none, 0rem) * 1) / 2))) !important;
}
.kb-row-layout-id181_59d927-45 > .kt-row-column-wrap {
    grid-template-columns: minmax(0, calc(3% - ((var(--global-kb-gap-none, 0rem) * 1) / 2))) minmax(0, calc(97% - ((var(--global-kb-gap-none, 0rem) * 1) / 2))) !important;
}

.kb-row-layout-id181_e300db-38 > .kt-row-column-wrap {
    grid-template-columns: minmax(0, calc(3% - ((var(--global-kb-gap-none, 0rem) * 1) / 2))) minmax(0, calc(97% - ((var(--global-kb-gap-none, 0rem) * 1) / 2))) !important;
}
.kb-row-layout-id181_925131-5c > .kt-row-column-wrap {
    grid-template-columns: minmax(0, calc(3% - ((var(--global-kb-gap-none, 0rem) * 1) / 2))) minmax(0, calc(97% - ((var(--global-kb-gap-none, 0rem) * 1) / 2))) !important;
}
.kb-row-layout-id181_6a9836-be > .kt-row-column-wrap {
    grid-template-columns: minmax(0, calc(3% - ((var(--global-kb-gap-none, 0rem) * 1) / 2))) minmax(0, calc(97% - ((var(--global-kb-gap-none, 0rem) * 1) / 2))) !important;
}
.kb-row-layout-id181_7fa20d-4a > .kt-row-column-wrap {=
grid-template-columns: minmax(0, calc(3% - ((var(--global-kb-gap-none, 0rem) * 1) / 2))) minmax(0, calc(97% - ((var(--global-kb-gap-none, 0rem) * 1) / 2))) !important;
}
.kb-row-layout-id181_9bf9c6-50 > .kt-row-column-wrap {
    grid-template-columns: minmax(0, calc(3% - ((var(--global-kb-gap-none, 0rem) * 1) / 2))) minmax(0, calc(97% - ((var(--global-kb-gap-none, 0rem) * 1) / 2))) !important;
}
.kb-row-layout-id181_b60610-1c > .kt-row-column-wrap {
    grid-template-columns: minmax(0, calc(3% - ((var(--global-kb-gap-none, 0rem) * 1) / 2))) minmax(0, calc(97% - ((var(--global-kb-gap-none, 0rem) * 1) / 2))) !important;
}
.kb-row-layout-id181_206c10-f7 > .kt-row-column-wrap {
    grid-template-columns: minmax(0, calc(3% - ((var(--global-kb-gap-none, 0rem) * 1) / 2))) minmax(0, calc(97% - ((var(--global-kb-gap-none, 0rem) * 1) / 2))) !important;
}
.kb-row-layout-id181_f9d9e2-8d > .kt-row-column-wrap {
    grid-template-columns: minmax(0, calc(3% - ((var(--global-kb-gap-none, 0rem) * 1) / 2))) minmax(0, calc(97% - ((var(--global-kb-gap-none, 0rem) * 1) / 2))) !important;
}
.kb-row-layout-id181_7fa20d-4a > .kt-row-column-wrap {
    grid-template-columns: minmax(0, calc(3% - ((var(--global-kb-gap-none, 0rem) * 1) / 2))) minmax(0, calc(97% - ((var(--global-kb-gap-none, 0rem) * 1) / 2))) !important;
}


.kb-row-layout-id181_370936-9f > .kt-row-column-wrap {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif !important;
}
.wp-block-kadence-advancedheading.kt-adv-heading181_47f1e5-d8, .wp-block-kadence-advancedheading.kt-adv-heading181_47f1e5-d8[data-kb-block="kb-adv-heading181_47f1e5-d8"] {
    font-weight: 600;
}


.kb-row-layout-id181_370936-9f .wp-block-kadence-column .wp-block-kadence-advancedheading {
    font-size: 20px;
    font-weight: 600;
}


.kadence-column181_ff6f8d-27 > .kt-inside-inner-col {
    min-width: 740px !important;
}


.kb-row-layout-id181_87bd0f-02 > .kt-row-column-wrap {
    min-width: 781px !important;
    padding-left: 114px !important;
}

.wp-block-kadence-advancedheading.kt-adv-heading181_36e9be-04, .wp-block-kadence-advancedheading.kt-adv-heading181_36e9be-04[data-kb-block="kb-adv-heading181_36e9be-04"] {

}


/* 左だけフルブリード背景 */
.isa-bleed-left{
    position: relative;
    isolation: isolate;                  /* 擬似要素を背面へ */
    --bleed-bg: #F8F9FA;                 /* 好きな背景色（画像でもOK） */
    background: transparent !important;  /* 既存の色は消す場合 */
}
.isa-bleed-left::before{
    content:"";
    position: absolute;
    inset: 0;                            /* カラムと同じ高さで貼る */
    z-index: -1;
    background: var(--bleed-bg);         /* 画像なら background: url(...) center/cover no-repeat; */
    /* ここが“左だけ”延長のコア */
    box-shadow: -100vmax 0 0 var(--bleed-bg);
    clip-path: inset(0 0 0 -100vmax);    /* 横スクロール防止の切り落とし */
}

/* 右だけ延長したいときのバリエーション */
.isa-bleed-right{ position: relative; isolation: isolate; --bleed-bg:#F8F9FA; }
.isa-bleed-right::before{
    content:""; position:absolute; inset:0; z-index:-1; background:var(--bleed-bg);
    box-shadow: 100vmax 0 0 var(--bleed-bg);
    clip-path: inset(0 -100vmax 0 0);
}

.footer-rail {
    --isa-blue: #0b8bc7;
    --isa-orange: #f6a974;
    --line-w: 2px;
    --line-inset-y: 38px;
    --edge-inset-x: clamp(48px, 12vw, 160px); /* 左右線を少し内側に */
    --maxw: 1100px;

    position: relative;
}

.footer-rail__inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 28px 127px 40px;
    color: var(--isa-blue);
}

/* === 縦線4本（左右＋中央2本） === */
.footer-rail__line {
    position: absolute;
    top: var(--line-inset-y);
    bottom: var(--line-inset-y);
    width: var(--line-w);
    background: var(--isa-blue);
}

/* 左右の線 */
.footer-rail__line--left  { left:  var(--edge-inset-x); }
.footer-rail__line--right { right: var(--edge-inset-x); }

/* 中央の2本：左右線の間を3等分して配置 */
.footer-rail__line--center1 {
    left: calc(var(--edge-inset-x) + (100% - var(--edge-inset-x)*2) / 3);
}
.footer-rail__line--center2 {
    left: calc(var(--edge-inset-x) + (100% - var(--edge-inset-x)*2) / 3 * 2);
}

/* === リンクアイテム === */
.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: 18px 30px;
    z-index: 1; /* 線より上に表示 */
    border-left: 2px solid var(--isa-blue);
}
.footer-rail__item:last-of-type {
    border-right: 2px solid var(--isa-blue);
}

.footer-rail__logo  { height: 30px; width: auto; display: block; }
.footer-rail__label { font-weight: 700; font-size: min(1.94vw,28px); }

/* === ホバー時オレンジ下線 === */
.footer-rail__item::after {
    content: "";
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 0px;
    height: 3px;
    background: var(--isa-orange);
    /* border-radius: 3px; */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s
    ease;
}
.footer-rail__item:hover::after,
.footer-rail__item:focus-visible::after {
    transform: scaleX(1);
}


.wp-duotone-varpresetduotonedefault-1.wp-block-cover > .wp-block-cover__image-background, .wp-duotone-varpresetduotonedefault-1.wp-block-cover > .wp-block-cover__video-background
Specificity: (0,3,0)
{
    height: 110vw !important;
}

.wp-block-kadence-rowlayout.isa-recommendation > .kt-row-column-wrap{
    grid-template-columns:
    minmax(0, calc(5%  - ((var(--global-kb-gap-none, 0rem) * 1) / 2)))
    minmax(0, calc(95% - ((var(--global-kb-gap-none, 0rem) * 1) / 2))) !important;
}

.large-cource-cover img {
    object-position: right center;
}

.kb-row-layout-id2802_e11d79-cc > .kt-row-column-wrap {
    display: flex;
    justify-content: space-between;
    margin: 0 40px;
}

.kb-row-layout-id2802_e11d79-cc > .kt-row-column-wrap
{
    margin-left: 100px !important;
    margin-right: 100px!important;
}