/* ============================================
   video-meikan - Style Sheet
   Mobile First / White Theme
   ============================================ */

/* --- CSS Variables --- */
:root {
    --color-bg: #FFFFFF;
    --color-card: #F5F5F7;
    --color-text: #1A1A1E;
    --color-text-sub: #6B6B70;
    --color-accent: #D4841A;
    --color-accent-hover: #B87115;
    --color-border: #E5E5E7;
    --color-header-bg: #FAFAFA;
    --radius: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-hover: 0 4px 12px rgba(0,0,0,0.1);
    --container: 1600px;
    --header-h-sp: 50px;
    --header-h-pc: 60px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px;
}

/* --- Header --- */
.header {
    background: var(--color-header-bg);
    border-bottom: 1px solid var(--color-border);
    height: var(--header-h-sp);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.header__logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.header__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}
.header__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: transform 0.3s, opacity 0.3s;
}
.header__hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.header__hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.header__hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
.header__nav {
    display: none;
    position: absolute;
    top: var(--header-h-sp);
    left: 0;
    right: 0;
    background: var(--color-header-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 16px;
    flex-direction: column;
    gap: 12px;
}
.header__nav.is-open {
    display: flex;
}
.header__nav-link {
    font-size: 15px;
    padding: 8px 0;
}
.header__nav-link:hover {
    color: var(--color-accent);
}

/* --- Main --- */
.main {
    flex: 1;
    padding: 16px 0 40px;
}

/* --- Breadcrumb --- */
.breadcrumb {
    font-size: 13px;
    color: var(--color-text-sub);
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}
.breadcrumb__link {
    color: var(--color-text-sub);
}
.breadcrumb__link:hover {
    color: var(--color-accent);
}
.breadcrumb__sep {
    color: var(--color-text-sub);
}

/* --- Page Title --- */
.page-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}
.page-description {
    font-size: 14px;
    color: var(--color-text-sub);
    margin-bottom: 24px;
}

/* --- Badge --- */
.badge {
    display: inline-block;
    font-size: 13px;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    border-radius: 4px;
    padding: 2px 10px;
    margin-bottom: 20px;
}

/* --- Section Title --- */
.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* --- Top Section --- */
.top-section {
    margin-bottom: 36px;
}
.top-section__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    padding-left: 12px;
    border-left: 3px solid var(--color-accent);
}
.top-section__more {
    display: block;
    text-align: center;
    padding: 10px;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    border-radius: var(--radius);
    transition: background 0.2s, color 0.2s;
}
.top-section__more:hover {
    background: var(--color-accent);
    color: #fff;
}

/* --- Actress Grid --- */
.actress-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.actress-grid--6 {
    grid-template-columns: repeat(3, 1fr);
}

/* --- Actress Card --- */
.actress-card {
    display: block;
    background: var(--color-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.actress-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}
.actress-card__image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #E8E8EA;
}
.actress-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.actress-card__placeholder {
    width: 100%;
    height: 100%;
    background: #E8E8EA;
}
.actress-card__info {
    padding: 10px 12px;
}
.actress-card__name {
    font-size: 14px;
    font-weight: 700;
}
.actress-card__count {
    font-size: 12px;
    color: var(--color-text-sub);
    margin-top: 2px;
}

/* --- Profile Section --- */
.profile-section {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--color-card);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}
.profile-section__image {
    width: 120px;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #E8E8EA;
}
.profile-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-section__placeholder {
    width: 100%;
    height: 100%;
    background: #E8E8EA;
}
.profile-section__info {
    flex: 1;
    min-width: 0;
}
.profile-section__name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}
.profile-section__name-age {
    font-size: 17px;
    font-weight: 400;
    color: var(--color-text-sub);
    margin-left: 4px;
}
.profile-section__count {
    font-size: 14px;
    color: var(--color-text-sub);
    margin-bottom: 12px;
}
.profile-detail__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.profile-detail__table th {
    text-align: left;
    padding: 6px 12px 6px 0;
    color: var(--color-text-sub);
    white-space: nowrap;
    width: 72px;
    vertical-align: top;
    border-bottom: 1px solid var(--color-border, #eee);
}
.profile-detail__table td {
    padding: 6px 0;
    border-bottom: 1px solid var(--color-border, #eee);
}
.profile-detail__table tr:last-child th,
.profile-detail__table tr:last-child td {
    border-bottom: none;
}
.profile-detail__birthday {
    display: none;
}


/* --- Hakase Comment --- */
.hakase-comment {
    display: flex;
    gap: 12px;
    background: #FFF8E1;
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}
.hakase-comment__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}
.hakase-comment__icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.hakase-comment__body {
    flex: 1;
    min-width: 0;
}
.hakase-comment__label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #E65100;
    margin-bottom: 6px;
}
.hakase-comment__text {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hakase-comment__body.is-expanded .hakase-comment__text {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}
.hakase-comment__toggle {
    background: none;
    border: none;
    color: #E65100;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0 0;
    display: block;
}
.hakase-comment__body.is-expanded .hakase-comment__toggle {
    /* 展開時もボタン表示 */
}

/* --- Genre Grid --- */
.genre-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}

