﻿:root {
  --blue-deep: #2959a8;
  --blue-sky: #00a0e2;
  --blue-dark: #0d2040;
  --blue-mid: #1a3a6e;
  --grad: linear-gradient(135deg, #2959a8 0%, #00a0e2 100%);
  --grad-r: linear-gradient(135deg, #00a0e2 0%, #2959a8 100%);
  --white: #ffffff;
  --gray-100: #f5f7fa;
  --gray-200: #e8edf5;
  --gray-500: #1f252d;
  --gray-800: #2d3748;
  --text: #1a2636;
  --shadow: 0 20px 60px rgba(41, 89, 168, 0.15);
  --shadow-sm: 0 4px 20px rgba(41, 89, 168, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-size: 18px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ========================
   HEADER / NAV
======================== */
.nav {
  font-size: 16px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
}

.nav.scrolled {
  background: rgba(13, 32, 64, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 40px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo svg {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--blue-sky);
}

.nav-cta {
  background: var(--grad);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 160, 226, 0.4);
}

/* ========================
   HERO / FIRST VIEW
======================== */
.hero {
  min-height: 100vh;
  background: var(--blue-dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-bottom: 160px;
  box-sizing: border-box;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(ellipse at 70% 50%, rgba(0, 160, 226, 0.2) 0%, transparent 70%),
    radial-gradient(ellipse at 20% 80%, rgba(41, 89, 168, 0.3) 0%, transparent 60%),
    linear-gradient(180deg, rgba(13, 31, 58, 0.4) 0%, rgba(10, 22, 40, 0.5) 100%),
    url('../img/smoozee/back.jpg');
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 160, 226, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 160, 226, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Background watermark logo */
.hero-bg-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -80%);
  width: 140%;
  /* Made wider to stretch past container optionally */
  max-width: 1800px;
  /* Increased max boundary drastically */
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  animation: bgLogoFadeInDown 1.5s ease-out 0.2s forwards;
}

.hero-bg-logo img {
  width: 100%;
  height: auto;
  opacity: 0.02;
  /* 透過効极E*/
}

@keyframes bgLogoFadeInDown {
  0% {
    opacity: 0;
    transform: translate(-50%, -80%);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* ── Hero inner: 2-column grid ── */
.hero-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px 40px;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 60px;
  align-items: flex-start;
  transform: translateX(60px);
}

/* ── Right: text ── */
.hero-content {
  position: relative;
  z-index: 10;
  order: 2;
}

/* ── Left: phone visual ── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  order: 1;
}


/* Phone image wrapper with bezel styling */
.hero-phone-wrap {
  position: relative;
  width: 280px;
  background: #1a1a1a;
  border-radius: 32px;
  padding: 5px;
  /* Smartphone Bezel Edge */
  border: 2px solid #555;
  /* Metallic outer rim */
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), inset 0 0 0 1px #000;
  animation: float 4s ease-in-out infinite;
  box-sizing: border-box;
}

.hero-phone-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  background: white;
  position: relative;
  z-index: 1;
}

/* Wrapper to isolate percentage coordinates for overlays from bezel padding */
.hero-screen {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  display: block;
}

/* Smartphone Notch */
.hero-phone-wrap::after {
  display: none;
}

/* Glowing background glow behind phone */
.hero-phone-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at center, rgba(0, 160, 226, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

/* ── Blink Effects Overlays ── */
/* 1. Light blue line blink over XYZ Hotel team */
.blink-blue-line {
  position: absolute;
  top: 27.3%;
  left: 7.6%;
  right: 6.8%;
  height: 20px;
  border-top: 4px solid #18b5e2;
  border-radius: 12px;
  z-index: 20;
  animation: blink-blue 1.5s infinite;
  pointer-events: none;
}

@keyframes blink-blue {

  0%,
  100% {
    border-top-color: rgba(24, 181, 226, 1);
    box-shadow: 0 -8px 16px rgba(24, 181, 226, 0);
  }

  50% {
    border-top-color: rgba(24, 181, 226, 0.2);
    box-shadow: 0 -8px 16px rgba(24, 181, 226, 0.6);
  }
}

/* 2. Orange rectangular bottom frame blink */
.blink-orange-mic {
  position: absolute;
  top: 80.8%;
  left: 5.5%;
  right: 5.5%;
  height: 9%;
  border-radius: 20px;
  z-index: 20;
  box-shadow: 0 0 0 0 rgba(239, 130, 0, 0.6);
  animation: blink-orange-box 1.5s infinite;
  pointer-events: none;
}

@keyframes blink-orange-box {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 130, 0, 0.8);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(239, 130, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(239, 130, 0, 0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* ── Decorative rings around the phone ── */
.hero-rings-deco {
  position: absolute;
  inset: -60px;
  z-index: -1;
  pointer-events: none;
}

.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 160, 226, 0.12);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ring-pulse 6s ease-in-out infinite;
}

.deco-ring:nth-child(1) {
  width: 320px;
  height: 320px;
  border-color: rgba(0, 160, 226, 0.22);
  animation-delay: 0s
}

.deco-ring:nth-child(2) {
  width: 450px;
  height: 450px;
  animation-delay: -1.5s
}

.deco-ring:nth-child(3) {
  width: 580px;
  height: 580px;
  animation-delay: -3s
}

@keyframes ring-pulse {

  0%,
  100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1)
  }

  50% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.02)
  }
}

