/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'M PLUS Rounded 1c', 'Hiragino Maru Gothic ProN', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  color: var(--navy);
  background: #fff;
  line-height: 1.8;
  overflow-x: hidden;
  font-weight: 500;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== VARIABLES ===== */
:root {
  --coral: #F08575;
  --coral-strong: #EE6F5C;
  --coral-deep: #E25A44;
  --coral-text: #F07A67;
  --navy: #39414F;
  --body-text: #555E6D;
  --gray-text: #9AA1AC;
  --pink-bg: #FBE0D9;
  --pink-panel: #FDEEE9;
  --pink-soft: #FEF6F3;
  --pink-answer: #FBDBD4;
  --pink-border: #F6CFC5;
  --radius: 24px;
  --radius-sm: 12px;
  --shadow: 0 2px 16px rgba(226, 90, 68, .07);
  --shadow-lg: 0 8px 32px rgba(226, 90, 68, .14);
}

/* ===== FLOWER DECORATION ===== */
.flower-bg {
  position: relative;
}
.flower-bg > * { position: relative; z-index: 1; }
.flower-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520' viewBox='0 0 520 520'%3E%3Cg fill='none' stroke='%23F5BFB2' stroke-width='10' opacity='.55'%3E%3Cg transform='translate(120 110)'%3E%3Cellipse rx='26' ry='38' transform='rotate(0) translate(0 -40)'/%3E%3Cellipse rx='26' ry='38' transform='rotate(72) translate(0 -40)'/%3E%3Cellipse rx='26' ry='38' transform='rotate(144) translate(0 -40)'/%3E%3Cellipse rx='26' ry='38' transform='rotate(216) translate(0 -40)'/%3E%3Cellipse rx='26' ry='38' transform='rotate(288) translate(0 -40)'/%3E%3C/g%3E%3Cg transform='translate(400 330) scale(.62)'%3E%3Cellipse rx='26' ry='38' transform='rotate(20) translate(0 -40)'/%3E%3Cellipse rx='26' ry='38' transform='rotate(92) translate(0 -40)'/%3E%3Cellipse rx='26' ry='38' transform='rotate(164) translate(0 -40)'/%3E%3Cellipse rx='26' ry='38' transform='rotate(236) translate(0 -40)'/%3E%3Cellipse rx='26' ry='38' transform='rotate(308) translate(0 -40)'/%3E%3C/g%3E%3Cg transform='translate(250 450) scale(.4)'%3E%3Cellipse rx='26' ry='38' transform='rotate(45) translate(0 -40)'/%3E%3Cellipse rx='26' ry='38' transform='rotate(117) translate(0 -40)'/%3E%3Cellipse rx='26' ry='38' transform='rotate(189) translate(0 -40)'/%3E%3Cellipse rx='26' ry='38' transform='rotate(261) translate(0 -40)'/%3E%3Cellipse rx='26' ry='38' transform='rotate(333) translate(0 -40)'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 520px;
  opacity: .5;
  pointer-events: none;
}

/* ===== UTILITY ===== */
.container {
  max-width: 1184px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  text-align: center;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: .02em;
}

.section-sub {
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 700;
  text-align: center;
  color: var(--coral-text);
  margin-bottom: 48px;
  line-height: 1.9;
}

