@charset "UTF-8";
/*
 Theme Name:   WPX Theme
*/

/* ============================================
   CSS Variables / Design Tokens
   ============================================ */
:root {
    --wpx-primary: #6E1F2E;
    --wpx-primary-dark: #8E3142;
    --wpx-primary-light: #F7EBEE;
    --wpx-text: #333333;
    --wpx-text-light: #666666;
    --wpx-bg: #FBF7F5;
    --wpx-head: #2A1A1D;
    --wpx-white: #ffffff;
    --wpx-border: #e5e5e5;
    --wpx-accent: #C7A248;
    --wpx-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --wpx-shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.12);
    --wpx-radius: 6px;
    --wpx-font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
}

/* ============================================
   Global Reset & Base
   ============================================ */
html {
    scroll-padding-top: 80px; /* 固定ヘッダーの高さ + 余白 */
    scroll-behavior: smooth;
}

html,
body {
    background-color: #2A1A1D !important;
}

body {
    font-family: var(--wpx-font);
    color: var(--wpx-text);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding-top: 70px;
    /* 固定ヘッダー分のスペース */
}

/* コンテンツエリアの背景色を明るく維持 */
#page .site-content,
.site-content {
    background-color: var(--wpx-bg);
}

a {
    color: var(--wpx-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--wpx-primary-dark);
}

/* ============================================
   Header
   ============================================ */
.site-header {
    background: var(--wpx-primary) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
}

.site-header .wpx-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 70px;
}

.main-header-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    align-items: center;
}

.main-header-menu .menu-item > a {
    font-weight: 600;
    font-size: 15px;
    color: var(--wpx-white) !important;
    padding: 0 18px;
    line-height: 70px;
    text-decoration: none;
    display: block;
    position: relative;
    border-bottom: 3px solid transparent;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

/* 項目間の縦区切り線（最後の項目以外） */
.main-header-menu .menu-item > a::after {
    content: "";
    position: absolute;
    right: 0;
    top: 22px;
    bottom: 22px;
    width: 1px;
    background: rgba(255, 255, 255, 0.35);
}

.main-header-menu .menu-item:last-child > a::after {
    display: none;
}

.main-header-menu .menu-item > a:hover,
.main-header-menu .menu-item.current-menu-item > a {
    border-bottom-color: var(--wpx-white);
    background: rgba(255, 255, 255, 0.10);
    color: var(--wpx-white) !important;
}

/* セール: 常時赤バッジで強調 */
.main-header-menu .menu-item--sale > a {
    background: var(--wpx-accent);
    color: var(--wpx-white) !important;
    border-radius: 4px;
    margin: 18px 10px;
    line-height: 34px;
    padding: 0 14px;
    font-weight: 700;
    border-bottom: none;
}

.main-header-menu .menu-item--sale > a::after {
    display: none;
}

/* セール直後の項目（女優一覧）に左側の区切り線を補う */
.main-header-menu .menu-item--sale + .menu-item > a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    bottom: 22px;
    width: 1px;
    background: rgba(255, 255, 255, 0.35);
}

.main-header-menu .menu-item--sale > a:hover,
.main-header-menu .menu-item--sale.current-menu-item > a {
    background: #A8842F;
    border-bottom: none;
}

/* Google翻訳バナー・ツールチップを非表示 */
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

/* PC用翻訳ウィジェットエリア */
#wpx-translate-wrap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Google翻訳セレクトのテーマ合わせ */
#wpx-translate-wrap .goog-te-gadget-simple {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 4px !important;
    padding: 4px 8px !important;
    font-size: 13px !important;
    cursor: pointer;
    white-space: nowrap;
}

#wpx-translate-wrap .goog-te-gadget-simple .goog-te-menu-value,
#wpx-translate-wrap .goog-te-gadget-simple .goog-te-menu-value span {
    color: var(--wpx-white) !important;
    border: none !important;
}

#wpx-translate-wrap .goog-logo-link {
    display: none !important;
}

/* モバイル時はPC用を非表示（1024px以下でヘッダーをモバイルUIに切替） */
@media (max-width: 1024px) {
    #wpx-translate-wrap {
        display: none;
    }

    .main-header-menu {
        display: none;
    }
}

@media (min-width: 1025px) {
    .main-navigation {
        flex: 1;
        min-width: 0;
        display: flex;
        justify-content: center;
    }

    .main-header-menu {
        flex-wrap: nowrap;
    }

    .main-header-menu .menu-item > a,
    .main-header-menu .menu-item--sale > a {
        white-space: nowrap;
    }
}

/* ヘッダーから「お問い合わせ」「プライバシーポリシー」を非表示（フッターへ移動済み） */
.site-header .menu-item a[href*="privacy-policy"],
.site-header .menu-item a[href*="%e3%81%8a%e5%95%8f%e3%81%84%e5%90%88%e3%82%8f%e3%81%9b"],
.site-header .menu-item a[href*="contact"] {
    display: none !important;
}

.site-header .menu-item:has(a[href*="privacy-policy"]),
.site-header .menu-item:has(a[href*="%e3%81%8a%e5%95%8f%e3%81%84%e5%90%88%e3%82%8f%e3%81%9b"]),
.site-header .menu-item:has(a[href*="contact"]) {
    display: none !important;
}

/* ============================================
   Layout
   ============================================ */
/* ============================================
   Header Logo & Site Name
   ============================================ */
.wpx-site-logo-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wpx-site-logo-wrap a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--wpx-text);
}

.wpx-site-logo-wrap a:hover {
    color: var(--wpx-primary-dark);
    opacity: 0.85;
}

/* ロゴ画像 */
.wpx-site-logo-img {
    width: auto;
    height: 50px;
    display: block;
    flex-shrink: 0;
}


/* サイト説明文（トップページのみ表示） */
.wpx-site-description {
    font-size: 11px;
    color: var(--wpx-white);
    opacity: 0.75;
    margin: 2px 0 0 0;
    padding: 0;
    line-height: 1.3;
}

.wpx-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 0;
}

/* Single: コンテナ幅を1250pxに制限して中央配置（PC表示用） */
.single .site-content>.wpx-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 30px 20px 0;
}

#primary {
    background: var(--wpx-white);
    border-radius: var(--wpx-radius);
    box-shadow: var(--wpx-shadow);
    padding: 30px 40px;
    margin-bottom: 30px;
}

/* Homepage / Archive: transparent primary container */
.home #primary,
.archive #primary {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

/* ============================================
   Breadcrumbs（ヘッダー直下の全幅帯）
   ============================================ */
/* 全幅背景ラッパー */
.wpx-breadcrumbs-wrapper {
    background: #f5f5f5;
    border-bottom: 1px solid var(--wpx-border);
    width: 100%;
}

/* コンテナ内のナビゲーション */
.wpx-breadcrumbs-wrapper .wpx-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.wpx-breadcrumbs {
    font-size: 13px;
    color: var(--wpx-text-light);
    padding: 10px 0;
    margin: 0;
}

.wpx-breadcrumbs a {
    color: var(--wpx-text-light);
    text-decoration: none;
}

.wpx-breadcrumbs a:hover {
    color: var(--wpx-primary);
}

/* 家アイコン（Astra依存のFont Awesomeを使わず、SVGまたは絵文字ではなくシンプルにする） */
.wpx-breadcrumbs .breadcrumb-home::before {
    content: "";
    /* アイコンを削除してシンプルに */
    margin-right: 0;
}

.wpx-breadcrumbs .separator {
    margin: 0 8px;
    color: #ccc;
}

/* ============================================
   Article Meta (Category Badge + Tags + Date)
   ============================================ */
.wpx-article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
    font-size: 13px;
}

.wpx-category-badge {
    display: inline-block;
    background: var(--wpx-primary);
    color: var(--wpx-white);
    padding: 3px 14px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.wpx-category-badge:hover {
    background: var(--wpx-primary-dark);
    color: var(--wpx-white);
}

.wpx-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.wpx-tags .tag-icon {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    flex-shrink: 0;
}

.wpx-tags a {
    color: var(--wpx-text-light);
    font-size: 12px;
    border: 1px solid var(--wpx-border);
    padding: 2px 10px;
    border-radius: 3px;
    transition: all 0.2s;
}

.wpx-tags a:hover {
    background: var(--wpx-primary-light);
    border-color: var(--wpx-primary);
    color: var(--wpx-primary);
}

.wpx-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.wpx-date {
    display: inline-flex;
    align-items: center;
    color: var(--wpx-text-light);
    font-size: 13px;
}

.wpx-date--created::before,
.wpx-date--modified::before,
.card-date.wpx-date--created::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 4px;
    flex-shrink: 0;
}

.wpx-date--created::before,
.card-date.wpx-date--created::before {
    background-image: url('images/created.jpg');
}

.wpx-date--modified::before {
    background-image: url('images/modified.jpg');
}

/* ============================================
   Article Title
   ============================================ */
.wpx-article-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--wpx-text);
    margin: 0;
    padding: 0;
}

/* ============================================
   Content Styling (H2, H3, Lists, etc.)
   ============================================ */
article.post .entry-content h2,
article.page .entry-content h2,
.wpx-content h2 {
    background: var(--wpx-primary);
    color: var(--wpx-white);
    padding: 14px 20px;
    border-radius: var(--wpx-radius);
    font-size: 20px;
    font-weight: 700;
    margin: 40px 0 20px;
    line-height: 1.5;
}

.entry-content h3,
.wpx-content h3 {
    /* border-left: 4px solid var(--wpx-primary); */
    padding: 8px 0 8px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--wpx-text);
    margin: 30px 0 0;
}

.entry-content h4,
.wpx-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--wpx-text);
    margin: 25px 0 10px;
    padding-bottom: 8px;
    border-bottom: 2px dotted var(--wpx-border);
}

.entry-content p {
    margin: 0 0 1.6em;
    line-height: 2;
}

.entry-content ul:not(.wpx-related-grid):not(.wpx-product-meta):not(.wpx-inline-related) {
    background: #f9f9f9;
    border-radius: var(--wpx-radius);
    padding: 20px 20px 20px 25px;
    margin: 20px 0;
}

.entry-content ul:not(.wpx-related-grid):not(.wpx-product-meta):not(.wpx-inline-related) li {
    margin-bottom: 8px;
    position: relative;
    list-style: none;
    padding-left: 22px;
}

.entry-content ul:not(.wpx-related-grid):not(.wpx-product-meta):not(.wpx-inline-related) li::before {
    content: "";
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    background: url("https://s.w.org/images/core/emoji/17.0.2/svg/2705.svg") no-repeat center / contain;
    position: absolute;
    left: 0;
    top: 0.15em;
}

/* Demerit List Styling */
.entry-content ul.wpx-demerit-list li::before {
    content: "" !important;
    background-image: url("https://s.w.org/images/core/emoji/17.0.2/svg/274c.svg") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
}

.entry-content ol {
    background: #f9f9f9;
    border-radius: var(--wpx-radius);
    margin: 0;
}

.entry-content ol li {
    margin-bottom: 8px;
}

/* ============================================
   Step List (wpx-step-list)
   ============================================ */
.entry-content ol.wpx-step-list {
    list-style: none;
    counter-reset: wpx-step;
    padding: 20px 10px 15px;
    margin: 10px 0;
    background: transparent;
    border: 1px solid var(--wpx-border);
    border-radius: var(--wpx-radius);
    box-shadow: var(--wpx-shadow);
}

