@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;

    /* フォント変数 */
    --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  --- */
.sec-mainv {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 650px;
    overflow: hidden; 
}

.sec-mainv__container {
    position: relative;
    width: 80%;
    margin: 0 auto;
    height: 100%;
    z-index: 3;
}

/* シルエット */
.sec-mainv__container::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 10%;
    width: clamp(220px, 28vw, 360px); 
    height: clamp(100px, 12vw, 150px); 
    background: url("../img/bay-area.svg") no-repeat left bottom;
    background-size: contain;   
    z-index: -1; 
}

/* 左：テキスト */
.sec-mainv__text {
    position: absolute;
    left: 5%;   
    top: 50%;
    transform: translate(-5%,-50%);
    z-index: 2; 
    color: var(--white);
    text-shadow: 0 3px 12px #2B62A0;
}

.sec-mainv__title {
    font-family: var(--font-jp);
    font-weight: var(--fw-bold);
    font-size: clamp(4.8rem, 7vw, 8rem);
    line-height: 1.2;
    margin-bottom: 0.5em;
}

.sec-mainv__title-m {
    color: var(--white);  
}

.sec-mainv__title-s {
  font-size: 0.8em; /* 「の」を少し小さく */
}

/* KOBE TRAFFIC AD */
.sec-mainv__subtitle {
    font-family: var(--font-num);
    font-weight: 500;
    font-size: clamp(1.8rem, 2.4vw, 3rem);
    color: #FFF95C; 
    letter-spacing: 0.1em;
}

/* 青い図形 */
.sec-mainv__cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 70vw;
    max-width: 1000px;   
    height: 100%;
    z-index: 1;
}

/* picture・imgどちらにも高さを引き継ぐ */
.sec-mainv__cover picture,
.sec-mainv__cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;           
    object-position: right top;   /* 基準位置（左上起点、任意で調整） */
}

/* スライダー */
.sec-mainv__slider {
    position: absolute;
    top: 0;
    right: 0;           
    width: 65vw;         
    height: 100%;
    z-index: 0;
}

.sec-mainv__slider .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.sec-mainv__slider .swiper-slide {
    width: 100%;
    height: 100%;
}

.sec-mainv__slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ---  sec-intro（導入部分）  --- */
.sec-intro {
    position: relative;
    margin-top: clamp(18vh, 24vh, 40vh);
    margin-bottom: 15em;
}

.sec-intro::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;       
    transform: translateY(-50%);
    width: clamp(380px, 40vw, 650px);
    height: calc(clamp(380px, 40vw, 650px) * (796 / 746));                 
    background: url("../img/intro.png") right center / contain no-repeat;
    z-index: 0;
}

.sec-intro__flex {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}

.sec-intro__text {
    position: relative;
    width: 48%;
}

.sec-intro__text::before {
    content: "";
    position: absolute;
    top: 30%;
    left: 0;
    transform: translateY(-60%); 
    width: clamp(310px, 34vw, 420px);
    height: auto;
    aspect-ratio: 1 / 1; 
    background: url("../img/silhouette-line.svg") no-repeat center / contain;
    z-index: -1; 
}

.sec-intro__title {
    font-family: var(--font-jp);
    font-size: 6rem;
    font-weight: var(--fw-semibold);
    color: var(--black);
    margin-bottom: 2.5em;
    letter-spacing: 0.08em;
}

.sec-intro__lead {
    width: 90%;
    font-family: var(--font-jp);
    font-size: 1.6rem;
    color: var(--black);
    line-height: 2.0;
}

.sec-intro__lead-1 {
    margin-bottom: 2.5em;
}

.sec-intro__visual {
    position: relative;
    min-height: clamp(360px, 42vw, 560px);
}

.intro__photo {
    position: absolute;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    z-index: 1;
}

.intro__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.intro__photo--a {
    top: 5rem;
    right: 4rem;
    width: clamp(320px, 30vw, 500px);
    height: auto;
    z-index: 1;
}

.intro__photo--b {
    bottom: 2rem;
    right: 0;
    width: clamp(160px, 16vw, 320px);  
    height: auto;
    z-index: 1;
}


