/* ============================
   人妻ぷりん - Public CSS
   ボルドー × ゴールド テーマ
   モバイルファースト
   ============================ */

:root {
    --bordeaux: #800020;
    --bordeaux-dark: #5a0016;
    --bordeaux-light: #a0003a;
    --gold: #D4AF37;
    --gold-light: #e8c96d;
    --gold-dim: rgba(212, 175, 55, .15);
    --bg: #0a0006;
    --bg-card: #130010;
    --surface: #1c001a;
    --text: #f0ebe0;
    --text-muted: #b0a090;
    --text-beige: #d4b896;
    --border: rgba(212, 175, 55, .2);
    --border-subtle: rgba(255, 255, 255, .06);
    --radius: 8px;
    --cta-height: 60px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    padding-bottom: var(--cta-height);
    min-height: 100vh;
}

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

a {
    color: var(--gold);
    text-decoration: none;
}

a:hover {
    color: var(--gold-light);
}

h1,
h2,
h3,
h4 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    line-height: 1.3;
}

/* ====== Page Specific Helpers ====== */
.hero-btns-container {
    margin-top: 32px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.age-gate-page {
    padding-bottom: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(128, 0, 32, .55) 0%, #0a0006 65%);
}

.section-no-padding-top {
    padding-top: 0;
}

.section-empty-msg {
    text-align: center;
    color: var(--text-muted);
    font-size: .88rem;
    padding: 40px 0;
}

/* ====== Layout ====== */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 48px 16px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .section {
        padding: 40px 6px;
    }
}

.section-title {
    text-align: center;
    font-size: 1.25rem;
    color: var(--gold);
    letter-spacing: .14em;
    margin-bottom: 8px;
}

.section-title-en {
    text-align: center;
    font-size: .62rem;
    letter-spacing: .18em;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.section-divider {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: 8px auto 28px;
    opacity: .5;
}

/* ====== Header ====== */
.pub-header {
    background: rgba(10, 0, 6, .95);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 200;
    backdrop-filter: blur(12px);
}

.pub-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    padding: 12px 16px;
}

.pub-logo {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.05rem;
    color: var(--gold);
    letter-spacing: .16em;
    font-weight: 700;
    line-height: 1.2;
}

.pub-logo-sub {
    font-size: .58rem;
    color: var(--text-muted);
    font-weight: 300;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: .08em;
}

.pub-nav {
    display: none;
    gap: 18px;
}

@media (min-width: 768px) {
    .pub-nav {
        display: flex;
    }

    .pub-nav a {
        font-size: .78rem;
        color: var(--text-muted);
        letter-spacing: .05em;
        transition: color .2s;
    }

    .pub-nav a:hover {
        color: var(--gold);
    }

    .pub-ham {
        display: none !important;
    }
}

.pub-ham {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
}

.pub-ham span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--gold);
    transition: all .3s;
}

.pub-drawer {
    display: none;
    flex-direction: column;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

.pub-drawer.open {
    display: flex;
}

.pub-drawer a {
    padding: 14px 24px;
    font-size: .88rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle);
    transition: color .15s;
}

.pub-drawer a:hover {
    color: var(--gold);
}

/* ====== Fixed CTA bar ====== */
.pub-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--cta-height);
    display: flex;
    z-index: 300;
    border-top: 1px solid var(--border);
}

.cta-tel,
.cta-line {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
    transition: filter .2s;
}

.cta-tel {
    background: var(--bordeaux);
    color: #fff;
}

.cta-line {
    background: #00b900;
    color: #fff;
}

.cta-tel:hover,
.cta-line:hover {
    filter: brightness(1.12);
    color: #fff;
}

.cta-line svg {
    flex-shrink: 0;
}

/* ====== Page Banner ====== */
.page-banner {
    background: linear-gradient(160deg, var(--bordeaux-dark) 0%, var(--bg) 80%);
    text-align: center;
    padding: 44px 16px 32px;
    border-bottom: 1px solid var(--border);
}

.page-banner-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.3rem, 4vw, 2rem);
    color: var(--gold);
    letter-spacing: .2em;
    margin-bottom: 6px;
}