.entry-content ol.wpx-step-list li {
    position: relative;
    padding: 12px 20px 12px 60px;
    background: var(--wpx-white);
    font-weight: 600;
    line-height: 1.6;
    color: var(--wpx-text);
    margin-bottom: 8px;
    border-radius: var(--wpx-radius);
}

.entry-content ol.wpx-step-list li::before {
    counter-increment: wpx-step;
    content: counter(wpx-step);
    position: absolute;
    left: 15px;
    top: 16px;
    width: 30px;
    height: 30px;
    background: var(--wpx-primary);
    color: var(--wpx-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(110, 31, 46, 0.3);
}

.entry-content ol.wpx-step-list .wpx-step-title {
    display: block;
    font-weight: 700;
    margin-bottom: 2px;
}

.entry-content ol.wpx-step-list .wpx-step-desc {
    display: block;
    font-weight: 400;
    font-size: 0.9em;
    color: var(--wpx-text-light);
    margin-top: 0;
    line-height: 1.7;
}

.entry-content blockquote {
    border-left: 4px solid var(--wpx-primary);
    background: var(--wpx-primary-light);
    padding: 20px 25px;
    margin: 20px 0;
    border-radius: 0 var(--wpx-radius) var(--wpx-radius) 0;
    font-style: normal;
}

.entry-content strong {
    background: linear-gradient(transparent 60%, #fff4b8 60%);
    padding: 0 2px;
}

/* CTA Button */
.entry-content .wp-block-button .wp-block-button__link,
.wpx-cta-btn {
    background: var(--wpx-accent) !important;
    color: var(--wpx-white) !important;
    border-radius: 50px;
    padding: 14px 40px;
    font-weight: 700;
    font-size: 16px;
    display: inline-block;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 3px 8px rgba(199, 162, 72, 0.3);
}

.entry-content .wp-block-button .wp-block-button__link:hover,
.wpx-cta-btn:hover {
    background: #A8842F !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(199, 162, 72, 0.4);
}

/* ============================================
   CV Button (Animated, 100% Width)
   ============================================ */
/* 全てのコンバージョン用ボタン（wp-block-buttonとwpx-cta-btn）に適用 */
.entry-content .wp-block-button .wp-block-button__link,
.wpx-cta-btn {
    width: 100% !important;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    animation: wpx-pulse 3s infinite;
}

/* Shine Effect (キラッと光る) */
.entry-content .wp-block-button .wp-block-button__link::before,
.wpx-cta-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: wpx-shine 3s infinite;
    z-index: 1;
}

@keyframes wpx-shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

@keyframes wpx-pulse {
    0% {
        transform: scale(1);
    }

    5% {
        transform: scale(1.02);
    }

    10% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

/* ============================================
   Floating SNS Share Bar (Left Side)
   ============================================ */
.wpx-share-floating {
    position: fixed;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wpx-share-floating a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    color: var(--wpx-white);
    font-size: 16px;
    transition: all 0.2s;
    text-decoration: none;
}

.wpx-share-floating a:hover {
    opacity: 0.85;
    transform: scale(1.08);
}

.wpx-share-floating .share-twitter {
    background: #000000;
}

.wpx-share-floating .share-qr {
    background: #6c4dff;
}

.wpx-share-floating .share-line {
    background: #06c755;
}

.wpx-share-floating .share-copy {
    background: #777777;
}

/* Bottom Share Buttons */
.wpx-share-bottom {
    display: flex;
    gap: 6px;
    margin: 30px 0;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}

.wpx-share-bottom a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--wpx-white);
    font-size: 18px;
    transition: all 0.2s;
    text-decoration: none;
}

.wpx-share-bottom a:hover {
    opacity: 0.85;
    transform: scale(1.1);
}

.wpx-share-bottom .share-twitter {
    background: #000000;
}

.wpx-share-bottom .share-qr {
    background: #6c4dff;
}

.wpx-share-bottom .share-line {
    background: #06c755;
}

.wpx-share-bottom .share-copy {
    background: #777777;
}

.share-qr .qr-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.share-qr svg {
    display: block;
}

/* ============================================
   QR Code Modal (スマホ転送用URL)
   ============================================ */
.wpx-qr-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: wpxQrFadeIn 0.2s ease-out;
}

.wpx-qr-modal__inner {
    background: #fff;
    border-radius: 10px;
    padding: 30px 24px 24px;
    max-width: 320px;
    width: 90vw;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.wpx-qr-modal__close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: transparent;
    border: 0;
    font-size: 24px;
    cursor: pointer;
    color: #555;
    width: 32px;
    height: 32px;
    line-height: 1;
    padding: 0;
}

.wpx-qr-modal__title {
    font-weight: 700;
    font-size: 16px;
    margin: 0 0 16px;
    color: #222;
}

.wpx-qr-modal__code {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.wpx-qr-modal__code img,
.wpx-qr-modal__code canvas {
    display: block;
}

.wpx-qr-modal__url {
    word-break: break-all;
    font-size: 12px;
    color: #666;
    margin: 0 0 12px;
}

.wpx-qr-modal__hint {
    font-size: 12px;
    color: #888;
    margin: 0;
    line-height: 1.5;
}

@keyframes wpxQrFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   コピー完了トースト
   ============================================ */
.wpx-copy-toast {
    position: fixed;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%) translateY(20px);
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    max-width: 90vw;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.wpx-copy-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============================================
   Author Box
   ============================================ */
.wpx-author-box {
    border: 1px solid var(--wpx-border);
    border-radius: var(--wpx-radius);
    padding: 30px;
    margin: 40px 0;
    text-align: center;
    background: var(--wpx-white);
}

.wpx-author-box .author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
}

.wpx-author-box .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wpx-author-box .author-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.wpx-author-box .author-name a {
    color: var(--wpx-text);
}

.wpx-author-box .author-role {
    font-size: 13px;
    color: var(--wpx-text-light);
    margin-bottom: 15px;
}

.wpx-author-box .author-description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--wpx-text);
    text-align: left;
}

/* Author Box in Sidebar */
.widget .wpx-author-box {
    padding: 25px 20px;
}

/* ============================================
   Inline Related (本文末尾の関連記事カードリスト)
   ============================================ */
.entry-content ul.wpx-inline-related {
    list-style: none;
    padding: 0;
    margin: 24px 0 32px;
    display: grid;
    gap: 10px;
}

.entry-content ul.wpx-inline-related li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.entry-content ul.wpx-inline-related li::before {
    content: none;
}

.entry-content ul.wpx-inline-related li a {
    display: block;
    background: var(--wpx-white);
    border: 1px solid var(--wpx-border);
    border-left: 4px solid var(--wpx-primary);
    border-radius: var(--wpx-radius);
    padding: 14px 18px 14px 16px;
    color: var(--wpx-text);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    text-decoration: none;
    box-shadow: var(--wpx-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-left-color 0.2s ease, color 0.2s ease;
}

.entry-content ul.wpx-inline-related li a:hover,
.entry-content ul.wpx-inline-related li a:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--wpx-shadow-hover);
    border-left-color: var(--wpx-primary-dark);
    color: var(--wpx-primary-dark);
}

@media (max-width: 768px) {
    .entry-content ul.wpx-inline-related li a {
        font-size: 14px;
        padding: 12px 14px 12px 14px;
        border-left-width: 3px;
    }
}

/* ============================================
   Related Posts
   ============================================ */
.wpx-related-section {
    margin: 40px 0 20px;
}

.wpx-related-section h2 {
    background: var(--wpx-primary);
    color: var(--wpx-white);
    padding: 12px 20px;
    border-radius: var(--wpx-radius);
    font-size: 18px;
    margin-bottom: 20px;
}

.wpx-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.wpx-related-grid .related-card {
    border: 1px solid var(--wpx-border);
    border-radius: var(--wpx-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--wpx-white);
}

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

.wpx-related-grid .related-card a {
    text-decoration: none;
    color: var(--wpx-text);
    display: block;
}

.wpx-related-grid .related-card .card-thumb-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f5f5f5;
}

.wpx-related-grid .related-card .card-thumb-wrap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 28px;
    margin: -14px 0 0 -14px;
    border: 3px solid #e0e0e0;
    border-top-color: var(--wpx-primary);
    border-radius: 50%;
    animation: wpx-spin 0.8s linear infinite;
}

.wpx-related-grid .related-card .card-thumb {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wpx-related-grid .related-card .card-body {
    padding: 12px 15px;
}

.wpx-related-grid .related-card .card-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wpx-related-grid .related-card .card-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--wpx-text-light);
}

/* ============================================
   Previous/Next Post Navigation
   ============================================ */
.wpx-post-nav {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    gap: 15px;
}

.wpx-post-nav a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: var(--wpx-white);
    border: 1px solid var(--wpx-border);
    border-radius: var(--wpx-radius);
    color: var(--wpx-text);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    flex: 1;
    text-decoration: none;
}

.wpx-post-nav a:hover {
    border-color: var(--wpx-primary);
    box-shadow: var(--wpx-shadow);
}

.wpx-post-nav a.nav-next {
    justify-content: flex-end;
    text-align: right;
}

/* ============================================
   Homepage Card Grid
   ============================================ */
.wpx-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wpx-post-card {
    background: var(--wpx-white);
    border-radius: var(--wpx-radius);
    overflow: hidden;
    box-shadow: var(--wpx-shadow);
    transition: all 0.3s ease;
}

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

.wpx-post-card a {
    text-decoration: none;
    color: var(--wpx-text);
    display: block;
}

.wpx-post-card .card-thumb-wrap {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    min-height: 60px;
}

.wpx-post-card .card-thumb-wrap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border: 3px solid #e0e0e0;
    border-top-color: var(--wpx-primary);
    border-radius: 50%;
    animation: wpx-spin 0.8s linear infinite;
}

.wpx-post-card .card-thumb {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.wpx-post-card:hover .card-thumb {
    transform: scale(1.05);
}

.wpx-post-card .card-category {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--wpx-primary);
    color: var(--wpx-white);
    padding: 3px 12px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 3px;
}

.wpx-post-card .card-body {
    padding: 16px 18px;
}

.wpx-post-card .card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* Reset h2 content style overrides */
    background: none;
    color: var(--wpx-text);
    padding: 0;
    border-radius: 0;
    margin: 0 0 8px;
}

.wpx-post-card .card-excerpt {
    font-size: 13px;
    color: var(--wpx-text-light);
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wpx-post-card .card-date {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--wpx-text-light);
}

/* Pagination */
.wpx-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 40px 0;
}

.wpx-pagination a,
.wpx-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.wpx-pagination a {
    background: var(--wpx-white);
    color: var(--wpx-text);
    border: 1px solid var(--wpx-border);
}

.wpx-pagination a:hover {
    background: var(--wpx-primary);
    color: var(--wpx-white);
    border-color: var(--wpx-primary);
}

.wpx-pagination .current {
    background: var(--wpx-primary);
    color: var(--wpx-white);
}

/* ============================================
   Sidebar
   ============================================ */
#secondary .widget {
    background: var(--wpx-white);
    border-radius: var(--wpx-radius);
    box-shadow: var(--wpx-shadow);
    padding: 25px;
    margin-bottom: 30px;
}

