/* ============================================================
   Chatlady Column V2 — 2026 Renewal
   洗練ブルー × 20〜30代女性向け可読性デザイン
   ============================================================ */

/* ===== デザイントークン ===== */
:root {
    /* カラー */
    --ink: #26313f;            /* 見出し・強い文字 */
    --text: #3f4a57;           /* 本文 */
    --text-soft: #8b94a1;      /* 日付・メタ情報 */
    --primary: #3d77ae;        /* メインブルー（洗練） */
    --primary-deep: #2c5a87;   /* 濃ブルー */
    --primary-soft: #7fa8cc;   /* 淡ブルー */
    --blue-pale: #eaf2f9;      /* 旧 #E3F2FD の後継 */
    --blue-mist: #f5f9fc;      /* セクション背景 */
    --border: #e3eaf1;         /* 罫線 */
    --marker: #fff3b8;         /* 蛍光マーカー */
    --line-green: #06C755;     /* LINEブランド */
    --gold: #d4a94e;
    --silver: #aeb6c0;
    --bronze: #c08a5e;

    /* 形状・影 */
    --radius-s: 8px;
    --radius: 14px;
    --radius-l: 20px;
    --shadow: 0 2px 14px rgba(44, 90, 135, .07);
    --shadow-hover: 0 10px 28px rgba(44, 90, 135, .14);

    /* フォント */
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Jost', 'Noto Sans JP', sans-serif;
}

/* ===== リセット & ベース ===== */
*, *::before, *::after { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: var(--font-jp);
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: .02em;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: opacity .2s, color .2s; }
a:hover { opacity: .78; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--blue-pale); color: var(--primary-deep); }

/* ===== ユーティリティ ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
    overflow: hidden;
}

/* ===== ヘッダー ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(44, 90, 135, .06);
    max-width: 100%;
    overflow: hidden;
}

/* 最上部バー */
.header-top {
    background: linear-gradient(90deg, var(--blue-pale), var(--blue-mist));
    padding: 6px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 100%;
    overflow: hidden;
}

.header-top__notice {
    font-size: 12.5px;
    color: var(--text);
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-top__line {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--line-green);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(6, 199, 85, .3);
}

.header-top__line svg { width: 16px; height: 16px; fill: #fff; }

/* 2段目 */
.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 12px;
}

.site-logo {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--ink);
    flex-shrink: 0;
    white-space: nowrap;
}

.site-logo:hover { opacity: 1; color: var(--primary); }
.site-logo img { height: 44px; width: auto; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* 検索ボタン */
.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text);
    display: flex;
    align-items: center;
    border-radius: 50%;
    transition: background .2s, color .2s;
}

.search-toggle:hover { background: var(--blue-pale); color: var(--primary); }
.search-toggle svg { width: 21px; height: 21px; }

.header-search-form {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blue-pale);
    padding: 14px 16px;
    display: none;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(44, 90, 135, .1);
}

.header-search-form.is-open { display: block; }

.header-search-form form {
    display: flex;
    gap: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.header-search-form input[type="search"] {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid var(--primary);
    border-radius: 999px;
    font-size: 16px;
    outline: none;
    min-width: 0;
    background: #fff;
    font-family: var(--font-jp);
}

.header-search-form button {
    padding: 10px 22px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}

.header-search-form button:hover { background: var(--primary-deep); }

/* ハンバーガー */
.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 36px;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルメニュー */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 2px solid var(--primary);
    z-index: 998;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 16px 32px rgba(44, 90, 135, .12);
}

.mobile-nav.is-open { display: block; }

.mobile-nav__menu { padding: 8px 0; }
.mobile-nav__menu li a {
    display: block;
    padding: 13px 20px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}

.mobile-nav__menu li a:hover { color: var(--primary); background: var(--blue-mist); opacity: 1; }

/* 3段目: カテゴリナビ */
.header-nav {
    border-top: 1px solid var(--border);
    background: #fff;
    max-width: 100%;
    overflow: hidden;
}

.header-nav__inner {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    scrollbar-width: none;
}

.header-nav__inner::-webkit-scrollbar { display: none; }

.header-nav__inner a {
    display: block;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    flex-shrink: 0;
    border-bottom: 3px solid transparent;
    transition: border-color .2s, color .2s;
}

.header-nav__inner a:hover,
.header-nav__inner a.current-menu-item {
    color: var(--primary);
    border-bottom-color: var(--primary);
    opacity: 1;
}

/* ===== メインレイアウト ===== */
.content-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 32px 16px;
    align-items: flex-start;
    box-sizing: border-box;
}

.main-content { flex: 1; min-width: 0; }
.sidebar { width: 300px; flex-shrink: 0; }

/* ===== ヒーロースライダー ===== */
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    background: var(--ink);
    border-radius: var(--radius);
}

.hero-slider__track {
    display: flex;
    transition: transform .4s ease;
    width: 100%;
    will-change: transform;       /* GPU合成レイヤーで描画ズレを防ぐ */
    backface-visibility: hidden;  /* モバイルのちらつき防止 */
}

.hero-slider__slide {
    min-width: 100%;
    width: 100%;                  /* min-widthだけでなくwidthも明示してズレ防止 */
    box-sizing: border-box;       /* padding等によるサイズ変動を排除 */
    aspect-ratio: 16 / 9;
    max-height: 560px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.hero-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;         /* スワイプ中に画像ドラッグが起きないよう制御 */
}

.hero-slider__slide a { display: block; width: 100%; height: 100%; }

