@charset "UTF-8";
/*
    Theme Name:   SWELL CHILD
    Template:     swell
    Description:  SWELLの子テーマ（子テーマに追加CSSを統合）
    Version:      1.0.4
    Author:       LOOS WEB STUDIO
    License:      GNU General Public License
    License URI:  http://www.gnu.org/licenses/gpl.html
*/

/* 親テーマ読み込み */
@import url("../swell/style.css");

.top #content {
    padding-top: 2em; 
}

/* ==========================================
   1. パンくずリスト
   （ヘッダーのグローバルナビと同じピル型チップで統一:
     白チップ / ホバー=ティール / 現在ページ=ピンク）
========================================== */
.p-breadcrumb__list {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* overflow-y:hidden でチップの枠線が欠けないよう逃げ幅を持たせる */
    padding: 3px 2px;
}
.p-breadcrumb__list::-webkit-scrollbar {
    display: none;
}

/* パンくずリストの見た目を変更 */
.p-breadcrumb,
div#breadcrumb.p-breadcrumb,
div#breadcrumb.p-breadcrumb.-bg-on {
    padding: 8px 0;
    margin-bottom: 20px;
    /* チップを背景パターンの上に直接置くため帯背景は敷かない
       (-bg-onのinset影が薄ガラス風の帯に見えるため影も消す) */
    background: transparent;
    box-shadow: none;
}

/* 各項目: 白のピル型チップ */
.p-breadcrumb__text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1.5px solid #efe9e0;
    color: #40404a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    transition: background-color .15s, color .15s, border-color .15s;
}

.p-breadcrumb a,
.p-breadcrumb a:hover {
    text-decoration: none;
}

/* リンク項目のホバー: ヘッダーナビと同じティールのピルに */
.p-breadcrumb a:hover .p-breadcrumb__text {
    background: #e3f7f4;
    border-color: #e3f7f4;
    color: #27a99a;
    opacity: 1;
}

/* SWELL本体は記事ページでパンくず末尾の記事タイトルを非表示にするため、再表示する */
.single .p-breadcrumb__item:last-child > span.p-breadcrumb__text {
    display: inline-flex !important;
}

/* 現在ページ: ヘッダーナビのカレント表示と同じピンクのピル */
.p-breadcrumb__item:last-child .p-breadcrumb__text {
    background: #fdecf3;
    border-color: #fdecf3;
    color: #eb5e96;
    font-weight: bold !important;
    opacity: 1 !important;
}

/* 現在ページ（リンク化済み）のホバーはピンクを一段濃く */
.p-breadcrumb__item:last-child a:hover .p-breadcrumb__text {
    background: #fbdcea;
    border-color: #fbdcea;
    color: #d8437e;
}

/* 区切り記号はやわらかいグレーで控えめに */
.p-breadcrumb__list li::after,
.p-breadcrumb__item::after {
    color: #b9b3ab;
    font-weight: normal !important;
}


/* ==========================================
   2. ヘッダー
========================================== */
.header_magazine {
    text-decoration: none;
    padding-right: 15px;
    font-size: 20px;
    color: #00bcd1;
    font-family: "Poiret One", sans-serif;
    font-weight: 400;
}
/* タブレット以下で非表示 */
@media (max-width: 1024px) {
    .header_magazine {
        display: none;
    }
}


/* ==========================================
   3. メインビジュアル
========================================== */
.p-mainVisual__slideTitle {
    font-weight: 600;
    font-size: 80px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
    font-family: "Kdam Thmor Pro", sans-serif;
}
.p-mainVisual__slideText {
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
    font-size: 22px;
    font-weight: 600;
}
.c-mvBtn__btn {
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
}
/* モバイル調整 */
@media (max-width: 864px) {
    .p-mainVisual__slideTitle { font-size: 30px; }
    .p-mainVisual__slideText { font-size: 16px; }
    .c-mvBtn__btn { font-size: 14px; }
}


/* ==========================================
   4. PR表示
========================================== */
.c-prNotation[data-style=small] {
    color: #fff;
    background-color: #CC3211;
    font-weight: 800;
    font-size: 12px;
    padding: 0 8px;
    border-radius: 13px;
}


/* ==========================================
   5. 記事コンテンツ見出し
========================================== */
.post_content h3 { font-size: 22px; }
.post_content h4 { font-size: 20px; }


/* ==========================================
   6. CTAボックス（シンプル版）
========================================== */
.cta {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    max-width: 800px;
}

