@charset "utf-8";

/* =========================================
  Darwin City Zoo - Base
========================================= */
:root{
  --bg: #FDFCF8;
  --surface: #ffffff;
  --ink: #24302a;
  --muted: #56625b;

  --primary: #2F8F6B;
  --primary-ink: #ffffff;

  --ticket: #FFC107;
  --ticket-ink: #2b2b2b;

  --border: rgba(16,24,20,.10);
  --shadow: 0 18px 50px rgba(0,0,0,.06);

  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 14px;

  --container: 1120px;

  --focus: 0 0 0 4px rgba(47,143,107,.22);

  /* Courses accent (page-wide)
     - JSが body[data-course-theme] を更新
     - Animalsのハイライト等で使用 */
  --course-accent: #F5C84C;
  --course-accent-soft: rgba(245,200,76,.14);
  --course-accent-line: rgba(245,200,76,.45);
}

body[data-course-theme="yellow"]{
  --course-accent: #F5C84C;
  --course-accent-soft: rgba(245,200,76,.14);
  --course-accent-line: rgba(245,200,76,.45);
}
body[data-course-theme="red"]{
  --course-accent: #E85B5B;
  --course-accent-soft: rgba(232,91,91,.12);
  --course-accent-line: rgba(232,91,91,.42);
}
body[data-course-theme="green"]{
  --course-accent: #2F9A6B;
  --course-accent-soft: rgba(47,154,107,.12);
  --course-accent-line: rgba(47,154,107,.42);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

img{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible{
  outline: none;
  box-shadow: var(--focus);
  border-radius: 10px;
}

.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.skipLink{
  position: absolute;
  left: 12px;
  top: 12px;
  transform: translateY(-160%);
  background: #111;
  color: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  z-index: 9999;
}
.skipLink:focus{ transform: translateY(0); }

/* =========================================
  Buttons
========================================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
  user-select: none;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); box-shadow: 0 6px 14px rgba(0,0,0,.06); }

.btn--primary{
  background: var(--primary);
  color: var(--primary-ink);
}
.btn--ghost{
  background: rgba(255,255,255,.70);
  border-color: var(--border);
  color: var(--ink);
  box-shadow: none;
}
.btn--ticket{
  background: var(--ticket);
  color: var(--ticket-ink);
  box-shadow: 0 12px 26px rgba(255,193,7,.22);
}
.btn--mini{ padding: 10px 14px; font-size: .92rem; }
.btn--lg{ padding: 14px 22px; font-size: 1.02rem; }
.btn--block{ width: 100%; }

/* =========================================
  Header
========================================= */
.siteHeader{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253,252,248,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.headerInner{
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

/* テキスト構成のbrand（残しておく） */
.brandMark{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(47,143,107,.12);
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: .04em;
}
.brandText{ display: grid; line-height: 1.1; }
.brandName{ font-weight: 900; }
.brandSub{ color: var(--muted); font-size: .84rem; margin-top: 2px; }

/* ロゴ画像構成のbrand（ヘッダーでlogo.pngを使う用） */
.brandLogo{
  display: block;
  height: 44px;
  width: auto;
}

.globalNav{ display: none; }
.globalNavList{
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.globalNavList a{
  padding: 10px 10px;
  border-radius: 999px;
  color: var(--muted);
}
.globalNavList a:hover{
  background: rgba(47,143,107,.10);
  color: var(--ink);
}

.headerActions{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.navToggle{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.70);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.navToggleBars{
  width: 18px;
  display: grid;
  gap: 4px;
}
.navToggleBars span{
  height: 2px;
  background: var(--ink);
  border-radius: 99px;
  opacity: .85;
}

/* =========================================
  SP Nav（可読性 最優先版）
========================================= */
.spNav{
  position: fixed;
  inset: 0;
  display: none;
}
.spNav.is-open{ display: block; }

.spNavOverlay{
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, .68);
  backdrop-filter: blur(2px);
}

.spNavPanel{
  position: absolute;
  top: 12px;
  right: 12px;
  left: 12px;

  background: #ffffff;
  color: #1b1f2a;
  border: 1px solid rgba(20, 24, 32, .08);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
  overflow: hidden;
}

.spNavHead{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(20, 24, 32, .12);
}
.spNavTitle{ font-weight: 900; }

.spNavClose{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(20, 24, 32, .12);
  background: rgba(255,255,255,.70);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.spNavLinks{
  display: grid;
  gap: 10px;
  padding: 16px;
}

.spNavLinks a{
  display: block;
  padding: 14px 16px;
  background: #f6f7fb;
  border-radius: 16px;
  font-weight: 600;
  color: #1b1f2a;
  transition: transform .2s ease, background-color .2s ease;
}

.spNavLinks a:hover,
.spNavLinks a:focus-visible{
  background: #e8ecff;
  transform: translateX(4px);
  outline: none;
}

.spNavDivider{
  height: 1px;
  background: rgba(20, 24, 32, .12);
  margin: 6px 0 2px;
}

/* チケットボタンはさらに目立たせる */
.spNavLinks .btn--ticket{
  margin-top: 16px;
}

/* PC */
@media (min-width: 920px){
  .globalNav{ display: block; }
  .navToggle{ display: none; }
  .spNav{ display: none !important; }
}

/* =========================================
  Hero
========================================= */
.hero{
  position: relative;
  min-height: min(78vh, 760px);
  padding: 28px 0 44px;
  overflow: hidden;
}

.heroBg{
  position: absolute;
  inset: 0;
  z-index: -2;
}
.heroBg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(1200px 600px at 20% 20%, rgba(255,255,255,.75), transparent 60%),
    linear-gradient(to bottom, rgba(253,252,248,.10), rgba(253,252,248,.75));
  z-index: -1;
}

.heroInner{
  display: grid;
  gap: 22px;
  align-items: center;
}

.heroCopy{ max-width: 640px; }

.heroKicker{
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  background: rgba(255,255,255,.70);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
}

.heroTitle{
  margin: 12px 0 10px;
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.heroTitleAccent{
  color: var(--primary);
  text-shadow: 0 10px 20px rgba(47,143,107,.18);
}

.heroLead{
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.heroCtas{
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.heroBadges{
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badge{
  background: rgba(255,255,255,.72);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .92rem;
  color: var(--ink);
}

.heroSide .card{ max-width: 460px; }

.card{
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 18px;
  box-shadow: var(--shadow);
}
.card--glass{
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 10px 30px rgba(0,0,0,.08),
    inset 0 0 0 1px rgba(255,255,255,.6)
}
.cardEyebrow{
  margin: 0 0 6px;
  color: var(--muted);
  font-weight: 800;
  font-size: .9rem;
}
.cardTitle{ margin: 0 0 10px; font-size: 1.3rem; }
.cardText{ margin: 0 0 14px; color: var(--muted); }
.cardActions{ display: flex; gap: 10px; flex-wrap: wrap; }

/* clouds */
.cloud{
  position: absolute;
  width: 260px;
  height: 80px;
  background: rgba(255,255,255,.50);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 999px;
  filter: blur(0.2px);
  z-index: 0;
  opacity: .85;
}
.cloud--1{ top: 18%; left: -60px; transform: rotate(-2deg); }
.cloud--2{ top: 42%; right: -80px; width: 320px; opacity: .7; }

@media (min-width: 980px){
  .heroInner{
    grid-template-columns: 1.2fr .8fr;
    gap: 30px;
  }
  .heroSide{ justify-self: end; }
}

/* =========================================
  Hero Brand (logo + animals) - FINAL
========================================= */
.heroBrand{
  position: relative;
  display: grid;
  place-items: center;
  width: min(820px, 100%);
  margin: 0 auto 22px;
  isolation: isolate;
}
.heroBrand::before{
  content: "";
  position: absolute;
  inset: -18px -38px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.70);
  border-radius: 999px;
  box-shadow: 0 18px 46px rgba(0,0,0,.10);
  backdrop-filter: blur(10px);
  z-index: 1;
}
.heroMainLogo{
  height: clamp(110px, 12vw, 190px);
  width: auto;
  z-index: 2;
}
@media (min-width: 900px){
  .heroBrand{
    grid-column: 1 / -1;
    margin-bottom: 26px;
  }
}

/* ---- icons: 全員同じ挙動に統一 ---- */
.heroIcon{
  position: absolute;
  width: clamp(54px, 6.2vw, 96px);
  height: clamp(54px, 6.2vw, 96px);
  object-fit: contain;

  animation: heroFloat 3.6s ease-in-out infinite;

  filter: drop-shadow(0 12px 20px rgba(0,0,0,.12));
  transform-origin: 50% 70%;
  cursor: pointer;
  pointer-events: auto;

  /* ロゴより前面（パンダ含めホバー可能にする） */
  z-index: 3;

  transition: transform .18s ease, filter .18s ease;
}

/* 配置 */
.heroIcon.is-left.is-1  { left: 5.5%;  top: 12%; }
.heroIcon.is-left.is-2  { left: 14%;   bottom: 4%; }

.heroIcon.is-right.is-1 { right: 15%;  top: 8%; }
.heroIcon.is-right.is-2 { right: 6%;   bottom: 4%; }

@keyframes heroFloat{
  0%,100%{ transform: translateY(0) rotate(-2deg); }
  50%    { transform: translateY(-12px) rotate(2deg); }
}

@keyframes heroZoomWiggle{
  0%   { transform: translateY(-2px) scale(1.18) rotate(-8deg); }
  25%  { transform: translateY(-3px) scale(1.20) rotate( 8deg); }
  50%  { transform: translateY(-2px) scale(1.22) rotate(-8deg); }
  75%  { transform: translateY(-3px) scale(1.20) rotate( 8deg); }
  100% { transform: translateY(-2px) scale(1.18) rotate(-8deg); }
}

.heroIcon:hover{
  animation: heroZoomWiggle .55s ease-in-out infinite;
  filter: drop-shadow(0 22px 30px rgba(0,0,0,.25));
  z-index: 5;
}
.heroIcon:active{
  transform: translateY(0) scale(.94);
}

@media (max-width: 600px){
  .heroMainLogo{ height: 90px; }
}

@media (prefers-reduced-motion: reduce){
  .heroIcon{ animation: none; transition: none; }
  .heroIcon:hover{ animation: none; }
}

/* =========================================
  Sections
========================================= */
.section{ padding: 70px 0; }

.section--tint{ background: rgba(47,143,107,.04); }

.sectionHead{ margin-bottom: 22px; }

.sectionTitle{
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 3vw, 2.0rem);
}
/* =========================================
  Section Title Icons (same feel as hero icons)
  - Float is on the wrapper (keeps position)
  - Wiggle+zoom is on the img (so it shakes "in place")
========================================= */
.titleWithIcon{
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.titleText{ display: inline; }

.titleIconWrap{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;

  width: clamp(32px, 3.2vw, 54px);
  height: clamp(32px, 3.2vw, 54px);

  animation: titleFloat 3.6s ease-in-out infinite;
  transform-origin: 50% 70%;
  will-change: transform;
}

.titleIcon{
  width: 100%;
  height: 100%;
  object-fit: contain;

  filter: drop-shadow(0 10px 18px rgba(0,0,0,.10));
  transform-origin: 50% 70%;
  transition: filter .18s ease, transform .18s ease;
  will-change: transform;
}

/* hover: stop floating at the current position, then wiggle in place */
.titleWithIcon:hover .titleIconWrap,
.titleIconWrap:hover{
  animation-play-state: paused;
}

.titleWithIcon:hover .titleIcon,
.titleIconWrap:hover .titleIcon{
  animation: titleZoomWiggle .55s ease-in-out infinite;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,.18));
}

@keyframes titleFloat{
  0%,100%{ transform: translateY(0) rotate(-2deg); }
  50%    { transform: translateY(-10px) rotate(2deg); }
}

/* “その場で”大きくなり、ぷるぷる（位置はwrapが保持） */
@keyframes titleZoomWiggle{
  0%   { transform: scale(1.16) rotate(-8deg); }
  25%  { transform: scale(1.18) rotate( 8deg); }
  50%  { transform: scale(1.20) rotate(-8deg); }
  75%  { transform: scale(1.18) rotate( 8deg); }
  100% { transform: scale(1.16) rotate(-8deg); }
}

@media (prefers-reduced-motion: reduce){
  .titleIconWrap{ animation: none; }
  .titleWithIcon:hover .titleIcon{ animation: none; }
}

/* タイトルごとの微調整 */
.cardTitle .titleIcon{ width: clamp(30px, 3.0vw, 50px); }
.footerCtaTitle .titleIcon{ width: clamp(34px, 3.6vw, 60px); }

/* 動きが苦手な人への配慮 */
@media (prefers-reduced-motion: reduce){
  .titleIcon{ animation: none !important; }
  .titleWithIcon:hover .titleIcon,
  .titleIcon:hover{ animation: none !important; }
}

.sectionLead{ margin: 0; color: var(--muted); }

.aboutGrid,
.accessGrid,
.highlightGrid{
  display: grid;
  gap: 14px;
}

.infoCard{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: 0 12px 26px rgba(0,0,0,.04);
}
.infoTitle{ margin: 0 0 8px; font-size: 1.12rem; }
.infoText{ margin: 0; color: var(--muted); }

@media (min-width: 860px){
  .aboutGrid{ grid-template-columns: repeat(3, 1fr); }
  .accessGrid{ grid-template-columns: 1.2fr 1.2fr 1fr; align-items: start; }
  .highlightGrid{ grid-template-columns: repeat(3, 1fr); }
}

/* highlight */
.highlightCard{
  background: rgba(255,255,255,.78);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow);
}
.highlightTag{
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(47,143,107,.10);
  font-weight: 900;
  color: var(--primary);
  margin: 0 0 10px;
}
.highlightTitle{ margin: 0 0 8px; font-size: 1.15rem; }
.highlightText{ margin: 0 0 10px; color: var(--muted); }
.link{ color: var(--primary); font-weight: 900; }

/* map */
.mapCard{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow);
}
.mapCard img{
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(47,143,107,.03);
}
.mapActions{
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* =========================================
  Map Zoom Modal (non-invasive)
========================================= */
.mapZoomModal{
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.mapZoomModal.is-open{ display: block; }

.mapZoomModal__overlay{
  position: absolute;
  inset: 0;
  background: rgba(10,12,16,.72);
  backdrop-filter: blur(2px);
}

.mapZoomModal__panel{
  position: absolute;
  left: 12px; right: 12px; top: 12px; bottom: 12px;
  background: #fff;
  border: 1px solid rgba(20,24,32,.10);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.mapZoomModal__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(20,24,32,.10);
  background: rgba(255,255,255,.85);
}

.mapZoomModal__title{
  font-weight: 900;
  margin: 0;
  font-size: 1rem;
}

.mapZoomModal__tools{
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.mapZoomBtn{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(20,24,32,.12);
  background: rgba(255,255,255,.80);
  cursor: pointer;
  font-weight: 900;
}

.mapZoomClose{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(20,24,32,.12);
  background: rgba(255,255,255,.80);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.mapZoomModal__stage{
  position: relative;
  overflow: auto;
  background:
    radial-gradient(900px 380px at 18% 6%,
      rgba(47,143,107,.10),
      rgba(255,255,255,0) 60%),
    #fbfbfb;
}

.mapZoomModal__img{
  display: block;
  transform-origin: 0 0;
  user-select: none;
  -webkit-user-drag: none;
  max-width: none; /* スケール前提 */
}


/* =========================================
  Animals
========================================= */
.animalGrid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.animalCard{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(0,0,0,.05);
  transition: transform .22s ease;
  will-change: transform, opacity;
}
.animalCard:hover{ transform: translateY(-6px); }

.animalCard.is-hidden{ display: none; }

/* course highlight (Coursesで選んだルートの対象どうぶつ) */
.animalCard.is-course-dim{
  opacity: .38;
  filter: grayscale(.15);
}

.animalCard.is-course-hit{
  border-color: var(--course-accent-line);
  box-shadow: 0 18px 44px rgba(0,0,0,.08);
}

.animalCard.is-course-hit .animalBody{
  border-top: 2px solid var(--course-accent-line);
}

@keyframes dzCoursePulse{
  0%{ transform: translateY(0); }
  30%{ transform: translateY(-8px); }
  60%{ transform: translateY(0); }
  100%{ transform: translateY(0); }
}

.animalCard.is-course-pulse{
  animation: dzCoursePulse .9s ease;
}

@media (prefers-reduced-motion: reduce){
  .animalCard.is-course-pulse{ animation: none; }
}

.animalLink{ display: block; }

.animalLink img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);

/* 画像が揺れるときの軸を少し下にして“ぷに感” */
  transform-origin: 50% 70%;
}

/* =========================================
  Animals: hover ぷるぷる（CSS）
========================================= */

/* hover/focus時：アイコンっぽいぷるぷる */
.animalCard:hover .animalLink img,
.animalLink:focus-visible img{
  animation: dz-wiggle .55s ease-in-out infinite;
  filter: saturate(1.08) contrast(1.03);
}

/* ぷるぷる（回転＋ちょい上下） */
@keyframes dz-wiggle{
  0%   { transform: translateY(0) rotate(0deg) scale(1.00); }
  20%  { transform: translateY(-1px) rotate(-2.5deg) scale(1.02); }
  40%  { transform: translateY(-1px) rotate( 2.5deg) scale(1.02); }
  60%  { transform: translateY(0) rotate(-2deg) scale(1.02); }
  80%  { transform: translateY(0) rotate( 2deg) scale(1.02); }
  100% { transform: translateY(0) rotate(0deg) scale(1.00); }
}

/* 動きが苦手な人への配慮 */
@media (prefers-reduced-motion: reduce){
  .animalCard:hover .animalLink img,
  .animalLink:focus-visible img{
    animation: none;
  }
}


.animalBody{
  padding: 14px 16px 16px;
  background: linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,.92));
}
.animalTitle{ margin: 0 0 6px; font-size: 1.12rem; }
.animalText{ margin: 0; color: var(--muted); }

/* =========================================
  Animal Filters (chips)
========================================= */
.animalFilters{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 22px;
}

.chip{
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.85);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
  box-shadow: 0 8px 18px rgba(0,0,0,.04);
  user-select: none;
}
.chip:hover{ transform: translateY(-2px); }
.chip:active{ transform: translateY(0); box-shadow: 0 6px 14px rgba(0,0,0,.04); }

.chip.is-active{
  background: rgba(47,143,107,.14);
  border-color: rgba(47,143,107,.28);
}

/* =========================================
  Footer CTA / Footer
========================================= */
.footerCta{
  padding: 60px 0;
  background:
    radial-gradient(900px 400px at 30% 10%, rgba(255,193,7,.25), transparent 60%),
    radial-gradient(900px 400px at 80% 60%, rgba(47,143,107,.18), transparent 65%),
    rgba(255,255,255,.55);
  border-top: 1px solid var(--border);
}

.footerCtaInner{
  display: grid;
  gap: 16px;
  align-items: center;
}
.footerCtaTitle{
  margin: 0 0 6px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.footerCtaText{ margin: 0; color: var(--muted); }
.footerCtaActions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (min-width: 860px){
  .footerCtaInner{ grid-template-columns: 1fr auto; }
}

.siteFooter{
  padding: 28px 0 0;
  background: rgba(253,252,248,.92);
}

.footerInner{
  display: grid;
  gap: 16px;
  padding: 18px 0 22px;
  border-top: 1px solid var(--border);
}

.footerBrand{
  display: flex;
  align-items: center;
  gap: 12px;
}
.footerLogo{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 1000;
  background: rgba(47,143,107,.12);
}
.footerName{ margin: 0; font-weight: 1000; }
.footerNote{ margin: 4px 0 0; color: var(--muted); font-size: .9rem; }

.footerNav{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--muted);
}
.footerNav a{
  padding: 8px 10px;
  border-radius: 999px;
}
.footerNav a:hover{
  background: rgba(47,143,107,.08);
  color: var(--ink);
}

.footerBottom{
  border-top: 1px solid var(--border);
  padding: 14px 0;
}
.footerBottomInner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: var(--muted);
}

.toTop{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.60);
}




/* =========================================
  Animal Modal (Zukan + Quiz)
========================================= */
.animalModal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 100;
}
.animalModal.is-open{ display: block; }

