/* 11/21 の版（LP_最新版_20261121）で足した見た目。build_20261121.py が写す。
   1. トップ：村の魅力4つを、番号つきの写真カードのコラージュで（zoroya の B 案から）
   2. 1泊2日の過ごし方：時刻ごとに写真のカード
   3. 料金と団体：ライムのちぎった紙の「2割」・白い札の料金表・ちぎった写真と縦の札（zoroya の D 案から） */

/* ---------- 1. トップのコラージュ ---------- */
.hero.has-collage{display:grid;grid-template-columns:minmax(0,44fr) minmax(0,56fr);align-items:center;gap:24px;background:#1d4a35;height:auto;min-height:max(620px,calc(100svh - 145px));max-height:none}
.hero.has-collage h1{font-size:clamp(40px,3.6vw + 8px,66px);line-height:1.22;white-space:nowrap}
/* 背景：緑のベタ塗りをやめ、村まわりの空撮をぼかして敷く（文字の側は深い緑で読みやすく） */
.hero.has-collage{background:#163f2d}
.hero.has-collage .hero-img{display:block;position:absolute;inset:-24px;width:calc(100% + 48px);height:calc(100% + 48px);object-fit:cover;filter:blur(2px) saturate(1.1);opacity:.95;object-position:50% 40%}
.hero.has-collage .hero-shade{background:
  radial-gradient(60% 70% at 80% 45%,rgba(216,246,76,.20) 0%,transparent 62%),
  linear-gradient(100deg,rgba(12,40,27,.94) 0%,rgba(12,40,27,.84) 34%,rgba(12,40,27,.48) 62%,rgba(12,40,27,.30) 100%)}
.hero.has-collage::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.14;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.hero.has-collage .hero-content,.hero.has-collage .v-col,.hero.has-collage .hero-top{z-index:2}
.hero.has-collage .hero-top{position:absolute;top:0;left:0;right:0}
.hero.has-collage .hero-content{padding:90px 0 80px 9%}
.hero.has-collage .hero-actions a{white-space:nowrap}
.v-col{position:relative;width:min(100%,720px);aspect-ratio:1.18/1;margin:40px 5% 40px 0;justify-self:end}
.v-col__card{position:absolute;margin:0;border-radius:18px;overflow:hidden;background:#fff;padding:8px 8px 0;box-shadow:0 26px 50px -22px rgba(0,0,0,.55);transform:rotate(var(--rot));color:var(--ink);text-decoration:none;transition:transform .35s cubic-bezier(.22,1,.36,1)}
.v-col__card:hover{transform:rotate(0deg) translateY(-4px)}
.v-col__card img{display:block;width:100%;height:calc(100% - 42px);object-fit:cover;border-radius:12px}
.v-col__cap{height:42px;display:flex;align-items:center;gap:8px;padding:0 6px;font-size:14px;font-weight:800;white-space:nowrap}
.v-col__cap b{display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%;background:var(--ink);color:var(--lime);font-size:12px}
.v-col__cap small{font-size:11.5px;font-weight:600;color:#4c694b;overflow:hidden;text-overflow:ellipsis}
.v-col__c1{left:0;top:3%;width:40%;height:44%;--rot:-3deg;z-index:2}
.v-col__c2{left:41%;top:0;width:31%;height:35%;--rot:2.5deg;z-index:1}
.v-col__c3{left:73%;top:7%;width:27%;height:33%;--rot:-2deg;z-index:2}
.v-col__c4{left:3%;top:52%;width:31%;height:38%;--rot:2deg;z-index:3}
.v-col__c5{left:35%;top:40%;width:63%;height:58%;--rot:-1.5deg;z-index:4}
.v-col__c5 .v-col__cap b{background:var(--lime);color:var(--ink)}
.v-col__credit{position:absolute;right:0;bottom:-24px;font-size:11px;color:#ffffffa6}
@media (prefers-reduced-motion:no-preference){
  .v-col__card{animation:v-col-in .8s cubic-bezier(.22,1,.36,1) both}
  .v-col__c1{animation-delay:.15s}.v-col__c2{animation-delay:.3s}.v-col__c3{animation-delay:.45s}.v-col__c4{animation-delay:.6s}.v-col__c5{animation-delay:.8s}
}
@keyframes v-col-in{from{opacity:0;translate:0 24px}to{opacity:1;translate:0 0}}
@media (max-width:900px){
  .hero.has-collage{display:flex;flex-direction:column;height:auto;min-height:0;max-height:none;padding-bottom:48px}
  .hero.has-collage .hero-content{width:100%;float:none}
  .hero.has-collage h1{font-size:clamp(36px,10vw,54px)}
  .hero.has-collage .hero-content{padding:76px 7% 24px}
  .v-col{width:90%;align-self:center;margin:8px 0 0;aspect-ratio:1.2/1;flex:none}
  .v-col__card{padding:5px 5px 0;border-radius:12px}
  .v-col__card img{height:calc(100% - 30px);border-radius:8px}
  .v-col__cap{height:30px;font-size:11.5px;gap:5px}
  .v-col__cap b{width:18px;height:18px;font-size:10px}
  .v-col__cap small,.v-long{display:none}
  .hero.has-collage .hero-shade{background:radial-gradient(80% 50% at 50% 80%,rgba(216,246,76,.16) 0%,transparent 60%),linear-gradient(180deg,rgba(12,40,27,.93) 0%,rgba(12,40,27,.82) 45%,rgba(12,40,27,.55) 100%)}
  .v-col__credit{bottom:-22px}
}

/* ---------- 2. 1泊2日の過ごし方 ---------- */
.v-day{margin:0 18px;padding:110px 6% 100px;background:#f2f5ea;border-radius:8px}
.v-day__head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 60px;align-items:end;max-width:1240px;margin:0 auto 48px}
.v-day__head h2{margin:0}
.v-day__head p{margin:0;line-height:1.95}
.v-day__list{list-style:none;margin:0 auto;padding:0;max-width:1240px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 26px;counter-reset:d}
.v-day__item{position:relative;background:#fff;border-radius:18px;padding:8px 8px 18px;box-shadow:0 22px 44px -28px rgba(21,59,44,.6)}
.v-day__item:nth-child(3n+1){transform:rotate(-1.2deg)}.v-day__item:nth-child(3n+2){transform:rotate(.8deg) translateY(14px)}.v-day__item:nth-child(3n){transform:rotate(-.6deg)}
.v-day__ph{position:relative;aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:#dfe6d6}
.v-day__ph img{width:100%;height:100%;object-fit:cover}
.v-day__time{position:absolute;left:12px;top:12px;display:inline-flex;flex-direction:column;align-items:flex-start;padding:6px 12px 7px;border-radius:12px;background:var(--ink);color:#fff;line-height:1.2}
.v-day__time small{font-size:11px;font-weight:700;color:var(--lime)}
.v-day__time b{font-size:22px;font-weight:900;letter-spacing:.02em}
.v-day__item h3{margin:16px 10px 0;font-size:19px;line-height:1.45}
.v-day__item p{margin:6px 10px 0;font-size:14px;line-height:1.8;color:#3d5a45}
.v-day__item a{display:inline-block;margin:10px 10px 0;font-size:13.5px;font-weight:800;color:var(--ink)}
.v-day__item.is-key{background:var(--lime)}
.v-day__item.is-key p{color:var(--ink)}
.v-day__foot{max-width:1240px;margin:46px auto 0;display:flex;flex-wrap:wrap;align-items:center;gap:16px 28px}
.v-day__foot .zoo-photo-note{margin:0}
@media (max-width:900px){
  .v-day{margin:0 9px;padding:72px 5% 64px}
  .v-day__head{grid-template-columns:1fr}
  .v-day__list{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}
  .v-day__item:nth-child(n){transform:none}
  .v-day__time b{font-size:17px}
  .v-day__item h3{font-size:15.5px;margin:12px 6px 0}
  .v-day__item p{font-size:12.5px;margin:4px 6px 0}
  .v-day__item a{margin:8px 6px 0;font-size:12.5px}
}
@media (max-width:480px){.v-day__list{grid-template-columns:1fr}}

/* ---------- 3. 料金（D 案） ---------- */
.d-rate{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);gap:clamp(28px,4vw,64px);align-items:start;margin-top:56px}
.d-rate .weekday-callout{margin:0;padding:clamp(28px,3vw,44px);background:var(--lime);color:var(--ink);border:0;border-radius:6px;transform:rotate(-1.5deg);
  clip-path:polygon(2% 3%,22% 0,48% 2%,74% 0,98% 3%,100% 30%,98% 62%,100% 96%,76% 100%,50% 98%,24% 100%,1% 97%,0 64%,2% 32%);box-shadow:0 24px 40px -24px rgba(21,59,44,.5)}
.d-rate .weekday-callout .eyebrow{display:none}
.d-rate__n{display:block;font-size:clamp(88px,10vw,150px);font-weight:900;line-height:1;letter-spacing:-.02em}
.d-rate .weekday-callout h3{margin:10px 0 0;font-size:clamp(22px,1.8vw + 8px,32px);line-height:1.38}
.d-rate .weekday-callout p{margin:12px 0 0;font-size:14.5px;line-height:1.8}
.d-rate .rates{margin:0}
.d-rate .table-scroll{background:#fafbf7;border-radius:6px;box-shadow:0 20px 34px -26px rgba(21,59,44,.6)}
.d-rate .rate-table th,.d-rate .rate-table td{padding:12px 14px}
.d-rate .rate-table .is-weekday{background:rgba(216,246,76,.45);font-weight:800}
@media (max-width:900px){.d-rate{grid-template-columns:minmax(0,1fr)}}

/* ---------- 3. 団体（D 案） ---------- */
.village-editorial.group-stay{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:center}
.group-stay .village-collage.d-torn{position:relative;aspect-ratio:1.3/1;min-height:0;padding-bottom:0;width:100%}
.d-torn__ph{margin:0;height:100%;clip-path:polygon(4% 7%,18% 2%,38% 5%,62% 1%,88% 6%,98% 30%,95% 72%,78% 93%,48% 97%,22% 93%,3% 76%,0 34%)}
.d-torn__ph img{width:100%;height:100%;object-fit:cover;display:block}
.village-collage>.d-tag{position:absolute;left:auto;bottom:auto;right:4%;top:-5%;z-index:2;writing-mode:vertical-rl;padding:14px 9px;font-size:16px;font-weight:800;letter-spacing:.12em;line-height:1.3;border-radius:4px;background:var(--lime);color:var(--ink);box-shadow:0 10px 20px -12px rgba(21,59,44,.6)}
.group-stay .group-math{background:none;border:0;padding:0}
.group-stay .group-math ul{display:grid;gap:12px;padding:0;list-style:none}
.group-stay .group-math li span{grid-column:auto;font-size:14px}
.group-stay .group-math li{display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:4px 16px;padding:16px 18px;background:#fafbf7;border-radius:6px;border:0}
.group-stay .group-math li strong{font-size:22px}
.group-stay .group-math li em{grid-column:1/-1;font-style:normal;font-weight:800;color:#155637}
@media (max-width:900px){.village-editorial.group-stay{grid-template-columns:minmax(0,1fr)}.village-collage>.d-tag{padding:9px 6px;font-size:12px}}

/* ---------- 11/21 精査：見にくさ・かぶりを減らし、予約ボタンをそろえる（見た目の大枠は変えない） ---------- */
/* 予約まわり */
.hero-note{margin:12px 0 0;font-size:13px;line-height:1.7;color:rgba(255,255,255,.85)}
.hero.has-collage .hero-actions{align-items:center}
.hero.has-collage .hero-actions .hero-secondary{font-size:14px}
.v-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 26px}
.v-day__foot .pill+.text-link{margin-left:0}
.v-day__foot .text-link{font-size:14px;font-weight:800}
.room-card>a{display:flex;align-items:center;justify-content:center;min-height:44px;margin-top:14px;padding:0 18px;border:2px solid var(--ink);border-radius:999px;color:var(--ink);font-size:14px;font-weight:800;text-decoration:none;background:transparent}
.room-card>a:hover{background:var(--ink);color:#fff}
.v-table-hint{display:none;margin:0 0 8px;font-size:13px;color:#3d5a45}
/* 見にくい文字：日本語は 12px 未満にしない */
.d-rate .rate-table thead th.is-weekday{background:var(--lime);color:var(--ink)}
.experience.photo .card-content>span:first-child{align-self:flex-start;padding:5px 12px;border-radius:999px;background:rgba(0,25,12,.6);color:#fff;font-size:12.5px}
.facility-note,.zoo-photo-note,.plus-note,.stay-search-note,.proposal-ribbon,.v-col__credit{font-size:12.5px}
.stay-search label span,.room-card dt,.room-price span,.bbq-tags span,.mini-label,.eyebrow{font-size:13px}
.card-link,.experience .card-content>span,.journey-entry small{font-size:13px}
.zoo-visit-actions a,.mobile-booking a,.nav a,nav a{font-size:14px}
.v-day__time small,.v-col__cap small{font-size:12px}
@media (max-width:900px){
  .v-col__cap{font-size:12px}
  .v-day__item p,.v-day__item a{font-size:13px}
  .v-day__item h3{font-size:15.5px}
  .v-day__time b{font-size:17px}
  .mobile-booking a{font-size:14px}
}
@media (max-width:760px){
  .v-table-hint{display:block}
  .facility-note,.zoo-photo-note,.plus-note,.stay-search-note,.proposal-ribbon,.v-col__credit,.hero-note{font-size:12.5px}
  .stay-search label span,.room-card dt,.room-price span,.bbq-tags span,.mini-label,.eyebrow,.card-link,.experience .card-content>span,.journey-entry small{font-size:13px}
  .zoo-visit-actions a,.mobile-booking a,.nav a,nav a,a.pill,.hero-secondary,.text-link{font-size:14px}
  .rate-table th,.rate-table td{font-size:13px}
}

/* 日本語は 12px 未満にしない（元の CSS は 760px 以下でさらに小さくしているので !important で上書き。幅を問わず） */
.hero-top span,.hero-content p.eyebrow,.eyebrow,.eyebrow.green,.zoo-visit p.eyebrow,.zoo-desk p.eyebrow,.feature-body p.eyebrow,.plan.section p.eyebrow,.zoo-intro p.eyebrow,
.facility-note,.zoo-photo-note,.plus-note,.stay-search-note,.group-note,.room-swipe-hint,.bbq-visual small,.zoo-desk-links small,
.zoo-visit small,.zoo-visit p span,.zoo-visit dd small,.feature-body dd span,.news-list .tag,.proposal-disclosure p,.proposal-disclosure a,.footer-brand p,
.rates dt,.faq-list dt,.animal-cast p,.menu-toggle span,.proposal-ribbon{font-size:12.5px!important}
.proposal-ribbon>span:after{font-size:12.5px!important}
.zoo-visit-actions a,.one-health-line a,.zoo-text-link,.kitchen-jumps a,.mobile-booking a,.hero-actions a,.hero-actions .pill,.hero-secondary{font-size:14px!important}
.stay-search label span{font-size:13px!important}
.proposal-ribbon{line-height:1.4}

/* 追加ラウンド：stay のボタンの後ろで改行（ボタン1行目・文字リンク2行目）／B棟の料金の説明の折れ */
.v-actions .pill{order:0}
.v-actions::before{content:"";flex-basis:100%;order:1;height:0;margin-top:-14px}
.v-actions .text-link{order:2}
.room-price span{text-wrap:balance;word-break:auto-phrase}