/* Responsive overrides for hero */
@media (max-width: 1024px) {
  .hero-inner {
    gap: 40px;
  }

  .hero-phone-wrap {
    width: 240px;
  }

}

@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
    align-items: flex-start;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 100px 20px 60px;
    gap: 48px;
  }


  .hero-visual {
    order: 2;
  }

  .hero-content {
    order: 1;
  }

  .hero-phone-wrap {
    width: 220px;
  }

  .mic-ring:nth-child(1) {
    width: 52px;
    height: 52px
  }

  .mic-ring:nth-child(2) {
    width: 76px;
    height: 76px
  }

  .mic-ring:nth-child(3) {
    width: 100px;
    height: 100px
  }

  .mic-disc {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 480px) {
  .hero-inner {
    padding: 90px 16px 48px;
    gap: 36px;
  }

  .hero-phone-wrap {
    width: 190px;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  animation: blink 1.5s ease infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.3
  }
}

.hero h1 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  color: white;
  line-height: 1.2;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.hero h1 .accent-wrap {
  display: inline-block;
  background: transparent;
  line-height: 1.2;
}

.hero h1 .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 120%;
  white-space: nowrap;
}

.hero-dl-badge {
  display: inline-block;
  background: var(--grad);
  color: white;
  font-size: clamp(12px, 2vw, 16px);
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 0;
  vertical-align: middle;
  margin-left: 6px;
  letter-spacing: 0.05em;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 160, 226, 0.4);
  transform: translateY(-4px); /* Optical vertical centering adjustment */
}


/* h1 word-break: keep words together in Japanese */
.hero h1 {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.hero-subtitle {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease 0.9s forwards;
  opacity: 0;
  letter-spacing: 0.05em;
}

.hero p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 650px;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 1.2s forwards;
  opacity: 0;
  font-weight: 600;
}

.hero-btns {
  display: flex;
  gap: 16px;
  animation: fadeInUp 0.8s ease 1.5s forwards;
  opacity: 0;
}

.btn-primary {
  background: var(--grad);
  color: white;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  box-shadow: 0 8px 30px rgba(0, 160, 226, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 160, 226, 0.5);
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 500;
  font-family: 'Noto Sans JP', sans-serif;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 600px) {
  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .btn-primary,
  .hero-btns .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  animation: fadeInUp 0.8s ease 1.8s forwards;
  opacity: 0;
  justify-content: flex-start;
  text-align: left;
}

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

.stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: white;
  line-height: 1;
}

.stat-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 4px;
  font-weight: 300;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  letter-spacing: 0.2em;
  animation: fadeInUp 1.5s ease 4.0s forwards;
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.scroll-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--blue-sky);
  animation: scroll-anim 2s ease-in-out infinite;
}

@keyframes scroll-anim {
  0% {
    transform-origin: top;
    transform: scaleY(0);
  }
  45% {
    transform-origin: top;
    transform: scaleY(1);
  }
  55% {
    transform-origin: bottom;
    transform: scaleY(1);
  }
  100% {
    transform-origin: bottom;
    transform: scaleY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================
   SECTION COMMONS
======================== */
section {
  padding: 100px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue-sky);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--grad);
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text);
  line-height: 1.9;
  font-weight: 500;
  max-width: 600px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.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;
}

/* ========================
   PROBLEM SECTION
======================== */
.problem-section {
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}

