/* ============================================================
   株式会社JOL コーポレートトップ — ページ固有
   共有パーツ（ヘッダー・フッター・ボタン・見出し）は shared.css
   ============================================================ */
:root {
  --en: "Avenir Next", Avenir, "Nunito Sans", "Helvetica Neue", sans-serif; /* 英字・数字・ゲーム表示 */
}
.pc { display: inline; }
@media (max-width: 640px) { .pc { display: none; } }

.block { position: relative; padding: clamp(96px, 10vw, 168px) 0; }
.more { margin-top: clamp(48px, 4.4vw, 72px); text-align: center; }

/* ============================================================
   Hero — 1画面・コピーのみ
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--text);
  background: #fff;
}
.approach__grid, .final-cta__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__center {
  position: relative;
  padding: 0 clamp(20px, 4vw, 64px);
  text-align: center;
}
.hero__title {
  font-size: clamp(30px, 4.6vw, 80px);
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: 0.02em;
}
.hero__title .nw { display: inline-block; }
.hero__en {
  margin-top: clamp(20px, 2vw, 32px);
  font-family: var(--en);
  font-size: clamp(11px, 0.95vw, 15px);
  letter-spacing: 0.08em;
  color: var(--muted);
}
.hero__en::after {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  margin-left: 0.3em;
  vertical-align: -0.2em;
  background: var(--orange);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ============================================================
   About
   ============================================================ */
.promise {
  list-style: none;
  margin-top: clamp(48px, 4.4vw, 72px);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(12px, 1.4vw, 20px);
}
.promise li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px 14px 16px;
  border-radius: 999px;
  background: var(--bg-light);
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 700;
}
.promise span {
  font-family: var(--en);
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  background: var(--orange);
  border-radius: 999px;
  padding: 3px 9px;
}

/* ============================================================
   Services — 1行リスト
   ============================================================ */
.services { background: var(--bg-light); }
.services .section-lead { text-align: center; }
.svc-cards {
  list-style: none;
  max-width: 960px;
  margin: clamp(40px, 4vw, 64px) auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
}
.svc-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 2.2vw, 32px) clamp(20px, 1.8vw, 28px) clamp(26px, 2.4vw, 34px);
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border);
  align-items: center;
  text-align: center;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -20px rgba(34, 62, 92, 0.3); }
/* アイコンは右上に大きく、カードの外へあえて見切れさせる（線は不透明で描き、アイコンごと薄くして重なりを出さない） */
.svc-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.svc-card__icon { position: absolute; top: -30px; right: -30px; z-index: -1; width: clamp(128px, 11.5vw, 164px); transition: transform 0.6s var(--ease-out); }
.svc-card__icon svg { display: block; width: 100%; height: auto; overflow: visible; }
.svc-card:hover .svc-card__icon { transform: translateY(-6px) rotate(-6deg); }
.svc-card__en { margin-top: clamp(28px, 3vw, 44px); font-family: "Google Sans", var(--en); font-style: normal; font-weight: 700; font-size: clamp(48px, 5.2vw, 76px); line-height: 1; letter-spacing: -0.03em; color: var(--orange); }
.svc-card b { margin-top: -4px; font-size: clamp(14px, 1.1vw, 16px); font-weight: 700; line-height: 1.5; color: var(--text); }
.svc-card p { font-size: 13.5px; font-weight: 500; line-height: 1.9; color: var(--muted); line-break: strict; }
@media (max-width: 600px) { .svc-cards { grid-template-columns: 1fr; } }

/* ============================================================
   Approach — 3つのキーワード＋4ステップ
   ============================================================ */
