@charset "UTF-8"; 

/* ---  --- */
/* ---  全体の基本設定  --- */
html{font-size: 62.5%; /* デフォルトの 16px の 62.5% が 10px に相当 */}


/* 変数指定 */
:root {
    /* 色変数 */
    --black: #3c3c3c;
    --white: #ffffff;
    --blue: #00599B;
    --medium-blue: #114F8D;
    --blue-purple: #EBF1FF;
    --light-blue: #F0F8FF;
    --cta-blue: #02B5E3;
    --gray: #F2F2F2;
    --dark-blue: #003981;
    --red: #ED0303;

    /* フォント変数 */
    --font-jp: "Noto Sans JP", sans-serif;
    --font-en:"Montserrat", sans-serif;
    --font-num:"Istok Web", sans-serif;

    /* ウエイト変数 */
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
}

/* ---  sec-title（共通のセクションタイトル）  --- */
.section-title{
    position: relative;
    display:inline-block;
    font-family: var(--font-jp);
    font-weight: var(--fw-medium);
    margin-bottom: 1em; /* ? */
    line-height: 1.3;
    padding-left: 0.9em; 
}

.section-title::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 4px;                 
    height: 100%;               
    background-color: var(--blue);
}

.section-title__jp{
    font-size: 2.4rem; /* ? */
    color: var(--black);
}
.section-title__jp-b{
    font-size: 3.2rem; /* ? */
}
.section-title__en{
    display:block;
    font-family: var(--font-en);
    font-weight: var(--fw-semibold);
    letter-spacing: .08em;
    color: var(--blue);
    font-size: 1.4rem;/* ? */
}

/* ====================================================
    ▼ 電鉄・広告種別ページ
==================================================== */

/* --- sec-mainv--sub --- */
.sec-mainv--sub {
    position: relative;
}

.sec-mainv--sub__container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    padding-top: 100px;
    margin-bottom: 20rem;
}

/* 左：タイトル、テキスト、主要駅 */
.sec-mainv--sub__text {
    width: 80%;
    max-width: 1580px;
}

.sec-mainv--sub__title {
    font-family: var(--font-jp);
    font-size: 4.8rem;
    font-weight: var(--fw-bold);
    color: var(--black);
    margin-bottom: 0.5em;
}

.sec-mainv--sub__title-s {
    font-size: 3.8rem;
}

.sec-mainv--sub__lead {
    font-family: var(--font-jp);
    font-weight: var(--fw-regular);
    font-size: 1.4rem;
    color: var(--black);
    width: 40%;
    min-width: 400px;
    margin-bottom: 4em;
    line-height: 2.0;
}

.sec-mainv--sub__sta {
    position: relative;
    background-color: var(--white);
    box-shadow: 0px 0px 15px 0px rgba(0, 57, 129, 0.16);
    border-radius: 10px;
    min-width: 230px;
    padding: 4em 0 3em;
    margin-top: 1.4em;
}

.page-railway .sec-mainv--sub__sta {
    width: 25%;
}

.page-ad-category .sec-mainv--sub__sta {
    width: 40%;
}

.sec-mainv--sub__sta-label {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    transform: translate(-50%, -50%);
    background-color: var(--cta-blue);
    border-radius: 9999px;
    padding: 0.3em 1.5em;
    font-family: var(--font-jp);
    font-size: 1.4rem;
    color: var(--white);
}

.sec-mainv--sub__sta-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    width: fit-content;
    margin: 0 auto;
}

.sec-mainv--sub__sta-item {
    position: relative;
    list-style: none;
    border-bottom: dashed 1px #003981;
    display: inline-block;
    padding-left: 1.6em;
}

.sec-mainv--sub__sta-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    background-color: var(--blue); /* 青丸の色 */
    border-radius: 50%;
}

.sec-mainv--sub__sta-link {
    text-decoration: none;
    font-family: var(--font-jp);
    font-weight: var(--fw-medium);
    font-size: 1.8rem;
    color: var(--blue);
}

.sec-mainv--sub__sta-link span {
    font-size: 1.4rem;
}

/* 広告種別ページ・駅広告ページはフォントサイズ・gap変更 */
body.page-ad-category .sec-mainv--sub__sta-list {
    gap: 1rem;
}

body.page-ad-category .sec-mainv--sub__sta-link {
    font-size: 1.6rem;
}


/* 右：画像 */
.sec-mainv--sub__thumb {
    position: absolute;
    top: 0;
    right: 0;
    width: 67.5%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.sec-mainv--sub__thumb > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sec-mainv--sub__thumb:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 1300px;
    height: 650px;
    z-index: 1;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
}

/* page-railway のとき */
.page-railway .sec-mainv--sub__thumb:after {
    background-image: url("../img/deco_mv01.svg");
}

/* page-ad-category のとき */
.page-ad-category .sec-mainv--sub__thumb:after {
    background-image: url("../img/deco_mv02.svg");
}


/* page-railway 広告種別選択ボタン */
.sec-mainv--sub__selectlist {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    background-color: var(--white);
    align-items: center;
    justify-content: center;
    width: fit-content;
    gap: 4rem;
    box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.3);
    border-radius: 9999px;
    margin: 0 auto;
    padding: 0.4em 1.2em;
    z-index: 2;
    position: absolute;
    bottom: -20%;   
    left: 50%;
    transform: translateX(-50%);
    grid-auto-rows: minmax(auto, max-content);
}

.sec-mainv--sub__selectlist.is-fixed {
    position: fixed;
    top: 90px; /* 画面上からの距離を調整 */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    height: fit-content;
    animation: poyon 0.6s ease;
}

.sec-mainv--sub__selectitem {
    list-style: none;
}

.sec-mainv--sub__selectlink {
    display: inline-block;
    text-decoration: none;
    font-family: var(--font-jp);
    font-weight: var(--fw-bold);
    font-size: 1.4rem;
    color: var(--black);
    padding: 0.6em 1.2em;
    border-radius: 9999px;
    transition: all 0.3s ease; 
}

.sec-mainv--sub__selectlink.is-active {
    background-color: var(--blue);
    color: var(--white);
}

/* page-ad-category 電鉄で絞るボタン */
.sec-mainv--sub__filter {
    z-index: 2;
    position: absolute;
    bottom: -20%;   
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--blue);
    border: 1px solid #ffffff;
    cursor: pointer;
    padding:  0.8em 2.5em;
    color: var(--white);
    font-size: 2.0rem;
    font-family: var(--font-jp);
    font-weight: var(--fw-medium);
    border-radius: 9999px;
    box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.3);

    /* アニメーション用 */
    transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.sec-mainv--sub__filter select {
    position: absolute;
    inset: 0;
    opacity: 0; /* 通常透明*/
    cursor: pointer; 
    appearance: none; /* デフォルトのフォームデザインを打ち消す */
    -webkit-appearance: none;
    -moz-appearance: none;
}

.sec-mainv--sub__filter.is-fixed {
    position: fixed;
    top: 90px; /* 画面上からの距離を調整 */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    height: fit-content;
    animation: poyon 0.6s ease;
}

/* ▼ぽよんアニメーション */
@keyframes poyon {
    0%   { transform: translateX(-50%) scale(1); } 
    30%  { transform: translateX(-50%) scale(1.1); }   
    60%  { transform: translateX(-50%) scale(1.1); } 
    100% { transform: translateX(-50%) scale(1); }   
}


/* --- sec-ad--sub --- */
.sec-ad--sub {
    position: relative;
    margin-bottom: 20rem;
}

.page-railway .sec-ad--sub {
    background-color: var(--blue-purple);
}

.page-ad-category .sec-ad--sub {
    background-color: var(--gray);
}

/* ウェーブ画像 */
.sec-ad--sub::before,
.sec-ad--sub::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100vw;
    height: clamp(72px, 10vw, 130px);
    z-index: 1;
    background-position: top;
}

.sec-ad--sub::before {
    bottom: 100%;
}

.sec-ad--sub::after {
    top: 100%;
    transform: scale(-1);
}

/* ページごとに切り替え */
/* 電鉄ページ (page-railway.php) → wave-b */
.page-railway .sec-ad--sub::before,
.page-railway .sec-ad--sub::after {
    background-image: url("../img/wave-b.svg");
}

/* 広告種別ページ (page-ad-category.php) → wave-g */
.page-ad-category .sec-ad--sub::before,
.page-ad-category .sec-ad--sub::after {
    background-image: url("../img/wave-g.svg");
}


.sec-ad--sub__container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 10em;
}

/* .sec-ad--sub__container:last-child {
    padding-bottom: 0;
} */