.store-badges {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.store-badges--center { justify-content: center; }
.store-badge img {
  height: 48px;
  width: auto;
}
.store-badge--small img {
  height: 40px;
}
.store-badge {
  transition: transform .2s;
}
.store-badge:hover { transform: translateY(-2px); }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
}
.header__bar {
  background: #fff;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 2px 12px rgba(60, 30, 20, .08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 40px;
  max-width: 1440px;
  margin: 0 auto;
  gap: 24px;
}
.logo {
  font-size: 26px;
  font-weight: 800;
  color: var(--coral-text);
  letter-spacing: .08em;
}
.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  transition: color .2s;
}
.nav a:hover { color: var(--coral-text); }
.btn-download {
  display: inline-block;
  background: #1A1A1A;
  color: #fff;
  border-radius: 999px;
  padding: 11px 30px;
  font-size: 14px;
  font-weight: 700;
  transition: opacity .2s;
}
.btn-download:hover { opacity: .8; }
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.menu-toggle--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle--open span:nth-child(2) { opacity: 0; }
.menu-toggle--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #F4917C 0%, #EF7660 45%, #E25A44 100%);
  position: relative;
  overflow: hidden;
  margin-top: -76px;
  padding-top: 76px;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 48px 88px;
  position: relative;
  z-index: 1;
}
.hero__text { color: #fff; }
.hero__catch {
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 28px;
  letter-spacing: .02em;
}
.hero__sub-catch {
  font-size: clamp(17px, 1.8vw, 23px);
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.7;
}
.hero__desc {
  font-size: 14px;
  line-height: 2.1;
  margin-bottom: 36px;
  font-weight: 500;
}
.hero__visual {
  position: relative;
  min-height: 420px;
}
.hero__photo {
  width: 88%;
  aspect-ratio: 1.15;
  object-fit: cover;
  border-radius: 43% 57% 49% 51% / 47% 46% 54% 53%;
}
.hero__mockup {
  position: absolute;
  right: -4%;
  bottom: -10%;
  width: 52%;
  filter: drop-shadow(0 12px 32px rgba(120, 30, 15, .28));
}
.hero-flower {
  position: absolute;
  pointer-events: none;
}
.hero-flower svg { display: block; width: 100%; height: 100%; }
.hero-flower--1 { top: 90px; right: 60px; width: 170px; opacity: .95; }
.hero-flower--2 { top: 300px; right: 12px; width: 72px; opacity: .8; }
.hero-flower--3 { bottom: -30px; left: 34%; width: 150px; opacity: .8; }
.hero-flower--4 { bottom: 60px; left: -40px; width: 120px; opacity: .5; }

/* ===== ABOUT ===== */
.about-section {
  padding: 96px 0;
  background: #fff;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  margin-top: 56px;
}
.about-catch {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  color: var(--coral-text);
  line-height: 1.7;
  margin-bottom: 20px;
}
.about-desc {
  font-size: 15px;
  color: var(--body-text);
  line-height: 2;
}
.pain-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pain-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F3F4F6;
  border-radius: 16px;
  padding: 16px 20px;
}
.pain-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.pain-card p {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.7;
}

/* ===== APP INTRO ===== */
.app-intro {
  padding: 96px 0;
  background: var(--pink-bg);
}
.app-intro__inner {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: center;
}
.app-intro__catch {
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.8;
  margin-bottom: 36px;
  color: var(--navy);
}
.app-intro__screens {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.app-screen {
  width: 31%;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}
.app-screen--mid {
  width: 34%;
  margin-top: -24px;
}

/* ===== MASCOT ===== */
.mascot-section {
  padding: 96px 0 110px;
  background: linear-gradient(160deg, #F5977F 0%, #F0806A 55%, #EA6A52 100%);
  color: #fff;
  overflow: hidden;
}
.mascot-title {
  font-size: clamp(25px, 3vw, 40px);
  font-weight: 800;
  margin-bottom: 56px;
  line-height: 1.7;
  text-align: center;
}
.mascot-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 56px;
  align-items: center;
}
.mascot-left {
  text-align: center;
}
.mascot-image img {
  max-width: min(360px, 88%);
  margin: 0 auto;
  filter: drop-shadow(0 10px 36px rgba(120, 30, 15, .2));
}
.mascot-expressions {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  justify-content: center;
  flex-wrap: wrap;
}
.mascot-expressions img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
  background: rgba(255, 255, 255, .92);
  padding: 6px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.mascot-expressions img:hover {
  transform: translateY(-4px);
}
.mascot-expressions img.active {
  box-shadow: 0 0 0 3px #fff, 0 6px 16px rgba(120, 30, 15, .25);
}
.btn-voice {
  margin-top: 20px;
  background: #fff;
  color: var(--coral-text);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 28px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.btn-voice:hover { transform: translateY(-2px); }
.mascot-bubble {
  background: var(--pink-soft);
  border-radius: 58% 42% 55% 45% / 52% 55% 45% 48%;
  padding: 64px 60px;
  color: var(--navy);
  position: relative;
  text-align: center;
}
.mascot-bubble::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 34%;
  width: 34px;
  height: 14px;
  background: var(--pink-soft);
  border-radius: 999px;
  transform: rotate(-40deg);
}
.mascot-subtitle {
  font-size: 13px;
  font-weight: 700;
  color: var(--coral-text);
  margin-bottom: 6px;
}
.mascot-name {
  font-size: 38px;
  font-weight: 800;
  color: var(--coral-text);
  margin-bottom: 22px;
  letter-spacing: .08em;
}
.mascot-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-bottom: 24px;
  font-size: 14px;
  text-align: left;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.mascot-specs p { white-space: nowrap; }
.spec-label {
  display: inline-block;
  font-weight: 700;
  color: var(--coral-text);
  margin-right: 4px;
  font-size: 13px;
}
.spec-label::before {
  content: '✧ ';
}
.spec-label::after {
  content: ' -';
}
.mascot-desc {
  font-size: 14px;
  line-height: 2;
  color: var(--body-text);
}

/* ===== FEATURES ===== */
.features-section {
  padding: 96px 0;
  background: #fff;
}
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 72px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(60, 30, 20, .08);
}
.feature-card__img {
  height: 210px;
  overflow: hidden;
}
.feature-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--coral-text);
  padding: 26px 26px 10px;
  line-height: 1.7;
}
.feature-card__desc {
  font-size: 13px;
  color: var(--body-text);
  padding: 0 26px 30px;
  line-height: 2;
}
.emotions-panel {
  background: var(--pink-panel);
  border-radius: 32px;
  padding: 48px 44px 52px;
  position: relative;
  overflow: hidden;
}
.emotions-panel > * { position: relative; z-index: 1; }
.emotions-panel::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -50px;
  width: 220px;
  height: 220px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23F1A091' stroke-width='9' transform='translate(100 100)'%3E%3Cellipse rx='26' ry='38' transform='rotate(10) translate(0 -40)'/%3E%3Cellipse rx='26' ry='38' transform='rotate(82) translate(0 -40)'/%3E%3Cellipse rx='26' ry='38' transform='rotate(154) translate(0 -40)'/%3E%3Cellipse rx='26' ry='38' transform='rotate(226) translate(0 -40)'/%3E%3Cellipse rx='26' ry='38' transform='rotate(298) translate(0 -40)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: .6;
}
.emotions-lead {
  text-align: center;
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 32px;
}
.emotions-lead em {
  font-style: normal;
  color: var(--coral-text);
}
.emotion-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.emotion-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px 22px;
}
.emotion-card h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--coral-text);
  margin-bottom: 12px;
}
.emotion-card li {
  font-size: 12.5px;
  line-height: 1.9;
  position: relative;
  padding-left: 14px;
  color: var(--body-text);
}
.emotion-card li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--gray-text);
}
.emotion-note {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--coral-text);
  margin-top: 10px;
}

