/* ============================================================
   RESET & BASE
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Noto Sans JP', sans-serif;
    background: #e8e5f5;
    font-size: 14px; /* ① fanza/に合わせてベースフォントを14pxに */
    line-height: 1.9;
    color: #111;
}

/* ============================================================
   COLOR PALETTE
   ============================================================ */
:root {
    --lav-bg:        #f7f5fe;
    --lav-head:      #2a1a3a;
    --lav-nav:       #1e1030;
    --lav-panel:     #2a1a3a;
    --lav-accent:    #534AB7;
    --lav-dark:      #3C3489;
    --lav-light:     #EEEDFE;
    --lav-border:    #CECBF6;
    --lav-amber:     #FAC775;
    --lav-card:      #ffffff;
    --lav-cardborder:#ddd8f8;
    --text-main:     #1a1a2e;
    --text-sub:      #444444;
    --text-muted:    #888780;
    --nav-text:      #c4b5e0;
    --nav-util:      #7a6a9a;
    --fanza-bg:      #3d2a55;
    --danger:        #E24B4A;
}

/* ============================================================
   SITE WRAPPER
   ============================================================ */
.site {
    background: var(--lav-bg);
    position: relative;
    min-height: 100vh;
}

/* ============================================================
   SITE HEAD
   ============================================================ */
.site-head {
    background: var(--lav-head);
    text-align: center;
    padding: 14px 16px 12px;
    border-bottom: 1px solid #3d2a55;
}
.site-title-link { text-decoration: none; display: block; }
.site-title {
    font-size: 20px;
    font-weight: 500;
    color: #e8e0f8;
    letter-spacing: 0.04em;
}
.site-subtitle {
    font-size: 12px;
    color: #9b8cb8;
    margin-top: 3px;
}

/* ============================================================
   CAT TABS（カテゴリナビ）
   ============================================================ */
.cat-tabs {
    background: var(--lav-nav);
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #3d2a55;
    overflow-x: auto;
    padding-inline: max(0px, calc((100% - 1278px) / 2));
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
    color: var(--nav-text);
    font-size: 13px;
    padding: 10px 16px;
    cursor: pointer;
    border-right: 0.5px solid #3d2a55;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 4px;
}
.cat-tab::after {
    content: '▽';
    font-size: 9px;
    opacity: 0.6;
    transition: transform 0.2s;
}
.cat-tab.active::after {
    content: '△';
    opacity: 1;
}
.cat-tab.active {
    color: #fff;
    border-bottom-color: #AFA9EC;
    background: var(--lav-panel);
}
.cat-spacer { flex: 1; }
.cat-tab-util {
    color: var(--nav-util);
    font-size: 12px;
    padding: 10px 12px;
    cursor: pointer;
    border-left: 0.5px solid #3d2a55;
    white-space: nowrap;
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* ============================================================
   GENRE PANEL
   ============================================================ */
.genre-panel {
    background: var(--lav-panel);
    border-bottom: 1px solid #3d2a55;
    padding: 10px max(14px, calc((100% - 1278px) / 2));
    display: none;
}
.genre-panel.open { display: block; }
.genre-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.genre-chip {
    font-size: 13px; /* ⑥ */
    color: #CECBF6;
    background: #3d2a55;
    border: 0.5px solid var(--lav-accent);
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}
.genre-chip:hover,
.genre-chip.current {
    background: var(--lav-accent);
    color: #fff;
}

/* ============================================================
   PAGE BODY
   ============================================================ */
.page-body { max-width: 1278px; margin: 0 auto; padding: 12px 14px; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px; /* ⑥ */
    color: var(--text-muted);
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--lav-accent); text-decoration: none; }
.breadcrumb i { font-size: 11px; }
.breadcrumb .current { color: var(--text-main); font-weight: 500; }
.breadcrumb .count { color: var(--lav-accent); }

/* ============================================================
   TAG SECTION
   ============================================================ */
.tag-section {
    background: var(--lav-card);
    border-bottom: 0.5px solid var(--lav-cardborder);
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 10px;
}
.tag-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-chip {
    font-size: 13px; /* ⑥ */
    color: var(--lav-dark);
    background: var(--lav-light);
    border: 0.5px solid var(--lav-border);
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}
.tag-chip:hover { background: var(--lav-border); }

