/* HITOIKI COFFEE | style.css */

:root {
  --ink: #14181f;
  --navy: #3a5068;
  --navy-deep: #2c3e52;
  --paper: #f2f0ec;
  --concrete: #a9adb7;
  --accent: #d9824a;
  --hand: 'Gochi Hand','Yomogi',cursive;
  --jp: 'Yomogi',sans-serif;
  --bold: 'Zen Kaku Gothic New',sans-serif;
  --ease: cubic-bezier(.22,.8,.24,1);
  --wob: 6px 11px 7px 12px / 11px 6px 12px 7px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--jp);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.9;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
}

/* 紙のざらつき */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .4 0 0 0 0 .35 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* ---------- 手描きの線（線が小さく揺れ続ける） ---------- */
.doodle,
.mascot svg,
.sketch::before,
.btn::before {
  filter: url(#r1);
  animation: boilf .9s steps(1) infinite;
}

@keyframes boilf {
  0% { filter: url(#r1); }
  50% { filter: url(#r2); }
}

.doodle,
.mascot svg {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.doodle .fl,
.mascot .fl {
  fill: var(--fl,rgba(217,130,74,.55));
  stroke: none;
  transform: translate(5px,5px);
}

/* 少しずれた色ぬり */
.doodle .steam,
.mascot .steam {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: steam 2.8s ease-in-out infinite;
}

.doodle .s2,
.mascot .s2 {
  animation-delay: .5s;
}

.doodle .s3,
.mascot .s3 {
  animation-delay: 1s;
}

/* 手描き風の箱（線も影もゆらゆら） */
.sketch {
  position: relative;
  isolation: isolate;
}

.sketch::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg,#fff);
  border: 2.5px solid var(--ink);
  border-radius: var(--wob);
  box-shadow: 5px 5px 0 var(--ink);
}

.btn {
  --bg: var(--navy);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--hand);
  font-size: 22px;
  letter-spacing: .04em;
  color: #fff;
  transition: transform .35s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg);
  border: 2.5px solid var(--ink);
  border-radius: var(--wob);
  box-shadow: 5px 5px 0 var(--ink);
}

.btn:hover {
  transform: translate(3px,3px);
}

.btn:hover::before {
  box-shadow: 2px 2px 0 var(--ink);
}

.btn.light {
  --bg: var(--paper);
  color: var(--ink);
}

.btn.accent {
  --bg: var(--accent);
  color: var(--ink);
}

.tag {
  font-family: var(--hand);
  font-size: 22px;
  letter-spacing: .06em;
}

.ph {
  position: relative;
  overflow: hidden;
}

.ph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tape {
  position: absolute;
  width: 92px;
  height: 28px;
  background: rgba(236,196,150,.8);
  box-shadow: 0 1px 3px rgba(0,0,0,.18);
  z-index: 3;
  clip-path: polygon(0 8%,4% 0,8% 10%,12% 0,100% 0,96% 50%,100% 100%,10% 100%,6% 90%,3% 100%,0 85%,3% 50%);
}

.anno {
  position: absolute;
  z-index: 4;
  background: #fffdf8;
  border: 2px solid var(--ink);
  border-radius: var(--wob);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 4px 12px 4px 6px;
  line-height: 1.35;
  font-family: var(--hand);
  font-size: 23px;
  color: var(--navy-deep);
  display: flex;
  align-items: flex-start;
  gap: 4px;
  transform: rotate(-5deg);
  white-space: nowrap;
}

.anno svg {
  width: 44px;
  height: 44px;
  stroke: var(--navy-deep);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.torn {
  position: absolute;
  left: 0;
  width: 100%;
  height: 70px;
  display: block;
  color: var(--c,var(--paper));
  z-index: 3;
}

.torn path {
  fill: currentColor;
}

.torn.top {
  top: -69px;
}

.torn.bottom {
  bottom: -1px;
}

/* ---------- header ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 44px;
  transition: background .4s,padding .4s;
}

header.scrolled {
  background: rgba(242,240,236,.93);
  backdrop-filter: blur(8px);
  padding: 12px 44px;
  box-shadow: 0 2px 0 rgba(20,24,31,.12);
}

.logo {
  font-family: var(--hand);
  font-size: 34px;
  line-height: .9;
  letter-spacing: .02em;
  transform: rotate(-3deg);
}

.logo small {
  display: block;
  font-size: 22px;
  margin-left: 12px;
}

nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-family: var(--hand);
  font-size: 21px;
}

nav a {
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

nav a:hover::after {
  transform: scaleX(1);
}

nav .nav-btn {
  padding: 2px 18px;
  --bg: rgba(255,255,255,.5);
}

nav .nav-btn::before {
  box-shadow: none;
}

nav .nav-btn::after {
  display: none;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 130px 44px 150px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
  background-color: var(--concrete);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .27 0 0 0 0 .32 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 30% 30%,rgba(255,255,255,.35),transparent 60%);
}

/* FV：手のイラスト + コーヒー画像（.stage） */
.kicker {
  position: absolute;
  top: 5%;
  left: 6%;
  z-index: 5;
}

.kicker span {
  font-family: var(--hand);
  font-size: clamp(32px,4vw,56px);
  line-height: 1;
  transform: rotate(-2deg);
  display: inline-block;
  color: var(--ink);
}

.kicker svg {
  display: block;
  width: min(360px,70%);
  height: 20px;
  margin-top: 2px;
  stroke: var(--ink);
  stroke-width: 4;
  fill: none;
  stroke-linecap: round;
}

.kicker svg path {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: draw 1.2s var(--ease) 1s forwards;
}

.hero-copy {
  position: relative;
  z-index: 2;
  grid-column: 2;
}

.h1wrap {
  position: relative;
  font-size: clamp(40px,5.2vw,76px);
}

.hero h1 {
  font-family: var(--bold);
  font-weight: 900;
  font-size: 1em;
  line-height: 1.18;
  letter-spacing: .02em;
}

.hero h1 span {
  display: block;
  overflow: hidden;
  padding-bottom: .08em;
}

.hero h1 i {
  display: block;
  font-style: normal;
  transform: translateY(112%);
  animation: rise 1.2s var(--ease) forwards;
}

.hero h1 span:nth-child(1) i {
  animation-delay: .4s;
}

.hero h1 span:nth-child(2) i {
  animation-delay: .55s;
}

.hero h1 span:nth-child(3) i {
  animation-delay: .7s;
}

.circle {
  position: absolute;
  left: -.2em;
  top: 1.05em;
  width: 2.5em;
  height: 1.5em;
  stroke: var(--accent);
  stroke-width: 4;
  fill: none;
  stroke-linecap: round;
  pointer-events: none;
}

.circle path {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: draw 1.4s var(--ease) 1.9s forwards;
}

.hero .en {
  font-family: var(--hand);
  font-size: clamp(24px,2.6vw,34px);
  margin: 14px 0 6px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.1s forwards;
}

.hero .sub {
  font-size: clamp(15px,1.5vw,18px);
  line-height: 2.1;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.3s forwards;
}

.hero .cta {
  margin-top: 32px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.55s forwards;
}

.hero .micro {
  margin-top: 18px;
  font-size: 13px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero .micro span::before {
  content: "✓ ";
  font-family: var(--hand);
  color: var(--navy-deep);
  font-size: 18px;
}

.stage {
  position: relative;
  justify-self: center;
  width: min(480px,90%);
  z-index: 2;
  --hand-x: 12%;  /* 手の左右位置。大きいほど右へ */
  --hand-y: -10px;  /* 手の上下位置。大きいほどコーヒーに近づく */
}

.shot {
  position: relative;
}

.shot .ph {
  margin-top: 70px;
}

/* コーヒーを下げる量 */
.shot .ph img {
  height: auto;
}

.hand-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 4;
  pointer-events: none;
}

.hand-move {
  position: absolute;
  inset: 0;
  transform: translate(calc(var(--mx,0)*16px),calc(var(--my,0)*10px));
  transition: transform .6s var(--ease);
}

.hand {
  position: absolute;
  left: var(--hand-x);
  top: var(--hand-y);
  width: 62%;
  height: auto;
  stroke-width: 4.6;
  animation: boilf .9s steps(1) infinite,reach 3.6s ease-in-out 3.4s infinite;
}

.hand .ln {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.1s ease-out forwards;
  animation-delay: calc(.9s + var(--i,0)*.22s);
}

/* マーカーで描かれていく */
.hand .nail {
  fill: var(--ink);
  stroke: none;
  opacity: 0;
  animation: fadeIn .4s ease-out 3s forwards;
}

.hand .fg {
  transform-box: fill-box;
  transform-origin: 50% 0;
  animation: pinchL 3s ease-in-out 4.2s infinite;
}

.hand .f2 {
  animation-delay: 4.4s;
}

.hand .f3 {
  animation-delay: 4.6s;
}

.hand .idx {
  transform-box: fill-box;
  transform-origin: 50% 0;
  animation: pinchL 2.6s ease-in-out 4s infinite;
}

.hand .thm {
  transform-box: fill-box;
  transform-origin: 50% 0;
  animation: pinchR 2.6s ease-in-out 4s infinite;
}

.scroll-down {
  position: absolute;
  right: 44px;
  bottom: 110px;
  z-index: 2;
  font-family: var(--hand);
  font-size: 22px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.scroll-down svg {
  width: 26px;
  height: 46px;
  stroke: var(--ink);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  animation: bob 1.6s ease-in-out infinite;
}

/* アイコン画像 */
.icon-slot img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- 3 points ---------- */
.points {
  position: relative;
  background: var(--paper);
  padding: 30px 44px 130px;
}

.sec-head {
  text-align: center;
  margin-bottom: 70px;
}

.sec-head .tag {
  color: var(--navy);
}

.sec-head h2 {
  font-family: var(--bold);
  font-weight: 900;
  font-size: clamp(22px,3.8vw,50px);
  line-height: 1.35;
  margin-top: 6px;
}

.sec-head h2 em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}

.sec-head h2 em svg {
  position: absolute;
  left: -2%;
  bottom: -.28em;
  width: 104%;
  height: .4em;
  stroke: var(--accent);
  stroke-width: 5;
  fill: none;
  stroke-linecap: round;
}

.sec-head h2 em svg path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 1.2s var(--ease) .5s;
}

.sec-head.in h2 em svg path {
  stroke-dashoffset: 0;
}

.cols {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 56px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.col {
  position: relative;
}

.col:nth-child(2) {
  margin-top: 80px;
}

.col:nth-child(3) {
  margin-top: 24px;
}

.col .head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 10px;
}

.col .num {
  font-family: var(--hand);
  font-size: clamp(28px,3vw,42px);
  line-height: 1;
  text-transform: uppercase;
}

.col .num b {
  display: block;
  font-weight: 400;
  font-size: .62em;
  color: var(--navy);
}

.col .doodle {
  width: 110px;
  height: 110px;
  flex: none;
}

.col .frame {
  position: relative;
  padding: 12px;
  --bg: #fff;
}

.col:nth-child(1) .frame {
  transform: rotate(-2deg);
}

.col:nth-child(2) .frame {
  transform: rotate(1.6deg);
}

.col:nth-child(3) .frame {
  transform: rotate(-1deg);
}

.col .frame .ph {
  aspect-ratio: 4/3;
}

.col .frame .tape {
  top: -14px;
  left: 50%;
  margin-left: -46px;
  transform: rotate(-4deg);
}

.col h3 {
  font-family: var(--bold);
  font-weight: 900;
  font-size: 21px;
  margin: 26px 0 4px;
}

.col p {
  font-size: 14.5px;
  line-height: 2;
}

.col .anno {
  right: -6px;
  top: 150px;
}

/* ---------- 今日の一杯 ---------- */
.pick {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: 120px 44px 110px;
}

.pick .sec-head .tag {
  color: #f0c9a9;
}

.moods {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.mood {
  --bg: transparent;
  position: relative;
  isolation: isolate;
  padding: 12px 26px;
  font-family: var(--bold);
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  transition: transform .3s var(--ease),color .3s;
}

.mood::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg);
  border: 2.5px solid #fff;
  border-radius: var(--wob);
  filter: url(#r1);
  animation: boilf .9s steps(1) infinite;
  transition: background .3s;
}

.mood:hover {
  transform: translateY(-3px);
}

.mood.on {
  color: var(--navy-deep);
  transform: translateY(-3px) rotate(-1.5deg);
}

.mood.on::before {
  background: #fff;
}

.msg {
  min-height: 36px;
  text-align: center;
  font-family: var(--hand);
  font-size: 26px;
  color: #f0c9a9;
  margin-bottom: 46px;
  transition: opacity .35s;
}

.menu {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 36px;
  max-width: 1080px;
  margin: 0 auto;
}

.drink {
  --bg: var(--paper);
  position: relative;
  color: var(--ink);
  padding: 30px 26px 28px;
  text-align: center;
  transition: transform .5s var(--ease);
}

.drink:nth-child(1) {
  transform: rotate(-1.2deg);
}

.drink:nth-child(2) {
  transform: rotate(.8deg);
}

.drink:nth-child(3) {
  transform: rotate(-.5deg);
}

.drink.on {
  transform: translateY(-16px) rotate(0);
}

.drink::before {
  box-shadow: 6px 6px 0 rgba(0,0,0,.55);
}

.drink .doodle {
  width: 96px;
  height: 112px;
  margin: 0 auto 6px;
  display: block;
}

.drink h3 {
  font-family: var(--bold);
  font-weight: 900;
  font-size: 21px;
}

.drink small {
  display: block;
  font-family: var(--hand);
  font-size: 19px;
  color: var(--navy);
}

.drink p {
  font-size: 14px;
  line-height: 1.95;
  margin: 10px 0 14px;
}

.drink .price {
  display: inline-block;
  position: relative;
  font-family: var(--hand);
  font-size: 32px;
  padding: 0 14px;
}

.drink .price svg {
  position: absolute;
  inset: -6px -4px;
  width: calc(100% + 8px);
  height: calc(100% + 12px);
  stroke: var(--accent);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
}

.drink .price svg path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset .9s var(--ease);
}

.drink.on .price svg path {
  stroke-dashoffset: 0;
}

.burst {
  position: absolute;
  top: -30px;
  right: -16px;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--hand);
  font-size: 17px;
  line-height: 1.15;
  color: var(--ink);
  background: var(--accent);
  clip-path: polygon(50% 0,60% 14%,76% 6%,78% 23%,95% 24%,88% 40%,100% 50%,88% 60%,95% 76%,78% 77%,76% 94%,60% 86%,50% 100%,40% 86%,24% 94%,22% 77%,5% 76%,12% 60%,0 50%,12% 40%,5% 24%,22% 23%,24% 6%,40% 14%);
  transform: scale(0) rotate(-40deg);
  transition: transform .55s var(--ease);
}

.drink.on .burst {
  transform: scale(1) rotate(8deg);
}

.pick .go {
  text-align: center;
  margin-top: 60px;
}

/* ---------- 声 ---------- */
.voices {
  position: relative;
  background: var(--paper);
  padding: 130px 44px 110px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto 90px;
  text-align: center;
}

.stat {
  position: relative;
  padding: 18px 10px;
}

.stat b {
  position: relative;
  display: inline-block;
  font-family: var(--hand);
  font-weight: 400;
  font-size: clamp(54px,7vw,92px);
  line-height: 1;
  color: var(--navy);
}

.stat b small {
  font-size: .4em;
  margin-left: 4px;
  color: var(--ink);
}

.stat .scr {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 200px;
  height: 110px;
  margin-left: -100px;
  stroke: var(--accent);
  stroke-width: 3.5;
  fill: none;
  stroke-linecap: round;
  pointer-events: none;
}

.stat .scr path {
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  transition: stroke-dashoffset 1.4s var(--ease) .4s;
}

.stat.in .scr path {
  stroke-dashoffset: 0;
}

.stat>span {
  display: block;
  font-size: 14px;
  margin-top: 8px;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 40px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
}

.quote {
  padding: 30px 26px 24px;
  margin-bottom: 60px;
}

.quote:nth-child(1) {
  transform: rotate(-1.2deg);
}

.quote:nth-child(2) {
  transform: rotate(1deg);
  margin-top: 36px;
}

.quote:nth-child(3) {
  transform: rotate(-.6deg);
}

.quote::after {
  content: "";
  position: absolute;
  left: 44px;
  bottom: -15px;
  width: 24px;
  height: 24px;
  background: #fff;
  border-right: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  transform: rotate(45deg);
  z-index: -1;
}

.quote p {
  font-size: 15px;
  line-height: 2.1;
}

.quote .who {
  position: absolute;
  left: 22px;
  bottom: -84px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--hand);
  font-size: 19px;
  color: var(--navy);
}

