/* ============================================
   TAXONOMY SELECT (エリア選択・テーマ選択ページ)
============================================ */

/* PAGE HERO（route-archive と共通化） */
.page-hero {
    padding-top: 64px; position: relative;
    height: 340px; overflow: hidden;
    display: flex; align-items: center;
}
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to right, rgba(10,10,10,.75) 0%, rgba(10,10,10,.5) 50%, rgba(10,10,10,.2) 100%);
}
.page-hero-content { position: relative; z-index: 2; padding: 0 var(--pad); }
.page-hero-eyebrow {
    font-family: var(--font-en); font-size: 11px; font-weight: 700;
    letter-spacing: 3px; color: var(--red); text-transform: uppercase;
    display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.page-hero-eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--red); }
.page-hero-title {
    font-family: var(--font-en); font-size: clamp(40px, 5vw, 68px);
    font-weight: 900; color: var(--white); letter-spacing: .02em;
    line-height: 1; margin-bottom: 6px;
}
.page-hero-sub { font-size: 14px; color: rgba(255,255,255,.55); }

/* AREA LIST */
.area-list, .theme-list { padding: 0 0 80px; }

.area-big-grid, .theme-big-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 24px; margin-bottom: 24px;
}
.area-big-card {
    position: relative; height: 360px;
    border-radius: 8px; overflow: hidden;
    text-decoration: none; display: block;
}
.area-big-img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.area-big-card:hover .area-big-img { transform: scale(1.06); }
.area-big-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.15) 50%, transparent 100%);
    transition: background .3s;
}
.area-big-card:hover .area-big-overlay {
    background: linear-gradient(to top, rgba(180,0,0,.65) 0%, rgba(0,0,0,.15) 55%, transparent 100%);
}
.area-big-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 32px; }
.area-big-num {
    font-family: var(--font-en); font-size: 10px; font-weight: 700;
    letter-spacing: 2px; color: rgba(255,255,255,.5); margin-bottom: 4px;
}
.area-big-name {
    font-size: 36px; font-weight: 900; color: var(--white);
    letter-spacing: -1px; margin-bottom: 10px;
}
.area-big-meta { display: flex; align-items: center; justify-content: space-between; }
.area-big-count {
    font-family: var(--font-en); font-size: 13px; font-weight: 700;
    color: rgba(255,255,255,.7);
}
.area-big-arrow {
    width: 36px; height: 36px; background: var(--red);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 14px;
    transition: transform .2s, background .2s;
}
.area-big-card:hover .area-big-arrow { transform: translateX(4px); background: var(--red-d); }

.area-small-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.area-small-card {
    position: relative; height: 200px;
    border-radius: 8px; overflow: hidden;
    text-decoration: none; display: block;
}
.area-small-img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.area-small-card:hover .area-small-img { transform: scale(1.07); }
.area-small-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 55%);
    transition: background .3s;
}
.area-small-card:hover .area-small-overlay {
    background: linear-gradient(to top, rgba(180,0,0,.6) 0%, transparent 55%);
}
.area-small-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px 18px; }
.area-small-num {
    font-family: var(--font-en); font-size: 10px; font-weight: 700;
    letter-spacing: 2px; color: rgba(255,255,255,.45); margin-bottom: 3px;
}
.area-small-name {
    font-size: 20px; font-weight: 900; color: var(--white);
    letter-spacing: -.5px; margin-bottom: 4px;
}
.area-small-count { font-family: var(--font-en); font-size: 11px; color: rgba(255,255,255,.55); }

/* THEME CARDS (large + small) */
.theme-big-card {
    position: relative; height: 360px;
    border-radius: 8px; overflow: hidden;
    text-decoration: none; display: block;
    border: 1.5px solid var(--border);
}
.theme-big-img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.theme-big-card:hover .theme-big-img { transform: scale(1.06); }
.theme-big-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.2) 50%, transparent 100%);
    transition: background .3s;
}
.theme-big-card:hover .theme-big-overlay {
    background: linear-gradient(to top, rgba(180,0,0,.72) 0%, rgba(0,0,0,.2) 55%, transparent 100%);
}
.theme-big-body {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 28px 32px;
    display: flex; align-items: flex-end; justify-content: space-between;
}
.theme-big-icon { width: 52px; height: 52px; color: var(--white); margin-bottom: 14px; opacity: .9; }
.theme-big-name {
    font-size: 32px; font-weight: 900; color: var(--white);
    letter-spacing: -1px; margin-bottom: 6px;
}
.theme-big-desc { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 12px; }
.theme-big-count { font-family: var(--font-en); font-size: 12px; font-weight: 700; color: rgba(255,255,255,.65); }
.theme-big-arrow {
    width: 44px; height: 44px; background: var(--red); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 16px; flex-shrink: 0;
    transition: transform .2s, background .2s; align-self: flex-end;
}
.theme-big-card:hover .theme-big-arrow { transform: translateX(4px); background: var(--red-d); }

.theme-small-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.theme-small-card {
    background: var(--white);
    border: 1.5px solid var(--border); border-radius: 8px;
    padding: 36px 20px; text-align: center;
    text-decoration: none; color: var(--text);
    transition: transform .25s, box-shadow .25s, background .25s, color .25s;
    position: relative; overflow: hidden;
}
.theme-small-card::before {
    content: ''; position: absolute; inset: 0;
    background: var(--red); opacity: 0; transition: opacity .25s; z-index: 0;
}
.theme-small-card:hover::before { opacity: 1; }
.theme-small-card:hover {
    color: var(--white); transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(220,36,36,.2);
}
.theme-small-icon {
    width: 56px; height: 56px; margin: 0 auto 14px;
    display: block; position: relative; z-index: 1;
    color: var(--red); transition: color .25s;
}
.theme-small-card:hover .theme-small-icon { color: var(--white); }
.theme-small-name {
    font-size: 16px; font-weight: 900; margin-bottom: 5px;
    letter-spacing: -.2px; position: relative; z-index: 1;
}
.theme-small-count { font-size: 12px; opacity: .55; font-family: var(--font-en); position: relative; z-index: 1; }
.theme-small-desc {
    font-size: 12px; color: var(--sub); margin-top: 8px; line-height: 1.6;
    position: relative; z-index: 1; transition: color .25s;
}
.theme-small-card:hover .theme-small-desc { color: rgba(255,255,255,.75); }

/* CTA BANNER */
.cta-banner { background: var(--red); padding: 72px var(--pad); text-align: center; }
.cta-label {
    font-family: var(--font-en); font-size: 11px; font-weight: 700;
    letter-spacing: 3px; color: rgba(255,255,255,.6);
    text-transform: uppercase; margin-bottom: 16px;
}
.cta-title {
    font-size: clamp(24px, 3vw, 36px); font-weight: 900;
    letter-spacing: -1px; margin-bottom: 12px; color: var(--white);
}
.cta-desc { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 32px; }
.btn-white {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--white); color: var(--red);
    padding: 14px 32px; border-radius: 3px;
    font-size: 13px; font-weight: 800;
    text-decoration: none; letter-spacing: .3px;
    transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-white:hover { background: rgba(255,255,255,.88); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .area-small-grid, .theme-small-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .page-hero { height: 260px; }
    .page-hero-title { font-size: 36px; }
    .area-list, .theme-list { padding: 0 0 48px; }
    .area-big-grid, .theme-big-grid { grid-template-columns: 1fr; }
    .area-big-card, .theme-big-card { height: 280px; }
    .area-small-grid, .theme-small-grid { grid-template-columns: repeat(2, 1fr); }
}