/* --- Genre Card --- */
.genre-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-card);
    border-radius: var(--radius);
    padding: 12px 14px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s;
}
.genre-card:hover {
    box-shadow: var(--shadow-hover);
}
.genre-card__name {
    font-size: 14px;
    font-weight: 700;
    flex: 1;
    min-width: 0;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.genre-card__count {
    font-size: 12px;
    color: var(--color-text-sub);
    white-space: nowrap;
    margin: 0;
    flex-shrink: 0;
}
.genre-card__arrow {
    color: var(--color-accent);
    font-size: 13px;
    flex-shrink: 0;
}

/* Genre Grid: 3行まで表示 */
.genre-grid--collapsible:not(.is-expanded) > :nth-child(n+7) {
    display: none;
}
.genre-grid__toggle {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    margin-bottom: 24px;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-accent);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.genre-grid__toggle:hover {
    background: var(--color-bg);
}

/* Sidebar Genre List: 8件まで表示 */
.sidebar-genre-list__extra {
    display: none;
}
.sidebar-genre-list.is-expanded .sidebar-genre-list__extra {
    display: list-item;
}
.sidebar-genre-list__toggle {
    display: block;
    width: 100%;
    padding: 6px 10px;
    margin-top: 4px;
    background: none;
    border: none;
    color: var(--color-accent);
    font-size: 13px;
    cursor: pointer;
    text-align: left;
}
.sidebar-genre-list__toggle:hover {
    text-decoration: underline;
}

/* --- Sidebar Similar Actresses --- */
.sidebar-similar {
    display: none;
}
.sidebar-similar__list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.sidebar-similar__item {
    display: block;
    text-decoration: none;
    color: var(--color-text);
    text-align: center;
}
.sidebar-similar__item:hover {
    opacity: 0.8;
}
.sidebar-similar__image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: #E8E8EA;
}
.sidebar-similar__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sidebar-similar__placeholder {
    width: 100%;
    height: 100%;
    background: #E8E8EA;
}
.sidebar-similar__name {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
    line-height: 1.3;
}
.sidebar-similar__age {
    font-size: 0.7em;
    font-weight: 400;
}
.sidebar-similar__meta {
    display: block;
    font-size: 11px;
    color: var(--color-text-sub);
}

/* --- Work List --- */
.work-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

/* --- Work Card (Vertical) --- */
.work-card {
    display: flex;
    flex-direction: column;
    background: var(--color-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: background 0.2s;
}
.work-card:hover {
    background: #EDEDEF;
}
.work-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
    overflow: hidden;
    background: #E8E8EA;
}
.work-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.work-card__placeholder {
    width: 100%;
    height: 100%;
    background: #E8E8EA;
}
.work-card__info {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.work-card__title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}
.work-card__meta {
    font-size: 12px;
    color: var(--color-text-sub);
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}
.work-card__cta {
    display: none;
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
    background: var(--color-accent);
    border-radius: 6px;
    padding: 6px 16px;
    transition: background 0.2s;
    align-self: flex-start;
}
.work-card__cta:hover {
    background: var(--color-accent-hover);
}

