/* ============================================
   FRONT PAGE (トップページ)
============================================ */
@keyframes heroBgScale { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroLineDraw { from { width: 0; opacity: 0; } to { width: 24px; opacity: 1; } }

/* HERO */
.hero {
    height: 100vh; min-height: 620px;
    position: relative; display: flex; align-items: center; overflow: hidden;
}
.hero-bg-carousel { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
    opacity: 0; transition: opacity 1.6s ease-in-out;
}
.hero-bg-img.is-active {
    opacity: 1;
    animation: heroBgScale 2.4s cubic-bezier(.25,.46,.45,.94) forwards;
}
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to right, rgba(10,10,10,.78) 0%, rgba(10,10,10,.55) 45%, rgba(10,10,10,.18) 75%, rgba(10,10,10,.05) 100%);
}
.hero-content {
    position: relative; z-index: 2;
    padding: 64px 60px 0 100px; max-width: 680px;
}
.hero-eyebrow {
    font-family: var(--font-en); font-size: 11px; font-weight: 700;
    letter-spacing: 3.5px; color: var(--red); text-transform: uppercase;
    margin-bottom: 24px; display: flex; align-items: center; gap: 10px;
    opacity: 0; animation: heroFadeUp .9s .1s cubic-bezier(.25,.46,.45,.94) forwards;
}
.hero-eyebrow::before {
    content: ''; width: 0; height: 2px; background: var(--red);
    animation: heroLineDraw .7s .15s cubic-bezier(.25,.46,.45,.94) forwards;
}
.hero-title {
    font-size: clamp(52px, 5.5vw, 86px); font-weight: 900; font-style: italic;
    color: var(--white);
    line-height: 1.05; letter-spacing: -3px; margin-bottom: 6px;
    opacity: 0; animation: heroFadeUp .9s .3s cubic-bezier(.25,.46,.45,.94) forwards;
}
.hero-title-2 {
    font-size: clamp(52px, 5.5vw, 86px); font-weight: 900; font-style: italic;
    color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.25);
    line-height: 1.05; letter-spacing: -3px; margin-bottom: 32px;
    opacity: 0; animation: heroFadeUp .9s .45s cubic-bezier(.25,.46,.45,.94) forwards;
}
.hero-title-2 em { color: var(--red); -webkit-text-stroke: 0; font-style: inherit; }
.hero-desc {
    font-size: 14px; color: rgba(255,255,255,.5); line-height: 2;
    opacity: 0; animation: heroFadeUp .9s .6s cubic-bezier(.25,.46,.45,.94) forwards;
    margin-bottom: 40px; max-width: 380px;
}
.hero-actions {
    display: flex; gap: 12px; align-items: center;
    opacity: 0; animation: heroFadeUp .9s .75s cubic-bezier(.25,.46,.45,.94) forwards;
}
.btn-red {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--red); color: var(--white);
    padding: 14px 30px; border-radius: 3px;
    font-size: 13px; font-weight: 800;
    text-decoration: none; letter-spacing: .3px;
    transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-red:hover { background: var(--red-d); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(220,36,36,.35); }
.btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    border: 1.5px solid rgba(255,255,255,.25); color: rgba(255,255,255,.7);
    padding: 13px 24px; border-radius: 3px;
    font-size: 13px; font-weight: 600; text-decoration: none;
    transition: border-color .2s, color .2s, transform .2s;
}
.btn-outline:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.hero-scroll {
    position: absolute; bottom: 28px; left: 50%;
    transform: translateX(-50%); display: flex; flex-direction: column;
    align-items: center; gap: 6px;
    font-family: var(--font-en); font-size: 9px; font-weight: 700;
    letter-spacing: 3px; color: rgba(255,255,255,.28);
}
.scroll-line {
    width: 1px; height: 36px;
    background: linear-gradient(to bottom, rgba(220,36,36,.7), transparent);
    animation: sAnim 2s ease-in-out infinite;
}
@keyframes sAnim {
    0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
    40% { opacity: 1; }
    100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}