.hero-slider__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(24, 38, 54, .72));
    color: #fff;
    padding: 48px 24px 18px;
}

.hero-slider__caption h2 { margin: 0; font-size: clamp(14px, 2.5vw, 22px); font-weight: 700; letter-spacing: .03em; }

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .85);
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    transition: background .2s, box-shadow .2s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}

.slider-btn:hover { background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); }
.slider-btn--prev { left: 14px; }
.slider-btn--next { right: 14px; }

.slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .2s, width .25s;
}

.slider-dot.is-active { background: #fff; width: 22px; }

/* ===== セクション共通 ===== */
.section { padding: 48px 0; }
.section--gray { background: var(--blue-mist); }

.section-head {
    text-align: center;
    margin-bottom: 30px;
}

.section-head__sub {
    display: block;
    font-family: var(--font-en);
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.section-head__title {
    font-size: clamp(19px, 3vw, 26px);
    font-weight: 700;
    letter-spacing: .05em;
    color: var(--ink);
    margin: 0;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-head__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-soft));
    border-radius: 999px;
}

/* ===== 最新記事グリッド（PC:4カラム） ===== */
.latest-posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
}

/* ===== 記事カード共通グリッド ===== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.post-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: box-shadow .25s, transform .25s;
    max-width: 100%;
}

.post-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.post-card__thumb-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    max-width: 100%;
}

.post-card__thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.post-card:hover .post-card__thumb-wrap img { transform: scale(1.05); }

/* カテゴリバッジ：サムネイルの視認性を優先して非表示 */
.post-card__cat { display: none; }

.post-card__new {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #e88b9d, #d96a80);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 3px 8px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(217, 106, 128, .4);
}

.post-card__body { padding: 12px 14px 14px; }

.post-card__title {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 8px;
    line-height: 1.55;
}

.post-card__date { font-size: 12px; color: var(--text-soft); font-family: var(--font-en); letter-spacing: .05em; }

/* 横並びリスト */
.posts-list { display: flex; flex-direction: column; max-width: 100%; overflow: hidden; }

.post-list-item {
    border-bottom: 1px solid var(--border);
    max-width: 100%;
    overflow: hidden;
}

.post-list-item:last-child { border-bottom: none; }

.post-list-item__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    color: var(--text);
}

.post-list-item__thumb {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: var(--radius-s);
}

.post-list-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.post-list-item:hover .post-list-item__thumb img { transform: scale(1.04); }

.post-list-item__body { flex: 1; min-width: 0; }

.post-list-item__title {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin: 0 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.55;
}

.post-list-item__date { font-size: 12px; color: var(--text-soft); font-family: var(--font-en); letter-spacing: .05em; }

/* ===== カテゴリ別セクション ===== */
.cat-section { padding: 12px 0; border-bottom: 1px solid var(--border); max-width: 100%; overflow: hidden; }

.cat-section__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
    flex-wrap: wrap;
}

.cat-section__titles { line-height: 1.2; }
.cat-section__sub { font-family: var(--font-en); font-size: 11px; color: var(--primary); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; display: block; }
.cat-section__name { font-size: clamp(16px, 2.5vw, 22px); font-weight: 700; letter-spacing: .04em; color: var(--ink); margin: 0; }
.cat-section__more {
    font-size: 13px;
    color: var(--primary);
    white-space: nowrap;
    font-weight: 500;
    padding: 6px 16px;
    border: 1px solid var(--primary-soft);
    border-radius: 999px;
    transition: background .2s, color .2s;
}
.cat-section__more:hover { background: var(--primary); color: #fff; opacity: 1; }

/* ===== 人気記事ランキング ===== */
.ranking { max-width: 100%; overflow: hidden; }

.ranking-tabs {
    display: flex;
    gap: 6px;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 16px;
}

.ranking-tab {
    padding: 9px 24px;
    background: var(--blue-mist);
    border: none;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 700;
    font-family: var(--font-jp);
    color: var(--text-soft);
    border-radius: var(--radius-s) var(--radius-s) 0 0;
    transition: background .2s, color .2s;
}

.ranking-tab.is-active {
    background: var(--primary);
    color: #fff;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    max-width: 100%;
    overflow: hidden;
}

.ranking-item__num {
    font-family: var(--font-en);
    font-size: 22px;
    font-weight: 600;
    font-style: italic;
    color: #ccd4dc;
    width: 28px;
    flex-shrink: 0;
    text-align: center;
}

.ranking-item--1 .ranking-item__num { color: var(--gold); }
.ranking-item--2 .ranking-item__num { color: var(--silver); }
.ranking-item--3 .ranking-item__num { color: var(--bronze); }

.ranking-item__inner {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 1;
    min-width: 0;
    color: var(--text);
}

.ranking-item__inner img {
    width: 80px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--radius-s);
    flex-shrink: 0;
}

.ranking-item__body { flex: 1; min-width: 0; }
.ranking-item__title { font-size: 13px; font-weight: 500; color: var(--ink); margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }
.ranking-item__date { font-size: 11px; color: var(--text-soft); font-family: var(--font-en); letter-spacing: .05em; }

/* ===== トレンドタグ ===== */
.trend-tags { display: flex; flex-wrap: wrap; gap: 8px; max-width: 100%; overflow: hidden; }

.trend-tag {
    display: inline-block;
    background: #fff;
    color: var(--primary);
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid var(--primary-soft);
    transition: background .2s, color .2s, border-color .2s;
    white-space: nowrap;
}