/* --- Embed Card --- */
.embed-card {
    margin: 16px 0 24px;
}
.embed-card__inner {
    display: flex;
    gap: 16px;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.embed-card__inner:hover {
    box-shadow: var(--shadow-hover);
}
.embed-card__image {
    width: 240px;
    min-height: 135px;
    flex-shrink: 0;
    background: #E8E8EA;
}
.embed-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.embed-card__info {
    padding: 14px 16px 14px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    gap: 6px;
}
.embed-card__title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.embed-card__meta {
    font-size: 12px;
    color: var(--color-text-sub);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.embed-card__cta {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
}
.embed-card__inner--no-image {
    padding: 16px 20px;
}
.embed-card__inner--no-image .embed-card__info {
    padding: 0;
}
.embed-card__inner--search {
    padding: 16px 20px;
}
.embed-card__inner--search .embed-card__info {
    padding: 0;
}
@media (max-width: 767px) {
    .embed-card__image {
        width: 140px;
        min-height: 80px;
    }
    .embed-card__info {
        padding: 10px 12px 10px 0;
    }
}

/* --- Ad Slot --- */
.ad-slot {
    margin: 24px 0;
    text-align: center;
}
.ad-slot__inner {
    background: var(--color-card);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    color: var(--color-text-sub);
    font-size: 13px;
}

/* --- Pagination --- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin: 32px 0;
    flex-wrap: wrap;
}
.pagination__btn,
.pagination__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 14px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pagination__btn:hover,
.pagination__num:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}
.pagination__btn--disabled {
    color: var(--color-text-sub);
    opacity: 0.4;
    pointer-events: none;
}
.pagination__num--active {
    background: var(--color-accent);
    color: #FFFFFF;
    border-color: var(--color-accent);
}
.pagination__dots {
    padding: 0 4px;
    color: var(--color-text-sub);
}

/* --- Footer --- */
.footer {
    background: var(--color-header-bg);
    border-top: 1px solid var(--color-border);
    padding: 24px 0;
    text-align: center;
}
.footer__links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 8px;
    font-size: 13px;
}
.footer__links a:hover {
    color: var(--color-accent);
}
.footer__copyright {
    font-size: 12px;
    color: var(--color-text-sub);
}

/* --- Section Heading --- */
.section-heading {
    margin-bottom: 20px;
    border-left: 4px solid var(--color-accent);
    padding-left: 12px;
}
.section-heading__text {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

/* --- Author Box (記事末) --- */
.author-box {
    display: flex;
    gap: 14px;
    padding: 20px;
    margin-top: 40px;
    background: var(--color-card);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}
.author-box__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.author-box__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.author-box__name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    display: inline-block;
}
.author-box__name:hover {
    color: var(--color-accent);
}
.author-box__bio {
    font-size: 13px;
    color: var(--color-text-sub);
    line-height: 1.6;
}

/* --- Author Profile Page --- */
.author-profile {
    margin-bottom: 40px;
}
.author-profile__header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--color-card);
    border-radius: var(--radius);
    margin-bottom: 32px;
}
.author-profile__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.author-profile__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.author-profile__name {
    font-size: 24px;
    font-weight: 700;
}
.author-profile__tagline {
    font-size: 14px;
    color: var(--color-text-sub);
    margin-top: 4px;
}
.author-profile__body {
    line-height: 1.8;
    font-size: 15px;
}
.author-profile__body p {
    margin-bottom: 16px;
}
.author-profile__section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 32px 0 12px;
    padding-left: 12px;
    border-left: 4px solid var(--color-accent);
}
.author-profile__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.author-profile__tag {
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}
.author-profile__list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 16px;
}
.author-profile__list li {
    margin-bottom: 6px;
    font-size: 14px;
}

/* --- 404 --- */
.error-page {
    text-align: center;
    padding: 80px 0;
}
.error-page__code {
    font-size: 64px;
    font-weight: 700;
    color: var(--color-text-sub);
    margin-bottom: 8px;
}
.error-page__message {
    font-size: 16px;
    color: var(--color-text-sub);
    margin-bottom: 24px;
}
.error-page__link {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 600;
}
.error-page__link:hover {
    text-decoration: underline;
}

/* --- Article List --- */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.article-list-card {
    display: block;
    background: var(--color-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s;
}
.article-list-card:hover {
    box-shadow: var(--shadow-hover);
}
.article-list-card__body {
    padding: 16px;
}
.article-list-card__category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #FFFFFF;
    background: var(--color-accent);
    border-radius: 4px;
    padding: 2px 8px;
    margin-bottom: 8px;
}
.article-list-card__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 6px;
}
.article-list-card__desc {
    font-size: 13px;
    color: var(--color-text-sub);
    line-height: 1.6;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-list-card__date {
    font-size: 12px;
    color: var(--color-text-sub);
}

/* --- Article Detail --- */
.article {
    margin-bottom: 40px;
}
.article__header {
    margin-bottom: 32px;
}
.article__category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #FFFFFF;
    background: var(--color-accent);
    border-radius: 4px;
    padding: 3px 10px;
    margin-bottom: 12px;
}
.article__title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 8px;
}
.article__meta {
    font-size: 13px;
    color: var(--color-text-sub);
    display: flex;
    gap: 8px;
}
.article__body {
    line-height: 1.9;
    font-size: 16px;
}
.article__body h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 40px 0 16px;
    padding-left: 14px;
    border-left: 4px solid var(--color-accent);
}
.article__body h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 32px 0 14px;
    padding-left: 12px;
    border-left: 3px solid var(--color-accent);
}
.article__body p {
    margin-bottom: 16px;
    color: var(--color-text);
}
.article__body ul {
    margin-bottom: 16px;
    padding-left: 20px;
    list-style: disc;
}
.article__body li {
    margin-bottom: 4px;
    font-size: 15px;
    color: var(--color-text-sub);
}
.article__body strong {
    font-weight: 700;
    color: var(--color-text);
}
.article__body ol {
    margin-bottom: 16px;
    padding-left: 20px;
    list-style: decimal;
}
.article__body ol li {
    margin-bottom: 4px;
    font-size: 15px;
    color: var(--color-text-sub);
}
.article__body hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 32px 0;
}
.article__body blockquote {
    margin: 16px 0;
    padding: 14px 18px;
    border-left: 4px solid var(--color-border);
    background: var(--color-card);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 14px;
    color: var(--color-text-sub);
    line-height: 1.8;
}