#secondary .widget-title,
#secondary .wp-block-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--wpx-text);
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 3px solid var(--wpx-primary);
}

/* Popular Posts Widget Styling */
.wpp-list li {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

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

.wpp-list li .wpp-thumbnail {
    width: 80px;
    height: 55px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.wpp-list li .wpp-post-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--wpx-text);
}

/* Ranking Number */
.wpp-list li::before {
    position: absolute;
    top: 10px;
    left: 0;
    background: var(--wpx-primary);
    color: var(--wpx-white);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    z-index: 1;
}

/* TOC Styling */
#ez-toc-container {
    border: 1px solid var(--wpx-border) !important;
    border-radius: var(--wpx-radius) !important;
    background: var(--wpx-white) !important;
    padding: 20px !important;
}

#ez-toc-container .ez-toc-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--wpx-text) !important;
}

#ez-toc-container ul li a {
    color: var(--wpx-text) !important;
    font-size: 14px;
    line-height: 1.8;
}

#ez-toc-container ul li a:hover {
    color: var(--wpx-primary) !important;
}

/* Search Widget */
.widget .wp-block-search .wp-block-search__input,
.widget .search-field {
    border: 1px solid var(--wpx-border);
    border-radius: var(--wpx-radius);
    padding: 10px 15px;
    font-size: 14px;
    width: 100%;
}

.widget .wp-block-search .wp-block-search__button,
.widget .search-submit {
    background: var(--wpx-primary);
    color: var(--wpx-white);
    border: none;
    border-radius: var(--wpx-radius);
    padding: 10px 18px;
    cursor: pointer;
    transition: background 0.2s;
}

.widget .wp-block-search .wp-block-search__button:hover,
.widget .search-submit:hover {
    background: var(--wpx-primary-dark);
}

/* ============================================
   Footer
   ============================================ */
footer.site-footer,
.site-footer,
footer#colophon {
    background: #2A1A1D !important;
    background-color: #2A1A1D !important;
    border-top: none;
    color: #fff;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* ページ最下部の背景色をフッターと統一 */
#page {
    background-color: #2A1A1D;
}

/* カスタムフッターコンテナ */
.wpx-footer-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 20px;
}

/* ============================================
   フッター: タグクラウド / 人気女優 / 人気メーカー（共通）
   ============================================ */
.wpx-footer-tag-cloud,
.wpx-footer-tax-cloud {
    margin: 20px 0 30px;
}

.wpx-footer-tag-cloud .footer-section-title,
.wpx-footer-tax-cloud .footer-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
}

.wpx-footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wpx-footer-tags a {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.wpx-footer-tags a:hover {
    background: #fff;
    color: #111;
    transform: translateY(-1px);
}

/* ============================================
   フッター: リンク一覧
   ============================================ */
.wpx-footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    padding: 25px 0;
}

.wpx-footer-links a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    text-decoration: underline;
    transition: color 0.2s;
    padding: 0 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.wpx-footer-links a:first-child {
    border-left: none;
}

.wpx-footer-links a:last-child {
    border-right: none;
}

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

/* ============================================
   フッター: コピーライト
   ============================================ */
.wpx-footer-copyright {
    text-align: center;
    padding: 15px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.wpx-footer-poweredby{font-size:11px;text-align:center;padding-bottom:15px;color:rgba(255, 255, 255, 0.7);}
.wpx-footer-poweredby a {color:rgba(255, 255, 255, 0.7);text-decoration:none;}

/* ============================================
   Scroll to Top Button
   ============================================ */
.wpx-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--wpx-primary);
    color: var(--wpx-white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 998;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--wpx-shadow);
    transition: all 0.3s;
}

.wpx-scroll-top:hover {
    background: var(--wpx-primary-dark);
    transform: translateY(-3px);
}

.wpx-scroll-top.visible {
    display: flex;
}

/* ============================================
   Ad Notice
   ============================================ */
.wpx-ad-notice {
    background: #f8f8f8;
    border: 1px solid var(--wpx-border);
    border-radius: var(--wpx-radius);
    padding: 10px 15px;
    font-size: 13px;
    color: var(--wpx-text-light);
    margin-bottom: 20px;
}

.wpx-ad-notice::before {
    content: "ⓘ ";
}

/* ============================================
   Custom Table of Contents (この記事の目次)
   ============================================ */
.wpx-toc {
    background: #f8fafb;
    border: 2px solid var(--wpx-primary);
    border-radius: var(--wpx-radius);
    margin: 30px 0;
    overflow: hidden;
}

.wpx-toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--wpx-primary);
    color: var(--wpx-white);
}

.wpx-toc-title {
    font-size: 16px;
    font-weight: 700;
}

.wpx-toc--inline .wpx-toc-body {
    padding: 0;
}

.wpx-toc--inline .wpx-toc-body-inner {
    padding: 20px 25px;
}

.wpx-toc-body {
    padding: 20px 25px;
}

.wpx-toc-list {
    list-style: none;
    counter-reset: toc-counter;
    padding: 0;
    margin: 0;
}

.wpx-toc-list>.toc-h2 {
    counter-increment: toc-counter;
    margin-bottom: 6px;
}

.wpx-toc-list>.toc-h2>a {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 8px 0;
    text-decoration: none;
    color: var(--wpx-text);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.5;
    border-bottom: 1px dashed #e0e0e0;
    transition: color 0.2s;
}

.wpx-toc-list>.toc-h2>a::before {
    content: counter(toc-counter);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--wpx-primary);
    color: var(--wpx-white);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.wpx-toc-list>.toc-h2>a:hover {
    color: var(--wpx-primary);
}

.wpx-toc-list>.toc-h2:last-child>a {
    border-bottom: none;
}

/* H3 sub-items */
.toc-sub {
    list-style: none;
    padding: 4px 0 4px 36px;
    margin: 0;
}

.toc-h3 a {
    display: block;
    padding: 5px 0;
    text-decoration: none;
    color: var(--wpx-text-light);
    font-size: 13px;
    line-height: 1.5;
    transition: color 0.2s;
}

.toc-h3 a::before {
    content: "– ";
    color: var(--wpx-primary);
    margin-right: 4px;
}

.toc-h3 a:hover {
    color: var(--wpx-primary);
}

/* デスクトップ: 最初の3件 + もっと見る（スライド展開） */
.wpx-toc-extra {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.wpx-toc--inline.is-expanded .wpx-toc-extra {
    grid-template-rows: 1fr;
}

.wpx-toc-extra-inner {
    overflow: hidden;
    min-height: 0;
}

.wpx-toc-list--extra {
    counter-reset: toc-counter 3;
    margin-top: 6px;
}

.wpx-toc-more {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 10px 16px;
    background: none;
    border: 1px dashed var(--wpx-primary);
    border-radius: 8px;
    color: var(--wpx-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.wpx-toc-more::after {
    content: " ▼";
    display: inline-block;
    font-size: 11px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.wpx-toc--inline.is-expanded .wpx-toc-more::after {
    transform: rotate(180deg);
}

.wpx-toc-more:hover {
    background: var(--wpx-primary);
    color: var(--wpx-white);
    border-color: var(--wpx-primary);
}

@media (prefers-reduced-motion: reduce) {
    .wpx-toc-extra,
    .wpx-toc-more::after {
        transition: none;
    }
}

@media (max-width: 921px) {
    .wpx-toc-more,
    .wpx-toc-extra {
        display: none;
    }
}

/* ============================================
   Mobile Sticky TOC + Bottom Sheet
   ============================================ */
.wpx-toc-sticky {
    display: none;
    position: fixed;
    left: 12px;
    bottom: 16px;
    z-index: 9998;
    transition: bottom 0.25s ease, opacity 0.25s ease;
}

.wpx-toc-sticky.is-visible {
    display: block;
}

body.wpx-floating-cta-active .wpx-toc-sticky {
    bottom: 78px;
}

.wpx-toc-sticky-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--wpx-primary);
    color: var(--wpx-white);
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    line-height: 1;
}

.wpx-toc-sticky-icon::before {
    content: "☰";
    font-size: 15px;
}

.wpx-toc-sheet {
    position: fixed;
    inset: 0;
    z-index: 10001;
    pointer-events: none;
    visibility: hidden;
}

.wpx-toc-sheet.is-open {
    pointer-events: auto;
    visibility: visible;
}

.wpx-toc-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wpx-toc-sheet.is-open .wpx-toc-sheet-backdrop {
    opacity: 1;
}

.wpx-toc-sheet-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 70vh;
    background: var(--wpx-white);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.wpx-toc-sheet.is-open .wpx-toc-sheet-panel {
    transform: translateY(0);
}

.wpx-toc-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    padding: 14px 16px;
    background: var(--wpx-primary);
    color: var(--wpx-white);
}

.wpx-toc-sheet-title {
    font-size: 15px;
    font-weight: 700;
}

.wpx-toc-sheet-close {
    background: none;
    border: none;
    color: var(--wpx-white);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}

.wpx-toc-sheet .wpx-toc-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 16px 20px;
}

.wpx-toc-sheet .wpx-toc-list > .toc-h2 > a {
    font-size: 13px;
    padding: 6px 0;
    gap: 8px;
}

.wpx-toc-sheet .wpx-toc-list > .toc-h2 > a::before {
    width: 22px;
    height: 22px;
    font-size: 11px;
}

.wpx-toc-sheet .toc-sub {
    padding-left: 28px;
}

.wpx-toc-sheet .toc-h3 a {
    font-size: 12px;
    padding: 4px 0;
}

@media (max-width: 921px) {
    /* モバイル: 本文内インライン目次を非表示（スティッキーUIに委譲） */
    .wpx-toc--inline {
        display: none;
    }
}

@media (min-width: 922px) {
    .wpx-toc-sticky,
    .wpx-toc-sheet {
        display: none !important;
    }
}


/* ============================================
   Firstview CTA (アイキャッチ直後)
   ============================================ */
.wpx-fv-cta {
    margin: 16px 0 24px;
    text-align: center;
}

.wpx-fv-cta-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 16px 24px;
    background: var(--wpx-accent);
    color: var(--wpx-white) !important;
    font-size: 17px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.wpx-fv-cta-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
    animation: wpx-shine 2.4s infinite;
}

.wpx-fv-cta-btn:hover {
    background: #A8842F !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(199, 162, 72, 0.4);
}

/* ============================================
   Floating CTA Bar (モバイル下部固定)
   ============================================ */
.wpx-floating-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 10px 16px 12px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
}

.wpx-floating-cta.is-visible {
    display: block;
}

.wpx-floating-cta-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 20px;
    background: var(--wpx-accent);
    color: var(--wpx-white) !important;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: background 0.2s;
}

.wpx-floating-cta-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
    animation: wpx-shine 2.4s infinite;
}

.wpx-floating-cta-close {
    position: absolute;
    top: 6px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 2px 6px;
}

@media (min-width: 922px) {
    .wpx-floating-cta {
        display: none !important;
    }
}

/* ============================================
   Responsive: Tablet (921px以下)
   ============================================ */