@media (min-width: 1300px) {
    .sec-intro__visual {
        min-height: 750px; 
    }
    .intro__photo--a {
        right: 7rem;
        top: 5rem;       
    }
    .intro__photo--b {
        right: 1rem;   
        bottom: 0;    
        transform: translateY(0); 
    }
}

/* ---  sec-railway（電鉄からさがす）  --- */
.sec-railway {
    width: 80%;
    max-width: 1200px; 
    margin: 0 auto 15em; 
}

.sec-railway__list{
    display: grid;
    column-gap: clamp(16px, 2.5vw, 24px); 
    row-gap: clamp(16px, 2vw, 28px);   
    grid-template-columns: repeat(4, minmax(190px, 1fr)); 
    list-style: none;
    padding: 0;
    margin-top: 4em;
}

.sec-railway__item {
    background: var(--white);
    border-radius: 9999px; 
    box-shadow: 0 0 15px rgba(0, 57, 129, 0.7);
    overflow: hidden;
}
.sec-railway__link {
    display: block;
    text-align: center;
    padding: 1.1em 1.6em;
    font-family: var(--font-jp);
    color: var(--blue);
    font-weight: var(--fw-medium);
    font-size: 1.8rem;
    line-height: 1;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .1s ease;
}

/* --- sec-mainsta（主要駅からさがす） --- */
.sec-mainsta {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto 20em;
    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%);
    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.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(--white);
}

.section-mainsta-title {
    font-family: var(--font-jp);
    font-weight: var(--fw-medium);
    display: block;
    text-align: center;
    color: var(--white);
    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;
}

/* --- sec-adcategory （広告種別から探す）--- */
.sec-adcategory {
    width: 95%;
    margin: 0 auto 15em; 
    background-color: var(--blue-purple);
    border-radius: 20px;
}

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

.sec-adcategory__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: clamp(16px, 2.5vw, 28px);
    list-style: none;
    padding: 0;
    margin-top: 3em;
}

.adcard{
    position: relative;
    display: flex;                 
    flex-direction: column;
    gap: 14px;
    background: var(--white);
    border-radius: 10px;
    padding: 0.8em;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    text-decoration: none;
    color: inherit;
    min-height: 600px;
}

.adcard__thumb{
    flex: 0 0 40%; /* 画像は固定で40% */
    border-radius: calc(10px - 0.8em);
    overflow: hidden;
}

.adcard__thumb img{
    width: 100%;
    height: clamp(160px, 24vw, 220px); 
    object-fit: cover;
    display: block;
    /* ホバーアニメーション用 */
    transition: transform 0.4s ease; 
    transform-origin: center center;
}

.adcard__body{    
    position: relative;      
    display: flex;
    flex-direction: column;
    gap: .6em; 
    padding: 0 1em 5em;
    flex: 1;        
}

.adcard__title{
    font-family: var(--font-jp);
    font-weight: var(--fw-medium);
    color: var(--black);
    font-size: clamp(1.8rem, 2vw, 2.2rem);
    text-align: center;
    padding-top: 0.6em;
    margin-bottom: 1.8em;
}

.adcard__text{
    font-family: var(--font-jp);
    font-weight: var(--fw-regular);
    color: var(--black);
    font-size: 1.4rem;
    line-height: 2.0;
}

.adcard .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;
}

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

/* --- sec-busooh --- */
.sec-busooh {
    width: 95%;
    margin: 0 auto 15em; 
    background-color: var(--gray);
    border-radius: 20px;
}

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

.sec-busooh__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
    margin-top: 3em;
    list-style: none;
    gap: clamp(16px, 2.5vw, 28px);
}

.adcard-row {
    position: relative;
    display: flex;  
    flex-direction: row;
    align-items: center;
    background: var(--white);
    border-radius: 10px;
    padding: 0.8em;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    text-decoration: none;
    color: inherit;
}

.adcard-row .adcard__thumb {
    flex: 0 0 60%;
}

.adcard-row .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,
        #003846 50%,  
        var(--blue) 50%  
    );
    background-size: 200% 100%;
    background-position: 100% 0; /* → 最初は青だけ見える */
    transition: background-position 0.4s ease;
}

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