.problem-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.problem-card {
  background: white;
  border-radius: 20px;
  padding: 36px 32px;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 160, 226, 0.2);
}

.problem-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.problem-card:hover::after {
  transform: scaleX(1);
}

.problem-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  display: block;
  background-color: var(--gray-100);
}

.problem-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.5;
}

.problem-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.8;
  font-weight: 300;
}

.problem-bottom {
  margin-top: 60px;
  text-align: center;
}

.problem-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-500);
  font-size: 14px;
}

.arrow-icon {
  width: 48px;
  height: 48px;
  background: var(--grad);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  animation: bounce 2s ease infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(6px)
  }
}

/* ========================
   ABOUT SECTION
======================== */
.about-section {
  background: var(--blue-dark);
  position: relative;
  overflow: hidden;
}

.about-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(0, 160, 226, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(41, 89, 168, 0.15) 0%, transparent 40%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-text .section-title {
  color: white;
}

.about-text .section-sub {
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.about-tag {
  background: rgba(0, 160, 226, 0.15);
  border: 1px solid rgba(0, 160, 226, 0.3);
  color: var(--blue-sky);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.about-visual {
  position: relative;
}

/* App mockup illustration */
.app-mockup {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 24px;
  backdrop-filter: blur(20px);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}

.mockup-room-name {
  color: white;
  font-weight: 700;
  font-size: 18px;
}

.mockup-room-sub {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.mockup-status {
  margin-left: auto;
  background: rgba(0, 210, 120, 0.2);
  border: 1px solid rgba(0, 210, 120, 0.4);
  color: #00d278;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}

.chat-bubbles {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bubble {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.bubble.right {
  flex-direction: row-reverse;
}

.bubble-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.bubble-av.a {
  background: rgba(0, 160, 226, 0.3);
}

.bubble-av.b {
  background: rgba(255, 160, 0, 0.3);
}

.bubble-av.c {
  background: rgba(100, 200, 100, 0.3);
}

.bubble-msg {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1.6;
  max-width: 240px;
}

.bubble.right .bubble-msg {
  background: linear-gradient(135deg, rgba(41, 89, 168, 0.6), rgba(0, 160, 226, 0.4));
}

.voice-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  padding: 10px 16px;
  background: rgba(0, 160, 226, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(0, 160, 226, 0.2);
}

.voice-wave {
  display: flex;
  align-items: center;
  gap: 2px;
}

.wave-bar {
  width: 3px;
  background: var(--blue-sky);
  border-radius: 2px;
  animation: wave 0.8s ease infinite;
}

.wave-bar:nth-child(1) {
  height: 6px;
  animation-delay: 0s
}

.wave-bar:nth-child(2) {
  height: 14px;
  animation-delay: 0.1s
}

.wave-bar:nth-child(3) {
  height: 20px;
  animation-delay: 0.2s
}

.wave-bar:nth-child(4) {
  height: 12px;
  animation-delay: 0.3s
}

.wave-bar:nth-child(5) {
  height: 8px;
  animation-delay: 0.4s
}

.wave-bar:nth-child(6) {
  height: 16px;
  animation-delay: 0.1s
}

.wave-bar:nth-child(7) {
  height: 10px;
  animation-delay: 0.3s
}

@keyframes wave {

  0%,
  100% {
    transform: scaleY(0.5)
  }

  50% {
    transform: scaleY(1)
  }
}

.voice-text {
  color: var(--blue-sky);
  font-size: 12px;
  font-weight: 600;
  margin-left: 8px;
}

/* ========================
   FEATURES SECTION
======================== */
.features-section {
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
  margin-top: 60px;
}

/* PC等での上段3列�E下段4列�Eレイアウト指宁E*/
.features-grid > .feature-card:nth-child(1),
.features-grid > .feature-card:nth-child(2),
.features-grid > .feature-card:nth-child(3) {
  grid-column: span 4;
}

.features-grid > .feature-card:nth-child(4),
.features-grid > .feature-card:nth-child(5),
.features-grid > .feature-card:nth-child(6),
.features-grid > .feature-card:nth-child(7) {
  grid-column: span 3;
}

/* SP・タブレチE��表示の調整例（適宜ブレイクポイントで上書き！E*/
@media (max-width: 1024px) {
  .features-grid > .feature-card {
    grid-column: span 6 !important;
  }
}

@media (max-width: 640px) {
  .features-grid > .feature-card {
    grid-column: span 12 !important;
  }
}

.feature-card {
  border-radius: 24px;
  padding: 40px 32px;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
  background: white;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.feature-card.featured {
  background: var(--gray-100);
  border-color: transparent;
  grid-column: span 1;
}

.feature-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 24px;
}

.feature-card:not(.featured) .feature-card-icon {
  background: linear-gradient(135deg, rgba(41, 89, 168, 0.08), rgba(0, 160, 226, 0.08));
}

.feature-card.featured .feature-card-icon {
  background: rgba(0, 160, 226, 0.2);
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
  line-height: 1.4;
}

.feature-card.featured h3 {
  color: white;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--gray-500);
  font-weight: 300;
}

.feature-card.featured p {
  color: rgba(255, 255, 255, 0.6);
}

.feature-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--grad);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Admin Features within Features Section */
.admin-features-wrapper {
  margin-top: 100px;
}

.admin-feature-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 60px;
}

.admin-feature-row>div {
  flex: 1;
  min-width: 300px;
}

.admin-feature-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: block;
}

.admin-feature-row h4 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.admin-feature-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: var(--blue-sky);
  margin-bottom: 20px;
}

.admin-feature-row p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.9;
  font-weight: 500;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .admin-feature-row {
    flex-direction: column !important;
    gap: 32px;
  }
}

/* Laptop Mockup Wrapper */
.laptop-mockup {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.laptop-screen {
  background: var(--gray-800);
  border-radius: 12px 12px 0 0;
  padding: 12px 12px 16px;
  position: relative;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid #3a4759;
  border-bottom: none;
}

.laptop-screen::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: #252d38;
  border-radius: 50%;
}

.laptop-screen img {
  width: 100%;
  border-radius: 4px;
  display: block;
  background: white;
}

.laptop-base {
  width: 116%;
  height: 16px;
  background: #aab5c2;
  border-radius: 0 0 16px 16px;
  position: relative;
  left: -8%;
  box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.2), 0 20px 40px rgba(41, 89, 168, 0.15);
}