.animalModal__overlay{
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, .65);
  backdrop-filter: blur(2px);
}

.animalModal__panel{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(980px, calc(100% - 28px));
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(20, 24, 32, .10);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  overflow: hidden;
}

/* =========================================
  Animal Modal: SPで閉じるボタンが届かない問題の対策
  - パネルを画面内に収める（max-height）
  - パネル内スクロールを許可（overflow:auto）
  - SPでは中央固定をやめて上寄せ＋閉じるボタンをsticky化
========================================= */
.animalModal__panel{
  max-height: calc(100dvh - 28px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 720px){
  .animalModal__panel{
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
  }
  .animalModal__close{
    position: sticky;
    top: 10px;
    margin-left: auto;
    right: auto;
    z-index: 5;
    float: right;
  }
}

@media (max-height: 640px){
  .animalModal__panel{
    top: 10px;
    transform: translateX(-50%);
  }
}




.animalModal__close{
  position: absolute;
  right: 14px;
  top: 14px;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(20, 24, 32, .12);
  background: rgba(255,255,255,.85);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  z-index: 3;
}

.animalModal__grid{
  display: grid;
  grid-template-columns: 1fr;
}

.animalModal__media{
  margin: 0;
  background: rgba(47,143,107,.05);
}
.animalModal__media img{
  width: 100%;
  height: min(42vh, 360px);
  object-fit: cover;
}

.animalModal__body{
  padding: 18px 18px 22px;
}

.animalModal__badge{
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(47,143,107,.12);
  color: var(--primary);
  font-weight: 900;
  margin: 0 0 10px;
}
.animalModal__title{
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
}
.animalModal__desc{
  margin: 0 0 14px;
  color: var(--muted);
}

.animalModal__meta{
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}
.animalModal__meta > div{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.75);
}
.animalModal__meta dt{ font-weight: 900; color: var(--ink); }
.animalModal__meta dd{ margin: 0; color: var(--muted); font-weight: 700; }

