/* =============================================
   MUSUBI CAFE IYASUME — Shared Styles
   Design System: Coral Pink × Tropical Mint × Zen Maru Gothic
============================================= */

/* Google Fonts は各HTMLで読み込む */

/* =============================================
   CSS Variables
============================================= */
:root {
  --coral:        #FF6B7A;
  --coral-dark:   #E8556A;
  --coral-light:  #FFB3BB;
  --mint:         #4ECDC4;
  --mint-dark:    #3DBDB5;
  --yellow:       #FFD166;
  --success:      #06D6A0;
  --text:         #3D2B1F;
  --text-sub:     #8B6F61;
  --text-muted:   #C4AFA8;
  --border:       #F0D9D3;
  --bg:           #FFF8F5;
  --surface:      #FFFFFF;
  --surface-alt:  #FFF0EC;

  --font-body:    "Nunito", "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-heading: "Nunito", "Noto Serif JP", "Zen Maru Gothic", "Hiragino Maru Gothic ProN", serif;
  --font-display: "Pacifico", "Nunito", cursive;

  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth:  cubic-bezier(0.4, 0, 0.2, 1);
  --ease-enter:   cubic-bezier(0, 0, 0.2, 1);

  --radius-pill:  9999px;
  --radius-card:  24px;
  --radius-input: 16px;
}

/* =============================================
   Reset
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  word-break: break-all;
  overflow-wrap: break-word;
  line-break: strict;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* =============================================
   Header
============================================= */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 248, 245, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1.5px solid rgba(255, 107, 122, 0.12);
  transition: box-shadow 0.3s var(--ease-smooth), background 0.3s;
}
#header.scrolled {
  box-shadow: 0 4px 24px rgba(255, 107, 122, 0.12);
  background: rgba(255, 248, 245, 0.97);
}
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  font-size: 32px;
  animation: logoFloat 3s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-4px) rotate(3deg); }
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main { font-family: var(--font-display); font-size: 18px; color: var(--coral); letter-spacing: 0.02em; }
.logo-sub  { font-family: "Zen Maru Gothic", sans-serif; font-size: 10px; font-weight: 700; color: var(--text-sub); letter-spacing: 0.1em; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav-link {
  position: relative;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--text);
  padding-bottom: 4px;
  transition: color 0.2s var(--ease-smooth);
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--mint));
  border-radius: var(--radius-pill);
  transition: width 0.35s var(--ease-bounce);
}
.nav-link:hover { color: var(--coral); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.header-cta {
  background: linear-gradient(135deg, var(--coral), #FF8E6E);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 15px rgba(255,107,122,0.4);
  transition: all 0.3s var(--ease-bounce);
  white-space: nowrap;
}
.header-cta:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 25px rgba(255,107,122,0.5);
}

.lang-switch { display: flex; gap: 4px; }
.lang-btn {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-sub);
  font-family: var(--font-body);
  transition: all 0.2s var(--ease-smooth);
}
.lang-btn.active, .lang-btn:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--coral);
  border-radius: 2px;
  transition: all 0.3s var(--ease-smooth);
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: #FFF8F5;           /* 完全不透明 — ヒーロー背景との干渉を防ぐ */
  border-top: 2px solid var(--border);
  box-shadow: 0 8px 32px rgba(255,107,122,0.12);
  z-index: 99;
  padding: 32px 24px 48px;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-bounce);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .nav-link {
  font-size: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  display: block;
}

/* =============================================
   Page Hero (subpage用 小型ヒーロー)
============================================= */
.page-hero {
  padding: 140px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--coral-light);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  color: var(--coral);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 72px);
  color: var(--coral);
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 4px 20px rgba(255,107,122,0.2);
}
.page-hero-title-jp {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.page-hero-desc {
  font-size: 15px;
  color: var(--text-sub);
  max-width: 560px;
  margin: 0 auto;
}
.page-hero-floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.page-hero-float {
  position: absolute;
  font-size: clamp(24px, 4vw, 48px);
  opacity: 0.6;
  animation: heroFloat linear infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50%       { transform: translateY(-16px) rotate(8deg); }
}

/* =============================================
   Section共通
============================================= */
.section { padding: 88px 24px; position: relative; }
.section-inner { max-width: 1160px; margin: 0 auto; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,122,0.1);
  color: var(--coral);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 12px;
  font-feature-settings: "palt" 1;
}
.section-title-en {
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 18px);
  color: var(--coral);
  letter-spacing: 0.04em;
  margin-bottom: 48px;
}
.text-center { text-align: center; }