/* ============================================================
   CARDS HEADER
   ============================================================ */
.cards-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.cards-label { font-size: 13px; color: var(--text-muted); }
.cards-count { font-size: 13px; color: var(--lav-accent); font-weight: 500; }

/* ============================================================
   CARDS GRID
   ② カードを大きく（fanza/に合わせてminを広げる）
   ============================================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

/* ============================================================
   CARD
   ============================================================ */
.card {
    background: var(--lav-card);
    border: 0.5px solid var(--lav-cardborder);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.card-thumb-link { display: block; }
.card-thumb {
    width: 100%;
    height: auto;
    display: block;
}
.card-thumb--no-image {
    aspect-ratio: 3/2;
    background: var(--lav-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-thumb--no-image i { color: #AFA9EC; font-size: 32px; }
.card-body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 auto;
}
.card-title {
    font-size: 13px; /* ⑥ */
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.5;
    text-decoration: none;
    display: block;
}
.card-title:hover { color: var(--lav-accent); }
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    margin-top: auto;
}
.card-date { font-size: 12px; color: var(--text-muted); }

/* ============================================================
   BADGES
   ============================================================ */
.series-badge {
    display: inline-flex;
    align-items: flex-start;
    gap: 3px;
    background: var(--lav-dark);
    color: var(--lav-amber);
    font-size: 12px; /* ⑥ */
    padding: 3px 10px;
    border-radius: 3px;
    text-decoration: none;
    align-self: flex-start;
}
.series-badge i { font-size: 11px; margin-top: 2px; }
.genre-badge {
    display: inline-block;
    background: var(--lav-light);
    color: var(--lav-dark);
    font-size: 12px; /* ⑥ */
    padding: 2px 8px;
    border-radius: 3px;
    border: 0.5px solid var(--lav-border);
    text-decoration: none;
    white-space: nowrap;
}
.genre-badge:hover { background: var(--lav-border); }
.genre-row { display: flex; flex-wrap: wrap; gap: 4px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--lav-accent);
    color: #fff;
    font-size: 12px; /* ⑥ */
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary:hover { background: var(--lav-dark); }
.btn-primary-lg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--danger);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    padding: 14px;
    border-radius: 6px;
    text-decoration: none;
    width: 100%;
}
.btn-primary-lg:hover { background: #c0392b; }
.btn-cta-sm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: var(--danger);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    line-height: 1.3;
}
.btn-cta-sm:hover { background: #c0392b; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pager {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 14px;
}
.pg {
    min-width: 34px;
    height: 34px;
    border: 0.5px solid var(--lav-border);
    background: var(--lav-card);
    border-radius: 6px;
    font-size: 13px; /* ⑥ */
    color: var(--lav-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.pg a {
    color: var(--lav-accent);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 6px;
}
.pg.active,
.pg .current {
    background: var(--lav-accent);
    color: #fff;
}
.pg:hover { background: var(--lav-light); }

/* ============================================================
   SERIES INFO
   ============================================================ */
.series-info {
    background: var(--lav-card);
    border: 0.5px solid var(--lav-cardborder);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.series-name-badge {
    display: inline-block;
    background: var(--lav-dark);
    color: var(--lav-amber);
    font-size: 14px; /* ⑥ */
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 4px;
    flex-shrink: 0;
}
.series-desc {
    font-size: 13px; /* ⑥ */
    color: #555;
    line-height: 1.7;
}

/* ============================================================
   RELATED CHIPS
   ============================================================ */
.related-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.related-chip {
    font-size: 13px; /* ⑥ */
    color: var(--lav-dark);
    background: var(--lav-light);
    border: 0.5px solid var(--lav-border);
    padding: 4px 12px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.maker-badge {
    font-size: 10px;
    color: var(--lav-accent);
    background: #fff;
    border: 0.5px solid var(--lav-border);
    padding: 1px 5px;
    border-radius: 3px;
}

/* ============================================================
   NO POSTS
   ============================================================ */
.no-posts {
    font-size: 14px;
    color: var(--text-muted);
    padding: 20px;
    grid-column: 1 / -1;
}

/* ============================================================
   ARTICLE（作品ページ）
   ============================================================ */
.article {
    background: var(--lav-card);
    border: 0.5px solid var(--lav-cardborder);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 10px;
}
.art-h1 {
    font-size: 28px; /* ⑥ fanza/に合わせて28px */
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.55;
    margin-bottom: 10px;
}
.art-h2 {
    font-size: 20px; /* ⑥ fanza/に合わせて20px */
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.5;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1.5px solid var(--lav-border);
}
.art-h3 {
    font-size: 18px; /* ⑥ fanza/に合わせて18px */
    font-weight: 600;
    color: var(--lav-dark);
    background: var(--lav-light);
    border-left: 3px solid var(--lav-accent);
    padding: 6px 10px;
    border-radius: 0 4px 4px 0;
    margin-bottom: 8px;
    line-height: 1.4;
}
.desc-lead {
    font-size: 13px; /* ⑥ */
    color: #555;
    line-height: 1.75;
    background: var(--lav-bg);
    border-left: 3px solid var(--lav-border);
    padding: 10px 12px;
    border-radius: 0 4px 4px 0;
    margin-bottom: 14px;
}
.body-p {
    font-size: 14px; /* ⑥ fanza/に合わせて14px */
    color: var(--text-sub);
    line-height: 1.9;
    margin-bottom: 14px;
}

/* ============================================================
   SAMPLE IMAGES
   ① 元サイズで表示（aspect-ratio・object-fit廃止）
   ③ FANZA URLへのリンク対応
   ============================================================ */
.sample-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 14px;
}
.sample-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 14px;
}
.sample-img {
    background: var(--lav-light);
    border-radius: 5px;
    overflow: hidden;
    border: 0.5px solid var(--lav-cardborder);
    display: block; /* ① 元サイズ表示のためblockに */
}
.sample-img a {
    display: block;
    line-height: 0;
}
.sample-img img {
    width: 100%;
    height: auto; /* ① 元のアスペクト比を保持 */
    display: block;
    transition: opacity 0.2s;
}
.sample-img a:hover img {
    opacity: 0.85;
}
.sample-img i { color: #AFA9EC; font-size: 18px; padding: 20px; }

/* ============================================================
   VIDEO CTA
   ============================================================ */
.video-cta {
    display: grid;
    grid-template-columns: minmax(0, 934px) 1fr; /* 動画は934px上限・購入が残り幅を自動で埋める */
    gap: 12px;
    margin-bottom: 16px;
}
.video-cta--no-video {
    grid-template-columns: 1fr; /* サンプルなし時はシングルカラム */
    max-width: 280px;           /* 購入ボックスが横に伸びすぎないよう制限 */
}
.video-box {
    background: #1a1a2e;
    border-radius: 7px;
    overflow: hidden;
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    position: relative;
}
.play-btn {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.3);
}
.play-btn i { color: #fff; font-size: 22px; }
.video-label {
    position: absolute;
    bottom: 7px;
    left: 9px;
    font-size: 10px;
    color: rgba(255,255,255,0.5);
}
.purchase-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.purchase-thumb-link { display: block; }
.purchase-thumb {
    background: var(--lav-light);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0.5px solid var(--lav-cardborder);
    overflow: hidden;
    width: 100%;
}
.purchase-thumb img {
    width: 100%;
    height: auto;
    display: block;
}
.purchase-thumb i { color: #AFA9EC; font-size: 22px; padding: 20px 0; }

/* ============================================================
   FANZA BLOCK
   ============================================================ */
.fanza-block {
    background: var(--lav-panel);
    border: 0.5px solid #3d2a55;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 10px;
}
.fanza-block-title {
    font-size: 13px; /* ⑥ */
    color: #AFA9EC;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.fanza-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fanza-chip {
    font-size: 13px; /* ⑥ */
    color: #FAC775; /* 単体女優リンクと同じアンバーに統一 */
    background: var(--fanza-bg);
    border: 0.5px solid var(--lav-accent);
    padding: 4px 12px;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
}
.fanza-chip:hover { background: var(--lav-accent); color: #fff; }
.fanza-top-link {
    color: #FAC775;
    text-decoration: none;
}
.fanza-top-link:hover { text-decoration: underline; }

/* Sample image gallery: justified（行ベース・JSで高さ正規化・クロップなし）*/
.sample-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.sample-gallery > * {
    display: block;
    overflow: hidden;
}
.sample-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================================
   BLOCK（関連カードセクション）
   ============================================================ */
.block {
    background: var(--lav-card);
    border: 0.5px solid var(--lav-cardborder);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 10px;
}
.block-title {
    font-size: 13px; /* ⑥ */
    font-weight: 500;
    color: var(--lav-accent);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.block-title i { font-size: 14px; }
.r-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.r-card {
    background: var(--lav-bg);
    border: 0.5px solid var(--lav-cardborder);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.r-thumb {
    width: 100%;
    background: var(--lav-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.r-thumb--no-image { aspect-ratio: 3/2; }
.r-thumb img { width: 100%; height: auto; display: block; }
.r-thumb i { color: #AFA9EC; font-size: 16px; }
.r-info {
    padding: 6px 7px 7px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1 1 auto;
}
.r-title {
    font-size: 13px;
    color: var(--text-main);
    line-height: 1.4;
    text-decoration: none;
    display: block;
}
.r-title:hover { color: var(--lav-accent); }
.r-series {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: var(--lav-dark);
    color: var(--lav-amber);
    font-size: 11px;
    padding: 1px 5px;
    border-radius: 2px;
    align-self: flex-start;
}
.r-date { font-size: 12px; color: var(--text-muted); margin-top: auto; padding-top: 4px; }

/* ============================================================
   FLOAT BUTTONS（前後ナビ・サイト幅内に固定）
   ============================================================ */
.float-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 52px;
    background: rgba(83,74,183,0.82);
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 0.5px solid rgba(255,255,255,0.15);
    z-index: 100;
}
.float-btn i { font-size: 18px; }
.float-btn:hover { background: rgba(60,52,137,0.9); }

/*
 * サイト幅（1140px）の左右端に配置する
 * calc(50% - 570px) でサイト左端を基準にする
 */
.float-btn.left {
    left: calc(50% - 639px);
}
.float-btn.right {
    right: calc(50% - 639px);
}

/* 画面がサイト幅より狭い場合は画面端に */
@media (max-width: 1278px) {
    .float-btn.left  { left: 0; }
    .float-btn.right { right: 0; }
}

/* ============================================================
   FOOTER
   ⑤ 年齢制限をシンプルに（アイコンなし・小さく）
   ============================================================ */
.site-footer {
    background: var(--lav-nav);
    padding: 10px 16px;
    text-align: center;
    border-top: 1px solid #3d2a55;
}
.footer-age {
    font-size: 11px;
    color: #7a6a9a; /* ⑤ 目立たない色に */
    margin-bottom: 4px;
}
.footer-age i { display: none; } /* ⑤ アイコン非表示 */
.footer-copy { font-size: 10px; color: var(--nav-util); }

/* ============================================================
   下部固定ナビ：右端に小さく表示
   ============================================================ */
.bottom-nav {
    position: fixed;
    bottom: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 200;
}
.bottom-nav-item {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    cursor: pointer;
    border: none;
    background: rgba(83,74,183,0.6);
    border-radius: 50%;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s;
}
.bottom-nav-item i { font-size: 18px; }
.bottom-nav-item:hover,
.bottom-nav-item:active { background: rgba(83,74,183,0.9); }

/* ============================================================
   MANUAL CONTENT（手動記事レイアウト）
   ============================================================ */
.manual-content {
    font-size: 14px; /* ⑥ */
    line-height: 1.9;
    color: var(--text-sub);
}
.manual-content h2 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    padding-bottom: 6px;
    border-bottom: 1.5px solid var(--lav-border);
    margin: 20px 0 12px;
}
.manual-content h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--lav-dark);
    background: var(--lav-light);
    border-left: 3px solid var(--lav-accent);
    padding: 6px 10px;
    border-radius: 0 4px 4px 0;
    margin: 14px 0 8px;
}
.manual-content p {
    margin-bottom: 14px;
}
.manual-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 10px 0;
}
.manual-content ul,
.manual-content ol {
    padding-left: 1.5em;
    margin-bottom: 14px;
}
.manual-content li {
    margin-bottom: 5px;
}

/* ============================================================
   静的ページ共通
   ============================================================ */
.static-page {
    max-width: 720px;
    margin: 0 auto;
}
/* --- ページタイトル --- */
.page-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--lav-border);
    display: flex;
    align-items: center;
    gap: 8px;
}
.page-title i {
    color: var(--lav-accent);
    font-size: 22px;
}
/* --- セクション共通 --- */
.policy-section,
.section {
    margin-bottom: 28px;
}
.section-title,
.policy-section-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--lav-dark);
    background: var(--lav-light);
    border-left: 3px solid var(--lav-accent);
    padding: 6px 10px;
    border-radius: 0 4px 4px 0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.policy-section-title .num {
    color: var(--lav-accent);
    font-size: 10px;
}
.section-body,
.policy-body {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.85;
}
.section-body p,
.policy-body p {
    margin-bottom: 10px;
}
.section-body p:last-child,
.policy-body p:last-child {
    margin-bottom: 0;
}
.section-body a,
.policy-body a {
    color: var(--lav-accent);
}
.policy-body ul {
    padding-left: 20px;
    margin-bottom: 10px;
}
.policy-body ul li {
    margin-bottom: 5px;
}
.policy-date {
    text-align: right;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 24px;
}
/* --- 目次 --- */
.policy-toc {
    background: var(--lav-light);
    border: 0.5px solid var(--lav-border);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 24px;
}
.policy-toc-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--lav-dark);
    margin-bottom: 8px;
}
.policy-toc ol {
    padding-left: 18px;
}
.policy-toc ol li {
    font-size: 12px;
    line-height: 2;
}
.policy-toc ol li a {
    color: var(--lav-accent);
    text-decoration: none;
}
.policy-toc ol li a:hover {
    text-decoration: underline;
}
/* --- 区切り線 --- */
.divider {
    border: none;
    border-top: 0.5px solid var(--lav-cardborder);
    margin: 24px 0;
}
/* --- お問い合わせ --- */
.contact-intro {
    background: var(--lav-light);
    border: 0.5px solid var(--lav-border);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.8;
}
.form-group {
    margin-bottom: 18px;
}
.form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}
.form-label .required {
    display: inline-block;
    background: var(--lav-accent);
    color: #fff;
    font-size: 9px;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 5px;
    vertical-align: middle;
}
.form-note {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 5px;
}
.form-privacy {
    background: var(--lav-bg);
    border: 0.5px solid var(--lav-border);
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 20px;
    font-size: 12px;
    color: var(--text-sub);
    line-height: 1.75;
}
.form-privacy a {
    color: var(--lav-accent);
}
/* CF7 フォーム要素のスタイリング */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    background: #fff;
    border: 1px solid var(--lav-border);
    border-radius: 6px;
    padding: 9px 12px;
    font-size: 13px;
    color: var(--text-main);
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
    box-sizing: border-box;
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    border-color: var(--lav-accent);
    box-shadow: 0 0 0 3px rgba(83,74,183,0.1);
}
.wpcf7-form textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.7;
}
.wpcf7-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888780' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}
.wpcf7-form input[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--lav-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 13px 32px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    transition: background 0.15s;
}
.wpcf7-form input[type="submit"]:hover {
    background: var(--lav-dark);
}
/* CF7 送信結果メッセージ */
.wpcf7-response-output {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.6;
    border: none;
}
.wpcf7-mail-sent-ok {
    background: #edfaf4;
    color: #1a5c38;
}
.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
    background: #fef0f0;
    color: #8b1c1c;
}
/* ナビ現在地ハイライト */
.cat-tab-util--active {
    color: var(--lav-accent);
    font-weight: 600;
}