@media (max-width: 921px) {

    /* ホームページ: カードグリッド2列 */
    .wpx-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

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

    /* フローティングシェアバー非表示 */
    .wpx-share-floating {
        display: none;
    }

    #primary {
        padding: 20px;
    }

    .wpx-article-title {
        font-size: 22px;
    }

    /* ★ Single: 2カラム → 1カラム */
    .wpx-single-wrap {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
        gap: 20px;
    }

    .wpx-single-main {
        max-width: 100%;
        width: 100%;
        padding: 25px 20px;
    }

    #secondary.wpx-single-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        position: static;
    }

    /* コンテナのリセット */
    .single .site-content>.wpx-container {
        padding: 0 10px;
    }
}

/* ============================================
   Responsive: スマホ (544px以下)
   ============================================ */
@media (max-width: 544px) {

    /* ホームページ: カードグリッド1列 */
    .wpx-posts-grid {
        grid-template-columns: 1fr;
    }

    .wpx-post-nav {
        flex-direction: column;
    }

    #primary {
        padding: 15px;
        border-radius: 0;
    }

    .wpx-article-title {
        font-size: 20px;
    }

    .wpx-share-bottom a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* ★ Single: パディングさらに縮小 */
    .wpx-single-main {
        padding: 15px 12px;
        border-radius: 0;
    }

    .wpx-single-wrap {
        padding: 0;
        gap: 10px;
    }

    #secondary.wpx-single-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    body.single #secondary.wpx-single-sidebar .widget-title {
        border-radius: 0 !important;
    }

    /* パンくずリスト: 折り返し */
    .wpx-breadcrumbs {
        font-size: 12px;
        line-height: 1.6;
    }

    /* 著者BOX */
    .wpx-author-box {
        padding: 15px;
    }

    /* コンテンツ内H2 */
    article.post .entry-content h2,
    .wpx-content h2 {
        font-size: 17px;
        padding: 12px 15px;
    }

    /* メタ情報 */
    .wpx-article-meta {
        flex-wrap: wrap;
        gap: 8px;
    }
}

/* ============================================
   Theme Overrides (Astra不要、独自テーマ用)
   ============================================ */

/* Hide default entry meta since we use custom */
.single .entry-meta {
    display: none;
}

/* Hide default post navigation */
.single .post-navigation {
    display: none;
}

/* Featured image full width */
.single .post-thumb-img-content img {
    border-radius: var(--wpx-radius);
    margin-bottom: 20px;
}

/* Google Font Import */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* ============================================
   Single Post: 2 Column Layout
   ============================================ */
.wpx-single-wrap {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
    width: 100%;
    box-sizing: border-box;
}

.wpx-single-main {
    flex: 1 1 0;
    min-width: 0;
    background: var(--wpx-white);
    border-radius: var(--wpx-radius);
    box-shadow: var(--wpx-shadow);
    padding: 35px 45px;
    box-sizing: border-box;
}

@media (min-width: 922px) {
    #secondary.wpx-single-sidebar {
        width: 320px !important;
        max-width: 320px !important;
        flex-shrink: 0;
        position: sticky;
        top: 70px;
        float: none !important;
        margin: 0 !important;
        display: block;
    }
}

/* スマホ・タブレット（921px以下）: サイドバーを縦積みに変更 */
@media (max-width: 921px) {

    /* 検索を非表示 */
    #block-2{display: none;}

    /* メインラップを縦積みにする */
    .wpx-single-wrap {
        flex-direction: column;
        padding: 15px;
        gap: 20px;
    }

    /* メイン記事エリアのパディングを縮小 */
    .wpx-single-main {
        padding: 20px 20px;
        width: 100%;
        box-sizing: border-box;
    }

    /* サイドバーをフル幅・位置固定解除 */
    #secondary.wpx-single-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        position: static !important;
        float: none !important;
        margin: 0 !important;
        display: block !important;
        box-sizing: border-box;
    }

    /* ウィジェット内コンテンツがはみ出さないよう制限 */
    #secondary.wpx-single-sidebar .widget,
    #secondary.wpx-single-sidebar .widget_search,
    #secondary.wpx-single-sidebar .widget_recent_entries,
    #secondary.wpx-single-sidebar .wpx-popular-widget {
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* 検索フォームを全幅に */
    #secondary.wpx-single-sidebar .search-form,
    #secondary.wpx-single-sidebar input[type="search"],
    #secondary.wpx-single-sidebar input[type="text"] {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* ============================================
   Recent Posts Widget (sidebar.php / single.php 直書き)
   ============================================ */
.wpx-recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wpx-recent-list li {
    border-bottom: 1px solid var(--wpx-border);
    padding: 10px 0;
    font-size: 14px;
    line-height: 1.6;
}

.wpx-recent-list li:last-child {
    border-bottom: none;
}

.wpx-recent-list li a {
    color: var(--wpx-text);
    text-decoration: none;
    transition: color 0.2s;
}

.wpx-recent-list li a:hover {
    color: var(--wpx-primary);
}

/* サイドバー内の検索フォームレイアウト */
#secondary .search-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

#secondary .search-form .search-field {
    flex: 1;
    min-width: 0;
}

#secondary .search-form .search-submit {
    flex-shrink: 0;
}

/* スマホ表示時はサイドバーの検索ウィジェットを非表示
   （ヘッダーの検索モーダルで代替） */
@media (max-width: 921px) {
    #secondary .wpx-sidebar-search {
        display: none;
    }
}

/* ============================================
   Popular Posts Widget (Custom)
   ============================================ */
.wpx-popular-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wpx-popular-item {
    border-bottom: 1px solid #f0f0f0;
}

.wpx-popular-item:last-child {
    border-bottom: none;
}

.wpx-popular-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    text-decoration: none;
    color: var(--wpx-text);
    transition: opacity 0.2s;
}

.wpx-popular-item a:hover {
    opacity: 0.75;
}

.popular-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--wpx-primary);
    color: var(--wpx-white);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.wpx-popular-item[data-rank="1"] .popular-rank {
    background: #f5c518;
}

.wpx-popular-item[data-rank="2"] .popular-rank {
    background: #aab0b5;
}

.wpx-popular-item[data-rank="3"] .popular-rank {
    background: #cd7f32;
}

.popular-thumb {
    width: 80px;
    height: 55px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.popular-info {
    flex: 1;
    min-width: 0;
}

.popular-title {
    display: block;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   Easy Table of Contents (EZ TOC) Overrides
   ============================================ */
/* 目次のボックス幅を100%に */
#ez-toc-container {
    width: 100% !important;
    max-width: 100% !important;
}

/* 目次内の不要な背景・スクエア装飾等をリセット */
.entry-content #ez-toc-container ul {
    background: transparent !important;
    padding: 0 0 0 20px !important;
    margin: 0 !important;
    border: none !important;
}

/* リストアイテムの余白リセット＆チェックマークアイコンの削除 */
.entry-content #ez-toc-container ul li {
    padding-left: 0 !important;
    margin-bottom: 6px !important;
    list-style: none !important;
}

.entry-content #ez-toc-container ul li::before {
    content: none !important;
    display: none !important;
}

/* ============================================
   ヘッダーロゴ＋サイト名スタイル
   ============================================ */

/* ロゴ＋テキストの横並びコンテナ */
.wpx-site-logo-wrap {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

.wpx-site-logo-wrap a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--wpx-text);
}

.wpx-site-logo-wrap a:hover {
    color: var(--wpx-primary-dark);
    opacity: 0.85;
}

/* ============================================
   Featured Image
   ============================================ */
.wpx-featured-image {
    margin-bottom: 20px;
}

.wpx-featured-image img,
.wpx-thumb-img {
    width: 100%;
    height: auto;
    border-radius: var(--wpx-radius);
    display: block;
}

/* ============================================
   Archive Title
   ============================================ */
.wpx-archive-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--wpx-text);
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--wpx-primary);
}

/* ============================================
   ヘッダー検索トグル（モバイル・タブレット用）
   ============================================ */

/* 検索トグルボタン：PC時は非表示 */
#wpx-search-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
}

@media (max-width: 1024px) {
    #wpx-search-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 18px;
        right: 62px;
        /* ハンバーガーメニュー(right:16px + width:40px + gap:6px)の左側に配置 */
        z-index: 999999;
        width: 40px;
        height: 40px;
        border-radius: 5px;
    }
}

#wpx-search-toggle svg {
    width: 22px;
    height: 22px;
    fill: var(--wpx-head);
    transition: fill 0.2s ease;
}

/* 検索展開時のアイコン変化 */
#wpx-search-toggle.is-active svg {
    fill: var(--wpx-primary-light);
}

/* 検索モーダル（スライドダウン） */
.wpx-search-modal {
    position: absolute;
    top: 100%;
    /* ヘッダーの真下から展開 */
    left: 0;
    width: 100%;
    background: var(--wpx-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    z-index: 99998;
}

.wpx-search-modal.is-active {
    max-height: 120px;
    opacity: 1;
}

.wpx-search-modal-inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 16px 20px;
}

/* 検索フォーム内のinputフィールドのスタイル */
.wpx-search-modal .search-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wpx-search-modal .search-field {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid var(--wpx-border);
    border-radius: var(--wpx-radius);
    font-size: 16px;
    /* iOS のズーム防止のため16px以上 */
    font-family: var(--wpx-font);
    color: var(--wpx-text);
    background: #fafafa;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.wpx-search-modal .search-field:focus {
    border-color: var(--wpx-primary);
    background: var(--wpx-white);
    box-shadow: 0 0 0 3px var(--wpx-primary-light);
}

.wpx-search-modal .search-submit {
    background: var(--wpx-primary);
    color: var(--wpx-white);
    border: none;
    border-radius: var(--wpx-radius);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
    font-family: var(--wpx-font);
}

.wpx-search-modal .search-submit:hover {
    background: var(--wpx-primary-dark);
}

/* PC表示時は検索モーダル自体を非表示にする */
@media (min-width: 1025px) {
    .wpx-search-modal {
        display: none;
    }
}

/* ============================================
   Mobile Menu (カスタムモバイルメニュー)
   ============================================ */

/* カスタムトグルのスタイル（PC時は非表示） */
#wpx-custom-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
}

@media (max-width: 1024px) {
    #wpx-custom-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 18px;
        right: 16px;
        z-index: 999999;
        width: 40px;
        height: 40px;
        border-radius: 5px;
    }
}

#wpx-custom-menu-toggle svg {
    width: 24px;
    height: 24px;
    fill: var(--wpx-head);
}

/* メニュー展開時はトグルボタンを非表示にし、重なりを防ぐ */
#wpx-custom-menu-toggle.is-hidden {
    display: none !important;
}

/* カスタムモバイルメニュー本体（右からスライドイン） */
#wpx-custom-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--wpx-white, #fff);
    z-index: 1000001;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

#wpx-custom-mobile-menu.is-open {
    right: 0;
}

/* モバイルメニュー内 翻訳ウィジェット */
#wpx-translate-wrap-mobile {
    padding: 12px 20px;
    border-bottom: 1px solid var(--wpx-border, #eee);
}

/* モバイル用翻訳バー（ヘッダー直下・固定しない） */
#wpx-translate-bar-mobile {
    display: none;
}

