:root {
    --side-w: 240px;
    --c-text: #607d8b;
    --c-side-bg: #fafafa;
    --c-body: #444;
    --c-muted: #666;
    --ft-fg: #fff;
    --ft-sub: #bdbdbd;
    --ft-rule: rgba(255, 255, 255, 0.18);
    --ft-chip: rgba(255, 255, 255, 0.08);
    --ft-chip-h: rgba(255, 255, 255, 0.16);
    --focus: #64c6ff;

}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    background: #fff;
    color: var(--c-body);
    font-family: "Zen Kaku Gothic New", system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

main {
    margin-left: var(--side-w);
}

.pc-none {
    display: none;
}

@media (max-width:769px) {
    .pc-none {
        display: block;
    }
}

@media (max-width:1024px) {
    main {
        margin-left: 0;
    }

    .sp-none {
        display: none;
    }
}

ul li {
    list-style: none;
}

/* サイドメニュー（PC固定 / SPオフ） */
.side-nav {
    position: fixed;
    top: 0;
    height: 100%;
    width: 240px;
    background: var(--c-side-bg);
    color: var(--c-text, --c-body);
    transform: none;
    transition: transform .28s ease;
    z-index: 1200;
    box-shadow: 4px 0 18px rgba(0, 0, 0, .18);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.side-nav__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: none;
}

.site-logo {
    padding: 28px 22px;
    text-align: center;
}

/* 共通タイトル（ロゴ文字） */
.brand__link {
    text-decoration: none;
    color: var(--c-text);
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: clamp(22px, 2.8vw, 30px);
    letter-spacing: 0.03em;
    line-height: 1.2;
    transition: color 0.3s ease;
}

/* ホバー時の軽いアクセント */
.brand__link:hover {
    color: var(--c-text);
}

/* もし画像ロゴの場合 */
.brand__img {
    display: block;
    max-width: 220px;
    height: auto;
}

.sp-title .brand__link,
.site-logo .brand__link {
    font-size: clamp(22px, 2.2vw, 24px);
}

.sp-title a:hover {
    opacity: .8;
}


/* フッター内のタイトル */
.footer__title .brand__link {
    color: #fff;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 500;
}



/* 文字表示のスタイル例（ロゴ未設定時） */
.brand__text {
    font-weight: 600;
    font-size: clamp(22px, 2.4vw, 28px);
    letter-spacing: .04em;
}


/* サイド共通 */
.side-links {
    list-style: none;
    padding: 0 32px;
    margin: 8px 0;
}

.side-links>li a {
    display: block;
    padding: 10px 0;
    color: var(--c-text);
    text-decoration: none;
    font-weight: 500;

}

.side-links>li a:hover {
    font-weight: bold;
}

/* アコーディオン */
.side-acc {
    width: 100%
}

.nav-acc summary {
    padding: 12px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: 500;
    gap: 12px;
    list-style: none;
    user-select: none;
}

.nav-acc summary:hover {
    font-weight: 600;
}

.nav-acc summary::-webkit-details-marker {
    display: none
}

/* 矢印（下向き→openで上向きに） */
.chev {
    margin-left: auto;
    width: 20px;
    height: 20px;
    transition: transform .2s ease
}

.nav-acc[open] .chev {
    transform: rotate(180deg)
}

/* 子リスト */
.nav-acc .sub {
    list-style: none;
    margin: 0;
    padding: 4px 0 10px
}

.nav-acc .sub li a {
    padding: 8px 28px;
    /* 親より少し右に */
    font-size: 0.95rem;
}

.nav-acc .sub li a:hover {
    background: #f3f6f7;
}



/* 外部リンクアイコン */
.ext-link {
    display: inline-flex;
    align-items: center;
    gap: .35em;
    color: inherit;
    text-decoration: none;
}


.ext-link svg {
    width: 1.05em;
    height: 1.05em;
    flex: 0 0 auto;
    transform: translateY(.12em);
}

.ext-link svg .st0 {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* 質問コーナー */
.ask-btn {
    margin-top: auto;
    display: block;
    background: var(--c-text);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    text-decoration: none;
    font-size: 1.4rem;
    line-height: 2;
}

.ask-top {
    text-align: center;
    font-size: .8rem;
}

/* 下段：アイコン＋見出し */
.ask-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
}

