/* ============================================================
   Eropedi Actress - actress-db.css
   すべてのクラスは adb- prefix
   ============================================================ */

/* ─── Layout ─────────────────────────────────────────────── */

.adb-container {
    max-width: var(--adb-container);
    margin: 0 auto;
    padding: 0 var(--adb-gutter);
}

.adb-main {
    min-height: 60vh;
    padding-bottom: 64px;
}

/* ─── Header ──────────────────────────────────────────────── */

.adb-header {
    background: #fff;
    border-bottom: 3px solid var(--adb-main);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.adb-header__inner {
    max-width: var(--adb-container);
    margin: 0 auto;
    padding: 0 var(--adb-gutter);
    display: flex;
    align-items: center;
    gap: 24px;
    height: 60px;
}

.adb-header__logo { flex-shrink: 0; }

.adb-header__logo-link {
    font-size: 18px;
    font-weight: 800;
    color: var(--adb-main);
    letter-spacing: -0.02em;
}
.adb-header__logo-link:hover { color: var(--adb-main-dark); }

/* ─── Footer ──────────────────────────────────────────────── */

.adb-footer {
    background: #171717;
    color: #ccc;
    margin-top: 80px;
}

.adb-footer__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 24px 32px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
}

.adb-footer__logo {
    display: inline-block;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    margin-bottom: 12px;
}
.adb-footer__logo:hover { color: #e40046; }

.adb-footer__description,
.adb-footer__credit-text,
.adb-footer__copy {
    color: #aaa;
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}

.adb-footer__description { margin-top: 8px; }

.adb-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.adb-footer__nav-link {
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}
.adb-footer__nav-link:hover { color: #e40046; }

.adb-footer__credit { display: flex; flex-direction: column; gap: 10px; }

.adb-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    padding: 18px 24px;
}

/* ─── Hero ────────────────────────────────────────────────── */

.adb-hero {
    background: linear-gradient(140deg, #b5002a 0%, #d7002f 55%, #e84060 100%);
    color: #fff;
    padding: 52px var(--adb-gutter) 48px;
    text-align: center;
}
.adb-hero__inner { max-width: 660px; margin: 0 auto; }

.adb-hero__title {
    font-size: clamp(22px, 4vw, 36px);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    margin-bottom: 8px;
}
.adb-hero__sub {
    font-size: 14px;
    opacity: 0.88;
    margin-bottom: 24px;
}

.adb-hero__search-wrap {
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
    background: #fff;
}
.adb-hero__search-input {
    flex: 1;
    padding: 13px 20px;
    border: none;
    outline: none;
    font-size: 15px;
    color: var(--adb-text);
    background: transparent;
}
.adb-hero__search-btn {
    padding: 13px 26px;
    background: var(--adb-text);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s;
    white-space: nowrap;
}
.adb-hero__search-btn:hover { background: #3a3a3a; }

.adb-hero__quick-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.adb-hero__quick-link {
    padding: 5px 14px;
    border: 1.5px solid rgba(255,255,255,0.6);
    border-radius: 20px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.2s, border-color 0.2s;
}
.adb-hero__quick-link:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
    border-color: #fff;
}

/* ─── Section ─────────────────────────────────────────────── */

.adb-section { margin-top: 44px; }

.adb-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--adb-main);
}
.adb-section__title {
    font-size: 19px;
    font-weight: 700;
    color: var(--adb-text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.adb-section__title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 4px;
    background: var(--adb-main);
    color: #fff;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
    letter-spacing: 0;
}
.adb-section__more {
    font-size: 13px;
    color: var(--adb-main);
    font-weight: 500;
    white-space: nowrap;
}
.adb-section__more:hover { color: var(--adb-accent); }

/* ─── Grid (トップページ用) ───────────────────────────────── */

.adb-grid { display: grid; gap: 14px; }
.adb-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ─── Card 縦型 (トップページ) ───────────────────────────── */

.adb-card {
    background: var(--adb-card);
    border-radius: var(--adb-radius);
    border: 1px solid var(--adb-border);
    overflow: hidden;
    box-shadow: var(--adb-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.adb-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--adb-shadow-md);
}
.adb-card__link { display: block; color: inherit; height: 100%; }

.adb-card__img-wrap {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f2f2f2;
}
.adb-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.adb-card:hover .adb-card__img { transform: scale(1.04); }

.adb-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5d0d8, #fce4ec);
    color: var(--adb-main);
    font-size: 30px;
    font-weight: 700;
}

