/* =============================================================
   トップページ（index.php）2026-11-08 シンプル化
   検索を主役にしたヒーロー → 強み1行 → プラン → エリア → バナー → 導線 → お知らせ → はじめての方へ
   トーンはゴルフ場詳細（css/club-detail.css）と同じ。影は付けない。
   ============================================================= */
.tp-page {
    --tp-green: #376439;
    --tp-green-dark: #24432a;
    --tp-green-pale: #eef5ee;
    --tp-ink: #1f2a20;
    --tp-muted: #5f6b60;
    --tp-line: #e3e8e3;
    color: var(--tp-ink);
    background: #fff;
    overflow-x: clip;
}
.tp-page * { box-sizing: border-box; }
.tp-page h1, .tp-page h2, .tp-page h3, .tp-page p { word-break: auto-phrase; }
.tp-inner { max-width: 1320px; margin: 0 auto; padding: 0 15px; }
@media screen and (max-width: 1399px) { .tp-inner { max-width: 1170px; } }

/* ── ヒーロー（写真タイル 大1＋小4。検索パネルを下に重ねる） ── */
.tp-hero { position: relative; background: #fff; }
.tp-hero-inner { padding-top: 112px; padding-bottom: 8px; }
.tp-mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 214px 214px; gap: 10px; }
.tp-mosaic > div { position: relative; overflow: hidden; border-radius: 18px; background: linear-gradient(135deg, #cfe3cf, #9cc39c); }
.tp-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tp-mosaic-main { grid-row: span 2; }
.tp-mosaic-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 18, 9, .62) 0%, rgba(8, 18, 9, .12) 60%, rgba(8, 18, 9, 0) 100%); }
.tp-hero-copy { position: absolute; left: 32px; right: 32px; bottom: 76px; z-index: 1; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
.tp-hero-kicker { margin: 0 0 4px; font-size: 17px; font-weight: 800; color: rgba(255, 255, 255, .92); }
.tp-hero-title { margin: 0; color: #fff; font-size: 40px; font-weight: 800; line-height: 1.25; letter-spacing: .02em; }
.tp-hero-lead { margin: 10px 0 0; font-size: 16px; font-weight: 700; color: #fff; }
.tp-hero-lead small { margin-left: 4px; font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .85); }

/* 既存の検索フォーム（.mv-*）を白いパネルに収める。位置の absolute を解除 */
.tp-hero .mv-search_area {
    position: relative; transform: none; top: auto; left: auto; width: auto; max-width: none; margin: -56px 24px 0;
    padding: 16px 18px 10px; border-radius: 16px; background: #fff; color: var(--tp-ink); z-index: 2; border: 1px solid var(--tp-line);
}
.tp-hero .mv-search_input { justify-content: flex-start; gap: 10px; flex-wrap: nowrap; }
.tp-hero .mv-search01_input,
.tp-hero .mv-search02_input,
.tp-hero .mv-search03_input {
    width: auto; min-height: 48px; padding: 0 12px; border: 1px solid var(--tp-line); border-radius: 10px; box-shadow: none; background: #fff;
}
.tp-hero .mv-search01_input { flex: 1.3 1 0; }
.tp-hero .mv-search02_input { flex: 1 1 0; }
.tp-hero .mv-search03_input { flex: .8 1 0; }
.tp-hero .mv-search01_input input,
.tp-hero .mv-search02_input select,
.tp-hero .mv-search03_input input { height: 46px; font-size: 15px; }
.tp-hero .mv-search02_input select { width: 100%; }
.tp-hero .mv-search05_input { flex: 0 0 200px; width: 200px; }
.tp-hero .mv-search05_input input { height: 48px; border-radius: 10px; font-size: 16px; }
.tp-hero .mv-ai_btn { width: 48px; height: 48px; border-radius: 10px !important; }
.tp-hero .mv-search_links { margin-top: 4px; }
.tp-hero .mv-search_links a, .tp-hero .add-text { color: var(--tp-ink); }
.tp-hero .mv-country_switch { margin-top: 8px; }
.tp-hero .search-filter-box { color: var(--tp-ink); }

/* エリアのチップ */
.tp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 24px 0; }
.tp-chips a {
    display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 14px; border-radius: 999px;
    border: 1px solid var(--tp-line); background: #fff; color: var(--tp-ink);
    font-size: 13px; font-weight: 800; text-decoration: none; transition: background .15s;
}
.tp-chips a:hover { border-color: var(--tp-green); color: var(--tp-green); text-decoration: none; }
.tp-chips .material-icons { font-size: 17px; }

/* ── 強み（1行） ── */
.tp-strip { border-bottom: 1px solid var(--tp-line); }
.tp-strip ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 22px 0; list-style: none; }
.tp-strip li { display: flex; align-items: center; gap: 12px; }
.tp-strip .material-icons {
    flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px;
    border-radius: 16px; background: var(--tp-green-pale); color: var(--tp-green); font-size: 25px;
}
.tp-strip b { display: block; font-size: 15px; font-weight: 800; }
.tp-strip small { display: block; margin-top: 2px; font-size: 12px; color: var(--tp-muted); }