.trend-tag:hover { background: var(--primary); border-color: var(--primary); color: #fff; opacity: 1; }

/* ===== ライター紹介 ===== */
.writers-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
    max-width: 100%;
}

.writers-scroll::-webkit-scrollbar { display: none; }

.writer-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 16px;
    min-width: 180px;
    text-align: center;
    flex-shrink: 0;
    box-shadow: var(--shadow);
    transition: box-shadow .25s, transform .25s;
}

.writer-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.writer-card__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px;
    border: 3px solid var(--blue-pale);
    outline: 1px solid var(--primary-soft);
}

.writer-card__name { font-size: 14px; font-weight: 700; margin: 0 0 4px; color: var(--ink); }
.writer-card__store { font-size: 12px; color: var(--text-soft); margin: 0; }

/* ===== LINE CTA ===== */
.line-cta {
    background: linear-gradient(135deg, #07cf5b, #05b34d);
    color: #fff;
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius);
    margin: 36px 0;
    max-width: 100%;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(6, 199, 85, .25);
}

.line-cta__text {
    font-size: clamp(14px, 2.5vw, 16px);
    margin: 0 0 18px;
    font-weight: 700;
    letter-spacing: .03em;
}

.line-cta__btn {
    display: inline-block;
    background: #fff;
    color: #059c44;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 36px;
    border-radius: 999px;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .12);
}

.line-cta__btn:hover { opacity: 1; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }

/* ===== サイドバー ===== */
.widget {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 22px 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    max-width: 100%;
    overflow: hidden;
}

.widget-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .05em;
    color: var(--ink);
    padding-bottom: 10px;
    margin: 0 0 16px;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 44px;
    height: 2px;
    background: var(--primary);
    border-radius: 999px;
}

/* ===== パンくず ===== */
.breadcrumb { padding: 10px 0; max-width: 100%; overflow: hidden; }

.breadcrumb ol,
.breadcrumb .breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    font-size: 12px;
    color: var(--text-soft);
}

.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li:not(:last-child)::after { content: '›'; margin: 0 7px; color: #c3ccd5; }
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ===== 記事ページ ===== */
.entry-header { margin-bottom: 24px; max-width: 100%; overflow: hidden; }

.entry-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.entry-cat {
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 4px 14px;
    border-radius: 999px;
}

.entry-tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.entry-tag {
    background: #fff;
    color: var(--primary);
    font-size: 12px;
    padding: 3px 12px;
    border-radius: 999px;
    border: 1px solid var(--primary-soft);
    transition: background .2s, color .2s;
}

.entry-tag:hover { background: var(--primary); color: #fff; opacity: 1; }

.entry-title {
    font-size: clamp(22px, 3.5vw, 32px);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .02em;
    margin: 0 0 18px;
    color: var(--ink);
}

/* 著者バー */
.author-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--blue-mist);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 18px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    max-width: 100%;
    overflow: hidden;
}

.author-bar__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 1px 5px rgba(44, 90, 135, .15);
}

.author-bar__info { flex: 1; min-width: 0; }
.author-bar__name { font-size: 14px; font-weight: 700; color: var(--ink); margin: 0; }
.author-bar__store { font-size: 12px; color: var(--text-soft); margin: 0; }
.author-bar__date { font-size: 12px; color: var(--text-soft); font-family: var(--font-en); letter-spacing: .05em; margin-left: auto; white-space: nowrap; }

/* アイキャッチ */
.entry-thumb {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 32px;
    max-width: 100%;
    box-shadow: var(--shadow);
}

.entry-thumb img { width: 100%; display: block; }

/* 目次 */
.toc {
    background: var(--blue-mist) !important;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin: 32px 0;
    max-width: 100%;
    overflow: hidden;
}

.toc__title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--ink);
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toc__title::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 10px 0 0 var(--primary-soft), 20px 0 0 var(--blue-pale);
    margin-right: 16px;
}

.toc__list li a { color: var(--text); }
.toc__list li a:hover { color: var(--primary); }

/* ============================================================
   本文スタイル（閲覧維持率重視：大きめ文字 × ゆったり行間）
   ============================================================ */
.entry-content {
    max-width: 100%;
    overflow: hidden;
    word-break: break-word;
    font-size: 17px;
    line-height: 2.05;
    color: var(--text);
}

/* 見出しへのアンカー移動時に固定ヘッダーと重ならないように */
.entry-content h2,
.entry-content h3,
.entry-content h4 { scroll-margin-top: 130px; }

/* H2：カード型見出し */
.entry-content h2 {
    position: relative;
    font-size: clamp(20px, 3vw, 25px);
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: .03em;
    color: var(--ink);
    background: linear-gradient(135deg, var(--blue-mist), var(--blue-pale));
    padding: 16px 22px 16px 26px;
    margin: 56px 0 24px;
    border-radius: var(--radius-s);
    overflow: hidden;
}

.entry-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--primary), var(--primary-soft));
}

/* H3：下線アクセント見出し */
.entry-content h3 {
    position: relative;
    font-size: clamp(17.5px, 2.5vw, 21px);
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: .03em;
    color: var(--ink);
    padding-bottom: 10px;
    margin: 44px 0 18px;
    border-bottom: 1px solid var(--border);
}

.entry-content h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-soft));
    border-radius: 999px;
}

/* H4：小見出し */
.entry-content h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(16px, 2.2vw, 18px);
    font-weight: 700;
    line-height: 1.6;
    color: var(--ink);
    margin: 36px 0 14px;
}

.entry-content h4::before {
    content: '';
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: var(--primary);
    transform: rotate(45deg);
}