/* --- Article Table --- */
.article-table-wrap {
    margin: 16px 0 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.article__body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.6;
}
.article__body table th,
.article__body table td {
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    text-align: left;
}
.article__body table th {
    background: var(--color-card);
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}
.article__body table td {
    color: var(--color-text);
}
.article__body table td:first-child {
    text-align: center;
}

/* --- Cast Table (actress summary table) --- */
.cast-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 28px;
}
.cast-table thead th {
    background: #f5f5f7;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    border-bottom: 2px solid var(--color-border);
}
.cast-table tbody tr {
    border-bottom: 1px solid var(--color-border);
}
.cast-table tbody tr:last-child {
    border-bottom: none;
}
.cast-table td {
    padding: 16px;
    vertical-align: middle;
}
.cast-table__actress {
    text-align: center;
    width: 360px;
}
.cast-table__actress img {
    width: 345px;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin: 0 auto 8px;
}
.cast-table__name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent);
    text-align: center;
    text-decoration: none;
}
.cast-table__name:hover {
    text-decoration: underline;
}
.cast-table-collapsible .cast-table__row--extra {
    display: none;
}
.cast-table-collapsible.is-open .cast-table__row--extra {
    display: table-row;
}
.cast-table__toggle {
    display: block;
    width: 100%;
    padding: 12px;
    background: #f5f5f7;
    border: 1px solid var(--color-border);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent);
    cursor: pointer;
    text-align: center;
    transition: background 0.15s;
}
.cast-table__toggle:hover {
    background: #eaeaec;
}
.cast-table__toggle-less {
    display: none;
}
.cast-table-collapsible.is-open .cast-table__toggle-more {
    display: none;
}
.cast-table-collapsible.is-open .cast-table__toggle-less {
    display: inline;
}
.cast-table__body span {
    display: block;
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text-sub);
}
@media (max-width: 767px) {
    .cast-table__actress {
        width: 230px;
    }
    .cast-table__actress img {
        width: 210px;
        height: auto;
    }
    .cast-table__name {
        font-size: 12px;
    }
    .cast-table__body span {
        font-size: 12px;
    }
    .cast-table__works a {
        font-size: 12px;
    }
}

/* --- Work Embed Card (vertical layout) --- */
.embed-card--work {
    margin: 16px 0 24px;
}
.embed-card__inner--work {
    display: flex;
    flex-direction: column;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.embed-card__inner--work:hover {
    box-shadow: var(--shadow-hover);
}
.embed-card__image--work {
    width: 100%;
    background: #E8E8EA;
}
.embed-card__image--work img {
    width: 100%;
    height: auto;
    display: block;
}
.embed-card__title--work {
    padding: 12px 16px 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--color-text);
    text-align: center;
}
.embed-card__inner--work:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--color-accent);
}

/* --- Article Figure (block-level image) --- */
.article-figure {
    margin: 20px 0;
    text-align: center;
}
.article-figure img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

/* --- Article Samples (side-by-side image grid) --- */
.article-samples-cta {
    text-align: center;
    margin: 12px 0 28px;
}
.article-samples-cta__btn {
    display: inline-block;
    background: var(--color-accent);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 36px;
    border-radius: 6px;
    transition: background 0.15s;
}
.article-samples-cta__btn:hover {
    background: var(--color-accent-hover);
}
.article-samples {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    margin: 12px 0 24px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.article-samples img {
    flex: 0 0 auto;
    width: min(260px, calc((100vw - 40px) / 1.5));
    height: auto;
    border-radius: 4px;
    scroll-snap-align: start;
}

.embed-card__image--portrait {
    width: 120px;
    min-height: 160px;
}

/* --- Article Inline Image (for tables etc) --- */
.article-inline-img {
    max-width: 100px;
    height: auto;
    border-radius: 4px;
    display: block;
    margin: 0 auto 4px;
}

/* --- Standalone paragraph image (h3直下の単独!img[]) --- */
p > .article-inline-img {
    max-width: 100%;
    width: 100%;
    border-radius: var(--radius);
    margin: 0 0 8px;
}

/* --- Article Box (memo / alert / titled) --- */
.article-box {
    margin: 20px 0 24px;
    border-radius: var(--radius);
    border: 1px solid var(--color-accent);
    overflow: hidden;
}
.article-box__title {
    padding: 8px 16px;
    background: var(--color-accent);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
}
.article-box__body {
    padding: 16px;
    font-size: 14px;
    line-height: 1.8;
}
.article-box__body p {
    margin-bottom: 8px;
}
.article-box__body p:last-child {
    margin-bottom: 0;
}
.article-box__body ul {
    margin: 0;
    padding-left: 20px;
    list-style: disc;
}
.article-box__body ul li {
    margin-bottom: 4px;
    font-size: 14px;
}
.article-box--memo {
    border-color: #E8C843;
    background: #FFFDF0;
}
.article-box--memo .article-box__body::before {
    content: "\1F4DD ";
}
.article-box--alert {
    border-color: #D64545;
    background: #FFF5F5;
}
.article-box--alert .article-box__title::before {
    content: "\26A0\FE0F ";
}

/* --- Article Speech Bubble --- */
.article-say {
    display: flex;
    gap: 16px;
    margin: 24px 0;
    align-items: flex-start;
}
.article-say__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.article-say__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-say__bubble {
    position: relative;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 14px 18px;
    font-size: 14px;
    line-height: 1.8;
    flex: 1;
    min-width: 0;
}
.article-say__bubble::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 16px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid var(--color-border);
}
.article-say__bubble::after {
    content: "";
    position: absolute;
    left: -7px;
    top: 16px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 8px solid var(--color-card);
}
.article-say__bubble p {
    margin-bottom: 8px;
}
.article-say__bubble p:last-child {
    margin-bottom: 0;
}