.page-banner-sub {
    font-size: .7rem;
    color: var(--text-muted);
    letter-spacing: .14em;
}

/* ====== Hero ====== */
.pub-hero {
    /* min-height: 65vh; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* padding: 60px 20px; */
    background: linear-gradient(160deg, var(--bordeaux-dark) 0%, var(--bg) 55%);
    position: relative;
    overflow: hidden;
}

.pub-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center top, rgba(212, 175, 55, .07) 0%, transparent 65%);
}

.pub-hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.8rem, 7vw, 3.2rem);
    color: var(--gold);
    letter-spacing: .22em;
    text-shadow: 0 0 30px rgba(212, 175, 55, .4);
    margin-bottom: 16px;
    position: relative;
}

.pub-hero-copy {
    font-size: clamp(.8rem, 2.5vw, .95rem);
    letter-spacing: .18em;
    color: var(--text-muted);
    line-height: 2.2;
    position: relative;
}

.pub-hero-divider {
    width: 50px;
    height: 1px;
    background: var(--gold);
    margin: 20px auto;
    opacity: .4;
    position: relative;
}

/* ====== Therapist Grid ====== */
.therapist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

@media (min-width: 500px) {
    .therapist-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .therapist-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}

.therapist-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: transform .2s, border-color .2s, box-shadow .2s;
    display: block;
}

.therapist-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, .5);
    box-shadow: 0 8px 32px rgba(128, 0, 32, .3);
    color: var(--text);
}

.therapist-card-img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    background: var(--surface);
}

.therapist-card-placeholder {
    width: 100%;
    aspect-ratio: 2/3;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--border);
    font-size: 2.5rem;
}

.therapist-card-body {
    padding: 10px 12px 14px;
}

.therapist-card-name {
    font-family: 'Noto Serif JP', serif;
    font-size: .95rem;
    margin-bottom: 2px;
}

.therapist-card-kana {
    font-size: .6rem;
    color: var(--text-muted);
    letter-spacing: .06em;
    margin-bottom: 6px;
}

.therapist-card-status {
    font-size: .7rem;
    font-weight: 600;
}

.status-working {
    color: var(--gold);
}

.status-comment {
    color: var(--text-beige);
}

.therapist-card-profile {
    font-size: .67rem;
    color: var(--text-muted);
    margin-top: 5px;
    line-height: 1.8;
}

.badge-working {
    display: inline-block;
    background: linear-gradient(135deg, var(--bordeaux), var(--bordeaux-light));
    color: #fff;
    font-size: .58rem;
    padding: 2px 8px;
    border-radius: 100px;
    font-weight: 700;
    letter-spacing: .05em;
    margin-bottom: 4px;
}

/* ====== Hero News ====== */
.hero-news {
    margin-top: 40px;
    max-width: 540px;
    width: 100%;
    position: relative;
    z-index: 10;
    background: rgba(19, 0, 16, 0.4);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    backdrop-filter: blur(4px);
}

.hero-news-title {
    font-size: 0.65rem;
    color: var(--gold);
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    text-align: center;
    opacity: 0.8;
}