.ask-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    stroke: currentColor;
    stroke-width: 1.6;
    fill: none;
    transform: translateY(.12em);
}

@media (max-width:1024px) {
    .side-nav {
        transform: translateX(-105%);

    }

    .side-nav.is-open {
        transform: translateX(0);
    }

    .side-nav .site-logo {
        display: none;
    }

    .side-nav__inner {
        padding-top: 16px;
    }

    .ask-inner {
        padding: 0;
    }

    .ask-title {
        font-size: 1.4rem;
    }
}

.sp-header__fav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--c-text);
    text-decoration: none;
    width: 48px;
    height: 60px;
}

.sp-header__fav img {
    display: block;
}

.sp-header__fav-label {
    font-size: 9px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: .03em;
}

/* ===== SPトップバー ===== */
.sp-topbar {
    position: fixed;
    inset: 0 0 auto 0;
    height: 60px;
    padding: calc(env(safe-area-inset-top, 0px) + 12px) 16px 8px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: var(--c-side-bg);
    color: var(--c-text);
    backdrop-filter: saturate(120%) blur(6px);
    z-index: 10000;
}

.sp-title {
    display: block;
    color: var(--c-text);
    text-decoration: none;
    line-height: 1.05;
    font-weight: 700;
    text-align: center;
    letter-spacing: .06em;
}

/* ==== ハンバーガーボタン ==== */
.menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 60px;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--c-text);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* 2本線 */
.menu-btn__bars {
    display: grid;
    gap: 8px;
    place-items: center;
}

.menu-btn__bars i {
    display: block;
    width: 32px;
    height: 2px;
    background: currentColor;
    border-radius: 3px;
    transition: transform .25s ease, width .25s ease;
}

/* テキスト（デフォルト: MENU） */
.menu-btn__text {
    font-weight: 500;
    font-size: 13px;
    line-height: 1;
}

.menu-btn__text::before {
    content: attr(data-open);
}

/* 開いたとき CLOSE */
.menu-btn[aria-expanded="true"] .menu-btn__text::before {
    content: attr(data-close);
}

/* ==== ×表示 ==== */
.menu-btn[aria-expanded="true"] .menu-btn__bars i:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-btn__bars i:nth-child(2) {
    transform: translateY(-5px) rotate(-45deg);
}


@media (max-width: 1024px) {
    .side-nav {
        padding-top: 60px;
    }

    .sp-topbar {
        display: flex;
    }

    body {
        padding-top: calc(60px + env(safe-area-inset-top, 0px));
    }
}

/* 背景の黒幕 */
.side-mask {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 99;
}

body.side-open .side-mask {
    opacity: 1;
    pointer-events: auto;
}

/* === main layout === */
.top {
    margin-left: var(--side-w)
}

.alert-bar {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #222;
    color: #fff;
    padding: 8px 32px;
    z-index: 20;
}

.alert-details {
    position: relative;
    z-index: 12;
    background: #fff;
    color: #333;
    padding: 16px 32px;
    border-top: 1px solid #ccc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease;
    line-height: 1.6;
    margin-top: -1px;
    border-top: 1px solid #444;
}


/* リスト内 */

.alert-details ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.alert-details li {
    padding: 6px 0;
    border-bottom: 1px dashed #ccc;
    font-size: 15px;
}

.alert-details-title {
    font-weight: bold;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.alert-badge {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1;
    background: #ffeb3b;
    border-radius: 3px;
    color: var(--c-body);
    font-weight: 500;
    padding: 6px 20px 6px 10px;
    clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%);
    color: #e72e2b;

}

.alert-icon {
    width: 1.2em;
    height: auto;
    vertical-align: middle;
    margin-right: 0.3em;
}

.alert-more {
    margin-left: auto;
    color: #fff;
    text-decoration: none;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 4px;
    padding: 4px 10px;
    color: #fff;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.alert-more:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* 矢印 */
.dli-chevron-round-right {
    display: inline-block;
    color: #fff;
    line-height: 1;
    position: relative;
    width: .7em;
    height: .7em;
    transform: translateX(-25%) rotate(45deg);
}

.dli-chevron-round-right::before,
.dli-chevron-round-right::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 0.1em;
}

.dli-chevron-round-right::before {
    top: 0;
    left: 0;
    right: 0;
    height: 0.1em;
}