.laptop-base::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16%;
  height: 6px;
  background: #d4dbe3;
  border-radius: 0 0 6px 6px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ========================
   MERIT SECTION
======================== */
.merit-section {
  background: var(--gray-100);
  position: relative;
}

.merit-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 60px;
}

.merit-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 32px;
  background: white;
  border-radius: 20px;
  padding: 36px 40px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
}

.merit-item:hover {
  box-shadow: var(--shadow);
  border-color: rgba(0, 160, 226, 0.2);
  transform: translateX(6px);
}

.merit-num {
  font-family: 'Sora', sans-serif;
  font-size: 48px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.merit-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.merit-content p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.8;
  font-weight: 300;
}

.merit-illustration {
  width: 100px;
  text-align: center;
  font-size: 48px;
  opacity: 0.7;
}

/* ========================
   USE CASES
======================== */
.usecase-section {
  background: white;
}

.usecase-tabs-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 40px;
  padding-bottom: 12px;
}

.usecase-tabs-wrapper::-webkit-scrollbar {
  height: 6px;
}

.usecase-tabs-wrapper::-webkit-scrollbar-track {
  background: var(--gray-200);
  border-radius: 4px;
}

.usecase-tabs-wrapper::-webkit-scrollbar-thumb {
  background: var(--blue-sky);
  border-radius: 4px;
}

.usecase-tabs {
  display: flex;
  gap: 12px;
  margin-top: 48px;
  flex-wrap: nowrap;
  width: max-content;
}


.usecase-tab {
  padding: 10px 24px;
  border-radius: 25px;
  border: 1.5px solid var(--gray-200);
  font-size: 14px;
  font-weight: 600;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--gray-500);
  background: white;
  white-space: nowrap;
  flex-shrink: 0;
}

.usecase-tab.active {
  background: var(--grad);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 16px rgba(0, 160, 226, 0.3);
}

.usecase-tab.active svg {
  stroke: white !important;
}

.usecase-tab:hover:not(.active) {
  border-color: var(--blue-sky);
  color: var(--blue-sky);
}

.usecase-panel {
  display: none;
}

.usecase-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.usecase-text h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
}

.usecase-text p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.9;
  font-weight: 500;
  margin-bottom: 28px;
}

.usecase-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.usecase-point {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.6;
}

.usecase-point::before {
  content: '☁E;
  color: var(--blue-sky);
  font-size: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -2px;
}

