@charset "UTF-8";
/**
 * Common Styles
 * 共通スタイル - 375px幅基準のモバイルファーストデザイン
 *
 * コンパイルコマンド:
 * sass assets/scss/common.scss assets/css/common.css
 *
 * 監視モード:
 * sass --watch assets/scss/common.scss:assets/css/common.css
 *
 * 圧縮版:
 * sass assets/scss/common.scss assets/css/common.min.css --style=compressed
 */
/**
 * Reset
 * リセットスタイル
 */
/**
 * Variables
 * 変数定義（シンプル版）
 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar {
  display: none;
}

body {
  font-family: var(--font-body, "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", sans-serif);
  background: #fff;
  color: var(--color-text, #fff);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
body::-webkit-scrollbar {
  display: none;
}

.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  display: block;
  background-color: var(--color-white, #fff);
  border-radius: 50%;
  box-shadow: 0 0 4px 2px rgba(255, 255, 255, 0.2);
  opacity: 0;
  animation: twinkle 5s ease-in-out infinite;
}

@keyframes twinkle {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
}
a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/**
 * Layout
 * レイアウト（シンプル版）
 */
.page-wrapper {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--color-bg, #000);
  display: flex;
  flex-direction: column;
  container-type: inline-size;
}

body.page-home,
body.page-stamps,
body.page-present,
body.page-photo,
body.page-bonus-mission,
body.page-minigame,
body.page-card,
body.page-whodunit {
  height: 100dvh;
  height: 100svh;
  overflow: hidden;
  overscroll-behavior: none;
  position: fixed;
  inset: 0;
  background: #ffd93d;
}

html:has(body.page-home),
html:has(body.page-stamps),
html:has(body.page-present),
html:has(body.page-photo),
html:has(body.page-bonus-mission),
html:has(body.page-minigame),
html:has(body.page-card),
html:has(body.page-whodunit) {
  height: 100dvh;
  height: 100svh;
  overflow: hidden;
}

.page-home .page-wrapper,
.page-stamps .page-wrapper,
.page-present .page-wrapper,
.page-photo .page-wrapper,
.page-bonus-mission .page-wrapper,
.page-minigame .page-wrapper,
.page-card .page-wrapper,
.page-whodunit .page-wrapper {
  min-height: 0;
  height: 100dvh;
  height: 100svh;
  overflow: hidden;
}
.page-home .site-content,
.page-stamps .site-content,
.page-present .site-content,
.page-photo .site-content,
.page-bonus-mission .site-content,
.page-minigame .site-content,
.page-card .site-content,
.page-whodunit .site-content {
  flex: 1;
  min-height: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.page-home .site-content,
body.page-stamps .site-content,
body.page-present .site-content,
body.page-photo .site-content,
body.page-bonus-mission .site-content,
body.page-minigame .site-content,
body.page-card .site-content,
body.page-whodunit .site-content {
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.site-content {
  flex: 1;
  padding: 20px 16px;
}

.site-footer {
  text-align: center;
  padding: 48px 24px;
  color: var(--color-white, #fff);
  background: #262626;
}

.footer-title {
  margin-bottom: 40px;
}
.footer-title img {
  width: 100%;
  height: auto;
}

.footer-attention {
  margin-bottom: 40px;
}
.footer-attention__heading {
  font-family: "Pathway Gothic One", sans-serif;
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 400;
  line-height: 1;
  margin: 0 0 4px;
  letter-spacing: 0.05em;
}
.footer-attention__sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 20px;
}
.footer-attention__list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  font-size: 13px;
  line-height: 1.7;
}
.footer-attention__list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 8px;
}
.footer-attention__list li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.footer-fixed {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  display: flex;
  gap: 0;
  padding: 0;
  font-size: 0;
  z-index: 100;
}
.footer-fixed__link {
  flex: 1;
  display: block;
  line-height: 0;
}
.footer-fixed__link:first-child .footer-fixed__img {
  transform: scaleX(1.01);
}
.footer-fixed__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  vertical-align: bottom;
}

.footer-logo img {
  max-width: 120px;
  height: auto;
}

/**
 * Components
 * 共通コンポーネント（シンプル版）
 */
