.jd-finder{box-sizing:border-box;border:1px solid #d9d9d5;background:#fafaf8;padding:24px;margin:24px 0 32px;color:#222;text-align:left}
.home main.jt-ref-home{display:flex;flex-direction:column;width:100%}
.home main.jt-ref-home>.jd-featured-home{order:1}
.home main.jt-ref-home>#destinations{order:2}
.home main.jt-ref-home>.jd-purpose-home{order:3}
.home main.jt-ref-home>#japan-map{order:4}
.home main.jt-ref-home>.jd-latest-home{order:5}
.home main.jt-ref-home>#ranking{order:6}
.home main.jt-ref-home>#seasonal{order:7}
.home main.jt-ref-home>#latest,.home main.jt-ref-home>#news{display:none}
.home #japan-map .jtm[data-selected-pref] .jtm-pf{opacity:1}
.home #japan-map .jtm[data-selected-pref] .jtm-pf.is-pref-selected{fill:#bc002d;stroke:#1a1a1a;stroke-width:2;opacity:1}
.home #japan-map .jtm-prefs a.is-pref-selected{border-color:#bc002d;background:#bc002d;color:#fff}
.home #japan-map .jtm-loading{margin:0;padding:24px;color:#666;text-align:center}
.jd-finder *,.jd-finder-results *{box-sizing:border-box}
.jd-finder h2{font-size:22px;line-height:1.5;margin:0 0 5px;padding:0;border:0;background:none;color:#222}
.jd-finder-intro{font-size:14px;color:#555;margin:0 0 18px}
.jd-finder-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:16px;align-items:end;margin:0}
.jd-finder-form>div{min-width:0}
.jd-finder-form label{display:block;font-size:14px;font-weight:600;margin-bottom:6px}
.jd-finder-form select{display:block;width:100%;max-width:100%;min-width:0;height:50px;border:1px solid #999;background:#fff;color:#222;padding:8px 12px;font:inherit;font-size:16px;border-radius:0}
.jd-finder-form button{height:50px;min-width:110px;border:1px solid #bc002d;background:#bc002d;color:#fff;padding:10px 24px;font:inherit;font-size:16px;font-weight:700;cursor:pointer;border-radius:0}
.jd-finder-form button:hover{background:#850020}
.jd-finder-form :focus-visible,.jd-finder-results a:focus-visible{outline:3px solid #bc002d;outline-offset:3px}
.jd-finder-home{width:calc(100% - 48px);max-width:1200px;margin-left:auto;margin-right:auto}
.jd-featured-home{width:calc(100% - 32px);max-width:1560px;margin:24px auto 0}
.jd-featured-grid,.jd-featured-grid *{box-sizing:border-box}
.jd-featured-grid{display:grid;grid-template-columns:minmax(180px,.72fr) minmax(700px,2.75fr) minmax(180px,.72fr);gap:16px;align-items:stretch}
.jd-featured-rail{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:16px;min-width:0}
.jd-featured-side-card{position:relative;min-width:0;min-height:0;margin:0;background:#222;overflow:hidden}
.jd-featured-side-card>a{position:relative;display:block;width:100%;height:100%;min-height:0;color:#fff;text-decoration:none;overflow:hidden}
.jd-featured-side-card img,.jd-featured-side-placeholder{display:block;width:100%;height:100%;object-fit:cover;margin:0;transition:transform .35s ease}
.jd-featured-side-placeholder{display:flex;align-items:center;justify-content:center;background:#e9e9e5;color:#555;font-size:12px;font-weight:700;letter-spacing:.1em}
.jd-featured-side-shade{position:absolute;inset:32% 0 0;background:linear-gradient(to bottom,transparent,rgba(0,0,0,.88));pointer-events:none}
.jd-featured-side-copy{position:absolute;z-index:1;left:0;right:0;bottom:0;padding:15px 14px}
.jd-featured-side-copy small{display:block;margin-bottom:6px;color:#fff;font-size:10px;font-weight:700;line-height:1.3;letter-spacing:.04em}
.jd-featured-side-copy strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-size:14px;line-height:1.45;text-shadow:0 1px 2px rgba(0,0,0,.45)}
.jd-featured-side-card a:hover img{transform:scale(1.025)}
.jd-featured-side-card a:focus-visible{outline:3px solid #bc002d;outline-offset:-3px}
.jd-featured{display:grid;grid-template-columns:minmax(0,1.58fr) minmax(360px,1fr);min-height:430px;background:#fff;border-top:1px solid #222;border-bottom:1px solid #d9d9d5;color:#202020}
.jd-featured-media{display:block;min-width:0;overflow:hidden;background:#efefec}
.jd-featured-image{display:block;width:100%;height:100%;min-height:430px;object-fit:cover;margin:0;transition:transform .45s ease}
.jd-featured-media:hover .jd-featured-image{transform:scale(1.015)}
.jd-featured-copy{display:flex;flex-direction:column;min-width:0;padding:34px 38px 78px;border-left:1px solid #deded9}
.jd-featured-heading-row{display:flex;align-items:center;gap:18px;margin-bottom:18px}
.jd-featured-heading-row span{height:1px;background:#777;flex:1}
.jd-featured-eyebrow{margin:0;color:#222;font-size:12px;font-weight:700;letter-spacing:.14em;white-space:nowrap}
.jd-featured-badge{align-self:flex-start;margin:0 0 20px;padding:6px 10px;border:1px solid #555;font-size:12px;line-height:1.2}
.jd-featured-label{margin:0 0 14px;color:#bc002d;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.jd-featured h2{margin:0 0 18px;padding:0;border:0;background:none;font-size:clamp(28px,2.25vw,40px);font-weight:700;line-height:1.38;letter-spacing:-.02em;overflow-wrap:anywhere}
.jd-featured h2 a{color:inherit;text-decoration:none}
.jd-featured h2 a:hover{color:#850020}
.jd-featured-excerpt{margin:0;color:#555;font-size:15px;line-height:1.9}
.jd-featured-action{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-top:auto;padding-top:24px;border-top:1px solid #bbb}
.jd-featured-partner{margin:0;font-size:13px;line-height:1.5}
.jd-featured-partner strong{color:#bc002d;letter-spacing:.05em}
.jd-featured-cta{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 22px;background:#bc002d;color:#fff;text-decoration:none;font-size:14px;font-weight:700;white-space:nowrap}
.jd-featured-cta:hover{background:#850020;color:#fff}
.jd-featured a:focus-visible{outline:3px solid #bc002d;outline-offset:3px}
.jd-featured-home+.jd-finder-home{position:relative;z-index:3;margin-top:-52px}
.jd-featured-home+.jd-finder-home>.jd-finder{background:#fff;box-shadow:0 10px 28px rgba(0,0,0,.12)}
.jd-purpose-home,.jd-latest-home{box-sizing:border-box;width:calc(100% - 48px);max-width:1200px;margin:56px auto 0;color:#222}
.jd-home-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px;border-bottom:2px solid #222;padding-bottom:13px}
.jd-home-section-head p{margin:0 0 4px;color:#bc002d;font-size:11px;font-weight:800;letter-spacing:.14em}
.jd-home-section-head h2{margin:0;padding:0;border:0;background:none;font-size:26px;line-height:1.4}
.jd-home-section-head>span,.jd-home-section-head>a{margin:0 0 3px;color:#666;font-size:13px;text-decoration:none}
.jd-home-section-head>a:hover{color:#bc002d;text-decoration:underline}
.jd-purpose-home .jd-home-section-head{border-bottom:0;padding-bottom:0}
.jd-purpose-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,178px);gap:10px}
.jd-purpose-grid a{position:relative;display:flex;align-items:flex-end;min-width:0;padding:18px;background:#222;color:#fff;text-decoration:none;overflow:hidden}
.jd-purpose-grid a:first-child{grid-column:span 2;grid-row:span 2;padding:28px}
.jd-purpose-grid a:nth-child(8){grid-column:span 2}
.jd-purpose-grid img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;margin:0;transition:transform .4s ease}
.jd-purpose-tile:hover img{transform:scale(1.035)}
.jd-purpose-tile:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.03) 10%,rgba(0,0,0,.84) 100%)}
.jd-purpose-tint{position:absolute;z-index:1;inset:0;display:block;mix-blend-mode:multiply;opacity:.42}
.jd-purpose-tile-1 .jd-purpose-tint{background:#9c1730}.jd-purpose-tile-2 .jd-purpose-tint{background:#2e5b74}.jd-purpose-tile-3 .jd-purpose-tint{background:#a84362}.jd-purpose-tile-4 .jd-purpose-tint{background:#9a5d16}.jd-purpose-tile-5 .jd-purpose-tint{background:#253f70}.jd-purpose-tile-6 .jd-purpose-tint{background:#426631}.jd-purpose-tile-7 .jd-purpose-tint{background:#14566f}.jd-purpose-tile-8 .jd-purpose-tint{background:#714c31}
.jd-purpose-copy{position:relative;z-index:2;display:block;min-width:0}
.jd-purpose-copy small{display:block;margin:0 0 7px;color:#fff;font-size:10px;font-weight:800;line-height:1.2;letter-spacing:.13em}
.jd-purpose-copy strong{display:block;color:#fff;font-size:18px;line-height:1.38;text-shadow:0 2px 8px rgba(0,0,0,.4)}
.jd-purpose-copy em{font:inherit;font-style:normal}
.jd-purpose-grid a:first-child .jd-purpose-copy strong{font-size:32px;line-height:1.25}
.jd-purpose-arrow{position:absolute;z-index:3;right:14px;top:14px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid rgba(255,255,255,.7);border-radius:50%;color:#fff;font-size:13px;line-height:1}
.jd-purpose-grid a:hover .jd-purpose-arrow{background:#fff;color:#bc002d}
.jd-purpose-grid a:focus-visible,.jd-latest-home a:focus-visible{outline:3px solid #bc002d;outline-offset:3px}
.jd-latest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 20px}
.jd-latest-grid article{min-width:0;margin:0;background:#fff}
.jd-latest-image{display:block;aspect-ratio:3/2;background:#efefeb;overflow:hidden}
.jd-latest-image img{display:block;width:100%;height:100%;object-fit:cover;margin:0;transition:transform .3s ease}
.jd-latest-grid article:hover .jd-latest-image img{transform:scale(1.025)}
.jd-latest-grid article>div{padding-top:12px}
.jd-latest-grid p{margin:0 0 7px;color:#777;font-size:11px;line-height:1.5}
.jd-latest-grid h3{margin:0;padding:0;border:0;background:none;font-size:17px;line-height:1.55}
.jd-latest-grid h3 a{color:#222;text-decoration:none}
.jd-latest-grid h3 a:hover{color:#bc002d;text-decoration:underline}
.jd-finder-local{width:100%;max-width:100%;min-width:0;margin:28px 0 0;box-sizing:border-box}
.jd-finder-local>.jd-finder{width:100%;max-width:100%;margin:0 0 28px}
@media(max-width:560px){.jd-finder-local{margin-top:20px}.jd-finder-local>.jd-finder{margin-bottom:24px}}
.jd-finder-results{width:calc(100% - 48px);max-width:1200px;margin:28px auto 64px;min-height:50vh}
.jd-finder-breadcrumb{font-size:13px;color:#666}
.jd-finder-results a{color:inherit}
.jd-results-head{display:flex;align-items:baseline;gap:16px;justify-content:space-between;border-bottom:2px solid #222;padding-bottom:12px;margin-top:28px}
.jd-results-head h1{font-size:26px;line-height:1.5;margin:0}
.jd-results-head p{white-space:nowrap;font-size:14px;margin:0;color:#555}
.jd-filter-reset{font-size:14px;line-height:2;margin:12px 0 24px}
.jd-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 24px}
.jd-result-card{min-width:0;border:1px solid #e0e0dc;background:#fff}
.jd-result-card>a{display:block;text-decoration:none}
.jd-result-card img,.jd-result-placeholder{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;margin:0}
.jd-result-placeholder{display:flex;align-items:center;justify-content:center;background:#f0f0ec;color:#666;font-weight:700;letter-spacing:.12em}
.jd-result-card h2{font-size:18px;line-height:1.65;padding:16px 16px 8px;margin:0;border:0;background:none;overflow-wrap:anywhere}
.jd-result-card a:hover h2{color:#bc002d;text-decoration:underline}
.jd-result-meta{font-size:12px;line-height:1.8;color:#666;margin:0;padding:0 16px 16px}
.jd-results-empty{background:#f6f6f3;padding:36px 24px;margin:24px 0;text-align:center}
.jd-results-empty h2{font-size:20px;line-height:1.6;margin:0 0 10px}
.jd-results-empty p{font-size:15px;margin:0}
.jd-pagination ul{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;list-style:none;padding:0;margin:32px 0}
.jd-pagination a,.jd-pagination span{display:block;min-width:44px;padding:10px 14px;border:1px solid #ccc;text-align:center;text-decoration:none}
.jd-pagination .current{background:#bc002d;border-color:#bc002d;color:#fff}
@media(max-width:800px){.jd-result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.jd-finder{padding:20px}.jd-finder-form{gap:12px}.jd-finder-form button{min-width:86px;padding:10px 16px}}
@media(max-width:900px){.jd-purpose-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:260px;grid-auto-rows:145px;gap:3px}.jd-purpose-grid a:first-child{grid-column:span 2;grid-row:span 1;padding:22px}.jd-purpose-grid a:nth-child(8){grid-column:span 2}.jd-purpose-grid a:first-child .jd-purpose-copy strong{font-size:27px}}
@media(max-width:1180px){.jd-featured-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.jd-featured{grid-column:1/-1;grid-row:1;order:-1}.jd-featured-rail{display:contents}.jd-featured-side-card{aspect-ratio:1/1}.jd-featured-home+.jd-finder-home{margin-top:24px}.jd-featured-home+.jd-finder-home>.jd-finder{box-shadow:none}}
@media(max-width:900px){.jd-featured{grid-template-columns:minmax(0,1.2fr) minmax(320px,1fr)}.jd-featured-copy{padding:28px 28px 32px}.jd-featured,.jd-featured-image{min-height:390px}.jd-featured h2{font-size:28px}}
@media(max-width:700px){.jd-featured-home{width:100%;margin-top:0}.jd-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;background:#fff}.jd-featured{display:flex;flex-direction:column;border-top:0}.jd-featured-media{aspect-ratio:4/3}.jd-featured,.jd-featured-image{min-height:0}.jd-featured-image{height:100%}.jd-featured-copy{padding:24px 20px 28px;border-left:0}.jd-featured-heading-row{margin-bottom:14px}.jd-featured-badge{margin-bottom:16px}.jd-featured h2{font-size:27px}.jd-featured-excerpt{font-size:14px}.jd-featured-action{margin-top:22px}.jd-featured-side-copy{padding:12px}.jd-featured-side-copy strong{font-size:13px;-webkit-line-clamp:3}.jd-featured-home+.jd-finder-home{margin-top:20px}.jd-featured-home+.jd-finder-home>.jd-finder{box-shadow:none}}
@media(max-width:700px){.jd-purpose-home,.jd-latest-home{width:calc(100% - 32px);margin-top:40px}.jd-home-section-head{display:block}.jd-home-section-head>span,.jd-home-section-head>a{display:block;margin-top:8px}.jd-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.jd-latest-grid h3{font-size:15px}}
@media(max-width:560px){.jd-finder-home,.jd-finder-results{width:calc(100% - 32px)}.jd-finder{padding:18px 14px;margin:20px 0 24px}.jd-finder h2{font-size:20px}.jd-finder-form{grid-template-columns:1fr}.jd-finder-form button{width:100%}.jd-result-grid{grid-template-columns:1fr;gap:20px}.jd-results-head{display:block}.jd-results-head h1{font-size:23px}.jd-results-head p{margin-top:6px}.jd-result-card h2{font-size:18px}.jd-featured-action{display:block}.jd-featured-partner{margin-bottom:14px}.jd-featured-cta{width:100%}.jd-purpose-grid a{padding:13px}.jd-purpose-copy strong{font-size:15px}.jd-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 10px}.jd-latest-image{aspect-ratio:16/9}.jd-latest-grid article>div{padding-top:8px}.jd-latest-grid p{margin-bottom:5px;font-size:10px}.jd-latest-grid h3{display:-webkit-box;overflow:hidden;font-size:14px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:3}}

/* Mobile TOP map: keep a compact orientation map beside large region buttons. */
@media(max-width:560px){
 .home #japan-map .jtm.jtm-wide{width:calc(100vw - 24px)}
 .home #japan-map .jtm-help{margin-bottom:9px;font-size:0}
 .home #japan-map .jtm-help::after{content:"แตะแผนที่หรือชื่อภูมิภาค แล้วเลือกจังหวัดด้านล่าง";font-size:13px;line-height:1.6}
 .home #japan-map .jtm-row{gap:10px}
 .home #japan-map .jtm-box{display:grid;grid-template-columns:minmax(118px,42%) minmax(0,58%);gap:8px;align-items:stretch;padding:8px;border:1px solid #deded9;background:#fff}
 .home #japan-map .jtm-svg{display:flex;grid-column:1;grid-row:1;min-width:0;align-items:center;justify-content:center;padding:4px;border:1px solid #ecece7;background:#f8f8f5}
 .home #japan-map .jtm-svg svg{display:block;width:100%;height:100%;max-height:186px}
 .home #japan-map .jtm-legend{display:none}
 .home #japan-map .jtm-nav{grid-column:2;grid-row:1;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;border:0}
 .home #japan-map .jtm-btn{min-height:46px;padding:7px 4px;font-size:14px;line-height:1.35}
 .home #japan-map .jtm-panel{margin:0}
 .home #japan-map .jtm-phead{padding:10px 12px}
 .home #japan-map .jtm-pt{font-size:17px}
 .home #japan-map .jtm-prefs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:10px}
 .home #japan-map .jtm-prefs a,.home #japan-map .jtm-prefs span{display:flex;min-width:0;min-height:44px;align-items:center;justify-content:center;padding:6px 7px;font-size:14px;line-height:1.35;text-align:center}
}
