@charset "UTF-8";

/* ==========================================================================
   Movie Review Critic "Cocoon Custom: Lavity Edition"
   Component: Front Page (トップページ・ポータル専用スタイル)
   ========================================================================== */

/* 1. Cocoon側の干渉リセット ＆ ポータル共通見出し */
.entry-title {
    display: none !important;
}

.article h2.portal-heading,
h2.portal-heading {
    text-align: center !important;
    color: var(--ojou-green) !important;
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 auto 10px !important;
    font-size: 1.8em !important;
    position: relative !important;
    font-weight: bold !important;
    width: 100% !important;
    display: block !important;
}

.article h2.portal-heading::before,
h2.portal-heading::before {
    content: none !important;
}

.article h2.portal-heading::after,
h2.portal-heading::after {
    content: '' !important;
    display: block !important;
    width: 60px !important;
    height: 3px !important;
    background: var(--ojou-gold) !important;
    margin: 15px auto 0 !important;
}

/* ポータル内カード見出しのリセット */
.article .genre-card h3 {
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 0 10px 0 !important;
    font-size: 1.25em !important;
    color: var(--ojou-green) !important;
    font-weight: bold !important;
}

/* 2. フロントページの横幅拡張 ＆ 中央寄せ強制 */
.content {
    max-width: 1200px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#main {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 20px 0 !important;
}

/* 3. ポータルデザイン共通セクション */
.portal-section {
    margin-bottom: 60px;
}

.portal-lead {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* 4. ジャンルナビグリッド */
.genre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.genre-card {
    background: var(--ojou-bg-light);
    border: 1px solid rgba(12, 76, 51, 0.15);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.genre-card:hover {
    background: var(--ojou-green) !important;
    border-color: var(--ojou-green) !important;
}

.genre-card:hover * {
    color: #fff !important;
}

.genre-icon {
    font-size: 2.2em;
    margin-bottom: 10px;
}

.genre-name {
    font-weight: bold;
    color: var(--ojou-green);
    font-size: 1.05em;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
}

.genre-sub {
    font-size: 0.8em;
    color: #666;
    margin-top: 5px;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
}

/* 5. カルーセルのホバーズーム ＆ 下線消去 ＆ 枠線化 ＆ 評価非表示 */
a.carousel-entry-card-wrap {
    text-decoration: none !important;
    border: 1px solid rgba(12, 76, 51, 0.12) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    display: block !important;
    transition: all 0.3s ease !important;
    background: #fff !important;
}

a.carousel-entry-card-wrap:hover {
    box-shadow: 0 10px 20px rgba(12, 76, 51, 0.12) !important;
    border-color: var(--ojou-green) !important;
}

a.carousel-entry-card-wrap * {
    text-decoration: none !important;
}

a.carousel-entry-card-wrap figure {
    overflow: hidden !important;
    margin: 0 !important;
    position: relative !important;
}

/* カルーセルの画像上に表示される評価スターやカテゴリを非表示にしますわ */
a.carousel-entry-card-wrap figure span {
    display: none !important;
}

a.carousel-entry-card-wrap figure img {
    transition: transform 0.5s ease !important;
}

a.carousel-entry-card-wrap:hover figure img {
    transform: scale(1.05) !important;
}

/* 6. 最近の対戦カード（新着記事）のホバーズーム ＆ 下線消去 ＆ 枠線化 */
a.new-entry-card-link {
    text-decoration: none !important;
    border: 1px solid rgba(12, 76, 51, 0.12) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    display: flex !important;
    transition: all 0.3s ease !important;
    background: #fff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02) !important;
}

a.new-entry-card-link:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 25px rgba(12, 76, 51, 0.12) !important;
    border-color: var(--ojou-green) !important;
}

a.new-entry-card-link * {
    text-decoration: none !important;
}

a.new-entry-card-link figure {
    overflow: hidden !important;
    margin: 0 !important;
}

a.new-entry-card-link figure img {
    transition: transform 0.5s ease !important;
}

a.new-entry-card-link:hover figure img {
    transform: scale(1.05) !important;
}

/* 7. レスポンシブ対応（768px以下） */
@media screen and (max-width: 768px) {
    a.new-entry-card-link {
        flex-direction: column !important;
    }
}