.adb-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}
.adb-card__badge--featured { background: var(--adb-main); }
.adb-card__badge--new      { background: #e06000; }

.adb-card__body { padding: 10px 12px 12px; }

.adb-card__ruby {
    font-size: 11px;
    color: var(--adb-text-sub);
    margin-bottom: 2px;
    line-height: 1.2;
}
.adb-card__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--adb-text);
    margin-bottom: 6px;
    line-height: 1.3;
}

/* トップページ用 meta (年齢・身長・カップ・作品数) */
.adb-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    list-style: none;
    font-size: 11px;
    color: var(--adb-text-sub);
}
.adb-card__meta li {
    padding: 2px 6px;
    background: #f5f5f5;
    border-radius: 3px;
    white-space: nowrap;
}

/* ─── Card 横長型 (女優一覧ページ) ──────────────────────── */

.adb-grid--actress-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.adb-card--list .adb-card__link {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.adb-card--list .adb-card__img-wrap {
    width: 120px;
    min-width: 120px;
    flex-shrink: 0;
    aspect-ratio: unset;
    min-height: 130px;
}

.adb-card--list .adb-card__img {
    height: 100%;
    object-fit: cover;
}

.adb-card--list .adb-card__img-placeholder {
    height: 100%;
    font-size: 24px;
}

.adb-card--list .adb-card__body {
    flex: 1;
    padding: 10px 14px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.adb-card__specs {
    margin-top: 6px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 6px;
}

.adb-card__spec {
    display: flex;
    gap: 4px;
    font-size: 11px;
    color: var(--adb-text-sub);
    line-height: 1.5;
    overflow: hidden;
}
.adb-card__spec dt {
    color: var(--adb-text-light);
    white-space: nowrap;
    flex-shrink: 0;
}
.adb-card__spec dd {
    color: var(--adb-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ─── Filter ──────────────────────────────────────────────── */

.adb-filter-wrap {
    background: var(--adb-card);
    border: 1px solid var(--adb-border);
    border-radius: var(--adb-radius-lg);
    padding: 18px 20px;
    margin-bottom: 24px;
    box-shadow: var(--adb-shadow);
}

.adb-filter__search-form { margin-bottom: 16px; }

.adb-filter__search {
    display: flex;
    border: 1.5px solid var(--adb-border);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.adb-filter__search:focus-within { border-color: var(--adb-main); }

.adb-filter__input {
    flex: 1;
    padding: 10px 16px;
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--adb-text);
    background: transparent;
}
.adb-filter__search-btn {
    padding: 10px 20px;
    background: var(--adb-main);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s;
    white-space: nowrap;
}
.adb-filter__search-btn:hover { background: var(--adb-main-dark); }

.adb-filter__group { margin-bottom: 12px; }
.adb-filter__group:last-of-type { margin-bottom: 0; }

.adb-filter__label {
    font-size: 11px;
    font-weight: 700;
    color: var(--adb-text-sub);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 7px;
}

.adb-filter__tags { display: flex; flex-wrap: wrap; gap: 5px; }

.adb-filter__tag {
    display: inline-block;
    padding: 4px 11px;
    border: 1.5px solid var(--adb-border);
    border-radius: 20px;
    font-size: 12px;
    color: var(--adb-text);
    background: #fff;
    transition: all 0.15s;
    cursor: pointer;
    white-space: nowrap;
}
.adb-filter__tag:hover {
    border-color: var(--adb-main);
    color: var(--adb-main);
}
.adb-filter__tag.is-active {
    background: var(--adb-main);
    border-color: var(--adb-main);
    color: #fff;
    font-weight: 600;
}

/* おすすめ/新人 タグ */
.adb-filter__tag--featured.is-active { background: var(--adb-main); border-color: var(--adb-main); }
.adb-filter__tag--new.is-active      { background: #e06000; border-color: #e06000; }

.adb-filter__count {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--adb-border);
    font-size: 12px;
    color: var(--adb-text-sub);
}

/* ─── Page Header ─────────────────────────────────────────── */

.adb-page-header { margin: 24px 0 18px; }

.adb-page-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--adb-text);
    padding-left: 12px;
    border-left: 4px solid var(--adb-main);
    line-height: 1.3;
}
.adb-page-subtitle {
    font-size: 13px;
    color: var(--adb-text-sub);
    margin-top: 6px;
    padding-left: 16px;
}

/* ─── Ranking (2カラム) ───────────────────────────────────── */

.adb-ranking {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--adb-border);
    border: 1px solid var(--adb-border);
    border-radius: var(--adb-radius-lg);
    overflow: hidden;
    box-shadow: var(--adb-shadow);
}

.adb-ranking__item { background: var(--adb-card); }

.adb-ranking__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: inherit;
    transition: background 0.15s;
}
.adb-ranking__link:hover { background: #fff5f7; color: inherit; }

.adb-ranking__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}
.adb-ranking__num--top    { background: var(--adb-main); color: #fff; }
.adb-ranking__num--normal { background: #efefef; color: var(--adb-text-sub); }

.adb-ranking__thumb {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5d0d8;
}
.adb-ranking__thumb img { width: 100%; height: 100%; object-fit: cover; }
.adb-ranking__thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--adb-main);
}