.entry-content p { margin: 0 0 1.7em; }

/* 蛍光マーカー風ハイライト */
.entry-content strong {
    font-weight: 700;
    color: var(--ink);
    background: linear-gradient(transparent 62%, var(--marker) 62%);
    padding: 0 2px;
}

.entry-content mark {
    background: linear-gradient(transparent 62%, var(--marker) 62%);
    color: inherit;
    padding: 0 2px;
}

/* 本文リンク */
.entry-content a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: var(--primary-soft);
    text-underline-offset: 3px;
    transition: color .2s;
}

.entry-content a:hover { color: var(--primary-deep); opacity: 1; }

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-s);
    overflow: hidden;
    margin: 8px auto;
}

/* 引用 */
.entry-content blockquote {
    position: relative;
    background: var(--blue-mist);
    border-left: 4px solid var(--primary-soft);
    border-radius: 0 var(--radius-s) var(--radius-s) 0;
    padding: 22px 26px 22px 56px;
    margin: 28px 0;
    color: #5d6773;
    font-size: 15.5px;
}

.entry-content blockquote::before {
    content: '\201C';
    position: absolute;
    left: 16px;
    top: 6px;
    font-family: Georgia, serif;
    font-size: 52px;
    line-height: 1;
    color: var(--primary-soft);
    opacity: .55;
}

.entry-content blockquote p { margin: 0 0 .8em; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite { display: block; margin-top: 8px; font-size: 12.5px; font-style: normal; color: var(--text-soft); }

/* 本文テーブル */
.entry-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 28px 0;
    font-size: 15px;
    line-height: 1.7;
    border: 1px solid var(--border);
    border-radius: var(--radius-s);
    overflow: hidden;
}

.entry-content table th,
.entry-content table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: middle;
}

.entry-content table thead th,
.entry-content table tr th {
    background: var(--blue-pale);
    color: var(--primary-deep);
    font-weight: 700;
}

.entry-content table tr:last-child th,
.entry-content table tr:last-child td { border-bottom: none; }

.entry-content table tbody tr:nth-child(even) td { background: var(--blue-mist); }

/* 区切り線 */
.entry-content hr {
    border: none;
    height: 1px;
    background: var(--border);
    margin: 40px auto;
    max-width: 240px;
}

/* 吹き出し */
.balloon {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 26px 0;
    max-width: 100%;
    overflow: hidden;
}

.balloon--right { flex-direction: row-reverse; }

.balloon__icon { text-align: center; flex-shrink: 0; }
.balloon__icon img, .balloon__icon-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    background: var(--blue-mist);
    border: 2px solid #fff;
    box-shadow: 0 1px 6px rgba(44, 90, 135, .18);
}

.balloon__name { font-size: 11px; color: var(--text-soft); display: block; margin-top: 5px; }

.balloon__bubble {
    background: var(--blue-pale);
    border-radius: var(--radius);
    padding: 14px 18px;
    position: relative;
    max-width: calc(100% - 80px);
    overflow: hidden;
    word-break: break-word;
}

.balloon__bubble p { margin: 0; font-size: 14.5px; line-height: 1.8; }

.balloon--left .balloon__bubble::before {
    content: '';
    position: absolute;
    top: 18px;
    left: -10px;
    border: 6px solid transparent;
    border-right-color: var(--blue-pale);
}

.balloon--right .balloon__bubble {
    background: #fdf1f3;
}

.balloon--right .balloon__bubble::before {
    content: '';
    position: absolute;
    top: 18px;
    right: -10px;
    left: auto;
    border: 6px solid transparent;
    border-left-color: #fdf1f3;
}

/* ボックスショートコード */
.box-shortcode {
    border-radius: var(--radius-s);
    padding: 20px 24px;
    margin: 28px 0;
    max-width: 100%;
    overflow: hidden;
}

