/* =============== Misemaru Theme: 05 Casual =============== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Fredoka:wght@400;500;600&family=M+PLUS+Rounded+1c:wght@400;500;600&family=Noto+Sans+JP:wght@400;500;600&family=Noto+Sans+TC:wght@400;500;600&family=Noto+Sans+KR:wght@400;500;600&display=swap');

:root {
  --bg-color: #fff7ed;
  --text-color: #1f2937;
  --modal-text-color: #1f2937;
  --full-screen-bg: rgba(255, 247, 237, 0.96);
  --frame-bg: rgba(255, 247, 237, 0.92);
  --btn-text-color: #ffffff;
  --btn-hover-bg: rgba(31, 41, 55, 0.08);
  --btn-red: #fb923c;
  --btn-green: #22d3ee;
  --btn-blue: #34d399;
  --btn-gray: #facc15;

  --casual-cream: #fef3c7;
  --casual-orange: #fb923c;
  --casual-orange-dark: #f97316;
  --casual-yellow: #facc15;
  --casual-coral: #f87171;
  --casual-teal: #22d3ee;
  --casual-muted: rgba(31, 41, 55, 0.62);
}

body {
  font-family: 'Poppins', 'M PLUS Rounded 1c', 'Noto Sans', 'Noto Sans JP', 'Noto Sans TC', 'Noto Sans KR', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(250, 204, 21, 0.28), transparent 52%),
    radial-gradient(circle at top right, rgba(248, 113, 113, 0.2), transparent 48%),
    radial-gradient(circle at bottom left, rgba(34, 211, 238, 0.15), transparent 52%),
    var(--bg-color);
  color: var(--text-color);
  letter-spacing: 0.01em;
  min-height: 100vh;
  padding:.5rem;
}
:lang(ja) body {
  font-family: 'M PLUS Rounded 1c', 'Poppins', sans-serif;
}
:lang(zh-TW) body {
  font-family: 'Noto Sans TC', 'Poppins', sans-serif;
}
:lang(ko) body {
  font-family: 'Noto Sans KR', 'Poppins', sans-serif;
}

#wrap {
  max-width: 960px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 28px;
  padding: 2.75rem 2.25rem 3.5rem;
  box-shadow: 0 32px 68px rgba(249, 115, 22, 0.12);
  position: relative;
  overflow: hidden;
}
#wrap::before,
#wrap::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.18;
}
#wrap::before {
  width: 240px;
  height: 240px;
  background: var(--casual-yellow);
  top: -120px;
  left: -80px;
}
#wrap::after {
  width: 320px;
  height: 320px;
  background: var(--casual-teal);
  bottom: -180px;
  right: -120px;
}
@media (max-width: 767.98px) {
  #wrap {
    padding: 2.5rem 1.5rem 3rem;
  }
}

/*#google-login-container {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  z-index: 5;
}
@media (max-width: 767.98px) {*/
  #google-login-container {
    position: static;
    margin-bottom: 1rem;
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
  }
/*}*/ 

.hero {
  /*display: flex;
  flex-direction: column;
  gap: 1.75rem;*/
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    justify-content: center;
    text-align: center;
  }
}

.hero-visual {
  flex: 1 1 320px;
  min-height: 240px;
  min-width: 240px;
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 26px 48px rgba(15, 23, 42, 0.16);
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.16), rgba(250, 204, 21, 0.16));
}
.hero-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin:0;
}
.hero-fallback {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  font-family: 'Fredoka', 'Poppins', 'M PLUS Rounded 1c', 'Noto Sans JP', 'Noto Sans TC', 'Noto Sans KR', sans-serif;
  font-weight: 600;
  color: var(--casual-orange-dark);
}
:lang(ja) .hero-fallback,
:lang(zh-TW) .hero-fallback,
:lang(ko) .hero-fallback {
  font-family: 'M PLUS Rounded 1c', 'Poppins', sans-serif;
}

.hero-copy {
  flex: 1 1 auto;
  max-width: 480px;
}
#hero-title {
  font-family: 'Fredoka', 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(2.3rem, 4vw, 3rem);
  letter-spacing: 0.05em;
  color: var(--casual-orange-dark);
  margin-bottom: 0.5rem;
}
:lang(ja) #hero-title,
:lang(zh-TW) #hero-title,
:lang(ko) #hero-title {
  font-family: 'M PLUS Rounded 1c', 'Poppins', sans-serif;
  letter-spacing: 0.08em;
}
#hero-tagline {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--casual-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
#signin-note {
  font-size: 0.9rem;
  color: rgba(31, 41, 55, 0.55);
}

#langbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(251, 146, 60, 0.35);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}
#langbar label {
  font-weight: 600;
  color: var(--casual-muted);
  margin: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.35em;
}
#langSel {
  border-radius: 999px;
  border: none;
  background: rgba(251, 146, 60, 0.12);
  color: var(--text-color);
  font-weight: 600;
}

#topMenu {
  display: grid;
  gap: 1rem;
}
@media (min-width: 576px) {
  #topMenu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.menu-btn {
  border-radius: 22px;
  padding: 1.1rem 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  color: #fff;
}
.menu-btn span {
  font-size: 1.05rem;
}
.menu-btn small {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.85;
} 
@media (max-width: 575.98px) {
  .menu-btn small {
    font-size: 0.72rem;
  }
}
.menu-btn.primary {
  background: linear-gradient(135deg, var(--casual-orange), var(--casual-orange-dark));
  box-shadow: 0 18px 32px rgba(249, 115, 22, 0.28);
}
.menu-btn.primary:hover,
.menu-btn.primary:focus {
  background: linear-gradient(135deg, var(--casual-orange-dark), var(--casual-coral));
  transform: translateY(-2px);
}
.menu-btn.secondary {
  background: linear-gradient(135deg, #34d399, #22d3ee);
  box-shadow: 0 18px 32px rgba(34, 211, 238, 0.2);
}
.menu-btn.secondary:hover,
.menu-btn.secondary:focus {
  background: linear-gradient(135deg, #22d3ee, #34d399);
  transform: translateY(-2px);
}

section {
  background: linear-gradient(160deg, rgba(251, 146, 60, 0.15), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(249, 115, 22, 0.15);
  border-radius: 20px;
  padding: 1.6rem;
  margin-bottom: 2rem;
  box-shadow: 0 16px 36px rgba(249, 115, 22, 0.12);
}

h2,
h3 {
  font-family: 'Fredoka', 'Poppins', sans-serif;
  letter-spacing: 0.05em;
  color: var(--casual-orange-dark);
  font-weight: 600;
}
:lang(ja) h2,
:lang(ja) h3,
:lang(zh-TW) h2,
:lang(zh-TW) h3,
:lang(ko) h2,
:lang(ko) h3 {
  font-family: 'M PLUS Rounded 1c', 'Poppins', sans-serif;
  letter-spacing: 0.08em;
}

.site-footer {
  color: rgba(31, 41, 55, 0.55);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}


/* ===============================
   確認ページ（33）向け調整
   =============================== */
/* 過去/今後トグルの中央寄せと間隔 */
#display-mode-toggle { display:flex; justify-content:center; gap:8px; }

/* 予約カードを白地に黒文字で統一 */
#reservationList .card,
#reservationList .card .list-group-item,
#reservationList .card .card-body,
#reservationList [data-role='label'] {
  color: #212529 !important;
}

/* 過去予約：淡色表示。ただし確認ボタンは使用可能 */
#reservationList .card.is-past {
  color: #999 !important;
  background: #f5f5f5 !important;
  pointer-events: auto !important;
}

/* トグルボタンの見た目（確認/閉じる） */
#reservationList [data-role='toggle'].btn-outline-primary { color: #0d6efd; border-color: #0d6efd; }
#reservationList [data-role='toggle'].btn-primary { color: #fff !important; background-color: #0d6efd; border-color: #0d6efd; }
#reservationList [data-role='toggle'].btn-primary:hover,
#reservationList [data-role='toggle'].btn-primary:focus,
#reservationList [data-role='toggle'].btn-primary:active {
  color: #fff !important;
}
#reservationList [data-role='toggle'].btn-outline-primary:hover,
#reservationList [data-role='toggle'].btn-outline-primary:focus,
#reservationList [data-role='toggle'].btn-outline-primary:active {
  color: #fff !important;
  background-color: #0d6efd;
  border-color: #0d6efd;
}

/* 極小画面でのラベル文字サイズ調整 */
@media (max-width: 380px) {
  #reservationList [data-role='label'] { font-size: 0.8rem; }
}