.approach { overflow: hidden; }
.approach__grid {
  background-image:
    linear-gradient(to right, rgba(34, 62, 92, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34, 62, 92, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 20%, transparent 75%);
}
.approach .container { position: relative; }
.flow {
  list-style: none;
  margin: clamp(48px, 4.4vw, 72px) auto 0;
  max-width: 1160px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: clamp(20px, 2.4vw, 40px);
  position: relative;
}
.flow::before {
  content: "";
  position: absolute;
  left: 12.5%; right: 12.5%;
  top: 9px;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--orange) 0 6px, transparent 6px 12px);
  background-size: 24px 2px;
  animation: dash 0.9s linear infinite;
}
@keyframes dash { to { background-position: 24px 0; } }
.flow li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 32px;
  text-align: center;
}
.flow li::before {
  content: "";
  position: absolute;
  top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--orange);
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--orange);
}
.flow__head { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.flow__en { font-family: "Google Sans", var(--en); font-style: normal; font-weight: 700; font-size: clamp(22px, 2vw, 30px); line-height: 1.1; letter-spacing: -0.02em; color: var(--orange); }
.flow b { font-size: clamp(16px, 1.3vw, 20px); font-weight: 700; }
.flow p { margin-top: 8px; font-size: 13.5px; font-weight: 500; line-height: 1.85; color: var(--muted); text-align: left; line-break: strict; }

@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; row-gap: 36px; }
  /* 縦線は各項目から次の項目の丸までだけ引き、最後の丸の下に突き出さない */
  .flow::before { display: none; }
  .flow li:not(:last-child)::after { content: ""; position: absolute; left: 9px; top: 12px; bottom: -36px; width: 2px;
    background: repeating-linear-gradient(to bottom, var(--orange) 0 6px, transparent 6px 12px); }
  .flow li { align-items: flex-start; text-align: left; padding: 0 0 0 40px; }
  .flow li::before { left: 0; top: 2px; z-index: 1; }
  .flow__head { align-items: flex-start; gap: 4px; }
  .flow__en { font-size: 22px; line-height: 24px; }
  .flow p { margin-top: 4px; }
}

/* ============================================================
   JOLアプリ — world.jol-jp.com と同じ世界観の背景
   ============================================================ */
.case {
  position: relative;
  padding: clamp(72px, 8vw, 128px) 0;
  color: #fff;
  overflow: hidden;
  background: #e9500f;
}
.case__bg {
  position: absolute;
  inset: 0;
  background: url("assets/world-bg.webp") center 40% / cover no-repeat;
  animation: drift-bg 24s ease-in-out infinite alternate;
}
.case__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(233, 80, 15, 0.9) 0%, rgba(255, 107, 26, 0.6) 45%, rgba(255, 138, 61, 0.08) 80%);
}
@keyframes drift-bg { from { transform: scale(1.04); } to { transform: scale(1.12) translateX(-1.5%); } }
.case__inner { position: relative; }
.case__sub { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.85); }
.case__title {
  margin-top: 10px;
  font-size: clamp(24px, 2.4vw, 38px);
  font-weight: 700;
  line-height: 1.45;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}
.case__lead { margin-top: clamp(14px, 1.4vw, 20px); max-width: 34em; font-size: clamp(14px, 1.05vw, 16px); font-weight: 500; line-height: 1.9; opacity: 0.92; }
.final-cta__lead { margin-top: clamp(16px, 1.6vw, 24px); font-size: clamp(14px, 1.15vw, 18px); font-weight: 500; line-height: 1.9; }
.case__actions { display: flex; flex-wrap: wrap; gap: clamp(12px, 1.2vw, 20px); margin-top: clamp(28px, 2.6vw, 40px); }
@media (max-width: 720px) {
  .case__bg { background-position: 62% 40%; }
  .case__bg::after { background: linear-gradient(180deg, rgba(255, 107, 26, 0.35) 0%, rgba(233, 80, 15, 0.85) 100%); }
}
@media (prefers-reduced-motion: reduce) { .case__bg { animation: none; } }

/* ============================================================
   会社概要（jol-jp.com の company-table と同じ見た目）
   ============================================================ */
.company-table {
  margin: clamp(40px, 3.6vw, 60px) auto 0;
  max-width: 720px;
  border-top: 1px solid var(--border);
}
.company-table > div {
  display: flex;
  gap: clamp(16px, 2vw, 40px);
  padding: clamp(18px, 1.6vw, 26px) clamp(8px, 1vw, 16px);
  border-bottom: 1px solid var(--border);
}
.company-table dt {
  flex: 0 0 clamp(96px, 10vw, 150px);
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 700;
  color: var(--orange);
}
.company-table dd { font-size: clamp(14px, 1.05vw, 16px); font-weight: 500; line-height: 1.7; color: var(--text); }
@media (max-width: 640px) {
  .company { padding: 64px 0 72px; }
  .company-table { margin-top: 28px; }
  .company-table > div { flex-direction: column; gap: 2px; padding: 14px 4px; }
  .company-table dt { flex: none; }
}

/* ============================================================
   最終CTA
   ============================================================ */