/* =============================================
   Buttons
============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--coral), #FF8E6E);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 20px rgba(255,107,122,0.4);
  transition: all 0.35s var(--ease-bounce);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 32px rgba(255,107,122,0.5);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--coral);
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  border: 2px solid var(--coral);
  transition: all 0.3s var(--ease-bounce);
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-secondary:hover {
  background: var(--coral);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255,107,122,0.4);
}

.btn-mint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mint);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  transition: all 0.3s var(--ease-bounce);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-mint:hover {
  background: var(--mint-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(78,205,196,0.4);
}

/* =============================================
   Cards
============================================= */
.card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all 0.4s var(--ease-bounce);
}
.card:hover {
  transform: translateY(-8px) rotate(0.4deg);
  box-shadow: 0 20px 48px rgba(255,107,122,0.18);
  border-color: var(--coral);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.badge-coral   { background: var(--coral); color: #fff; }
.badge-mint    { background: var(--mint); color: #fff; animation: badgePulse 2s ease-in-out infinite; }
.badge-yellow  { background: var(--yellow); color: var(--text); }
.badge-success { background: var(--success); color: #fff; }

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.08); }
}

/* =============================================
   Inputs
============================================= */
.input, .textarea, .select {
  width: 100%;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-input);
  padding: 14px 20px;
  font-size: 16px;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(255,107,122,0.15);
  outline: none;
}
.input::placeholder, .textarea::placeholder { color: var(--text-muted); }
.textarea { resize: vertical; min-height: 140px; }
.select { appearance: none; cursor: pointer; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.form-group { margin-bottom: 24px; }

/* =============================================
   Scroll Reveal
============================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-enter), transform 0.7s var(--ease-enter);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* =============================================
   News Ticker
============================================= */
.news-ticker { background: var(--coral); padding: 12px 0; overflow: hidden; }
.news-ticker-inner {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
}
.news-ticker-inner:hover { animation-play-state: paused; }
.ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.2);
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.1em;
  margin-right: 32px;
  flex-shrink: 0;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding-right: 48px;
  flex-shrink: 0;
}
.ticker-item::before { content: '🌺'; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================
   Highlight Banner
============================================= */
.highlight-banner {
  background: linear-gradient(135deg, var(--coral), #FF8E6E 50%, var(--mint));
  padding: 72px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.highlight-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/svg%3E");
}
.highlight-banner .section-inner { position: relative; }
.highlight-title { font-family: var(--font-display); font-size: clamp(28px, 4.5vw, 52px); color: #fff; margin-bottom: 12px; }
.highlight-desc  { color: rgba(255,255,255,0.9); font-size: 17px; margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--coral);
  padding: 16px 40px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: all 0.35s var(--ease-bounce);
}
.btn-white:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

/* =============================================
   Footer
============================================= */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 64px 24px 32px;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  top: -2px; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--mint), var(--yellow), var(--coral));
  background-size: 200%;
  animation: rainbowSlide 4s linear infinite;
}
@keyframes rainbowSlide {
  from { background-position: 0%; }
  to   { background-position: 200%; }
}
.footer-inner { max-width: 1160px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo .logo-main { color: var(--coral); font-size: 22px; }
.footer-logo .logo-sub  { color: rgba(255,255,255,0.5); }
.footer-about { font-size: 14px; line-height: 1.8; margin: 16px 0 24px; color: rgba(255,255,255,0.55); }
.footer-sns { display: flex; gap: 12px; }
.sns-btn {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: rgba(255,255,255,0.08);
  transition: all 0.25s var(--ease-bounce);
  cursor: pointer;
}
.sns-btn:hover { background: var(--coral); transform: translateY(-3px) scale(1.1); }
.footer-col-title { font-family: "Zen Maru Gothic", sans-serif; font-size: 14px; font-weight: 700; color: #fff; letter-spacing: 0.06em; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-link { font-size: 13px; color: rgba(255,255,255,0.55); transition: color 0.2s; letter-spacing: 0.04em; }
.footer-link:hover { color: var(--coral); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); letter-spacing: 0.04em; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-link { font-size: 12px; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom-link:hover { color: var(--coral); }

/* Back to top */
#back-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--coral), #FF8E6E);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255,107,122,0.4);
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.35s var(--ease-bounce);
  z-index: 50;
  border: none;
}
#back-top.visible { opacity: 1; transform: translateY(0); }
#back-top:hover   { transform: translateY(-4px) scale(1.1); box-shadow: 0 12px 32px rgba(255,107,122,0.5); }

/* =============================================
   Particles
============================================= */
.particles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.particle {
  position: absolute;
  opacity: 0;
  animation: particleDrift linear infinite;
}
@keyframes particleDrift {
  0%   { transform: translateY(-20px) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.5; }
  90%  { opacity: 0.25; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* =============================================
   Responsive
============================================= */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .section { padding: 64px 20px; }
  .nav, .lang-switch, .header-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .page-hero { padding: 110px 20px 60px; }
}
@media (max-width: 480px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