.hero-right-badge {
    position: absolute; bottom: 36px; right: var(--pad);
    background: var(--white); border-radius: 6px;
    display: flex; flex-direction: column; align-items: stretch;
    box-shadow: 0 8px 28px rgba(0,0,0,.3); z-index: 2;
    opacity: 0; animation: heroFadeUp .9s 1s cubic-bezier(.25,.46,.45,.94) forwards;
    width: 300px; overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.hero-right-badge:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(0,0,0,.35); }
.hero-latest-thumb {
    width: 100%; height: 160px; object-fit: cover;
    display: block;
}
.hero-latest-body { padding: 12px 14px 14px; }
.badge-dot { display: inline-block; width: 8px; height: 8px; background: var(--red); border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.badge-text {
    font-family: var(--font-en); font-size: 10px; font-weight: 800;
    letter-spacing: 1.5px; color: var(--red); text-transform: uppercase;
    margin-bottom: 4px;
}
.badge-sub {
    font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}

/* MARQUEE */
.marquee-wrap { background: var(--red); overflow: hidden; padding: 12px 0; }
.marquee-track { display: flex; animation: marquee 24s linear infinite; white-space: nowrap; }
.marquee-item {
    font-family: var(--font-en); font-size: 11px; font-weight: 800;
    color: var(--white); letter-spacing: 2.5px; text-transform: uppercase;
    padding: 0 24px; display: inline-flex; align-items: center; gap: 16px; flex-shrink: 0;
}
.marquee-item::after { content: '◆'; font-size: 5px; opacity: .5; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* SECTION 共通 */
.section { padding: 80px var(--pad); }
/* Pickup(フル幅) Marquee直下の上余白を調整 */
.marquee-wrap + .section { padding-top: 80px; }
.section-alt { background: var(--bg2); }
.sec-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.sec-label {
    font-family: var(--font-en); font-size: clamp(38px, 5vw, 62px);
    font-weight: 900; color: var(--text); letter-spacing: .02em;
    line-height: 1; display: block; margin-bottom: 10px;
}
.sec-label::after {
    content: ''; display: block; width: 48px; height: 2.5px;
    background: var(--red); margin-top: 10px; margin-bottom: 10px;
}
.sec-title { font-size: 13px; font-weight: 500; color: var(--sub); line-height: 1.5; }
.sec-link {
    font-size: 13px; font-weight: 800; color: var(--red);
    text-decoration: none; display: inline-flex; align-items: center;
    gap: 14px; padding: 8px 0; white-space: nowrap;
    transition: color .2s;
}
.sec-link::after {
    content: ''; width: 28px; height: 1.5px;
    background: currentColor; display: inline-block;
    transition: width .3s cubic-bezier(.25,.46,.45,.94);
}
.sec-link:hover { color: var(--text); }
.sec-link:hover::after { width: 48px; }
.sec-more { display: flex; justify-content: flex-end; margin-top: 28px; }

/* FEATURED */
.featured-grid {
    display: grid; grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 1fr 1fr; gap: 16px; height: 520px;
}
.feat-card {
    position: relative; overflow: hidden; border-radius: 6px;
    text-decoration: none; color: var(--white); display: block;
}
.feat-card-main { grid-row: 1 / 3; }
.feat-img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.feat-card:hover .feat-img { transform: scale(1.05); }
.feat-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.15) 50%, transparent 100%);
}
.feat-card-main .feat-overlay {
    background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.2) 45%, transparent 100%);
}
.feat-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; }
.feat-tag {
    display: inline-block; background: var(--red); color: var(--white);
    font-size: 10px; font-weight: 800; padding: 3px 9px; border-radius: 2px;
    letter-spacing: .5px; margin-bottom: 10px;
}
.feat-title { font-size: 15px; font-weight: 800; line-height: 1.45; letter-spacing: -.3px; }
.feat-card-main .feat-title { font-size: 18px; }
.feat-meta { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 8px; font-family: var(--font-en); }