.hero-news-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-news-item {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 0.82rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.hero-news-item:last-child {
    border-bottom: none;
}

.hero-news-date {
    font-size: 0.65rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.hero-news-link {
    color: var(--text);
    text-decoration: none;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
    transition: color 0.2s;
}

.hero-news-link:hover {
    color: var(--gold);
}

.hero-news-tag {
    font-size: 0.6rem;
    background: var(--bordeaux);
    color: #fff;
    padding: 1px 6px;
    border-radius: 3px;
    flex-shrink: 0;
}

/* ====== News Item Clickable ====== */
.news-item-clickable {
    cursor: pointer;
    transition: background .15s, padding-left .15s;
}

.news-item-clickable:hover {
    background: rgba(212, 175, 55, .04);
    padding-left: 8px;
}

.news-arrow {
    font-size: 1rem;
    color: var(--gold);
    opacity: 0.5;
    flex-shrink: 0;
    margin-left: auto;
}

/* ====== News Modal ====== */
.news-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
    animation: none;
}

.news-modal-overlay.open {
    display: flex;
    animation: modalFadeIn .25s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.news-modal-window {
    background: linear-gradient(150deg, #1a0015 0%, var(--bg) 100%);
    border: 1px solid rgba(212, 175, 55, .3);
    border-radius: 12px;
    width: 100%;
    max-width: 580px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .8), 0 0 0 1px rgba(212, 175, 55, .1);
    animation: modalSlideUp .3s cubic-bezier(.22, 1, .36, 1);
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(212, 175, 55, .2);
    color: var(--text-muted);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s;
    z-index: 10;
}

.news-modal-close:hover {
    background: rgba(128, 0, 32, .6);
    color: #fff;
}

.news-modal-inner {
    padding: 36px 28px 32px;
}

.news-modal-cat {
    display: inline-block;
    background: var(--bordeaux);
    color: #fff;
    font-size: .62rem;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: .05em;
    margin-bottom: 10px;
}

.news-modal-date {
    font-size: .7rem;
    color: var(--text-muted);
    letter-spacing: .04em;
    margin-bottom: 8px;
}

.news-modal-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1rem, 3.5vw, 1.3rem);
    color: var(--gold);
    line-height: 1.5;
    letter-spacing: .06em;
    margin-bottom: 0;
}

.news-modal-divider {
    width: 36px;
    height: 1px;
    background: var(--gold);
    opacity: .35;
    margin: 18px 0;
}

.news-modal-image {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    margin-top: 20px;
    border: 1px solid var(--border);
}

.news-modal-content {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 2;
    white-space: pre-wrap;
}


/* ====== Shop Comment ====== */
.shop-comment-box {
    background: var(--bordeaux);
    border: 1px solid rgba(212, 175, 55, .35);
    border-radius: var(--radius);
    padding: 22px 20px;
    margin: 24px 0;
    text-align: center;
}

.shop-comment-label {
    font-size: .62rem;
    letter-spacing: .14em;
    color: var(--gold-light);
    margin-bottom: 10px;
    opacity: .8;
}

.shop-comment-text {
    font-family: 'Noto Serif JP', serif;
    font-size: 1rem;
    color: var(--gold);
    line-height: 2;
    text-shadow: 0 0 20px rgba(212, 175, 55, .3);
}

/* ====== Gallery ====== */
.gallery-slider-wrap {
    position: relative;
    overflow: hidden;
    background: #000;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    max-width: 700px;
    margin: 0 auto;
}

.gallery-track {
    display: flex;
    transition: transform .4s ease;
}

.gallery-slide {
    flex: 0 0 100%;
}

/* ====== Therapist Profile hero image ====== */
.gallery-slide .therapist-hero-img {
    width: 100%;
    max-height: 75vh;
    /* Reverted to 85vh for desktop as requested earlier, or keep 70vh, let's keep 85vh to allow larger display */
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 480px) {
    .gallery-slide .therapist-hero-img {
        max-height: 75vh;
        height: auto;
        object-fit: contain;
        background: #000;
    }
}

.gallery-slide img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, .55);
    border: 1px solid rgba(212, 175, 55, .4);
    color: var(--gold);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    z-index: 10;
    transition: background .2s;
}

.gallery-arrow:hover {
    background: rgba(128, 0, 32, .6);
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.gallery-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    border: none;
    padding: 0;
    transition: background .2s;
}

.gallery-dot.active {
    background: var(--gold);
}

/* ====== Profile Table ====== */
.profile-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .82rem;
}

.profile-table th {
    text-align: center;
    padding: 10px 12px;
    color: var(--text-muted);
    font-weight: 400;
    width: 38%;
    border-bottom: 1px solid var(--border);
    font-size: .75rem;
}

.profile-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

/* ====== Q&A ====== */
.qa-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.qa-q {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 8px;
}

.qa-q-mark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--bordeaux);
    color: var(--gold);
    font-size: .7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qa-q-text {
    font-family: 'Noto Serif JP', serif;
    font-size: .88rem;
    padding-top: 2px;
}

.qa-a {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.qa-a-mark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gold-dim);
    border: 1px solid rgba(212, 175, 55, .4);
    color: var(--gold);
    font-size: .7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qa-a-text {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.9;
    padding-top: 2px;
}