@media (max-width: 1024px) {
    .wpx-breadcrumbs-wrapper { margin-top:7px; }
    #wpx-translate-bar-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        background: var(--wpx-primary-dark);
        padding: 6px 16px;
        box-sizing: border-box;
    }

    #wpx-translate-bar-mobile .goog-te-gadget-simple {
        background: transparent !important;
        border: 1px solid rgba(255, 255, 255, 0.6) !important;
        border-radius: 4px !important;
        padding: 4px 8px !important;
        font-size: 13px !important;
        cursor: pointer;
    }

    #wpx-translate-bar-mobile .goog-te-gadget-simple .goog-te-menu-value,
    #wpx-translate-bar-mobile .goog-te-gadget-simple .goog-te-menu-value span {
        color: var(--wpx-white) !important;
        border: none !important;
    }
}

/* メニューヘッダー（閉じるボタン） */
.wpx-custom-menu-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--wpx-border, #eee);
}

#wpx-custom-menu-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1000002;
}

#wpx-custom-menu-close svg {
    width: 24px;
    height: 24px;
    fill: var(--wpx-head);
}

/* メニューナビゲーション */
.wpx-custom-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    flex: 1;
}

.wpx-custom-nav-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.wpx-custom-nav-menu a {
    display: block;
    padding: 16px 24px;
    color: var(--wpx-text, #333);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
}

.wpx-custom-nav-menu a:hover {
    background-color: #f5f5f5;
}

/* セール: 赤文字＋太字で目立たせる */
.wpx-custom-nav-menu .menu-item--sale > a {
    color: var(--wpx-accent);
    font-weight: 700;
}

.wpx-custom-nav-menu .menu-item--sale > a::before {
    content: "● ";
    color: var(--wpx-accent);
    margin-right: 4px;
}

/* 現在ページのハイライト */
.wpx-custom-nav-menu .current-menu-item > a {
    background-color: var(--wpx-primary-light);
    color: var(--wpx-primary-dark);
}

/* 背景のオーバーレイ */
#wpx-custom-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#wpx-custom-menu-overlay.is-open {
    display: block;
    opacity: 1;
}

/* ============================================
   カスタムアフィリエイトスタイル
   ============================================ */
/* Marker lines */
.mark_yellow {
    background: -webkit-linear-gradient(transparent 64%, #fcf69f 0%);
    background: linear-gradient(transparent 64%, #fcf69f 0%);
    font-weight: bold;
}

/* Caption Box (SWELL style) */
.cap_box {
    margin: 2em 0;
    border: solid 2px #f59b5f;
    border-radius: 2px;
    position: relative;
    background: #fff8eb;
}

.cap_box_ttl {
    display: inline-block;
    background: #f59b5f;
    color: #fff;
    padding: 0.25em 1em;
    font-weight: bold;
    position: absolute;
    top: -15px;
    left: 10px;
    border-radius: 2px;
    font-size: 0.9em;
}

.cap_box_content {
    padding: 2em 1em 1em;
}

.cap_box ul {
    list-style: none;
    padding-left: 0;
}

.cap_box ul li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
}

.cap_box ul li::before {
    content: "✓";
    color: #f59b5f;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ============================
 * 吹き出し（Dialogue Box）スタイル
 * ============================ */
.dialogue-box {
    margin-top: 25px;
    margin-bottom: 25px;
}

.dialogue-box>.wp-block-group__inner-container {
    display: flex;
    align-items: flex-start;
}

.dialogue-box .avatar {
    width: 70px;
    min-width: 70px;
    flex-shrink: 0;
    text-align: center;
}

.dialogue-box .avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eee;
    background-color: #fff;
}

.dialogue-box .avatar span.name {
    display: block;
    font-size: 11px;
    margin-top: 5px;
    color: #666;
}

.dialogue-box .text {
    background-color: #ECEFF4;
    border: 1px solid #C5CEDB;
    padding: 15px 20px;
    border-radius: 8px;
    margin-left: 15px;
    position: relative;
    line-height: 1.8;
    flex: 0 1 auto;
    width: fit-content;
    max-width: calc(100% - 85px);
    font-size: 15px;
    color: #333;
}

.dialogue-box .text p {
    margin-top: 0;
}

.dialogue-box .text p:last-child {
    margin-bottom: 0;
}

.dialogue-box .text::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 18px;
    border: 9px solid transparent;
    border-right-color: #C5CEDB;
}

.dialogue-box .text::after {
    content: "";
    position: absolute;
    left: -16px;
    top: 18px;
    border: 9px solid transparent;
    border-right-color: #ECEFF4;
}

.dialogue-box.ayano>.wp-block-group__inner-container {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

.dialogue-box.ayano .text {
    margin-left: 0;
    margin-right: 15px;
    background-color: #FBF4E8;
    border-color: #E6D2A8;
}

.dialogue-box.ayano .text::before {
    left: auto;
    right: -18px;
    border-width: 9px;
    border-color: transparent transparent transparent #E6D2A8;
}

.dialogue-box.ayano .text::after {
    left: auto;
    right: -16px;
    border-width: 9px;
    border-color: transparent transparent transparent #FBF4E8;
}

@media (max-width: 480px) {
    .dialogue-box .avatar {
        width: 55px;
        min-width: 55px;
    }

    .dialogue-box .avatar img {
        width: 48px;
        height: 48px;
    }

    .dialogue-box .text {
        padding: 12px 14px;
        margin-left: 10px;
        font-size: 14px;
        max-width: calc(100% - 65px);
    }

    .dialogue-box.ayano .text {
        margin-right: 10px;
    }
}

/* Product Info & Comparison Table */
.wpx-product-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 22px;
    margin: 24px 0 30px;
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.wpx-product-image {
    /* 画像は最大600pxまで、中央寄せ */
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.wpx-product-image-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.wpx-product-info {
    width: 100%;
}

.wpx-product-title {
    margin: 0 0 14px !important;
    padding: 0;
    font-size: 22px;
    line-height: 1.55;
}

.wpx-product-title a {
    color: #1f2937;
    text-decoration: none;
}

.wpx-product-title a:hover {
    color: #6E1F2E;
    text-decoration: underline;
}

.entry-content ul.wpx-product-meta {
    margin: 0 0 18px;
    padding: 18px 18px 16px;
    border-radius: 10px;
    background: #FBF5F3;
    border: 1px solid #EBD9DC;
}

.entry-content ul.wpx-product-meta li {
    margin-bottom: 8px;
    padding-left: 20px;
    line-height: 1.8;
    position: relative;
    list-style: none;
}

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

.entry-content ul.wpx-product-meta li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8E3142;
    font-weight: 700;
}

.wpx-product-description {
    margin-bottom: 18px;
}

.wpx-product-description p {
    margin: 0;
    line-height: 1.95;
}

.comparison-table {
    width: calc(100% - 40px);
    border-collapse: collapse;
    margin: 10px 20px 30px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    font-size: 15px;
    -webkit-overflow-scrolling: touch;
}

.comparison-table table {
    width: 100%;
    min-width: 400px;
}

.comparison-table th,
.comparison-table td {
    border: 1px solid #e0e0e0;
    padding: 12px;
    text-align: center;
}

.comparison-table th {
    background-color: #6E1F2E;
    color: #fff;
    font-weight: bold;
}

.comparison-table th a {
    color: #fff;
    text-decoration: underline;
}

.comparison-table th a:hover {
    color: #fff;
    text-decoration: none;
}

.comparison-table tr:nth-child(even) td {
    background-color: #fcfcfc;
}

@media (max-width: 600px) {
    .comparison-table {
        width: 100%;
        margin: 10px 0 20px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 8px 6px;
        font-size: 12px;
        white-space: nowrap;
    }
}

.highlight {
    font-weight: bold;
    color: #d32f2f;
}

/* SWELL Shiny Button */
.buy-button-container {
    text-align: center;
    margin: 40px 0;
}

.buy-button-container img{max-width: 100%;height: auto;}

.buy-button {
    display: inline-block;
    background-color: #ff69b4;
    /* SWELL pink CTA */
    color: #fff !important;
    padding: 18px 50px;
    font-size: 1.25em;
    font-weight: bold;
    border-radius: 40px;
    text-decoration: none;
    box-shadow: 0 4px 0 0 #db7093;
    /* Solid bottom shadow */
    position: relative;
    overflow: hidden;
    transition: 0.2s;
}

.buy-button:hover {
    transform: translateY(3px);
    box-shadow: none;
    opacity: 0.9;
}

.buy-button::before {
    position: absolute;
    content: "";
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #fff;
    animation: shiny-btn 3s ease-in-out infinite;
}

@keyframes shiny-btn {
    0% {
        transform: scale(0) rotate(45deg);
        opacity: 0;
    }

    80% {
        transform: scale(0) rotate(45deg);
        opacity: 0.5;
    }

    81% {
        transform: scale(4) rotate(45deg);
        opacity: 1;
    }

    100% {
        transform: scale(50) rotate(45deg);
        opacity: 0;
    }
}

.buy-button::after {
    content: '»';
    display: inline-block;
    color: #fff;
    padding-left: 10px;
    font-size: 20px;
}

@media (max-width: 768px) {
    .wpx-product-card {
        gap: 16px;
        padding: 16px;
    }

    .wpx-product-image {
        max-width: 100%;
    }

    .wpx-product-title {
        font-size: 18px;
    }

    .entry-content ul.wpx-product-meta {
        padding: 14px 14px 12px;
    }
}

/* ============================================
   dl.wpx-product-meta（商品メタ情報 定義リスト）
   ============================================ */
dl.wpx-product-meta {
    margin: 0 0 18px;
    padding: 14px 18px 12px;
    border-radius: 10px;
    background: #FBF5F3;
    border: 1px solid #EBD9DC;
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 4px 12px;
    font-size: 14px;
    line-height: 1.8;
}

dl.wpx-product-meta dt {
    font-weight: 600;
    color: var(--wpx-text-light);
    white-space: nowrap;
}

dl.wpx-product-meta dd {
    margin: 0;
    color: var(--wpx-text);
}

/* ============================================
   商品画像スライダー (wpx-product-slider)
   ============================================ */
.wpx-product-slider {
    position: relative;
    width: 100%;
    user-select: none;
    -webkit-user-select: none;
}

/* スライドトラック */
.wpx-product-slider-track {
    width: 100%;
    overflow: hidden;
}

/* 各スライドアイテム（デフォルト非表示） */
.wpx-product-slider-item {
    display: none;
}

/* アクティブなスライドをフェード＋わずかなズームで表示 */
.wpx-product-slider-item.is-active {
    display: block;
    animation: wpxSliderFadeIn 0.45s ease;
}

@keyframes wpxSliderFadeIn {
    from {
        opacity: 0;
        transform: scale(0.97);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 前後ナビゲーションボタン群：トラック上に絶対配置 */
.wpx-product-slider-nav {
    position: absolute;
    /* ドットインジケーター領域(約28px)を除いた高さでボタンを中央配置 */
    top: 0;
    left: 0;
    right: 0;
    bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
    padding: 0 4px;
}

/* 前後ボタン共通 */
.wpx-product-slider-prev,
.wpx-product-slider-next {
    pointer-events: all;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.wpx-product-slider-prev:hover,
.wpx-product-slider-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* ドットインジケーター */
.wpx-product-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 8px 0 4px;
}

.wpx-product-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    display: inline-block;
    flex-shrink: 0;
}

.wpx-product-slider-dot.is-active {
    background: var(--wpx-primary);
    transform: scale(1.35);
}

/* ============================================
   商品サンプル動画 (wpx-product-sample-video)
   ============================================ */

/* ラッパー：商品画像と同じ幅・中央揃えに統一 */
.wpx-product-sample-video {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 4px;
}

/* 「サンプル動画」ラベル */
.wpx-product-sample-video-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--wpx-text-light);
    margin: 0 0 6px;
}