/* ── セクション共通 ── */
.tp-sec { padding: 44px 0 0; }
.tp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.tp-head h2 { position: relative; margin: 0; padding-left: 14px; font-size: 24px; font-weight: 800; color: var(--tp-ink); }
.tp-head h2::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 2px; background: var(--tp-green); }
.tp-head a { display: inline-flex; align-items: center; font-size: 14px; font-weight: 800; color: var(--tp-green); text-decoration: none; white-space: nowrap; }
.tp-head a:hover { text-decoration: underline; }
.tp-head .material-icons { font-size: 20px; }

/* ── プランのカード（横スクロール） ── */
.tp-row { position: relative; }
.tp-row-list {
    display: flex; gap: 16px; margin: 0; padding: 2px 0 6px; list-style: none;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.tp-row-list::-webkit-scrollbar { display: none; }
.tp-card { flex: 0 0 calc((100% - 48px) / 4); scroll-snap-align: start; min-width: 0; }
.tp-card > a { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--tp-line); border-radius: 14px; overflow: hidden; color: var(--tp-ink); text-decoration: none; background: #fff; transition: border-color .15s; }
.tp-card > a:hover { border-color: var(--tp-green); text-decoration: none; }
.tp-card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #cfe3cf, #9cc39c); }
.tp-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; } /* 縦長の写真でも枠(16:10)の高さを変えない 2026-11-09 */
.tp-card-area { position: absolute; top: 10px; left: 10px; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--tp-green); font-size: 11px; font-weight: 800; }
.tp-card-body { display: flex; flex-direction: column; flex: 1; padding: 12px 14px 14px; }
.tp-card-club { margin: 0 0 2px; font-size: 15px; font-weight: 800; line-height: 1.45; }
.tp-card-star { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--tp-muted); }
.tp-card-star b { color: #e0a800; }
.tp-card-plan {
    margin: 6px 0 10px; font-size: 13px; line-height: 1.6; color: #4a564b;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tp-card-price { margin: auto 0 0; text-align: right; font-size: 19px; font-weight: 800; color: var(--tp-ink); font-variant-numeric: tabular-nums; }
.tp-card-price small { font-size: 11px; font-weight: 700; color: var(--tp-muted); }
.tp-row-nav {
    position: absolute; top: 38%; z-index: 2; display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; padding: 0; border: 1px solid var(--tp-line); border-radius: 50%; background: #fff; color: var(--tp-ink); cursor: pointer;
}
.tp-row-nav:hover { border-color: var(--tp-green); color: var(--tp-green); }
.tp-row-nav[disabled] { display: none; }
.tp-row-nav--prev { left: -20px; }
.tp-row-nav--next { right: -20px; }

/* ── エリア ── */
.tp-areas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.tp-areas a { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; color: #fff; text-decoration: none; }
.tp-areas img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tp-areas a:hover img { transform: scale(1.04); }
.tp-areas a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 18, 9, .65) 0%, rgba(8, 18, 9, 0) 55%); }
.tp-areas span { position: absolute; left: 14px; bottom: 12px; z-index: 1; font-size: 17px; font-weight: 800; }

/* ── キャンペーンバナー: 4枚(2×2)で1ページ、5枚目以降は横に送る ── */
.tp-bnr-page {
    flex: 0 0 100%; scroll-snap-align: start; min-width: 0;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; align-content: start;
}
.tp-bnr-page li { min-width: 0; }
.tp-bnr-page a, .tp-bnr-page img { display: block; }
.tp-bnr-page img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--tp-line); transition: opacity .15s; }
.tp-bnr-page a:hover img { opacity: .85; }
.tp-bnr-pages + .tp-row-nav, .tp-bnr-pages ~ .tp-row-nav { top: 50%; transform: translateY(-50%); }
.tp-row:has(.tp-bnr-pages) .tp-row-nav--prev { top: 50%; transform: translateY(-50%); }
@media (max-width: 767px) {
    /* スマホ: ページ分けをやめて横1列。次のバナーの端を半透明でのぞかせる */
    .tp-bnr-pages { gap: 10px; }
    .tp-bnr-page { display: contents; }
    .tp-bnr-page li { flex: 0 0 86%; scroll-snap-align: start; opacity: .45; transition: opacity .25s; }
    .tp-bnr-page li.is-in { opacity: 1; }
}

