@charset "utf-8";
/* ------------------------------------------------------
 * top-new.css (新レイアウト・コンポーネント用)
------------------------------------------------------ */

/* ======================================================
   レイアウト (2カラム)
====================================================== */
.top-new-layout-main {
    width: calc(100% - 300px);
    min-width: 0;
}
.top-new-layout-aside {
    width: 270px;
    flex-shrink: 0;
}

@media screen and (max-width: 768px) {
    .top-new-layout-main, .top-new-layout-aside {
        width: 100%;
    }
    .top-new-layout-aside {
        margin-top: 40px;
    }
}

/* ======================================================
   ヒーローエリア (MV) - 背景画像＋ロゴ＋白フチ文字
====================================================== */
.custom-mv-wrap {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    background: #f5f5f5;
}

/* 背景画像の設定 */
.custom-mv-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.custom-mv-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 背景画像を少し白っぽくして文字を読みやすくする */
.custom-mv-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    z-index: 2;
    pointer-events: none;
}

/* コンテンツ部分の設定 */
.custom-mv-content {
    position: relative;
    z-index: 3;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.custom-mv-logo {
    margin-bottom: 20px;
}
.custom-mv-logo img {
    width: 160px;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3)); /* ロゴに影をつけて目立たせる */
}

/* 白フチ文字と影の設定 */
.mv {
    margin: 0;
    line-height: 1.3;
}
.mv__lead,
.mv__lead-v2 {
    display: inline-block;
    font-weight: bold;
    letter-spacing: 0.05em;
    -webkit-text-stroke: 8px #fff;
    paint-order: stroke fill;
    filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.15));
}
.mv__lead {
    font-size: 42px;
    color: #7e6b2e; /* 湯〜とぴあカラー */
}
.mv__lead-v2 {
    font-size: 56px;
    color: #333;
}
.mv-badges {
    margin-top: 30px;
}
.mv-badges p {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@media screen and (max-width: 768px) {
    .custom-mv-content {
        min-height: 300px;
        padding: 30px 10px;
    }
    .custom-mv-logo img {
        width: 120px;
    }
    .mv {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .mv__lead,
    .mv__lead-v2 {
        display: block;
        width: 100%;
        text-align: center;
    }
    .mv__lead {
        font-size: 28px;
        -webkit-text-stroke: 5px #fff;
    }
    .mv__lead-v2 {
        font-size: 34px;
        -webkit-text-stroke: 6px #fff;
    }
    .mv-badges p {
        font-size: 14px;
        padding: 10px 16px;
    }
}

/* ======================================================
   見出し・カテゴリリスト
====================================================== */
.c-caption {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #333;
}
.c-caption .en {
    display: block;
    font-size: 14px;
    color: #999;
    font-weight: normal;
    margin-top: 5px;
}
.c-category-caption-v2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #7e6b2e;
}
.c-category-caption-v2 .en {
    font-size: 14px;
    display: block;
    color: #999;
}

.c-category-list {
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}
.c-category-list .large-list {
    width: calc(33.333% - 10px);
}
.c-category-list .large-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}
.c-category-list .large-list a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@media screen and (max-width: 768px) {
    .c-category-list {
        flex-direction: column;
    }
    .c-category-list .large-list {
        width: 100%;
    }
}

.c-h3 {
    margin-bottom: 20px;
    border-bottom: 2px solid #7e6b2e;
    padding-bottom: 10px;
}
.c-h3__sub {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}
.c-h3__ttl {
    font-size: 22px;
    font-weight: bold;
    margin: 0;
    color: #333;
}

/* ======================================================
   カードの枠組み配置 (メインエリア用)
   ※カード自体の装飾（.c-rank-cardなど）はsidebar.cssに統合
====================================================== */
.l-rank-section {
    margin-bottom: 50px;
}

.c-rank-card-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
@media screen and (max-width: 768px) {
    .c-rank-card-wrap {
        grid-template-columns: 1fr;
    }
}

/* ======================================================
   追加：カテゴリ別セクションの調整
====================================================== */

/* 記事カード一覧（p-related__list）と一覧ボタンの間の余白 */
.l-section .u-mt-40 {
    margin-top: 40px !important;
}

/* 一覧ボタン自体の装飾微調整（中央寄せ・幅の確保） */
.l-section .c-rank-card__btn {
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
}

@media screen and (max-width: 768px) {
    .l-section .u-mt-40 {
        margin-top: 30px !important;
    }
}