/* --- Article Pros/Cons --- */
.article-proscons {
    margin: 24px 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}
.article-proscons__title {
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-card);
}
.article-proscons__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.article-proscons__col {
    padding: 16px;
}
.article-proscons__col--pros {
    border-right: 1px solid var(--color-border);
}
.article-proscons__label {
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}
.article-proscons__label--pros {
    background: #E8F5E9;
    color: #2E7D32;
}
.article-proscons__label--cons {
    background: #FFEBEE;
    color: #C62828;
}
.article-proscons__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.article-proscons__col li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.6;
}
.article-proscons__col li::before {
    content: "・";
}
.article-proscons__col--cons li .article-marker--red {
    background: linear-gradient(transparent 60%, #FFCDD2 60%);
}
@media (max-width: 480px) {
    .article-proscons__grid {
        grid-template-columns: 1fr;
    }
    .article-proscons__col--pros {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }
}

/* --- Article Marker --- */
.article-marker {
    background: linear-gradient(transparent 60%, #FFF3B0 60%);
    padding: 0 2px;
}
.article-marker--red {
    background: linear-gradient(transparent 60%, #FFCDD2 60%);
}

/* --- Article FAQ --- */
.article-faq {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    margin: 8px 0;
    overflow: hidden;
}
.article-faq__question {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: 15px;
    background: var(--color-card);
    user-select: none;
}
.article-faq__question::-webkit-details-marker {
    display: none;
}
.article-faq__question::marker {
    display: none;
}
.article-faq__question::after {
    content: "+";
    margin-left: auto;
    font-size: 22px;
    font-weight: 300;
    color: #aaa;
    flex-shrink: 0;
    line-height: 1;
}
.article-faq[open] .article-faq__question::after {
    content: "−";
}
.article-faq__q {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--color-accent);
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}
.article-faq__answer {
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.8;
    border-top: 1px solid var(--color-border);
}
.article-faq__answer p {
    margin-bottom: 8px;
}
.article-faq__answer p:last-child {
    margin-bottom: 0;
}

/* --- Article Chat --- */
.article-chat {
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.article-chat__row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 85%;
    align-self: flex-start;
}
.article-chat__row--right {
    align-self: flex-end;
    align-items: flex-end;
}
/* アバターあり: 横並びレイアウト */
.article-chat__row--avatar {
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
}
.article-chat__row--avatar.article-chat__row--right {
    flex-direction: row-reverse;
    align-items: flex-start;
}
.article-chat__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    margin-top: 2px;
}
.article-chat__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.article-chat__row--right .article-chat__content {
    align-items: flex-end;
}
.article-chat__label {
    font-size: 12px;
    color: #888;
    padding: 0 4px;
}
.article-chat__bubble {
    position: relative;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.8;
}
.article-chat__row--right .article-chat__bubble {
    background: #FFF8EE;
    border-color: #EDD9A3;
}

/* --- Article Button Link --- */
.article__body p:has(.article-btn) {
    text-align: center;
    margin: 24px 0;
}
.article-btn {
    display: inline-block;
    background: #E91E8C;
    color: #fff !important;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none !important;
    line-height: 1.4;
    transition: background 0.2s;
}
.article-btn:hover {
    background: #C4177A;
    color: #fff !important;
    text-decoration: none !important;
}

/* --- Article Note --- */
.article-note {
    font-size: 13px;
    color: #888;
    text-align: right;
    margin: 4px 0 12px;
}

.related-articles {
    margin-top: 40px;
}

/* --- Similar Actresses (actress page) --- */
.similar-actress-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.similar-actress-card {
    display: block;
    background: var(--color-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}
.similar-actress-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}
.similar-actress-card__image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #E8E8EA;
    max-width: 100%;
}
.similar-actress-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.similar-actress-card__placeholder {
    width: 100%;
    height: 100%;
    background: #E8E8EA;
}
.similar-actress-card__name {
    font-size: 13px;
    font-weight: 700;
    padding: 8px;
}

