/* ========================================
   新潟メンエスNEWS - Global Styles v6
   men-esthe.jp 風デザイン（ターコイズ×ホワイト）
   ======================================== */
:root {
    /* men-esthe.jp カラーパレット */
    --primary: #2ECFCF;
    --primary-dark: #1AABAB;
    --primary-light: #D6F5F5;
    --primary-border: #B2EEEE;
    --bg-main: #F8F8F8;
    --bg-white: #FFFFFF;
    --bg-nav-second: #E0FAFA;
    --text-main: #333333;
    --text-sub: #666666;
    --text-muted: #999999;
    --text-dim: #BBBBBB;
    --text-on-primary: #FFFFFF;
    --border: #E0E0E0;
    --border-primary: #B2EEEE;
    --btn-gray: #AAAAAA;
    --accent-gold: #F5A623;
    --accent-red: #E94560;
    --accent-green: #27AE60;
    --radius: 8px;
    --radius-sm: 4px;
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --gradient-primary: linear-gradient(135deg, #2ECFCF, #1AABAB);
}

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

body {
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Meiryo', sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 130px;
    display: flex;
    flex-direction: column;
}

.hidden {
    display: none !important;
}

/* ===== Header ===== */
.site-header {
    background: var(--bg-white);
    border-bottom: 3px solid var(--primary);
    padding: 0.75rem 1.25rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.logo-text {
    color: var(--text-main);
}

.logo-accent {
    color: var(--primary);
    font-weight: 900;
    letter-spacing: 1px;
}

.header-date {
    color: var(--text-sub);
    font-size: 0.8rem;
}

/* ===== PR Banner ===== */
.pr-banner {
    background: var(--primary-light);
    border-bottom: 1px solid var(--primary-border);
    padding: 0.55rem 1rem;
}

.pr-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pr-label {
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.pr-link {
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: color 0.2s;
}

.pr-link:hover {
    color: var(--primary);
}

/* ===== Navigation (Bottom) ===== */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.main-nav {
    background: var(--bg-white);
    border-top: 2px solid var(--primary-border);
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 0;
    padding: 0;
    white-space: nowrap;
}

.nav-btn {
    background: none;
    border: none;
    color: var(--text-sub);
    padding: 0.8rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    border-top: 3px solid transparent;
    transition: all 0.2s;
    flex-shrink: 0;
}

.nav-btn:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-btn.active {
    color: var(--primary);
    border-top-color: var(--primary);
    font-weight: 800;
    background: var(--primary-light);
}

/* ===== Main Content ===== */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    flex: 1;
    width: 100%;
}

.content-section {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in-right {
    animation: slideInRight 0.3s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.3s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ===== Section Header ===== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.6rem 0.9rem;
    background: var(--primary);
    border-radius: var(--radius-sm);
}

.section-header h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-on-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-count {
    color: var(--text-on-primary);
    font-weight: 700;
    font-size: 0.85rem;
    background: rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
}

.section-header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-update {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.8);
    font-family: monospace;
}

.section-desc {
    color: var(--text-sub);
    font-size: 0.82rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0.75rem;
    background: var(--primary-light);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ===== Safe Banner ===== */
.safe-banner {
    background: #E8F8F5;
    border: 1px solid #A9DFBF;
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.safe-banner p {
    font-size: 0.85rem;
    color: var(--text-sub);
}

.safe-banner strong {
    color: var(--accent-green);
}

/* ===== News Ticker ===== */
.news-ticker {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    background: var(--bg-white);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ticker-badge {
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    flex-shrink: 0;
    white-space: nowrap;
}

.ticker-text {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
}

/* ===== News Articles ===== */
.news-article-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.news-article {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.9rem 1.1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow-sm);
}

.news-article:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.news-article-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.news-category-tag {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.cat-breaking {
    background: rgba(233, 69, 96, 0.1);
    color: var(--accent-red);
    border: 1px solid rgba(233, 69, 96, 0.3);
}

.cat-newcomer {
    background: rgba(46, 207, 207, 0.1);
    color: var(--primary-dark);
    border: 1px solid var(--primary-border);
}

.cat-retired {
    background: #F5F5F5;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.cat-open {
    background: rgba(245, 166, 35, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(245, 166, 35, 0.3);
}

.cat-close {
    background: #F5F5F5;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.cat-column {
    background: rgba(46, 207, 207, 0.1);
    color: var(--primary-dark);
    border: 1px solid var(--primary-border);
}

.cat-info {
    background: #F0F0F0;
    color: var(--text-sub);
    border: 1px solid var(--border);
}

.news-article-date {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.news-article-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text-main);
}

.news-article-summary {
    font-size: 0.82rem;
    color: var(--text-sub);
    line-height: 1.6;
}

/* ===== Filter Row ===== */
.filter-row {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}

.filter-btn {
    background: var(--bg-white);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.78rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    flex-shrink: 0;
}

.filter-btn:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 700;
}

/* ===== Search Panel ===== */
.search-panel {
    background: var(--bg-white);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius);
    padding: 0.85rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.search-panel-row {
    margin-bottom: 0.65rem;
}

.search-panel-row:last-child {
    margin-bottom: 0;
}

.search-input {
    width: 100%;
    background: var(--bg-main);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.search-input::placeholder {
    color: var(--text-dim);
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(46, 207, 207, 0.15);
}

.spec-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: flex-end;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
    min-width: 90px;
}

.spec-item label {
    font-size: 0.68rem;
    color: var(--text-sub);
    font-weight: 600;
}

.spec-item select {
    background: var(--bg-main);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 0.4rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
    width: 100%;
}

.spec-item select:focus {
    border-color: var(--primary);
}

.spec-item select option {
    background: var(--bg-white);
    color: var(--text-main);
}

.filter-reset-btn {
    background: #F5F5F5;
    border: 1px solid var(--border);
    color: var(--text-sub);
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-reset-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary-dark);
}

/* ===== Card Grid ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
        gap: 1rem;
    }
}

/* ===== Therapist Card ===== */
.therapist-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s;
}

.therapist-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(46, 207, 207, 0.2);
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-image-wrap {
    position: relative;
    width: 100%;
    padding-top: 140%;
    overflow: hidden;
    background: var(--primary-light);
}

.card-image-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.therapist-card:hover .card-image-wrap img {
    transform: scale(1.05);
}

/* 画像の下部にグラデーションオーバーレイ */
.card-image-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}

.card-no-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    background: var(--primary-light);
}

