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

/* ---  header  --- */
/* ヘッダーベース */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;        
}

.header__inner {
    position: relative;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 0 2rem; 
    height: 80px;    
    z-index: 3;
}

.header__logo {
    margin-left: 1rem; 
    z-index: 3;
}

.header__logo img {
    height: clamp(40px, 4vw, 56px);
    width: auto; /* アスペクト比を維持 */
}

/* デフォルト時に使う画像 （ロゴ=青 / TEL&MAIL=白アイコン表示）*/
.logo--blue  { display: inline-block; }
.logo--white { display: none; }
.tel--blue, .mail--blue   { display: none; }
.tel--white, .mail--white { display: inline-block; }
.dot--blue   { display: none; }
.dot--white  { display: inline-block; }

/* トップ最上部はTEL/MAILを隠す */
.header.is-top .header__actions {
    display: none;
}

/* スクロール後や下層は白背景90%＋TEL/MAIL表示 */
.header.is-solid {
    background-color: rgba(255, 255, 255, 0.9);
    transition: background-color 0.3s ease;
}

.header.is-solid .header__actions {
    display: flex;
    gap: 1.4rem;
}

/* メニューOPEN時は必ず表示 */
.header.is-menu-open .header__actions {
    display: flex;
    gap: 1.4rem;
}

/* メニューOPEN時のアイコン切替（ロゴ白 / TEL&MAIL青） */
.header.is-menu-open .logo--blue  { display: none; }
.header.is-menu-open .logo--white { display: inline-block; }
.header.is-menu-open .tel--blue,
.header.is-menu-open .mail--blue  { display: inline-block; }
.header.is-menu-open .tel--white,
.header.is-menu-open .mail--white { display: none; }
.header.is-menu-open .dot--blue  { display: inline-block; }
.header.is-menu-open .dot--white { display: none; }


/* TEL / MAIL */
.header__actions {
    position: absolute;
    top: 0;
    right: 15%;                          
    background-color: var(--blue);
    display: flex;
    align-items: center;
    height: 56px;    
    padding: 0.6em 1.6em 0.6em 1.2em; 
    border-radius: 0 0 12px 12px;
}

.header-tel,
.header-mail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

/* アイコンサイズ */
.header-tel img {
    width: 20px;
    height: auto;
}

.header-mail img {
    width: 25px;
    height: auto;
}

/* 区切りドット */
.header-dot img {
    width: 3px;
    height: auto;
}

/* ラベル（SP/Tablet用。PCでは非表示） */
.header-tel__label,
.header-mail__label {
    display: none; 
}

/* 電話番号 */
.header-tel__num {
    font-family: var(--font-num);
    color: var(--white);
    font-weight: var(--fw-bold);
    font-size: 2.0rem;
    letter-spacing: 0.08em;
}

/* ハンバーガーメニュー */
.header__hamburger {
    position: absolute;
    top: 0;
    right: 1%;
    display: flex;
    align-items: center;
    gap: 0.8rem; 
    background: #fff; 
    border-radius: 0 0 12px 12px;
    padding: 2em;
    cursor: pointer;
    height: 70px;
    z-index: 4;
}

.header.is-solid .header__hamburger {
    background: transparent;
    border-radius: 0;
}

.header.is-menu-open .header__hamburger {
    background: transparent;
}

.hamburger__text {
    font-family: var(--font-en);
    font-size: 1.4rem;
    font-weight: var(--fw-bold);
    color: var(--blue); 
    letter-spacing: 0.08em;
}


/* ハンバーガー3本線 */
.hamburger__lines {
    position: relative;
    width: 38px;
    height: 20px;
}

/* 共通スタイル */
.hamburger__line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 2px;
    background-color: var(--cta-blue);
    opacity: 1;
    transform: none;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease,
        background-color 0.3s ease,
        top 0.3s ease,
        bottom 0.3s ease;
}

/* 閉じているときの位置（上・中・下） */
/* 1本目 */
.hamburger__line--top {
    top: 0;
}

/* 2本目：真ん中 */
.hamburger__line--middle {
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;   /* ★絶対見える状態にしておく */
}

/* 3本目：下 */
.hamburger__line--bottom {
    bottom: 0;
    top: auto;
}

/* OPEN時（X の形） */
/* 全体の色だけ白に */
.header.is-menu-open .hamburger__line {
    background-color: #fff;
}