/* --- Similar Inline Card (genre page) --- */
.similar-inline--pc {
    display: none;
}
.similar-inline {
    background: var(--color-bg);
    border: 1px solid #E0E0E2;
    border-radius: var(--radius);
    padding: 12px;
    grid-column: 1 / -1;
}
.similar-inline__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-sub);
    margin-bottom: 10px;
}
.similar-inline__scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
}
.similar-inline__scroll::-webkit-scrollbar {
    display: none;
}
.similar-inline__item {
    flex-shrink: 0;
    width: 110px;
    scroll-snap-align: start;
    text-align: center;
}
.similar-inline__image {
    width: 110px;
    height: 110px;
    border-radius: var(--radius);
    overflow: hidden;
    background: #E8E8EA;
}
.similar-inline__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.similar-inline__placeholder {
    width: 100%;
    height: 100%;
    background: #E8E8EA;
}
.similar-inline__name {
    display: block;
    font-size: 11px;
    font-weight: 600;
    margin-top: 5px;
    line-height: 1.3;
}
.similar-inline__age {
    font-size: 0.7em;
    font-weight: 400;
}
.similar-inline__size {
    display: block;
    font-size: 10px;
    color: var(--color-text-sub);
    margin-top: 2px;
    line-height: 1.2;
}

/* ============================================
   Tablet (768px+)
   ============================================ */
@media (min-width: 768px) {
    .profile-detail__birthday {
        display: inline;
    }
    .hakase-comment__text {
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }
    .hakase-comment__toggle {
        display: none;
    }
    .container {
        padding: 0 24px;
    }
    .actress-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .genre-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .genre-grid--collapsible:not(.is-expanded) > :nth-child(n+7) {
        display: block;
    }
    .genre-grid--collapsible:not(.is-expanded) > :nth-child(n+10) {
        display: none;
    }
    .similar-actress-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
    }
    .similar-inline--sp {
        display: none;
    }
    .similar-inline--pc {
        display: block;
    }
    .similar-inline {
        padding: 16px 20px;
    }
    .similar-inline__scroll {
        gap: 20px;
    }
    .similar-inline__item {
        width: 125px;
    }
    .similar-inline__image {
        width: 125px;
        height: 125px;
    }
    .similar-inline__name {
        font-size: 13px;
    }
    .similar-inline__size {
        font-size: 11px;
    }
    .work-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .work-card__title {
        font-size: 15px;
    }
    .work-card__meta {
        display: flex;
    }
    .work-card__cta {
        display: inline-block;
    }
}

/* ============================================
   PC (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    .header {
        height: var(--header-h-pc);
    }
    .header__hamburger {
        display: none;
    }
    .header__nav {
        display: flex;
        position: static;
        flex-direction: row;
        gap: 24px;
        padding: 0;
        border: none;
        background: transparent;
    }
    .main {
        padding: 24px 0 60px;
    }
    .breadcrumb {
        margin-bottom: 20px;
    }
    .page-title {
        font-size: 28px;
    }
    .actress-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    .actress-grid--6 {
        grid-template-columns: repeat(6, 1fr);
    }
    .top-section__title {
        font-size: 20px;
    }
    .actress-card__info {
        padding: 12px 16px;
    }
    .actress-card__name {
        font-size: 16px;
    }
    .profile-section {
        gap: 24px;
        padding: 24px;
    }
    .profile-section__image {
        width: 160px;
        height: 160px;
    }
    .profile-section__name {
        font-size: 24px;
    }
    .profile-detail__table {
        font-size: 14px;
    }
    .genre-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
    .genre-grid--collapsible:not(.is-expanded) > :nth-child(n+10) {
        display: block;
    }
    .genre-grid--collapsible:not(.is-expanded) > :nth-child(n+13) {
        display: none;
    }
    .work-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    .work-card__info {
        padding: 10px 12px;
    }
    .work-card__title {
        font-size: 14px;
        margin-bottom: 4px;
    }
    .work-card__meta {
        display: flex;
        font-size: 12px;
        margin-bottom: 8px;
    }
    .work-card__cta {
        display: inline-block;
        font-size: 13px;
        padding: 6px 16px;
    }
    /* Work controls: sticky on PC */
    .work-controls {
        position: sticky;
        top: var(--header-h-pc);
        background: var(--color-bg);
        z-index: 10;
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

/* --- Work Controls (Search / Sort / Filter) --- */
.work-controls {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.work-controls__search {
    display: flex;
    gap: 8px;
}
.work-controls__input {
    flex: 1;
    height: 38px;
    padding: 0 12px;
    font-size: 14px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-bg);
    color: var(--color-text);
    outline: none;
}
.work-controls__input:focus {
    border-color: var(--color-accent);
}
.work-controls__search-btn {
    height: 38px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
    background: var(--color-accent);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
}
.work-controls__search-btn:hover {
    background: var(--color-accent-hover);
}
.work-controls__sort {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.work-controls__pill {
    font-size: 13px;
    padding: 6px 14px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: var(--color-bg);
    color: var(--color-text);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.work-controls__pill:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}
.work-controls__pill.is-active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #FFFFFF;
}
.work-controls__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.work-controls__vr {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.work-controls__checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text);
    cursor: pointer;
    padding: 6px 12px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    user-select: none;
    transition: border-color 0.15s, background 0.15s;
}
.work-controls__checkbox:hover {
    border-color: var(--color-accent);
}
.work-controls__checkbox:has(input:checked) {
    border-color: var(--color-accent);
    background: rgba(199, 144, 49, 0.08);
}
.work-controls__checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--color-accent);
    cursor: pointer;
}
.work-controls__no-results {
    text-align: center;
    padding: 32px 0;
    font-size: 14px;
    color: var(--color-text-sub);
}