body.page-ad-category .sec-ad--sub__container {
    padding-top: 5rem;
}

.sec-ad--sub__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: clamp(16px, 2.5vw, 28px);
    margin-top: 3em;
    align-items: stretch;
}

.sec-ad--sub__item {
    list-style: none;
    display: flex;
}

.ad--subcard {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--white);
    border-radius: 10px;
    padding: 1em;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    text-decoration: none;
    color: inherit;
    height: 100%;
    /* アニメーション用 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ad--subcard__category {
    font-family: var(--font-en);
    font-weight: var(--fw-semibold);
    font-size: 1.2rem;
    color: var(--blue);
}

.ad--subcard__thumb {
    aspect-ratio: 4 / 3;
    border-radius: 5px;
    overflow: hidden;
}

.ad--subcard__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* ホバーアニメーション用 */
    transition: transform 0.4s ease; 
    transform-origin: center center;
}

.ad--subcard__body {
    position: relative;
    padding: 1em 1em 5em;
    min-height: 140px;
}

.ad--subcard__title {
    font-family: var(--font-jp);
    font-size: 2.0rem;
    font-weight: var(--fw-medium);
    color: var(--black);
}

.ad--subcard__railway {
    display: block;
    width: fit-content;
    background-color: var(--blue);
    font-family: var(--font-jp);
    font-weight: var(--fw-regular);
    font-size: 1.3rem;
    color: var(--white);
    padding: 0.4em;
    border-radius: 4px;
    margin-top: 1.5em;
}

.ad--subcard .c-btncircle {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;

    /* ★グラデーションでアニメさせる */
    background-image: linear-gradient(
        to right,
        var(--dark-blue) 50%,  
        var(--blue) 50%  
    );
    background-size: 200% 100%;
    background-position: 100% 0; /* → 最初は青だけ見える */
    transition: background-position 0.4s ease;
}

.ad--subcard .c-btncircle__ico {
    position: absolute;
    width: 14px;
    height: auto;
    display: block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* --- sec-mdsearch --- */
.sec-mdsearch__container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto 15em;
    background: linear-gradient(65deg, rgba(0, 73, 150, 1) 0%, rgba(11, 89, 164, 1) 20%, rgba(22, 104, 177, 1) 30%, rgba(88, 225, 255, 1) 100%);
    border-radius: 10px;
}

.sec-mdsearch__inner {
    width: 85%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding: 8em 0;
}

.sec-mdsearch__title {
    font-family: var(--font-en);
    font-size: 6rem;
    font-weight: var(--fw-regular);
    color: var(--white);
    line-height: 1.0;
    letter-spacing: 0.06em;
}

.sec-mdsearch__list {
    display: flex;
    gap: 30px;
    justify-content: right;
}

.sec-mdsearch__item {
    position: relative; /* ドロップダウンの基準 */
    list-style: none;
    width: 48%;
    max-width: 250px;
    background-color: var(--white);
    display: flex;
    align-items: center;
    border-radius: 10px;
    /* アニメーション用 */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.sec-mdsearch__link {
    position: relative;
    display: flex;
    align-items: center;
    width: 85%;
    margin: 0 auto;
}

.sec-mdsearch__link-ttl {
    text-align: left;
    font-family: var(--font-jp);
    font-weight: var(--fw-medium);
    font-size: 2.4rem;
    color: var(--black);
    line-height: 1.0;
    padding-left: 1em;
    /* アニメーション用 */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.sec-mdsearch__link-ttl span {
    font-size: 1.4rem;
}

.sec-mdsearch__link .c-btncircle {
    position: absolute;
    right: 7px;
    bottom: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--white);
    border: solid 1px #00599B;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.sec-mdsearch__link .c-btncircle__ico {
    width: 12px;
    height: auto;
    display: block;
}

/* ドロップダウン本体 */
.ms-dropdown {
    display: none;            /* デフォルト非表示 */
    position: absolute;       
    top: 100%;                
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: var(--blue-purple);
    border-radius: 8px;
    padding: 1em;
    min-width: 330px;
    padding: 2.5em 1.5em;
}

/* 開いたとき */
.ms-dropdown.is-open {
    display: block;
}

.ms-dropdown__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 280px));
    grid-template-rows: auto;
    gap: 0.8rem 1rem;
}

.ms-dropdown__item {
    border-radius: 9999px;
    background-color: var(--white);
    box-shadow: 0 0 15px rgba(0, 57, 129, 0.7);
    overflow: hidden;
    width: 100%;
    transition: background-color 0.3s ease;
}

.ms-dropdown__link {
    display: block;
    width: 100%;
    padding: 0.4em 0.8em;
    text-decoration: none;
    color: var(--blue);
    font-size: 1.4rem;
    font-family: var(--font-jp);
    text-align: center;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

/* ====================================================
    ▼ 主要駅ページ
==================================================== */
.sec-mainv--sub2 {
    background-color: var(--blue-purple);
    position: relative;
    margin-bottom: 20em;
    padding-top: 100px;
}

.sec-mainv--sub2__bread {
    width: 80%;
    margin: 0 auto;
}

.sec-mainv--sub2::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100vw;
    height: clamp(72px, 10vw, 130px);
    z-index: 1;
    background-position: top;
    top: 100%;
    transform: scale(-1);
    background-image: url(../img/wave-b.svg);
}

.sec-mainv--sub2__railway {
    background-color: var(--blue);
    font-family: var(--font-jp);
    font-weight: var(--fw-regular);
    font-size: 1.3rem;
    color: var(--white);
    border-radius: 9999px;
    padding: 0.8em 3em;
    display: block;
    width: fit-content;
    margin: 0 auto 1.5em;
}

.sec-mainv--sub2__title {
    font-family: var(--font-jp);
    font-weight: var(--fw-bold);
    font-size: 4.8rem;
    color: var(--black);
    text-align: center;
    margin-bottom: 1em;
    line-height: 1.0;
}

.sec-mainv--sub2__title-m {
    font-size: 3.9rem;
}

.sec-mainv--sub2__title-s {
    font-size: 3.3rem;
}

.sec-mainv--sub2__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 左：画像 */
.sec-mainv--sub2__thumb {
    width: 46%;
    border-radius: 20px;
    overflow: hidden;
}

.sec-mainv--sub2__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 右：駅についてのテキスト */
.sec-mainv--sub2__lead {
    width: 46%;
    font-family: var(--font-jp);
    font-weight: var(--fw-regular);
    font-size: 1.6rem;
    color: var(--black);
    line-height: 2.2;
}


/* --- sec-ad--sub2 --- */
.sec-ad--sub2 {
    padding-top: 5rem;
}

.sec-ad--sub2 .ad--subcard {
    background: linear-gradient(65deg, rgba(0, 73, 150, 1) 0%, rgba(11, 89, 164, 1) 38%, rgba(22, 104, 177, 1) 65%, rgba(88, 225, 255, 1) 100%);
}

.sec-ad--sub2 .ad--subcard__category {
    color: var(--white);
}

.sec-ad--sub2 .ad--subcard__title {
    color: var(--white);
    margin-bottom: 0.8em;
}

.sec-ad--sub2 .ad--subcard__info {
    font-family: var(--font-jp);
    font-weight: var(--fw-regular);
    font-size: 1.4rem;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 0.4em;
}

.sec-ad--sub2 .ad--subcard__price {
    font-family: var(--font-en);
    font-size: 2.2rem;
    color: #F8FF50;
    padding-left: 1em;
}

.sec-ad--sub2 .ad--subcard__period {
    padding-left: 1em;
    font-size: 2.2rem;
}

.sec-ad--sub2 .c-btncircle {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;

    /* ★グラデーションでアニメさせる */
    background-image: linear-gradient(
        to right,
        #F8FF50 50%,  
        #ffffff 50%  
    );
    background-size: 200% 100%;
    background-position: 100% 0; /* → 最初は青だけ見える */
    transition: background-position 0.4s ease;
}

.sec-ad--sub2 .c-btncircle__ico {
    position: absolute;
    width: 14px;
    height: auto;
    display: block;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* この駅に紐づく媒体は現在ありません。 */
.u-center {
    text-align: center;
    font-family: var(--font-jp);
    font-size: 1.4rem;
    color: var(--black);
    margin-bottom: 5rem;
}

/* --- sec-mainsta（主要駅からさがす） --- */
.sec-mainsta {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto 20em;
    background: var(--blue-purple);
    border-radius: 10px;
    position: relative;
}

.sec-mainsta::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 5%; 
    transform: translateY(-50%);
    width: 160px;   /* サイズはデザインに合わせて */
    height: 260px;
    background: url("../img/silhouette-bp.svg") no-repeat center/contain;
    pointer-events: none; 
}

