/* ================================
   RESET & BASE
================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", sans-serif;
  font-size: 1.6rem;
  color: #2a2a3a;
  background: #fff;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

summary {
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}

/* ================================
   VARIABLES
================================ */
:root {
  --primary:        #5e72f0;
  --primary-light:  #eef0ff;
  --primary-dark:   #4a5cd8;
  --green:   #4dc880;
  --pink:    #f06db5;
  --orange:  #f97654;
  --yellow:  #f9c84f;
  --purple:  #9b7ee8;
  --text:    #2a2a3a;
  --sub:     #6b6b80;
  --border:  #e8e8f0;
  --bg-light: #faf9ff;
}

/* ================================
   TYPOGRAPHY
================================ */
h1, h2, h3 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 800;
  line-height: 1.3;
}

/* ================================
   LAYOUT
================================ */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--light   { background: var(--bg-light); }
.section--primary { background: var(--primary); color: #fff; }
.section--dark    { background: #1e2030; color: #fff; }

.section--dark .section__title { color: #fff; }

.section__title {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: .04em;
}

/* ================================
   BUTTONS
================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  border-radius: 50px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  cursor: pointer;
  transition: opacity .2s, transform .1s;
  border: none;
}

.btn:hover  { opacity: .85; }
.btn:active { transform: scale(.98); }

.btn--primary { background: var(--primary); color: #fff; }
.btn--white   { background: #fff; color: var(--primary); }
.btn--sm      { padding: 10px 24px; font-size: 1.4rem; }

/* ================================
   HEADER
================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header__logo img {
  height: 112px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__nav-link {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--sub);
  transition: color .2s;
}

.header__nav-link:hover { color: var(--primary); }

/* ================================
   HERO
================================ */
.hero {
  padding: 72px 0 64px;
  background: var(--primary-light);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
  letter-spacing: .08em;
}

.hero__headline {
  font-size: 4rem;
  line-height: 1.25;
  margin-bottom: 18px;
}

.hero__body {
  font-size: 1.6rem;
  color: var(--sub);
  margin-bottom: 32px;
  line-height: 1.85;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__phone {
  width: 270px;
  background: #fff;
  border-radius: 36px;
  box-shadow:
    0 20px 60px rgba(94,114,240,.18),
    0 4px 12px rgba(94,114,240,.1);
  position: relative;
  z-index: 1;
}

.hero__phone-inner {
  padding: 28px 20px 24px;
}

.hero__phone-logo {
  margin-bottom: 20px;
}

.hero__phone-logo img {
  width: 150px;
  margin: 0 auto;
}

.hero__thumbnails {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.thumb-row {
  display: flex;
  gap: 8px;
}

.thumb-row--center {
  justify-content: center;
}

.thumb-row .thumb {
  flex: 1;
  max-width: calc(33.33% - 6px);
}

.thumb {
  border-radius: 12px;
  padding: 12px 6px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 2rem;
}

.thumb span {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.0rem;
  font-weight: 700;
  color: rgba(0,0,0,.5);
}

.thumb--yellow { background: #fff7d6; }
.thumb--blue   { background: #d6e8ff; }
.thumb--green  { background: #d6f5e3; }
.thumb--pink   { background: #ffd6ec; }
.thumb--purple { background: #ecdeff; }
.thumb--orange { background: #ffddd3; }

.hero__deco {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero__deco--1 { width: 80px; height: 80px; background: var(--yellow); opacity: .45; top: -16px; right: 16px; }
.hero__deco--2 { width: 50px; height: 50px; background: var(--green);  opacity: .45; bottom: 16px; right: -10px; }
.hero__deco--3 { width: 36px; height: 36px; background: var(--pink);   opacity: .45; bottom: 60px; left: -8px; }

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

.problem__item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 32px 28px;
}

.problem__icon {
  font-size: 3.2rem;
  margin-bottom: 16px;
}

.problem__item h3 {
  font-size: 1.7rem;
  margin-bottom: 10px;
  color: #fff;
}

.problem__item p {
  font-size: 1.45rem;
  color: rgba(255,255,255,.7);
  line-height: 1.85;
}

.problem__cite {
  font-size: 1.1rem !important;
  color: rgba(255,255,255,.4) !important;
  margin-top: 14px;
  line-height: 1.6 !important;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 10px;
}

/* ================================
   SOLUTION (what is)
================================ */
.what__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.what__logo {
  width: 100px;
  margin: 0 auto 24px;
}

.what__title {
  font-size: 2.8rem;
  margin-bottom: 28px;
}

.what__list {
  list-style: none;
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  margin-bottom: 24px;
}

.what__list li {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  padding-left: 28px;
  position: relative;
}

.what__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
}

.what__body {
  font-size: 1.6rem;
  color: var(--sub);
  line-height: 1.9;
  margin-bottom: 32px;
}

/* ================================
   FEATURES & FEATURE BLOCKS
================================ */
.feature-block {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.feature-block__header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}

.features__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  flex-shrink: 0;
}

.features__icon--green  { background: #d6f5e3; }
.features__icon--purple { background: #ecdeff; }
.features__icon--orange { background: #ffddd3; }

.feature-block__title {
  font-size: 2rem;
  margin-bottom: 6px;
}

.feature-block__basis {
  display: inline-block;
  font-size: 1.2rem;
  color: var(--sub);
  background: var(--bg-light);
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid var(--border);
}

/* Channels grid */
.channels__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.channel {
  border-radius: 16px;
  padding: 20px 10px;
  text-align: center;
}

.channel span   { font-size: 2.4rem; display: block; margin-bottom: 8px; }
.channel strong { font-family: 'M PLUS Rounded 1c', sans-serif; font-size: 1.4rem; display: block; margin-bottom: 6px; }
.channel p      { font-size: 1.2rem; color: var(--sub); line-height: 1.6; }

.channel--orange { background: #ffddd3; }
.channel--pink   { background: #ffd6ec; }
.channel--green  { background: #d6f5e3; }
.channel--blue   { background: #d6e8ff; }
.channel--yellow { background: #fff7d6; }

/* Age groups */
.ages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.age {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-light);
  border-radius: 16px;
}

.age__badge {
  display: inline-block;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 14px;
  color: #fff;
}

.age__badge--blue   { background: #5b9ef5; }
.age__badge--green  { background: var(--green); }
.age__badge--purple { background: var(--purple); }

.age p {
  font-size: 1.4rem;
  color: var(--sub);
  line-height: 1.7;
}

/* Controls */
.controls__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.control {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 28px;
}

.control__icon {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 10px;
}

.control strong {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.6rem;
  display: block;
  margin-bottom: 8px;
}

.control p {
  font-size: 1.4rem;
  color: var(--sub);
  line-height: 1.75;
}

.features__cta {
  text-align: center;
  margin-top: 40px;
}

/* ================================
   COMPARISON
================================ */
.comparison__wrap {
  max-width: 680px;
  margin: 0 auto;
  overflow-x: auto;
}

.comparison__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.5rem;
}

.comparison__table th,
.comparison__table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.comparison__table th:first-child,
.comparison__table td:first-child {
  text-align: left;
  font-weight: 700;
  color: var(--sub);
  width: 28%;
}

.comparison__table thead th {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 700;
  padding-bottom: 18px;
}

.comparison__ours {
  background: var(--primary-light);
  font-weight: 700;
}

.comparison__bad  { color: #c0392b; }
.comparison__good { color: var(--green); font-weight: 700; }

/* ================================
   PRICING
================================ */
.pricing__subtitle {
  text-align: center;
  font-size: 1.5rem;
  color: var(--sub);
  margin-top: -32px;
  margin-bottom: 40px;
}

.pricing__card {
  max-width: 440px;
  margin: 0 auto;
  background: #fff;
  border-radius: 32px;
  padding: 48px 44px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(94,114,240,.12);
  border: 2px solid var(--primary-light);
}

.pricing__trial {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.pricing__trial strong { color: var(--orange); }

.pricing__amount {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 32px;
  line-height: 1.1;
}

.pricing__amount span  { font-size: 6.4rem; }
.pricing__amount small { font-size: 1.5rem; color: var(--sub); font-weight: 400; }

.pricing__list {
  list-style: none;
  text-align: left;
  margin-bottom: 36px;
}

.pricing__list li {
  font-size: 1.5rem;
  padding: 11px 0 11px 24px;
  border-bottom: 1px solid #f0f0f8;
  position: relative;
}

.pricing__list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.pricing__note {
  font-size: 1.2rem;
  color: var(--sub);
  margin-top: 14px;
}

/* ================================
   BLOG
================================ */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.blog__card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow .2s, transform .2s;
}

.blog__card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  transform: translateY(-2px);
}

.blog__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  font-size: 4.8rem;
  text-decoration: none;
}

.blog__thumb--purple { background: #ecdeff; }
.blog__thumb--green  { background: #d6f5e3; }
.blog__thumb--orange { background: #ffddd3; }

.blog__body {
  padding: 20px 22px 24px;
}

.blog__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.blog__tag {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: 50px;
}

.blog__title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 10px;
}

.blog__title a { color: var(--text); transition: color .2s; }
.blog__title a:hover { color: var(--primary); }

.blog__date { font-size: 1.2rem; color: var(--sub); }

.blog__more { text-align: center; }

.blog__more-link {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  transition: opacity .2s;
}

.blog__more-link:hover { opacity: .7; }

/* ================================
   FAQ
================================ */
.faq__list {
  max-width: 700px;
  margin: 0 auto 48px;
}

.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:first-child { border-top: 1px solid var(--border); }

.faq__q {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  padding: 20px 44px 20px 28px;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.faq__q::before {
  content: 'Q';
  position: absolute;
  left: 0;
  top: 20px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.faq__q::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-60%) rotate(45deg);
  width: 8px;
  height: 8px;
  border: 2px solid var(--primary);
  border-top: none;
  border-left: none;
  transition: transform .2s;
}

details[open] > .faq__q::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq__a {
  font-size: 1.5rem;
  color: var(--sub);
  line-height: 1.85;
  padding: 0 28px 20px 28px;
}

.faq__cta { text-align: center; }

/* ================================
   DOWNLOAD CTA
================================ */
.download__inner { text-align: center; }

.download__title {
  font-size: 3.2rem;
  margin-bottom: 16px;
}

.download__body {
  font-size: 1.7rem;
  margin-bottom: 36px;
  opacity: .85;
}

/* ================================
   FOOTER
================================ */
.footer {
  background: var(--text);
  color: #fff;
  padding: 56px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.footer__logo {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .8;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
}

.footer__nav a {
  font-size: 1.3rem;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}

.footer__nav a:hover { color: #fff; }

.footer__copy {
  font-size: 1.2rem;
  color: rgba(255,255,255,.4);
}

/* ================================
   RESPONSIVE — TABLET (≤720px)
================================ */
@media screen and (max-width: 720px) {
  .section { padding: 60px 0; }

  .section__title {
    font-size: 2.3rem;
    margin-bottom: 36px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__visual { order: -1; }
  .hero__headline { font-size: 3.2rem; }
  .hero__phone { width: 240px; }

  .problem__grid   { grid-template-columns: 1fr; }
  .channels__grid  { grid-template-columns: repeat(3, 1fr); }
  .ages__grid      { grid-template-columns: 1fr; gap: 12px; }
  .controls__grid  { grid-template-columns: 1fr; }
  .blog__grid      { grid-template-columns: 1fr; }

  .feature-block {
    padding: 28px 20px;
  }

  .feature-block__header {
    flex-direction: column;
    gap: 12px;
  }

  .download__title { font-size: 2.6rem; }
}

/* ================================
   RESPONSIVE — SP (≤480px)
================================ */
@media screen and (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero__headline { font-size: 2.8rem; }
  .hero__phone { width: 220px; }

  .channels__grid { grid-template-columns: repeat(3, 1fr); }

  .pricing__card  { padding: 36px 24px; }
  .pricing__amount span { font-size: 5.2rem; }
}