.quote .who svg {
  width: 56px;
  height: 56px;
}

/* ---------- about ---------- */
.about {
  position: relative;
  background: #e9e6e0;
  padding: 130px 44px 110px;
}

.about-in {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.about h2 {
  font-family: var(--bold);
  font-weight: 900;
  font-size: clamp(30px,4vw,54px);
  line-height: 1.3;
}

.about h2 small {
  display: block;
  font-family: var(--hand);
  font-weight: 400;
  font-size: .5em;
  color: var(--navy);
}

.about .portrait {
  width: min(300px,80%);
  margin-top: 20px;
}

.about .note {
  --bg: #fffdf8;
  padding: 40px 36px;
  transform: rotate(1deg);
}

.about .note .tape {
  top: -14px;
  left: 30px;
  transform: rotate(-8deg);
}

.about .note .tape.t2 {
  left: auto;
  right: 30px;
  transform: rotate(7deg);
}

.about p {
  font-size: 15.5px;
  line-height: 2.3;
}

.about p+p {
  margin-top: 18px;
}

/* ---------- スタンプ ---------- */
.stamp {
  position: relative;
  background: var(--paper);
  padding: 120px 44px 110px;
  text-align: center;
}

.stamp .hint {
  font-size: 13px;
  opacity: .7;
  margin-bottom: 30px;
}

.ticket {
  --bg: #fff;
  max-width: 780px;
  margin: 0 auto 40px;
  padding: 36px 36px 30px 64px;
  transform: rotate(-.8deg);
  text-align: left;
}

.ticket::after {
  content: "COFFEE PASS";
  position: absolute;
  left: 14px;
  top: 50%;
  font-family: var(--hand);
  font-size: 20px;
  letter-spacing: .2em;
  color: var(--navy);
  transform: translate(-50%,-50%) rotate(-90deg);
  transform-origin: center;
  white-space: nowrap;
  left: 30px;
}

.ticket .perf {
  position: absolute;
  left: 58px;
  top: 14px;
  bottom: 14px;
  border-left: 2.5px dashed #9aa1ad;
}

.slots {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 18px;
}

.slot {
  aspect-ratio: 1;
  border: 2.5px dashed #9aa1ad;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--hand);
  font-size: 26px;
  color: #9aa1ad;
  position: relative;
}

.slot:not(.full)::before {
  content: attr(data-n);
}

.slot svg {
  position: absolute;
  inset: 6%;
  width: 88%;
  height: 88%;
  opacity: 0;
  stroke: var(--navy);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slot.full {
  border: 2.5px solid var(--navy);
}

.slot.full svg {
  opacity: 1;
  animation: stampIn .55s var(--ease);
}

.slot.gift {
  border-color: var(--accent);
  color: var(--accent);
}

.slot.gift::before {
  content: "FREE" !important;
  font-size: 20px;
}

.slot.gift.full svg {
  stroke: var(--accent);
}

.slot.gift.full::before {
  content: ""!important;
}

.stamp-msg {
  margin-top: 24px;
  font-family: var(--hand);
  font-size: 27px;
  color: var(--navy-deep);
}

.stamp-msg b {
  color: var(--accent);
  font-weight: 400;
  font-size: 1.35em;
}

/* ---------- FAQ ---------- */
.faq {
  position: relative;
  background: #e9e6e0;
  padding: 120px 44px 110px;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

details {
  margin-bottom: 22px;
  --bg: #fff;
}

details:nth-child(odd) {
  transform: rotate(-.5deg);
}

details:nth-child(even) {
  transform: rotate(.5deg);
}

summary {
  list-style: none;
  padding: 18px 60px 18px 62px;
  font-family: var(--bold);
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  position: relative;
}

summary::-webkit-details-marker {
  display: none;
}

summary::before {
  content: "Q";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%) rotate(-6deg);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-family: var(--hand);
  font-size: 22px;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
}

summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--hand);
  font-size: 34px;
  transition: transform .4s var(--ease);
}