.adb-ranking__info { flex: 1; min-width: 0; }
.adb-ranking__ruby { font-size: 10px; color: var(--adb-text-sub); line-height: 1.2; }
.adb-ranking__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--adb-text);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.adb-ranking__count { font-size: 11px; color: var(--adb-text-sub); margin-top: 2px; }

/* ─── Quick Links (カップ・身長) ──────────────────────────── */

.adb-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.adb-quick-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: #fff;
    border: 1.5px solid var(--adb-border);
    border-radius: var(--adb-radius);
    font-size: 14px;
    font-weight: 600;
    color: var(--adb-text);
    transition: border-color 0.15s, color 0.15s, background 0.15s, box-shadow 0.15s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    white-space: nowrap;
}
.adb-quick-link:hover {
    border-color: var(--adb-main);
    color: var(--adb-main);
    background: #fff5f7;
    box-shadow: 0 2px 8px rgba(215,0,47,0.12);
}
.adb-quick-link--highlight {
    border-color: var(--adb-main);
    color: var(--adb-main);
}
.adb-quick-link--highlight:hover {
    background: var(--adb-main);
    color: #fff;
}

.adb-quick-links--cups    .adb-quick-link { min-width: 80px; }
.adb-quick-links--heights .adb-quick-link { min-width: 120px; }

/* ─── CTA ─────────────────────────────────────────────────── */