/* ===== CONVERSATION ===== */
.conversation-section {
  padding: 96px 0;
  background: var(--pink-bg);
}
.conversation-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr auto;
  gap: 44px;
  align-items: center;
}
.conversation-text .section-title {
  text-align: left;
}
.conversation-desc {
  font-size: 17px;
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 18px;
  line-height: 1.9;
  color: var(--navy);
}
.conversation-note {
  font-size: 11.5px;
  color: var(--gray-text);
  line-height: 1.8;
}

/* Chat bubbles */
.chat {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chat-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.chat-row--child {
  justify-content: flex-end;
}
.chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}
.chat-avatar--child {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8C9BE;
  overflow: hidden;
}
.chat-avatar--child svg { width: 60%; height: 60%; }
.chat-bubble {
  padding: 11px 18px;
  font-size: 13px;
  line-height: 1.8;
  max-width: 330px;
  font-weight: 500;
}
.chat-bubble--child {
  background: #fff;
  border-radius: 18px 18px 4px 18px;
  box-shadow: var(--shadow);
  color: var(--navy);
}
.chat-bubble--imappi {
  background: var(--coral);
  color: #fff;
  border-radius: 18px 18px 18px 4px;
}
.conversation-phone {
  width: 236px;
  margin: 0 auto;
}
.conversation-phone img {
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

/* ===== CTA BAND ===== */
.cta-section {
  padding: 56px 0;
  background: linear-gradient(120deg, #E9604A 0%, #F08774 50%, #F2917E 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-title {
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 26px;
}

/* ===== FUNCTIONS ===== */
.functions-section {
  padding: 96px 0 120px;
  background: #fff;
}
.functions-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 44px;
  align-items: center;
  margin-top: 8px;
}
.functions-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.function-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 26px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
  background: #fff;
  border: 1px solid #E8E4E2;
  border-radius: 999px;
  transition: all .25s;
}
.function-tab:hover {
  border-color: var(--coral);
  color: var(--coral-text);
}
.function-tab.active {
  color: #fff;
  background: var(--coral);
  border-color: var(--coral);
  box-shadow: 0 6px 18px rgba(240, 133, 117, .45);
}
.tab-num {
  font-weight: 800;
  letter-spacing: .05em;
}
.functions-content {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--coral);
  border-radius: 20px;
  padding: 52px 300px 52px 44px;
  min-height: 300px;
}
.function-panel {
  display: none;
}
.function-panel.active {
  display: block;
}
.function-title {
  font-size: 25px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}