.wpx-product-sample-video-label::before {
    content: "▶";
    font-size: 11px;
    color: var(--wpx-primary);
}

/* video 要素本体 */
.wpx-product-sample-video-player {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    background: #000;
    /* 画像スライダーと同じ角丸に揃える */
}

@media (max-width: 768px) {
    .wpx-product-sample-video {
        max-width: 100%;
    }
}

/* Hide ETOC on single pages to prevent duplicate TOC */
.single #ez-toc-container {
    display: none !important;
}

/* ============================================
   Rinker Styles (from inline output)
   ============================================ */
.yyi-rinker-images {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

div.yyi-rinker-image img.yyi-rinker-main-img.hidden {
    display: none;
}

.yyi-rinker-images-arrow {
    cursor: pointer;
    position: absolute;
    top: 50%;
    display: block;
    margin-top: -11px;
    opacity: 0.6;
    width: 22px;
}

.yyi-rinker-images-arrow-left {
    left: -10px;
}

.yyi-rinker-images-arrow-right {
    right: -10px;
}

.yyi-rinker-images-arrow-left.hidden {
    display: none;
}

.yyi-rinker-images-arrow-right.hidden {
    display: none;
}

div.yyi-rinker-contents.yyi-rinker-design-tate div.yyi-rinker-box {
    flex-direction: column;
}

div.yyi-rinker-contents.yyi-rinker-design-slim div.yyi-rinker-box .yyi-rinker-links {
    flex-direction: column;
}

div.yyi-rinker-contents.yyi-rinker-design-slim div.yyi-rinker-info {
    width: 100%;
}

div.yyi-rinker-contents.yyi-rinker-design-slim .yyi-rinker-title {
    text-align: center;
}

div.yyi-rinker-contents.yyi-rinker-design-slim .yyi-rinker-links {
    text-align: center;
}

div.yyi-rinker-contents.yyi-rinker-design-slim .yyi-rinker-image {
    margin: auto;
}

div.yyi-rinker-contents.yyi-rinker-design-slim div.yyi-rinker-info ul.yyi-rinker-links li {
    align-self: stretch;
}

div.yyi-rinker-contents.yyi-rinker-design-slim div.yyi-rinker-box div.yyi-rinker-info {
    padding: 0;
}

div.yyi-rinker-contents.yyi-rinker-design-slim div.yyi-rinker-box {
    flex-direction: column;
    padding: 14px 5px 0;
}

.yyi-rinker-design-slim div.yyi-rinker-box div.yyi-rinker-info {
    text-align: center;
}

.yyi-rinker-design-slim div.price-box span.price {
    display: block;
}

div.yyi-rinker-contents.yyi-rinker-design-slim div.yyi-rinker-info div.yyi-rinker-title a {
    font-size: 16px;
}

div.yyi-rinker-contents.yyi-rinker-design-slim ul.yyi-rinker-links li.amazonkindlelink:before,
div.yyi-rinker-contents.yyi-rinker-design-slim ul.yyi-rinker-links li.amazonlink:before,
div.yyi-rinker-contents.yyi-rinker-design-slim ul.yyi-rinker-links li.rakutenlink:before,
div.yyi-rinker-contents.yyi-rinker-design-slim ul.yyi-rinker-links li.yahoolink:before,
div.yyi-rinker-contents.yyi-rinker-design-slim ul.yyi-rinker-links li.mercarilink:before {
    font-size: 12px;
}

div.yyi-rinker-contents.yyi-rinker-design-slim ul.yyi-rinker-links li a {
    font-size: 13px;
}

.entry-content ul.yyi-rinker-links li {
    padding: 0;
}

div.yyi-rinker-contents .yyi-rinker-attention.attention_desing_right_ribbon {
    width: 89px;
    height: 91px;
    position: absolute;
    top: -1px;
    right: -1px;
    left: auto;
    overflow: hidden;
}

div.yyi-rinker-contents .yyi-rinker-attention.attention_desing_right_ribbon span {
    display: inline-block;
    width: 146px;
    position: absolute;
    padding: 4px 0;
    left: -13px;
    top: 12px;
    text-align: center;
    font-size: 12px;
    line-height: 24px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

div.yyi-rinker-contents .yyi-rinker-attention.attention_desing_right_ribbon {
    background: none;
}

.yyi-rinker-attention.attention_desing_right_ribbon .yyi-rinker-attention-after,
.yyi-rinker-attention.attention_desing_right_ribbon .yyi-rinker-attention-before {
    display: none;
}

div.yyi-rinker-use-right_ribbon div.yyi-rinker-title {
    margin-right: 2rem;
}

/* ============================================
   Customizing Rinker & Other (from wp-custom-css)
   ============================================ */
div.yyi-rinker-contents {
    border: none;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.18);
}

div.yyi-rinker-image {
    margin-right: 15px;
}

.yyi-rinker-img-m .yyi-rinker-image {
    width: 140px;
    min-width: 140px;
}

div.yyi-rinker-contents div.yyi-rinker-info {
    width: calc(100% - 160px);
}

div.yyi-rinker-contents div.yyi-rinker-title p {
    margin: 0;
}

div.yyi-rinker-contents div.yyi-rinker-title a {
    color: #008db7;
    font-size: .9em;
}

div.yyi-rinker-contents div.yyi-rinker-detail {
    padding: 0;
    margin: 5px 0 0;
    font-size: 10px;
    color: #626262;
    opacity: .7;
    font-family: 'Avenir', sans-serif;
    line-height: 2;
}

span.price {
    font-size: 1.8em;
}

.price-box span:nth-child(n+2) {
    display: none;
}

div.yyi-rinker-contents ul.yyi-rinker-links {
    margin: 0;
}

div.yyi-rinker-contents ul.yyi-rinker-links li {
    margin: 8px 8px 0 0;
    box-shadow: none;
    border-radius: 3px;
}

div.yyi-rinker-contents ul.yyi-rinker-links li.amazonlink,
div.yyi-rinker-contents ul.yyi-rinker-links li.rakutenlink,
div.yyi-rinker-contents ul.yyi-rinker-links li.yahoolink {
    background: none;
}

div.yyi-rinker-contents ul.yyi-rinker-links li a {
    font-weight: 500;
    font-size: 13px;
    height: 44px;
    line-height: 44px;
    padding: 0 15px;
    border-radius: 3px;
}

div.yyi-rinker-contents ul.yyi-rinker-links li.amazonlink a {
    background: #FFB74D;
}

div.yyi-rinker-contents ul.yyi-rinker-links li.rakutenlink a {
    background: #FF5252;
}

div.yyi-rinker-contents ul.yyi-rinker-links li.yahoolink a {
    background: #3AADF4;
}

div.yyi-rinker-contents ul.yyi-rinker-links li:hover {
    box-shadow: none;
}

div.yyi-rinker-contents ul.yyi-rinker-links li a:hover {
    opacity: 1;
    -webkit-transform: translateY(3px);
    transform: translateY(3px);
}

@media screen and (max-width: 800px) {
    div.yyi-rinker-contents div.yyi-rinker-box {
        display: block;
        text-align: center;
    }

    div.yyi-rinker-contents div.yyi-rinker-image {
        margin: auto;
    }

    div.yyi-rinker-contents div.yyi-rinker-info {
        display: block;
        margin-top: 5px;
        width: 100%;
    }

    div.yyi-rinker-contents ul.yyi-rinker-links li {
        margin: 5px 0;
        box-shadow: none;
        border-radius: 3px;
    }
}

@media (max-width: 420px) and (min-width: 321px) {
    body div.yyi-rinker-contents ul.yyi-rinker-links li a {
        padding: 0;
    }
}

/**
 * 図のキャプション
 * */
figcaption {
    font-size: small;
    text-align: center;
}

/************************************
** アフィリエイト用のボタン①
************************************/
.af_button>a {
    display: block;
    position: relative;
    padding: 10px 10px;
    margin: 20px auto;
    background-color: #ff69b4;
    /*#3cb371;*/
    /*ボタンの色*/
    box-shadow: 0 3px 0 0 #db7093;
    /*#47885e;*/
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    transition: 0.2s;
}

.af_button>a:hover {
    text-decoration: none;
    color: #fff;
    opacity: 0.7;
    box-shadow: none;
    -webkit-transform: translateY(3px);
}

.af_button>a::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #fff;
    animation: shiny-btn4 3s ease-in-out infinite;
}

@-webkit-keyframes shiny-btn4 {
    0% {
        -webkit-transform: scale(0) rotate(45deg);
        opacity: 0;
    }

    80% {
        -webkit-transform: scale(0) rotate(45deg);
        opacity: 0.5;
    }

    81% {
        -webkit-transform: scale(4) rotate(45deg);
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(50) rotate(45deg);
        opacity: 0;
    }
}

/* テキストの後ろにarrow */
.af_button a:after {
    content: '»';
    display: inline-block;
    color: #fff;
    padding-left: 10px;
    font-size: 20px;
}

.af_copy_top {
    display: block;
    text-align: center;
    font-weight: bold;
    margin-top: 0.5em !important;
    margin-bottom: 0.5em;
}

.af_copy_bottom {
    display: block;
    text-align: center;
    color: #333333;
    font-weight: bold;
    margin-top: -2em !important;
    padding-bottom: 3em;
}

.af_emp {
    font-size: 20px;
    color: red;
}

/************************************
**appreach
************************************/
.appreach {
    text-align: left;
    padding: 10px;
    border: 1px solid #7C7C7C;
    overflow: hidden;
}

.appreach:after {
    content: "";
    display: block;
    clear: both;
}

.appreach p {
    margin: 0;
}

.appreach a:after {
    display: none;
}

.appreach__icon {
    float: left;
    border-radius: 10%;
    overflow: hidden;
    margin: 0 3% 0 0 !important;
    width: 25% !important;
    height: auto !important;
    max-width: 120px !important;
}

.appreach__detail {
    display: inline-block;
    font-size: 20px;
    line-height: 1.5;
    width: 72%;
    max-width: 72%;
}

.appreach__detail:after {
    content: "";
    display: block;
    clear: both;
}

.appreach__name {
    font-size: 16px;
    line-height: 1.5em !important;
    max-height: 3em;
    overflow: hidden;
}

.appreach__info {
    font-size: 12px !important;
}

.appreach__developper,
.appreach__price {
    margin-right: 0.5em;
}

.appreach__posted a {
    margin-left: 0.5em;
}

.appreach__links {
    float: left;
    height: 40px;
    margin-top: 8px;
    white-space: nowrap;
}

.appreach__aslink img {
    margin-right: 10px;
    height: 40px;
    width: 135px;
}

.appreach__gplink img {
    height: 40px;
    width: 134.5px;
}

.appreach__star {
    position: relative;
    font-size: 14px !important;
    height: 1.5em;
    width: 5em;
}

.appreach__star__base {
    position: absolute;
    color: #737373;
}