.final-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #ff8a3d 0%, #ff6b1a 60%, #f95d0e 100%);
  color: #fff;
  padding: clamp(96px, 9vw, 160px) 0;
  text-align: center;
}
.final-cta__grid {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 50% 70% at 50% 50%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 50% 70% at 50% 50%, #000 10%, transparent 75%);
}
.final-cta__glass { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.final-cta .container { position: relative; }
.final-cta__title, .final-cta__lead { text-shadow: 0 2px 30px rgba(180, 50, 0, 0.25); }
.final-cta__title { font-size: clamp(26px, 3vw, 52px); font-weight: 700; line-height: 1.4; }
.final-cta__actions { display: flex; justify-content: center; margin-top: clamp(32px, 3vw, 52px); }

/* ============================================================
   Motion（jol-jp.com と同じ出現アニメ）
   ============================================================ */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-in { animation: heroIn 1s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 0.18s + 0.1s); }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: calc(var(--d, 0) * 0.1s); }
.reveal.is-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* 2行に割れる見出しは、PCでは1行に詰める */
.about .section-title { gap: 0; }
.about .section-lead { max-width: 820px; }

/* ============================================================
   実績（素材・文言はサイト防衛隊LPから流用）
   ============================================================ */
.works { background: var(--bg-light); overflow: hidden; }
/* 横一列で流れ続けるカルーセル（4件を2周ぶん並べて継ぎ目なくループ） */
.works__marquee {
  margin-top: clamp(48px, 4.4vw, 72px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.works__track {
  display: flex;
  gap: clamp(14px, 1.4vw, 24px);
  width: max-content;
  padding: 10px 0 24px;
  animation: works-loop 48s linear infinite;
}
.works__marquee:hover .works__track { animation-play-state: paused; }
/* JSが動けば、自動送り＋指/マウスのドラッグで動かす（縦スクロールは邪魔しない） */
.works__marquee.is-drag { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.works__marquee.is-drag.is-grabbing { cursor: grabbing; }
.works__marquee.is-drag .works__track { animation: none; will-change: transform; }
.works__marquee.is-drag img { -webkit-user-drag: none; pointer-events: none; }
@keyframes works-loop { to { transform: translateX(calc(-50% - clamp(14px, 1.4vw, 24px) / 2)); } }
.work { flex: none; width: clamp(280px, 30vw, 440px); }
.work {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
}
.work:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -20px rgba(34, 62, 92, 0.3); }
.work__img { aspect-ratio: 16 / 10; background: #eef2f6; overflow: hidden; }
.work__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.6s var(--ease-out); }
.work:hover .work__img img { transform: scale(1.04); }
.work__img.is-contain img { object-fit: contain; padding: 10px 0 0; }
.work__body { padding: 20px 22px 24px; }
.work__cat { font-family: var(--en); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; color: var(--orange); }
.work h3 { margin-top: 6px; font-size: clamp(16px, 1.25vw, 19px); font-weight: 700; line-height: 1.5; }
.work p:not(.work__cat) { margin-top: 4px; font-size: 13.5px; font-weight: 500; color: var(--muted); line-height: 1.7; }
.works__sub { margin-top: 12px; font-size: 13px; font-weight: 500; color: var(--muted); text-align: center; }
.works__note { margin-top: 16px; font-size: 12px; color: var(--muted); text-align: right; }


@media (prefers-reduced-motion: reduce) { .works__track { animation: none; } .works__marquee { overflow-x: auto; } }

/* ============================================================
   メンバー（素材・文言はサイト防衛隊LPから流用）
   ============================================================ */
.members__list {
  list-style: none;
  margin-top: clamp(48px, 4.4vw, 72px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 20px);
}
.member { padding: 32px 24px 28px; border-radius: 20px; background: var(--bg-light); }
.member__photo { width: 88px; height: 88px; margin: 0 auto 16px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--border); }
.member__name { font-size: 18px; font-weight: 700; text-align: center; }
.member__role { margin-top: 4px; font-family: var(--en); font-size: 11.5px; font-weight: 500; color: var(--orange); text-align: center; }
.member__bio { margin-top: 16px; font-size: 13px; font-weight: 500; line-height: 1.9; color: var(--muted); line-break: strict; }
@media (max-width: 1080px) { .members__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .members__list { grid-template-columns: 1fr; } }

/* ============================================================
   Hero — すりガラス越しに動くオレンジのグラデーション（WebGL）
   ============================================================ */
.hero { color: #fff; background: linear-gradient(180deg, #e9500f 0%, #ff7a2a 45%, #ffb36b 75%, #ffe7c9 100%); }
.hero__glass { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__title { text-shadow: 0 2px 30px rgba(180, 50, 0, 0.25); }
.hero__en { color: #fff; font-weight: 500; text-shadow: 0 1px 12px rgba(180, 50, 0, 0.35); }
.hero__en::after { background: #fff; }

/* ============================================================
   クレーンゲーム（ヒーローの START から）
   ============================================================ */
.claw-start {
  position: absolute;
  right: clamp(20px, 3vw, 48px);
  bottom: clamp(20px, 4vh, 44px);
  z-index: 2;
  width: clamp(54px, 5vw, 72px);
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  animation: claw-start-in 0.9s var(--ease-out) 0.3s both;
}
.claw-start img { display: block; width: 100%; height: auto; filter: drop-shadow(0 8px 14px rgba(120, 40, 0, 0.35)); transition: transform 0.35s var(--ease-spring); }
.claw-start:hover img, .claw-start:focus-visible img { transform: translateY(-6px) rotate(-6deg) scale(1.06); }
.claw-start:active img { transform: scale(0.94); }
@keyframes claw-start-in { from { opacity: 0; translate: 0 12px; } }
.claw-start[disabled] { cursor: progress; }

.site-nav { transition: translate 0.5s var(--ease-out), opacity 0.4s ease; }
body.is-claw .site-nav { translate: 0 -160%; opacity: 0; pointer-events: none; }
body.is-claw .hero__center,
body.is-claw .claw-start { visibility: hidden; }

.claw {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  transition: opacity 0.4s ease;
}
.claw.is-out { opacity: 0; }
.claw__item, .claw__word {
  position: absolute;
  left: 0; top: 0;
  transform-origin: 0 0;
  will-change: transform;
}
.claw__item { z-index: 1; }
.claw__item img { display: block; width: 100%; height: 100%; object-fit: contain; }
.claw__word {
  z-index: 5; /* 崩れるまではクレーンや取り出し口より手前 */
  transform-origin: 0 0;
  white-space: nowrap;
  line-height: 1.2;
  color: #fff;
  isolation: isolate;
}
/* 文字の形に沿ったすりガラスのふち（本体の文字の真下に重ねる） */
.claw__word-rim {
  position: absolute; inset: 0; z-index: -1;
  color: #fff;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.claw__word.is-cut .claw__word-rim { opacity: 0.4; }
.claw__word.is-loose { z-index: 2; }
.claw__word--fade { filter: none; transition: opacity 0.6s ease; pointer-events: none; }
.claw__word--fade.is-gone { opacity: 0; }

/* 始まりはガタッと切り替えず、文字はその場に残したまま、ほかの要素をふわっと出す */
.claw > :not(.claw__word):not(.claw__item) { animation: claw-in 0.7s var(--ease-out) both; }
.claw > .claw__svg { animation-delay: 0.1s; }
.claw > .claw__pad { animation: none; }
@keyframes claw-in { from { opacity: 0; } }

/* クレーン（SVG で描き、当たり判定は claw.js の物理ボディ） */
.claw__svg { position: absolute; left: 0; top: 0; z-index: 3; overflow: visible; filter: drop-shadow(0 10px 14px rgba(80, 30, 0, 0.28)); }

/* 景品の取り出し口：白いパネルの筐体、黒い投入口とオレンジの差し色（手前のガラス越しに景品が見える） */
.claw__chute {
  position: absolute; left: 10px; top: 0; z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 10px 10px 18px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.28) 55%, rgba(255, 255, 255, 0.5));
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.6), 0 0 0 1px rgba(196, 201, 209, 0.6);
  animation: claw-fade 0.5s var(--ease-out) both;
}
.claw__chute-mouth { position: absolute; left: -1px; right: -1px; top: -1px; height: 14%; border-radius: 10px 10px 0 0; background: linear-gradient(180deg, #fff, #eef0f3); border-bottom: 1px solid #d3d7de; }
.claw__chute-mouth::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: 5px; height: 3px; border-radius: 2px; background: #ff5a1f; box-shadow: 0 0 8px rgba(255, 90, 31, 0.6); }
@keyframes claw-fade { from { opacity: 0; translate: 0 20px; } }

/* 操作ボタン */
.claw__pad { position: absolute; right: 18px; bottom: 22px; z-index: 5; display: flex; flex-direction: row-reverse; gap: 14px; pointer-events: auto; }
.claw__btn {
  display: grid; place-items: center;
  width: 68px; height: 68px; border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--orange);
  box-shadow: 0 6px 0 #e0d6cf, 0 14px 26px -8px rgba(120, 40, 0, 0.5);
  cursor: pointer;
  touch-action: none;
  animation: claw-pop 0.55s var(--ease-spring) both;
  transition: translate 0.08s ease, box-shadow 0.08s ease, opacity 0.2s ease;
}
.claw__btn + .claw__btn { animation-delay: 0.08s; }
.claw__btn svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.claw__btn:active, .claw__btn.is-held { translate: 0 4px; box-shadow: 0 2px 0 #e0d6cf, 0 8px 18px -8px rgba(120, 40, 0, 0.5); }
.claw__btn[disabled] { opacity: 0.45; cursor: default; }
@keyframes claw-pop { from { scale: 0; } 60% { scale: 1.15; } to { scale: 1; } }
/* 右上のダイヤゲージ */
.claw__score {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px -10px rgba(120, 40, 0, 0.45);
  color: var(--orange);
  font-family: var(--en); font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
}
.claw__score img { width: 26px; height: auto; }
.claw__score-bar { position: relative; width: clamp(90px, 12vw, 160px); height: 10px; border-radius: 999px; background: #ffe1cc; overflow: hidden; }
.claw__score-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, #ffb37a, #ff6b1a); transition: width 0.6s var(--ease-out); }

/* JOL ロゴの景品：文字と同じく形に沿ったすりガラスのふち */
.claw__logo { box-sizing: border-box; }
.claw__logo svg { display: block; width: 100%; height: 100%; overflow: visible; }
.claw__logo .claw__logo-rim { opacity: 0.4; }
.claw__win-prize.is-logo { width: 220px; max-width: 60vw; }

/* ゲームクリア */
.claw__bigclear {
  position: absolute; left: 50%; top: 50%; z-index: 0; /* ダイヤ（z-index:1）が手前に積もって文字を隠していく */
  translate: -50% -50%;
  font-family: "Google Sans", var(--en); font-weight: 700; font-size: 100px; line-height: 1;
  letter-spacing: 0; white-space: nowrap; color: #fff;
  -webkit-text-stroke: 0.05em #fff; paint-order: stroke fill; /* 700 より太く見せる */
  text-shadow: 0 6px 40px rgba(170, 45, 0, 0.45);
}
.claw__gem img { filter: none; }
/* クリア後、ヒーローの背景に残るダイヤ */
.hero__gems { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero__gems img { position: absolute; display: block; }
.hero__gems::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 55% at 50% 50%, rgba(200, 60, 0, 0.42), rgba(200, 60, 0, 0.12)); }
.hero.is-gems .hero__center { animation: heroIn 1s var(--ease-out) both; }
.claw__clear {
  position: absolute; left: 50%; top: 46%; z-index: 7;
  translate: -50% -50%;
  display: grid; justify-items: center; gap: 8px;
  padding: 28px 44px; border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 60px -20px rgba(120, 40, 0, 0.55);
  color: var(--orange);
  text-align: center;
}
.claw__clear img { width: 64px; height: auto; }
.claw__clear b { font-family: var(--en); font-size: clamp(30px, 4.4vw, 56px); letter-spacing: 0.06em; }
.claw__clear span { font-family: var(--en); font-size: 14px; color: var(--muted); }

/* 獲得演出 */
.claw__win {
  position: absolute; left: 50%; top: 44%; z-index: 6;
  display: grid; justify-items: center; gap: 10px;
  translate: -50% -50%;
}
.claw__win-prize { max-width: 180px; max-height: 160px; filter: drop-shadow(0 12px 24px rgba(120, 40, 0, 0.4)); }
.claw__win-word { padding: 10px 22px; border-radius: 14px; background: rgba(255, 255, 255, 0.22); border: 1px solid rgba(255, 255, 255, 0.6); color: #fff; font-size: clamp(22px, 3vw, 40px); font-weight: 700; white-space: nowrap; }
.claw__win-text { font-family: var(--en); font-size: clamp(36px, 5vw, 64px); font-weight: 700; letter-spacing: 0.08em; color: #fff; text-shadow: 0 4px 0 #e9500f, 0 10px 30px rgba(120, 40, 0, 0.5); }
.claw__win-glow { position: absolute; left: 50%; top: 40%; width: 360px; height: 360px; translate: -50% -50%; z-index: -1; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 255, 255, 0.35) 0 12deg, transparent 12deg 30deg); -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 70%); mask-image: radial-gradient(circle, #000 20%, transparent 70%); animation: claw-spin 6s linear infinite; }
@keyframes claw-spin { to { rotate: 360deg; } }
.claw__confetti { position: absolute; left: 0; top: 0; z-index: 6; width: 10px; height: 14px; border-radius: 2px; }

@media (max-width: 720px) {
  .claw__btn { width: 58px; height: 58px; }
  .claw__pad { right: 14px; bottom: 18px; gap: 12px; }
}
