/* ============================================
   Ukimaru Monitor — Landing Page Styles
   やさしい・安心・清潔感・少し未来感
   ============================================ */

*,*::before,*::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-primary: #FDFBF7;
  --bg-secondary: #F7F3ED;
  --pink: #E8C4C4;
  --pink-light: #F5E6E6;
  --apricot: #F5D5C8;
  --apricot-light: #FBE9E0;
  --sage: #B5C9B3;
  --sage-light: #D9E8D7;
  --blue: #BDD7E7;
  --blue-light: #DDE9F2;
  --text-primary: #3D3D3D;
  --text-secondary: #6B6B6B;
  --text-light: #9A9A9A;
  --white: #FFFFFF;
  --border: rgba(0,0,0,0.06);
  --section-padding: 120px 0;
  --container-width: 1100px;
  --container-padding: 0 24px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.08);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1,h2,h3,h4 {
  font-family: 'Zen Maru Gothic','Noto Sans JP',sans-serif;
  font-weight: 700;
  line-height: 1.4;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
}

.section-title { font-size: 1.75rem; margin-bottom: 16px; }

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 60px;
}

.container { max-width: var(--container-width); margin: 0 auto; padding: var(--container-padding); }
section { padding: var(--section-padding); position: relative; }
.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-family: 'Zen Maru Gothic',sans-serif;
  font-size: 1rem; font-weight: 700;
  cursor: pointer; border: none;
  transition: var(--transition);
  text-decoration: none; line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--apricot));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(232,196,196,0.4);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(232,196,196,0.5); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--white);
  color: var(--text-primary);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover { border-color: var(--pink); background: var(--pink-light); transform: translateY(-2px); }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 16px 0;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(253,251,247,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.header-inner { display: flex; align-items: center; justify-content: space-between; }

.logo {
  font-family: 'Zen Maru Gothic',sans-serif;
  font-size: 1.25rem; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}

.logo-img {
  width: 36px; height: 36px;
  border-radius: 10px;
  object-fit: contain;
}

.header-cta .btn { padding: 10px 24px; font-size: 0.875rem; }

/* Hero */
.hero {
  padding: 160px 0 100px;
  position: relative; overflow: hidden;
  min-height: 90vh; display: flex; align-items: center;
}

.hero::before {
  content: ''; position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,196,196,0.15) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}

.hero::after {
  content: ''; position: absolute;
  bottom: -100px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(181,201,179,0.12) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--sage-light); color: #5E7D5C;
  padding: 6px 16px; border-radius: var(--radius-pill);
  font-size: 0.8rem; font-weight: 600; margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  background: #5E7D5C; border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot { 0%,100% { opacity:1; } 50% { opacity:0.4; } }

.hero h1 {
  font-size: 2.75rem; line-height: 1.35;
  margin-bottom: 20px; letter-spacing: -0.02em;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--pink), var(--apricot));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.05rem; color: var(--text-secondary);
  margin-bottom: 36px; line-height: 1.9;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; z-index: 1; }

.hero-image-wrapper {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img { width: 100%; height: auto; }

.hero-float-card {
  position: absolute; background: var(--white);
  border-radius: var(--radius-md); padding: 14px 20px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; font-weight: 600;
  animation: float 4s ease-in-out infinite; z-index: 2;
}

.hero-float-card.card-1 { top: 10%; right: -20px; }
.hero-float-card.card-2 { bottom: 15%; left: -20px; animation-delay: 2s; }

.float-card-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.float-card-icon.pink { background: var(--pink-light); }
.float-card-icon.green { background: var(--sage-light); }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Trust */
.trust { background: var(--bg-secondary); }
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }

.trust-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 40px 32px; text-align: center;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  border: 1px solid var(--border);
}

.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.trust-icon {
  width: 64px; height: 64px; border-radius: 16px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}

.trust-icon.pink { background: var(--pink-light); }
.trust-icon.apricot { background: var(--apricot-light); }
.trust-icon.sage { background: var(--sage-light); }
.trust-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.trust-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* Scenes */
.scenes-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

.scene-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 36px 24px; text-align: center;
  border: 1px solid var(--border); transition: var(--transition);
}

.scene-card:hover { border-color: var(--pink); box-shadow: var(--shadow-sm); }
.scene-emoji { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.scene-card h3 { font-size: 1rem; margin-bottom: 8px; }
.scene-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

/* Mockup — App Screen Showcase */
.mockup { background: var(--bg-secondary); overflow: hidden; }

.app-screens-showcase {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.app-screens-main {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  justify-items: center;
}

.app-screens-sub {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  justify-items: center;
  max-width: 700px;
  margin: 0 auto;
}

.app-screen-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 320px;
  width: 100%;
}

.app-screen-card.small {
  max-width: 260px;
}

.app-screen-frame {
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #2D2D2D;
  position: relative;
}

.app-screen-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 20px;
  background: #2D2D2D;
  border-radius: 0 0 12px 12px;
  z-index: 2;
}

.app-screen-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.mockup-label {
  text-align: center; margin-top: 16px;
  font-size: 0.85rem; color: var(--text-secondary); font-weight: 500;
}

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.feature-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 32px 28px; border: 1px solid var(--border);
  transition: var(--transition);
}

.feature-card:hover { border-color: var(--pink); box-shadow: var(--shadow-sm); transform: translateY(-2px); }