.animalModal__quiz{
  border-radius: 22px;
  border: 1px dashed rgba(47,143,107,.35);
  background: rgba(47,143,107,.06);
  padding: 14px 14px;
}
.animalModal__quizTitle{ margin: 0 0 8px; font-size: 1.05rem; }
.animalModal__q{ margin: 0 0 12px; font-weight: 900; }
.animalModal__a{
  margin: 12px 0 0;
  padding: 12px 12px;
  border-radius: 18px;
  background: rgba(255,193,7,.18);
  border: 1px solid rgba(255,193,7,.28);
  font-weight: 1000;
}

.animalModal__actions{
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* PC */
@media (min-width: 900px){
  .animalModal__grid{
    grid-template-columns: 1fr 1.08fr;
  }
  .animalModal__media img{
    height: 100%;
    min-height: 520px;
  }
  .animalModal__body{
    padding: 22px 22px 26px;
  }
}

/* =========================================
  Quiz choices (3択)
========================================= */
.animalModal__choices{
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.quizChoice{
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.85);
  border-radius: 18px;
  padding: 12px 12px;
  font-weight: 900;
  cursor: pointer;
  text-align: left;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
  box-shadow: 0 10px 22px rgba(0,0,0,.05);
}
.quizChoice:hover{ transform: translateY(-2px); }
.quizChoice:active{ transform: translateY(0); box-shadow: 0 6px 14px rgba(0,0,0,.05); }

.quizChoice.is-correct{
  background: rgba(47,143,107,.14);
  border-color: rgba(47,143,107,.35);
}
.quizChoice.is-wrong{
  background: rgba(255, 80, 80, .10);
  border-color: rgba(255, 80, 80, .26);
  animation: dz-shake .35s ease-in-out 1;
}

@keyframes dz-shake{
  0%,100%{ transform: translateX(0); }
  20%{ transform: translateX(-4px); }
  40%{ transform: translateX(4px); }
  60%{ transform: translateX(-3px); }
  80%{ transform: translateX(3px); }
}

.animalModal__hint{
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.animalModal__result{
  margin: 12px 0 0;
  font-weight: 1000;
}

.animalModal__retry{
  margin-top: 10px;
}

@media (prefers-reduced-motion: reduce){
  .quizChoice.is-wrong{ animation: none; }
}



/* === Patch: quiz choices UX & safe pointer events ===================== */
.animalModal[aria-hidden="true"]{ pointer-events:none; }
.animalModal[aria-hidden="false"]{ pointer-events:auto; }

.quizChoice{
  cursor:pointer;
}
.quizChoice:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 140, 255, .22);
}