.box-shortcode__title {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .04em;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.box-shortcode--point { background: var(--blue-mist); border: 1px solid var(--primary-soft); border-left: 4px solid var(--primary); }
.box-shortcode--point .box-shortcode__title { color: var(--primary-deep); }
.box-shortcode--point .box-shortcode__title::before { content: '✦'; color: var(--primary); }

.box-shortcode--warning { background: #fdf6e7; border: 1px solid #ecd9a8; border-left: 4px solid #d9a93c; }
.box-shortcode--warning .box-shortcode__title { color: #a8791a; }
.box-shortcode--warning .box-shortcode__title::before { content: '!'; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: #d9a93c; color: #fff; font-size: 12px; }

.box-shortcode--info { background: var(--blue-pale); border: 1px solid var(--primary-soft); border-left: 4px solid var(--primary-deep); }
.box-shortcode--info .box-shortcode__title { color: var(--primary-deep); }
.box-shortcode--info .box-shortcode__title::before { content: 'i'; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--primary-deep); color: #fff; font-size: 11px; font-style: italic; font-family: Georgia, serif; }

/* SNSシェア（旧share-buttons） */
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 32px 0;
    max-width: 100%;
    overflow: hidden;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: opacity .2s, transform .2s;
    white-space: nowrap;
}

.share-btn:hover { opacity: .85; transform: translateY(-1px); }
.share-btn--x { background: #1a1a1a; }
.share-btn--facebook { background: #1877F2; }
.share-btn--hatena { background: #00A4DE; }
.share-btn--line { background: var(--line-green); }
.share-btn--copy { background: #8b94a1; }

/* 著者ボックス */
.author-box {
    background: var(--blue-mist);
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    padding: 28px;
    margin: 44px 0;
    max-width: 100%;
    overflow: hidden;
}

.author-box__head {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.author-box__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    outline: 1px solid var(--primary-soft);
    box-shadow: 0 2px 10px rgba(44, 90, 135, .15);
    flex-shrink: 0;
}

.author-box__meta { flex: 1; min-width: 0; }
.author-box__title { font-family: var(--font-en); font-size: 11px; color: var(--primary); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 4px; }
.author-box__name { font-size: 20px; font-weight: 700; color: var(--ink); margin: 0 0 4px; }
.author-box__store { font-size: 13px; color: var(--text-soft); margin: 0; }
.author-box__bio { font-size: 14.5px; line-height: 1.9; color: var(--text); margin: 0 0 16px; }

.author-box__links { display: flex; flex-wrap: wrap; gap: 8px; }

.author-sns-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    transition: transform .2s;
}

.author-sns-link:hover { transform: translateY(-1px); }
.author-sns-link--x { background: #1a1a1a; }
.author-sns-link--tiktok { background: #010101; }
.author-sns-link--instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.author-sns-link--youtube { background: #FF0000; }
.author-sns-link--web { background: #6b7684; }

/* 関連記事 */
.related-posts { margin: 44px 0; max-width: 100%; overflow: hidden; }

.related-posts__title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .05em;
    color: var(--ink);
    padding-bottom: 10px;
    margin-bottom: 20px;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.related-posts__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-soft));
    border-radius: 999px;
}

.related-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 100%;
    overflow: hidden;
}

/* ===== アーカイブページ ===== */
.archive-header {
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 55%, var(--primary-soft) 100%);
    color: #fff;
    padding: 44px 20px;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
}

.archive-header__title { font-size: clamp(22px, 4vw, 34px); font-weight: 700; letter-spacing: .05em; margin: 0 0 8px; }
.archive-header__count { font-size: 14px; opacity: .9; margin: 0; }

/* ===== ページネーション ===== */
.pagination { display: flex; justify-content: center; margin: 44px 0; max-width: 100%; overflow: hidden; }
.pagination ul { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-en);
    color: var(--text);
    border: 1px solid var(--border);
    transition: background .2s, color .2s, border-color .2s;
}

.pagination .current,
.pagination li a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    opacity: 1;
}

/* ===== 検索ページ ===== */
.search-header { padding: 32px 0; max-width: 100%; overflow: hidden; }
.search-header__term { font-size: 20px; font-weight: 700; color: var(--ink); }
.search-header__count { font-size: 14px; color: var(--text-soft); margin-top: 4px; }

/* ===== 404ページ ===== */
.error-404 { text-align: center; padding: 80px 20px; max-width: 100%; overflow: hidden; }
.error-404__num { font-family: var(--font-en); font-size: 100px; font-weight: 600; color: var(--primary-soft); line-height: 1; margin: 0 0 16px; }
.error-404__title { font-size: 24px; font-weight: 700; color: var(--ink); margin: 0 0 12px; }
.error-404__text { color: var(--text-soft); margin: 0 0 28px; }

/* ===== 固定ページ共通 ===== */
.page-content { max-width: 800px; margin: 0 auto; padding: 40px 16px; max-width: 100%; overflow: hidden; }

/* FAQアコーディオン（固定ページ内・旧タイプ） */
.faq-list { max-width: 100%; overflow: hidden; }

.faq-q {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    user-select: none;
}

.faq-q::before {
    content: 'Q';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-en);
    font-weight: 600;
    border-radius: 50%;
    flex-shrink: 0;
}

.faq-q .faq-toggle {
    margin-left: auto;
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform .3s;
}

.faq-q.is-open .faq-toggle { transform: rotate(45deg); }

.faq-a {
    display: none;
    padding: 0 0 16px 40px;
    font-size: 15px;
    color: var(--text);
    line-height: 1.8;
    max-width: 100%;
    overflow: hidden;
    word-break: break-word;
}

.faq-a.is-open { display: block; }

.faq-a::before {
    content: 'A';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--blue-pale);
    color: var(--primary);
    font-family: var(--font-en);
    font-weight: 600;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    flex-shrink: 0;
}

/* ===== フッター ===== */
.site-footer {
    background: linear-gradient(180deg, #2b3a4d, #223142);
    color: #c6cdd6;
    padding: 52px 0 0;
    max-width: 100%;
    overflow: hidden;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 44px;
}

.footer-logo { font-size: 20px; font-weight: 700; letter-spacing: .04em; color: #fff; margin: 0 0 12px; }
.footer-desc { font-size: 13px; line-height: 1.8; color: #9aa5b1; }

.footer-nav__title { font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--primary-soft); margin: 0 0 14px; }
.footer-nav ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { font-size: 13px; color: #9aa5b1; }
.footer-nav a:hover { color: #fff; opacity: 1; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    text-align: center;
    padding: 18px 16px;
    font-size: 12px;
    color: #7d8895;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-quicklinks {
    width: 100%;
    margin-top: 0;
    padding-top: 0;
}
.footer-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    justify-content: center;
}
.footer-nav-list a {
    font-size: 13px;
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
}
.footer-nav-list a:hover {
    color: #fff;
    text-decoration: underline;
    opacity: 1;
}

/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
    /* ヘッダー */
    .header-nav { display: none; }

    /* コンテンツラッパー */
    .content-wrapper {
        display: block;
        padding: 16px;
    }
    .sidebar { display: none; }

    /* 最新記事グリッド → 2カラム */
    .latest-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* その他記事グリッド → 2カラム */
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .post-card__title {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }

    /* リスト（5件目以降） */
    .post-list-item__thumb {
        width: 100px;
        height: 70px;
    }

    /* 関連記事 */
    .related-posts__grid {
        grid-template-columns: 1fr;
    }

    /* footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    /* 著者ボックス */
    .author-box { padding: 20px; }
    .author-box__icon { width: 60px; height: 60px; }
    .author-box__name { font-size: 18px; }

    /* ヒーロースライダー */
    .hero-slider { max-width: 100%; border-radius: var(--radius-s); }
    .hero-slider__slide { max-height: 260px; }

    /* セクションパディング */
    .section { padding: 28px 0; }

    /* 記事本文：スマホは16pxでゆったり行間キープ */
    .entry-content {
        font-size: 16px;
        line-height: 2.0;
    }

    .entry-content h2 {
        padding: 13px 16px 13px 20px;
        margin: 44px 0 20px;
    }

    .entry-content h3 { margin: 36px 0 16px; }

    .entry-content blockquote { padding: 18px 18px 18px 46px; }

    .entry-content table { font-size: 14px; }
    .entry-content table th,
    .entry-content table td { padding: 10px 12px; }
}

@media (max-width: 480px) {
    .share-buttons { gap: 6px; }
    .share-btn { padding: 7px 12px; font-size: 12px; }
    .line-cta__btn { padding: 11px 24px; }
}

/* ===== SNSシェアボタン（sns-share-buttons） ===== */
.sns-share-buttons {
    margin: 44px 0 24px;
    padding: 24px 20px;
    background: var(--blue-mist);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.sns-share-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--ink);
    margin-bottom: 14px;
    text-align: center;
}

.sns-share-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.sns-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: opacity .2s, transform .2s;
}

