*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --text: #0f0f1a;
  --text-sub: #64648a;
  --accent: #e05a7a;
  --accent-soft: #f8d0da;
  --accent-glow: rgba(224,90,122,.25);
  --bg: #faf9fe;
  --card: #fff;
  --border: rgba(0,0,0,.06);
  --glass: rgba(255,255,255,.65);
  --glass-border: rgba(255,255,255,.35);
  --radius: 24px;
  --radius-sm: 16px;
  --grad-hero: linear-gradient(165deg, #fef1f6 0%, #f5f0ff 35%, #eef4ff 65%, #f0faf5 100%);
  --grad-mesh: radial-gradient(ellipse at 20% 50%, rgba(248,208,218,.4) 0%, transparent 50%),
               radial-gradient(ellipse at 80% 20%, rgba(196,181,253,.3) 0%, transparent 50%),
               radial-gradient(ellipse at 60% 80%, rgba(147,197,253,.25) 0%, transparent 50%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.04);
  --shadow-md: 0 8px 32px rgba(0,0,0,.06);
  --shadow-lg: 0 24px 64px rgba(0,0,0,.08);
  --shadow-glow: 0 8px 40px var(--accent-glow);
}
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Zen Maru Gothic', system-ui, sans-serif;
  color: var(--text); background: var(--bg);
  line-height: 1.8; -webkit-font-smoothing: antialiased;
  overflow-x: hidden; width: 100%;
}
a { color: var(--accent); text-decoration: none; }
.mi { font-family: 'Material Icons Round'; font-style: normal; font-weight: normal; font-size: 18px; line-height: 1; -webkit-font-smoothing: antialiased; }

/* ── Scroll Animations ── */
.reveal { opacity: 0; transform: translateY(48px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(60px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.reveal-right.visible { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.92); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.reveal-scale.visible { opacity: 1; transform: none; }
.stagger-1 { transition-delay: .1s; }
.stagger-2 { transition-delay: .2s; }
.stagger-3 { transition-delay: .3s; }
.stagger-4 { transition-delay: .4s; }

/* ── Header ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all .5s cubic-bezier(.16,1,.3,1);
}
.site-header.scrolled {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 28px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.header-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.05rem; font-weight: 700; color: var(--text);
  text-decoration: none; letter-spacing: .02em;
}
.header-logo img { width: 32px; height: 32px; border-radius: 10px; }
.header-nav { display: flex; gap: 32px; }
.header-nav a {
  font-size: .82rem; color: var(--text-sub); text-decoration: none;
  font-weight: 500; position: relative; transition: color .3s;
}
.header-nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent); border-radius: 1px;
  transform: scaleX(0); transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.header-nav a:hover { color: var(--text); }
.header-nav a:hover::after { transform: scaleX(1); }

/* ── Hero ── */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-hero); position: relative; overflow: hidden;
}
.hero-mesh {
  position: absolute; inset: 0; background: var(--grad-mesh);
  pointer-events: none; animation: meshShift 12s ease-in-out infinite alternate;
}
@keyframes meshShift {
  0% { transform: translate(0,0) scale(1); opacity: .7; }
  100% { transform: translate(20px,-15px) scale(1.05); opacity: 1; }
}
.hero-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .3;
  animation: orbDrift 10s ease-in-out infinite alternate;
}
.hero-orb-1 { width: 500px; height: 500px; background: #f9a8d4; top: -15%; right: -8%; }
.hero-orb-2 { width: 350px; height: 350px; background: #c4b5fd; bottom: -10%; left: -8%; animation-delay: -4s; }
.hero-orb-3 { width: 250px; height: 250px; background: #93c5fd; top: 35%; left: 12%; animation-delay: -7s; }
.hero-orb-4 { width: 180px; height: 180px; background: #86efac; bottom: 20%; right: 15%; animation-delay: -2s; }
@keyframes orbDrift {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(25px,-20px) scale(1.1); }
}
.hero-particles {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 20%, rgba(224,90,122,.2) 50%, transparent 50%),
    radial-gradient(1px 1px at 30% 70%, rgba(196,181,253,.25) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 70% 30%, rgba(147,197,253,.2) 50%, transparent 50%),
    radial-gradient(1px 1px at 85% 75%, rgba(134,239,172,.2) 50%, transparent 50%),
    radial-gradient(1px 1px at 50% 50%, rgba(224,90,122,.15) 50%, transparent 50%);
  animation: particleFloat 20s linear infinite;
}
@keyframes particleFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-30px); }
}
.hero-content {
  text-align: center; position: relative; z-index: 1;
  animation: heroEnter 1.2s cubic-bezier(.16,1,.3,1) both;
}
@keyframes heroEnter {
  from { opacity: 0; transform: translateY(40px) scale(.96); }
  to { opacity: 1; transform: none; }
}
.hero-logo {
  width: 130px; height: 130px; border-radius: 36px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(224,90,122,.12);
  animation: logoFloat 6s ease-in-out infinite;
}
@keyframes logoFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero h1 {
  font-size: 3.8rem; font-weight: 700; letter-spacing: .02em;
  margin-bottom: 14px; line-height: 1.2;
  background: linear-gradient(135deg, var(--text) 0%, #4a3f6b 50%, var(--accent) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 6s ease infinite;
}
@keyframes gradShift {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero .tagline {
  font-size: 1.15rem; color: var(--text-sub);
  font-weight: 400; letter-spacing: .08em;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 40px; padding: 16px 44px;
  background: var(--text); color: #fff; border-radius: 100px;
  font-size: .9rem; font-weight: 600; text-decoration: none;
  letter-spacing: .04em; position: relative; overflow: hidden;
  transition: all .4s cubic-bezier(.16,1,.3,1);
  box-shadow: var(--shadow-md);
}
.hero-cta::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent), #a855f7);
  opacity: 0; transition: opacity .4s;
}
.hero-cta:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: #fff; }
.hero-cta:hover::before { opacity: 1; }
.hero-cta span { position: relative; z-index: 1; }
.hero-scroll {
  display: block; margin-top: 64px; color: var(--text-sub); opacity: .35;
  animation: scrollBounce 3s ease infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: translateY(0); opacity: .35; }
  50% { transform: translateY(10px); opacity: .6; }
}