/* タイトル */
.cta-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* 画像 + おすすめエリア */
.cta .first {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.cta .first img {
    width: 200px;
    height: auto;
    border-radius: 8px;
}

.cta .first .text p {
    background: #12d7db;
    color: #ffffff;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 1rem;
    text-align: center;
    border-radius: 6px;
}

.cta .first .text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cta .first .text ul li {
    padding: 0.5rem 0;
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

/* テーブル */
.cta table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.cta table th {
    background: #12d7db;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    padding: 1rem;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.cta table td {
    background: #ffffff;
    color: #2d3748;
    padding: 1rem;
    font-size: 14px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

/* 特徴エリア */
.cta .feature {
    margin: 2rem 0;
}

.cta .feature p {
    background: #12d7db;
    color: #ffffff;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 1rem;
    text-align: center;
    border-radius: 6px;
}

.cta .feature ul {
    list-style: none;
    margin: 0;
    margin-top: 0;
    padding: 1rem;
    border-radius: 6px;
}

.cta .feature ul li {
    padding: 0.5rem 0;
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

/* ボタンエリア */
.cta > .closing-copy {
    text-align: center;
    margin: 2rem 0 1rem;
}

.cta > .closing-copy center {
    font-size: 20px;
    font-weight: 700;
    color: #12d7db;
    margin: 0;
}

.cta > .cv-btn,
.cta > .article-btn {
    display: flex !important;
    justify-content: center !important;
}

.cta > .cv-btn a,
.cta > .article-btn a {
    display: block !important;
    padding: 1rem 2rem !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    width: 100% !important;
    text-align: center !important;
    color: #ffffff !important;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .cta {
        padding: 1.5rem;
    }
    
    .cta-title {
        font-size: 20px;
    }
    
    .cta .first {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .cta .first img {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .cta table th,
    .cta table td {
        font-size: 12px;
        padding: 0.75rem;
    }
    
    .cta > .cv-btn a,
    .cta > .article-btn a {
        padding: 0.875rem 1.5rem;
    }
}


/* ==========================================
   7. ショートコード CTA/feature（CTAボックス外で使用）
========================================== */
/* CTA外の .first（シンプル版） */
body:not(.cta) .first,
div:not(.cta) > .first {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

body:not(.cta) .first img,
div:not(.cta) > .first img {
    max-width: 100%;
    height: auto;
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
}

body:not(.cta) .first .text,
div:not(.cta) > .first .text {
    width: 100%;
    max-width: 500px;
    text-align: center;
}

body:not(.cta) .first .text p,
div:not(.cta) > .first .text p,
body:not(.cta) .feature p,
div:not(.cta) > .feature p {
    background: #12d7db;
    color: #ffffff;
    padding: 0.75rem 1rem;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 1rem;
    text-align: center;
    border-radius: 6px;
}

body:not(.cta) .first .text ul,
div:not(.cta) > .first .text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

body:not(.cta) .first .text ul li,
div:not(.cta) > .first .text ul li {
    padding: 0.5rem 0;
    font-size: 14px;
    color: #475569;
    margin-bottom: 0.5rem;
}

/* feature（シンプル版 - CTA外） */
body:not(.cta) .feature,
div:not(.cta) > .feature {
    margin: 0 auto 1.5rem;
}

body:not(.cta) .feature ul,
div:not(.cta) > .feature ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

body:not(.cta) .feature ul li,
div:not(.cta) > .feature ul li {
    padding: 0.5rem 0;
    font-size: 14px;
    color: #475569;
    margin-bottom: 0.5rem;
}

/* スマホ調整（シンプル版 - CTA外） */
@media (max-width: 768px) {
    body:not(.cta) .first,
    div:not(.cta) > .first {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    body:not(.cta) .first img,
    div:not(.cta) > .first img {
        max-width: 300px;
    }
}


/* ==========================================
   8. ボタン（モダンデザイン）
========================================== */
.cv-btn,
.article-btn {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 1.5rem;
    text-align: center;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    z-index: 2;
}

.cv-btn {
    background: linear-gradient(135deg, #12d7db 0%, #0fb8c0 100%);
    box-shadow: 0 4px 16px rgba(18, 215, 219, 0.3);
    position: relative;
    overflow: hidden;
}

.article-btn {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    box-shadow: 0 4px 16px rgba(26, 32, 44, 0.3);
    position: relative;
    overflow: hidden;
}

.cv-btn::before,
.article-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cv-btn:hover,
.article-btn:hover {
    transform: translateY(-3px);
}

.cv-btn:hover {
    box-shadow: 0 8px 24px rgba(18, 215, 219, 0.4);
}

.article-btn:hover {
    box-shadow: 0 8px 24px rgba(26, 32, 44, 0.4);
}

.cv-btn:hover::before,
.article-btn:hover::before {
    left: 100%;
}

.cv-btn a,
.article-btn a {
    display: block;
    text-decoration: none;
    color: #ffffff;
    padding: 1.25rem 2rem;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.cv-btn a span,
.article-btn a span {
    display: block;
    position: relative;
}


/* スマホ調整（モダンデザイン） */
@media (max-width: 768px) {
    .cv-btn,
    .article-btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .cv-btn a,
    .article-btn a {
        padding: 1rem 1.5rem;
        font-size: 15px;
    }
}



/* ==========================================
   9. YES/NO チャート
========================================== */
.yn-chart {
    border-radius: 12px;
    background-color: #fffdf4; /* もう少し温かみをもたせる */
    border: 1px solid #fdc44f;
    padding: 2em 1.5em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    font-size: 0.95rem;
    max-width: 640px;
    margin: 0 auto 2rem;
    box-sizing: border-box;
}

.yn-chart__add {
    display: inline-block;
    font-weight: bold;
    font-size: 0.85em;
    margin-bottom: 0.6em;
    padding: 0.3em 1em;
    background-color: #fdc44f;
    color: #fff;
    border-radius: 16px;
}

.yn-chart__title {
    text-align: center;
    font-size: 1.6em;
    font-weight: 700;
    margin-bottom: 0.4em;
    color: #f5a623;
}

.yn-chart__ex {
    text-align: center;
    font-size: 0.9em;
    color: #555;
    margin-bottom: 1.5em;
}

/* ステップ表示制御 */
.yn-chart > div {
    display: none;
    padding-top: 0;
    margin-top: 0;
}
.yn-chart > div.yn-chart__display,
.yn-chart > div:target {
    display: block;
}

/* リスト＆ボタン */
.yn-chart ul {
    list-style: none;
    margin: 1.5em 0 0;
    padding: 0;
}
.yn-chart ul li {
    margin-bottom: 1em;
}
.yn-chart ul li:last-child {
    margin-bottom: 0;
}
.yn-chart ul li a {
    display: block;
    padding: 1em;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    color: #333;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}
.yn-chart ul li a:hover {
    background-color: #fff3d5;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* 結果エリア */
.yn-chart__result {
    background: #fff;
    padding: 1em;
    border-radius: 8px;
}
.yn-chart__result-title {
    color: #fdc44f;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 1em;
    border-bottom: 1px dashed #fdc44f;
}

/* モバイル調整 */
@media (max-width: 800px) {
    .yn-chart {
        padding: 1.5em 1em;
        font-size: 0.9rem;
    }
    .yn-chart__title {
        font-size: 1.2em;
    }
    .yn-chart__add, .yn-chart__ex {
        font-size: 0.85em;
    }
}

/* ▼ 診断結果ボタンの訴求スタイル強化 */
.yn-chart__result .p-check-btn--red a {
    display: block;
    background-color: #ff914d;
    color: #fff !important;
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    padding: 1em 1.5em;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(255,145,77,0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    margin-bottom: 1em;
}
.yn-chart__result .p-check-btn--red a:hover {
    background-color: #ff7a26;
    box-shadow: 0 5px 15px rgba(255,122,38,0.4);
    transform: scale(1.03);
}

.yn-chart__result .p-check-btn:last-of-type a {
    display: inline-block;
    margin-top: 0.8em;
    font-size: 0.9em;
    color: #0a8bce !important;
    text-decoration: underline;
}


/* ==========================================
   10. WiMAXチャート専用 (#wimax-chart)
========================================== */
#wimax-chart .step,
#wimax-chart .result { display: none!important; }
#wimax-chart .is-show,
#wimax-chart .step[data-step="1"] { display: block!important; }


/* ==========================================
   11. カスタマイザー追加CSS（新規パーツ）
========================================== */
/* ウィジェットタイトル */
.c-widget__title {
    font-size: 20px;
}
/* キャッチフレーズ */
.l-header__inner .c-catchphrase {
    font-weight: bold;
    line-height: 1.8;
}
/* フレーム */
.-frame-on .l-mainContent,
.-frame-on-sidebar #sidebar .c-widget {
    border-radius: 15px;
}
/* =========================
   更新ポストリスト 全体
========================= */
.updated-posts-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.updated-post {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #aaaaaa;
    flex-wrap: nowrap;
}

.scrollable-div {
 width: 100%; /* 幅 */
 height: 400px; /* 高さ */
 overflow: auto; /* コンテンツが領域を超える場合、スクロールバーを表示 */
 border-radius:15px;
}

.scrollable-div ul {
 margin:20px;
}

/* =========================
   メタ情報（日付・カテゴリ）
========================= */
.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
    white-space: nowrap;
}
.post-date {
    font-size: 14px;
    color: #181a1a;
    text-align: center;
    min-width: 80px;
}
.post-category {
    background-color: #12d7db;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    min-width: 130px;
    padding: 0 5px;
    border-radius: 5px;
    text-decoration: none;
}

/* =========================
   タイトル部分
========================= */
.post-title {
    flex-grow: 1;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.6;
    min-width: 0;
}
.post-title a {
    text-decoration: none;
    color: #181a1a;
}
.post-title a:hover {
    color: #39e4e9;
    text-decoration: underline;
}

/* =========================
   PC表示
========================= */
@media (min-width: 769px) {
    .updated-post {
        flex-wrap: nowrap;
    }
    .post-title {
        line-height: 1.5;
    }
}

/* =========================
   スマホ表示（最小パッチ）
========================= */
@media (max-width: 768px) {
    .updated-post {
        flex-wrap: wrap;              /* 2行構成に */
        gap: 8px;                     /* 間隔を少し狭める */
        align-items: flex-start;      /* 上揃え */
    }
    .post-meta {
        min-width: auto;              /* 220px固定を解除 */
        white-space: nowrap;          /* 日付＋カテゴリは1行に収める */
    }
    .post-date {
        font-size: 12px;
        min-width: 60px;
        color: #888;
    }
    .post-category {
        min-width: auto;              /* 120px固定を解除 */
    }
    .post-title {
        flex: 1 1 100%;               /* タイトルは2行目で全幅 */
        min-width: 0;
        font-size: 12px;
        color: #333;
        line-height: 1.6;
    }
    .post-title a {
        display: block;
        overflow-wrap: anywhere;      /* 長い単語も折り返す */
        word-break: break-word;
    }
}



/* ==========================================
   12. コンテナ・フッター
========================================== */
.p-container {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
    padding: 0 4.27vw;
}
@media (min-width: 768px) {
    .p-container { padding: 0 40px; }
}
.l-footer,
.l-footer a {
    color: #fff;
    text-decoration: none;
}
.l-footer {
    background-color: #181a1a;
}
.l-footer__container {
    position: relative;
    /* all-connect由来のclamp(50px,7.5vw,90px)は間延びするため縮小(2026-07-16) */
    padding: clamp(28px, 4vw, 44px) 0 36px;
}
@media (min-width: 992px) {
    .l-footer__container {
        display: grid;
        grid-template-columns: 240px 1fr;
        gap: 54px 50px;
    }
}
@media (min-width: 1200px) {
    .l-footer__container { grid-template-columns: 300px 1fr; gap: 54px 100px; }
}
/* ナビゲーション等の細かいレイアウトはそのまま引き継ぎ */

/* ——————————————————————————
   都道府県別 口コミマップ(タイル型日本地図)
   TOP・/reviews/・将来の県×回線記事(ショートコード)で共通使用
—————————————————————————— */
/* 小さい画面ではわずかに横パンできるようにして、列島の形を潰さない */
.wh-prefMap__wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.wh-prefMap {
    display: grid;
    grid-template-columns: repeat(17, 1fr);
    grid-template-rows: repeat(17, 1fr);
    aspect-ratio: 1 / 1; /* 空白行(海峡・海)も高さを保って列島の形を出す */
    gap: 3px;
    min-width: 470px;
    max-width: 660px;
    margin: 0 auto;
}

.wh-prefMap__tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 0;
    border: none;
    border-radius: 7px;
    background: #f0ede8;
    color: #a5a2a0;
    font-family: inherit;
    font-weight: 700;
    line-height: 1.1;
    cursor: pointer;
    transition: transform 0.12s;
}

.wh-prefMap__tile:hover {
    transform: scale(1.12);
    z-index: 2;
}

.wh-prefMap__tile.has-data.lv1 {
    background: #d9f3ef;
    color: #1d7f74;
}

.wh-prefMap__tile.has-data.lv2 {
    background: #9fe2d8;
    color: #14655c;
}

.wh-prefMap__tile.has-data.lv3 {
    background: #3bc3b3;
    color: #fff;
}

.wh-prefMap__name {
    font-size: 9.5px;
}

.wh-prefMap__avg {
    font-size: 9px;
}

/* 吹き出し(hover/フォーカスで表示。端の列は寄せて画面外に出さない) */
.wh-prefMap__tile::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: 8px;
    background: #40404a;
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
}

.wh-prefMap__tile.t-right::after {
    left: auto;
    right: 0;
    transform: none;
}

.wh-prefMap__tile.t-left::after {
    left: 0;
    transform: none;
}

/* 最上段(北海道)は吹き出しを下向きに出す */
.wh-prefMap__tile.t-top::after {
    bottom: auto;
    top: calc(100% + 6px);
}

/* 2×2の大タイル(北海道)は文字も大きく */
.wh-prefMap__tile.t-big .wh-prefMap__name {
    font-size: 13px;
}

.wh-prefMap__tile.t-big .wh-prefMap__avg {
    font-size: 12px;
}

.wh-prefMap__tile:hover::after,
.wh-prefMap__tile:focus::after {
    opacity: 1;
}

.wh-prefMap__legend {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 14px 0 0;
    font-size: 12px;
    font-weight: 700;
    color: #8a8a96;
}

.wh-prefMap__key::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 4px;
    margin-right: 6px;
    vertical-align: -1px;
}

.wh-prefMap__key--none::before {
    background: #f0ede8;
}

.wh-prefMap__key--has::before {
    background: #3bc3b3;
}

.wh-prefMap__cta {
    margin: 8px 0 0;
    text-align: center;
    font-size: 12.5px;
    font-weight: 700;
    color: #8a8a96;
}

@media (max-width: 599px) {
    .wh-prefMap {
        gap: 2px;
        min-width: 440px;
    }

    .wh-prefMap__tile {
        border-radius: 5px;
    }

    .wh-prefMap__name {
        font-size: 7.5px;
    }

    .wh-prefMap__avg {
        font-size: 7px;
    }

    .wh-prefMap__legend {
        gap: 12px;
        font-size: 11px;
    }
}

/* /reviews/ 内のマップセクション */
.wh-kuchikomi__map {
    margin-bottom: 40px;
}

/* ——————————————————————————
   キャラ吹き出し(記事用 [hikari_talk])
—————————————————————————— */
.wh-talk {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 0;
}

.wh-talk--right {
    flex-direction: row-reverse;
}

.wh-talk__side {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 64px;
}

.wh-talk__img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #efe9e0;
}

.wh-talk__emoji {
    font-size: 40px;
    line-height: 1;
}

.wh-talk__name {
    font-size: 10.5px;
    font-weight: 700;
    color: #8a8a96;
}

.wh-talk__bubble {
    position: relative;
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    background: #fff;
    border: 2px solid #3bc3b3;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.8;
}

.wh-talk__bubble::before {
    content: "";
    position: absolute;
    top: 22px;
    left: -9px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-left: 2px solid #3bc3b3;
    border-bottom: 2px solid #3bc3b3;
    transform: rotate(45deg);
}

.wh-talk--right .wh-talk__bubble {
    border-color: #eb5e96;
}

.wh-talk--right .wh-talk__bubble::before {
    left: auto;
    right: -9px;
    border-left: none;
    border-bottom: none;
    border-right: 2px solid #eb5e96;
    border-top: 2px solid #eb5e96;
}

.wh-talk__bubble p:first-child {
    margin-top: 0;
}

.wh-talk__bubble p:last-child {
    margin-bottom: 0;
}

/* ——————————————————————————
   ヘッダーロゴのサイズ調整
   SWELLカスタマイザー変数の上書き(子テーマCSSが後読みのため:rootで勝つ)
   PC: 120→128px / 追従ヘッダー: 100→106px / SP: 60→84px
—————————————————————————— */
:root {
    --logo_size_pc: 128px;
    --logo_size_pcfix: 106px;
    --logo_size_sp: 84px;
}

/* ——————————————————————————
   Footer：ロゴ・会社情報
—————————————————————————— */
.l-footer__info .info__logo {
    display: block;
    margin-bottom: clamp(32px, 46 / 1200 * 100vw, 46px);
}
.l-footer__info .info__branch {
    font-size: 12px;
    letter-spacing: 0.02em;
}
.l-footer__info .info__branch li {
    margin-bottom: clamp(16px, 23 / 1200 * 100vw, 23px);
}
.l-footer__info .info__branch .office {
    color: #11d7db;
}

/* ——————————————————————————
   Footer：ナビゲーション
—————————————————————————— */
.l-footer__nav .nav__block {
    border-bottom: 1px solid #11d7db;
    padding: clamp(10px, 16 / 1200 * 100vw, 16px) 0;
}
@media (min-width: 992px) {
    .l-footer__nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: clamp(20px, 50 / 1200 * 100vw, 50px);
    }
    .l-footer__nav .nav__block {
        border-bottom: none;
        margin-bottom: 39px;
        padding: 0;
    }
    .l-footer__nav .nav__block .head {
        cursor: default;
    }
    .l-footer__nav .nav__block > ul {
        padding-left: 0;
    }
}
@media (max-width: 992px) {
    .l-footer__nav {
        display: block;
    }
}
.l-footer__nav .nav__block .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #11d7db;
    font-size: 12px;
    letter-spacing: 0.02em;
    cursor: pointer;
}
.l-footer__nav .nav__block > ul {
    padding-left: 0;
    padding-top: clamp(10px, 16 / 1200 * 100vw, 16px);
}

/* フッターナビのリンクパディングを調整して見出しと揃える */
.l-footer__nav a {
    padding-left: 0 !important;
    padding-right: 0.75em;
}

/* ==========================================
   Twitter埋め込み最適化
========================================== */
/* Twitter埋め込みのプレースホルダー */
blockquote.twitter-tweet {
    position: relative;
    min-height: 200px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 2em 0;
    border-left: 4px solid #1da1f2;
}

/* 読み込み中のアニメーション */
blockquote.twitter-tweet:not(.twitter-tweet-loaded)::before {
    content: "Twitter読み込み中...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #666;
    font-size: 14px;
    z-index: 1;
}

blockquote.twitter-tweet:not(.twitter-tweet-loaded)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #1da1f2;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: twitter-loading 1s linear infinite;
    margin-top: 20px;
    z-index: 1;
}

@keyframes twitter-loading {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Twitter埋め込みが読み込まれた後のスタイル */
blockquote.twitter-tweet.twitter-tweet-loaded {
    background: transparent;
    padding: 0;
    min-height: auto;
}

blockquote.twitter-tweet.twitter-tweet-loaded::before,
blockquote.twitter-tweet.twitter-tweet-loaded::after {
    display: none;
}

/* ==========================================
   テーブルスタイル改善
========================================== */
/* 一般的なテーブルの見やすさ向上 */
.wp-block-table table,
.wp-block-table__wrapper table,
.post_content table,
.entry-content table,
.content table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 2em 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* テーブルヘッダー */
.wp-block-table table thead tr th,
.wp-block-table__wrapper table thead tr th,
.post_content table thead tr th,
.entry-content table thead tr th,
.content table thead tr th {
    background: #00bcd1;
    color: #fff;
    padding: 16px 20px;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

/* テーブルセル */
.wp-block-table table td,
.wp-block-table__wrapper table td,
.post_content table td,
.entry-content table td,
.content table td {
    background: #fff;
    color: #333;
    padding: 16px 20px;
    border-bottom: 1px solid #e8e8e8;
    border-right: 1px solid #e8e8e8;
    line-height: 1.5;
}

/* 最後の列の右ボーダーを削除 */
.wp-block-table table td:last-child,
.wp-block-table__wrapper table td:last-child,
.post_content table td:last-child,
.entry-content table td:last-child,
.content table td:last-child {
    border-right: none;
}

/* 最後の行の下ボーダーを削除 */
.wp-block-table table tbody tr:last-child td,
.wp-block-table__wrapper table tbody tr:last-child td,
.post_content table tbody tr:last-child td,
.entry-content table tbody tr:last-child td,
.content table tbody tr:last-child td {
    border-bottom: none;
}

/* ホバー効果 */
.wp-block-table table tbody tr:hover td,
.wp-block-table__wrapper table tbody tr:hover td,
.post_content table tbody tr:hover td,
.entry-content table tbody tr:hover td,
.content table tbody tr:hover td {
    background: #f8f9fa;
    transition: background-color 0.2s ease;
}

/* ストライプ効果（偶数行） */
.wp-block-table table tbody tr:nth-child(even) td,
.wp-block-table__wrapper table tbody tr:nth-child(even) td,
.post_content table tbody tr:nth-child(even) td,
.entry-content table tbody tr:nth-child(even) td,
.content table tbody tr:nth-child(even) td {
    background: #fafafa;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .wp-block-table table,
    .wp-block-table__wrapper table,
    .post_content table,
    .entry-content table,
    .content table {
        font-size: 12px;
        margin: 1.5em 0;
    }
    
    .wp-block-table table thead tr th,
    .wp-block-table__wrapper table thead tr th,
    .post_content table thead tr th,
    .entry-content table thead tr th,
    .content table thead tr th,
    .wp-block-table table td,
    .wp-block-table__wrapper table td,
    .post_content table td,
    .entry-content table td,
    .content table td {
        padding: 12px 16px;
    }
}

/* ——————————————————————————
   Footer：ナビリスト（リンク一覧）
—————————————————————————— */
@media (min-width: 992px) {
    .l-footer .nav-list {
        display: block;
    }
}
.l-footer .nav-list > li {
    margin-bottom: 8px;
}
.l-footer .nav-list__item {
    display: flex;
    align-items: center;
    column-gap: 16px;
    font-size: clamp(12px, 14 / 1200 * 100vw, 14px);
    letter-spacing: 0.02em;
}
.l-footer .nav-list__item.arrow::after {
    content: "→";
    display: inline-block;
    font-size: 12px;
    margin-left: 4px;
}

/* ——————————————————————————
   Footer：SNSエリア
—————————————————————————— */
.l-footer__sns {
    margin-top: 32px;
}
@media (min-width: 992px) {
    .l-footer__sns .sns__inner {
        justify-content: flex-end;
    }
}
.l-footer__sns .sns__inner {
    display: flex;
    align-items: center;
    column-gap: 24px;
}
.l-footer__sns .sns__item {
    font-size: 0;
}
.l-footer__sns .sns__item a {
    display: block;
}

/* ——————————————————————————
   Footer：プライバシーマーク・著作権
—————————————————————————— */
.l-footer__privacymark {
    position: absolute;
    bottom: 45px;
    right: 0;
    width: clamp(70px, 90 / 1200 * 100vw, 90px);
    height: auto;
}
@media (min-width: 992px) {
    .l-footer__privacymark {
        position: static;
    }
    .l-footer__copyright {
        align-self: end;
        margin-top: 0;
        order: 4;
    }
}
.l-footer__copyright {
    margin-top: 32px;
    font-size: 12px;
    color: #908f8f;
    letter-spacing: 0.02em;
}

/* 運営・サイト管理の表記(©の直上に小さく)。
   各項目はinline-blockで途中改行させず、狭い画面では項目単位で折り返す */
.l-footer__copyright .operator {
    margin-bottom: 6px;
    font-size: 11px;
    opacity: 0.85;
}

.l-footer__copyright .operator span {
    display: inline-block;
    margin-right: 1.2em;
}

.l-footer__copyright .operator a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ——————————————————————————
   「わたしのヒカリタイプ診断」FAB(左下固定)
   右下のページTOPボタンと反対側。診断セクション表示中はJSがis-hiddenを付ける
—————————————————————————— */
.wh-fab {
    position: fixed;
    left: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 9000;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 13px 20px;
    border-radius: 999px;
    background: #eb5e96;
    border: 2px solid #fff;
    box-shadow: 0 4px 0 #d8437e, 0 6px 18px rgba(0, 0, 0, 0.18);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: opacity 0.25s, filter 0.15s;
    animation: whFabFloat 3s ease-in-out infinite;
}

.wh-fab:hover {
    color: #fff;
    filter: brightness(1.08);
}

.wh-fab__icon {
    font-size: 18px;
    line-height: 1;
}

/* スクロール中は透かして本文の邪魔をしない(停止250ms後に戻る) */
.wh-fab.is-scrolling {
    opacity: 0.3;
}

/* 診断セクション表示中は完全に隠す(is-scrollingより後に定義して優先) */
.wh-fab.is-hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes whFabFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}

@media (max-width: 599px) {
    .wh-fab {
        left: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        padding: 12px 16px;
        font-size: 12.5px;
    }

    .wh-fab__icon {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wh-fab {
        animation: none;
    }
}

/* ——————————————————————————
   回線別の口コミ(記事末尾)
—————————————————————————— */
.wh-review {
    margin-top: 48px;
    padding: 24px 22px;
    border: 2px solid #efe9e0;
    border-radius: 16px;
    background: #fffdf8;
}

.wh-review__ttl {
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    font-size: 20px;
    font-weight: 700;
}

.wh-review__summary {
    margin: 0 0 16px;
    font-size: 14px;
}

.wh-review__avgStars,
.wh-review__stars {
    color: #f5a623;
    letter-spacing: 2px;
}

/* 口コミはカード型の横スクロールカルーセルで表示(記事内・/reviews/共通) */
.wh-review__list {
    list-style: none;
    margin: 0 0 6px;
    padding: 4px 2px 12px;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.wh-review__item {
    flex: 0 0 min(300px, 82vw);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 16px;
    border-radius: 14px;
    background: #fff;
    border: 2px solid #efe9e0;
}

.wh-review__hint {
    margin: 0 0 14px;
    text-align: center;
    font-size: 11.5px;
    font-weight: 700;
    color: #8a8a96;
}

.wh-review__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 13px;
}

.wh-review__name {
    font-weight: 700;
}

.wh-review__attrs {
    font-size: 12px;
    color: #8a8a96;
}

/* 編集部レビューの明示バッジ(ステマ規制対応: 運営による評価コメントであることを表示) */
.wh-review__edBadge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: #3bc3b3;
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
}

.wh-review__body {
    margin: 0;
    flex: 1;
    font-size: 13.5px;
    line-height: 1.85;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wh-review__empty {
    margin: 0 0 16px;
    font-size: 14px;
    color: #8a8a96;
}

/* 投稿フォーム */
.wh-review__formWrap {
    border-top: 1px dashed #e0d8cc;
    padding-top: 16px;
}

.wh-review__formToggle {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 10px 26px;
    border-radius: 999px;
    background: #eb5e96;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    box-shadow: 0 3px 0 #d8437e;
}

.wh-review__formToggle::-webkit-details-marker {
    display: none;
}

.wh-review__form {
    margin-top: 18px;
}

.wh-review__field {
    margin: 0 0 14px;
}

.wh-review__field > label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
}

.wh-review__req {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    border-radius: 999px;
    background: #eb5e96;
    color: #fff;
    font-size: 10.5px;
}

.wh-review__form textarea,
.wh-review__form input[type="text"],
.wh-review__form input[type="number"],
.wh-review__form select {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #ddd5c8;
    border-radius: 10px;
    font-size: 14px;
    background: #fff;
}

.wh-review__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 16px;
}

/* 星の選択(右から左に並べてhover/checkedで左側を塗る) */
.wh-review__starPick {
    display: inline-flex;
    flex-direction: row-reverse;
    font-size: 30px;
    line-height: 1;
}

.wh-review__starPick input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.wh-review__starPick label {
    color: #ddd5c8;
    cursor: pointer;
    padding: 0 2px;
}

.wh-review__starPick input:checked ~ label,
.wh-review__starPick label:hover,
.wh-review__starPick label:hover ~ label {
    color: #f5a623;
}

.wh-review__note {
    margin: 4px 0 12px;
    font-size: 12px;
    color: #8a8a96;
    line-height: 1.7;
}

.wh-review__submitWrap {
    margin: 0;
    text-align: center;
}

.wh-review__submit {
    padding: 12px 36px;
    border: none;
    border-radius: 999px;
    background: #3bc3b3;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 0 #27a99a;
}

.wh-review__submit:disabled {
    opacity: 0.6;
    cursor: default;
}

.wh-review__msg {
    margin: 10px 0 0;
    text-align: center;
    font-size: 13.5px;
    font-weight: 700;
    color: #27a99a;
}

.wh-review__allLink {
    margin: 0 0 16px;
    text-align: right;
    font-size: 13px;
    font-weight: 700;
}

.wh-review__allLink a {
    color: #27a99a;
}

@media (max-width: 599px) {
    .wh-review {
        padding: 18px 14px;
    }

    .wh-review__grid {
        grid-template-columns: 1fr;
    }
}

/* ——————————————————————————
   みんなの口コミ一覧ページ(/reviews/)
—————————————————————————— */
.wh-kuchikomi__head {
    margin-bottom: 28px;
}

.wh-kuchikomi__ttl {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 700;
}

.wh-kuchikomi__lead {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.9;
    color: #555;
}

.wh-kuchikomi__summary {
    list-style: none;
    margin: 0 0 36px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.wh-kuchikomi__summary li {
    margin: 0;
}

.wh-kuchikomi__sumCard {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border: 2px solid #efe9e0;
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    transition: border-color .15s, transform .15s;
}

.wh-kuchikomi__sumCard:hover {
    border-color: #3bc3b3;
    transform: translateY(-2px);
}

.wh-kuchikomi__sumName {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    font-weight: 700;
    color: #333;
}

.wh-kuchikomi__sumStars {
    font-size: 12.5px;
    font-weight: 700;
    color: #f5a623;
}

.wh-kuchikomi__sumCount {
    font-size: 12px;
    font-weight: 700;
    color: #8a8a96;
}

.wh-kuchikomi__sumCount--none {
    color: #eb5e96;
}

/* 一覧ページ内の投稿ボックス */
.wh-kuchikomi__post {
    margin: 0 0 40px;
}

.wh-kuchikomi__post .wh-kuchikomi__lineTtl {
    margin-bottom: 8px;
}

.wh-kuchikomi__postLead {
    margin: 0 0 14px;
    font-size: 13.5px;
    color: #555;
}

.wh-kuchikomi__line {
    margin-bottom: 40px;
}

.wh-kuchikomi__lineTtl {
    margin: 0 0 14px;
    font-size: 19px;
    font-weight: 700;
}

.wh-kuchikomi__lineMeta {
    margin-left: 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: #f5a623;
}

.wh-kuchikomi__lineLink {
    margin: 0;
    text-align: right;
    font-size: 13.5px;
    font-weight: 700;
}

.wh-kuchikomi__lineLink a {
    color: #27a99a;
}

@media (max-width: 599px) {
    .wh-kuchikomi__summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .wh-kuchikomi__ttl {
        font-size: 22px;
    }
}

/* ——————————————————————————
   Footer：ボトムナビ（追加エリア）
—————————————————————————— */
@media (min-width: 992px) {
    .l-footer__bottomnav {
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        column-gap: 30px;
        margin-top: 0;
        order: 5;
    }
}

/* 各フッターのリストブロックの縦線を削除する */
.l-footer__nav .nav__block {
  border-right: none !important;
  border-left: none !important;
}

/* リスト内にも縦線があればこちらもリセット */
.l-footer .nav-list,
.l-footer .nav-list > li,
.l-footer .nav-list__item {
  border-left: none !important;
  border-right: none !important;
}

/* フッターを画面幅にする */
.l-footer {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    margin-bottom: 0 !important;
}

/* 【削除済み 2026-07-16】all-connect由来の「.l-content下マージン削除」は
   コンテンツとフッターが密着する原因だったため撤去し、
   SWELL標準の下余白(6em)を復活させた。 */

/* 【削除済み 2026-07-16】
   all-connect由来の「.l-content 左右パディング削除」はSWELL標準の
   レスポンシブ余白(SP:4vw / PC:32-48px)を打ち消してSPで端まで
   張り付く原因になっていたため撤去。 */

/* ==========================================
   目次デザイン（シンプル版）
========================================== */
.p-toc {
    background: #f5f5f5 !important;
    border: none !important;
    border-radius: 16px !important;
    padding: 1.25em !important;
}

.p-toc__ttl {
    border-bottom: none !important;
    margin-bottom: 1em;
}

/* 目次の各種スタイルのボーダーを削除 */
.p-toc.-simple {
    border: none !important;
}

.p-toc.-border {
    border-bottom: none !important;
    border-top: none !important;
}

.p-toc.-double {
    border-bottom: none !important;
    border-top: none !important;
    background: #f5f5f5 !important;
}

.p-toc.-capbox {
    border: none !important;
}

.p-toc.-capbox .p-toc__ttl {
    background-color: #f5f5f5 !important;
    color: inherit !important;
}


/* ==========================================
   SWELLテーブル：1列目固定 互換調整（最小上書き）
   - 既存の共通スタイルは維持
   - 固定時のみ sticky を阻害しないようにする
========================================== */
.wp-block-table[data-cell1-fixed] table {
    border-collapse: separate !important; /* 子テーマの collapse を無効化 */
    overflow: visible !important;         /* 子テーマの overflow: hidden を無効化 */
}

/* 1列目の背景透け防止（テーマ変数に追従） */
.wp-block-table[data-cell1-fixed] tbody tr > :first-child,
.wp-block-table[data-cell1-fixed] tfoot tr > :first-child,
.wp-block-table[data-cell1-fixed].is-style-simple thead tr > :first-child {
    background: var(--color_content_bg, #fff) !important;
}

/* ==========================================
   LINE Seed JP フォントをサイト全体に適用
========================================== */
body,
html {
    font-family: "LINE Seed JP", "Noto Sans JP", sans-serif !important;
}


/* ==========================================
   インタビュー企業紹介（capbox 内 media-text）SP最適化
   SPで縦積み（is-stacked-on-mobile）になった際、人物プロフィール写真が
   画面幅いっぱいに拡大される問題を解消。写真を小さく中央寄せ、本文はフル幅左寄せのまま。
========================================== */
@media (max-width: 600px) {
    .cap_box_content .wp-block-media-text__media {
        margin-bottom: .6em !important;
        text-align: center !important;
    }
    .cap_box_content .wp-block-media-text__media img {
        max-width: 120px;
        height: auto;
        border-radius: 6px;
        display: block;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ==========================================
   ヘッダー・グローバルナビ調整 (2026-07-16)
   - ヘッダー高さはロゴサイズ変数から算出されるため変数で制御
   - PC: 100px→64px(ヘッダー約132px→96px) / SP: 40px→54px(ロゴ拡大)
========================================== */
:root {
    --logo_size_pc: 64px;
    --logo_size_sp: 54px;
}

/* ナビ項目: SWELL標準の下線ホバーをやめてピル型ホバーに */
#gnav .c-gnav > li > a {
    font-weight: 700;
    padding: 0 4px;
}

#gnav .c-gnav > li > a::after {
    content: none;
}

#gnav .c-gnav > li > a .ttl {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 999px;
    line-height: 1;
    transition: background-color .15s, color .15s;
}

#gnav .c-gnav > li > a:hover .ttl {
    background: #e3f7f4;
    color: #27a99a;
}

/* 現在ページはピンクのピル */
#gnav .c-gnav > li.current-menu-item > a .ttl,
#gnav .c-gnav > li.current-menu-ancestor > a .ttl {
    background: #fdecf3;
    color: #eb5e96;
}

/* ドロップダウン: 角丸カード */
#gnav .c-gnav .sub-menu {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(64, 64, 74, .16);
}

#gnav .c-gnav .sub-menu a {
    font-weight: 600;
    background: #fff;
    transition: background-color .15s, color .15s;
}

#gnav .c-gnav .sub-menu a:hover {
    background: #e3f7f4;
    color: #27a99a;
}