/* --- Infinite Loader --- */
.infinite-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 0;
}
.infinite-loader__spinner {
    width: 28px;
    height: 28px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.infinite-loader__text {
    font-size: 13px;
    color: var(--color-text-sub);
}

/* --- Home More Link --- */
.home-more {
    text-align: center;
    margin: 16px 0 32px;
}
.home-more__link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    border-radius: 6px;
    padding: 10px 24px;
    transition: background 0.2s, color 0.2s;
}
.home-more__link:hover {
    background: var(--color-accent);
    color: #FFFFFF;
}

/* --- Article TOC --- */
.article-toc {
    background: var(--color-card);
    border-radius: var(--radius);
    margin: 24px 0;
    overflow: hidden;
}
.article-toc__details {
    /* managed by <details> open/closed state */
}
.article-toc__summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.article-toc__summary::-webkit-details-marker {
    display: none;
}
.article-toc__summary::marker {
    display: none;
}
.article-toc__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-accent);
    border-radius: 50%;
    color: #fff;
    flex-shrink: 0;
}
.article-toc__title-text {
    font-weight: 700;
    font-size: 15px;
    color: var(--color-text);
    flex: 1;
}
.article-toc__toggle-label {
    font-size: 12px;
    color: #888;
    background: #e0e0e0;
    border-radius: 4px;
    padding: 3px 10px;
    flex-shrink: 0;
}
.article-toc__toggle-label::after {
    content: "表示";
}
.article-toc__details[open] .article-toc__toggle-label::after {
    content: "非表示";
}
.article-toc__list {
    list-style: none;
    padding: 0 20px 16px;
    margin: 0;
    counter-reset: toc;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.article-toc__item {
    margin: 0;
    line-height: 1.6;
}
.article-toc__item--h2 {
    counter-increment: toc;
}
.article-toc__item--h2::before {
    content: counter(toc) ". ";
    font-weight: 600;
    color: var(--color-accent);
}
.article-toc__item--h3 {
    padding-left: 1.4em;
    font-size: 14px;
}
.article-toc__item a {
    color: var(--color-text);
    text-decoration: none;
}
.article-toc__item a:hover {
    color: var(--color-accent);
}

/* ============================================
   Page Layout - サイドバー + コンテンツ
   ============================================ */
.page-layout {
    position: relative;
}
.page-layout__filter-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-card);
    color: var(--color-text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 12px;
}

/* サイドバー（SP: ドロワー） */
.page-layout__sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: var(--color-bg);
    border-right: 1px solid var(--color-border);
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 16px;
}
.page-layout__sidebar.is-open {
    transform: translateX(0);
}
.page-layout__sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}
.page-layout__sidebar-title {
    font-size: 16px;
    font-weight: 700;
}
.page-layout__sidebar-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-text-sub);
    padding: 4px 8px;
}
.page-layout__overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 99;
}
.page-layout__overlay.is-open {
    display: block;
}

/* サイドバーセクション */
.sidebar-section {
    margin-bottom: 20px;
}
.sidebar-section__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-sub);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.sidebar-section__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sidebar-section__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    border-radius: 6px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.15s;
}
.sidebar-section__link:hover {
    background: var(--color-card);
}
.sidebar-section__link.is-active {
    background: var(--color-accent);
    color: #fff;
    font-weight: 600;
}
.sidebar-section__link.is-active .sidebar-section__count {
    color: rgba(255,255,255,0.8);
}
.sidebar-section__count {
    font-size: 12px;
    color: var(--color-text-sub);
}
.sidebar-section__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* 検索バー（全幅、サイドバーの上） */
.search-bar {
    margin-bottom: 16px;
}
.search-bar__inner {
    display: flex;
    gap: 0;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-bg);
    transition: border-color 0.2s;
}
.search-bar__inner:focus-within {
    border-color: var(--color-accent);
}
.search-bar__input {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-size: 15px;
    outline: none;
    background: transparent;
    min-width: 0;
}
.search-bar__btn {
    flex-shrink: 0;
    border: none;
    background: var(--color-accent);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    cursor: pointer;
    transition: background 0.2s;
}
.search-bar__btn:hover {
    background: var(--color-accent-hover);
}