.sec-mainsta__container {
    width: 95%;
    margin: 0 auto;
    padding: 5em 0 10em;
    position: relative;
}


.section-mainsta-title__en {
    font-family: var(--font-en);
    font-weight: var(--fw-bold);
    display: block;
    text-align: center;
    font-size: 2.0rem;
    line-height: 1.0;
    color: var(--blue);
}

.section-mainsta-title {
    font-family: var(--font-jp);
    font-weight: var(--fw-medium);
    display: block;
    text-align: center;
    color: var(--blue);
    font-size: 3.0rem;
    line-height: 1.0;
    margin-bottom: 1.5em;
}

.section-mainsta-title__jp-b {
    font-size: 4.0rem;
}

.sec-mainsta__list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 1rem;
}

.sec-mainsta__item {
    position: relative;
}

.sec-mainsta__btn {
    position: relative; 
    padding: 0.4em 3em;
    border-radius: 8px;
    background-color: var(--white);
    color: var(--dark-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-jp);
    font-size: 1.6rem;
    font-weight: var(--fw-bold);
    width: 100%;
    min-height: 90px;
    border: 1px solid rgba(255, 255, 255, 0);
}

.sec-mainsta__btn-s {
    font-size: 1.4rem;
}

/* 疑似要素のピン */
.sec-mainsta__btn::before {
    content: "";
    position: absolute;   
    left: 1em;            
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background: url("../img/pin-blue.svg") no-repeat center/contain;
    transition: background 0.3s ease;
}


/* 疑似要素の↓ */
.sec-mainsta__btn::after {
    position: absolute;
    top: 50%;
    right: 1.4em;
    transform: translate(50%, -50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-bottom: 2px solid #003981;
    border-right: 2px solid #003981;
    content: "";
}

/* 開いた状態 */
.sec-mainsta__btn.is-open {
    background-color: var(--medium-blue);
    color: var(--white);
    border: 1px solid #ffffff;
    border-radius: 8px 8px 0 0;
}

.sec-mainsta__btn.is-open::before {
    background-image: url("../img/pin-mblue.svg");
}

.sec-mainsta__btn.is-open::after {
    border-bottom: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
}


.sec-mainsta__sublist {
    list-style: none;
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;   
    flex-direction: column;
    gap: 1.5em;
    margin-top: 0;
    max-height: 0;
    padding: 0 1.5em;
    opacity: 0;
    background-color: transparent;
    border-radius: 0 0 8px 8px;
    z-index: 2;
    border: 1px solid transparent;
    overflow: hidden;
    transition: max-height 0.6s 
    ease, padding 0.6s 
    ease, opacity 0.3s 
    ease, background-color 0.3s 
    ease, border-color 0.3s 
    ease;
}

.sec-mainsta__sublist.is-active {
    max-height: 500px; 
    padding: 2em 1.5em 1em;
    opacity: 1;
    background-color: var(--medium-blue);
    border-color: #ffffff;
    pointer-events: auto;
}

.sec-mainsta__subitem {
    border-bottom: 0.7px solid var(--white);
}

.sec-mainsta__subitem:last-child {
    border-bottom: none;
}


.sec-mainsta__sublink {
    color: var(--white);
    text-decoration: none;
    font-size: 1.4rem;
    font-family: var(--font-jp);
    font-weight: var(--fw-bold);
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.station-label {
    color: var(--medium-blue);
    background-color: var(--white);
    padding: 0.1em 0.2em;
    border-radius: 3px;
    display: inline;
    width: fit-content;
}

/* ======================================
    メニュー展開中は固定ボタンを非表示にする
   ====================================== */
.no-scroll .js-fixed-target {
    opacity: 0;
    pointer-events: none;
}


/* ====================================================
    ▼ キーワード検索ページ
==================================================== */
.sec-mainv--sub3 {
    background-color: var(--blue-purple);
    position: relative;
    margin-bottom: 20vh;
    padding-top: 100px;
}

.sec-mainv--sub3::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100vw;
    height: clamp(72px, 10vw, 130px);
    z-index: 1;
    background-position: top;
    top: 100%;
    transform: scale(-1);
    background-image: url(../img/wave-b.svg);
}

.sec-mainv--sub3__title {
    font-family: var(--font-jp);
    font-weight: var(--fw-bold);
    font-size: 3.6rem;
    color: var(--black);
    text-align: center;
    margin-bottom: 0.5em;
    line-height: 1.0;
}

.sec-mainv--sub3__title-b {
    color: var(--blue);
}

.sec-mainv--sub3__title-s {
    font-size: 2.4rem;
}

.sec-mainv--sub3__num {
    font-family: var(--font-jp);
    font-weight: var(--fw-bold);
    font-size: 2.4rem;
    color: var(--black);
    text-align: center;
}

.sec-mainv--sub3__num-r {
    color: #EA1200;
    font-size: 3.4rem;
    padding-right: 0.1em;
}

.search .sec-ad--sub__container {
    position: relative;
    padding-bottom: 10rem;
}

/* ====================================================
    ▼ 媒体詳細ページ
==================================================== */
/* --- sec-detail --- */
.sec-detail {
    width: 95%;
    margin: 0 auto;
    padding: 100px 0;
    background-color: var(--light-blue);
    margin: 0 auto 10em;
}

.sec-detail__bread {
    width: 85%;
    margin: 0 auto;
}

.sec-detail__text {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 10px;
    position: relative;
    padding: 3em 0;
    margin-bottom: 3em;
}

.sec-detail__railway {
    position: absolute;
    top: 5%;
    left: 2%;
    background-color: var(--blue);
    font-family: var(--font-jp);
    font-weight: var(--fw-regular);
    font-size: 1.3rem;
    color: var(--white);
    border-radius: 4px;
    padding: 0.8em 2em;
}

.sec-detail__title {
    font-family: var(--font-jp);
    font-weight: var(--fw-bold);
    font-size: 2.6rem;
    color: var(--black);
    text-align: center;
    border-bottom: 1px solid #02B5E3;
    width: 80%;
    display: block;
    margin: 0 auto;
    padding-bottom: 0.4em;
}

.sec-detail__lead {
    display: block;
    width: fit-content;
    margin: 0 auto;
    font-family: var(--font-jp);
    font-size: 1.4rem;
    color: var(--black);
    padding-top: 1.5em;
}

.sec-detail__container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto 7rem;
    display: flex;
    justify-content: space-between;
    align-items: start;
}

/*  左：画像（スワイパー） */
.sec-detail__gallery {
    width: 48%;
    position: sticky;
    top: 0;
}

/* メイン画像 */
.sec-detail__slider .swiper-slide {
    aspect-ratio: 4 / 3; 
    overflow: hidden;
    border-radius: 10px;
}

.sec-detail__slider img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 10px;
    display: block;
}

/* サムネイル画像 */
.sec-detail__thumbs { 
    margin-top: 1.2rem; 
}


.sec-detail__thumbs .swiper-slide {
    width: 20%;
    aspect-ratio: 4 / 3; 
    opacity: .5;
    transition: opacity .3s;
    overflow: hidden;
    border-radius: 6px;
}

.sec-detail__thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.sec-detail__thumbs .swiper-slide.swiper-slide-thumb-active {
    opacity: 1;
}

.sec-detail__slider {
    width: 100%;
}


/* 右：広告詳細表、入稿仕様 */
.sec-detail__info {
    width: 48%;
}

.sec-detail__table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 1em;
}

.sec-detail__row {
    border-bottom: 1px solid #EAEAEA;
}

.sec-detail__row:last-child {
    border-bottom: none;
}

.sec-detail__th {
    width: 35%;
    background: #B1CBF1;
    font-family: var(--font-jp);
    font-weight: var(--fw-bold);
    color: var(--blue);
    text-align: center;
    padding: 1em;
    font-size: 1.4rem;
}

/* 左上を丸く（最初の th） */
.sec-detail__table tr:first-child th {
    border-top-left-radius: 10px;
}

/* 左下を丸く（最後の th） */
.sec-detail__table tr:last-child th {
    border-bottom-left-radius: 10px;
}

.sec-detail__td {
    display: block;
    width: 100%;
    padding: 1em;
    font-family: var(--font-jp);
    font-weight: var(--fw-regular);
    font-size: 1.5rem;
    color: var(--black);
}

.sec-detail__td hr {
    border: none;              
    border-top: 1px solid #cccccc; 
    margin: 0.5em 0;          
}