.usecase-visual {
  background: var(--gray-100);
  border-radius: 28px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  position: relative;
  overflow: visible;
}

.scene-illustration {
  text-align: center;
}

.scene-icon {
  font-size: 80px;
  display: block;
  margin-bottom: 16px;
}

.scene-label {
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 500;
}

.people-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}

.person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.person-av {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  position: relative;
}

.person-av.speaking::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--blue-sky);
  animation: speaking-ring 1s ease infinite;
}

@keyframes speaking-ring {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: 0.5;
    transform: scale(1.1)
  }
}

.person-name {
  font-size: 11px;
  color: var(--gray-500);
}

.connect-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ========================
   FLOW SECTION
======================== */
.flow-section {
  background: var(--blue-dark);
  position: relative;
  overflow: hidden;
}

.flow-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 160, 226, 0.08) 0%, transparent 70%);
}

.flow-steps {
  display: flex;
  gap: 0;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.flow-step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.flow-step:not(:last-child)::after {
  content: 'ↁE;
  position: absolute;
  right: -12px;
  top: 40px;
  font-size: 24px;
  color: rgba(0, 160, 226, 0.5);
  transform: translateY(-50%);
}

.flow-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: white;
  margin: 0 auto 20px;
  box-shadow: 0 8px 30px rgba(0, 160, 226, 0.4);
}

.flow-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.flow-step p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  font-weight: 300;
  text-align: left;
}

.flow-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

/* ========================
   FAQ SECTION
======================== */
.faq-section {
  background: var(--gray-100);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-q {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  user-select: none;
}

.faq-q-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grad);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.faq-q-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  flex: 1;
  line-height: 1.5;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: var(--gray-500);
  font-size: 20px;
}

.faq-item.open .faq-toggle {
  background: var(--grad);
  border-color: transparent;
  color: white;
  transform: rotate(45deg);
}

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

.faq-a-inner {
  padding: 0 28px 24px 76px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.9;
  font-weight: 500;
}

.faq-item.open .faq-a {
  max-height: 600px;
}

/* ========================
   CONTACT SECTION
======================== */
.contact-section {
  background: var(--blue-dark);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(0, 160, 226, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(41, 89, 168, 0.2) 0%, transparent 50%);
}

.contact-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.contact-inner .section-label {
  justify-content: center;
}

.contact-inner .section-title {
  color: white;
  text-align: center;
}

.contact-inner .section-sub {
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin: 0 auto 48px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 48px;
  backdrop-filter: blur(20px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group label .req {
  color: var(--blue-sky);
  margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 14px 18px;
  color: white;
  font-size: 14px;
  font-family: 'Noto Sans JP', sans-serif;
  transition: all 0.3s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-sky);
  background: rgba(0, 160, 226, 0.1);
}

.form-group select option {
  background: var(--blue-dark);
  color: white;
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  background: var(--grad);
  color: white;
  border: none;
  padding: 18px;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 8px;
  box-shadow: 0 8px 30px rgba(0, 160, 226, 0.3);
}

.form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 160, 226, 0.4);
}

.contact-alt {
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

.contact-alt a {
  color: var(--blue-sky);
  text-decoration: none;
}

.contact-alt a:hover {
  text-decoration: underline;
}

/* ========================
   FOOTER
======================== */
.footer {
  font-size: 16px;
  background: #060e1c;
  padding: 60px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  line-height: 1.8;
  font-weight: 300;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  color: white;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--blue-sky);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.25);
  font-size: 12px;
}

/* ========================
   INDUSTRIES BAND
======================== */
.industries-band {
  background: var(--gray-100);
  padding: 32px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}

.industries-track {
  display: flex;
  gap: 0;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}

.industry-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  font-size: 15px;
  color: var(--gray-500);
  font-weight: 500;
  border-right: 1px solid var(--gray-200);
}

.industry-item .ind-icon {
  font-size: 22px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ========================
   HAMBURGER MENU
======================== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 8px;
  transition: all 0.3s;
  flex-shrink: 0;
}