/* ====== Weekly Schedule ====== */
.week-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .75rem;
    text-align: center;
}

.week-table th {
    padding: 8px 4px;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-weight: 400;
}

.week-table td {
    padding: 10px 4px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-muted);
}

.week-time {
    color: var(--gold);
    font-weight: 600;
    font-size: .78rem;
}

.week-sat th,
.week-sat td {
    color: #58a6ff;
}

.week-sun th,
.week-sun td {
    color: #ff6b7a;
}

/* ====== Schedule List ====== */
.schedule-day-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
}

.day-nav-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 1rem;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: border-color .2s, color .2s;
}

.day-nav-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.day-nav-label {
    text-align: center;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.day-nav-main {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.1rem;
    color: var(--gold);
    letter-spacing: .08em;
    display: block;
}

.day-nav-sub {
    font-size: .62rem;
    color: var(--text-muted);
    letter-spacing: .04em;
}

.schedule-worker-card {
    display: flex;
    gap: 14px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 12px;
    text-decoration: none;
    color: var(--text);
    transition: border-color .2s, box-shadow .2s;
}

.schedule-worker-card:hover {
    border-color: rgba(212, 175, 55, .5);
    color: var(--text);
}

.schedule-worker-img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--surface);
    border: 1px solid var(--border);
}

.schedule-worker-name {
    font-family: 'Noto Serif JP', serif;
    font-size: .95rem;
    margin-bottom: 3px;
}

.schedule-worker-time {
    font-size: .82rem;
    color: var(--gold);
    font-weight: 600;
}

.schedule-worker-comment {
    font-size: .7rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ====== Pricing ====== */
.course-grid {
    display: grid;
    gap: 14px;
}

@media (min-width: 560px) {
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.course-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    position: relative;
}

.course-card.featured {
    border-color: var(--gold);
    background: linear-gradient(160deg, var(--bordeaux-dark) 0%, var(--bg-card) 100%);
}

.course-card.featured::before {
    content: '人気 No.1';
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--bg);
    font-size: .6rem;
    font-weight: 700;
    padding: 2px 12px;
    border-radius: 100px;
    white-space: nowrap;
}

.course-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 5px;
}

.course-time {
    font-size: .78rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.course-price {
    font-size: 1.5rem;
    font-weight: 700;
}

.course-price-unit {
    font-size: .72rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 2px;
}

.option-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem;
}

.option-table th {
    text-align: left;
    padding: 10px 12px;
    background: rgba(255, 255, 255, .03);
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-weight: 400;
}

.option-table td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.option-table td:last-child {
    text-align: right;
    color: var(--gold);
    font-weight: 600;
    white-space: nowrap;
}

/* ====== Step Flow ====== */
.step-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step-item {
    display: flex;
    gap: 16px;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 44px;
    bottom: -24px;
    width: 1px;
    background: linear-gradient(180deg, rgba(212, 175, 55, .3) 0%, transparent 100%);
}

.step-item+.step-item {
    margin-top: 24px;
}

.step-num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Serif JP', serif;
    font-size: .82rem;
}

.step-body h3 {
    font-size: .92rem;
    color: var(--gold);
    margin-bottom: 5px;
}

.step-body p {
    font-size: .83rem;
    color: var(--text-muted);
    line-height: 1.9;
}

/* ====== Form ====== */
.pub-form .form-group {
    margin-bottom: 16px;
}

.pub-form label {
    display: block;
    font-size: .78rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    letter-spacing: .04em;
}

.pub-form input,
.pub-form select,
.pub-form textarea {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 10px 14px;
    color: var(--text);
    font-size: .88rem;
    font-family: 'Noto Sans JP', sans-serif;
    outline: none;
    transition: border-color .2s;
}

.pub-form input:focus,
.pub-form select:focus,
.pub-form textarea:focus {
    border-color: var(--gold);
}

.pub-form textarea {
    resize: vertical;
}

.pub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 13px 28px;
    background: linear-gradient(135deg, var(--bordeaux), var(--bordeaux-light));
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: .9rem;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    letter-spacing: .06em;
    transition: filter .2s;
    text-decoration: none;
}