.sns-btn:hover { opacity: .85; transform: translateY(-1px); }
.sns-x        { background: #1a1a1a; color: #fff; }
.sns-facebook { background: #1877F2; color: #fff; }
.sns-hatena   { background: #00A4DE; color: #fff; }
.sns-line     { background: var(--line-green); color: #fff; }
.sns-copy     { background: #8b94a1; color: #fff; }

/* ===== 記事本文 ul リスト ===== */
.entry-content ul {
    list-style: none;
    padding: 20px 22px;
    margin: 24px 0;
    background: var(--blue-mist);
    border: 1px solid var(--border);
    border-radius: var(--radius-s);
}

.entry-content ul li {
    position: relative;
    padding: 4px 0 4px 32px;
    margin-bottom: 8px;
    font-size: inherit;
    line-height: 1.8;
    background: none;
    border: none;
}

.entry-content ul li:last-child { margin-bottom: 0; }

.entry-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: bold;
    font-size: 11px;
    transform: none;
}

/* ネストしたリストは装飾を軽く */
.entry-content ul ul {
    background: none;
    border: none;
    padding: 4px 0 0;
    margin: 4px 0 0;
}

.entry-content ul ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-soft);
    top: 13px;
    left: 6px;
}

/* ===== 記事本文 ol リスト ===== */
.entry-content ol {
    list-style: none;
    padding: 20px 22px;
    counter-reset: ol-counter;
    margin: 24px 0;
    background: var(--blue-mist);
    border: 1px solid var(--border);
    border-radius: var(--radius-s);
}

.entry-content ol li {
    position: relative;
    padding: 4px 0 4px 36px;
    margin-bottom: 10px;
    font-size: inherit;
    line-height: 1.8;
    background: none;
    border: none;
    counter-increment: ol-counter;
}

.entry-content ol li:last-child { margin-bottom: 0; }

.entry-content ol li::before {
    content: counter(ol-counter);
    position: absolute;
    left: 0;
    top: 5px;
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 600;
    transform: none;
}

/* ===== 目次（.toc__list）番号付きデザイン ===== */
.toc__list {
    list-style: none;
    padding-left: 0;
    counter-reset: toc-counter;
    margin: 0;
}

.toc__list li {
    position: relative;
    padding: 8px 8px 8px 38px;
    margin-bottom: 2px;
    counter-increment: toc-counter;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.toc__list li:last-child { border-bottom: none; }

.toc__list li::before {
    content: counter(toc-counter);
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-en);
    font-size: 11px;
    font-weight: 600;
}

/* 目次 h3 サブ項目（.toc__item--sub） */
.toc__list .toc__item--sub {
    padding-left: 56px;
    font-size: 13px;
}

.toc__list .toc__item--sub::before {
    background: var(--primary-soft);
    width: 16px;
    height: 16px;
    font-size: 10px;
    left: 30px;
}

/* ================================================
   FAQ ページ
   ================================================ */

/* ページ全体 */
.faq-page {
    background: var(--blue-mist);
    min-height: 60vh;
}

/* ヒーロー */
.faq-hero {
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 60%, var(--primary-soft) 100%);
    color: #fff;
    padding: 56px 16px 48px;
    text-align: center;
}

.faq-hero__inner {
    max-width: 720px;
    margin: 0 auto;
}

.faq-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: 0.06em;
}

.faq-subtitle {
    font-size: 1rem;
    opacity: 0.92;
    margin: 0;
}

/* コンテナ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 16px 64px;
}

/* タブ */
.faq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.faq-tab {
    padding: 8px 20px;
    border: 1px solid var(--primary);
    border-radius: 999px;
    background: #fff;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-jp);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow .2s;
    line-height: 1.4;
}