details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

details p {
  padding: 0 26px 22px 62px;
  font-size: 15px;
  line-height: 2.1;
  animation: fadeUp .5s var(--ease);
}

/* ---------- final ---------- */
.final {
  position: relative;
  background: var(--navy-deep);
  color: #fff;
  text-align: center;
  padding: 110px 24px 130px;
}

.final .shout {
  font-family: var(--bold);
  font-weight: 700;
  font-size: clamp(20px,2.6vw,32px);
}

.final h2 {
  font-family: var(--hand);
  font-weight: 400;
  font-size: clamp(40px,6.6vw,96px);
  line-height: 1.05;
  margin: 10px 0 36px;
}

.final .btns {
  display: flex;
  gap: 26px;
  justify-content: center;
  flex-wrap: wrap;
}

.final .btn::before {
  box-shadow: 5px 5px 0 #000;
  border-color: #000;
}

.final .mascot-wrap {
  position: absolute;
  right: 6%;
  bottom: 60px;
  width: 170px;
}

.final .icon-slot img {
  animation: hop 2.6s ease-in-out infinite;
}

footer {
  position: relative;
  background-color: var(--concrete);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25 0 0 0 0 .27 0 0 0 0 .32 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  padding: 46px 44px 90px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--hand);
  font-size: 22px;
}