.pub-btn:hover {
    filter: brightness(1.15);
    color: #fff;
}

.pub-btn-gold {
    background: linear-gradient(135deg, #c9a227, var(--gold));
    color: #1a0010;
}

/* ====== Age Gate ====== */
.age-gate {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 30%, rgba(128, 0, 32, .6) 0%, var(--bg) 65%);
    padding-bottom: 0;
}

.age-gate-ornament {
    color: rgba(212, 175, 55, .3);
    font-size: .7rem;
    letter-spacing: .5em;
    margin-bottom: 16px;
}

.age-gate-logo {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(2rem, 8vw, 3rem);
    color: var(--gold);
    letter-spacing: .28em;
    text-shadow: 0 0 40px rgba(212, 175, 55, .5);
    margin-bottom: 6px;
}

.age-gate-sub {
    font-size: .68rem;
    color: var(--text-muted);
    letter-spacing: .12em;
    margin-bottom: 36px;
}

.age-gate-notice {
    font-size: .8rem;
    color: var(--text-muted);
    line-height: 2;
    max-width: 300px;
    margin: 0 auto 28px;
    border: 1px solid var(--border);
    padding: 16px 20px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .02);
}

.age-gate-btn {
    display: block;
    width: 100%;
    max-width: 280px;
    padding: 15px;
    text-align: center;
    border-radius: 4px;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .1em;
    margin: 0 auto 12px;
    transition: filter .2s;
    cursor: pointer;
    border: none;
    font-family: 'Noto Sans JP', sans-serif;
    text-decoration: none;
}

.age-gate-btn-enter {
    background: linear-gradient(135deg, var(--bordeaux), var(--bordeaux-light));
    color: #fff;
    box-shadow: 0 4px 24px rgba(128, 0, 32, .5);
}

.age-gate-btn-leave {
    background: transparent;
    border: 1px solid var(--border) !important;
    color: var(--text-muted);
}

.age-gate-btn:hover {
    filter: brightness(1.12);
}

.age-gate-warning {
    font-size: .62rem;
    color: var(--text-muted);
    letter-spacing: .04em;
    margin-top: 20px;
    opacity: .6;
}

/* ====== Nav Tiles (TOPページ) ====== */
.nav-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 600px) {
    .nav-tiles {
        grid-template-columns: repeat(3, 1fr);
    }
}

.nav-tile {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 12px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    transition: border-color .2s, transform .15s;
}

.nav-tile:hover {
    border-color: rgba(212, 175, 55, .5);
    transform: translateY(-2px);
    color: var(--text);
}

.nav-tile-icon {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.nav-tile-label {
    font-size: .78rem;
    color: var(--text-muted);
    letter-spacing: .04em;
}

/* ====== Utilities ====== */
.text-gold {
    color: var(--gold);
}

.text-bordered {
    border: 1px solid var(--bordeaux);
    padding: 2px 8px;
    border-radius: 2px;
}

.alert-success {
    background: rgba(0, 128, 0, .15);
    border: 1px solid rgba(0, 128, 0, .3);
    border-radius: var(--radius);
    padding: 14px 16px;
    color: #90e890;
    font-size: .85rem;
    margin-bottom: 20px;
}

.alert-error {
    background: rgba(200, 0, 0, .15);
    border: 1px solid rgba(200, 0, 0, .3);
    border-radius: var(--radius);
    padding: 14px 16px;
    color: #ff9090;
    font-size: .85rem;
    margin-bottom: 20px;
}

/* ==========================================================================
   Article Detail Page Styles (Moved from article/index.php)
   ========================================================================== */
.article-detail-wrap {
    padding: 120px 0 80px;
    background: #0a0a0a;
    color: #e0e0e0;
    min-height: 100vh;
}

.article-detail-wrap .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-breadcrumb {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 30px;
}

.article-breadcrumb a {
    color: #888;
    text-decoration: none;
}

.article-breadcrumb a:hover {
    color: var(--gold);
}

.article-content {
    background: #151515;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #222;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.article-header {
    margin-bottom: 30px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
}

.cat-badge {
    background: var(--bordeaux);
    color: #fff;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.article-title {
    font-size: 2.2rem;
    line-height: 1.4;
    color: #fff;
    font-family: 'Noto Serif JP', serif;
}

.article-eyecatch {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
}

.article-eyecatch img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.9);
    transition: filter 0.3s;
}