.sec-detail__tax {
    text-align: right;
    font-family: var(--font-jp);
    font-size: 1.2rem;
    font-weight: var(--fw-regular);
    color: #818181;
}

.sec-detail__type {
    background-color: var(--white);
    border-radius: 10px;
    padding: 1.2em 1em;
    margin-top: 4em;
}

.sec-detail__type__title {
    font-family: var(--font-jp);
    font-weight: var(--fw-bold);
    font-size: 1.8rem;
    color: var(--black);
    border-bottom: 1px solid #00599B;
    padding-bottom: 0.4em;
    padding-left: 1em;
    margin-bottom: 1em;
}

.sec-detail__type__list {
    width: fit-content;
    max-width: 400px;
    margin: 0 auto;
}

.sec-detail__type__list li {
    list-style: none;
    margin-bottom: 0.3em;
    font-size: 1.4rem;
    font-family: var(--font-jp);
}


.sec-detail__type__item:last-child {
    margin-bottom: 0;
}

/* 配置図 */
.sec-detail__map {
    background-color: var(--white);
    width: 60%;
    min-width: 600px;
    margin: 10rem auto 0;
    border-radius: 10px;
    box-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.1);
}

.sec-detail__map-thumb {
    width: 90%;
    margin: 0 auto;
    padding: 1.8em 0;
}

.sec-detail__map-caption {
    position: relative;
    display: inline-block;
    font-family: var(--font-jp);
    font-weight: var(--fw-bold);
    font-size: 2.0rem;
    color: var(--cta-blue);
    line-height: 1.2;
    padding-left: 6rem;   
}

.sec-detail__map-caption::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 28px;
    background-size: contain;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    background-image: url(../img/map-icon.svg);
}

.sec-detail__map-caption span {
    display: block;
    font-weight: var(--fw-regular);
    font-size: 1.2rem;
}

/* 拡大虫眼鏡＋モーダルウィンドウ */
.map-zoom-wrap{ 
    position: relative;
}

.map-zoom-wrap img { 
    display:block; 
    width:100%; 
    height:auto;
    border-radius:8px; 
}

/* ★ ADDED: 右下の虫眼鏡ボタン */
.map-zoom-trigger{
    position:absolute; 
    right: 0;
    bottom: 0;
    display:inline-flex; 
    align-items:center; 
    justify-content:center;
    width:44px; 
    height:44px; 
    cursor:pointer;
    transition: transform .15s ease, .15s ease;
}

.map-zoom-trigger:focus-visible { 
    outline:2px solid var(--blue); 
    outline-offset:2px; 
}

.map-zoom-trigger img{ 
    width: 100%;
    height: 100%;
    display: block;
}

/* モーダル本体 */
.map-modal{
    position:fixed; 
    inset:0; 
    z-index:9999;
    display:none;
    visibility:hidden;
    align-items:center;
    justify-content: center;
    opacity:0; 
    pointer-events:none;
    transition: opacity .05s ease;
}
.map-modal.is-open { 
    display:flex;
    visibility:visible;
    opacity:1;
    pointer-events:auto; 
}

.map-modal__backdrop{
    position:absolute; inset:0;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(2px);
}

.map-modal__dialog{
    position:relative; 
    z-index:1;
    display:flex; 
    align-items:center; 
    justify-content:center;
    max-width: min(1200px, 92vw);
    max-height: 92vh;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    padding: clamp(8px, 1.6vw, 16px);
    box-sizing: border-box;
    overflow: hidden;
}

.map-modal__image{
    display:block; 
    max-width: 100%;
    max-height: 100%;
    width: auto; 
    height: auto; 
    object-fit: contain; 
    border-radius:6px;
}

/* ★ ADDED: 閉じるボタン */
.map-modal__close{
    position:absolute; 
    top:8px; 
    right:8px;
    width:36px; 
    height:36px; 
    border:0; 
    border-radius:9999px;
    background:var(--dark-blue); 
    color:#fff; 
    font-size:2.2rem; 
    line-height:1;
    cursor:pointer; 
    display: flex;
    align-items: center;
    justify-content: center;
}


.map-modal__close:focus-visible { 
    outline:2px solid var(--blue); 
    outline-offset:2px; 
}

/* ★ ADDED: スクロールロック */
body.no-scroll{ overflow:hidden; }

/* ★ ADDED: 視覚的に非表示（スクリーンリーダー向け） */
.visually-hidden{
    position:absolute !important; 
    width:1px; height:1px; 
    padding:0; margin:-1px;
    overflow:hidden; 
    clip:rect(0 0 0 0); 
    white-space:nowrap; border:0;
}



/* 備考欄 */
.sec-detail__remarks {
    width: fit-content;
    max-width: 80%;
    margin: 7rem auto 7rem;
    min-width: 600px;
}

.sec-detail__remarks li {
    font-family: var(--font-jp);
    color: #5D5D5D;
    font-size: 1.4rem;
    list-style: none;
    margin-bottom: 0.7em;   
    position: relative;
    padding-left: 1.2em;
    line-height: 1.8;
}

.sec-detail__remarks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    background-color: var(--blue);
    border-radius: 50%;
}

.sec-detail__remarks li:last-child {
    margin-bottom: 0;
}


/* 備考下のデフォルト部分 */
.sec-detail__remarks-default {
    background-color: #BAE6FF;
    width: 40%;
    max-width: 440px;
    margin: 0 auto 3rem;
    border-radius: 5px;
    padding: 1.2em 0;
}

.sec-detail__remarks-default-text {
    list-style: none;
    font-family: var(--font-jp);
    color: #888888;
    width: 80%;
    margin: 0 auto;
    font-size: 1.2rem;
}

/* お問い合わせボタン */

.sec-detail__contact-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--cta-blue);
    border: 2px solid #ffffff;
    border-radius: 8px;
    font-family: var(--font-jp);
    font-weight: var(--fw-medium);
    font-size: 2.4rem;
    color: var(--white);
    width: 35%;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.5;
    box-shadow: 0px 4px 0px 0px rgba(151, 151, 151, 0.9);
    padding: 0.6em 0;
    transition: 0.3s;
}

.sec-detail__contact-title {
    font-size: 1.2rem;
}

/* --- sec-other --- */
.sec-other {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    margin: 0 auto 10em;
} 

.sec-other .sec-ad--sub__list {
    display: flex;
    gap: 2rem;              
    overflow-x: auto;       /* 横スクロール */
    padding: 2rem 2rem 4rem;  
    /* scroll-snap-type: x mandatory;  */
}

.sec-other .sec-ad--sub__item {
    flex: 0 0 auto;         
    width: 350px;          
    scroll-snap-align: start;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
    border-radius: 10px;
}

/* ====================================================
    ▼ ニュース・ブログ記事一覧ページ
==================================================== */
/* 共通 */
/* --- sec-mainv--archive --- */
.sec-mainv--archive {
    padding-top: 100px;
}

.sec-mainv--archive__container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto 6em;
}

.sec-mainv--archive__title {
    font-family: var(--font-en);
    font-weight: var(--fw-medium);
    font-size: 6rem;
    color: var(--blue);
    line-height: 1.0;
    letter-spacing: 0.08em;
}

.sec-mainv--archive__subtitle {
    font-family: var(--font-jp);
    font-weight: var(--fw-bold);
    font-size: 1.8rem;
    color: var(--blue);
}

/* ニュース記事一覧 */
/* --- sec-news--archive --- */
.sec-news--archive__container {
    position: relative; /* ページネーション位置固定用 */
    width: 80%;
    max-width: 1200px;
    margin: 0 auto 10rem;
}

.news-archive__list {
    padding-bottom: 10rem;
}

.news-archive__item {
    position: relative;
    list-style: none;
}

.news-card__link {
    position: relative;
    text-decoration: none;
    display: grid;
    grid-template-columns: 320px 1fr;
    align-items: center;
    border-bottom: 1px solid #D5D5D5;
    padding: 3em 0;
}

.news-card__link::after {
    position: absolute;
    content: "";
    top: 50%;
    right: 2%;
    transform: translateY(-50%);
    width: 16px;
    height: 10px;
    background-size: contain;
    background-image: url(../img/yajirushi-blue.svg);
}

.news-card__heading {
    display: flex;
    gap: 5rem;
}

.news-card__date {
    font-family: var(--font-en);
    font-weight: var(--fw-medium);
    font-size: 1.4rem;
    color: #6E6E6E;
    letter-spacing: 0.08em;
}

.news-card__railway {
    background-color: var(--dark-blue);
    font-family: var(--font-jp);
    font-size: 1.2rem;
    color: var(--white);
    padding: 0.2em 1em;
    border-radius: 4px;
}