/* ---  sec-blog --- */
.sec-blog {
    width: 95%;
    margin: 0 auto 15em; 
    background: linear-gradient(180deg,rgba(0, 140, 209, 1) 0%, rgba(0, 58, 124, 1) 100%);
    border-radius: 20px;
}

.sec-blog__container {
    width: 90%;
    min-height: 460px;
    margin: 0 auto;
    padding: 4em 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
}

/* 左：リスト */
.sec-blog__links {
    display: flex;
    justify-content: left; /* 投稿数が少ない時のレイアウト用 */
    gap: 1em;
    overflow-x: auto; 
    scroll-snap-type: x mandatory;  
    padding: 8px 4px 14px;  
    width: 100%;
}

.blogcard {
    width: 280px; 
    height: 360px;
    display: block;
    position: relative;
    background-color: var(--white);
    border-radius: 10px;
    padding: 0.8em;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blogcard__meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8em;
}

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

.blogcard__time {
    font-family: var(--font-en);
    color: #6E6E6E;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
}

.blogcard__thumb {
    border-radius: calc(10px - 0.8em);
    overflow: hidden;
}

.blogcard__thumb img{
    width: 100%;
    height: clamp(120px, 20vw, 180px);
    object-fit: cover;
    display: block;
}

.blogcard__text {
    font-family: var(--font-jp);
    font-size: 1.4rem;
    color: var(--black);
    font-weight: var(--fw-regular);
    line-height: 1.8;
    padding: 1em 1em 2em 1em;
}

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

.blogcard .c-btncircle {
    position: absolute;
    right: 7px;
    bottom: 7px;
    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;
}

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

/* 現在、投稿はありません。 */
.sec-blog .u-center {
    color: var(--white);
    font-family: var(--font-jp);
}