/* ROUTE CARDS（トップページ版：HTMLモック準拠のシンプルカード） */
.home-route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.home-route-card {
    background: var(--white);
    border-radius: 6px; overflow: hidden;
    text-decoration: none; color: var(--text);
    border: 1px solid var(--border);
    transition: transform .25s, box-shadow .25s;
    display: block;
}
.home-route-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 44px rgba(0,0,0,.1);
}
.home-route-img {
    height: 200px; overflow: hidden; position: relative;
}
.home-route-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.home-route-card:hover .home-route-img img { transform: scale(1.06); }
.home-route-tag {
    position: absolute; top: 12px; left: 12px;
    background: var(--red); color: var(--white);
    font-size: 10px; font-weight: 800;
    padding: 3px 9px; border-radius: 2px;
    letter-spacing: .5px;
}
.home-route-body { padding: 18px; }
.home-route-area {
    font-family: var(--font-en);
    font-size: 10px; font-weight: 800;
    color: var(--red); letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 7px;
}
.home-route-title {
    font-size: 15px; font-weight: 800;
    line-height: 1.55; margin-bottom: 12px;
    color: var(--text);
}
.home-route-meta {
    display: flex; gap: 14px;
    font-family: var(--font-en);
    font-size: 11px; font-weight: 700; color: var(--sub);
}
.home-route-meta span {
    display: flex; align-items: center; gap: 4px;
}
.home-route-meta svg { width: 12px; height: 12px; flex-shrink: 0; }

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

/* THEME SECTION */
.theme-section { position: relative; padding: 120px var(--pad); overflow: hidden; }
.theme-section-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.theme-section-overlay { position: absolute; inset: 0; background: rgba(10,10,10,.6); z-index: 1; }
.theme-section > .sec-header, .theme-section > .theme-grid, .theme-section > .sec-more { position: relative; z-index: 2; }
.theme-section .sec-label { color: var(--white); }
.theme-section .sec-title { color: rgba(255,255,255,.6); }