/* ===============================
   Courses (polish)
=================================*/
.courseLayout{
  gap: 18px;
}

.courseMap{
  border-radius: 28px;
  background: rgba(255,255,255,.9);
}

.courseMap img{
  display:block;
  width:100%;
  height:auto;
}

/* 右側を「大きいパネル」に */
.coursePanel{
  border-radius: 28px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 40px rgba(0,0,0,.06);
  padding: 14px;
}

.courseCards{
  display:grid;
  gap: 12px;
}

/* カードを“整列”させて、情報密度を下げる */
.courseCard{
  display:flex;
  align-items:center;
  gap: 10px;
  width: 100%;
  text-align:left;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.92);
  padding: 14px 14px;
  cursor:pointer;
  font-weight: 900;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.courseCard strong{
  flex: 1;
  min-width: 0;
}

.courseTime{
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

.courseCard:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0,0,0,.08);
}

.courseCard.is-active{
  border-color: rgba(47,143,107,.45);
  box-shadow: 0 18px 34px rgba(47,143,107,.12);
}

/* “選択中”の視認性：左に太いライン */
.courseCard.is-active{
  position: relative;
}
.courseCard.is-active::before{
  content:"";
  position:absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 6px;
  border-radius: 999px;
  background: rgba(47,143,107,.55);
}