.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}

.feature-icon.pink { background: var(--pink-light); }
.feature-icon.apricot { background: var(--apricot-light); }
.feature-icon.sage { background: var(--sage-light); }
.feature-icon.blue { background: var(--blue-light); }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; }

/* Steps */
.steps { background: var(--bg-secondary); }

.steps-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 20px; position: relative;
}

.steps-grid::before {
  content: ''; position: absolute;
  top: 40px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--apricot), var(--sage), var(--blue));
  z-index: 0;
}

.step-card { text-align: center; position: relative; z-index: 1; }

.step-number {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Zen Maru Gothic',sans-serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--white); box-shadow: var(--shadow-md);
}

.step-card:nth-child(1) .step-number { background: linear-gradient(135deg, var(--pink), #D4A9A9); }
.step-card:nth-child(2) .step-number { background: linear-gradient(135deg, var(--apricot), #E0B5A0); }
.step-card:nth-child(3) .step-number { background: linear-gradient(135deg, var(--sage), #96B094); }
.step-card:nth-child(4) .step-number { background: linear-gradient(135deg, var(--blue), #9DC3D9); }
.step-card h3 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  background: var(--white); border-radius: var(--radius-md);
  margin-bottom: 16px; border: 1px solid var(--border);
  overflow: hidden; transition: var(--transition);
}

.faq-item:hover { border-color: var(--pink); }

.faq-question {
  width: 100%; padding: 24px 28px;
  background: none; border: none;
  font-family: 'Zen Maru Gothic',sans-serif;
  font-size: 1rem; font-weight: 600;
  color: var(--text-primary); cursor: pointer;
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  text-align: left; line-height: 1.6;
}

.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-secondary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: var(--transition);
  font-size: 14px; color: var(--text-secondary);
}

.faq-item.active .faq-icon {
  background: var(--pink); color: var(--white);
  transform: rotate(45deg);
}

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }

.faq-answer-inner {
  padding: 0 28px 24px;
  font-size: 0.9rem; color: var(--text-secondary);
  line-height: 1.8;
}

.faq-item.active .faq-answer { max-height: 500px; }

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--apricot-light) 50%, var(--blue-light) 100%);
  text-align: center; position: relative; overflow: hidden;
}

.cta-section::before {
  content: ''; position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content { position: relative; z-index: 1; }
.cta-section h2 { font-size: 2rem; margin-bottom: 16px; }

.cta-section .cta-description {
  font-size: 1rem; color: var(--text-secondary);
  margin-bottom: 36px; max-width: 520px;
  margin-left: auto; margin-right: auto; line-height: 1.8;
}

.cta-section .btn-primary { font-size: 1.1rem; padding: 18px 48px; }
.cta-note { margin-top: 16px; font-size: 0.8rem; color: var(--text-light); }

/* Footer */
.site-footer {
  padding: 40px 0; text-align: center;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.footer-logo {
  font-family: 'Zen Maru Gothic',sans-serif;
  font-size: 1rem; font-weight: 700;
  color: var(--text-secondary); margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

.footer-logo-img {
  width: 24px; height: 24px;
  border-radius: 6px;
  object-fit: contain;
}

.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; }
.footer-links a { font-size: 0.8rem; color: var(--text-light); transition: var(--transition); }
.footer-links a:hover { color: var(--text-primary); }
.footer-copy { font-size: 0.75rem; color: var(--text-light); }

/* Animations */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.35s; }

/* Responsive */
@media (max-width: 1024px) {
  :root { --section-padding: 80px 0; }
  .hero { padding: 140px 0 80px; min-height: auto; }
  .hero h1 { font-size: 2.25rem; }
  .scenes-grid { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .steps-grid::before { display: none; }
  .steps-grid { grid-template-columns: repeat(2,1fr); gap: 28px; }
}

@media (max-width: 768px) {
  :root { --section-padding: 64px 0; --container-padding: 0 20px; }
  .section-title { font-size: 1.5rem; }
  .hero { padding: 120px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 1.85rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-visual { order: -1; }
  .hero-float-card { display: none; }
  .trust-grid { grid-template-columns: 1fr; gap: 16px; }
  .trust-card { padding: 28px 24px; }
  .scenes-grid { grid-template-columns: 1fr; gap: 12px; }
  .scene-card { display: flex; align-items: center; text-align: left; gap: 16px; padding: 20px 24px; }
  .scene-emoji { font-size: 2rem; margin-bottom: 0; flex-shrink: 0; }
  .mockup-grid { grid-template-columns: 1fr; gap: 40px; }
  .app-screens-main { grid-template-columns: 1fr; gap: 28px; }
  .app-screens-sub { grid-template-columns: 1fr; gap: 24px; }
  .app-screen-card, .app-screen-card.small { max-width: 280px; margin: 0 auto; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { display: flex; gap: 16px; align-items: flex-start; padding: 24px; }
  .feature-icon { margin-bottom: 0; flex-shrink: 0; }
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .step-card { display: flex; align-items: center; text-align: left; gap: 20px; }
  .step-number { width: 56px; height: 56px; font-size: 1.1rem; margin: 0; flex-shrink: 0; }
  .cta-section h2 { font-size: 1.5rem; }
  .header-cta { display: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .section-title { font-size: 1.3rem; }
  .btn { padding: 14px 28px; font-size: 0.9rem; }
}