.function-subtitle {
  font-size: 15px;
  font-weight: 700;
  color: var(--coral-text);
  margin-bottom: 18px;
  line-height: 1.8;
}
.function-desc {
  font-size: 14px;
  color: var(--body-text);
  line-height: 2;
}
.function-phone {
  position: absolute;
  right: 40px;
  top: -36px;
  width: 218px;
}
.function-phone img {
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  display: none;
}
.function-phone img.active { display: block; }

/* ===== SECURITY ===== */
.security-section {
  padding: 96px 0 0;
  background: var(--pink-bg);
  overflow: hidden;
}
.security-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 24px;
  align-items: end;
}
.security-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-bottom: 72px;
}
.security-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: var(--shadow);
  text-align: left;
  width: 100%;
  cursor: pointer;
  transition: transform .2s;
}
.security-card:hover { transform: translateY(-2px); }
.security-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--pink-panel);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--coral-strong);
}
.security-icon svg { width: 26px; height: 26px; }
.security-card p {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--navy);
}
.security-card::after {
  content: '';
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center/10px no-repeat;
}
.security-character {
  align-self: end;
}
.security-character img {
  width: 115%;
  max-width: none;
  display: block;
  margin-bottom: -110px;
}

/* ===== VOICES ===== */
.voices-section {
  padding: 96px 0;
  background: #fff;
}
.voice-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.voice-card {
  background: #fff;
  border: 1px solid #ECE8E6;
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: 0 2px 12px rgba(60, 30, 20, .04);
}
.voice-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.voice-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FBDDD5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.voice-avatar svg { width: 62%; height: 62%; }
.voice-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}
.voice-role {
  font-size: 12px;
  color: var(--gray-text);
}
.voice-card__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--coral-text);
  margin-bottom: 12px;
  line-height: 1.7;
}
.voice-card__text {
  font-size: 13px;
  color: var(--body-text);
  line-height: 2;
}

/* ===== STORY ===== */
.story-section {
  padding: 96px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}
.story-image img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1.25;
}
.story-catch {
  font-size: clamp(19px, 2.1vw, 25px);
  font-weight: 800;
  color: var(--coral-text);
  margin-bottom: 24px;
  line-height: 1.8;
}
.story-text p {
  font-size: 14px;
  color: var(--body-text);
  line-height: 2.1;
  margin-bottom: 18px;
}
.story-text em {
  font-style: normal;
  font-weight: 700;
  color: var(--coral-text);
}

/* ===== PRICING ===== */
.pricing-section {
  padding: 96px 0 110px;
  background: var(--pink-bg);
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.pricing-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.pricing-card--popular {
  border: 2px solid var(--coral);
}
.pricing-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #fff;
  border: 1.5px solid var(--coral);
  color: var(--coral-text);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px 4px 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pricing-badge::before {
  content: '♛';
  font-size: 13px;
}
.pricing-card__name {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.pricing-card__price {
  font-size: 42px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 22px;
  font-variant-numeric: tabular-nums;
}
.pricing-card__price::first-letter {
  margin-right: 4px;
}
.pricing-card__features {
  text-align: left;
  margin-bottom: 30px;
  flex-grow: 1;
}
.pricing-card__features li {
  font-size: 13.5px;
  padding: 5px 0 5px 16px;
  position: relative;
  color: var(--body-text);
}
.pricing-card__features li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--gray-text);
}
.pricing-card__btn {
  display: block;
  background: var(--coral);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 15px 20px;
  border-radius: 999px;
  text-align: center;
  transition: opacity .2s, transform .2s;
}
.pricing-card__btn:hover { opacity: .9; transform: translateY(-2px); }

/* ===== FAQ ===== */
.faq-section {
  padding: 96px 0;
  background: #fff;
}
.faq-list {
  max-width: 880px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #fff;
  border: 1.5px solid var(--pink-border);
  border-radius: 20px;
  padding: 0 28px;
}
.faq-question {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-q {
  color: var(--coral-text);
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}
.faq-question::after {
  content: '+';
  margin-left: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--coral);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}