footer u {
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

footer .sns {
  display: flex;
  gap: 18px;
}

footer .sns svg {
  width: 30px;
  height: 30px;
  stroke: var(--ink);
  stroke-width: 2;
  fill: none;
  transition: transform .4s var(--ease);
}

footer .sns svg:hover {
  transform: translateY(-4px) rotate(-6deg);
}

footer .note {
  width: 100%;
  font-family: var(--jp);
  font-size: 11px;
  opacity: .7;
}

.walker {
  position: absolute;
  bottom: 100%;
  margin-bottom: -4px;
  left: -120px;
  width: 78px;
  animation: walk 26s linear infinite;
  pointer-events: none;
}

.walker .icon-slot {
  animation: step .5s ease-in-out infinite;
}

/* ---------- 追従CTA・クリック演出 ---------- */
.sticky {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 70;
  transform: translate(-50%,170%);
  transition: transform .6s var(--ease);
}

.sticky.show {
  transform: translate(-50%,0);
}

.sticky .btn {
  --bg: var(--accent);
  color: var(--ink);
  padding: 13px 28px;
  font-size: 21px;
}

.spark {
  position: fixed;
  z-index: 200;
  width: 34px;
  height: 34px;
  pointer-events: none;
  stroke: var(--accent);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: floatUp 1s var(--ease) forwards;
}

/* ---------- reveal ---------- */
.rv {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease),transform 1s var(--ease);
  transition-delay: var(--d,0s);
}