.card {
  background: var(--color-bg, #000);
  border: 1px solid var(--color-border, #ddd);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 16px;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid var(--color-border, #ddd);
  background: var(--color-bg, #000);
  color: var(--color-text, #fff);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.btn:hover {
  background: var(--color-bg-gray, #f5f5f5);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--color-primary, #333);
  border-color: var(--color-primary, #333);
  color: var(--color-white, #fff);
}
.btn-primary:hover {
  opacity: 0.9;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-sm {
  padding: 8px 12px;
  font-size: 0.875rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-border, #ddd);
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s;
}
.form-input:focus {
  outline: none;
  border-color: var(--color-primary, #333);
}
.form-input::placeholder {
  color: var(--color-text-light, #aaa);
}

.form-hint {
  font-size: 0.75rem;
  color: var(--color-text-muted, #888);
  margin-top: 4px;
}

.alert {
  padding: 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  font-size: 0.875rem;
}

.alert-error {
  background: #ffebee;
  color: var(--color-error, #d32f2f);
}

.alert-success {
  background: #e8f5e9;
  color: var(--color-success, #388e3c);
}

.alert-info {
  background: #e3f2fd;
  color: var(--color-info, #1976d2);
}

.list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--color-border, #ddd);
  border-radius: 4px;
  margin-bottom: 8px;
  text-decoration: none;
  color: var(--color-text, #fff);
  transition: background 0.2s;
}
.list-item:hover {
  background: var(--color-bg-gray, #f5f5f5);
}

.section {
  margin-bottom: 24px;
}

.section-title {
  font-size: 0.875rem;
  color: var(--color-text-muted, #888);
  margin-bottom: 12px;
  font-weight: 500;
}

.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  color: var(--color-text-light, #aaa);
  font-size: 0.875rem;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-border, #ddd);
}

.hero {
  text-align: center;
  padding: 20px 0;
}

.hero-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-icon svg {
  width: 48px;
  height: 48px;
  color: var(--color-text-muted, #888);
}

.hero-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-subtitle {
  color: var(--color-text-muted, #888);
  font-size: 0.875rem;
}

.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.icon-sm {
  width: 18px;
  height: 18px;
}

.icon-lg {
  width: 32px;
  height: 32px;
}

/**
 * Utilities
 * ユーティリティクラス
 */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-white {
  color: var(--color-white, #fff);
}

.text-black {
  color: var(--color-black, #000);
}

.text-muted {
  color: var(--color-text-muted, #888);
}

.text-light {
  color: var(--color-text-light, #aaa);
}

.text-error {
  color: var(--color-error, #d32f2f);
}

.text-success {
  color: var(--color-success, #388e3c);
}

.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-md {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.5rem;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-bold {
  font-weight: 700;
}

.leading-none {
  line-height: 1;
}

.leading-tight {
  line-height: 1.25;
}

.leading-snug {
  line-height: 1.4;
}

.leading-normal {
  line-height: 1.5;
}

.leading-relaxed {
  line-height: 1.7;
}

.leading-loose {
  line-height: 1.8;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 8px;
}

.mt-2 {
  margin-top: 12px;
}

.mt-3 {
  margin-top: 16px;
}

.mt-4 {
  margin-top: 20px;
}

.mt-5 {
  margin-top: 24px;
}

.mt-6 {
  margin-top: 32px;
}

.mt-7 {
  margin-top: 40px;
}

.mt-8 {
  margin-top: 48px;
}

.mt-9 {
  margin-top: 56px;
}

.mt-10 {
  margin-top: 64px;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 8px;
}

.mb-2 {
  margin-bottom: 12px;
}

.mb-3 {
  margin-bottom: 16px;
}

.mb-4 {
  margin-bottom: 20px;
}

.mb-5 {
  margin-bottom: 24px;
}

.mb-6 {
  margin-bottom: 32px;
}

.mb-7 {
  margin-bottom: 40px;
}

.mb-8 {
  margin-bottom: 48px;
}

.mb-9 {
  margin-bottom: 56px;
}

.mb-10 {
  margin-bottom: 64px;
}

.ml-auto {
  margin-left: auto;
}

.mr-auto {
  margin-right: auto;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.block-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.p-0 {
  padding: 0;
}

.p-1 {
  padding: 8px;
}

.p-2 {
  padding: 12px;
}

.p-3 {
  padding: 16px;
}

.p-4 {
  padding: 20px;
}

.pt-0 {
  padding-top: 0;
}

.pt-1 {
  padding-top: 8px;
}

.pt-2 {
  padding-top: 12px;
}

.pt-3 {
  padding-top: 16px;
}

.pb-0 {
  padding-bottom: 0;
}

.pb-1 {
  padding-bottom: 8px;
}

.pb-2 {
  padding-bottom: 12px;
}

.pb-3 {
  padding-bottom: 16px;
}

.hidden {
  display: none !important;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-1 {
  flex: 1;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-start {
  align-items: flex-start;
}

.items-center {
  align-items: center;
}

.items-end {
  align-items: flex-end;
}

.justify-start {
  justify-content: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 8px;
}

.gap-2 {
  gap: 12px;
}

.gap-3 {
  gap: 16px;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.top-0 {
  top: 0;
}

.right-0 {
  right: 0;
}

.bottom-0 {
  bottom: 0;
}

.left-0 {
  left: 0;
}

.center-x {
  left: 50%;
  transform: translateX(-50%);
}

.center-y {
  top: 50%;
  transform: translateY(-50%);
}

.center-xy {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.w-full {
  width: 100%;
}

.w-auto {
  width: auto;
}

.h-full {
  height: 100%;
}

.h-auto {
  height: auto;
}

.min-h-full {
  min-height: 100%;
}

.bg-white {
  background-color: var(--color-white, #fff);
}

.bg-black {
  background-color: var(--color-black, #000);
}

.bg-gray {
  background-color: var(--color-bg-gray, #f5f5f5);
}

.bg-transparent {
  background-color: transparent;
}

.border {
  border: 1px solid var(--color-border, #ddd);
}

.border-0 {
  border: 0;
}

.rounded {
  border-radius: 6px;
}

.rounded-lg {
  border-radius: 8px;
}

.rounded-full {
  border-radius: 9999px;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-auto {
  overflow: auto;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cursor-pointer {
  cursor: pointer;
}

.opacity-0 {
  opacity: 0;
}

.opacity-faint {
  opacity: 0.1;
}

.opacity-low {
  opacity: 0.3;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-high {
  opacity: 0.7;
}

.opacity-100 {
  opacity: 1;
}

.z-base {
  z-index: 0;
}

.z-dropdown {
  z-index: 10;
}

.z-sticky {
  z-index: 50;
}

.z-header {
  z-index: 100;
}

.z-overlay {
  z-index: 200;
}

.z-modal {
  z-index: 1000;
}

.z-toast {
  z-index: 2000;
}

.z-0 {
  z-index: 0;
}

.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

.z-100 {
  z-index: 100;
}

/**
 * Header Component
 * ヘッダーコンポーネント
 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-black, #000);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  padding: 0 12px;
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header-logo img {
  height: 30px;
  width: auto;
}

.header-title {
  flex: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-title img {
  height: 60px;
  width: auto;
}

.header-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 24px;
  height: 24px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.header-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-white, #fff);
  transition: transform 0.2s, opacity 0.2s;
}

.header-nav {
  display: flex;
  height: 32px;
  background: rgba(0, 0, 0, 0.3);
}

.header-nav-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--color-white, #fff);
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s;
}
.header-nav-item:last-child {
  border-right: none;
}
.header-nav-item--home {
  background: #00A6FF;
}
.header-nav-item--home.is-active {
  background: #0086cc;
}
.header-nav-item--mission {
  background: #00DAC6;
}
.header-nav-item--mission.is-active {
  background: #00ae9e;
}
.header-nav-item--present {
  background: #0076FD;
}
.header-nav-item--present.is-active {
  background: #005eca;
}

.slide-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}
.slide-menu.is-open {
  visibility: visible;
  pointer-events: auto;
}
.slide-menu.is-open .slide-menu-overlay {
  opacity: 1;
}
.slide-menu.is-open .slide-menu-content {
  transform: translateX(0);
}

.slide-menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slide-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 260px;
  height: 100%;
  background: #1a1a2e;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.slide-menu-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.slide-menu-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--color-white, #fff);
}
.slide-menu-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}
.slide-menu-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.slide-menu-close:hover span {
  background: rgba(255, 255, 255, 0.7);
}

.slide-menu-nav {
  flex: 1;
  padding: 60px 16px 24px;
}

.slide-menu-item {
  display: block;
  padding: 16px 0;
  font-size: 1rem;
  color: var(--color-white, #fff);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: opacity 0.2s;
}
.slide-menu-item:hover {
  opacity: 0.7;
}
.slide-menu-item--install {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.slide-menu-item--install[hidden] {
  display: none;
}

.slide-menu-item__icon {
  display: inline-block;
  margin-right: 6px;
}

.slide-menu-footer {
  padding: 20px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.slide-menu-logout {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: var(--color-white, #fff);
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
.slide-menu-logout:hover {
  background: rgba(255, 255, 255, 0.2);
}

.menu-open .header-menu-btn span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.menu-open .header-menu-btn span:nth-child(2) {
  opacity: 0;
}
.menu-open .header-menu-btn span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/**
 * App Header
 * 02 以降のページで使うコンパクトヘッダ。高さ 45px、青ストリップ + 赤幕装飾 +
 * 中央タイトルロゴ + 左ミウル + 右ハンバーガー。
 *
 * Figma 基準: y=44〜89 の 45px 帯（375 × 812 フレームの上端）
 */
.app-header {
  position: relative;
  width: 100%;
  height: 45px;
  background: #7dccf3;
  flex-shrink: 0;
}

.app-header__home {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: block;
}
.app-header__home img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-header__curtain {
  position: absolute;
  left: 50%;
  top: 2px;
  transform: translateX(-50%);
  width: 245px;
  height: 37px;
  pointer-events: none;
  user-select: none;
}

.app-header__title {
  position: absolute;
  left: 50%;
  top: 4px;
  transform: translateX(-50%);
  width: 100px;
  height: 35px;
  pointer-events: none;
  user-select: none;
  object-fit: contain;
}

.app-header__menu {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.app-header__menu img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/**
 * App Footer
 * 11 (HOME) 以降の各ユーザーページで使う共通フッタ。
 *
 * 構造:
 *  - .app-footer 自体に wall + yellow を背景として敷く
 *  - 装飾ボタン (AR / whois) はフッタ上端から飛び出すため absolute
 *  - 通常ナビ (stamps/home/present, photo/minigame/menu) は 2 段の flex 行
 *  - AR ボタン背面の黄色台形 (underframe) は home-stage 直下の絶対配置
 *    → footer 内に置くと wall と同じ SC に入り home-content との被覆が複雑
 *
 * 設計値 375 × 812 (Figma 11):
 *  - wall:        y=578, h=174
 *  - 黄色ストリップ: y=752, h=60
 *  - underframe:  y=534, h=69
 *  - AR ボタン:    y=541, 83×83 (= cqw(-37) from wall top)
 *  - whois:       y=494, 70×70 (= cqw(-47) from wall top, visual)
 *  - 上段ナビ:    y=636, 80×50 (= padding-top 58 from wall top)
 *  - 下段ナビ:    y=695, 80×46
 */
.app-footer {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  pointer-events: none;
  z-index: 30;
  display: flex;
  flex-direction: column;
  padding-top: calc(54 / 375 * 100cqw);
  padding-bottom: 0;
  background: url("../../image/home/11-wall.png") top center/100% 100% no-repeat;
}
.app-footer > * {
  pointer-events: auto;
}

.app-footer__btn--ar {
  position: absolute;
  left: calc(146.57 / 375 * 100cqw);
  top: calc(-37 / 375 * 100cqw);
  width: calc(90 / 375 * 100cqw);
  height: calc(90 / 375 * 100cqw);
  z-index: 10;
}

.app-footer__btn--whois {
  position: absolute;
  left: calc(276 / 375 * 100cqw);
  top: calc(-86 / 375 * 100cqw);
  width: calc(88 / 375 * 100cqw);
  height: calc(88 / 375 * 100cqw);
  z-index: 10;
}

.app-footer__nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 5;
}

.app-footer__nav-row--top {
  padding: 0 calc(30 / 375 * 100cqw) 0 calc(39 / 375 * 100cqw);
}
.app-footer__nav-row--top > * {
  width: calc(98 / 375 * 100cqw);
  height: calc(68 / 375 * 100cqw);
}

.app-footer__nav-row--bottom {
  margin-top: calc(-9 / 375 * 100cqw);
  margin-bottom: calc(-7 / 375 * 100cqw);
  padding: 0 calc(13 / 375 * 100cqw) 0 calc(84 / 375 * 100cqw);
}
.app-footer__nav-row--bottom > .app-footer__btn--photo,
.app-footer__nav-row--bottom > .app-footer__btn--minigame {
  width: calc(98 / 375 * 100cqw);
  height: calc(64 / 375 * 100cqw);
}
.app-footer__nav-row--bottom > .app-footer__btn--menu {
  width: calc(50 / 375 * 100cqw);
  height: calc(50 / 375 * 100cqw);
}

.app-footer__btn {
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
}
.app-footer__btn img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
.app-footer__btn:active {
  transform: scale(0.97);
}

.app-footer__btn--whois-on {
  padding: 0 calc(9 / 375 * 100cqw) calc(18 / 375 * 100cqw);
}
.app-footer__btn--whois-on img {
  filter: drop-shadow(0 calc(9 / 375 * 100cqw) calc(4.5 / 375 * 100cqw) rgba(0, 0, 0, 0.25));
}

.home-stage > .app-footer__ar-underframe {
  position: absolute;
  left: calc(89 / 375 * 100cqw);
  bottom: calc(185 / 375 * 100cqw);
  width: calc(197 / 375 * 100cqw);
  height: calc(69 / 375 * 100cqw);
  pointer-events: none;
  user-select: none;
  z-index: 5;
}

/**
 * App Menu
 * ハンバーガー展開メニュー (Figma 4115:1080)。
 *
 * - 282 × 438 黄色 #e6db62 のパネル
 * - 名探偵ミウル ロゴ + 8 項目リンク + SNS アイコン 2 個
 * - 背景は半透明オーバーレイ、パネル外タップで閉じる
 */
.app-menu {
  position: absolute;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  overflow: hidden;
}
.app-menu.is-open {
  pointer-events: auto;
}
.app-menu.is-open .app-menu__backdrop {
  opacity: 1;
}
.app-menu.is-open .app-menu__panel {
  transform: translateX(0);
}

.app-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.app-menu__panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: calc(282 / 375 * 100cqw);
  background: #e6db62;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(28 / 375 * 100cqw) 0;
  z-index: 1;
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
  box-shadow: calc(-4 / 375 * 100cqw) 0 calc(12 / 375 * 100cqw) rgba(0, 0, 0, 0.2);
  overflow-y: auto;
}

.app-menu__title {
  display: block;
  width: calc(110 / 375 * 100cqw);
  height: calc(39 / 375 * 100cqw);
  margin-bottom: calc(14 / 375 * 100cqw);
}

.app-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(6 / 375 * 100cqw);
}
.app-menu__list li {
  margin: 0;
}
.app-menu__list a,
.app-menu__list button {
  display: block;
  padding: calc(3 / 375 * 100cqw) calc(10 / 375 * 100cqw);
  font-size: calc(15 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  text-decoration: none;
  white-space: nowrap;
  line-height: calc(23 / 375 * 100cqw);
  background: transparent;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.app-menu__list a:hover, .app-menu__list a:active,
.app-menu__list button:hover,
.app-menu__list button:active {
  text-decoration: underline;
}

.app-menu__list-install[hidden] {
  display: none;
}

.app-menu__list-logout {
  margin-top: calc(8 / 375 * 100cqw);
}
.app-menu__list-logout button {
  border: calc(1.5 / 375 * 100cqw) solid var(--color-black, #000);
  border-radius: calc(20 / 375 * 100cqw);
  padding: calc(4 / 375 * 100cqw) calc(20 / 375 * 100cqw);
}
.app-menu__list-logout button:hover, .app-menu__list-logout button:active {
  text-decoration: none;
  background: rgba(0, 0, 0, 0.06);
}

.app-menu__sns {
  position: absolute;
  left: 50%;
  bottom: calc(30 / 375 * 100cqw);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: calc(16 / 375 * 100cqw);
}
.app-menu__sns a {
  display: block;
  line-height: 0;
}
.app-menu__sns img {
  display: block;
  width: calc(30 / 375 * 100cqw);
  height: calc(30 / 375 * 100cqw);
  object-fit: contain;
}

/**
 * Button Component
 * ボタンコンポーネント
 */
.c-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 200px;
  height: 55px;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s, opacity 0.2s;
}
.c-btn--align-center {
  margin-left: auto;
  margin-right: auto;
}
.c-btn--align-left {
  margin-right: auto;
}
.c-btn--align-right {
  margin-left: auto;
}

.c-btn__text {
  font-family: "Pathway Gothic One", sans-serif;
  font-size: clamp(18px, 6vw, 24px);
  font-weight: 400;
  line-height: 1;
}

.c-btn__subtext {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(7px, 2.4vw, 9px);
  font-weight: 400;
  opacity: 0.8;
  line-height: 1.3;
}

.c-btn--custom {
  position: relative;
  background-color: transparent;
  color: var(--btn-color, var(--color-white, #fff));
  border: 1px solid var(--btn-border, transparent);
  border-radius: var(--btn-radius, 0);
  z-index: 1;
}
.c-btn--custom::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--btn-bg, transparent);
  opacity: var(--btn-bg-opacity, 1);
  border-radius: inherit;
  z-index: -1;
  transition: background-color 0.2s, opacity 0.2s;
}
.c-btn--custom:hover {
  color: var(--btn-color-hover, var(--btn-color, var(--color-white, #fff)));
  border-color: var(--btn-border-hover, var(--btn-border, transparent));
}
.c-btn--custom:hover::before {
  background-color: var(--btn-hover, var(--btn-bg, transparent));
  opacity: var(--btn-hover-opacity, var(--btn-bg-opacity, 1));
}

.c-btn--primary {
  background-color: var(--color-primary, #333);
  color: var(--color-white, #fff);
}
.c-btn--primary:hover {
  background-color: var(--color-black, #000);
}

.c-btn--secondary {
  background-color: var(--color-text-muted, #888);
  color: var(--color-white, #fff);
}
.c-btn--secondary:hover {
  background-color: #777;
}

.c-btn--white {
  background-color: var(--color-white, #fff);
  color: var(--color-text, #fff);
}
.c-btn--white:hover {
  background-color: #f0f0f0;
}

.c-btn--dark {
  background-color: #222;
  color: var(--color-white, #fff);
}
.c-btn--dark:hover {
  background-color: var(--color-black, #000);
}

.c-btn--outline {
  background-color: transparent;
  border: 1px solid var(--color-border, #ddd);
  color: var(--color-text, #fff);
}
.c-btn--outline:hover {
  background-color: var(--color-bg-gray, #f5f5f5);
}

.c-btn--outline-white {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--color-white, #fff);
}
.c-btn--outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.c-btn--disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/**
 * Text Block Component
 * テキストブロックコンポーネント
 */
.c-text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-block-color, var(--color-white, #fff));
}
.c-text-block--align-center {
  text-align: center;
}
.c-text-block--align-left {
  align-items: flex-start;
  text-align: left;
}
.c-text-block--align-right {
  align-items: flex-end;
  text-align: right;
}

.c-text-block__text {
  font-family: "Pathway Gothic One", sans-serif;
  font-size: clamp(22px, 8vw, 30px);
  font-weight: 400;
  line-height: 1;
}

.c-text-block__subtext {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(8px, 2.7vw, 10px);
  font-weight: 400;
  opacity: 0.8;
  line-height: 1.3;
}

/**
 * Section Heading Component
 * セクション見出しコンポーネント
 */
.c-section-heading {
  --section-heading-color: $color-white;
  --section-heading-line-color: $color-white;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  color: var(--section-heading-color);
  padding: 0;
  font-weight: normal;
}
.c-section-heading__main {
  font-family: "Pathway Gothic One", sans-serif;
  font-size: clamp(32px, 8vw, 50px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}
.c-section-heading__line {
  display: block;
  width: 60%;
  max-width: 200px;
  height: 1px;
  background-color: var(--section-heading-line-color);
}
.c-section-heading__sub {
  font-size: clamp(14px, 4vw, 18px);
  font-weight: 400;
  letter-spacing: 0.15em;
  line-height: 1.4;
}
.c-section-heading--align-left {
  align-items: flex-start;
  text-align: left;
}
.c-section-heading--align-center {
  align-items: center;
  text-align: center;
}
.c-section-heading--align-right {
  align-items: flex-end;
  text-align: right;
}

/**
 * Heading3 Component
 * h3見出しコンポーネント
 */
.c-heading3 {
  display: flex;
  flex-direction: column;
  color: var(--heading3-color, var(--color-white, #fff));
}
.c-heading3--align-left {
  align-items: flex-start;
  text-align: left;
}
.c-heading3--align-center {
  align-items: center;
  text-align: center;
}
.c-heading3--align-right {
  align-items: flex-end;
  text-align: right;
}
.c-heading3__main {
  font-family: var(--font-heading, "Pathway Gothic One", sans-serif);
  font-weight: 400;
  font-size: clamp(20px, 6.67vw, 25px);
  line-height: 1.2;
  color: inherit;
}
.c-heading3__sub {
  font-family: var(--font-heading, "Pathway Gothic One", sans-serif);
  font-weight: 400;
  font-size: clamp(8px, 2.67vw, 10px);
  line-height: 1.2;
  letter-spacing: 0.08em;
  color: inherit;
}

/**
 * 「ホーム画面に追加」案内モーダル — シンプル版
 *
 * 名探偵ミウルのクリーム色と金色のアクセントだけ残して、装飾は控えめに。
 */
.install-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(20, 16, 8, 0.62);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.2s ease-out;
}
.install-modal.is-open {
  display: flex;
  opacity: 1;
}

.install-modal__backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.install-modal__panel {
  position: relative;
  width: 100%;
  max-width: 320px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 26px 24px 22px;
  background: linear-gradient(178deg, #fff7e0 0%, #fbecc4 100%);
  border-radius: 12px;
  box-shadow: 0 20px 40px -10px rgba(60, 35, 10, 0.45), inset 0 0 0 1px rgba(170, 130, 60, 0.18);
  animation: im-drop 0.32s ease-out backwards;
  z-index: 1;
}

@keyframes im-drop {
  0% {
    opacity: 0;
    transform: translateY(-12px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.install-modal__head {
  text-align: center;
  margin-bottom: 18px;
}
.install-modal__head::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin: 14px auto 0;
  background: #d4af37;
  border-radius: 1px;
}

.install-modal__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #2a1d10;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.install-modal__sub {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: #6a553a;
  line-height: 1.5;
}

.install-modal__steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.install-modal__step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(170, 130, 60, 0.22);
  border-radius: 8px;
  opacity: 0;
  animation: im-step 0.32s ease-out forwards;
}
.install-modal__step:nth-child(1) {
  animation-delay: 0.12s;
}
.install-modal__step:nth-child(2) {
  animation-delay: 0.2s;
}
.install-modal__step:nth-child(3) {
  animation-delay: 0.28s;
}

@keyframes im-step {
  0% {
    opacity: 0;
    transform: translateX(-6px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.install-modal__step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d4af37;
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 1px 2px rgba(164, 128, 26, 0.4);
}

.install-modal__step-body {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: #2a1d10;
  line-height: 1.5;
}
.install-modal__step-body b {
  font-weight: 800;
  color: #a4801a;
}

.install-modal__share-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin: 0 3px;
  vertical-align: -6px;
  color: #a4801a;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(164, 128, 26, 0.4);
  border-radius: 4px;
}
.install-modal__share-tag svg {
  width: 11px;
  height: 13px;
}

.install-modal__copy-btn,
.install-modal__close-btn {
  display: block;
  width: 100%;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  border: 0;
  border-radius: 24px;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.18s ease;
  font-family: inherit;
  letter-spacing: 0.05em;
}
.install-modal__copy-btn:active,
.install-modal__close-btn:active {
  transform: translateY(1px);
}

.install-modal__copy-btn {
  margin-bottom: 8px;
  background: #213c82;
  color: #fff;
  box-shadow: 0 2px 5px rgba(21, 38, 88, 0.32);
}
.install-modal__copy-btn:hover {
  background: #152658;
}

.install-modal__close-btn {
  background: #d4af37;
  color: #fff;
  box-shadow: 0 2px 5px rgba(164, 128, 26, 0.32);
}
.install-modal__close-btn:hover {
  background: #a4801a;
}

/**
 * Common Page Components
 * ページ共通コンポーネント（シンプル版）
 */
.icon-box {
  width: calc(40 / 375 * 100cqw);
  height: calc(40 / 375 * 100cqw);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--color-bg-gray, #f5f5f5);
}
.icon-box svg {
  width: calc(20 / 375 * 100cqw);
  height: calc(20 / 375 * 100cqw);
  color: var(--color-text-muted, #888);
}
.icon-box.primary {
  background: var(--color-primary, #333);
}
.icon-box.primary svg {
  color: var(--color-white, #fff);
}
.icon-box.secondary {
  background: var(--color-text-muted, #888);
}
.icon-box.secondary svg {
  color: var(--color-white, #fff);
}

.empty-state {
  text-align: center;
  padding: 24px 16px;
}
.empty-state .empty-icon {
  width: calc(48 / 375 * 100cqw);
  height: calc(48 / 375 * 100cqw);
  margin: 0 auto 16px;
  color: var(--color-text-light, #aaa);
}
.empty-state .empty-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-text-muted, #888);
}
.empty-state .empty-description {
  font-size: 0.875rem;
  color: var(--color-text-light, #aaa);
  margin-bottom: 16px;
}

.info-list .info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: calc(1 / 375 * 100cqw) solid var(--color-border-light, #eee);
}
.info-list .info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.info-list .info-item:first-child {
  padding-top: 0;
}
.info-list .info-icon {
  color: var(--color-text-light, #aaa);
  flex-shrink: 0;
}
.info-list .info-label {
  font-size: 0.75rem;
  color: var(--color-text-muted, #888);
  margin-bottom: calc(2 / 375 * 100cqw);
}
.info-list .info-value {
  font-size: 1rem;
  font-weight: 500;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--color-bg-gray, #f5f5f5);
  color: var(--color-text-muted, #888);
}

.chevron-right {
  width: calc(18 / 375 * 100cqw);
  height: calc(18 / 375 * 100cqw);
  color: var(--color-text-light, #aaa);
  flex-shrink: 0;
}

/**
 * 01. TOP
 * トップ（ランディング）ページ専用スタイル。
 * Figma 基準: 375 × 812。背景画像 top-bg.png に劇場幕＋タイトル＋レンガ＋
 * クリーム床まで含めて 1 枚に焼き込んである。
 *
 * すべての px 値は cqw() で .page-wrapper の幅に比例。
 * viewport が 375 より狭ければ全体が縮小、広ければ 375 で固定。
 */
.page-top .site-content {
  padding: 0;
  position: relative;
}

.top-stage {
  position: relative;
  width: 100%;
  height: calc(812 / 375 * 100cqw);
  background-image: url("../../image/top/top-bg.png");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.top-character {
  position: absolute;
  left: calc(21 / 375 * 100cqw);
  top: calc(266 / 375 * 100cqw);
  width: calc(330 / 375 * 100cqw);
  height: auto;
  pointer-events: none;
  user-select: none;
}

.top-cta {
  position: absolute;
  left: calc(50 / 375 * 100cqw);
  top: calc(590 / 375 * 100cqw);
  width: calc(275 / 375 * 100cqw);
  height: calc(48 / 375 * 100cqw);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(12 / 375 * 100cqw) calc(28 / 375 * 100cqw);
  border: calc(3.322 / 375 * 100cqw) solid var(--color-accent-soft, #e5dbce);
  border-radius: calc(30.197 / 375 * 100cqw);
  background: var(--color-accent, #D4AF37);
  box-shadow: inset calc(-13.891 / 375 * 100cqw) calc(-11.777 / 375 * 100cqw) calc(2.355 / 375 * 100cqw) 0 var(--color-accent-dark, #e6a616);
  color: var(--color-black, #000);
  font-weight: 700;
  font-size: calc(17 / 375 * 100cqw);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.08s ease-out;
  box-sizing: border-box;
}
.top-cta:active {
  transform: scale(0.97);
}

.top-register-link {
  position: absolute;
  left: 50%;
  top: calc(651 / 375 * 100cqw);
  transform: translateX(-50%);
  width: calc(143 / 375 * 100cqw);
  text-align: center;
  font-weight: 700;
  font-size: calc(17 / 375 * 100cqw);
  color: var(--color-black, #000);
  text-decoration: none;
}
.top-register-link:hover, .top-register-link:active {
  text-decoration: underline;
}

.top-midonavi {
  position: absolute;
  left: calc(142 / 375 * 100cqw);
  top: calc(691 / 375 * 100cqw);
  width: calc(90 / 375 * 100cqw);
  height: calc(41 / 375 * 100cqw);
}
.top-midonavi img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/**
 * 11. HOME (MAP)
 *
 * Figma 基準 375 × 812。要素が意図的に重なる装飾デザインのため
 * 絶対指定は維持。すべて cqw() でコンテナ幅基準にスケール。
 */
.page-home .site-content {
  padding: 0;
  position: relative;
  background: #ffd93d;
}

.home-stage {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #ffd93d;
}

.home-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  margin: calc(11 / 375 * 100cqw);
  padding: calc(8 / 375 * 100cqw) calc(15 / 375 * 100cqw) calc(86 / 375 * 100cqw);
  background: #b8d8e3 url("../../image/home/11-stage-bg.png") no-repeat top center/100% auto;
  border-radius: calc(24 / 375 * 100cqw);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: calc(8 / 375 * 100cqw);
  overflow-x: hidden;
  overflow-y: auto;
}
.home-content > * {
  flex-shrink: 0;
}

.home-stage__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.home-header {
  position: relative;
  width: 100%;
  background: #ffd93d;
  flex-shrink: 0;
  z-index: 10;
  text-align: center;
}

.home-header__curtain {
  display: block;
  width: calc(316 / 375 * 100cqw);
  height: auto;
  margin: 0 auto;
  pointer-events: none;
  user-select: none;
}

.home-header__title {
  position: absolute;
  left: 50%;
  top: calc(4 / 375 * 100cqw);
  transform: translateX(-50%);
  width: calc(121 / 375 * 100cqw);
  height: auto;
  pointer-events: none;
  user-select: none;
}

.home-points {
  width: calc(322 / 375 * 100cqw);
  background: url("../../image/home/11-kanban.png") no-repeat center/100% 100%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(32 / 375 * 100cqw) calc(14 / 375 * 100cqw) calc(8 / 375 * 100cqw);
}

.home-points__greeting {
  margin: 0;
  max-width: calc(280 / 375 * 100cqw);
  font-size: calc(13 / 375 * 100cqw);
  font-weight: 800;
  color: var(--color-black, #000);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
}

.home-points__total {
  margin-top: calc(2 / 375 * 100cqw);
  display: flex;
  align-items: center;
  gap: calc(6 / 375 * 100cqw);
}
.home-points__total > img {
  height: calc(14 / 375 * 100cqw);
  width: auto;
}

.home-points__total-value {
  font-size: calc(30 / 375 * 100cqw);
  font-weight: 800;
  color: var(--color-black, #000);
  line-height: 1;
}

.home-points__regions {
  margin-top: calc(4 / 375 * 100cqw);
  display: grid;
  grid-template-columns: repeat(4, calc(66 / 375 * 100cqw));
  gap: 0;
}

.home-points__region {
  position: relative;
  width: calc(66 / 375 * 100cqw);
  height: calc(28 / 375 * 100cqw);
  background: #fffcdc;
  border: calc(0.625 / 375 * 100cqw) solid var(--color-accent, #D4AF37);
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  gap: calc(1 / 375 * 100cqw);
  padding: 0 calc(2 / 375 * 100cqw) calc(2 / 375 * 100cqw);
  text-align: center;
  line-height: 1;
}

.home-points__region-label {
  position: absolute;
  top: calc(1.5 / 375 * 100cqw);
  left: 0;
  width: 100%;
  font-size: calc(8 / 375 * 100cqw);
  font-weight: 700;
  color: #0f6435;
}

.home-points__region-value {
  font-size: calc(16 / 375 * 100cqw);
  font-weight: 800;
  color: var(--color-black, #000);
}

.home-points__region-unit {
  font-size: calc(9 / 375 * 100cqw);
  font-weight: 700;
  color: #0f6435;
  padding-bottom: calc(2 / 375 * 100cqw);
}

.home-progress {
  position: relative;
  width: calc(295 / 375 * 100cqw);
  height: calc(23 / 375 * 100cqw);
  background: var(--color-white, #fff);
  border: calc(2 / 375 * 100cqw) solid #211611;
  border-radius: calc(7 / 375 * 100cqw);
  z-index: 4;
  display: flex;
  align-items: center;
  padding: 0 calc(6 / 375 * 100cqw) 0 calc(30 / 375 * 100cqw);
  overflow: hidden;
}

.home-progress__icon {
  position: absolute;
  left: calc(5 / 375 * 100cqw);
  top: 50%;
  transform: translateY(-50%);
  width: calc(23 / 375 * 100cqw);
  height: calc(17 / 375 * 100cqw);
  z-index: 2;
}

.home-progress__track {
  position: relative;
  flex: 1;
  height: calc(9 / 375 * 100cqw);
  background: #d9c8a0;
  border-radius: calc(4 / 375 * 100cqw);
  overflow: visible;
}

.home-progress__fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: #6a3906;
  border-radius: calc(4 / 375 * 100cqw);
  transition: width 0.4s ease-out;
}

.home-progress__tick {
  position: absolute;
  top: calc(-7 / 375 * 100cqw);
  bottom: calc(-7 / 375 * 100cqw);
  width: calc(1 / 375 * 100cqw);
  background: #211611;
}

.home-map {
  width: calc(294 / 375 * 100cqw);
  background: url("../../image/home/11-map-parchment.svg") no-repeat center/100% 100%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(12 / 375 * 100cqw) calc(14 / 375 * 100cqw);
  gap: 0;
}

.home-map__title {
  width: calc(250 / 375 * 100cqw);
  height: auto;
}

.home-map__canvas {
  position: relative;
  width: calc(229 / 375 * 100cqw);
  height: calc(199 / 375 * 100cqw);
  cursor: pointer;
}

.home-map__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: calc(6 / 375 * 100cqw);
}

.home-map__marker {
  position: absolute;
  transform: translate(-50%, -50%);
  width: calc(15 / 375 * 100cqw);
  height: calc(17 / 375 * 100cqw);
  background: url("../../image/home/spothatena.png") no-repeat center/contain;
  pointer-events: auto;
  filter: drop-shadow(0 calc(1 / 375 * 100cqw) calc(1 / 375 * 100cqw) rgba(0, 0, 0, 0.35));
  z-index: 2;
}
.home-map__marker.is-acquired {
  width: calc(15 / 375 * 100cqw);
  height: calc(20 / 375 * 100cqw);
  transform: translate(-50%, -72%);
  background-image: url("../../image/home/spotflag.png");
}

.map-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.86);
  padding: 16px;
}
.map-modal.is-open {
  display: flex;
}

.map-modal__viewport {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 760/661;
  overflow: hidden;
  border-radius: 8px;
  background: #cfe3c0;
  touch-action: none;
}

.map-modal__content {
  position: absolute;
  inset: 0;
  transform-origin: 0 0;
  will-change: transform;
}

.map-modal__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.map-modal__marker {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 28px;
  background: url("../../image/home/spothatena.png") no-repeat center/contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
  z-index: 2;
}
.map-modal__marker.is-acquired {
  height: 32px;
  transform: translate(-50%, -72%);
  background-image: url("../../image/home/spotflag.png");
  pointer-events: none;
}
.map-modal__marker--link {
  cursor: pointer;
}
.map-modal__marker--link::after {
  content: "";
  position: absolute;
  inset: -8px;
}

.map-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 1210;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #222;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.map-modal__hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(14px + env(safe-area-inset-bottom));
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
}

.home-miuru {
  position: absolute;
  left: calc(14 / 375 * 100cqw);
  bottom: calc(2 / 375 * 100cqw);
  width: calc(130 / 375 * 100cqw);
  z-index: 35;
  pointer-events: none;
}
.home-miuru.is-dismissed {
  display: none;
}

.home-miuru__bubble {
  position: relative;
  width: calc(108 / 375 * 100cqw);
  margin-left: calc(4 / 375 * 100cqw);
  margin-bottom: calc(-8 / 375 * 100cqw);
  padding: calc(10 / 375 * 100cqw) calc(12 / 375 * 100cqw) calc(18 / 375 * 100cqw);
  background: var(--color-white, #fff);
  border: calc(1 / 375 * 100cqw) solid var(--color-black, #000);
  border-radius: calc(22 / 375 * 100cqw);
  font-size: calc(13 / 375 * 100cqw);
  font-weight: 400;
  color: var(--color-black, #000);
  line-height: 1.35;
  text-align: left;
  pointer-events: auto;
}
.home-miuru__bubble::after {
  content: "";
  position: absolute;
  left: calc(24 / 375 * 100cqw);
  bottom: calc(-9 / 375 * 100cqw);
  width: calc(18 / 375 * 100cqw);
  height: calc(18 / 375 * 100cqw);
  background: var(--color-white, #fff);
  border-right: calc(1 / 375 * 100cqw) solid var(--color-black, #000);
  border-bottom: calc(1 / 375 * 100cqw) solid var(--color-black, #000);
  transform: rotate(45deg);
}

.home-miuru__char {
  display: block;
  width: calc(58 / 375 * 100cqw);
  height: auto;
}

.home-footer-note {
  flex-shrink: 0;
  width: 100%;
  margin: 0;
  padding: calc(9 / 375 * 100cqw) calc(12 / 375 * 100cqw);
  background: #ffd93d;
  color: #4a3212;
  font-size: calc(13 / 375 * 100cqw);
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  z-index: 32;
  position: relative;
}

/**
 * Mypage
 * マイページ専用スタイル
 */
.page-home .site-content {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/**
 * 03. ログイン
 *
 * Figma 配置 (375 × 812) を flex 主体で再構成。
 *  - 背景画像 top-bg.png に劇場幕（上）＋クリーム＋レンガ（下）が焼き込まれている。
 *  - 上 ~252px は幕の領域として padding-top で空ける。
 *  - キャラ / フォーム / CTA / リンク / ロゴ を縦に flex で並べる。
 *    余白は gap で取り、要素サイズが増えても重ならない。
 */
.page-login .site-content {
  padding: 0;
  position: relative;
}

.login-stage {
  position: relative;
  width: 100%;
  min-height: calc(812 / 375 * 100cqw);
  background-color: rgb(255, 252, 220);
  background-image: url("../../image/top/top-bg.png");
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(296 / 375 * 100cqw) calc(20 / 375 * 100cqw) calc(40 / 375 * 100cqw);
  gap: calc(14 / 375 * 100cqw);
}

.login-character {
  position: relative;
  width: calc(330 / 375 * 100cqw);
  height: calc(230 / 375 * 100cqw);
  flex-shrink: 0;
  pointer-events: none;
}

.login-character__light {
  position: absolute;
  top: calc(-36 / 375 * 100cqw);
  width: calc(127 / 375 * 100cqw);
  height: calc(228 / 375 * 100cqw);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.login-character__light--left {
  left: calc(177 / 375 * 100cqw);
  transform-origin: 0% 0%;
  animation: light-sway-left 5s ease-in-out infinite;
}

.login-character__light--right {
  left: calc(218 / 375 * 100cqw);
  transform-origin: 100% 0%;
  animation: light-sway-right 4.5s ease-in-out infinite;
}

@keyframes light-sway-left {
  0%, 100% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(4deg);
  }
}
@keyframes light-sway-right {
  0%, 100% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(4deg);
  }
}
.login-character__main {
  position: absolute;
  left: calc(7 / 375 * 100cqw);
  top: calc(20 / 375 * 100cqw);
  width: calc(245 / 375 * 100cqw);
  height: auto;
  user-select: none;
  z-index: 2;
}

.login-character__badge {
  position: absolute;
  left: calc(237 / 375 * 100cqw);
  top: calc(134 / 375 * 100cqw);
  width: calc(94 / 375 * 100cqw);
  height: calc(94 / 375 * 100cqw);
  user-select: none;
  animation: hannin-pulse 2.4s ease-in-out infinite;
  z-index: 3;
}

@keyframes hannin-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.login-form {
  position: relative;
  width: calc(247 / 375 * 100cqw);
  display: flex;
  flex-direction: column;
  gap: calc(10 / 375 * 100cqw);
  flex-shrink: 0;
}

.login-form__group {
  display: flex;
  flex-direction: column;
  gap: calc(3 / 375 * 100cqw);
}

.login-form__label {
  display: block;
  width: 100%;
  font-size: calc(15 / 375 * 100cqw);
  color: var(--color-black, #000);
  text-align: center;
}

.login-form__input {
  width: 100%;
  height: calc(35 / 375 * 100cqw);
  padding: 0 calc(10 / 375 * 100cqw);
  background: var(--color-white, #fff);
  border: calc(0.902 / 375 * 100cqw) solid var(--color-black, #000);
  border-radius: 0;
  font-size: calc(15 / 375 * 100cqw);
  color: var(--color-black, #000);
}
.login-form__input:focus {
  outline: calc(2 / 375 * 100cqw) solid var(--color-accent, #D4AF37);
  outline-offset: calc(-2 / 375 * 100cqw);
}

.login-form__error {
  margin: calc(4 / 375 * 100cqw) 0 0;
  font-size: calc(12 / 375 * 100cqw);
  color: var(--color-error, #d32f2f);
  text-align: center;
}

.login-submit {
  align-self: center;
  margin-top: calc(8 / 375 * 100cqw);
  min-width: calc(168 / 375 * 100cqw);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(12 / 375 * 100cqw) calc(28 / 375 * 100cqw);
  border: calc(3.322 / 375 * 100cqw) solid var(--color-accent-soft, #e5dbce);
  border-radius: calc(30.197 / 375 * 100cqw);
  background: var(--color-accent, #D4AF37);
  box-shadow: inset calc(-13.891 / 375 * 100cqw) calc(-11.777 / 375 * 100cqw) calc(2.355 / 375 * 100cqw) 0 var(--color-accent-dark, #e6a616);
  color: var(--color-black, #000);
  font-weight: 700;
  font-size: calc(17 / 375 * 100cqw);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.08s ease-out;
  box-sizing: border-box;
}
.login-submit:active {
  transform: scale(0.97);
}
.login-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.login-register-link {
  margin: 0;
  font-size: calc(13 / 375 * 100cqw);
  color: var(--color-black, #000);
  text-align: center;
  white-space: nowrap;
}
.login-register-link a {
  color: inherit;
  text-decoration: underline;
}

.login-midonavi {
  width: calc(90 / 375 * 100cqw);
  height: calc(41 / 375 * 100cqw);
}
.login-midonavi img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/**
 * 02. 新規登録画面
 *
 * 縦フロー (flex) で構成: ウェルカム吹き出し → ミウル → フォーム → CTA。
 * 重なり耐性のため top/bottom 等の絶対指定は使わない。
 */
.page-register .site-content {
  padding: 0;
  background: #fffcdc;
}

.register-body {
  position: relative;
  width: 100%;
  padding: 0 calc(20 / 375 * 100cqw) calc(40 / 375 * 100cqw);
}

.register-welcome {
  position: relative;
  margin-top: calc(24 / 375 * 100cqw);
  margin-bottom: calc(12 / 375 * 100cqw);
}

.register-welcome__bubble {
  position: relative;
  width: calc(290 / 375 * 100cqw);
  margin: 0 auto;
  padding: calc(16 / 375 * 100cqw) calc(18 / 375 * 100cqw) calc(24 / 375 * 100cqw);
  background: var(--color-white, #fff);
  border: calc(1 / 375 * 100cqw) solid #000;
  border-radius: calc(34 / 375 * 100cqw);
  font-size: calc(13 / 375 * 100cqw);
  line-height: 1.55;
  color: #000;
  text-align: left;
}
.register-welcome__bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(-10 / 375 * 100cqw);
  width: calc(20 / 375 * 100cqw);
  height: calc(20 / 375 * 100cqw);
  background: var(--color-white, #fff);
  border-right: calc(1 / 375 * 100cqw) solid #000;
  border-bottom: calc(1 / 375 * 100cqw) solid #000;
  transform: translateX(-50%) rotate(45deg);
}

.register-welcome__miuru {
  display: block;
  width: calc(150 / 375 * 100cqw);
  height: auto;
  margin: calc(18 / 375 * 100cqw) auto 0;
}

.register-form {
  width: calc(247 / 375 * 100cqw);
  margin: calc(12 / 375 * 100cqw) auto 0;
  display: flex;
  flex-direction: column;
  gap: calc(10 / 375 * 100cqw);
}

.register-form__group {
  display: flex;
  flex-direction: column;
  gap: calc(3 / 375 * 100cqw);
}

.register-form__label {
  display: block;
  width: 100%;
  font-size: calc(15 / 375 * 100cqw);
  color: #000;
  text-align: center;
}

.register-form__input {
  width: 100%;
  height: calc(35 / 375 * 100cqw);
  padding: 0 calc(10 / 375 * 100cqw);
  background: var(--color-white, #fff);
  border: calc(0.902 / 375 * 100cqw) solid #000;
  border-radius: 0;
  font-size: calc(15 / 375 * 100cqw);
  color: #000;
}
.register-form__input:focus {
  outline: calc(2 / 375 * 100cqw) solid var(--color-accent, #D4AF37);
  outline-offset: calc(-2 / 375 * 100cqw);
}

.register-form__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(6 / 375 * 100cqw);
  margin-top: calc(2 / 375 * 100cqw);
  font-size: calc(12 / 375 * 100cqw);
  color: #000;
  cursor: pointer;
}
.register-form__toggle input[type=checkbox] {
  margin: 0;
  accent-color: var(--color-accent, #D4AF37);
}

.register-form__regions {
  width: 100%;
  background: var(--color-white, #fff);
  border: calc(0.902 / 375 * 100cqw) solid #000;
  padding: calc(8 / 375 * 100cqw) calc(12 / 375 * 100cqw);
}

.register-form__region {
  display: flex;
  align-items: center;
  gap: calc(8 / 375 * 100cqw);
  padding: calc(4 / 375 * 100cqw) 0;
  cursor: pointer;
  border-bottom: calc(1 / 375 * 100cqw) solid var(--color-border, #ddd);
}
.register-form__region:last-child {
  border-bottom: 0;
}
.register-form__region input[type=radio] {
  flex-shrink: 0;
  margin: 0;
  accent-color: var(--color-accent, #D4AF37);
}

.register-form__region-label {
  flex: 1;
  font-size: calc(12 / 375 * 100cqw);
  color: #000;
  text-align: left;
}

.register-form__messages {
  min-height: calc(20 / 375 * 100cqw);
  text-align: center;
}

.register-form__error {
  margin: 0;
  font-size: calc(12 / 375 * 100cqw);
  color: var(--color-error, #d32f2f);
}

.register-form__success {
  margin: 0;
  font-size: calc(12 / 375 * 100cqw);
  color: var(--color-success, #388e3c);
}

.register-submit {
  align-self: center;
  min-width: calc(140 / 375 * 100cqw);
  margin-top: calc(12 / 375 * 100cqw);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(12 / 375 * 100cqw) calc(28 / 375 * 100cqw);
  border: calc(3.322 / 375 * 100cqw) solid var(--color-accent-soft, #e5dbce);
  border-radius: calc(30.197 / 375 * 100cqw);
  background: var(--color-accent, #D4AF37);
  box-shadow: inset calc(-13.891 / 375 * 100cqw) calc(-11.777 / 375 * 100cqw) calc(2.355 / 375 * 100cqw) 0 var(--color-accent-dark, #e6a616);
  color: var(--color-black, #000);
  font-weight: 700;
  font-size: calc(17 / 375 * 100cqw);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.08s ease-out;
  box-sizing: border-box;
}
.register-submit:active {
  transform: scale(0.97);
}
.register-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/**
 * Mission Page
 * ミッションページ専用スタイル
 */
.page-mission .site-content {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 24px 16px;
}
.mission-intro {
  margin: 24px 0;
}

.mission-intro-text {
  font-size: calc(13 / 375 * 100cqw);
  line-height: 1.8;
  color: var(--color-white, #fff);
  text-align: left;
}

.mission-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.mission-card {
  display: flex;
  align-items: center;
  background: #3a3a3a;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  padding: 12px;
  min-height: calc(72 / 375 * 100cqw);
  transition: background-color 0.2s;
}
.mission-card:hover {
  background: #4a4a4a;
}

.mission-card-name {
  font-size: calc(18 / 375 * 100cqw);
  font-weight: 500;
  color: var(--color-white, #fff);
  flex: 1;
  text-align: center;
  padding-right: 20px;
}

.mission-card-image {
  width: calc(120 / 375 * 100cqw);
  height: calc(64 / 375 * 100cqw);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.mission-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mission-card--cleared {
  position: relative;
  opacity: 0.7;
}

.mission-card-cleared-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: var(--color-white, #fff);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: calc(4 / 375 * 100cqw);
  z-index: 1;
  white-space: nowrap;
}

.mission-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
}
.mission-card-placeholder svg {
  width: calc(32 / 375 * 100cqw);
  height: calc(32 / 375 * 100cqw);
}

.mission-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: calc(14 / 375 * 100cqw);
}

.page-mission-detail .site-content {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0 16px 40px;
}
.mission-detail-hero {
  text-align: center;
  padding: 32px 0 24px;
}

.mission-detail-heading {
  padding-top: 32px;
  margin-bottom: 24px;
}

.mission-detail-name {
  font-family: var(--font-heading, "Pathway Gothic One", sans-serif);
  font-size: calc(48 / 375 * 100cqw);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--color-white, #fff);
  margin-bottom: 8px;
}

.mission-detail-label {
  font-size: calc(14 / 375 * 100cqw);
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.1em;
}

.presenter-section {
  margin-bottom: 40px;
}

.presenter-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.presenter-image {
  width: calc(100 / 375 * 100cqw);
  height: calc(100 / 375 * 100cqw);
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: #333;
}
.presenter-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.presenter-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #444 0%, #222 100%);
}

.presenter-info {
  flex: 1;
}

.presenter-name-kana {
  font-size: calc(10 / 375 * 100cqw);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: calc(2 / 375 * 100cqw);
}

.presenter-name {
  font-size: calc(18 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-white, #fff);
  margin-bottom: 4px;
}

.presenter-title {
  font-size: calc(12 / 375 * 100cqw);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.presenter-profile {
  font-size: calc(13 / 375 * 100cqw);
  line-height: 1.8;
  color: var(--color-white, #fff);
}

.quiz-section {
  margin-bottom: 40px;
}

.quiz-question {
  margin: 24px 0;
  padding: 0;
  text-align: left;
}
.quiz-question p {
  font-size: calc(14 / 375 * 100cqw);
  line-height: 1.8;
  color: var(--color-white, #fff);
}

.quiz-choices {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 32px 0;
}

.quiz-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.quiz-choice--dim {
  opacity: 0.3;
}

.quiz-choice-label {
  font-family: var(--font-heading, "Pathway Gothic One", sans-serif);
  font-size: calc(36 / 375 * 100cqw);
  color: var(--color-white, #fff);
  letter-spacing: 0.05em;
}

.quiz-choice-location {
  font-size: calc(13 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-white, #fff);
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 12px;
  border-radius: 4px;
}

.quiz-choice-text {
  font-size: calc(18 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-white, #fff);
  text-align: center;
  max-width: calc(160 / 375 * 100cqw);
}

.quiz-instruction {
  text-align: center;
  font-size: calc(13 / 375 * 100cqw);
  color: var(--color-white, #fff);
  margin-bottom: 24px;
}

.quiz-action {
  text-align: center;
}

.btn-capture {
  display: inline-block;
  background: var(--color-white, #fff);
  color: var(--color-black, #000);
  font-size: calc(16 / 375 * 100cqw);
  font-weight: 700;
  padding: 16px 64px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
}
.btn-capture:hover {
  opacity: 0.9;
}
.btn-capture--disabled {
  background: #666;
  color: #999;
  cursor: not-allowed;
}
.btn-capture--disabled:hover {
  opacity: 1;
}

.quiz-notice {
  margin-top: 12px;
  font-size: calc(12 / 375 * 100cqw);
  color: rgba(255, 255, 255, 0.5);
}

.quiz-test-buttons {
  margin-top: 32px;
  padding-top: 24px;
  border-top: calc(1 / 375 * 100cqw) dashed rgba(255, 255, 255, 0.2);
}

.quiz-test-label {
  text-align: center;
  font-size: calc(11 / 375 * 100cqw);
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}

.quiz-test-row {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn-test {
  display: inline-block;
  padding: calc(10 / 375 * 100cqw) 32px;
  border-radius: 4px;
  font-size: calc(14 / 375 * 100cqw);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-test--correct {
  background: #4CAF50;
  color: var(--color-white, #fff);
}
.btn-test--correct:hover {
  opacity: 0.85;
}
.btn-test--incorrect {
  background: #f44336;
  color: var(--color-white, #fff);
}
.btn-test--incorrect:hover {
  opacity: 0.85;
}
.btn-test--direct {
  background: #ff9800;
  color: var(--color-white, #fff);
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-test--direct:hover {
  opacity: 0.85;
}
.btn-test--direct:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-test--disabled {
  background: #444;
  color: #888;
  cursor: not-allowed;
}

.mission-tabs-section {
  margin-bottom: 40px;
}

.mission-tabs {
  display: flex;
  gap: 8px;
}

.mission-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  background: transparent;
  border: calc(1 / 375 * 100cqw) solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
}
.mission-tab.is-active {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white, #fff);
}
.mission-tab:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.05);
}

.mission-tab-main {
  font-family: var(--font-heading, "Pathway Gothic One", sans-serif);
  font-size: calc(16 / 375 * 100cqw);
  color: var(--color-white, #fff);
  letter-spacing: 0.05em;
}

.mission-tab-sub {
  font-size: calc(10 / 375 * 100cqw);
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.topic-about-section {
  margin-bottom: 40px;
}

.topic-about-header {
  text-align: center;
  margin-bottom: 24px;
}

.topic-about-title {
  font-size: calc(20 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-white, #fff);
  margin-bottom: 4px;
}

.topic-about-subtitle {
  font-size: calc(12 / 375 * 100cqw);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
}

.topic-about-image {
  margin-bottom: 24px;
}
.topic-about-image img {
  width: 100%;
  height: auto;
}

.topic-about-description {
  font-size: calc(13 / 375 * 100cqw);
  line-height: 1.8;
  color: var(--color-white, #fff);
}

.back-link-section {
  margin-top: 40px;
}

.back-link-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border: calc(1 / 375 * 100cqw) solid var(--color-white, #fff);
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s;
}
.back-link-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.back-link-main {
  font-family: var(--font-heading, "Pathway Gothic One", sans-serif);
  font-size: calc(20 / 375 * 100cqw);
  color: var(--color-white, #fff);
  letter-spacing: 0.05em;
}

.back-link-sub {
  font-size: calc(11 / 375 * 100cqw);
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/**
 * 12〜14. ミニゲーム (モーダル版)
 *
 * 全ログイン後ページのフッターから起動するモーダル。
 * page-wrapper の中に絶対配置で、デザイン枠 (375 幅) だけを覆う。
 *  - 暗オーバーレイ (backdrop)
 *  - 中央に羊皮紙パネル
 *  - 3 ゲーム (宝箱 / ポン引き / じゃんけん) を切り替え表示
 *  - 結果ラベル + リトライ/やめる
 */
.minigame-modal {
  position: absolute;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.2s ease-out;
}
.minigame-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.minigame-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.minigame-modal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(330 / 375 * 100cqw);
  max-height: calc(720 / 375 * 100cqw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(10 / 375 * 100cqw);
  z-index: 2;
}

.minigame-modal__header {
  display: block;
  width: calc(260 / 375 * 100cqw);
  height: auto;
  pointer-events: none;
  z-index: 4;
}

.minigame-modal__plays {
  margin: 0;
  font-size: calc(12 / 375 * 100cqw);
  font-weight: 700;
  color: #fff;
  text-align: center;
  text-shadow: 0 0 calc(4 / 375 * 100cqw) rgba(0, 0, 0, 0.6);
  z-index: 4;
}

.minigame-modal__board {
  position: relative;
  width: calc(310 / 375 * 100cqw);
  height: calc(330 / 375 * 100cqw);
  z-index: 3;
}

.minigame-modal__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.minigame-modal__actions {
  display: flex;
  justify-content: center;
  gap: calc(10 / 375 * 100cqw);
  z-index: 4;
}

.minigame-modal__cheer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: calc(6 / 375 * 100cqw);
  width: calc(280 / 375 * 100cqw);
  margin-top: calc(6 / 375 * 100cqw);
  z-index: 4;
  pointer-events: none;
}

.minigame-modal__cheer-bubble {
  position: relative;
  margin: 0;
  padding: calc(12 / 375 * 100cqw) calc(34 / 375 * 100cqw) calc(12 / 375 * 100cqw) calc(20 / 375 * 100cqw);
  background-image: url("../../image/minigame/cheer-bubble-figma.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  border: 0;
  border-radius: 0;
  font-size: calc(15 / 375 * 100cqw);
  font-weight: 400;
  color: var(--color-black, #000);
  white-space: normal;
  max-width: calc(214 / 375 * 100cqw);
  text-align: center;
  word-break: auto-phrase;
  line-height: 1.3;
  min-height: calc(56 / 375 * 100cqw);
  display: flex;
  align-items: center;
  justify-content: center;
}

.minigame-modal__cheer-bird {
  display: block;
  width: calc(60 / 375 * 100cqw);
  height: auto;
  pointer-events: none;
  user-select: none;
}

.mg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: calc(120 / 375 * 100cqw);
  height: calc(34 / 375 * 100cqw);
  padding: 0 calc(14 / 375 * 100cqw);
  background: #fff;
  border: calc(2 / 375 * 100cqw) solid;
  border-radius: calc(20 / 375 * 100cqw);
  font-size: calc(13 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  cursor: pointer;
  white-space: nowrap;
}
.mg-btn[hidden] {
  display: none;
}
.mg-btn--retry {
  border-color: #ff0004;
}
.mg-btn--quit {
  border-color: #0f6435;
}
.mg-btn:active {
  transform: scale(0.97);
}
.mg-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.mg-result-img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: calc(46 / 375 * 100cqw);
  z-index: 10;
  pointer-events: none;
}
.mg-result-img[hidden] {
  display: none;
}

.mg-result-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: calc(8 / 375 * 100cqw) calc(16 / 375 * 100cqw);
  font-size: calc(20 / 375 * 100cqw);
  font-weight: 800;
  color: #d22;
  background: rgba(255, 255, 255, 0.85);
  border: calc(2 / 375 * 100cqw) solid #d22;
  border-radius: calc(8 / 375 * 100cqw);
  z-index: 10;
  pointer-events: none;
  white-space: normal;
  width: max-content;
  max-width: calc(270 / 375 * 100cqw);
  text-align: center;
  word-break: auto-phrase;
  line-height: 1.4;
}
.mg-result-text[hidden] {
  display: none;
}

.mg-game {
  position: absolute;
  inset: calc(30 / 375 * 100cqw) calc(20 / 375 * 100cqw) calc(30 / 375 * 100cqw);
  z-index: 2;
}
.mg-game[hidden] {
  display: none;
}

.mg-chest__lead {
  position: absolute;
  top: calc(0 / 375 * 100cqw);
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: calc(15 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  text-align: center;
  white-space: nowrap;
  z-index: 3;
}

.mg-chests {
  position: relative;
  width: 100%;
  height: 100%;
}

.mg-chest {
  position: absolute;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), top 0.45s cubic-bezier(0.22, 1, 0.36, 1), left 0.45s cubic-bezier(0.22, 1, 0.36, 1), right 0.45s cubic-bezier(0.22, 1, 0.36, 1), width 0.45s cubic-bezier(0.22, 1, 0.36, 1), height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}
.mg-chest:active {
  transform: scale(0.95);
}
.mg-chest.is-selected {
  transform: translateY(calc(-6 / 375 * 100cqw)) scale(1.05);
}
.mg-chest:disabled {
  cursor: default;
}
.mg-chest--red {
  top: calc(55 / 375 * 100cqw);
  left: calc(30 / 375 * 100cqw);
  width: calc(65 / 375 * 100cqw);
  height: calc(57 / 375 * 100cqw);
}
.mg-chest--green {
  top: calc(55 / 375 * 100cqw);
  right: calc(30 / 375 * 100cqw);
  width: calc(65 / 375 * 100cqw);
  height: calc(57 / 375 * 100cqw);
}
.mg-chest--blue {
  top: calc(120 / 375 * 100cqw);
  left: 50%;
  transform: translateX(-50%);
  width: calc(105 / 375 * 100cqw);
  height: calc(91 / 375 * 100cqw);
  z-index: 3;
}
.mg-chest--blue:active {
  transform: translateX(-50%) scale(0.95);
}
.mg-chest--blue.is-selected {
  transform: translateX(-50%) translateY(calc(-6 / 375 * 100cqw)) scale(1.05);
}

.mg-game--chest.is-winner-chest .mg-chest.is-winner {
  top: calc(95 / 375 * 100cqw);
  left: 50%;
  right: auto;
  width: calc(130 / 375 * 100cqw);
  height: calc(113 / 375 * 100cqw);
  transform: translateX(-50%);
  z-index: 10;
}
.mg-game--chest.is-winner-chest .mg-chest.is-winner:active {
  transform: translateX(-50%) scale(0.98);
}
.mg-game--chest.is-winner-chest .mg-chest.is-loser-left,
.mg-game--chest.is-winner-chest .mg-chest.is-loser-right {
  top: calc(45 / 375 * 100cqw);
  width: calc(70 / 375 * 100cqw);
  height: calc(61 / 375 * 100cqw);
  z-index: 1;
  opacity: 0.95;
  right: auto;
}
.mg-game--chest.is-winner-chest .mg-chest.is-loser-left {
  left: calc(25 / 375 * 100cqw);
  transform: none;
}
.mg-game--chest.is-winner-chest .mg-chest.is-loser-right {
  left: auto;
  right: calc(25 / 375 * 100cqw);
  transform: none;
}
.mg-game--chest.is-winner-chest .mg-burst {
  left: 50%;
  top: calc(150 / 375 * 100cqw);
  transform: translate(-50%, -50%);
  width: calc(200 / 375 * 100cqw);
  height: calc(200 / 375 * 100cqw);
}

.minigame-modal__board.is-chest-winner .mg-result-img--win {
  top: auto;
  bottom: calc(20 / 375 * 100cqw);
  left: 50%;
  transform: translateX(-50%);
  height: calc(50 / 375 * 100cqw);
  z-index: 11;
}
.minigame-modal__board.is-chest-winner.is-result-lose .mg-result-text--lose {
  top: calc(180 / 375 * 100cqw);
  left: calc(34 / 375 * 100cqw);
  transform: none;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  font-size: calc(36 / 375 * 100cqw);
  font-weight: 800;
  color: #ff0004;
  letter-spacing: -0.04em;
  text-shadow: calc(2 / 375 * 100cqw) calc(2 / 375 * 100cqw) 0 #fff, calc(-2 / 375 * 100cqw) calc(-2 / 375 * 100cqw) 0 #fff, calc(2 / 375 * 100cqw) calc(-2 / 375 * 100cqw) 0 #fff, calc(-2 / 375 * 100cqw) calc(2 / 375 * 100cqw) 0 #fff, 0 calc(2 / 375 * 100cqw) 0 #fff, 0 calc(-2 / 375 * 100cqw) 0 #fff, calc(2 / 375 * 100cqw) 0 0 #fff, calc(-2 / 375 * 100cqw) 0 0 #fff;
  z-index: 11;
}

.mg-chest__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
.mg-chest__img[hidden] {
  display: none;
}

.mg-burst {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(180 / 375 * 100cqw);
  height: calc(180 / 375 * 100cqw);
  pointer-events: none;
  user-select: none;
  z-index: 1;
  animation: mg-burst-rotate 6s linear infinite;
}
.mg-burst[hidden] {
  display: none;
}
.mg-burst--janken {
  width: calc(120 / 375 * 100cqw);
  height: calc(120 / 375 * 100cqw);
  top: calc(180 / 375 * 100cqw);
}

@keyframes mg-burst-rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.mg-game--himokuji {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: calc(2 / 375 * 100cqw) 0 calc(4 / 375 * 100cqw);
  gap: calc(4 / 375 * 100cqw);
}

.mg-himokuji__lead {
  margin: 0;
  font-size: calc(13 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  text-align: center;
}

.mg-himokuji__booth {
  display: block;
  width: calc(150 / 375 * 100cqw);
  height: auto;
  pointer-events: none;
  user-select: none;
}

.mg-himokuji__tags {
  display: flex;
  gap: calc(14 / 375 * 100cqw);
  justify-content: center;
  align-items: flex-start;
  margin-top: calc(4 / 375 * 100cqw);
  z-index: 4;
}

.mg-tag {
  position: relative;
  width: calc(40 / 375 * 100cqw);
  height: calc(54 / 375 * 100cqw);
  padding: 0;
  background: currentColor;
  border: calc(2 / 375 * 100cqw) solid #fff;
  border-radius: calc(4 / 375 * 100cqw);
  cursor: pointer;
  box-shadow: 0 calc(3 / 375 * 100cqw) calc(5 / 375 * 100cqw) rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease-out;
}
.mg-tag::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(-8 / 375 * 100cqw);
  transform: translateX(-50%);
  width: calc(2 / 375 * 100cqw);
  height: calc(8 / 375 * 100cqw);
  background: #fff;
}
.mg-tag--cyan {
  color: #4ec3d1;
}
.mg-tag--green {
  color: #1e9c4a;
}
.mg-tag--red {
  color: #e53935;
}
.mg-tag:active {
  transform: scale(0.92);
}
.mg-tag.is-selected {
  transform: translateY(calc(-6 / 375 * 100cqw)) scale(1.12);
}
.mg-tag:disabled {
  cursor: default;
}

.mg-himokuji__result {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 5;
}
.mg-himokuji__result[hidden] {
  display: none;
}

.mg-game--himokuji.is-revealed .mg-himokuji__lead,
.mg-game--himokuji.is-revealed .mg-himokuji__booth,
.mg-game--himokuji.is-revealed .mg-himokuji__tags {
  visibility: hidden;
}

.mg-himokuji__burst {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(220 / 375 * 100cqw);
  height: calc(220 / 375 * 100cqw);
  pointer-events: none;
  user-select: none;
  z-index: 1;
  animation: mg-burst-rotate 6s linear infinite;
}
.mg-himokuji__burst[hidden] {
  display: none;
}

.mg-himokuji__card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(110 / 375 * 100cqw);
  height: auto;
  pointer-events: none;
  user-select: none;
  z-index: 2;
}
.mg-himokuji__card[hidden] {
  display: none;
}

.mg-himokuji__label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% + calc(36 / 375 * 100cqw)));
  width: calc(140 / 375 * 100cqw);
  height: auto;
  pointer-events: none;
  user-select: none;
  z-index: 3;
}
.mg-himokuji__label[hidden] {
  display: none;
}

.mg-janken__lead {
  position: absolute;
  top: calc(0 / 375 * 100cqw);
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: calc(15 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  text-align: center;
  white-space: nowrap;
  z-index: 3;
}

.mg-hands {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50 / 375 * 100cqw);
  display: flex;
  justify-content: center;
  gap: calc(24 / 375 * 100cqw);
  z-index: 4;
}

.mg-hand {
  position: relative;
  width: calc(64 / 375 * 100cqw);
  height: calc(64 / 375 * 100cqw);
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease-out;
}
.mg-hand .mg-hand__burst {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(110 / 375 * 100cqw);
  height: calc(110 / 375 * 100cqw);
  z-index: 1;
  pointer-events: none;
  user-select: none;
}
.mg-hand .mg-hand__burst[hidden] {
  display: none;
}
.mg-hand .mg-hand__img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  z-index: 2;
}
.mg-hand:active {
  transform: scale(0.95);
}
.mg-hand.is-selected, .mg-hand.is-revealed {
  transform: translateY(calc(-2 / 375 * 100cqw)) scale(1.05);
}
.mg-hand:disabled {
  cursor: default;
}

.mg-janken__miuru {
  position: absolute;
  left: 50%;
  top: calc(140 / 375 * 100cqw);
  transform: translateX(-10%);
  width: calc(96 / 375 * 100cqw);
  height: auto;
  z-index: 4;
  pointer-events: none;
}

.mg-janken__result {
  position: absolute;
  left: calc(25 / 375 * 100cqw);
  top: calc(160 / 375 * 100cqw);
  font-size: calc(36 / 375 * 100cqw);
  font-weight: 800;
  color: #ff0004;
  letter-spacing: -0.02em;
  z-index: 5;
  pointer-events: none;
  text-shadow: calc(2 / 375 * 100cqw) calc(2 / 375 * 100cqw) 0 #fff, calc(-2 / 375 * 100cqw) calc(-2 / 375 * 100cqw) 0 #fff, calc(2 / 375 * 100cqw) calc(-2 / 375 * 100cqw) 0 #fff, calc(-2 / 375 * 100cqw) calc(2 / 375 * 100cqw) 0 #fff, 0 calc(2 / 375 * 100cqw) 0 #fff, 0 calc(-2 / 375 * 100cqw) 0 #fff, calc(2 / 375 * 100cqw) 0 0 #fff, calc(-2 / 375 * 100cqw) 0 0 #fff;
}
.mg-janken__result[hidden] {
  display: none;
}

/**
 * 17.スタンプ一覧
 * HOME chrome 共通 + 中央エリアにバナー・地域タグ・グリッドを flex 縦並び。
 */
.page-stamps .site-content {
  padding: 0;
  background: #ffd93d;
  position: relative;
}

.page-stamps__stage {
  background: #ffd93d;
}

.stamps-body {
  flex: 1;
  min-height: 0;
  margin: calc(11 / 375 * 100cqw);
  background: #fffcdc;
  border-radius: calc(24 / 375 * 100cqw);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: calc(20 / 375 * 100cqw) calc(16 / 375 * 100cqw) calc(86 / 375 * 100cqw);
  gap: calc(14 / 375 * 100cqw);
  z-index: 5;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.stamps-body::-webkit-scrollbar {
  display: none;
}
.stamps-body {
  gap: calc(10 / 375 * 100cqw);
}

.stamps-banner {
  width: calc(280 / 375 * 100cqw);
  height: calc(53 / 375 * 100cqw);
  align-self: center;
  flex-shrink: 0;
}
.stamps-banner--cards {
  margin-top: calc(20 / 375 * 100cqw);
  scroll-margin-top: calc(16 / 375 * 100cqw);
}

.stamps-lead {
  margin: 0;
  font-size: calc(13 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  text-align: center;
  flex-shrink: 0;
}

.stamps-region-tag {
  height: calc(23 / 375 * 100cqw);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tag-color, #0f6435);
  border-radius: calc(6 / 375 * 100cqw);
  font-size: calc(12 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-white, #fff);
  flex-shrink: 0;
  padding: 0 calc(8 / 375 * 100cqw);
}
.stamps-region-tag--solo {
  width: 100%;
  margin-top: calc(4 / 375 * 100cqw);
}

.stamps-region-tags-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(10 / 375 * 100cqw);
  margin-top: calc(8 / 375 * 100cqw);
  flex-shrink: 0;
}

.stamps-grid {
  width: 100%;
  display: grid;
  gap: calc(10 / 375 * 100cqw) calc(10 / 375 * 100cqw);
  flex-shrink: 0;
}
.stamps-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

.stamps-cards-intro {
  display: flex;
  gap: calc(12 / 375 * 100cqw);
  align-items: flex-start;
  padding: 0 calc(4 / 375 * 100cqw);
  flex-shrink: 0;
}

.stamps-cards-intro__text {
  flex: 1;
  margin: 0;
  font-size: calc(11 / 375 * 100cqw);
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-black, #000);
}

.stamps-cards-intro__visual {
  position: relative;
  width: calc(110 / 375 * 100cqw);
  height: calc(110 / 375 * 100cqw);
  flex-shrink: 0;
}

.stamps-cards-intro__card {
  position: absolute;
  width: calc(46 / 375 * 100cqw);
  height: auto;
}
.stamps-cards-intro__card--back {
  top: 0;
  left: calc(20 / 375 * 100cqw);
  transform: rotate(-6deg);
  z-index: 1;
}
.stamps-cards-intro__card--front {
  top: 0;
  left: calc(46 / 375 * 100cqw);
  transform: rotate(6deg);
  z-index: 2;
}

.stamps-cards-intro__logo {
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(100 / 375 * 100cqw);
  height: auto;
  z-index: 3;
}

.stamps-promo-cards {
  display: flex;
  flex-direction: column;
  gap: calc(8 / 375 * 100cqw);
  margin-top: calc(8 / 375 * 100cqw);
  flex-shrink: 0;
}

.stamps-promo-card {
  position: relative;
  background: var(--card-color, #7ecef4);
  border-radius: calc(5 / 375 * 100cqw);
  padding: calc(5 / 375 * 100cqw) calc(3 / 375 * 100cqw) calc(5 / 375 * 100cqw) calc(60 / 375 * 100cqw);
  color: var(--color-black, #000);
  display: flex;
  align-items: center;
  height: calc(50 / 375 * 100cqw);
  margin-left: calc(10 / 375 * 100cqw);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.08s ease-out;
}
.stamps-promo-card:active {
  transform: scale(0.99);
}

.stamps-promo-card__thumb {
  position: absolute;
  left: calc(-2 / 375 * 100cqw);
  top: calc(-2 / 375 * 100cqw);
  width: calc(46 / 375 * 100cqw);
  height: calc(54 / 375 * 100cqw);
  object-fit: contain;
  z-index: 2;
}

.stamps-promo-card.is-locked {
  background: #d9d9d9;
  cursor: default;
}
.stamps-promo-card.is-locked:active {
  transform: none;
}
.stamps-promo-card.is-locked .stamps-promo-card__thumb {
  filter: grayscale(1);
}

.stamps-promo-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: calc(0 / 375 * 100cqw);
  text-align: left;
}

.stamps-promo-card__count {
  margin: 0;
  font-size: calc(12 / 375 * 100cqw);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-black, #000);
}

.stamps-promo-card__sub {
  margin: 0;
  font-size: calc(12 / 375 * 100cqw);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-black, #000);
}

.stamps-cell {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: calc(2 / 375 * 100cqw);
  text-decoration: none;
  color: inherit;
}
.stamps-cell__image {
  width: 100%;
  aspect-ratio: 95/83;
  border-radius: calc(3 / 375 * 100cqw);
  overflow: hidden;
  background: #d9d9d9;
}
.stamps-cell__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.stamps-cell__qr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(3 / 375 * 100cqw);
  width: 100%;
  min-height: calc(21 / 375 * 100cqw);
  padding: calc(2 / 375 * 100cqw) calc(3 / 375 * 100cqw);
  border-radius: calc(4 / 375 * 100cqw);
  background: rgba(255, 0, 0, 0.69);
  color: var(--color-white, #fff);
  font-size: calc(9 / 375 * 100cqw);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.stamps-cell__qr-icon {
  width: calc(13 / 375 * 100cqw);
  height: calc(13 / 375 * 100cqw);
  flex-shrink: 0;
  display: block;
}
.stamps-cell__name {
  width: 100%;
  font-size: calc(9 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  text-align: center;
  line-height: 1.3;
  opacity: 0.55;
}
.stamps-cell.is-acquired .stamps-cell__name {
  opacity: 1;
}
.stamps-cell--empty {
  visibility: hidden;
}
.stamps-cell--empty::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 95/83;
}

a.stamps-cell {
  cursor: pointer;
  transition: transform 0.08s ease-out;
}
a.stamps-cell:active {
  transform: scale(0.97);
}

/**
 * 18〜22. 犯人はだれ？
 */
.page-whodunit .site-content {
  padding: 0;
  background: #ffd93d;
  position: relative;
}

.page-whodunit__stage {
  background: #ffd93d;
}

.whodunit-step1 {
  flex: 1;
  min-height: 0;
  margin: calc(11 / 375 * 100cqw);
  background: #fffcdc;
  border-radius: calc(24 / 375 * 100cqw);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: calc(12 / 375 * 100cqw) calc(16 / 375 * 100cqw) calc(86 / 375 * 100cqw);
  gap: calc(14 / 375 * 100cqw);
  z-index: 5;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.whodunit-step1::-webkit-scrollbar {
  display: none;
}
.whodunit-step1 {
  align-items: center;
  gap: calc(8 / 375 * 100cqw);
}

.whodunit-banner {
  width: calc(280 / 375 * 100cqw);
  height: calc(53 / 375 * 100cqw);
}

.whodunit-grid {
  width: calc(321 / 375 * 100cqw);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: calc(78.75 / 375 * 100cqw);
  gap: 0;
  padding: 0;
  flex-shrink: 0;
}

.whodunit-cell {
  background: var(--color-white, #fff);
  display: flex;
  justify-content: center;
  padding-top: calc(13.6 / 375 * 100cqw);
  overflow: hidden;
}
.whodunit-cell__hatena {
  width: calc(50.4 / 375 * 100cqw);
  height: calc(61 / 375 * 100cqw);
  object-fit: contain;
}
.whodunit-cell.is-unlocked {
  padding: 0;
  display: block;
}
.whodunit-cell__piece {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.whodunit-bottom {
  align-self: flex-start;
  margin: calc(5 / 375 * 100cqw) 0 0 calc(87 / 375 * 100cqw);
}

.whodunit-miuru {
  position: absolute;
  left: calc(14 / 375 * 100cqw);
  bottom: calc(171 / 375 * 100cqw);
  width: calc(91 / 375 * 100cqw);
  height: calc(96 / 375 * 100cqw);
  z-index: 5;
  pointer-events: none;
}

.whodunit-hint {
  margin: 0;
  font-size: calc(13 / 375 * 100cqw);
  font-weight: 700;
  line-height: normal;
  color: var(--color-black, #000);
  text-align: left;
}

.whodunit-cta {
  min-width: calc(150 / 375 * 100cqw);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(8 / 375 * 100cqw) calc(20 / 375 * 100cqw);
  border: calc(3.322 / 375 * 100cqw) solid var(--color-accent-soft, #e5dbce);
  border-radius: calc(30.197 / 375 * 100cqw);
  background: var(--color-accent, #D4AF37);
  box-shadow: inset calc(-13.891 / 375 * 100cqw) calc(-11.777 / 375 * 100cqw) calc(2.355 / 375 * 100cqw) 0 var(--color-accent-dark, #e6a616);
  color: var(--color-black, #000);
  font-weight: 700;
  font-size: calc(15 / 375 * 100cqw);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.08s ease-out;
  box-sizing: border-box;
}
.whodunit-cta:active {
  transform: scale(0.97);
}

.whodunit-quiz {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  background: #fffcdc;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.whodunit-quiz::-webkit-scrollbar {
  display: none;
}

.whodunit-quiz__canvas {
  position: relative;
  height: calc(812 / 375 * 100cqw);
  background: url("../../image/whodunit/bg-quiz.png") no-repeat top center/100% auto;
}

.whodunit-quiz__banner {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(60 / 375 * 100cqw);
  width: calc(315 / 375 * 100cqw);
  height: calc(60 / 375 * 100cqw);
}

.whodunit-quiz__miuru {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(478 / 375 * 100cqw);
  width: calc(254 / 375 * 100cqw);
  height: calc(267 / 375 * 100cqw);
}

.whodunit-quiz__dim {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(147 / 375 * 100cqw);
  height: calc(358 / 375 * 100cqw);
  background: rgba(0, 0, 0, 0.3);
}

.whodunit-quiz__panel {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(169 / 375 * 100cqw);
  width: calc(294 / 375 * 100cqw);
  height: calc(305 / 375 * 100cqw);
  background: no-repeat center/100% 100%;
}
.whodunit-quiz__panel--white {
  background-image: url("../../image/whodunit/panel-white.svg");
}
.whodunit-quiz__panel--gray {
  background-image: url("../../image/whodunit/panel-gray.svg");
}
.whodunit-quiz__panel--cream {
  background-image: url("../../image/whodunit/panel-cream.svg");
}

.whodunit-quiz__lead {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(194 / 375 * 100cqw);
  margin: 0;
  font-size: calc(15 / 375 * 100cqw);
  font-weight: 700;
  line-height: normal;
  text-align: center;
  color: var(--color-black, #000);
}

.whodunit-suspect {
  position: absolute;
  display: block;
}
.whodunit-suspect--boar {
  left: calc(69.7 / 375 * 100cqw);
  top: calc(273.7 / 375 * 100cqw);
  width: calc(54 / 375 * 100cqw);
  height: calc(136 / 375 * 100cqw);
}
.whodunit-suspect--horse {
  left: calc(150.7 / 375 * 100cqw);
  top: calc(273.7 / 375 * 100cqw);
  width: calc(77 / 375 * 100cqw);
  height: calc(138 / 375 * 100cqw);
}
.whodunit-suspect--kobito {
  left: calc(258.7 / 375 * 100cqw);
  top: calc(273.7 / 375 * 100cqw);
  width: calc(41 / 375 * 100cqw);
  height: calc(132 / 375 * 100cqw);
}
.whodunit-suspect__hatena {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(50.4 / 375 * 100cqw);
  height: calc(61 / 375 * 100cqw);
}
.whodunit-suspect__char {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}
.whodunit-suspect:active {
  transform: scale(0.95);
}

.whodunit-quiz__bubble {
  position: absolute;
  left: calc(74 / 375 * 100cqw);
  top: calc(152 / 375 * 100cqw);
  width: calc(235 / 375 * 100cqw);
  height: calc(94 / 375 * 100cqw);
  background: url("../../image/whodunit/bubble-quiz.svg") no-repeat center/100% 100%;
  display: flex;
  align-items: center;
  padding: 0 calc(10 / 375 * 100cqw) calc(15 / 375 * 100cqw) calc(19 / 375 * 100cqw);
  font-size: calc(14.5 / 375 * 100cqw);
  line-height: normal;
  white-space: nowrap;
  color: var(--color-black, #000);
}

.whodunit-quiz__char {
  position: absolute;
}
.whodunit-quiz__char--boar {
  left: calc(138.7 / 375 * 100cqw);
  top: calc(250 / 375 * 100cqw);
  width: calc(92 / 375 * 100cqw);
  height: calc(131 / 375 * 100cqw);
}
.whodunit-quiz__char--kobito {
  left: calc(157.7 / 375 * 100cqw);
  top: calc(262 / 375 * 100cqw);
  width: calc(60 / 375 * 100cqw);
  height: calc(104 / 375 * 100cqw);
}
.whodunit-quiz__char--horse {
  left: calc(129.7 / 375 * 100cqw);
  top: calc(237.7 / 375 * 100cqw);
  width: calc(112 / 375 * 100cqw);
  height: calc(112 / 375 * 100cqw);
}

.whodunit-quiz__burst {
  position: absolute;
  left: calc(108.7 / 375 * 100cqw);
  top: calc(210.7 / 375 * 100cqw);
  width: calc(158 / 375 * 100cqw);
  height: calc(158 / 375 * 100cqw);
  animation: burst-rotate 6s linear infinite;
}

@keyframes burst-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.whodunit-quiz__verdict {
  position: absolute;
}
.whodunit-quiz__verdict--lose {
  left: calc(114.7 / 375 * 100cqw);
  top: calc(385 / 375 * 100cqw);
  width: calc(154 / 375 * 100cqw);
  height: calc(43 / 375 * 100cqw);
}
.whodunit-quiz__verdict--win {
  left: calc(114.7 / 375 * 100cqw);
  top: calc(368.7 / 375 * 100cqw);
  width: calc(162 / 375 * 100cqw);
  height: calc(35 / 375 * 100cqw);
}

.whodunit-quiz__pill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(432 / 375 * 100cqw);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: calc(109 / 375 * 100cqw);
  height: calc(24 / 375 * 100cqw);
  padding: 0 calc(12 / 375 * 100cqw);
  background: var(--color-white, #fff);
  border: calc(2 / 375 * 100cqw) solid #ff0004;
  border-radius: calc(16 / 375 * 100cqw);
  font-size: calc(11 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  text-decoration: none;
  white-space: nowrap;
}
.whodunit-quiz__pill:active {
  transform: translateX(-50%) scale(0.95);
}

.whodunit-ending {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: #ffd93d;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.whodunit-ending::-webkit-scrollbar {
  display: none;
}

.whodunit-ending__scene {
  position: relative;
  flex-shrink: 0;
  height: calc(538 / 375 * 100cqw);
  background: url("../../image/whodunit/bg-ending.png") no-repeat top center/100% auto;
}

.whodunit-ending__house {
  position: absolute;
  left: calc(137.7 / 375 * 100cqw);
  top: calc(311.7 / 375 * 100cqw);
  width: calc(142 / 375 * 100cqw);
  height: calc(111 / 375 * 100cqw);
}

.whodunit-ending__rabbit {
  position: absolute;
  left: calc(7.7 / 375 * 100cqw);
  top: calc(399.7 / 375 * 100cqw);
  width: calc(62 / 375 * 100cqw);
  height: calc(89 / 375 * 100cqw);
}

.whodunit-ending__dybo {
  position: absolute;
  left: calc(67.7 / 375 * 100cqw);
  top: calc(381.7 / 375 * 100cqw);
  width: calc(54 / 375 * 100cqw);
  height: calc(96 / 375 * 100cqw);
}

.whodunit-ending__miuru {
  position: absolute;
  left: calc(130.7 / 375 * 100cqw);
  top: calc(399.7 / 375 * 100cqw);
  width: calc(72 / 375 * 100cqw);
  height: calc(76 / 375 * 100cqw);
}

.whodunit-ending__horse {
  position: absolute;
  left: calc(202.7 / 375 * 100cqw);
  top: calc(372.7 / 375 * 100cqw);
  width: calc(112 / 375 * 100cqw);
  height: calc(112 / 375 * 100cqw);
}

.whodunit-ending__kobito {
  position: absolute;
  left: calc(314.7 / 375 * 100cqw);
  top: calc(407.7 / 375 * 100cqw);
  width: calc(40 / 375 * 100cqw);
  height: calc(69 / 375 * 100cqw);
}

.whodunit-ending__oshimai {
  position: absolute;
  left: calc(129.7 / 375 * 100cqw);
  top: calc(485.7 / 375 * 100cqw);
  width: calc(116 / 375 * 100cqw);
  height: calc(37 / 375 * 100cqw);
}

.whodunit-bubble {
  position: absolute;
  width: calc(235 / 375 * 100cqw);
  display: flex;
  align-items: center;
  padding: 0 calc(10 / 375 * 100cqw) 0 calc(19 / 375 * 100cqw);
  font-size: calc(14.5 / 375 * 100cqw);
  line-height: normal;
  white-space: nowrap;
  color: var(--color-black, #000);
}
.whodunit-bubble--1 {
  left: calc(127.7 / 375 * 100cqw);
  top: calc(110.7 / 375 * 100cqw);
  height: calc(99.91 / 375 * 100cqw);
  padding-bottom: calc(15 / 375 * 100cqw);
  background: url("../../image/whodunit/bubble-end1.svg") no-repeat center/100% 100%;
}
.whodunit-bubble--2 {
  left: calc(24.7 / 375 * 100cqw);
  top: calc(201.7 / 375 * 100cqw);
  height: calc(99.831 / 375 * 100cqw);
  padding-bottom: calc(15 / 375 * 100cqw);
  background: url("../../image/whodunit/bubble-end2.svg") no-repeat center/100% 100%;
}
.whodunit-bubble--3 {
  left: calc(127.7 / 375 * 100cqw);
  top: calc(309.7 / 375 * 100cqw);
  height: calc(51.988 / 375 * 100cqw);
  padding-bottom: calc(16 / 375 * 100cqw);
  background: url("../../image/whodunit/bubble-end3.svg") no-repeat center/100% 100%;
}

.whodunit-ending__footer {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(12 / 375 * 100cqw) calc(16 / 375 * 100cqw) calc(24 / 375 * 100cqw);
}

.whodunit-ending__note {
  margin: 0;
  font-size: calc(15 / 375 * 100cqw);
  font-weight: 700;
  line-height: normal;
  text-align: center;
  color: var(--color-black, #000);
}

.whodunit-ending__actions {
  display: flex;
  gap: calc(21 / 375 * 100cqw);
  margin-top: calc(46 / 375 * 100cqw);
}
.whodunit-ending__actions a {
  display: block;
}
.whodunit-ending__actions a:active {
  transform: scale(0.95);
}
.whodunit-ending__actions img {
  display: block;
  width: calc(80 / 375 * 100cqw);
  height: auto;
}

/**
 * Camera Page
 * ARカメラページ専用スタイル
 */
.page-camera {
  background: var(--color-black, #000) !important;
}
.page-camera .page-wrapper {
  background: var(--color-black, #000);
  box-shadow: none;
}
.page-camera .site-content {
  padding: 0;
  position: relative;
  min-height: calc(100dvh - 76 / 375 * 100cqw);
  background: var(--color-black, #000);
  display: flex;
  flex-direction: column;
}

/* Camera UI Layout */
.camera-ui {
  position: relative;
  z-index: 10;
  height: 90dvh;
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Header - Overlay on camera */
.camera-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 20;
  pointer-events: none;
}
.camera-header > * {
  pointer-events: auto;
}

.camera-header-content {
  text-align: center;
  width: 100%;
}

.camera-header-title {
  display: block;
  background: transparent;
  text-align: center;
  background-color: var(--color-black, #000);
}
.camera-header-title img {
  display: block;
  height: auto;
  max-width: calc(180 / 375 * 100cqw);
  margin: 0 auto;
}

.camera-header-title-text {
  font-size: calc(16 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-white, #fff);
  letter-spacing: calc(1 / 375 * 100cqw);
}
.camera-header-title-text span {
  color: #D4AF37;
  font-size: calc(12 / 375 * 100cqw);
}

.camera-header-subtitle {
  font-size: calc(11 / 375 * 100cqw);
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: calc(2 / 375 * 100cqw);
  text-align: center;
  background-color: var(--color-black, #000);
  padding: calc(6 / 375 * 100cqw) 24px;
  width: fit-content;
  margin: 0 auto;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}

.camera-close-btn {
  position: absolute;
  top: calc(16 / 375 * 100cqw);
  right: calc(16 / 375 * 100cqw);
  width: calc(32 / 375 * 100cqw);
  height: calc(32 / 375 * 100cqw);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--color-white, #fff);
  font-size: calc(20 / 375 * 100cqw);
  cursor: pointer;
  text-decoration: none;
}

/* Camera View Area - Full height with header overlay */
.camera-view {
  position: relative;
  flex: 1;
  overflow: visible;
  margin: 0 calc(10 / 375 * 100cqw);
}

.camera-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: calc(-30 / 375 * 100cqw);
  z-index: 1;
  overflow: hidden;
}
.camera-bg #cameraVideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.camera-bg #arScene {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: transparent !important;
}
.camera-bg .a-canvas {
  background: transparent !important;
}

.camera-bg--fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #2d5a2d 0%, #1a3d1a 50%, #0d1f0d 100%);
}

/* Compass Arrow - Over camera view */
.camera-compass {
  position: absolute;
  bottom: calc(10 / 375 * 100cqw);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.camera-compass-arrow {
  width: calc(80 / 375 * 100cqw);
  height: auto;
  will-change: transform;
}
.camera-compass-arrow img {
  display: block;
  width: 100%;
  height: auto;
}

/* Bottom Panel */
.camera-bottom {
  position: relative;
  z-index: 20;
  padding: 8px 16px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0));
  background-color: transparent;
  flex-shrink: 0;
}

.camera-target-label {
  text-align: center;
  font-family: "Pathway Gothic One", sans-serif;
  font-size: calc(18 / 375 * 100cqw);
  color: #f9eaad;
  letter-spacing: calc(2 / 375 * 100cqw);
  width: fit-content;
  background-color: var(--color-black, #000);
  clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
  padding: calc(10 / 375 * 100cqw) calc(30 / 375 * 100cqw);
  margin: 0 auto;
}

.camera-distance {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background-color: var(--color-black, #000);
}

.camera-distance-label,
.camera-distance-unit {
  flex: 1;
  font-family: "Pathway Gothic One", sans-serif;
  font-size: calc(20 / 375 * 100cqw);
  letter-spacing: calc(1 / 375 * 100cqw);
}

.camera-distance-label {
  color: rgba(255, 255, 255, 0.6);
  text-align: right;
  padding-right: 12px;
}

.camera-distance-unit {
  color: #D4AF37;
  text-align: left;
  padding-left: 12px;
}

.camera-distance-value {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(2 / 375 * 100cqw) 12px;
  border: calc(1 / 375 * 100cqw) solid #D4AF37;
  background: #EFFAB0;
  border-radius: calc(10 / 375 * 100cqw);
}

.camera-distance-number {
  font-size: calc(40 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  font-family: "Pathway Gothic One", sans-serif;
  min-width: calc(50 / 375 * 100cqw);
  text-align: center;
}

.camera-credit {
  font-size: calc(13 / 375 * 100cqw);
  color: var(--color-white, #fff);
  text-align: center;
  margin: 4px 0 8px;
}

/* Stamp Button - Override c-btn for camera page */
.camera-bottom .c-btn {
  width: 100%;
  height: auto;
  padding: calc(14 / 375 * 100cqw) 20px;
  border-width: calc(2 / 375 * 100cqw);
}
.camera-bottom .c-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.3);
}

/* Loading */
.camera-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: opacity 0.3s;
}
.camera-loading.hide {
  opacity: 0;
  pointer-events: none;
}

.camera-loading-spinner {
  width: calc(40 / 375 * 100cqw);
  height: calc(40 / 375 * 100cqw);
  border: calc(3 / 375 * 100cqw) solid rgba(212, 175, 55, 0.3);
  border-top-color: #D4AF37;
  border-radius: 50%;
  animation: camera-spin 1s linear infinite;
}

@keyframes camera-spin {
  to {
    transform: rotate(360deg);
  }
}
.camera-loading-text {
  color: var(--color-white, #fff);
  font-size: calc(13 / 375 * 100cqw);
}

/* Toast */
.camera-toast {
  position: absolute;
  bottom: calc(160 / 375 * 100cqw);
  left: 50%;
  transform: translateX(-50%) translateY(calc(20 / 375 * 100cqw));
  z-index: 200;
  padding: calc(10 / 375 * 100cqw) 20px;
  background: rgba(0, 0, 0, 0.9);
  border: calc(1 / 375 * 100cqw) solid #D4AF37;
  border-radius: calc(6 / 375 * 100cqw);
  color: var(--color-white, #fff);
  font-size: calc(13 / 375 * 100cqw);
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
  white-space: nowrap;
}
.camera-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.camera-out-of-range {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 300;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}
.camera-out-of-range__box {
  text-align: center;
  padding: 32px 40px;
  background: rgba(0, 0, 0, 0.85);
  border: calc(1 / 375 * 100cqw) solid rgba(255, 255, 255, 0.2);
  border-radius: calc(12 / 375 * 100cqw);
}
.camera-out-of-range__text {
  color: var(--color-white, #fff);
  font-size: calc(16 / 375 * 100cqw);
  line-height: 1.8;
  margin: 0 0 24px;
}
.camera-out-of-range__btn {
  display: inline-block;
  padding: calc(10 / 375 * 100cqw) 48px;
  border: calc(1 / 375 * 100cqw) solid #D4AF37;
  border-radius: calc(6 / 375 * 100cqw);
  color: #D4AF37;
  font-size: calc(15 / 375 * 100cqw);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.camera-out-of-range__btn:hover {
  background: #D4AF37;
  color: var(--color-black, #000);
}

.camera-gps-error__actions {
  display: flex;
  gap: calc(12 / 375 * 100cqw);
  justify-content: center;
}

button.camera-out-of-range__btn {
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.page-camera {
  background: #7dccf3 !important;
}
.page-camera .page-wrapper {
  height: 100dvh;
  min-height: 100dvh;
  max-height: none;
  overflow: hidden;
  background: #7dccf3 url("../../image/camera/bg-pattern.png") no-repeat center/cover;
  box-shadow: none;
  justify-content: center;
  align-items: center;
}
.page-camera .site-content {
  width: min(100%, 46.1822660099dvh);
  height: auto;
  min-height: 0;
  flex: 0 0 auto;
  padding: 0;
  background: transparent;
  container-type: inline-size;
}

.camera-ui {
  position: relative;
  height: calc(812 / 375 * 100cqw);
  max-height: none;
  padding: 0;
  background: transparent;
}

.camera-header {
  position: absolute;
  top: calc(15 / 375 * 100cqw);
  left: 50%;
  transform: translateX(-50%);
  width: calc(340.67 / 375 * 100cqw);
  height: calc(87.58 / 375 * 100cqw);
  background: transparent;
  pointer-events: none;
  display: block;
  z-index: 20;
}

.camera-header-content {
  width: 100%;
  height: 100%;
  background: transparent;
}

.camera-header-title {
  width: 100%;
  height: 100%;
  background: transparent;
}
.camera-header-title img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  max-width: none;
}

.camera-header-subtitle {
  display: none;
}

.camera-spot-title {
  position: absolute;
  top: calc(106 / 375 * 100cqw);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(320 / 375 * 100cqw);
  z-index: 20;
  pointer-events: none;
  margin: 0;
  text-align: center;
  font-size: calc(15 / 375 * 100cqw);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-white, #fff);
  white-space: pre-line;
  background: rgba(0, 0, 0, 0.55);
  padding: calc(5 / 375 * 100cqw) calc(16 / 375 * 100cqw);
  border-radius: calc(16 / 375 * 100cqw);
}
.camera-spot-title:empty {
  display: none;
}

.camera-close-btn {
  position: absolute;
  top: calc(74 / 375 * 100cqw);
  right: calc(26 / 375 * 100cqw);
  color: var(--color-black, #000);
  background: rgba(255, 255, 255, 0.9);
  width: calc(30 / 375 * 100cqw);
  height: calc(30 / 375 * 100cqw);
  border-radius: 50%;
  font-size: calc(18 / 375 * 100cqw);
  line-height: 1;
  z-index: 40;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.camera-view {
  position: absolute;
  top: calc(60.72 / 375 * 100cqw);
  left: calc(21.45 / 375 * 100cqw);
  width: calc(332.29 / 375 * 100cqw);
  height: calc(531.36 / 375 * 100cqw);
  margin: 0;
  border: calc(4.531 / 375 * 100cqw) solid #0f6435;
  border-bottom: 0;
  border-radius: calc(60.42 / 375 * 100cqw) calc(60.42 / 375 * 100cqw) 0 0;
  overflow: hidden;
  flex: none;
  max-height: none;
}

.camera-bg {
  inset: calc(-4.531 / 375 * 100cqw) calc(-4.531 / 375 * 100cqw) 0 calc(-4.531 / 375 * 100cqw);
  border-radius: 0;
}

.camera-compass {
  position: absolute;
  top: calc(420 / 375 * 100cqw);
  left: 50%;
  bottom: auto;
  transform: translateX(-50%);
  width: calc(85.845 / 375 * 100cqw);
  height: calc(85.845 / 375 * 100cqw);
}

.camera-compass-arrow {
  width: calc(85.845 / 375 * 100cqw);
  height: calc(85.845 / 375 * 100cqw);
  background: url("../../image/tutorial/07-arrow-circle.svg") no-repeat center/contain;
  position: relative;
}
.camera-compass-arrow > * {
  display: none;
}
.camera-compass-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(47.645 / 375 * 100cqw);
  height: calc(47.645 / 375 * 100cqw);
  transform: translate(-50%, -50%);
  background: url("../../image/tutorial/07-arrow.svg") no-repeat center/contain;
}

.camera-bottom {
  position: absolute;
  top: calc(592.08 / 375 * 100cqw);
  left: calc(21.45 / 375 * 100cqw);
  width: calc(332.29 / 375 * 100cqw);
  height: calc(58 / 375 * 100cqw);
  display: block;
  background: transparent;
  padding: 0;
  z-index: 30;
}

.camera-target-label {
  display: none;
}

.camera-distance {
  position: relative;
  width: 100%;
  height: calc(58 / 375 * 100cqw);
  background: #0f6435;
  border: calc(4.531 / 375 * 100cqw) solid #0f6435;
  border-top: 0;
  border-radius: 0;
  margin: 0;
  padding: 0;
  display: block;
}

.camera-distance-label {
  position: absolute;
  top: calc(12.69 / 375 * 100cqw);
  left: calc(55.88 / 375 * 100cqw);
  width: calc(53.17 / 375 * 100cqw);
  height: calc(30.51 / 375 * 100cqw);
  font-size: calc(21.146 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-white, #fff);
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
  padding: 0;
  text-align: left;
  flex: none;
}

.camera-distance-value {
  position: absolute;
  top: calc(12.69 / 375 * 100cqw);
  left: calc(109.05 / 375 * 100cqw);
  width: calc(114.49 / 375 * 100cqw);
  height: calc(33.23 / 375 * 100cqw);
  padding: 0;
  background: var(--color-white, #fff);
  border: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 0;
}

.camera-distance-number {
  font-size: calc(30.208 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  font-family: inherit;
  line-height: 1;
  letter-spacing: 0;
  min-width: 0;
}

.camera-distance-unit {
  position: absolute;
  top: calc(5.74 / 375 * 100cqw);
  left: calc(236.53 / 375 * 100cqw);
  width: calc(26.58 / 375 * 100cqw);
  height: calc(30.51 / 375 * 100cqw);
  font-size: calc(27.188 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-white, #fff);
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
  padding: 0;
  text-align: left;
  flex: none;
}

.camera-stamp-btn {
  position: absolute;
  top: calc(71.15 / 375 * 100cqw);
  left: calc(67.65 / 375 * 100cqw);
  width: calc(197 / 375 * 100cqw);
  height: calc(44 / 375 * 100cqw);
  bottom: auto;
  right: auto;
  transform: none;
  min-width: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(8 / 375 * 100cqw) calc(24 / 375 * 100cqw);
  border: calc(3.322 / 375 * 100cqw) solid var(--color-accent-soft, #e5dbce);
  border-radius: calc(30.197 / 375 * 100cqw);
  background: var(--color-accent, #D4AF37);
  box-shadow: inset calc(-13.891 / 375 * 100cqw) calc(-11.777 / 375 * 100cqw) calc(2.355 / 375 * 100cqw) 0 var(--color-accent-dark, #e6a616);
  color: var(--color-black, #000);
  font-weight: 700;
  font-size: calc(17.823 / 375 * 100cqw);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.08s ease-out;
  box-sizing: border-box;
}
.camera-stamp-btn:active {
  transform: scale(0.97);
}
.camera-stamp-btn:active:not(:disabled) {
  transform: scale(0.97);
}
.camera-stamp-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.camera-credit {
  display: none !important;
}

/**
 * 04〜10. チュートリアル①〜⑦
 *
 * 7 ステップを切り替え表示。各ステップは Figma に基づく独立レイアウト。
 * 共通要素: 黄色 CTA ボタン、ステップインジケータ。
 */
body.page-tutorial {
  height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
}

html:has(body.page-tutorial) {
  height: 100dvh;
  overflow: hidden;
}

.page-tutorial .page-wrapper {
  min-height: 100dvh;
  height: 100dvh;
  justify-content: center;
  align-items: center;
}

.page-tutorial .site-content {
  padding: 0;
  overflow: hidden;
  flex: 0 0 auto;
  width: min(100vw, 480px, 46.1822660099dvh);
  container-type: inline-size;
}

.tutorial {
  position: relative;
  width: 100%;
  height: calc(812 / 375 * 100cqw);
  overflow: hidden;
}

.tutorial-step {
  display: none;
  position: relative;
  width: 100%;
  height: calc(812 / 375 * 100cqw);
  overflow: hidden;
}
.tutorial-step.is-active {
  display: block;
}

.tutorial-step__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.tutorial-btn {
  position: absolute;
  left: 50%;
  bottom: calc(70 / 375 * 100cqw);
  transform: translateX(-50%);
  min-width: calc(140 / 375 * 100cqw);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(12 / 375 * 100cqw) calc(28 / 375 * 100cqw);
  border: calc(3.322 / 375 * 100cqw) solid var(--color-accent-soft, #e5dbce);
  border-radius: calc(30.197 / 375 * 100cqw);
  background: var(--color-accent, #D4AF37);
  box-shadow: inset calc(-13.891 / 375 * 100cqw) calc(-11.777 / 375 * 100cqw) calc(2.355 / 375 * 100cqw) 0 var(--color-accent-dark, #e6a616);
  color: var(--color-black, #000);
  font-weight: 700;
  font-size: calc(17 / 375 * 100cqw);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.08s ease-out;
  box-sizing: border-box;
}
.tutorial-btn:active {
  transform: scale(0.97);
}
.tutorial-btn:active:not(:disabled) {
  transform: translateX(-50%) scale(0.97);
}
.tutorial-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.tutorial-progress {
  position: absolute;
  left: 50%;
  bottom: calc(30 / 375 * 100cqw);
  transform: translateX(-50%);
  display: flex;
  gap: calc(6 / 375 * 100cqw);
  z-index: 51;
}

.tutorial-progress__dot {
  width: calc(8 / 375 * 100cqw);
  height: calc(8 / 375 * 100cqw);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.tutorial-progress__dot.is-active {
  background: var(--color-accent, #D4AF37);
  transform: scale(1.25);
}

.tutorial-04__mission {
  position: absolute;
  top: calc(63 / 375 * 100cqw);
  left: calc(38 / 375 * 100cqw);
  width: calc(302 / 375 * 100cqw);
  height: auto;
  z-index: 2;
}

.tutorial-04__hannin {
  position: absolute;
  top: calc(210 / 375 * 100cqw);
  left: calc(254 / 375 * 100cqw);
  width: calc(102 / 375 * 100cqw);
  height: calc(102 / 375 * 100cqw);
  z-index: 3;
}

.tutorial-04__house {
  position: absolute;
  top: calc(417 / 375 * 100cqw);
  left: calc(38 / 375 * 100cqw);
  width: calc(282 / 375 * 100cqw);
  height: auto;
  z-index: 2;
}

.tutorial-05__bubble {
  position: absolute;
  top: calc(75 / 375 * 100cqw);
  left: calc(8 / 375 * 100cqw);
  width: calc(359 / 375 * 100cqw);
  background: var(--color-white, #fff);
  border: calc(1 / 375 * 100cqw) solid var(--color-black, #000);
  border-radius: calc(40 / 375 * 100cqw);
  padding: calc(24 / 375 * 100cqw) calc(20 / 375 * 100cqw) calc(16 / 375 * 100cqw);
  z-index: 2;
}
.tutorial-05__bubble p {
  margin: 0 0 calc(12 / 375 * 100cqw);
  font-size: calc(15 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  text-align: center;
}
.tutorial-05__bubble::after {
  content: "";
  position: absolute;
  bottom: calc(-10 / 375 * 100cqw);
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: calc(20 / 375 * 100cqw);
  height: calc(20 / 375 * 100cqw);
  background: var(--color-white, #fff);
  border-right: calc(1 / 375 * 100cqw) solid var(--color-black, #000);
  border-bottom: calc(1 / 375 * 100cqw) solid var(--color-black, #000);
}

.tutorial-05__room {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(8 / 375 * 100cqw);
}

.tutorial-05__miuru {
  position: absolute;
  top: calc(442 / 375 * 100cqw);
  left: calc(80 / 375 * 100cqw);
  width: calc(185 / 375 * 100cqw);
  height: auto;
  z-index: 2;
}

.tutorial-06__header {
  position: absolute;
  top: calc(60 / 375 * 100cqw);
  left: calc(30 / 375 * 100cqw);
  width: calc(314 / 375 * 100cqw);
  height: auto;
  z-index: 3;
}

.tutorial-06__ar-tag {
  position: absolute;
  top: calc(57 / 375 * 100cqw);
  left: calc(264 / 375 * 100cqw);
  width: calc(44 / 375 * 100cqw);
  height: calc(54 / 375 * 100cqw);
  z-index: 4;
}

.tutorial-06__panel {
  position: absolute;
  top: calc(128 / 375 * 100cqw);
  left: calc(40 / 375 * 100cqw);
  width: calc(294 / 375 * 100cqw);
  background: url("../../image/tutorial/06-parchment.svg") no-repeat center/100% 100%;
  padding: calc(18 / 375 * 100cqw) calc(28 / 375 * 100cqw) calc(24 / 375 * 100cqw);
  z-index: 2;
}

.tutorial-06__title {
  display: block;
  width: calc(211 / 375 * 100cqw);
  height: auto;
  margin: 0 auto;
}

.tutorial-06__intro {
  display: flex;
  align-items: flex-start;
  gap: calc(8 / 375 * 100cqw);
  margin-top: calc(16 / 375 * 100cqw);
}
.tutorial-06__intro img {
  flex-shrink: 0;
  width: calc(51 / 375 * 100cqw);
  height: auto;
}
.tutorial-06__intro p {
  margin: 0;
  font-size: calc(12 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  line-height: 1.4;
}

.tutorial-06__regions {
  display: grid;
  grid-template-columns: calc(100 / 375 * 100cqw) 1fr;
  gap: calc(4 / 375 * 100cqw) calc(12 / 375 * 100cqw);
  margin-top: calc(14 / 375 * 100cqw);
}

.tutorial-06__region {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(5 / 375 * 100cqw) calc(7 / 375 * 100cqw);
  border-radius: calc(6 / 375 * 100cqw);
  font-size: calc(12 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-white, #fff);
  text-align: center;
  line-height: 1.3;
}
.tutorial-06__region--midori {
  background: #0f6435;
}
.tutorial-06__region--minami {
  background: #00aae7;
}
.tutorial-06__region--chuo {
  background: #e17faf;
}
.tutorial-06__region--outer {
  grid-row: 1/span 3;
  grid-column: 2;
  background: #a499c9;
  font-size: calc(12 / 375 * 100cqw);
  white-space: pre-line;
}

.tutorial-06__camera {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: calc(10 / 375 * 100cqw);
  margin-top: calc(18 / 375 * 100cqw);
}
.tutorial-06__camera p {
  margin: 0;
  font-size: calc(12 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  line-height: 1.4;
  flex: 0 0 calc(150 / 375 * 100cqw);
}

.tutorial-06__phone-wrap {
  position: relative;
  flex-shrink: 0;
  width: calc(54 / 375 * 100cqw);
}

.tutorial-06__phone {
  display: block;
  width: 100%;
  height: auto;
}

.tutorial-06__flash {
  position: absolute;
  top: calc(-8 / 375 * 100cqw);
  left: calc(-32 / 375 * 100cqw);
  width: calc(50 / 375 * 100cqw);
  height: calc(50 / 375 * 100cqw);
}

.tutorial-06__miuru {
  position: absolute;
  top: calc(478 / 375 * 100cqw);
  left: calc(87 / 375 * 100cqw);
  width: calc(185 / 375 * 100cqw);
  height: auto;
  z-index: 2;
}

.tutorial-step--4 {
  background: #7dccf3;
}

.tutorial-07__title {
  position: absolute;
  top: calc(15 / 375 * 100cqw);
  left: 50%;
  transform: translateX(-50%);
  width: calc(340.67 / 375 * 100cqw);
  height: auto;
  z-index: 20;
  pointer-events: none;
}

.tutorial-07__camera-frame {
  position: absolute;
  top: calc(60.72 / 375 * 100cqw);
  left: calc(21.45 / 375 * 100cqw);
  width: calc(332.29 / 375 * 100cqw);
  height: calc(531.36 / 375 * 100cqw);
  border: calc(4.531 / 375 * 100cqw) solid #0f6435;
  border-bottom: 0;
  border-radius: calc(60.42 / 375 * 100cqw) calc(60.42 / 375 * 100cqw) 0 0;
  overflow: hidden;
  z-index: 2;
}

.tutorial-07__bg,
.tutorial-07__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tutorial-07__video {
  background: #000;
}

.tutorial-07__miuru {
  position: absolute;
  top: calc(218 / 375 * 100cqw);
  left: 50%;
  transform: translateX(-50%);
  width: calc(185 / 375 * 100cqw);
  height: auto;
  z-index: 2;
}

.tutorial-07__arrow {
  position: absolute;
  top: calc(490 / 375 * 100cqw);
  left: 50%;
  transform: translateX(-50%);
  width: calc(85.845 / 375 * 100cqw);
  height: calc(85.845 / 375 * 100cqw);
  z-index: 10;
}

.tutorial-07__arrow-circle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tutorial-07__arrow-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(47.645 / 375 * 100cqw);
  height: calc(47.645 / 375 * 100cqw);
}

.tutorial-07__distance {
  position: absolute;
  top: calc(592.08 / 375 * 100cqw);
  left: calc(21.45 / 375 * 100cqw);
  width: calc(332.29 / 375 * 100cqw);
  height: calc(58 / 375 * 100cqw);
  background: #0f6435;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(10 / 375 * 100cqw);
  z-index: 3;
}

.tutorial-07__distance-prefix {
  font-size: calc(21.146 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-white, #fff);
}

.tutorial-07__distance-value {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: calc(114.49 / 375 * 100cqw);
  height: calc(33.23 / 375 * 100cqw);
  padding: 0 calc(8 / 375 * 100cqw);
  background: var(--color-white, #fff);
}

.tutorial-07__distance-number {
  font-size: calc(30.208 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
}

.tutorial-07__distance-unit {
  font-size: calc(27.188 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-white, #fff);
}

.tutorial-07__get {
  position: absolute;
  top: calc(663.23 / 375 * 100cqw);
  left: 50%;
  transform: translateX(-50%);
  width: calc(197 / 375 * 100cqw);
  height: calc(44 / 375 * 100cqw);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(8 / 375 * 100cqw) calc(24 / 375 * 100cqw);
  border: calc(3.322 / 375 * 100cqw) solid var(--color-accent-soft, #e5dbce);
  border-radius: calc(30.197 / 375 * 100cqw);
  background: var(--color-accent, #D4AF37);
  box-shadow: inset calc(-13.891 / 375 * 100cqw) calc(-11.777 / 375 * 100cqw) calc(2.355 / 375 * 100cqw) 0 var(--color-accent-dark, #e6a616);
  color: var(--color-black, #000);
  font-weight: 700;
  font-size: calc(17.823 / 375 * 100cqw);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.08s ease-out;
  box-sizing: border-box;
}
.tutorial-07__get:active {
  transform: scale(0.97);
}
.tutorial-07__get:active {
  transform: translateX(-50%) scale(0.97);
}

.tutorial-step--5 {
  background: #fffcdc;
}

.tutorial-08__header {
  position: absolute;
  top: calc(60 / 375 * 100cqw);
  left: calc(30 / 375 * 100cqw);
  width: calc(314 / 375 * 100cqw);
  height: auto;
  z-index: 2;
}

.tutorial-08__spot {
  position: absolute;
  top: calc(140 / 375 * 100cqw);
  left: calc(36 / 375 * 100cqw);
  width: calc(302 / 375 * 100cqw);
  height: calc(265 / 375 * 100cqw);
  border-radius: calc(8 / 375 * 100cqw);
  overflow: hidden;
  z-index: 1;
}
.tutorial-08__spot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tutorial-08__sample {
  position: absolute;
  top: calc(92 / 375 * 100cqw);
  left: calc(38 / 375 * 100cqw);
  font-size: calc(60 / 375 * 100cqw);
  font-weight: 700;
  color: #d3504b;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.tutorial-08__desc {
  position: absolute;
  top: calc(420 / 375 * 100cqw);
  left: calc(40 / 375 * 100cqw);
  width: calc(298 / 375 * 100cqw);
  margin: 0;
  font-size: calc(15 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  line-height: 1.5;
}

.tutorial-08__prize {
  position: absolute;
  top: calc(511 / 375 * 100cqw);
  left: 50%;
  transform: translateX(-50%);
  width: calc(280 / 375 * 100cqw);
  text-align: center;
}

.tutorial-08__prize-title {
  display: block;
  width: calc(188 / 375 * 100cqw);
  height: auto;
  margin: 0 auto;
}

.tutorial-08__prize-body {
  display: flex;
  align-items: flex-start;
  gap: calc(8 / 375 * 100cqw);
  margin-top: calc(10 / 375 * 100cqw);
  text-align: left;
}
.tutorial-08__prize-body img {
  flex-shrink: 0;
  width: calc(39 / 375 * 100cqw);
  height: auto;
}
.tutorial-08__prize-body p {
  margin: 0;
  font-size: calc(15 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  line-height: 1.4;
}

.tutorial-08__prize-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(80 / 375 * 100cqw);
  height: calc(50 / 375 * 100cqw);
  margin-top: calc(8 / 375 * 100cqw);
  background: #ff6262;
  border: calc(2 / 375 * 100cqw) solid #e45353;
  border-radius: calc(7 / 375 * 100cqw);
  font-size: calc(9 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  text-decoration: none;
  box-shadow: 0 calc(9 / 375 * 100cqw) calc(9 / 375 * 100cqw) rgba(0, 0, 0, 0.25), inset calc(-3 / 375 * 100cqw) calc(-3 / 375 * 100cqw) calc(4 / 375 * 100cqw) rgba(0, 0, 0, 0.25);
}

.tutorial-09__header {
  position: absolute;
  top: calc(54 / 375 * 100cqw);
  left: calc(30 / 375 * 100cqw);
  width: calc(315 / 375 * 100cqw);
  height: auto;
  z-index: 3;
}

.tutorial-09__panel {
  position: absolute;
  top: calc(128 / 375 * 100cqw);
  left: calc(40 / 375 * 100cqw);
  width: calc(294 / 375 * 100cqw);
  background: url("../../image/tutorial/09-parchment.svg") no-repeat center/100% 100%;
  padding: calc(28 / 375 * 100cqw) calc(28 / 375 * 100cqw) calc(18 / 375 * 100cqw);
  z-index: 2;
}

.tutorial-09__title {
  display: block;
  width: calc(135 / 375 * 100cqw);
  height: auto;
  margin: 0 auto calc(16 / 375 * 100cqw);
}

.tutorial-09__row {
  display: flex;
  align-items: flex-start;
  gap: calc(8 / 375 * 100cqw);
  margin: calc(10 / 375 * 100cqw) 0;
}
.tutorial-09__row img {
  flex-shrink: 0;
  width: calc(51 / 375 * 100cqw);
  height: auto;
}
.tutorial-09__row p {
  margin: 0;
  font-size: calc(12 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  line-height: 1.4;
}

.tutorial-09__sarani {
  display: block;
  margin: calc(14 / 375 * 100cqw) auto calc(8 / 375 * 100cqw);
  width: calc(58 / 375 * 100cqw);
  height: auto;
}

.tutorial-09__deadline {
  display: block;
  margin: calc(18 / 375 * 100cqw) auto 0;
  width: calc(242 / 375 * 100cqw);
  height: auto;
}

.tutorial-09__miuru {
  position: absolute;
  top: calc(442 / 375 * 100cqw);
  left: calc(87 / 375 * 100cqw);
  width: calc(185 / 375 * 100cqw);
  height: auto;
  z-index: 2;
}

.tutorial-10__header {
  position: absolute;
  top: calc(54 / 375 * 100cqw);
  left: calc(30 / 375 * 100cqw);
  width: calc(315 / 375 * 100cqw);
  height: auto;
  z-index: 3;
}

.tutorial-10__notes {
  position: absolute;
  top: calc(145 / 375 * 100cqw);
  left: 50%;
  transform: translateX(-50%);
  width: calc(280 / 375 * 100cqw);
  margin: 0;
  padding: calc(28 / 375 * 100cqw) calc(26 / 375 * 100cqw) calc(18 / 375 * 100cqw) calc(50 / 375 * 100cqw);
  list-style: none;
  background: url("../../image/tutorial/10-parchment.svg") no-repeat center/100% 100%;
  z-index: 2;
}
.tutorial-10__notes li {
  position: relative;
  margin-bottom: calc(10 / 375 * 100cqw);
  font-size: calc(13 / 375 * 100cqw);
  font-weight: 400;
  color: var(--color-black, #000);
  line-height: 1.4;
}
.tutorial-10__notes li::before {
  content: "";
  position: absolute;
  left: calc(-22 / 375 * 100cqw);
  top: calc(4 / 375 * 100cqw);
  width: calc(14 / 375 * 100cqw);
  height: calc(18 / 375 * 100cqw);
  background: url("../../image/tutorial/10-grass.png") no-repeat center/contain;
  transform: rotate(7deg);
}

.tutorial-10__miuru {
  position: absolute;
  top: calc(442 / 375 * 100cqw);
  left: calc(87 / 375 * 100cqw);
  width: calc(185 / 375 * 100cqw);
  height: auto;
  z-index: 2;
}

/**
 * 特別ミッション一覧ページ
 * HOME chrome 共通 + ミッションカードの flex リスト。
 */
.page-bonus-mission .site-content {
  padding: 0;
  background: #ffd93d;
  position: relative;
}

.page-bonus-mission__stage {
  background: #ffd93d;
}

.page-bonus-mission__body {
  flex: 1;
  min-height: 0;
  margin: calc(11 / 375 * 100cqw);
  background: #fffcdc;
  border-radius: calc(24 / 375 * 100cqw);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: calc(20 / 375 * 100cqw) calc(16 / 375 * 100cqw) calc(86 / 375 * 100cqw);
  gap: calc(14 / 375 * 100cqw);
  z-index: 5;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.page-bonus-mission__body::-webkit-scrollbar {
  display: none;
}

.page-bonus-mission__heading {
  align-self: center;
}

.page-bonus-mission__heading {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: calc(6 / 375 * 100cqw);
}

.page-bonus-mission__title {
  margin: 0;
  font-size: calc(20 / 375 * 100cqw);
  font-weight: 800;
  color: var(--color-black, #000);
}

.page-bonus-mission__lead {
  margin: 0;
  font-size: calc(12 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
}

.page-bonus-mission__list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: calc(14 / 375 * 100cqw);
}

.page-bonus-mission__card {
  background: var(--color-white, #fff);
  border: calc(2 / 375 * 100cqw) solid #0f6435;
  border-radius: calc(10 / 375 * 100cqw);
  padding: calc(12 / 375 * 100cqw) calc(14 / 375 * 100cqw);
  display: flex;
  flex-direction: column;
  gap: calc(8 / 375 * 100cqw);
  color: var(--color-black, #000);
}
.page-bonus-mission__card.is-cleared {
  opacity: 0.7;
  border-color: #b0a78c;
}

.page-bonus-mission__card-name {
  margin: 0;
  font-size: calc(14 / 375 * 100cqw);
  font-weight: 800;
  text-align: center;
}

.page-bonus-mission__card-image {
  margin: 0 auto;
  width: 100%;
  max-height: calc(180 / 375 * 100cqw);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3eedb;
  border-radius: calc(6 / 375 * 100cqw);
  overflow: hidden;
}
.page-bonus-mission__card-image img {
  max-width: 100%;
  max-height: calc(180 / 375 * 100cqw);
  object-fit: contain;
}

.page-bonus-mission__card-desc {
  margin: 0;
  font-size: calc(12 / 375 * 100cqw);
  line-height: 1.5;
}

.page-bonus-mission__card-hint {
  margin: 0;
  padding: calc(8 / 375 * 100cqw) calc(10 / 375 * 100cqw);
  background: #fffcdc;
  border-radius: calc(6 / 375 * 100cqw);
}
.page-bonus-mission__card-hint p {
  margin: 0;
}

.page-bonus-mission__card-hint-label {
  font-size: calc(11 / 375 * 100cqw);
  font-weight: 800;
  color: #0f6435;
  margin-bottom: calc(4 / 375 * 100cqw);
}

.page-bonus-mission__card-hint-text {
  font-size: calc(11 / 375 * 100cqw);
  line-height: 1.5;
}

.page-bonus-mission__card-cta {
  align-self: center;
  min-width: calc(140 / 375 * 100cqw);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(12 / 375 * 100cqw) calc(28 / 375 * 100cqw);
  border: calc(3.322 / 375 * 100cqw) solid var(--color-accent-soft, #e5dbce);
  border-radius: calc(30.197 / 375 * 100cqw);
  background: var(--color-accent, #D4AF37);
  box-shadow: inset calc(-13.891 / 375 * 100cqw) calc(-11.777 / 375 * 100cqw) calc(2.355 / 375 * 100cqw) 0 var(--color-accent-dark, #e6a616);
  color: var(--color-black, #000);
  font-weight: 700;
  font-size: calc(17 / 375 * 100cqw);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.08s ease-out;
  box-sizing: border-box;
}
.page-bonus-mission__card-cta:active {
  transform: scale(0.97);
}

.page-bonus-mission__card-cleared {
  margin: 0;
  text-align: center;
  font-size: calc(12 / 375 * 100cqw);
  font-weight: 700;
  color: #0f6435;
}

.page-bonus-mission__empty {
  padding: calc(20 / 375 * 100cqw);
  background: var(--color-white, #fff);
  border: calc(2 / 375 * 100cqw) dashed #c9bfa8;
  border-radius: calc(8 / 375 * 100cqw);
  text-align: center;
  font-size: calc(12 / 375 * 100cqw);
}

/**
 * Camera Result Page
 * 撮影結果ページ（正解 = スタンプ GET / ハズレ）
 *
 * 正解時は Figma 16「スタンプ GET 画面」レイアウト。
 * ハズレ時は既存の縦並びレイアウトを継続。
 */
.page-camera-result .site-content {
  padding: 24px 16px;
  text-align: center;
}

.result-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding-top: 16px;
}

.result-content {
  width: 100%;
}

.result-message {
  margin-top: 24px;
}
.result-message__text {
  font-size: calc(14 / 375 * 100cqw);
  line-height: 1.8;
  color: var(--color-white, #fff);
}

.result-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-camera-result--correct .page-wrapper {
  min-height: 0;
  background: #fffcdc;
}
.page-camera-result--correct .site-content {
  padding: 0;
  background: #fffcdc;
}

.stamp-get {
  position: relative;
  width: 100%;
  background: #fffcdc;
  padding: calc(60 / 375 * 100cqw) calc(20 / 375 * 100cqw) calc(30 / 375 * 100cqw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(16 / 375 * 100cqw);
  overflow: hidden;
}

.stamp-get__header {
  display: block;
  width: calc(315 / 375 * 100cqw);
  height: auto;
  margin: 0 auto;
}

.stamp-get__location {
  margin: 0;
  font-size: calc(15 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  line-height: calc(19 / 375 * 100cqw);
  text-align: center;
}

.stamp-get__photo {
  position: relative;
  width: calc(302 / 375 * 100cqw);
  height: calc(265 / 375 * 100cqw);
  border-radius: calc(8 / 375 * 100cqw);
  overflow: hidden;
}
.stamp-get__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stamp-get__sample {
  position: absolute;
  top: calc(92 / 375 * 100cqw);
  left: calc(38 / 375 * 100cqw);
  font-size: calc(60 / 375 * 100cqw);
  font-weight: 700;
  color: #d3504b;
  white-space: nowrap;
  letter-spacing: 0.05em;
  pointer-events: none;
}

.stamp-get__desc {
  margin: calc(6 / 375 * 100cqw) 0 0;
  width: calc(298 / 375 * 100cqw);
  font-size: calc(15 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  line-height: 1.5;
  text-align: left;
}

.stamp-get__prize {
  width: calc(298 / 375 * 100cqw);
  margin-top: calc(4 / 375 * 100cqw);
}

.stamp-get__prize-title {
  display: block;
  width: calc(188 / 375 * 100cqw);
  height: auto;
  margin-inline: auto;
}

.stamp-get__prize-body {
  display: flex;
  align-items: center;
  gap: calc(8 / 375 * 100cqw);
  margin-top: calc(6 / 375 * 100cqw);
}
.stamp-get__prize-body img {
  flex-shrink: 0;
  width: calc(39 / 375 * 100cqw);
  height: auto;
}
.stamp-get__prize-body p {
  margin: 0;
  font-size: calc(15 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  line-height: 1.4;
}

.stamp-get__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(4 / 375 * 100cqw) calc(21 / 375 * 100cqw);
  border: calc(3.322 / 375 * 100cqw) solid var(--color-accent-soft, #e5dbce);
  border-radius: calc(30.197 / 375 * 100cqw);
  background: var(--color-accent, #D4AF37);
  box-shadow: inset calc(-13.891 / 375 * 100cqw) calc(-11.777 / 375 * 100cqw) calc(2.355 / 375 * 100cqw) 0 var(--color-accent-dark, #e6a616);
  color: var(--color-black, #000);
  font-weight: 700;
  font-size: calc(17.8 / 375 * 100cqw);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.08s ease-out;
  box-sizing: border-box;
}
.stamp-get__cta:active {
  transform: scale(0.97);
}
.stamp-get__cta {
  width: calc(155 / 375 * 100cqw);
  margin-top: calc(10 / 375 * 100cqw);
}

.stamp-get__nav {
  display: flex;
  gap: calc(20 / 375 * 100cqw);
  margin-top: calc(10 / 375 * 100cqw);
}

.stamp-get__nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(2 / 375 * 100cqw);
  width: calc(80 / 375 * 100cqw);
  height: calc(50 / 375 * 100cqw);
  padding: calc(5 / 375 * 100cqw) calc(4 / 375 * 100cqw);
  border-radius: calc(7 / 375 * 100cqw);
  border: calc(2 / 375 * 100cqw) solid;
  box-shadow: 0 calc(9 / 375 * 100cqw) calc(9 / 375 * 100cqw) rgba(0, 0, 0, 0.25), inset calc(-3 / 375 * 100cqw) calc(-3 / 375 * 100cqw) calc(4 / 375 * 100cqw) rgba(0, 0, 0, 0.25);
  font-size: calc(9 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  text-decoration: none;
  box-sizing: border-box;
  white-space: nowrap;
  line-height: 1;
}

.stamp-get__nav-btn--home {
  background: #7dccf3;
  border-color: #23abee;
}

.stamp-get__nav-btn--present {
  background: #ff6262;
  border-color: #e45353;
}

.stamp-get__nav-icon {
  width: calc(24 / 375 * 100cqw);
  height: calc(24 / 375 * 100cqw);
}

/**
 * 23/24. プレゼント応募
 *
 * HOME chrome 共通。中央はフロー (normal flow) で縦並び、cqw でスケール。
 */
.page-present .site-content {
  padding: 0;
  background: #ffd93d;
  position: relative;
}

.page-present__stage {
  background: #ffd93d;
}

.present-body {
  flex: 1;
  min-height: 0;
  margin: calc(11 / 375 * 100cqw);
  background: #fffcdc;
  border-radius: calc(24 / 375 * 100cqw);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: calc(20 / 375 * 100cqw) calc(16 / 375 * 100cqw) calc(86 / 375 * 100cqw);
  gap: calc(14 / 375 * 100cqw);
  z-index: 5;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.present-body::-webkit-scrollbar {
  display: none;
}
.present-body {
  align-items: center;
  gap: calc(15 / 375 * 100cqw);
}

.present-banner {
  width: calc(280 / 375 * 100cqw);
  height: calc(53 / 375 * 100cqw);
  flex-shrink: 0;
}

.present-pointbox {
  width: calc(278 / 375 * 100cqw);
  padding: calc(12 / 375 * 100cqw) calc(14 / 375 * 100cqw) calc(10 / 375 * 100cqw);
  background: #ffd93d;
  border-radius: calc(6 / 375 * 100cqw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(6 / 375 * 100cqw);
  flex-shrink: 0;
}

.present-pointbox__label {
  margin: 0;
  font-size: calc(16 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  text-align: center;
}

.present-pointbox__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(10 / 375 * 100cqw);
}

.present-pointbox__prefix {
  width: calc(57 / 375 * 100cqw);
  height: calc(26 / 375 * 100cqw);
}

.present-pointbox__numbox {
  width: calc(117 / 375 * 100cqw);
  height: calc(60 / 375 * 100cqw);
  background: var(--color-white, #fff);
  border-radius: calc(6 / 375 * 100cqw);
  display: flex;
  align-items: center;
  justify-content: center;
}

.present-pointbox__value {
  font-size: calc(44 / 375 * 100cqw);
  font-weight: 800;
  color: var(--color-black, #000);
  line-height: 1;
}

.present-pointbox__unit {
  width: calc(28 / 375 * 100cqw);
  height: calc(31 / 375 * 100cqw);
}

.present-pointbox__deadline {
  margin: calc(4 / 375 * 100cqw) 0 0;
  padding: calc(5 / 375 * 100cqw) calc(18 / 375 * 100cqw);
  background: #c43c2a;
  border-radius: calc(15 / 375 * 100cqw);
  color: var(--color-white, #fff);
  font-size: calc(13 / 375 * 100cqw);
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.present-note {
  width: calc(278 / 375 * 100cqw);
  margin: calc(-5 / 375 * 100cqw) 0 0;
  font-size: calc(11 / 375 * 100cqw);
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-black, #000);
  text-align: left;
}

.present-list {
  width: calc(290 / 375 * 100cqw);
  display: flex;
  flex-direction: column;
  gap: calc(29 / 375 * 100cqw);
}

.present-prize-card {
  display: flex;
  flex-direction: column;
  gap: calc(10 / 375 * 100cqw);
  flex-shrink: 0;
}
.present-prize-card__head {
  min-height: calc(87 / 375 * 100cqw);
  padding: calc(5 / 375 * 100cqw) calc(7 / 375 * 100cqw);
  background: #0f6435;
  border-radius: calc(6 / 375 * 100cqw);
  color: var(--color-white, #fff);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.present-prize-card__head span {
  font-size: calc(20 / 375 * 100cqw);
  font-weight: 700;
  line-height: normal;
}
.present-prize-card__desc {
  margin: 0 0 0 calc(5 / 375 * 100cqw);
  font-size: calc(13 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  text-align: left;
}
.present-prize-card__image {
  margin: 0 calc(3 / 375 * 100cqw);
}
.present-prize-card__image img {
  display: block;
  width: 100%;
  height: auto;
}
.present-prize-card__note {
  margin: calc(2 / 375 * 100cqw) calc(5 / 375 * 100cqw) 0;
  font-size: calc(10 / 375 * 100cqw);
  font-weight: 500;
  line-height: 1.5;
  color: #555;
  text-align: left;
}
.present-prize-card__cta {
  min-width: calc(160 / 375 * 100cqw);
  margin: calc(6 / 375 * 100cqw) auto calc(4 / 375 * 100cqw);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(4 / 375 * 100cqw) calc(21 / 375 * 100cqw);
  border: calc(3.322 / 375 * 100cqw) solid var(--color-accent-soft, #e5dbce);
  border-radius: calc(30.197 / 375 * 100cqw);
  background: var(--color-accent, #D4AF37);
  box-shadow: inset calc(-13.891 / 375 * 100cqw) calc(-11.777 / 375 * 100cqw) calc(2.355 / 375 * 100cqw) 0 var(--color-accent-dark, #e6a616);
  color: var(--color-black, #000);
  font-weight: 700;
  font-size: calc(17.8 / 375 * 100cqw);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.08s ease-out;
  box-sizing: border-box;
}
.present-prize-card__cta:active {
  transform: scale(0.97);
}
.present-prize-card__cta--done {
  background: #cfcfcf;
  border-color: #b3b3b3;
  box-shadow: none;
  color: #6b6b6b;
  cursor: default;
  pointer-events: none;
}

.present-confirm {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fffcdc;
  padding: calc(26 / 375 * 100cqw) calc(16 / 375 * 100cqw) calc(20 / 375 * 100cqw);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.present-confirm::-webkit-scrollbar {
  display: none;
}

.present-confirm__banner {
  width: calc(280 / 375 * 100cqw);
  height: calc(53 / 375 * 100cqw);
  flex-shrink: 0;
}

.present-confirm__caution {
  display: flex;
  align-items: center;
  margin-top: calc(14 / 375 * 100cqw);
}
.present-confirm__caution img {
  width: calc(48 / 375 * 100cqw);
  height: calc(48 / 375 * 100cqw);
}
.present-confirm__caution span {
  font-size: calc(25 / 375 * 100cqw);
  font-weight: 700;
  color: #ff1d25;
}

.present-confirm__text {
  margin: calc(12 / 375 * 100cqw) 0 0;
  font-size: calc(16 / 375 * 100cqw);
  font-weight: 700;
  line-height: normal;
  color: var(--color-black, #000);
  white-space: nowrap;
}
.present-confirm__text em {
  font-style: normal;
  color: #ff1d25;
}

.present-confirm__cost {
  margin: calc(18 / 375 * 100cqw) 0 0;
  font-size: calc(13 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  text-align: center;
}
.present-confirm__cost strong {
  color: #ff1d25;
}

.present-confirm__actions {
  display: flex;
  gap: calc(17 / 375 * 100cqw);
  margin-top: calc(12 / 375 * 100cqw);
}

.present-confirm__error {
  margin: calc(10 / 375 * 100cqw) 0 0;
  font-size: calc(12 / 375 * 100cqw);
  font-weight: 700;
  color: #ff1d25;
  text-align: center;
}
.present-confirm__error[hidden] {
  display: none;
}

.present-confirm__pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: calc(109 / 375 * 100cqw);
  height: calc(24 / 375 * 100cqw);
  padding: 0 calc(12 / 375 * 100cqw);
  background: var(--color-white, #fff);
  border: calc(2 / 375 * 100cqw) solid;
  border-radius: calc(16 / 375 * 100cqw);
  font-size: calc(11 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.present-confirm__pill--go {
  border-color: #ff0004;
}
.present-confirm__pill--later {
  border-color: #0f6435;
}
.present-confirm__pill.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}
.present-confirm__pill:active {
  transform: scale(0.95);
}

.present-confirm__miuru {
  width: calc(133 / 375 * 100cqw);
  height: calc(140 / 375 * 100cqw);
  margin-top: calc(36 / 375 * 100cqw);
  flex-shrink: 0;
}

/**
 * ミウルと撮影
 *  - メニュー: HOME chrome + 3 種のミウルを並べて選ぶ
 *  - 撮影モード: カメラ全画面 + ミウル重ね + シャッター
 */
.page-photo .site-content {
  padding: 0;
  background: #ffd93d;
  position: relative;
}

.page-photo__stage {
  background: #ffd93d;
}

.page-photo__body {
  flex: 1;
  min-height: 0;
  margin: calc(11 / 375 * 100cqw);
  background: #fffcdc;
  border-radius: calc(24 / 375 * 100cqw);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: calc(20 / 375 * 100cqw) calc(16 / 375 * 100cqw) calc(86 / 375 * 100cqw);
  gap: calc(14 / 375 * 100cqw);
  z-index: 5;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.page-photo__body::-webkit-scrollbar {
  display: none;
}

.page-photo__heading {
  align-self: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: calc(6 / 375 * 100cqw);
}

.page-photo__title {
  margin: 0;
  font-size: calc(20 / 375 * 100cqw);
  font-weight: 800;
  color: var(--color-black, #000);
}

.page-photo__lead {
  margin: 0;
  font-size: calc(12 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  line-height: 1.5;
}

.page-photo__miuru-select {
  width: 100%;
  display: flex;
  gap: calc(8 / 375 * 100cqw);
  justify-content: center;
}

.photo-pick {
  flex: 1 1 0;
  min-width: 0;
  text-decoration: none;
}
.photo-pick__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background: var(--color-white, #fff);
  border: calc(2 / 375 * 100cqw) solid #0f6435;
  border-radius: calc(10 / 375 * 100cqw);
  padding: calc(6 / 375 * 100cqw);
}
.photo-pick__frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.photo-pick:active .photo-pick__frame {
  transform: scale(0.97);
}

.photo-shoot {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #000;
  overflow: hidden;
  touch-action: none;
}
.photo-shoot__video, .photo-shoot__result {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-shoot__miuru {
  position: absolute;
  left: 50%;
  bottom: 14%;
  transform: translateX(-50%);
  width: 48%;
  max-width: none;
  height: auto;
  z-index: 2;
  touch-action: none;
  user-select: none;
  cursor: grab;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}
.photo-shoot__miuru:active {
  cursor: grabbing;
}
.photo-shoot__error {
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0 24px;
  text-align: center;
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  z-index: 4;
}
.photo-shoot__bar, .photo-shoot__after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  padding: 18px 22px calc(18px + env(safe-area-inset-bottom));
}
.photo-shoot__top[hidden], .photo-shoot__bar[hidden], .photo-shoot__after[hidden], .photo-shoot__zoom[hidden] {
  display: none;
}
.photo-shoot__bar {
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
}
.photo-shoot__after {
  justify-content: center;
  gap: 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}
.photo-shoot__top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: calc(14px + env(safe-area-inset-top)) 16px 14px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
  pointer-events: none;
}
.photo-shoot__top > * {
  pointer-events: auto;
}
.photo-shoot__zoom {
  display: flex;
  gap: 10px;
}
.photo-shoot__zoom-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-black, #000);
  border: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.photo-shoot__zoom-btn:active {
  transform: scale(0.92);
}
.photo-shoot__shutter {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-shoot__shutter:active {
  transform: scale(0.94);
}
.photo-shoot__shutter-icon {
  width: 32px;
  height: 32px;
  color: #0f6435;
  pointer-events: none;
}
.photo-shoot__back, .photo-shoot__retry, .photo-shoot__save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 40px;
  padding: 0 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.photo-shoot__back, .photo-shoot__retry {
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-black, #000);
  border: 0;
}
.photo-shoot__save {
  background: #0f6435;
  color: #fff;
}
.photo-shoot__hint {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
}

/**
 * 17-2. カードプレゼント (Figma 4335:606 / 4335:731)
 *
 * 番号入力画面と受け取り済み (済スタンプ) 画面。cream 背景の単純な縦並び。
 */
.page-card .site-content {
  padding: 0;
  background: #fffcdc;
  position: relative;
}

.page-card__stage {
  background: #fffcdc;
}

.card-page {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(77 / 375 * 100cqw) calc(16 / 375 * 100cqw) calc(24 / 375 * 100cqw);
}

.card-page__banner {
  width: calc(280 / 375 * 100cqw);
  height: calc(53 / 375 * 100cqw);
  flex-shrink: 0;
}

.card-page__lead {
  margin: calc(12 / 375 * 100cqw) 0 0;
  font-size: calc(15 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  text-align: center;
}

.card-page__inputs {
  display: flex;
  gap: calc(6 / 375 * 100cqw);
  margin-top: calc(15 / 375 * 100cqw);
}

.card-page__digit {
  width: calc(51 / 375 * 100cqw);
  height: calc(59 / 375 * 100cqw);
  background: var(--color-white, #fff);
  border: calc(1 / 375 * 100cqw) solid var(--color-black, #000);
  border-radius: 0;
  font-size: calc(32 / 375 * 100cqw);
  font-weight: 700;
  text-align: center;
  color: var(--color-black, #000);
}
.card-page__digit:focus {
  outline: calc(2 / 375 * 100cqw) solid #eab236;
  outline-offset: calc(-1 / 375 * 100cqw);
}

.card-page__error {
  margin: calc(10 / 375 * 100cqw) 0 0;
  font-size: calc(13 / 375 * 100cqw);
  font-weight: 700;
  color: #ff1d25;
  text-align: center;
}

.card-page__submit {
  margin-top: calc(19 / 375 * 100cqw);
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(4 / 375 * 100cqw) calc(21 / 375 * 100cqw);
  border: calc(3.322 / 375 * 100cqw) solid var(--color-accent-soft, #e5dbce);
  border-radius: calc(30.197 / 375 * 100cqw);
  background: var(--color-accent, #D4AF37);
  box-shadow: inset calc(-13.891 / 375 * 100cqw) calc(-11.777 / 375 * 100cqw) calc(2.355 / 375 * 100cqw) 0 var(--color-accent-dark, #e6a616);
  color: var(--color-black, #000);
  font-weight: 700;
  font-size: calc(17.8 / 375 * 100cqw);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.08s ease-out;
  box-sizing: border-box;
}
.card-page__submit:active {
  transform: scale(0.97);
}

.card-page__thanks {
  margin: calc(11 / 375 * 100cqw) 0 0;
  font-size: calc(15 / 375 * 100cqw);
  font-weight: 700;
  color: var(--color-black, #000);
  text-align: center;
}

.card-page__seal {
  width: calc(129 / 375 * 100cqw);
  height: calc(129 / 375 * 100cqw);
  margin-top: calc(19 / 375 * 100cqw);
  border: calc(6 / 375 * 100cqw) solid #ff1d25;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card-page__seal img {
  width: calc(101 / 375 * 100cqw);
  height: calc(110 / 375 * 100cqw);
}

.card-page__miuru {
  width: calc(127 / 375 * 100cqw);
  height: calc(134 / 375 * 100cqw);
  margin-top: calc(-22 / 375 * 100cqw);
  flex-shrink: 0;
}

.card-page__home {
  display: block;
  margin-top: calc(18 / 375 * 100cqw);
}
.card-page__home img {
  display: block;
  width: calc(80 / 375 * 100cqw);
  height: auto;
}
.card-page__home:active {
  transform: scale(0.95);
}

.card-page__card-name {
  margin: calc(12 / 375 * 100cqw) 0 0;
  font-size: calc(15 / 375 * 100cqw);
  font-weight: 800;
  color: var(--color-black, #000);
  text-align: center;
  line-height: 1.4;
}

.card-page__choices {
  width: 100%;
  max-width: calc(300 / 375 * 100cqw);
  margin-top: calc(16 / 375 * 100cqw);
  display: flex;
  flex-direction: column;
  gap: calc(10 / 375 * 100cqw);
}

.card-page__choice {
  position: relative;
  background: var(--card-color, #7ecef4);
  border-radius: calc(6 / 375 * 100cqw);
  padding: calc(7 / 375 * 100cqw) calc(8 / 375 * 100cqw) calc(7 / 375 * 100cqw) calc(64 / 375 * 100cqw);
  min-height: calc(56 / 375 * 100cqw);
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-black, #000);
  transition: transform 0.08s ease-out;
}
.card-page__choice:active {
  transform: scale(0.99);
}

.card-page__choice-thumb {
  position: absolute;
  left: calc(-2 / 375 * 100cqw);
  top: calc(-2 / 375 * 100cqw);
  width: calc(50 / 375 * 100cqw);
  height: calc(60 / 375 * 100cqw);
  object-fit: contain;
  z-index: 2;
}

.card-page__choice-body {
  display: flex;
  flex-direction: column;
}

.card-page__choice-count {
  font-size: calc(13 / 375 * 100cqw);
  font-weight: 800;
  line-height: 1.3;
}

.card-page__choice-title {
  font-size: calc(12 / 375 * 100cqw);
  font-weight: 700;
  line-height: 1.3;
}

/*# sourceMappingURL=common.css.map */