/* 1本目：中央に寄せて 45度回転 */
.header.is-menu-open .hamburger__line--top {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

/* 2本目：消す */
.header.is-menu-open .hamburger__line--middle {
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
}

/* 3本目：中央に寄せて -45度回転 */
.header.is-menu-open .hamburger__line--bottom {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* 念のため「閉じているとき」は必ず見えるように上書き */
.header:not(.is-menu-open) .hamburger__line--middle {
    opacity: 1;
    transform: translateY(-50%);
}

/* ナビゲーションメニュー 非OPEN時 */
.header__hm-nav{
    position: fixed;
    inset: 0;                   
    z-index: 2;        
    background: linear-gradient(37deg,rgba(78, 145, 221, 1) 0%, rgba(117, 202, 244, 1) 100%);
    overflow-y: auto;

    /* 初期は非表示 */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    padding-top: 110px;
}

/* メニューOPEN時に表示 */
.header.is-menu-open .header__hm-nav{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* メニューOPEN時の背景と文字色調整 */
.header.is-menu-open .header__actions {
    background-color: #fff; 
}

.header.is-menu-open .header-tel__num {
    color: var(--blue); 
}

.header.is-menu-open .header-tel__label,
.header.is-menu-open .header-mail__label {
    color: var(--blue); 
}

/* ナビゲーションメニュー内 */
/* 大枠 */
.header__hm-container {
    width: 83%;
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(360px, 38%) minmax(560px, 1fr);
    grid-auto-rows: minmax(240px, auto);
    column-gap: clamp(20px, 2.8vw, 48px);
    row-gap: clamp(20px, 2.4vw, 40px);
    list-style: none;
}

.gri-2 {
    grid-column-start: 1;
    grid-row-start: 2;
}

.gri-3 {
    grid-row: span 2 / span 2;
    grid-column-start: 2;
    grid-row-start: 1;
}

.gri-1__list,
.gri-2__list,
.gri-3__grid,
.hm-extras__list {
    list-style: none;
}

.hm-block__title {
    text-align: center;
    font-family: var(--font-jp);
    font-size: 2.4rem;
    font-weight: var(--fw-bold);
    color: var(--dark-blue);
}

/* gri-1（電鉄から探す） */
.gri-1 {
    background-color: var(--white);
    border-radius: 6px;
    padding: 2em 0 5em;
}

.gri-1__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 160px));
    gap: clamp(10px, 1.2vw, 16px);
    width: fit-content;
    margin-inline: auto;
    margin-top: 2em;
}

.gri-1__item {
    background: var(--white);
    border-radius: 9999px;
    box-shadow: 0 0 15px rgba(0, 57, 129, 0.7);
    overflow: hidden;
}

.gri-1__link {
    position: relative;
    display: block;
    text-align: center;
    padding: 1em 1.5em 1em 1em;
    font-family: var(--font-jp);
    color: var(--blue);
    font-weight: var(--fw-medium);
    font-size: 1.4rem;
    line-height: 1;
    text-decoration: none;
    transition: background-color .5s ease, color .2s ease, box-shadow .3s ease, transform .1s ease;
}

.gri-1__link::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 8%;
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    border-top: 1px solid #003981;
    border-right: 1px solid #003981;
    transform: rotate(45deg) translateY(-50%);
}

/* gri-2 */
.gri-2 {
    background-color: #B1CBF1;
    border-radius: 6px;
    padding: 2em 0 5em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.selectbox {
    position: relative;
    height: 3.2em;
}

.selectbox::before{
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: url("../img/search.svg") no-repeat center / contain;
    pointer-events: none;
    z-index: 1;
}

.selectbox::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;

    width: 3.6em;
    height: 100%;
    border-radius: 0 25px 25px 0;
    background-color: #215888;
}

.selectbox select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-width: 270px;
    height: 100%;
    padding: 0.4em 0 0.4em 1.8em;
    border: 2px solid #215888;
    border-radius: 25px;
    color: #8e8e8e;
    font-family: var(--font-jp);
    font-size: 1.2rem;
    cursor: pointer;
    box-sizing: border-box;
}


/* gri-3 */
.gri-3__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(10px, 1.4vw, 20px);
}

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

.cat-card__thumb {
    position: relative;
    width: 100%;
    height: clamp(100px, 12vw, 180px); 
    border-radius: calc(10px - 0.8em);
    overflow: hidden;
    flex-shrink: 0;
}

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