.adb-cta {
    background: linear-gradient(135deg, #fff5f7, #ffe0e6);
    border: 2px solid #ffc0cc;
    border-radius: var(--adb-radius-lg);
    padding: 40px 24px;
    text-align: center;
}
.adb-cta__text { font-size: 17px; font-weight: 600; color: var(--adb-text); margin-bottom: 16px; }
.adb-cta__btn {
    display: inline-block;
    padding: 13px 40px;
    background: var(--adb-main);
    color: #fff;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(215,0,47,0.32);
}
.adb-cta__btn:hover { background: var(--adb-main-dark); color: #fff; transform: translateY(-2px); }

/* ─── Profile ─────────────────────────────────────────────── */

.adb-profile {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 26px;
    background: var(--adb-card);
    border: 1px solid var(--adb-border);
    border-radius: var(--adb-radius-lg);
    padding: 22px 26px;
    box-shadow: var(--adb-shadow-md);
    margin-top: 16px;
    margin-bottom: 16px;
}

.adb-profile__img-col { text-align: center; }

.adb-profile__img {
    width: 100%;
    max-width: 190px;
    border-radius: var(--adb-radius);
    object-fit: cover;
    aspect-ratio: 1 / 1;
    display: block;
    margin: 0 auto;
}
.adb-profile__img-placeholder {
    max-width: 190px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5d0d8, #fce4ec);
    border-radius: var(--adb-radius);
    font-size: 36px;
    font-weight: 700;
    color: var(--adb-main);
}

.adb-profile__badges {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.adb-profile__info-col { display: flex; flex-direction: column; }

.adb-profile__ruby { font-size: 14px; color: var(--adb-text-sub); margin-bottom: 4px; }

.adb-profile__name {
    font-size: clamp(21px, 2.6vw, 28px);
    font-weight: 800;
    color: var(--adb-text);
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    line-height: 1.2;
}

.adb-profile__specs { display: flex; flex-direction: column; }

.adb-profile__spec-row {
    display: flex;
    align-items: baseline;
    gap: 0;
    border-bottom: 1px solid var(--adb-border);
    padding: 8px 0;
}
.adb-profile__spec-row:first-child { border-top: 1px solid var(--adb-border); }

.adb-profile__spec-label {
    display: block;
    width: 100px;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--adb-text-sub);
}
.adb-profile__spec-value {
    display: block;
    font-size: 15px;
    color: var(--adb-text);
    font-weight: 500;
}
.adb-profile__age { color: var(--adb-text-sub); font-size: 13px; font-weight: 400; }

/* ─── Profile Description ─────────────────────────────────── */

.adb-profile-desc {
    background: var(--adb-card);
    border: 1px solid var(--adb-border);
    border-left: 3px solid var(--adb-main);
    border-radius: var(--adb-radius);
    padding: 12px 16px;
    margin-bottom: 26px;
    box-shadow: var(--adb-shadow);
}
.adb-profile-desc__text {
    font-size: 13px;
    color: var(--adb-text-sub);
    line-height: 1.9;
}

/* ─── Badge ───────────────────────────────────────────────── */

.adb-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.03em;
}
.adb-badge--featured { background: var(--adb-main); }
.adb-badge--new      { background: #e06000; }

/* ─── Works Placeholder ───────────────────────────────────── */

.adb-works-placeholder {
    background: #f9f9f9;
    border: 2px dashed #ddd;
    border-radius: var(--adb-radius);
    padding: 34px 20px;
    text-align: center;
}
.adb-works-placeholder__text {
    font-size: 15px;
    font-weight: 600;
    color: var(--adb-text-sub);
    margin-bottom: 6px;
}
.adb-works-placeholder__sub { font-size: 12px; color: var(--adb-text-light); }

/* ─── Works Error (管理者のみ表示) ───────────────────────── */

.adb-works-error {
    background: #fff3f3;
    border: 1px solid #fcc;
    border-radius: var(--adb-radius);
    padding: 14px 18px;
}
.adb-works-error p {
    font-size: 13px;
    color: #c00;
    margin: 0;
}

/* ─── Works Grid ──────────────────────────────────────────── */

.adb-works-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

/* ─── Work Card ───────────────────────────────────────────── */

.adb-work-card {
    background: var(--adb-card);
    border: 1px solid var(--adb-border);
    border-radius: var(--adb-radius);
    overflow: hidden;
    box-shadow: var(--adb-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}
.adb-work-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--adb-shadow-md);
}

.adb-work-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.adb-work-card__thumb {
    aspect-ratio: 2040 / 1372;
    overflow: hidden;
    background: #f2f2f2;
    flex-shrink: 0;
}
.adb-work-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.adb-work-card:hover .adb-work-card__thumb img { transform: scale(1.04); }

.adb-work-card__thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5d0d8, #fce4ec);
}