/* THEME CARDS */
.theme-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.theme-card {
    background: rgba(255,255,255,0.75); backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid var(--red); border-radius: 6px;
    padding: 36px 20px; text-align: center; text-decoration: none;
    color: var(--text); position: relative; overflow: hidden;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.theme-card::before {
    content: ''; position: absolute; inset: 0;
    background: var(--red); opacity: 0; transition: opacity .25s; z-index: 0;
}
.theme-card:hover::before { opacity: 1; }
.theme-card:hover {
    color: var(--white); border-color: var(--red);
    transform: translateY(-5px); box-shadow: 0 14px 36px rgba(220,36,36,.2);
}
.theme-icon {
    width: 64px; height: 64px; margin: 0 auto 16px;
    display: block; position: relative; z-index: 1;
    color: var(--red); transition: color .25s;
}
.theme-card:hover .theme-icon { color: var(--white); }
.theme-name {
    font-size: 16px; font-weight: 900; margin-bottom: 5px;
    letter-spacing: -.2px; position: relative; z-index: 1;
}
.theme-count { font-size: 12px; opacity: .5; font-family: var(--font-en); position: relative; z-index: 1; }

/* MAGAZINE（トップ版ニュースカード） */
.home-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-news-card {
    text-decoration: none; color: var(--text);
    display: flex; flex-direction: column;
    transition: transform .25s;
}
.home-news-card:hover { transform: translateY(-4px); }
.home-news-img {
    position: relative;
    width: 100%; aspect-ratio: 16/9;
    border-radius: 6px; overflow: hidden;
    margin-bottom: 14px;
}
.home-news-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.home-news-card:hover .home-news-img img { transform: scale(1.04); }
.home-news-cat {
    position: absolute; top: 10px; left: 10px;
    font-family: var(--font-en);
    font-size: 9px; font-weight: 800;
    letter-spacing: 1.5px; text-transform: uppercase;
    background: var(--red); color: var(--white);
    padding: 3px 8px; border-radius: 2px;
}
.home-news-title {
    font-size: 15px; font-weight: 800;
    line-height: 1.55; margin-bottom: 8px;
    letter-spacing: -.2px;
}
.home-news-date {
    font-family: var(--font-en);
    font-size: 11px; color: var(--sub);
}

/* =====================
   HOME QUICK CHIPS (折衷バー：home-main 内)
===================== */
.home-quick {
    padding: 24px 0 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.home-quick-row {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.home-quick-label {
    font-family: var(--font-en); font-size: 11px; font-weight: 800;
    letter-spacing: 2.5px; color: var(--red); text-transform: uppercase;
    flex-shrink: 0;
}
.home-quick-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.home-quick-chip {
    padding: 6px 14px; border: 1.5px solid var(--border); border-radius: 999px;
    font-size: 13px; color: var(--sub); text-decoration: none;
    transition: all .2s; background: var(--white);
}
.home-quick-chip:hover { border-color: var(--red); color: var(--red); }
.home-quick-more { font-family: var(--font-en); font-size: 11px; letter-spacing: 1px; }

/* =====================
   トップページ固有：home-main 内セクション装飾
   （.home-layout / .home-sidebar / .side-* / .home-bottom-decor は common.css）
===================== */
.home-main .section,
.home-main .theme-section { padding: 60px 0 0; border-top: 3px solid var(--red); margin-top: 60px; }
.home-main > section:first-child { margin-top: 0; }

/* home-main 内では暗背景・alt背景を無効化（column内だとインパクト無いため白統一） */
.home-main .section-alt { background: transparent; }
.home-main .theme-section { background: transparent; overflow: visible; }
.home-main .theme-section-bg,
.home-main .theme-section-overlay { display: none; }
.home-main .theme-section .sec-label { color: var(--text); }
.home-main .theme-section .sec-title { color: var(--sub); }
.home-main .theme-section .theme-card {
    background: var(--white); border: 1.5px solid var(--border); color: var(--text);
}
.home-main .theme-section .theme-card::before { display: none; } /* 赤オーバーレイ無効化 */
.home-main .theme-section .theme-card:hover {
    border-color: var(--red); color: var(--text);
    transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.home-main .theme-section .theme-card:hover .theme-icon { color: var(--red); }
.home-main .theme-section .theme-name { color: var(--text); }
.home-main .theme-section .theme-count { color: var(--sub); }
.home-main .theme-section .theme-icon { color: var(--red); }
.home-main .theme-section .sec-more .sec-link {
    color: var(--red) !important; border-color: var(--red) !important;
}


/* RESPONSIVE */
@media (max-width: 1024px) {
    .featured-grid { grid-template-columns: 1fr 1fr; height: 460px; }
    .feat-card-main { grid-row: 1 / 3; }
    .area-grid { grid-template-columns: repeat(2, 1fr); }
    .home-route-grid { grid-template-columns: repeat(2, 1fr); }
    .theme-grid { grid-template-columns: repeat(2, 1fr); }
    .home-news-grid { grid-template-columns: repeat(2, 1fr); }
    .home-quick { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 768px) {
    .hero { min-height: 100svh; align-items: flex-end; }
    .hero-content { padding: 0 36px 200px; max-width: 100%; }
    .hero-title, .hero-title-2 { font-size: clamp(44px, 12vw, 64px); }
    .hero-desc { font-size: 13px; }
    .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
    .hero-right-badge { left: 36px; right: 36px; bottom: 24px; width: auto; max-width: none; padding: 12px 14px; }
    .hero-latest-thumb { display: none; } /* SP: タイトルのみ表示 */
    .section { padding: 60px var(--pad); }
    .theme-section { padding: 60px var(--pad); }
    .sec-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .sec-label { font-size: clamp(32px, 10vw, 48px); }
    .featured-grid { grid-template-columns: 1fr; grid-template-rows: 260px 260px 260px; height: auto; }
    .feat-card-main { grid-row: auto; }
    .feat-card-main .feat-title { font-size: 15px; } /* SP: メインもサブと同サイズ */
    .area-grid { grid-template-columns: repeat(2, 1fr); }
    .area-card { height: 160px; }
    .home-route-grid { grid-template-columns: 1fr; }
    .theme-grid { grid-template-columns: repeat(2, 1fr); }
    .home-news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .hero-title, .hero-title-2 { font-size: 40px; letter-spacing: -2px; }
}