/* ── まるっと予約・送迎 ── */
.tp-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tp-link {
    display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 14px; background: var(--tp-green-pale);
    color: var(--tp-ink); text-decoration: none; transition: background .15s;
}
.tp-link:hover { background: #e2eee2; color: var(--tp-ink); text-decoration: none; }
.tp-link > .material-icons:first-child {
    flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px;
    background: var(--tp-green); color: #fff; font-size: 24px;
}
.tp-link div { flex: 1; min-width: 0; }
.tp-link b { display: block; font-size: 16px; font-weight: 800; }
.tp-link small { display: block; margin-top: 2px; font-size: 13px; color: var(--tp-muted); }
.tp-link-go { color: var(--tp-green); }

/* ── お知らせ ── */
.tp-news { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--tp-line); }
.tp-news a { display: flex; align-items: center; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--tp-line); color: var(--tp-ink); text-decoration: none; }
.tp-news a:hover span:not(.material-icons) { color: var(--tp-green); text-decoration: underline; }
.tp-news time { flex: 0 0 auto; font-size: 13px; color: var(--tp-muted); font-variant-numeric: tabular-nums; }
.tp-news span:not(.material-icons) { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-news .material-icons { color: #a3aca3; font-size: 20px; }

/* ── はじめての方へ（短い説明） ── */
.tp-about { padding-bottom: 8px; }
.tp-about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding: 28px; border-radius: 16px; background: #f5f7f4; }
.tp-about h2 { margin: 0 0 12px; font-size: 18px; font-weight: 800; color: var(--tp-green); }
.tp-about dl { margin: 0; }
.tp-about dt { margin: 12px 0 2px; font-size: 14px; font-weight: 800; }
.tp-about dt:first-child { margin-top: 0; }
.tp-about dd { margin: 0; font-size: 13px; line-height: 1.75; color: var(--tp-muted); }

/* ── 人気のゴルフ場（写真タイル：1枚目を大きく） ── */
.tp-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tp-tiles .is-big { grid-column: span 2; grid-row: span 2; }
.tp-tiles--3 { grid-template-columns: 2fr 1fr; }
.tp-tiles--3 .is-big { grid-column: span 1; }
.tp-tiles--4 .is-big { grid-row: span 1; }
.tp-tiles li { min-width: 0; }
.tp-tiles a { position: relative; display: block; height: 100%; border-radius: 16px; overflow: hidden; color: #fff; text-decoration: none; background: linear-gradient(135deg, #cfe3cf, #9cc39c); }
.tp-tiles img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.tp-tiles a:hover img { transform: scale(1.04); }
.tp-tiles a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 18, 9, .72) 0%, rgba(8, 18, 9, 0) 55%); }
.tp-tile-text { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; }
.tp-tile-area { display: inline-block; margin-bottom: 4px; padding: 1px 9px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--tp-green); font-size: 11px; font-weight: 800; }
.tp-tile-text b { display: block; font-size: 16px; font-weight: 800; line-height: 1.35; }
.tp-tiles .is-big .tp-tile-text b { font-size: 22px; }
.tp-tile-text small { display: block; margin-top: 2px; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .9); }

/* ── エリア（写真タイル：ハノイを大きく） ── */
.tp-areas--bento { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 170px; }
.tp-areas--bento li:first-child { grid-row: span 2; }
.tp-areas--bento a { aspect-ratio: auto; height: 100%; }
.tp-areas--bento li:first-child span { font-size: 24px; }

/* ── はじめての方へ（かわいいアイコンのカード） ── */
.tp-about .tp-head { margin-top: 8px; }
.tp-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 32px; padding: 0; list-style: none; }
.tp-points li { padding: 22px 20px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--tp-line); } /* アイコンを緑で統一したので、カードは白に（淡い緑のアイコンが沈まないように） */
.tp-point-icon {
    display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin-bottom: 12px;
    border-radius: 20px 20px 20px 6px; transform: rotate(-4deg);
}
.tp-point-icon .material-icons { font-size: 30px; transform: rotate(4deg); }
/* アイコンは緑で統一（カラフルにしない。2026-11-08 ユーザーと相談） */
.tp-point-icon.is-peach, .tp-point-icon.is-sky, .tp-point-icon.is-mint, .tp-point-icon.is-lemon { background: var(--tp-green-pale); color: var(--tp-green); }
.tp-points h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: var(--tp-ink); }
.tp-points p { margin: 0; font-size: 13px; line-height: 1.75; color: var(--tp-muted); }