.adb-work-card__body {
    padding: 10px 12px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.adb-work-card__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--adb-text);
    line-height: 1.55;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.adb-work-card__meta {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: auto;
}
.adb-work-card__meta-item {
    font-size: 11px;
    color: var(--adb-text-sub);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.adb-work-card__meta-item--date { color: var(--adb-text-sub); }
.adb-work-card__meta-item--product {
    font-size: 10px;
    color: var(--adb-text-light);
}

/* ─── Works More Link ─────────────────────────────────────── */

.adb-works-more {
    margin-top: 22px;
    text-align: center;
}
.adb-works-more__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 28px;
    background: var(--adb-main);
    color: #fff;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(215, 0, 47, 0.28);
}
.adb-works-more__link:hover {
    background: var(--adb-main-dark);
    color: #fff;
    transform: translateY(-2px);
}
.adb-works-more__count {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.85;
}

/* ─── Breadcrumb ──────────────────────────────────────────── */

.adb-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 14px 0;
    font-size: 12px;
    color: var(--adb-text-sub);
}
.adb-breadcrumb__link { color: var(--adb-main); }
.adb-breadcrumb__link:hover { color: var(--adb-accent); }
.adb-breadcrumb__sep { color: var(--adb-text-light); }
.adb-breadcrumb__current { color: var(--adb-text); font-weight: 500; }

/* ─── Pagination ──────────────────────────────────────────── */

.adb-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 36px;
}
.adb-pagination__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1.5px solid var(--adb-border);
    border-radius: 6px;
    font-size: 13px;
    color: var(--adb-text);
    background: #fff;
    transition: all 0.15s;
    white-space: nowrap;
}
.adb-pagination__item:hover { border-color: var(--adb-main); color: var(--adb-main); background: #fff5f7; }
.adb-pagination__item.is-current {
    background: var(--adb-main);
    border-color: var(--adb-main);
    color: #fff;
    font-weight: 700;
    pointer-events: none;
}
.adb-pagination__ellipsis { color: var(--adb-text-light); padding: 0 4px; }

/* ─── No Result ───────────────────────────────────────────── */

.adb-no-result { text-align: center; padding: 60px 24px; color: var(--adb-text-sub); }
.adb-no-result p { font-size: 15px; margin-bottom: 16px; }
.adb-no-result__reset {
    display: inline-block;
    padding: 10px 24px;
    background: var(--adb-main);
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}
.adb-no-result__reset:hover { background: var(--adb-main-dark); color: #fff; }

/* ─── Article (Fallback) ──────────────────────────────────── */

.adb-article {
    background: var(--adb-card);
    border-radius: var(--adb-radius);
    padding: 28px 32px;
    margin-top: 24px;
    box-shadow: var(--adb-shadow);
}
.adb-article__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--adb-main);
}
.adb-article__content { line-height: 1.8; }

/* ─── Page Card ───────────────────────────────────────────── */

.adb-page-card {
    max-width: 1180px;
    margin: 40px auto 80px;
    padding: 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.adb-page-card__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--adb-main);
}

.adb-page-content { line-height: 1.8; }

/* ─── Page Form (Contact etc.) ─────────────────────────────── */

.adb-page-content form { max-width: 720px; margin-top: 32px; }

.adb-page-content form p { margin: 0 0 22px; }

.adb-page-content form p:last-child { margin-top: 28px; }

.adb-page-content label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #222;
}