.news-card__title {
    font-family: var(--font-jp);
    font-weight: var(--fw-regular);
    font-size: 1.4rem;
    color: var(--black);
}


/* ページネーション */
.pagination {
    position: absolute;
    bottom: 0;
    right: 0;
}

.pagination__links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.page-numbers {
    font-family: var(--font-en);
    font-size: 3rem;
    color: var(--blue);
    text-decoration: none;
}

.page-numbers.current {
    text-decoration: underline !important;
    text-underline-offset: 0.18em;
}

.pagination .c-btncircle {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--blue);
}


/* ブログ記事一覧 */
/* --- sec-blog--archive --- */

.sec-blog--archive__container {
    position: relative; /* ページネーション位置固定用 */
    width: 80%;
    max-width: 1200px;
    margin: 0 auto 10rem;
}

.blog-archive__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: clamp(16px, 2.5vw, 28px);
    padding-bottom: 15rem;
}

.blog--subcard {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--gray);
    border-radius: 10px;
    padding: 1em;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
    text-decoration: none;
    color: inherit;
}

.blog--subcard__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8em;
}

.blogcard__category {
    font-family: var(--font-en);
    font-weight: var(--fw-semibold);
    color: var(--blue);
    font-size: 1.2rem;
}

.blog-card__date {
    font-family: var(--font-en);
    font-weight: var(--fw-medium);
    font-size: 1.4rem;
    color: #6E6E6E;
    letter-spacing: 0.08em;
    text-align: right;
}

.blog--subcard__thumb {
    border-radius: 5px;
    overflow: hidden;
}

.blog--subcard__body {
    position: relative;
    padding: 1em 1em 5em;
}

.blog--subcard__title {
    font-family: var(--font-jp);
    font-size: 2.0rem;
    font-weight: var(--fw-medium);
    color: var(--black);
}

.blog--subcard__railway {
    display: block;
    width: fit-content;
    background-color: var(--blue);
    font-family: var(--font-jp);
    font-weight: var(--fw-regular);
    font-size: 1.3rem;
    color: var(--white);
    padding: 0.4em;
    border-radius: 4px;
    margin-top: 1.5em;
}

.blog--subcard .c-btncircle {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--blue);
}

.blog--subcard .c-btncircle__ico {
    width: 14px;
    height: auto;
    display: block;
}

/* =========================
    ▼ ニュース・ブログ詳細ページ
============================ */
/* 共通 */
/* --- sec-mainv--single --- */
.sec-mainv--single {
    padding-top: 100px;
}

.sec-mainv--single__container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto 5em;
}

.sec-mainv--single__title {
    font-family: var(--font-en);
    font-weight: var(--fw-medium);
    font-size: 4.4rem;
    color: var(--blue);
    line-height: 1.0;
    letter-spacing: 0.08em;
}

.sec-mainv--single__subtitle {
    font-family: var(--font-jp);
    font-weight: var(--fw-bold);
    font-size: 1.3rem;
    color: var(--blue);
}

/* ニュース詳細 */
/* --- sec-news--single --- */
.sec-news--single {
    background-color: var(--light-blue);
    padding: 10rem 0;
}

.sec-news--single__container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 4rem 0;
    border-radius: 10px;
}

.news-single__head {
    width: 85%;
    margin: 0 auto 2rem;
}

.news-single__date {
    font-family: var(--font-en);
    font-weight: var(--fw-medium);
    font-size: 1.4rem;
    color: #6E6E6E;
    letter-spacing: 0.08em;
    text-align: right;
}

.news-single__railway {
    background-color: var(--dark-blue);
    font-family: var(--font-jp);
    font-size: 1.2rem;
    color: var(--white);
    padding: 0.3em 1.5em;
    border-radius: 4px;
    margin-left: 3rem;
}

.news-single__title {
    position: relative;
    width: 85%;
    margin: 0 auto;
    font-family: var(--font-jp);
    font-weight: var(--fw-medium);
    font-size: 2.2rem;
    color: var(--black);
    padding-bottom: 0.5em;
    margin-bottom: 6rem;
}

.news-single__title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    z-index: 2;
    background: var(--blue);
}

.news-single__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #E5E5E5;
    z-index: 1;
}

.news-single__content {
    width: 85%;
    margin: 0 auto;
    font-family: var(--font-jp);
    font-weight: var(--fw-regular);
    font-size: 1.5rem;
    color: var(--black);
    line-height: 2.2;
    border-radius: 10px;
}

/* ニュース本文中の画像・リンク */
/* リンク */
.news-single__content a:not(.c-contactbtn) {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    padding: .9em 2em;
    border-radius: 5px;
    background-image: radial-gradient(circle, rgba(58, 99, 255, 1), rgba(42, 179, 252, 1) 90%);
    color: #fff;
    font-size: 1.6rem;
    text-decoration: none;
}

/* お問い合わせリンク */
.news-single__content .c-contactbtn {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--cta-blue);
    border: 2px solid #ffffff;
    border-radius: 8px;
    font-family: var(--font-jp);
    font-weight: var(--fw-medium);
    font-size: 2.4rem;
    color: var(--white);
    width: 35%;
    max-width: 400px;
    margin: 1rem auto 3rem;
    line-height: 1.5;
    box-shadow: 0px 4px 0px 0px rgba(151, 151, 151, 0.9);
    padding: 0.6em 0;
    transition: 0.3s;
}

/* 画像 */
.news-single__content img {
    display: block;
    width: 70% !important;     
    max-width: 70% !important;
    height: auto !important;
    margin: 5rem auto;         
    object-fit: cover;
}

/* 記事一覧に戻るリンク */
.single__back {
    margin-top: 4rem;
    text-align: center;
}

.single__backlink {
    font-family: var(--font-jp);
    font-weight: var(--fw-bold);
    font-size: 1.6rem;
    color: var(--blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8em;
    margin-bottom: 13rem;
}

.single__backlink .c-btncircle {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--blue);
}

/* ブログ詳細 */
/* --- sec-blog--single --- */
.sec-blog--single {
    background-color: var(--gray);
    padding: 10rem 0;
}

.sec-blog--single__container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 4rem 0;
    border-radius: 10px;
}

.blog-single__head {
    width: 85%;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.blog-single__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.blog-single__category {
    font-family: var(--font-ja);
    font-weight: var(--fw-bold);
    font-size: 1.4rem;
    color: var(--blue);
    position: relative;
    padding-left: 1em;
}

.blog-single__category::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    background-color: var(--blue);
    border-radius: 50%;
}

.blog-single__date {
    font-family: var(--font-en);
    font-weight: var(--fw-medium);
    font-size: 1.4rem;
    color: #6E6E6E;
    letter-spacing: 0.08em;
    text-align: right;
}

.blog-single__railway {
    display: block;
    width: fit-content;
    background-color: var(--dark-blue);
    font-family: var(--font-jp);
    font-size: 1.2rem;
    color: var(--white);
    padding: 0.3em 1.5em;
    border-radius: 4px;
}

.blog-single__title {
    position: relative;
    width: 85%;
    margin: 0 auto;
    font-family: var(--font-jp);
    font-weight: var(--fw-medium);
    font-size: 2.2rem;
    color: var(--black);
    padding-bottom: 0.5em;
    margin-bottom: 6rem;
}

.blog-single__title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    z-index: 2;
    background: #5D5D5D;
}

.blog-single__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #E5E5E5;
    z-index: 1;
}

.blog-single__thumb {
    width: 85%;
    margin: 0 auto 5rem;
}

.blog-single__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-single__content {
    width: 85%;
    margin: 0 auto;
    font-family: var(--font-jp);
    font-weight: var(--fw-regular);
    font-size: 1.6rem;
    color: var(--black);
    line-height: 2.2;
    border-radius: 10px;
}

.blog-single__content-box {
    margin-bottom: 7rem;
}

.blog-single__content h3 {
    position: relative;
    font-size: 2.0rem;
    border-bottom: 1px solid #E5E5E5;
    margin-bottom: 3rem;
    padding-left: 1.6rem;
    font-weight: 900;
}

.blog-single__content h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #00599B;
    border-radius: 50%;
}


.blog-single__content h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.blog-single__content p {
    margin-bottom: 2rem;
}



/* =========================
    ▼ お問い合わせページ
============================ */
.sec-ctapage {
    padding-top: 100px;
}

.sec-ctapage__bread {
    width: 80%;
    margin: 0 auto;
}

.sec-ctapage__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto 10rem;
}