.cat-card__body {
    padding: 0 1em;
}

.cat-card__title {
    font-family: var(--font-jp);
    font-size: 1.5rem;
    font-weight: var(--fw-medium);
    color: var(--black);
}

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

.cat-card .c-btncircle__ico {
    width: 10px;
    height: auto;
    display: block;
}

/*  6：News / Blog / CTA */
.hm-extras__list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-top: 2em;
}

.hm-extra__link {
    position: relative;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #fff;
}

.hm-extra__label {
    font-family: var(--font-en);
    font-weight: var(--fw-medium);
    font-size: 2.4rem;
    color: var(--white);
    letter-spacing: 0.08em;
    display: block;
}

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

.hm-extra__link .c-btncircle__ico {
    width: 10px;
    height: auto;
    display: block;
}

.hm-extra__btn {
    background: var(--white);
    border-radius: 9999px;
    box-shadow: 0px 0px 6px 0px rgba(255, 255, 255, 0.35);
    position: relative;
    display: block;
    text-align: center;
    padding: 1em 1.5em 1em 1em;
    font-family: var(--font-jp);
    color: var(--cta-blue);
    font-weight: var(--fw-medium);
    font-size: 1.4rem;
    line-height: 1;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .1s ease;
}

/* ---  パンくずリスト  --- */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    list-style: none;
    max-width: 1580px;
    margin: 0 auto 5em;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    font-weight: 400;
    font-family: var(--ja);
    font-size: 1.4rem;
    color: var(--black);
}

.breadcrumb li + li::before {
    /* “>” 区切り */
    content: '>';
    margin: 0 0.5em;
    color: var(--dark-blue);
}

/* HOMEアイコン部分 */
.breadcrumb__home {
    display: inline-flex;
    align-items: center;
}

.breadcrumb__icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

/* リンク */
.breadcrumb li a {
    color: var(--dark-blue);
    text-decoration: none;
}

.breadcrumb li span {
    color: var(--dark-blue);
    text-decoration: underline;
    font-family: var(--font-jp);
}


/* 最後の要素（現在ページ） */
.breadcrumb li:last-child span {
    color: var(--dark-blue);
    text-decoration: none;
    font-family: var(--font-jp);
}

/* ---  footer  --- */
.footer {
    background-color: var(--dark-blue);
    padding: 10rem 0 5rem;
    margin-top: -1px;
}

.footer__container {
    width: 82%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10rem;
}

.footer__nav {
    display: flex;
    justify-content: space-between;
}

.footer__logo img {
    width: clamp(120px, 18vw, 200px); 
    height: auto;
    display: block;
    margin-bottom: 4em;
}

.footer__nav--L p {
    font-family: var(--font-jp);
    font-weight: var(--fw-regular);
    font-size: 1.2rem;
    color: var(--white);
}

/* 右：ナビゲーション */
.footer__nav--R {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 1fr);
    column-gap: 5em;
}

.footer__navtitle {
    font-family: var(--font-jp);
    font-weight: var(--fw-bold);
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 0.4em;
}

.footer__navlist {
    text-decoration: none;
    list-style: none;
}

.footer__navitem {
    position: relative;
    padding-left: 1.8em;
    margin-bottom: 0.6em;
}

.footer__navitem::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 10px;
    height: 1px;
    background-color: #fff;
}

.footer__navitem a,
.footer__navitem__media a {
    text-decoration: none;
    font-family: var(--font-jp);
    font-weight: var(--fw-regular);
    font-size: 1.2rem;
    color: var(--white);
}

.footer__navgroup__adcate {
    margin-bottom: 5em;
}

/* 下：運営サイト */
.footer__bottom {
    margin: 0 auto;
}

.footer__sites {
    display: grid;
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    list-style: none;
    gap: 1.5rem;
    margin: 0 auto;
}

.footer__sitelink {
    text-decoration: none;
}

.footer__sitelogo {
    max-width: 300px; 
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0.5em;
}

.footer__sitename {
    color: var(--white);
    text-decoration: underline;
    font-family: var(--font-jp);
}

.footer__sitetext {
    color: var(--white);
    padding-left: 0.8em;
}

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

.sec-news__container {
    display: flex;
    margin: 0 auto;
}

/* 左：タイトル＋ボタン */
.sec-news__ttlbtn {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    gap: 5em;
}