.adb-page-content input[type="text"],
.adb-page-content input[type="email"],
.adb-page-content input[type="url"],
.adb-page-content input[type="tel"],
.adb-page-content textarea {
    width: 100%;
    max-width: 100%;
    padding: 13px 15px;
    border: 1px solid #f3b3c5;
    border-radius: 12px;
    background: #fff;
    font-size: 15px;
    line-height: 1.6;
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.adb-page-content textarea {
    min-height: 180px;
    resize: vertical;
}

.adb-page-content input:focus,
.adb-page-content textarea:focus {
    outline: none;
    border-color: #e40046;
    box-shadow: 0 0 0 4px rgba(228, 0, 70, .08);
}

.adb-page-content input[type="submit"],
.adb-page-content button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 13px 28px;
    border: none;
    border-radius: 999px;
    background: #d8003d;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(216, 0, 61, .22);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.adb-page-content input[type="submit"]:hover,
.adb-page-content button[type="submit"]:hover {
    background: #b90034;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(216, 0, 61, .28);
}

/* ─── Home Actress Preview ────────────────────────────────── */

.adb-home-actress-list__desc {
    font-size: 13px;
    color: var(--adb-text-sub);
    margin-bottom: 16px;
}

.adb-home-actress-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.adb-home-actress-card {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.adb-home-actress-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.adb-home-actress-card__link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    color: inherit;
    text-decoration: none;
    min-height: 132px;
}

.adb-home-actress-card__thumb {
    width: 104px;
    height: 104px;
    flex: 0 0 104px;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
}

.adb-home-actress-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.adb-home-actress-card:hover .adb-home-actress-card__thumb img {
    transform: scale(1.04);
}

.adb-home-actress-card__thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5d0d8, #fce4ec);
    color: var(--adb-main);
    font-size: 24px;
    font-weight: 700;
}

.adb-home-actress-card__body {
    flex: 1;
    min-width: 0;
}

.adb-home-actress-card__name {
    font-size: 16px;
    font-weight: 800;
    color: #111827;
    line-height: 1.35;
    margin: 0 0 3px;
}

.adb-home-actress-card__ruby {
    font-size: 12px;
    color: #6b7280;
    margin: 0 0 8px;
}

.adb-home-actress-card__specs {
    display: grid;
    gap: 3px;
    margin: 0;
    font-size: 13px;
}

.adb-home-actress-card__specs div {
    display: flex;
    gap: 8px;
    line-height: 1.45;
}

.adb-home-actress-card__specs dt {
    min-width: 58px;
    color: #6b7280;
    flex-shrink: 0;
}