.article-eyecatch img:hover {
    filter: brightness(1.0);
}

.article-body {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #d0d0d0;
}

.article-body h2 {
    font-size: 1.6rem;
    color: #fff;
    border-left: 4px solid var(--gold);
    padding-left: 15px;
    margin: 40px 0 20px;
}

.article-body h3 {
    font-size: 1.3rem;
    color: #fff;
    margin: 30px 0 15px;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 20px;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 20px 0;
}

.article-body a {
    color: var(--gold);
    text-decoration: underline;
}

.article-tags {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.tags-title {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 10px;
}

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

.tag-item {
    background: #222;
    color: #ccc;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    border: 1px solid #333;
    transition: all 0.3s;
}

.tag-item:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

.article-footer-nav {
    margin-top: 40px;
    text-align: center;
}

.btn-back {
    display: inline-block;
    padding: 12px 30px;
    color: #888;
    text-decoration: none;
    border: 1px solid #444;
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-back:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

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

    .article-title {
        font-size: 1.7rem;
    }
}

/* ====== Article List ====== */
.article-list-wrap {
    padding: 120px 0 100px;
    background: #0a0a0a;
    min-height: 100vh;
}

.article-list-wrap .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.list-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #222;
}

.list-label {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.list-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
    font-family: 'Noto Serif JP', serif;
}

.list-desc {
    color: #888;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px 30px;
    margin-bottom: 60px;
}

.article-card .card-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s;
}

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

.card-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background: #151515;
    margin-bottom: 15px;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s;
}

.article-card:hover .card-thumb img {
    filter: brightness(1.1);
}

.card-thumb .no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #333;
    font-weight: bold;
    font-size: 0.8rem;
}

.card-cat {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--bordeaux);
    color: #fff;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: bold;
    z-index: 2;
}

.card-date {
    display: block;
    font-size: 0.85rem;
    color: var(--gold);
    margin-bottom: 8px;
    font-weight: 500;
    font-family: sans-serif;
}

.card-title {
    font-size: 1.2rem;
    color: #fff;
    line-height: 1.5;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.no-articles {
    text-align: center;
    color: #888;
    grid-column: 1 / -1;
    padding: 80px 0;
}

.pagination-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.pag-btn {
    padding: 10px 20px;
    border: 1px solid #333;
    color: #ccc;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.pag-btn:hover {
    border-color: #fff;
    color: #fff;
}

.pag-numbers {
    display: flex;
    gap: 8px;
}

.pag-num {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
    color: #888;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.pag-num:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.pag-num.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
    font-weight: bold;
}

@media (max-width: 768px) {
    .list-title {
        font-size: 2rem;
    }

    .article-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ====== Utilities ====== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ====== TOP Slider (Swiper Custom) ====== */
.top-slider {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    background: #000;
}

.top-slider .swiper-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: contain;
    display: block;
    background: #000;
}

:root {
    --swiper-theme-color: var(--gold);
    --swiper-navigation-size: 24px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--gold);
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--gold);
    opacity: 1;
}

/* ====== Mutual Links ====== */
.mutual-links-container {
    padding: 30px 15px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(0, 0, 0, 0.4);
    text-align: center;
}

.mutual-links-title {
    font-size: 0.85rem;
    color: var(--gold, #d4af37);
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.mutual-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.mutual-links-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mutual-links-item:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.mutual-links-item img {
    max-width: 100%;
    height: auto;
    max-height: 60px;
    border-radius: 4px;
    object-fit: contain;
}

.mutual-links-caption {
    font-size: 0.7rem;
    color: #aaa;
    margin-top: 6px;
    line-height: 1.2;
}

.mutual-links-text-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 4px;
    font-size: 0.75rem;
    color: #fff;
    padding: 0 10px;
    text-align: center;
    line-height: 1.3;
}