.card-no-image.small {
    width: 48px;
    height: 48px;
    position: static;
    border-radius: 50%;
}

.card-badge {
    position: absolute;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    z-index: 5;
}

.new-badge {
    top: 0.5rem;
    right: 0.5rem;
    background: var(--gradient-primary);
    color: #fff;
}

.shift-badge {
    left: 0.5rem;
    bottom: 0.5rem;
    z-index: 6;
}

.shift-badge.working {
    background: rgba(46, 207, 207, 0.92);
    color: #fff;
    font-weight: 800;
}

.shift-badge.tomorrow {
    background: rgba(170, 170, 170, 0.85);
    color: #fff;
}

.card-info {
    padding: 0.55rem 0.7rem 0.7rem;
}

.card-name {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-main);
}

.card-shop {
    font-size: 0.72rem;
    color: var(--text-sub);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-shift {
    font-size: 0.68rem;
    color: var(--primary-dark);
    margin-top: 0.15rem;
    font-weight: 600;
}

.card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    margin-top: 0.3rem;
}

.spec-tag {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.66rem;
    padding: 0.12rem 0.4rem;
    border-radius: 3px;
    border: 1px solid var(--primary-border);
}

/* ===== Ranking ===== */
.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 0.7rem 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.ranking-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(46, 207, 207, 0.2);
    transform: translateX(4px);
}