.adb-home-actress-card__specs dd {
    margin: 0;
    color: #111827;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ─── Home Actress Pagination ─────────────────────────────── */

.adb-home-actress-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.adb-hap-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 1.5px solid var(--adb-border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--adb-text);
    background: #fff;
    white-space: nowrap;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.adb-hap-item:hover {
    border-color: var(--adb-main);
    color: var(--adb-main);
    background: #fff5f7;
}
.adb-hap-item.is-current {
    background: var(--adb-main);
    border-color: var(--adb-main);
    color: #fff;
    font-weight: 700;
    pointer-events: none;
}

.adb-hap-ellipsis {
    color: var(--adb-text-light);
    padding: 0 2px;
    font-size: 13px;
}

/* ─── Responsive ──────────────────────────────────────────── */

/* Large tablet */
@media (max-width: 1024px) {
    .adb-grid--4 { grid-template-columns: repeat(3, 1fr); }
    .adb-grid--actress-list { grid-template-columns: repeat(2, 1fr); }
    .adb-home-actress-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .adb-profile { grid-template-columns: 180px 1fr; gap: 22px; padding: 20px 22px; }
}

/* Tablet */
@media (max-width: 768px) {
    .adb-hero { padding: 40px var(--adb-gutter) 36px; }
    .adb-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .adb-grid--actress-list { grid-template-columns: 1fr; }
    .adb-ranking { grid-template-columns: 1fr; }

    .adb-profile {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    .adb-profile__img { max-width: 170px; }
    .adb-profile__img-placeholder { max-width: 170px; }
    .adb-profile__name { font-size: 20px; }

    .adb-footer__inner { grid-template-columns: 1fr; }
    .adb-footer__credit img { max-width: 100%; }

    .adb-card--list .adb-card__img-wrap { width: 100px; min-width: 100px; }
    .adb-card__specs { grid-template-columns: 1fr; }
    .adb-works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Small tablet / large phone */
@media (max-width: 767px) {
    .adb-works-grid { grid-template-columns: 1fr; }

    .adb-page-card {
        margin: 24px 16px 56px;
        padding: 24px 18px;
    }

    .adb-page-content input[type="submit"],
    .adb-page-content button[type="submit"] {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .adb-home-actress-grid { grid-template-columns: 1fr; }
    .adb-home-actress-card__link { min-height: 118px; padding: 12px; gap: 12px; }
    .adb-home-actress-card__thumb { width: 88px; height: 88px; flex-basis: 88px; }
}

/* Mobile */
@media (max-width: 480px) {
    .adb-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .adb-grid--actress-list { grid-template-columns: 1fr; }
    .adb-card--list .adb-card__img-wrap { width: 90px; min-width: 90px; }
    .adb-profile__spec-label { width: 90px; }
    .adb-quick-links--cups .adb-quick-link { min-width: 60px; padding: 8px 12px; }
    .adb-quick-links--heights .adb-quick-link { min-width: 90px; }
    .adb-hap-item { min-width: 30px; height: 30px; font-size: 12px; padding: 0 8px; }
}

/* ─── Directory Shell (トップページ: メイン幅維持 + 右外サイドバー) ─ */

.adb-directory-shell {
    max-width: var(--adb-container);
    margin: 0 auto;
    padding: 24px var(--adb-gutter) 0;
    position: relative;
}

.adb-directory-main {
    width: 100%;
}

/* サイドバーはメインの右外に absolute で配置 */
.adb-directory-sidebar {
    position: absolute;
    left: calc(100% + 20px);
    top: 8px;
    width: 280px;
}

/* ─── Directory Filter ────────────────────────────────────────── */

.adb-dir-filter {
    background: #fff;
    border: 1px solid var(--adb-border);
    border-radius: var(--adb-radius-lg);
    padding: 14px 18px;
    margin-bottom: 20px;
    box-shadow: var(--adb-shadow);
}

.adb-dir-filter__group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #f3f4f6;
}
.adb-dir-filter__group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.adb-dir-filter__group:first-child { padding-top: 0; }

.adb-dir-filter__label {
    font-size: 11px;
    font-weight: 700;
    color: var(--adb-text-sub);
    white-space: nowrap;
    min-width: 42px;
    padding-top: 5px;
    letter-spacing: 0.04em;
}

.adb-dir-filter__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    flex: 1;
}

.adb-dir-filter__tag {
    display: inline-block;
    padding: 4px 11px;
    border: 1.5px solid var(--adb-border);
    border-radius: 20px;
    font-size: 12px;
    color: var(--adb-text);
    background: #fff;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    white-space: nowrap;
}
.adb-dir-filter__tag:hover {
    border-color: var(--adb-main);
    color: var(--adb-main);
    background: #fff5f7;
}
.adb-dir-filter__tag.is-active {
    background: var(--adb-main);
    border-color: var(--adb-main);
    color: #fff;
    font-weight: 600;
}

/* ─── Directory Count ─────────────────────────────────────────── */

.adb-dir-count {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--adb-text-sub);
    margin-bottom: 14px;
}

.adb-dir-count__reset {
    font-size: 11px;
    color: var(--adb-main);
    border: 1px solid var(--adb-main);
    border-radius: 4px;
    padding: 2px 10px;
    transition: background 0.15s, color 0.15s;
}
.adb-dir-count__reset:hover {
    background: var(--adb-main);
    color: #fff;
}

/* ─── Directory Grid (3カラム) ────────────────────────────────── */

.adb-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

/* カードサイズ調整・テキスト見切れ防止 */
.adb-directory-grid .adb-home-actress-card__link {
    min-height: 150px;
    padding: 16px 18px;
    gap: 18px;
}

.adb-directory-grid .adb-home-actress-card__thumb {
    width: 116px;
    height: 116px;
    flex: 0 0 116px;
}

.adb-directory-grid .adb-home-actress-card__body {
    min-width: 0;
    overflow: hidden;
}

.adb-directory-grid .adb-home-actress-card__name {
    font-size: 15px;
}

.adb-directory-grid .adb-home-actress-card__ruby {
    font-size: 12px;
    margin-bottom: 6px;
}

.adb-directory-grid .adb-home-actress-card__specs {
    font-size: 12px;
}

.adb-directory-grid .adb-home-actress-card__specs dt {
    min-width: 54px;
}

/* テキスト見切れ防止: 一覧カードでは折り返し許可 */
.adb-directory-grid .adb-home-actress-card__specs dd {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

/* ─── Sidebar Card ────────────────────────────────────────────── */

.adb-sidebar-card {
    background: #fff;
    border: 1px solid var(--adb-border);
    border-radius: var(--adb-radius-lg);
    overflow: hidden;
    box-shadow: var(--adb-shadow);
}

.adb-sidebar-card__head {
    padding: 14px 18px;
    background: #fff;
    border-bottom: 2px solid var(--adb-main);
}

.adb-sidebar-card__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--adb-text);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.adb-sidebar-card__title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 15px;
    background: var(--adb-main);
    border-radius: 2px;
    flex-shrink: 0;
}