.appreach__star__evaluate {
    position: absolute;
    color: #ffc107;
    overflow: hidden;
    white-space: nowrap;
}

/************************************
** table press
************************************/
.tablepress thead th {
    background-color: #6E1F2E;
    color: #fff;
    text-align: center;
    font-weight: bold;
}

/************************************
** google mapレスポンシブ対応
************************************/
.gmap {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
}

.gmap iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

/************************************
** Contact Form 7
************************************/
.wpcf7 {
    background: var(--wpx-white);
    padding: 40px;
    border-radius: var(--wpx-radius);
    box-shadow: var(--wpx-shadow);
    margin: 2em 0;
}

.wpcf7 form.wpcf7-form {
    font-family: var(--wpx-font);
}

.wpcf7-form p {
    margin-bottom: 25px;
}

.wpcf7-form label {
    display: block;
    font-weight: 600;
    color: var(--wpx-head);
    font-size: 15px;
    width: 100%;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--wpx-border);
    border-radius: var(--wpx-radius);
    font-size: 16px;
    color: var(--wpx-text);
    background-color: #fafafa;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
    margin-top: 8px;
    margin-bottom: 0px;
    font-family: inherit;
    display: block;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    border-color: var(--wpx-primary);
    background-color: var(--wpx-white);
    box-shadow: 0 0 0 3px var(--wpx-primary-light);
    outline: none;
}

.wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

.wpcf7-form input[type="submit"] {
    background-color: var(--wpx-accent);
    color: var(--wpx-white);
    border: none;
    border-radius: 50px;
    padding: 14px 40px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 30px auto 0;
    box-shadow: 0 3px 8px rgba(199, 162, 72, 0.3);
    font-family: inherit;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #A8842F;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(199, 162, 72, 0.4);
}

.wpcf7-spinner {
    display: block !important;
    margin: 10px auto 0;
}

.wpcf7 form .wpcf7-response-output {
    border-radius: var(--wpx-radius);
    margin: 2em 0 0;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: bold;
}

/* メッセージのステータスに応じた色分け */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: #ffb900;
    color: #8c6600;
    background-color: #fff8e5;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    border-color: #dc3232;
    color: #b32d2e;
    background-color: #fbeaea;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    color: #2b7d34;
    background-color: #ebf6ec;
}

/* 必須項目のエラーメッセージ */
.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 13px;
    margin-top: 5px;
    display: block;
    font-weight: 600;
}

@media (max-width: 768px) {
    .wpcf7 {
        padding: 25px 20px;
    }

    .wpcf7-form input[type="submit"] {
        max-width: 100%;
    }
}

/* ============================================
   Home Site Intro (Top Page)
   ============================================ */
.wpx-site-intro-box {
    text-align: center;
    padding: 50px 30px 40px;
    margin-bottom: 40px;
    background: var(--wpx-white);
    border-radius: var(--wpx-radius);
    box-shadow: var(--wpx-shadow);
    border-top: 4px solid var(--wpx-head);
}

.wpx-site-intro-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--wpx-head);
    margin: 0 0 25px;
    letter-spacing: 0.08em;
    position: relative;
    display: inline-block;
}

.wpx-site-intro-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--wpx-primary);
}

.wpx-site-intro-desc {
    font-size: 15px;
    line-height: 2.2;
    color: var(--wpx-text);
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
    text-justify: inter-ideograph;
}

@media (max-width: 768px) {
    .wpx-site-intro-box {
        padding: 35px 20px 30px;
        margin-bottom: 30px;
    }

    .wpx-site-intro-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .wpx-site-intro-desc {
        font-size: 14px;
        line-height: 2;
        text-align: left;
    }
}

.wpx-title-br::before {
    content: none;
}
@media (min-width: 920px) {
    .wpx-title-br::before {
        content: '\A';
        white-space: pre;
    }
}

/* ============================================
   免責事項ボックス
   ============================================ */
.disclaimer-box {
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 8px;
    font-size: 0.9em;
    color: #555;
    margin-bottom: 30px;
}

.disclaimer-box .disclaimer-title {
    font-weight: bold;
    margin: 0 0 -10px;
    color: #333;
}

.disclaimer-box .disclaimer-body {
    margin-bottom: 0;
}

/* ============================================
   編集後記ボックス
   ============================================ */
.editors-note-box {
    background-color: #eef7ee;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #4CAF50;
    margin-bottom: 30px;
}

.editors-note-box .editors-note-title {
    font-weight: bold;
    margin: 0;
    color: #2e7d32;
    font-size: 1.1em;
}

.editors-note-box .editors-note-body {
    margin-bottom: 0;
}

/* ============================================
   レシピボックス
   ============================================ */
.recipe-box {
    background-color: #fef8f5;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #ff7f50;
    margin: 30px 0;
}

.recipe-box .recipe-title {
    margin-top: 0;
    color: #ff7f50;
    border: 0;
}

/* ==== 運営者情報ウィジェット ==== */
.operator-profile {
    text-align: center;
}

.operator-profile .operator-avatar {
    width: 80%;
    max-width: 200px;
    height: auto;
}

.operator-profile .operator-name {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.operator-profile .operator-desc {
    font-size: 0.85em;
    color: #555;
    line-height: 1.7;
    text-align: left;
    margin: 0;
}

/* ============================================
   SEO/AIO: 「この記事の要点」要約ブロック（H1直下）
   ============================================ */
.wpx-aio-summary {
    margin: 18px 0 22px;
    padding: 14px 18px 14px 18px;
    background: #FBF5F3;
    border-left: 5px solid #6E1F2E;
    border-radius: 4px;
    box-shadow: 0 1px 0 rgba(0,0,0,.03);
}

.wpx-aio-summary-label {
    display: inline-block;
    background: #6E1F2E;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 8px;
    letter-spacing: .05em;
}

.wpx-aio-summary-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: #333;
}