.ranking-rank {
    font-size: 1.1rem;
    font-weight: 800;
    width: 2rem;
    text-align: center;
    flex-shrink: 0;
    color: var(--text-muted);
}

.ranking-rank.top3 {
    font-size: 1.3rem;
    color: var(--primary);
}

.ranking-thumb {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--primary-light);
    border: 2px solid var(--primary-border);
}

.ranking-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.ranking-info h3 {
    font-size: 0.92rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-main);
}

.ranking-shop {
    font-size: 0.72rem;
    color: var(--text-sub);
    margin-bottom: 0.3rem;
}

.ranking-bar-wrap {
    height: 5px;
    background: var(--primary-light);
    border-radius: 3px;
    overflow: hidden;
}

.ranking-bar {
    height: 100%;
    border-radius: 3px;
    min-width: 4px;
    transition: width 0.5s ease-out;
}

.bar-hot {
    background: var(--gradient-primary);
}

.bar-warm {
    background: linear-gradient(90deg, #2ECFCF, #7DE8E8);
}

.bar-cool {
    background: rgba(46, 207, 207, 0.4);
}

.ranking-score {
    display: flex;
    align-items: baseline;
    gap: 1px;
    flex-shrink: 0;
}

.score-num {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
}

.score-label {
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* ===== Retired List ===== */
.retired-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.retired-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.7rem 1rem;
    box-shadow: var(--shadow-sm);
}

.retired-thumb {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #F0F0F0;
}

.retired-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.retired-info {
    flex: 1;
}

.retired-info h3 {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
}

.retired-info p {
    font-size: 0.78rem;
    color: var(--text-sub);
}

.retired-badge-tag {
    background: #F5F5F5;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

/* ===== Shop News ===== */
.shop-news-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.shop-news-item {
    display: flex;
    gap: 1rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.9rem 1.1rem;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
}

.news-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.news-content {
    flex: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.news-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.news-type-tag {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.12rem 0.45rem;
    border-radius: 4px;
}

.news-type-tag.open {
    background: rgba(245, 166, 35, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(245, 166, 35, 0.3);
}

.news-type-tag.close {
    background: #F5F5F5;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.news-content h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--text-main);
}

.news-content p {
    font-size: 0.82rem;
    color: var(--text-sub);
}

/* ===== Footer ===== */
.site-footer {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 1.5rem 1rem;
    border-top: 2px solid var(--primary);
    text-align: center;
    color: var(--text-sub);
    font-size: 0.78rem;
    background: var(--bg-white);
}

.site-footer a {
    color: var(--primary-dark);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--primary);
}

.footer-sub {
    margin-top: 0.5rem;
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 5px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-border);
    border-radius: 3px;
}

/* ===== ASP広告スロット ===== */
.ad-slot {
    width: 100%;
    max-width: 640px;
    margin: 12px auto;
    text-align: center;
    overflow: hidden;
    border-radius: 8px;
}

.ad-slot-banner {
    min-height: 60px;
    background: transparent;
}

.ad-slot-infeed {
    min-height: 90px;
    background: transparent;
}

.ad-slot-ranking {
    min-height: 90px;
    background: transparent;
}

.ad-slot:empty {
    display: none;
}

/* ===== Blog Grid ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 0.75rem;
}

.blog-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s;
    display: block;
}

.blog-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(46, 207, 207, 0.2);
}

.blog-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--primary-light);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-info {
    padding: 0.55rem 0.7rem 0.7rem;
}

.blog-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-main);
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.15rem;
}

.blog-card-name {
    font-size: 0.78rem;
    color: var(--text-main);
    font-weight: 600;
}

.blog-card-shop {
    font-size: 0.72rem;
    color: var(--text-sub);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.blog-card-date {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

/* ===== Mobile ===== */
@media (max-width: 480px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .nav-btn {
        padding: 0.7rem 0.75rem;
        font-size: 0.75rem;
    }

    .site-logo {
        font-size: 1.05rem;
    }

    .spec-row {
        flex-direction: column;
    }

    .spec-item {
        min-width: 100%;
    }

    .pr-link {
        font-size: 0.78rem;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== ムフフセクション ===== */

/* ナビゲーション：プレミアムボタン */
.nav-btn-premium {
    background: linear-gradient(135deg, #ff6b9d, #c44dff) !important;
    color: #fff !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(196, 77, 255, 0.35);
}
.nav-btn-premium.active,
.nav-btn-premium:hover {
    background: linear-gradient(135deg, #ff4d8d, #a020f0) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

/* セクションヘッダー：ムフフ専用 */
.mufufu-header {
    background: linear-gradient(135deg, #ff6b9d, #c44dff) !important;
}

/* 有料会員バッジ */
.premium-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
}

/* ロック画面 */
.mufufu-lock {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    margin: 1rem 0;
    box-shadow: 0 4px 20px rgba(196, 77, 255, 0.12);
    border: 1px solid rgba(196, 77, 255, 0.2);
}
.lock-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}
.mufufu-lock h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.75rem;
}
.lock-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.lock-form {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}
.lock-input {
    padding: 0.65rem 1rem;
    border: 2px solid #e0c0ff;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    width: 200px;
    transition: border-color 0.2s;
}
.lock-input:focus { border-color: #c44dff; }
.lock-btn {
    padding: 0.65rem 1.5rem;
    background: linear-gradient(135deg, #ff6b9d, #c44dff);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}
.lock-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.lock-btn:active { transform: translateY(0); }
.lock-error {
    color: #e53935;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}
.lock-info {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px dashed #e0c0ff;
    font-size: 0.85rem;
    color: #888;
}

/* ログイン後：ウェルカムバー */
.mufufu-welcome {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #fff0f8, #f5e6ff);
    border: 1px solid rgba(196, 77, 255, 0.25);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #a020f0;
}
.welcome-icon { font-size: 1.1rem; }
.logout-btn {
    margin-left: auto;
    background: transparent;
    border: 1px solid #c44dff;
    color: #c44dff;
    font-size: 0.78rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.logout-btn:hover { background: #c44dff; color: #fff; }

/* 記事カード */
.mufufu-article {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 12px rgba(196, 77, 255, 0.1);
    border: 1px solid rgba(196, 77, 255, 0.15);
    transition: box-shadow 0.2s;
}
.mufufu-article:hover {
    box-shadow: 0 4px 20px rgba(196, 77, 255, 0.2);
}
.mufufu-article-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}
.mufufu-category {
    background: linear-gradient(135deg, #ff6b9d, #c44dff);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
}
.mufufu-date {
    font-size: 0.78rem;
    color: #999;
    margin-left: auto;
}
.mufufu-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.6rem;
    line-height: 1.5;
}
.mufufu-summary {
    font-size: 0.88rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #f0d0ff;
}
.mufufu-body {
    font-size: 0.92rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.mufufu-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.mufufu-tag {
    background: #f5e6ff;
    color: #a020f0;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 500;
}
.mufufu-empty {
    text-align: center;
    color: #999;
    padding: 2rem;
    font-size: 0.9rem;
}

/* ===== 本日出勤グリッド内DMMバナー ===== */
.today-ad-slot {
    grid-column: 1 / -1;
    text-align: center;
    padding: 0.5rem 0;
    margin: 0.25rem 0;
}

/* ===== DMM Widget Responsive Hack ===== */
.dmm-widget-placement,
.dmm-widget-placement iframe {
    max-width: 100% !important;
    height: auto !important;
}

/* ===== A8固定バナー（bottom-bar内） ===== */
.a8-fixed-banner {
    width: 100%;
    text-align: center;
    background: rgba(255,255,255,0.95);
    border-top: 1px solid rgba(0,0,0,0.08);
    padding: 0;
    line-height: 0;
}
.a8-fixed-banner img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