/* 右：タイトル＋ボタン */
.sec-blog__ttlbtn {
    display: flex;
    flex-direction: column;
    gap: 3em;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.sec-blog__title {
    color: var(--white);
}

.sec-blog__entitle {
    color: var(--white);
    font-weight: 300;
}

.sec-blog__more {
    position: relative;
    background-color: var(--white);
}

.sec-blog__more::after{
    content: "";
    position: absolute;
    right: 10%;
    bottom: 39%;
    width: 23px;
    height: 13px;
    background-image: url(../img/yajirushi-blue.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.sec-blog__more-text {
    color: var(--blue);
}

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

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


    /* ---  sec-intro  --- */
    .sec-intro::after {
        top: 30%;
        right: 0;
        width: clamp(420px, 56vw, 760px);
        height: calc(clamp(420px, 56vw, 760px) * (796 / 746));
    }

    .sec-intro__flex {
        flex-direction: column-reverse;
        gap: clamp(6rem, 10vw, 12rem); 
    }

    .sec-intro__text {
        width: 100%;
    }

    .sec-intro__text::before {
        left: -8%;
    }

    .sec-intro__title {
        font-size: 5rem;
        text-align: center;
    }

    .sec-intro__lead {
        width: 100%;
    }

    .sec-intro__visual {
        min-height: clamp(560px, 78vw, 900px);
    }

    .intro__photo--a {
        right: 0;
        width: clamp(420px, 70vw, 500px);
    } 

    .intro__photo--b {
        bottom: -2rem;
        right: -6%;
        width: clamp(200px, 25vw, 420px);
    }

    /* --- sec-railway --- */
    .sec-railway__list{
        grid-template-columns: repeat(2, minmax(0, 280px));
        row-gap: clamp(20px, 3.5vw, 40px);
        column-gap: clamp(16px, 3vw, 32px);
        width: fit-content;
        margin-inline: auto;
    }


    /* --- 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-adcategory --- */
    .sec-adcategory__list {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(3, 1fr);
    }

    .sec-adcategory__list .adcard{
        flex-direction: row-reverse;
        align-items: center;
        gap: 16px;
        padding: 2em;
        min-height: 360px;
    }

    .adcard__body {
        padding: 0;
    }

    .adcard .adcard__title {
        text-align: left;
    }

    .adcard__text {
        width: 80%;
    }

    .adcard .c-btncircle {
        bottom: 0;
    }

    /* --- sec-busooh --- */
    .sec-busooh__list {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }

    .adcard-row .adcard__thumb {
        flex: 0 0 50%;
    }

    /* --- sec-blog --- */
    .sec-blog__container {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        gap: 30px;
        min-height: auto;
    }

}

/* ---  スマホ幅（599px以下）  --- */
@media (max-width: 599px){
    /* --- sec-mainv --- */

    /* ---  sec-intro  --- */
    .sec-intro::after {
        top: 10%;
        right: 0;
        width: clamp(300px, 80vw, 600px);
        height: calc(clamp(300px, 80vw, 600px) * (796 / 746));
    }

    .sec-intro__flex {
        flex-direction: column-reverse;
        gap: clamp(12rem, 18vw, 22rem);
        width: 100%;
    }

    .sec-intro__text {
        width: 90%;
        margin: 0 auto;
    }

    .sec-intro__text::before {
        top: 20%;
        left: -8%;
    }

    .sec-intro__title {
        font-size: 4.2rem;
        text-align: center;
    }

    .sec-intro__lead {
        width: 100%;
    }

    .sec-intro__visual {
        min-height: clamp(500px, 95vw, 600px);
    }

    .intro__photo--a {
        top: -15%;
        right: 5%;
        width: clamp(320px, 70vw, 420px);
    } 

    .intro__photo--b {
        bottom: 15%;
        right: 0;
        width: clamp(200px, 44%, 340px);
    }

    /* --- sec-railway --- */
    .sec-railway__list{
        grid-template-columns: minmax(0, 260px);
        row-gap: clamp(28px, 6vw, 48px);
        width: 100%;
        width: fit-content;
        margin-inline: auto;
    }

    /* --- sec-mainsta --- */
    .sec-mainsta {
        width: 90%;
    }

    .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-adcategory --- */
    .sec-adcategory__container {
        width: 85%;
    }

    .sec-adcategory__list {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(3, 1fr);
        width: 100%;
        max-width: 340px;
        margin-inline: auto;
        row-gap: clamp(24px, 5vw, 40px);
    }

    .adcard{
        flex-direction: column;
        align-items: stretch;
        min-height: 500px;
    }
    
    .adcard__thumb img{
        height: clamp(160px, 48vw, 200px);
    }

    .adcard__body {
        padding: 0 1em 5em;
    }

    /* --- sec-busooh --- */
    .sec-busooh__container {
        width: 85%;
    }

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

    /* --- sec-blog --- */
    .sec-blog__container {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        gap: 30px;
        min-height: auto;
    }
}


/* ---  ホバー  --- */
@media (any-hover: hover) {

  /* 電鉄ボタン */
    .sec-railway__item:hover {
        background: var(--blue);
    }

    .sec-railway__item:hover .sec-railway__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;
    }

  /* 広告種別カード */
    .adcard:hover{
        box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
    }

    .adcard:hover .adcard__thumb img {
        transform: scale(1.2);
    }

    .adcard:hover .adcard__title,
    .adcard:hover .adcard__text {
        opacity: 0.7;
    }

    .adcard:hover .c-btncircle {
        background-position: 0 0; /* グラデーションの白側が前面に出てくる */
    }

  /* バス・OOH 横並びカード */
    .adcard-row:hover {
        box-shadow: 0 8px 20px rgba(0,0,0,.3);
    }

    .adcard-row:hover .adcard__title {
        opacity: 0.7;
    }

    .adcard-row:hover  .adcard__thumb img {
        transform: scale(1.1);  
    }

    .adcard-row:hover .c-btncircle {
        background-position: 0 0; /* グラデーションの白側が前面に出てくる */
    }

  /* ブログカード */
    .blogcard:hover {
        transform: scale(1.01); 
        box-shadow: 0px 0px 10px 5px rgba(255, 255, 255, 0.35);
    }

    .blogcard:hover .c-btncircle {
        background-position: 0 0; /* グラデーションの白側が前面に出てくる */
    }

  /* ブログ「ブログ一覧へ」ボタン */
    .sec-blog__more:hover {
        background-color: var(--dark-blue);
    }

    .sec-blog__more:hover .sec-blog__more-text {
        color: var(--white);
    }

    .sec-blog__more:hover::after {
        background-image: url(../img/yajirushi.svg);
    }

}