.dli-chevron-round-right::after {
    top: 0;
    right: 0;
    bottom: 0;
    width: 0.1em;
}

.alert-slider {
    position: relative;
    overflow: hidden;
    display: block;
    height: 1.6em;
    line-height: 1.6em;
}

.alert-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.6s ease, opacity 0.6s ease;
    white-space: nowrap;
    margin: 0;
    line-height: 1.6em;
}

.alert-text {
    margin: 0;
}

.alert-text.is-active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    margin: 0;
}


@media (max-width: 769px) {
    .alert-slider {
        display: flex;
    }

    .alert-bar {
        display: grid;
        grid-template-columns: 40px 1fr auto;
        align-items: center;
        gap: 8px;
        padding: 6px 10px;
    }

    .alert-badge {
        text-orientation: mixed;
        font-size: 0.9rem;
        font-weight: 500;
        line-height: 1.2;
        border-radius: 3px;
        padding: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        clip-path: none;
    }

    .alert-slider::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        width: 3em;
        height: 100%;
        background: linear-gradient(to left, rgba(34, 34, 34, 1) 10%, rgba(34, 34, 34, 0));
        pointer-events: none;
        z-index: 5;
        margin: 0;
    }


    .alert-badge span {
        display: inline-block;
        text-orientation: upright;
    }

    .alert-badge img {
        display: none;
    }

    .alert-text {
        line-height: 1.3;
    }

    .alert-more {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
}