/* ─── Sidebar Ranking ─────────────────────────────────────────── */

.adb-sidebar-ranking {
    list-style: none;
    margin: 0;
    padding: 0;
}

.adb-sidebar-ranking__item { border-bottom: 1px solid #f3f4f6; }
.adb-sidebar-ranking__item:last-child { border-bottom: none; }

.adb-sidebar-ranking__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: inherit;
    transition: background 0.15s;
}
.adb-sidebar-ranking__link:hover { background: #fff5f7; color: inherit; }

.adb-sidebar-ranking__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
    background: #efefef;
    color: var(--adb-text-sub);
}
.adb-sidebar-ranking__num.is-top {
    background: var(--adb-main);
    color: #fff;
}

.adb-sidebar-ranking__thumb {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5d0d8;
}
.adb-sidebar-ranking__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.adb-sidebar-ranking__thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--adb-main);
}

.adb-sidebar-ranking__info { flex: 1; min-width: 0; }
.adb-sidebar-ranking__ruby { font-size: 11px; color: var(--adb-text-sub); line-height: 1.2; }
.adb-sidebar-ranking__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--adb-text);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.adb-sidebar-ranking__count { font-size: 12px; color: var(--adb-text-sub); }

/* ─── Responsive: Directory ───────────────────────────────────── */

/* サイドバーが viewport に収まらない幅では非表示
   計算: shell(1200) + gap(20) + sidebar(280) = 1500px が必要最小幅
   中央寄せのため実際は 1200 + (1200 + 20 + 280) = 1800px で余白ゼロ
   横スクロールが出ないよう 1800px 以下で非表示 */
@media (max-width: 1800px) {
    .adb-directory-sidebar { display: none; }
}

/* タブレット: 2カラム */
@media (max-width: 1024px) {
    .adb-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* スマホ: 1カラム */
@media (max-width: 768px) {
    .adb-directory-grid { grid-template-columns: 1fr; }
    .adb-dir-filter__group {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    .adb-directory-grid .adb-home-actress-card__link {
        min-height: 120px;
        padding: 12px 14px;
        gap: 12px;
    }
    .adb-directory-grid .adb-home-actress-card__thumb {
        width: 96px;
        height: 96px;
        flex: 0 0 96px;
    }
    .adb-directory-grid .adb-home-actress-card__specs { font-size: 12px; }
    .adb-directory-grid .adb-home-actress-card__specs dt { min-width: 52px; }
}

/* ─── 条件別アーカイブヘッダー ────────────────────────────────── */

.adb-archive-header {
    padding: 24px 0 20px;
    border-bottom: 1px solid var(--adb-border);
    margin-bottom: 24px;
}

.adb-archive-header__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--adb-text);
    margin: 0 0 8px;
}

.adb-archive-header__desc {
    font-size: 14px;
    color: var(--adb-text-light);
    margin: 0 0 6px;
    line-height: 1.6;
}

.adb-archive-header__count {
    font-size: 13px;
    color: var(--adb-text-light);
    margin: 0;
}

/* ─── 空状態 ─────────────────────────────────────────────────── */

.adb-empty {
    padding: 48px 24px;
    text-align: center;
    color: var(--adb-text-light);
    font-size: 15px;
}