.sec-ctapage__title {
    font-family: var(--font-en);
    font-weight: var(--fw-medium);
    font-size: 6rem;
    color: var(--blue);
    line-height: 1.0;
    letter-spacing: 0.08em;
}

.sec-ctapage__subtitle {
    font-family: var(--font-jp);
    font-weight: var(--fw-bold);
    font-size: 1.8rem;
    color: var(--blue);
}

.sec-ctapage__lead {
    font-family: var(--font-jp);
    font-size: 1.4rem;
    color: var(--black);
    margin-top: 2rem;
}

.contact-form__wrapper {
    background-color: #BAE6FF;
    margin-bottom: 10rem;
    padding: 10rem 0;
}

.contact-form__container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 10px;
}

.csform {
    max-width: 1000px;
    width: 80%;
    margin: 0 auto;
    padding: 4em 4em;
}

/* ─ 表形式：ラベルと入力欄を2列に配置 ─ */
.common_formtable {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 4em 1em;
}

/* ─ ラベル欄 ─ */
.common_formtd01 {
    font-weight: 500;
    font-size: 1.4rem;
    font-family: var(--font-jp);
    color: #111;
    display: flex;
    align-items: center;
}

/* ─ 必須バッジ ─ */
.common_formtd01 .required-icon {
    background-color: var(--red);
    color: #fff;
    font-size: 1.1rem;
    padding: 0.3em 0.6em;
    margin-left: 0.8em;
    line-height: 1;
    display: inline-block;
}

/* ─ 入力欄 ─ */
    .common_formtd02 {
    display: flex;
    flex-direction: column;
    font-family: var(--font-jp);
}

/* ─ テキスト・メール・電話入力 ─ */
.common_formtd02 input[type="text"],
.common_formtd02 input[type="email"],
.common_formtd02 input[type="tel"] {
    width: 100%;
    padding: 0.75em;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1.4rem;
    font-family: var(--font-jp);
    box-sizing: border-box;
    margin-bottom: 0.5em;
}

/* 郵便番号の幅を調整 */
.common_formtd02 input.zip-3 {
    width: 5em;
}

.common_formtd02 input.zip-4 {
    width: 5em;
}

.wpcf7-list-item {
    font-size: 1.4rem;
}

/* ─ テキストエリア ─ */
.common_formtd02 textarea {
    width: 100%;
    padding: 0.75em;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    min-height: 150px;
    box-sizing: border-box;
    resize: vertical;
    margin-bottom: 0.5em;
}

/* ─ プレースホルダー説明テキスト ─ */
.csform-p {
    margin-bottom: 0.5em;
    font-size: 1.2rem;
    color: #888;
}

/* ─ チェックボックスやセレクトにも余白調整 ─ */
.common_formtd02 select,
.common_formtd02 .wpcf7-checkbox,
.common_formtd02 .wpcf7-radio {
    margin-bottom: 0.5em;
}

/* ─ 送信ボタン ─ */
.common_formb {
    text-align: center;
    margin-top: 2.5em;
}

.common_formb input[type="submit"] {
    background-color: var(--blue);
    color: #fff;
    font-family: var(--font-jp);
    padding: 0.75em 2.5em;
    font-size: 1.4rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


.wpcf7-spinner {
    display: none !important;
}

/* ─ 同意文など ─ */
.form-privacy {
    font-size: 1.4rem;
    color: #333;
    margin-top: 1.5em;
    text-align: center;
    font-family: var(--font-jp);
}

/* ─ エラーメッセージや成功時メッセージ ─ */
.wpcf7-not-valid-tip {
    color: red;
    font-size: 0.85rem;
    margin-top: 0.2em;
}

.wpcf7-response-output {
    margin-top: 1em;
    font-size: 0.95rem;
    color: #111;
}

/* ─ プライバシーポリシーリンク ─ */
.privacy-link {
    text-align: center;
    margin-top: 1.5em;
}

.privacy-link a {
    display: inline-block;
    color: var(--blue); 
    text-decoration: underline;
    font-weight: bold;
    font-size: 1.2rem;
    font-family: var(--font-jp);
    transition: opacity 0.3s ease;
}

/* ============================
    ▼ お問い合わせ（受付完了）ページ
=============================== */
.sec-thanks {
    margin-top: 100px;
    text-align: center;
    min-height: 55vh;
    margin-bottom: 10rem;
}

.sec-thanks__bread {
    width: 80%;
    margin: 0 auto;
}

.thanks__title {
    text-align: center;
    font-size: 3.0rem;
    font-weight: bold;
    color: var(--blue);
    margin-bottom: 1.5em;
}

.thanks__text {
    text-align: center;
    line-height: 1.8;
    margin-bottom: 4em;
    font-size: 1.4rem;
}

.btn-home {
    padding: 12px 30px;
    background-color: var(--blue);
    color: #fff;
    font-size: 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0);
}

/* =========================
    ▼ 404ページ
============================ */
.sec-404 {
    padding-top: 100px;
}

.sec-404__container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto 10rem;
}

.sec-404__head {
    margin-bottom: 10rem;
}

.sec-404__title {
    font-family: var(--font-jp);
    font-size: 3.0rem;
    color: var(--blue);
    margin-bottom: 0.4em;
}

.sec-404__subtitle {
    font-family: var(--font-en);
    font-weight: var(--fw-bold);
    font-size: 1.4rem;
    color: var(--blue);
}

.sec-404__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sec-404__lead {
    font-family: var(--font-jp);
    font-size: 1.4rem;
    color: var(--black);
}

.sec-404__btn {
    display: inline-block;
    padding: 1em 4em;
    background-color: var(--blue);
    font-family: var(--font-jp);
    color: var(--white);
    font-size: 1.4rem;
    text-decoration: none;
    border-radius: 9999px;
    font-weight: bold;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0);
}



/* =========================
    ▼ 個人情報保護ページ
============================ */
.sec-privacy-top {
    padding-top: 100px;
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
}

.sec-privacy {
    padding: 4em 1em;
    background-color: #BAE6FF;
}

.sec-privacy .inner {
    background-color: #fff;
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    padding: 6em 3em;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
}

.sec-privacy__title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 3em;
    color: var(--black);
}

.sec-privacy p {
    color: #888;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 4em;
}

.sec-privacy h2 {
    position: relative;
    color: var(--black);
    font-family: var(--font-jp);
    font-size: 1.8rem;
    font-weight: var(--fw-bold);
    padding-bottom: 0.5em;
    margin-bottom: 0.8em;
}

.sec-privacy h2::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 2px;
    background: var(--blue);
    z-index: 2;
}

.sec-privacy h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e5e5e5;
    z-index: 1;
}

.sec-privacy ul {
    margin-bottom: 4em;
}

.sec-privacy li {
    color: #888;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 0.5em;
    list-style: none;
}

.sec-privacy a {
    color: inherit;
}


/* ---  レスポンシブ  --- */