/* ── Responsive ── */
@media screen and (max-width: 1199px) {
    .tp-card { flex-basis: calc((100% - 32px) / 3); }
    .tp-row-nav--prev { left: -8px; }
    .tp-row-nav--next { right: -8px; }
}
@media screen and (max-width: 960px) {
    .tp-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 150px; }
    .tp-mosaic-main { grid-column: span 2; grid-row: span 1; }
    .tp-mosaic-sub:nth-child(n+4) { display: none; }
    .tp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tp-tiles .is-big { grid-column: span 2; grid-row: span 1; }
    .tp-points { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .tp-hero .mv-search_input { flex-wrap: wrap; }
    .tp-hero .mv-search01_input { flex: 1 1 100%; }
    .tp-hero .mv-search02_input, .tp-hero .mv-search03_input { flex: 1 1 calc(50% - 5px); }
    .tp-hero .mv-search05_input { flex: 1 1 100%; width: 100%; }
    .tp-areas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media screen and (max-width: 780px) {
    .tp-page { padding-top: 56px; }
    .tp-inner { padding: 0 16px; }
    .tp-hero-inner { padding-top: 12px; padding-bottom: 8px; }
    /* スマホは大きい写真1枚だけ（小さい写真は検索パネルに隠れてしまうため出さない） */
    .tp-mosaic { grid-template-columns: minmax(0, 1fr); grid-template-rows: 300px; gap: 0; }
    .tp-mosaic-main { grid-column: auto; }
    .tp-mosaic-sub { display: none; }
    .tp-mosaic > div { border-radius: 14px; }
    .tp-hero-copy { left: 18px; right: 18px; bottom: 58px; }
    .tp-hero .mv-search_area { margin: -40px 10px 0; }
    .tp-chips { margin: 12px 0 0; }
    .tp-tiles { grid-auto-rows: 150px; gap: 6px; }
    .tp-tiles .is-big { grid-row: span 1; }
    .tp-tiles a { border-radius: 14px; }
    .tp-tile-text b { font-size: 14px; }
    .tp-tiles .is-big .tp-tile-text b { font-size: 18px; }
    .tp-points li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; padding: 16px; }
    .tp-point-icon { grid-row: span 2; width: 50px; height: 50px; margin: 0; }
    .tp-point-icon .material-icons { font-size: 26px; }
    .tp-points h3 { font-size: 15px; margin-bottom: 2px; }
    .tp-hero-kicker { font-size: 14px; }
    .tp-hero-title { font-size: 21px; }
    .tp-hero-lead { font-size: 14px; }
    .tp-hero .mv-search_area { padding: 14px 14px 8px; }
    .tp-hero .mv-search01_input, .tp-hero .mv-search02_input, .tp-hero .mv-search03_input { flex: 1 1 100%; }
    .tp-hero .mv-search01_input input, .tp-hero .mv-search02_input select, .tp-hero .mv-search03_input input { font-size: 16px; }
    .tp-chips { gap: 6px; margin-top: 12px; }
    .tp-chips a { height: 32px; padding: 0 12px; font-size: 12px; }
    .tp-strip ul { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 18px 0; }
    .tp-sec { padding-top: 32px; }
    .tp-head h2 { font-size: 20px; }
    .tp-card { flex-basis: 74%; }
    .tp-row-nav { display: none; }
    .tp-areas { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .tp-areas::-webkit-scrollbar { display: none; }
    .tp-areas li { flex: 0 0 44%; scroll-snap-align: start; }
    .tp-areas--bento li { height: 130px; }
    .tp-areas--bento li:first-child span { font-size: 15px; }
    .tp-areas span { font-size: 15px; }
    .tp-links { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .tp-link { padding: 14px 16px; }
    .tp-about-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px 18px; }
}

/* アプリ（WebView）ではサイトのヘッダーをアプリが隠す（<style id="rn-hide-header-footer"> を差し込む）ので、
   スマホ用ヘッダーの高さ分の上余白を消す（2026-11-08 アプリで上が空く件） */
html:has(#rn-hide-header-footer) .tp-page { padding-top: 0 !important; }

/* ── トップの最初の画面: 写真1枚＋中央のキャッチ＋大きい検索パネル（2026-11-09） ── */
.tp-mosaic--single { grid-template-columns: minmax(0, 1fr); grid-template-rows: 300px; }
.tp-mosaic--single .tp-mosaic-main { grid-row: auto; grid-column: auto; }
.tp-mosaic--single .tp-mosaic-main::after { background: linear-gradient(0deg, rgba(8, 18, 9, .55) 0%, rgba(8, 18, 9, .28) 100%); }
.tp-mosaic--single .tp-hero-copy {
    inset: 0 24px 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.tp-mosaic--single .tp-hero-kicker { font-size: 15px; }
.tp-mosaic--single .tp-hero-title { font-size: 36px; }
.tp-hero:has(.tp-mosaic--single) .mv-search_area { max-width: 1120px; margin: -56px auto 0; }
.tp-hero:has(.tp-mosaic--single) .tp-chips { justify-content: center; }
@media screen and (max-width: 780px) {
    .tp-mosaic--single { grid-template-rows: 220px; }
    .tp-mosaic--single .tp-hero-copy { inset: 0 16px 40px; }
    .tp-mosaic--single .tp-hero-kicker { display: none; } /* スマホは見出しと一言だけ */
    .tp-mosaic--single .tp-hero-title { font-size: 22px; }
    .tp-mosaic--single .tp-hero-lead { margin-top: 6px; font-size: 13px; }
    .tp-mosaic--single .tp-hero-lead small { display: block; margin: 2px 0 0; font-size: 11px; }
    .tp-hero:has(.tp-mosaic--single) .mv-search_area { margin: -40px 10px 0; }
    .tp-hero:has(.tp-mosaic--single) .tp-chips { justify-content: flex-start; }
}
/* エリアのボタンは検索パネルの下で中央に */
.tp-hero:has(.tp-mosaic--single) .tp-chips { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; }
@media screen and (max-width: 780px) {
    /* スマホは固定ヘッダー(56px)の下から写真を始める */
    .tp-hero:has(.tp-mosaic--single) .tp-hero-inner { padding-top: 68px; }
    .tp-hero:has(.tp-mosaic--single) .tp-chips { width: auto; margin-left: 0; margin-right: 0; }
}

/* ── 最初の画面の仕上げ（2026-11-09）: 写真は少し高く・角を大きく、キャッチは中央、
   検索は1本のバー（ゴルフ場｜エリア｜プレー日｜検索）。ラベルを上に小さく、値を下に ── */
.tp-hero--search .tp-mosaic--single { grid-template-rows: 340px; }
.tp-hero--search .tp-mosaic > div { border-radius: 24px; }
.tp-hero--search .tp-mosaic-main img { object-position: center 60%; }
.tp-hero--search .tp-mosaic-main::after {
    background:
        radial-gradient(120% 90% at 50% 40%, rgba(8, 18, 9, .18) 0%, rgba(8, 18, 9, .5) 100%),
        linear-gradient(180deg, rgba(8, 18, 9, 0) 55%, rgba(8, 18, 9, .35) 100%);
}
.tp-hero--search .tp-hero-copy { inset: 0 24px 64px; text-shadow: 0 2px 18px rgba(0, 0, 0, .3); }
.tp-hero--search .tp-hero-kicker {
    display: inline-flex; align-items: center; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .38); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    font-size: 13px; font-weight: 700; letter-spacing: .04em; text-shadow: none;
}
.tp-hero--search .tp-hero-title { font-size: 42px; letter-spacing: .05em; line-height: 1.3; }
.tp-hero--search .tp-hero-lead { margin-top: 12px; font-size: 15px; font-weight: 600; letter-spacing: .03em; color: rgba(255, 255, 255, .95); }

/* 検索パネル */
.tp-hero--search .mv-search_area { max-width: 1080px; margin: -64px auto 0; padding: 10px 10px 0; border-radius: 20px; border: 1px solid var(--tp-line); }
.tp-hero--search .mv-search_input { gap: 0; align-items: stretch; }
.tp-hero--search .mv-search01_input,
.tp-hero--search .mv-search02_input,
.tp-hero--search .mv-search03_input {
    position: relative; align-items: center; gap: 12px; height: 64px; padding: 0 18px; margin: 0;
    border: 0 !important; border-radius: 14px; background: transparent; box-shadow: none !important; transition: background .15s;
}
.tp-hero--search .mv-search01_input:hover,
.tp-hero--search .mv-search02_input:hover,
.tp-hero--search .mv-search03_input:hover,
.tp-hero--search .mv-search01_input:focus-within,
.tp-hero--search .mv-search02_input:focus-within,
.tp-hero--search .mv-search03_input:focus-within { background: #f3f6f2; }
/* 項目の区切り線 */
.tp-hero--search .mv-search02_input::before,
.tp-hero--search .mv-search03_input::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 1px; background: var(--tp-line); }
.tp-hero--search .mv-search02_input:hover::before, .tp-hero--search .mv-search03_input:hover::before,
.tp-hero--search .mv-search02_input:focus-within::before, .tp-hero--search .mv-search03_input:focus-within::before { opacity: 0; }
.tp-hero--search .tp-f-ico { flex: 0 0 auto; font-size: 22px; color: var(--tp-green); }
.tp-hero--search .tp-f { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; margin: 0; cursor: pointer; }
.tp-hero--search .tp-f-label { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--tp-muted); line-height: 1.2; }
.tp-hero--search .tp-f input,
.tp-hero--search .tp-f select {
    width: 100%; height: 26px !important; padding: 0 !important; margin: 0; border: 0 !important; background: transparent !important;
    font-size: 15px !important; font-weight: 700; color: var(--tp-ink); outline: none; box-shadow: none !important;
}
.tp-hero--search .tp-f input::placeholder { color: #9aa59b; font-weight: 500; }
.tp-hero--search .mv-search05_input { flex: 0 0 auto; width: auto; align-items: center; padding-left: 8px; }
.tp-hero--search .mv-search05_input input[type="submit"] {
    width: 148px; height: 56px; border-radius: 14px; font-size: 16px; font-weight: 800; letter-spacing: .08em;
}
.tp-hero--search .mv-ai_btn { width: 56px !important; height: 56px !important; border-radius: 14px !important; }
/* 詳細条件・地図・国旗の行 */
.tp-hero--search .mv-search_area form > div[style*="space-between"] {
    align-items: center !important; margin: 10px -10px 0; padding: 10px 24px; border-top: 1px solid var(--tp-line);
}
.tp-hero--search .mv-search_links { margin: 0; gap: 18px; }
.tp-hero--search .mv-search_links .add-text, .tp-hero--search .mv-map_link { font-size: 13px; font-weight: 700; }
.tp-hero--search .mv-country_switch { margin: 0; }
.tp-hero--search .search-filter-box { padding: 0 14px 14px; }
/* 人気のエリア */
.tp-hero--search .tp-chips { align-items: center; margin-top: 18px; }
.tp-chips-label { margin-right: 4px; font-size: 13px; font-weight: 800; color: var(--tp-muted); }
.tp-hero--search .tp-chips a { background: #fff; }

@media screen and (max-width: 960px) {
    .tp-hero--search .mv-search_input { flex-wrap: wrap; }
    .tp-hero--search .mv-search01_input { flex: 1 1 100%; }
    .tp-hero--search .mv-search02_input, .tp-hero--search .mv-search03_input { flex: 1 1 50%; }
    .tp-hero--search .mv-search02_input::before { display: none; }
    .tp-hero--search .mv-search05_input { flex: 1 1 100%; padding: 6px 0 0; }
    .tp-hero--search .mv-search05_input input[type="submit"] { width: auto; flex: 1; }
}
@media screen and (max-width: 780px) {
    .tp-hero--search .tp-mosaic--single { grid-template-rows: 230px; }
    .tp-hero--search .tp-mosaic > div { border-radius: 18px; }
    .tp-hero--search .tp-hero-copy { inset: 0 16px 44px; }
    .tp-hero--search .tp-hero-title { font-size: 23px; letter-spacing: .03em; }
    .tp-hero--search .tp-hero-lead { margin-top: 6px; font-size: 13px; }
    .tp-hero--search .mv-search_area { margin: -40px 10px 0; padding: 6px 6px 0; border-radius: 18px; }
    .tp-hero--search .mv-search01_input, .tp-hero--search .mv-search02_input, .tp-hero--search .mv-search03_input { flex: 1 1 100%; height: 58px; padding: 0 14px; }
    .tp-hero--search .mv-search02_input::before, .tp-hero--search .mv-search03_input::before { display: block; left: 14px; right: 14px; top: 0; bottom: auto; width: auto; height: 1px; }
    .tp-hero--search .tp-f input, .tp-hero--search .tp-f select { font-size: 16px !important; }
    .tp-hero--search .mv-search05_input { padding: 4px 4px 0; }
    .tp-hero--search .mv-search05_input input[type="submit"], .tp-hero--search .mv-ai_btn { height: 50px !important; }
    .tp-hero--search .mv-ai_btn { width: 50px !important; }
    .tp-hero--search .mv-search_area form > div[style*="space-between"] { margin: 8px -6px 0; padding: 10px 16px; }
    .tp-hero--search .tp-chips { margin-top: 14px; }
    .tp-chips-label { flex: 1 1 100%; margin: 0 0 2px; font-size: 12px; }
}
/* 詳細条件（開いたとき）: 灰色の箱にせず、パネルの中に線で区切って並べる */
.tp-hero--search .search-filter-box { margin: 0 -10px; padding: 16px 24px 20px; background: transparent !important; border-top: 1px solid var(--tp-line); border-radius: 0; }
.tp-hero--search .search-filter-box .h3-search-filter { font-size: 13px; font-weight: 800; color: var(--tp-ink); }
@media screen and (max-width: 780px) {
    .tp-hero--search .search-filter-box { margin: 0 -6px; padding: 14px 16px 18px; }
}

/* ── 写真は画面の幅いっぱい（PC。ヘッダー直下から）2026-11-09 ── */
@media screen and (min-width: 781px) {
    .tp-hero--search .tp-hero-inner { padding-top: 69px; }
    .tp-hero--search .tp-mosaic--single { margin: 0 calc(50% - 50vw); grid-template-rows: 380px; }
    .tp-hero--search .tp-mosaic--single > div { border-radius: 0; }
    .tp-hero--search .tp-hero-copy { inset: 0 24px 72px; }
    .tp-hero--search .mv-search_area { margin-top: -72px; }
}

/* ── 写真の下の端を曲線に（中央が高く、左右が低い。白い楕円を重ねて削る）2026-11-09 ── */
@media screen and (min-width: 781px) {
    .tp-hero--search .tp-mosaic--single { position: relative; grid-template-rows: 430px; }
    .tp-hero--search .tp-mosaic--single::after {
        content: ""; position: absolute; z-index: 1; left: -5%; right: -5%; bottom: -90px; height: 180px;
        background: #fff; border-radius: 50%; pointer-events: none;
    }
    .tp-hero--search .tp-hero-copy { inset: 0 24px 120px; }
    .tp-hero--search .mv-search_area { margin-top: -104px; }
}

/* ── 写真の下の端: ゆるい起伏の芝の丘＋ゴルフのシルエット（ピンフラッグ・ボール・ヤシの木）。白一色・透過なし
   index.php の .tp-hero-scape。丘は横に伸ばし、シルエットは伸ばさず丘の高さに合わせて置く（2026-11-09） ── */
.tp-hero-scape { display: none; }
@media screen and (min-width: 781px) {
    .tp-hero--search .tp-mosaic--single::after { display: none; }
    .tp-hero--search .tp-mosaic > .tp-hero-scape { display: block; position: absolute; z-index: 1; left: 0; right: 0; bottom: -1px; height: 170px; pointer-events: none; overflow: visible; background: none; border-radius: 0; }
    .tp-scape-ground { position: absolute; left: 0; bottom: 0; width: 100%; height: 170px; display: block; }
    .tp-sil-wrap { position: absolute; display: block; transform: translateX(-50%); line-height: 0; }
    .tp-sil-wrap svg { display: block; width: 100%; height: auto; }
}
/* 狭い画面では検索パネルと重なるのでシルエットは出さない */
@media screen and (max-width: 1199px) { .tp-sil-wrap { display: none !important; } }

/* ── 検索パネルを写真に大きく重ねる（キャッチのすぐ下まで上げる）2026-11-09 ── */
@media screen and (min-width: 781px) {
    .tp-hero--search .tp-hero-copy { inset: 0 24px 196px; }
    .tp-hero.tp-hero--search:has(.tp-mosaic--single) .mv-search_area { margin-top: -186px; }
}
@media screen and (min-width: 781px) {
    .tp-hero--search .tp-chips { position: relative; z-index: 2; } /* 写真の下の白い丘より手前に */
}

/* ── 背景写真のスライド（2026-11-09）: 重ねて置き、表示中だけ不透明に。ゆっくり寄っていく ── */
.tp-slides { position: absolute; inset: 0; overflow: hidden; }
.tp-mosaic .tp-slide {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
    opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 7s ease-out;
}
.tp-mosaic .tp-slide.is-active { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .tp-mosaic .tp-slide { transition: none; transform: none; } }
/* 右上の切り替えボタン（白い半透明の丸型。写真の上でも読めるように文字は白） */
.tp-slide-nav {
    position: absolute; z-index: 2; top: 16px; right: 20px; display: inline-flex; align-items: center; gap: 4px; padding: 4px;
    border-radius: 999px; background: rgba(8, 18, 9, .32); border: 1px solid rgba(255, 255, 255, .35);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff;
}
.tp-slide-nav[hidden] { display: none; }
.tp-slide-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background .15s; }
.tp-slide-btn:hover { background: rgba(255, 255, 255, .22); }
.tp-slide-btn .material-icons { font-size: 22px; }
.tp-slide-count { min-width: 40px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .06em; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .85); }
.tp-slide-count b { color: #fff; }
@media screen and (min-width: 781px) {
    .tp-slide-nav { top: 20px; right: 28px; }
}
@media screen and (max-width: 780px) {
    .tp-slide-nav { top: 10px; right: 10px; padding: 2px; }
    .tp-slide-btn { width: 28px; height: 28px; }
    .tp-slide-count { min-width: 34px; font-size: 11px; }
}
/* 写真ごとの横線（表示中の線は6秒かけて緑が伸びる。押すとその写真へ） */
.tp-slide-bars { display: inline-flex; align-items: center; gap: 6px; padding: 0 4px; }
.tp-slide-bar { position: relative; width: 28px; height: 18px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.tp-slide-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: rgba(255, 255, 255, .85); }
.tp-slide-bar i { position: absolute; left: 0; top: 50%; width: 0; height: 3px; margin-top: -1.5px; border-radius: 2px; background: #6fd17c; }
.tp-slide-bar.is-active i { animation: tpSlideBar 6s linear forwards; }
.tp-slide-bar:hover::before { background: #fff; }
@keyframes tpSlideBar { from { width: 0; } to { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .tp-slide-bar.is-active i { animation: none; width: 100%; } }
.tp-slide-count { display: none; }
@media screen and (max-width: 780px) {
    .tp-slide-bar { width: 20px; }
    .tp-slide-bars { gap: 4px; }
}
@media screen and (max-width: 780px) {
    .tp-hero--search .tp-mosaic--single .tp-hero-kicker { display: none; } /* スマホは右上の切り替えと重なるので出さない */
}

/* キャッチ上の一行: 丸い半透明の枠はやめ、両側に細い線を引いた文字だけに（2026-11-09） */
.tp-hero--search .tp-hero-kicker {
    gap: 14px; padding: 0; border: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none;
    font-size: 14px; font-weight: 700; letter-spacing: .14em; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
}
.tp-hero--search .tp-hero-kicker::before,
.tp-hero--search .tp-hero-kicker::after { content: ""; width: 36px; height: 1px; background: rgba(255, 255, 255, .8); }
@media screen and (max-width: 780px) {
    .tp-hero--search .tp-mosaic--single .tp-hero-copy { inset: 34px 16px 36px; } /* 右上の切り替えの下から */
}

/* スライド: 横線だけ（枠・矢印なし）。写真は寄らずに入れ替わるだけ（2026-11-09） */
.tp-mosaic .tp-slide, .tp-mosaic .tp-slide.is-active { transform: none; transition: opacity 1.2s ease; }
.tp-slide-nav { padding: 0; gap: 0; border: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.tp-slide-bars { gap: 8px; padding: 0; }
.tp-slide-bar { width: 32px; height: 20px; }
.tp-slide-bar::before { box-shadow: 0 0 6px rgba(0, 0, 0, .35); }
@media screen and (min-width: 781px) { .tp-slide-nav { top: 24px; right: 32px; } }
@media screen and (max-width: 780px) { .tp-slide-nav { top: 12px; right: 14px; } .tp-slide-bar { width: 22px; } .tp-slide-bars { gap: 6px; } }

/* ── ベトナムゴルフの魅力（写真3枚＋右奥にベトナムの地図。旧トップから小さめに）2026-11-09 ── */
.tp-charm { position: relative; overflow: hidden; background: #f5f7f4; margin-top: 44px; padding: 48px 0 56px; }
.tp-charm::before {
    content: ""; position: absolute; z-index: 0; inset: 0;
    background: url(../images/vietnam-map2-side.png) no-repeat right max(8px, calc(50% - 730px)) center / auto 96%; opacity: .6; pointer-events: none;
}
.tp-charm .tp-inner { position: relative; z-index: 1; }
.tp-charm-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.tp-charm-list li { display: flex; flex-direction: column; padding: 0 0 4px; }
.tp-charm-img { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #dfe8de; }
.tp-charm-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tp-charm-no { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; font-size: 22px; font-weight: 800; line-height: 1; color: var(--tp-green); font-variant-numeric: tabular-nums; }
.tp-charm-no::after { content: ""; width: 28px; height: 2px; background: currentColor; opacity: .35; }
.tp-charm h3 { margin: 10px 0 8px; font-size: 16px; font-weight: 800; line-height: 1.55; color: var(--tp-ink); }
.tp-charm-text { margin: 0; font-size: 13px; line-height: 1.8; color: #4a564b; }
@media screen and (max-width: 960px) {
    .tp-charm-list { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .tp-charm-list li { display: grid; grid-template-columns: 140px minmax(0, 1fr); column-gap: 14px; align-items: start; }
    .tp-charm-img { grid-row: span 3; aspect-ratio: 1 / 1; border-radius: 14px; }
    .tp-charm-no { margin-top: 0; font-size: 20px; }
    .tp-charm { padding: 36px 0 40px; }
    .tp-charm-list li { padding: 0; }
    .tp-charm h3 { font-size: 15px; }
    .tp-charm h3 br { display: none; }
    .tp-charm::before { inset: 10px -100px auto auto; width: 300px; height: 400px; background-image: url(../images/vietnam-map2.png); background-position: center; background-size: contain; opacity: .45; }
}
@media screen and (max-width: 520px) {
    .tp-charm-list li { grid-template-columns: 104px minmax(0, 1fr); }
    .tp-charm-text { font-size: 12px; }
}

/* 背景写真は2枚（島のグリーン・夕焼け）。少し明るく見せる（2026-11-09） */
@media screen and (min-width: 781px) {
    .tp-hero--search .tp-mosaic-main::after {
        background:
            radial-gradient(120% 90% at 50% 40%, rgba(8, 18, 9, .1) 0%, rgba(8, 18, 9, .4) 100%),
            linear-gradient(180deg, rgba(8, 18, 9, .1) 0%, rgba(8, 18, 9, 0) 40%);
    }
}

/* FVの3つのアイコン（直予約よりお得 など）の背景を「はじめての方へ」のアイコンと同じ形に（左下だけ角を小さく・少し傾ける。アイコン自体は傾けない）2026-11-09 */
.tp-strip .material-icons { position: relative; isolation: isolate; background: none; border-radius: 0; }
.tp-strip .material-icons::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    border-radius: 16px 16px 16px 5px; background: var(--tp-green-pale); transform: rotate(-4deg);
}

/* ── ベトナムゴルフの魅力（PC）: 灰色の背景は本文の左端から画面の右端まで（左側だけ丸める）。
   左に見出しと小さな地図、右に写真3枚 2026-11-09 ── */
@media screen and (min-width: 961px) {
    .tp-charm { isolation: isolate; background: none; padding: 56px 0 60px; }
    .tp-charm::after {
        content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; left: calc(50% - 645px);
        background: #f5f7f4; border-radius: 36px 0 0 36px;
    }
    .tp-charm .tp-inner { padding-left: 63px; }
    .tp-charm::before { display: none; }
}
@media screen and (min-width: 961px) and (max-width: 1399px) {
    .tp-charm::after { left: max(0px, calc(50% - 570px)); }
}
.tp-charm-lead, .tp-charm-more { display: none; }
@media screen and (min-width: 1200px) {
    .tp-charm .tp-inner { display: grid; grid-template-columns: 250px minmax(0, 1fr); column-gap: 48px; align-items: start; }
    /* 左の列: 縦線なしの大きな見出し＋一言＋リンク。地図は左下に大きく薄く敷く */
    .tp-charm-head { display: block; margin: 0; padding-top: 4px; }
    .tp-charm .tp-charm-head h2 { padding-left: 0; font-size: 34px; line-height: 1.35; letter-spacing: .04em; color: var(--tp-green-dark); }
    .tp-charm .tp-charm-head h2::before { display: none; }
    .tp-charm-lead { display: block; margin: 18px 0 0; font-size: 14px; line-height: 1.9; color: #4a564b; }
    .tp-charm-more {
        display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; padding: 0 0 4px;
        border-bottom: 2px solid var(--tp-green); color: var(--tp-green); font-size: 14px; font-weight: 800; text-decoration: none;
    }
    .tp-charm-more .material-icons { font-size: 18px; transition: transform .15s; }
    .tp-charm-more:hover { color: var(--tp-green-dark); text-decoration: none; }
    .tp-charm-more:hover .material-icons { transform: translateX(3px); }
    .tp-charm-list { gap: 20px; }
    .tp-charm::before {
        display: block; inset: auto auto 0 calc(50% - 645px + 150px); width: 300px; height: 78%; z-index: 0;
        background: url(../images/vietnam-map2-side.png) no-repeat left bottom / contain; opacity: .55;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .tp-charm::before { left: calc(50% - 570px + 150px); }
}
.tp-charm-br { display: none; }
@media screen and (min-width: 1200px) { .tp-charm-br { display: inline; } }

/* アプリ（WebView）ではサイトのヘッダーをアプリが隠す（<style id="rn-hide-header-footer"> を差し込む）ので、ヘッダー分の余白は要らない 2026-11-09 */
html:has(#rn-hide-header-footer) .tp-hero--search .tp-hero-inner { padding-top: 12px !important; }

/* ── タイのトップ（thai/index.php）用 2026-11-09: 魅力の背景にベトナムの地図を出さない／導線はまるっと予約だけなので1列 ── */
/* タイ版の魅力: ベトナムの地図の代わりにタイの地図（旧タイトップの thai-map.png を切り出したもの）2026-11-09 */
.tp-charm.tp-charm--thai::before { background-image: url(../images/thai-map-side.png) !important; }
.tp-links--single { grid-template-columns: minmax(0, 1fr); }