.sec-news__entitle, .sec-blog__entitle {
    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-news__title, .sec-blog__title {
    font-family: var(--font-jp);
    font-weight: var(--fw-bold);
    font-size: 1.8rem;
    color: var(--blue);
}

.sec-news__more, .sec-blog__more {
    position: relative;
    background-color: var(--blue);
    border-radius: 9999px; 
    text-decoration: none;
    padding: 1.5em 4.5em 1.5em 3em;
    width: 100%;
    max-width: 200px;
    border: solid 1px #00599B;
}

.sec-news__more::after{
    content: "";
    position: absolute;
    right: 10%;
    bottom: 33%;
    width: 18px;
    height: 15px;
    background-image: url(../img/yajirushi.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.sec-news__more-text, .sec-blog__more-text {
    font-family: var(--font-jp);
    font-weight: var(--fw-medium);
    color: var(--white);
    font-size: 1.4rem;
}

/* 右：リスト */
.sec-news__list {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4em;
}

.sec-news__link {
    display: block;
    text-decoration: none;
}

.sec-news__time {
    font-family: var(--font-num);
    font-size: 1.4rem;
    font-weight: var(--fw-regular);
    color: var(--black);
    letter-spacing: 0.08em;
}

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

.sec-news__text {
    font-family: var(--font-jp);
    font-weight: var(--fw-regular);
    font-size: 1.4rem;
    color: var(--black);
    padding-top: 1.2em;
    line-height: 1.8;
    display: block;
    border-bottom: 1px solid #B9B9B9;
}

.no-news {
    font-family: var(--font-jp);
}

/* --- sec-cta --- */
.sec-cta {
    background: url(../img/footer-bg.png) center top / 100% 100% no-repeat;
    padding: clamp(12rem, 20vw, 26rem) 0 0;         
}

.sec-cta__container {
    position: relative;
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 20px;
    z-index: 1;
}

.sec-cta__container::before {
    position: absolute;
    content: "";
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);  
    width: clamp(300px, 60%, 760px);     
    height: clamp(110px, 16vw, 200px);           
    background: url(../img/bay-area.svg) center bottom / contain no-repeat;
    pointer-events: none;   
}

.sec-cta__flex {
    width: 80%;
    max-width: 700px;
    margin: 0 auto;
    padding: 8em 0;
    display: flex;
    justify-content: space-between;
}

/* 左：見出し */
.sec-cta__subttl {
    font-family: var(--font-jp);
    font-weight: var(--fw-bold);
    font-size: 1.8rem;
    color: var(--dark-blue);
    line-height: 1.0;
    margin-bottom: 0.3em;
}

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

/* 右：電話とボタン */
.sec-cta__tel {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 2.5em;
    gap: 1rem;
}

.sec-cta__tel-ico {
    width: 20px;
    height: 30px;
}

.sec-cta__tel-num {
    font-family: var(--font-num);
    font-weight: var(--fw-semibold);
    font-size: 2.4rem;
    color: var(--dark-blue);
    letter-spacing: 0.08em;
}

.sec-cta__btn {
    background-color: var(--cta-blue);
    text-decoration: none;
    border-radius: 9999px;
    padding: 1em 2em;
    border: 1px solid rgba(255, 255, 255, 0);
    font-family: var(--font-jp);
    font-weight: var(--fw-semibold);
    font-size: 1.8rem;
    color: var(--white);
}

/* ---  検索窓 --- */
/* TOPページでは最初は非表示 */
body.top .ft_end_bar{
    opacity: 0;
    visibility: hidden;
}

/* スクロールして body に .scrolled が付いたら表示 */
body.top.scrolled .ft_end_bar{
    opacity: 1;
    visibility: visible;
}


.ft_end_bar {
    display: block;
    position: fixed;
    z-index: 2000;
    bottom: 0;
    left: 3vw;
    transition: 0.46s ease-in-out;
    transform: translateY(57px);
}

/* is-open のときに上がってくる */
.ft_end_bar.is-open {
    transform: translateY(0);
}


.sear_btn {
    display: block;
    background-color: #f6f6f6;
    cursor: pointer;
    width: min(calc(30px + 4vw),60px);
    aspect-ratio: 1;
    padding: 10px;
    box-shadow: 0 -4px 8px #80808029;
    border-radius: 0.3em 0.3em 0 0;
    transition: 0.33s ease-in-out;
}

/* 開いている時も同じ色に */
.ft_end_bar.is-open .sear_btn {
    background: rgb(192, 219, 226);
}

.sear_btn img {
    width: 100%;
    object-fit: contain;
}

.searchform {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: #fff;
    box-shadow: 0 -4px 12px #80808038;
    margin: 0;
}

.searchfield {
    width: 200px;
    padding: 6px 10px;
    font-size: 16px;
    font-family: var(--font-jp);
    border: 1px solid #ccc;
    border-radius: 4px;
}

.searchsubmit {
    padding: 6px 12px;
    background-color: var(--dark-blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    font-family: var(--font-jp);
    letter-spacing: 0.3em;
    text-indent: 0.3em;
}

.searchsubmit:disabled{
    opacity: 0.6;
    cursor: not-allowed;
}


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

/* ---  タブレット幅（1024px～600px）  --- */
@media (max-width: 1024px) and (min-width: 600px){
    /* ---  header  --- */
    .header-tel,
    .header-mail {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
    }

    .header-tel img,
    .header-mail img {
        height: 20px;  
        width: auto;
    }

    .header-tel__label,
    .header-mail__label {
        display: inline-block;
        font-family: var(--font-en);
        font-size: 1.2rem;
        font-weight: var(--fw-bold);
        color: var(--white);
    }

    .header-tel__num {
        display: none;
    }

    .hamburger__text {
        display: none;
    }

    /* ナビゲーションメニュー内 */
    .header.is-menu-open .header__hm-nav {
        padding-bottom: 10rem;
    }

    .header__hm-container {
        grid-template-columns: repeat(1,1fr);
        grid-template-rows: auto;
    }

    .gri-2,
    .gri-3 {
        grid-column: auto !important;
        grid-row: auto !important;
    } 

    .gri-3__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(15px, 2vw, 20px);
    }

    .cat-card__thumb {
        height: clamp(160px, 22vw, 270px);
    }



    /* ---  footer  --- */
    .footer__container {
        gap: 4rem;
    }

    .footer__nav {
        flex-direction: column;
        width: 85%;
        margin: 0 auto;
        gap: 5rem;
    }

    .footer__nav--L {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer__logo img {
        width: clamp(160px, 28vw, 260px);
        margin-bottom: 2em;
    }
    
    .footer__nav--R {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto; 
        row-gap: 9rem;   
    }

    .footer__navitem a, .footer__navitem__media a {
        text-decoration: underline;
    }

    .footer__navgroup3 {
        grid-column: span 2 / span 2;
    }

    .footer__navgroup__adcate {
        margin-bottom: 3em;
    }

    .footer__navlist__cta {
        display: flex;
        justify-content: center;
        gap: 2rem;
    }

    .footer__sites {
        display: grid;
        grid-template-columns: repeat(2, minmax(130px, 1fr));
    }

    /* --- sec-news --- */
    .sec-news__container {
        flex-direction: column;
    }

    .sec-news__ttlbtn {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 6em;
    }

    /* --- sec-cta --- */
    .sec-cta {
        padding: clamp(14rem, 24vw, 30rem) 0 0;   
    }

    .sec-cta__flex {
        flex-direction: column;
        align-items: center;
        gap: 4em;
    }

    .sec-cta__subttl {
        text-align: center;
    }

    .sec-cta-title {
        text-align: center;
    }

    .sec-cta__col--R {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}


/* ---  スマホ幅（599px以下）  --- */
@media (max-width: 599px){
    /* ---  header  --- */
    .header__actions {
        right: 20%;
    }

    .header-tel,
    .header-mail {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
    }

    .header-tel img,
    .header-mail img {
        height: 20px;  
        width: auto;
    }

    .header-tel__label,
    .header-mail__label {
        display: inline-block;
        font-family: var(--font-en);
        font-size: 1.2rem;
        font-weight: var(--fw-bold);
        color: var(--white);
        line-height: 1.0;
    }

    .header-tel__num {
        display: none;
    }

    .hamburger__text {
        display: none;
    }

    /* ナビゲーションメニュー内 */
    .header.is-menu-open .header__hm-nav {
        padding-bottom: 10rem;
    }

    .header__hm-container {
        width: 90%;
        grid-template-columns: repeat(1,1fr);
        grid-template-rows: auto;
    }

    .gri-2,
    .gri-3 {
        grid-column: auto !important;
        grid-row: auto !important;
    } 

    .gri-1__list {
        grid-template-columns: repeat(2, minmax(0, 140px));
    }

    .gri-3__grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .cat-card {
        flex-direction: row;
        align-items: center;
        padding: 0.8em;
    }

    .cat-card__thumb {
        flex: 0 0 40%;
        height: auto; 
        aspect-ratio: 16 / 9;
    }

    /* ---  footer  --- */
    .footer__container {
        gap: 4rem;
    }

    .footer__nav {
        flex-direction: column;
        width: 85%;
        margin: 0 auto;
        gap: 7rem;
    }

    .footer__nav--L {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer__logo img {
        width: clamp(140px, 35vw, 220px);
        margin-bottom: 2em;
    }

    .footer__nav--R {
        grid-template-columns: repeat(1, 1fr);
        grid-auto-rows: auto; 
        row-gap: 5em;   
    }

    .footer__navitem a, .footer__navitem__media a {
        text-decoration: underline;
    }

    .footer__navgroup1,
    .footer__navgroup2 {
        display: none;
    }

    .footer__navlist__cta {
        display: flex;
        justify-content: center;
        gap: 2rem;
    }

    .footer__sites {
        display: grid;
        grid-template-columns: repeat(1, minmax(130px, 1fr));
    }

    .footer__sitelogo {
        max-width: 250px; 
    }

    /* --- sec-news --- */
    .sec-news__container {
        flex-direction: column;
    }

    .sec-news__ttlbtn {
        align-items: center;
        margin-bottom: 8em;
        gap: 4em;
    }

    /* --- sec-cta --- */
    .sec-cta {
        padding: clamp(18rem, 32vw, 36rem) 0 0;
    }

    .sec-cta__flex {
        flex-direction: column;
        align-items: center;
        gap: 4em;
    }

    .sec-cta__subttl {
        text-align: center;
        font-size: 1.6rem;
    }

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

    .sec-cta__col--R {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sec-cta__btn {
    padding: 1em 1em;
    }

    .sec-cta__btn-text {
        font-size: 1.6rem;
    }
}

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

    /* --- header: パンくず HOME --- */
    .breadcrumb__home:hover {
        opacity: 0.8;
    }

    .breadcrumb li a:hover {
        text-decoration: underline;
        opacity: 0.8;
    }

    /* --- footer --- */
    .footer__logo:hover {
        opacity: 0.8;
    }

    .footer__navitem a:hover,
    .footer__navitem__media a:hover {
        text-decoration: underline;
    }

    .footer__sitelink:hover {
        opacity: 0.8;
    }

    /* --- 電鉄メニュー / gri-1 --- */
    .gri-1__item:hover {
        background: var(--blue);
    }

    .gri-1__item:hover .gri-1__link {
        color: var(--white);
    }

    .gri-1__item:hover .gri-1__link::after {
        border-top: 1px solid #ffffff;
        border-right: 1px solid #ffffff;
    }

    /* --- gri-3 カテゴリカード --- */
    .cat-card:hover {
        box-shadow: 0px 0px 10px 5px rgba(255, 255, 255, 0.35);
    }

    .cat-card:hover .cat-card__thumb img {
        transform: scale(1.1);
    }

    /* --- メニュー extras --- */
    .hm-extra__link:hover {
        opacity: 0.8;
    }

    .hm-extra__btn:hover {
        background-color: var(--cta-blue);
        color: var(--white);
        box-shadow: 0px 0px 10px 5px rgba(255, 255, 255, 0.35);
    }

    /* --- NEWS / BLOG --- */
    .sec-news__more:hover {
        background-color: var(--white);
        border: 1px solid #003981;
    }

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

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

    .sec-news__link:hover {
        opacity: 0.6;
    }

    /* --- CTAボタン --- */
    .sec-cta__btn:hover {
        background-color: var(--white);
        border: 1px solid #02B5E3;
        color: #02B5E3;
        box-shadow: 0px 0px 15px 5px rgba(2, 181, 227, 0.16);
    }

    .sec-cta__btn:hover .sec-cta__btn-text {
        color: var(--cta-blue);
    }

    /* --- 検索窓 sear_btn --- */
    .sear_btn:hover {
        background: rgb(192, 219, 226);
    }

}