/* === hero === */
.hero {
    position: relative;
    height: 100vh;
    min-height: 540px;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-slides li {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 2s ease;
    will-change: opacity, transform;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: var(--img);
    transform: scale(1.05);
}

.hero-slides li.is-active {
    opacity: 1;
    animation: kenburns 14s ease-in-out forwards;
}

/* Ken Burns：ゆるやかにズーム＋少しパン */
@keyframes kenburns {
    0% {
        transform: scale(1.05) translate3d(0, 0, 0);
    }

    100% {
        transform: scale(1.15) translate3d(2%, -2%, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slides li.is-active {
        animation: none;
    }
}

/* ヒーロー内の検索UI */
.hero-controls {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 45%;
    width: min(980px, 60%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    z-index: 10;
}

/* 送信ボタンの見た目（アイコン） */
.hero-search {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 9999px;
    padding: 8px 24px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, .15);
}

.hero-search__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex: 0 0 auto;
}

.hero-search__submit img {
    display: block;
    width: 28px;
    height: 28px;
}

.hero-search input[type="search"] {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 8px 10px;
    font-size: 14px;
}

@media (max-width: 769px) {

    /* ヒーロー全体を短く */
    .hero {
        height: 65vh;
        min-height: 420px;
    }

    .hero-slides {
        height: 100%;
    }

    .hero-controls {
        bottom: 40%;
        width: min(90%, 600px);
        gap: 12px;
    }


    .hero-search__submit img {
        display: block;
        width: 18px;
        height: 18px;
    }

    .hero-search input[type="search"] {
        flex: 1;
        border: 0;
        background: transparent;
        padding: 0;
        font-size: clamp(14px, 3vw, 16px);
    }
}

/* 人気ワード */
.hot-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hot-tags a {
    display: inline-block;
    background: #fff;
    color: var(--c-body);
    font-size: .9rem;
    text-decoration: none;
    padding: 4px 16px;
    border-radius: 999px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

@media (max-width: 769px) {
    .hot-tags a {
        font-size: .7rem;
        padding: 3px 10px;
    }

}


/* =========================================================
   更新情報（トップ1件）
   ========================================================= */
/* PC：右下リボン */
.news-ribbon {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 32px 0 0 0;
    box-shadow: 4px 0 6px rgba(0, 0, 0, 0.25);
    max-width: calc(100% - var(--side-w));
    color: var(--c-text, #333);
    font-size: 15px;
    line-height: 1.6;
    z-index: 3;
}

.news-ribbon__link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #333;
    flex: 1;
}

.news-ribbon__label {
    font-weight: 600;
    opacity: 0.8;
}

/* 日付 */
.news-ribbon__date {
    color: #666;
    white-space: nowrap;
}

/* タイトルは1行省略 */
.news-ribbon__title {
    flex: 1;
    min-width: 0;
    letter-spacing: .02em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

.news-tag {
    color: var(--c-text, #165167);
    border: 1px solid var(--c-text, #165167);
    font-size: 13px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 16px;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.2s ease;
}

.news-tag:hover {
    background: var(--c-text, #165167);
    color: #fff;
}

/* SP：通常フローに戻す */
@media (max-width: 769px) {

    .news-ribbon {
        gap: 10px;
        padding: 6px 20px;
        width: 100%;
        height: auto;
        border-radius: 0;
    }

}

@media (max-width: 1024px) {
    :root {
        --side-w: 0px;
    }

    .top {
        margin-left: 0;
    }

    .hero-search {
        gap: 0px;
        padding: 4px 10px;
        box-shadow: 2px 2px 4px rgba(0, 0, 0, .15);
    }

    .hero-controls {
        width: min(800px, 90%);
    }

}

/* 関連名所タグ */
.news-ribbon__tag {
    margin-left: 8px;
}

.news-ribbon__tag a {
    display: inline-block;
    font-size: 13px;
    color: #165167;
    text-decoration: none;
    background: rgba(116, 180, 206, 0.1);
    padding: 3px 10px;
    border-radius: 9999px;
    font-weight: 500;
    white-space: nowrap;
    transition: background .2s;
}

.news-ribbon__tag a:hover {
    background: rgba(116, 180, 206, 0.25);
}

/* スマホ（510px以下）：横スクロール */
@media (max-width: 510px) {
    .news-ribbon {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .news-ribbon::-webkit-scrollbar {
        display: none;
    }

    .news-ribbon__title {
        flex: none;
    }
}


/* =========================================================
   更新情報（最新3件）
   ========================================================= */
.home-news__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 40px 0 80px;
}

.home-news__item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
}

.home-news__date {
    color: #666;
    font-size: 14px;
    white-space: nowrap;
}

/* タグを固定幅で揃える */
.home-news-tag {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    background: #fff;
    color: var(--c-text, #165167);
    border: 1px solid var(--c-text, #165167);
    font-size: 13px;
    font-weight: 500;
    padding: 3px 0;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.home-news-tag:hover {
    background: var(--c-text, #165167);
    color: #fff;
}

/* タイトル */
.home-news__title {
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
    color: var(--c-body, #333);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* === 更新情報セクション === */
.home-news {
    padding: clamp(40px, 6vw, 72px) 0;
    margin-bottom: 80px;
}

.home-news__inner {
    width: min(900px, 82%);
    margin: 0 auto;
}



.home-news__link {
    text-decoration: none;
}


.home-news__link:hover .home-news__title {
    text-decoration: underline;
}

.home-news__empty {
    text-align: center;
    color: #777;
    padding: 16px 0;
}


@media (max-width: 640px) {
    .home-news__link {
        grid-template-columns: 100px 1fr auto;
    }
}

/* スマホ：縦積み */
@media (max-width: 769px) {
    .home-news__list {
        padding: 0;
    }

    .home-news__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .home-news-tag {
        width: auto;
        padding: 3px 10px;
    }

    .home-news__title {
        white-space: normal;
    }
}

.home-news__mainlink {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-decoration: none;
    color: var(--c-body, #333);
    transition: color 0.2s ease;
}

.home-news__title {
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-news__chev {
    flex-shrink: 0;
    margin-left: 1em;
    color: var(--c-muted, #666);
}

/* hover演出 */
.home-news__mainlink:hover .home-news__title,
.home-news__mainlink:hover .home-news__chev {
    color: var(--c-text, #165167);
    text-decoration: underline;
}

.news-year-block {
    margin-bottom: 48px;
}

.news-year {
    font-size: 20px;
    font-weight: 600;
    border-left: 4px solid var(--c-text, #165167);
    padding-left: 8px;
    margin: 32px 0 12px;
}




/* 名所検索（map/tab） */
/* ===== Finder Section ===== */
.finder {
    padding: clamp(32px, 6vw, 64px) 0;
}

.finder__inner {
    width: min(1100px, 90%);
    margin: 0 auto;
}

.finder__head {
    text-align: center;
    margin: clamp(48px, 96px) 0 clamp(20px, 3.5vw, 36px);
    color: var(--c-body);
}


/* 見出し上の縦線 */
.finder__head::before {
    content: "";
    display: block;
    width: 1.5px;
    height: clamp(80px, 5vw, 58px);
    background: currentColor;
    margin: 0 auto clamp(12px, 1.6vw, 18px);
    opacity: 0.9;
}

/* タイトル本体 */
.finder__head h2 {
    font-size: clamp(24px, 3.4vw, 32px);
    font-weight: 500;
    letter-spacing: .06em;
    line-height: 1.25;
    color: currentColor;
}

.finder__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    align-items: center;
    margin-top: 80px;
}



.finder__map svg {
    width: 80%;
    height: auto;
    display: block;
}

@media (max-width: 769px) {
    .finder .finder__head {
        display: none;
    }

    .finder__grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
        margin: 20px 0 0;
    }

    /* 並び順の変更（タブカード → 地図） */
    .finder__panel {
        order: 1;
    }

    .finder__map {
        order: 2;
    }

    .finder__map svg {
        width: 100%;
        margin: 0 auto;
    }
}


.map-area {
    cursor: pointer;
    transition: filter .2s ease, transform .2s ease;
}

.map-area:focus-visible {
    outline: 3px solid #69b;
    outline-offset: 2px;
}

.map-area.is-active,
.map-area:hover {
    filter: brightness(1.05) saturate(1.1);
    transform: translateY(-1px);
}

/* ボタンタブ */
.finder__panel {
    --tab-border: var(--c-body);
    --panel-bg: #f1f1f1;
    --radius: 12px;
    --border-w: 2px;
    background: transparent;
    padding: 0;
}

@media (max-width: 1000px) {
    .finder__panel {
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 769px) {
    .finder__panel {
        width: 100%;
        margin: 0 auto;
    }
}

/* タブ列：上に置き、下マージンをマイナスにして下の枠と“ドッキング” */
.finder__panel .tabs {
    display: flex;
    gap: 0;
    position: relative;
    z-index: 2;
}

/* 非アクティブ：テキストだけ */
.finder__panel .tab {
    appearance: none;
    border: none;
    background: transparent;
    color: #d4d4d4;
    font-weight: 600;
    font-size: clamp(16px, 1.4vw, 22px);
    padding: 14px 10px;
    border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0;
    cursor: pointer;
    width: 50%;
}

/* アクティブ：枠から生えてくる。下辺のボーダーは消して、下に1pxだけ被せる */
.finder__panel .tab.is-active,
.finder__panel .tab[aria-selected="true"] {
    color: var(--c-body);
    background: var(--panel-bg);
    border: var(--border-w) solid var(--tab-border);
    border-bottom: none;
    position: relative;
    top: var(--border-w);
    z-index: 3;
}

/* パネル本体の大枠（下側の大きい角丸＋濃い枠） */
.finder__panel .panels {
    background: var(--panel-bg);
    border: var(--border-w) solid var(--tab-border);
    border-radius: 0 0 8px 8px;
    padding: clamp(18px, 2.6vw, 28px) clamp(16px, 2.2vw, 24px);
    position: relative;
    z-index: 1;
}

/* パネル内を表示/非表示 */
.finder__panel .tab-panel {
    display: none;
}

.finder__panel .tab-panel.is-active {
    display: block;
}

.finder__panel .tab-panel[hidden] {
    display: none !important;
}

/* ボタンの縦リスト */
.finder__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.finder-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    color: var(--c-body);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .05);
}

.finder-item__name {
    letter-spacing: .08em;
}

.finder-item__count {
    min-width: 2.2em;
    text-align: center;
    padding: .25em .55em;
    border-radius: 999px;
    background: #dff0f6;
    color: #0b6a86;
    font-weight: 500;
}

/* SP 微調整 */
@media (max-width: 750px) {
    .finder__panel .tabs {
        gap: 12px;
    }

    .finder__panel .tab {
        padding: 10px 14px;
    }

    .finder__panel .panels {
        padding: 14px 14px 18px;
    }
}

/* 町リストは色ボタン */
.finder__list--town .finder-item {
    background: var(--btn-bg, #fff);
    color: #fff;
    border: none;
    box-shadow: 0 2px 0 rgba(0, 0, 0, .09);
}

.finder__list--town .finder-item__count {
    background: rgba(255, 255, 255, .22);
    color: #fff;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, .35);
}

.finder__list--town .finder-item:hover {
    filter: brightness(1.05) saturate(1.02);
}

/* テーマは “可変幅チップ” にする（町とサイズを分離） */
.finder__list--theme {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
}

.finder__list--theme li {
    list-style: none;
}

.finder-chip {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    padding: .5em .9em;
    border-radius: 9999px;
    background: #fff;
    color: var(--c-text);
    border: 1px solid #e5e8ea;
    text-decoration: none;
    font-size: .95rem;
    line-height: 1.2;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .03);
}

.finder-chip:hover {
    background: #f7f9fa;
}

/* 地図のアクティブ強調（ソフトな発光） */
.finder__map svg .map-area.is-active,
.finder__map svg .map-area:hover {
    filter:
        drop-shadow(0 0 4px rgba(255, 255, 255, .35)) drop-shadow(0 0 10px rgba(255, 255, 255, .2)) brightness(1.12) saturate(1.15);
    transform: translateY(-1px);
    transition: filter .3s ease, transform .3s ease;
}


/* リストのアクティブ強調（ふわっと浮く） */
.finder__list--town .finder-item.is-active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, .12);
    outline: 1px solid rgba(255, 255, 255, .25);
    outline-offset: 1px;
    transition: transform .25s ease, box-shadow .25s ease;

}

/* --- 町ボタン：軽く浮き上がる --- */
.finder__list--town .finder-item {
    transition: filter .25s ease, transform .25s ease;
}

.finder__list--town .finder-item:hover {
    filter: brightness(1.1) saturate(1.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
}



/* 下の「一覧へ」 */
.spot-carousel__more {
    text-align: center;
    margin-top: 18px;
}

.spot-carousel__more .btn {
    display: inline-block;
    padding: 20px;
    border-radius: 8px;
    background: var(--c-text);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    width: 300px;
    max-width: 90%;
}

.spot-carousel__more .btn:hover {
    filter: brightness(1.15);
}

.spot-carousel .scroller {
    position: relative;
}

.spot-carousel .scroller .viewport {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.spot-carousel .scroller .nav {
    position: absolute;
    z-index: 5;
}



/* =========================================================
   Footer （PC=横並び / SP=アコーディオン）
   ========================================================= */
/* ------ 全体レイアウト ------ */
.site-footer {
    background: var(--c-body);
    color: var(--ft-fg);
    line-height: 1.75;
    margin-left: var(--side-w);
    padding: 60px 0 0;
}

@media (max-width: 1024px) {
    .site-footer {
        margin-left: 0;
    }
}

.site-footer a {
    color: var(--ft-fg);
    text-decoration: none;
    transition: opacity 0.2s;
}

.site-footer a:hover {
    opacity: 0.5;
}

/* ------ 内部構造 ------ */
.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    gap: 80px;
}

@media (max-width: 1024px) {
    .footer__inner {
        display: block;
    }
}

/* 左：タイトル＋検索 */
.footer__brand {
    margin-bottom: 40px;
}

.footer__title {
    margin-bottom: 12px;
}

/* 検索ボックス */
.footer-search {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 320px;
}

@media (max-width: 450px) {
    .footer-search {
        max-width: 100%;
    }
}

.footer-search input[type="search"] {
    width: 100%;
    padding: 10px 48px 10px 20px;
    border: none;
    border-radius: 40px;
    font-size: 14px;
    color: #333;
    background: #fff;
}

.footer-search__submit {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
}

.footer-search__submit img {
    width: 24px;
    height: 24px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.footer-search__submit:hover img {
    opacity: 1;
}

/* ------ ナビ構造 ------ */
.footer__nav {
    display: grid;
    gap: clamp(20px, 3vw, 36px);
}

/* 汎用2カラム */
.footer-row {
    display: grid;
    gap: clamp(0, 2vw, 40px);
}

@media (min-width: 960px) {
    .footer-row {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

/* details（アコーディオン） */
.footer-acc {
    border: none;
    padding: 0;
}

.footer-acc>summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    font-size: 16px;
    list-style: none;
    cursor: pointer;
}

.footer-acc>summary::-webkit-details-marker {
    display: none;
}

/* トグル矢印（サイドメニューと統一） */
.footer-acc>summary::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #aaa;
    border-bottom: 2px solid #aaa;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.footer-acc[open]>summary::after {
    transform: rotate(-135deg);
}

/* PCでは開いたまま＋矢印非表示 */
@media (min-width: 960px) {
    .footer-acc>summary {
        cursor: default;
    }

    .footer-acc>summary::after {
        display: none;
    }

    .footer-acc[open]>summary::after {
        display: none;
    }
}

/* リスト共通 */
.footer-list,
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 通常リンクリスト */
.footer-list {
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    gap: clamp(6px, 1vw, 16px) clamp(10px, 2vw, 16px);
}


/* 中央の横並びリンク */
.footer-links--content {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(10px, 2.5vw, 30px);
    align-items: center;
}

.footer-links--content a {
    font-size: clamp(14px, 1.4vw, 16px);
    font-weight: 500;
    padding: 8px 0;
}

/* 区切り線 */
.footer-divider {
    height: 1px;
    background: var(--ft-rule);
}

@media (max-width: 639px) {
    .footer-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;

    }

    .footer-links--content {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
}

.footer-acc>summary {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: .6em 0;
    cursor: pointer;
    list-style: none;
}

.footer-acc>summary::-webkit-details-marker {
    display: none;
}

/* span（=タイトル塊）のはみ出し防止＆行高調整 */
.footer-acc>summary>.ext-link {
    min-width: 0;
    line-height: 1.3;
}


/* ------ 下部バー ------ */
.footer__bar {
    margin-top: 40px;
    padding: 20px 24px;
}

.footer__bar-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--ft-sub);
}

@media (max-width: 769px) {
    .footer__bar-inner {
        display: block;
        text-align: center;
    }
}


.footer__links a:hover {
    text-decoration: underline;
}

.footer__copy {
    color: var(--ft-sub);
    margin: 0;
}

/* ログアウト */
.footer-logout {
    color: inherit;
    text-decoration: none;
}

.footer-logout:hover {
    opacity: 0.7;
}


/* ------ アクセシビリティ ------ */
.site-footer a:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
    border-radius: 4px;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* =========================
   Bookmark（お気に入り）共通
   ========================= */

/* ▼ カードの初期状態（線だけ） */
.fav-btn {
    color: var(--c-text);
}

.fav-btn .bookmark-icon {
    stroke: currentColor;
    stroke-width: 3.7;
    fill: currentColor;
    /* ← bookmark も fill を持たせる */
    fill-opacity: 0;
    /* ← 初期は透明（線だけ） */
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: fill-opacity .25s ease, color .25s ease, transform .25s ease;
}

/* ▼ カード：押した時（塗る） */
.fav-btn[aria-pressed="true"] {
    color: #ff3d00;
}

.fav-btn[aria-pressed="true"] .bookmark-icon {
    fill-opacity: 1;
    transform: scale(1.08);
}

/* ▼ カード：クリック感 */
.fav-btn:active .bookmark-icon {
    transform: scale(0.95);
}

/* =========================
   ヘッダーのブックマーク
   ========================= */
.bookmark-icon--header {
    fill-opacity: 0 !important;
    stroke: currentColor;
}

/* サイズ（ヘッダー専用） */
.bookmark-icon--header {
    width: 28px;
    height: 28px;
    display: block;
}



/* 戻るリンク */
.spot__back {
    margin: 80px 0;
    text-align: center;
}

.spot__back a {
    color: var(--c-text);
    text-decoration: none;
}

.spot__back a:hover {
    opacity: .7;
}

.spot__back a::before {
    content: "←";
    font-family: inherit;
    font-size: 1.1em;
    margin-right: 0.5em;
    position: relative;
    top: 0.1em;
}

/* pp */
.policy {
    width: min(900px, 96%);
    margin: 0 auto 80px;
    padding-top: 20px;
    color: var(--c-body);
    line-height: 1.8;
    font-size: 16px;
}

.policy__title {
    font-size: 28px;
    margin-bottom: 32px;
    font-weight: 600;
    text-align: left;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--c-border);
}

.policy h2 {
    margin-top: 48px;
    font-size: 20px;
    font-weight: 600;
    padding-left: 0.6em;
    border-left: 3px solid var(--c-text);
}

.policy h3 {
    margin-top: 24px;
    font-size: 17px;
    font-weight: 600;
}

.policy ul {
    margin: 8px 0 16px;
    padding-left: 20px;
}

.policy ul li {
    list-style: disc;
}

.policy__link {
    color: var(--c-text);
    font-weight: 600;
}

.policy__link:hover {
    opacity: .8;
}

/* ======================================
   お問い合わせフォーム（MW WP Form）
====================================== */
.contact-lead {
    text-align: center;
    width: min(900px, 90%);
    margin: 0 auto 40px;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #444;
}

/* フォームのコンテナ幅（今のり香の書き方そのままOK）*/
.mw_wp_form form {
    width: min(750px, 90%);
    margin: 0 auto 80px;
}

/* 入力欄を100%に広げる */
.mw_wp_form form input[type="text"],
.mw_wp_form form input[type="email"],
.mw_wp_form form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

/* ラベルとの間隔を調整 */
.mw_wp_form form p {
    margin-bottom: 32px;
}

.mw_wp_form form p:last-of-type {
    text-align: center;
}

/* ラベル（項目名）のスタイル調整 */
.mw_wp_form form label {
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: block;
}

/* 入力欄の見た目 & 内側余白 */
.mw_wp_form form input[type="text"],
.mw_wp_form form input[type="email"],
.mw_wp_form form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: .9rem;
    background: #fff;
}

/* テキストエリアの高さを気持ち高く */
.mw_wp_form form textarea {
    min-height: 160px;
}

/* 送信ボタン */
.mw_wp_form form input[type="submit"] {
    background: var(--c-text);
    color: #fff;
    padding: 14px 40px;
    letter-spacing: .5px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 12px;
}

.mw_wp_form form input[type="submit"]:hover {
    opacity: .85;
}

/* 完了画面・確認画面も横幅を揃える */
.mw_wp_form_confirm,
.mw_wp_form_complete {
    width: min(750px, 90%);
    margin: 80px auto;
    font-size: 1rem;
    line-height: 1.8;
    text-align: left;
}

/* 完了画面の文も少し整える */
.mw_wp_form_complete p {
    margin-bottom: 1.4em;
}

/* 完了画面の画像 */
.complete-img {
    text-align: center;
    margin-bottom: 24px;
}

.complete-img img {
    width: 200px;
    /* ここは調整OK */
    max-width: 60%;
    height: auto;
    display: inline-block;
}

/* =========================================================
   Finder 改善：テーマ並び順（任意）
   ========================================================= */

/* ★ フレックスの並び順ルール：文字順で自然に揃う */
.finder__list--theme .finder-chip {
    order: 0;
}

/* =========================================================
   Finder 改善：アクセシビリティ（タブ・テーマchip・マップ）
   ========================================================= */

/* --- Tab：focus-visible でアウトラインを表示 --- */
.finder__panel .tab:focus-visible {
    outline: 3px solid #69b;
    outline-offset: 4px;
    border-radius: 10px;
}

/* --- アクティブタブにもフォーカス時アクセント --- */
.finder__panel .tab.is-active:focus-visible,
.finder__panel .tab[aria-selected="true"]:focus-visible {
    outline: 3px solid #69b;
    outline-offset: 4px;
}

/* --- テーマchipのフォーカス強調 --- */
.finder-chip:focus-visible {
    outline: 3px solid #69b;
    outline-offset: 3px;
}

/* --- 町ボタンのフォーカス --- */
.finder-item:focus-visible {
    outline: 3px solid #69b;
    outline-offset: 3px;
}

/* --- マップエリアのフォーカス強調 (SVG) --- */
.map-area:focus-visible {
    outline: none;
    /* ブラウザデフォルトを消す */
    filter:
        drop-shadow(0 0 6px rgba(100, 180, 255, .7)) brightness(1.15) saturate(1.2);
    transform: translateY(-1px);
    transition: filter .25s ease, transform .25s ease;
}

/* --- マップ hover & focus を視覚統一 --- */
.map-area:hover {
    outline: none;
    filter:
        drop-shadow(0 0 4px rgba(255, 255, 255, .25)) brightness(1.12) saturate(1.15);
}

.map-area:active {
    transform: translateY(0);
}

/* =========================================================
   Finder 改善：タブパネル（ARIA UI のキーボード操作時）
   ========================================================= */

.finder__panel .tab:focus {
    scroll-margin: 40px;
}