@media (max-width: 600px) {
    .wpx-aio-summary {
        margin: 14px 0 18px;
        padding: 12px 14px;
    }
    .wpx-aio-summary-text {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* ============================================
   SEO/AIO: 著者プロフィールBOX 補助スタイル
   （既存 .wpx-author-box は維持。author-label のみ新規）
   ============================================ */
.wpx-author-box .author-label {
    display: inline-block;
    background: var(--wpx-primary, #6E1F2E);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 3px;
    margin-bottom: 14px;
    letter-spacing: .05em;
}

/* ============================================
   SEO/AIO: 日付ラベル（「公開」「更新」）
   ============================================ */
.wpx-date-label {
    display: inline-block;
    background: #F3E7EA;
    color: #6E1F2E;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
    margin-right: 5px;
    letter-spacing: .05em;
}

.wpx-date--modified .wpx-date-label {
    background: #fff4e5;
    color: #c97200;
}

/* ============================================
   CTA Button Variants (A/B 素地)
   ============================================ */

/* Primary: ファーストビュー / 記事末まとめ用。FANZA accent をベースに pulse は base から継承 */
.wpx-cta-btn.wpx-cta-primary {
    background: linear-gradient(135deg, #C7A248 0%, #A8842F 100%) !important;
    box-shadow: 0 4px 12px rgba(199, 162, 72, 0.45);
}

.wpx-cta-btn.wpx-cta-primary:hover {
    background: linear-gradient(135deg, #A8842F 0%, #8C6A24 100%) !important;
    box-shadow: 0 6px 18px rgba(199, 162, 72, 0.55);
}

/* Secondary: 中間CTA（無料サンプル誘導）。アウトライン＋ホバーで塗りつぶし */
.wpx-cta-btn.wpx-cta-secondary {
    background: #fff !important;
    color: #C7A248 !important;
    border: 2px solid #C7A248;
    box-shadow: 0 2px 6px rgba(199, 162, 72, 0.2);
    animation: none;
}

.wpx-cta-btn.wpx-cta-secondary::before {
    display: none;
}

.wpx-cta-btn.wpx-cta-secondary:hover {
    background: #C7A248 !important;
    color: #fff !important;
    box-shadow: 0 5px 14px rgba(199, 162, 72, 0.35);
}

/* Internal: セール固定ページ（Post 580）等の自サイト内回遊用。ティール系で外部CTAと判別 */
.wpx-cta-btn.wpx-cta-internal {
    background: linear-gradient(135deg, #16a085 0%, #0e7361 100%) !important;
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(22, 160, 133, 0.35);
    animation: none;
}

.wpx-cta-btn.wpx-cta-internal::before {
    display: none;
}

.wpx-cta-btn.wpx-cta-internal:hover {
    background: linear-gradient(135deg, #0e7361 0%, #095749 100%) !important;
    box-shadow: 0 6px 16px rgba(22, 160, 133, 0.45);
}

/* 見放題ch: 女優別の月額見放題chへの継続報酬導線。パープル系で単品購入(金)・セール(ティール)と判別 */
.wpx-cta-btn.wpx-cta-mihodai {
    background: linear-gradient(135deg, #8e44ad 0%, #6c3483 100%) !important;
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(142, 68, 173, 0.35);
    animation: none;
}

.wpx-cta-btn.wpx-cta-mihodai::before {
    display: none;
}

.wpx-cta-btn.wpx-cta-mihodai:hover {
    background: linear-gradient(135deg, #6c3483 0%, #512e5f 100%) !important;
    box-shadow: 0 6px 16px rgba(142, 68, 173, 0.45);
}

/* ============================================
   FAQ Section (FAQPage schema 連動)
   ============================================ */
.wpx-faq {
    margin: 24px 0 32px;
    background: #f9fafc;
    border: 1px solid #e1e7ef;
    border-radius: 12px;
    padding: 8px 24px 16px;
}

.wpx-faq h3 {
    font-size: 17px;
    font-weight: 700;
    color: #6E1F2E;
    margin: 20px 0 10px;
    padding-left: 32px;
    position: relative;
    line-height: 1.5;
}

.wpx-faq h3::before {
    content: "Q";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #6E1F2E;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.wpx-faq h3:first-child {
    margin-top: 8px;
}

.wpx-faq p {
    margin: 0 0 16px 32px;
    color: #333;
    line-height: 1.7;
    position: relative;
}

.wpx-faq p::before {
    content: "A";
    position: absolute;
    left: -32px;
    top: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #C7A248;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.wpx-faq p a {
    color: #6E1F2E;
    text-decoration: underline;
}

.wpx-faq p a:hover {
    color: #6E1F2E;
}

@media (max-width: 600px) {
    .wpx-faq {
        padding: 8px 16px 12px;
    }
    .wpx-faq h3 {
        font-size: 15px;
        padding-left: 28px;
    }
    .wpx-faq h3::before {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
    .wpx-faq p {
        margin-left: 28px;
        font-size: 14px;
    }
    .wpx-faq p::before {
        left: -28px;
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
}

/* ============================================
   Phase 1.7: タクソノミー導線・女優プロフィール
   ============================================ */

.wpx-term-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    margin-right: 6px;
    margin-bottom: 4px;
    transition: opacity 0.2s;
}

.wpx-term-badge:hover {
    opacity: 0.85;
    color: inherit;
}

.wpx-term-actress {
    background: #fce4ec;
    color: #880e4f;
    border: 1px solid #f48fb1;
}

.wpx-term-series {
    background: #e8eaf6;
    color: #1a237e;
    border: 1px solid #9fa8da;
}

.wpx-term-maker {
    background: #e0f2f1;
    color: #004d40;
    border: 1px solid #80cbc4;
}

.wpx-tax-index-header {
    margin-bottom: 24px;
}

.wpx-tax-index-nav {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wpx-tax-index-sort,
.wpx-tax-index-initial {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.wpx-tax-index-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--wpx-text-light);
    margin-right: 4px;
}

.wpx-tax-index-link {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid var(--wpx-border);
    border-radius: 3px;
    font-size: 13px;
    text-decoration: none;
    color: var(--wpx-text);
    transition: all 0.2s;
}

.wpx-tax-index-link.is-active,
.wpx-tax-index-link:hover {
    background: var(--wpx-primary-light);
    border-color: var(--wpx-primary);
    color: var(--wpx-primary);
}

.wpx-tax-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

/* 一覧ページは #primary が透明化されるため、外側コンテナでフッター前の余白を確保 */
.site-content > .wpx-tax-index-container {
    padding-bottom: 64px;
}

.wpx-tax-index-card a {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--wpx-border);
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.wpx-tax-index-card a:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wpx-tax-index-thumb-wrap {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}

.wpx-tax-index-thumb-wrap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 28px;
    margin: -14px 0 0 -14px;
    border: 3px solid #e0e0e0;
    border-top-color: var(--wpx-primary);
    border-radius: 50%;
    animation: wpx-spin 0.8s linear infinite;
}

.wpx-tax-index-thumb {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes wpx-spin {
    to { transform: rotate(360deg); }
}

.wpx-tax-index-body {
    padding: 10px 12px;
}

.wpx-tax-index-name {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
    line-height: 1.3;
}

.wpx-tax-index-count {
    font-size: 12px;
    color: var(--wpx-text-light);
    margin: 0;
}

/* 同じ行のカード高さを揃える */
.wpx-tax-index-card {
    display: flex;
}

.wpx-tax-index-card > a {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* メーカー / シリーズ カード装飾（アイコン + カラーアクセント） */
.wpx-tax-index-card--maker a,
.wpx-tax-index-card--series a {
    position: relative;
    padding: 14px 14px 14px 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    border-left-width: 4px;
    border-left-style: solid;
}

.wpx-tax-index-card--maker a {
    border-left-color: var(--wpx-primary);
}

.wpx-tax-index-card--series a {
    border-left-color: #d98a3d;
}

.wpx-tax-index-card--maker a:hover,
.wpx-tax-index-card--series a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.wpx-tax-index-card--maker a,
.wpx-tax-index-card--series a {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wpx-tax-index-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    margin-bottom: 8px;
}

.wpx-tax-index-card--maker .wpx-tax-index-icon {
    background: var(--wpx-primary-light);
    color: var(--wpx-primary-dark);
}

.wpx-tax-index-card--series .wpx-tax-index-icon {
    background: #fbeedd;
    color: #b56a1f;
}

.wpx-tax-index-card--maker .wpx-tax-index-body,
.wpx-tax-index-card--series .wpx-tax-index-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.wpx-tax-index-card--maker .wpx-tax-index-name,
.wpx-tax-index-card--series .wpx-tax-index-name {
    font-size: 14px;
    line-height: 1.35;
    margin: 0 0 8px;
}

.wpx-tax-index-card--maker .wpx-tax-index-count,
.wpx-tax-index-card--series .wpx-tax-index-count {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    margin-top: auto;
    align-self: flex-start;
}

.wpx-tax-index-card--maker .wpx-tax-index-count {
    background: var(--wpx-primary-light);
    color: var(--wpx-primary-dark);
}

.wpx-tax-index-card--series .wpx-tax-index-count {
    background: #fbeedd;
    color: #b56a1f;
}

.wpx-tax-index-count-num {
    font-size: 13px;
    font-weight: 700;
}

.wpx-actress-profile {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 0;
}

.wpx-actress-profile-media {
    flex-shrink: 0;
}

.wpx-actress-profile-photo {
    width: 180px;
    max-width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--wpx-border);
}

.wpx-actress-profile-body {
    flex: 1;
    min-width: 220px;
}

.wpx-actress-profile-table {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 20px;
    margin: 16px 0;
    padding: 16px 18px;
    font-size: 14px;
    background: var(--wpx-primary-light);
    border-radius: var(--wpx-radius);
    border: 1px solid rgba(110, 31, 46, 0.25);
}

.wpx-actress-profile-table dt {
    font-weight: 600;
    color: var(--wpx-primary-dark);
    margin: 0;
    white-space: nowrap;
}

.wpx-actress-profile-table dd {
    margin: 0;
    color: var(--wpx-text);
}

.wpx-actress-official-link {
    margin: 16px 0 0;
}

.wpx-actress-official-link a,
.wpx-btn-official {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--wpx-primary) 0%, var(--wpx-primary-dark) 100%);
    color: var(--wpx-white) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 3px 10px rgba(110, 31, 46, 0.35);
}

.wpx-btn-official-label {
    line-height: 1.2;
}

.wpx-btn-official::after {
    content: "\2197";
    font-size: 13px;
    opacity: 0.9;
}

.wpx-actress-official-link a:hover,
.wpx-btn-official:hover {
    transform: translateY(-1px);
    color: var(--wpx-white) !important;
    box-shadow: 0 6px 16px rgba(110, 31, 46, 0.45);
}

.wpx-actress-profile--fallback .wpx-actress-profile-photo {
    opacity: 0.85;
}

.wpx-archive-meta-ruby {
    font-size: 12px;
    color: var(--wpx-text-light);
    font-weight: 500;
}

.wpx-archive-intro {
    margin: 0 0 12px;
    padding: 10px 14px;
    background: var(--wpx-white);
    border-left: 3px solid var(--wpx-primary);
    border-radius: 0 var(--wpx-radius) var(--wpx-radius) 0;
    font-size: 13px;
    color: var(--wpx-text-light);
    line-height: 1.6;
}

.wpx-tax-archive-header {
    background: var(--wpx-white);
    border: 1px solid var(--wpx-border);
    border-radius: 10px;
    box-shadow: var(--wpx-shadow);
    padding: 28px 32px;
    margin-bottom: 36px;
}

.wpx-tax-archive-header .wpx-archive-title {
    font-size: 22px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom-width: 2px;
}

.wpx-actress-profile-body .wpx-archive-title {
    margin-top: 0;
}

.wpx-archive-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.5;
}

.wpx-archive-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--wpx-bg);
    border: 1px solid var(--wpx-border);
    border-radius: 999px;
    color: var(--wpx-text-light);
}

.wpx-archive-meta-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--wpx-primary-dark);
    letter-spacing: 0.02em;
}

.wpx-archive-meta-item strong {
    color: var(--wpx-text);
    font-weight: 700;
}

.wpx-archive-description {
    margin-top: 4px;
    padding: 16px 18px;
    background: var(--wpx-bg);
    border: 1px solid var(--wpx-border);
    border-radius: var(--wpx-radius);
    font-size: 14px;
    line-height: 1.75;
    color: var(--wpx-text-light);
}

.wpx-archive-description-text {
    margin: 0;
    color: var(--wpx-text);
}

.wpx-tax-works-heading {
    font-size: 18px;
    font-weight: 700;
    color: var(--wpx-text);
    margin: 0 0 20px;
    padding-left: 12px;
    border-left: 4px solid var(--wpx-primary);
    line-height: 1.4;
}

.wpx-tax-archive-header + .wpx-tax-works-heading {
    margin-top: 0;
}

.wpx-series-latest {
    margin: 16px 0;
}

.wpx-series-latest-label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.wpx-series-latest-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.wpx-series-latest-item {
    display: block;
    width: 120px;
    text-decoration: none;
    color: inherit;
}

.wpx-series-latest-thumb {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.wpx-series-latest-title {
    display: block;
    font-size: 11px;
    margin-top: 4px;
    line-height: 1.3;
}

.wpx-popular-actress-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: wpx-actress-rank;
}

.wpx-popular-actress-li {
    margin: 0;
    padding: 0;
}

.wpx-popular-actress-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 6px 10px 4px;
    border-bottom: 1px solid var(--wpx-border);
    text-decoration: none;
    color: inherit;
    transition: background-color .15s ease;
}

.wpx-popular-actress-item:hover {
    background-color: rgba(0, 0, 0, .03);
}

.wpx-popular-actress-item:hover .wpx-popular-actress-name {
    color: var(--wpx-primary);
}

.wpx-popular-actress-rank {
    flex-shrink: 0;
    width: 24px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #b8bdc4;
    letter-spacing: -.02em;
}

.wpx-popular-actress-li.is-top .wpx-popular-actress-rank {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
}

.wpx-popular-actress-li.is-rank-1 .wpx-popular-actress-rank {
    background: linear-gradient(135deg, #f6d365 0%, #d4a017 100%);
}

.wpx-popular-actress-li.is-rank-2 .wpx-popular-actress-rank {
    background: linear-gradient(135deg, #d8dee9 0%, #9ba4b0 100%);
}

.wpx-popular-actress-li.is-rank-3 .wpx-popular-actress-rank {
    background: linear-gradient(135deg, #e6a972 0%, #a16a3a 100%);
}

.wpx-popular-actress-thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    background: #f1f3f5;
}

.wpx-popular-actress-li.is-rank-1 .wpx-popular-actress-thumb {
    box-shadow: 0 0 0 2px #d4a017;
}

.wpx-popular-actress-li.is-rank-2 .wpx-popular-actress-thumb {
    box-shadow: 0 0 0 2px #9ba4b0;
}

.wpx-popular-actress-li.is-rank-3 .wpx-popular-actress-thumb {
    box-shadow: 0 0 0 2px #a16a3a;
}

.wpx-popular-actress-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.wpx-popular-actress-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wpx-popular-actress-count {
    font-size: 11px;
    color: var(--wpx-text-light);
}

.wpx-widget-more {
    margin: 10px 0 0;
    font-size: 13px;
}

@media (max-width: 600px) {
    .wpx-tax-archive-header {
        padding: 20px 18px;
        margin-bottom: 28px;
    }

    .wpx-tax-archive-header .wpx-archive-title {
        font-size: 18px;
    }

    .wpx-archive-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .wpx-actress-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .wpx-actress-profile-body {
        width: 100%;
    }

    .wpx-actress-profile-table {
        text-align: left;
    }

    .wpx-actress-profile-photo {
        width: 140px;
    }

    .wpx-tax-index-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }
}

/* ============================================
   Wine×Gold: ゴールドCTAの文字色（白だと低コントラストのため濃ワイン）
   ============================================ */
.entry-content .wp-block-button .wp-block-button__link,
.wpx-cta-btn,
.wpx-fv-cta-btn,
.wpx-floating-cta-btn,
.wpcf7-form input[type="submit"] {
    color: #3A1118 !important;
}

/* 内部回遊CTA（グリーン）は白文字を維持 */
.wpx-cta-btn.wpx-cta-internal {
    color: var(--wpx-white) !important;
}

/* セカンダリCTA（アウトライン）はゴールド文字 */
.wpx-cta-btn.wpx-cta-secondary {
    color: #8C6A24 !important;
    border-color: #C7A248 !important;
}

.wpx-cta-btn.wpx-cta-secondary:hover {
    color: #3A1118 !important;
}