details[open] .faq-question::after {
  content: '−';
}
.faq-answer {
  font-size: 14px;
  color: var(--body-text);
  line-height: 2;
  background: var(--pink-answer);
  padding: 18px 24px;
  border-radius: 14px;
  margin-bottom: 24px;
}

/* ===== CONTACT ===== */
.contact-section {
  padding: 96px 0;
  background: var(--pink-bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: center;
}
.contact-title {
  text-align: left;
}
.contact-desc {
  font-size: 14px;
  font-weight: 700;
  color: var(--coral-text);
  line-height: 2;
  margin-top: 12px;
}
.contact-form {
  background: var(--pink-soft);
  border-radius: var(--radius);
  padding: 28px 36px 30px;
  box-shadow: var(--shadow);
}
.form-group {
  margin-bottom: 13px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}
.required,
.optional {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  margin-left: 6px;
  background: var(--coral);
  color: #fff;
}
.optional {
  background: #B4B9C1;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 9px 14px;
  border: 1px solid #EDE4E1;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  font-family: inherit;
  color: var(--navy);
  transition: border-color .2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #B9BFC8;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--coral);
}
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 13px;
  margin-bottom: 0;
  cursor: pointer;
}
.radio-group input[type="radio"] {
  accent-color: var(--coral);
  width: 16px;
  height: 16px;
}
.form-note {
  font-size: 11.5px;
  color: var(--gray-text);
  margin-bottom: 14px;
  text-align: center;
}
.form-note a {
  color: var(--coral-text);
  text-decoration: underline;
}
.btn-submit {
  display: block;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  background: var(--coral);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px;
  border-radius: 999px;
  transition: opacity .2s, transform .2s;
}
.btn-submit:hover { opacity: .9; transform: translateY(-2px); }
.form-status {
  background: var(--pink-answer);
  color: var(--coral-text);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  border-radius: 14px;
  padding: 13px 32px;
  width: fit-content;
  max-width: 100%;
  margin: 20px auto 0;
  line-height: 1.7;
}
.form-status:empty { display: none; }
.btn-submit:disabled {
  opacity: .6;
  cursor: default;
  transform: none;
}

/* ===== FINAL CTA ===== */
.final-cta {
  padding: 100px 0 0;
  background: linear-gradient(180deg, #fff 0%, #fff 52%, #FBE0D9 100%);
  text-align: center;
  overflow: hidden;
}
.final-cta__title {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 800;
  color: var(--coral-text);
  margin-bottom: 36px;
  line-height: 1.7;
}
.final-cta__character {
  margin: 64px auto -4px;
  max-width: 460px;
  height: 240px;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.final-cta__character img {
  width: 100%;
  object-fit: cover;
  object-position: top;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(120deg, #E9604A 0%, #F08774 60%, #F2917E 100%);
  color: #fff;
  padding: 48px 0 0;
}
.footer__inner {
  max-width: 1184px;
  margin: 0 auto;
  padding: 0 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer__logo-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 4px 14px rgba(120, 30, 15, .2);
}
.footer__tagline {
  font-size: 12px;
  font-weight: 500;
}
.footer__brand {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .08em;
}
.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}
.footer__nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.footer__nav a {
  font-size: 13px;
  font-weight: 700;
  transition: opacity .2s;
}
.footer__nav a:hover { opacity: .8; }
.footer__badges {
  display: flex;
  gap: 12px;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .35);
  max-width: 1184px;
  margin: 0 auto;
  padding: 24px 32px 28px;
  text-align: center;
  font-size: 12px;
}
.footer__links {
  display: flex;
  gap: 28px;
  justify-content: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.footer__links a {
  font-weight: 700;
  font-size: 13px;
  transition: opacity .2s;
}
.footer__links a:hover { opacity: .8; }
.footer__copyright {
  opacity: .9;
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(57, 65, 79, .45);
}
.modal__card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 40px 32px 32px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  max-height: 85vh;
  overflow-y: auto;
}
.modal__x {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 16px;
  color: var(--gray-text);
  padding: 6px;
  line-height: 1;
}
.modal__eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--coral-text);
  margin-bottom: 8px;
}
.modal__title {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.7;
}
.modal__body {
  font-size: 13.5px;
  color: var(--body-text);
  line-height: 2;
  margin-bottom: 26px;
}
.modal__close-btn {
  display: block;
  margin: 0 auto;
  border: 1.5px solid var(--coral);
  color: var(--coral-text);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 52px;
  border-radius: 999px;
  background: #fff;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal--visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 56px 40px 72px;
    gap: 48px;
  }
  .hero__visual { justify-content: center; max-width: 560px; margin: 0 auto; width: 100%; }
  .hero__photo { width: 82%; margin: 0 auto; }
  .hero__mockup { right: 0; }
  .store-badges { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .app-intro__inner { grid-template-columns: 1fr; text-align: center; }
  .mascot-grid { grid-template-columns: 1fr; }
  .mascot-bubble { border-radius: 32px; padding: 40px 26px; }
  .mascot-bubble::before { display: none; }
  .mascot-specs {
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: 260px;
  }
  .mascot-specs p { white-space: normal; }
  .mascot-desc br { display: none; }
  .conversation-grid { grid-template-columns: 1fr; }
  .conversation-text { text-align: center; }
  .conversation-text .section-title { text-align: center; }
  .chat { max-width: 500px; margin: 0 auto; width: 100%; }
  .functions-grid { grid-template-columns: 1fr; }
  .functions-content { padding: 44px 36px; }
  .function-phone { position: static; width: 218px; margin: 32px auto 0; }
  .security-grid { grid-template-columns: 1fr; }
  .security-cards { grid-template-columns: repeat(2, 1fr); padding-bottom: 0; }
  .security-character { margin: 24px auto 0; width: 210px; }
  .security-character img { width: 100%; margin-bottom: -60px; }
  .story-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-title { text-align: center; }
  .contact-desc { text-align: center; }
}