/* chipは少し大きく */
.courseChip{
  width: 14px;
  height: 14px;
}

/* 説明エリア（青枠のイメージ） */
.courseDetail{
  margin-top: 14px;
  border-radius: 22px;
  border: 1px dashed rgba(0,0,0,.12);
  background: rgba(255,255,255,.75);
  padding: 14px;
}

.courseDetail__kicker{
  margin: 0 0 10px;
  font-weight: 1000;
}

.courseDetail__list{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}

.courseAnimalTag{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.92);
  font-weight: 900;
}

.courseAnimalDot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
}


/* コース詳細：対象どうぶつタグの並び */
.courseDetail__animals{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.courseAnimalText{ line-height: 1; }

.courseDetail__note{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
}

/* PCで「地図ドーン」感を強める */
@media (min-width: 900px){
  .courseLayout{
    grid-template-columns: 1.25fr .75fr;
    align-items: start;
  }
  .coursePanel{
    padding: 16px;
  }
}


/* Courses: map fade */
.courseMap img{ transition: opacity .18s ease, transform .18s ease; }
.courseMap img.is-swapping{ opacity: .25; transform: scale(.995); }

/* Courses: map bump */
.courseMap img.is-bump{ transform: scale(1.01); }

/* Courses: detail box (JSが自動生成) */
.courseDetail{
  margin-top: 14px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 38px rgba(18,38,28,.10);
  border: 1px solid rgba(10,30,18,.08);
}
.courseDetail__head{
  display:flex; align-items:center; gap:10px;
}
.courseDetail__title strong{ display:block; font-size: 16px; }
.courseDetail__time{ display:block; font-size: 13px; opacity:.75; margin-top:2px; }
.courseDetail__note{ margin:10px 0 12px; font-size: 13px; line-height: 1.7; opacity:.85; }
.courseDetail__list{
  display:flex; flex-wrap:wrap; gap:8px;
  padding:0; margin:0; list-style:none;
}

.courseDetail__sub{
  margin-top: 6px;
  font-size: 12px;
  opacity: .8;
  font-weight: 900;
}

/* JSが生成する “どうぶつタグ” */
.courseAnimalTag{
  appearance: none;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.92);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.courseAnimalTag:hover{ transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0,0,0,.08); }