.nav-hamburger:hover {
  background: rgba(255, 255, 255, 0.25);
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-menu {
  font-size: 16px;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-links {
  list-style: none;
  text-align: center;
  width: 100%;
  padding: 0 40px;
}

.mobile-menu-links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu-links a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  padding: 22px 0;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.mobile-menu-links a:hover {
  color: var(--blue-sky);
}

.mobile-menu-cta {
  margin-top: 40px;
  background: var(--grad);
  color: white;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  padding: 16px 48px;
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(0, 160, 226, 0.35);
  display: inline-block;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ========================
   RESPONSIVE  ETABLET (≤1024px)
======================== */
@media (max-width: 1024px) {
  .problem-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  /* hero layout handled in hero CSS */
  .merit-item {
    padding: 28px 28px;
  }

  .flow-steps {
    flex-wrap: wrap;
    gap: 20px;
  }

  .flow-step {
    flex: 1 1 calc(50% - 20px);
    min-width: 200px;
  }

  .flow-step:nth-child(2)::after {
    display: none;
  }

  .flow-step:last-child::after {
    display: none;
  }
}

/* ========================
   RESPONSIVE  EMOBILE (≤768px)
======================== */
@media (max-width: 768px) {

  /* Base */
  section {
    padding: 64px 0;
  }

  .container {
    padding: 0 20px;
  }

  .section-title {
    font-size: clamp(24px, 6vw, 34px);
  }

  .section-sub {
    font-size: 15px;
  }

  /* NAV */
  .nav {
  font-size: 16px;
    padding: 14px 20px;
  }

  .nav.scrolled {
    padding: 12px 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* HERO  Ehandled in hero CSS block above */

  /* INDUSTRIES BAND */
  .industries-band {
    padding: 20px 0;
  }

  .industry-item {
    padding: 0 24px;
    font-size: 13px;
  }

  .industry-item .ind-icon {
    font-size: 20px;
  }

  /* PROBLEM */
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .problem-card {
    padding: 24px 22px;
  }

  .problem-card h3 {
    font-size: 18px;
  }

  .problem-icon {
    width: 48px;
    height: 48px;
    font-size: 22px;
    margin-bottom: 14px;
  }

  /* ABOUT */
  .about-section .section-sub {
    font-size: 14px;
  }

  .about-tags {
    gap: 8px;
  }

  .about-tag {
    font-size: 12px;
    padding: 6px 14px;
  }

  .app-mockup {
    padding: 18px;
  }

  .bubble-msg {
    font-size: 12px;
    max-width: 190px;
  }

  /* FEATURES */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 28px 24px;
  }

  .feature-card h3 {
    font-size: 17px;
  }

  .feature-card-icon {
    width: 52px;
    height: 52px;
    font-size: 24px;
    margin-bottom: 16px;
  }

  /* MERIT */
  .merit-item {
    grid-template-columns: 56px 1fr;
    gap: 20px;
    padding: 24px 20px;
  }

  .merit-illustration {
    display: none;
  }

  .merit-num {
    font-size: 36px;
  }

  .merit-content h3 {
    font-size: 17px;
  }

  .merit-content p {
    font-size: 13px;
  }

  .merit-item:hover {
    transform: none;
  }

  /* USE CASES */
  .usecase-tabs {
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .usecase-tabs::-webkit-scrollbar {
    display: none;
  }

  .usecase-tab {
    white-space: nowrap;
    padding: 8px 18px;
    font-size: 13px;
    flex-shrink: 0;
  }

  .usecase-panel.active {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .usecase-text h3 {
    font-size: 20px;
  }

  .usecase-text p {
    font-size: 14px;
  }

  .usecase-visual {
    min-height: auto;
    padding: 28px 20px;
  }

  .scene-icon {
    font-size: 56px;
  }

  /* FLOW */
  .flow-steps {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .flow-step {
    width: 100%;
    max-width: 360px;
    padding: 0 12px;
  }

  .flow-step::after {
    display: none !important;
  }

  .flow-step:not(:last-child) {
    padding-bottom: 20px;
    position: relative;
  }

  .flow-step:not(:last-child)::before {
    content: 'ↁE;
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    color: rgba(0, 160, 226, 0.5);
    display: block;
  }

  .flow-num {
    width: 64px;
    height: 64px;
    font-size: 22px;
  }

  .flow-icon {
    font-size: 26px;
    margin-bottom: 12px;
  }

  /* Flow stats band */
  .flow-section .reveal>div[style*="inline-flex"] {
    flex-direction: column;
    gap: 20px;
    padding: 28px 24px;
  }

  /* FAQ */
  .faq-q {
    padding: 18px 20px;
    gap: 12px;
  }

  .faq-q-text {
    font-size: 14px;
  }

  .faq-a-inner {
    padding: 0 20px 18px 64px;
    font-size: 13px;
  }

  /* CONTACT */
  .contact-form {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-group label {
    font-size: 12px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 14px;
  }

  .form-submit {
    font-size: 15px;
    padding: 16px;
  }

  .contact-inner .section-title {
    font-size: clamp(24px, 6vw, 34px);
  }

  .contact-inner .section-sub {
    font-size: 14px;
  }

  /* FOOTER */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer {
  font-size: 16px;
    padding: 48px 0 28px;
  }
}

/* ========================
   RESPONSIVE  ESMALL MOBILE (≤480px)
======================== */
@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(26px, 8vw, 38px);
  }

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

  .stat-item {
    padding: 6px 8px;
  }

  .stat-num {
    font-size: 22px;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: clamp(22px, 7vw, 30px);
  }

  .merit-item {
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 20px 16px;
  }

  .merit-num {
    font-size: 28px;
  }

  .flow-step {
    padding: 0 8px;
  }

  .contact-form {
    padding: 24px 16px;
  }

  .faq-a-inner {
    padding: 0 16px 16px 56px;
  }

  .usecase-tab {
    padding: 7px 14px;
    font-size: 12px;
  }
}

/* Flow stats band */
.flow-stats-band {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 28px 48px;
}

.flow-stat {
  text-align: center;
}

.flow-stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 36px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.flow-stat-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin-top: 4px;
}

.flow-stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .flow-stats-band {
    flex-direction: row;
    gap: 0;
    padding: 20px 0;
    width: 100%;
    justify-content: space-around;
  }

  .flow-stat {
    flex: 1;
  }

  .flow-stat-num {
    font-size: 26px;
  }

  .flow-stat-label {
    font-size: 11px;
  }

  .flow-stat-divider {
    height: 40px;
  }
}


.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  pointer-events: none;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--blue-sky);
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: var(--blue-deep);
}

/* ========================
   CHARACTER ILLUSTRATIONS
======================== */
.char-illust-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 0;
  perspective: 1000px;
}