.faq-tab:hover {
    background: var(--blue-pale);
}

.faq-tab.is-active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 3px 10px rgba(61, 119, 174, .3);
}

/* カテゴリセクション */
.faq-category {
    margin-bottom: 48px;
}

.faq-category-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--primary-deep);
    border-left: 4px solid var(--primary);
    padding-left: 14px;
    margin: 0 0 20px;
}

/* FAQアイテム */
.faq-item {
    background: #fff;
    border-radius: var(--radius-s);
    border: 1px solid var(--border);
    box-shadow: 0 1px 5px rgba(44, 90, 135, .05);
    margin-bottom: 10px;
    overflow: hidden;
}

/* 質問ボタン */
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-jp);
    color: var(--ink);
    cursor: pointer;
    gap: 12px;
    transition: background 0.15s;
    line-height: 1.55;
}

.faq-question:hover {
    background: var(--blue-mist);
}

.faq-question[aria-expanded="true"] {
    color: var(--primary-deep);
    background: var(--blue-pale);
}

/* アイコン（+/-） */
.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: relative;
    transition: transform 0.25s;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--primary);
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::before {
    width: 10px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 10px;
    transition: transform 0.25s;
}

.faq-question[aria-expanded="true"] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* 回答エリア */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 20px 20px;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--text);
}

/* LINE CTA */
.faq-cta {
    background: #fff;
    border: 2px solid var(--line-green);
    border-radius: var(--radius);
    text-align: center;
    padding: 36px 24px;
    margin-top: 48px;
}

.faq-cta__text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 16px;
}

.faq-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--line-green);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(6, 199, 85, .35);
}

.faq-cta__btn:hover {
    background: #05a847;
    transform: translateY(-2px);
    opacity: 1;
}

/* モバイル調整 */
@media (max-width: 600px) {
    .faq-hero {
        padding: 40px 16px 32px;
    }

    .faq-tabs {
        gap: 6px;
    }

    .faq-tab {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    .faq-question {
        font-size: 0.875rem;
        padding: 14px 16px;
    }

    .faq-answer p {
        padding: 0 16px 16px;
        font-size: 0.85rem;
    }

    .faq-cta {
        padding: 24px 16px;
    }

    .faq-cta__btn {
        font-size: 0.9rem;
        padding: 12px 24px;
    }
}

/* ================================================
   サイトマップ ページ
   ================================================ */

.sitemap-page {
    padding: 40px 0;
}

.sitemap-hero {
    text-align: center;
    margin-bottom: 40px;
}

.sitemap-title {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: .05em;
    margin-bottom: 8px;
    color: var(--ink);
}

.sitemap-subtitle {
    font-size: 15px;
    color: var(--text-soft);
    margin: 0;
}

.sitemap-section {
    margin-bottom: 48px;
}

.sitemap-section-title {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: .04em;
    padding: 10px 0 10px 16px;
    border-left: 4px solid var(--primary);
    margin-bottom: 24px;
    color: var(--ink);
}

.sitemap-category {
    margin-bottom: 32px;
}

.sitemap-category-title {
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.sitemap-category-title a {
    color: var(--primary);
    text-decoration: none;
}

.sitemap-category-title a:hover {
    text-decoration: underline;
}

.sitemap-count {
    font-size: 12px;
    background: var(--blue-pale);
    color: var(--primary-deep);
    padding: 2px 10px;
    border-radius: 999px;
    font-weight: normal;
}

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

.sitemap-post-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 8px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
}

.sitemap-post-item a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    flex: 1;
    line-height: 1.6;
}