.courseAnimalTag:active{ transform: translateY(0); box-shadow: 0 6px 14px rgba(0,0,0,.06); }

.courseDetail__foot{ margin-top: 12px; }
.courseJump{
  width: 100%;
  text-align: center;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid var(--course-accent-line);
  background: color-mix(in srgb, var(--course-accent-soft) 65%, #fff);
  font-weight: 1000;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.courseJump:hover{ transform: translateY(-1px); box-shadow: 0 14px 30px rgba(0,0,0,.10); }
.courseJump:active{ transform: translateY(0); box-shadow: 0 8px 18px rgba(0,0,0,.08); }


/* =========================================================
   Courses Theme System
========================================================= */
.section--courses{
  --course-accent: #F5C84C;        /* default: yellow */
  --course-accent-soft: rgba(245,200,76,.14);
  --course-accent-line: rgba(245,200,76,.45);
}

.section--courses[data-course-theme="yellow"]{
  --course-accent: #F5C84C;
  --course-accent-soft: rgba(245,200,76,.14);
  --course-accent-line: rgba(245,200,76,.45);
}
.section--courses[data-course-theme="red"]{
  --course-accent: #E85B5B;
  --course-accent-soft: rgba(232,91,91,.12);
  --course-accent-line: rgba(232,91,91,.42);
}
.section--courses[data-course-theme="green"]{
  --course-accent: #2F9A6B;
  --course-accent-soft: rgba(47,154,107,.12);
  --course-accent-line: rgba(47,154,107,.42);
}

/* Theme surfaces (courses) */
.section--courses{
  --course-surface: #fff;
  /* ✅ var(--course-tint) → var(--course-accent-soft) */
  --course-surface-tint: color-mix(in srgb, var(--course-accent-soft) 70%, #fff);
  --course-stroke: color-mix(in srgb, var(--course-accent) 28%, var(--line));
}

.section--courses .courseMap,
.section--courses .courseCards,
.section--courses .courseDetail{
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.section--courses .courseCards,
.section--courses .courseDetail{
  background: var(--course-surface-tint);
  border-color: var(--course-stroke);
}

.section--courses .courseMap{
  background: var(--course-surface-tint);
  border-color: var(--course-stroke);
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}

.section--courses .courseMap img{
  transition: transform .25s ease, filter .25s ease;
}

.section--courses[data-course-theme="yellow"] .courseMap img{ filter: saturate(1.02) contrast(1.02); }
.section--courses[data-course-theme="red"]    .courseMap img{ filter: saturate(1.04) contrast(1.03); }
.section--courses[data-course-theme="green"]  .courseMap img{ filter: saturate(1.03) contrast(1.02); }

/* Keep cards crisp on tinted surface */
.section--courses .courseCard{
  background: #fff;
}


/* レイアウト全体に “コース色の気配” を出す */
.section--courses .courseLayout{
  border-radius: 28px;
  background:
    radial-gradient(1200px 420px at 15% 0%,
      var(--course-accent-soft),
      rgba(255,255,255,0) 55%),
    linear-gradient(180deg,
      rgba(255,255,255,.65),
      rgba(255,255,255,.35));
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 18px 50px rgba(0,0,0,.06);
  padding: 18px;
}

/* マップ枠もコース色で “ふわっ” と強調 */
.section--courses .courseMap{
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--course-accent-line);
  box-shadow: 0 14px 40px rgba(0,0,0,.08);
  background: rgba(255,255,255,.55);
}

.section--courses .courseMap img{
  display:block;
  width:100%;
  height:auto;
}

/* 右側カード群：枠/背景をコース色に寄せる */
.section--courses .courseCards{
  border-radius: 22px;
  padding: 14px;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(0,0,0,.06);
  position: relative;
}

.section--courses .courseCards::before{
  content:"";
  position:absolute;
  inset: 10px 10px auto 10px;
  height: 4px;
  border-radius: 999px;
  background: var(--course-accent);
  opacity: .9;
}

/* courseCard：普段はシンプル、activeで “選ばれてる感” */
.section--courses .courseCard{
  width: 100%;
  text-align: left;
  border-radius: 16px;
  padding: 14px 14px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 22px rgba(0,0,0,.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  display:flex;
  align-items:center;
  gap: 10px;
  position: relative;
}

.section--courses .courseCard:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}

.section--courses .courseCard.is-active{
  border-color: var(--course-accent-line);
  background:
    linear-gradient(90deg, var(--course-accent-soft), rgba(255,255,255,.88) 55%);
  box-shadow: 0 16px 34px rgba(0,0,0,.10);
}

.section--courses .courseCard.is-active::before{
  content:"";
  position:absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 999px;
  background: var(--course-accent);
}

/* 色チップはそのまま活かす（既存クラスに合わせて） */
.courseChip{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: 0 0 auto;
  box-shadow: 0 6px 14px rgba(0,0,0,.12);
}
.courseChip.is-yellow{ background: #F5C84C; }
.courseChip.is-red{ background: #E85B5B; }
.courseChip.is-green{ background: #2F9A6B; }

.courseTime{
  margin-left: auto;
  opacity: .75;
  font-weight: 700;
}


/* =========================================================
   Course highlight controls
   ========================================================= */
.btn--mini{
  padding: 10px 12px;
  font-size: .92rem;
  box-shadow: none;
}

.courseDetail__actions{
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.courseDetail__actions .btn{
  background: rgba(255,255,255,.78);
  border-color: rgba(0,0,0,.10);
}

.courseHighlightBar{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.82);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.courseHighlightBar[hidden]{
  display: none !important;
}


.courseHighlightBar__left{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0;
}

.courseHighlightBar__badge{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(0,0,0,.04);
  flex: 0 0 auto;
}

.courseHighlightBar__text{
  margin: 0;
  font-weight: 900;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Animals: course highlight state */
.animalCard.is-course-dim{
  opacity: .35;
  filter: grayscale(.15);
  transform: none;
}

.animalCard.is-course-target{
  outline: 3px solid rgba(0,0,0,.10);
  box-shadow: 0 18px 40px rgba(0,0,0,.10);
}

.animalCard.is-course-target .animalTitle{
  text-decoration: underline;
  text-underline-offset: 4px;
}



/* =========================================
   Course highlight UI tweaks
   - ① ハイライト中は「対象をハイライト」ボタンを強調
   - ② コース対象どうぶつタグの文字位置を安定（左寄せ）
========================================= */
.btn[data-course-highlight].is-on{
  background: var(--course-accent-soft);
  border-color: var(--course-accent-line);
  box-shadow: 0 0 0 3px var(--course-accent-soft);
}
.btn[data-course-highlight].is-on:hover{
  transform: translateY(-1px);
}
.btn[data-course-highlight].is-on:active{
  transform: translateY(0);
}

/* コース詳細の動物タグ：dot + テキストの並びを安定させる */
.courseAnimalTag{
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 8px;
}
.courseAnimalDot{
  display: inline-block;
  flex: 0 0 10px;
  background: var(--course-accent);
}



/* =========================================================
   Courses: default (no course selected)
========================================================= */
.section--courses[data-course-theme="none"]{
  --course-accent: rgba(0,0,0,.10);
  --course-accent-strong: rgba(0,0,0,.18);
}

.courseMap img.is-muted,
#courseMapImg.is-muted{
  filter: grayscale(1) saturate(.85) brightness(1.05);
  opacity: .55;
}

.courseDetail__empty{
  border: 1px dashed rgba(0,0,0,.18);
  background: rgba(255,255,255,.6);
  border-radius: 16px;
  padding: 14px 14px;
}

.courseDetail__emptyTitle{
  margin: 0;
  font-weight: 800;
}

.courseDetail__emptyText{
  margin: 6px 0 0;
  color: rgba(0,0,0,.65);
  line-height: 1.6;
}

/* ===============================
   Hero Copy Glass Panel
================================ */
.hero__copyWrap{
  display:inline-block;
  padding:32px 40px;
  border-radius:28px;

  background: rgba(255,255,255,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 10px 30px rgba(0,0,0,.08),
    inset 0 0 0 1px rgba(255,255,255,.6);
}

/* タイトル強化 */
.hero__title{
  color:#1c2b22;
  line-height:1.2;
}

.hero__title span{
  color: var(--color-primary);
}

/* 説明文の視認性アップ */
.hero__lead{
  color:#2e3a33;
}


.heroSide .card--glass{
  box-shadow:
    0 14px 40px rgba(0,0,0,.12),
    inset 0 0 0 1px rgba(255,255,255,.65);
}

.heroSide .card{
  border-radius: 32px;
}


.hero::after{
  background:
    radial-gradient(1200px 600px at 20% 20%, rgba(255,255,255,.82), transparent 60%),
    linear-gradient(to bottom, rgba(253,252,248,.20), rgba(253,252,248,.85));
}


/* =========================================
  Ticket Purchase Page
========================================= */
.ticketPage{
  padding: 34px 0 70px;
}
.ticketHero{
  margin: 10px 0 18px;
  display: grid;
  gap: 10px;
}
.ticketHero__title{
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.4rem);
  line-height: 1.2;
}
.ticketHero__lead{
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.ticketLayout{
  display: grid;
  gap: 16px;
  align-items: start;
}
@media (min-width: 920px){
  .ticketLayout{
    grid-template-columns: 1.05fr .95fr;
    gap: 18px;
  }
}

.ticketCard{
  background: rgba(255,255,255,.72);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.ticketCard__head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.ticketCard__title{
  margin: 0;
  font-size: 1.2rem;
}
.ticketCard__badge{
  display:inline-flex;
  gap: .45rem;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,193,7,.18);
  border: 1px solid rgba(255,193,7,.28);
  font-weight: 1000;
}

.formGrid{
  display:grid;
  gap: 12px;
  margin-top: 12px;
}
.formRow{
  display:grid;
  gap: 8px;
}
@media (min-width: 560px){
  .formRow.is-2col{
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

.fieldLabel{
  font-weight: 1000;
}
.fieldHint{
  color: var(--muted);
  font-size: .9rem;
  margin-top: -2px;
}

.field{
  width: 100%;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.86);
  font-weight: 800;
  transition: box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}
.field:focus{
  outline: none;
  border-color: color-mix(in srgb, var(--primary) 55%, rgba(0,0,0,.10));
  box-shadow: var(--focus);
  background: #fff;
}

.stepper{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap: wrap;
}
.stepper__btn{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.86);
  font-weight: 1000;
  cursor:pointer;
  display:grid;
  place-items:center;
}
.stepper__btn:hover{ transform: translateY(-1px); }
.stepper__btn:active{ transform: translateY(0); }
.stepper__val{
  min-width: 44px;
  text-align:center;
  font-weight: 1000;
}

.ticketSummary{
  display:grid;
  gap: 12px;
}
.summaryLine{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.74);
}
.summaryLine strong{ font-weight: 1000; }
.summaryTotal{
  padding: 14px 14px;
  border-radius: 22px;
  border: 1px solid rgba(255,193,7,.30);
  background: rgba(255,193,7,.14);
}
.summaryTotal .yen{
  font-size: 1.35rem;
  font-weight: 1100;
}

.ticketActions{
  margin-top: 14px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.noticeBox{
  margin-top: 12px;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px dashed rgba(0,0,0,.14);
  background: rgba(255,255,255,.62);
  color: var(--muted);
  font-weight: 700;
  font-size: .92rem;
}

/* ===============================
   Pop Mascots (after submit)
================================ */
.popStage{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
}
.popMascot{
  position:absolute;
  width: 86px;
  height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.20));
  transform-origin: 50% 80%;
  animation: popIn 900ms cubic-bezier(.2,.9,.2,1) both;
}
@keyframes popIn{
  0%   { transform: translateY(30px) scale(.2) rotate(-10deg); opacity: 0; }
  50%  { transform: translateY(-10px) scale(1.10) rotate(8deg); opacity: 1; }
  75%  { transform: translateY(0) scale(.98) rotate(-6deg); }
  100% { transform: translateY(0) scale(1) rotate(0deg); }
}
.popMascot.is-float{
  animation: popIn 900ms cubic-bezier(.2,.9,.2,1) both, heroFloat 3.6s ease-in-out 900ms infinite;
}

/* fallback emoji */
.popEmoji{
  position:absolute;
  font-size: 54px;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.18));
  transform-origin: 50% 80%;
  animation: popIn 900ms cubic-bezier(.2,.9,.2,1) both;
}

/* confirmation */
.ticketDone{
  margin-top: 14px;
  border-radius: 24px;
  border: 1px solid rgba(47,143,107,.22);
  background: rgba(47,143,107,.08);
  padding: 14px 14px;
}
.ticketDone__title{
  margin: 0 0 6px;
  font-weight: 1100;
}
.ticketDone__text{
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

/* ticket: 来園日 input の“文字だけ”消して、上に表示を重ねる（アイコンは残す） */
.formRow--visitDate{ position: relative; }

.formRow--visitDate #visitDate{
  color: transparent;
  -webkit-text-fill-color: transparent;
  caret-color: transparent;
  padding-right: 56px; /* 右のカレンダー領域は確保 */
}

.formRow--visitDate #visitWeek{
  position: absolute;
  left: 14px;
  right: 56px; /* アイコンに被せない */
  top: 34px;   /* ずれたらここだけ微調整 */
  height: 46px;

  display: flex;
  align-items: center;
  pointer-events: none;

  color: var(--ink, #222);
  font-weight: 700;
}