/* ---  タブレット幅（1024px～600px）  --- */
@media (max-width: 1024px) and (min-width: 600px){

    /* =========================
        ▼ 電鉄・広告種別ページ
    ============================ */
    /* --- sec-mainv--sub --- */
    .sec-mainv--sub__container {
        flex-direction: column;
        align-items: center;
        min-height: auto;
        margin-bottom: 10rem;
    }

    body.page-ad-category .sec-mainv--sub__container {
        margin-bottom: 20rem;
    }

    .sec-mainv--sub__text {
        width: 80%;
        max-width: 920px;
    }

    .sec-mainv--sub__title {
        text-align: center;
        margin-bottom: 1em;
    }

    .sec-mainv--sub__lead {
        width: 80%;
        max-width: 500px;
        margin: 0 auto 4em;
    }

    .sec-mainv--sub__sta {
        width: 100%;
        max-width: 420px;
        margin: 1.4em auto 0;
    }

    .page-ad-category .sec-mainv--sub__sta {
        width: 100%;
    }

    .sec-mainv--sub__thumb {
        position: relative;
        top: auto;
        right: auto;
        width: 80%;
        height: clamp(240px, 45vw, 420px); 
        border-radius: 20px;         
        overflow: hidden;
        z-index: 0;                  
        margin-top: 5rem;
    }

    .sec-mainv--sub__thumb::after {
        content: none;
    }

    /* 広告種別選択ボタン */
    .sec-mainv--sub__selectlist {
        /* 位置指定をリセット */
        position: static;
        left: auto;
        bottom: auto;
        transform: none;
        margin: 0 auto 10rem;
        width: 90%;
        padding: 1.2em 1em;
        gap: 2rem;
    }
    

    /* --- sec-ad--sub --- */
    body.page-ad-category .sec-ad--sub__container {
        padding-top: 10rem;
    }

    .sec-ad--sub__list {
        grid-template-columns: repeat(2, 1fr);
    }


    /* --- sec-mdsearch --- */
    .sec-mdsearch__inner {
        display: flex;
        flex-direction: column;
        padding: 8em 0 6em;
    }

    .sec-mdsearch__title {
        text-align: center;
        margin-bottom: 0.8em;
    }

    .sec-mdsearch__list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .sec-mdsearch__item {
        padding: 3em 0;
    }

    /* =========================
        ▼ 主要駅ページ
    ============================ */
    .sec-mainv--sub2 {
        padding-bottom: 5rem;
    }

    .sec-mainv--sub2__title {
        font-size: 3.6rem;
    }

    .sec-mainv--sub2__title-m {
        font-size: 3.0rem;
    }

    .sec-mainv--sub2__title-s {
        font-size: 2.8rem;
    }

    .sec-mainv--sub2__container {
        flex-direction: column;
        gap: 5rem;
    }

    .sec-mainv--sub2__thumb {
        width: 100%;
    }

    .sec-mainv--sub2__lead {
        width: 100%;
    }

    .sec-mainv--sub2 .sec-mainv--sub__selectlist {
        bottom: -10%;
    }

    /* --- sec-mainsta --- */
    .sec-mainsta::before{
        display: none;
    }

    .sec-mainsta__container {
        padding: 5em 0 6em;
    }

    .sec-mainsta__list {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }

    /* =========================
        ▼ 媒体詳細ページ
    ============================ */
    .sec-detail__railway {
        position: static;
        display: block;
        width: fit-content;
        margin: 0 auto 1.5em;
        padding: 0.6em 2em;
    }

    .sec-detail__text {
        display: flex;
        flex-direction: column;
        padding: 2em 0;
    }

    .sec-detail__title {
        font-size: 2.4rem;
    }

    .sec-detail__lead {
        width: 65%;
        line-height: 1.8;
    }

    .sec-detail__container {
        flex-direction: column;
        gap: 5rem;
    }

    /*  左：画像（スワイパー） */
    .sec-detail__gallery {
        width: 80%;
        max-width: 650px;
        margin: 0 auto;
        position: static;
    }

    /* 右：広告詳細表、入稿仕様 */
    .sec-detail__info {
        width: 80%;
        max-width: 650px;
        margin: 0 auto;
    }

    .sec-detail__td {
        font-size: 1.4rem;
    }

    /* 配置図 */
    .sec-detail__map {
        min-width: 500px;
        margin: 8rem auto 6rem;
    }

    /* 備考欄 */
    .sec-detail__remarks {
        max-width: 650px;
        min-width: 450px;
        width: 50%;
    }

    .sec-detail__remarks-item {
        margin-bottom: 2.8em;   
    }

    /* 備考下のデフォルト部分 */
    .sec-detail__remarks-default {
        width: 70%;
    }

    .sec-detail__remarks-default-text {
        width: 90%;
        max-width: 350px;
    }

    /* お問い合わせボタン */
    .sec-detail__contact-link {
        width: 60%;
    }

    /* --- sec-other --- */
    .sec-other .sec-ad--sub__item {
        width: 250px;
    }

    /* ============================
        ▼ ニュース・ブログ記事一覧ページ
    =============================== */
    /* 共通 */
    .news-card__link {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* ニュース記事一覧 */
    /* --- sec-news--archive --- */
    .news-card__heading {
        gap: 3rem;
    }

    /* ページネーション */
    .pagination {
        position: static;        
    }
    .pagination__links {
        justify-content: center;  
    }

    /* =========================
    ▼ ニュース記事ページ
    ============================ */
    .news-single__content .c-contactbtn {
        width: 100%;
    }


    /* ブログ記事一覧 */
    /* --- sec-blog--archive --- */
    .blog-archive__list {
        grid-template-columns: repeat(2, 1fr);
    }

    /* =========================
    ▼ お問い合わせページ
    ============================ */
    .sec-ctapage__container {
        flex-direction: column;
        align-items: flex-start;
        gap: 4rem;
    }

    /* =========================
    ▼ 404ページ
    ============================ */
    .sec-404__body {
        flex-direction: column;
        gap: 5rem;
    }
}

/* ---  お問い合わせページフォーム欄のみ（767px以下で折り返す）  --- */
@media screen and (max-width: 767px) {
    .common_formtable {
        grid-template-columns: 1fr;
        gap: 1em 1em;
    }

    .common_formtd01 {
        margin-bottom: 0.3em;
    }

    .common_formtd02 {
        margin-bottom: 1.5em;
    }

}


/* ---  スマホ幅（599px以下）  --- */
@media (max-width: 599px){
    /* ---  sec-title（共通のセクションタイトル）  --- */
    .section-title__jp-b {
    font-size: 2.8rem;
    }

    .section-title__en {
        font-size: 1.3rem;
    }


    /* =========================
        ▼ 電鉄・広告種別ページ
    ============================ */

    .sec-mainv--sub__container {
        flex-direction: column;
        align-items: center;
        min-height: auto;
        margin-bottom: 10rem;
    }

    body.page-ad-category .sec-mainv--sub__container {
        margin-bottom: 20rem;
    }

    .sec-mainv--sub__text {
        width: 80%;
        max-width: 920px;
    }

    .sec-mainv--sub__title {
        text-align: center;
        margin-bottom: 1em;
        font-size: 3.2rem;
    }

    .sec-mainv--sub__title-s {
        font-size: 2.8rem;
    }

    .sec-mainv--sub__lead {
        width: 80%;
        min-width: 320px;
        margin: 0 auto 4em;
    }

    .sec-mainv--sub__sta {
        max-width: 340px;
        margin: 1.4em auto 0;
    }

    .page-railway .sec-mainv--sub__sta {
        width: 100%;
    }

    .page-ad-category .sec-mainv--sub__sta {
        width: 100%;
        margin: 0 auto;
        padding: 4em 3em 3em;
    }

    /* 広告種別おすすめ媒体 */
    body.page-ad-category .sec-mainv--sub__sta-list {
        gap: 1.6rem;
    }

    body.page-ad-category .sec-mainv--sub__sta-item {
        border-bottom: none;
    }

    body.page-ad-category .sec-mainv--sub__sta-link {
        text-decoration: underline;
        font-size: 1.4rem;
    }

    /* 画像 */
    .sec-mainv--sub__thumb {
        position: relative;
        top: auto;
        right: auto;
        width: 80%;
        height: clamp(240px, 45vw, 420px); 
        border-radius: 20px;         
        overflow: hidden;
        z-index: 0;                  
        margin-top: 5rem;
    }

    .sec-mainv--sub__thumb::after {
        content: none;
    }

    /* 広告種別選択ボタン */
    .sec-mainv--sub__selectlist {
        /* 位置指定をリセット */
        position: static;
        left: auto;
        bottom: auto;
        transform: none;
        margin: 0 auto 10rem;
        width: 90%;
        padding: 1.2em 1em;

        /* あなたが活かしたいレスポンシブ用の指定 */
        display: grid;
        gap: 1rem;
        grid-auto-flow: row;
        grid-template-columns: repeat(2, 1fr);
        border-radius: 20px;
        text-align: center;
        min-width: 300px;
    }


    /* 電鉄で絞るボタン */
    .sec-mainv--sub__filter {
        font-size: 1.6rem;
    }

    /* 広告種別で絞るボタン （taxonomy-station のときだけフォントサイズ変更） */
    body.tax-station .sec-mainv--sub__filter {
        font-size: 1.4rem;
    }


    /* --- sec-ad--sub --- */
    .sec-ad--sub__list {
        grid-template-columns: repeat(1, 1fr);
        max-width: 430px;
        margin: 3em auto 0;
        row-gap: calc(clamp(16px, 2.5vw, 28px) * 2);
    }

    /* --- sec-mdsearch --- */
    .sec-mdsearch__container {
        width: 95%;
    }

    .sec-mdsearch__inner {
        display: flex;
        flex-direction: column;
        padding: 8em 0 6em;
    }

    .sec-mdsearch__title {
        text-align: center;
        margin-bottom: 0.8em;
        font-size: 5rem;
    }

    .sec-mdsearch__list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .sec-mdsearch__item {
        padding: 3em 0;
        width: 70%;
    }

    /* =========================
        ▼ 主要駅ページ
    ============================ */
    .sec-mainv--sub2 {
        padding-bottom: 5rem;
    }

    .sec-mainv--sub2__title {
        font-size: 3.6rem;
    }

    .sec-mainv--sub2__title-m {
        font-size: 3.0rem;
    }

    .sec-mainv--sub2__title-s {
        font-size: 2.8rem;
    }

    .sec-mainv--sub2__container {
        flex-direction: column;
        gap: 5rem;
    }

    .sec-mainv--sub2__thumb {
        width: 100%;
    }

    .sec-mainv--sub2__lead {
        width: 100%;
    }

    .sec-mainv--sub2 .sec-mainv--sub__selectlist {
        bottom: -15%;
    }

    /* --- sec-mainsta --- */
    .sec-mainsta::before{
        display: none;
    }

    .sec-mainsta__container {
        padding: 5em 0 5em;
    }

    .sec-mainsta__list {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(4, 1fr);
        width: 100%;
        max-width: 300px;
        margin-inline: auto;
    }

    /* =========================
        ▼ キーワード検索ページ
    ============================ */
    .sec-mainv--sub3__title {
        font-size: 2.8rem;
    }

    .sec-mainv--sub2__title-s {
        font-size: 2.4rem;
    }

    /* =========================
        ▼ 媒体詳細ページ
    ============================ */
    .sec-detail__railway {
        position: static;
        display: block;
        width: fit-content;
        margin: 0 auto 1.5em;
        padding: 0.6em 2em;
    }

    .sec-detail__text {
        width: 95%;
        display: flex;
        flex-direction: column;
        padding: 2em 0;
    }

    .sec-detail__title {
        font-size: 2.4rem;
    }

    .sec-detail__lead {
        width: 65%;
        line-height: 1.8;
    }

    .sec-detail__container {
        flex-direction: column;
        gap: 5rem;
    }

    /*  左：画像（スワイパー） */
    .sec-detail__gallery {
        width: 95%;
        max-width: 650px;
        margin: 0 auto;
        position: static;
    }

    /* 右：広告詳細表、入稿仕様 */
    .sec-detail__info {
        width: 95%;
        max-width: 650px;
        margin: 0 auto;
    }

    .sec-detail__table {
        border-radius: 0;
    }

    .sec-detail__row {
        display: block;
        border-bottom: none;
    }

    .sec-detail__th {
        display: block;
        width: 100%;
        text-align: left;
        border-radius: 0;
        border-top: 2px solid #00599B;
    }

    .sec-detail__table tr:first-child th {
        border-top-left-radius: 0;
    }

    .sec-detail__table tr:last-child th {
        border-bottom-left-radius: 0;
    }

    .sec-detail__td {
        font-size: 1.4rem;
    }

    /* 配置図 */
    .sec-detail__map {
        min-width: 350px;
        margin: 8rem auto 6rem;
    }

    /* 備考欄 */
    .sec-detail__remarks {
        max-width: 400px;
        min-width: 300px;
        width: 80%;
    }

    .sec-detail__remarks-item {
        margin-bottom: 2.8em;   
    }

    /* 備考下のデフォルト部分 */
    .sec-detail__remarks-default {
        width: 90%;
    }

    .sec-detail__remarks-default-text {
        width: 90%;
        max-width: 350px;
    }

    /* お問い合わせボタン */
    .sec-detail__contact-link {
        width: 90%;
    }

    /* --- sec-other --- */
    .sec-other .sec-ad--sub__item {
        width: 250px;
    }

    /* ============================
        ▼ ニュース・ブログ記事一覧ページ
    =============================== */
    /* 共通 */
    .news-card__link {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }


    /* ニュース記事一覧 */
    /* --- sec-news--archive --- */
    .news-card__heading {
        gap: 3rem;
    }

    .news-card__title {
        display: block;
        width: 80%;
    }

    /* ページネーション */
    .pagination {
        position: static;        
    }
    .pagination__links {
        justify-content: center;  
    }

    /* ブログ記事一覧 */
    /* --- sec-blog--archive --- */
    .blog-archive__list {
        grid-template-columns: repeat(1, 1fr);
        max-width: 430px;
        margin: 3em auto 0;
        row-gap: calc(clamp(16px, 2.5vw, 28px) * 2);
    }

    /* =========================
    ▼ ニュース・ブログ詳細ページ
    ============================ */
    .news-single__title,
    .blog-single__title {
        font-size: 1.8rem;
    }

    .news-single__content .c-contactbtn {
        width: 100%;
    }

    .blog-single__content {
        font-size: 1.4rem;
    }

    /* =========================
    ▼ お問い合わせページ
    ============================ */
    .sec-ctapage__container {
        flex-direction: column;
        align-items: flex-start;
        gap: 4rem;
    }

    .contact-form__container {
        width: 90%;
    }

    .csform {
        width: 100%;
        padding: 4em 2em;
    }

    .csform-p {
        margin-bottom: 2em;
    }

    .wpcf7-list-item {
        margin: 0 0 0.3em 1em;
    }

    .common_formtd02 {
        margin-bottom: 3em;
    }

    /* =========================
    ▼ 404ページ
    ============================ */
    .sec-404__body {
        flex-direction: column;
        gap: 8rem;
    }
}

/* ---  ホバー  --- */
@media (any-hover: hover) {
    /* ▼ 電鉄・広告種別ページ */
    .sec-mainv--sub__sta-link:hover {
        opacity: 0.8;
    }

    .sec-mainv--sub__selectlink:hover {
        background-color: var(--blue);
        color: var(--white);
    }

    .sec-mainv--sub__filter:hover {
        background-color: var(--white);
        color: var(--blue);
        border-color: var(--blue);
        box-shadow: 0px 3px 18px 0px rgba(0, 57, 129, 0.5);
    }

    /* 媒体カード */
    .ad--subcard:hover {
        transform: scale(1.02);
        box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
    }

    .ad--subcard:hover .ad--subcard__thumb img {
        transform: scale(1.12);
    }

    .ad--subcard:hover .ad--subcard__title {
        opacity: 0.7;
    }

    .ad--subcard:hover .c-btncircle {
        background-position: 0 0;
    }

    /* 主要駅ページの媒体カード */
    .sec-ad--sub2 .ad--subcard:hover {
        box-shadow: 0 8px 20px rgba(0, 73, 150, .8);
    }

    .sec-ad--sub2 .ad--subcard:hover .c-btncircle {
        background-position: 0 0;
    }

    /* メディアサーチの中身ボタン */
    .sec-mdsearch__item:hover {
        background-color: var(--blue);
        border: 1px solid #ffffff;
    }

    .sec-mdsearch__item:hover .sec-mdsearch__link-ttl {
        color: var(--white);
    }

    .ms-dropdown__item:hover {
        background-color: var(--blue);
    }

    .ms-dropdown__item:hover .ms-dropdown__link {
        color: var(--white);
    }

    /* ▼ 主要駅から探す */
    .sec-mainsta__btn:hover {
        background-color: var(--medium-blue);
        color: var(--white);
        border: 1px solid #ffffff;
    }

    .sec-mainsta__btn:hover::before {
        background-image: url("../img/pin-mblue.svg");
    }

    .sec-mainsta__btn:hover::after {
        border-bottom: 2px solid #ffffff;
        border-right: 2px solid #ffffff;
    }

    .sec-mainsta__sublink:hover {
        opacity: 0.8;
    }

    /* ▼ 媒体詳細ページ（マップの拡大ボタンなど） */
    .map-zoom-trigger:hover {
        opacity: 0.8;
    }

    .map-modal__close:hover {
        opacity: 0.8;
    }

    .sec-detail__contact-link:hover {
        box-shadow: none;
        transform: translateY(4px);
    }

    /* ▼ ニュース・ブログ一覧 */
    .news-card__link:hover {
        border-bottom: 1px solid #003981;
    }

    .page-numbers:hover {
        opacity: 0.6;
    }

    .blog--subcard:hover {
        box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
    }

    /* ▼ ニュース・ブログ詳細 */
    .news-single__content a:not(.c-contactbtn):hover {
        opacity: 0.8;
    }

    .news-single__content .c-contactbtn:hover {
        box-shadow: none;
        transform: translateY(4px);
    }

    .single__backlink:hover {
        opacity: 0.8;
    }

    /* ▼ お問い合わせフォーム・プライバシー */
    .common_formb input[type="submit"]:hover {
        background-color: #c7002b;
    }

    .privacy-link a:hover {
        opacity: 0.7;
    }

    /* ▼ サンクスページ・404・共通ボタン */
    .btn-home:hover {
        background-color: var(--white);
        border: 1px solid #003981;
        color: var(--blue);
    }

    .sec-404__btn:hover {
        background-color: var(--white);
        border: 1px solid #003981;
        color: var(--blue);
    }
}