/* ── Section ── */
.section { max-width: 1120px; margin: 0 auto; padding: 140px 28px; overflow: hidden; }
.section-header { text-align: center; margin-bottom: 100px; }
.section-label {
  display: inline-block; font-size: .7rem; font-weight: 700;
  color: var(--accent); letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 18px; padding: 6px 16px;
  background: var(--accent-soft); border-radius: 100px;
}
.section-title {
  font-size: 2.2rem; font-weight: 700; margin-bottom: 14px;
  line-height: 1.4;
}
.section-sub { font-size: .95rem; color: var(--text-sub); max-width: 480px; margin: 0 auto; }

/* ── Feature Row ── */
.feature-row {
  display: flex; align-items: center; gap: 80px;
  margin-bottom: 160px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-text .label {
  display: inline-block; font-size: .65rem; font-weight: 700;
  color: var(--accent); letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 18px; padding: 5px 14px;
  background: var(--accent-soft); border-radius: 100px;
}
.feature-text h3 {
  font-size: 1.8rem; font-weight: 700; margin-bottom: 18px; line-height: 1.4;
}
.feature-text p {
  font-size: .93rem; color: var(--text-sub); line-height: 2;
}
.feature-points {
  list-style: none; margin-top: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.feature-points li {
  font-size: .87rem; color: var(--text-sub);
  display: flex; align-items: center; gap: 10px;
}
.feature-points li::before {
  content: '✓'; display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font-size: .7rem; font-weight: 700; flex-shrink: 0;
}
.stamp-gallery { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.stamp-gallery img {
  width: 44px; height: 44px; border-radius: 12px;
  transition: all .3s cubic-bezier(.16,1,.3,1);
  box-shadow: var(--shadow-sm);
}
.stamp-gallery img:hover { transform: scale(1.2) rotate(-5deg); box-shadow: var(--shadow-md); }

/* ── Phone Frame ── */
.phone-wrap { flex-shrink: 0; perspective: 1200px; }
.phone {
  width: 270px; height: 550px; position: relative;
  transform: rotateY(0deg);
  transition: transform .6s cubic-bezier(.16,1,.3,1);
  filter: drop-shadow(0 32px 64px rgba(0,0,0,.12));
}
.phone:hover { transform: rotateY(-3deg) rotateX(2deg) scale(1.02); }
.phone::before {
  content: ''; position: absolute; inset: 0; border-radius: 44px;
  background: linear-gradient(145deg, #2a2a2a 0%, #0a0a0a 50%, #1a1a1a 100%);
  z-index: 1; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 3px;
}
.phone::after {
  content: ''; position: absolute; inset: 1px; border-radius: 44px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  z-index: 2; pointer-events: none;
}
.phone-content {
  position: absolute; inset: 3px; border-radius: 42px;
  background: #fff; overflow: hidden;
  display: flex; flex-direction: column;
}
.phone-status {
  height: 38px; background: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; position: relative; flex-shrink: 0;
}
.phone-di {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 70px; height: 20px; background: #0a0a0a; border-radius: 12px;
}
.status-time { font-size: 10.5px; font-weight: 700; color: #0a0a0a; z-index: 1; }
.status-icons { display: flex; align-items: center; gap: 3px; z-index: 1; }
.phone-appbar {
  height: 40px; background: #fff;
  display: flex; align-items: center; padding: 0 18px;
  font-size: 13.5px; font-weight: 700;
  border-bottom: .5px solid #eaeaea; flex-shrink: 0;
}
.phone-body { flex: 1; overflow: hidden; }
.phone-nav {
  height: 46px; background: #fff;
  border-top: .5px solid #eaeaea;
  display: flex; align-items: center; justify-content: space-around;
  flex-shrink: 0;
}
.phone-home-indicator {
  display: flex; justify-content: center;
  padding: 3px 0 9px; background: #fff; flex-shrink: 0;
}
.phone-home-indicator span {
  width: 76px; height: 4px; background: #0a0a0a;
  border-radius: 2px; display: block; opacity: .15;
}
.phone-nav-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 1px; font-size: 7.5px; color: #bbb;
}
.phone-nav-item .mi { font-size: 20px; color: #bbb; }
.phone-nav-item.active { color: #0a0a0a; }
.phone-nav-item.active .mi { color: #0a0a0a; }

/* ── Diary ── */
.diary-post { padding: 13px 15px; background: #fff; border-bottom: 1px solid #f3f3f3; }
.diary-header { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.diary-avatar { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; }
.diary-avatar.a { background: linear-gradient(135deg, #f8a4b8, #f48fb1); }
.diary-avatar.b { background: linear-gradient(135deg, #90caf9, #64b5f6); }
.diary-meta { flex: 1; }
.diary-author { font-size: 10px; font-weight: 700; }
.diary-time { font-size: 8px; color: #aaa; }
.diary-title { font-size: 11px; font-weight: 700; margin-bottom: 2px; }
.diary-content { font-size: 9px; color: #666; line-height: 1.5; }
.diary-actions { margin-top: 4px; font-size: 9px; color: #bbb; }

/* ── Calendar ── */
.cal-body { background: #fff; }
.cal-month { text-align: center; font-size: 11px; font-weight: 700; padding: 8px 0 4px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.cal-month .arrow { color: #bbb; }
.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); margin: 0 6px; }
.cal-dow { text-align: center; font-size: 7px; color: #aaa; padding: 3px 0; font-weight: 600; }
.cal-dow.sun { color: #e57373; }
.cal-dow.sat { color: #64b5f6; }
.cal-day { text-align: center; padding: 2px 0; font-size: 8px; color: #555; min-height: 30px; display: flex; flex-direction: column; align-items: center; }
.cal-day.dim { color: #ccc; }
.cal-day.selected .day-num { background: #1a1a2e; color: #fff; border-radius: 50%; width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 8px; }
.cal-day .stamp { font-size: 9px; line-height: 1; margin-top: 1px; }
.cal-day .dot { width: 3px; height: 3px; border-radius: 50%; background: #1a1a2e; margin-top: 1px; }
.cal-datebar { display: flex; align-items: center; padding: 6px 12px; gap: 6px; }
.cal-datebar .date { font-size: 12px; font-weight: 700; }
.cal-datebar .count { background: #1a1a2e; color: #fff; font-size: 8px; padding: 1px 7px; border-radius: 8px; font-weight: 700; }
.cal-event { margin: 0 12px 5px; padding: 6px 8px; background: #f9f9f9; border-radius: 8px; border-left: 3px solid #4CAF50; }
.cal-event .ev-title { font-size: 9px; font-weight: 700; }
.cal-event .ev-time { font-size: 8px; color: #aaa; }

/* ── Rooms ── */
.rooms-body { padding: 8px 12px; background: #f7f7f7; }
.room-card { background: #fff; border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.room-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.room-info { flex: 1; min-width: 0; }
.room-name-row { display: flex; align-items: center; gap: 5px; }
.room-name { font-size: 11px; font-weight: 700; }
.room-type { font-size: 7px; font-weight: 600; padding: 1px 5px; border-radius: 4px; white-space: nowrap; }
.room-desc { font-size: 9px; color: #999; margin-top: 1px; }
.room-drag { color: #ccc; font-size: 14px; }
.room-fab { position: absolute; bottom: 8px; right: 12px; background: #1a1a2e; color: #fff; border-radius: 12px; padding: 8px 14px; font-size: 9px; font-weight: 600; display: flex; align-items: center; gap: 4px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }

/* ── Divider ── */
.section-divider {
  height: 1px; max-width: 80px; margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--accent-soft), transparent);
}

/* ── Social Proof / Stats ── */
.stats-strip {
  display: flex; justify-content: center; gap: 64px;
  padding: 80px 28px; background: var(--card);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 2.4rem; font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #a855f7);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: .82rem; color: var(--text-sub); margin-top: 4px; }

/* ── CTA ── */
.cta {
  text-align: center; padding: 140px 28px; position: relative; overflow: hidden;
  background: var(--grad-hero);
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-mesh); opacity: .5; pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-lead {
  font-size: 2rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4;
}
.cta-sub { font-size: .92rem; color: var(--text-sub); margin-bottom: 44px; }
.badges { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; align-items: center; }
.badges a {
  display: flex; align-items: center;
  transition: all .3s cubic-bezier(.16,1,.3,1);
}
.badges a:hover { transform: translateY(-3px); }
.badge-as img { height: 48px; }
.badge-gp img { height: 62.5px; margin: -7px 0; }

/* ── Contact ── */
.contact {
  padding: 140px 28px; overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, #f5f3ff 100%);
}
.contact-inner { max-width: 520px; margin: 0 auto; text-align: center; }
.contact-title { font-size: 1.8rem; font-weight: 700; margin: 14px 0 10px; }
.contact-sub { font-size: .9rem; color: var(--text-sub); margin-bottom: 40px; }
.contact-form { text-align: left; }
.form-group { margin-bottom: 16px; }
.form-input {
  width: 100%; padding: 15px 18px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .9rem; color: var(--text);
  background: var(--card); transition: all .3s; outline: none; resize: vertical;
}
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
.form-input::placeholder { color: #bbb; }
.form-btn {
  width: 100%; padding: 15px; border: none; border-radius: var(--radius-sm);
  cursor: pointer; background: var(--text); color: #fff;
  font-family: inherit; font-size: .9rem; font-weight: 600;
  transition: all .3s cubic-bezier(.16,1,.3,1); letter-spacing: .04em;
  position: relative; overflow: hidden;
}
.form-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent), #a855f7);
  opacity: 0; transition: opacity .3s;
}
.form-btn:hover::before { opacity: 1; }
.form-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.form-btn span { position: relative; z-index: 1; }
.form-btn:disabled { opacity: .5; cursor: not-allowed; }
.form-status { text-align: center; margin-top: 12px; font-size: .85rem; color: var(--accent); }

/* ── Footer ── */
footer {
  padding: 56px 32px 40px; text-align: center;
  font-size: .8rem; color: var(--text-sub);
  background: var(--card); border-top: 1px solid var(--border);
}
.footer-brand {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-bottom: 8px;
  font-size: .95rem; font-weight: 700; color: var(--text);
}
.footer-logo { width: 24px; height: 24px; border-radius: 6px; }
.footer-desc { font-size: .82rem; color: var(--text-sub); margin-bottom: 28px; }
footer nav {
  margin-bottom: 20px; display: flex; gap: 28px;
  justify-content: center; flex-wrap: wrap;
}
footer nav a {
  color: var(--text-sub); transition: color .3s; font-size: .8rem;
}
footer nav a:hover { color: var(--accent); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .reveal-left { transform: translateX(-30px); }
  .reveal-right { transform: translateX(30px); }
  .hero { min-height: 100svh; }
  .hero h1 { font-size: 2.6rem; }
  .hero-logo { width: 100px; height: 100px; border-radius: 28px; }
  .hero .tagline { font-size: .95rem; }
  .hero-cta { padding: 14px 36px; font-size: .85rem; }
  .hero-orb-1 { width: 280px; height: 280px; }
  .hero-orb-2 { width: 200px; height: 200px; }
  .hero-orb-3 { width: 140px; height: 140px; }
  .hero-orb-4 { width: 100px; height: 100px; }
  .section { padding: 100px 20px; }
  .section-header { margin-bottom: 64px; }
  .section-title { font-size: 1.6rem; }
  .feature-row, .feature-row.reverse { flex-direction: column; gap: 48px; }
  .feature-text { text-align: center; }
  .feature-text h3 { font-size: 1.4rem; }
  .feature-points { align-items: center; }
  .stamp-gallery { justify-content: center; }
  .phone { width: 250px; height: 510px; }
  .stats-strip { flex-direction: column; gap: 32px; padding: 60px 20px; }
  .stat-num { font-size: 2rem; }
  .cta { padding: 100px 20px; }
  .cta-lead { font-size: 1.5rem; }
  .badge-as img { height: 40px; }
  .badge-gp img { height: 52px; margin: -6px 0; }
  .header-nav { gap: 16px; }
  footer nav { gap: 16px; }
}