.char-illust-wrap img {
  width: 100%;
  height: auto;
  max-width: 520px;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(41, 89, 168, 0.15);
  transform-origin: center center;
  animation: float-img 6s ease-in-out infinite;
  will-change: transform;
}

@keyframes float-img {

  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 12px 32px rgba(41, 89, 168, 0.15);
  }

  50% {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 24px 48px rgba(41, 89, 168, 0.2);
  }
}

/* ========================
   MODAL / POPUP
======================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh; /* Scrollable if taller than screen */
  overflow-y: auto;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  text-align: left; /* Text left aligned inside confirmation */
}
.modal-overlay.active .modal-content {
  transform: translateY(0);
}
.modal-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 24px;
  color: var(--blue-deep);
  text-align: center;
}
.modal-confirm-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.modal-confirm-item {
  text-align: left;
}
.modal-confirm-item label {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: bold;
  display: block;
  margin-bottom: 4px;
}
.modal-confirm-item p {
  font-size: 18px;
  color: var(--text);
  background: var(--gray-100);
  padding: 12px;
  border-radius: 8px;
  word-break: break-all;
  margin: 0;
}
.modal-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.modal-btn {
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  font-family: 'Noto Sans JP', sans-serif;
}
.btn-back {
  background: var(--gray-200);
  color: var(--text);
}
.btn-back:hover {
  background: #d4dbe3;
}
.btn-submit {
  background: var(--grad);
  color: white;
}
.btn-submit:hover {
  box-shadow: 0 4px 15px rgba(0, 160, 226, 0.4);
  transform: translateY(-2px);
}
.completion-check {
  font-size: 64px;
  color: #00d278;
  text-align: center;
  margin-bottom: 16px;
}
.completion-text {
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* ========================
   BACK TO TOP BUTTON
======================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  overflow: hidden;
  border: 2px solid var(--gray-200);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(41, 89, 168, 0.2);
  border-color: var(--blue-sky);
}

.back-to-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/favicon.ico') no-repeat center center;
  background-size: 60%;
  opacity: 0.15;
  z-index: 1;
}

.back-to-top span {
  position: relative;
  z-index: 2;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--blue-deep);
  letter-spacing: 0.05em;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }
}

/* PC: scroll-indicator を下にずらしてステッティクスとの被りを回避 */
@media (min-width: 769px) {
    .scroll-indicator {
        bottom: -5rem;
    }
}

.back-to-top {
  display: none;
}