.sitemap-post-item a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.sitemap-date {
    font-size: 12px;
    color: var(--text-soft);
    font-family: var(--font-en);
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .sitemap-title {
        font-size: 22px;
    }

    .sitemap-post-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* ================================================
   ヒーロースライダー：ナビゲーション下の余白
   ================================================ */

/* PC */
@media (min-width: 769px) {
    .hero-slider {
        margin-top: 24px;
        margin-bottom: 8px;
    }

    .latest-section,
    .latest-posts,
    .section-latest {
        margin-top: 8px;
        padding-top: 8px;
    }
}

/* スマホ */
@media (max-width: 768px) {
    .hero-slider {
        margin-top: 16px;
        margin-bottom: 8px;
    }

    /* 最新記事セクションの上余白を詰める */
    .latest-section,
    .latest-posts,
    .section-latest {
        margin-top: 8px;
        padding-top: 8px;
    }

    /* セクションタイトル下の余白を詰める */
    .section-title,
    .latest-section .section-header {
        margin-bottom: 12px;
    }

    /* 記事グリッドの上余白を詰める */
    .latest-posts-grid,
    .posts-grid {
        margin-top: 12px;
    }
}

/* ================================================
   ヒーロー〜最新記事間の余白を強制的に詰める
   ================================================ */

/* スライダー下の余白をゼロに（PC・スマホ共通） */
.hero-slider,
.slider-section,
.hero-section {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* content-wrapper の上パディングを詰める
   （ここがヒーローと最初のセクションの間の主な余白） */
.content-wrapper {
    padding-top: 8px !important;
}

/* 最新記事セクション（実際のクラスは .section）の上余白を詰める */
.main-content > .section:first-of-type {
    padding-top: 8px !important;
    margin-top: 0 !important;
}

/* セクションヘッダー上の余白も詰める */
.main-content > .section:first-of-type .section-head {
    margin-bottom: 16px !important;
}

/* スマホ：content-wrapper のパディングをさらに詰める */
@media (max-width: 768px) {
    .content-wrapper {
        padding-top: 4px !important;
    }

    .main-content > .section:first-of-type {
        padding-top: 4px !important;
    }
}

/* ================================================
   カテゴリピックアップセクション間の余白を詰める
   ================================================ */

/* 各カテゴリセクションの上下余白（!importantで既存padding:40pxを確実に上書き） */
.cat-section {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* カテゴリタイトルエリアの下余白 */
.cat-section__head {
    margin-bottom: 10px !important;
}

/* 記事グリッド下の余白 */
.cat-section .posts-grid,
.cat-section .posts-grid--3col {
    margin-bottom: 0 !important;
}

/* スマホ：さらに詰める */
@media (max-width: 768px) {
    .cat-section {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .cat-section__head {
        margin-bottom: 8px !important;
    }
}

/* ================================================
   追従LINEボタン（スマホのみ）
   ================================================ */

.floating-line-btn {
    position: fixed;
    bottom: 16px;
    left: 12px;
    right: 12px;
    z-index: 9999;
}

.floating-line-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #0adb64, #06C755 55%, #05ad4c);
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: bold;
    letter-spacing: .04em;
    padding: 19px 24px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, .85);
    box-shadow: 0 8px 26px rgba(6, 199, 85, .55), 0 3px 10px rgba(0, 0, 0, .2);
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    animation: line-btn-pulse 2.4s ease-in-out infinite;
}

.floating-line-link svg { width: 26px; height: 26px; flex-shrink: 0; }

/* ふわっと光る呼吸アニメーション */
@keyframes line-btn-pulse {
    0%, 100% {
        box-shadow: 0 8px 26px rgba(6, 199, 85, .55), 0 3px 10px rgba(0, 0, 0, .2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 34px rgba(6, 199, 85, .85), 0 3px 12px rgba(0, 0, 0, .22);
        transform: scale(1.02);
    }
}

/* キラッと流れる光 */
.floating-line-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-20deg);
    animation: line-btn-shine 3.2s ease-in-out infinite;
}

@keyframes line-btn-shine {
    0%, 60% { left: -75%; }
    100% { left: 125%; }
}

.floating-line-link:hover {
    opacity: 0.94;
    color: #fff;
}

/* 動きを抑えたい設定のユーザーにはアニメーションを止める */
@media (prefers-reduced-motion: reduce) {
    .floating-line-link,
    .floating-line-link::after { animation: none; }
}

/* スマホ：追従ボタン分の余白 */
@media (max-width: 768px) {
    body {
        padding-bottom: 90px;
    }
}

/* PC版は非表示 */
@media (min-width: 769px) {
    .floating-line-btn {
        display: none;
    }
}

/* ===== 会社概要ページ ===== */
.company-page { padding: 40px 0; }

.company-title {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: .04em;
    color: var(--ink);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    position: relative;
    margin-bottom: 32px;
}

.company-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 72px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-soft));
    border-radius: 999px;
}

.company-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-s);
    overflow: hidden;
}

.company-table th,
.company-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    line-height: 1.7;
    vertical-align: middle;
}

.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }

.company-table th {
    background: var(--blue-pale);
    color: var(--primary-deep);
    font-weight: bold;
    width: 30%;
    white-space: nowrap;
}

.company-table td a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.company-table tr:nth-child(even) td {
    background: var(--blue-mist);
}

@media (max-width: 768px) {
    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
    }
    .company-table th {
        border-bottom: none;
        white-space: normal;
    }
}

/* ===== プライバシーポリシーページ ===== */
.privacy-page { padding: 40px 0; }

.privacy-title {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: .04em;
    color: var(--ink);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    position: relative;
    margin-bottom: 20px;
}

.privacy-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 72px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-soft));
    border-radius: 999px;
}

.privacy-intro {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text);
    margin-bottom: 40px;
    padding: 20px 22px;
    background: var(--blue-mist);
    border: 1px solid var(--border);
    border-radius: var(--radius-s);
}

.privacy-section {
    margin-bottom: 40px;
}

.privacy-section h2 {
    font-size: 17px;
    font-weight: bold;
    letter-spacing: .03em;
    color: var(--ink);
    padding: 11px 16px;
    border-left: 4px solid var(--primary);
    background: var(--blue-pale);
    border-radius: 0 var(--radius-s) var(--radius-s) 0;
    margin-bottom: 14px;
}

.privacy-section p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text);
    margin-bottom: 10px;
}

.privacy-section ul {
    padding-left: 24px;
    margin-bottom: 10px;
}

.privacy-section ul li {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text);
    margin-bottom: 4px;
    list-style: disc;
}

.privacy-section a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-s);
    overflow: hidden;
}

.privacy-table th,
.privacy-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    line-height: 1.7;
}

.privacy-table tr:last-child th,
.privacy-table tr:last-child td { border-bottom: none; }

.privacy-table th {
    background: var(--blue-pale);
    color: var(--primary-deep);
    font-weight: bold;
    width: 30%;
    white-space: nowrap;
}

.privacy-line-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 13px 30px;
    background: var(--line-green);
    color: #fff;
    border-radius: 999px;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(6, 199, 85, .3);
    transition: transform .2s;
}

.privacy-line-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.privacy-updated {
    font-size: 13px;
    color: var(--text-soft);
    text-align: right;
    margin-top: 48px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
    .privacy-title { font-size: 22px; }
    .privacy-table th { width: 35%; }
    .company-title { font-size: 22px; }
}
