/* TOP v2 微調整専用。
   現行WordPress由来のCSS（style.css / lp-style.css）を正とし、
   ここには新規コンポーネントを定義しない。
   旧Codex版のスタイルは top-v2-codex-archive.css に退避済み。 */

.top-v2-enjoy-title {
  margin: 0;
  color: #2f7890;
  font-weight: 900;
  font-size: clamp(26px, 4.4vw, 54px);
  line-height: 1.32;
  letter-spacing: 0.02em;
  text-align: center;
}

.top-v2-cta-big {
  width: auto;
  white-space: nowrap;
  font-size: clamp(17px, 2.2vw, 24px);
  padding: 18px 116px 18px 44px;
  min-height: 56px;
}
@media (max-width: 767px) {
  .top-v2-cta-big { display: block; padding: 16px 96px 16px 20px; text-align: center; white-space: normal; }
}

/* MVヒーロー: キーフレーズはgptimage2生成ロゴ（mv-key-logo.png、透過済み）、
   メディアパネル＋バッジは元mv-title.png(700x850)の下半分(y=320〜850)を
   CSSクロップで表示。 */
.top-v2-mv-stack {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: min(660px, 88%);
  text-align: center;
}

.top-v2-mv-key {
  margin: 0;
  animation: top-v2-pop 0.5s ease-out both;
}

.top-v2-mv-key img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(20, 50, 65, 0.35));
}

@keyframes top-v2-pop {
  from { opacity: 0; transform: scale(0.92) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .top-v2-mv-key { animation: none; }
}

.top-v2-mv-price {
  animation: top-v2-fade-up 0.52s 0.14s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.top-v2-mv-ribbon {
  animation: top-v2-fade-up 0.52s 0.24s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.top-v2-mv-panel {
  animation: top-v2-fade-up 0.52s 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.top-v2-mv-badges li {
  animation: top-v2-badge-in 0.58s cubic-bezier(0.18, 0.9, 0.24, 1.25) both;
}

.top-v2-mv-badges li:nth-child(1) { animation-delay: 0.44s; }
.top-v2-mv-badges li:nth-child(2) { animation-delay: 0.52s; }
.top-v2-mv-badges li:nth-child(3) { animation-delay: 0.60s; }

@keyframes top-v2-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: none;
  }
}

@keyframes top-v2-badge-in {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.84) rotate(-3deg);
    filter: blur(2px);
  }
  72% {
    opacity: 1;
    transform: translateY(-3px) scale(1.04) rotate(1deg);
    filter: none;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-v2-mv-price,
  .top-v2-mv-ribbon,
  .top-v2-mv-panel,
  .top-v2-mv-badges li {
    animation: none;
  }
}

.top-v2-mv-price {
  display: inline-block;
  margin: 12px auto 0;
  padding: 7px 24px;
  letter-spacing: 0.02em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #2f7890;
  font-weight: 900;
  font-size: clamp(14px, 1.8vw, 20px);
  box-shadow: 0 3px 10px rgba(20, 50, 65, 0.25);
}

.top-v2-mv-price strong {
  color: #f0831e;
  font-size: 1.3em;
}

/* リボン（生成画像）はパネル上端に少し重ねる */
.top-v2-mv-ribbon {
  position: relative;
  z-index: 2;
  width: min(280px, 50%);
  margin: 10px auto -15px;
}

.top-v2-mv-ribbon img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 3px 8px rgba(20, 50, 65, 0.3));
}

.top-v2-mv-panel {
  width: 86%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  padding: 26px 16px 14px;
  box-shadow: 0 4px 14px rgba(20, 50, 65, 0.25);
}

.top-v2-mv-panel img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: clamp(90px, 12vw, 116px);
  object-fit: contain;
}

.top-v2-mv-badges {
  display: flex;
  justify-content: center;
  gap: 3%;
  width: 84%;
  margin: 12px auto 0;
  padding: 0;
  list-style: none;
}

.top-v2-mv-badges li {
  width: 30%;
}

.top-v2-mv-badges img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 3px 8px rgba(20, 50, 65, 0.3));
}

@media (max-width: 767px) {
  .top-v2-mv-stack {
    width: 90%;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .top-v2-mv-stack {
    width: min(540px, 50vw);
  }

  .top-v2-mv-price {
    margin-top: 8px;
    padding: 6px 20px;
    font-size: 16px;
  }

  .top-v2-mv-ribbon {
    width: min(230px, 48%);
    margin: 8px auto -12px;
  }

  .top-v2-mv-panel {
    width: 80%;
    padding: 22px 14px 12px;
  }

  .top-v2-mv-panel img {
    max-height: 86px;
  }

  .top-v2-mv-badges {
    width: 74%;
    gap: 2.5%;
    margin-top: 10px;
  }
}

/* 料金セクション（#price / #banner）: 焼き込み画像からHTMLカードへ置換 */
.top-v2-price {
  max-width: 860px;
  margin: 0 auto;
}

.top-v2-price-card {
  background: #fff;
  border: 2px solid #2f7890;
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(47, 120, 144, 0.12);
}

.top-v2-price-title {
  color: #2f7890;
  font-weight: 900;
  font-size: clamp(19px, 2.4vw, 26px);
  text-align: center;
  margin: 0 0 14px;
}

.top-v2-price-title small {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #665a4a;
}

.top-v2-price-rows {
  max-width: 700px;
  margin: 0 auto;
}

.top-v2-price-row {
  display: grid;
  grid-template-columns: 220px auto;
  justify-content: center;
  align-items: center;
  column-gap: 72px;
  padding: 14px 0;
  border-bottom: 1px solid #f2dfb6;
}

.top-v2-price-row:last-child {
  border-bottom: none;
}

.top-v2-price-row dt {
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.25;
  font-weight: 800;
  color: #2f7890;
}

.top-v2-price-row dt small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.45;
  color: #665a4a;
  font-weight: 700;
}

/* 旧料金画像の階層をHTMLで再現: 条件・最低人数・シーズンを混ぜない */
.top-v2-price-condition-head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.top-v2-price-condition-main {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 900;
}

.top-v2-price-party {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 9px;
  border-radius: 4px;
  background: #2f7890;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.top-v2-price-condition-season {
  display: block;
  margin-top: 3px;
  color: #2f7890;
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
}

.top-v2-price-condition-or {
  margin-right: 4px;
  color: #665a4a;
  font-size: 10px;
  font-weight: 800;
}

.top-v2-price-condition-season sup {
  margin-left: 2px;
  font-size: 10px;
}

.top-v2-price-row dd {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 5px;
  margin: 0;
  line-height: 1;
  white-space: nowrap;
}

.top-v2-price-row dd strong {
  color: #f0831e;
  font-size: clamp(32px, 3.4vw, 40px);
  line-height: 1.1;
  font-weight: 900;
}

.top-v2-price-row dd span {
  font-size: 14px;
  line-height: 1.3;
  color: #665a4a;
  font-weight: 700;
}

.top-v2-price-min {
  text-align: center;
  margin: 14px 0 0;
  font-weight: 800;
  color: #2e2518;
  background: #fff8e8;
  border-radius: 8px;
  padding: 10px;
}

.top-v2-price-min strong {
  color: #f0831e;
  font-size: 1.25em;
}

.top-v2-price-notes {
  list-style: none;
  padding: 0;
  margin: 4px 0 20px;
  font-size: 12px;
  color: #665a4a;
  line-height: 1.8;
}

.top-v2-price-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.top-v2-price-detail {
  color: #2f7890;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 767px) {
  .top-v2-price-card {
    padding: 20px 16px;
  }

  .top-v2-price-title {
    font-size: 21px;
    line-height: 1.35;
    margin-bottom: 10px;
  }

  .top-v2-price-row {
    grid-template-columns: minmax(0, 1fr) auto;
    justify-content: stretch;
    column-gap: 12px;
    padding: 14px 0;
  }

  .top-v2-price-row dt {
    font-size: 18px;
  }

  .top-v2-price-condition-head {
    gap: 7px;
  }

  .top-v2-price-condition-main {
    font-size: 19px;
  }

  .top-v2-price-party {
    min-height: 25px;
    padding: 2px 7px;
    font-size: 11.5px;
  }

  .top-v2-price-condition-season {
    font-size: 13px;
  }

  .top-v2-price-row dt small {
    margin-top: 3px;
    font-size: 11.5px;
    line-height: 1.4;
  }

  .top-v2-price-row dd {
    display: grid;
    justify-items: end;
    align-content: center;
    gap: 1px;
  }

  .top-v2-price-row dd strong {
    font-size: 30px;
  }

  .top-v2-price-row dd span {
    font-size: 11.5px;
  }

  .top-v2-price-actions {
    flex-direction: column;
  }

  .top-v2-price-actions .top-v2-cta-big {
    width: 100%;
  }
}

/* /play/ 宿泊時間案内は旧ホームページの装飾枠・文字組みをそのまま継承 */
.top-v2-stay-info-wrap {
  margin-top: 8px;
  margin-bottom: 28px;
}

@media (max-width: 767px) {
  .top-v2-stay-info-wrap {
    margin-top: 4px;
    margin-bottom: 26px;
  }
}

/* TOPでは「遊べる・食べられる・泊まれる」の締めとして宿泊時間を提示する。 */
.top-v2-home-staytime {
  position: relative;
  z-index: 2;
  margin: 58px auto 0;
  padding: 0 16px;
  background: transparent;
}

.top-v2-home-staytime .container {
  position: relative;
  top: auto;
  margin: 0 auto;
  padding: 0;
}

.top-v2-home-staytime .l-stay_info {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 34px 42px 25px !important;
  background: #fff8e8;
  border: 2px dashed #d7aa67;
  border-image: none;
  border-radius: 12px;
  box-shadow: 0 12px 0 rgba(47, 120, 144, 0.12);
}

.top-v2-home-staytime .l-stay_info::before {
  content: "ご利用時間";
  position: absolute;
  top: -17px;
  left: 50%;
  padding: 6px 18px;
  border-radius: 999px;
  background: #2f7890;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  transform: translateX(-50%) rotate(-1deg);
}

.top-v2-home-staytime .l-stay_infoInner {
  margin: 0;
}

.top-v2-home-staytime .l-stay_infoTitle {
  margin: 0;
  font-size: 28px;
  line-height: 1.45;
}

.top-v2-home-staytime .l-stay_infoTitle > span {
  display: block;
}

.top-v2-home-staytime .l-stay_infoTitle > span + span::before {
  content: none;
}

.top-v2-home-staytime .l-stay_infoCaption {
  margin-top: 3px;
  color: #665a4a;
}

.top-v2-home-staytime .l-stay_infoCaption small {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 767px) {
  .top-v2-home-staytime {
    margin-top: 42px;
    padding: 0 10px 20px;
  }
  .top-v2-home-staytime .container {
    top: auto;
    margin-bottom: 0;
  }
  .top-v2-home-staytime .l-stay_info {
    margin: 0 6px;
    padding: 29px 14px 18px !important;
    border-radius: 10px;
    box-shadow: 0 8px 0 rgba(47, 120, 144, 0.12);
  }
  .top-v2-home-staytime .l-stay_info::before {
    top: -15px;
    padding: 5px 15px;
    font-size: 12px;
  }
  .top-v2-home-staytime .l-stay_infoTitle {
    font-size: 20px;
    line-height: 1.5;
  }
  .top-v2-home-staytime .l-stay_infoTitle span + span {
    margin-top: 3px;
  }
  .top-v2-home-staytime .l-stay_infoCaption {
    margin-top: 3px;
    line-height: 1.5;
  }
  .top-v2-home-staytime .l-stay_infoCaption small {
    padding: 5px 9px;
    font-size: 12px;
  }
}

.top-v2-home-staytime .l-stay_infoTitle > span + span + span {
  margin-top: 10px;
}

.top-v2-purpose-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.top-v2-purpose-link:hover .memory-image img {
  transform: scale(1.02);
}
.top-v2-purpose-link .memory-image img {
  transition: transform 0.25s ease;
}

.top-v2-actions {
  margin: 36px 0 8px;
  text-align: center;
}
.top-v2-btn-outline {
  display: inline-block;
  padding: 14px 40px;
  border: 2px solid #f0831e;
  border-radius: 999px;
  background: #fff;
  color: #a5540e;
  font-weight: 900;
  font-size: clamp(15px, 1.9vw, 19px);
  text-decoration: none;
}
.top-v2-btn-outline:hover {
  background: #fff4e6;
  color: #a5540e;
}
@media (max-width: 767px) {
  .top-v2-btn-outline { display: block; margin: 0 16px; text-align: center; }
}

/* MV下〜「あの頃の放課後」セクション: スクロール出現演出 */
.top-v2-reveal-target {
  opacity: 0;
  transition:
    opacity 0.62s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.62s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.62s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform, filter;
}

.top-v2-reveal-target.is-inview {
  opacity: 1;
  filter: none;
}

.top-v2-reveal-rise {
  transform: translateY(28px) scale(0.98);
  filter: blur(2px);
}

.top-v2-reveal-rise.is-inview {
  transform: translateY(0) scale(1);
}

.top-v2-reveal-left {
  transform: translateX(-22px) rotate(-4deg);
  filter: blur(1px);
}

.top-v2-reveal-right {
  transform: translateX(22px) rotate(4deg);
  filter: blur(1px);
}

.top-v2-reveal-left.is-inview,
.top-v2-reveal-right.is-inview {
  transform: translateX(0) rotate(0deg);
}

.top-v2-reveal-photo {
  transform: translateY(30px) scale(0.985);
  filter: saturate(0.92) brightness(0.96) blur(1px);
}

.top-v2-reveal-photo.is-inview {
  transform: translateY(0) scale(1);
}

.top-v2-reveal-title {
  transform: translateY(18px) scale(0.9) rotate(var(--reveal-rotate, -2deg));
  filter: blur(1px);
  transition-timing-function: cubic-bezier(0.18, 0.9, 0.24, 1.2);
}

.top-v2-reveal-title.is-inview {
  transform: translateY(0) scale(1) rotate(0deg);
}

.top-v2-reveal-accent {
  filter: blur(2px);
}

@media (prefers-reduced-motion: reduce) {
  .top-v2-reveal-target {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* ＼／バナーの叫び（gptimage2生成画像） */
.top-v2-callout {
  width: min(560px, 90%);
  margin: 0 auto 16px;
}

.top-v2-callout img {
  display: block;
  width: 100%;
  height: auto;
}

/* 施設説明ブロックの写真キャプション（HTML白帯。焼き込みキャプションの後継） */
.top-v2-photo-caption {
  margin: 10px auto 0;
  padding: 9px 18px;
  width: fit-content;
  max-width: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(20, 50, 65, 0.18);
  color: #2f7890;
  font-weight: 900;
  font-size: clamp(15px, 1.9vw, 19px);
  text-align: center;
}

/* 目的別カード: 説明文とPC2カラム化（間延び対策） */
.top-v2-purpose-desc {
  margin: 6px 0 0;
  color: #665a4a;
  font-weight: 700;
  font-size: clamp(13px, 1.6vw, 15px);
  line-height: 1.7;
}

@media (min-width: 992px) {
  #stay .memory-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 36px;
    align-items: start;
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
  }

  #stay .memory-item {
    margin: 0;
    width: auto;
    max-width: none;
  }
}

/* §5余白システム: バナー2箇所の上下リズムを96px基準に載せる */
.cta-section01 {
  padding: 40px 0 56px;
}

.cta-section {
  padding: 48px 0 72px;
}

@media (max-width: 767px) {
  .cta-section01 { padding: 28px 0 40px; }
  .cta-section { padding: 36px 0 56px; }
}

/* キーボード操作時のフォーカス可視化（a11y） */
.top-v2-cta-big:focus-visible,
.top-v2-btn-outline:focus-visible,
.top-v2-price-detail:focus-visible,
.top-v2-purpose-link:focus-visible,
.l-header_btnReserve:focus-visible,
.l-footer_reserveLink:focus-visible {
  outline: 3px solid #1f4f63;
  outline-offset: 3px;
}

/* あそび物量ティッカー（主張「遊びきれない」の証拠帯） */
.top-v2-ticker {
  display: grid;
  gap: 10px;
  margin: 36px 0 0;
  overflow: hidden;
}

.top-v2-ticker-row {
  display: flex;
  overflow: hidden;
}

.top-v2-ticker-track {
  display: flex;
  flex-shrink: 0;
  min-width: 100%;
  justify-content: space-around;
  gap: 10px;
  margin: 0;
  padding: 0 5px;
  list-style: none;
  animation: top-v2-ticker 38s linear infinite;
}

.top-v2-ticker-row--rev .top-v2-ticker-track {
  animation-direction: reverse;
  animation-duration: 46s;
}

.top-v2-ticker li {
  flex-shrink: 0;
  padding: 8px 18px;
  border: 2px solid rgba(47, 120, 144, 0.35);
  border-radius: 999px;
  background: #fff;
  color: #2f7890;
  font-weight: 800;
  font-size: clamp(13px, 1.6vw, 16px);
  white-space: nowrap;
}

.top-v2-ticker li:nth-child(even) {
  background: #fff8e8;
}

@keyframes top-v2-ticker {
  to { transform: translateX(calc(-100% - 10px)); }
}

@media (prefers-reduced-motion: reduce) {
  .top-v2-ticker-track { animation: none; flex-wrap: wrap; justify-content: center; }
  .top-v2-ticker-track[aria-hidden="true"] { display: none; }
}

/* ティッカー: ホバー/タッチ長押しで一時停止（読みたい人への配慮） */
.top-v2-ticker-row:hover .top-v2-ticker-track,
.top-v2-ticker-row:active .top-v2-ticker-track {
  animation-play-state: paused;
}

/* ポップ文字タイトル（帯なし）: 白フチ込みで写真に負けない幅に補正 */
#usagescene .memory-title01 img,
#usagescene .memory-title02 img {
  width: clamp(240px, 34vw, 340px);
  height: auto;
}

#usagescene .memory-title03 img {
  width: clamp(280px, 40vw, 390px);
  height: auto;
}

/* タイトルと写真の重なりを約14pxに統一（配置の意図を揃える） */
#usagescene .memory-title03 {
  transform: translateY(-27px);
}

@media (max-width: 767px) {
  #usagescene .memory-title01 { transform: translateY(11px); }
  #usagescene .memory-title02 { transform: translate(-12px, 7px); }
  #usagescene .memory-title03 { transform: translateY(-33px); }
}

/* SP: 装飾（GIF少年・矢印・スリッパ）と新要素の衝突解消 */
@media (max-width: 767px) {
  #usagescene .soccer-boy {
    transform: translateY(50px) scale(0.82);
    transform-origin: top left;
  }

  #usagescene .arrow-down {
    transform: translateX(-40px) translateY(-8px) scale(0.8);
    transform-origin: top center;
  }

  #usagescene .arrow-up {
    transform: translateX(-40px) translateY(-14px) scale(0.75);
    transform-origin: top center;
  }

  #usagescene .slippers {
    transform: translate(-6px, -70px) scale(0.85);
    transform-origin: bottom left;
  }
}

/* 食べて写真と情報が被るため、BBQ切り抜き装飾はこのセクションでは使わない */
#usagescene .bbq-set {
  display: none;
}

.top-v2-food-pieces {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.top-v2-food-piece {
  position: absolute;
  display: block;
  height: auto;
  user-select: none;
}

/* PC: 施設説明ブロックのマガジン組み（グリッド本組み版）
   文字カラム=筆文字＋吹き出しキャプションの縦センター、写真620px交互 */
@media (min-width: 992px) {
  #usagescene .memory-item1 {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 620px;
    grid-template-rows: 1fr auto auto 1fr;
    column-gap: 48px;
    margin-bottom: 116px;
  }

  #usagescene .memory-item--left {
    grid-template-columns: 620px minmax(0, 1fr);
  }

  #usagescene .memory-item1 [class*="memory-title0"] {
    position: static;
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    transform: none;
    margin: 0 0 6px;
  }

  #usagescene .memory-item--left [class*="memory-title0"] {
    grid-column: 2;
  }

  #usagescene .memory-title01 img { width: min(340px, 100%); }
  #usagescene .memory-title02 img { width: min(340px, 100%); }
  #usagescene .memory-title03 img { width: min(390px, 100%); }

  #usagescene .memory-item1 .memory-image {
    grid-column: 2;
    grid-row: 1 / span 4;
    align-self: center;
    width: 620px;
    max-width: 620px;
    margin: 0;
  }

  #usagescene .memory-item--left .memory-image {
    grid-column: 1;
  }

  #usagescene .memory-item1 .top-v2-photo-caption {
    grid-column: 1;
    grid-row: 3;
    justify-self: center;
    margin: 12px 0 0;
  }

  #usagescene .memory-item--left .top-v2-photo-caption {
    grid-column: 2;
  }

  #usagescene .memory-item--left .top-v2-food-pieces {
    position: relative;
    inset: auto;
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    justify-self: center;
    width: min(390px, 100%);
    height: 0;
    z-index: 4;
  }

  #usagescene .top-v2-food-piece--lunch {
    width: 64px;
    right: 168px;
    top: -56px;
    transform: rotate(-7deg);
  }

  #usagescene .top-v2-food-piece--drinks {
    width: 50px;
    right: 22px;
    top: -24px;
    transform: rotate(8deg);
  }

  #usagescene .top-v2-food-piece--veg {
    display: none;
  }

  #usagescene .top-v2-food-piece--meat {
    display: none;
  }

  #usagescene .top-v2-food-piece--grill {
    width: 88px;
    right: 42px;
    top: 356px;
    transform: rotate(4deg);
  }

  /* 装飾: 文字カラムの脇役 */
  #usagescene .soccer-boy {
    left: 48px; top: auto; bottom: -84px;
    transform: scale(0.48);
    transform-origin: bottom left;
  }

  #usagescene .bbq-set {
    display: none;
  }

  #usagescene .slippers {
    left: 40px; right: auto; top: auto; bottom: -100px;
    transform: scale(0.4);
    transform-origin: bottom left;
  }

  /* ポップ矢印: ブロック間の橋渡し */
  #usagescene .arrow-down {
    width: 164px; height: auto;
    left: 40%; top: auto; bottom: -128px;
    transform: rotate(-4deg);
  }

  #usagescene .arrow-up {
    width: 158px; height: auto;
    left: 58%; right: auto; top: auto; bottom: -132px;
    transform: rotate(6deg);
  }
}

/* SP: 矢印は非表示（隙間55-65pxでは豆サイズ化してノイズになるため。
   縦積みのSPは接続装飾なしでもリズムが成立している） */
@media (max-width: 991px) {
  #usagescene .arrow-down,
  #usagescene .arrow-up {
    display: none;
  }

  #usagescene .top-v2-food-pieces {
    z-index: 4;
  }

  #usagescene .top-v2-food-piece--lunch {
    display: none;
  }

  #usagescene .top-v2-food-piece--drinks {
    width: 68px;
    right: 18px;
    bottom: -42px;
    transform: rotate(8deg);
  }

  #usagescene .top-v2-food-piece--veg {
    display: none;
  }

  #usagescene .top-v2-food-piece--meat {
    display: none;
  }

  #usagescene .top-v2-food-piece--grill {
    width: 92px;
    right: 98px;
    bottom: -76px;
    transform: rotate(4deg);
  }
}

/* 小さなゴシック体ツッコミ。主見出しより軽い「余白の書き込み」として扱う */
.top-v2-photo-caption--img {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  width: min(150px, 42%);
}

.top-v2-photo-caption--img img {
  display: block;
  width: 100%;
  height: auto;
}

.top-v2-bubble-2 { width: min(166px, 46%); }
.top-v2-bubble-3 { width: min(172px, 46%); }

/* 注釈は中心軸から少し外して、写真への重なりを浅くする */
.top-v2-bubble-1 { transform: translate(54px, -2px); }
.top-v2-bubble-2 { transform: translate(-46px, -2px); }
.top-v2-bubble-3 { transform: translate(44px, -4px); }

@media (max-width: 991px) {
  .top-v2-photo-caption--img { width: min(122px, 36%); margin-left: auto; margin-right: auto; }
  .top-v2-bubble-2 { width: min(142px, 42%); }
  .top-v2-bubble-3 { width: min(148px, 42%); }
  .top-v2-bubble-1 { transform: translate(14%, -4px); }
  .top-v2-bubble-2 { transform: translate(-14%, -2px); }
  .top-v2-bubble-3 { transform: translate(12%, -6px); }
}

/* ==========================================================================
   シーン別専用ページ共通コンポーネント（第1弾: /friends/ 卒業旅行・友達旅）
   §5基準: 色は#2f7890/#f0831e/#fff8e8/白のみ。セクション上下 PC96px/SP56px。
   ========================================================================== */

.top-v2-scene-section {
  padding: 96px 0;
}

.top-v2-scene-section--gray {
  background: #ecedf2;
}

.top-v2-scene-section--cream {
  background: #fff8e8;
}

@media (max-width: 767px) {
  .top-v2-scene-section {
    padding: 56px 0;
  }
}

.top-v2-scene-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.top-v2-scene-inner--narrow {
  max-width: 860px;
}

/* --- ヒーロー --- */
.top-v2-scene-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 20px 0;
}

@media (min-width: 992px) {
  .top-v2-scene-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
    padding: 72px 20px 0;
  }
}

.top-v2-scene-eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 20px;
  border-radius: 999px;
  background: #fff8e8;
  border: 2px solid #f0831e;
  color: #a5540e;
  font-weight: 900;
  font-size: clamp(13px, 1.6vw, 15px);
}

/* 上限52px: 2カラム時のテキスト列は約551px(1120px以上)・最小459px(992px)で、
   姉妹ページ最長のkinsokuユニット「ここで終わらせない。」(10字)が56pxだと
   560px>551pxとなり文節内で折り返すため。もとはabout追補の #hero h1 で
   52pxに上書きしていたが、id="hero"は姉妹5ページ全部にあり実質共通値
   だったので、ここへ正式統合(全ページ表示変化なし) */
.top-v2-scene-hero h1 {
  margin: 0 0 18px;
  color: #2f7890;
  font-weight: 900;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.3;
}

.top-v2-scene-lead {
  margin: 0 0 28px;
  color: #2e2518;
  font-weight: 700;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.9;
}

.top-v2-scene-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

@media (max-width: 767px) {
  .top-v2-scene-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .top-v2-scene-hero-actions .top-v2-cta-big,
  .top-v2-scene-hero-actions .top-v2-btn-outline {
    width: 100%;
  }
}

.top-v2-scene-hero-photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20, 50, 65, 0.18);
}

.top-v2-scene-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* --- 見出し（セクション共通） --- */
.top-v2-scene-title {
  margin: 0 0 40px;
  color: #2f7890;
  font-weight: 900;
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.4;
  text-align: center;
}

/* --- できることカード（4枚） --- */
.top-v2-scene-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

@media (min-width: 768px) {
  .top-v2-scene-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.top-v2-scene-card {
  background: #fff;
  border: 2px solid #2f7890;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(47, 120, 144, 0.12);
}

.top-v2-scene-card--action {
  position: relative;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.top-v2-scene-card--action:hover {
  border-color: #f0831e;
  box-shadow: 0 8px 22px rgba(47, 120, 144, 0.2);
  transform: translateY(-3px);
}

.top-v2-scene-card-hitarea {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.top-v2-scene-card-hitarea:focus-visible {
  outline: 4px solid #1f4f63;
  outline-offset: -5px;
}

.top-v2-scene-card--action .top-v2-scene-detailbtn {
  pointer-events: none;
}

.top-v2-scene-card-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.top-v2-scene-card-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-v2-scene-card-body {
  padding: 20px 22px 24px;
}

.top-v2-scene-card-body h3 {
  margin: 0 0 10px;
  color: #2f7890;
  font-weight: 900;
  font-size: clamp(17px, 2vw, 20px);
}

.top-v2-scene-card-body p {
  margin: 0;
  color: #665a4a;
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 15px);
  line-height: 1.8;
}

/* /play/ 食べる・泊まる: 表は要点、詳しい設備・運用はポップアップへ */
.top-v2-scene-card-body h3 small {
  display: inline-block;
  margin-left: 4px;
  color: #665a4a;
  font-size: 0.68em;
  font-weight: 800;
}

.top-v2-scene-detailbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 8px 15px;
  border: 2px solid #2f7890;
  border-radius: 999px;
  background: #fff;
  color: #2f7890;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  text-decoration: none;
  cursor: pointer;
}
.top-v2-scene-detailbtn:hover {
  background: #eef6f8;
  color: #2f7890;
  text-decoration: none;
}
.top-v2-scene-detailbtn:focus-visible {
  outline: 3px solid #1f4f63;
  outline-offset: 3px;
}
.top-v2-scene-detailbtn--link::after {
  content: "→";
  margin-left: 6px;
}

@media (max-width: 767px) {
  #eat .top-v2-scene-card,
  #stay .top-v2-scene-card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    align-items: stretch;
  }
  #eat .top-v2-scene-card-photo,
  #stay .top-v2-scene-card-photo {
    min-height: 156px;
    aspect-ratio: auto;
  }
  #eat .top-v2-scene-card-body,
  #stay .top-v2-scene-card-body {
    padding: 14px 14px 15px;
  }
  #eat .top-v2-scene-card-body h3,
  #stay .top-v2-scene-card-body h3 {
    margin-bottom: 6px;
    font-size: 17px;
  }
  #eat .top-v2-scene-card-body p,
  #stay .top-v2-scene-card-body p {
    font-size: 13px;
    line-height: 1.55;
  }
  .top-v2-scene-detailbtn {
    margin-top: 10px;
    padding: 7px 12px;
    font-size: 12px;
  }
}

.top-v2-scenedialog {
  width: min(92vw, 600px);
  max-height: calc(100vh - 20px);
  max-height: calc(100dvh - 20px);
  margin: auto;
  padding: 16px 0 4px;
  border: 0;
  background: transparent;
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 1050;
}
.top-v2-scenedialog::backdrop {
  background: rgba(20, 32, 38, 0.55);
}
.top-v2-scenedialog .top-v2-playdialog-sheet {
  padding: 28px 24px 24px;
}
.top-v2-scenedialog .top-v2-playdialog-title {
  margin-bottom: 18px;
}
.top-v2-scenedialog-body {
  color: #4a3f2f;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.75;
  text-align: left;
}
.top-v2-scenedialog-body p {
  margin: 0;
}
.top-v2-scenedialog-lead {
  margin-bottom: 16px !important;
  color: #2e2518;
  font-weight: 800;
}
.top-v2-scenedialog-list {
  margin: 0;
  padding-left: 1.4em;
}
.top-v2-scenedialog-list li + li {
  margin-top: 6px;
}
.top-v2-scenedialog-block {
  padding: 14px 16px;
  border: 1px dashed rgba(47, 120, 144, 0.45);
  border-radius: 10px;
  background: #fffdf6;
}
.top-v2-scenedialog-block + .top-v2-scenedialog-block {
  margin-top: 12px;
}
.top-v2-scenedialog-block--compact {
  background: #fff8e8;
}
.top-v2-scenedialog-block h4 {
  margin: 0 0 6px;
  color: #2f7890;
  font-size: 15px;
  font-weight: 900;
}

/* 泊まるダイアログの部屋割りを、目安と手狭時で見比べやすいカードにする。 */
#stay-room-dialog .top-v2-stay-room-intro {
  margin: 0 0 10px;
  color: #4a3f2f;
  font-weight: 700;
}

#stay-room-dialog .top-v2-stay-room-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#stay-room-dialog .top-v2-stay-room-grid--standard > :first-child {
  grid-column: 1 / -1;
}

#stay-room-dialog .top-v2-stay-room-card {
  display: grid;
  align-content: start;
  gap: 3px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(47, 120, 144, 0.3);
  border-radius: 9px;
  background: #fff;
}

#stay-room-dialog .top-v2-stay-room-card h5 {
  margin: 0;
  color: #2f7890;
  font-size: 13px;
  font-weight: 900;
}

#stay-room-dialog .top-v2-stay-room-capacity,
#stay-room-dialog .top-v2-stay-room-max {
  margin: 0;
}

#stay-room-dialog .top-v2-stay-room-capacity {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

#stay-room-dialog .top-v2-stay-room-capacity strong {
  color: #a5540e;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.3;
}

#stay-room-dialog .top-v2-stay-room-capacity span,
#stay-room-dialog .top-v2-stay-room-max {
  color: #665a4a;
  font-size: 11.5px;
  line-height: 1.5;
}

#stay-room-dialog .top-v2-stay-room-max {
  overflow-wrap: anywhere;
}

#stay-room-dialog .top-v2-stay-room-note {
  margin: 8px 0 0 !important;
  color: #665a4a;
  font-size: 12px;
  line-height: 1.6;
}

.top-v2-scenedialog-equipment {
  display: grid;
  gap: 7px;
  margin: 0;
}

.top-v2-scenedialog-equipment > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 7px;
  border-bottom: 1px dotted rgba(47, 120, 144, 0.3);
}

.top-v2-scenedialog-equipment > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.top-v2-scenedialog-equipment dt {
  color: #2f7890;
  font-weight: 900;
}

.top-v2-scenedialog-equipment dd {
  margin: 0;
}

.top-v2-scenedialog-caption {
  margin-top: 10px !important;
  color: #665a4a;
  font-size: 12px;
  font-weight: 700;
}
.top-v2-scenedialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

@media (max-width: 575px) {
  .top-v2-scenedialog .top-v2-playdialog-sheet {
    padding: 24px 16px 18px;
  }
  .top-v2-scenedialog .top-v2-playdialog-title {
    margin-bottom: 14px;
  }
  .top-v2-scenedialog-body {
    font-size: 13.5px;
    line-height: 1.65;
  }
  .top-v2-scenedialog-block {
    padding: 12px;
  }
  .top-v2-scenedialog-equipment > div {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 8px;
  }
  .top-v2-scenedialog-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .top-v2-scenedialog-actions .top-v2-btn-outline {
    width: 100%;
    text-align: center;
  }
}

/* --- モデルコース タイムライン --- */
.top-v2-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.top-v2-timeline::before {
  content: "";
  position: absolute;
  left: 78px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: #2f7890;
  opacity: 0.35;
}

.top-v2-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 78px 1fr;
  column-gap: 24px;
  padding: 0 0 32px;
}

.top-v2-timeline-item:last-child {
  padding-bottom: 0;
}

.top-v2-timeline-time {
  position: relative;
  color: #2f7890;
  font-weight: 900;
  font-size: clamp(14px, 1.7vw, 17px);
  text-align: right;
  padding-right: 22px;
}

.top-v2-timeline-time::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #f0831e;
  border: 3px solid #fff8e8;
  box-shadow: 0 0 0 2px #2f7890;
}

.top-v2-timeline-body h3 {
  margin: 0 0 6px;
  color: #2e2518;
  font-weight: 900;
  font-size: clamp(16px, 1.9vw, 19px);
}

.top-v2-timeline-body p {
  margin: 0;
  color: #665a4a;
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 15px);
  line-height: 1.8;
}

.top-v2-timeline-note {
  margin: 28px 0 0;
  color: #665a4a;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 575px) {
  .top-v2-timeline::before {
    left: 58px;
  }

  .top-v2-timeline-item {
    grid-template-columns: 58px 1fr;
    column-gap: 14px;
  }

  .top-v2-timeline-time {
    font-size: 13px;
    padding-right: 14px;
  }
}

/* --- 最終CTA（画像バナーなしのテキスト版） --- */
.top-v2-scene-finalcta {
  text-align: center;
}

.top-v2-scene-finalcta h2 {
  margin: 0 0 28px;
  color: #2f7890;
  font-weight: 900;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.4;
}

/* --- 他シーンへの横リンク --- */
.top-v2-scene-otherlinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.top-v2-scene-otherlinks a {
  color: #2f7890;
  font-weight: 800;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.top-v2-scene-otherlinks a:hover {
  color: #f0831e;
}

/* --- 要確認注記の視認性（オーナー赤入れ用の一時マーカー。公開前に本文確定して除去） --- */
.top-v2-needcheck {
  color: #a5540e;
  font-weight: 800;
}

/* 焼き込みキャプション付きカード素材から写真領域だけを見せる
   (enjoy_slide系1440x1040の上部58%が写真) */
.top-v2-scene-card-photo:has(.top-v2-crop-cardphoto) {
  aspect-ratio: 1440 / 600;
  overflow: hidden;
}

.top-v2-scene-card-photo img.top-v2-crop-cardphoto {
  width: 100%;
  height: auto;
  object-fit: unset;
  display: block;
}

/* --- friends/index.html 追補: タイムライン行内リンク --- */
.top-v2-inline-link {
  color: #2f7890;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* --- friends/index.html 追補: 予約までの流れ（4ステップ） --- */
.top-v2-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1080px;
  margin: 28px auto 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.top-v2-flow li {
  background: #fff;
  border: 2px solid #2f7890;
  border-radius: 14px;
  padding: 20px 18px;
  box-shadow: 0 4px 14px rgba(47, 120, 144, 0.12);
  text-align: center;
}

.top-v2-flow li strong {
  display: block;
  color: #2f7890;
  font-weight: 900;
  font-size: clamp(16px, 1.9vw, 19px);
  margin-bottom: 8px;
}

.top-v2-flow li span {
  display: block;
  color: #665a4a;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 991px) {
  .top-v2-flow {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* --- friends/index.html 追補: 最終CTAのLINE共有 --- */
.top-v2-share {
  margin-top: 14px;
  text-align: center;
}

/* --- friends/index.html 追補: タイムライン行の学校メタファーラベル --- */
.top-v2-timeline-label {
  display: inline-block;
  margin: 0 0 6px;
  padding: 3px 14px;
  border-radius: 999px;
  background: #fff8e8;
  color: #2f7890;
  font-weight: 800;
  font-size: 12px;
  line-height: 1.6;
}

/* --- friends/index.html 追補: パンくず --- */
.top-v2-breadcrumb {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 20px;
  font-size: 12px;
  color: #665a4a;
}

@media (min-width: 768px) {
  .top-v2-breadcrumb {
    font-size: 13px;
  }
}

.top-v2-breadcrumb a {
  color: #2f7890;
}

.top-v2-breadcrumb span {
  margin: 0 6px;
  color: #665a4a;
}

/* --- friends/index.html 追補: ヒーローH1の袋文字化（手描き風タイトルの意匠を継承） --- */
.top-v2-brush-h1 {
  color: #2f7890;
  font-weight: 900;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.25;
  -webkit-text-stroke: 0.14em #fff;
  paint-order: stroke fill;
  text-shadow: 0 3px 10px rgba(20, 50, 65, 0.12);
}

/* --- friends/index.html 追補: eyebrowチップを手貼りシール風に --- */
.top-v2-scene-hero .top-v2-scene-eyebrow {
  background: #fff8e8;
  border: 2px solid #2f7890;
  transform: rotate(-2deg);
}

/* --- friends/index.html 追補: ヒーロー写真のコラージュ風オフセット影 --- */
.top-v2-scene-hero-photo {
  border-radius: 16px;
  box-shadow: 10px 10px 0 #d7e7ee;
}

/* --- friends/index.html 追補: セクション見出しの生成りマーカーハイライト --- */
.top-v2-scene-title-mark {
  display: inline-block;
  background: linear-gradient(transparent 58%, #fff8e8 58%);
}

/* --- friends/index.html 追補: 「定番の過ごし方」見出し左右の人物切り抜き（PCのみ） --- */
.top-v2-cando-titlewrap {
  position: relative;
}

.top-v2-cando-figure {
  display: none;
}

@media (min-width: 992px) {
  .top-v2-cando-titlewrap {
    padding: 0 130px;
  }

  .top-v2-cando-figure {
    display: block;
    position: absolute;
    top: 50%;
    height: 90px;
    width: auto;
    transform: translateY(-50%);
  }

  .top-v2-cando-figure--left {
    left: 0;
  }

  .top-v2-cando-figure--right {
    right: 0;
  }
}

/* --- friends/index.html 追補: タイムラインのチップ色リズム（奇数=青緑/生成り, 偶数=オレンジ/薄橙） --- */
.top-v2-timeline-item:nth-child(even) .top-v2-timeline-label {
  background: #ffe9d2;
  color: #bd5b11;
}

.top-v2-timeline-time {
  font-weight: 900;
  color: #2f7890;
}

/* --- friends/index.html 追補: 料金アクション直後の賑やかしコールアウト --- */
.top-v2-callout--sm {
  width: min(380px, 76%);
  margin: 26px auto 0;
}

/* --- friends/index.html 追補: FAQ見出しの吹き出し装飾 --- */
.top-v2-faq-titlewrap {
  position: relative;
  text-align: center;
}

.top-v2-faq-balloon {
  display: block;
  width: 60px;
  height: auto;
  margin: 0 auto 8px;
}

@media (min-width: 768px) {
  .top-v2-faq-balloon {
    position: absolute;
    left: calc(50% - 220px);
    top: -12px;
    margin: 0;
  }
}

/* --- friends/index.html 追補: 最終CTAゾーンの人物切り抜き（PCのみ・右下） --- */
.top-v2-scene-finalcta {
  position: relative;
}

.top-v2-finalcta-figure {
  display: none;
}

@media (min-width: 992px) {
  .top-v2-finalcta-figure {
    display: block;
    position: absolute;
    right: 32px;
    bottom: 24px;
    height: 120px;
    width: auto;
  }
}

.top-v2-breadcrumb span[aria-current="page"] {
  margin: 0;
  color: #665a4a;
}

/* /friends/ 余白・バランス監査の是正 (2026-07-04実測ベース) */
/* 1. ヒーローに上余白、写真を主役サイズへ */
#hero.top-v2-scene-section {
  padding-top: 48px !important; /* 既存のhero上余白0指定に競り負けるため単発で強制 */
}

@media (min-width: 992px) {
  .top-v2-scene-hero {
    grid-template-columns: minmax(0, 1fr) 560px;
    gap: 56px;
    align-items: center;
  }
}

/* 2. flowの余白リズムを96px基準に統一 */
#flow.l-section {
  padding: 48px 0;
}

/* 3. セクション交互背景はTOPと同じ 白⇄#ECEDF2（2026-07-04
   オーナー指摘: 生成り#FFF8E8の大面積ベタ塗りはオレンジに見える。
   生成りは付箋・チップ等の小面積コンポーネント専用に格下げ） */
.top-v2-scene-section--gray {
  background: #ecedf2;
}

#price.top-v2-scene-section--cream {
  background: transparent;
}

#faq.top-v2-scene-section {
  background: #ecedf2;
}

/* 4. SPの余白は56px基準(§5) */
@media (max-width: 767px) {
  .top-v2-scene-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  #hero.top-v2-scene-section {
    padding-top: 24px;
  }
}

/* friends: h1生成ロゴと最終CTAコールアウト */
.top-v2-scene-h1logo {
  margin: 0;
}

.top-v2-scene-h1logo img {
  display: block;
  width: min(470px, 100%);
  height: auto;
  filter: drop-shadow(0 3px 10px rgba(20, 50, 65, 0.12));
}

.top-v2-callout--cta {
  width: min(480px, 90%);
  margin: 0 auto 10px;
}

/* 料金セクション「今日の算数」黒板演出 */
.top-v2-chalkboard {
  position: relative;
  max-width: 640px;
  margin: 8px auto 22px;
  padding: 34px 36px 30px;
  background: #29464f;
  border: 10px solid #4e4538;
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(30, 40, 45, 0.25), inset 0 0 60px rgba(255, 255, 255, 0.04);
  color: #fdfdf8;
  text-align: center;
}

.top-v2-chalk-label {
  display: inline-block;
  margin: 0 0 14px;
  padding: 3px 14px;
  border: 2px dashed rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
}

.top-v2-chalk-formula {
  margin: 0;
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.top-v2-chalk-op {
  color: #f4b271;
  margin: 0 6px;
}

.top-v2-chalk-answer {
  margin: 14px auto 0;
  width: fit-content;
  padding: 6px 22px;
  border: 2px dashed #f4b271;
  border-radius: 50% / 46%;
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 800;
}

.top-v2-chalk-answer strong {
  color: #f4b271;
  font-size: 1.35em;
}

.top-v2-chalk-sub {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 26px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.top-v2-sticky {
  position: absolute;
  width: 158px;
  padding: 12px 12px 14px;
  background: #fff8e8;
  color: #4e4538;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.6;
  text-align: left;
  box-shadow: 0 6px 14px rgba(30, 40, 45, 0.25);
}

.top-v2-sticky--1 {
  top: -26px;
  right: -34px;
  transform: rotate(4deg);
  background: #ffe9d2;
}

.top-v2-sticky--2 {
  bottom: -30px;
  left: -34px;
  transform: rotate(-3deg);
}

.top-v2-price-notes--center {
  text-align: center;
  margin-top: 26px;
}

@media (max-width: 767px) {
  .top-v2-chalkboard {
    padding: 26px 18px 24px;
    border-width: 8px;
    margin-bottom: 40px;
  }

  .top-v2-sticky--1 { top: -22px; right: -8px; transform: rotate(3deg) scale(0.92); }
  .top-v2-sticky--2 { bottom: -34px; left: -8px; transform: rotate(-2deg) scale(0.92); }
}

/* 黒板: CSS描画を廃止し生成アート+HTML数式のハイブリッドへ */
.top-v2-chalkboard--art {
  max-width: 760px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.top-v2-chalkboard-img {
  display: block;
  width: 100%;
  height: auto;
}

.top-v2-chalkboard-write {
  position: absolute;
  left: 11%;
  right: 11%;
  top: 30%;
  bottom: 22%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4%;
}

.top-v2-chalkboard--art .top-v2-chalk-formula {
  font-size: clamp(17px, 4.2vw, 33px);
}

.top-v2-chalkboard--art .top-v2-chalk-answer {
  margin-top: 0;
  font-size: clamp(12px, 2.3vw, 18px);
}

.top-v2-chalkboard--art .top-v2-chalk-sub {
  margin-top: 0;
  font-size: clamp(10px, 1.7vw, 13px);
  gap: 4px 20px;
}

.top-v2-chalkboard--art .top-v2-sticky--1 {
  top: 2%;
  right: -22px;
}

.top-v2-chalkboard--art .top-v2-sticky--2 {
  bottom: -18px;
  left: -22px;
}

@media (max-width: 767px) {
  .top-v2-chalkboard--art .top-v2-sticky--1 { top: -14px; right: -4px; }
  .top-v2-chalkboard--art .top-v2-sticky--2 { bottom: -10px; left: -4px; }
  .top-v2-sticky { width: 132px; font-size: 11px; padding: 9px 10px; }
}

@media (max-width: 767px) {
  .top-v2-chalkboard-write { top: 27%; bottom: 14%; gap: 2%; }
  .top-v2-chalkboard--art .top-v2-chalk-answer { font-size: 11px; }
  .top-v2-chalkboard--art .top-v2-chalk-sub { font-size: 9.5px; gap: 2px 12px; }
}

@media (max-width: 767px) {
  .top-v2-chalkboard--art .top-v2-sticky--2 { bottom: -34px; left: -4px; width: 168px; }
}

@media (min-width: 768px) {
  .top-v2-chalkboard--art .top-v2-sticky { width: 178px; }
}

/* 7. 他のシーンへ（写真カード） */
.top-v2-otherscenes {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.top-v2-otherscenes-title {
  text-align: center;
  color: #2f7890;
  font-weight: 900;
  font-size: clamp(17px, 2.2vw, 22px);
  margin-bottom: 20px;
}

.top-v2-otherscenes-cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.top-v2-otherscenes-cards a {
  display: block;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 8px 8px 0 #d7e7ee;
  text-decoration: none;
  transition: transform 0.2s;
}

.top-v2-otherscenes-cards a:hover {
  transform: translateY(-4px);
}

.top-v2-otherscenes-cards a:hover .top-v2-otherscenes-label {
  color: #f0831e;
}

.top-v2-otherscenes-cards img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.top-v2-otherscenes-label {
  display: block;
  padding: 12px 16px 2px;
  color: #2f7890;
  font-weight: 900;
  font-size: 16px;
}

.top-v2-otherscenes-note {
  display: block;
  padding: 0 16px 14px;
  color: #665a4a;
  font-weight: 700;
  font-size: 12px;
}

@media (max-width: 767px) {
  .top-v2-otherscenes-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* 中間幅では他シーンカード(max-width 900px)と右下の切り抜きが衝突するため非表示 */
@media (min-width: 768px) and (max-width: 1119px) {
  .top-v2-finalcta-figure { display: none; }
}

/* --- friends/index.html 追補: 時間割セクション PC2カラム化（タイムライン＋スナップ写真コラージュ） --- */
.top-v2-schedule-snaps {
  display: none;
}

@media (min-width: 992px) {
  .top-v2-schedule-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 48px;
    align-items: start;
  }

  .top-v2-schedule-snaps {
    display: block;
    position: sticky;
    top: 120px;
    height: 360px;
  }
}

.top-v2-schedule-snap {
  margin: 0;
  position: absolute;
  inset: 0;
  width: 320px;
  max-width: 100%;
  padding: 10px 10px 14px;
  background: #fff;
  box-shadow: 10px 10px 0 #cfe0e8;
  opacity: 0;
  transform: scale(0.96) rotate(0deg);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.top-v2-schedule-snap img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.top-v2-schedule-snap figcaption {
  margin-top: 10px;
  font-weight: 800;
  font-size: 13px;
  color: #4e4538;
  text-align: center;
}

.top-v2-schedule-snap[data-band="day"] { transform: scale(0.96) rotate(-2.5deg); }
.top-v2-schedule-snap[data-band="evening"] { transform: scale(0.96) rotate(1.5deg); }
.top-v2-schedule-snap[data-band="night"] { transform: scale(0.96) rotate(-1deg); }
.top-v2-schedule-snap[data-band="morning"] { transform: scale(0.96) rotate(2deg); }
.top-v2-schedule-snap[data-band="preview"] { transform: scale(0.96) rotate(0.8deg); }

.top-v2-schedule-snap.is-active {
  opacity: 1;
  z-index: 1;
}

.top-v2-schedule-snap[data-band="day"].is-active { transform: scale(1) rotate(-2.5deg); }
.top-v2-schedule-snap[data-band="evening"].is-active { transform: scale(1) rotate(1.5deg); }
.top-v2-schedule-snap[data-band="night"].is-active { transform: scale(1) rotate(-1deg); }
.top-v2-schedule-snap[data-band="morning"].is-active { transform: scale(1) rotate(2deg); }
.top-v2-schedule-snap[data-band="preview"].is-active { transform: scale(1) rotate(0.8deg); }

/* モデルコースSP: PCの連動スナップを、本文を隠さない小さなカードとして残す */
@media (max-width: 767px) {
  .top-v2-schedule-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .top-v2-schedule-grid .top-v2-timeline {
    grid-row: 2;
  }

  .top-v2-schedule-snaps {
    display: block;
    grid-row: 1;
    position: sticky;
    top: 64px;
    z-index: 6;
    width: min(100%, 340px);
    height: 96px;
    margin: 0 auto 26px;
    pointer-events: none;
  }

  .top-v2-schedule-snap {
    inset: 0;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 88px;
    padding: 7px 12px 7px 7px;
    box-shadow: 6px 7px 0 #cfe0e8;
  }

  .top-v2-schedule-snap img {
    width: 112px;
    height: 74px;
  }

  .top-v2-schedule-snap figcaption {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
  }

  .top-v2-schedule-snap[data-band="day"] { transform: translateY(7px) scale(0.97) rotate(-1.4deg); }
  .top-v2-schedule-snap[data-band="evening"] { transform: translateY(7px) scale(0.97) rotate(1deg); }
  .top-v2-schedule-snap[data-band="night"] { transform: translateY(7px) scale(0.97) rotate(-0.7deg); }
  .top-v2-schedule-snap[data-band="morning"] { transform: translateY(7px) scale(0.97) rotate(1.2deg); }
  .top-v2-schedule-snap[data-band="preview"] { transform: translateY(7px) scale(0.97) rotate(0.6deg); }
  .top-v2-schedule-snap[data-band="day"].is-active { transform: translateY(0) scale(1) rotate(-1.4deg); }
  .top-v2-schedule-snap[data-band="evening"].is-active { transform: translateY(0) scale(1) rotate(1deg); }
  .top-v2-schedule-snap[data-band="night"].is-active { transform: translateY(0) scale(1) rotate(-0.7deg); }
  .top-v2-schedule-snap[data-band="morning"].is-active { transform: translateY(0) scale(1) rotate(1.2deg); }
  .top-v2-schedule-snap[data-band="preview"].is-active { transform: translateY(0) scale(1) rotate(0.6deg); }
}

@media (max-width: 374px) {
  .top-v2-schedule-snap {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 9px;
    padding-right: 9px;
  }

  .top-v2-schedule-snap img {
    width: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-v2-schedule-snap {
    transition: none;
  }
}

/* --- friends/index.html 追補: 夜パート（19:30-22:00）の黒板ネイビー演出 --- */
.top-v2-timeline-item--night .top-v2-timeline-body {
  padding: 14px 18px;
  border-radius: 12px;
  background-color: #2a4750;
  background-image:
    radial-gradient(circle 1.5px, rgba(255, 248, 232, 0.5) 1.5px, transparent 2px),
    radial-gradient(circle 1.5px, rgba(255, 248, 232, 0.35) 1.5px, transparent 2px),
    radial-gradient(circle 1.5px, rgba(255, 248, 232, 0.4) 1.5px, transparent 2px);
  background-repeat: no-repeat;
  background-position: 12% 20%, 82% 65%, 45% 85%;
}

.top-v2-timeline-item--night .top-v2-timeline-body h3 {
  color: #fff8e8;
}

.top-v2-timeline-item--night .top-v2-timeline-body p {
  color: rgba(255, 248, 232, 0.85);
}

.top-v2-timeline-item--night .top-v2-timeline-label {
  background: rgba(255, 248, 232, 0.16);
  color: #fff8e8;
}

.top-v2-timeline-item--night .top-v2-inline-link {
  color: #9ed3e6;
}

/* 時間割2カラム時はnarrowコンテナを広げる（左372px圧迫の解消） */
@media (min-width: 992px) {
  #schedule .top-v2-scene-inner--narrow {
    max-width: 1080px;
  }
}

/* .l-main{overflow:hidden}がstickyを無効化するため、クリップ挙動は保ったまま
   スクロールコンテナ化だけ解除（非対応ブラウザはhiddenのまま=無害） */
@media (min-width: 992px) {
  .l-main {
    overflow: clip;
  }
}

/* 夜行チップ統一: nth-child(even)ルールとの特異性競合を解消し3枚とも桃色に */
.top-v2-timeline-item.top-v2-timeline-item--night .top-v2-timeline-label {
  background: #ffe9d2;
  color: #bd5b11;
}

/* --- friends/index.html 追補: できることカード アルバム貼り写真化（#can-doのみ） --- */
#can-do .top-v2-scene-cards .top-v2-scene-card {
  box-shadow: 10px 10px 0 #cfe0e8;
  transform: rotate(0deg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#can-do .top-v2-scene-cards .top-v2-scene-card:nth-child(1) {
  transform: rotate(-1.4deg);
}

#can-do .top-v2-scene-cards .top-v2-scene-card:nth-child(2) {
  transform: rotate(1.1deg);
}

#can-do .top-v2-scene-cards .top-v2-scene-card:nth-child(3) {
  transform: rotate(-0.9deg);
}

#can-do .top-v2-scene-cards .top-v2-scene-card:nth-child(4) {
  transform: rotate(1.3deg);
}

#can-do .top-v2-scene-cards .top-v2-scene-card:hover {
  transform: rotate(0deg) translateY(-6px);
}

@media (prefers-reduced-motion: reduce) {
  #can-do .top-v2-scene-cards .top-v2-scene-card {
    transition: box-shadow 0.25s ease;
  }
}

/* --- friends/index.html 追補: できることカード 科目札チップ --- */
#can-do .top-v2-scene-card-photo {
  position: relative;
  overflow: visible;
}

.top-v2-scene-card-tag {
  position: absolute;
  top: 10px;
  left: -8px;
  z-index: 1;
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: #fff8e8;
  color: #2f7890;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.6;
  transform: rotate(-3deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

#can-do .top-v2-scene-card:nth-child(4) .top-v2-scene-card-tag {
  background: #2a4750;
  color: #fff8e8;
}

/* --- friends/index.html 追補: あそび物量ティッカー 視認性強化 --- */
.top-v2-ticker {
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.top-v2-ticker li {
  font-size: clamp(15px, 1.8vw, 18px);
}

/* --- friends/index.html 追補: となりの教室も、のぞいてみる？ 教室札（ホーロー札）風ラベル --- */
.top-v2-otherscenes-cards a {
  overflow: hidden;
}

.top-v2-otherscenes-cards a:hover {
  transform: translateY(-6px);
}

.top-v2-otherscenes-cards img {
  transition: transform 0.25s ease;
}

.top-v2-otherscenes-cards a:hover img {
  transform: scale(1.04);
}

.top-v2-otherscenes-label {
  position: relative;
  z-index: 1;
  margin-top: -14px;
  display: inline-block;
  padding: 4px 14px;
  background: #2a4750;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 4px;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.top-v2-otherscenes-cards a:hover .top-v2-otherscenes-label {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .top-v2-otherscenes-cards a,
  .top-v2-otherscenes-cards img {
    transition: none;
  }
}

/* --- friends/index.html 追補: 予約フロー番号バッジ・通学路・最終ステップ --- */
.top-v2-flow li {
  position: relative;
}

.top-v2-flow-num {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #2f7890;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 3px 8px rgba(30, 40, 45, 0.25);
}

.top-v2-flow li:last-child .top-v2-flow-num {
  background: #f0831e;
}

.top-v2-flow li:last-child {
  border-color: #f0831e;
  border-width: 2px;
}

@media (min-width: 992px) {
  .top-v2-flow li:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: -22px;
    transform: translateY(-50%);
    color: #2f7890;
    font-weight: 900;
    font-size: 20px;
    line-height: 1;
    z-index: 1;
  }
}

@media (max-width: 991px) {
  .top-v2-flow {
    gap: 30px;
  }

  .top-v2-flow li:not(:last-child)::after {
    content: "▼";
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    color: #2f7890;
    font-weight: 900;
    font-size: 14px;
    line-height: 1;
  }
}

.top-v2-flow-next {
  text-align: center;
  margin-top: 28px;
  color: #2f7890;
  font-weight: 800;
}

/* --- friends/index.html 追補: 黒板の人数タブ --- */
.top-v2-chalk-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 auto 18px;
}

.top-v2-chalk-tab {
  border: 2px dashed rgba(47, 120, 144, 0.5);
  background: transparent;
  color: #2f7890;
  border-radius: 10px;
  font-weight: 900;
  padding: 8px 22px;
  font-size: 15px;
  cursor: pointer;
}

.top-v2-chalk-tab:hover {
  border-style: solid;
}

.top-v2-chalk-tab.is-on {
  background: #2f7890;
  color: #fff8e8;
  border-style: solid;
}

.chalk-rewrite {
  animation: top-v2-chalk-rewrite 0.25s ease;
}

@keyframes top-v2-chalk-rewrite {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .chalk-rewrite {
    animation: none;
  }
}

/* --- friends/index.html 追補: せんせいより注記カード --- */
.top-v2-teacher-note {
  background: #fff8e8;
  border-radius: 12px;
  padding: 16px 22px;
  max-width: 560px;
  margin: 0 auto;
}

.top-v2-teacher-note-label {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 900;
  color: #bd5b11;
}

.top-v2-teacher-note .top-v2-price-notes--center {
  margin-top: 0;
}

/* 縦積み時の▼はバッジの背後に隠れて見えないため撤去（バッジが区切りを兼ねる） */
@media (max-width: 991px) {
  ol.top-v2-flow li:not(:last-child)::after {
    content: none;
  }
}

/* PCの→矢印がgap20pxでは隣ボックスに接触するため間隔を確保 */
@media (min-width: 992px) {
  ol.top-v2-flow {
    gap: 30px;
  }
}

/* --- friends/index.html 追補: マスキングテープ演出（写真を貼った風） --- */

/* 1. ヒーロー実写写真：左上=tape-4、右上=tape-3 */
.top-v2-scene-hero-photo {
  position: relative;
  overflow: visible;
}

.top-v2-scene-hero-photo::before,
.top-v2-scene-hero-photo::after {
  content: "";
  position: absolute;
  top: -18px;
  width: 110px;
  height: 44px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  z-index: 2;
}

.top-v2-scene-hero-photo::before {
  left: 18px;
  background-image: url(/assets/img/tape-4.png);
  transform: rotate(-8deg);
}

.top-v2-scene-hero-photo::after {
  right: 18px;
  background-image: url(/assets/img/tape-3.png);
  transform: rotate(7deg);
}

@media (max-width: 767px) {
  .top-v2-scene-hero-photo::before,
  .top-v2-scene-hero-photo::after {
    width: 90px;
    height: 36px;
  }
}

/* 2. できることカード（#can-do）：上辺中央にテープ、カードの傾きと逆位相 */
/* カード本体のoverflow:hiddenがテープのはみ出しを切り取るため上書き */
#can-do .top-v2-scene-cards .top-v2-scene-card {
  overflow: visible;
}

#can-do .top-v2-scene-card-photo::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  width: 110px;
  height: 44px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  z-index: 2;
}

#can-do .top-v2-scene-cards .top-v2-scene-card:nth-child(1) .top-v2-scene-card-photo::before {
  background-image: url(/assets/img/tape-1.png);
  transform: translateX(-50%) rotate(4deg);
}

#can-do .top-v2-scene-cards .top-v2-scene-card:nth-child(2) .top-v2-scene-card-photo::before {
  background-image: url(/assets/img/tape-2.png);
  transform: translateX(-50%) rotate(-3deg);
}

#can-do .top-v2-scene-cards .top-v2-scene-card:nth-child(3) .top-v2-scene-card-photo::before {
  background-image: url(/assets/img/tape-3.png);
  transform: translateX(-50%) rotate(3deg);
}

#can-do .top-v2-scene-cards .top-v2-scene-card:nth-child(4) .top-v2-scene-card-photo::before {
  background-image: url(/assets/img/tape-4.png);
  transform: translateX(-50%) rotate(-4deg);
}

@media (max-width: 767px) {
  #can-do .top-v2-scene-card-photo::before {
    width: 90px;
    height: 36px;
  }
}

/* 3. 時間割スナップ写真：上辺中央にテープ、スナップの傾きと逆位相 */
.top-v2-schedule-snap::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  width: 110px;
  height: 44px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  z-index: 2;
}

.top-v2-schedule-snap:nth-child(1)::before {
  background-image: url(/assets/img/tape-2.png);
  transform: translateX(-50%) rotate(3deg);
}

.top-v2-schedule-snap:nth-child(2)::before {
  background-image: url(/assets/img/tape-4.png);
  transform: translateX(-50%) rotate(-2deg);
}

.top-v2-schedule-snap:nth-child(3)::before {
  background-image: url(/assets/img/tape-1.png);
  transform: translateX(-50%) rotate(2deg);
}

.top-v2-schedule-snap:nth-child(4)::before {
  background-image: url(/assets/img/tape-3.png);
  transform: translateX(-50%) rotate(-3deg);
}

.top-v2-schedule-snap[data-band="preview"]::before {
  background-image: url(/assets/img/tape-2.png);
  transform: translateX(-50%) rotate(1deg);
}

@media (max-width: 767px) {
  .top-v2-schedule-snap::before {
    width: 90px;
    height: 36px;
  }
}

/* --- friends/index.html 追補: 予約フロー ステップアイコン --- */
.top-v2-flow-icon {
  display: block;
  height: 64px;
  width: auto;
  margin: 14px auto 6px;
}

@media (max-width: 991px) {
  .top-v2-flow-icon {
    height: 56px;
  }
}

/* --- friends/index.html 追補: 合宿カード写真（22人集合写真）の顔位置調整 --- */
.top-v2-otherscenes-cards li:first-child img {
  object-fit: cover;
  object-position: 50% 62%;
}

/* --- friends/index.html 追補: となりの教室カード 教室ドア化 --- */
.top-v2-door {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 751 / 1344;
}

.top-v2-door-photo {
  position: absolute;
  left: 14.9%;
  top: 12.8%;
  width: 69.3%;
  height: 44.9%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* 顔位置調整ルール(li:first-child img)はドア窓内でも維持しつつ、枠画像には効かせない */
.top-v2-door-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: fill;
  object-position: center;
}

.top-v2-door-plate {
  position: absolute;
  left: 33.3%;
  top: 0.6%;
  width: 33.8%;
  height: 4.4%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4e4538;
  font-weight: 800;
  font-size: clamp(11px, 1.1vw, 14px);
  letter-spacing: 0.15em;
}

.top-v2-otherscenes-cards a:hover .top-v2-door-photo {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .top-v2-door-photo {
    transition: none;
  }
}

/* 旧構造の画像スタイル(3:2トリミング/枠なし/width:100%)がドア構造に干渉しないよう、詳細度を上げて無効化 */
.top-v2-otherscenes-cards .top-v2-door img {
  aspect-ratio: auto;
}

.top-v2-otherscenes-cards .top-v2-door img.top-v2-door-photo {
  width: 69.3%;
  height: 44.9%;
  transition: transform 0.3s ease;
}

.top-v2-otherscenes-cards .top-v2-door img.top-v2-door-frame {
  width: 100%;
  height: 100%;
}

.top-v2-otherscenes-cards a:hover .top-v2-door-frame {
  transform: none;
}

/* ドア構造化に伴い、写真直後の余白マージンをドア用に調整 */
.top-v2-otherscenes-cards a:hover .top-v2-door ~ .top-v2-otherscenes-label,
.top-v2-door + .top-v2-otherscenes-label {
  margin-top: 8px;
}

/* レイアウト: PC=3枚横並び(最大260px中央寄せ)、SP(767px以下)=1列(最大240px中央寄せ)縦積み */
.top-v2-otherscenes-cards {
  justify-items: center;
}

.top-v2-otherscenes-cards li {
  width: 100%;
  max-width: 260px;
}

@media (max-width: 767px) {
  .top-v2-otherscenes-cards li {
    max-width: 240px;
  }
}

/* --- friends/index.html 追補: 夜パネル 星空グラデーション重ね --- */
.top-v2-timeline-item--night .top-v2-timeline-body {
  background-image:
    radial-gradient(circle 1.5px, rgba(255, 248, 232, 0.5) 1.5px, transparent 2px),
    radial-gradient(circle 1.5px, rgba(255, 248, 232, 0.35) 1.5px, transparent 2px),
    radial-gradient(circle 1.5px, rgba(255, 248, 232, 0.4) 1.5px, transparent 2px),
    linear-gradient(180deg, #223c47 0%, #2a4750 40%);
  background-repeat: no-repeat;
  background-position: 12% 20%, 82% 65%, 45% 85%, 0 0;
}

/* --- friends/index.html 追補: 泊まる場所カード アルバム貼り写真化（#roomsのみ） --- */
#rooms .top-v2-scene-cards .top-v2-scene-card {
  overflow: visible;
  box-shadow: 10px 10px 0 #cfe0e8;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#rooms .top-v2-scene-cards .top-v2-scene-card:nth-child(1) {
  transform: rotate(-1deg);
}

#rooms .top-v2-scene-cards .top-v2-scene-card:nth-child(2) {
  transform: rotate(1.2deg);
}

#rooms .top-v2-scene-cards .top-v2-scene-card:hover {
  transform: rotate(0deg) translateY(-6px);
}

#rooms .top-v2-scene-card-photo {
  position: relative;
  overflow: visible;
}

#rooms .top-v2-scene-card-photo::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  width: 110px;
  height: 44px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  z-index: 2;
}

#rooms .top-v2-scene-cards .top-v2-scene-card:nth-child(1) .top-v2-scene-card-photo::before {
  background-image: url(/assets/img/tape-4.png);
  transform: translateX(-50%) rotate(-2deg);
}

#rooms .top-v2-scene-cards .top-v2-scene-card:nth-child(2) .top-v2-scene-card-photo::before {
  background-image: url(/assets/img/tape-2.png);
  transform: translateX(-50%) rotate(3deg);
}

@media (max-width: 767px) {
  #rooms .top-v2-scene-card-photo::before {
    width: 90px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #rooms .top-v2-scene-cards .top-v2-scene-card {
    transition: box-shadow 0.25s ease;
  }
}

/* --- friends/index.html 追補: FAQ Qチップ --- */
.top-v2-faq-q {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin-right: 10px;
  border-radius: 50%;
  background: #2f7890;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
}

.faq_title {
  display: flex;
  align-items: center;
}

/* --- friends/index.html 追補: できることカード 科目札の揺れ --- */
#can-do .top-v2-scene-card:hover .top-v2-scene-card-tag {
  transform: rotate(-1deg) scale(1.08);
  transition: transform 0.2s ease;
}

/* フロー番号バッジ: 数字が本文の茶色を継承して読めなかった不具合の修正 */
.top-v2-flow-num {
  color: #fff;
}

/* 上記修正の詳細度不足の追い直し（ol...li spanルールに勝つ） */
ol.top-v2-flow li span.top-v2-flow-num {
  color: #fff;
}

/* ===== オーナーフィードバック 2026-07-06 ===== */

/* 2. hero2ボタンの不揃い解消: 高さ統一・cta-bigの非対称パディング縮小 */
#hero .top-v2-cta-big {
  padding: 15px 100px 15px 34px;
  min-height: 60px;
  box-sizing: border-box;
}
#hero .top-v2-btn-outline {
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
}

/* 3. バナナ吹き出し: 60px→拡大して読めるジョークに */
.top-v2-faq-balloon {
  width: 112px;
}
@media (min-width: 768px) {
  .top-v2-faq-balloon {
    width: 168px;
    left: calc(50% - 320px);
    top: -46px;
    transform: rotate(-5deg);
  }
}

/* 4. FAQのQマーカーを吹き出し形に（左下だけ角を立てると吹き出しに読める） */
.top-v2-faq-q {
  border-radius: 50% 50% 50% 4px;
}

/* 6. LINE共有ボタンはLINEブランド色（緑禁止ルールの唯一の例外） */
.top-v2-btn-line {
  background: #06C755;
  border-color: #06C755;
  color: #fff;
}
.top-v2-btn-line:hover {
  background: #05b34c;
  border-color: #05b34c;
  color: #fff;
}

/* オーナーFB第2弾: heroの主従逆転を解消（見出し570px > 写真460px へ） */
@media (min-width: 992px) {
  .top-v2-scene-hero {
    grid-template-columns: minmax(0, 1.25fr) 1fr;
    gap: 48px;
  }
}

/* フロー番号: 36px円に13px数字が泳いでいた違和感の解消 */
ol.top-v2-flow li span.top-v2-flow-num {
  font-size: 18px;
  line-height: 36px;
  text-align: center;
}

/* 付箋1（お酒）: 黒板右上の太陽・音符の落書きと被っていたのを回避。
   PC=枠の上角に掛ける / SP=付箋2と対で枠下にぶら下げる */
.top-v2-chalkboard--art .top-v2-sticky--1 {
  top: -34px;
  right: -28px;
}
@media (max-width: 767px) {
  .top-v2-chalkboard--art .top-v2-sticky--1 {
    top: auto;
    bottom: -52px;
    right: -4px;
  }
  /* 付箋2枚を枠下にぶら下げる余白を確保（せんせいよりカードとの衝突回避） */
  .top-v2-chalkboard--art {
    margin-bottom: 64px;
  }
}

/* 円表記で数式が伸びたためSPでの折り返し(「円」の孤立)を防ぐ */
@media (max-width: 767px) {
  .top-v2-chalkboard--art .top-v2-chalk-formula {
    font-size: clamp(13px, 4vw, 17px);
    white-space: nowrap;
  }
}

/* FAQ Qマーカー再設計: 潰れたQ→しっぽ付き吹き出し、1行目に揃える */
#faq .top-v2-faq-q {
  width: 28px;
  height: 28px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  border-radius: 50%;
  align-self: flex-start;
  flex-shrink: 0;
  position: relative;
  margin-top: 1px;
}
#faq .top-v2-faq-q::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: -4px;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-top-color: #2f7890;
  border-left-color: #2f7890;
  transform: rotate(8deg);
}

/* Qがテーマの白フチ袋文字を継承して白い塊に見えていたのを解除 */
#faq .top-v2-faq-q {
  -webkit-text-stroke: 0;
  text-stroke: 0;
  text-shadow: none;
  paint-order: normal;
  color: #fff;
}

/* 夜パネルの星ドット撤去（文字の横に来ると汚れ/誤植に見える）＋本文の可読性UP */
.top-v2-timeline-item--night .top-v2-timeline-body {
  background-image: linear-gradient(180deg, #223c47 0%, #2a4750 40%);
}
.top-v2-timeline-item--night .top-v2-timeline-body p {
  color: #fff8e8;
  font-size: 15px;
}
.top-v2-timeline-body p {
  color: #4e4538;
  font-size: 15px;
}

/* タブレット帯(768-991): 付箋の左右はみ出しがoverflow:hiddenで切られるため内側へ */
@media (min-width: 768px) and (max-width: 991px) {
  .top-v2-chalkboard--art .top-v2-sticky--1 { right: 0; }
  .top-v2-chalkboard--art .top-v2-sticky--2 { left: 0; }
}

/* --- index.html 追補: 目的別入口 教室ドアカード --- */
.top-v2-doors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 22px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
.top-v2-doors a { display: block; text-decoration: none; color: inherit; text-align: center; }
.top-v2-doors a:hover .top-v2-door-photo { transform: scale(1.06); }
.top-v2-doors .top-v2-door img { aspect-ratio: auto; }
.top-v2-doors-label { display: block; margin-top: 12px; font-weight: 800; font-size: 17px; color: #333; }
.top-v2-doors a:hover .top-v2-doors-label { color: #2F7890; }
.top-v2-doors-note { display: block; margin-top: 4px; font-size: 13px; line-height: 1.6; color: #666; }
.top-v2-doors-gasshuku .top-v2-door-photo { object-position: 50% 62%; }
@media (max-width: 991px) {
  .top-v2-doors { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .top-v2-doors-label { font-size: 15px; }
  .top-v2-doors-note { font-size: 12px; }
}

/* 教室ドアのショート化: 何もない下半分の板を刈り込み、窓（写真）を主役に。
   ドア画像は natural比率のままコンテナ下端でクロップし、
   窓/札の座標は751:900コンテナ基準に再計算（元: 751:1344基準） */
.top-v2-door {
  aspect-ratio: 751 / 900;
  overflow: hidden;
  border-radius: 6px 6px 10px 10px;
}
.top-v2-otherscenes-cards .top-v2-door img.top-v2-door-frame,
.top-v2-doors .top-v2-door img.top-v2-door-frame {
  height: auto;
}
.top-v2-otherscenes-cards .top-v2-door img.top-v2-door-photo,
.top-v2-doors .top-v2-door img.top-v2-door-photo {
  top: 19.1%;
  height: 67%;
}
.top-v2-door-plate {
  top: 0.9%;
  height: 6.6%;
}

/* 人数タブ → チョーク風ステッパー（5〜30人の任意人数） */
.top-v2-chalk-stepper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.top-v2-chalk-step {
  width: 44px;
  height: 44px;
  border: 2px dashed rgba(47, 120, 144, 0.55);
  border-radius: 50%;
  background: transparent;
  color: #2f7890;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: border-style 0.15s, background 0.15s;
}
.top-v2-chalk-step:hover:not(:disabled) {
  border-style: solid;
  background: rgba(47, 120, 144, 0.08);
}
.top-v2-chalk-step:disabled {
  opacity: 0.3;
  cursor: default;
}
.top-v2-chalk-count {
  min-width: 88px;
  text-align: center;
  color: #2f7890;
  font-size: 24px;
  font-weight: 900;
}

/* --- index.html 追補: 料金セクション 付箋 --- */
.top-v2-price { position: relative; }
.top-v2-sticky--price1 { top: -26px; right: -6px; transform: rotate(3deg); }
.top-v2-sticky--price2 { bottom: 176px; left: -6px; transform: rotate(-2.5deg); }
@media (max-width: 991px) {
  .top-v2-sticky--price1, .top-v2-sticky--price2 {
    position: static;
    display: inline-block;
    margin: 10px 6px 0;
    transform: rotate(-1.5deg);
  }
}

/* ===== 教室ドア → 廊下の窓アートへ全面差し替え（C案採用） =====
   窓は1253x931横長。写真は左右ガラスの合算領域(左16.6% 上16.3% 幅73.7% 高59.4%)
   に1枚で敷き、中央の桟はアート側が写真の上に重なる */
.top-v2-door {
  aspect-ratio: 1253 / 931;
  border-radius: 8px;
}
.top-v2-otherscenes-cards .top-v2-door img.top-v2-door-frame {
  height: 100%;
}
.top-v2-otherscenes-cards .top-v2-door img.top-v2-door-photo {
  left: 16.6%;
  top: 16.3%;
  width: 73.7%;
  height: 59.4%;
}
.top-v2-door-plate {
  left: 39.9%;
  top: 0.6%;
  width: 21.4%;
  height: 5.2%;
}
/* 横長になったのでカード幅を拡張 */
@media (min-width: 768px) {
  .top-v2-otherscenes-cards li { max-width: 330px; }
}
@media (max-width: 767px) {
  .top-v2-otherscenes-cards li { max-width: 300px; }
}

/* 時間割: 夜の開始を明示するディバイダー（三日月＋点線） */
.top-v2-timeline-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 22px;
  color: #2a4750;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.08em;
  list-style: none;
}
.top-v2-timeline-divider::before,
.top-v2-timeline-divider::after {
  content: "";
  flex: 1;
  border-top: 2px dashed rgba(42, 71, 80, 0.35);
}
.top-v2-moon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: inset 5px -3px 0 0 #2a4750;
  flex-shrink: 0;
}

/* 料金セクションのリード（この時間割例に近い内容なら）を中央へ */
#price .top-v2-scene-lead {
  text-align: center;
}

/* SPで「まずは、定番の過ごし方から。」が2行に折れるのを防ぐ */
@media (max-width: 767px) {
  .top-v2-scene-title-mark {
    font-size: 21px;
  }
}

/* FAQ質問文の白袋文字（テーマ由来）を解除 */
#faq .faq_title {
  -webkit-text-stroke: 0;
  text-shadow: none;
  paint-order: normal;
}

/* ===== となりの教室: 窓アート廃止 → アルバム言語に統一（B案） =====
   テープ留め・白フチ・微回転・オフセット影＝定番/泊まるカードと同じ文法 */
.top-v2-scenecard-photo {
  display: block;
  position: relative;
  padding: 10px 10px 12px;
  background: #fff;
  box-shadow: 10px 10px 0 #cfe0e8;
  border-radius: 4px;
}
.top-v2-scenecard-photo::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  width: 104px;
  height: 42px;
  margin-left: -52px;
  background: url(/assets/img/tape-1.png) no-repeat center/contain;
  pointer-events: none;
  z-index: 2;
}
.top-v2-otherscenes-cards li:nth-child(1) .top-v2-scenecard-photo { transform: rotate(-1.6deg); }
.top-v2-otherscenes-cards li:nth-child(2) .top-v2-scenecard-photo { transform: rotate(1.2deg); }
.top-v2-otherscenes-cards li:nth-child(3) .top-v2-scenecard-photo { transform: rotate(-0.9deg); }
.top-v2-otherscenes-cards li:nth-child(2) .top-v2-scenecard-photo::before { background-image: url(/assets/img/tape-3.png); transform: rotate(5deg); }
.top-v2-otherscenes-cards li:nth-child(3) .top-v2-scenecard-photo::before { background-image: url(/assets/img/tape-4.png); transform: rotate(-4deg); }
.top-v2-scenecard-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 2px;
}
.top-v2-otherscenes-cards a:hover .top-v2-scenecard-photo {
  transform: rotate(0) translateY(-6px);
  transition: transform 0.25s;
}
@media (prefers-reduced-motion: reduce) {
  .top-v2-otherscenes-cards a:hover .top-v2-scenecard-photo { transition: none; }
}
/* ホーロー札は写真の下端に少し重ねる（batch2の元仕様に戻す） */
.top-v2-otherscenes-cards .top-v2-otherscenes-label {
  margin-top: -12px;
  position: relative;
  z-index: 2;
}

/* SPのhero2ボタン: 左右端を完全に揃える（相談ボタンだけ16px内側に居た） */
@media (max-width: 767px) {
  #hero .top-v2-scene-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  #hero .top-v2-btn-outline {
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }
  #hero .top-v2-cta-big {
    width: 100%;
    box-sizing: border-box;
  }
}

/* となりの教室カード: 旧ホバーズーム時代の overflow:hidden がテープを切断していたのを解除。
   ズームはカード自体のリフトに役目を譲り廃止（白フチからのはみ出し防止） */
.top-v2-otherscenes-cards a {
  overflow: visible;
}
.top-v2-otherscenes-cards a:hover img {
  transform: none;
}
/* 写真下の青いオフセット帯 → 印画紙らしい柔らかい影へ */
.top-v2-scenecard-photo {
  box-shadow: 0 10px 24px rgba(20, 50, 65, 0.16);
}

/* 動きの復活: 写真プリント全体が「持ち上がる」ホバー（クリップ不要なのでテープは切れない） */
.top-v2-otherscenes-cards a .top-v2-scenecard-photo {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.top-v2-otherscenes-cards a:hover .top-v2-scenecard-photo {
  transform: rotate(0deg) translateY(-8px) scale(1.03);
  box-shadow: 0 18px 32px rgba(20, 50, 65, 0.22);
}
@media (prefers-reduced-motion: reduce) {
  .top-v2-otherscenes-cards a .top-v2-scenecard-photo { transition: none; }
}

/* 朝のディバイダー（夜との対）: 昇る朝日 */
.top-v2-sun {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f0831e;
  flex-shrink: 0;
}

/* SPのバナナ吹き出し: 見出しの右肩に寄り添わせる（無所属で浮いていた） */
@media (max-width: 767px) {
  .top-v2-faq-titlewrap {
    position: relative;
  }
  .top-v2-faq-balloon {
    position: absolute;
    right: 6px;
    top: -46px;
    width: 96px;
    margin: 0;
    transform: rotate(6deg);
  }
}

/* バナナ吹き出し: SPは置き場が無く2案とも不自然だったため非表示に
   （§5「本文・CTAに重なる装飾はSPで非表示」の原則に準拠。PCは従来通り） */
@media (max-width: 767px) {
  .top-v2-faq-balloon {
    display: none;
  }
}

/* 訂正: SPのバナナ吹き出しは非表示ではなく「見出しの左肩」に（オーナー指定） */
@media (max-width: 767px) {
  .top-v2-faq-balloon {
    display: block;
    position: absolute;
    left: 4px;
    right: auto;
    top: -46px;
    width: 94px;
    margin: 0;
    transform: rotate(-6deg);
  }
}

/* ===== 「あの頃の放課後」3ブロック: friendsのアルバム文法を移植 =====
   写真=白フチ+マステ+柔影（.top-v2-scenecard-photo）。吹き出し・小物は
   写真ラッパー（.memory-image、position:relativeはlp-style.css由来）基準で
   角にアンカーし、「素材が余白に浮く」状態を解消する。 */

/* 写真を白フチ・マステ・微回転カードに（friendsの.top-v2-scenecard-photoを流用） */
#usagescene .top-v2-usagescene-photo {
  width: 100%;
}

#usagescene .top-v2-usagescene-photo img,
#usagescene .top-v2-usagescene-photo picture {
  display: block;
}

#usagescene .top-v2-usagescene-photo--1 { transform: rotate(-1.5deg); }
#usagescene .top-v2-usagescene-photo--2 { transform: rotate(1.2deg); }
#usagescene .top-v2-usagescene-photo--3 { transform: rotate(-0.9deg); }

/* テープの柄をブロックごとに変える（friendsの:nth-child書式を単一クラスへ移植） */
#usagescene .top-v2-usagescene-photo--2::before {
  background-image: url(/assets/img/tape-3.png);
  transform: rotate(5deg);
}
#usagescene .top-v2-usagescene-photo--3::before {
  background-image: url(/assets/img/tape-4.png);
  transform: rotate(-4deg);
}

/* memory-image を吹き出し・小物のアンカー基準に */
#usagescene .memory-image {
  overflow: visible;
}

/* 吹き出し: 写真の角に3〜4割重ね、外へ6〜7割はみ出す「貼った感」 */
#usagescene .top-v2-usagescene-bubble {
  position: absolute;
  width: 58%;
  max-width: none;
  margin: 0;
  z-index: 5;
}

#usagescene .memory-image--right01 .top-v2-usagescene-bubble {
  right: -22%;
  top: -30%;
  transform: rotate(5deg);
}

#usagescene .memory-image--left01 .top-v2-usagescene-bubble {
  left: -14%;
  bottom: -32%;
  top: auto;
  transform: rotate(-6deg);
}

#usagescene .stay-img .top-v2-usagescene-bubble {
  left: 4%;
  right: auto;
  top: -34%;
  transform: rotate(-5deg);
}

/* 小物: 写真の縁から少しはみ出す位置（吹き出しと同じ角は避ける） */
#usagescene .top-v2-usagescene-trinket {
  position: absolute;
  z-index: 4;
  pointer-events: none;
}

#usagescene .memory-image--left01 .top-v2-usagescene-trinket.top-v2-food-piece--grill {
  width: 78px;
  right: -30px;
  bottom: -26px;
  top: auto;
  left: auto;
  transform: rotate(6deg);
}

#usagescene .stay-img .top-v2-usagescene-trinket.slippers {
  position: absolute;
  width: 96px;
  left: auto;
  right: -34px;
  bottom: -22px;
  top: auto;
  transform: rotate(-8deg) scale(1);
  transform-origin: bottom right;
}

/* PC: グリッドの間延び是正＋縦リズム圧縮（現状の約2/3） */
@media (min-width: 992px) {
  #usagescene .memory-item1 {
    column-gap: 28px;
    margin-bottom: 78px;
  }

  #usagescene .memory-item1 .memory-image {
    width: 560px;
    max-width: 560px;
  }

  #usagescene .memory-title01 img,
  #usagescene .memory-title02 img {
    width: min(300px, 100%);
  }

  #usagescene .memory-title03 img {
    width: min(340px, 100%);
  }
}

/* SP: 吹き出し幅を写真の55%に、小物はやや控えめに、縦間隔を圧縮 */
@media (max-width: 991px) {
  #usagescene .memory-item1 {
    margin-bottom: 56px;
  }

  #usagescene .top-v2-usagescene-bubble {
    width: 46%;
  }

  #usagescene .memory-image--right01 .top-v2-usagescene-bubble {
    right: 3%;
    left: auto;
    top: 30%;
    bottom: auto;
  }

  #usagescene .memory-image--left01 .top-v2-usagescene-bubble {
    left: 3%;
    right: auto;
    top: auto;
    bottom: 4%;
  }

  #usagescene .stay-img .top-v2-usagescene-bubble {
    left: auto;
    right: 3%;
    top: 30%;
    bottom: auto;
  }

  #usagescene .memory-image--left01 .top-v2-usagescene-trinket.top-v2-food-piece--grill {
    width: 58px;
    right: -16px;
    bottom: -16px;
  }

  #usagescene .stay-img .top-v2-usagescene-trinket.slippers {
    width: 66px;
    left: -14px;
    right: auto;
    bottom: -12px;
  }
}

@media (max-width: 767px) {
  #usagescene .memory-item1 {
    margin-bottom: 44px;
  }
}

/* ===== 目的別入口カード: 教室ドア型 → friendsのアルバム文法に統一 =====
   オーナーが教室ドア構造を2回却下し最終承認した .top-v2-scenecard-photo
   （実写＋白フチ＋マステ＋自然影＋ホーロー札）を .top-v2-doors にも適用する。 */
.top-v2-doors a {
  overflow: visible;
}
.top-v2-doors .top-v2-scenecard-photo img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}
.top-v2-doors-gasshuku .top-v2-scenecard-photo img {
  object-position: 50% 62%;
}

/* カードごとの微回転とマステ柄（friendsのnth-child書式を4枚用に拡張） */
.top-v2-doors li:nth-child(1) .top-v2-scenecard-photo { transform: rotate(-1.5deg); }
.top-v2-doors li:nth-child(2) .top-v2-scenecard-photo { transform: rotate(1.1deg); }
.top-v2-doors li:nth-child(3) .top-v2-scenecard-photo { transform: rotate(-0.9deg); }
.top-v2-doors li:nth-child(4) .top-v2-scenecard-photo { transform: rotate(1.4deg); }
.top-v2-doors li:nth-child(1) .top-v2-scenecard-photo::before {
  background-image: url(/assets/img/tape-1.png);
}
.top-v2-doors li:nth-child(2) .top-v2-scenecard-photo::before {
  background-image: url(/assets/img/tape-3.png);
  transform: rotate(5deg);
}
.top-v2-doors li:nth-child(3) .top-v2-scenecard-photo::before {
  background-image: url(/assets/img/tape-4.png);
  transform: rotate(-4deg);
}
.top-v2-doors li:nth-child(4) .top-v2-scenecard-photo::before {
  background-image: url(/assets/img/tape-2.png);
  transform: rotate(3deg);
}

/* ホバー: プリントごと持ち上がる（friendsの.top-v2-otherscenes-cards同様） */
.top-v2-doors a .top-v2-scenecard-photo {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.top-v2-doors a:hover .top-v2-scenecard-photo {
  transform: rotate(0deg) translateY(-8px) scale(1.03);
  box-shadow: 0 18px 32px rgba(20, 50, 65, 0.22);
}
@media (prefers-reduced-motion: reduce) {
  .top-v2-doors a .top-v2-scenecard-photo { transition: none; }
}

/* ラベルのホーロー札化（friendsの.top-v2-otherscenes-labelと同仕様） */
.top-v2-doors .top-v2-doors-label {
  background: #2a4750;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 4px;
  letter-spacing: 0.08em;
  font-weight: 800;
  padding: 4px 14px;
  display: inline-block;
  margin-top: -12px;
  position: relative;
  z-index: 2;
}

/* くわしく→ 誘導リンク */
.top-v2-doors-more {
  color: #2f7890;
  font-weight: 800;
  font-size: 13px;
  display: inline-block;
  margin-top: 6px;
}
.top-v2-doors a:hover .top-v2-doors-more {
  text-decoration: underline;
}

/* --- 所在地セクション: 地図の額装＋情報カード化（2カラム） --- */
.top-v2-address-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* 地図の額装 */
.top-v2-map-frame {
  position: relative;
  overflow: visible;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(20, 50, 65, 0.16);
}

.top-v2-map-frame .l-address_map {
  margin-bottom: 0;
  line-height: 0;
  border-radius: 6px;
  overflow: hidden;
}

.top-v2-map-frame .l-address_map iframe {
  display: block;
}

.top-v2-map-frame::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  width: 110px;
  height: 44px;
  background: url(/assets/img/tape-1.png) no-repeat center/contain;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
}

@media (max-width: 767px) {
  .top-v2-map-frame::before {
    width: 90px;
    height: 36px;
  }
}

/* 情報のカード化 */
.top-v2-address-card {
  background: #fff8e8;
  border-radius: 12px;
  padding: 18px 22px;
  max-width: 480px;
}

.top-v2-address-card .l-address_info {
  text-align: left;
}

.top-v2-address-card .l-address_info + .l-address_info {
  margin-top: 22px;
}

.top-v2-address-card .l-address_infoTitle {
  font-weight: 800;
  color: #2f7890;
}

.top-v2-address-card .top-v2-actions {
  margin-top: 22px;
}

@media (min-width: 768px) {
  .top-v2-address-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }

  .top-v2-address-layout .top-v2-map-frame,
  .top-v2-address-layout .top-v2-address-card {
    flex: 1 1 50%;
    min-width: 0;
  }
}

/* --- index.html 追補: 料金セクション「黒板＋人数ステッパー」移植（friends流用） --- */
/* 日帰りカード: 1行のみで右側が空くため、既存のMVバッジ画像を軽く添えてバランスを取る */
.top-v2-price-card--day {
  position: relative;
}

.top-v2-price-day-badge {
  display: none;
}

@media (min-width: 768px) {
  .top-v2-price-day-badge {
    display: block;
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%) rotate(6deg);
    width: 84px;
    height: auto;
    filter: drop-shadow(0 3px 8px rgba(20, 50, 65, 0.18));
  }

  .top-v2-price-card--day .top-v2-price-rows {
    max-width: 78%;
  }
}

/* 吹き出しのSP配置修正: 写真中央で人物に被っていた → 人のいない縁へ
   （遊んで=床のある右下、食べて=窓のある右上、泊まれる=左上）縦は枠外に逃がす */
@media (max-width: 767px) {
  #usagescene .memory-image--right01 .top-v2-usagescene-bubble {
    right: 2%;
    left: auto;
    top: auto;
    bottom: -12%;
  }
  #usagescene .memory-image--left01 .top-v2-usagescene-bubble {
    right: 2%;
    left: auto;
    top: -10%;
    bottom: auto;
  }
  #usagescene .stay-img .top-v2-usagescene-bubble {
    left: 2%;
    right: auto;
    top: -10%;
  }
}

/* 目的別カード: PCは4列→2×2（写真主役の大きさを確保、ラベルの変な折返しも解消） */
@media (min-width: 992px) {
  .top-v2-doors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1000px;
    gap: 44px 40px;
  }
}

/* 食べて吹き出し: 右上はタイトル画像と重なるため右下（机のみの領域）へ */
@media (max-width: 767px) {
  #usagescene .memory-image--left01 .top-v2-usagescene-bubble {
    top: auto;
    bottom: -12%;
  }
}

/* 放課後の吹き出し: SPは写真上で人物・タイトルとの場所の取り合いになるため
   非表示（§5原則）。PCは余白への掛かりが自然なので継続 */
@media (max-width: 767px) {
  #usagescene .top-v2-usagescene-bubble {
    display: none;
  }
}

/* 放課後の吹き出し: PC配置も不自然とのオーナー判断で全面引退。
   写真・テープ・生成タイトルでセクションは成立している */
#usagescene .top-v2-usagescene-bubble {
  display: none;
}

/* 目的別カード: Bootstrap .list-unstyled の padding-left:0 に食われて
   左余白だけ消えていたのを復元（左右対称に） */
ul.top-v2-doors.list-unstyled {
  padding-left: 16px !important; /* テーマ側の強制リセットに勝てないため */
}

/* 見出しマーカー: 2行時に帯がブロック全体に1回だけ掛かり
   下行だけ浮いて見えるのを、行ごとに帯を複製して解消 */
.top-v2-scene-title-mark {
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 6px;
}

/* せんせいより: 素の注記カード → 学校のプリント（おたより）風に演出
   事実文言は不変。ノート罫線・左マージン線・テープ留め・「だいじ」スタンプ */
.top-v2-teacher-note {
  position: relative;
  transform: rotate(-0.4deg);
  background: #fff8e8;
  border-left: 3px solid rgba(47, 120, 144, 0.35);
  box-shadow: 0 6px 18px rgba(20, 50, 65, 0.10);
}
.top-v2-teacher-note::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  width: 104px;
  height: 42px;
  margin-left: -52px;
  background: url(/assets/img/tape-3.png) no-repeat center/contain;
  pointer-events: none;
}
.top-v2-teacher-note::after {
  content: "だいじ";
  position: absolute;
  top: -16px;
  right: -12px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid rgba(240, 131, 30, 0.75);
  border-radius: 50%;
  color: rgba(240, 131, 30, 0.85);
  font-size: 13px;
  font-weight: 900;
  transform: rotate(10deg);
  pointer-events: none;
}
.top-v2-teacher-note .top-v2-price-notes li {
  margin: 0;
  padding: 0;
  line-height: 28px;
}
.top-v2-teacher-note .top-v2-price-notes li::first-letter {
  color: #f0831e;
  font-weight: 900;
}
@media (max-width: 767px) {
  .top-v2-teacher-note::after { width: 46px; height: 46px; font-size: 11px; top: -12px; right: -6px; }
}

/* シーズントグル（平日/土日祝）: 既存チョークタブ意匠を流用 */
.top-v2-chalk-season {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

/* せんせいより: 罫線の位相ズレ修正 — 罫線をカードでなくリスト自身に敷き、
   1行目から必ず行の真下に線が来るようにする */
.top-v2-teacher-note {
  background: #fff8e8;
}
.top-v2-teacher-note .top-v2-price-notes {
  margin: 0;
  padding: 0;
  line-height: 28px;
  background-image: repeating-linear-gradient(
    transparent 0,
    transparent 27px,
    rgba(47, 120, 144, 0.14) 27px,
    rgba(47, 120, 144, 0.14) 28px
  );
  background-position: 0 0;
}

/* 料金セクション: 上パディングが二重(.py-sm-5の48px + .pt-5の48px)で
   カード群との間が144pxに間延び。内側の重複分を削り§5目標の96pxへ */
#price .l-section_inner.pt-5 {
  padding-top: 0 !important;
}

/* セクション余白の間延び一掃（#priceと同種の重複パディング）
   目標: 各セクション上下48px＝境界96px（§5リズム）に統一 */
/* #location: 上96(pt-5+py-sm-5)/下144(pb-5+pb-sm-5+py-sm-5)の重複を解消 */
#location .l-section_inner {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
#location .l-section_bg--lightgray {
  padding-bottom: 0 !important;
}
/* #flow: 上下とも py-5(inner)+l-section の二重 → innerを無効化 */
#flow .l-section_inner {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* ===== family/index.html 追補 ===== */

/* ヒーローh1をテキスト見出しに（専用ロゴ画像が用意でき次第、friendsと同様の画像h1に差し替え予定） */
.top-v2-scene-h1text {
  font-size: clamp(30px, 5.2vw, 60px);
  font-weight: 900;
  color: #2f7890;
  line-height: 1.3;
}

/* 他シーンカードの並び順がfriendsと異なるため、カード位置(li:first-child)依存だった
   顔位置調整をsrc指定で写真ごとに再固定する（friendsページの表示には影響しない） */
.top-v2-otherscenes-cards img[src*="university_friends"] {
  object-fit: cover;
  object-position: 50% 62%;
}
.top-v2-otherscenes-cards img[src*="friends-entrance-group"] {
  object-position: center;
}

/* --- family/index.html 追補: 家族向け3種ステッパー（おとな・小学生・3〜5歳） --- */
.top-v2-chalk-family { display: flex; flex-direction: column; gap: 8px; align-items: center; margin-bottom: 14px; }
.top-v2-chalk-frow { display: flex; align-items: center; gap: 12px; }
.top-v2-chalk-flabel { width: 68px; text-align: right; color: #2f7890; font-weight: 900; font-size: 15px; }
.top-v2-chalk-fcount { min-width: 44px; text-align: center; color: #2f7890; font-weight: 900; font-size: 20px; }
/* 家族版は数式が長いので黒板内で1行に収める */
.top-v2-chalkboard--art .top-v2-chalk-formula { white-space: nowrap; }
@media (max-width: 767px) {
  .top-v2-chalkboard--art .top-v2-chalk-formula { font-size: clamp(12px, 3.6vw, 16px); }
  .top-v2-chalk-flabel { width: 60px; font-size: 14px; }
}

/* シーズントグル: 平日(2字)/土日祝(3字)の幅差で右重りに見えるのを、等幅化で解消 */
.top-v2-chalk-season .top-v2-chalk-tab {
  min-width: 132px;
  text-align: center;
}

/* 家族ステッパー: 数字を黒板の中心軸に揃える（ラベルは数字の左へ寄せる）。
   1fr[ラベル] − 数 ＋ 1fr の5カラムで、両端1frが等幅→数字が行の中央＝黒板中央 */
.top-v2-chalk-family .top-v2-chalk-frow {
  display: grid;
  grid-template-columns: 60px auto auto auto 60px;
  align-items: center;
  column-gap: 12px;
}
.top-v2-chalk-family .top-v2-chalk-flabel {
  grid-column: 1;
  justify-self: end;
  width: auto;
  white-space: nowrap;
}

/* FAQ答えのテーマ由来の白袋文字(text-shadow16枚)を解除。top-v2.cssが最後に
   読まれるためlp-styleに勝つ。灰/白背景では白縁は不要で違和感が出るため */
.faq_body {
  text-shadow: none;
}

/* トグル/ステッパーは連打するので、モバイルのダブルタップ拡大を抑止（タップは維持） */
.top-v2-chalk-tab,
.top-v2-chalk-step {
  touch-action: manipulation;
}

/* 給食トグル行（家族黒板） */
.top-v2-chalk-mealrow {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.top-v2-chalk-meal {
  min-width: 0;
  font-size: 14px;
}

/* タッチ端末のホバー代替: 押している間プリントが沈む（hover演出のタッチ版） */
@media (hover: none) {
  .top-v2-otherscenes-cards a:active .top-v2-scenecard-photo,
  .top-v2-doors a:active .top-v2-scenecard-photo {
    transform: rotate(0deg) scale(0.97);
    box-shadow: 0 4px 12px rgba(20, 50, 65, 0.18);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
  }
  .top-v2-chalk-step:active:not(:disabled),
  .top-v2-chalk-tab:active {
    transform: scale(0.92);
    transition: transform 0.1s ease;
  }
}

/* 家族黒板のアレルギー付箋: 右下に低く垂れていたのを右中段（落書きの下）へ引き上げ。
   黒板右上の☀♪落書き(上部~28%)は避け、本文は中央寄せで付箋は右外へ逃がす */
#price .top-v2-chalkboard--art .top-v2-sticky--1 {
  top: 81%;
  bottom: auto;
  right: -10px;
}
/* 料金黒板の付箋撤去後は、せんせいよりとの間隔を通常のセクション間隔へ戻す。 */
#price .top-v2-chalkboard--art {
  margin-bottom: 24px;
}

/* 合宿ページ #support: 幹事さんの負担を減らす4カード。top-v2-price-cardの色調・角丸を踏襲 */
.top-v2-support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.top-v2-support-card {
  background: #fff;
  border: 2px solid #2f7890;
  border-radius: 14px;
  padding: 24px 26px;
  box-shadow: 0 4px 14px rgba(47, 120, 144, 0.12);
}

.top-v2-support-card h3 {
  margin: 0 0 10px;
  font-size: clamp(16px, 1.9vw, 19px);
  font-weight: 900;
  color: #2f7890;
}

.top-v2-support-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #2e2518;
}

@media (max-width: 767px) {
  .top-v2-support-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .top-v2-support-card {
    padding: 20px;
  }
}

/* 合宿のしおり: 運営サポートをプリント風に（せんせいよりと同じ言語） */
.top-v2-shiori {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 22px 26px;
  background: #fff8e8;
  border-left: 3px solid rgba(47, 120, 144, 0.35);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(20, 50, 65, 0.10);
  transform: rotate(-0.4deg);
}
.top-v2-shiori::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  width: 104px;
  height: 42px;
  margin-left: -52px;
  background: url(/assets/img/tape-1.png) no-repeat center/contain;
  pointer-events: none;
}
.top-v2-shiori-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 26px;
  margin-top: 14px;
}
@media (max-width: 767px) {
  .top-v2-shiori-list { grid-template-columns: 1fr; }
}
.top-v2-shiori-item h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: #2f7890;
  font-size: 16px;
  font-weight: 900;
}
.top-v2-shiori-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2f7890;
  color: #fff;
  font-size: 13px;
  flex-shrink: 0;
}
.top-v2-shiori-item p {
  margin: 0;
  color: #4e4538;
  font-size: 14px;
  line-height: 1.7;
}

/* 食事トグル2つ並び（合宿黒板） */
.top-v2-chalk-mealrow {
  flex-wrap: wrap;
  gap: 10px;
}

/* きょうの食事: 5ボタンを折りたたみ、普段は1行の献立表示に */
.top-v2-chalk-menu {
  max-width: 560px;
  margin: 0 auto 12px;
}
.top-v2-chalk-menu-summary {
  display: block;
  list-style: none;
  cursor: pointer;
  text-align: center;
  padding: 9px 18px;
  border: 2px dashed rgba(47, 120, 144, 0.5);
  border-radius: 10px;
  color: #2f7890;
  font-weight: 800;
  font-size: 14px;
  touch-action: manipulation;
}
.top-v2-chalk-menu-summary::-webkit-details-marker { display: none; }
.top-v2-chalk-menu-summary::after {
  content: "▾ 変更する";
  margin-left: 8px;
  font-size: 12px;
  color: rgba(47, 120, 144, 0.7);
}
.top-v2-chalk-menu[open] .top-v2-chalk-menu-summary::after {
  content: "▴ 閉じる";
}
.top-v2-chalk-menu[open] .top-v2-chalk-menu-summary {
  border-style: solid;
  border-radius: 10px 10px 0 0;
}
.top-v2-chalk-menu .top-v2-chalk-mealrow {
  margin: 0;
  padding: 14px;
  border: 2px solid rgba(47, 120, 144, 0.5);
  border-top: none;
  border-radius: 0 0 10px 10px;
  background: #fff8e8;
}

/* きょうの食事: 昼/夜/朝の3行ラジオペア */
.top-v2-chalk-mealrows {
  padding: 14px;
  border: 2px solid rgba(47, 120, 144, 0.5);
  border-top: none;
  border-radius: 0 0 10px 10px;
  background: #fff8e8;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.top-v2-chalk-mealtime {
  display: grid;
  grid-template-columns: 28px 1fr 1fr;
  align-items: center;
  gap: 8px;
}
.top-v2-chalk-mtlabel {
  color: #2f7890;
  font-weight: 900;
  font-size: 15px;
  text-align: center;
}
.top-v2-chalk-mealtime .top-v2-chalk-tab {
  min-width: 0;
  font-size: 12.5px;
  padding: 8px 6px;
}
.top-v2-chalk-menu-note {
  margin: 4px 0 0;
  font-size: 12px;
  color: #4e4538;
  text-align: center;
}
/* シーズントグルの小書き */
.top-v2-chalk-season .top-v2-chalk-tab small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  opacity: 0.85;
  letter-spacing: 0.05em;
}

/* 食事ボタン: 名前+料金の2段表記（中途半端な折り返しの根絶） */
.top-v2-chalk-mealtime .top-v2-chalk-tab {
  white-space: nowrap;
  line-height: 1.3;
}
.top-v2-chalk-mealtime .top-v2-chalk-tab small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  opacity: 0.85;
  letter-spacing: 0.04em;
}

/* 料金黒板は計算だけに整理。付箋用の大きな余白を通常間隔へ戻す。 */
#price .top-v2-chalkboard--art {
  margin-bottom: 24px;
}

/* ===== 目的別入口カード: ポラロイド1枚化（オーナー指摘: 説明文とくわしく→が
   枠の外に裸で浮いてダサい）。写真・紺ラベル板・キャプション・くわしく→を
   1枚の白い台紙カードにまとめ、縦積みして底を揃える。既存の写真/テープ/
   ホバー演出（.top-v2-scenecard-photoの回転・影・リフト）はそのまま活かす */
.top-v2-doors li {
  list-style: none;
  height: 100%;
}
.top-v2-doors a {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
  background: #fff;
  border-radius: 14px;
  padding: 22px 16px 14px;
  box-shadow: 0 6px 18px rgba(20, 50, 65, 0.10);
}
.top-v2-doors .top-v2-scenecard-photo {
  width: 100%;
}
.top-v2-doors-note {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #4e4538;
  text-align: center;
}
.top-v2-doors-more {
  margin-top: auto;
  align-self: flex-end;
  padding-top: 10px;
  color: #2f7890;
  font-size: 12.5px;
}
@media (max-width: 991px) {
  .top-v2-doors a { padding: 16px 10px 10px; border-radius: 12px; }
  .top-v2-doors-note { font-size: 12px; }
  .top-v2-doors-label { font-size: 13px; }
  .top-v2-doors .top-v2-doors-label { padding: 4px 10px; }
}

/* 単語の途中で折り返さないための文節スパン（カードキャプション等で使用） */
.top-v2-kinsoku {
  display: inline-block;
}

/* ===== play/index.html #banner 追補: 料金ブロック刷新（旧PNGバナー+モーダル→テキスト+黒板計算機） ===== */

/* リード文中央寄せ（#priceと同じ演出をid違いで踏襲） */
#banner .top-v2-scene-lead {
  text-align: center;
}

/* 黒板の付箋: 本文の丈がトグルで伸縮するため板下端の外側に固定（familyの#price同種ルールをid違いで踏襲） */
#banner .top-v2-chalkboard--art .top-v2-sticky--1 {
  top: auto;
  bottom: -66px;
  right: -6px;
}
#banner .top-v2-chalkboard--art .top-v2-sticky--2 {
  top: auto;
  bottom: -66px;
  left: -6px;
}
#banner .top-v2-chalkboard--art {
  margin-bottom: 96px;
}

/* --- 過ごし方の例カード（写真なし・チップ主体の3枚） --- */
.top-v2-way-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .top-v2-way-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.top-v2-way-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 2px solid #2f7890;
  border-radius: 14px;
  padding: 20px 20px 18px;
  box-shadow: 0 4px 14px rgba(47, 120, 144, 0.12);
}

.top-v2-way-card-title {
  margin: 0 0 12px;
  color: #2f7890;
  font-weight: 900;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.5;
}

.top-v2-way-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.top-v2-way-chip {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff8e8;
  border: 1px solid rgba(47, 120, 144, 0.3);
  color: #2e2518;
  font-size: 12px;
  font-weight: 700;
}

.top-v2-way-link {
  margin-top: auto;
  align-self: flex-end;
  padding-top: 4px;
  color: #2f7890;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
}

.top-v2-way-link:hover {
  color: #f0831e;
}

/* --- 正式料金表カード（PNGバナー2枚+割引モーダルの置き換え） --- */
.top-v2-price-card--formal {
  max-width: 720px;
  margin: 0 auto 32px;
}

.top-v2-formal-subtitle {
  margin: 0 0 12px;
  color: #2f7890;
  font-weight: 900;
  font-size: clamp(15px, 1.9vw, 17px);
}

.top-v2-price-card--formal .top-v2-formal-subtitle:not(:first-child) {
  margin-top: 28px;
}

.top-v2-formal-tablewrap {
  overflow-x: auto;
}

.top-v2-formal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.top-v2-formal-table th,
.top-v2-formal-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #f2dfb6;
  text-align: center;
}

.top-v2-formal-table thead th {
  color: #2f7890;
  font-weight: 800;
  font-size: 12.5px;
}

.top-v2-formal-table thead th small {
  display: block;
  font-weight: 700;
  font-size: 11px;
  color: #665a4a;
}

.top-v2-formal-table tbody th {
  color: #2e2518;
  font-weight: 800;
  text-align: left;
}

.top-v2-formal-table tbody th small {
  display: block;
  font-weight: 700;
  font-size: 11px;
  color: #665a4a;
}

.top-v2-formal-table tbody td {
  color: #a5540e;
  font-weight: 900;
}

.top-v2-formal-lead {
  margin: 0 0 6px;
  color: #2e2518;
  font-weight: 800;
  font-size: 15px;
}

.top-v2-formal-lead strong {
  color: #a5540e;
  font-size: 1.3em;
}

.top-v2-formal-note {
  margin: 0;
  color: #665a4a;
  font-size: 12.5px;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .top-v2-formal-table {
    font-size: 12px;
  }

  .top-v2-formal-table th,
  .top-v2-formal-table td {
    padding: 8px 5px;
  }
}

/* ===== play/index.html #banner 追補2: 料金ページへのフック1行ブロック
   （黒板+正式表からテキスト+リンク+CTAへ縮退。詳細計算機は/play/option/#priceへ移設） ===== */
.top-v2-banner-hook {
  margin: 0 0 20px;
  text-align: center;
  color: #2f7890;
  font-weight: 900;
  font-size: clamp(26px, 4.2vw, 40px);
  line-height: 1.5;
}

.top-v2-banner-hook strong {
  color: #f0831e;
  font-size: 1.15em;
}

.top-v2-banner-hook small {
  display: block;
  margin-top: 8px;
  color: #665a4a;
  font-weight: 700;
  font-size: 14px;
}

.top-v2-banner-link {
  margin: 0 0 28px;
  text-align: center;
  font-size: clamp(15px, 1.8vw, 17px);
}

/* 料金・オプション頁: 黒板直下の予約システム誘導行と「せんせいより」
   カードの間隔を確保（付箋ぶら下げ用margin内で行が折り返すと先端が
   カードに食い込むため） */
#price .top-v2-chalkboard--art + .top-v2-formal-note {
  margin: 0 16px 20px;
}

/* ===== play/option/index.html #price・#stay-option 追補: おたより化
   （学校文法＝テープ・クリーム台紙・ノート罫線・チップ・ハンコ風バッジを未適用箇所へ展開） ===== */

/* --- タスク1: 計算機まわり（季節トグル・食事引き出し・人数ステッパー）を「さんすうプリント」用紙に --- */
.top-v2-worksheet {
  position: relative;
  max-width: 640px;
  margin: 0 auto 24px;
  padding: 30px 32px 22px;
  background: #fff;
  border-left: 3px solid rgba(47, 120, 144, 0.35);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(20, 50, 65, 0.10);
  transform: rotate(-0.4deg);
}

.top-v2-worksheet::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  width: 104px;
  height: 42px;
  margin-left: -52px;
  background: url(/assets/img/tape-2.png) no-repeat center/contain;
  pointer-events: none;
}

.top-v2-worksheet-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0 0 16px;
}

.top-v2-worksheet-hint {
  color: #665a4a;
  font-weight: 700;
  font-size: 12px;
}

.top-v2-worksheet > .top-v2-chalk-season,
.top-v2-worksheet > .top-v2-chalk-menu {
  margin-bottom: 10px;
}

.top-v2-worksheet > .top-v2-chalk-family {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .top-v2-worksheet {
    padding: 22px 16px 16px;
  }
}

/* プリント風の小タブラベル（もんだい／席替えのお知らせ等で共用するチップ） */
.top-v2-print-tab {
  display: inline-block;
  padding: 4px 14px;
  background: #fff8e8;
  border: 1px solid rgba(47, 120, 144, 0.3);
  border-radius: 999px;
  color: #2f7890;
  font-weight: 900;
  font-size: 12.5px;
  white-space: nowrap;
}

/* --- タスク2: 正式料金表（宿泊基本料金・日帰りプラン・割引）を「集金だより」に --- */
.top-v2-price-card--formal {
  position: relative;
  background: #fff8e8;
  border: none;
  border-left: 3px solid rgba(47, 120, 144, 0.35);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(20, 50, 65, 0.10);
  transform: rotate(0.35deg);
}

.top-v2-price-card--formal::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  width: 104px;
  height: 42px;
  margin-left: -52px;
  background: url(/assets/img/tape-4.png) no-repeat center/contain;
  pointer-events: none;
}

.top-v2-price-card--formal::after {
  content: "ほぞんばん";
  position: absolute;
  top: -18px;
  right: -12px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2.5px solid rgba(240, 131, 30, 0.75);
  border-radius: 50%;
  background: #fff;
  color: rgba(240, 131, 30, 0.85);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 900;
  transform: rotate(8deg);
  pointer-events: none;
  box-shadow: 0 3px 8px rgba(20, 50, 65, 0.12);
}

@media (max-width: 767px) {
  .top-v2-price-card--formal::after {
    width: 48px;
    height: 48px;
    font-size: 9.5px;
    top: -14px;
    right: -8px;
  }
}

.top-v2-price-card--formal .top-v2-formal-subtitle {
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(47, 120, 144, 0.45);
}

/* 表罫線をノート罫線調（半透明の板紺）に */
.top-v2-formal-table th,
.top-v2-formal-table td {
  border-bottom: 1px solid rgba(42, 71, 80, 0.2);
}

/* 金額の色をインク紺（本文色）に統一。オレンジは宿泊基本料金表「おとな」行の2つだけ残す */
.top-v2-formal-table tbody td {
  color: #2e2518;
}

.top-v2-price-card--formal .top-v2-formal-tablewrap:first-of-type .top-v2-formal-table tbody tr:first-child td {
  color: #f0831e;
}

/* --- タスク3: #stay-option（部屋分け）を「席替えのお知らせ」に --- */
.top-v2-price-card--notice {
  position: relative;
  background: #fff8e8;
  border: none;
  border-left: 3px solid rgba(47, 120, 144, 0.35);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(20, 50, 65, 0.10);
  transform: rotate(-0.4deg);
}

.top-v2-price-card--notice::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  width: 104px;
  height: 42px;
  margin-left: -52px;
  background: url(/assets/img/tape-1.png) no-repeat center/contain;
  pointer-events: none;
}

.top-v2-notice-sublabel {
  display: inline-block;
  margin: 0 0 10px;
}

.top-v2-roomplan {
  margin: 26px auto 8px;
  max-width: 460px;
}

.top-v2-roomplan-svg {
  display: block;
  width: 100%;
  height: auto;
}

.top-v2-roomplan-caption {
  margin: 6px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: #665a4a;
  line-height: 1.7;
}

/* おたより化の仕上げ微調整（品質評価パス）:
   1) ほぞんばんバッジが56px円内で「ほぞんば/ん」と折れる → 2行を明示
   2) 375pxで表ヘッダが「平日オフシーズ/ン」と単語途中で折れる → 縮小 */
.top-v2-price-card--formal::after {
  content: "ほぞん\A ばん";
  white-space: pre-line;
}
@media (max-width: 480px) {
  .top-v2-formal-table thead th {
    font-size: 11px;
    letter-spacing: 0;
    padding-left: 2px;
    padding-right: 2px;
  }
}

/* ===== play/option/index.html #food・#spa 追補: 献立表化
   （バッチ①のおたより文法＝白台紙カード・チョーク破線見出し・値札チップ・
   テープ留め写真を、大きい裸写真＋青見出しだった食事メニュー/温泉カードへ
   展開し、#price・#stay-optionと世界観を統一する） ===== */

/* --- 時間帯見出し（昼食/夕食/朝食）: 青文字見出し→チョーク破線下線に
   （.top-v2-formal-subtitleと併用。文字幅だけに線を敷くためinline-block化） --- */
.top-v2-menu-heading {
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(47, 120, 144, 0.45);
}

.top-v2-menu-catch {
  margin: 8px 0 28px;
  text-align: center;
  color: #665a4a;
  font-size: 13px;
  font-weight: 700;
}

/* --- 献立カードグリッド: PC(≥992px)2列・タブレット以下1列 --- */
.top-v2-menu-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 992px) {
  .top-v2-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

/* 温泉セクション: カード1枚だけなので中央寄せ・最大幅つき */
.top-v2-menu-grid.top-v2-menu-grid--single {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* --- 献立カード本体（白台紙・角丸・薄影。枚数が多いので傾きは付けない） --- */
.top-v2-menu-card {
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border-radius: 14px;
  padding: 22px 20px 24px;
  box-shadow: 0 6px 18px rgba(20, 50, 65, 0.10);
}

.top-v2-menu-photo {
  position: relative;
  display: block;
  margin: 6px 0 18px;
}

.top-v2-menu-photo::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  width: 86px;
  height: 34px;
  margin-left: -43px;
  background: url(/assets/img/tape-2.png) no-repeat center/contain;
  pointer-events: none;
  z-index: 2;
}

.top-v2-menu-photo img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
}

/* さがら子生まれ温泉カード: Bootstrapタブ切替の4枚組写真を同じ枠に収める
   （.tab-content > .tab-pane の直下関係はJS/CSS連動のため維持し、
   角丸とサイズだけをdescendantセレクタで揃える） */
.top-v2-menu-photo--tabs .tab-content {
  border-radius: 10px;
  overflow: hidden;
}

.top-v2-menu-photo--tabs .tab-pane img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.top-v2-menu-thumbnav {
  margin: 10px 0 0;
}

.top-v2-menu-thumblist {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-v2-menu-thumb-item {
  flex: 1 1 0;
  min-width: 0;
}

.top-v2-menu-thumb-btn {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: none;
  line-height: 0;
  cursor: pointer;
}

.top-v2-menu-thumb-btn img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.top-v2-menu-thumb-btn.active {
  border-color: #2f7890;
}

/* --- カード本文: 校外学習タブ・名前・値札チップ・説明・注記 --- */
.top-v2-menu-body {
  text-align: left;
}

.top-v2-menu-tag {
  margin: 0 0 10px;
}

.top-v2-menu-name {
  margin: 0 0 10px;
  color: #2e2518;
  font-weight: 900;
  font-size: clamp(16px, 1.9vw, 18px);
}

/* 値札チップ（クリーム地×インク紺文字。価格の数字部分はstrongで太字） */
.top-v2-menu-price {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  background: #fff8e8;
  border: 1px solid rgba(47, 120, 144, 0.3);
  border-radius: 999px;
  color: #2e2518;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.top-v2-menu-price strong {
  font-weight: 900;
}

.top-v2-menu-desc {
  margin: 0;
  color: #665a4a;
  font-size: 13.5px;
  line-height: 1.8;
}

.top-v2-menu-note {
  margin: 6px 0 0;
  color: #8a7a5f;
  font-size: 12px;
  line-height: 1.7;
}

@media (max-width: 575px) {
  .top-v2-menu-card {
    padding: 18px 16px 20px;
  }
}

/* 献立表化の仕上げ（品質評価パス）: 時間帯見出し（昼食/夕食/朝食）が
   15pxではカードより弱く階層が逆転するため、セクション内の中見出しと
   して立たせる */
.top-v2-menu-heading {
  font-size: 21px;
  letter-spacing: 0.06em;
}
@media (min-width: 992px) {
  .top-v2-menu-heading {
    font-size: 24px;
  }
}

/* ===== play/option/index.html #nav 追補: アンカー5circleナビ（旧SVG画像3個→CSS製5個）
   食事/遊び/温泉の3リンクに料金・宿泊を加えて5リンクに再構成。旧anchor_*.svgは
   全ページから参照を外すが、オーナー提供アセットのためファイル自体は削除しない ===== */
.top-v2-anchor-circles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-v2-anchor-circle-item {
  list-style: none;
}

.top-v2-anchor-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 94px;
  height: 94px;
  box-sizing: border-box;
  border-radius: 50%;
  background: #2f7890;
  box-shadow: 0 5px 0 rgba(20, 50, 65, 0.28), 0 6px 14px rgba(20, 50, 65, 0.18);
  color: #fff;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.top-v2-anchor-circle:hover,
.top-v2-anchor-circle:focus-visible {
  transform: translateY(3px);
  box-shadow: 0 2px 0 rgba(20, 50, 65, 0.28), 0 3px 8px rgba(20, 50, 65, 0.18);
}

.top-v2-anchor-circle-label {
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.top-v2-anchor-circle-arrow {
  font-size: 9px;
  line-height: 1;
  opacity: 0.85;
}

/* タッチ端末のホバー代替: 押している間だけ沈んだ状態にする */
@media (hover: none) {
  .top-v2-anchor-circle:active {
    transform: translateY(3px);
    box-shadow: 0 2px 0 rgba(20, 50, 65, 0.28), 0 3px 8px rgba(20, 50, 65, 0.18);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
  }
}

@media (max-width: 575px) {
  .top-v2-anchor-circles {
    gap: 14px 12px;
  }
  .top-v2-anchor-circle {
    width: 74px;
    height: 74px;
  }
  .top-v2-anchor-circle-label {
    font-size: 12.5px;
  }
}

/* --- #price 追補: シーン別料金例の文リンク3本→ピル3個のリンクチップに。
   .top-v2-way-chipの地色ピル(情報表示用)と見分けがつくよう、
   クリックできると分かる白地+teal枠+teal文字のピルにする --- */
.top-v2-scene-chip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.top-v2-scene-chip {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid #2f7890;
  color: #2f7890;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.top-v2-scene-chip:hover,
.top-v2-scene-chip:focus-visible {
  background: #2f7890;
  color: #fff;
}

/* アンカー円: 375pxで4+1の孤立折返しになるため、コンテナ幅を絞って
   3+2のバランスに */
@media (max-width: 575px) {
  .top-v2-anchor-circles {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===================================================================
   play/option/index.html 改善バッチ④: #price 縦圧縮 + メニューカード刷新
   タスクA: #priceの間延び解消（折りたたみ・注記の行間詰め・余白詰め）
   タスクB: メニューカードの値札化（文章ピル→価格タグ+条件タグ）
   タスクC: メニューカードのポラロイド化（白フチ写真・角のテープ・影）
   #price はfriends/family/gasshuku/トップページとも共有IDのため、
   このページの#price section自身に付けた .top-v2-price-scope を経由して
   スコープし、他ページの同名コンポーネントに影響させない。
   =================================================================== */

/* --- タスクA-3: 見出し→シーンチップ→さんすうプリント→黒板→集金だより の
   間延びを詰める（各ブロックのmargin-bottomを個別に短縮。スマホ基準） --- */
.top-v2-price-scope .top-v2-scene-title {
  margin-bottom: 20px;
}

.top-v2-price-scope .top-v2-scene-lead {
  margin-bottom: 16px;
}

.top-v2-scene-chip-list {
  margin-bottom: 16px;
}

.top-v2-worksheet {
  margin-bottom: 16px;
}

.top-v2-price-scope .top-v2-chalkboard--art {
  margin-bottom: 24px;
}

/* --- タスクA-2: せんせいより注記の行間を28px→22px（約21%減）に詰める。
   ノート罫線はrepeating-linear-gradientの周期をline-heightと同期させて維持 --- */
.top-v2-price-scope .top-v2-teacher-note .top-v2-price-notes {
  line-height: 22px;
  background-image: repeating-linear-gradient(
    transparent 0,
    transparent 21px,
    rgba(47, 120, 144, 0.14) 21px,
    rgba(47, 120, 144, 0.14) 22px
  );
  background-position: 0 0;
}

.top-v2-price-scope .top-v2-teacher-note .top-v2-price-notes li {
  line-height: 22px;
}

/* --- タスクA-1: 集金だよりの「日帰りプラン」「割引」を折りたたみに。
   宿泊基本料金表は常時表示のまま。summaryの見た目は既存の
   .top-v2-formal-subtitle（チョーク破線下線）を踏襲しつつ右端に▾/▴を追加
   （gasshuku等で使う.top-v2-chalk-menu-summaryの::afterパターンを参考） --- */
.top-v2-formal-fold {
  display: block;
  margin: 20px 0 0;
  padding: 0;
}

.top-v2-formal-fold-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  list-style: none;
  cursor: pointer;
  touch-action: manipulation;
}

.top-v2-formal-fold-summary::-webkit-details-marker {
  display: none;
}

.top-v2-formal-fold-summary::after {
  content: "▾";
  flex-shrink: 0;
  font-size: 13px;
  color: rgba(47, 120, 144, 0.7);
}

.top-v2-formal-fold[open] .top-v2-formal-fold-summary::after {
  content: "▴";
}

/* 折りたたみの直後に続く案内文（食事・温泉オプションへの導線）は常時見せる。
   最後の.top-v2-formal-foldの直後だけ少し間隔を空ける */
.top-v2-formal-fold + .top-v2-formal-note {
  margin-top: 16px;
}

/* ===== play/option/index.html #food・#play・#spa 追補: 献立カードの
   ポラロイド化と値札タグ化（品質評価パス・バッチ④） ===== */

/* --- タスクC: カード自体の枠・影を底上げ。既存CSSは変更せず、
   .top-v2-menu-gridを親に足した詳細度で勝つ追記として上書きする --- */
.top-v2-menu-grid {
  align-items: stretch;
}

.top-v2-menu-grid .top-v2-menu-card {
  border: 1px solid rgba(47, 120, 144, 0.14);
  box-shadow: 0 10px 24px rgba(20, 50, 65, 0.08);
}

/* 写真はカードpadding内に置いたまま白台紙の縁を効かせ、写真自体に細枠を追加 */
.top-v2-menu-grid .top-v2-menu-photo > img {
  box-sizing: border-box;
  border-radius: 6px;
  border: 1px solid rgba(42, 71, 80, 0.12);
}

/* さがら子生れ温泉カード（タブ切替4枚）は表示枠側に同じ縁を適用。
   サムネイルナビ（.top-v2-menu-thumb-btn img）は対象外 */
.top-v2-menu-grid .top-v2-menu-photo--tabs .tab-content {
  box-sizing: border-box;
  border-radius: 6px;
  border: 1px solid rgba(42, 71, 80, 0.12);
}

/* テープ: 写真上部中央 → 左上角・-4度回転に変更（素材は流用） */
.top-v2-menu-grid .top-v2-menu-photo::before {
  top: -12px;
  left: -6px;
  margin-left: 0;
  transform: rotate(-4deg);
}

.top-v2-menu-grid .top-v2-menu-name {
  font-size: 19px;
}

/* PC(≥992px)のみカードホバーで軽く浮かせる。reduced-motionでは無効化 */
@media (min-width: 992px) {
  .top-v2-menu-grid .top-v2-menu-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }
  .top-v2-menu-grid .top-v2-menu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(20, 50, 65, 0.14);
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-v2-menu-grid .top-v2-menu-card {
    transition: none;
  }
  .top-v2-menu-grid .top-v2-menu-card:hover {
    transform: none;
  }
}

/* --- タスクB: 値札タグ（旧.top-v2-menu-priceの文章ピルを価格タグ+条件タグの
   2チップ構成に再構成。事実の数値・税込表記は不変、組版のみ変更） --- */
.top-v2-menu-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}

.top-v2-menu-pricetag {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 7px 14px;
  background: #fff8e8;
  border: 1px solid rgba(47, 120, 144, 0.3);
  border-radius: 999px;
}

.top-v2-menu-pricetag strong {
  font-size: 19px;
  font-weight: 900;
  color: #a5540e;
  line-height: 1;
}

.top-v2-menu-pricetag small {
  font-size: 11px;
  font-weight: 700;
  color: #665a4a;
}

.top-v2-menu-condtag {
  display: inline-block;
  padding: 6px 12px;
  background: #fff;
  border: 1.5px solid #2f7890;
  border-radius: 999px;
  color: #2f7890;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}

/* ===================================================================
   改善バッチ⑤: 食事オプションsummaryの選択状態表示 + お子さま人数の引き出し化
   （/play/option/ の#price。食事引き出しの状態表示はJS生成のため5ページ共通）
   =================================================================== */

/* --- タスクA: 「食事オプション（有） ▾ 変更する」のように、summary本文
   （14px/800）と末尾の::afterヒント（12px/rgba0.7）の間に自然に収まるよう、
   本文よりやや小さく・太字にせず・同系色にする --- */
.top-v2-chalk-menu-state {
  margin-left: 4px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(47, 120, 144, 0.85);
}

/* --- タスクC: お子さま人数引き出し。.top-v2-chalk-familyを
   .top-v2-chalk-mealrows（食事引き出しと同じパネル）に入れ子にするため、
   .top-v2-worksheet直下向けのmargin-bottom:0上書き（既存）が効かなくなる分だけ
   打ち消す。それ以外の見た目（点線ピル・開閉表記）は.top-v2-chalk-menuを
   共有しているため追加CSS不要 --- */
.top-v2-chalk-mealrows > .top-v2-chalk-family {
  margin-bottom: 0;
}

/* バッチ⑥で宿泊基本料金表（おとな行オレンジの意図先）を撤去したため、
   :first-of-type の基準が割引foldの連泊割表にずれてオレンジ漏れが発生。
   fold内の表は全てインク紺に固定する（基本料金の強調はヒーローカードが担う） */
.top-v2-price-card--formal .top-v2-formal-fold .top-v2-formal-tablewrap:first-of-type .top-v2-formal-table tbody tr:first-child td {
  color: #2e2518;
}

/* ヒーロー価格カード: 「(税込)〜/人」が狭幅で「(税/込)」と折れるのを防ぐ。
   スパンごと2行目に落ちるのは許容（きれいな折れ方） */
.top-v2-price-row dd > span {
  white-space: nowrap;
}

/* 料金・オプション頁の読みやすさ調整（オーナー指摘3件・このページ限定スコープ）:
   1) せんせいよりの複数行注記は中央揃えだと折返しが読みにくい
      → 左寄せ+※のぶら下げインデント
   2) せんせいより(クリーム)と集金だより(クリーム)が近接して一枚に同化
      → 間隔を広げ、集金だよりは「白い配布プリント」に分離
      （手書きメモ=クリーム/配布プリント=白、という意味の分離） */
.top-v2-price-scope .top-v2-price-notes {
  text-align: left;
}
.top-v2-price-scope .top-v2-price-notes li {
  text-align: left;
  padding-left: 1.5em;
  text-indent: -1.5em;
}
.top-v2-price-scope .top-v2-price-card--formal {
  margin-top: 30px;
  background: #fff;
  border: 1px solid rgba(47, 120, 144, 0.16);
}

/* アンカー円: teal塗り+強い影が「浮いたツヤボタン」に見える（オーナー指摘）。
   だいじ/ほぞんばんバッジと同じ「白地+リングのスタンプ」文法に変更し、
   上に「もくじ」タブを置いて目次として意味づけする */
.top-v2-anchor-tab {
  display: table;
  margin: 0 auto 16px;
}
.top-v2-anchor-circle {
  background: #fff;
  border: 2.5px solid rgba(47, 120, 144, 0.75);
  box-shadow: 0 3px 8px rgba(20, 50, 65, 0.10);
}
.top-v2-anchor-circle .top-v2-anchor-circle-label,
.top-v2-anchor-circle .top-v2-anchor-circle-arrow {
  color: #2f7890;
}
.top-v2-anchor-circle-item:nth-child(odd) .top-v2-anchor-circle {
  transform: rotate(-2.5deg);
}
.top-v2-anchor-circle-item:nth-child(even) .top-v2-anchor-circle {
  transform: rotate(2deg);
}
.top-v2-anchor-circle:hover,
.top-v2-anchor-circle:focus-visible {
  background: #fff8e8;
}

/* 料金・オプション頁の額縁調整（オーナー診断3点の残り）:
   1) MVを温泉夕景→校舎と青空に差し替えたため、白タイトルの可読性を
      シャドウで確保
   2) セクション背景のリズム: 白⇄#ECEDF2交互のルールに合わせ #spa を
      グレー帯に（price白/food灰/play白/spa灰/stay-option白） */
.top-v2-mv-price .l-mv_title {
  text-shadow: 0 2px 18px rgba(20, 50, 65, 0.55), 0 1px 4px rgba(20, 50, 65, 0.45);
}
#spa.l-section {
  background: #ECEDF2;
}

/* ===== TOP #usagescene: あそびティッカーをフォトカードマーキー
   「時間割は、ぜんぶ遊び。」に刷新。旧 .top-v2-ticker 一式は index.html から
   削除したが、CSS定義はそのまま残置（このファイルは末尾追記のみのため）。
   ループ機構は旧ティッカーと同じ「トラック複製（aria-hidden）+
   translateXループ」だが、カードが3〜5枚と少ないため旧来の
   min-width:100%+justify-content:space-around は使わず、トラックを
   内容幅のまま複製してtranslateX(-100%)で送る（内容幅=自身の100%なので
   広い画面でもカード間が間延びしない） */
.top-v2-playroll-title {
  margin-top: 36px;
}

.top-v2-playroll-lead {
  text-align: center;
}

.top-v2-playroll {
  display: grid;
  gap: 22px;
}

.top-v2-playroll-tab {
  display: inline-block;
  margin: 0 0 8px;
}

.top-v2-playroll-viewport {
  display: flex;
  overflow: hidden;
  padding: 8px 4px;
  margin: -8px -4px;
}

.top-v2-playroll-track {
  display: flex;
  flex-shrink: 0;
  align-items: flex-start;
  gap: 16px;
  margin: 0;
  padding: 0 8px;
  list-style: none;
  animation: top-v2-playroll-scroll 42s linear infinite;
}

.top-v2-playroll-row--admire .top-v2-playroll-track { animation-duration: 38s; }
.top-v2-playroll-row--nostalgic .top-v2-playroll-track { animation-duration: 46s; animation-direction: reverse; }
.top-v2-playroll-row--nature .top-v2-playroll-track { animation-duration: 42s; }
.top-v2-playroll-row--everyone .top-v2-playroll-track { animation-duration: 50s; animation-direction: reverse; }

@keyframes top-v2-playroll-scroll {
  to { transform: translateX(-100%); }
}

.top-v2-playcard {
  flex-shrink: 0;
  width: clamp(100px, 28vw, 136px);
  background: #fff;
  border-radius: 3px;
  padding: 7px 7px 10px;
  box-shadow: 0 4px 10px rgba(20, 50, 65, 0.16);
}

.top-v2-playroll-track .top-v2-playcard:nth-child(odd) { transform: rotate(-1.6deg); }
.top-v2-playroll-track .top-v2-playcard:nth-child(even) { transform: rotate(1.4deg); }

.top-v2-playcard-photo {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1px;
  background: #e7e1d2;
}

.top-v2-playcard-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-v2-playcard-name {
  display: block;
  margin-top: 6px;
  color: #2a4750;
  font-weight: 800;
  font-size: clamp(11px, 2.6vw, 12.5px);
  line-height: 1.3;
  text-align: center;
}

.top-v2-playroll-actions {
  margin-top: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .top-v2-playroll-viewport { overflow-x: auto; }
  .top-v2-playroll-track { animation: none; }
  .top-v2-playroll-track[aria-hidden="true"] { display: none; }
}

/* マーキー: ホバー/タッチ長押しで一時停止（読みたい人への配慮。現ティッカーと同仕様） */
.top-v2-playroll-row:hover .top-v2-playroll-track,
.top-v2-playroll-row:active .top-v2-playroll-track {
  animation-play-state: paused;
}

/* ===================================================================
   TOP index.html 構成改編バッチ（並べ替え・見出し統一・背景リズム）
   =================================================================== */

/* --- タスク2: 見出し8種を1システムに統一（元気系）
   既存 .top-v2-scene-title / .top-v2-scene-title-mark（クリームのマーカーswipe
   文法）をそのまま流用し、.top-v2-h はサイズ(SP26/PC34px)・行間(1.35)・
   わずかな元気回転のみを上書きするモディファイア。新規クラスのため他ページの
   .top-v2-scene-title 利用箇所（friends/family/gasshuku等のヒーロー見出し）
   には一切波及しない。
   マーカーspan(.top-v2-scene-title-mark)はdisplay:inline
   （2行見出しでクリーム帯を行ごとに複製するためbox-decoration-break:cloneを
   使用）で、inline要素にtransformは適用されない仕様のため、「わずかな元気回転」
   は見出しブロック(h2)側に掛けて同じ視覚効果を得ている（h2の子はマーカーspan
   だけなので見た目は同一） */
.top-v2-h {
  font-size: 26px;
  line-height: 1.35;
  /* 旧テーマ由来の「元気回転」rotate(-1deg)は2026-07-16オーナー判断で廃止。
     文字の傾きは大サイズでは歪みに見える。傾きはテープ・ポラロイド等の
     「物」だけに残す(遊び心を残して洗練の方針) */
}

@media (min-width: 992px) {
  .top-v2-h {
    font-size: 34px;
  }
}

/* --- タスク3: 背景リズムを新セクション順で白⇄#ECEDF2に厳密化
   #playroll/#usagescene/#stay/#landscape/#location はTOP専用idなので
   bare idセレクタで安全にスコープできる。#price/#faq/#flowは
   family/friends/gasshuku/play/option等と共有idだが、#price(.l-song)は
   元々l-section_bg--grayでグレー、#faq(.l-section_bg。他ページの#faqは
   l-section_bgクラスを持たずTOP限定の組み合わせ)と#stay(.l-option)/#flowは
   元々背景指定なし(=白)で、新リズム(playroll白→usagescene灰→stay白→
   price灰→flow白→landscape灰→faq白→location灰)と既定のまま一致するため
   追加CSSは不要。ズレていた3つ（usagescene/landscape/locationを灰へ）だけ
   上書きする。#locationは上下2枚のl-section_bg系divが不透明背景を持つため、
   外側#locationではなく内側divを直接上書き（詳細度はID+classで既存の
   bare classルールに勝つ。!importantは不使用） */
#usagescene {
  background: #ECEDF2;
}

#landscape {
  background: #ECEDF2;
}

#location .l-section_bg,
#location .l-section_bg--lightgray {
  background: #ECEDF2;
}

/* 見出し統一の再調整（オーナー指摘: 旧見出しの方が大きくて元気だった）:
   旧テーマ実寸は SP 9.06667vw / PC 96px。統一見出しをこのスケールに
   引き上げる（縮めた統一は誤り）。マーカーの余白はem基準で追従 */
.top-v2-h {
  font-size: 9.06667vw;
  line-height: 1.3;
}
.top-v2-h .top-v2-scene-title-mark {
  padding: 0.04em 0.18em;
}
@media (min-width: 992px) {
  .top-v2-h {
    font-size: 96px;
  }
}

/* マーキーの行ラベル: クリームの事務タブ(もんだい文法)は元気な写真の川
   ではダサい（オーナー指摘）→ 扉カードと同じ紺の名札プレート文法に変更。
   96px見出しに釣り合うようサイズも一段上げ、名札らしく少し傾ける */
.top-v2-playroll-tab.top-v2-print-tab {
  background: #2a4750;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 4px;
  letter-spacing: 0.08em;
  font-weight: 800;
  font-size: 15px;
  padding: 5px 16px;
  transform: rotate(-1.5deg);
  box-shadow: 2px 3px 0 rgba(42, 71, 80, 0.18);
}
@media (min-width: 992px) {
  .top-v2-playroll-tab.top-v2-print-tab {
    font-size: 18px;
    padding: 6px 20px;
  }
}

/* マーキーカード: 真の375pxでは幅105pxに9文字名が入らず「肝試/し」等の
   孤立折れが発生（前回検証は広い画面で見落とし）→ SPの下限を128pxへ */
.top-v2-playcard {
  width: clamp(128px, 34vw, 136px);
}

/* ===================================================================
   TOP #playroll「貼り散らかし」バッチ（オーナー評「整いすぎてまだダサい」
   への処方）。マーキーの track 複製・速度・方向・reduced-motion対応、
   カード名・写真は一切変更しない。既存の nth-child(odd/even) 機械的傾き
   (4927-4928行)・.top-v2-playcard(4918行)・.top-v2-playroll-tab.top-v2-print-tab
   の傾き(5042-5053行)は行削除禁止のため残置するが、本ブロックが後方かつ
   同等以上の詳細度のため実質上書きする。 */

/* --- タスク1: 6周期の「貼り散らかし」回転+縦ゆらぎ。CSS変数(--pc-rot/--pc-ty)
   に値を持たせ、1つの合成transformルールで読み出す。行ごとに位相をずらす
   ため、既定(admire/nature)と代替(nostalgic/everyone=3つ分位相シフト)の
   2パターンを用意（値の集合は同一のため±8pxのはみ出し安全域は変わらない）。
   合成ルールのセレクタに :nth-child(n) を足しているのは、既存の
   :nth-child(odd/even)ルール(詳細度0,0,3,0)に対して同格以上の詳細度を
   確保し、後方ルールとして確実に勝つため（:nth-child(n)は全要素に一致し
   対象範囲は変えない、詳細度調整のみの目的） */
.top-v2-playroll-track .top-v2-playcard:nth-child(n) {
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  transform: translateY(var(--pc-ty, 0px)) rotate(var(--pc-rot, 0deg));
}

.top-v2-playroll-track .top-v2-playcard:nth-child(6n+1) { --pc-rot: -3.5deg; --pc-ty: 0px; }
.top-v2-playroll-track .top-v2-playcard:nth-child(6n+2) { --pc-rot: 2deg; --pc-ty: 6px; }
.top-v2-playroll-track .top-v2-playcard:nth-child(6n+3) { --pc-rot: -1deg; --pc-ty: -5px; }
.top-v2-playroll-track .top-v2-playcard:nth-child(6n+4) { --pc-rot: 3.5deg; --pc-ty: 3px; }
.top-v2-playroll-track .top-v2-playcard:nth-child(6n+5) { --pc-rot: -2.5deg; --pc-ty: -7px; }
.top-v2-playroll-track .top-v2-playcard:nth-child(6n+6) { --pc-rot: 1.5deg; --pc-ty: 4px; }

/* 2・4行目は同じ6値を3つ分位相シフトして再割当て（4行が同じ揺れ方をしない） */
.top-v2-playroll-row--nostalgic .top-v2-playroll-track .top-v2-playcard:nth-child(6n+1),
.top-v2-playroll-row--everyone .top-v2-playroll-track .top-v2-playcard:nth-child(6n+1) { --pc-rot: 3.5deg; --pc-ty: 3px; }
.top-v2-playroll-row--nostalgic .top-v2-playroll-track .top-v2-playcard:nth-child(6n+2),
.top-v2-playroll-row--everyone .top-v2-playroll-track .top-v2-playcard:nth-child(6n+2) { --pc-rot: -2.5deg; --pc-ty: -7px; }
.top-v2-playroll-row--nostalgic .top-v2-playroll-track .top-v2-playcard:nth-child(6n+3),
.top-v2-playroll-row--everyone .top-v2-playroll-track .top-v2-playcard:nth-child(6n+3) { --pc-rot: 1.5deg; --pc-ty: 4px; }
.top-v2-playroll-row--nostalgic .top-v2-playroll-track .top-v2-playcard:nth-child(6n+4),
.top-v2-playroll-row--everyone .top-v2-playroll-track .top-v2-playcard:nth-child(6n+4) { --pc-rot: -3.5deg; --pc-ty: 0px; }
.top-v2-playroll-row--nostalgic .top-v2-playroll-track .top-v2-playcard:nth-child(6n+5),
.top-v2-playroll-row--everyone .top-v2-playroll-track .top-v2-playcard:nth-child(6n+5) { --pc-rot: 2deg; --pc-ty: 6px; }
.top-v2-playroll-row--nostalgic .top-v2-playroll-track .top-v2-playcard:nth-child(6n+6),
.top-v2-playroll-row--everyone .top-v2-playroll-track .top-v2-playcard:nth-child(6n+6) { --pc-rot: -1deg; --pc-ty: -5px; }

/* 隣接カードの衝突防止（最大3.5°回転分の見込みで16px→20pxへ） */
.top-v2-playroll-track {
  gap: 20px;
}

/* ホバーで「手に取る」演出。対象カードのみ平らに戻して持ち上げる */
.top-v2-playroll-row .top-v2-playroll-track .top-v2-playcard:hover {
  transform: translateY(-4px) rotate(0deg) scale(1.05);
  box-shadow: 0 10px 22px rgba(20, 50, 65, 0.32);
  z-index: 5;
}

@media (prefers-reduced-motion: reduce) {
  .top-v2-playroll-row .top-v2-playroll-track .top-v2-playcard:hover {
    transform: translateY(var(--pc-ty, 0px)) rotate(var(--pc-rot, 0deg));
    box-shadow: 0 4px 10px rgba(20, 50, 65, 0.16);
    transition: none;
  }
}

/* --- タスク2: マスキングテープ留め。3枚に1枚(nth-child(3n+1))は
   6n+1と6n+4の2グループの和と等しいため、この2セレクタで表現しつつ
   グループごとにテープ画像を出し分ける（行パターンで計4種類を使用） */
.top-v2-playroll-track .top-v2-playcard:nth-child(6n+1)::before,
.top-v2-playroll-track .top-v2-playcard:nth-child(6n+4)::before {
  content: "";
  position: absolute;
  top: -7px;
  width: 48px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}
.top-v2-playroll-track .top-v2-playcard:nth-child(6n+1)::before {
  left: 42%;
  background-image: url(/assets/img/tape-1.png);
  transform: translateX(-50%) rotate(-6deg);
}
.top-v2-playroll-track .top-v2-playcard:nth-child(6n+4)::before {
  left: 58%;
  background-image: url(/assets/img/tape-3.png);
  transform: translateX(-50%) rotate(5deg);
}
.top-v2-playroll-row--nostalgic .top-v2-playroll-track .top-v2-playcard:nth-child(6n+1)::before,
.top-v2-playroll-row--everyone .top-v2-playroll-track .top-v2-playcard:nth-child(6n+1)::before {
  background-image: url(/assets/img/tape-2.png);
}
.top-v2-playroll-row--nostalgic .top-v2-playroll-track .top-v2-playcard:nth-child(6n+4)::before,
.top-v2-playroll-row--everyone .top-v2-playroll-track .top-v2-playcard:nth-child(6n+4)::before {
  background-image: url(/assets/img/tape-4.png);
}

/* --- タスク3: 先生の丸つけ。赤ペンの不完全な楕円(始点と終点が重なる
   一筆書き)で「20種類以上」を囲む。文字サイズ・文言は不変。svgはspan
   の実測幅に対する%指定(width)と em指定(height)を併用し、実際の文字幅に
   追従しつつ line-height由来の縦方向の間延びを避ける */
.top-v2-maru {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.top-v2-maru svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 130%;
  height: 2.5em;
  transform: translate(-50%, -50%) rotate(-2.5deg);
  overflow: visible;
  pointer-events: none;
}

/* --- タスク4: 余白の落書き（既存矢印2 + インラインSVG3 = 計5個まで）。
   矢印は見出し脇(l-section_innerは基底CSSでposition:relative済み)と
   グリッド下端(CTA直前)、SVG落書きは各行タブ横の空き（カードの描画が
   始まる前の帯）に配置し、マーキーカード本体とは重ならない */
.top-v2-playroll-doodle-arrow {
  position: absolute;
  pointer-events: none;
}
.top-v2-playroll-doodle-arrow--intro {
  top: 6px;
  left: 3%;
  width: 48px;
  height: auto;
  transform: rotate(10deg);
}
.top-v2-playroll-doodle-arrow--outro {
  top: 100%;
  margin-top: 6px;
  left: 3%;
  width: 46px;
  height: auto;
  transform: rotate(-12deg);
}
@media (max-width: 767px) {
  /* SPはCTAボタンがdisplay:blockで実質全幅になり、46px幅の矢印だと
     margin:0 16pxの余白に収まらずボタンと重なるため非表示にする
     （SPの落書きは既存矢印の1個のみ・「2個まで」の上限内） */
  .top-v2-playroll-doodle-arrow--outro {
    display: none;
  }
}

.top-v2-playroll {
  position: relative;
}

/* 注記: .top-v2-playroll-row/.top-v2-playroll-viewport は既存のflex/grid
   構成により、getBoundingClientRect()上は(overflow:hiddenで視覚的には
   クリップされるが)マーキー全カード分の実寸(数千px)を報告する既存の
   挙動があるため、行基準のposition:absolute + %指定は破綻する（要素が
   クリップ域外に飛ぶ）。落書きSVGはタブ直後のインラインフローに乗せる
   ことでこの挙動を回避し、タブ幅に関わらずタブ末尾に必ず収まる
   （カード領域はタブの次の行=別ボックスのため重なりようがない） */
.top-v2-playroll-doodle {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0 8px 8px;
  width: 28px;
  height: 28px;
  pointer-events: none;
  overflow: visible;
}
.top-v2-playroll-doodle--star { transform: rotate(-6deg); }
.top-v2-playroll-doodle--circle { transform: rotate(5deg); }
.top-v2-playroll-doodle--speed { width: 30px; transform: rotate(-4deg); }

@media (max-width: 767px) {
  /* SPはインラインSVG3個を非表示にし、既存矢印1個(intro)のみ残す
     （outroは直前のルールで別途非表示済み）。「2個まで」の上限内 */
  .top-v2-playroll-doodle {
    display: none;
  }
}

/* --- タスク5: 行ラベルの傾きを交互に。既存ルール(5042行)は全行-1.5°の
   ため、2・4行目のみ+1°で上書き（1・3行目は既存の-1.5°のまま） */
.top-v2-playroll-row--nostalgic .top-v2-playroll-tab.top-v2-print-tab,
.top-v2-playroll-row--everyone .top-v2-playroll-tab.top-v2-print-tab {
  transform: rotate(1deg);
}

/* マーキーの遊び心・追い込み（オーナー指摘2件）:
   1) 行ラベルは左置きだと事務的 → 中央置き+テープ留めで川に少し重ねる
   2) 丸つけは3px均一線だと完成度が低い → 筆ペンの塗りリング(太さ変化)に
      置換済み。輪が太くなった分だけ余白を広げ、-3°傾けてペンの勢いを出す */
.top-v2-playroll-rowhead {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 3;
  margin-bottom: -10px;
}
.top-v2-playroll-tab.top-v2-print-tab {
  position: relative;
}
.top-v2-playroll-tab.top-v2-print-tab::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  width: 46px;
  height: 16px;
  transform: translateX(-50%) rotate(-5deg);
  background: url(/assets/img/tape-2.png) center / 100% 100% no-repeat;
  pointer-events: none;
}
.top-v2-maru svg {
  transform: rotate(-3deg);
  inset: -0.5em -0.75em;
}

/* 根本修正: grid親の下で viewport が無クリップのため行幅が track 実寸
   (4400px超)に膨張し、ラベル中央化が画面外に飛んでいた。viewport を
   正規のクリッパーにし、行をコンテナ幅へ収める（マーキーの動きは不変） */
.top-v2-playroll-row {
  max-width: 100%;
  min-width: 0;
}
.top-v2-playroll-viewport {
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
}

/* PCでは最少の6枚列でも一巡分を画面幅より長くする。
   同じ列を2本つなぐ無限スクロールで、同一カードが同じ画面内に
   左右2枚同時に現れないための寸法。超ワイド画面は1920pxで止める。 */
@media (min-width: 992px) {
  .top-v2-playroll {
    width: min(100%, 1920px);
    margin-inline: auto;
  }

  .top-v2-playcard {
    width: max(176px, calc((min(100vw, 1920px) - 60px) / 5));
  }
}

/* 行ラベル最終形（オーナー指摘: 紺の四角自体がダサい）:
   紺プレートは写真上に載る扉カード用の文法で、白地に単体だと官僚的な
   掲示プレートになる → 大見出しと同じクリームのマーカーswipeのミニ版へ。
   枠なし・塗り箱なし・テープと傾きは維持（親子関係: 96px見出し→ミニ札） */
.top-v2-playroll-tab.top-v2-print-tab {
  background: linear-gradient(transparent 55%, #fff8e8 55%);
  color: #2f7890;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0 8px 2px;
  font-size: 18px;
  letter-spacing: 0.06em;
}
@media (min-width: 992px) {
  .top-v2-playroll-tab.top-v2-print-tab {
    font-size: 22px;
    padding: 0 10px 3px;
  }
}

/* 行ラベル新装置「nじかんめ」（オーナー指摘: マーカーだと大見出しと被る）:
   箱もswipeもやめ、オレンジの時限表示+teal太字+手描き波線の下線だけに。
   セクション見出し「時間割は、ぜんぶ遊び。」のオチとして4行を
   1〜4じかんめのコマに見立てる。テープは箱がなくなったため撤去 */
.top-v2-playroll-tab.top-v2-print-tab {
  background: none;
  padding: 0 2px 8px;
}
.top-v2-playroll-tab.top-v2-print-tab::before {
  content: none;
}
.top-v2-playroll-tab.top-v2-print-tab::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -6px;
  bottom: 0;
  height: 9px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 10" preserveAspectRatio="none"><path d="M3 6 C 20 2 40 9 60 5 C 80 1 102 8 117 4" fill="none" stroke="%232f7890" stroke-width="3" stroke-linecap="round"/></svg>') center / 100% 100% no-repeat;
  pointer-events: none;
}
.top-v2-playroll-period {
  display: inline-block;
  color: #f0831e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-right: 7px;
  transform: rotate(-4deg) translateY(-2px);
}
@media (min-width: 992px) {
  .top-v2-playroll-period {
    font-size: 14px;
  }
}

/* TOP仕上げ一括（オーナー指摘6点対応 2026-07-10）:
   1) 波の継ぎ目: /play/の波SVGは「グレー区間の末尾」用の形（上辺両肩が
      グレー）。白区間末尾に置くと白地に浮いた羽になるため上下反転して
      白→グレーのドームに。svgのinlineベースライン由来の白い髪の毛線も
      display:blockで根絶
   2) みんなで行くと、いくら？をPCで1行に（96pxでは収まらないため
      その見出しだけ7.4vwで追従。SPはkinsokuスパンで文節2行）
   3) せんせいより↔空き状況CTAが-1px密着、料金の詳細↔セクション端が
      0pxだったため呼吸を確保（#bannerはTOPの#price内にのみ存在） */
/* 波SVG流用は形の前提が逆（グレー区間末尾用）でフリップしても中央の
   接点が破綻するため撤回し、グレー区間の上辺自体を楕円ドームに丸める
   方式へ（border-radiusのみ=継ぎ目・髪の毛線が構造的に発生しない） */
#playroll .l-banner_border--btm,
#flow .l-banner_border--btm,
#faq .l-banner_border--btm {
  display: none;
}
#usagescene,
#landscape {
  border-top-left-radius: 50% 46px;
  border-top-right-radius: 50% 46px;
}
#location > .l-section_bg {
  border-top-left-radius: 50% 46px;
  border-top-right-radius: 50% 46px;
}
@media (min-width: 992px) {
  #price .top-v2-h {
    font-size: min(96px, 7.4vw);
    white-space: nowrap;
  }
}
#price #banner .top-v2-cta-big {
  margin-top: 34px;
}
#price #banner .top-v2-price-detail {
  display: inline-block;
  margin: 20px 0 48px;
}

/* ===================================================================
   TOP index.html 追補（タスク3）: #location 住所カードを
   「がっこうのれんらくさき」おたよりカードに。文言・住所・営業時間・
   ボタンのリンク先は不変、地図(.top-v2-map-frame)は無変更。
   料金セクションで確立したテープ+印刷タブ+丸バッジ文法
   （.top-v2-price-card--formal/.top-v2-teacher-note）を流用する。
   ===================================================================*/

.top-v2-address-card {
  position: relative;
  transform: rotate(-0.3deg);
  box-shadow: 0 6px 18px rgba(20, 50, 65, 0.10);
}

/* 上端のテープ留め（.top-v2-price-card--formalと同仕様、柄違いのtape-4）。
   左上タブ「がっこうのれんらくさき」と横位置を奪い合わないよう中央でなく
   右寄り（バッジとの間）に配置。せまい幅でも両者と重ならないよう
   right基準で固定し、SPはテープ自体も少し縮小して余裕を確保 */
.top-v2-address-card::before {
  content: "";
  position: absolute;
  top: -14px;
  right: 58px;
  width: 92px;
  height: 38px;
  background: url(/assets/img/tape-4.png) no-repeat center/contain;
  pointer-events: none;
}

@media (max-width: 767px) {
  .top-v2-address-card::before {
    top: -11px;
    right: 46px;
    width: 60px;
    height: 25px;
  }
}

/* 右上の丸バッジ「たいせつ」（だいじ/ほぞんばんと同じスタンプ文法。
   56px円内で4文字が窮屈なため、ほぞんばんと同様に最初から2行固定） */
.top-v2-address-card::after {
  content: "たい\A せつ";
  white-space: pre-line;
  position: absolute;
  top: -18px;
  right: -12px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2.5px solid rgba(240, 131, 30, 0.75);
  border-radius: 50%;
  background: #fff;
  color: rgba(240, 131, 30, 0.85);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 900;
  transform: rotate(8deg);
  pointer-events: none;
  box-shadow: 0 3px 8px rgba(20, 50, 65, 0.12);
}

@media (max-width: 767px) {
  .top-v2-address-card::after {
    width: 48px;
    height: 48px;
    font-size: 9.5px;
    top: -14px;
    right: -8px;
  }
}

/* 左上のクリーム小タブ「がっこうのれんらくさき」(.top-v2-print-tab流用) */
.top-v2-address-tab {
  position: absolute;
  top: -16px;
  left: 22px;
  transform: rotate(-3deg);
  z-index: 2;
  font-size: 11.5px;
}

@media (max-width: 767px) {
  .top-v2-address-tab {
    top: -13px;
    left: 14px;
    font-size: 10.5px;
    padding: 3px 10px;
  }
}

/* 「住所」「営業時間」小見出しの手描き波線下線
   （マーキー行ラベル.top-v2-playroll-tab.top-v2-print-tab::afterと同じ
   SVG data-URIを流用。inline-blockで見出し文字幅にだけ線を敷く） */
.top-v2-address-heading {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.top-v2-address-heading::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  bottom: 0;
  height: 8px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 10" preserveAspectRatio="none"><path d="M3 6 C 20 2 40 9 60 5 C 80 1 102 8 117 4" fill="none" stroke="%232f7890" stroke-width="3" stroke-linecap="round"/></svg>') center / 100% 100% no-repeat;
  pointer-events: none;
}

/* 住所行あたまの手描き旗アイコン（teal線画、装飾のみでaria-hidden） */
.top-v2-address-doodle {
  display: inline-block;
  vertical-align: -3px;
  margin-right: 4px;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

/* ===================================================================
   TOP index.html 追補（タスク1改訂）: マーキーの「写真なしカード」用
   プレースホルダー。.top-v2-playcard-photoに重ねる修飾クラスで、
   後日<img>に差し替わっても親要素の見た目(角丸・4:3)は不変 */
.top-v2-playcard-photo--placeholder {
  background: #fff8e8;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 生成待ちカードは差し替えリストの番号だけを表示する。 */
.top-v2-playcard-photo--pending {
  display: grid;
  place-items: center;
  background: #fff8e8;
  border: 2px dashed rgba(47, 120, 144, 0.58);
  color: #2f7890;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.top-v2-playcard-placeholder-art {
  width: 72%;
  height: 72%;
}

/* ===================================================================
   シーン誘導カード文法統一（TOP扉カード + 各シーンページの他シーン
   誘導カード）: 紺プレート(.top-v2-doors-label/.top-v2-otherscenes-label)
   ＋1行キャプション(.top-v2-doors-note/.top-v2-otherscenes-note)を廃止し、
   「役割タグ＋行き先H1コピー＋くわしく→」構成に統一。旧クラスのCSSは
   他箇所からの参照可能性を考慮しそのまま残置し、ここでは新クラスのみ追加する。
   =================================================================== */

/* 役割タグ: 写真左上角のクリーム小タブ（.top-v2-print-tabの見た目を流用し、
   位置だけこのクラスで指定。.top-v2-scenecard-photoが position:relative
   済みなのでそのまま基準にできる） */
.top-v2-scenecard-roletag {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 3;
  transform: rotate(-3deg);
}

/* H1コピー主文: teal太字・中央寄せ。文節は.top-v2-kinsoku(inline-block)で
   区切り、単語内改行を防ぎながら幅に応じて行を折り返す */
.top-v2-scenecard-caption {
  display: block;
  margin-top: 10px;
  color: #2f7890;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}
@media (min-width: 992px) {
  .top-v2-scenecard-caption {
    font-size: 17px;
  }
}

/* 他シーン誘導カード(.top-v2-otherscenes-cards)は元々ラベル/注釈が
   ブロックのまま自然に積み上がる構造だった。扉カード(.top-v2-doors)と
   同じ「くわしく→をカード右下に固定し、同じ行のカード底辺を揃える」
   挙動にするため、扉カードで実績のあるflex縦積み構造を適用する */
.top-v2-otherscenes-cards a {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}
.top-v2-otherscenes-cards .top-v2-scenecard-photo {
  width: 100%;
}
.top-v2-otherscenes-cards .top-v2-scenecard-caption,
.top-v2-otherscenes-cards .top-v2-doors-more {
  padding-left: 16px;
  padding-right: 16px;
}
.top-v2-otherscenes-cards .top-v2-doors-more {
  margin-top: auto;
  align-self: flex-end;
  padding-top: 10px;
  padding-bottom: 4px;
}
.top-v2-otherscenes-cards a:hover .top-v2-doors-more {
  text-decoration: underline;
}

/* ===================================================================
   オーナーレビュー6点対応バッチ（タスク1）: SP見出しの増量
   統一見出し.top-v2-hのSPサイズ 9.06667vw → 12vw。PC(min-width:992pxの
   96px)とprice専用のmin(96px,7.4vw)は対象外のため、既存のPC境界
   (min-width:992px)と競合しないmax-width:991pxにスコープして上書きする。
   重要: 2775行のfriends向け救済「@media(max-width:767px)
   .top-v2-scene-title-mark{font-size:21px}」が全ページのマーカーspanに
   掛かっており、TOPの見出しはh2を12vwにしても可視テキストが21pxのまま
   だった（実測: markFontSize=21px/padding 0.84px=0.04em×21px）。
   .top-v2-h配下のマーカーだけ親サイズを継承させて是正する
   （.top-v2-hはTOP index.htmlの8見出し専用クラス=grep確認済みで、
   friends等の.top-v2-scene-title単独見出しには波及しない）。
   マーカー余白(0.04em/0.18em)はem基準のため継承後は自動追従。
   12vwは991pxで119pxとPCの96pxを逆転するため、800px以上はmin()で
   96px上限に抑える（375pxでは45px=12vwそのまま） */
@media (max-width: 991px) {
  .top-v2-h {
    font-size: min(12vw, 96px);
  }
  .top-v2-h .top-v2-scene-title-mark {
    font-size: inherit;
  }
}

/* ===================================================================
   オーナーレビュー6点対応バッチ（タスク2）: TOP余白の正規化
   目標スケール: セクション間の視覚ギャップ72〜96px／見出し→最初の
   コンテンツ28〜40px（375px実測基準）。
   前提是正: lp-style 3680行（@media max-width:576px）の
   .l-section_title--image{height:32vw} が固定高さ120px(375px時)の
   flexコンテナとして見出しをjustify-content:centerで抱えるため、
   12vw化で3行になった見出しが上下にはみ出し、#usagescene では
   見出しがコンテンツに-17px食い込み、#location では見出し下に
   +69pxの過大な空きが出ていた。TOPの該当3セクションだけ固定高さを
   解除して自然高に戻す（基底2751行はheight:auto。friends等の
   他ページの同クラスには波及しないようTOP専用idでスコープ） */
#usagescene .l-section_title--image,
#stay .l-section_title--image,
#location .l-section_title--image {
  height: auto;
}

/* 境界の正規化（375px実測）。固定高さ解除後の実測:
   playroll 80.8 / usagescene 84.2 / stay 90.0 = 既に72〜96に収まる。
   残る詰まり3箇所と間延び2箇所を是正する。
   py-sm-5系ユーティリティが効き始める576px以上とは干渉しないよう、
   加算パディングはmax-width:575pxにスコープ（576〜991pxは既存の
   py-sm-5=48pxで概ね近い値になる帯域のため現状維持） */

/* オーナー指摘の核心: 「行くなら、誰と？」(#stay)と「みんなで行くと、
   いくら？」(#price)の間が実測1px（stay側py-5の実効pbが1px＋price側は
   py-sm-5がSPで無効＋pt-5は既存3423行で0化済み）。グレー帯の上端に
   呼吸を持たせて72〜96pxに乗せる */
@media (max-width: 575px) {
  #price > .l-section_bg--gray {
    padding-top: 79px;
  }
}

/* flow: price末尾→見出しが45px。白セクション側に不足分を足す。
   1423行の #flow.l-section{padding:48px 0}（詳細度1,0,1）が#flow単独
   （1,0,0）に勝つため、同一セレクタで後勝ちさせる（下48pxは維持） */
@media (max-width: 575px) {
  #flow.l-section {
    padding-top: 79px;
  }
}

/* faq: landscape末尾→見出しが49px。同上 */
@media (max-width: 575px) {
  #faq {
    padding-top: 27px;
  }
}

/* location: faqボタン→見出しが47px。グレードーム開始前の白で確保 */
@media (max-width: 575px) {
  #location {
    margin-top: 26px;
  }
}

/* 見出し→コンテンツの正規化（目標28〜40px）。
   h2自身のmargin-bottom(40px)は.l-section_title--image(flex)内では
   相殺されず実寸で効くため、is指定より強いid付きセレクタで直接絞る。
   （wrapperのmb-5はテーマ側が!important固定のため触らず、h2側で調整） */
@media (max-width: 991px) {
  /* stay: 40(h2)+20(wrapper)=56.9 → h2を20pxに絞って約37px */
  #stay h2.top-v2-h {
    margin-bottom: 20px;
  }
  /* flow/faq: 実効ギャップはwrapper(.text-center.mb-5/.l-section_title
     .text-center.mb-5)のmb-5=3rem!importantが支配（h2のmbは48pxとの
     相殺でmax()に吸われ無効）。!importantで殴り返す代わりに、後続
     コンテンツ側の負マージンで45px→33pxへ詰める */
  #flow .top-v2-flow {
    margin-top: -12px;
  }
  #faq .l-faq_list {
    margin-top: -12px;
  }
  /* location: 40(h2)+20(wrapper escape)=58.4 → h2を20pxに（wrapper分は
     タスク3のflow-root封じ込めでグレー帯内の余白に変わる） */
  #location h2.top-v2-h {
    margin-bottom: 20px;
  }
}

/* ===================================================================
   オーナーレビュー6点対応バッチ（タスク3）: TOPアクセスの「白い線」
   原因（実測特定）: #location はグレー帯が2枚のdiv
   （上=.l-section_bg[ドームradius]／下=.l-section_bg--lightgray）に
   分かれており、上divの中のタイトルwrapper
   (.l-section_title--image.text-center.mb-5)のmargin-bottom
   （lp-styleの!important指定: 基底3rem/≤768pxで55px/≤500pxで20px）が、
   padding・borderを持たない祖先(.container→.l-section_inner→
   .l-section_bg ※3430行で内側paddingは0化済み)をマージン相殺で
   突き抜け、2枚のグレー帯の「間」に白い帯として現れていた。
   実測根拠: 375pxで .l-section_bg の bottom=8393.42 /
   .l-section_bg--lightgray の top=8413.42 → 差20px=≤500pxの
   margin-bottom:20px!important と完全一致（bgはどちらも#ECEDF2、
   bodyは#fff）。PC側は基底の3rem=48pxが同様に露出。
   対策: 上divをdisplay:flow-root化してBFCを確立し、子孫の
   margin-bottomをグレー帯の内側に封じ込める（!important合戦を回避、
   両幅で構造的に白帯が消える） */
#location > .l-section_bg {
  display: flow-root;
}

/* ===================================================================
   オーナーレビュー追加指示（タスク7）: TOP #playroll をPCで
   「1画面に4じかんめまで」収める密度化。
   方針: カードを小さくして1行に多くのカードを見せ、「たくさんある感」
   を密度で出す（オーナー確定）。スコープは≥992pxのみで、SPの現行
   サイズ・レイアウト（カード幅clamp(128px,34vw,136px)等）は不変。
   目標: 1280×900で見出し上端→「あそびを全部見る」下端が概ね880px以内
   （before実測1405.8px）。
   既存の傾き（--pc-rot/--pc-ty）・テープ留め・マーキーの
   animation-duration/direction・reduced-motion規則（4959行）は
   一切変更しない。カード縮小に伴うトラック実幅の不足は index.html 側で
   liを1〜2サイクル追加して補填（admire18/nostalgic20/nature24/
   everyone18枚×2トラック）。 */
@media (min-width: 992px) {
  /* カード: 5309行の width:max(176px, (min(100vw,1920px)-60px)/5) を
     後勝ちで固定幅110pxに（写真4:3は.aspect-ratio既定のまま維持）。
     名前ラベルは11px: 最長9文字（ドローンで記念撮影等）が
     内寸110-10=100px ≥ 9×11=99px で折返しなしに収まる検算 */
  .top-v2-playcard {
    width: 110px;
    padding: 5px 5px 7px;
  }
  .top-v2-playcard-name {
    font-size: 11px;
    margin-top: 4px;
  }
  /* 行内ピッチ: gap20(5111行)→14。カード110+gap14=ピッチ124px */
  .top-v2-playroll-track {
    gap: 14px;
  }
  /* 行間: グリッドgap22(4883行)→10 */
  .top-v2-playroll {
    gap: 10px;
  }
  /* 行ラベル: 22px(5329行)→16px・下線と余白も一段コンパクトに */
  .top-v2-playroll-tab.top-v2-print-tab {
    font-size: 16px;
    padding: 0 6px 2px;
  }
  .top-v2-playroll-tab.top-v2-print-tab::after {
    height: 7px;
  }
  .top-v2-playroll-period {
    font-size: 11px;
    margin-right: 5px;
  }
  .top-v2-playroll-rowhead {
    margin-bottom: -4px;
  }
  .top-v2-playroll-doodle {
    width: 22px;
    height: 22px;
    margin-bottom: 4px;
  }
  /* 見出し(96px不変)まわり: タイトル上36px(4874行)/下40pxをPCだけ圧縮 */
  .top-v2-playroll-title {
    margin-top: 0;
    margin-bottom: 20px;
  }
  #playroll .top-v2-scene-lead {
    margin-bottom: 18px;
  }
  .top-v2-playroll-actions {
    margin-top: 14px;
  }
}

/* ===================================================================
   オーナーレビュー6点対応バッチ（タスク4）: /play/option/ もくじの改装
   丸スタンプ5個（白丸リング）→「ノートの小口に貼るインデックスふせん」へ。
   ・上辺だけ角丸/下辺直線のふせん形・白とクリーム#fff8e8の交互
   ・teal太字ラベル・±1〜2°の互い違い傾き（transform-origin=根元）
   ・負マージンでわずかに重なる扇状・下に薄い紙影
   ・hover/focusで-3px持ち上げ（reduced-motionでは無効）
   「もくじ」タブ(<p>)はHTML側で廃止（ふせん自体が目次と自明のため）。
   aria-label・href・リンク先は不変。
   カスケード: 旧円形ルール（4472/4833行等・0,1,0〜0,2,0）と旧odd/even
   回転（4842行・0,3,0）に対し、本ブロックは後方かつ同等以上の詳細度で
   上書きする。持ち上げは--fusen-liftカスタムプロパティ経由にして、
   (0,3,0)のtransform宣言と:hover(0,2,0)の優先度衝突を回避 */
.top-v2-anchor-circles {
  gap: 0;
  align-items: flex-end;
  padding-top: 6px; /* 傾き+持ち上げ分の余裕（上の要素と重ならない） */
}
.top-v2-anchor-circle-item {
  position: relative;
}
/* 扇状の重なり: 左が上になるようz-indexを右肩下がりに */
.top-v2-anchor-circle-item:nth-child(1) { z-index: 5; }
.top-v2-anchor-circle-item:nth-child(2) { z-index: 4; }
.top-v2-anchor-circle-item:nth-child(3) { z-index: 3; }
.top-v2-anchor-circle-item:nth-child(4) { z-index: 2; }
.top-v2-anchor-circle-item:nth-child(5) { z-index: 1; }
.top-v2-anchor-circle-item + .top-v2-anchor-circle-item {
  margin-left: -7px;
}
.top-v2-anchor-circle-item:hover,
.top-v2-anchor-circle-item:focus-within {
  z-index: 9;
}
.top-v2-anchor-circle {
  flex-direction: row;
  align-items: center;
  gap: 5px;
  width: auto;
  height: auto;
  padding: 12px 16px 10px;
  border-radius: 10px 10px 0 0;
  background: #fff;
  border: 1.5px solid rgba(47, 120, 144, 0.3);
  box-shadow: 0 3px 6px rgba(20, 50, 65, 0.12);
  transform: translateY(var(--fusen-lift, 0px)) rotate(var(--fusen-rot, 0deg));
  transform-origin: 50% 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
/* 交互の地色と互い違いの傾き（0,3,0で旧回転・旧hover背景の両方に勝つ） */
.top-v2-anchor-circle-item:nth-child(odd) .top-v2-anchor-circle {
  --fusen-rot: -1.6deg;
  background: #fff;
  transform: translateY(var(--fusen-lift, 0px)) rotate(var(--fusen-rot, 0deg));
}
.top-v2-anchor-circle-item:nth-child(even) .top-v2-anchor-circle {
  --fusen-rot: 1.4deg;
  background: #fff8e8;
  transform: translateY(var(--fusen-lift, 0px)) rotate(var(--fusen-rot, 0deg));
}
.top-v2-anchor-circle:hover,
.top-v2-anchor-circle:focus-visible {
  --fusen-lift: -3px;
  box-shadow: 0 6px 12px rgba(20, 50, 65, 0.16);
}
.top-v2-anchor-circle:focus-visible {
  outline: 2px solid #2f7890;
  outline-offset: 2px;
}
.top-v2-anchor-circle-label {
  font-size: 15px;
  letter-spacing: 0.05em;
}
.top-v2-anchor-circle-arrow {
  font-size: 8px;
  opacity: 0.7;
}
/* タッチ端末: 旧「押し沈み」(4511行)を持ち上げ挙動へ差し替え */
@media (hover: none) {
  .top-v2-anchor-circle:active {
    --fusen-lift: -3px;
    transform: translateY(var(--fusen-lift, 0px)) rotate(var(--fusen-rot, 0deg));
    box-shadow: 0 6px 12px rgba(20, 50, 65, 0.16);
  }
}
/* SP: 5枚が1列に収まるよう少しコンパクトに。旧max-width:300px(4566行)は
   ふせん列では折返しの原因になるだけなので解除 */
@media (max-width: 575px) {
  .top-v2-anchor-circles {
    gap: 0;
    max-width: none;
  }
  .top-v2-anchor-circle {
    width: auto;
    height: auto;
    padding: 10px 11px 8px;
  }
  .top-v2-anchor-circle-label {
    font-size: 13px;
  }
}
/* reduced-motion: 持ち上げ・遷移を無効化（傾き等の静的装飾は維持） */
@media (prefers-reduced-motion: reduce) {
  .top-v2-anchor-circle {
    transition: none;
  }
  .top-v2-anchor-circle:hover,
  .top-v2-anchor-circle:focus-visible,
  .top-v2-anchor-circle:active {
    --fusen-lift: 0px;
  }
}

/* ===================================================================
   オーナーレビュー6点対応バッチ（タスク5）: 役割タグの改装
   クリームピル(.top-v2-print-tab流用)→「写真に貼ったマスキングテープに
   手書き」へ。TOP扉4枚と各シーンページの他シーン誘導カードは
   .top-v2-scenecard-roletag top-v2-print-tab のクラス組が完全共通
   （grep確認: friends/family/gasshuku/kenshu 各3枚も同一マークアップ）
   のためCSSのみで全16箇所に適用され、HTML変更は不要。
   ・背景: tape素材をタグ寸法に引き伸ばし（クリーム地・枠線・ピル角丸は廃止）
   ・文字: インク紺#2a4750の太字。テープごと-5°回転
   ・カード側の飾りテープ(::before)は写真上辺の「中央」(left:50%/width104px)、
     役割タグは「左上角」で位置が分離しており二重にならない（375/1280で
     実測確認）ため飾りテープの非表示は不要 */
.top-v2-scenecard-roletag {
  top: 8px;
  left: 6px;
  background: url(/assets/img/tape-1.png) center / 100% 100% no-repeat;
  border: none;
  border-radius: 0;
  padding: 7px 18px 8px;
  color: #2a4750;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.06em;
  transform: rotate(-5deg);
  transform-origin: 40% 50%;
}

/* テープ柄はカードごとに変える。tape-4は平均luma128（canvas実測）で
   インク紺#2a4750とのコントラスト約2.7:1しか取れず13px太字には不適の
   ため、文字下に敷くのは tape-1(luma175・約4.5:1)/tape-2(237)/
   tape-3(226) の3柄に限定する。他シーン誘導カードは写真中央の
   飾りテープ(2797-2813行)が残るため同柄が並ばない組にする */
.top-v2-doors li:nth-child(1) .top-v2-scenecard-roletag {
  background-image: url(/assets/img/tape-3.png);
  transform: rotate(-5deg);
}
.top-v2-doors li:nth-child(2) .top-v2-scenecard-roletag {
  background-image: url(/assets/img/tape-2.png);
  transform: rotate(-4deg);
}
.top-v2-doors li:nth-child(3) .top-v2-scenecard-roletag {
  background-image: url(/assets/img/tape-1.png);
  transform: rotate(-5.5deg);
}
.top-v2-doors li:nth-child(4) .top-v2-scenecard-roletag {
  background-image: url(/assets/img/tape-3.png);
  transform: rotate(-4.5deg);
}
.top-v2-otherscenes-cards li:nth-child(1) .top-v2-scenecard-roletag {
  background-image: url(/assets/img/tape-2.png);
  transform: rotate(-5deg);
}
.top-v2-otherscenes-cards li:nth-child(2) .top-v2-scenecard-roletag {
  background-image: url(/assets/img/tape-1.png);
  transform: rotate(-4deg);
}
.top-v2-otherscenes-cards li:nth-child(3) .top-v2-scenecard-roletag {
  background-image: url(/assets/img/tape-3.png);
  transform: rotate(-5.5deg);
}

/* 飾りテープとの二重貼り対策（実測）:
   ・TOP扉4枚: SPの2カラムで写真幅160pxとなり、タグ(右端x=111)が中央
     飾りテープ域(x∈[48,152])に重なる → 扉のみ飾りテープを全幅で非表示
     （ブレークポイントで出たり消えたりする挙動を避け、タグのテープが
     「写真に貼ったテープ」の役を一貫して担う）
   ・他シーン誘導カード: 375px(タグ右端120 vs テープ左端136)・
     1280px(86 vs 93)とも重ならないため飾りテープは維持 */
.top-v2-doors .top-v2-scenecard-photo::before {
  content: none;
}


/* オーナー追加指示2件（バッチB外・親が直接適用 2026-07-10）:
   1) もくじふせんのクリーム交互を廃止し全タブ白統一。単調化の補償として
      傾きの振れ幅をわずかに拡大
   2) SP/タブレットの見出しは「折り返さない最大サイズ」を見出しごとに
      個別割り当て（一律12vwを廃止）。あの頃・みんなでの2見出しは
      設計上の2行を維持し行単位で最大化。上限64pxはタブレット帯の
      過大化防止 */
.top-v2-anchor-circle-item:nth-child(even) .top-v2-anchor-circle {
  --fusen-rot: 1.8deg;
  background: #fff;
}
.top-v2-anchor-circle-item:nth-child(odd) .top-v2-anchor-circle {
  --fusen-rot: -2deg;
}
@media (max-width: 991px) {
  #faq .top-v2-h,
  #location .top-v2-h {
    font-size: min(12vw, 64px);
  }
  #stay .top-v2-h,
  #landscape .top-v2-h,
  #price .top-v2-h {
    font-size: min(11vw, 64px);
  }
  #usagescene .top-v2-h {
    font-size: min(9.8vw, 64px);
  }
  #playroll .top-v2-h {
    font-size: min(8vw, 64px);
  }
  #flow .top-v2-h {
    font-size: min(7.4vw, 64px);
  }
}

/* 実測微調整: 375pxでprice(11vw)とflow(7.4vw)がマーカー余白ぶん数px溢れて
   スパン内部折れ → それぞれ一段絞る（折返し禁止が最優先） */
@media (max-width: 991px) {
  #price .top-v2-h {
    font-size: min(10.4vw, 64px);
  }
  #flow .top-v2-h {
    font-size: min(7vw, 64px);
  }
}

/* flow再調整: 12文字+マーカー余白がコンテナ327pxに対し6.6vwでようやく1行 */
@media (max-width: 991px) {
  #flow .top-v2-h {
    font-size: min(6.6vw, 60px);
  }
}

/* flow最終裁定: <br>入りの設計2行（予約はかんたん/4ステップ）と判明。
   1行化で縮めるのではなく、他の設計2行見出しと同じ「行単位最大化」を
   適用して11vwへ（最長行7文字が収まる最大） */
@media (max-width: 991px) {
  #flow .top-v2-h {
    font-size: min(11vw, 64px);
  }
}

/* PC見出しにも「折り返さない最大サイズ」規律を適用（オーナー指摘:
   992〜1150px帯で96px固定が不慮の途中折れを起こす）。広い画面では96px、
   狭いPCではvw側が効いて自動的に絞られる。設計2行（あの頃・予約4ステップ・
   みんなで=kinsoku2行→PCは1行専用min済み）は行単位でフィット */
@media (min-width: 992px) {
  #playroll .top-v2-h {
    font-size: min(96px, 8vw);
  }
  #usagescene .top-v2-h {
    font-size: min(96px, 9.6vw);
  }
  #stay .top-v2-h,
  #landscape .top-v2-h {
    font-size: min(96px, 10.8vw);
  }
}

/* 見出し脇の切り抜き復活（オーナー: マーカーよりワイワイ感がある）:
   時間割=ダーツ盤+ダーツ少年／誰と=卓球少年+バレーの子／アクセス=
   指差し+道案内。テーマの絶対配置(translate ±100%)が効くよう、対象
   見出しだけ中央シュリンクの表(display:table)にして基準箱を文字幅に */
#playroll .top-v2-h,
#stay .top-v2-h,
#location .top-v2-h {
  position: relative;
  display: table;
  margin-left: auto;
  margin-right: auto;
}

/* 切り抜きの配置調整: テーマ既定のtranslate(±100%)は「見出しの外側」
   前提で、大型見出しでは画面外に切れる。端に少し重ねるタック配置に
   変更（FAQ吹き出しと同じ重なり文法）。ついでに少し傾けて賑やかしに */
#playroll .top-v2-h .l-section_titleImage--left,
#stay .top-v2-h .l-section_titleImage--left,
#location .top-v2-h .l-section_titleImage--left {
  transform: translate(-48%, -50%) rotate(-7deg);
  z-index: 2;
}
#playroll .top-v2-h .l-section_titleImage--right,
#stay .top-v2-h .l-section_titleImage--right,
#location .top-v2-h .l-section_titleImage--right {
  transform: translate(48%, -50%) rotate(7deg);
  z-index: 2;
}

/* playrollは見出し自体が広い(992pxで903px)ため、タック量を浅くして
   狭いPCでも切り抜きが画面内に収まるように */
#playroll .top-v2-h .l-section_titleImage--left {
  transform: translate(-36%, -50%) rotate(-7deg);
}
#playroll .top-v2-h .l-section_titleImage--right {
  transform: translate(36%, -50%) rotate(7deg);
}

/* 切り抜きは文字の後ろへ（ダーツ盤が「時」を隠していた）。
   マーカー側を前面スタックにして、切り抜きは背後から覗く収まりに */
#playroll .top-v2-h .l-section_titleImage--left,
#playroll .top-v2-h .l-section_titleImage--right,
#stay .top-v2-h .l-section_titleImage--left,
#stay .top-v2-h .l-section_titleImage--right,
#location .top-v2-h .l-section_titleImage--left,
#location .top-v2-h .l-section_titleImage--right {
  z-index: 0;
}
#playroll .top-v2-h .top-v2-scene-title-mark,
#stay .top-v2-h .top-v2-scene-title-mark,
#location .top-v2-h .top-v2-scene-title-mark {
  position: relative;
  z-index: 1;
}

/* SPでは誰と？の切り抜きが左右で数px切れるため、タックをさらに浅く */
@media (max-width: 575px) {
  #stay .top-v2-h .l-section_titleImage--left {
    transform: translate(-26%, -50%) rotate(-7deg);
  }
  #stay .top-v2-h .l-section_titleImage--right {
    transform: translate(26%, -50%) rotate(7deg);
  }
}

/* オーナー指摘の本命対応（前回はふせんと誤解釈）:
   ①食事オプション/お子さま人数を開いた時のパネル背景 クリーム→白
   ②メニューカードの値札チップ（料金の字の背景） クリーム→白
   どちらも既存のteal枠線が輪郭を保つため白化しても沈まない */
.top-v2-chalk-mealrows {
  background: #fff;
}
.top-v2-menu-pricetag {
  background: #fff;
}

/* オーナー指摘の真の本命: 選択中ボタン（平日/土日祝・食事オプション・
   持ち込み調理等）の文字色がクリーム#fff8e8だった → 純白#fffに。
   全ボード共通（chalk-tabのis-on状態） */
.top-v2-chalk-tab.is-on,
.top-v2-chalk-tab.is-on small {
  color: #fff;
}

/* オーナー指示: 切り抜きと見出し文字は被らせない。
   ≥576px: 画像は完全に文字の外側（テーマ本来のtranslate±100%）に置き、
   その幅を前提に見出しサイズを絞る（playrollは11字なので特に）。
   <576px: 横に並ぶ幅が無いため、画像は見出しの肩の上（左右角の上）へ
   退避して被りゼロを維持 */
@media (min-width: 576px) {
  #playroll .top-v2-h .l-section_titleImage--left,
  #stay .top-v2-h .l-section_titleImage--left,
  #location .top-v2-h .l-section_titleImage--left {
    transform: translate(-100%, -50%) rotate(-7deg);
  }
  #playroll .top-v2-h .l-section_titleImage--right,
  #stay .top-v2-h .l-section_titleImage--right,
  #location .top-v2-h .l-section_titleImage--right {
    transform: translate(100%, -50%) rotate(7deg);
  }
}
@media (min-width: 576px) and (max-width: 991px) {
  #playroll .top-v2-h {
    font-size: min(8vw, 42px);
  }
  #stay .top-v2-h {
    font-size: min(11vw, 52px);
  }
}
@media (min-width: 992px) {
  #playroll .top-v2-h {
    font-size: min(96px, 6vw);
  }
  #stay .top-v2-h {
    font-size: min(96px, 8vw);
  }
}
@media (max-width: 575px) {
  #playroll .top-v2-h .l-section_titleImage--left,
  #stay .top-v2-h .l-section_titleImage--left,
  #location .top-v2-h .l-section_titleImage--left {
    top: 0;
    transform: translate(-30%, -78%) rotate(-7deg);
  }
  #playroll .top-v2-h .l-section_titleImage--right,
  #stay .top-v2-h .l-section_titleImage--right,
  #location .top-v2-h .l-section_titleImage--right {
    top: 0;
    transform: translate(30%, -78%) rotate(7deg);
  }
  #playroll .top-v2-h .l-section_titleImage--left img,
  #playroll .top-v2-h .l-section_titleImage--right img,
  #stay .top-v2-h .l-section_titleImage--left img,
  #stay .top-v2-h .l-section_titleImage--right img,
  #location .top-v2-h .l-section_titleImage--left img,
  #location .top-v2-h .l-section_titleImage--right img {
    max-height: 52px;
    width: auto;
  }
}

/* オーナー指示: スマホも肩の上でなく「横」に配置。幅捻出のため
   playroll/stayはSPで文節2行にし、行単位で最大サイズを維持
   （1行のままだと23px級に縮むため）。画像は横・被りゼロ */
@media (max-width: 575px) {
  #playroll .top-v2-h .l-section_titleImage--left,
  #stay .top-v2-h .l-section_titleImage--left,
  #location .top-v2-h .l-section_titleImage--left {
    top: 50%;
    transform: translate(-100%, -50%) rotate(-7deg);
  }
  #playroll .top-v2-h .l-section_titleImage--right,
  #stay .top-v2-h .l-section_titleImage--right,
  #location .top-v2-h .l-section_titleImage--right {
    top: 50%;
    transform: translate(100%, -50%) rotate(7deg);
  }
  #playroll .top-v2-h .l-section_titleImage--left img,
  #playroll .top-v2-h .l-section_titleImage--right img,
  #stay .top-v2-h .l-section_titleImage--left img,
  #stay .top-v2-h .l-section_titleImage--right img,
  #location .top-v2-h .l-section_titleImage--left img,
  #location .top-v2-h .l-section_titleImage--right img {
    max-height: 48px;
    width: auto;
  }
  #playroll .top-v2-h {
    font-size: min(10vw, 38px);
  }
  #stay .top-v2-h {
    font-size: min(11vw, 41px);
  }
}

/* SP横配置の追い込み: テーマ既定のspan余白2.66vwと画像高を絞り、
   375pxで左右はみ出しゼロに収める */
@media (max-width: 575px) {
  #playroll .top-v2-h [class^="l-section_titleImage"],
  #stay .top-v2-h [class^="l-section_titleImage"],
  #location .top-v2-h [class^="l-section_titleImage"] {
    padding: 0 2px;
  }
  #playroll .top-v2-h .l-section_titleImage--left img,
  #playroll .top-v2-h .l-section_titleImage--right img,
  #stay .top-v2-h .l-section_titleImage--left img,
  #stay .top-v2-h .l-section_titleImage--right img,
  #location .top-v2-h .l-section_titleImage--left img,
  #location .top-v2-h .l-section_titleImage--right img {
    max-height: 42px;
  }
  #playroll .top-v2-h {
    font-size: min(9vw, 34px);
  }
}

/* SP横配置の根治: display:tableは折返し後の行幅に縮まない（max-content
   でコンテナ幅に張り付く）ため、kinsokuスパンをblock化して明示2行にし、
   見出し箱を最長行幅まで縮めて画像の居場所を作る。locationは回転角の
   矩形かすり対策で外側オフセットを2%追加 */
@media (max-width: 575px) {
  #playroll .top-v2-h .top-v2-kinsoku,
  #stay .top-v2-h .top-v2-kinsoku {
    display: block;
  }
  #playroll .top-v2-h {
    font-size: min(10vw, 38px);
  }
  #location .top-v2-h .l-section_titleImage--left {
    transform: translate(-106%, -50%) rotate(-7deg);
  }
  #location .top-v2-h .l-section_titleImage--right {
    transform: translate(106%, -50%) rotate(7deg);
  }
}

/* stayも回転矩形のかすり対策で2%外出し */
@media (max-width: 575px) {
  #stay .top-v2-h .l-section_titleImage--left {
    transform: translate(-106%, -50%) rotate(-7deg);
  }
  #stay .top-v2-h .l-section_titleImage--right {
    transform: translate(106%, -50%) rotate(7deg);
  }
}

/* block化したkinsoku行のマーカー仕上げ: インラインのmark断片が上下に
   クリーム片を残すため、SPではスワイプを行スパン側に移し、行ごとに
   文字幅へフィットさせる */
@media (max-width: 575px) {
  #playroll .top-v2-h .top-v2-scene-title-mark,
  #stay .top-v2-h .top-v2-scene-title-mark {
    background: none;
    padding: 0;
  }
  #playroll .top-v2-h .top-v2-kinsoku,
  #stay .top-v2-h .top-v2-kinsoku {
    background: linear-gradient(transparent 58%, #fff8e8 58%);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 0 6px;
  }
}

/* 最終裁定（オーナー「不自然か？」→親の診断: 42pxの豆粒は賑やかしに
   ならず、見出しを譲らせる価値がない）: SPでは切り抜きを出さない。
   装飾は効く大きさで出すか出さないかの二択。SP見出しはのびのび復元し、
   block化kinsoku・行スワイプのSP特例も撤回 */
@media (max-width: 575px) {
  #playroll .top-v2-h [class^="l-section_titleImage"],
  #stay .top-v2-h [class^="l-section_titleImage"],
  #location .top-v2-h [class^="l-section_titleImage"] {
    display: none;
  }
  #playroll .top-v2-h .top-v2-kinsoku,
  #stay .top-v2-h .top-v2-kinsoku {
    display: inline-block;
    background: none;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
    width: auto;
  }
  #playroll .top-v2-h .top-v2-scene-title-mark,
  #stay .top-v2-h .top-v2-scene-title-mark {
    background: linear-gradient(transparent 58%, #fff8e8 58%);
    padding: 0 6px;
  }
  #playroll .top-v2-h {
    font-size: min(8vw, 34px);
  }
  #stay .top-v2-h {
    font-size: min(11vw, 41px);
  }
}

/* ===================================================================
   オーナー「ダサいところ検査」確定5件バッチ
   =================================================================== */

/* -------------------------------------------------------------------
   タスク1: PC(≥992px)の縦余白正規化
   375px基準で行った既存のSP正規化（5638〜5720行）と同じ考え方を、
   1280×900実測でPCスケール（境界80〜110px／見出し→コンテンツ32〜48px）
   に適用する。見出しは全て.top-v2-h{transform:rotate(-1deg)}(4989行)が
   掛かっており、getBoundingClientRectは回転後の外接矩形を返すため、
   幅に応じて実測が名目パディングより6〜10px小さく出る（既知の誤差、
   本バッチでは実測値ベースで数値を決定）。
   ------------------------------------------------------------------- */

@media (min-width: 992px) {
  /* MV帯（実測: MV下端→帯120px、ボタン下端→#playroll見出し上端177px。
     どちらも「帯の上下56〜72px」目標へ、帯自身のpadding/marginを圧縮） */
  .cta-section01 {
    margin-top: 24px;      /* 80pxから（lp-style基底） */
    margin-bottom: 20px;   /* 80pxから */
    padding-bottom: 26px;  /* 56pxから */
  }
  #playroll .l-section_inner {
    padding-top: 24px !important; /* 48px(py-5の!important)から。
                               padding-bottomは48pxのまま
                               （playroll→usagescene境界には無関係） */
  }

  /* 境界（前セクション下端→次見出し上端）の底上げ。実測が届いていない
     4箇所のみ、次セクションの見出し手前paddingを加算する。
     #usagescene/#price はTOP専用idではなく他ページと共有だが、
     .l-section_inner単体/.l-section_bg--grayはTOPの#price配下にしか
     存在しない組み合わせのため安全にスコープできる（grep確認済み） */
  #usagescene .l-section_inner {
    padding-top: 100px !important; /* 48pxのpy-5(!important)を上書き。実測40→約92 */
  }
  #price .l-section_bg--gray {
    padding-top: 100px !important; /* py-sm-5の48pxを上書き。実測38→約90 */
  }
  /* #flowはid・classとも friends/family/gasshuku/kenshu と同一構造で
     共有されるため、bare #flowや.l-section_innerには触れない。
     TOPだけが持つ見出しラッパー.text-center.mb-5（他ページのflowは
     h2を素のままcontainer直下に置く）を追加のCSSフックにする */
  #flow .text-center.mb-5 {
    padding-top: 54px; /* 実測38→約92 */
  }
  /* #faqも他ページと共有idのため、TOPだけの組み合わせ
     #faq.l-section_bg（class="l-section l-faq l-section_bg py-lg-5"は
     TOP限定）で安全にスコープする */
  #faq.l-section_bg .l-section_title {
    padding-top: 56px; /* 実測36→約92 */
  }
  /* #locationはTOP専用idなのでそのままスコープ可。境界用の
     padding-topと、見出し→コンテンツ短縮用のmargin-bottomを同時に置く */
  #location .l-section_title--image {
    padding-top: 47px;          /* 境界: 実測45→約92 */
    margin-bottom: 4px !important; /* 見出し→コンテンツ: 48pxのmb-5を圧縮 */
  }

  /* 見出し→コンテンツ（見出し下端→次要素上端）の正規化。
     実測が32〜48pxの範囲外だった5箇所のみ調整。flow/landscape/faqは
     実測39/38/38pxで既に範囲内のため無変更 */
  #playroll .top-v2-playroll-lead {
    padding-top: 28px; /* 実測12→約40 */
  }
  #usagescene .memory-section01 {
    margin-top: -41px; /* 実測81→約40 */
  }
  #stay .top-v2-doors {
    margin-top: -41px; /* 実測81→約40 */
  }
  #price #banner {
    padding-top: 10px; /* 実測30→約40 */
  }
  /* locationは上のブロックでmargin-bottom調整済み（84→約40） */
}

/* -------------------------------------------------------------------
   タスク2: 「年間6,000名〜」セクション（.cta-section）〜footer間の
   巨大な空白を圧縮し、登り棒の子(.l-main_bg)をfooter上端に接地させる。
   実測: LINEリンク下端→footer上端290px
   （.cta-section pb72+mb80 / .l-main_inner pb48 / .l-main pb90）。
   .l-main_bgはposition:absolute; bottom:-70pxで.l-main(overflow:clip)
   の下端基準に配置されており、視覚上の下端は常に.l-mainの下端
   （=footer上端）でクリップされる＝既に「接地」はクリップ機構により
   構造的に成立している（実測でも一致確認済み）。この関係は.l-mainの
   paddingを縮めても保たれるため、bottom値自体の変更は不要。
   .l-main_inner/.l-mainは全ページ共通クラスなので、bare指定は禁止。
   TOP専用id(#playroll)を持つことをフックに:has()でTOPのみへ限定する
   （1174行の.top-v2-scene-card-photo:has(...)で既に使用実績あり） */
@media (min-width: 992px) {
  .cta-section {
    padding-bottom: 20px; /* 72pxから */
    margin-bottom: 20px;  /* 80pxから */
  }
  .l-main_inner:has(#playroll) {
    padding-bottom: 18px !important; /* 48px(.pb-lg-5の!important)から */
  }
  .l-main:has(#playroll) {
    padding-bottom: 28px; /* 90pxから */
  }
}

/* -------------------------------------------------------------------
   タスク3: #price CTA行（空き状況を見る／料金の詳細を見る）の整列。
   共通クラス.top-v2-price-actionsは他ページでは1要素しか持たないが、
   TOPの#price #banner配下だけボタン+テキストリンクの2要素を横並び
   flexで持ち、768px以上でボタン右にリンクが浮いて見える不整合が
   あった。#price #banner（両id共存はTOPのみ＝既存5403/5406行と同じ
   スコープ）で縦積み・中央揃えに変更。gapに一本化し、price-detail側の
   個別margin-topは重複計上を避けるため0にする（SP/PC共通、幅で
   分岐させない＝どちらも中央揃えの縦積みが正のため） */
#price #banner .top-v2-price-actions {
  flex-direction: column;
  gap: 14px;
}
#price #banner .top-v2-price-detail {
  margin: 0 0 48px; /* 20px 0 48pxから。上余白はgap 14pxに一本化 */
}

/* -------------------------------------------------------------------
   タスク4: #playroll リード文（.top-v2-playroll-lead）がSPで左右
   パディング0のため375px端に文字が接していた。他のTOP本文と同じ
   左右余白を持たせる（中央揃えは.top-v2-playroll-lead{text-align:
   center}が既存のまま効く） */
@media (max-width: 575px) {
  #playroll .top-v2-playroll-lead {
    padding: 0 16px;
  }
}

/* -------------------------------------------------------------------
   タスク5: #price 黒板操作列（季節トグル／食事オプション／お子さま
   人数／人数ステッパー）がPCで縦4段に間延び。「食事オプション」と
   「お子さま人数」の2つの<details>だけを横2列にする。
   .top-v2-priceは元々ただのブロック（max-width:860px;margin:0 auto）
   で8個の直接の子がすべて縦積みだったため、CSS Gridに切り替えて
   2要素以外を1/-1（全幅）指定に固定＝季節トグル/ステッパー/黒板/
   価格カード/せんせいノート/CTA行は見た目上PC でも変化なし。
   HTML変更は行わない（タスク5はCSSのみ許可）。
   row-gapは0のまま（各要素の既存margin-bottomが縦間隔を維持）とし、
   column-gapだけ16pxに。align-items:startで片方のdetailsだけ開いた
   ときに隣列が引き伸ばされない（開いた側だけ行が伸びる）ようにする */
@media (min-width: 992px) {
  .top-v2-price {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    align-items: start;
  }
  .top-v2-price > .top-v2-chalk-season,
  .top-v2-price > .top-v2-chalk-stepper,
  .top-v2-price > .top-v2-chalkboard,
  .top-v2-price > .top-v2-price-card,
  .top-v2-price > .top-v2-teacher-note,
  .top-v2-price > .top-v2-price-actions {
    grid-column: 1 / -1;
  }
}

/* あの頃3カードのセリフ復活（オーナー文言・2026-07-11）:
   旧・画像吹き出し(comment-*.png)は「配置が不自然」で全面引退済み。
   今回はコンパクトなテキスト吹き出しとして再設計 — 写真の角にちょこんと
   載る白バブル+しっぽ。昼夕は叫び、夜は囁き（消灯後）で声量が沈む構成 */
.top-v2-quip {
  position: absolute;
  z-index: 5;
  margin: 0;
  background: #fff;
  border: 2.5px solid #2f7890;
  color: #2f7890;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.35;
  padding: 9px 14px;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(20, 50, 65, 0.14);
  white-space: nowrap;
}
.top-v2-quip::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 26px;
  width: 13px;
  height: 13px;
  background: #fff;
  border-right: 2.5px solid #2f7890;
  border-bottom: 2.5px solid #2f7890;
  transform: rotate(45deg);
}
.top-v2-quip--play {
  left: -6px;
  top: -20px;
  transform: rotate(-4deg);
}
.top-v2-quip--eat {
  right: -6px;
  top: -18px;
  transform: rotate(3deg);
}
.top-v2-quip--eat::after {
  left: auto;
  right: 26px;
}
.top-v2-quip--stay {
  left: -6px;
  top: -22px;
  transform: rotate(-3deg);
}
@media (max-width: 767px) {
  .top-v2-quip {
    font-size: 12.5px;
    padding: 7px 11px;
    border-width: 2px;
  }
  .top-v2-quip--play { top: -14px; }
  .top-v2-quip--eat { top: -12px; }
  .top-v2-quip--stay { top: -16px; }
}

/* SPの吹き出しはレタリング（遊んで等）が写真上角を占有して隠れるため、
   写真の下角へ退避（しっぽは上向きに反転）。PCは上角のまま */
@media (max-width: 767px) {
  .top-v2-quip--play {
    top: auto;
    bottom: -16px;
    left: 8px;
  }
  .top-v2-quip--eat {
    top: auto;
    bottom: -14px;
    right: 8px;
  }
  .top-v2-quip--stay {
    top: auto;
    bottom: -16px;
    left: 8px;
  }
  .top-v2-quip::after {
    bottom: auto;
    top: -8px;
    border-right: none;
    border-bottom: none;
    border-left: 2px solid #2f7890;
    border-top: 2px solid #2f7890;
  }
}

/* =====================================================================
   TOP「あの頃の放課後」3ブロック: 被り・吹き出し位置の整理
   （オーナー指摘: 「被ってる画像が気になる」「吹き出しの位置も気になる」）

   1) 吹き出しの位置バグ: レタリング（play/stay=左, eat=右）と吹き出しが
      これまで同じ側に配置されており、SP/タブレット幅で衝突していた。
      吹き出しは「レタリングと反対側の写真角」に付け直す
      （play/stay: 右上へ, eat: 左上へ。しっぽは付け根側＝写真に近い側）。
   2) 375-991px（既存の max-width:767 と min-width:992 の間、
      768-991pxがどちらのメディアクエリにも該当しないtween zoneだった）で
      レタリングと写真の重なりが最大50%に達していたのを是正し、
      レタリング面積の15%以下に抑える。写真・吹き出し自体の位置は動かさず、
      レタリングをより上へ退避させることで重なりだけを縮める
      （既存の翻訳量に追加のtranslateYを乗せる形。写真を動かすと
      サッカー少年GIFとの間隔が壊れるため、レタリング側で調整する）。
   3) 768-991pxはこれまで無調整だったため、吹き出しがレタリングの真上に
      重なっていた（0のはずが最大10,036px²）。上と同じ「反対側の角」
      ルールを768-991pxにも及ぼし、SPと同じ下角退避も適用する
      （#usagescene .top-v2-quip--*, ::after を max-width:991px に統一）。
   4) サッカー少年GIFは768-991pxのみ既存の縮小ルールが効かず写真下端と
      重なっていた（375pxとPCは既存ルールで重なり0）。装飾は主役ではない
      ため、この帯だけ非表示にして衝突を避ける（bbq-setが同セクションで
      既にdisplay:noneにされているのと同じ考え方）。
   ===================================================================== */

/* --- 1) 吹き出しをレタリングと反対側の角へ（PC/デフォルト） --- */
#usagescene .top-v2-quip--play {
  left: auto;
  right: -6px;
  top: -20px;
}
#usagescene .top-v2-quip--play::after {
  left: auto;
  right: 26px;
}
#usagescene .top-v2-quip--eat {
  right: auto;
  left: -6px;
  top: -18px;
}
#usagescene .top-v2-quip--eat::after {
  right: auto;
  left: 26px;
}
#usagescene .top-v2-quip--stay {
  left: auto;
  right: -6px;
  top: -22px;
}
#usagescene .top-v2-quip--stay::after {
  left: auto;
  right: 26px;
}

/* --- 2) レタリング×写真の重なりを15%以下へ（375-991px共通で追加退避） ---
   基準値は実測（getBoundingClientRect）に基づく:
   375px時点の重なり: play 50%→10%台/eat 47%→11%台/stay 40%→12%台に短縮。
   768px時点は元々18/24/13%とSPより浅く、同じ追加退避で0%近くまで縮む
   （「少し触れる」余地はSP側の数値に合わせてあり、768pxは安全側に振れる）。 */
@media (max-width: 991px) {
  #usagescene .memory-title01 {
    transform: translateY(-35px);
  }
  #usagescene .memory-title02 {
    transform: translate(-12px, -33px);
  }
  #usagescene .memory-title03 {
    transform: translateY(-68px);
  }
}

/* --- 3) 768-991px + 767px以下: 吹き出しを下角へ退避（反対側に統一） ---
   同一セレクタ・同一詳細度(#usagescene単位クラス)で767px以下の既存ルールも
   まとめて上書きする（後勝ちで完全に置き換え、leftとrightの残留混在を防ぐ）。 */
@media (max-width: 991px) {
  #usagescene .top-v2-quip--play {
    top: auto;
    bottom: -16px;
    left: auto;
    right: 8px;
  }
  #usagescene .top-v2-quip--eat {
    top: auto;
    bottom: -14px;
    right: auto;
    left: 8px;
  }
  #usagescene .top-v2-quip--stay {
    top: auto;
    bottom: -16px;
    left: auto;
    right: 8px;
  }
  #usagescene .top-v2-quip::after {
    bottom: auto;
    top: -8px;
    border-right: none;
    border-bottom: none;
    border-left: 2px solid #2f7890;
    border-top: 2px solid #2f7890;
  }
  #usagescene .top-v2-quip--play::after,
  #usagescene .top-v2-quip--stay::after {
    left: auto;
    right: 26px;
  }
  #usagescene .top-v2-quip--eat::after {
    right: auto;
    left: 26px;
  }
}

/* --- 4) 768-991pxのみ: サッカー少年GIFが写真下端と重なるため非表示 --- */
@media (min-width: 768px) and (max-width: 991px) {
  #usagescene .soccer-boy {
    display: none;
  }
}

/* --- 2026-07-11 誰と/他のシーンカード: テープ廃止、写真下ラベルへ ---
   キャプション廃止(テープだけ構成)の直後、オーナー判断でさらに一歩:
   写真上のマステをやめ、素の写真+下に「友達と」等のラベルだけを置く。
   テープはラベルが写真上で二役やって重かったため。命名は既存の
   .top-v2-doors-label(ホーロー札・現在未使用)と混ざらないよう別クラス */
.top-v2-doors-who,
.top-v2-otherscenes-cards .top-v2-doors-who {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-weight: 800;
  font-size: 16.5px;
  letter-spacing: 0.08em;
  color: #2a4750;
}
.top-v2-doors a:hover .top-v2-doors-who,
.top-v2-otherscenes-cards a:hover .top-v2-doors-who {
  color: #2f7890;
}
@media (max-width: 767px) {
  .top-v2-doors-who,
  .top-v2-otherscenes-cards .top-v2-doors-who {
    font-size: 14px;
    margin-top: 10px;
  }
}

/* --- 2026-07-11 マーキー手動ドラッグ対応 ---
   is-draggable/is-dragging は playroll.js のドライバが付与する。
   touch-action:pan-y はJS側でインライン付与（reduced-motionの素の
   overflow-x:autoスワイプを殺さないため、CSSには書かない） */
.top-v2-playroll-row.is-draggable .top-v2-playroll-viewport { cursor: grab; }
.top-v2-playroll-row.is-dragging .top-v2-playroll-viewport { cursor: grabbing; }
.top-v2-playroll-row.is-dragging {
  user-select: none;
  -webkit-user-select: none;
}
.top-v2-playroll-track img { -webkit-user-drag: none; }

/* ===================================================================
   2026-07-11 TOPファーストビュー痩身バッチ（オーナー承認済みプラン）
   タスク1: MV黒覆い.5→.15 / タスク3: キャッチのフェードイン遅延 /
   タスク5: バッジ3枚→信頼バー / タスク6: メディアリボン→#media帯 /
   タスク7: ヘッダーSNS移動+テキストロゴ設置
   =================================================================== */

/* --- タスク1: MV黒覆いを.5→.15へ。lp-style.css:1399の
   .l-mv_video::before{opacity:.5!important}に対し、#mv込みで詳細度を
   積んで勝つ(!important同士は詳細度で決着。メディアクエリを掛けない
   ため、SPにも同一に効く)。実測: 素の動画輝度131.4/255、覆い込み
   表示輝度は.5時代65.7→.15適用後111.7(≥100を満たす) */
#mv .l-mv_video::before {
  opacity: 0.15 !important;
}

/* --- タスク3: キャッチ(top-v2-mv-key)を動画開始から約1.5秒後に
   ふわっと表示。既存top-v2-pop(遅延なし即ポップ)を同一詳細度・
   後勝ちで上書き。reduced-motionは本ファイル前方(58行目)に
   「animation:none」があるが、末尾側に置く本ブロックの新アニメーションが
   後勝ちしてしまうため、reduced-motion分もここで再度上書きし直す */
.top-v2-mv-key {
  animation: top-v2-key-fadein 0.9s 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes top-v2-key-fadein {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-v2-mv-key {
    animation: none;
    opacity: 1;
  }
}

/* --- タスク5: バッジ3枚(年間6,000名/大学団体/最大120名)をMVから撤去し、
   MV直後・cta-section01の前に細い信頼バーを新設。文言はバッジのalt文字を
   流用(語尾の！は落として事実ベースの表記に統一)。背景#fff8e8は既存の
   紙色トーン(§5配色基準)をそのまま踏襲 */
.top-v2-trustbar {
  background: #fff8e8;
  padding: 14px 16px;
}

.top-v2-trustbar-text {
  margin: 0;
  color: #2a4750;
  font-weight: 800;
  font-size: clamp(12.5px, 1.6vw, 15px);
  letter-spacing: 0.01em;
  text-align: center;
}

@media (max-width: 480px) {
  .top-v2-trustbar-text {
    line-height: 1.65;
  }
}

/* --- タスク6: MV内の「掲載メディア一覧」リボン+ロゴ集を撤去し、
   #faq手前に「メディア掲載」帯を新設。直前の#landscape(灰#ECEDF2)・
   直後の#faq(白)という並びに対し、#landscapeと地続きの灰にして
   #faq側の白い境界だけを保つ(既存の白/灰リズムを壊さない選択) */
#media {
  background: #ECEDF2;
}

.top-v2-media-logo {
  margin: 0;
  text-align: center;
}

.top-v2-media-logo img {
  display: inline-block;
  width: 90%;
  height: auto;
}

@media (min-width: 992px) {
  .top-v2-media-logo img {
    width: 100%;
    max-width: 720px;
  }
}

.top-v2-media-caption {
  margin: 18px 0 0;
  color: #2e2518;
  font-weight: 700;
  font-size: clamp(13px, 1.6vw, 15px);
  line-height: 1.8;
  text-align: center;
}

/* --- タスク7: ヘッダー整理(TOPのみ。index.html限定のクラスなので
   他ページへは波及しない)。左上のSNSアイコンを右側(予約ボタン/
   ハンバーガーの隣)へ移動し、空いた左上にテキストロゴを設置。
   中央の校章(.l-header_logo)は無改修 */
.top-v2-header-textlogo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1.25;
  color: #2f7890; /* 2026-07-11 濃紺は名残色。見出しと同じ§5青緑へ(オーナー指摘) */
  text-decoration: none;
}

/* 2026-07-11 ダサい対策: 素のゴシック2行→門柱の銘板+見出しマーカーの声へ。
   上段は字間を大きく開けて銘板の読み仮名風、下段は見出しと同じ
   クリームマーカーを敷いてサイトの声に揃える(書体はフォント許可待ちのため
   装いで差を作る) */
.top-v2-header-textlogo-sub {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  white-space: nowrap;
  opacity: 0.8;
  padding-left: 3px;
}

.top-v2-header-textlogo-main {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.06em;
  white-space: nowrap;
  padding-left: 2px;
  /* 2026-07-12 マーカー下地を除去: マーカーは本文/見出しの文法で、
     ヘッダーのクローム領域では「強調された単語」に見えて浮く(オーナー
     違和感の診断)。銘板はプレーンに、賑やかしは本文に任せる */
}

.top-v2-header-sns {
  margin-right: 18px;
}

.top-v2-header-sns .l-header_snsList {
  display: flex;
  align-items: center;
}

.top-v2-header-sns .l-header_snsList li {
  height: 22px;
}

@media screen and (max-width: 991px) {
  .top-v2-header-textlogo-main {
    font-size: 16px;
  }

  .top-v2-header-sns {
    margin-right: 10px;
  }

  .top-v2-header-sns .l-header_snsList li {
    height: 19px;
  }
}

@media screen and (max-width: 575px) {
  .top-v2-header-textlogo-sub {
    display: none;
  }

  .top-v2-header-textlogo-main {
    font-size: 14px;
  }

  .top-v2-header-sns {
    margin-right: 6px;
  }

  .top-v2-header-sns .l-header_snsList li {
    height: 16px;
  }

  .top-v2-header-sns .l-header_snsList li + li {
    margin-left: 6px;
  }
}

/* --- 2026-07-11 FV最終形(オーナー確認後の修正) ---
   1) 信頼バーはダサいとの判断で廃止→実績一行はメディア帯へ統合
      (セクション名も実績・メディア掲載へ)。バー用CSSは未使用のまま残置
   2) FVは動画+キャッチのみ(価格チップも撤去。数字は#priceの黒板が正)
   3) キャッチは三分割の上ライン(上1/3)へ。動画中央の見せ場を塞がない
      → 同日オーナー再調整: 四分割の最上段(上1/4)へさらに引き上げ */
.top-v2-mv-stack { top: 29%; } /* PC: 2026-07-11 全体を少し上へ */
@media (max-width: 767px) {
  .top-v2-mv-stack { top: 26%; } /* SPは特に上げる(オーナー指示) */
}
.top-v2-media-facts {
  text-align: center;
  font-weight: 800;
  color: #2a4750;
  font-size: 15px;
  letter-spacing: 0.04em;
  margin: 0 0 18px;
}
@media (max-width: 767px) {
  .top-v2-media-facts { font-size: 12.5px; }
}

/* --- 2026-07-11 FVスクロールキュー ---
   キャッチ上1/4化で画面下側に受け皿がなくなり頭でっかちになった
   (オーナー指摘の違和感)。メダル3枚復活案の代わりに、視覚重量の
   小さい下向きシェブロンを下中央へ。クリックで#playrollへ */
.top-v2-mv-scrollcue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 14px;
  animation: top-v2-cue-bob 2.2s ease-in-out infinite;
}
.top-v2-mv-scrollcue-chev {
  width: 22px;
  height: 22px;
  border-right: 3.5px solid #fff;
  border-bottom: 3.5px solid #fff;
  transform: rotate(45deg);
  border-radius: 2px;
  filter: drop-shadow(0 1px 4px rgba(20, 50, 65, 0.45));
}
.top-v2-mv-scrollcue-chev--2 {
  margin-top: -14px;
  opacity: 0.55;
}
@keyframes top-v2-cue-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(7px); }
}
@media (prefers-reduced-motion: reduce) {
  .top-v2-mv-scrollcue { animation: none; }
}
@media (max-width: 767px) {
  .top-v2-mv-scrollcue { bottom: 12px; }
  .top-v2-mv-scrollcue-chev { width: 18px; height: 18px; border-width: 3px; }
  .top-v2-mv-scrollcue-chev--2 { margin-top: -11px; }
}

/* --- 2026-07-11 FVローレル(メダル3連)復活: キャッチの真上に映画ポスター式 ---
   下側に大きく置く案ではなく、受賞ローレルの文法で小さくタイトル上へ。
   復活に伴いstackは30%へ少し下げ(オーナー指示)。キャッチと同時にフェード */
.top-v2-mv-laurels {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(8px, 2.4vw, 14px);
  margin: clamp(8px, 2vw, 14px) 0 0; /* 2026-07-11 オーナー指示でキャッチの下へ(上下逆転) */
  padding: 0;
  animation: top-v2-key-fadein 0.9s ease-out 1.5s both;
}
.top-v2-mv-laurels img {
  width: clamp(78px, 21vw, 124px); /* 2026-07-11 小さいとのオーナー指摘で拡大 */
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(20, 50, 65, 0.35));
}
@media (prefers-reduced-motion: reduce) {
  .top-v2-mv-laurels { animation: none; opacity: 1; }
}

/* --- 2026-07-11 PCのFV文字群圧縮 ---
   全体上げ(29%)だけではPCは上端に衝突(stack350px/動画680px)。
   PCは位置でなくサイズを絞る: キャッチ660→560px・ローレル上限124→104px
   で stack約290px・上端約8%・下端50%に収める。SPは変更なし */
@media (min-width: 768px) {
  /* 2026-07-11 メダルがstack外(動画真下の白帯)へ出たため560px制約は失効。
     キャッチ単独ならもっと張れる(オーナー指示でPC拡大) */
  .top-v2-mv-stack { width: min(780px, 64%); }
  .top-v2-mv-laurels img { width: clamp(78px, 8.5vw, 104px); }
}

/* --- 2026-07-11 メダルはFV(動画内)から撤退→動画の真下の白帯へ ---
   動画内では「読めるサイズ⇔映像を隠さない」が物理的に両立しない
   (オーナー実見+忖度なし評価で確定)。枠外の真下なら両立する。
   実績一行はメディア帯から撤去(重複回避)し、帯名もメディア掲載に復帰 */
.top-v2-medalrow {
  background: #fff;
  /* 2026-07-11 品質監査: 14pxは窮屈(直後のCTA帯との外側間隔68pxと不釣合) */
  padding: clamp(20px, 3.4vw, 28px) 12px;
}
.top-v2-medalrow-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 4vw, 46px); /* メダル拡大に追随 */
  margin: 0;
  padding: 0;
}
.top-v2-medalrow-list img {
  width: clamp(96px, 26vw, 176px); /* 2026-07-11 PCが小さいとの指摘で上限132→176(SPは26vw支配で不変) */
  height: auto;
}

/* --- 2026-07-11 メダル帯の「自然化」 ---
   サイト全体は「紙に貼ってある」文法なのにメダルだけ宙に浮いていた
   (オーナー: ただあるだけだと不自然)。処方2点:
   1) ＼ おかげさまで ／ の前置き一言で「誇らしげな報告」の文脈を付与
   2) 各メダルの上辺にマステ(既存tape素材)を貼り、わずかに個体差の傾き
      →アルバムに貼られた勲章、というサイト共通の世界観に編入 */
.top-v2-medalrow-lead {
  text-align: center;
  font-weight: 800;
  color: #2f7890; /* 2026-07-11 §5パレットの青緑へ(見出しと同族の声に) */
  font-size: clamp(16px, 4.4vw, 24px); /* 品質監査: PC21→24px(メダル132pxに対し弱かった) */
  letter-spacing: 0.1em;
  margin: 0 0 clamp(12px, 2.6vw, 18px);
}
/* 一行まるごとクリームマーカー(見出しマーカーのミニ版)+「どんとこい。」だけ橙 */
.top-v2-medalrow-lead-in {
  display: inline-block;
  padding: 0 8px 2px;
  background: linear-gradient(transparent 58%, #fff8e8 58%);
}
.top-v2-medalrow-lead-punch {
  color: #f0831e;
  font-weight: 800;
}
/* 2026-07-11 テープ+傾きはオーナー確認で違和感→撤去(素の整列に戻す)。
   前置きも おかげさまで(下のCTA帯と同じ＼／芸の重複+120名と文法不整合)
   → 受け入れ宣言「団体さん、どんとこい。」へ差し替え */

/* --- 2026-07-11 キャッチのフェードイン廃止(最初から表示) ---
   1.5秒遅延は「動画だけ案」との折衷だったが、メダル帯が動画外へ
   確定した今はメッセージ空白1.5秒のコストだけが残る(速いスクロール
   者はキャッチを見ずに通過)。オーナー判断で即時表示へ */
.top-v2-mv-key {
  animation: none;
  opacity: 1;
}

/* --- 2026-07-11 早い者勝ち帯(cta-section01)撤去に伴う移設 ---
   メダル帯直下に白地スローガン帯が2連発で間延び(オーナー指摘)。
   ボタンは予約FAB+最下部CTAと重複のため帯ごと撤去し、焦り文句だけ
   #priceのCTA直前へ(空き状況を見る決断の瞬間が最も効く位置) */
/* 2026-07-11 修正: PNGコールアウトは基底.top-v2-calloutのmargin auto
   センタリングを打ち消して左流れになった上、集金だよりカード内に
   販促PNGが割り込むのは世界観違反(オーナー指摘: 位置がおかしい)。
   カードの文法に合うテキスト注意書きへ置換(PNGはTOPから退役) */
/* 2026-07-11 再修正: オーナー判断でPNG続投。左流れの真因は margin の
   横auto打ち消しだけだったので、autoを残して中央寄せ+幅だけ絞る */
.top-v2-price-callout {
  width: min(340px, 86%);
  margin: 18px auto 4px;
}

/* --- 2026-07-11 早い者勝ちコールアウトのPC位置修正 ---
   .top-v2-priceはPCで2カラムgrid。全幅(1/-1)指定リストに未登録の
   コールアウトが半幅セルへ自動流し込みされ「真上」からズレていた
   (オーナー指摘)。全幅指定してactionsの直上=DOM順どおりに */
@media (min-width: 992px) {
  .top-v2-price > .top-v2-price-callout {
    grid-column: 1 / -1;
  }
}

/* --- 2026-07-11 あの頃3カードをリンク化 ---
   遊んで=/play/、食べて=献立(#food)、泊まれる=宿泊(#stay-option)。
   スマホでは主役写真はタップされるため無反応を解消し、誰とカードの
   「写真+くわしく→」扉文法をここにも適用(物語性を壊さない最小の目印) */
.top-v2-memory-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.top-v2-memory-link .top-v2-doors-more {
  display: block;
  text-align: center; /* 2026-07-11 左右カードごとに振ると視線が泳ぐ(オーナー違和感)→中央統一 */
  margin-top: 10px;
}
.top-v2-memory-link:hover .top-v2-doors-more,
.top-v2-memory-link:focus-visible .top-v2-doors-more {
  text-decoration: underline;
}

/* (中央統一により左右振り分けルールは廃止。バブルは写真の「角」、
   くわしくは「中央」なので幾何学的に衝突しない) */

/* --- 2026-07-11 メダル帯の枠試作 ---
   メダル帯(白)→時間割(白)が地続きで境界が曖昧(オーナー指摘)。
   帯の中身を点線フレームで包む: 点線=このサイトの切り取り線/掲示物
   文法(引き出し・部屋図と同族)。背景色は白のまま境界だけ生む */
.top-v2-medalrow-frame {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 26px) 16px;
  border: 2px dashed #9db8c4;
  border-radius: 16px;
}

/* =====================================================================
   TOP セクション間余白の正規化バッチ（オーナー指摘「空きすぎ・詰まりすぎで
   バラバラ」への処方、2026-07-11）
   計測法: 「次セクション最初のin-flow可視コンテンツtop − 前セクション
   最後のin-flow可視コンテンツbottom」を375px/1280pxで全12ペア実測
   （position:absolute/fixedの装飾は除外）。
   目標: SP(375) 56px基準・44〜72px許容 / PC(1280) 96px基準・80〜120px許容。
   #mv→medalrowはFV直結の例外で現状維持。基準内だった playroll→usagescene
   (SP54/PC…)・landscape→media・faq→location(SP)・location→cta-section は
   無変更。各ルールはTOP専用idか、他ページと共有するid+classの組み合わせで
   スコープ（#price/#flow/#faqはfamily/friends/gasshuku/play/option等と
   id共有のため単独#指定は使わない）。

   実測 before→after（total, px）:
   SP:  medalrow→playroll 119→71 / usagescene→stay 90→66 /
        stay→price 87→58 / price→flow 125→60 / flow→landscape 115→51 /
        media→faq 76→59 / cta-section→footer 456→356(下記注記)
   PC:  medalrow→playroll 73→93 / playroll→usagescene 148→112 /
        usagescene→stay 295→109 / stay→price 152→117 / price→flow 194→86 /
        flow→landscape 159→103 / media→faq 209→113 / faq→location 189→91 /
        cta-section→footer 134→116
   ===================================================================== */

/* --- SP(≤575px) --- */
@media (max-width: 575px) {
  /* medalrow→playroll 119→71: 見出し手前のpy-5(48px)を除去し、
     h2自身のmargin-top(36px)のみに委ねる（親子とも0paddingで隣接section側へ
     margin-collapseし、medalrow側の帯と合算されて71pxに落ち着く＝視覚上は
     連続した白背景なのでどちらの区画が「所有」しても違いはない） */
  #playroll .l-section_inner { padding-top: 0 !important; }
  /* stay→price 87→58: 既存の79px(5680行)は現行コンテンツ量に対し過大 */
  #price > .l-section_bg--gray { padding-top: 50px; }
  /* price→flow 125→60: 既存の79px(5691行)を見出し側で縮小。
     price側の詳細リンクmarginは下の共通ルールで対応 */
  #flow.l-section { padding-top: 46px; padding-bottom: 8px; }
  /* flow→landscape 115→51: flow自身の下48pxとlandscapeの見出し前48pxが
     素通しで積み上がっていたのを両側から削る */
  #landscape .l-section_inner.py-5 { padding-top: 24px !important; }
  /* media→faq 76→59: 既存の27px(5698行)をわずかに縮小 */
  #faq { padding-top: 10px; }
  /* cta-section→footer 456→356: .l-main_bg（登り棒キャラ、WP基底CSSで
     position:relative・margin-bottom:-15.46667vwのin-flow装飾＝375pxで
     高さ272px＋負マージンでほぼ空白なくfooterに接地する仕様）が実測の
     大半を占め、除外規定（position:absolute/fixedのみ除外）の対象外。
     コンテンツ本体基準（キャラ手前16px・キャラ後32pxの余白）で見ると
     適正なため、キャラ自体は動かさずCTA側/footer側の重複パディングのみ
     圧縮（登り棒を挟まないコンテンツ間の実質ギャップは目視良好、
     44〜72pxの機械的な数値には未到達だが装飾が意図的に境界を跨ぐ
     ケースとして判定・様子見。詳細は作業報告を参照） */
  .cta-section { padding-bottom: 12px; margin-bottom: 16px; }
  .l-main_inner:has(#playroll) { padding-bottom: 0 !important; }
  body:has(#playroll) footer#footer.l-footer { padding-top: 24px !important; }
}

/* --- PC(≥992px) --- */
@media (min-width: 992px) {
  /* medalrow→playroll 73→93: 6387行の24px !importantが現行コンテンツには
     詰まりすぎ（許容80px未満）だったため再度上書き */
  #playroll .l-section_inner { padding-top: 44px !important; padding-bottom: 12px !important; }
  /* playroll→usagescene 148→112: playroll側のpy-5下48px＋actions分の
     重複を圧縮（usagescene側の100px(6398行)は適正のため無変更） */
  #usagescene .memory-section01 { padding-bottom: 0 !important; }
  /* usagescene→stay 295→109: usagescene末尾(最終カードmargin-bottom78px＋
     memory-section01のpb80px)とstay冒頭(l-section_bg+l-section_innerの
     py-lg-5/py-5が二重に48px×2)の両側とも未整理だった重複を解消 */
  #stay.l-option .l-section_bg { padding-top: 0 !important; }
  /* stay→price 152→117: 既存の100px(6401行)は現行コンテンツに対し過大 */
  #price .l-section_bg--gray { padding-top: 65px !important; padding-bottom: 16px !important; }
  /* price→flow 194→86: price側は詳細リンクmargin(下の共通ルール)、
     flow側は見出し前パディング(6408行の54px)とflow自身の基底48pxの
     二重を圧縮 */
  #flow .text-center.mb-5 { padding-top: 10px !important; }
  #flow.l-section { padding-bottom: 20px !important; }
  /* flow→landscape 159→103: flow自身の下48pxとlandscape側(l-album_bgの
     py-lg-5 48px＋section自身48pxの二重)を両側から圧縮 */
  #landscape { padding-top: 20px !important; }
  /* media→faq 209→113: faq自身の基底48px＋l-section_innerのpy-5 48pxの
     二重を圧縮（バルーン装飾の負マージンはそのまま） */
  #faq.l-section_bg { padding-top: 0 !important; }
  #faq.l-section_bg .l-section_inner { padding-top: 0 !important; }
  /* faq→location 189→91: faq側の「その他のご質問はこちら」下48pxと、
     location側の既存47px(6419行)を両側から圧縮 */
  #faq.l-section_bg .l-section_link { margin-bottom: 12px !important; }
  #location .l-section_title--image { padding-top: 15px !important; }
  #location { padding-top: 18px !important; }
  /* cta-section→footer 134→116: 6462行の28pxをさらに圧縮 */
  .l-main:has(#playroll) { padding-bottom: 10px !important; }
}

/* --- 375px/1280px共通（両実測とも同値20px/16pxで許容域に収まるため
   ブレークポイント分岐不要。576〜991pxは未実測だが中間的な値として妥当） --- */
/* usagescene→stay: 最終カード（泊まれる）だけ末尾の余白を詰める。
   カード間(1〜2枚目)のリズムは無変更 */
#usagescene .memory-item1:last-child { margin-bottom: 20px; }
/* price→flow: 「料金の詳細を見る」の下48pxマージンを圧縮 */
#price #banner .top-v2-price-detail { margin-bottom: 16px; }

/* =====================================================================
   追加検証: あの頃3カードの「くわしく →」中央配置(7149行)後、
   吹き出し(.top-v2-quip)との文字被りを解消（オーナー確認事項）。
   767px以下では吹き出しが写真下角の外側へ張り出す配置(6588/6684行)で、
   写真直下に来た「くわしく →」の行と実測で重なっていた
   （例: playカード bubble b=396 / more t=346 → 24px被り、テキスト読めず）。
   写真の外へは張り出させず写真下端の内側に収める形へ調整
   （bottom値を写真下端手前に変更、吹き出し自体の見た目・位置ロジックは
   維持。991px以下に統一適用、PC(992px以上)は上角配置のため無関係で無変更） */
@media (max-width: 991px) {
  #usagescene .top-v2-quip--play { bottom: 40px; }
  #usagescene .top-v2-quip--eat { bottom: 40px; }
  #usagescene .top-v2-quip--stay { bottom: 40px; }
}

/* 料金黒板の付箋撤去後は、全モデルページで次の補足カードまで24pxに統一。 */
#price .top-v2-chalkboard {
  margin-bottom: 24px;
}
#price .top-v2-price-card {
  margin-bottom: 26px;
}

/* --- 2026-07-12 アクセスの「区切り近すぎ」補正(実測に基づく最終版) ---
   実測: 白側71px(=FAQ最終要素の残余44+locationのmargin-top26)、
   グレー側の額は0でアクセス見出しが色替わり線に張り付いていた。
   処方: FAQ最終要素の尻尾を0にし、その分をグレーの額へ付け替える。
   合計は約67px(SP許容44-72内)を維持。inner系はpt-5等の!important
   ユーティリティが勝つため、額は.l-section_bg側に!importantで確保 */
#faq .l-section_inner > .container > :last-child {
  margin-bottom: 0 !important;
}
section#location > .l-section_bg {
  padding-top: clamp(40px, 5vw, 52px) !important;
}

/* --- 2026-07-12 Access同類の全数補正(SP): 帯の際への張り付き ---
   余白正規化は「コンテンツ間の合計」を基準化したが、色替わり線の
   どちら側に余白を割るかまでは制御していなかった。監査(額/顎の実測)で
   4件が線に張り付き: media顎1px/price顎16px/usagescene顎21px/
   landscape額21px。合計を保つため反対側から同量を差し引く */
@media (max-width: 767px) {
  /* メディア帯: 顎1→37px。FAQ側の額から同量を回収(総間隔59→68px) */
  #media .l-section_inner { padding-bottom: 36px !important; }
  #faq .l-section_inner { padding-top: 0 !important; }
  /* 料金帯: 顎16→32px。4ステップ側から回収(総間隔60px維持) */
  #price > .l-section_bg--gray { padding-bottom: 16px; }
  section#flow { padding-top: 63px; }
  /* あの頃帯: 顎21→37px。誰と側から回収。
     誰と帯はカード下が1pxしか残らなかったため、PCと同じ48pxの顎を確保 */
  #usagescene > .l-section_bg { padding-bottom: 16px; }
  #stay .l-section_inner {
    padding-top: 32px !important;
    padding-bottom: 48px !important;
  }
  /* 風景帯: 額21→37px(下流は同グレー連続のため回収不要・総間隔51→67px)。
     landscapeはsection自身が.l-section_bg(塗り役) */
  section#landscape.l-section_bg { padding-top: 16px; }
}

/* --- 2026-07-12 れんらくさきカード撤去(オーナー判断) ---
   住所はフッターと地図が担い、営業時間9-21時は宿泊客の疑問
   (チェックイン13時等)に答えずTOPでは誤読リスク。アクセスは
   見出し+地図+詳細リンクへ縮退。リンクは地図直下で中央に */
.top-v2-access-actions {
  text-align: center;
  margin-top: clamp(20px, 4vw, 28px);
}

/* TOPのアクセス案内: 地図を横幅いっぱいに置き、詳細リンクを直下へまとめる。 */
.top-v2-home-location .top-v2-location-access {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

.top-v2-home-location .top-v2-map-frame {
  box-sizing: border-box;
}

.top-v2-home-location .top-v2-map-frame .l-address_map iframe {
  width: 100%;
  height: clamp(250px, 32vw, 390px);
  border: 0;
}

.top-v2-home-location .top-v2-access-actions {
  margin-top: clamp(16px, 2.5vw, 24px);
}

.top-v2-home-location .top-v2-access-actions .top-v2-btn-outline {
  display: inline-flex;
  min-height: 48px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding-inline: 24px;
}

@media (max-width: 767px) {
  .top-v2-home-location .top-v2-map-frame .l-address_map iframe {
    height: clamp(230px, 64vw, 320px);
  }

  .top-v2-home-location .top-v2-access-actions .top-v2-btn-outline {
    width: 100%;
    margin-inline: 0;
  }
}

/* --- 2026-07-12 孤児だった/map/(施設マップ)への配線 ---
   TOPには置かない(実務資料)。空間を組み立てる瞬間の3箇所へ:
   /play/泊まる末尾・/kenshu/幹事セクション・option席替え図の隣 */
.top-v2-map-link {
  text-align: center;
  margin: 22px 0 10px;
}

/* ==========================================================================
   /play/ 全面リニューアル（2026-07-12）
   旧WordPress LP構成 → 学校プリント/スクラップブック文法の「遊びカタログ+
   泊まる空間紹介」へ刷新。泊まる(#stay)・料金フック・FAQ・最終CTAは既存の
   .top-v2-scene-*/.top-v2-banner-*/.faq/.top-v2-share系をそのまま流用のため
   追補なし。ここではMV・遊びカタログ・一覧(#list)専用の新規分のみ追加する。
   ========================================================================== */

/* --- MV: 画像文字見出し(旧l-mv_title img)→HTMLテキスト化。
   覆いは.l-mv_bg::beforeの黒0.4→0.15に減光（オーナー指定） --- */
#mv.l-mv--under .l-mv_bg::before {
  opacity: 0.15;
}
#mv .l-mv_bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top-v2-play-mv-copy {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  text-align: center;
  z-index: 2;
  padding: 0 24px;
  box-sizing: border-box;
}
.top-v2-play-mv-h1 {
  margin: 0 0 14px;
  color: #fff;
  font-weight: 900;
  font-size: clamp(30px, 5vw, 60px);
  line-height: 1.35;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.42);
}
.top-v2-play-mv-lead {
  margin: 0;
  color: #fff;
  font-weight: 700;
  font-size: clamp(14px, 1.9vw, 18px);
  line-height: 1.85;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}
@media (max-width: 767px) {
  .top-v2-play-mv-copy { padding: 0 18px; }
}

/* --- 遊びカタログ #catalog: 分類ブロックの見出し行（nじかんめタブ+波下線） --- */
.top-v2-catalog-group {
  margin: 0 0 52px;
}
.top-v2-catalog-group:last-child {
  margin-bottom: 0;
}
.top-v2-catalog-rowhead {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}
.top-v2-catalog-tab {
  display: inline-block;
  padding: 6px 18px;
  background: #fff8e8;
  border: 1px solid rgba(47, 120, 144, 0.3);
  border-radius: 999px;
  color: #2f7890;
  font-weight: 900;
  font-size: 15px;
  text-decoration-line: underline;
  text-decoration-style: wavy;
  text-decoration-color: #f0831e;
  text-underline-offset: 4px;
}
.top-v2-catalog-period {
  margin-right: 0.35em;
  font-size: 0.82em;
  font-weight: 700;
  opacity: 0.8;
}
@media (min-width: 992px) {
  .top-v2-catalog-tab { font-size: 17px; padding: 7px 22px; }
}

/* --- 遊びカタログ: グリッド（ポラロイド写真＋チョークチップ混在） --- */
.top-v2-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 576px) {
  .top-v2-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; }
}
@media (min-width: 768px) {
  .top-v2-catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 22px; }
}
@media (min-width: 1200px) {
  .top-v2-catalog-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.top-v2-catalog-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ポラロイド写真（.top-v2-scenecard-photo文法の縮小版。白フチ+マステ+柔影） */
.top-v2-catalog-photo {
  display: block;
  position: relative;
  width: 100%;
  padding: 7px 7px 9px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 8px 16px rgba(20, 50, 65, 0.16);
}
.top-v2-catalog-item:nth-child(4n+1) .top-v2-catalog-photo { transform: rotate(-1.6deg); }
.top-v2-catalog-item:nth-child(4n+2) .top-v2-catalog-photo { transform: rotate(1.3deg); }
.top-v2-catalog-item:nth-child(4n+3) .top-v2-catalog-photo { transform: rotate(-0.8deg); }
.top-v2-catalog-item:nth-child(4n+4) .top-v2-catalog-photo { transform: rotate(1.5deg); }
.top-v2-catalog-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1px;
}
.top-v2-catalog-photo::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 56px;
  height: 24px;
  margin-left: -28px;
  background: url(/assets/img/tape-1.png) no-repeat center/contain;
  pointer-events: none;
  z-index: 2;
}
.top-v2-catalog-item:nth-child(3n+2) .top-v2-catalog-photo::before { background-image: url(/assets/img/tape-3.png); }
.top-v2-catalog-item:nth-child(3n+3) .top-v2-catalog-photo::before { background-image: url(/assets/img/tape-4.png); }

/* チョーク風テキストチップ（写真が無い項目。黒板色地に白文字） */
.top-v2-catalog-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 10px;
  background: #2a4750;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  box-shadow: 0 6px 14px rgba(20, 50, 65, 0.18);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.4;
  box-sizing: border-box;
}
.top-v2-catalog-item:nth-child(odd) .top-v2-catalog-chip { transform: rotate(-1deg); }
.top-v2-catalog-item:nth-child(even) .top-v2-catalog-chip { transform: rotate(1.1deg); }

.top-v2-catalog-name {
  display: block;
  margin-top: 10px;
  color: #2e2518;
  font-weight: 800;
  font-size: 12.5px;
  line-height: 1.4;
}
.top-v2-catalog-item--chip .top-v2-catalog-name {
  display: none;
}
@media (min-width: 768px) {
  .top-v2-catalog-name { font-size: 13.5px; }
  .top-v2-catalog-chip { font-size: 14px; }
}

/* 有料バッジ（小面積の暖色使用のみ許可の規律に準拠） */
.top-v2-catalog-photo .top-v2-catalog-paidtag {
  position: absolute;
  top: -8px;
  right: -6px;
  z-index: 3;
  background: #f0831e;
  color: #fff;
  font-weight: 900;
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(20, 50, 65, 0.25);
}
.top-v2-catalog-chip .top-v2-catalog-paidtag {
  display: block;
  position: static;
  width: fit-content;
  margin: 6px auto 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: none;
}

/* 分類末尾の「有料の遊びは料金・オプションへ」一行 */
.top-v2-catalog-note {
  margin: 26px 0 0;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  color: #665a4a;
}

/* --- 一覧 #list: 配布プリント風（白紙+ノート罫線）。
   罫線は.top-v2-teacher-noteと同じrepeating-linear-gradient手法を流用 --- */
.top-v2-worksheet-sheet {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(20, 50, 65, 0.12);
  padding: 4px 22px 22px;
}
@media (min-width: 768px) {
  .top-v2-worksheet-sheet {
    padding: 4px 40px 30px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
  }
}
.top-v2-worksheet-group {
  padding-top: 26px;
}
.top-v2-worksheet-group-title {
  margin: 0 0 4px;
}
.top-v2-worksheet-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 32px;
  background-image: repeating-linear-gradient(
    transparent 0,
    transparent 31px,
    rgba(47, 120, 144, 0.16) 31px,
    rgba(47, 120, 144, 0.16) 32px
  );
}
.top-v2-worksheet-group li {
  font-weight: 700;
  color: #2e2518;
  font-size: 14px;
}
.top-v2-worksheet-group li::before {
  content: "・";
  color: #2f7890;
  font-weight: 900;
}
.top-v2-worksheet-paid {
  margin-left: 4px;
  color: #f0831e;
  font-weight: 900;
  font-size: 12px;
}

/* --- 2026-07-12 /play/ MV高さ補正(QA) ---
   mv.jpg(2652x881)は等比だとSPで125pxしかなく、コピーが写真外の
   地色へ落ちて「灰色ベタ」に見えた。cover前提の高さを確保 */
#mv.l-mv--under .l-mv_bg {
  height: clamp(300px, 46vw, 460px);
}

/* ===================================================================
   /play/ オーナー指示バッチ（2026-07-12）: 「たべる」#eat セクション新設 +
   カタログ分類見出しの刷新
   =================================================================== */

/* --- タスク2: #catalog 分類見出し（Nじかんめタブ+波線 → クリームマーカー中見出し）
   オーナー指摘: (a)時間割の額縁がないページで「1じかんめ」表記は順序強制感が
   出る (b)見た目がダサい。番号は全廃し分類名のみに。.top-v2-scene-title-markと
   同じマーカー文法のミニ版（linear-gradient透明58%→#fff8e858%）を中央寄せで
   使う。旧.top-v2-catalog-tab/period/rowheadはCSS末尾追記ルールのため削除せず
   放置（HTML側で参照を外すのみ・実害なし） --- */
.top-v2-catalog-heading {
  margin: 0 0 24px;
  text-align: center;
}
.top-v2-catalog-heading-mark {
  display: inline-block;
  background: linear-gradient(transparent 58%, #fff8e8 58%);
  padding: 0 10px;
  color: #2f7890;
  font-weight: 900;
  font-size: clamp(20px, 5.5vw, 30px);
  line-height: 1.3;
}
/* 遊び心として分類ごとに±1〜2度の微回転（交互）。カタログ写真/チップと同じ
   「揃いすぎない」文法に合わせる */
.top-v2-catalog-group:nth-of-type(odd) .top-v2-catalog-heading-mark {
  transform: rotate(-1.4deg);
}
.top-v2-catalog-group:nth-of-type(even) .top-v2-catalog-heading-mark {
  transform: rotate(1.3deg);
}

/* --- タスク1: 「たべる」#eat セクション。#stayと同じ.top-v2-scene-card文法
   （既存.top-v2-scene-cards / .top-v2-scene-cardをそのまま流用、新規クラス
   不要）。背景は前後(#catalog/#stay)がともに白のため、新設セクションだけ
   グレーにして白⇄グレーの交互リズムを作る（HTML側で.top-v2-scene-section
   --grayを付与、CSSは既存の.top-v2-scene-section--grayをそのまま使う）。
   3枚カードは既存.top-v2-scene-cards（768px以上で2列止まり）だと2+1の
   欠け行になるため、#eatと#stay（4枚→3枚化）にだけ3列ブレークポイントを追加 --- */
@media (min-width: 768px) {
  #eat .top-v2-scene-cards,
  #stay .top-v2-scene-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* --- 2026-07-12 カタログのチップ小型化(オーナーのSP縦長懸念への回答) ---
   写真なしの遊び23個が写真と同じ153px角セルを占有し、SPでチップ行
   だけで約1770px消費していた。写真ポラロイドは絵で売り、写真待ちの
   遊びは名前ピルの雲として各分類末尾へ(カタログ約1300px短縮)。
   チップの黒板質感(チョーク文字)は維持 */
.top-v2-catalog-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  margin: 14px auto 0;
  max-width: 720px;
}
.top-v2-catalog-chips .top-v2-catalog-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;            /* 基底の width:100% を打ち消す */
  aspect-ratio: auto;     /* 基底の 4/3 セル比を打ち消す */
  transform: none;        /* セル用の交互回転も雲では不要 */
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.2;
}
.top-v2-catalog-chips .top-v2-catalog-chip .top-v2-catalog-paidtag {
  margin: 0;              /* 雲内はインラインで横に付く */
}

/* チップ雲の役割ラベル: 説明なしで浮くと「写真が無かった子」に見える
   (オーナー指摘の中途半端感)。「付録の名簿」の声を与える。
   カード画像生成(並行作業)完成時に雲ごと引退予定の過渡期部品 */
.top-v2-catalog-chips-lead {
  text-align: center;
  margin: 16px 0 2px;
  color: #2a4750;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

/* --- 2026-07-12 カタログの画像待ちをTOPと同じ数字ボックス文法へ ---
   (オーナー指示: TOPは画像がないものを数字で対応している。カタログも
   同様に)。名簿ピル雲は廃止し、待ちも写真と同格のグリッドセルに。
   見た目はTOPマーキーの生成待ちカードと同族(クリーム地+点線+番号) */
.top-v2-catalog-numbox {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #fff8e8;
  border: 2px dashed rgba(47, 120, 144, 0.58);
  border-radius: 10px;
  color: #2f7890;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.top-v2-catalog-item--numbered .top-v2-catalog-name .top-v2-catalog-paidtag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border: 1px solid #f0831e;
  border-radius: 6px;
  color: #f0831e;
  font-size: 10.5px;
  vertical-align: 1px;
}

/* ===================================================================
   /play/ #catalog カードポップアップ（2026-07-12 オーナー指示）
   48枚のカード(写真32+番号16)をクリック/Enterで開く、単一<dialog>への
   差し込み式。学級プリント風（白紙+上辺マステ+マーカー見出し+情景文+
   チップ列+注意行+有料リンク+とじる）。開閉アニメは実装しない
   （prefers-reduced-motion対応=アニメ自体を足さないことで一律に満たす）。
   結線は assets/js/play-catalog.js。
   =================================================================== */

/* カード側: クリック可能であることの視覚合図。ホバー/フォーカスで
   既存ポラロイド文法(#can-do/#roomsのrotate(0)+translateY(-6px))に合わせ、
   傾きが起き上がって少し浮く。numbox(番号カード)も.top-v2-catalog-photoを
   兼ねるため同じセレクタで揃って動く */
.top-v2-catalog-item[role="button"] {
  cursor: pointer;
}
.top-v2-catalog-photo {
  transition: transform 0.25s ease;
}
.top-v2-catalog-item:hover .top-v2-catalog-photo,
.top-v2-catalog-item[role="button"]:focus-visible .top-v2-catalog-photo {
  transform: rotate(0deg) translateY(-6px);
}
.top-v2-catalog-item[role="button"]:focus-visible {
  outline: 3px solid #1f4f63;
  outline-offset: 4px;
  border-radius: 8px;
}
@media (prefers-reduced-motion: reduce) {
  .top-v2-catalog-photo {
    transition: none;
  }
}

/* ダイアログ本体: 中身は空箱（余白のみ）。見た目は子の.top-v2-playdialog-sheet
   が担う。showModal()のtop-layer描画によりFAB(.l-footer_reserve, z-index:1040)
   より必ず上に乗るが、明示のz-indexも保険として付与 */
.top-v2-playdialog {
  width: min(94vw, 720px);
  max-height: calc(100vh - 20px);
  max-height: calc(100dvh - 20px);
  margin: auto;
  padding: 16px 0 4px;
  border: 0;
  background: transparent;
  /* 通常画面では内容高に収まる。文字拡大・横向き・極端に低い画面だけの安全弁 */
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 1050;
}
.top-v2-playdialog::backdrop {
  background: rgba(20, 32, 38, 0.55);
}

.top-v2-playdialog-sheet {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px 22px;
  box-shadow: 0 14px 34px rgba(20, 40, 55, 0.28);
  text-align: center;
}
/* 上辺マステ: .top-v2-catalog-photo::beforeと同じテープ画像を流用 */
.top-v2-playdialog-sheet::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  width: 104px;
  height: 42px;
  margin-left: -52px;
  background: url(/assets/img/tape-1.png) no-repeat center/contain;
  pointer-events: none;
}

/* 遊び名見出し: セクション見出しと同じクリームマーカー文法（.top-v2-scene-title-mark）のミニ版 */
.top-v2-playdialog-title {
  display: inline-block;
  margin: 4px 40px 12px;
  background: linear-gradient(transparent 58%, #fff8e8 58%);
  padding: 0 6px;
  color: #2f7890;
  font-weight: 900;
  font-size: clamp(19px, 4.6vw, 23px);
  line-height: 1.4;
}

.top-v2-playdialog-desc {
  margin: 0 0 14px;
  color: #2e2518;
  font-weight: 700;
  font-size: clamp(14.5px, 2vw, 16px);
  line-height: 1.85;
}

/* チップ列: 場所/夜/雨/道具。夜チップも含め値は原文そのまま表示する */
.top-v2-playdialog-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.top-v2-playdialog-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 6px 12px;
  background: #fff8e8;
  border: 1px solid rgba(47, 120, 144, 0.35);
  border-radius: 999px;
  font-size: 12.5px;
  line-height: 1.4;
}
.top-v2-playdialog-chip-label {
  color: #2f7890;
  font-weight: 900;
}
.top-v2-playdialog-chip-value {
  color: #4a3f2f;
  font-weight: 700;
}

/* 注意行: 小さめ・インク色。既存.top-v2-catalog-noteと同系色 */
.top-v2-playdialog-note {
  margin: 0 0 14px;
  color: #665a4a;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.7;
}

/* 詳細リンク: 既存.top-v2-btn-outline(オレンジ)を小型化して使う */
.top-v2-playdialog-link {
  display: inline-block;
  margin: 0 0 4px;
}
.top-v2-btn-outline--sm {
  padding: 8px 22px;
  font-size: 13.5px;
}

/* とじるボタン: 常に見える右上へ置き、本文の高さを使わない */
.top-v2-playdialog-closebtn {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0 0 2px;
  border: 2px solid #2f7890;
  border-radius: 50%;
  background: #fff;
  color: #2f7890;
  font-weight: 900;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}
.top-v2-playdialog-closebtn:hover {
  background: #eef6f8;
}
.top-v2-playdialog-closebtn:focus-visible {
  outline: 3px solid #1f4f63;
  outline-offset: 3px;
}

/* dialogを開いている間はbodyのスクロールを止める（body固定によるロック） */
body.top-v2-playdialog-lock {
  overflow: hidden;
}

/* ポップアップ内の写真(オーナー要望)。カード画像(.top-v2-catalog-photo img:
   width:100%; aspect-ratio:4/3; object-fit:cover)と同じ切り抜きを、
   ダイアログ幅まで拡大して表示する(絵はカードと同一、サイズだけ大きい) */
.top-v2-playdialog-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(20, 50, 65, 0.15);
  margin: 0;
}

/* PC: 写真と説明を横に並べ、縦写真でもポップアップを低く保つ */
@media (min-width: 768px) {
  .top-v2-playdialog:has(.top-v2-playdialog-photo[hidden]) {
    width: min(92vw, 480px);
  }
  .top-v2-playdialog-sheet:has(.top-v2-playdialog-photo:not([hidden])) {
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(280px, 1.1fr);
    grid-template-areas:
      "photo title"
      "photo desc"
      "photo chips"
      "photo note"
      "photo link";
    column-gap: 24px;
    align-items: start;
    text-align: left;
  }
  .top-v2-playdialog-sheet:has(.top-v2-playdialog-photo:not([hidden])) .top-v2-playdialog-photo {
    grid-area: photo;
    align-self: start;
  }
  .top-v2-playdialog-sheet:has(.top-v2-playdialog-photo:not([hidden])) .top-v2-playdialog-title {
    grid-area: title;
    justify-self: start;
    margin-left: 0;
  }
  .top-v2-playdialog-sheet:has(.top-v2-playdialog-photo:not([hidden])) .top-v2-playdialog-desc {
    grid-area: desc;
  }
  .top-v2-playdialog-sheet:has(.top-v2-playdialog-photo:not([hidden])) .top-v2-playdialog-chips {
    grid-area: chips;
    justify-content: flex-start;
  }
  .top-v2-playdialog-sheet:has(.top-v2-playdialog-photo:not([hidden])) .top-v2-playdialog-note {
    grid-area: note;
  }
  .top-v2-playdialog-sheet:has(.top-v2-playdialog-photo:not([hidden])) .top-v2-playdialog-link {
    grid-area: link;
    justify-self: start;
  }
}

/* SP: 写真はベースのwidth:100%・aspect-ratio:4/3をそのまま使う。
   ここでは下余白だけ調整する */
@media (max-width: 767px) {
  .top-v2-playdialog {
    width: min(94vw, 480px);
  }
  .top-v2-playdialog-sheet {
    padding: 24px 16px 18px;
  }
  .top-v2-playdialog-photo {
    margin: 0 0 10px;
  }
  .top-v2-playdialog-title {
    margin: 2px 38px 8px;
    font-size: clamp(18px, 5.2vw, 21px);
  }
  .top-v2-playdialog-desc {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.65;
  }
  .top-v2-playdialog-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 10px;
  }
  .top-v2-playdialog-chip {
    justify-content: center;
    gap: 3px;
    padding: 5px 6px;
    font-size: 11.5px;
  }
  .top-v2-playdialog-note {
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.55;
  }
  .top-v2-btn-outline--sm {
    padding: 7px 18px;
    font-size: 13px;
  }
  .top-v2-playdialog-closebtn {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    font-size: 25px;
  }
}

/* 2026-07-12 カタログのリード(+タップ案内)を中央寄せ(オーナー指示) */
#catalog .top-v2-scene-lead {
  text-align: center;
}

/* --- 2026-07-12 調理室併設コンパクトプラン枠(option) --- */
.top-v2-plan-card { margin-top: 18px; }
.top-v2-plan-lead { margin: 10px 0 12px; }
.top-v2-plan-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.top-v2-plan-table th, .top-v2-plan-table td {
  border: 1px solid rgba(47, 120, 144, 0.35);
  padding: 7px 9px;
  text-align: center;
}
.top-v2-plan-table thead th { background: #fff8e8; }
.top-v2-plan-table tbody th { text-align: left; font-weight: 700; white-space: nowrap; }
.top-v2-plan-table strong { color: #f0831e; }
.top-v2-plan-note { margin: 10px 0 0; font-size: 12px; color: #665a4a; line-height: 1.7; }
.top-v2-stay-plan-hook { text-align: center; margin: 18px 0 6px; }
@media (max-width: 575px) {
  .top-v2-plan-table { font-size: 12.5px; }
  .top-v2-plan-table th, .top-v2-plan-table td { padding: 6px 5px; }
}

/* コンパクトプラン: 表を廃し一行価格へ(オーナー指示・表はでかすぎ) */
.top-v2-plan-price {
  margin: 8px 0 10px;
  font-weight: 800;
  font-size: 15.5px;
}
.top-v2-plan-price strong { color: #f0831e; }

/* コンパクトプランの折りたたみ見出しだけ中央寄せ(オーナー指示) */
.top-v2-plan-fold > .top-v2-formal-fold-summary {
  text-align: center;
}

/* --- 2026-07-12 料金黒板: コンパクトプラン切替ドロワー（6ページ共通） -----
   食事オプション／お子さま人数と同じ.top-v2-chalk-menu系の外枠を使うため、
   ドロワー自体の見た目は追加CSS不要。新規なのはチェック行と定員注意行のみ --- */
.top-v2-chalk-plancheck {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 2px;
  color: #2e2518;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
}
.top-v2-chalk-plancheck input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  accent-color: #2f7890;
  cursor: pointer;
}

/* 注意行: 小さめ・インク色（既存.top-v2-playdialog-noteと同系色）。
   黒板(.top-v2-chalkboard--art)の直後にJSが差し込む。非ブロッキングなので
   警告色にはしない。hidden属性で出し分け、既存#fam-minと同じ考え方 */
.top-v2-chalk-capacity-notice {
  margin: 0 0 20px;
  text-align: center;
  color: #665a4a;
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.7;
}

/* --- 2026-07-12 コンパクトプラン欄の囲い(オーナー指示) ---
   開いた中身が周囲の料金カードと地続きに見え「どこまでがプランの話か」
   の境界が無かった。点線+薄クリーム地の補足プリント文法で1ブロック化 */
.top-v2-plan-fold {
  border: 2px dashed rgba(47, 120, 144, 0.45);
  border-radius: 12px;
  background: #fffdf6;
  padding: 10px 14px;
  margin-top: 14px;
}
.top-v2-plan-fold > .top-v2-formal-fold-body {
  padding-top: 4px;
}

/* --- 2026-07-12 料金シミュレーターの共通化（TOP / 料金・オプション） ---
   基本料金を先に理解し、その下で条件を変えて概算する順序へ統一する。
   条件と結果の黒板を同じ白い「さんすうプリント」に収め、操作範囲を明示。 */
.top-v2-price-simulator {
  position: relative;
  max-width: 860px;
  margin: 26px auto 24px;
  padding: 30px 28px 24px;
  background: #fff;
  border: 1px solid rgba(47, 120, 144, 0.14);
  border-left: 3px solid rgba(47, 120, 144, 0.38);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(20, 50, 65, 0.10);
}

.top-v2-price-simulator::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  width: 104px;
  height: 42px;
  margin-left: -52px;
  background: url(/assets/img/tape-2.png) no-repeat center/contain;
  pointer-events: none;
}

.top-v2-price-simulator-head {
  margin: 0 0 18px;
  text-align: center;
}

.top-v2-price-simulator-title {
  display: inline-block;
  margin: 0;
  padding: 0 4px 7px;
  border-bottom: 2px dashed rgba(47, 120, 144, 0.45);
  color: #2f7890;
  font-size: clamp(20px, 2.4vw, 25px);
  font-weight: 900;
  line-height: 1.35;
}

.top-v2-price-simulator-hint {
  margin: 8px 0 0;
  color: #665a4a;
  font-size: 12.5px;
  font-weight: 700;
}

.top-v2-price-simulator-controls {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: 16px;
  align-items: start;
}

.top-v2-price-simulator-controls > .top-v2-chalk-season,
.top-v2-price-simulator-controls > .top-v2-chalk-stepper,
.top-v2-price-simulator-controls > .top-v2-chalk-family {
  grid-column: 1 / -1;
}

.top-v2-price-simulator-controls > .top-v2-chalk-menu {
  grid-column: span 2;
  width: 100%;
  max-width: none;
}

.top-v2-price-simulator-controls > .top-v2-chalk-family {
  margin: 2px 0 16px;
}

.top-v2-price-simulator .top-v2-chalkboard--art {
  margin: 4px auto 0;
}

.top-v2-price > .top-v2-price-simulator {
  grid-column: 1 / -1;
}

.top-v2-price > .top-v2-chalk-capacity-notice {
  grid-column: 1 / -1;
}

/* 小さい状態文字と開閉ヒントも本文相当のコントラストを確保する。 */
.top-v2-chalk-menu-state,
.top-v2-chalk-menu-summary::after {
  color: #456b78;
}

.top-v2-chalk-step:focus-visible,
.top-v2-chalk-tab:focus-visible,
.top-v2-chalk-menu-summary:focus-visible,
.top-v2-chalk-plancheck input:focus-visible {
  outline: 3px solid #1f4f63;
  outline-offset: 3px;
}

/* TOPには黒板付箋がないため、全ページ共通の付箋用下余白を外す。 */
#price #banner .top-v2-price-simulator .top-v2-chalkboard--art {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  /* 3列を開いても横溢れさせない専用組版。閉じたsummaryの「変更する」は
     矢印だけに縮め、開いた中身のボタン・人数行も列幅内へ収める。 */
  .top-v2-price-simulator-controls > .top-v2-chalk-menu > .top-v2-chalk-menu-summary::after {
    content: "▾";
    margin-left: 4px;
  }

  .top-v2-price-simulator-controls > .top-v2-chalk-menu[open] > .top-v2-chalk-menu-summary::after {
    content: "▴";
  }

  .top-v2-price-simulator-controls > .top-v2-chalk-menu .top-v2-chalk-mealrows {
    padding: 10px 8px;
    gap: 8px;
  }

  .top-v2-price-simulator-controls > .top-v2-chalk-menu .top-v2-chalk-mealtime {
    grid-template-columns: 22px minmax(0, 1fr) minmax(0, 1fr);
    gap: 4px;
  }

  .top-v2-price-simulator-controls > .top-v2-chalk-menu .top-v2-chalk-mealtime .top-v2-chalk-tab {
    padding: 7px 3px;
    font-size: 11px;
    white-space: normal;
  }

  .top-v2-price-simulator-controls > .top-v2-chalk-menu .top-v2-chalk-family .top-v2-chalk-frow {
    grid-template-columns: 52px 38px 36px 38px;
    column-gap: 6px;
  }

  .top-v2-price-simulator-controls > .top-v2-chalk-menu .top-v2-chalk-step {
    width: 38px;
    height: 38px;
  }

  .top-v2-price-simulator-controls > .top-v2-chalk-menu .top-v2-chalk-plancheck {
    font-size: 12px;
  }

  .top-v2-price-simulator-controls > .top-v2-chalk-menu .top-v2-chalk-menu-note {
    font-size: 11px;
  }
}

@media (max-width: 991px) {
  .top-v2-price-simulator-controls {
    display: block;
  }

  .top-v2-price-simulator-controls > .top-v2-chalk-menu {
    width: auto;
  }

  /* 食事名の途中で成り行き改行させず、料金だけを必ず2段目へ置く。 */
  .top-v2-chalk-mealtime .top-v2-chalk-tab {
    display: flex;
    min-height: 54px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1.25;
  }

  .top-v2-chalk-mealtime .top-v2-chalk-tab small {
    display: block;
    margin-top: 2px;
  }
}

@media (max-width: 767px) {
  .top-v2-price-simulator {
    margin-top: 22px;
    padding: 26px 14px 18px;
  }

  .top-v2-price-simulator-title {
    font-size: 20px;
  }

  .top-v2-price-simulator-hint {
    padding: 0 12px;
  }

  .top-v2-price-simulator-controls > .top-v2-chalk-menu .top-v2-chalk-family .top-v2-chalk-frow {
    grid-template-columns: 52px 44px 44px 44px;
    column-gap: 6px;
  }

  .top-v2-price-simulator .top-v2-chalkboard--art .top-v2-chalk-answer {
    font-size: 12.5px;
  }

  .top-v2-price-simulator .top-v2-chalkboard--art .top-v2-chalk-sub {
    font-size: 10px;
  }
}

/* --- 2026-07-12 オーナー指示3点 --- */
/* 1) TOP料金ボード: ドロワー3列化(食事/お子さま/コンパクトプラン)。
   .top-v2-priceの2列gridを6分割にし、全幅系(1/-1)は不変・
   ドロワーだけspan2で3枚並びに */
@media (min-width: 992px) {
  .top-v2-price {
    grid-template-columns: repeat(6, 1fr);
  }
  .top-v2-price > .top-v2-chalk-menu {
    grid-column: span 2;
  }
}

/* 2) 時間割カードのPC拡大 110→140px(実機で小さすぎるとの指摘)。
   名前12px: 最長9文字x12=108 <= 内寸130で折返しなし。
   4行合計は約660px+見出しで1080pクラスに引き続き収まる */
@media (min-width: 992px) {
  .top-v2-playcard {
    width: 140px;
  }
  .top-v2-playcard-name {
    font-size: 12px;
  }
  .top-v2-playroll-track {
    gap: 16px;
  }
}

/* 3) /play/カタログSP 3列化(ポップアップが詳細を担うため一覧は密に。
   12項目=3列x4行でぴったり・縦長解消) */
@media (max-width: 767px) {
  .top-v2-catalog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 8px;
  }
  .top-v2-catalog-name {
    font-size: 10.5px;
    margin-top: 6px;
  }
  .top-v2-catalog-numbox {
    font-size: 22px;
  }
}

/* --- 2026-07-12 時間割セクションPC改善2点(オーナー指示) --- */
/* 1) マーキーの端をグラデーションで溶かす(硬いぶつ切りが事故に見える)。
   マスクは各行のビューポートだけに掛け、行ラベルには影響させない */
@media (min-width: 992px) {
  .top-v2-playroll-viewport {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 72px, #000 calc(100% - 72px), transparent);
    mask-image: linear-gradient(to right, transparent, #000 72px, #000 calc(100% - 72px), transparent);
  }
}
@media (max-width: 991px) {
  .top-v2-playroll-viewport {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 28px, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(to right, transparent, #000 28px, #000 calc(100% - 28px), transparent);
  }
}
/* 2) 見出しが全セクション最小の6vwキャップで目立たない→7.2vwへ。
   両脇の切り抜きとの衝突は実測で確認(992/1280) */
@media (min-width: 992px) {
  #playroll .top-v2-h {
    font-size: min(96px, 7.2vw);
  }
}

/* 全料金ページの注記は、注記番号／記号だけを統一色、本文とリンクを同じ本文色に。 */
.top-v2-teacher-note--unified .top-v2-price-notes li::first-letter {
  color: inherit;
  font-weight: inherit;
}

.top-v2-note-mark {
  color: #f0831e;
  font-weight: 900;
}

.top-v2-teacher-note--unified .top-v2-price-notes .top-v2-inline-link {
  color: #1565c0;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
}

.top-v2-teacher-note--unified .top-v2-price-notes .top-v2-inline-link:hover {
  color: #0b4f9c;
}

/* 料金内訳は年齢区分ごとに折り返し、語句の途中では改行しない。 */
.top-v2-chalk-unitline {
  display: flex;
  flex: 1 1 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3px 14px;
}

.top-v2-chalk-unitpart,
.top-v2-chalk-unitnote {
  white-space: nowrap;
}

.top-v2-chalk-unitnote {
  color: rgba(255, 248, 232, 0.82);
}

@media (max-width: 575px) {
  .top-v2-chalk-unitline {
    display: grid;
    grid-template-columns: max-content max-content;
    gap: 2px 12px;
  }

  .top-v2-chalk-unitpart:nth-child(3),
  .top-v2-chalk-unitnote {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

/* TOP「行くなら、誰と？」: 白カードを一枚のセクションとして束ねる。 */
#stay .l-section_bg {
  background-color: #f8f4e9;
}

#stay .l-section_title--image {
  margin-bottom: 18px !important;
}

.top-v2-doors-lead {
  max-width: 560px;
  margin: 0 auto 30px;
  padding: 0 16px;
  color: #665a4a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

#stay .top-v2-doors {
  margin-top: 0;
}

@media (max-width: 575px) {
  .top-v2-doors-lead {
    margin-bottom: 28px;
    font-size: 13.5px;
  }
}

/* 「行くなら、誰と？」カードの下の団体向けの1行（上の .top-v2-doors-lead と同じ調子で中央に） */
.top-v2-doors-group {
  max-width: 680px;
  margin: 28px auto 0;
  padding: 0 16px;
  color: #665a4a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 575px) {
  .top-v2-doors-group {
    margin-top: 22px;
    font-size: 13px;
  }
}

/* TOP「行くなら、誰と？」仕上げ: 二重カードを解消し、写真プリントを主役に。 */
#stay .top-v2-doors a {
  padding: 12px 8px 6px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

#stay .top-v2-doors-who {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  margin-top: -11px;
  padding: 5px 14px;
  border: 2px solid #9ed3e2;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(20, 50, 65, 0.12);
  color: #2f7890;
  font-weight: 900;
}

#stay .top-v2-doors a:hover .top-v2-doors-who {
  border-color: #f4b271;
  color: #bd5b11;
}

/* テーマのoverflow:hiddenがSPのsticky写真カードを無効化していた。
   clipなら横方向のはみ出しは抑えつつ、スクロールコンテナを作らない。 */
.l-main.top-v2-model-main {
  overflow: clip;
}

/* TOP「行くなら、誰と？」再設計: 写真と文字を一枚のカードに戻す。 */
#stay .l-section_bg {
  background-color: #fff;
}

#stay .top-v2-doors a {
  padding: 10px 10px 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(47, 120, 144, 0.14);
  border-top: 4px solid #2f7890;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(20, 50, 65, 0.14);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

#stay .top-v2-doors li:nth-child(1) a,
#stay .top-v2-doors li:nth-child(4) a {
  transform: rotate(-0.45deg);
}

#stay .top-v2-doors li:nth-child(2) a,
#stay .top-v2-doors li:nth-child(3) a {
  border-top-color: #f0831e;
  transform: rotate(0.45deg);
}

#stay .top-v2-doors a:hover {
  transform: translateY(-6px) rotate(0);
  box-shadow: 0 16px 34px rgba(20, 50, 65, 0.2);
}

#stay .top-v2-scenecard-photo {
  padding: 0;
  overflow: hidden;
  border-radius: 11px;
  box-shadow: none;
  transform: none;
}

#stay .top-v2-doors-who {
  display: block;
  min-width: 0;
  margin-top: 13px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #2f7890;
  font-size: 16.5px;
  letter-spacing: 0.08em;
}

#stay .top-v2-doors-who [aria-hidden="true"] {
  display: inline-block;
  margin-left: 0.18em;
  color: #f0831e;
  transition: transform 0.2s ease;
}

#stay .top-v2-doors a:hover .top-v2-doors-who {
  color: #bd5b11;
}

#stay .top-v2-doors a:hover .top-v2-doors-who [aria-hidden="true"],
#stay .top-v2-doors a:focus-visible .top-v2-doors-who [aria-hidden="true"] {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  #stay .top-v2-doors a {
    transition: none;
  }
}

/* スマホのアクセス地図: テーマ由来の左右-12pxをカード内だけ解除し、
   上下左右すべて同じ10px幅の白い額縁を見せる。 */
@media (max-width: 767px) {
  #location .top-v2-map-frame {
    padding: 10px;
    background: #fff;
  }

  #location .top-v2-map-frame .l-address_map {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }
}

/* 「カタショーの風景」右下の旧バスケGIFを、背景より手前・カードより奥へ戻す。
   HTMLと素材は残っていたが、旧z-index:-1が現在の背景の裏へ潜らせていた。 */
#landscape .l-album_bg {
  isolation: isolate;
}

#landscape .l-album_bg > .l-section_inner {
  position: relative;
  z-index: 1;
}

#landscape .l-album_bgRightbtm {
  z-index: 0;
  pointer-events: none;
}

/* 料金・オプション: 写真のテープを左上のラベル位置から上辺中央へ戻す。 */
.top-v2-menu-grid .top-v2-menu-photo::before {
  top: -14px;
  left: 50%;
  margin-left: -43px;
  transform: rotate(-2deg);
}

.top-v2-menu-grid .top-v2-menu-card:nth-child(even) .top-v2-menu-photo::before {
  background-image: url(/assets/img/tape-3.png);
  transform: rotate(2deg);
}

/* 宿泊オプションも食事・遊び・温泉と同じ写真カード文法へ統一。 */
.top-v2-stayoption-lead {
  margin: -22px auto 34px;
  color: #665a4a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
  text-align: center;
}

.top-v2-stayoption-grid {
  max-width: 1100px;
  margin-right: auto;
  margin-left: auto;
}

.top-v2-stayoption-card {
  display: flex;
  flex-direction: column;
}

.top-v2-stayoption-card .top-v2-menu-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.top-v2-stayoption-card .top-v2-menu-desc {
  margin-bottom: 18px;
}

.top-v2-stayoption-detail {
  align-self: center;
  margin-top: auto;
}

.top-v2-stayoption-dialog-photo {
  display: block;
  width: 100%;
  height: 190px;
  margin: 0 0 16px;
  object-fit: cover;
  border: 1px solid rgba(42, 71, 80, 0.12);
  border-radius: 10px;
}

.top-v2-stayoption-dialog .top-v2-roomplan {
  margin-top: 18px;
}

@media (max-width: 575px) {
  .top-v2-stayoption-lead {
    margin-top: -26px;
    margin-bottom: 30px;
    padding: 0 18px;
    font-size: 13px;
  }

  .top-v2-stayoption-dialog-photo {
    height: 128px;
    margin-bottom: 12px;
  }
}
.top-v2-map-bridge {
  width: min(980px, 100%);
  margin: clamp(46px, 7vw, 78px) auto 0;
  padding: clamp(24px, 4vw, 42px);
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(26px, 5vw, 58px);
  align-items: center;
  color: #253b3d;
  background: #fffaf0;
  border: 2px dashed rgba(40, 89, 91, .35);
  box-shadow: 8px 10px 0 rgba(40, 89, 91, .12);
}

.top-v2-map-bridge-kicker {
  margin: 0 0 8px;
  color: #247f86;
  font: 900 13px/1 sans-serif;
  letter-spacing: .16em;
}

.top-v2-map-bridge h3 {
  margin: 0;
  color: #253b3d;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.45;
  font-weight: 900;
}

.top-v2-map-bridge-copy > p:not(.top-v2-map-bridge-kicker) {
  margin: 16px 0 22px;
  line-height: 1.8;
}

.top-v2-map-bridge-preview {
  display: block;
  padding: 9px;
  background: #fff;
  border: 1px solid rgba(37, 59, 61, .14);
  box-shadow: 0 12px 30px rgba(37, 59, 61, .16);
  transform: rotate(1.3deg);
  transition: transform .2s ease;
}

.top-v2-map-bridge-preview:hover { transform: rotate(0) translateY(-3px); }
.top-v2-map-bridge-preview img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }

@media (max-width: 767px) {
  .top-v2-map-bridge { grid-template-columns: 1fr; }
  .top-v2-map-bridge-preview { order: -1; }
  .top-v2-map-bridge h3 { font-size: 27px; }
}

/* ===================================================================
   about/index.html 全面再構成（top-v2文法での再構築）
   既存部品を最大流用（.top-v2-scene-section/-inner/-title/-title-mark/
   -h/-kinsoku/-scenecard-photo/-worksheet/-print-tab/-address-card/
   -inline-link/-btn-outline/-scene-finalcta）。ここは流用できない
   about専用の最小差分のみ。
   =================================================================== */

/* --- 1. MV: 姉妹ページ共通のヒーロー文法（.top-v2-scene-hero、白地テキスト＋
   隣に写真）に統一。写真は2000x664のパノラマで、共通ルールのheight:autoの
   ままだと薄いリボン状になるため、4:3にクロップして他ページの写真と同じ
   塊感に揃える。#hero は姉妹ページ（family/friends/gasshuku/kenshu）でも
   同じidを使うため、idではなくabout MV専用クラス .top-v2-about-hero で
   スコープする（姉妹ページの天然比率3:2写真を巻き込みクロップしない） --- */
.top-v2-about-hero .top-v2-scene-hero-photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 78% 45%;
}

/* --- 2. 物語カード（白カード/プリント文法。既存.top-v2-worksheetの白紙+
   テープ+左罫線を土台に、2枚並びのグリッドへ拡張） --- */
.top-v2-about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  margin-top: 8px;
}
@media (min-width: 900px) {
  .top-v2-about-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    align-items: start;
  }
}
.top-v2-about-story-card {
  background: #fff;
  border-left: 3px solid rgba(47, 120, 144, 0.35);
  border-radius: 12px;
  padding: 28px 26px;
  box-shadow: 0 6px 18px rgba(20, 50, 65, 0.1);
}
.top-v2-about-story-grid .top-v2-about-story-card:nth-child(1) { transform: rotate(-0.35deg); }
.top-v2-about-story-grid .top-v2-about-story-card:nth-child(2) { transform: rotate(0.35deg); }
.top-v2-about-story-card h3 {
  margin: 0 0 10px;
  color: #2f7890;
  font-weight: 900;
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.4;
}
.top-v2-about-story-card p {
  margin: 0 0 16px;
  color: #2e2518;
  font-size: 15px;
  line-height: 1.9;
}
.top-v2-about-story-card p:last-child {
  margin-bottom: 0;
}
.top-v2-about-story-emphasis {
  padding-left: 16px;
  border-left: 4px solid #f0831e;
  color: #2f7890 !important;
  font-weight: 800;
  font-size: 16px !important;
}
.top-v2-about-story-photo {
  width: 100%;
  margin: 0 0 20px;
}
.top-v2-about-story-photo figcaption {
  margin-top: 10px;
  text-align: center;
  color: #665a4a;
  font-weight: 800;
  font-size: 13px;
}

/* --- 3. あゆみ（カタショーの歴史）: 既存.top-v2-worksheet（さんすうプリント文法）
   を年表用に流用。行の折返しに強い破線区切りで罫線を表現。
   旧HPで実写が付いていた6行分は「学級だよりに貼った写真」の趣で丸窓を右に添える
   （テキスト列dt/ddは左端を揃えるため常にgrid列1、写真は列2でdt/dd行を縦にまたぐ。
   写真なし行は列2の要素が存在しないためテキスト列がそのまま全幅になる） --- */
.top-v2-about-history-sheet {
  max-width: 720px;
}
.top-v2-about-history-list {
  margin: 8px 0 0;
  padding: 0;
}
.top-v2-about-history-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 18px;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(47, 120, 144, 0.28);
}
.top-v2-about-history-row:last-child {
  border-bottom: 0;
}
.top-v2-about-history-row dt {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  color: #2f7890;
  font-weight: 900;
  font-size: 14.5px;
  line-height: 1.7;
}
.top-v2-about-history-row dd {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  color: #2e2518;
  font-size: 14.5px;
  line-height: 1.75;
}
.top-v2-about-history-photo {
  grid-column: 2;
  grid-row: 1 / 3;
  width: clamp(72px, 19vw, 88px);
  aspect-ratio: 1 / 1;
}
.top-v2-about-history-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (min-width: 768px) {
  .top-v2-about-history-photo {
    width: clamp(96px, 8vw, 110px);
  }
}

/* --- 4. 迎える人たち（スタッフ紹介）: ポラロイド(.top-v2-scenecard-photo)
   ＋白カードのグリッド。既存の写真カード回転リズムを流用 --- */
.top-v2-about-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 20px;
  margin-top: 8px;
}
@media (min-width: 600px) {
  .top-v2-about-team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 26px;
  }
}
@media (min-width: 992px) {
  .top-v2-about-team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.top-v2-about-team-card {
  text-align: center;
}
.top-v2-about-team-grid .top-v2-about-team-card:nth-child(4n+1) .top-v2-scenecard-photo { transform: rotate(-1.4deg); }
.top-v2-about-team-grid .top-v2-about-team-card:nth-child(4n+2) .top-v2-scenecard-photo { transform: rotate(1.1deg); }
.top-v2-about-team-grid .top-v2-about-team-card:nth-child(4n+3) .top-v2-scenecard-photo { transform: rotate(-0.8deg); }
.top-v2-about-team-grid .top-v2-about-team-card:nth-child(4n+4) .top-v2-scenecard-photo { transform: rotate(1.3deg); }
.top-v2-about-team-card h3 {
  margin: 14px 0 2px;
  color: #2e2518;
  font-weight: 900;
  font-size: 15.5px;
}
.top-v2-about-team-title {
  margin: 0 0 8px;
  color: #2f7890;
  font-weight: 800;
  font-size: 12.5px;
}
.top-v2-about-team-comment {
  margin: 0;
  color: #665a4a;
  font-size: 12.5px;
  line-height: 1.7;
  text-align: left;
}
.top-v2-about-team-operator {
  margin: 36px 0 0;
  text-align: center;
  color: #665a4a;
  font-weight: 800;
  font-size: 14px;
}

/* --- 5. 片浜小学校校歌: 音楽室らしい静かな白カード --- */
.top-v2-about-song-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 8px 22px rgba(20, 50, 65, 0.12);
  text-align: center;
}
.top-v2-about-song-card img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 0;
  border-radius: 6px;
}

/* --- 6. がっこうのれんらくさき: TOPから引退した.top-v2-address-card系を
   単独カードとして再利用（地図は/access/に譲り、リンク1行で誘導） --- */
.top-v2-about-info-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 8px;
}
.top-v2-about-info-wrap .top-v2-address-card {
  width: 100%;
}
.top-v2-about-faqlink {
  margin: 24px 0 0;
  text-align: center;
}

/* --- 7. 最終CTA: 既存.top-v2-scene-finalctaのh2書式をそのまま使用し、
   ボタン列だけ中央寄せに --- */
.top-v2-about-cta-actions {
  justify-content: center;
  margin-top: 8px;
}

/* --- 見出しリード文の中央寄せヘルパー（.top-v2-scene-leadは既定で左寄せのため、
   .top-v2-scene-title(中央)と対で使うセクションにのみ付与） --- */
.top-v2-about-center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* about: 8文字ユニット見出し（「片浜小学校から、」「カタショーの歴史」）は
   サイト標準の12vw（375pxで45px＝実質7文字上限）だと1行に収まらず、
   kinsokuのinline-blockが幅制約で「か/ら」等の語中折返しを起こす。
   TOP #playroll/#stay と同じセクションスコープのフィットで一段縮める
   （10.8vw: 375pxで40.5px×8字=324px≦338px、320pxでも277px≦288px） */
@media (max-width: 991px) {
  #story .top-v2-h,
  #history .top-v2-h {
    font-size: min(10.8vw, 96px);
  }
}

/* TOP末尾(アクセスと最終CTAの間)の「カタショーについて」導線。
   初版の裸の丸写真+素テキストはサイトの紙もの文法に無い形で浮いた
   (オーナー指摘)→ aboutの年表シートと同じ「おたよりプリント」の
   切れ端カードに。worksheet(白紙+テープ+左罫+微回転)と
   あゆみタブを共用し、丸窓写真は紙の上に貼られた状態で見せる */
.top-v2-abouthook {
  background: #fff;
  padding: 56px 20px;
}
.top-v2-abouthook-card {
  max-width: 560px;
  margin: 0 auto;
}
.top-v2-abouthook-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 18px;
  align-items: center;
  margin-top: 0;
}
.top-v2-abouthook-photo {
  width: clamp(84px, 22vw, 108px);
  height: auto;
}
.top-v2-abouthook-line {
  margin: 0 0 10px;
  color: #2f7890;
  font-weight: 900;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
}
@media (min-width: 992px) {
  .top-v2-abouthook {
    padding: 80px 20px;
  }
}

/* ===================================================================
   map/index.html 全面再構築（top-v2文法での再構築）
   既存部品を最大流用（.top-v2-scene-section/-inner/-hero/-title-mark/
   -kinsoku/-scenecard-photo/-worksheet/-print-tab/-inline-link/
   -actions/-timeline-note/-cta-big）。ここは流用できないmap専用の
   最小差分のみ。id="hero"等は姉妹ページと共有し既存#hero.top-v2-scene-
   sectionの上余白調整をそのまま受けるが、新規CSSは全て.top-v2-map-*
   でスコープし他ページへ波及しないようにする。
   =================================================================== */

/* --- 1. ヒーロー: 写真を持たないH1+リードのみ。姉妹ページ共通の
   .top-v2-scene-hero（テキスト+写真の2カラム）を流用しつつ、写真列が
   無いためPCも1カラム中央寄せに強制する（.top-v2-map-hero-gridでのみ
   上書きするため他ページの.top-v2-scene-heroには影響しない） --- */
.top-v2-map-hero-grid {
  text-align: center;
}
.top-v2-map-hero-grid > div {
  max-width: 720px;
  margin: 0 auto;
}
@media (min-width: 992px) {
  .top-v2-map-hero-grid.top-v2-scene-hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- 2. 全体MAP: ポラロイド大判カード(.top-v2-scenecard-photo)の中に
   写真と等寸のフレームdivを重ね、番号ドットを%座標で絶対配置する。
   画像は1536x1024=3:2で、.top-v2-scenecard-photo imgのaspect-ratio:
   3/2 object-fit:coverと完全一致するためクロップされず、フレームdiv
   がそのまま画像の実表示範囲になり%座標を直接使える --- */
.top-v2-map-photo-wrap {
  max-width: 960px;
  margin: 0 auto;
}
.top-v2-map-photo-frame {
  position: relative;
}
.top-v2-map-photo-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.top-v2-map-dot {
  /* 白丸+tealだとカメラバッジと兄弟に見えて混同する(オーナー指摘2026-07-17)。
     番号=場所の印はtealベタ+白数字+白フチ(地図ピンの定番)に反転し、
     白いカメラ=写真の合図と役割を色で分離する。カメラ側はフロア図と共通のまま */
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  background: #2f7890;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(20, 50, 65, 0.3);
  pointer-events: none;
}
@media (min-width: 768px) {
  .top-v2-map-dot {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}

/* --- 3. 凡例: おたよりプリント(.top-v2-worksheet)を流用。dt/ddは
   横並びにせずブロック既定表示のまま縦積みにし、SP375pxでも
   横スクロールを起こさないようにする --- */
.top-v2-map-legend {
  margin: 40px auto 0;
}
.top-v2-map-legend-list {
  margin: 8px 0 0;
  padding: 0;
}
.top-v2-map-legend-row {
  padding: 12px 0;
  border-bottom: 1px dashed rgba(47, 120, 144, 0.28);
}
.top-v2-map-legend-row:last-child {
  border-bottom: 0;
}
.top-v2-map-legend-row dt {
  margin: 0;
  color: #2f7890;
  font-weight: 900;
  font-size: 15.5px;
  line-height: 1.7;
}
.top-v2-map-legend-row dd {
  margin: 2px 0 0;
  color: #2e2518;
  font-size: 15px;
  line-height: 1.8;
}

/* --- 4. 場所の写真3枚: 料金・遊び解説なしの薄い案内板。写真は
   .top-v2-scenecard-photoを流用しキャプション1行を添えるのみ。
   カード単体へのリンクは持たず、リンクはカード群の下に1本
   (.top-v2-actionsを流用) --- */
.top-v2-map-spots {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 8px auto 0;
}
@media (min-width: 700px) {
  .top-v2-map-spots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}
.top-v2-map-spot-photo {
  max-width: 340px;
  margin: 0 auto;
}
.top-v2-map-spot-caption {
  margin: 14px 0 0;
  color: #2e2518;
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.8;
  text-align: center;
}

/* --- 5. 締め: アクセスへのブリッジ1行(.top-v2-actionsを流用)+CTA --- */
.top-v2-map-closing-cta {
  margin: 20px 0 0;
  text-align: center;
}

/* 3333行の応急ルール（h2「まずは、定番の〜」のSP一行維持のための
   .top-v2-scene-title-mark{font-size:21px}）が、素のマークspanを使う
   シーンページのヒーローH1(.top-v2-scene-h1text)まで巻き込み、
   SPの主見出しが設計値clamp(30px〜)の7割で出ていた（/map/構築時に発覚、
   about/family/gasshuku/kenshuも同罪）。H1側は親のクランプへ復帰させる。
   全H1がkinsoku/br文節化済みのため30pxでも語中折返しは起きない（実測済） */
@media (max-width: 767px) {
  .top-v2-scene-h1text .top-v2-scene-title-mark {
    font-size: inherit;
  }
}

/* ===== map/index.html #floors 追補: フロアごとの案内図
   （南棟・北棟・中庭を1枚に収めたlandscape SVGを1階/2階/3階ごとに表示。
   横長のためSPは.top-v2-floormap-scrollで横スクロール、PCは全体表示。
   セレクタは.top-v2-floormap-*のみで新規スコープ、既存部品は無変更） ===== */
.top-v2-floormap-level {
  margin: 0 0 44px;
}
.top-v2-floormap-level:last-of-type {
  margin-bottom: 0;
}
.top-v2-floormap-level-title {
  margin: 0 0 16px;
  color: #2f7890;
  font-weight: 900;
  font-size: clamp(18px, 2.2vw, 22px);
  text-align: center;
}
.top-v2-floormap-swipehint {
  display: block;
  margin: 0 0 8px;
  color: #5a7a88;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
@media (min-width: 768px) {
  .top-v2-floormap-swipehint {
    display: none;
  }
}
.top-v2-floormap-scroll {
  max-width: 1080px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.top-v2-floormap-scroll img {
  display: block;
  min-width: 640px;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  padding: 14px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(20, 50, 65, 0.10);
}
@media (min-width: 768px) {
  .top-v2-floormap-scroll img {
    min-width: 0;
  }
}

/* ===== map/index.html #floors 追補2: 部屋タップ→詳細ポップアップ
   （gen-floormaps.mjsが出力するfloormap-hotspots.jsの%座標を、
   map-rooms.jsが.top-v2-maproom-stage内へ絶対配置ボタンとして描画する。
   stageは.top-v2-floormap-scroll imgと同じwidth/min-width規則をミラーし、
   常にimgの実描画幅と一致させる（imgのpadding:14pxぶんの補正は
   map-rooms.js側のcalc()で行うため、ここでは触れない）。
   セレクタは.top-v2-maproom-*のみで新規スコープ、既存部品は無変更） ===== */
.top-v2-maproom-stage {
  position: relative;
  display: block;
  width: 100%;
  min-width: 640px;
}
@media (min-width: 768px) {
  .top-v2-maproom-stage {
    min-width: 0;
  }
}

/* ホットスポット本体: 既定は透明。タップ可能に見せるのは右上の+チップのみで、
   ボタン自体の縁はfocus/active時だけ薄teal */
.top-v2-maproom-hotspot {
  position: absolute;
  display: block;
  margin: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.top-v2-maproom-hotspot:focus-visible,
.top-v2-maproom-hotspot:active {
  border-color: rgba(47, 120, 144, 0.6);
  background: rgba(47, 120, 144, 0.1);
  outline: none;
}

/* 常時見えるタップ案内チップ(+)。ボタン右上にはみ出させて置く */
.top-v2-maproom-chip {
  /* 内側配置は短い部屋で部屋名に被った→通知バッジの定石=右上角に半掛け。
     角バッジは所属が直感で読め、中央寄せのラベルとは構造的に被らない(2026-07-16) */
  position: absolute;
  right: -8px;
  top: -8px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid #2f7890;
  border-radius: 50%;
  background: #fff;
  line-height: 1;
  pointer-events: none;
  box-shadow: 0 1px 3px rgba(20, 50, 65, 0.25);
}

/* --- 部屋詳細ダイアログ: play-catalog.js/.top-v2-playdialog系と同じ
   開閉・backdrop・ESC・bodyロックの流儀を踏襲した独立実装 --- */
.top-v2-maproom-dialog {
  width: min(94vw, 640px);
  max-height: calc(100vh - 20px);
  max-height: calc(100dvh - 20px);
  margin: auto;
  padding: 16px 0 4px;
  border: 0;
  background: transparent;
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 1050;
}
.top-v2-maproom-dialog::backdrop {
  background: rgba(20, 32, 38, 0.55);
}
.top-v2-maproom-dialog-sheet {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px 22px;
  box-shadow: 0 14px 34px rgba(20, 40, 55, 0.28);
  text-align: center;
}
.top-v2-maproom-dialog-title {
  display: inline-block;
  margin: 4px 40px 12px;
  background: linear-gradient(transparent 58%, #fff8e8 58%);
  padding: 0 6px;
  color: #2f7890;
  font-weight: 900;
  font-size: clamp(19px, 4.6vw, 23px);
  line-height: 1.4;
}
/* .top-v2-playdialog-photoと同じ: width:100%; aspect-ratio:4/3; object-fit:cover
   でダイアログ幅いっぱいに表示(引き伸ばし・崩れなし) */
.top-v2-maproom-dialog-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(20, 50, 65, 0.15);
  margin: 0 0 14px;
}
.top-v2-maproom-dialog-capacity {
  margin: 0 0 12px;
  color: #2e2518;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
}
.top-v2-maproom-dialog-capacity-label {
  display: inline-block;
  margin-right: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff8e8;
  color: #2f7890;
  font-weight: 900;
  font-size: 12px;
}
.top-v2-maproom-dialog-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.top-v2-maproom-dialog-chip {
  display: inline-block;
  padding: 6px 12px;
  background: #fff8e8;
  border: 1px solid rgba(47, 120, 144, 0.35);
  border-radius: 999px;
  color: #4a3f2f;
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.4;
}
.top-v2-maproom-dialog-desc {
  margin: 0 0 14px;
  color: #2e2518;
  font-weight: 700;
  font-size: clamp(14.5px, 2vw, 16px);
  line-height: 1.85;
}
.top-v2-maproom-dialog-note {
  margin: 0 0 14px;
  color: #665a4a;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.7;
}
.top-v2-maproom-dialog-link {
  display: inline-block;
  margin: 0 0 4px;
}
.top-v2-maproom-dialog-closebtn {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0 0 2px;
  border: 2px solid #2f7890;
  border-radius: 50%;
  background: #fff;
  color: #2f7890;
  font-weight: 900;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}
.top-v2-maproom-dialog-closebtn:hover {
  background: #eef6f8;
}
.top-v2-maproom-dialog-closebtn:focus-visible {
  outline: 3px solid #1f4f63;
  outline-offset: 3px;
}

/* dialogを開いている間はbodyのスクロールを止める */
body.top-v2-maproom-dialog-lock {
  overflow: hidden;
}

@media (max-width: 767px) {
  .top-v2-maproom-dialog {
    width: min(94vw, 480px);
  }
  .top-v2-maproom-dialog-sheet {
    padding: 24px 16px 18px;
  }
  .top-v2-maproom-dialog-photo {
    margin: 0 0 10px;
  }
  .top-v2-maproom-dialog-title {
    margin: 2px 38px 8px;
    font-size: clamp(18px, 5.2vw, 21px);
  }
  .top-v2-maproom-dialog-capacity {
    margin-bottom: 10px;
    font-size: 13px;
  }
  .top-v2-maproom-dialog-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 10px;
  }
  .top-v2-maproom-dialog-chip {
    padding: 5px 6px;
    text-align: center;
    font-size: 11.5px;
  }
  .top-v2-maproom-dialog-desc {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.65;
  }
  .top-v2-maproom-dialog-note {
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.55;
  }
  .top-v2-maproom-dialog-closebtn {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    font-size: 25px;
  }
}



/* TOP校内マップ独立セクション(旧・予約4ステップ跡地の白席)。
   料金(灰)と風景(灰)の間の白帯。見出しは8文字ユニットのため
   #story/#historyと同じフィット(12vwだと語中折返しする) */
.top-v2-mapsec {
  background: #fff;
}
.top-v2-mapsec-lead {
  text-align: center;
}
.top-v2-mapsec-photo {
  display: block;
  width: min(680px, 92%);
  margin: 10px auto 22px;
}
.top-v2-mapsec-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 6px solid #fff;
  box-shadow: 0 10px 26px rgba(20, 50, 65, 0.16);
}
.top-v2-mapsec-actions {
  text-align: center;
}
@media (max-width: 991px) {
  #mapsec .top-v2-h {
    font-size: min(10.8vw, 96px);
  }
}

/* 場所写真は体育館1枚に縮退(教室・宿泊部屋はポップアップと重複のため撤去)。
   3列グリッド前提だったspotsを単独カードの中央寄せへ */
.top-v2-map-spots {
  display: block;
}
.top-v2-map-spots .top-v2-map-spot {
  max-width: 520px;
  margin: 0 auto;
}

/* スワイプ方向キュー(「※横にスワイプできます」テキストの代替)。
   SPのみ表示、最初のスワイプでフェードアウト */
.top-v2-floormap-scrollwrap {
  position: relative;
}
.top-v2-floormap-swipecue {
  position: absolute;
  right: 8px;
  top: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  display: none;
  place-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1.5px solid #2f7890;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(20, 50, 65, 0.22);
  pointer-events: none;
  transition: opacity 0.45s;
}
.top-v2-floormap-swipecue.is-done {
  opacity: 0;
}
@media (max-width: 767px) {
  .top-v2-floormap-swipecue {
    display: grid;
  }
}

/* ===== map/index.html 全体マップ番号ドット→詳細ポップアップ + 凡例の索引化。
   ドットは既存.top-v2-map-dot(丸バッジの見た目・%座標)をそのまま流用し、
   装飾のみの<span aria-hidden>だった要素を<button>化してクリック/Enter/Spaceで
   開けるようにする。ダイアログは.top-v2-maproom-dialog系と見た目・開閉・
   backdrop・ESC・bodyロックの流儀を揃えた独立実装（新規セレクタは
   .top-v2-mapspot-*のみで既存部品は無変更、map-rooms.jsとは別ダイアログ） ===== */

/* ドットのbutton化: 既定のpointer-events:noneとbutton要素の初期スタイルを打ち消す。
   button.top-v2-map-dotは.top-v2-map-dot単体より詳細度が高いため、
   ソース順に関係なく確実に上書きされる（他ページに.top-v2-map-dotは無い） */
button.top-v2-map-dot,
.top-v2-mapspot-trigger {
  appearance: none;
  -webkit-appearance: none;
  pointer-events: auto;
  margin: 0;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.top-v2-mapspot-trigger:focus-visible {
  outline: 3px solid #2f7890;
  outline-offset: 3px;
}

/* ダイアログ本体: .top-v2-maproom-dialog-*と同じ寸法・カード・タイトル・
   写真4:3・本文・注記・リンク・閉じるボタンの見た目を独立クラスで再現
   （定員・チップ相当の情報は7スポットのどれも持たないため要素ごと省略） */
.top-v2-mapspot-dialog {
  width: min(94vw, 640px);
  max-height: calc(100vh - 20px);
  max-height: calc(100dvh - 20px);
  margin: auto;
  padding: 16px 0 4px;
  border: 0;
  background: transparent;
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 1050;
}
.top-v2-mapspot-dialog::backdrop {
  background: rgba(20, 32, 38, 0.55);
}
.top-v2-mapspot-dialog-sheet {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px 22px;
  box-shadow: 0 14px 34px rgba(20, 40, 55, 0.28);
  text-align: center;
}
.top-v2-mapspot-dialog-title {
  display: inline-block;
  margin: 4px 40px 12px;
  background: linear-gradient(transparent 58%, #fff8e8 58%);
  padding: 0 6px;
  color: #2f7890;
  font-weight: 900;
  font-size: clamp(19px, 4.6vw, 23px);
  line-height: 1.4;
}
.top-v2-mapspot-dialog-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(20, 50, 65, 0.15);
  margin: 0 0 14px;
}
.top-v2-mapspot-dialog-desc {
  margin: 0 0 14px;
  color: #2e2518;
  font-weight: 700;
  font-size: clamp(14.5px, 2vw, 16px);
  line-height: 1.85;
}
.top-v2-mapspot-dialog-note {
  margin: 0 0 14px;
  color: #665a4a;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.7;
}
.top-v2-mapspot-dialog-link {
  display: inline-block;
  margin: 0 0 4px;
}
.top-v2-mapspot-dialog-closebtn {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0 0 2px;
  border: 2px solid #2f7890;
  border-radius: 50%;
  background: #fff;
  color: #2f7890;
  font-weight: 900;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}
.top-v2-mapspot-dialog-closebtn:hover {
  background: #eef6f8;
}
.top-v2-mapspot-dialog-closebtn:focus-visible {
  outline: 3px solid #1f4f63;
  outline-offset: 3px;
}

/* dialogを開いている間はbodyのスクロールを止める */
body.top-v2-mapspot-dialog-lock {
  overflow: hidden;
}

@media (max-width: 767px) {
  .top-v2-mapspot-dialog {
    width: min(94vw, 480px);
  }
  .top-v2-mapspot-dialog-sheet {
    padding: 24px 16px 18px;
  }
  .top-v2-mapspot-dialog-photo {
    margin: 0 0 10px;
  }
  .top-v2-mapspot-dialog-title {
    margin: 2px 38px 8px;
    font-size: clamp(18px, 5.2vw, 21px);
  }
  .top-v2-mapspot-dialog-desc {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.65;
  }
  .top-v2-mapspot-dialog-note {
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.55;
  }
  .top-v2-mapspot-dialog-closebtn {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    font-size: 25px;
  }
}

/* 凡例の索引化: dd(説明文)を全撤去し名前だけの短い行になったため、
   2列で詰めて組む(375pxでも「④ グラウンド」が折り返さない実測幅) */
.top-v2-mapspot-legend-hint {
  margin-top: 10px;
}
.top-v2-mapspot-legend-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}
.top-v2-mapspot-legend-list .top-v2-map-legend-row {
  padding: 8px 0;
  border-bottom: 0;
}

/* 全体マップの番号ドット用カメラバッジ(写真のあるスポットのみJSが付与)。
   フロア図の部屋バッジ(.top-v2-maproom-chip)の縮小版 */
.top-v2-map-dot {
  overflow: visible;
}
.top-v2-mapspot-camchip {
  /* ピンの丸に半掛かりは可、中央の数字には被らないよう外寄せ(オーナー指定2026-07-17) */
  position: absolute;
  right: -11px;
  top: -11px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1.5px solid #2f7890;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
  box-shadow: 0 1px 3px rgba(20, 50, 65, 0.25);
}


/* ==========================================================================
   /contact/・/access/・/privacy/ 新設（2026-07-20）
   §5基準を踏襲: 色は#2f7890/#f0831e/#fff8e8/白のみ、セクション上下 PC96px/SP56px。
   既存 .top-v2-scene-card / .top-v2-timeline / .top-v2-address-card 等を
   そのまま流用し、足りない箇所のみ最小追加する。
   ========================================================================== */

/* 数字強調（所要時間の合計など）。要素自身への直接指定は継承より常に優先される
   ため、親(.top-v2-scene-card-body p 等)の文字色とカスケード競合が起きない */
.top-v2-figure-accent {
  color: #a5540e;
  font-weight: 900;
}

/* .top-v2-address-card を top-v2-address-layout の外で単体使用する場合の中央寄せ
   （/contact/ 電話カード・/access/ 周辺情報ミニカード） */
.top-v2-address-card--standalone {
  margin: 0 auto;
}

/* /access/ 車でのアクセス: 3枚カードは既存.top-v2-scene-cards
   （768px以上で2列止まり）だと2+1の欠け行になるため、#eat/#stayと同じ
   3列ブレークポイントをこのセクションにも追加（新規クラス不要、2026-07-12の
   先例を踏襲） */
@media (min-width: 768px) {
  #drive .top-v2-scene-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* /privacy/ ポリシー本文: 既存 .top-v2-scene-card 文法を単列スタックで使う */
.top-v2-policy-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}

/* /contact/ お問い合わせフォーム: 既存の色規律(#2f7890/#f0831e/生成り)を
   フォーム部品へ適用。サイト初のフォームUIのため最小限のみ新設 */
.top-v2-contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.top-v2-form-row {
  margin: 0 0 24px;
}

.top-v2-form-row label {
  display: block;
  margin: 0 0 8px;
  color: #2f7890;
  font-weight: 800;
  font-size: 15px;
}

.top-v2-form-required {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #fff4e6;
  color: #a5540e;
  font-size: 11px;
  font-weight: 900;
  vertical-align: middle;
}

.top-v2-form-row input[type="text"],
.top-v2-form-row input[type="email"],
.top-v2-form-row input[type="tel"],
.top-v2-form-row textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 2px solid rgba(47, 120, 144, 0.3);
  border-radius: 10px;
  background: #fff;
  color: #2e2518;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
  box-sizing: border-box;
}

.top-v2-form-row textarea {
  resize: vertical;
  min-height: 160px;
}

.top-v2-form-row input:focus-visible,
.top-v2-form-row textarea:focus-visible {
  outline: 3px solid #1f4f63;
  outline-offset: 1px;
  border-color: #2f7890;
}

.top-v2-form-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #2e2518;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.top-v2-form-consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #2f7890;
  flex-shrink: 0;
}

.top-v2-form-consent a {
  color: #2f7890;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.top-v2-form-submit {
  text-align: center;
  margin-top: 12px;
}

/* ===== album/index.html 追補 (2026-07-20 全面リニューアル):
   Googleクチコミカード。連絡帳・おたより風＝白カード＋テープ留め（既存tape-1〜4.png
   流用）＋わずかな回転。件数・星・スコアはカードには載せない（平均点と件数は時点つきで見出し下に。2026-11-21〜）。
   カード内は本文＋投稿者名＋出典表記のみ。 ===== */
.top-v2-review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px 28px;
  margin: 8px 0 0;
}

@media (min-width: 768px) {
  .top-v2-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.top-v2-review-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px 22px;
  box-shadow: 0 4px 14px rgba(47, 120, 144, 0.12);
}

.top-v2-review-card:nth-child(odd) {
  transform: rotate(-0.6deg);
}

.top-v2-review-card:nth-child(even) {
  transform: rotate(0.6deg);
}

.top-v2-review-card::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  width: 92px;
  height: 38px;
  margin-left: -46px;
  background: url(/assets/img/tape-1.png) no-repeat center/contain;
  pointer-events: none;
}

.top-v2-review-card:nth-child(2)::before {
  background-image: url(/assets/img/tape-2.png);
}

.top-v2-review-card:nth-child(3)::before {
  background-image: url(/assets/img/tape-3.png);
}

.top-v2-review-card:nth-child(4)::before {
  background-image: url(/assets/img/tape-4.png);
}

.top-v2-review-text {
  margin: 0;
  color: #2e2518;
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 15px);
  line-height: 1.9;
  white-space: pre-line;
}

.top-v2-review-foot {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(47, 120, 144, 0.3);
}

.top-v2-review-name {
  margin: 0;
  color: #2f7890;
  font-weight: 900;
  font-size: 14px;
}

.top-v2-review-source {
  margin: 4px 0 0;
  color: #665a4a;
  font-weight: 700;
  font-size: 12px;
}

@media (max-width: 767px) {
  .top-v2-review-card::before {
    width: 80px;
    height: 33px;
    margin-left: -40px;
    top: -16px;
  }
}

/* ===== アクセス経路図 (地点=箱 / 移動=点線+アイコン) 2026-07-20 ===== */
.top-v2-route { display: flex; flex-direction: column; margin-top: 6px; }
.top-v2-route-node {
  background: #2f7890; color: #fff; border-radius: 10px;
  padding: 10px 14px; text-align: center; font-weight: 700; font-size: 15px;
}
.top-v2-route-node--goal { background: #f0831e; font-size: 16px; }
.top-v2-route-node--goal small { display: block; font-size: 11px; font-weight: 700; opacity: .95; margin-top: 2px; letter-spacing: .06em; }
.top-v2-route-leg { position: relative; display: flex; align-items: center; padding: 14px 6px 14px 48px; min-height: 46px; }
.top-v2-route-leg::before {
  content: ""; position: absolute; left: 26px; top: 0; bottom: 0;
  border-left: 3px dashed #9cc0cd;
}
.top-v2-route-ico {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 25px; height: 25px; object-fit: contain; background: #fff; z-index: 1;
}
.top-v2-route-leg--noicon::after {
  content: ""; position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
  width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 3px solid #9cc0cd; z-index: 1;
}
.top-v2-route-leginfo { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.top-v2-route-legname { font-weight: 700; color: #2f7890; }

/* ===== /faq/ よくある質問 新design化 (2026-07-20) =====
   カテゴリジャンプの4アンカーチップ。新規コンポーネントだが、CTA用オレンジ
   (.top-v2-btn-outline)は使わず、色規律どおりページ内ナビは青緑にする。
   アコーディオン本体は新規CSSを足さず、既存の #faq .faq_title / #faq .top-v2-faq-q
   （TOP/friendsのFAQで確立済み）をそのまま流用する。id="faq"の親divで囲むだけ。 */


/* ===== ハンバーガーメニューの可読性改善 2026-07-20
   診断: 全行が同色同太字で階層がない/ブロック区切りがない/サブの行間が広い。
   処方: グループ見出しのキャプション化・区切り線2本・サブ行間の圧縮 ===== */
#headerNav .l-nav_menuDivider {
  border-top: 1.5px dashed rgba(47, 120, 144, 0.22);
  margin: 14px 0 14px;
}
#headerNav .l-nav_menuSublist {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  margin: 2px 0 6px 26px;
  padding: 0;
}
#headerNav .l-nav_menuSublist .nav-item { margin: 0; }
#headerNav .l-nav_menuSublink { padding: 4px 0; }
#headerNav .l-nav_menuSublink::before { content: none; }

/* ==========================================================================
   2026-11-19 デザイン微修正まとめ (オーナー指摘7件)
   ========================================================================== */

/* [2] トップFAQ: 「よくある質問をすべて見る」大ボタン */
.top-v2-faq-all {
  margin: 8px 0 40px;
  text-align: center;
}

/* [3] friends: 泊まる場所カードのダイアログ入口。温泉リンクは押下を優先 */
.top-v2-scene-card--action .top-v2-scene-card-body .top-v2-inline-link {
  position: relative;
  z-index: 4;
}

/* [4] せんせいより(統一版): 飾りをやめ、静かな罫線ノートに */
.top-v2-teacher-note.top-v2-teacher-note--unified {
  transform: none;
  background: transparent;
  border: 1px solid rgba(47, 120, 144, 0.28);
  border-left-width: 1px;
  border-radius: 8px;
  box-shadow: none;
  max-width: 560px;
  padding: 12px 18px;
}
.top-v2-teacher-note--unified::before,
.top-v2-teacher-note--unified::after {
  content: none;
  display: none;
}
.top-v2-teacher-note--unified .top-v2-teacher-note-label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: #6b7a82;
  text-align: left;
}
.top-v2-teacher-note--unified .top-v2-price-notes,
.top-v2-price-scope .top-v2-teacher-note--unified .top-v2-price-notes {
  background-image: none;
  line-height: 1.7;
  font-size: 13px;
  color: #5a666d;
  text-align: left;
}
.top-v2-teacher-note--unified .top-v2-price-notes li,
.top-v2-price-scope .top-v2-teacher-note--unified .top-v2-price-notes li {
  line-height: 1.7;
  margin: 0 0 2px;
}
.top-v2-teacher-note--unified .top-v2-note-mark {
  color: inherit;
  font-weight: 400;
}

/* [5] play/option 温泉カード1枚: 中央寄せ + PCは写真|本文の横並び */
.top-v2-menu-grid.top-v2-menu-grid--single {
  display: block;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.top-v2-menu-grid--single > .top-v2-menu-card {
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 992px) {
  .top-v2-menu-grid.top-v2-menu-grid--single { max-width: 900px; }
  .top-v2-menu-grid--single > .top-v2-menu-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
  }
  .top-v2-menu-grid--single > .top-v2-menu-card .top-v2-menu-photo { margin: 0; }
}

/* [6] フッター言語スイッチャー: 国旗を同サイズに固定しラベルと揃える */
.wpml-ls-legacy-list-horizontal .wpml-ls-flag,
.wpml-ls-statics-footer .wpml-ls-flag {
  display: inline-block;
  width: 18px;
  height: 12px;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 6px;
}

/* [7] FAQ「解決しないときは」: 装飾なしのコンパクトな問い合わせブロック */
.top-v2-morehelp {
  text-align: center;
}
.top-v2-morehelp-title {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 900;
}
.top-v2-morehelp-text {
  margin: 0 0 18px;
  font-size: 15px;
}
.top-v2-morehelp-btn { margin: 0 0 14px; }
.top-v2-morehelp-tel { margin: 0; font-size: 14px; }
.top-v2-morehelp-tel a { color: #444; text-decoration: underline; }

/* ===================================================================
   2026-11-19 シャワー詳細ダイアログ: 実写2枚（Drive R17）を並べる
   =================================================================== */
.top-v2-shower-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 14px;
}
.top-v2-shower-photos figure { margin: 0; }
.top-v2-shower-photos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
}
.top-v2-shower-photos figcaption {
  margin-top: 4px;
  color: #6b6150;
  font-size: 12px;
  font-weight: 700;
}

/* --- 2026-11-19 モバイル/タブレットのヘッダー予約ボタン ---
   PC専用(.u-pc)だった#headerBtnReserveを992px未満でも表示し、
   ハンバーガーの左隣に置く。マークアップは無改修(予約+（空き状況）の
   既存テキストのまま)。767px以下は2行の小型ピル、768〜991pxは1行。
   下部固定の丸バッジ#footerBtnReserveは別件でそのまま残す */
@media screen and (max-width: 991px) {
  #header #headerBtnReserve.l-header_btnReserve {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: auto;
    margin: 0 14px 0 0 !important;
    padding: 6px 15px;
    font-size: 15px;
    line-height: 1.3;
    letter-spacing: 0;
    white-space: nowrap;
    border-width: 3px;
    border-radius: 22px;
    font-feature-settings: "palt";
  }

  #header #headerBtnReserve.l-header_btnReserve .u-sm {
    font-size: 80%;
  }
}

@media screen and (max-width: 767px) {
  #header #headerBtnReserve.l-header_btnReserve {
    flex-direction: column;
    margin-right: 8px !important;
    padding: 4px 9px 5px;
    font-size: 14px;
    line-height: 1.2;
    border-width: 2px;
    border-radius: 18px;
  }

  #header #headerBtnReserve.l-header_btnReserve .u-sm {
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0;
  }

  /* TOPのみ: 右側にSNS+予約+メニューが並ぶと中央の校章に触れるため、
     SNSはスマホ幅で隠す(フッターとメニュー内に同じSNSリンクあり) */
  .top-v2-header-sns {
    display: none;
  }
}

/* ===== 部屋イラスト（泊まるダイアログの部屋割り / 部屋分けオプション）=====
   インラインSVG。文字は実テキスト（font-family継承）。配色はサイトのティール・クリーム・オレンジ。
   クラス接頭辞 rf- はこの図専用。 */
.top-v2-roomfig {
  margin: 6px 0 0;
}
.top-v2-roomfig-svg {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  font-family: inherit;
  font-weight: 800;
  letter-spacing: 0;
}
.top-v2-roomfig-svg .rf-body {
  fill: rgba(47, 120, 144, 0.07);
  stroke: #2f7890;
  stroke-width: 2.5;
}
.top-v2-roomfig-svg .rf-tab {
  fill: #2f7890;
}
.top-v2-roomfig-svg .rf-tab-text {
  fill: #fff;
  font-size: 14px;
}
.top-v2-roomfig-svg .rf-tab-cap {
  font-size: 13px;
}
.top-v2-roomfig-svg .rf-big {
  font-size: 16px;
}
.top-v2-roomfig-svg .rf-futons rect {
  fill: #fff;
  stroke: #2f7890;
  stroke-width: 2;
}
.top-v2-roomfig-svg .rf-futons circle {
  fill: rgba(47, 120, 144, 0.35);
}
.top-v2-roomfig-svg .rf-futons--ghost rect {
  fill: none;
  stroke-opacity: 0.55;
  stroke-dasharray: 4 3;
}
.top-v2-roomfig-svg .rf-futons--ghost circle {
  fill: rgba(47, 120, 144, 0.25);
}
.top-v2-roomfig-svg .rf-opt {
  fill: #fff;
  stroke: #2f7890;
  stroke-width: 2.5;
  stroke-dasharray: 6 5;
}
.top-v2-roomfig-svg .rf-opt-name {
  fill: #2f7890;
  font-size: 14px;
}
.top-v2-roomfig-svg .rf-cap {
  fill: #a5540e;
  font-size: 14px;
}
.top-v2-roomfig-svg .rf-sub {
  fill: #665a4a;
  font-size: 12.5px;
}
.top-v2-roomfig-svg .rf-hint {
  fill: #2e2518;
  font-size: 13px;
}
.top-v2-roomfig-svg .rf-hint--mid {
  fill: #2f7890;
}
.top-v2-roomfig-svg .rf-plus-dot {
  fill: #f0831e;
}
.top-v2-roomfig-svg .rf-plus-mark {
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
}
.top-v2-roomfig-svg .rf-plus {
  fill: #f0831e;
  font-size: 18px;
}
.top-v2-roomfig-svg .rf-bracket {
  fill: none;
  stroke: #2f7890;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.top-v2-roomfig-svg .rf-kit-body {
  fill: #fff8e8;
  stroke: #f0831e;
  stroke-width: 2.5;
}
.top-v2-roomfig-svg .rf-kit-tab {
  fill: #f0831e;
}
.top-v2-roomfig-svg .rf-kit-tab-text {
  fill: #2e2518;
  font-size: 14px;
}
.top-v2-roomfig-svg .rf-steam {
  fill: none;
  stroke: #f0831e;
  stroke-width: 2.4;
  stroke-linecap: round;
}
.top-v2-roomfig-svg .rf-pot-body,
.top-v2-roomfig-svg .rf-pot-lid,
.top-v2-roomfig-svg .rf-pot-handle {
  fill: #f0831e;
}
.top-v2-roomfig-svg .rf-pot-lid {
  fill: #d4690a;
}
.top-v2-roomfig-svg .rf-guide {
  fill: none;
  stroke: rgba(47, 120, 144, 0.4);
  stroke-width: 2;
  stroke-dasharray: 2 5;
  stroke-linecap: round;
}
.top-v2-roomfig-svg .rf-chip {
  fill: #2f7890;
}
.top-v2-roomfig-svg .rf-chip-text {
  fill: #fff;
  font-size: 14px;
}
.top-v2-roomfig-svg .rf-tag {
  fill: #fff;
  stroke: #f0831e;
  stroke-width: 2.5;
}
.top-v2-roomfig-svg .rf-tag--free {
  fill: #f0831e;
}
.top-v2-roomfig-svg .rf-tag-text {
  fill: #a5540e;
  font-size: 14px;
}
.top-v2-roomfig-svg .rf-tag-text--free {
  fill: #2e2518;
}

/* 通常プラン／コンパクトプラン: 図が情報を担うので、紹介文と注記は短いキャプションに */
#stay-room-dialog .top-v2-scenedialog-block {
  display: flex;
  flex-direction: column;
}
#stay-room-dialog .top-v2-stay-room-intro {
  margin: 0 0 4px;
}
#stay-room-dialog .top-v2-stay-room-note {
  margin: auto 0 0 !important;
  padding-top: 8px;
}
@media (min-width: 768px) {
  #stay-room-dialog {
    width: min(94vw, 780px);
  }
  #stay-room-dialog .top-v2-scenedialog-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
  }
  #stay-room-dialog .top-v2-scenedialog-block + .top-v2-scenedialog-block {
    margin-top: 0;
  }
  #stay-room-dialog .top-v2-scenedialog-actions {
    grid-column: 1 / -1;
    margin-top: 6px;
  }
}

/* 部屋分けオプション: 図の下の補足キャプション */
#stay-option-room-dialog .top-v2-roomfig {
  margin-top: 4px;
}
#stay-option-room-dialog .top-v2-roomfig-note {
  margin: 8px 0 0 !important;
  color: #665a4a;
  font-size: 12.5px;
  line-height: 1.6;
  text-align: center;
}

/* スマホ幅でダイアログ下部のボタンが右にはみ出す(width:100% + 左右margin16px)のを、この2つのダイアログだけ是正 */
#stay-room-dialog .top-v2-scenedialog-actions .top-v2-btn-outline,
#stay-option-room-dialog .top-v2-scenedialog-actions .top-v2-btn-outline {
  box-sizing: border-box;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* 部屋イラストまわりのキャプション: 文ごとに1行、目安の列挙は項目の途中で折り返さない */
.top-v2-roomfig-line {
  display: block;
}
.top-v2-roomfig-nb {
  display: inline-block;
  white-space: nowrap;
}
#stay-option-room-dialog .top-v2-roomfig-note .top-v2-roomfig-line {
  display: inline;
}
#stay-option-room-dialog .top-v2-roomfig-note .top-v2-roomfig-line {
  display: block;
}

/* --- 2026-11-19 /access/ 駐車場: 4か所を3カードで紹介(第1/第2/第3・第4) ---
   既存の.top-v2-scene-card文法(#driveと同じ3列ブレークポイント)に写真を載せる。
   台数は未確認のため載せない。写真は元の3:2比のまま(看板が切れないように) */
.top-v2-parking-lead {
  max-width: 640px;
  margin: 0 auto 32px;
}

.top-v2-parking-cards {
  text-align: left;
}

@media (min-width: 768px) {
  #parking .top-v2-parking-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.top-v2-parking-card .top-v2-scene-card-photo {
  aspect-ratio: 3 / 2;
}

.top-v2-parking-card .top-v2-scene-card-body p + p {
  margin-top: 6px;
}

.top-v2-parking-card .top-v2-scene-card-body h3 small {
  margin-left: 2px;
}

.top-v2-parking-maplink {
  margin-top: 32px;
}

.top-v2-parking-maplink span {
  display: block;
  margin-bottom: 14px;
  color: #665a4a;
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 15px);
}

/* ==========================================================================
   くわしい料金シミュレーター (/price-simulator/)  接頭辞 top-v2-sim-
   既存の黒板ボード(.top-v2-chalk-*)・料金表(.top-v2-formal-table)の文法を踏襲。
   ========================================================================== */
.top-v2-sim-hero { padding: 0 0 8px; }
.top-v2-sim { padding: 8px 0 72px; }
.top-v2-sim-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.top-v2-sim-error {
  margin: 0 0 16px; padding: 12px 16px; border: 2px solid #c0392b; border-radius: 10px;
  background: #fdecea; color: #8a2a1f; font-weight: 800; font-size: 14px;
}
.top-v2-sim-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.top-v2-sim-form { min-width: 0; }

/* ステップカード */
.top-v2-sim-step {
  margin: 0 0 18px; padding: 20px 18px 18px; background: #fff;
  border: 2px solid #f2dfb6; border-radius: 16px;
}
.top-v2-sim-step-title {
  display: flex; align-items: center; gap: 10px; margin: 0 0 14px;
  color: #2f7890; font-size: 20px; font-weight: 900; line-height: 1.35;
}
.top-v2-sim-step-no {
  flex: 0 0 32px; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #2f7890; color: #fff8e8; font-size: 16px; font-weight: 900; line-height: 1;
}
.top-v2-sim-sub { margin: 0 0 10px; color: #2e2518; font-size: 16px; font-weight: 900; line-height: 1.4; }
.top-v2-sim-sub small { display: block; margin-top: 2px; color: #665a4a; font-size: 12px; font-weight: 700; }

/* ラベル・入力 */
.top-v2-sim-fieldset { min-width: 0; margin: 0 0 14px; padding: 0; border: 0; }
.top-v2-sim-field { margin: 0 0 12px; }
.top-v2-sim-label {
  display: block; float: none; width: auto; margin: 0 0 6px; padding: 0;
  color: #2e2518; font-size: 14px; font-weight: 800; line-height: 1.5;
}
.top-v2-sim-input,
.top-v2-sim-select {
  display: block; width: 100%; max-width: 100%; min-height: 48px; padding: 10px 12px; box-sizing: border-box;
  border: 2px solid rgba(47, 120, 144, 0.5); border-radius: 10px; background: #fff;
  color: #2e2518; font: inherit; font-size: 16px; font-weight: 700; line-height: 1.4;
}
.top-v2-sim-input:focus-visible,
.top-v2-sim-select:focus-visible,
.top-v2-sim-num:focus-visible { outline: 3px solid #1f4f63; outline-offset: 2px; }
.top-v2-sim-select:disabled { opacity: 0.5; background: #f4f1ea; }
@media (min-width: 640px) {
  .top-v2-sim-input { max-width: 260px; }
}

/* プランカード・泊数チップ(ラジオを見た目だけチョーク風に) */
.top-v2-sim-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 640px) { .top-v2-sim-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.top-v2-sim-card, .top-v2-sim-chip { position: relative; display: block; margin: 0; cursor: pointer; }
.top-v2-sim-card input, .top-v2-sim-chip input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer;
}
.top-v2-sim-card-body {
  display: block; height: 100%; padding: 14px 16px; box-sizing: border-box;
  border: 2px dashed rgba(47, 120, 144, 0.55); border-radius: 12px; color: #2f7890;
}
.top-v2-sim-card-body strong { display: block; font-size: 16px; font-weight: 900; line-height: 1.4; }
.top-v2-sim-card-body small { display: block; margin-top: 4px; color: #665a4a; font-size: 12.5px; font-weight: 700; line-height: 1.5; }
.top-v2-sim-card input:checked + .top-v2-sim-card-body { border-style: solid; background: #2f7890; color: #fff8e8; }
.top-v2-sim-card input:checked + .top-v2-sim-card-body small { color: #e3f0f4; }
.top-v2-sim-card.is-disabled, .top-v2-sim-card.is-disabled input { cursor: not-allowed; }
.top-v2-sim-card.is-disabled .top-v2-sim-card-body { opacity: 0.45; }
.top-v2-sim-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.top-v2-sim-chip span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 64px; min-height: 48px; padding: 0 14px; box-sizing: border-box;
  border: 2px dashed rgba(47, 120, 144, 0.55); border-radius: 10px; color: #2f7890; font-size: 16px; font-weight: 900;
}
.top-v2-sim-chip input:checked + span { border-style: solid; background: #2f7890; color: #fff8e8; }
.top-v2-sim-card input:focus-visible + .top-v2-sim-card-body,
.top-v2-sim-chip input:focus-visible + span { outline: 3px solid #1f4f63; outline-offset: 2px; }

/* 泊ごとの料金区分 */
.top-v2-sim-nights { margin: 4px 0 8px; padding: 0; list-style: none; display: grid; gap: 10px; }
.top-v2-sim-night { margin: 0; padding: 12px 14px; border: 2px solid #f2dfb6; border-radius: 12px; background: #fff8e8; }
.top-v2-sim-night[hidden] { display: none; }
.top-v2-sim-night-head { display: flex; align-items: baseline; gap: 10px; margin: 0 0 8px; }
.top-v2-sim-night-no { color: #2f7890; font-size: 15px; font-weight: 900; }
.top-v2-sim-night-date { color: #2e2518; font-size: 17px; font-weight: 900; }
.top-v2-sim-night .top-v2-sim-field { margin-bottom: 6px; }
.top-v2-sim-hint { margin: 0; color: #665a4a; font-size: 12.5px; font-weight: 700; line-height: 1.6; }

/* 注記 */
.top-v2-sim-note { margin: 8px 0 0; color: #665a4a; font-size: 12.5px; line-height: 1.7; }
.top-v2-sim-note[hidden] { display: none; }
.top-v2-sim-note--strong { color: #a5540e; font-weight: 800; }
.top-v2-sim-note--warn { color: #a5540e; font-weight: 800; }
.top-v2-sim-fold { margin: 12px 0 0; }
.top-v2-sim-fold > summary {
  display: block; padding: 10px 16px; border: 2px dashed rgba(47, 120, 144, 0.5); border-radius: 10px; cursor: pointer;
  color: #2f7890; font-size: 14px; font-weight: 800; text-align: center; list-style: none; touch-action: manipulation;
}
.top-v2-sim-fold > summary::-webkit-details-marker { display: none; }
.top-v2-sim-fold > summary::after { content: "▾"; margin-left: 8px; font-size: 12px; }
.top-v2-sim-fold[open] > summary::after { content: "▴"; }
.top-v2-sim-fold[open] > summary { border-style: solid; }
.top-v2-sim-fold .top-v2-formal-tablewrap { margin-top: 10px; }

/* ステッパー行 */
.top-v2-sim-rows { display: grid; gap: 4px; }
.top-v2-sim-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 6px 0; }
.top-v2-sim-rowlabel { flex: 1 1 140px; min-width: 0; margin: 0; color: #2e2518; font-size: 15px; font-weight: 800; line-height: 1.4; }
.top-v2-sim-rowlabel small { display: block; margin-top: 1px; color: #665a4a; font-size: 11.5px; font-weight: 700; }
.top-v2-sim-stepper { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.top-v2-sim-num {
  width: 64px; height: 44px; padding: 0 4px; box-sizing: border-box; text-align: center;
  border: 2px solid rgba(47, 120, 144, 0.35); border-radius: 10px; background: #fff;
  color: #2f7890; font: inherit; font-size: 20px; font-weight: 900; -moz-appearance: textfield; appearance: textfield;
}
.top-v2-sim-num::-webkit-outer-spin-button,
.top-v2-sim-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.top-v2-sim-num:disabled { opacity: 0.4; }
.top-v2-sim-unit { color: #665a4a; font-size: 13px; font-weight: 800; }
.top-v2-sim-peoplesum { margin: 8px 0 0; padding: 8px 12px; border-radius: 8px; background: #fff8e8; color: #2f7890; font-size: 13.5px; font-weight: 800; }

/* 食事・オプション */
.top-v2-sim-mealblock { margin: 0 0 14px; padding: 14px; border: 2px solid #f2dfb6; border-radius: 12px; background: #fff8e8; }
.top-v2-sim-mealblock[hidden] { display: none; }
.top-v2-sim-mealblock .top-v2-sim-row { padding-top: 10px; }
.top-v2-sim-opts { display: grid; gap: 12px; }
.top-v2-sim-opt { padding: 14px; border: 2px solid #f2dfb6; border-radius: 12px; background: #fff8e8; }
.top-v2-sim-opt.is-disabled { opacity: 0.55; }
.top-v2-sim-opt-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.top-v2-sim-opt-name { margin: 0; color: #2e2518; font-size: 16px; font-weight: 900; }
.top-v2-sim-opt-price { margin: 0; color: #a5540e; font-weight: 900; }
.top-v2-sim-opt-price strong { font-size: 17px; }
.top-v2-sim-opt-price small { margin-left: 2px; color: #665a4a; font-size: 12px; font-weight: 700; }

/* 割引 */
.top-v2-sim-discline { display: flex; flex-wrap: wrap; gap: 2px 12px; margin: 0 0 10px; padding: 12px 14px; border-radius: 10px; background: #fff8e8; color: #2e2518; font-size: 14px; line-height: 1.6; }
.top-v2-sim-discline strong { color: #2f7890; font-weight: 900; }
.top-v2-sim-check {
  display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 12px 14px; min-height: 48px; box-sizing: border-box;
  border: 2px dashed rgba(47, 120, 144, 0.55); border-radius: 10px; color: #2e2518; font-size: 14px; line-height: 1.6; cursor: pointer;
}
.top-v2-sim-check input { flex: 0 0 24px; width: 24px; height: 24px; margin: 1px 0 0; accent-color: #2f7890; cursor: pointer; }
.top-v2-sim-check:has(input:checked) { border-style: solid; background: #eef6f8; }
.top-v2-sim-check:has(input:disabled) { opacity: 0.5; cursor: not-allowed; }
.top-v2-sim-check strong { color: #2f7890; font-weight: 900; }
.top-v2-sim-mealblock .top-v2-sim-check { margin-top: 10px; background: #fff; }

/* 合計パネル */
.top-v2-sim-summary {
  min-width: 0; overflow: hidden; background: #fff; border: 3px solid #2f7890; border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 50, 65, 0.14);
}
.top-v2-sim-sum-top { padding: 16px 18px 12px; background: #fff8e8; }
.top-v2-sim-sum-title { margin: 0 0 4px; color: #2f7890; font-size: 15px; font-weight: 900; }
.top-v2-sim-sum-total { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0; }
.top-v2-sim-sum-totallabel { color: #665a4a; font-size: 13px; font-weight: 800; }
.top-v2-sim-sum-total strong { color: #a5540e; font-size: 34px; font-weight: 900; line-height: 1.15; letter-spacing: 0.01em; }
.top-v2-sim-sum-per { margin: 4px 0 0; color: #2e2518; font-size: 13px; font-weight: 800; }
.top-v2-sim-sum-approx { margin: 6px 0 0; color: #a5540e; font-size: 12px; font-weight: 800; line-height: 1.5; }
.top-v2-sim-sum-approx[hidden] { display: none; }
.top-v2-sim-sum-toggle {
  display: none; min-height: 40px; padding: 0 14px; border: 2px dashed rgba(47, 120, 144, 0.55); border-radius: 10px; background: transparent;
  color: #2f7890; font: inherit; font-size: 13px; font-weight: 900; cursor: pointer; touch-action: manipulation;
}
.top-v2-sim-sum-body { padding: 10px 18px 4px; }
.top-v2-sim-bd { margin: 0 0 12px; }
.top-v2-sim-bd-title { margin: 0 0 4px; padding: 0 0 4px; border-bottom: 2px dashed rgba(47, 120, 144, 0.35); color: #2f7890; font-size: 13px; font-weight: 900; }
.top-v2-sim-bd-list { margin: 0; padding: 0; list-style: none; }
.top-v2-sim-line { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #f2dfb6; }
.top-v2-sim-line-main { flex: 1 1 auto; min-width: 0; }
.top-v2-sim-line-label { display: block; color: #2e2518; font-size: 14px; font-weight: 800; line-height: 1.4; }
.top-v2-sim-line-detail { display: block; margin-top: 1px; color: #665a4a; font-size: 12px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.top-v2-sim-line-amount { flex: 0 0 auto; color: #a5540e; font-size: 14px; font-weight: 900; white-space: nowrap; }
.top-v2-sim-line.is-discount .top-v2-sim-line-amount { color: #2f7890; }
.top-v2-sim-line.is-quote .top-v2-sim-line-amount { color: #665a4a; }
.top-v2-sim-line-note { margin: 0; padding: 2px 0 8px; color: #a5540e; font-size: 12px; font-weight: 800; line-height: 1.5; list-style: none; }
.top-v2-sim-bd-total { display: flex; align-items: baseline; justify-content: space-between; margin: 4px 0 8px; padding: 8px 0 0; border-top: 2px solid #2f7890; color: #2e2518; font-weight: 900; }
.top-v2-sim-bd-total b { color: #a5540e; font-size: 20px; }
.top-v2-sim-sum-notes { margin: 0 0 8px; padding-left: 1.2em; color: #665a4a; font-size: 12px; line-height: 1.65; }
.top-v2-sim-sum-notes li { margin: 0 0 4px; }
.top-v2-sim-sum-actions { display: grid; gap: 10px; padding: 10px 18px 18px; }
.top-v2-sim-cta.top-v2-cta-big {
  display: block; width: 100%; min-height: 52px; margin: 0; padding: 14px 16px; box-sizing: border-box;
  font-size: 18px; text-align: center; white-space: normal;
}
.top-v2-sim-backlink { display: block; padding: 8px; color: #2f7890; font-size: 13.5px; font-weight: 800; text-align: center; text-decoration: underline; }

@media (min-width: 992px) {
  .top-v2-sim-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; }
  .top-v2-sim-summary { position: sticky; top: 20px; display: flex; flex-direction: column; max-height: calc(100vh - 40px); }
  .top-v2-sim-sum-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; }
}

/* スマホ: 合計を画面下に固定。タップで内訳を開く */
@media (max-width: 991.98px) {
  body.top-v2-sim-page { padding-bottom: 116px; }
  .top-v2-sim-summary {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "top actions" "body body";
    align-items: center; max-height: 86vh; border-width: 3px 0 0; border-radius: 18px 18px 0 0;
    box-shadow: 0 -6px 20px rgba(20, 50, 65, 0.2);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .top-v2-sim-sum-top { grid-area: top; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 8px; padding: 10px 6px 10px 16px; background: #fff; }
  .top-v2-sim-sum-title {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .top-v2-sim-sum-total { grid-column: 1 / -1; justify-content: flex-start; gap: 8px; }
  .top-v2-sim-sum-total strong { font-size: 26px; }
  .top-v2-sim-sum-per { grid-column: 1; margin: 0; font-size: 11.5px; line-height: 1.4; }
  .top-v2-sim-sum-approx { grid-column: 1 / -1; margin: 2px 0 0; font-size: 11px; }
  .top-v2-sim-sum-toggle { display: inline-flex; align-items: center; justify-content: center; grid-column: 2; grid-row: 2; }
  .top-v2-sim-sum-actions { grid-area: actions; padding: 10px 14px 10px 6px; align-self: center; }
  .top-v2-sim-cta.top-v2-cta-big { min-height: 48px; padding: 10px 14px; font-size: 15px; line-height: 1.3; width: auto; }
  .top-v2-sim-backlink { display: none; }
  .top-v2-sim-summary.is-open .top-v2-sim-backlink { display: block; padding: 4px; font-size: 12px; }
  .top-v2-sim-sum-body { grid-area: body; display: none; max-height: 52vh; overflow-y: auto; border-top: 2px solid #f2dfb6; padding: 10px 16px 4px; }
  .top-v2-sim-summary.is-open .top-v2-sim-sum-body { display: block; }
}
@media (max-width: 400px) {
  .top-v2-sim-step { padding: 16px 14px 14px; }
  .top-v2-sim-step-title { font-size: 18px; }
  .top-v2-sim-cta.top-v2-cta-big { padding: 10px 10px; font-size: 14px; }
}

/* くわしい料金シミュレーター 追補(実機確認後の調整): ヒーロー文字量・サイト共通FAB・1人あたり表示 */
.top-v2-sim-hero .top-v2-scene-hero { padding-top: 32px; gap: 12px; }
@media (min-width: 768px) { .top-v2-sim-hero .top-v2-scene-hero { padding-top: 48px; } }
.top-v2-sim-hero .top-v2-scene-h1text { font-size: clamp(22px, 6.6vw, 52px); }
.top-v2-sim-hero .top-v2-scene-lead { text-wrap: balance; }
/* このページは合計パネル内に独自の「空き状況を見る」があるため、サイト共通の右下FABは隠す(重なり防止) */
body.top-v2-sim-page .l-footer_reserve { display: none; }
.top-v2-sim-bd-per { margin: 0 0 8px; color: #2e2518; font-size: 12.5px; font-weight: 800; text-align: right; }
@media (min-width: 992px) { .top-v2-sim-bd-per { display: none; } }
@media (max-width: 991.98px) {
  .top-v2-sim-per-note { display: none; }
}
@media (max-width: 991.98px) {
  /* スマホの下部固定バーでは、ボタン内の矢印(.btn-orange::after)が文字に重なるため外す */
  .top-v2-sim-cta.btn-orange::after { display: none; }
  .top-v2-sim-sum-per { white-space: nowrap; font-size: 11.5px; }
  .top-v2-sim-sum-toggle { min-height: 36px; padding: 0 10px; font-size: 12px; }
  .top-v2-sim-cta.top-v2-cta-big { text-align: center; }
}
.top-v2-sim-backlink--m { display: none; }
@media (max-width: 991.98px) {
  /* 下部バー: 合計は「ラベル→金額」の縦積み(6桁でも折り返さない)、CTA列は幅固定 */
  .top-v2-sim-summary { grid-template-columns: minmax(0, 1fr) 138px; }
  .top-v2-sim-sum-total { flex-direction: column; align-items: flex-start; gap: 0; }
  .top-v2-sim-sum-totallabel { font-size: 11px; line-height: 1.3; white-space: nowrap; }
  .top-v2-sim-sum-total strong { font-size: 24px; line-height: 1.2; white-space: nowrap; }
  .top-v2-sim-sum-top { padding: 8px 4px 8px 14px; }
  .top-v2-sim-sum-actions { padding: 8px 14px 8px 4px; }
  .top-v2-sim-cta.top-v2-cta-big { width: 100%; padding: 10px 6px; font-size: 14.5px; }
  .top-v2-sim-sum-approx { font-size: 10.5px; }
  .top-v2-sim-backlink--m { display: block; margin: 6px 0 10px; }
  .top-v2-sim-summary.is-open .top-v2-sim-backlink { display: none; }
  .top-v2-sim-summary.is-open .top-v2-sim-backlink--m { display: block; }
}

/* ===================================================================
   2026-11 polish fix1: 「画像生成待ち」の数字タイルを黒板タイルへ
   (旧: クリーム地+点線+大きな番号 → 未完成に見える)。
   - 活動名をタイル内に白チョーク風の太字で中央配置(HTML内の
     .top-v2-playcard-chalk / .top-v2-catalog-chalk)。番号は右下に
     「No.01」と小さく残し、画像差し替えリストと突き合わせられる。
   - 木枠(ベージュ系の薄い木目グラデ)+濃緑の黒板+チョークの粉(複数の
     radial/linear gradient)。ポラロイドと同じ小さな角丸・柔影で並べる。
   - 重複する下キャプションは .top-v2-playcard-name / .top-v2-catalog-name
     をdisplay:noneにする(DOMには残す: playroll.jsの重複除去キーと
     play-catalog.jsのダイアログ見出しが参照するため)。画像が入って
     --pending / .top-v2-catalog-numbox が外れればキャプションは自動復活。
   =================================================================== */
.top-v2-playcard-photo--pending,
.top-v2-catalog-numbox .top-v2-catalog-chalk {
  position: relative;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  border: 3px solid transparent;
  border-radius: 2px;
  background:
    radial-gradient(120% 80% at 16% 0%, rgba(255, 255, 255, 0.14), transparent 62%) padding-box,
    radial-gradient(90% 60% at 90% 100%, rgba(255, 255, 255, 0.09), transparent 66%) padding-box,
    linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.05) 47%, transparent 58%) padding-box,
    repeating-linear-gradient(104deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 11px) padding-box,
    linear-gradient(160deg, #365b50, #2b4b42) padding-box,
    linear-gradient(135deg, #cdb185, #a98763) border-box;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16), inset 0 3px 9px rgba(0, 0, 0, 0.42);
  color: #fffef6;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  letter-spacing: 0.03em;
  font-variant-numeric: normal;
}
/* 右下の小さな管理番号 */
.top-v2-playcard-photo--pending::after,
.top-v2-catalog-numbox .top-v2-catalog-chalk::after {
  content: "No." attr(data-no);
  content: "No." attr(data-no) / "";
  position: absolute;
  right: 5px;
  bottom: 3px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  text-shadow: none;
  pointer-events: none;
}
.top-v2-playcard-chalk {
  display: block;
  padding: 0 2px 6px;
  text-wrap: balance;
  text-shadow: 0 0 1.5px rgba(255, 255, 255, 0.5), 1px 1px 0 rgba(0, 0, 0, 0.25);
}
.top-v2-catalog-numbox .top-v2-catalog-chalk {
  text-wrap: balance;
  text-shadow: 0 0 1.5px rgba(255, 255, 255, 0.5), 1px 1px 0 rgba(0, 0, 0, 0.25);
}
/* TOPマーキー: キャプションを隠した分だけ背を高くし、隣の写真カード(写真+名前1行)と下端を揃える */
.top-v2-playcard-photo--pending {
  aspect-ratio: 1.08 / 1;
  padding: 6px 4px;
  border-radius: 2px;
}
.top-v2-playcard-photo--pending + .top-v2-playcard-name {
  display: none;
}
@media (min-width: 992px) {
  .top-v2-playcard-photo--pending { font-size: 14.5px; aspect-ratio: 1.1 / 1; }
}

/* /play/ カタログ: 数字ボックスを「白フチ+マステ+黒板」のポラロイドへ。
   外枠は写真カードと同じ(.top-v2-catalog-photo基準)に戻し、写真の代わりに
   4:3の黒板(.top-v2-catalog-chalk)を入れる → 写真カードと高さが完全一致 */
.top-v2-catalog-item--numbered .top-v2-catalog-numbox {
  display: block;
  width: 100%;
  aspect-ratio: auto;
  background: #fff;
  border: 0;
  border-radius: 3px;
  font-size: inherit;
  line-height: normal;
}
.top-v2-catalog-numbox .top-v2-catalog-chalk {
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 6px 6px 14px;
  font-size: 16px;
}
.top-v2-catalog-numbox + .top-v2-catalog-name {
  display: none;
}
@media (max-width: 767px) {
  .top-v2-catalog-item--numbered .top-v2-catalog-numbox { font-size: inherit; }
  .top-v2-catalog-numbox .top-v2-catalog-chalk {
    padding: 4px 3px 11px;
    font-size: 11.5px;
    line-height: 1.3;
  }
  .top-v2-catalog-numbox .top-v2-catalog-chalk::after { right: 3px; bottom: 2px; font-size: 8px; }
}
/* fix1 調整: 太字+影の二重がかすれて見えるため影は粉っぽい微光だけに */
.top-v2-playcard-chalk,
.top-v2-catalog-numbox .top-v2-catalog-chalk {
  font-weight: 800;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.3);
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 767px) {
  .top-v2-catalog-numbox .top-v2-catalog-chalk {
    padding: 4px 1px 11px;
    font-size: 11px;
    letter-spacing: 0.01em;
  }
}
/* くわしい料金シミュレーター 追補2: 小画面で1行に収める調整 */
.top-v2-sim-chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; max-width: 420px; }
.top-v2-sim-chip span { min-width: 0; width: 100%; padding: 0 4px; }
.top-v2-sim-rowlabel { flex-basis: 90px; }
.top-v2-sim-row { gap: 6px 10px; }
.top-v2-sim-stepper { gap: 6px; margin-left: auto; }
.top-v2-sim-num { width: 56px; }
.top-v2-sim-note .top-v2-inline-link { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 400px) {
  .top-v2-sim-select { font-size: 15px; padding: 10px 8px; }
}
.top-v2-playcard-chalk,
.top-v2-catalog-numbox .top-v2-catalog-chalk {
  word-break: auto-phrase;
  --bx-ws: nowrap; /* Safari：文節の中で改行しない（phrase-spans） */
}
@media (min-width: 992px) {
  /* サイト共通の固定メニューボタン(右上・高さ約90px)と重ならないよう、追従位置を下げる */
  .top-v2-sim-summary { top: 104px; max-height: calc(100vh - 124px); }
}
@media (max-width: 991.98px) {
  body.top-v2-sim-page { padding-bottom: 140px; }
}

/* ===================================================================
   2026-11 polish fix2: FAQ周りの切り抜き過多を是正(装飾予算 1画面2個まで)
   TOP #faq と /play/option/ #faq は、1枚のスプライトPNGに複数の切り抜きが
   縦に並んでいる(左: 机の少年→「浜っ子」アルバム→ウミガメ / 右: 教壇の男→
   万国旗→メロディカ)。個別にdisplay:noneできないため、スプライトの箱を
   「上の人物だけ」の比率にして下を切り捨てる(アルバム・ウミガメ・万国旗・
   メロディカを全幅で非表示)。残すのは 少年+吹き出し(1組)と 教壇の男。
   SP(≤991px)は左スプライトがもともと非表示・右はSP専用の少年画像のため
   「少年+吹き出し」の1組のみ(=SPは1つ)。 */
.l-faq_bgLeft {
  aspect-ratio: 614 / 704;
  overflow: hidden;
}
@media (min-width: 992px) {
  .l-faq_bgRight {
    aspect-ratio: 1049 / 832;
    overflow: hidden;
  }
  /* TOPのFAQ見出しは96px級の大見出しで、既定left:-180pxだと吹き出しが
     画面左端で見切れる(1280pxで x=-98)。少年の頭の右(x=172px)に固定する。
     相対配置のleftは見出し幅基準なので (100vw-100%)/2 を引いて
     ビューポート左端からの絶対位置に直している。 */
  #faq.l-section_bg .l-section_titleBalloon--faq {
    left: calc(172px - (100vw - 100%) / 2);
  }
}

/* ===================================================================
   2026-11 polish fix3: TOP「カタショーの風景」(#landscape) の装飾過多を是正
   - ≤767px: 写真の下に溜まる小物の山(.l-album_activity: 人体模型・ドクロ・
     卓球ラケット・スツール・帽子・万国旗・分度器…)と、左右の落書きスプライト
     (はさみ・サッカーボール線画)を非表示。残すのはバスケの男(.l-album_bgRightbtm)のみ。
   - ≥992px: 左右のスプライトは1枚PNG内に小物が縦に並ぶため、個別に消せない分は
     clip-pathで必要な部分だけ見せる。残すのは「ヘルメットのドクロ」「左のランナーGIF」
     「右の水鉄砲の子GIF」「バスケの男+ゴール」の4点(左右・上下に散る)。
     卓球ラケット/はさみ/分度器/2+2=4/サッカーボール線画/放送中札は非表示。 */
@media (max-width: 767px) {
  #landscape .l-album_bgLeft,
  #landscape .l-album_bgRight,
  #landscape .l-album_activity {
    display: none;
  }
}
@media (min-width: 992px) {
  #landscape .l-album_bgRight {
    display: none;
  }
  #landscape .l-album_bgLeft img {
    /* 左スプライトの上部のうち右側(ドクロ)だけ残し、ラケット・はさみ・分度器・数式を切る */
    clip-path: inset(3.5% 0 83.5% 50%);
  }
}
/* fix3 追補: スマホではバスケの男を絶対配置(z-index:-1で写真の裏に潜り込みCTAと重なる)
   から通常フローへ。ボタンの下・右寄せで立たせ、他の切り抜きと重ならないようにする。
   右端の見切れ(元デザインの-36.8vw)は踏襲 */
@media (max-width: 767px) {
  #landscape .l-album_bgRightbtm {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 0;
    width: 58vw;
    margin: 4px -26vw -2vw auto;
    pointer-events: none;
  }
  #landscape .l-album_bgRightbtm img {
    display: block;
    width: 100%;
    height: auto;
  }
}
@media (min-width: 992px) {
  #landscape .l-album_bgLeft img {
    clip-path: inset(3.5% 0 83.5% 57%);
  }
}
/* fix3 追補2: タブレット帯(768-991px)でも同じ小物の山が出るため同様に畳む。
   バスケの男は幅を上限300pxに抑え、画像上部の透明余白ぶんをネガティブマージンで詰める */
@media (min-width: 768px) and (max-width: 991px) {
  #landscape .l-album_bgLeft,
  #landscape .l-album_bgRight,
  #landscape .l-album_activity {
    display: none;
  }
}
@media (max-width: 991px) {
  #landscape .l-album_bgRightbtm {
    --w: min(58vw, 300px);
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 0;
    width: var(--w);
    margin: calc(var(--w) * -0.34) calc(var(--w) * -0.45) -2vw auto;
    pointer-events: none;
  }
  #landscape .l-album_bgRightbtm img {
    display: block;
    width: 100%;
    height: auto;
  }
}
@media (max-width: 991px) {
  #landscape .l-album_bgRightbtm {
    margin-top: calc(var(--w) * -0.34 - 40px);
  }
}

/* ===================================================================
   2026-11 polish fix4: TOPの王冠・月桂冠バッジ3枚(広告バナー調=§4診断で
   廃止対象)を、HTMLテキストの実績行(.top-v2-statrow)へ置換。
   [小さい前置き][大きい数字/キーワード(橙)][小さい単位] + 下に青緑のラベル。
   画像(badge-*-sm.png)はディスクに残し参照のみ外した。
   PC: 3カラム+縦の細い区切り / SP(<576px): 1行ずつ横並びの3段+横区切り */
.top-v2-medalrow-frame {
  max-width: 880px;
}
.top-v2-statrow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.top-v2-statrow > li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  text-align: center;
}
.top-v2-statrow > li + li {
  border-left: 1px solid #dde6ea;
}
.top-v2-statrow-value {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  color: #f0831e;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
}
.top-v2-statrow-value strong {
  font-size: clamp(30px, 3.6vw, 40px);
  font-weight: 900;
  letter-spacing: 0.01em;
}
.top-v2-statrow-value small {
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 900;
}
.top-v2-statrow-label {
  color: #2f7890;
  font-size: clamp(13px, 1.5vw, 15px);
  font-weight: 800;
  letter-spacing: 0.05em;
}
@media (max-width: 575px) {
  .top-v2-statrow {
    grid-template-columns: 1fr;
  }
  .top-v2-statrow > li {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 2px 12px;
    padding: 9px 4px;
  }
  .top-v2-statrow > li + li {
    border-left: 0;
    border-top: 1px solid #dde6ea;
  }
  .top-v2-statrow-value strong { font-size: 28px; }
  .top-v2-statrow-value small { font-size: 14px; }
  .top-v2-statrow-label { font-size: 13px; }
}
@media (max-width: 575px) {
  /* SP: 値は右寄せ・ラベルは左寄せの2列に揃え、3段の縦の軸を通す */
  .top-v2-statrow > li {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    column-gap: 12px;
    justify-content: stretch;
    text-align: left;
  }
  .top-v2-statrow-value { justify-content: flex-end; }
}

/* ===================================================================
   2026-11 polish fix5a: /play/option/ のセクションH2を1システムに統一
   旧: 料金のご案内40px / 食事・遊び・温泉・FAQ 96px / 宿泊66px とバラバラ
   (96pxは旧WPテーマの画像文字時代の名残)。サイトの .top-v2-scene-title 文法
   (青緑#2f7890・太字・クリームのマーカー)に揃え、PC44px / SP28px
   (clamp: 28px→44px)で統一。ヒーローH1(旧40px/27.6px)がH2に負けないよう
   H1も48px/32pxへ(このページのhは本クラスで限定)。
   これらのクラス(.l-section_titleText--foodoption等)は /play/option/ 専用 */
h1.l-mv_title.top-v2-opt-h1 {
  font-size: clamp(32px, 2.2vw + 22px, 48px);
  line-height: 1.3;
}
h2.l-section_titleText--foodoption,
h2.l-section_titleText--playoption,
h2.l-section_titleText--spaoption,
h2.l-section_titleText--sub,
h2.l-section_titleText--faq {
  display: inline-block;
  margin: 0 !important;
  padding: 0 6px;
  color: #2f7890;
  font-family: inherit;
  font-size: clamp(28px, 2.4vw + 18px, 44px) !important;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0;
  background: linear-gradient(transparent 58%, #fff8e8 58%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
/* 料金のご案内も同サイズへ(元は clamp(24px,3.6vw,40px)) */
.top-v2-price-scope h2.top-v2-scene-title {
  font-size: clamp(28px, 2.4vw + 18px, 44px);
}
/* 文字が小さくなったので SP用の強制改行は不要(「食事の/オプション」→1行) */
h2.l-section_titleText--foodoption br.u-sp,
h2.l-section_titleText--playoption br.u-sp,
h2.l-section_titleText--spaoption br.u-sp {
  display: none;
}
/* 見出し左右の切り抜き(食事=食器/給食のおばさん、遊び=…)は文字サイズに追随して縮小 */
h2.l-section_titleText--foodoption .l-section_titleImage--left,
h2.l-section_titleText--foodoption .l-section_titleImage--right,
h2.l-section_titleText--playoption .l-section_titleImage--left,
h2.l-section_titleText--playoption .l-section_titleImage--right {
  height: clamp(52px, 8vw, 104px);
  padding: 0 clamp(6px, 1.4vw, 18px);
}
/* 見出しラッパーの固定高(PC200px/SP32vw: 切り抜き画像用)を外し、
   見出し→本文は PC約40px / SP約28px に正規化。温泉・宿泊・FAQの上下の空洞を解消 */
.l-section_title--image.text-center.mb-5:has(> h2.l-section_titleText--foodoption),
.l-section_title--image.text-center.mb-5:has(> h2.l-section_titleText--playoption),
.l-section_title--image.text-center.mb-5:has(> h2.l-section_titleText--spaoption),
.l-section_title.text-center.mb-5:has(> h2.l-section_titleText--sub),
.l-section_title.text-center.mb-5:has(> h2.l-section_titleText--faq) {
  height: auto !important;
  min-height: 0;
  margin-bottom: clamp(28px, 3.2vw, 40px) !important;
}
@media (min-width: 992px) {
  /* FAQ見出しが小さくなった分、吹き出しは少年の頭の右(x=172px)に固定 */
  h2.l-section_titleText--faq .l-section_titleBalloon--faq {
    left: calc(172px - (100vw - 100%) / 2);
  }
}
/* fix5a 追補: FAQ見出しは吹き出しブロックを内包してh2が背高になるため、
   マーカーはh2ではなく文字span(.top-v2-scene-title-mark)に掛ける */
h2.l-section_titleText--faq {
  background: none;
}
h2.l-section_titleText--faq .top-v2-scene-title-mark {
  display: inline;
  padding: 0 6px;
  background: linear-gradient(transparent 58%, #fff8e8 58%);
}
h2.l-section_titleText--foodoption br.u-sp,
h2.l-section_titleText--playoption br.u-sp,
h2.l-section_titleText--spaoption br.u-sp {
  display: none !important;
}
/* fix5a 追補: 旧救済 .top-v2-scene-title-mark{font-size:21px}(≤767px)が
   料金・FAQの見出し文字だけ21pxに潰していたため、親h2のサイズを継承させる */
.top-v2-price-scope h2.top-v2-scene-title .top-v2-scene-title-mark,
h2.l-section_titleText--faq .top-v2-scene-title-mark {
  font-size: inherit;
}

/* ===================================================================
   2026-11 polish fix5b: /about/ のセクションH2がH1(PC52px/SP30px)より大きい(96px)
   という見出し階層の逆転を是正。TOP用 .top-v2-h(96px級)がそのまま載っていた。
   about専用id(#story/#history/#team/#song。他ページには存在しない)でスコープし
   H2を PC48px / SP30px(clamp(30px,4.2vw,48px))へ。H1の
   clamp(30px,4.6vw,52px)を全幅で上回らない値にしてある。 */
#story .top-v2-h,
#history .top-v2-h,
#team .top-v2-h,
#song .top-v2-h {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.4;
}
#story .top-v2-h .top-v2-scene-title-mark,
#history .top-v2-h .top-v2-scene-title-mark,
#team .top-v2-h .top-v2-scene-title-mark,
#song .top-v2-h .top-v2-scene-title-mark {
  font-size: inherit;
}

/* ===================================================================
   2026-11 polish fix7: 2列グリッドで最後に1枚だけ余るカード
   (/play/option/ の「プライベート貸切サウナ」「地元で大人気サンドウィッチ」)が
   左に寄って右半分が空く → 2列幅いっぱいの行に置いて中央へ(PCのみ。
   1列になるタブレット以下は元から全幅)。幅は1カラム分(gap28pxを考慮)。
   温泉の --single は別レイアウトのため除外 */
@media (min-width: 992px) {
  .top-v2-menu-grid:not(.top-v2-menu-grid--single) > li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 28px) / 2);
  }
}

/* ===================================================================
   2026-11 polish fix10: 「飲み放題2時間」カード写真の右端に写るビールジョッキ・
   生ビールのグラス(※ビールは含まれておりません)を見せない。元画像は1183x886
   でジョッキは x>=890(右25%)。3:2枠はobject-positionでは横が切れない
   (画像の方が縦長のため縦だけcoverで切れる)ので、写真を1.38倍に拡大して
   左端基準で表示 → 見える範囲は元画像の x:0-857 / y:約170-740。
   タテ・ヨコのはみ出しを切るため、img を角丸+細枠のラッパー span で包んだ
   (figureにoverflow:hiddenを掛けるとマステ::beforeが切れるため) */
.top-v2-menu-photo-crop {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(42, 71, 80, 0.12);
}
.top-v2-menu-grid .top-v2-menu-photo-crop > img {
  border: 0;
  border-radius: 0;
}
.top-v2-menu-photo-crop--nobeer > img {
  transform: scale(1.38);
  transform-origin: 0 55%;
}

/* fix8: 新しいシャワー写真(EXIFで縦向き表示)をカード枠(横長cover)に入れるため、
   蛇口とシャンプー類が収まる位置に寄せる */
.top-v2-scene-card-photo img[src*="shower-booth-2026"] {
  object-position: 50% 68%;
}

/* ===================================================================
   2026-11 polish fix9: /faq/ カテゴリジャンプ(施設/食事/予約/利用)
   旧: 約240pxの灰帯(#ECEDF2)の真ん中に極小のふせんタブ4枚だけ → 空洞。
   新: 導入文の直下に、タップ領域48px以上のピルボタン4個を並べ、灰帯は廃止
   (白地・上のヒーロー余白を負マージンで詰める)。#jumpはfaqページ専用id。
   アンカー(#facility/#meal/#reservation/#usage)・data-event・aria-labelは不変 */
#jump.top-v2-scene-section {
  margin-top: -64px;
  padding: 0;
  background: #fff;
}
#jump + #faq > .top-v2-scene-section:first-child {
  padding-top: 56px;
}
#jump .top-v2-anchor-circles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
  padding: 0;
  align-items: stretch;
}
#jump .top-v2-anchor-circle-item,
#jump .top-v2-anchor-circle-item + .top-v2-anchor-circle-item {
  margin: 0;
  z-index: auto;
}
#jump .top-v2-anchor-circle {
  justify-content: center;
  gap: 6px;
  height: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 2px solid #2f7890;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 3px 0 rgba(47, 120, 144, 0.22);
  color: #2f7890;
  transform: none;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
#jump .top-v2-anchor-circle:hover,
#jump .top-v2-anchor-circle:focus-visible {
  background: #2f7890;
  color: #fff;
  box-shadow: 0 3px 0 rgba(20, 50, 65, 0.28);
}
#jump .top-v2-anchor-circle-label {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.06em;
}
#jump .top-v2-anchor-circle-arrow {
  font-size: 10px;
  opacity: 0.8;
}
@media (max-width: 575px) {
  #jump .top-v2-anchor-circles { gap: 8px; }
  #jump .top-v2-anchor-circle { padding: 0 6px; gap: 4px; }
  #jump .top-v2-anchor-circle-label { font-size: 15px; letter-spacing: 0.03em; }
  #jump + #faq > .top-v2-scene-section:first-child { padding-top: 44px; }
}

/* ===================================================================
   2026-11 polish fix11: /play/ 末尾(FAQ→最終CTA→footer)の余白正規化
   原因: ①FAQは#faq.top-v2-scene-section(灰)・最終CTAも灰で地続きなのに、
   FAQ下96px+CTA上96px+ボタンmargin8pxの約200pxが連続して空洞に見えた。
   ②CTA灰帯の下に、.l-main_inner(pb-lg-5=48px)と.l-main(pb90px)の白帯が残り、
   灰帯とfooterの間に約140px(SPは90px)の白い隙間。
   処方: ①FAQ下余白を0にして、FAQ最後のボタン→CTA見出しを CTA上余白
   (PC96px/SP56px)だけにする。②/play/(#catalogを持つ=このページ専用の
   フック)に限り main の下余白を0にして、CTA灰帯をfooter上端まで届かせる。
   .l-main_bg(登り棒の子)はmainの下端基準のクリップなので接地関係は不変。
   ※friends/family/gasshuku/kenshuも同じ構造(灰FAQ+灰CTA)。必要なら
   :has(#catalog)の限定を外せば同じ規則で揃えられる */
main:has(#catalog) #faq.top-v2-scene-section {
  padding-bottom: 0;
}
main:has(#catalog) #faq .top-v2-actions {
  margin-bottom: 0;
}
main:has(#catalog) .l-main_inner,
.l-main:has(#catalog) .l-main_inner {
  padding-bottom: 0 !important;
}
.l-main:has(#catalog) {
  padding-bottom: 0;
}

/* 2026-11-19 黒板タイル: 長い活動名（カタショーオリジナルテスト・ボクシンググローブ対決・
   ナンジャモンジャ等）が word-break:auto-phrase で1語扱いになり枠外で切れるため、
   語中でも折り返せるようにする（2行まで収まるサイズ） */
.top-v2-playcard-chalk,
.top-v2-catalog-numbox .top-v2-catalog-chalk {
  word-break: normal; --bx-ws: initial;
  overflow-wrap: anywhere;
  line-break: strict;
  max-width: 100%;
}
.top-v2-catalog-numbox .top-v2-catalog-chalk {
  font-size: 15px;
}
@media (max-width: 767px) {
  .top-v2-catalog-numbox .top-v2-catalog-chalk { font-size: 11px; }
}

/* 2026-11-19 料金ページ: くわしい料金シミュレーター(/price-simulator/)への入口 */
.top-v2-sim-entry {
  margin: 20px 0 8px;
  text-align: center;
}

/* 2026-11-19 シーン4ページ(friends/family/gasshuku/kenshu)も最終CTA(灰)の下に
   main由来の白帯(約140px)が残るため、/play/ と同じく main の下余白を0にして
   灰帯をfooter上端まで届かせる（最終CTAで終わるページ限定） */
.l-main:has(.top-v2-scene-finalcta) {
  padding-bottom: 0;
}
.l-main:has(.top-v2-scene-finalcta) .l-main_inner {
  padding-bottom: 0 !important;
}

/* 2026-11-19 デザイン点検 バッチA */
/* A2: /play/option/ ヒーロー。旧HTMLが TOP の価格ピル用クラス(.top-v2-mv-price:
   inline-block・999px角丸・白背景)をヒーロー外枠に誤用しており、SPで高さ136pxの
   細い帯＋右端に白い弧が出ていた。専用クラス .top-v2-opt-mv に置換し、
   高さは /play/ の #mv と同じ clamp、PCの左右余白・角丸はTOPのMVと揃える */
.top-v2-opt-mv .l-mv_title {
  text-shadow: 0 2px 18px rgba(20, 50, 65, 0.55), 0 1px 4px rgba(20, 50, 65, 0.45);
}
.top-v2-opt-mv .l-mv_bg {
  height: clamp(300px, 46vw, 460px);
}
.top-v2-opt-mv .l-mv_bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* A2(b): ≥992pxのMVを左右対称・4隅角丸に（TOPのMV: section p-lg-4=24px +
   container-fluid 12px = 左右36px・角丸40px。≤991pxは旧テーマCSSが全幅・角丸0にする） */
@media (min-width: 992px) {
  .top-v2-opt-mv {
    padding: 24px 36px;
  }
  .top-v2-opt-mv .l-mv_bg,
  #mv.l-mv--under .l-mv_bg {
    border-radius: 40px;
  }
}

/* 2026-11-19 デザイン点検 バッチA */
/* A1: 時間割のスナップ写真(PC)。inset:0 で枠が親の高さ360pxまで伸び、写真＋キャプション
   (約270px)の下に box-shadow が空の「L字」として見えていた。中身の高さで止める。
   ≤767pxのミニカードは別ルール(inset:0)のまま */
@media (min-width: 992px) {
  .top-v2-schedule-snap {
    inset: 0 auto auto 0;
  }
}

/* 2026-11-19 デザイン点検 バッチA */
/* A3: /access/ 電車・バス(#transit)。3枚カードが narrow(860px)コンテナの2列で
   「2+1」の欠け行になっていた。車(#drive)と同じ全幅コンテナ(HTML側で --narrow を外す)＋
   同じ768px以上3列に揃える。≤767pxは既存の1列 */
@media (min-width: 768px) {
  #transit .top-v2-scene-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 2026-11-19 デザイン点検 バッチA */
/* A4: /album/ Googleクチコミカード。grid の行ストレッチで、短い口コミのカードも
   同じ行の長いカードの高さ(約470px)まで伸び、下半分が空の白になっていた。
   768px以上は2段組み(CSS columns)のマソンリーにして各カードを中身の高さで止める。
   テープ(::before)・回転・影は既存のまま。カード間の縦間隔は margin-bottom、
   グリッド下端〜ボタンの間隔(従来36px)は最終カードの余白を引いて維持 */
@media (min-width: 768px) {
  .top-v2-review-grid {
    display: block;
    column-count: 2;
    column-gap: 28px;
  }
  .top-v2-review-card {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 40px;
  }
  .top-v2-review-card:last-child {
    margin-bottom: 0;
  }
}

/* 2026-11-19 デザイン点検 バッチA */
/* A4(改): 直前のCSS columns案は、列頭のカードのテープ(::before)が列境界で
   分断されて前の列の下端に断片が出るため撤回し、grid に戻して上書きする。
   各カードは align-items:start で中身の高さに。ちょうど4件のときだけ、
   長い1件目を左列に通しで置き、残り3件を右列に積む(行ストレッチの空白と
   行間の大穴を避ける)。件数が変わった場合は汎用の start 揃えにフォールバック */
@media (min-width: 768px) {
  .top-v2-review-grid {
    display: grid;
    column-count: auto;
    align-items: start;
  }
  .top-v2-review-card,
  .top-v2-review-card:last-child {
    margin-bottom: 0;
  }
  .top-v2-review-card:first-child:nth-last-child(4) {
    grid-row: 1 / span 3;
  }
  .top-v2-review-card:first-child:nth-last-child(4) ~ .top-v2-review-card {
    grid-column: 2;
  }
}

/* 2026-11-19 デザイン点検 バッチA */
/* A5(a): /about/ 歴史年表。写真付きの行だけ、年(dt)が上・説明(dd)が写真の縦中央に
   振り分けられ、年と説明の間が大きく空いていた(写真なし行はコンパクト)。
   写真が dt/dd の2行をまたぐため、余った高さが2行に均等配分されるのが原因。
   2行目を 1fr にして余白をそちらに寄せ、年＋説明を行頭で密着させて全行のリズムを揃える */
.top-v2-about-history-row {
  grid-template-rows: auto 1fr;
  align-items: start;
  align-content: start;
}
.top-v2-about-history-photo {
  align-self: start;
}

/* A5(b): 校歌(縦書き画像)。SPでは約290px幅に縮んで読めないため、約640px幅の
   横スクロール枠に入れる。縦書きは右から読むので direction:rtl で右端から開始し、
   画像側は ltr に戻して中身の向きを崩さない。PCは変更なし */
.top-v2-about-song-hint {
  display: none;
}
@media (max-width: 767px) {
  .top-v2-about-song-scroll {
    direction: rtl;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 14px;
    border-radius: 6px;
  }
  .top-v2-about-song-scroll img {
    direction: ltr;
    width: 640px;
    max-width: none;
    margin-top: 0;
  }
  .top-v2-about-song-hint {
    display: block;
    margin: 8px 0 0;
    color: #665a4a;
    font-weight: 700;
    font-size: 12.5px;
    line-height: 1.5;
    text-align: center;
  }
}

/* A5(c): /about/ 最終CTA。SPで .top-v2-btn-outline の margin:0 16px が残り、width:100%
   と合わさって右へ16px押し出されていた(左36px/右4px)。余白を外してオレンジと同幅に */
@media (max-width: 767px) {
  .top-v2-about-cta-actions .top-v2-btn-outline {
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }
}

/* 2026-11-19 デザイン点検 バッチA */
/* A6: TOP #usagescene PC。H2(マーカー下端)→最初の写真(遊んで)の間が約217pxと間延びしていた。
   内訳: h2 mb40 + 見出し枠 mb48 + memory-section01 の pt80(lp-style) + 最初の
   .memory-item1 の pt80(lp-style, 装飾用の頭上スペース) 等が積み重なっていた。
   section01 の pt を 0 にし、最初のitemの pt を 43px に詰めて約96pxへ。
   ジグザグ配置・筆文字・切り抜き装飾(下端基準で配置)は触らない。H2のfont-sizeも不変。SPは現状で均衡のため変更なし */
@media (min-width: 992px) {
  #usagescene .memory-section01 {
    padding-top: 0;
  }
  #usagescene .memory-section01 > .memory-item1:first-child {
    padding-top: 43px;
  }
}

/* 2026-11-19 デザイン点検 バッチB（文字） */

/* B1: サブページのセクションH2を PC44px / SP28px に統一する。
   TOPだけは96px級の見出しがオーナー判断で確定しているため、TOP専用id #usagescene を
   持つmainを除外する（サブページには存在しない）。
   旧: 他ページ40/24px・/play/option/ 44/28px・/about/ 48/30px・/map/ 96/47px。
   SPでは旧救済 .top-v2-scene-title-mark{font-size:21px} が文字を21pxに潰していたので
   マーカーspanは親h2のサイズを継承させる */
.l-main:not(:has(#usagescene)) h2.top-v2-scene-title,
.l-main:not(:has(#usagescene)) .top-v2-scene-finalcta h2 {
  font-size: clamp(28px, 2.4vw + 18px, 44px);
  line-height: 1.4;
}
.l-main:not(:has(#usagescene)) h2.top-v2-scene-title .top-v2-scene-title-mark {
  font-size: inherit;
}

/* B3: 平日／土日祝トグルの小書き「または オフシーズン」を語中で折らない。
   12px化で幅が増えるため、≤767pxはボタン左右paddingと隙間を詰めて1行に収める
   （収まらない幅ではスペース位置でだけ2行になる） */
.top-v2-chalk-season .top-v2-chalk-tab small {
  font-size: 12px;
  letter-spacing: 0.02em;
  word-break: keep-all;
  overflow-wrap: normal;
}
@media (max-width: 767px) {
  .top-v2-chalk-season {
    gap: 8px;
  }
  .top-v2-chalk-season .top-v2-chalk-tab {
    min-width: 0;
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* B4: 末尾に1〜2文字だけ残る行（孤立行）を避ける。
   本文系は text-wrap:pretty、短い中央寄せのリード・注記・見出しは balance + 文節改行 */
main p,
main li,
main dd,
main figcaption,
main summary {
  text-wrap: pretty;
  word-break: auto-phrase;
}
/* Safari で文節の中で改行しないのは、短い文（質問・ボタン・リード・見出し・札）だけ（phrase-spans）。
   長い本文は文節の境目で字の詰め（カーニング）が少しゆるむので、今までどおりの折り返しにする */
main summary,
.top-v2-faq-count,
.top-v2-faq-all,
main .top-v2-btn-outline,
main .btn {
  --bx-ws: nowrap;
}
.top-v2-scene-lead,
.top-v2-playroll-lead,
.top-v2-mapsec-lead,
.top-v2-play-mv-lead,
.top-v2-about-center,
.top-v2-timeline-note,
.top-v2-chalk-menu-note,
.top-v2-catalog-note,
.top-v2-price-min,
.top-v2-scene-card-body p,
.top-v2-timeline-body p,
.top-v2-quip,
main figcaption {
  text-wrap: balance;
  word-break: auto-phrase;
  --bx-ws: nowrap; /* Safari：文節の中で改行しない（phrase-spans） */
}
/* 見出しはTOP(#usagescene)を除外。:has非対応ブラウザで上のルールごと無効化されないよう別ルールにしている */
.l-main:not(:has(#usagescene)) :is(h2.top-v2-scene-title, .top-v2-scene-finalcta h2, h3, h4) {
  text-wrap: balance;
  word-break: auto-phrase;
  --bx-ws: nowrap; /* Safari：文節の中で改行しない（phrase-spans） */
}

/* B2: 12px未満の文字を12px以上へ（▼矢印・No.xx番号などの純装飾は対象外） */
.top-v2-header-textlogo-sub {
  font-size: 12px;
  letter-spacing: 0.08em;
}
main small {
  font-size: max(12px, 0.875em);
}
.top-v2-scene-card-body h3 small {
  font-size: max(12px, 0.68em);
}
@media (max-width: 767px) {
  /* 友達・家族系黒板の「1人あたり：…」「こたえ」 */
  .top-v2-chalkboard--art .top-v2-chalk-answer,
  .top-v2-chalkboard--art .top-v2-chalk-sub,
  .top-v2-price-simulator .top-v2-chalkboard--art .top-v2-chalk-sub {
    font-size: 12px;
  }
  .top-v2-price-party,
  .top-v2-price-row dd span {
    font-size: 12px;
  }
  .top-v2-catalog-name {
    font-size: 12px;
    text-wrap: balance;
  }
  .top-v2-catalog-numbox .top-v2-catalog-chalk {
    font-size: 12px;
  }
  .top-v2-address-tab,
  .top-v2-address-tab.top-v2-print-tab {
    font-size: 12px;
  }
}
@media (max-width: 991px) {
  .top-v2-playcard-name {
    font-size: clamp(12px, 2.6vw, 12.5px);
  }
}
@media (min-width: 992px) {
  .top-v2-playroll-period {
    font-size: 12px;
  }
  .top-v2-price-simulator-controls > .top-v2-chalk-menu .top-v2-chalk-menu-note {
    font-size: 12px;
  }
  .top-v2-price-simulator-controls > .top-v2-chalk-menu .top-v2-chalk-mealtime .top-v2-chalk-tab {
    font-size: 12px;
  }
}
.top-v2-address-tab {
  font-size: 12px;
  white-space: nowrap;
}
.top-v2-price-condition-or,
.top-v2-price-condition-season sup {
  font-size: 12px;
}
.top-v2-chalk-mealtime .top-v2-chalk-tab small {
  font-size: 12px;
}
.top-v2-catalog-photo .top-v2-catalog-paidtag,
.top-v2-catalog-item--numbered .top-v2-catalog-name .top-v2-catalog-paidtag {
  font-size: 12px;
}
.top-v2-form-required {
  font-size: 12px;
}
.top-v2-menu-pricetag small,
.top-v2-menu-condtag,
.top-v2-menu-desc small,
.top-v2-sim-rowlabel small,
.top-v2-route-node--goal small,
.top-v2-formal-table thead th small,
.top-v2-formal-table tbody th small {
  font-size: 12px;
}
@media (max-width: 480px) {
  .top-v2-formal-table thead th {
    font-size: 12px;
  }
}
@media (max-width: 991.98px) {
  .top-v2-sim-sum-per,
  .top-v2-sim-sum-totallabel {
    font-size: 12px;
  }
}

/* B6: ≤767pxで右下の固定「予約（空き状況）」ボタン(約88px)が、ページ最下部の
   言語スイッチャー(English / 日本語)を覆うので、スクロール末尾に余白を足して逃がす。
   /price-simulator/ はこのボタンを隠すページなので除外 */
@media (max-width: 767px) {
  body:not(.top-v2-sim-page) .wpml-ls-statics-footer {
    padding-bottom: 104px;
  }
}

/* ヘッダー予約ボタン(≤767px)の小書き「（空き状況）」: 10px→12px。
   ピルは右固定のため左へ約20px広がる。ロゴ(中央)とは375px幅でも14px以上空く */
@media screen and (max-width: 767px) {
  #header #headerBtnReserve.l-header_btnReserve .u-sm {
    font-size: 12px;
  }
}

/* 2026-11-19 メディア掲載: ロゴ寄せ集め画像のセクション(#media)を廃止し、
   実績欄の下に一行の紹介実績として置く(オーナー判断)。#media用の旧ルールは参照なし */
.top-v2-statrow-media {
  margin: 12px auto 0;
  padding-top: 12px;
  border-top: 1px dashed #cfe0e8;
  color: #2a4750;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}
.top-v2-statrow-media span {
  display: inline-block;
}
.top-v2-statrow-media strong {
  color: #2f7890;
  font-weight: 900;
}
@media (max-width: 575px) {
  .top-v2-statrow-media {
    font-size: 13px;
  }
}
/* #media廃止で#landscapeと#faqが隣接し、右下のバスケの男と右上の教壇の男が
   くっついて見えるため、TOPのFAQ右の切り抜きだけ下げて間を空ける。
   992〜1279pxは教壇の男が見出し、机の少年が1問目に重なる(以前から)ため、
   教壇の男を出さず少年を縮める */
@media (min-width: 1280px) {
  #faq.l-section_bg .l-faq_bgRight {
    transform: translateY(96px);
  }
}
@media (min-width: 992px) and (max-width: 1279px) {
  #faq.l-section_bg .l-faq_bgRight {
    display: none;
  }
  #faq.l-section_bg .l-faq_bgLeft {
    transform: scale(0.8);
    transform-origin: top left;
  }
}

/* =====================================================================
   予約ボタンまわり（2026-11-21 オーナー了承）
   1) 大きな予約ボタンのすぐ下に「安心の一言」（事実はHPの4ステップとFAQのとおり）
   2) スマホ: 右下の丸い予約ボタンをやめ、画面下いっぱいの予約バーにする。
      最初の画面を過ぎてから下から出す（出し入れは reserve-bar.js）。PCは今のまま（丸ボタン）。
      くわしい料金シミュレーターは自前の合計バーがあるので出さない。見本ページ（/sample/）は見本のバーを使う
   ===================================================================== */
.reserve-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  vertical-align: top;
}
.reserve-reassure {
  display: block;
  margin: 10px 0 0;
  color: #665a4a;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
  letter-spacing: 0;
}
.reserve-reassure > span { display: inline-block; }
/* 区切りは前の項目の後ろに付ける（折り返したとき、行頭に「／」が来ないように） */
.reserve-reassure > span:not(:last-child)::after {
  content: "／";
  margin: 0 4px;
  color: rgba(102, 90, 74, 0.55);
}
@media (max-width: 767px) {
  .reserve-reassure { font-size: 12px; }
}
/* シーン別ページの最初の画面は左寄せなので、ボタンと一言も左にそろえる */
@media (min-width: 768px) {
  .top-v2-scene-hero-actions .reserve-cta { align-items: flex-start; }
  .top-v2-scene-hero-actions .reserve-reassure { text-align: left; }
}

.reserve-bar { display: none; }
@media (max-width: 991.98px) {
  body:not(.sample-cro):not(.top-v2-sim-page) { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  body:not(.top-v2-sim-page) #reserveFixed { display: none !important; }
  body:not(.sample-cro):not(.top-v2-sim-page) .reserve-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px)) 16px;
    background: #fff;
    border-top: 2px solid #f2dfb6;
    box-shadow: 0 -6px 18px rgba(20, 50, 65, 0.16);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.32s ease, visibility 0s linear 0.32s;
  }
  body:not(.sample-cro):not(.top-v2-sim-page) .reserve-bar.is-visible {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.32s ease, visibility 0s linear 0s;
  }
  .reserve-bar-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    line-height: 1.3;
  }
  .reserve-bar-label {
    color: #665a4a;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .reserve-bar-main {
    color: #a5540e;
    font-size: 17px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .reserve-bar-cond {
    color: #665a4a;
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
  }
  .reserve-bar-cond[hidden] { display: none; }
  /* 計算した金額は桁が増えるので少し小さく（合計が6桁でも1行に収める） */
  .reserve-bar.is-estimate .reserve-bar-main { font-size: 15.5px; }
  .reserve-bar .reserve-bar-cta {
    flex: 0 0 auto;
    width: auto;
    min-height: 48px;
    margin: 0;
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
  }
  .reserve-bar .reserve-bar-cta::after { display: none; }
}
@media (max-width: 359px) {
  .reserve-bar .reserve-bar-cta { padding: 12px 14px; font-size: 15px; }
  .reserve-bar-main { font-size: 15px; }
  .reserve-bar.is-estimate .reserve-bar-main { font-size: 13.5px; }
}
@media (max-width: 991.98px) and (prefers-reduced-motion: reduce) {
  body:not(.sample-cro):not(.top-v2-sim-page) .reserve-bar,
  body:not(.sample-cro):not(.top-v2-sim-page) .reserve-bar.is-visible { transition: none; }
}

/* =====================================================================
   シーン別ページの最初の画面の料金の一行（2026-11-21 オーナー了承「安く見せたい」）
   金額は大きく、条件（平日・コンパクトプラン）は小さく添える。押すとページ内の料金計算(#price)へ
   ===================================================================== */
.hero-price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  margin: 18px 0 0;
  line-height: 1.4;
}
.hero-price-amount {
  color: #2f7890;
  font-size: 15px;
  font-weight: 900;
}
.hero-price-amount strong {
  color: #f0831e;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.01em;
}
.hero-price-line .hero-price-cond {
  color: #665a4a;
  font-size: 11.5px;
  font-weight: 700;
}
.hero-price-jump {
  color: #2f7890;
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 767px) {
  .hero-price-line { justify-content: center; text-align: center; }
  .hero-price-jump { flex-basis: 100%; }
}

/* ===================================================================
   2026-11-21 Googleの星（オーナー判断「googleの星で」）
   前は「件数・星・スコアは変動するため掲載しない」方針だったが、時点を必ず添えて載せる形に変更。
   数字は src/data/site.json の googleReviews だけを直す（トップの「カタショーの風景」とクチコミページが同じ値を使う）。
   個々のクチコミカードには星を付けない（本文＋投稿者名＋出典のまま）。 */
/* トップの実績行（2026-11-21）: 3つ（6,000名以上・大学サークル・ゼミ・最大100名）は変えず、
   スマホも縦3段をやめて横1列に（オーナー「3つでもスマホだと多い」）。PC・タブレットは前と同じ3列。
   Googleの星は実績行に入れず、「カタショーの風景」のクチコミボタンの上に1行（オーナー判断） */
@media (max-width: 575px) {
  .top-v2-statrow {
    /* 一番長い「6,000名以上」の列を少し広く */
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.94fr) minmax(0, 0.94fr);
  }
  .top-v2-statrow > li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 3px;
    padding: 4px 2px;
    text-align: center;
  }
  .top-v2-statrow > li + li {
    border-top: 0;
    border-left: 1px solid #dde6ea;
  }
  .top-v2-statrow-value { justify-content: center; }
  /* 「大学」の下に「サークル・ゼミ」 */
  .top-v2-statrow-groups .top-v2-statrow-value {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .top-v2-statrow-value strong { font-size: 23px; }
  .top-v2-statrow-value small { font-size: 11px; }
  .top-v2-statrow-label { font-size: 11px; letter-spacing: 0; }
}
@media (max-width: 374px) {
  .top-v2-statrow-value strong { font-size: 20px; }
  .top-v2-statrow-value small { font-size: 10px; }
  .top-v2-statrow-label { font-size: 10px; }
}
@media (max-width: 340px) {
  /* 幅320pxの古い小型スマホだけは横1列に収まらないので、前の縦3段（値は右・ラベルは左）に戻す */
  .top-v2-statrow { grid-template-columns: 1fr; }
  .top-v2-statrow > li {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    column-gap: 10px;
    align-items: baseline;
    padding: 8px 2px;
    text-align: left;
  }
  .top-v2-statrow > li + li {
    border-left: 0;
    border-top: 1px solid #dde6ea;
  }
  .top-v2-statrow-value { justify-content: flex-end; }
  .top-v2-statrow-groups .top-v2-statrow-value {
    flex-direction: row;
    align-items: baseline;
    gap: 2px;
  }
  .top-v2-statrow-value strong { font-size: 24px; }
  .top-v2-statrow-value small { font-size: 12px; }
  .top-v2-statrow-label { font-size: 12px; }
}

/* トップ「カタショーの風景」: クチコミ＆SNSボタンのすぐ上に「Googleクチコミ ★4.7 ⓘ」。
   件数・時点・日帰りも含むことは ⓘ を押すと出る（オーナー案）。details/summary なのでJSなしでも開閉できる */
.top-v2-landscape-review {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 2px;
  margin: 0 0 14px;
  color: #2a4750;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}
.top-v2-landscape-review > strong {
  margin: 0 2px 0 6px;
  color: #f0831e;
  font-size: 21px;
  font-weight: 900;
}
.top-v2-info {
  display: inline-block;
}
.top-v2-info > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* 見た目の丸は17px、押せる範囲は36px（指で押しやすく） */
  width: 36px;
  height: 36px;
  margin: -6px -8px -6px -4px;
  border-radius: 50%;
  cursor: pointer;
  list-style: none;
}
.top-v2-info > summary::-webkit-details-marker { display: none; }
.top-v2-info > summary::marker { content: ""; }
.top-v2-info > summary > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border: 1.5px solid #6b7f86;
  border-radius: 50%;
  color: #6b7f86;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11.5px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}
.top-v2-info > summary:hover > span,
.top-v2-info[open] > summary > span {
  border-color: #2f7890;
  background: #2f7890;
  color: #fff;
}
.top-v2-info > summary:focus { outline: none; }
.top-v2-info > summary:focus-visible { outline: 2px solid #2f7890; outline-offset: 2px; }
/* 上に開く（下はボタンと区切りの余白しかなく、はみ出すと切れるため） */
.top-v2-info-pop {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  z-index: 5;
  width: min(300px, calc(100vw - 40px));
  padding: 12px 14px;
  border: 1px solid #dde6ea;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(31, 58, 68, 0.16);
  color: #2a4750;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.65;
  text-align: left;
  /* --info-shift: 画面の端からはみ出すときに info-pop.js が入れる横のずらし量 */
  transform: translateX(calc(-50% + var(--info-shift, 0px)));
  /* 置き場所（料金カードの nowrap 行など）の文字設定を持ち込まない */
  white-space: normal;
  letter-spacing: normal;
  text-indent: 0;
  font-style: normal;
  text-decoration: none;
  cursor: auto;
}
.top-v2-info-pop p { margin: 0 0 4px; }
.top-v2-info-pop a {
  display: inline-block;
  margin-top: 4px;
  color: #2f7890;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 2026-11-24 ⓘを共通部品に（注記の見せ方の見直し・docs/annotations-decision-2026-11-24.md）。
   吹き出しは ⓘ の真上に出す。画面の左右からはみ出すときは info-pop.js が --info-shift で横にずらし、
   上に余白がないときは is-below を付けて下に出す。開け閉め・外を押して閉じる・Esc も info-pop.js */
.top-v2-info { position: relative; }
/* トップのクチコミ（P15）は今までどおり、行の真ん中に出す */
.top-v2-landscape-review > .top-v2-info { position: static; }
.top-v2-info.is-below > .top-v2-info-pop {
  top: calc(100% + 8px);
  bottom: auto;
}

/* 文の中に置くⓘ（料金カードの「ハイシーズン」の横など）。押せる範囲36pxは保ったまま、行の高さは増やさない */
.top-v2-info--inline {
  margin-left: 2px;
  vertical-align: middle;
}
.top-v2-info--inline > summary {
  margin: -10px -8px -10px -6px;
}

/* 文字つきのⓘ（「ⓘ ハイシーズンとは」）。押せる範囲は文字まで含めて高さ36px */
.top-v2-info--labeled > summary {
  gap: 6px;
  width: auto;
  height: 36px;
  margin: 0;
  padding: 0 10px 0 8px;
  border-radius: 18px;
}
.top-v2-info--labeled > summary > .top-v2-info-text,
.top-v2-info--labeled > summary:hover > .top-v2-info-text,
.top-v2-info--labeled[open] > summary > .top-v2-info-text {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: none;
  color: #2f7890;
  font-family: inherit;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}

/* 料金計算のシーズンのボタン（平日／土日祝）のすぐ下に「ⓘ ハイシーズンとは」。ボタンの中には入れない */
.top-v2-season-info {
  display: flex;
  justify-content: center;
  margin: -8px 0 8px;
}

/* 少人数プランの「大人料金1,000円引き ＝ …」の後ろのⓘ（お子さま料金の計算） */
.top-v2-plan-price .top-v2-info { margin-left: 4px; }

/* くわしい料金計算のオプション名の横のⓘ（サーフィン教室について） */
.top-v2-sim-opt-title {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.top-v2-sim-opt-title .top-v2-info > summary { margin: -8px -6px; }

/* 料金・オプションの夕食: BBQ と すき焼き の2枚に共通の注記を、2枚のすぐ下に1行で */
.top-v2-menu-sharednote {
  margin: 12px 0 24px;
  text-align: center;
}
@media (min-width: 992px) {
  .top-v2-menu-sharednote { margin-bottom: 28px; }
}
/* 2026-11-24 PCでは小さすぎた（オーナー指摘）。広い画面だけ一回り大きく */
@media (min-width: 768px) {
  .top-v2-landscape-review {
    gap: 0 4px;
    margin-bottom: 20px;
    font-size: 20px;
  }
  .top-v2-landscape-review > strong {
    margin: 0 4px 0 10px;
    font-size: 34px;
  }
  .top-v2-landscape-review .top-v2-info > summary > span {
    width: 22px;
    height: 22px;
    font-size: 15px;
  }
}

/* クチコミページ: 「Googleのクチコミ」見出しの下に平均点と件数 */
.top-v2-review-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  margin: -4px auto 28px;
}
.top-v2-review-summary-score {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: #f0831e;
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
}
.top-v2-review-summary-star {
  font-size: 30px;
}
.top-v2-review-summary-text {
  color: #2f7890;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  text-align: left;
}
.top-v2-review-summary-text small {
  display: block;
  color: #6b7f86;
  font-size: 12px;
  font-weight: 700;
}
@media (max-width: 575px) {
  /* スマホは点数の下に文字を中央そろえで（横に並べると折り返しで左右がずれる） */
  .top-v2-review-summary { flex-direction: column; gap: 8px; }
  .top-v2-review-summary-text { text-align: center; }
}

/* 2026-11-21 シャワーブースの写真は縦長（800x1200）。3:2に切ると中が一部しか見えないので、
   縦長のまま左に置き、横長の脱衣スペースと高さをそろえる（2:3 と 3:2 を同じ高さ → 幅は 4:9） */
.top-v2-shower-photos:has(.top-v2-shower-photo--tall) {
  grid-template-columns: minmax(0, 4fr) minmax(0, 9fr);
  align-items: start;
}
.top-v2-shower-photos .top-v2-shower-photo--tall img {
  aspect-ratio: 2 / 3;
}

/* 2026-11-21 くわしい料金シミュレーターへのリンクは、計算の黒板のすぐ下に（オーナー指摘：料金ボタンの並びの奥にあって見つからない）
   2026-11-24 丸いボタンをやめて文字のリンクに（オーナー指摘：トップの狭い列で4行に折れて丸くなり、ダサい）。
   文言は「日付を入れて」→「オプションも入れて」（空きは予約画面でしか分からないので、日付より中身の細かさを売りに）。
   トップは見出し「かんたん宿泊料金シミュレーター」のすぐ下、ほかの4ページは今までどおり黒板のすぐ下 */
.top-v2-sim-more {
  margin: 10px 0 6px;
  text-align: center;
}
.top-v2-sim-more .top-v2-sim-more-link {
  display: inline-block;
  padding: 10px 4px;
  color: #a5540e;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: rgba(240, 131, 30, 0.55);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.top-v2-sim-more .top-v2-sim-more-link:hover,
.top-v2-sim-more .top-v2-sim-more-link:focus-visible {
  text-decoration-color: #f0831e;
}
.top-v2-nowrap { white-space: nowrap; }
.top-v2-price-simulator-head .top-v2-sim-more { margin: 4px 0 -6px; }

/* ===================================================================
   2026-11-21 マスキングテープの整理（オーナー判断「テープは写真だけ、1画面に1〜2枚まで。文字のカードには使わない」）
   元のルールは残し、ここで上書きして外す。戻すときはこのブロックを消す */
/* 文字のカード・札・地図からは外す */
.top-v2-teacher-note::before,
.top-v2-shiori::before,
.top-v2-worksheet::before,
.top-v2-price-card--formal::before,
.top-v2-price-card--notice::before,
.top-v2-playroll-tab.top-v2-print-tab::before,
.top-v2-address-card::before,
.top-v2-playdialog-sheet::before,
.top-v2-price-simulator::before,
.top-v2-review-card::before,
.top-v2-map-frame::before,
.top-v2-map-photo-wrap .top-v2-scenecard-photo::before {
  content: none !important;
  display: none !important;
}
.top-v2-review-grid .top-v2-review-card {
  transform: none !important;
}
/* 写真が並ぶ所は、先頭の1枚だけに貼る */
.top-v2-scene-hero-photo::after,
#can-do .top-v2-scene-cards .top-v2-scene-card:nth-child(n+2) .top-v2-scene-card-photo::before,
#rooms .top-v2-scene-cards .top-v2-scene-card:nth-child(n+2) .top-v2-scene-card-photo::before,
.top-v2-doors li:nth-child(n+2) .top-v2-scenecard-photo::before,
.top-v2-otherscenes-cards li:nth-child(n+2) .top-v2-scenecard-photo::before,
.top-v2-about-team-card:nth-child(n+2) .top-v2-scenecard-photo::before,
.top-v2-about-story-card:nth-child(n+2) .top-v2-scenecard-photo::before,
.top-v2-menu-grid .top-v2-menu-card:nth-child(n+2) .top-v2-menu-photo::before {
  content: none !important;
  display: none !important;
}
/* 写真がびっしり並ぶ帯・カタログには貼らない */
.top-v2-playroll-track .top-v2-playcard::before,
.top-v2-catalog-photo::before {
  content: none !important;
  display: none !important;
}

/* ===================================================================
   2026-11-21 校内マップの凡例：飾り（テープ・札・左の線・影）をやめ、地図のすぐ下に
   地図のピンと同じ丸数字のボタンを並べる。押すと地図のピンと同じ説明が開く（map-spots.js は [data-spot] を拾う） */
.top-v2-maplegend {
  max-width: 880px;
  margin: 18px auto 0;
  text-align: center;
}
.top-v2-maplegend-hint {
  margin: 0 0 10px;
  color: #4a5a60;
  font-size: 14px;
  font-weight: 700;
}
.top-v2-maplegend-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.top-v2-maplegend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 14px 6px 6px;
  border: 1px solid #d5e2e8;
  border-radius: 999px;
  background: #fff;
  color: #24434e;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}
.top-v2-maplegend-item:hover,
.top-v2-maplegend-item:focus-visible {
  border-color: #2f7890;
}
.top-v2-maplegend-item:focus-visible {
  outline: 2px solid #2f7890;
  outline-offset: 2px;
}
.top-v2-maplegend-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #2f7890;
  box-shadow: 0 1px 4px rgba(20, 50, 65, 0.25);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.top-v2-maplegend-note {
  margin: 12px 0 0;
  color: #4a5a60;
  font-size: 13px;
  font-weight: 700;
}
@media (max-width: 575px) {
  .top-v2-maplegend-item { font-size: 14px; padding-right: 12px; }
}

/* マップの下「つぎに見る」：文字リンク2本をやめ、写真付きのカード2枚＋予約ボタン。背景は白（上のグレーと区切る） */
.top-v2-nextcards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 820px;
  margin: 8px auto 0;
}
.top-v2-nextcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d5e2e8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(47, 120, 144, 0.1);
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.top-v2-nextcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(47, 120, 144, 0.16);
  color: inherit;
}
.top-v2-nextcard:focus-visible {
  outline: 3px solid #2f7890;
  outline-offset: 3px;
}
.top-v2-nextcard-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.top-v2-nextcard-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px 16px;
}
.top-v2-nextcard-title {
  color: #24434e;
  font-size: 18px;
  font-weight: 900;
}
.top-v2-nextcard-text {
  color: #4a5a60;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}
.top-v2-nextcard-more {
  margin-top: 4px;
  color: #2f7890;
  font-size: 14px;
  font-weight: 800;
}
@media (max-width: 575px) {
  .top-v2-nextcards { grid-template-columns: 1fr; gap: 14px; }
  .top-v2-nextcard { flex-direction: row; }
  .top-v2-nextcard-photo { flex: 0 0 38%; }
  .top-v2-nextcard-photo img { height: 100%; aspect-ratio: auto; min-height: 110px; }
  .top-v2-nextcard-body { padding: 12px 14px; }
  .top-v2-nextcard-title { font-size: 16px; }
  .top-v2-nextcard-text { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .top-v2-nextcard { transition: none; }
  .top-v2-nextcard:hover { transform: none; }
}

/* 2026-11-21 駐車場のピンは「P1・P2・P3・4」と横長の丸に（3つとも同じ「P」で区別できないとオーナー指摘） */
.top-v2-map-dot[data-spot^="parking"] {
  width: auto;
  min-width: 24px;
  padding: 0 6px;
  border-radius: 12px;
  font-size: 11px;
  white-space: nowrap;
}
.top-v2-maplegend-num--wide {
  width: auto;
  min-width: 26px;
  padding: 0 6px;
  border-radius: 13px;
  font-size: 12px;
  white-space: nowrap;
}

/* ===================================================================
   2026-11-21 よくある質問の組み立て直し（台帳A12「トップにあると他に無いと思われ問い合わせが増える」への対応）
   ・FAQページ：言葉でさがす欄＋分類ジャンプ（予約とお金を先頭に）。faq-search.js
   ・トップ：問数と分類ボタン ・問い合わせ：送る前のベスト5 ・各シーンのFAQ：最後に「すべて見る」 */
#faq details.faq[hidden],
#faq section[hidden] {
  display: none !important;
}
.top-v2-faq-search {
  max-width: 560px;
  margin: 0 auto 28px;
  text-align: center;
}
.top-v2-faq-search-label {
  display: block;
  margin-bottom: 8px;
  color: #24434e;
  font-size: 16px;
  font-weight: 900;
}
.top-v2-faq-search-input {
  width: 100%;
  height: 50px;
  padding: 0 22px;
  border: 2px solid #2f7890;
  border-radius: 999px;
  background: #fff;
  color: #222;
  font-size: 16px; /* 16px未満だとiPhoneで入力時に拡大される */
  font-weight: 600;
}
.top-v2-faq-search-input:focus {
  outline: 3px solid #1f4f63; /* 2026-11-25 薄い輪（1.62:1）を、ほかの印と同じ色に */
  outline-offset: 2px;
}
.top-v2-faq-search-result {
  margin: 10px 0 0;
  color: #2a4750;
  font-size: 14px;
  font-weight: 700;
}
.top-v2-faq-search-result a {
  color: #2f7890;
  text-decoration: underline;
}
/* トップ：問数と分類ボタン */
.top-v2-faq-intro {
  max-width: 760px;
  margin: -20px auto 28px;
  text-align: center;
}
.top-v2-faq-count {
  margin: 0 0 12px;
  color: #2a4750;
  font-size: 15px;
  font-weight: 700;
}
.top-v2-faq-count strong {
  color: #f0831e;
  font-size: 1.15em;
  font-weight: 900;
}
.top-v2-faq-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.top-v2-faq-cats a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 16px;
  border: 1px solid #d5e2e8;
  border-radius: 999px;
  background: #fff;
  color: #24434e;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.top-v2-faq-cats a:hover,
.top-v2-faq-cats a:focus-visible {
  border-color: #2f7890;
  color: #2f7890;
}
/* 問い合わせ：送る前のベスト5 */
.top-v2-faq-best {
  max-width: 640px;
  margin: 0 auto 32px;
  padding: 20px 22px;
  border: 1px solid #d5e2e8;
  border-radius: 14px;
  background: #f6f9fb;
}
.top-v2-faq-best-title {
  margin: 0 0 10px;
  color: #24434e;
  font-size: 16px;
  font-weight: 900;
}
.top-v2-faq-best-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.top-v2-faq-best-list li + li {
  border-top: 1px dashed #d5e2e8;
}
.top-v2-faq-best-list a {
  display: block;
  padding: 10px 2px;
  color: #2f7890;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}
.top-v2-faq-best-list a::before {
  content: "Q ";
  color: #f0831e;
  font-weight: 900;
}
.top-v2-faq-best-list a:hover { text-decoration: underline; }
.top-v2-faq-best-more {
  margin: 10px 0 0;
  text-align: right;
}
.top-v2-faq-best-more a {
  color: #2a4750;
  font-size: 14px;
  font-weight: 800;
}
/* 各シーンのFAQの最後の「すべて見る」 */
.l-faq_list + .top-v2-faq-all {
  margin-top: 24px;
}
.top-v2-faq-catnav { text-align: center; }
.top-v2-faq-catnav-label {
  margin: 0 0 8px;
  color: #24434e;
  font-size: 15px;
  font-weight: 900;
}
/* スマホでは分類ボタン4つを1列に（トップと同じ見え方。2026-11-21） */
@media (max-width: 420px) {
  .top-v2-faq-cats { gap: 8px; }
  .top-v2-faq-cats a { padding: 6px 13px; }
}
@media (max-width: 374px) {
  .top-v2-faq-cats { gap: 6px; }
  .top-v2-faq-cats a { padding: 6px 11px; font-size: 13px; }
}
/* プライバシーポリシー：アクセス解析・広告（2026-11-21） */
.top-v2-policy-list .top-v2-scene-card-body p + p,
.top-v2-policy-list .top-v2-scene-card-body p + ul,
.top-v2-policy-list .top-v2-scene-card-body ul + p {
  margin-top: 14px;
}
.top-v2-policy-list .top-v2-scene-card-body .top-v2-policy-services {
  margin: 14px 0 0;
  padding: 14px 16px;
  padding-left: 16px !important; /* lp-style.css の ul{padding-left:0 !important} に勝つため */
  border-radius: 12px;
  background: #f4f8fa;
  list-style: none;
}
.top-v2-policy-services li {
  color: #665a4a;
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 15px);
  line-height: 1.7;
}
.top-v2-policy-services li + li {
  margin-top: 10px;
}
.top-v2-policy-services strong {
  color: #24434e;
  font-weight: 900;
}
.top-v2-policy-list .top-v2-scene-card-body a {
  color: #2f7890;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* お問い合わせ：送信後のお知らせ（2026-11-21） */
.top-v2-contact-sent {
  max-width: 640px;
  margin: 0 auto 32px;
  padding: 20px 22px;
  border: 2px solid #2f7890;
  border-radius: 16px;
  background: #f1f8fa;
  color: #24434e;
  font-weight: 700;
  line-height: 1.8;
}
.top-v2-contact-sent[hidden] { display: none; }
.top-v2-contact-sent p { margin: 0; }
.top-v2-contact-sent p + p { margin-top: 8px; }
.top-v2-contact-sent .top-v2-contact-sent-title {
  margin-bottom: 8px;
  color: #2f7890;
  font-size: 18px;
  font-weight: 900;
}
.top-v2-contact-sent a { color: #2f7890; text-decoration: underline; white-space: nowrap; }

/* 2026-11-24 くわしい料金シミュレーターを青基調に（オーナー指摘：オレンジ基調が気持ち悪い。ベースは見出しの青 #2f7890）。元の規則は残し、ここで色だけ上書き。戻すときはこのブロックを消す */
.top-v2-sim-step { border-color: #cfe0e8; }
.top-v2-sim-step-no { color: #ffffff; }
.top-v2-sim-card input:checked + .top-v2-sim-card-body { color: #ffffff; }
.top-v2-sim-chip input:checked + span { color: #ffffff; }
.top-v2-sim-night { border-color: #cfe0e8; background-color: #f1f7f9; }
.top-v2-sim-peoplesum { background-color: #f1f7f9; }
.top-v2-sim-mealblock { border-color: #cfe0e8; background-color: #f1f7f9; }
.top-v2-sim-opt { border-color: #cfe0e8; background-color: #f1f7f9; }
.top-v2-sim-opt-price { color: #1f5d72; }
.top-v2-sim-discline { background-color: #f1f7f9; }
.top-v2-sim-sum-total strong { color: #1f5d72; }
.top-v2-sim-line { border-bottom-color: #dbe8ee; }
.top-v2-sim-line-amount { color: #1f5d72; }
.top-v2-sim-bd-total b { color: #1f5d72; }
@media (min-width: 992px) {
  .top-v2-sim-sum-top { background-color: #f1f7f9; }
}
@media (max-width: 991.98px) {
  .top-v2-sim-sum-body { border-top-color: #cfe0e8; }
}

/* 2026-11-24 「せんせいより」→「料金の注意事項」（オーナー指摘：注意事項だと分かりづらい）。見出しを少し大きく濃くし、頭に「！」の丸印。戻すときはこのブロックを消す */
.top-v2-teacher-note-label,
.top-v2-teacher-note--unified .top-v2-teacher-note-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 900;
  color: #2a4750;
  letter-spacing: 0.02em;
}
.top-v2-teacher-note-label::before,
.top-v2-teacher-note--unified .top-v2-teacher-note-label::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2f7890;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

/* 2026-11-24 アルバムのGoogleクチコミを、本物のクチコミらしい見た目に（オーナー指摘：手で作ったように見える）。アイコン・星・投稿月・Googleで見る。長文は6行で畳んで「もっと見る」。戻すときはこのブロックを消す */
.top-v2-review-grid:has(.top-v2-review-card--g) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  column-count: auto;
}
@media (min-width: 768px) {
  .top-v2-review-grid:has(.top-v2-review-card--g) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .top-v2-review-grid:has(.top-v2-review-card--g) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.top-v2-review-card.top-v2-review-card--g {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #dde6ea;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(31, 58, 68, 0.06);
  text-align: left;
  transform: none;
  grid-row: auto;
  grid-column: auto;
}
.top-v2-review-card--g::before,
.top-v2-review-card--g::after {
  content: none;
  display: none;
}
.top-v2-review-card--g .top-v2-review-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-v2-review-card--g .top-v2-review-avatar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--avatar);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}
.top-v2-review-card--g .top-v2-review-who {
  min-width: 0;
}
.top-v2-review-card--g .top-v2-review-name {
  margin: 0;
  color: #22343b;
  font-size: 15px;
  font-weight: 800;
}
.top-v2-review-card--g .top-v2-review-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 0;
  color: #6b7a82;
  font-size: 12.5px;
}
.top-v2-review-card--g .top-v2-review-stars {
  color: #fbbc04;
  font-size: 14px;
  letter-spacing: 1px;
}
.top-v2-review-card--g .top-v2-review-text {
  margin: 0;
  color: #2e2518;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.top-v2-review-card--g.is-open .top-v2-review-text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.top-v2-review-card--g .top-v2-review-more {
  align-self: flex-start;
  margin: 0;
  padding: 4px 0;
  border: 0;
  background: none;
  color: #2f7890;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}
.top-v2-review-card--g .top-v2-review-more[hidden] {
  display: none;
}
.top-v2-review-card--g .top-v2-review-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: auto 0 0;
  padding-top: 10px;
  border-top: 1px solid #eef2f4;
}
.top-v2-review-card--g .top-v2-review-source {
  margin: 0;
  color: #6b7a82;
  font-size: 12px;
  font-weight: 400;
}
.top-v2-review-card--g .top-v2-review-link {
  color: #2f7890;
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 2026-11-24 連絡先・所在地のカードを、白地の情報カードに（オーナー指摘：めちゃくちゃダサい）。たいせつ・ほぞんばんの丸印、テープ、波線、傾きをやめ、見出しと中身を表のように並べる。戻すときはこのブロックを消す */
.top-v2-address-card.top-v2-address-card {
  background: #fff;
  border: 1px solid #dde6ea;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(31, 58, 68, 0.06);
  transform: none;
  padding: 6px 22px 18px;
  text-align: left;
}
.top-v2-address-card.top-v2-address-card::before,
.top-v2-address-card.top-v2-address-card::after,
.top-v2-price-card--formal.top-v2-price-card--formal::after {
  content: none;
  display: none;
}
.top-v2-address-card.top-v2-address-card .l-address_info {
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid #eef2f4;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 4px;
  text-align: left;
}
.top-v2-address-card.top-v2-address-card .l-address_info + .l-address_info {
  margin: 0;
}
.top-v2-address-card.top-v2-address-card .l-address_info:first-child,
.top-v2-address-card.top-v2-address-card .top-v2-address-tab + .l-address_info {
  border-top: 0;
}
.top-v2-address-card.top-v2-address-card .l-address_infoTitle,
.top-v2-address-card.top-v2-address-card .top-v2-address-heading {
  display: block;
  position: static;
  font-size: 13px;
  font-weight: 800;
  color: #2f7890;
  letter-spacing: 0.04em;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  text-decoration: none;
}
.top-v2-address-card.top-v2-address-card .l-address_infoTitle::before,
.top-v2-address-card.top-v2-address-card .l-address_infoTitle::after,
.top-v2-address-card.top-v2-address-card .top-v2-address-heading::before,
.top-v2-address-card.top-v2-address-card .top-v2-address-heading::after {
  content: none;
  display: none;
  background: none;
}
.top-v2-address-card.top-v2-address-card .l-address_infoText {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #22343b;
  font-weight: 500;
}
.top-v2-address-card.top-v2-address-card .l-address_infoText a {
  color: #2f7890;
  font-weight: 800;
  text-underline-offset: 3px;
}
.top-v2-address-card.top-v2-address-card .l-address_infoCaption {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: #6b7a82;
  line-height: 1.6;
}
.top-v2-address-card.top-v2-address-card .l-address_infoCaption small {
  font-size: inherit;
  color: inherit;
}
@media (min-width: 600px) {
  .top-v2-address-card.top-v2-address-card .l-address_info {
    grid-template-columns: 8em 1fr;
    column-gap: 16px;
    align-items: baseline;
  }
  .top-v2-address-card.top-v2-address-card .l-address_infoTitle,
  .top-v2-address-card.top-v2-address-card .top-v2-address-heading {
    grid-column: 1;
  }
  .top-v2-address-card.top-v2-address-card .l-address_infoText,
  .top-v2-address-card.top-v2-address-card .l-address_infoCaption {
    grid-column: 2;
  }
}
.top-v2-address-card.top-v2-address-card .top-v2-actions {
  margin: 4px 0 0;
  padding-top: 14px;
  border-top: 1px solid #eef2f4;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: flex-start;
  text-align: left;
}
.top-v2-address-card.top-v2-address-card .top-v2-actions .top-v2-inline-link {
  color: #2f7890;
}
/* 「がっこうのれんらくさき」タブ：縁にかぶせず、カード内の小さなピルに（「カタショーのあゆみ」と同じ見た目） */
.top-v2-address-card.top-v2-address-card .top-v2-address-tab.top-v2-print-tab {
  position: static;
  top: auto;
  left: auto;
  transform: none;
  display: inline-block;
  margin: 14px 0 6px;
  padding: 4px 14px;
  font-size: 12.5px;
}

/* 2026-11-24 アルバムのクチコミ：横に並ぶカードの高さをそろえる。戻すときはこのブロックを消す */
.top-v2-review-grid:has(.top-v2-review-card--g) {
  align-items: stretch;
}

/* 2026-11-24 アクセス「周辺情報」に、旧サイトの周辺観光地マイマップを埋め込む（オーナー案）。戻すときはこのブロックとHTMLの地図を消す */
.top-v2-address-card.top-v2-address-card--nearby {
  max-width: 760px;
}
.top-v2-nearby-map {
  margin: 4px 0 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dde6ea;
  aspect-ratio: 4 / 3;
  max-width: 100%;
}
.top-v2-nearby-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (min-width: 768px) {
  .top-v2-nearby-map {
    aspect-ratio: 16 / 10;
  }
}
.top-v2-nearby-maplink {
  margin: 10px 0 0;
  text-align: left;
}
.top-v2-nearby-maplink a {
  color: #2f7890;
}
/* 2026-11-24 周辺情報の地図と「大きな地図で見る」は、見出し｜中身の2列をまたいで横いっぱいに */
.top-v2-address-card--nearby .top-v2-nearby-map,
.top-v2-address-card--nearby .top-v2-nearby-maplink {
  grid-column: 1 / -1;
}
.top-v2-address-card--nearby .top-v2-nearby-map {
  width: 100%;
}

/* 2026-11-24 メニューを「押せる」と分かる形に（オーナー承認）：親は1行ずつ区切って右に›、子は枠付きの小さなボタンを2列、シーンは見出しだけ、今いるページは青、最後に空き状況ボタン。戻すときはこのブロックとnav.htmlの変更を戻す */
#headerNav .l-nav_menuList .l-nav_menuLink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 12px 6px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0;
  color: #1f4f63;
  text-decoration: none;
  border-bottom: 1px solid #e3ecef;
}
#headerNav .l-nav_menuList .l-nav_menuLink::before,
#headerNav .l-nav_menuList .l-nav_menuLink:hover::before,
#headerNav .l-nav_menuList .l-nav_menuLink.active::before {
  content: none;
}
#headerNav .l-nav_menuList .l-nav_menuLink::after {
  content: "›";
  position: static;
  font-size: 24px;
  line-height: 1;
  color: #2f7890;
  opacity: .75;
}
#headerNav .l-nav_menuList .l-nav_menuLink:hover,
#headerNav .l-nav_menuList .l-nav_menuLink:focus-visible {
  color: #2f7890;
  opacity: 1;
}
#headerNav .l-nav_menuList .l-nav_menuLink.active,
#headerNav .l-nav_menuList .l-nav_menuLink.active:hover {
  color: #2f7890;
  padding-left: 14px;
  box-shadow: inset 4px 0 0 #2f7890;
}
#headerNav .l-nav_menuList .l-nav_menuLabel {
  margin: 18px 0 6px;
  padding: 0 6px;
  font-size: 13px;
  font-weight: 800;
  color: #6b7a82;
  letter-spacing: .06em;
}
#headerNav .l-nav_menuList .l-nav_menuSublist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 16px;
  padding: 0 2px;
  list-style: none;
}
#headerNav .l-nav_menuList .l-nav_menuSublist > li,
#headerNav .l-nav_menuList .l-nav_menuSublist .nav-item {
  margin: 0;
}
#headerNav .l-nav_menuList .l-nav_menuSublink {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 10px;
  border: 1.5px solid #cfe0e8;
  border-radius: 10px;
  background: #f5f9fb;
  color: #22343b;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
}
#headerNav .l-nav_menuList .l-nav_menuSublink::before,
#headerNav .l-nav_menuList .l-nav_menuSublink::after,
#headerNav .l-nav_menuList .l-nav_menuSublink:hover::before,
#headerNav .l-nav_menuList .l-nav_menuSublink.active::before {
  content: none;
}
#headerNav .l-nav_menuList .l-nav_menuSublink:hover,
#headerNav .l-nav_menuList .l-nav_menuSublink:focus-visible {
  border-color: #2f7890;
  background: #eaf3f6;
  color: #22343b;
  opacity: 1;
}
#headerNav .l-nav_menuList .l-nav_menuSublink.active,
#headerNav .l-nav_menuList .l-nav_menuSublink.active:hover {
  border-color: #2f7890;
  color: #2f7890;
}
#headerNav .l-nav_menuList .l-nav_menuDivider {
  border: 0;
  border-top: 1px solid #e3ecef;
  margin: 10px 0;
  height: 0;
}
#headerNav .l-nav_cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin: 22px 0 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #e6471a;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}
#headerNav .l-nav_cta:hover,
#headerNav .l-nav_cta:focus-visible {
  color: #fff;
  opacity: .9;
}

/* 2026-11-24 料金計算：選べると分かる形に（オーナー指摘）。プランは丸印つきカード、泊数と時期は実線のボタン。点線をやめる。戻すときはこのブロックとHTML/JSの変更を戻す */
.top-v2-sim-instruct { margin: 0 0 12px; color: #4a5b62; font-size: 14px; font-weight: 700; line-height: 1.6; }
.top-v2-sim .top-v2-sim-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 720px) {
  .top-v2-sim .top-v2-sim-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
}
.top-v2-sim .top-v2-sim-card { position: relative; display: block; cursor: pointer; }
.top-v2-sim .top-v2-sim-card-body {
  position: relative; display: block; height: 100%; box-sizing: border-box;
  padding: 14px 16px 14px 48px; background: #fff; color: #1f4f63;
  border: 1.5px solid #cfe0e8; border-radius: 12px;
}
.top-v2-sim .top-v2-sim-card-body strong { color: #1f4f63; font-size: 16px; font-weight: 900; line-height: 1.4; }
.top-v2-sim .top-v2-sim-card-body small { color: #4a5b62; }
.top-v2-sim .top-v2-sim-card-body::before {
  content: ""; position: absolute; left: 14px; top: 14px; width: 22px; height: 22px; box-sizing: border-box;
  border: 2px solid #8fb3c2; border-radius: 50%; background: #fff;
}
.top-v2-sim .top-v2-sim-card input:checked + .top-v2-sim-card-body {
  background: #eef6f8; color: #1f4f63; border: 2px solid #2f7890; padding: 13.5px 15.5px 13.5px 47.5px;
}
.top-v2-sim .top-v2-sim-card input:checked + .top-v2-sim-card-body small { color: #4a5b62; }
.top-v2-sim .top-v2-sim-card input:checked + .top-v2-sim-card-body::before {
  border-color: #2f7890; background: radial-gradient(circle, #2f7890 0 5px, #fff 5.5px);
}
.top-v2-sim .top-v2-sim-card input:checked + .top-v2-sim-card-body::after {
  content: "選択中"; position: absolute; top: 10px; right: 10px; padding: 2px 8px; border-radius: 999px;
  background: #2f7890; color: #fff; font-size: 11.5px; font-weight: 700; line-height: 1.5;
}
.top-v2-sim .top-v2-sim-card input:focus-visible + .top-v2-sim-card-body { outline: 3px solid #2f7890; outline-offset: 2px; }
.top-v2-sim-card-points { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.top-v2-sim-card-points li {
  margin: 0; padding: 2px 8px; background: #f1f7f9; border: 1px solid #dde6ea; border-radius: 999px;
  color: #4a5b62; font-size: 12.5px; font-weight: 700; line-height: 1.5;
}

/* 泊数 */
.top-v2-sim .top-v2-sim-question { margin: 0 0 8px; color: #1f4f63; font-size: 15px; font-weight: 700; }
.top-v2-sim .top-v2-sim-chips { max-width: 460px; }
.top-v2-sim .top-v2-sim-chip span {
  min-height: 44px; background: #fff; color: #1f4f63; border: 1.5px solid #cfe0e8; border-radius: 10px;
}
.top-v2-sim .top-v2-sim-chip input:checked + span { background: #2f7890; color: #fff; border-color: #2f7890; }
.top-v2-sim .top-v2-sim-chip input:focus-visible + span { outline: 3px solid #2f7890; outline-offset: 2px; }

/* 泊ごとの時期（2択ボタン） */
.top-v2-sim-season { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.top-v2-sim-season legend { grid-column: 1 / -1; float: none; width: auto; margin: 0 0 6px; padding: 0; color: #1f4f63; font-size: 15px; font-weight: 700; line-height: 1.5; }
.top-v2-sim-season label { position: relative; display: block; margin: 0; cursor: pointer; }
.top-v2-sim-season input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.top-v2-sim-season span {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 6px 8px; box-sizing: border-box;
  background: #fff; color: #1f4f63; border: 1.5px solid #cfe0e8; border-radius: 10px;
  font-size: 15px; font-weight: 900; line-height: 1.35; text-align: center;
}
.top-v2-sim-season input:checked + span { background: #2f7890; color: #fff; border-color: #2f7890; }
.top-v2-sim-season input:focus-visible + span { outline: 3px solid #2f7890; outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .top-v2-sim .top-v2-sim-card-body, .top-v2-sim .top-v2-sim-chip span, .top-v2-sim-season span { transition: background-color .15s, border-color .15s; }
}
/* 2026-11-24 料金計算：「選択中」の印がプラン名に重ならないよう、カードの上の線に載せる。単価表のボタンも実線に */
.top-v2-sim .top-v2-sim-card input:checked + .top-v2-sim-card-body::after,
.top-v2-sim-card input:checked + .top-v2-sim-card-body::after {
  top: -11px;
  right: 14px;
}
.top-v2-sim-fold > summary {
  border-style: solid;
  border-width: 1.5px;
  border-color: #cfe0e8;
  background: #fff;
}

/* 2026-11-24 料金計算：チェックイン・チェックアウトのカレンダー、自動の時期表示、夕食の人数 */
.top-v2-sim-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 4px; }
.top-v2-sim-dates .top-v2-sim-field { margin: 0; min-width: 0; }
.top-v2-sim-dates .top-v2-sim-input { width: 100%; max-width: none; }
@media (max-width: 560px) {
  .top-v2-sim-dates { grid-template-columns: 1fr; gap: 8px; }
}
.top-v2-sim-datenights { margin: 10px 0 8px; padding: 0; list-style: none; display: grid; gap: 8px; }
.top-v2-sim-datenights[hidden] { display: none; }
.top-v2-sim-datenight { margin: 0; padding: 10px 14px; border: 2px solid #cfe0e8; border-radius: 12px; background: #f1f7f9; }
.top-v2-sim-datenight-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0; }
.top-v2-sim-datenight-no { color: #2f7890; font-size: 15px; font-weight: 900; }
.top-v2-sim-datenight-date { color: #2e2518; font-size: 16px; font-weight: 900; }
.top-v2-sim-pill { display: inline-block; padding: 3px 12px; border: 1.5px solid #cfe0e8; border-radius: 999px; background: #fff; color: #1f4f63; font-size: 13px; font-weight: 800; line-height: 1.5; }
.top-v2-sim-pill.is-high { border-color: #2f7890; background: #2f7890; color: #fff; }
.top-v2-sim-datenight-why { display: block; margin-top: 3px; color: #665a4a; font-size: 12px; font-weight: 700; line-height: 1.6; }
.top-v2-sim-sublabel { margin: 0 0 6px; padding: 0; color: #1f4f63; font-size: 14px; font-weight: 800; }
.top-v2-sim-undecided-body { margin-top: 10px; }
.top-v2-sim-undecided-body.is-dimmed { opacity: 0.45; pointer-events: none; }
.top-v2-sim-undecided-msg { margin: 10px 0 0; font-weight: 800; }
.top-v2-sim-dinnercount { margin-top: 4px; }
.top-v2-sim-dinnercount[hidden] { display: none; }
.top-v2-sim-mealgroup { margin-top: 18px; }
.top-v2-sim-mealtitle { margin: 0 0 6px; color: #2e2518; font-size: 15px; font-weight: 900; line-height: 1.5; }
.top-v2-sim-mealgroup .top-v2-sim-mealblock[hidden] { display: none; }

/* 2026-11-24 料金計算：ページ内カレンダー（1回目のタップでチェックイン、2回目でチェックアウト） */
.top-v2-sim-cal { width: 100%; max-width: 420px; margin: 0 0 10px; padding: 12px 10px 10px; border: 1.5px solid #cfe0e8; border-radius: 14px; background: #fff; box-sizing: border-box; }
.top-v2-sim-cal-summary { min-height: 1.6em; margin: 0 0 8px; color: #1f4f63; font-size: 14px; font-weight: 800; line-height: 1.6; text-align: center; }
.top-v2-sim-cal-summary.is-done { color: #2f7890; font-size: 16px; }
.top-v2-sim-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 6px; }
.top-v2-sim-cal-title { margin: 0; color: #1f4f63; font-size: 17px; font-weight: 900; line-height: 1.4; }
.top-v2-sim-cal-nav { width: 44px; height: 40px; padding: 0; border: 1.5px solid #cfe0e8; border-radius: 10px; background: #fff; color: #2f7890; font-size: 22px; font-weight: 900; line-height: 1; cursor: pointer; }
.top-v2-sim-cal-nav:disabled { opacity: 0.35; cursor: default; }
.top-v2-sim-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.top-v2-sim-cal-dow { padding: 4px 0; color: #4a4a4a; font-size: 12px; font-weight: 800; text-align: center; }
.top-v2-sim-cal-dow.is-sun { color: #b4584f; }
.top-v2-sim-cal-dow.is-sat { color: #2f6f9a; }
.top-v2-sim-cal-day { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #2e2518; font: inherit; cursor: pointer; }
.top-v2-sim-cal-day.is-sun { color: #b4584f; }
.top-v2-sim-cal-day.is-sat { color: #2f6f9a; }
.top-v2-sim-cal-num { font-size: 15px; font-weight: 800; line-height: 1.2; }
.top-v2-sim-cal-tag { min-height: 10px; font-size: 8px; font-weight: 800; line-height: 10px; white-space: nowrap; }
.top-v2-sim-cal-day.is-high { background: #fdf1e6; }
.top-v2-sim-cal-day.is-high::after { content: ""; position: absolute; top: 4px; right: 5px; width: 5px; height: 5px; border-radius: 50%; background: #d98a3d; }
.top-v2-sim-cal-day.is-today .top-v2-sim-cal-num { text-decoration: underline; }
.top-v2-sim-cal-day.is-range { background: #dcecf2; color: #1f4f63; }
.top-v2-sim-cal-day.is-in,
.top-v2-sim-cal-day.is-out { background: #2f7890; color: #fff; }
.top-v2-sim-cal-day.is-in::after,
.top-v2-sim-cal-day.is-out::after { background: #fff; }
.top-v2-sim-cal-day:disabled { opacity: 0.3; cursor: default; }
.top-v2-sim-cal-day:focus-visible,
.top-v2-sim-cal-nav:focus-visible,
.top-v2-sim-cal-clear:focus-visible { outline: 3px solid #1f4f63; outline-offset: 1px; }
.top-v2-sim-cal-legend { margin: 8px 0 0; color: #4a4a4a; font-size: 12px; line-height: 1.6; }
.top-v2-sim-cal-legend-dot { color: #d98a3d; }
.top-v2-sim-cal-clear { margin: 6px 0 0; padding: 6px 4px; border: 0; background: transparent; color: #2f7890; font: inherit; font-size: 13px; font-weight: 800; text-decoration: underline; cursor: pointer; }
.top-v2-sim-cal-clear[hidden] { display: none; }
@media (min-width: 768px) {
  .top-v2-sim-cal-day { height: 48px; }
}

/* 2026-11-24 「かんたん宿泊料金シミュレーター」が細い枠（料金・オプションなど）ではみ出す → 言葉の切れ目（かんたん／宿泊料金シミュレーター）で2行に折る。PCでは1行のまま */
.top-v2-price-simulator-title {
  max-width: 100%;
  white-space: normal;
}
/* 2026-11-24 泊ごとの一覧をやめ、料金の区分を1行で（オーナー指摘） */
.top-v2-sim-datenights { list-style: none; margin: 8px 0 0; padding: 0; }
.top-v2-sim-datenight-sum { margin: 0; padding: 10px 12px; border-radius: 10px; background: #f1f7f9; color: #1f4f63; font-size: 13.5px; font-weight: 800; line-height: 1.6; }
/* 2026-11-24 カレンダーを真ん中寄せ（オーナー指示）。案内文も中央に */
.top-v2-sim-cal { margin-left: auto; margin-right: auto; }
.top-v2-sim-cal-guide { text-align: center; }

/* 2026-11-24 料金計算：昼食・夕食をプルダウンから写真つきカード（ラジオ）に（オーナー判断：全部の選択肢と値段を一度に見せる）。
   プランのカードと同じ実線・丸印・「選択中」。スマホ2列（340px〜）、720px〜3列。戻すときはこのブロックとHTML/JSの変更を戻す */
.top-v2-sim-mealfs { margin: 0; }
.top-v2-sim-mealfs[hidden] { display: none; }
.top-v2-sim-mealcards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px 10px; padding-top: 4px; }
@media (min-width: 340px) { .top-v2-sim-mealcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 720px) { .top-v2-sim-mealcards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; } }
.top-v2-sim-mealcard { position: relative; display: block; min-width: 0; margin: 0; cursor: pointer; }
.top-v2-sim-mealcard input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 2; }
.top-v2-sim-mealcard-body {
  position: relative; display: flex; flex-direction: column; height: 100%; box-sizing: border-box;
  background: #fff; color: #1f4f63; border: 1.5px solid #cfe0e8; border-radius: 12px;
}
/* 丸印（写真の左上に載せる） */
.top-v2-sim-mealcard-body::before {
  content: ""; position: absolute; left: 8px; top: 8px; z-index: 1; width: 22px; height: 22px; box-sizing: border-box;
  border: 2px solid #8fb3c2; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(20, 50, 65, 0.25);
}
.top-v2-sim-mealcard-photo {
  display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10.5px 10.5px 0 0; background: #f1f7f9;
}
.top-v2-sim-mealcard-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.top-v2-sim-mealcard-photo.is-blank {
  display: flex; align-items: center; justify-content: center; padding: 6px 8px; box-sizing: border-box;
  border-bottom: 1px solid #dde6ea; color: #4a5b62; font-size: 13px; font-weight: 800; line-height: 1.4; text-align: center;
}
.top-v2-sim-mealcard-text { display: block; padding: 8px 10px 10px; }
.top-v2-sim-mealcard-name { display: block; color: #1f4f63; font-size: 14px; font-weight: 900; line-height: 1.4; }
.top-v2-sim-mealcard-price { display: block; margin-top: 2px; color: #1f5d72; font-size: 14px; font-weight: 900; line-height: 1.4; }
.top-v2-sim-mealcard-off { display: block; margin-top: 4px; color: #a5540e; font-size: 11.5px; font-weight: 800; line-height: 1.45; }
.top-v2-sim-mealcard-off[hidden] { display: none; }
.top-v2-sim-mealcard input:checked + .top-v2-sim-mealcard-body {
  background: #eef6f8; border-color: #2f7890; box-shadow: 0 0 0 1px #2f7890;
}
.top-v2-sim-mealcard input:checked + .top-v2-sim-mealcard-body::before {
  border-color: #2f7890; background: radial-gradient(circle, #2f7890 0 5px, #fff 5.5px);
}
.top-v2-sim-mealcard input:checked + .top-v2-sim-mealcard-body::after {
  content: "選択中"; position: absolute; top: -10px; right: 8px; z-index: 1; padding: 1px 8px; border-radius: 999px;
  background: #2f7890; color: #fff; font-size: 11px; font-weight: 700; line-height: 1.6;
}
.top-v2-sim-mealcard input:focus-visible + .top-v2-sim-mealcard-body { outline: 3px solid #2f7890; outline-offset: 2px; }
.top-v2-sim-mealcard.is-disabled,
.top-v2-sim-mealcard.is-disabled input { cursor: not-allowed; }
.top-v2-sim-mealcard.is-disabled .top-v2-sim-mealcard-body { background: #f6f8f9; }
.top-v2-sim-mealcard.is-disabled .top-v2-sim-mealcard-photo,
.top-v2-sim-mealcard.is-disabled .top-v2-sim-mealcard-name,
.top-v2-sim-mealcard.is-disabled .top-v2-sim-mealcard-price,
.top-v2-sim-mealcard.is-disabled .top-v2-sim-mealcard-body::before { opacity: 0.45; }
@media (prefers-reduced-motion: no-preference) {
  .top-v2-sim-mealcard-body { transition: background-color .15s, border-color .15s, box-shadow .15s; }
}
/* 2泊目以降の「1泊目と同じにする」と、たたんだときの1行 */
.top-v2-sim-mealblock .top-v2-sim-samecheck { margin: 0 0 10px; }
.top-v2-sim-samesum {
  margin: 0; padding: 10px 12px; border: 1.5px solid #cfe0e8; border-radius: 10px; background: #fff;
  color: #1f4f63; font-size: 14px; font-weight: 800; line-height: 1.5;
}
.top-v2-sim-samesum[hidden] { display: none; }

/* 2026-11-24 くわしい料金計算：朝食・飲み放題・オプションの行の左に小さな写真（オーナー指示：写真を付けられるものは全部付ける）。大きなカードにはしない。戻すときはこのブロックとJSの rowThumb を消す */
.top-v2-sim-thumb {
  flex: 0 0 64px;
  display: block;
  width: 64px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #f1f7f9;
}
.top-v2-sim-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top-v2-sim-thumb.is-blank {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-sizing: border-box;
  border: 1px solid #dde6ea;
  color: #4a5b62;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}
@media (min-width: 640px) {
  .top-v2-sim-thumb { flex-basis: 80px; width: 80px; }
}
.top-v2-sim-check--photo { align-items: center; }
.top-v2-sim-check--photo input { margin-top: 0; }
.top-v2-sim-check--photo > span:last-child { flex: 1 1 auto; min-width: 0; }
.top-v2-sim-opt-top { display: flex; align-items: center; gap: 12px; }
.top-v2-sim-opt-top > .top-v2-sim-opt-head { flex: 1 1 auto; min-width: 0; }

/* 2026-11-24 点線のボタンを実線に（オーナー指示：点線は押せないように見える）。戻すときはこのブロックを消す */
/* かんたん料金計算（トップ・家族・友達・合宿・研修・料金オプション）：時期・食事のボタン、−／＋、「食事オプション」「お子さま人数」「少人数プラン」の開閉 */
.top-v2-chalk-tab,
.top-v2-chalk-step,
.top-v2-chalk-menu-summary {
  border: 1.5px solid #b9d0da;
  background-color: #fff;
}
/* 選んでいるボタン・開いている開閉は今までどおり */
.top-v2-chalk-tab.is-on {
  border-color: rgba(47, 120, 144, 0.5);
}
.top-v2-chalk-menu[open] .top-v2-chalk-menu-summary {
  border: 2px solid rgba(47, 120, 144, 0.5);
}
/* くわしい料金計算：チェックの枠（飲み放題・朝食・1泊目と同じ・地域割・リピート割）、開閉（単価表・日付が決まっていない場合）、内訳ボタン */
.top-v2-sim-check,
.top-v2-sim-sum-toggle {
  border: 1.5px solid #b9d0da;
  background-color: #fff;
}
.top-v2-sim-check:has(input:checked) {
  border-color: #2f7890;
  background-color: #eef6f8;
}
.top-v2-sim-fold > summary {
  border: 1.5px solid #b9d0da;
  background-color: #fff;
}
/* 料金・オプション：少人数プランの囲み、「日帰りプラン」「割引・お子さま料金」「少人数プラン」の開閉の下線 */
.top-v2-plan-fold {
  border: 1.5px solid #b9d0da;
  background-color: #fff;
}
.top-v2-price-card--formal .top-v2-formal-fold-summary {
  border-bottom: 1.5px solid #b9d0da;
}
/* さわったとき・キーボードで選んだときは濃い青の線 */
@media (hover: hover) {
  .top-v2-chalk-tab:hover,
  .top-v2-chalk-step:hover:not(:disabled),
  .top-v2-chalk-menu:not([open]) > .top-v2-chalk-menu-summary:hover,
  .top-v2-sim-check:hover:not(:has(input:disabled)),
  .top-v2-sim-fold > summary:hover,
  .top-v2-sim-sum-toggle:hover,
  .top-v2-plan-fold:has(> summary:hover),
  .top-v2-price-card--formal .top-v2-formal-fold-summary:hover {
    border-color: #2f7890;
  }
}
.top-v2-chalk-tab:focus-visible,
.top-v2-chalk-step:focus-visible,
.top-v2-chalk-menu:not([open]) > .top-v2-chalk-menu-summary:focus-visible,
.top-v2-sim-check:has(input:focus-visible),
.top-v2-sim-fold > summary:focus-visible,
.top-v2-sim-sum-toggle:focus-visible,
.top-v2-plan-fold:has(> summary:focus-visible),
.top-v2-price-card--formal .top-v2-formal-fold-summary:focus-visible {
  border-color: #2f7890;
}
/* 2026-11-24 スマホで「時間」「部屋」の単位が下の行に落ちる → 見出し・増減ボタン・単位を1行に */
.top-v2-sim-row { flex-wrap: nowrap; }
.top-v2-sim-row .top-v2-sim-rowlabel { flex: 1 1 auto; min-width: 0; }
.top-v2-sim-row .top-v2-sim-unit { flex: 0 0 auto; white-space: nowrap; }
/* 2026-11-24 料金計算：飲み放題を夕食から外し、ステップ4の「お飲み物」へ（オーナー承認：夕食の人数のすぐ下だと飲み放題も人数を選べると思われる）。
   飲み放題の行の「人数は選べません」の1行と、同じ欄に移した生ビール10Lのカードの間隔。戻すときはこのブロックとHTML/JSの変更を戻す */
.top-v2-sim-check-sub { display: block; margin-top: 2px; color: #665a4a; font-size: 12.5px; font-weight: 800; line-height: 1.5; }
.top-v2-sim-drinkopts { margin-top: 12px; }
.top-v2-sim-nobr { display: inline-block; white-space: nowrap; }
/* 2026-11-24 くわしい料金シミュレーター（共通の部品と料金計算の直し）
   F4：合計の欄に「人数と日付は引き継がれます」の一言・3点メモ（.reserve-reassure）・相談リンク。
       PCは「空き状況を見る」の上下（--pc）、スマホは下の固定バーが狭いので内訳を開いた中（--m）
   F5：日付未選択のときの計算の前提（#sim-basis。見た目は .top-v2-sim-sum-approx と同じ） */
.top-v2-sim-handoff { margin: 0; color: #2e2518; font-size: 12.5px; font-weight: 800; line-height: 1.5; text-align: center; }
.top-v2-sim-reserve-more { display: grid; gap: 8px; justify-items: center; }
.top-v2-sim-reserve-more .reserve-reassure { margin: 0; font-size: 12px; }
.top-v2-sim-consult.top-v2-btn-outline { display: block; width: 100%; margin: 0; padding: 10px 14px; box-sizing: border-box; font-size: 14px; text-align: center; }
.top-v2-sim-reserve-more--m { display: none; }
@media (max-width: 991.98px) {
  .top-v2-sim-reserve-more--pc { display: none; }
  .top-v2-sim-reserve-more--m { display: grid; margin: 4px 0 10px; padding: 10px 0 0; border-top: 1px solid #f2dfb6; }
}
.top-v2-sim-sum-basis[hidden] { display: none; }
/* 2026-11-24 V3（スマホの改行）：語の途中で折らないかたまりを、狭い幅でもはみ出さずに収める */
.top-v2-sim-opts { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 374.98px) {
  /* オプションの入力行：見出しを1行目、増減ボタンと単位を2行目に */
  .top-v2-sim-opt .top-v2-sim-row { flex-wrap: wrap; }
  .top-v2-sim-opt .top-v2-sim-row .top-v2-sim-rowlabel { flex: 1 0 100%; }
  .top-v2-sim-opt .top-v2-sim-row .top-v2-sim-stepper { margin-left: 0; }
  /* 朝食・飲み放題の行：写真を小さく、余白を詰める */
  .top-v2-sim-mealblock { padding: 10px; }
  .top-v2-sim-check--photo { gap: 8px; padding: 10px; font-size: 13px; }
  .top-v2-sim-check--photo .top-v2-sim-thumb { flex-basis: 44px; width: 44px; }
}
@media (max-width: 374.98px) {
  /* オプション名：行いっぱいに置き、ふつうの改行に（auto-phrase だと「部／屋分け」や枠外はみ出しが起きる） */
  .l-main #sim-form .top-v2-sim-opt .top-v2-sim-opt-name { flex: 1 1 100%; font-size: 15px; word-break: normal; --bx-ws: initial; text-wrap: wrap; }
  .l-main #sim-form .top-v2-sim-opt .top-v2-sim-opt-title { flex: 1 1 100%; }
}
/* ==========================================================================
   2026-11-24 見た目の直し（点検 docs/site-audit-2026-11-24.md の V1〜V14 と申し送り。オーナー承認済み）
   ========================================================================== */
/* V1 パンくずと大見出しの間（スマホ104px・PC120px）を半分ほどに。#hero を使う下層ページ全部が同じ値 */
#hero.top-v2-scene-section { padding-top: 24px !important; }
.top-v2-scene-hero { padding-top: 28px; }
@media (min-width: 992px) {
  #hero.top-v2-scene-section { padding-top: 20px !important; }
  .top-v2-scene-hero { padding-top: 28px; }
  /* PC 1280×800 の最初の画面に「1人 7,900円〜」まで入るよう、ヒーローの中の縦の間隔を少しだけ詰める */
  .top-v2-scene-hero h1 { margin-bottom: 12px; }
  .top-v2-scene-hero .top-v2-scene-lead { margin-bottom: 20px; }
  .top-v2-scene-hero-actions { row-gap: 12px; }
  .top-v2-scene-hero .hero-price-line { margin-top: 12px; }
}
/* V2 「定番の過ごし方」のカード（スマホ）：均等割り(balance)で文の幅が半分ほどになり、語の途中で折れていた → 行いっぱいに流す */
@media (max-width: 767px) {
  .top-v2-scene-card-body h3,
  .top-v2-scene-card-body p { text-wrap: pretty; }
}
/* V5 縁取りボタンが2つ並ぶ所（「あそびを全部見る」「食事・オプションを見る」ほか）がくっつく → 間を空ける（PCは左右14px、スマホは上下12px） */
.top-v2-actions:has(> .top-v2-btn-outline + .top-v2-btn-outline) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
}
@media (max-width: 767px) {
  .top-v2-actions:has(> .top-v2-btn-outline + .top-v2-btn-outline) { flex-direction: column; align-items: stretch; }
}
/* V7 お問い合わせの送信ボタン：.btn-orange の右の矢印用の余白（input には矢印が出ない）で「送信」が左に寄っていた → 左右同じ余白で真ん中に */
.top-v2-form-submit input[type="submit"].btn {
  padding-left: 40px;
  padding-right: 40px;
  text-align: center;
}
/* V8 フッターの下の言語切り替え（English／日本語）：白地に別の大きさで出ていた → フッターと同じ地の色・文字で、フッターの続きに見せる。
   下の白い空き（スマホ約200px）の理由は、①旧・右下の丸い予約ボタン用の余白 104px（B6、いまは丸ボタンを出さない）、
   ②WPMLの下余白 30px、③予約バー用の body の下余白 70px の三重。①②をやめ、③（予約バーが中身を隠さないための分）だけ残す。
   あわせて、フッターの中の下余白（スマホ 52px。これも丸ボタン用）を詰める。
   WPMLのCSS（あとから読み込まれる・ページ内の style）に勝つよう、セレクタを強めにしてある */
html body div.wpml-ls-statics-footer.wpml-ls-legacy-list-horizontal {
  margin: 0;
  padding: 0 16px 24px;
  border: 0;
  background: #006d88;
}
html body div.wpml-ls-statics-footer.wpml-ls li.wpml-ls-item a.wpml-ls-link {
  padding: 4px 10px;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
html body div.wpml-ls-statics-footer.wpml-ls li.wpml-ls-item a.wpml-ls-link:hover,
html body div.wpml-ls-statics-footer.wpml-ls li.wpml-ls-item a.wpml-ls-link:focus-visible { background: transparent; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
html body div.wpml-ls-statics-footer.wpml-ls li.wpml-ls-current-language a.wpml-ls-link { opacity: 0.8; }
@media (max-width: 767px) {
  html body:not(.top-v2-sim-page) div.wpml-ls-statics-footer.wpml-ls-legacy-list-horizontal { padding-bottom: 16px; }
  #footer .l-footer_inner { padding-bottom: 0; }
}
footer#footer.l-footer { padding-bottom: 20px !important; }
/* 予約バーの出る幅では、body の下余白（予約バーの高さ分）もフッターの色にして、白い帯に見せない */
@media (max-width: 991.98px) {
  html:has(> body:not(.sample-cro):not(.top-v2-sim-page)) { background-color: #fff; } /* 画面の上下の引っぱり（iOS）では白のまま */
  body:not(.sample-cro):not(.top-v2-sim-page) { background-color: #006d88; }
  body:not(.sample-cro):not(.top-v2-sim-page) .l-wrapper { background-color: #fff; }
  /* 2026-11-26 上の白い背景（.l-wrapper）の裏に、トップの最後の登り棒の絵（.l-main_bg、z-index:-1）が隠れて、場所だけ空白になっていた。
     絵を背景より手前へ。絵の下の端は .l-main の overflow で、これまでどおりフッターの上端で切れる */
  .l-main_bg { z-index: 0; }
}
/* V14 PC右下の人物の予約ボタン（「予約する人、この指、と〜まれっ!」）：1280px前後でカードの右端・帯・フッターの著作権表示に重なる
   → 1439pxまでは小さく（129→88px）右へ寄せる（right 40→12px）。フッターの右寄せの文字は、ボタンの分だけ左へ逃がす。1440px以上は今のまま */
@media (min-width: 992px) and (max-width: 1439.98px) {
  .l-footer_reserve { width: 88px; right: 12px; bottom: 64px; }
  #footer .l-footer_copy { padding-right: 96px; }
}
/* V9 遊び（PC）のチェックインの枠：3つの項目が縦線つきで横に流れ、2行目が「｜チェックアウト」と縦線から始まっていた
   → 1行目「チェックイン｜※給食…」、2行目「チェックアウト」に分け、2行目の頭の縦線を消す */
.l-stay_infoTitle > span + span + span:last-child {
  display: flex;
  justify-content: center;
}
.l-stay_infoTitle > span + span + span:last-child::before { content: none; }
/* V10 料金・オプション（PC）の黒板：枠いっぱい（760px）で中の文字は3行だけ → トップの黒板（約626px）と同じくらいに絞る */
@media (min-width: 992px) {
  .top-v2-price-card + .top-v2-price-simulator .top-v2-chalkboard--art { max-width: 620px; }
}
/* V11 トップ（スマホ）：「クチコミ＆SNSをもっと見る」の下に、バスケの男の絵だけで約200〜300pxの空き → 絵を小さくし、ボタンの右下へ寄せて詰める */
@media (max-width: 767px) {
  #landscape .l-album_bgRightbtm {
    --w: 40vw;
    margin-top: calc(var(--w) * -0.34 - 34px);
    margin-right: calc(var(--w) * -0.3);
  }
}
/* V12 カタショーについて
   ・スマホ：物語の文が「2018年に／株式会社マキノハラボが…」と句のかたまりで折れて右が大きく空く → ふつうの折り返しにする
   ・リード「ここが誰かの母校だった／ことも、」の均等割り → 行いっぱいに流してから折る
   ・校歌の横スクロール枠の左端で文字が切れて見える → 左端をぼかして「続きがある」と分かる見せ方に
   ・PC：最後の「空き状況を見る」と「遊びをぜんぶ見る」の高さと上端がずれる → 上端と高さをそろえる */
@media (max-width: 767px) {
  .top-v2-about-story-card p:not(.top-v2-about-story-emphasis) { word-break: normal; --bx-ws: initial; overflow-wrap: anywhere; text-wrap: pretty; }
  #song .top-v2-about-center { text-wrap: pretty; }
  .top-v2-about-song-scroll {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 28px);
    mask-image: linear-gradient(to right, transparent 0, #000 28px);
  }
}
@media (min-width: 768px) {
  .top-v2-about-cta-actions { align-items: flex-start; }
  .top-v2-about-cta-actions .top-v2-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 74px;
    box-sizing: border-box;
  }
}
/* 申し送り：インライン style をクラスに（お問い合わせ・クチコミ＆SNS） */
/* カードの中の文のあとに置くボタン（お問い合わせの分流カード、SNSのカード） */
.top-v2-card-cta,
.top-v2-scene-card-body p.top-v2-card-cta { margin: 18px 0 0; }
/* お問い合わせ：「お問い合わせ内容」の見出しの下の書き方の説明 */
.top-v2-form-hint { margin: 0 0 8px; color: #2e2518; font-size: 14px; font-weight: 500; line-height: 1.7; text-wrap: pretty; }
/* お問い合わせ：最初の画面の電話・フォームへの近道（電話番号と受付時間は途中で折らない） */
.top-v2-scene-lead.top-v2-contact-quick { margin: 0; font-size: 15px; line-height: 1.9; }
/* クチコミ＆SNS：節の終わりの中央の一言（「あなたの集まりは？」など） */
.top-v2-scene-lead.top-v2-lead-center-gap { margin: 40px 0 0; text-align: center; }
/* クチコミ＆SNS：「友達と／家族で／合宿で／研修・会議で」の4つの入口（全角スペース区切りをやめ、すき間で並べる） */
.top-v2-actions.top-v2-scene-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin-top: 12px;
}
/* V13 クチコミ＆SNS（PC）：X のカードが Instagram のカードの高さに引き伸ばされ、中が大きく空いていた → 中身の高さに */
#sns .top-v2-scene-cards { align-items: start; }
/* 申し送り：カタショーについての最後の節。足したリンク2行（料金・オプション／4つの入口）の間が36pxずつ空いて間延びしていた → 2行目は詰める */
.top-v2-about-cta-actions ~ .top-v2-actions + .top-v2-actions { margin-top: 14px; }
/* 申し送り：校内マップの「フロア案内図」。説明文（左寄せ）の下に足した案内の1行が中央寄せでそろっていなかった → 左寄せにそろえる */
#floors .top-v2-scene-lead + .top-v2-timeline-note { margin-left: 0; margin-right: 0; max-width: none; text-align: left; }
#floors .top-v2-scene-lead:has(+ .top-v2-timeline-note) { margin-bottom: 8px; }
/* 2026-11-24 ページ内リンクで「よくある質問」の1問へ飛んだとき、質問の見出しが右上のメニューボタンの下に隠れないようにする（家族ページ「部屋分けの料金 →」ほか） */
details.faq[id] { scroll-margin-top: 96px; }
/* 2026-11-25 アクセス：地図のピンの名前（カタショー・ワンラボ南駐車場）が、ページの呼び方（第1〜第4駐車場）と違うので、地図の下に対応を1行で書く。所在地の表の注記と同じ小さな灰色の字 */
.top-v2-map-frame .top-v2-map-pin-note {
  margin: 10px 4px 2px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #6b7a82;
}
/* 2026-11-25 スマホ幅で、ポップアップ下のボタンが右にはみ出す（width:100% + 左右margin16px）のを、全部のポップアップで是正。
   これまでは #stay-room-dialog と #stay-option-room-dialog だけ直してあり、料金・オプションの「少人数プラン」のポップアップ（料金を確認する）が漏れていた */
@media (max-width: 575px) {
  .top-v2-scenedialog-actions .top-v2-btn-outline {
    box-sizing: border-box;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

/* 2026-11-25 料金計算：ハイシーズンの期間を、ボタンのすぐ下にいつも見える1行で（ⓘから出した）。
   人物シミュレーションで、ハイシーズンの平日に泊まる人の多くが「平日」のまま見積もったため */
/* 2026-11-26 長い1文（結論・期間・例外）が5行に折れて読みにくかったので、見出し1行＋期間の札4つ＋小さな注に分けた。期間はいつも見えるまま */
.top-v2-season-note {
  /* トップと料金オプションでは、親がPCで横並び（flex）。1行ぶんを丸ごと使い、中央に置く */
  flex: 0 0 100%;
  box-sizing: border-box;
  width: 100%;
  max-width: 30em;
  margin: 2px auto 14px;
  padding: 10px 10px 9px;
  background: #fff8e8;
  border-radius: 10px;
  color: #4e4538;
  text-align: center;
}
.top-v2-season-note-head {
  margin: 0 0 7px;
  color: #2f7890;
  font-size: 13.5px;
  font-weight: 900;
  line-height: 1.4;
}
.top-v2-season-note-dates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.top-v2-season-note-dates li {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 5px 4px;
  background: #fff;
  border: 1px solid #ead8b5;
  border-radius: 999px;
  color: #4e4538;
  flex-wrap: wrap;
  align-content: center;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.3;
}
/* 枠がせまいとき（料金オプションの小さい画面など）は、名前と日付を2行に分ける。どちらも途中では切らない */
.top-v2-season-note-dates li b { color: #c8642a; font-weight: 900; white-space: nowrap; }
.top-v2-season-note-dates li span { white-space: nowrap; }
.top-v2-season-note-sub {
  margin: 7px 0 0;
  color: #665a4a;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.5;
}
/* トップと料金オプションのPCでは、親が6列のグリッド。全部の列を使って中央に置く */
.top-v2-price-simulator-controls > .top-v2-season-note { grid-column: 1 / -1; justify-self: center; }
@media (max-width: 374px) {
  .top-v2-season-note { padding-left: 8px; padding-right: 8px; }
  .top-v2-season-note-dates li { gap: 4px; padding-left: 3px; padding-right: 3px; font-size: 12px; }
}
/* 黒板の中：平日を選んでいるあいだだけ出す「夏休み・春休み・GW・年末年始は、平日も ◯円〜」 */
.top-v2-chalkboard--art .top-v2-chalk-sub .top-v2-chalk-season-hint {
  flex-basis: 100%;
  text-align: center;
  color: #f4b271;
}
/* 黒板の中の1行は、スマホ幅では黒板のすぐ下に出す（黒板に入りきらないため）。JSが両方を作り、幅で片方だけ見せる */
.top-v2-chalk-season-hint-below {
  margin: 10px auto 0;
  max-width: 34em;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
  color: #a5540e;
  text-align: center;
  text-wrap: pretty;
}
@media (max-width: 767px) {
  .top-v2-chalkboard--art .top-v2-chalk-sub .top-v2-chalk-season-hint { display: none; }
}
@media (min-width: 768px) {
  .top-v2-chalk-season-hint-below { display: none; }
}
@media (max-width: 767px) {
  /* 黒板のすぐ下の1行は、黒板にくっつけて出し、下の「※ 20名くらいまでなら…」とは間をあける */
  .top-v2-chalkboard--art:has(+ .top-v2-chalk-season-hint-below:not([hidden])) { margin-bottom: 6px; }
  .top-v2-chalk-season-hint-below { margin: 6px auto 12px; }
}
@media (max-width: 767px) {
  /* 場面ページの料金欄（#price）の黒板の余白指定より強くする */
  #price .top-v2-chalkboard--art:has(+ .top-v2-chalk-season-hint-below:not([hidden])),
  #banner .top-v2-chalkboard--art:has(+ .top-v2-chalk-season-hint-below:not([hidden])) { margin-bottom: 6px; }
}

/* 2026-11-25 FAQ検索 */
/* 0件のとき：近い言葉のボタン（faq-search.js が作る） */
.top-v2-faq-suggest {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
  margin: 10px 0 0;
}
.top-v2-faq-suggest[hidden] { display: none; }
.top-v2-faq-suggest-label {
  color: #2a4750;
  font-size: 14px;
  font-weight: 700;
}
.top-v2-faq-suggest-btn {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 16px;
  border: 1px solid #2f7890;
  border-radius: 999px;
  background: #fff;
  color: #2f7890;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
}
.top-v2-faq-suggest-btn:hover,
.top-v2-faq-suggest-btn:focus-visible {
  background: #2f7890;
  color: #fff;
}
/* 0件のとき：ほかのページへの道と、聞く先 */
.top-v2-faq-zero {
  max-width: 560px;
  margin: 24px auto 0;
  padding: 18px 20px;
  border: 1px solid #d5e2e8;
  border-radius: 14px;
  background: #fff;
  text-align: left;
}
.top-v2-faq-zero[hidden] { display: none; }
.top-v2-faq-zero-title {
  margin: 0 0 6px;
  color: #24434e;
  font-size: 15px;
  font-weight: 900;
}
.top-v2-faq-zero-links + .top-v2-faq-zero-title { margin-top: 16px; }
.top-v2-faq-zero-links {
  margin: 0;
  padding: 0;
  list-style: none;
}
.top-v2-faq-zero-links li + li { border-top: 1px dashed #d5e2e8; }
.top-v2-faq-zero-links a {
  display: block;
  padding: 10px 2px;
  color: #2a4750;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.top-v2-faq-zero-links a span {
  color: #2f7890;
  font-weight: 800;
  text-decoration: underline;
}
.top-v2-faq-zero-ask {
  margin: 0;
  color: #2a4750;
  font-size: 15px;
}
.top-v2-faq-zero-ask a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #2f7890;
  font-weight: 800;
  text-decoration: underline;
}
.top-v2-faq-zero-reset {
  margin: 14px 0 0;
  text-align: center;
}
.top-v2-faq-zero-clear {
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid #d5e2e8;
  border-radius: 999px;
  background: #f6f9fb;
  color: #24434e;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.top-v2-faq-zero-clear:hover,
.top-v2-faq-zero-clear:focus-visible { border-color: #2f7890; color: #2f7890; }
@media (max-width: 420px) {
  .top-v2-faq-zero { padding: 14px 16px; }
}
/* 答えの中の備品の一覧（調理器具） */
.top-v2-faq-equip {
  margin: 8px 0 10px;
  padding: 0;
  list-style: none;
}
.top-v2-faq-equip li {
  padding: 6px 0;
  border-top: 1px dashed #d5e2e8;
}
.top-v2-faq-equip li:first-child { border-top: 0; }
.top-v2-faq-equip b {
  display: block;
  color: #2f7890;
  font-size: 0.92em;
  font-weight: 900;
}

/* =========================================================
   2026-11-25 キーボードの「いまここ」の印・入力欄・動きを減らす設定
   （人物シミュレーション 第2弾。docs/persona-simulation-2026-11-25/S02.md の A1・A2・B3・B9・C6）
   元のテーマの lp-style.css の *:focus{outline:none} と、app.min.css の
   .l-header_btnMenu:focus / .faq_title:focus {outline:0} が印を消していた。
   テーマのファイルは触らず、ここで上書きする（要素名を付けて詳細度で勝つ。
   個別に印を決めている部品は、そちらの指定がそのまま勝つ）。
   色 #1f4f63 は白地 8.91:1、灰色地 #ecedf2 7.62:1（基準 3:1）。
   ========================================================= */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible,
button.l-header_btnMenu:focus-visible,
summary.faq_title:focus-visible,
button.btn-close:focus-visible {
  outline: 3px solid #1f4f63;
  outline-offset: 2px;
}
/* 濃い青緑の上（フッター・追いかけてくるメニューの四角）は白い輪 */
.l-footer a:focus-visible,
.wpml-ls-statics-footer a:focus-visible,
.l-header_btn--fixed button.l-header_btnMenu:focus-visible {
  outline-color: #fff;
}
/* 校内マップの部屋ボタン：枠の色が変わるだけだったので、輪も出す */
.top-v2-maproom-hotspot:focus-visible {
  outline: 3px solid #1f4f63;
  outline-offset: 2px;
}

/* スマホ幅：Tab で進んだとき、いまいる場所が下の予約バーに隠れないように */
@media (max-width: 991.98px) {
  html { scroll-padding-bottom: 84px; }
}

/* お問い合わせ：入力欄の字を16pxに（16px未満だと iPhone が入力のたびに画面を拡大する）。
   枠線を白地 3:1 以上の色に */
.top-v2-form-row input[type="text"],
.top-v2-form-row input[type="email"],
.top-v2-form-row input[type="tel"],
.top-v2-form-row textarea {
  font-size: 16px;
  border-color: #5f93a3;
}

/* 動きを減らす設定の人：遊びの札の帯を、指とキーボードで横に動かせるようにする
   （前の指定 overflow-x:auto が、あとの overflow:hidden に負けていた） */
@media (prefers-reduced-motion: reduce) {
  .top-v2-playroll .top-v2-playroll-viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* 2026-11-25 第3弾 文と電話 */
.top-v2-scene-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
  color: #2f7890;
}
@media (min-width: 768px) {
  .top-v2-scene-kicker { font-size: 14px; }
}
.top-v2-hero-tel {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.8;
}
.top-v2-hero-tel a { font-weight: 700; white-space: nowrap; }
@media (max-width: 767px) {
  /* スマホは上の3点メモ・ボタンと同じく中央に。1行に収める */
  .top-v2-hero-tel { margin-top: 10px; font-size: 13px; text-align: center; }
}
.top-v2-stay-facts {
  list-style: none;
  margin: 28px auto 0;
  padding: 0;
  max-width: 760px;
  text-align: left;
}
.top-v2-stay-facts li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 1.3em;
  font-size: 15px;
  line-height: 1.8;
}
.top-v2-stay-facts li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: #2f7890;
  font-size: .8em;
}
.top-v2-access-jump { margin: 12px 0 0; justify-content: center; display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 700; }
.top-v2-total-note { margin-left: .5em; font-size: 12px; font-weight: 400; }
.top-v2-form-help { margin: 6px 0 0; font-size: 13px; line-height: 1.7; }
.top-v2-form-optional {
  margin-left: .6em;
  font-size: 12px;
  font-weight: 400;
  color: #5b6b70;
}
.l-footer_tel { margin-top: 6px !important; }
.l-footer_tel a { color: inherit; font-weight: 700; text-decoration: underline; white-space: nowrap; }
.l-footer_telhours { margin-left: .4em; font-size: 13px; white-space: nowrap; }
.l-nav_tel { margin: 16px 0 0; font-size: 14px; line-height: 1.7; text-align: center; }
.l-nav_tel a { font-weight: 700; white-space: nowrap; }
.l-nav_telhours { display: block; font-size: 12px; }

/* 2026-11-25 第3弾 黒板 */
/* 式（人数の並び）：JS が1かたまりずつ折れない部品にしているので、幅がせまい・字が大きいときはかたまりの切れ目で折る */
.top-v2-chalkboard--art .top-v2-chalk-formula { white-space: normal; text-wrap: balance; line-height: 1.3; margin-inline: -5%; }
/* 予約ボタンの下の3点メモ（予約時の人数は概算でOK／変更は10日前まで／お支払い）：14px以上。スマホは縦に3行 */
.reserve-reassure,
.top-v2-sim-reserve-more .reserve-reassure { font-size: 14px; line-height: 1.7; }
@media (max-width: 767px) {
  .reserve-reassure,
  .top-v2-sim-reserve-more .reserve-reassure { font-size: 14px; }
  .reserve-reassure > span { display: block; }
  .reserve-reassure > span:not(:last-child)::after { content: none; }
}
/* 黒板の高さ：絵と同じ縦横比を「最低の高さ」にして、文字の量が多い・字が大きいときは、黒板の絵のほうを縦に伸ばす
   （文字が絵の枠やチョーク・黒板消しに重ならないように）。文字が少ないときは今までと同じ見た目（文字は同じ位置の中央）。
   上下の余白は絵の中の位置（黒板の中の「今日の算数」の印の下・チョーク受けの上）を黒板の幅に対する割合（cqw）で持つ */
.top-v2-chalkboard--art {
  container-type: inline-size;
  aspect-ratio: 1400 / 809;
  display: flex;
  flex-direction: column;
  justify-content: center;
  --cb-top: 17.34cqw;
  --cb-bottom: 12.71cqw;
  --cb-side: 11%;
}
.top-v2-chalkboard--art .top-v2-chalkboard-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.top-v2-chalkboard--art .top-v2-chalkboard-write {
  position: relative;
  inset: auto;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 100%;
  padding: var(--cb-top) var(--cb-side) var(--cb-bottom);
  gap: 8px;
}
@media (max-width: 767px) {
  .top-v2-chalkboard--art { --cb-top: 15.6cqw; --cb-bottom: 8.09cqw; }
  .top-v2-chalkboard--art .top-v2-chalkboard-write { gap: 3px; }
}
@media (max-width: 575px) {
  .top-v2-chalkboard--art { aspect-ratio: 1400 / 1000; --cb-top: 19.3cqw; --cb-bottom: 10cqw; }
  .top-v2-chalkboard--art .top-v2-chalkboard-write { gap: 4px; }
  .top-v2-chalkboard--art .top-v2-chalk-answer { padding: 3px 18px; line-height: 1.3; }
  .top-v2-chalkboard--art .top-v2-chalk-sub { gap: 2px 12px; line-height: 1.35; }
  /* 単価の3行：おとな・小学生は並べて、入りきらない（字が大きい）ときは1つずつ下の行へ。3〜5歳と「（宿泊のみ…）」はそれぞれ1行 */
  .top-v2-chalkboard--art .top-v2-chalk-unitline { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 12px; }
  .top-v2-chalkboard--art .top-v2-chalk-unitpart:nth-child(3),
  .top-v2-chalkboard--art .top-v2-chalk-unitnote { flex: 1 1 100%; text-align: center; }
}
/* カードの中に入った黒板（トップ・料金オプション）は、カードの余白ぶん狭くなるので、左右の余白へ少し広げる */
@media (max-width: 575px) {
  .top-v2-price-simulator .top-v2-chalkboard--art { margin-left: -12px; margin-right: -12px; }
}
@media (max-width: 399px) {
  .top-v2-chalkboard--art { aspect-ratio: 1400 / 1160; --cb-top: 21.5cqw; --cb-bottom: 14.1cqw; --cb-side: 7%; }
  .top-v2-chalkboard--art .top-v2-chalk-sub { line-height: 1.25; }
}
@media (max-width: 340px) {
  .top-v2-chalkboard--art { aspect-ratio: 1400 / 1220; --cb-top: 24cqw; --cb-bottom: 13.9cqw; }
}
/* スマホ下の予約バーの「※平日・少人数プラン」 */
@media (max-width: 991.98px) {
  .reserve-bar-cond { font-size: 13px; }
}

/* 2026-11-25 第4弾 A・B ヘッダーの文字と「メニュー」
   A: 中の全ページの左上に「カタショー」の文字ロゴ（トップと同じ作り。SNSは右へ移動済み）。
      文字ロゴ側の見た目は上の .top-v2-header-textlogo 系をそのまま使う。
   B: 三本線の下に「メニュー」の文字を添える（三本線だけでは分からないという声への対応）。
      文字の12px以上、押せる範囲は44px以上。追いかけてくる四角の上では白い文字。 */
button.l-header_btnMenu {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 44px;
  min-height: 44px;
  padding: 2px 4px;
  cursor: pointer;
}
.l-header_btnMenuLabel {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: #2f7890;
}
/* 追いかけてくるメニュー（濃い青緑の四角）: 文字は白、四角は文字ぶん少し詰める */
.l-header_btn--fixed button.l-header_btnMenu {
  padding: 22px 26px;
  gap: 8px;
}
.l-header_btn--fixed .l-header_btnMenuLabel {
  color: #fff;
}
@media screen and (max-width: 575px) {
  .l-header_btn--fixed button.l-header_btnMenu {
    padding: 8px 10px;
    gap: 4px;
  }
}
/* 320px幅: 予約ボタンの「（空き状況）」を外し、中央の校章と重ならないようにする
   （従来から320pxでは校章と予約ボタンが触れていた。文字ロゴを左に置いたぶんの余裕もここで確保） */
@media screen and (max-width: 359px) {
  .l-header_btnReserve .u-sm {
    display: none;
  }
}

/* 2026-11-25 第4弾 C・D・F 場面ページの黒板の下・比べ表・料金の行 */
/* F：ヒーローの「1人 7,900円〜」の行を、説明文のすぐ下・赤いボタンの上へ。説明文の下の空きを詰めて、行と赤いボタンを近づける */
.top-v2-scene-hero .top-v2-scene-lead + .hero-price-line { margin: -10px 0 16px; }
@media (max-width: 767px) {
  .top-v2-scene-hero .top-v2-scene-lead + .hero-price-line { margin: -12px 0 14px; }
}
@media (min-width: 992px) {
  /* PCは前の「.top-v2-scene-hero .hero-price-line { margin-top: 12px; }」より後ろに置いて、上の空きを打ち消す */
  .top-v2-scene-hero .top-v2-scene-lead + .hero-price-line { margin: -8px 0 14px; }
}

/* C：黒板の答えのすぐ下の「予約ボタン → LINEで送る → 料金・オプションを見る（文字リンク）」 */
.top-v2-price-actions--board {
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.top-v2-price-actions--board .top-v2-cta-big { width: auto; }
@media (max-width: 767px) {
  .top-v2-price-actions--board .reserve-cta { width: 100%; }
  .top-v2-price-actions--board .top-v2-cta-big { width: 100%; box-sizing: border-box; }
}
/* 「この人数で、空き状況を見る」は文字数が多いので、375px前後でも1行に収まるよう字を少しだけ小さく */
@media (max-width: 420px) {
  .top-v2-price-actions--board .top-v2-cta-big { font-size: 16px; }
}
/* LINEで送るボタン：赤い予約ボタンより小さく（LINEの緑はこのボタンだけ） */
.top-v2-board-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 22px;
  border: 2px solid #06C755;
  border-radius: 999px;
  background: #06C755;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
  box-sizing: border-box;
}
.top-v2-board-line:hover,
.top-v2-board-line:focus-visible { background: #05b34c; border-color: #05b34c; color: #fff; }
.top-v2-board-line:focus-visible { outline: 3px solid #1f4f63; outline-offset: 3px; }

/* C：ページの最後の「LINEでみんなに送る」は、上の赤い予約ボタンより小さく（幅もせまく、高さも低く） */
.top-v2-scene-finalcta .top-v2-share { margin-top: 18px; }
.top-v2-scene-finalcta .top-v2-share .top-v2-btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 8px 20px;
  border-width: 2px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  box-sizing: border-box;
}

/* D：少人数プラン／スタンダードプランの比べ表（落ち着いた紙のカード。マスキングテープはなし） */
.top-v2-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.top-v2-plan-compare {
  max-width: 880px;
  margin: 40px auto 0;
  padding: 18px 20px 16px;
  background: #fff;
  border: 1px solid rgba(47, 120, 144, 0.28);
  border-radius: 12px;
  color: #2e2518;
  box-sizing: border-box;
}
.top-v2-plan-compare-title {
  margin: 0 0 12px;
  color: #2f7890;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
}
.top-v2-plan-compare table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.top-v2-plan-compare th,
.top-v2-plan-compare td {
  padding: 10px 12px;
  border-top: 1px solid rgba(47, 120, 144, 0.18);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
  text-align: left;
  vertical-align: top;
  /* 「5,000／円」のように数字と単位の間で切れないよう、言葉のまとまりで折る（対応していないブラウザはふつうの折り返し） */
  word-break: auto-phrase;
  overflow-wrap: break-word;
}
.top-v2-plan-compare thead th {
  border-top: 0;
  border-bottom: 2px solid #2f7890;
  background: #fff8e8;
  color: #2f7890;
  font-weight: 900;
  text-align: center;
  vertical-align: middle;
}
.top-v2-plan-compare thead th small {
  display: block;
  color: #665a4a;
  font-size: 12px;
  font-weight: 700;
}
.top-v2-plan-compare thead th:first-child { width: 20%; }
.top-v2-plan-compare tbody th {
  width: 20%;
  color: #2f7890;
  font-weight: 900;
}
.top-v2-plan-compare tbody tr:nth-child(even) > * { background: rgba(255, 248, 232, 0.55); }
.top-v2-plan-compare-note {
  margin: 10px 0 0;
  color: #665a4a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}
/* 場面ページの短い版：4行。黒板と料金の注意事項のあいだに置く */
.top-v2-plan-compare--short { max-width: 560px; margin: 28px auto 24px; padding: 14px 14px 12px; }
.top-v2-plan-compare--short .top-v2-plan-compare-title { margin-bottom: 8px; font-size: 16px; }
.top-v2-plan-compare--short th,
.top-v2-plan-compare--short td { padding: 8px 8px; font-size: 13px; line-height: 1.55; }
.top-v2-plan-compare--short thead th { font-size: 13px; }
.top-v2-plan-compare--short thead th small { font-size: 12px; }
.top-v2-plan-compare--short tbody th,
.top-v2-plan-compare--short thead th:first-child { width: 22%; }
.top-v2-plan-compare-link { margin: 8px 0 0; text-align: center; font-size: 14px; }
@media (max-width: 767px) {
  .top-v2-plan-compare { margin-left: 0; margin-right: 0; padding: 14px 10px 12px; }
  .top-v2-plan-compare-title { font-size: 16px; }
  .top-v2-plan-compare th,
  .top-v2-plan-compare td { padding: 8px 6px; font-size: 13px; line-height: 1.55; }
  .top-v2-plan-compare tbody th,
  .top-v2-plan-compare thead th:first-child { width: 25%; }
}
/* とてもせまい画面（320px前後）は、1行ごとに「項目 → 少人数 → スタンダード」と縦に積む */
/* 見出しの「スタンダードプラン」が途中で折れないよう、見出しの左右の余白をせまく（短い版・スマホ） */
@media (max-width: 767px) {
  .top-v2-plan-compare thead th { padding-left: 3px; padding-right: 3px; }
}
/* 長い版（オプションの比べ表）はスマホで、1行ごとに「項目 → 少人数 → スタンダード」と縦に積む。短い版は、とてもせまい画面（320px前後）だけ縦に積む */
@media (max-width: 767px) {
  .top-v2-plan-compare:not(.top-v2-plan-compare--short) thead { display: none; }
  .top-v2-plan-compare:not(.top-v2-plan-compare--short) table,
  .top-v2-plan-compare:not(.top-v2-plan-compare--short) tbody,
  .top-v2-plan-compare:not(.top-v2-plan-compare--short) tr,
  .top-v2-plan-compare:not(.top-v2-plan-compare--short) th,
  .top-v2-plan-compare:not(.top-v2-plan-compare--short) td { display: block; width: 100%; }
  .top-v2-plan-compare:not(.top-v2-plan-compare--short) tbody th { width: 100%; padding: 8px 8px 4px; background: #fff8e8; }
  .top-v2-plan-compare:not(.top-v2-plan-compare--short) td { padding: 4px 8px; border-top: 0; background: transparent; }
  .top-v2-plan-compare:not(.top-v2-plan-compare--short) tbody tr:nth-child(even) > td { background: transparent; }
  .top-v2-plan-compare:not(.top-v2-plan-compare--short) tbody tr { padding-bottom: 6px; border-top: 1px solid rgba(47, 120, 144, 0.18); }
  .top-v2-plan-compare:not(.top-v2-plan-compare--short) td:nth-of-type(1)::before { content: "少人数プラン"; color: #2f7890; font-weight: 900; display: block; font-size: 12px; }
  .top-v2-plan-compare:not(.top-v2-plan-compare--short) td:nth-of-type(2)::before { content: "スタンダードプラン"; color: #2f7890; font-weight: 900; display: block; font-size: 12px; }
}
@media (max-width: 359px) {
  .top-v2-plan-compare--short thead { display: none; }
  .top-v2-plan-compare--short table,
  .top-v2-plan-compare--short tbody,
  .top-v2-plan-compare--short tr,
  .top-v2-plan-compare--short th,
  .top-v2-plan-compare--short td { display: block; width: 100%; }
  .top-v2-plan-compare--short tbody th { width: 100%; padding-bottom: 2px; background: #fff8e8; }
  .top-v2-plan-compare--short td:nth-of-type(1)::before { content: "少人数プラン　"; color: #2f7890; font-weight: 900; }
  .top-v2-plan-compare--short td:nth-of-type(2)::before { content: "スタンダード　"; color: #2f7890; font-weight: 900; }
}

/* 2026-11-25 第4弾 E トップの遊びの札と「48」 */
/* 「遊びは48種類以上。」の48を、ヒーロー直下の実績帯「6,000」と同じ言語
   (橙#f0831e・極太900)で大きく見せる。<strong>は文中に溶けるので読み上げは
   「遊びは48種類以上。」のまま途切れない */
.top-v2-playroll-lead .top-v2-playroll-num {
  display: inline-block;
  margin: 0 0.06em;
  color: #f0831e;
  font-size: clamp(46px, 11vw, 68px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
  vertical-align: -0.04em;
}
/* 黒板の札に出ていた管理用の「No.xx」(::after)をトップの帯でだけ消す。
   /play/ の一覧(.top-v2-catalog-chalk)には触れない */
.top-v2-playroll .top-v2-playcard-photo--pending::after {
  content: none;
  display: none;
}

/* 2026-11-25 第5弾 B 黒板の人数を数字で打てる */
input.top-v2-chalk-fcount,
input.top-v2-chalk-countinput {
  box-sizing: border-box;
  margin: 0;
  padding: 0 0 2px;
  border: 0;
  border-radius: 2px;
  background-color: transparent;
  background-image: linear-gradient(to right, rgba(47, 120, 144, 0.6) 50%, transparent 0);
  background-size: 6px 1.5px;
  background-repeat: repeat-x;
  background-position: 0 100%;
  box-shadow: none;
  color: #2f7890;
  font-family: inherit;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  -webkit-appearance: none;
  appearance: none;
  -webkit-text-fill-color: #2f7890;
  opacity: 1;
  cursor: text;
}
input.top-v2-chalk-fcount { width: 44px; font-size: 20px; }
input.top-v2-chalk-countinput { width: 2.2em; font-size: 24px; text-align: right; }
.top-v2-chalk-count { display: inline-flex; justify-content: center; align-items: baseline; }
input.top-v2-chalk-fcount:focus,
input.top-v2-chalk-countinput:focus { outline: none; }
input.top-v2-chalk-fcount:focus-visible,
input.top-v2-chalk-countinput:focus-visible {
  outline: 2px solid #2f7890;
  outline-offset: 2px;
  background-image: none;
}

/* 2026-11-25 第5弾 C・D 本物の部屋の写真と小さい直し */
/* C-1 少人数プランの二段ベッド写真（既存の .top-v2-shower-photos の2列を、スマホでも2列のまま使う） */
.top-v2-realroom-photos { margin: 8px 0 14px; }
.top-v2-realroom-photos figcaption { line-height: 1.4; }
@media (max-width: 575px) {
  .top-v2-realroom-photos { gap: 8px; }
  .top-v2-realroom-photos figcaption { font-size: 11.5px; }
}
/* C-2a 合宿・研修ページのBBQ場の写真（カード1枚ぶんくらいの幅で中央に） */
.top-v2-bbq-deck-fig {
  box-sizing: border-box;
  width: min(100%, 420px);
  margin: 18px auto 0;
}
.top-v2-bbq-deck-fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid rgba(42, 71, 80, 0.12);
  border-radius: 10px;
}
.top-v2-bbq-deck-fig figcaption {
  margin-top: 6px;
  color: #6b6150;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
/* C-2b 提供型BBQカードの「会場」1行（小さい写真つき） */
.top-v2-menu-venue {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 0;
  color: #8a7a5f;
  font-size: 12px;
  line-height: 1.6;
}
.top-v2-menu-venue img {
  flex: 0 0 auto;
  width: 60px;
  height: 40px;
  object-fit: cover;
  border: 1px solid rgba(42, 71, 80, 0.12);
  border-radius: 6px;
}

/* D-1 押せる範囲を44px以上に（見た目は変えない） */
.top-v2-playdialog-closebtn::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
}
.top-v2-info > summary {
  width: 44px;
  height: 44px;
  margin: -10px -12px -10px -8px;
}
.l-footer_snsList li + li { margin-left: 17px; }
.l-footer_snsList li a {
  position: relative;
  display: inline-block;
  vertical-align: top;
}
.l-footer_snsList li a::after {
  content: "";
  position: absolute;
  inset: -9px -8.5px;
}

/* D-4 黒板の絵が読み込まれるまで、白い文字が白地に乗らないよう、黒板の中身の位置に同じ濃い緑を敷く（絵は上に重なって隠す） */
.top-v2-chalkboard--art {
  background-color: transparent;
  background-image: linear-gradient(#173e45, #173e45);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 88% 82%;
}

/* よくある質問の答えの中の表（キャンセル料、2026-11-26）。
   パソコンで横に広がりすぎないよう幅をおさえ、表のあとの1文との間をあける */
.faq_body .top-v2-formal-tablewrap {
  max-width: 480px;
  margin-bottom: 16px;
}
.faq_body .top-v2-formal-table thead th:first-child {
  text-align: left;
}

/* ===================================================================
   2026-11-26 時間割のカード：行ごとに写真が替わる（.top-v2-schedule-snaps--rows）
   - 行（li[data-snap]）とカード（figure[data-snap]）を同じ番号でつなぎ、画面のまん中の行のカードを出す。
   - 傾きとテープは、カードの順番で4通りに回す（data-band の4枚だったころと同じ角度・同じテープ）。
   - 写真のない行は、トップの遊び一覧と同じ黒板（.top-v2-schedule-snap-board）にする。
   =================================================================== */
.top-v2-schedule-snaps--rows .top-v2-schedule-snap:nth-child(4n+1) { transform: scale(0.96) rotate(-2.5deg); }
.top-v2-schedule-snaps--rows .top-v2-schedule-snap:nth-child(4n+2) { transform: scale(0.96) rotate(1.5deg); }
.top-v2-schedule-snaps--rows .top-v2-schedule-snap:nth-child(4n+3) { transform: scale(0.96) rotate(-1deg); }
.top-v2-schedule-snaps--rows .top-v2-schedule-snap:nth-child(4n+4) { transform: scale(0.96) rotate(2deg); }
.top-v2-schedule-snaps--rows .top-v2-schedule-snap:nth-child(4n+1).is-active { transform: scale(1) rotate(-2.5deg); }
.top-v2-schedule-snaps--rows .top-v2-schedule-snap:nth-child(4n+2).is-active { transform: scale(1) rotate(1.5deg); }
.top-v2-schedule-snaps--rows .top-v2-schedule-snap:nth-child(4n+3).is-active { transform: scale(1) rotate(-1deg); }
.top-v2-schedule-snaps--rows .top-v2-schedule-snap:nth-child(4n+4).is-active { transform: scale(1) rotate(2deg); }
.top-v2-schedule-snaps--rows .top-v2-schedule-snap:nth-child(4n+1)::before { background-image: url(/assets/img/tape-2.png); transform: translateX(-50%) rotate(3deg); }
.top-v2-schedule-snaps--rows .top-v2-schedule-snap:nth-child(4n+2)::before { background-image: url(/assets/img/tape-4.png); transform: translateX(-50%) rotate(-2deg); }
.top-v2-schedule-snaps--rows .top-v2-schedule-snap:nth-child(4n+3)::before { background-image: url(/assets/img/tape-1.png); transform: translateX(-50%) rotate(2deg); }
.top-v2-schedule-snaps--rows .top-v2-schedule-snap:nth-child(4n+4)::before { background-image: url(/assets/img/tape-3.png); transform: translateX(-50%) rotate(-3deg); }
.top-v2-schedule-snap-board {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 100%;
  height: 220px;
  padding: 10px;
  border: 4px solid transparent;
  border-radius: 2px;
  background:
    radial-gradient(120% 80% at 16% 0%, rgba(255, 255, 255, 0.14), transparent 62%) padding-box,
    radial-gradient(90% 60% at 90% 100%, rgba(255, 255, 255, 0.09), transparent 66%) padding-box,
    linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.05) 47%, transparent 58%) padding-box,
    repeating-linear-gradient(104deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 11px) padding-box,
    linear-gradient(160deg, #365b50, #2b4b42) padding-box,
    linear-gradient(135deg, #cdb185, #a98763) border-box;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16), inset 0 3px 9px rgba(0, 0, 0, 0.42);
  color: #fffef6;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-align: center;
  text-shadow: 0 0 1.5px rgba(255, 255, 255, 0.5), 1px 1px 0 rgba(0, 0, 0, 0.25);
}
@media (max-width: 767px) {
  .top-v2-schedule-snaps--rows .top-v2-schedule-snap:nth-child(4n+1) { transform: translateY(7px) scale(0.97) rotate(-1.4deg); }
  .top-v2-schedule-snaps--rows .top-v2-schedule-snap:nth-child(4n+2) { transform: translateY(7px) scale(0.97) rotate(1deg); }
  .top-v2-schedule-snaps--rows .top-v2-schedule-snap:nth-child(4n+3) { transform: translateY(7px) scale(0.97) rotate(-0.7deg); }
  .top-v2-schedule-snaps--rows .top-v2-schedule-snap:nth-child(4n+4) { transform: translateY(7px) scale(0.97) rotate(1.2deg); }
  .top-v2-schedule-snaps--rows .top-v2-schedule-snap:nth-child(4n+1).is-active { transform: translateY(0) scale(1) rotate(-1.4deg); }
  .top-v2-schedule-snaps--rows .top-v2-schedule-snap:nth-child(4n+2).is-active { transform: translateY(0) scale(1) rotate(1deg); }
  .top-v2-schedule-snaps--rows .top-v2-schedule-snap:nth-child(4n+3).is-active { transform: translateY(0) scale(1) rotate(-0.7deg); }
  .top-v2-schedule-snaps--rows .top-v2-schedule-snap:nth-child(4n+4).is-active { transform: translateY(0) scale(1) rotate(1.2deg); }
  .top-v2-schedule-snap-board {
    width: 112px;
    height: 74px;
    padding: 4px;
    border-width: 3px;
    font-size: 11px;
    line-height: 1.3;
  }
}
@media (max-width: 374px) {
  .top-v2-schedule-snap-board { width: 96px; }
}

/* 2026-11-26 遊びのページの「チェックイン」の枠：トップの「ご利用時間」の枠（.top-v2-home-staytime）と同じ見た目にした。
   注（※給食…）が本文と同じ大きさで出ていたのと、PCで注の頭に「｜」が残っていたのを直す。下の「宿泊部屋」のカードとの間だけ、ここで決める */
.top-v2-stay-info-wrap.top-v2-home-staytime { margin: 28px auto 36px; }
@media (max-width: 767px) {
  /* 遊びのページは外側の段にもう余白があるので、トップ用の左右の余白（10px＋6px）を外し、枠をトップと同じ幅にする */
  .top-v2-stay-info-wrap.top-v2-home-staytime { padding-left: 0; padding-right: 0; }
  .top-v2-stay-info-wrap.top-v2-home-staytime .l-stay_info { margin-left: 0; margin-right: 0; }
}
@media (min-width: 992px) {
  .top-v2-stay-info-wrap.top-v2-home-staytime { margin: 40px auto 56px; }
}
/* 375px未満：「チェックアウト：翌10:00まで」が2行に割れないよう、ご利用時間の枠の字を少しだけ小さく（トップ・遊び共通） */
@media (max-width: 374px) {
  .top-v2-home-staytime .l-stay_infoTitle { font-size: 18px; }
}

/* 2026-11-26 スタンダードプランの「分けたいとき」：中部屋・小部屋の階と人数は、泊まる棟で違う（北棟の中部屋だけ2階）。
   図から部屋の箱を外し、南棟・北棟の小さな表にした（partials/room-split-table.html。遊び・家族・友達・料金オプションのダイアログ） */
.top-v2-roomsplit { margin: 2px 0 12px; }
.top-v2-roomsplit-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 2px solid #2f7890;
  border-radius: 10px;
  overflow: hidden;
  font-size: 13px;
  table-layout: fixed;
}
.top-v2-roomsplit-table th,
.top-v2-roomsplit-table td {
  padding: 7px 6px;
  text-align: center;
  vertical-align: middle;
  border-top: 1px solid rgba(47, 120, 144, 0.2);
}
.top-v2-roomsplit-table thead th {
  border-top: 0;
  background: #2f7890;
  color: #fff;
  font-size: 13.5px;
  font-weight: 900;
}
.top-v2-roomsplit-table thead th:first-child { width: 18%; }
.top-v2-roomsplit-table tbody th { color: #2f7890; font-weight: 900; }
.top-v2-roomsplit-table td b {
  display: block;
  color: #4e4538;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
}
.top-v2-roomsplit-table td b.top-v2-roomsplit-floor--other { color: #c8642a; }
.top-v2-roomsplit-table td > span {
  display: block;
  color: #665a4a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}
.top-v2-roomsplit-note {
  margin: 8px 2px 0;
  color: #4e4538;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.6;
}

/* 2026-11-26 メニューの「×」：細い線（1px）を半透明（Bootstrap の .btn-close の opacity .5）で描いていて見づらかった。
   開くボタン（右上の青緑の四角「メニュー」）と同じ場所・同じ大きさ・同じ色の四角に、白い太い×と「とじる」 */
.l-nav .l-nav_header { padding: 0; }
.l-nav button.l-nav_headerBtn.btn-close {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-sizing: border-box;
  width: 70px;
  height: auto;
  min-height: 44px;
  margin: 0 0 0 auto;
  padding: 8px 10px;
  background: #006d88;
  border-radius: 0;
  opacity: 1;
  color: #fff;
}
.l-nav button.l-nav_headerBtn.btn-close:hover { opacity: 1; }
.l-nav_closeMark { position: relative; display: block; width: 6.13333vw; height: 6.13333vw; }
.l-nav_closeMark::before,
.l-nav_closeMark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120%;
  height: 3px;
  border-radius: 2px;
  background: #fff;
}
.l-nav_closeMark::before { transform: translate(-50%, -50%) rotate(45deg); }
.l-nav_closeMark::after { transform: translate(-50%, -50%) rotate(-45deg); }
.l-nav_closeLabel {
  display: block;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
@media (min-width: 576px) {
  .l-nav button.l-nav_headerBtn.btn-close { width: 117px; height: 98px; padding: 22px 26px; gap: 8px; }
  .l-nav_closeMark { width: 34px; height: 34px; }
}

/* 2026-11-26 トップの遊びのカードを押すと、遊びのページと同じ詳しい窓（.top-v2-playdialog--top）が開く */
.top-v2-playroll .top-v2-playcard { cursor: pointer; }
.top-v2-playdialog-more { margin: 12px 0 0; text-align: center; font-size: 14px; font-weight: 800; }
/* 詳しい窓の札：「道具」などの見出しが「道／具」と2行に割れないように（遊びのページも） */
.top-v2-playdialog-chip-label { flex-shrink: 0; white-space: nowrap; }

/* ===================================================================
   2026-11-26 iPhone（Safari）でも「言葉の切れ目」で改行する
   Chrome は word-break:auto-phrase で文節ごとに改行するが、Safari は対応していないので、
   ビルド（scripts/phrase-spans.mjs）で文節を <bx-p> で包んである。auto-phrase を指定した所だけ
   --bx-ws:nowrap を立て（上の各ルール）、対応しないブラウザでだけ文節の中で改行しないようにする。
   --bx-ws が無い所（initial を含む）は white-space を親から受け継ぐ＝今までどおり。
   あわせて Safari の text-wrap:pretty は段落全体を短くそろえて右が空くので、本文はふつうの折り返しに。
   =================================================================== */
bx-w, bx-p { display: inline; }
/* 体育館の注など、長い注意書きは文節で止めない */
.top-v2-timeline-note { --bx-ws: initial; }
@supports not (word-break: auto-phrase) {
  bx-p { white-space: var(--bx-ws); }
  main p, main li, main dd, main summary { text-wrap: wrap; }
}

/* 2026-11-26 読む文（答え・注意書き）の行間を1.8前後にそろえる。見出し・質問・ボタン・黒板の数字は今のまま */
.faq_body { line-height: 1.8; }
.top-v2-timeline-note,
.top-v2-chalk-menu-note,
.top-v2-menu-catch,
.top-v2-catalog-note,
.top-v2-sim-card-points { line-height: 1.75; }
.top-v2-faq-count { line-height: 1.7; }
.top-v2-teacher-note .top-v2-price-notes li { line-height: 1.8; }


/* 2026-11-27 合宿の名前を「サークル・ゼミ・部活の合宿」にそろえた（オーナー）。スマホのメニューではこのボタンだけ2行になるので、
   同じ段のボタン（研修・会議）の高さをそろえる */
#headerNav .l-nav_menuList .l-nav_menuSublist > li { display: flex; }
#headerNav .l-nav_menuList .l-nav_menuSublist > li > .l-nav_menuSublink { flex: 1 1 auto; }

/* 2026-11-27 寝る場所・部屋割りの窓（partials/stay-room-plans.html）：イラストをやめて、本物の写真のカードにした（オーナー）。
   名前の札は前のイラストと同じ色（寝る部屋は青緑、食事の場所はオレンジ）。少人数プランは寝室2枚を横に並べ、食堂は横長で下に */
#stay-room-dialog .top-v2-roomcards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 2px 0 10px;
}
#stay-room-dialog .top-v2-roomcard {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 2px solid #2f7890;
  border-radius: 10px;
  background: #fff;
}
#stay-room-dialog .top-v2-roomcard--eat { border-color: #f0831e; }
#stay-room-dialog .top-v2-roomcard-tab {
  display: block;
  padding: 4px 6px 5px;
  background: #2f7890;
  color: #fff;
  font-size: 13.5px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  --bx-ws: nowrap;
}
#stay-room-dialog .top-v2-roomcard--eat .top-v2-roomcard-tab { background: #f0831e; }
#stay-room-dialog .top-v2-roomcard img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
#stay-room-dialog .top-v2-roomcard--wide { grid-column: 1 / -1; }
#stay-room-dialog .top-v2-roomcard--wide img { aspect-ratio: 16 / 7; }
#stay-room-dialog .top-v2-roomcard figcaption {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 5px 6px 7px;
  text-align: center;
  line-height: 1.45;
}
#stay-room-dialog .top-v2-roomcard-use {
  color: #665a4a;
  font-size: 12px;
  font-weight: 800;
}
#stay-room-dialog .top-v2-roomcard-cap {
  color: #2e2518;
  font-size: 12.5px;
  font-weight: 800;
}
#stay-room-dialog .top-v2-roomcard-cap strong {
  color: #a5540e;
  font-size: 15px;
  font-weight: 900;
}
#stay-room-dialog .top-v2-stay-room-subhead {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 6px !important;
  color: #2e2518;
  font-size: 13.5px;
  font-weight: 900;
  line-height: 1.4;
}
#stay-room-dialog .top-v2-stay-room-plus {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f0831e;
}
#stay-room-dialog .top-v2-stay-room-plus::before,
#stay-room-dialog .top-v2-stay-room-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 2.5px;
  border-radius: 1px;
  background: #fff;
  transform: translate(-50%, -50%);
}
#stay-room-dialog .top-v2-stay-room-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
#stay-room-dialog .top-v2-roomcard-max {
  color: #665a4a;
  font-size: 12px;
  font-weight: 800;
}

/* 2026-11-27 マップの写真：新しい写真が届くまで、前に開いた写真を見せない（map-rooms.js・map-spots.js の swapPhoto）。
   枠（4:3・白いふち・影）は残して、中身だけうすい色にする */
.top-v2-maproom-dialog-photo.is-loading,
.top-v2-mapspot-dialog-photo.is-loading {
  object-position: -10000px 0;
  background: #e9f1f4;
}

/* 2026-11-27 カメラの印を押しても開かないことがある（オーナー指摘）。印は部屋の枠の角や外にはみ出しているのに、
   押せない飾り（pointer-events: none）だったので、はみ出た所を押すと下の図に抜けていた。
   印も押せるようにし（親のボタンの click で開く）、指で押しやすいよう印のまわり8pxも反応させる。
   z-index は、あとに並ぶ部屋のボタンより上に出すため（ボタンは z-index なし＝重なりの箱を作らない） */
.top-v2-maproom-chip,
.top-v2-mapspot-camchip {
  pointer-events: auto;
  z-index: 2;
  cursor: pointer;
}
.top-v2-maproom-chip::after,
.top-v2-mapspot-camchip::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
}

/* 2026-11-27 比べ表：一言の答え＋最初は4行、残り7行は「ほかの違いも見る」で開く（料金・オプション #plan-compare） */
.top-v2-plan-compare-lead {
  margin: 0 0 10px !important;
  color: #2e2518;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
}
.top-v2-plan-compare-lead strong { color: #2f7890; font-weight: 900; }
.top-v2-plan-compare tbody[hidden] { display: none !important; }
.top-v2-plan-compare-more-wrap { margin: 10px 0 0 !important; text-align: center; }
.top-v2-plan-compare-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 18px;
  border: 2px solid #2f7890;
  border-radius: 999px;
  background: #fff;
  color: #2f7890;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}
.top-v2-plan-compare-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.top-v2-plan-compare-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.top-v2-plan-compare-toggle[hidden] { display: none; }

/* 2026-11-27 クチコミのカードから、Googleマップのそのクチコミへ飛べるようにした（オーナー）。リンクは各クチコミの「共有」のリンク */
.top-v2-review-card--g .top-v2-review-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.top-v2-review-link {
  padding: 6px 0;
  color: #2f7890;
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* 2026-11-27 トップ「行くなら、誰と？」の4枚の下に、社員旅行・町内会・子ども会など団体向けの案内を1行（オーナー了承）。新しいプランやページは作らない */
.top-v2-doors-more {
  margin: 14px auto 0 !important;
  max-width: 40em;
  color: #4a3f2f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
  text-align: center;
}

/* 2026-11-28 場面ページでは、1枚のクチコミを中央に置き、2枚は広い画面でも2列に保つ。 */
@media (min-width: 768px) {
  .top-v2-review-grid--scene:has(.top-v2-review-card--g) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .top-v2-review-grid--scene:has(> .top-v2-review-card--g:only-child) {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
    margin-inline: auto;
  }
}

/* 2026-12-01 料金・オプションの食事（昼食・夕食・朝食）の写真は、マスキングテープを貼らない（オーナー「料理のところのマスキングテープはいらない」） */
#foodLunch .top-v2-menu-photo::before,
#foodDinner .top-v2-menu-photo::before,
#foodBreakfast .top-v2-menu-photo::before {
  content: none !important;
  display: none !important;
}

/* 2026-12-01 日帰りページの3つの手順をPCで均等に並べる */
@media (min-width: 992px) {
  #daytrip-flow .top-v2-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 2026-12-01 遊びの一覧（スマホ3列）：Chrome では名前の長いカード（カタショーオリジナルテスト など）が
   1語扱いで折れず、その列だけ広がっていた（オーナー「左側だけサイズ大きくておかしい」）。
   列は必ず同じ幅にし、名前は列の中で折る（HTML 側でも <wbr> で折る位置を入れている） */
@media (max-width: 767px) {
  .top-v2-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .top-v2-catalog-name { overflow-wrap: anywhere; }
}

/* 2026-12-01 遊びのカードの詳しい窓：説明は左寄せ（何行もある文は、真ん中寄せだと読みにくい。オーナー「文章量が多すぎて読みづらい」） */
.top-v2-playdialog .top-v2-playdialog-note { text-align: left; }

/* 2026-12-01 部屋分けオプションの料金の表（布団の絵の図をやめた）。上の1行と、表の間の余白 */
.top-v2-roomprice-lead { margin: 0 0 10px; font-weight: 700; text-align: center; }
.top-v2-roomprice { margin-bottom: 18px; }

/* 2026-12-01 料金のご案内の中の比べ表（カード2枚をやめて表ひとつに）。
   表の上に、2つのプランの写真を小さく並べる（左が少人数・右がスタンダード＝表の列と同じ順）。下にボタン2つ */
.top-v2-plan-compare-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 560px; margin: 4px auto 14px; }
.top-v2-plan-compare-photos figure { margin: 0; min-width: 0; }
.top-v2-plan-compare-photos img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.top-v2-plan-compare-photos figcaption { margin-top: 6px; font-size: 12px; line-height: 1.5; color: #665a4a; text-align: center; }
.top-v2-plan-compare-photos figcaption b { display: block; color: #2f7890; font-size: 13px; }
.top-v2-plan-compare-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 12px; margin: 4px 0 6px; }
.top-v2-plan-compare-actions .top-v2-scene-detailbtn { margin-top: 0; text-decoration: none; }
/* 2026-12-01 比べ表の下の2つは、丸いボタンを3つ縦に重ねると重たいので、文字のリンクに */
.top-v2-plan-compare-actions { gap: 6px 18px; font-size: 14px; font-weight: 700; }
.top-v2-plan-compare-textbtn { padding: 0; border: 0; background: none; color: #2f7890; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.top-v2-plan-compare-textbtn:focus-visible { outline: 2px solid #2f7890; outline-offset: 3px; border-radius: 4px; }

/* 2026-12-01 料金のご案内の「少人数プラン」の折りたたみ：スタンダードプランとの違いを、イラスト4つで（スマホ2列・PC4列） */
.top-v2-plan-diff-lead { margin: 14px 0 8px; font-weight: 700; text-align: center; color: #2f7890; }
.top-v2-plan-diff { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 4px; padding: 0; }
.top-v2-plan-diff li { min-width: 0; padding: 10px 8px 12px; background: #fffaf0; border: 1px solid rgba(47, 120, 144, 0.18); border-radius: 12px; text-align: center; }
.top-v2-plan-diff img { display: block; width: 72px; height: 72px; margin: 0 auto 6px; object-fit: contain; }
.top-v2-plan-diff p { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.5; color: #2e2518; }
.top-v2-plan-diff b { display: block; margin-bottom: 2px; font-size: 12px; color: #2f7890; }
.top-v2-plan-diff small { display: block; margin-top: 4px; font-size: 11.5px; font-weight: 500; line-height: 1.5; color: #665a4a; }
@media (min-width: 768px) {
  .top-v2-plan-diff { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .top-v2-plan-diff img { width: 84px; height: 84px; }
}

/* 2026-12-01 料金の下の「少人数プラン…1,000円引き」は、押すと窓が開くボタンに（前の折りたたみと同じ見た目の枠） */
.top-v2-plan-open { margin: 14px 0 0; }
.top-v2-plan-open-btn { display: block; width: 100%; padding: 12px 14px; border: 1.5px solid #b9d0da; border-radius: 12px; background: #fff; color: #2f7890; font: inherit; font-size: 15px; font-weight: 900; line-height: 1.6; text-align: center; cursor: pointer; }
.top-v2-plan-open-more { display: block; margin-top: 4px; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { .top-v2-plan-open-btn:hover { border-color: #2f7890; } }
.top-v2-plan-open-btn:focus-visible { outline: 2px solid #2f7890; outline-offset: 3px; }
.top-v2-plan-diff-photos { margin-top: 14px; }
#stay-option-compact-dialog .top-v2-plan-price { margin: 6px 0 0; text-align: center; }
#stay-option-compact-dialog .top-v2-plan-price-head { display: block; margin-bottom: 2px; }
/* 2026-12-01 少人数プランの窓：食堂の写真を横いっぱいに、その下に寝室2枚（オーナー「食堂の画像も」） */
.top-v2-plan-diff-photos .top-v2-plan-diff-photo--wide { grid-column: 1 / -1; }