/* ソートヘッダー（件数 + タブ） */
.sort-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}
.sort-header__count {
    font-size: 14px;
    color: var(--color-text-sub);
}
.sort-header__count strong {
    color: var(--color-text);
    font-size: 18px;
}
.sort-header__tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.sort-header__tabs::-webkit-scrollbar {
    display: none;
}
.sort-header__tab {
    position: relative;
    background: none;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    color: var(--color-text-sub);
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s;
}
.sort-header__tab:hover {
    color: var(--color-text);
}
.sort-header__tab.is-active {
    color: var(--color-text);
    font-weight: 600;
}
.sort-header__tab.is-active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-accent);
    border-radius: 1px;
}

/* PC: サイドバー＋コンテンツ横並び */
@media (min-width: 1024px) {
    .page-layout {
        display: flex;
        gap: 24px;
    }
    .page-layout__filter-toggle {
        display: none;
    }
    .page-layout__sidebar {
        position: sticky;
        top: calc(var(--header-h-pc) + 12px);
        width: 240px;
        height: fit-content;
        max-height: calc(100vh - var(--header-h-pc) - 24px);
        transform: none;
        border-right: none;
        border: 1px solid var(--color-border);
        border-radius: var(--radius);
        z-index: auto;
        flex-shrink: 0;
        padding: 16px;
        overflow-y: auto;
    }
    .page-layout__sidebar-header {
        display: none;
    }
    .page-layout__overlay {
        display: none !important;
    }
    .page-layout__content {
        flex: 1;
        min-width: 0;
    }
    .sort-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .sidebar-similar {
        display: block;
    }
    .page-layout ~ .similar-inline {
        display: none;
    }
}

/* --- Work List V2 override: 常に1カラム --- */
.work-list--v2 {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}
.work-list--v2 .similar-inline {
    width: 100%;
}

/* ============================================
   Work Card V2 - 縦型カード（画像上・情報下）
   ============================================ */
.work-card-v2 {
    display: flex;
    flex-direction: column;
    background: var(--color-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.work-card-v2__media {
    width: 100%;
}
.work-card-v2__single-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #E8E8EA;
}
.work-card-v2__single-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.work-card-v2__placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #E8E8EA;
}

/* Carousel */
.work-card-v2__carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.work-card-v2__slides {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.work-card-v2__slides::-webkit-scrollbar {
    display: none;
}
.work-card-v2__slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    aspect-ratio: 16 / 9;
    background: #E8E8EA;
}
.work-card-v2__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.work-card-v2__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.work-card-v2__carousel:hover .work-card-v2__arrow {
    opacity: 1;
}
.work-card-v2__arrow--prev { left: 8px; }
.work-card-v2__arrow--next { right: 8px; }
.work-card-v2__dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 2;
}
.work-card-v2__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.2s;
}
.work-card-v2__dot.is-active {
    background: #fff;
}

/* Video slide: iframe直接埋め込み（loading=lazy で遅延読み込み） */
.work-card-v2__slide--video {
    position: relative;
    aspect-ratio: 3 / 2;
    background: #000;
    overflow: hidden;
}
.work-card-v2__video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 720px;
    height: 480px;
    border: none;
    background: #000;
    transform-origin: top left;
}
.work-card-v2__dot--video {
    background: rgba(255,255,255,0.5);
    position: relative;
}
.work-card-v2__dot--video::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-left: 4px solid rgba(255,255,255,0.8);
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
}

/* Info: 作品名 → 説明 → レビュー → 配信日 → ボタン */
.work-card-v2__info {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.work-card-v2__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 0;
}
.work-card-v2__description {
    font-size: 14px;
    color: var(--color-text-sub);
    line-height: 1.5;
}
.work-card-v2__rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
}
.work-card-v2__stars {
    background: linear-gradient(90deg, var(--color-accent) calc(var(--rating) / 5 * 100%), #ccc calc(var(--rating) / 5 * 100%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}
.work-card-v2__review-score {
    font-weight: 600;
    color: var(--color-accent);
}
.work-card-v2__review-count {
    color: var(--color-text-sub);
}
.work-card-v2__date {
    font-size: 13px;
    color: var(--color-text-sub);
}
.work-card-v2__cta {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #FFFFFF;
    background: var(--color-accent);
    border-radius: 6px;
    padding: 10px 24px;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
    align-self: center;
    margin-top: 4px;
}
.work-card-v2__cta:hover {
    background: var(--color-accent-hover);
}

/* PC: カードスタイル拡大 */
@media (min-width: 768px) {
    .work-card-v2__title {
        font-size: 18px;
    }
    .work-card-v2__info {
        padding: 16px 20px 20px;
    }
    .work-card-v2__cta {
        font-size: 16px;
        padding: 14px 32px;
    }
}