@media (max-width: 768px) {
  .br-pc { display: none; }
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    margin-left: 0;
  }
  .nav.nav--open { display: flex; }
  .nav a {
    padding: 14px 26px;
    font-size: 15px;
    border-bottom: 1px solid var(--pink-panel);
  }
  .nav a:last-child { border-bottom: none; }
  .menu-toggle { display: flex; order: -1; }
  .btn-download {
    margin-left: auto;
    padding: 9px 20px;
    font-size: 13px;
  }
  .header__inner { padding: 0 16px; gap: 10px; }

  /* Hero: left-aligned text, edge-to-edge photo, phones overlapping into next section */
  .hero { overflow: visible; }
  .hero-flower--1, .hero-flower--2, .hero-flower--3, .hero-flower--4 { display: none; }
  .hero__inner {
    text-align: left;
    padding: 32px 24px 0;
    gap: 20px;
  }
  .hero__inner .store-badges { justify-content: flex-start; }
  .hero__catch { font-size: 29px; margin-bottom: 16px; line-height: 1.55; }
  .hero__sub-catch { font-size: 17px; margin-bottom: 12px; }
  .hero__desc { font-size: 12.5px; margin-bottom: 22px; line-height: 2; }
  .hero__visual {
    width: calc(100% + 48px);
    max-width: none;
    margin: 10px -24px -72px;
    min-height: 0;
    position: relative;
    z-index: 2;
  }
  .hero__photo {
    width: 96%;
    margin: 0;
    aspect-ratio: 1.08;
    border-radius: 0 38% 34% 12% / 0 42% 40% 14%;
  }
  .hero__mockup {
    width: 46%;
    right: 10px;
    bottom: -40px;
  }
  .hero__visual::before {
    content: '';
    position: absolute;
    top: -34px;
    right: 4px;
    width: 88px;
    height: 88px;
    z-index: 2;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23E23A24' stroke-width='11' transform='translate(100 100) rotate(18)'%3E%3Cellipse rx='27' ry='39' transform='rotate(0) translate(0 -41)'/%3E%3Cellipse rx='27' ry='39' transform='rotate(72) translate(0 -41)'/%3E%3Cellipse rx='27' ry='39' transform='rotate(144) translate(0 -41)'/%3E%3Cellipse rx='27' ry='39' transform='rotate(216) translate(0 -41)'/%3E%3Cellipse rx='27' ry='39' transform='rotate(288) translate(0 -41)'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
  }
  .hero__visual::after {
    content: '';
    position: absolute;
    bottom: 24px;
    left: 8px;
    width: 60px;
    height: 60px;
    z-index: 2;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-width='12' transform='translate(100 100) rotate(50)'%3E%3Cellipse rx='27' ry='39' transform='rotate(0) translate(0 -41)'/%3E%3Cellipse rx='27' ry='39' transform='rotate(72) translate(0 -41)'/%3E%3Cellipse rx='27' ry='39' transform='rotate(144) translate(0 -41)'/%3E%3Cellipse rx='27' ry='39' transform='rotate(216) translate(0 -41)'/%3E%3Cellipse rx='27' ry='39' transform='rotate(288) translate(0 -41)'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
  }

  /* About: centered lead, one-line pill cards */
  .about-section { padding: 130px 0 72px; }
  .about-left { text-align: center; }
  .about-grid { margin-top: 32px; gap: 28px; }
  .pain-cards { grid-template-columns: 1fr; gap: 10px; }
  .pain-card { padding: 10px 16px; border-radius: 999px; gap: 10px; }
  .pain-card p br { display: none; }
  .pain-card p { font-size: 12px; }
  .pain-icon { width: 38px; height: 38px; }

  /* App intro: white notch at top */
  .app-intro { position: relative; }
  .app-intro::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    border: 16px solid transparent;
    border-top-color: #fff;
    z-index: 1;
  }
  .app-intro { padding: 72px 0; }

  /* Mascot: white wave panel instead of the bubble */
  .mascot-section { padding-bottom: 0; }
  .mascot-grid { gap: 0; }
  .mascot-bubble {
    background: #fff;
    margin: 48px -32px 0;
    width: calc(100% + 64px);
    border-radius: 100% 100% 0 0 / 72px 72px 0 0;
    padding: 60px 30px 56px;
  }
  .btn-voice {
    background: transparent;
    border: 1.5px solid #fff;
    color: #fff;
    box-shadow: none;
  }

  .feature-cards { grid-template-columns: 1fr; }
  .emotions-panel { padding: 34px 20px 38px; border-radius: 24px; }
  .emotion-cards { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* Conversation: chat and phone side by side */
  .conversation-grid { grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
  .conversation-text { grid-column: 1 / -1; }
  .chat { max-width: none; margin: 0; width: auto; gap: 10px; }
  .chat-avatar { width: 26px; height: 26px; }
  .chat-bubble { font-size: 10px; padding: 7px 10px; line-height: 1.7; border-radius: 12px 12px 12px 3px; max-width: none; }
  .chat-bubble--child { border-radius: 12px 12px 3px 12px; }
  .conversation-phone { width: 134px; margin: 0; }
  .conversation-phone img { border-radius: 18px; }

  /* Functions: 2x2 tabs, phone inside the panel */
  .functions-grid { gap: 20px; }
  .functions-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .function-tab { padding: 11px 8px; font-size: 12px; gap: 6px; justify-content: center; }
  .functions-content {
    display: grid;
    grid-template-columns: 1fr 114px;
    gap: 14px;
    padding: 24px 18px;
    min-height: 0;
    align-items: start;
  }
  .function-panel.active { grid-column: 1; grid-row: 1; }
  .function-phone { position: static; width: 114px; margin: 0; grid-column: 2; grid-row: 1; }
  .function-phone img { border-radius: 14px; }
  .function-title { font-size: 17px; margin-bottom: 8px; }
  .function-subtitle { font-size: 12.5px; margin-bottom: 10px; }
  .function-desc { font-size: 12px; line-height: 1.9; }

  .security-cards { grid-template-columns: 1fr; gap: 12px; }

  .voice-cards { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .faq-item { padding: 0 20px; }

  /* Footer: left-aligned, links in two columns */
  .footer__inner { flex-direction: column; align-items: flex-start; text-align: left; gap: 24px; }
  .footer__right { align-items: flex-start; width: 100%; }
  .footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
}

@media (max-width: 480px) {
  .app-intro__screens { gap: 12px; }
  .app-screen { width: 31%; border-radius: 14px; }
  .app-screen--mid { width: 34%; margin-top: -12px; }
  .mascot-title { font-size: 26px; }
  .emotion-card { padding: 16px 14px; border-radius: 14px; }
  .emotion-card h4 { font-size: 14px; margin-bottom: 8px; }
  .emotion-card li { font-size: 11px; padding-left: 11px; line-height: 1.8; }
  .emotion-note { font-size: 10.5px; }
  /* iOS Safari zooms into inputs smaller than 16px — keep form inputs at 16px on phones */
  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group textarea {
    font-size: 16px;
  }
  .faq-question { font-size: 14px; }
}