.rv.in {
  opacity: 1;
}

.rv.in:not(.col):not(.drink):not(.quote):not(.ticket):not(.note):not(details) {
  transform: none;
}

.col.rv.in,
.drink.rv.in,
.quote.rv.in,
.ticket.rv.in,
.note.rv.in,
details.rv.in {
  transform: var(--rot,none);
}

@keyframes rise {
  to { transform: none; }
}

@keyframes handIn {
  from { transform: translateY(-110%) rotate(10deg); }
  60% { transform: translateY(4%) rotate(-3deg); }
  to { transform: none; }
}

@keyframes reach {
  0%,100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(14px) rotate(-1.5deg); }
}

@keyframes wig {
  0%,100% { transform: rotate(0); }
  50% { transform: rotate(-5deg); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes pinchL {
  0%,100% { transform: rotate(0); }
  50% { transform: rotate(-3deg); }
}

@keyframes pinchR {
  0%,100% { transform: rotate(0); }
  50% { transform: rotate(3deg); }
}

@keyframes tick {
  0%,100% { opacity: 0; transform: scale(.6); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes steam {
  0% { stroke-dashoffset: 40; opacity: 0; }
  30% { opacity: 1; }
  100% { stroke-dashoffset: -40; opacity: 0; }
}

@keyframes bob {
  50% { transform: translateY(8px); }
}

@keyframes hop {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes jump {
  0% { transform: translateY(0); }
  40% { transform: translateY(-34px) rotate(-6deg); }
  100% { transform: translateY(0); }
}

@keyframes blink {
  0%,94%,100% { transform: scaleY(1); }
  97% { transform: scaleY(.1); }
}

@keyframes wave {
  0%,100% { transform: rotate(-8deg); }
  50% { transform: rotate(14deg); }
}

@keyframes stampIn {
  0% { transform: scale(2.6) rotate(-25deg); opacity: 0; }
  60% { transform: scale(.92) rotate(4deg); opacity: 1; }
  100% { transform: none; opacity: 1; }
}

@keyframes walk {
  to { left: 105%; }
}

@keyframes step {
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-6px) rotate(3deg); }
}

@keyframes floatUp {
  from { opacity: 1; transform: translateY(0) scale(.6) rotate(0); }
  to { opacity: 0; transform: translateY(-60px) scale(1.3) rotate(40deg); }
}

@media (max-width:900px) {
  header,
  header.scrolled {
    padding: 14px 20px;
  }

  nav a:not(.nav-btn) {
    display: none;
  }

  .logo {
    font-size: 28px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 100px 22px 150px;
    align-content: start;
  }

  .hero-copy {
    grid-column: 1;
    order: 1;
    padding: 0;
  }

  .stage {
    order: 2;
    width: min(340px,84%);
    margin-top: 36px;
  }

  .scroll-down {
    display: none;
  }

  .points,
  .pick,
  .voices,
  .about,
  .stamp,
  .faq {
    padding-left: 22px;
    padding-right: 22px;
  }

  .cols,
  .menu,
  .quotes,
  .stats,
  .about-in {
    grid-template-columns: 1fr;
  }

  .col:nth-child(2),
  .col:nth-child(3),
  .quote:nth-child(2) {
    margin-top: 0;
  }

  .col .anno {
    display: none;
  }

  .quote {
    margin-bottom: 96px;
  }

  .slots {
    gap: 10px;
  }

  .ticket {
    padding: 30px 18px 26px 44px;
  }

  .ticket .perf {
    left: 38px;
  }

  .ticket::after {
    left: 16px;
  }

  .final .mascot-wrap {
    position: static;
    margin: 36px auto 0;
    width: 130px;
  }

  footer {
    padding: 46px 22px 90px;
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    animation: none!important;
    transition: none!important;
  }

  .rv {
    opacity: 1;
    transform: none;
  }

  .hero h1 i {
    transform: none;
  }

  .hero .en,
  .hero .sub,
  .hero .cta {
    opacity: 1;
  }

  .hand .ln,
  .kicker svg path,
  .circle path,
  .sec-head em svg path,
  .stat .scr path,
  .drink .price svg path {
    stroke-dashoffset: 0;
  }

  .walker {
    display: none;
  }

  .hand .nail {
    opacity: 1;
  }
}