
:root {
  --blue: #0057c8;
  --navy: #081f3f;
  --teal: #00a7a7;
  --green: #16a34a;
  --shadow: 0 14px 34px rgba(8,31,63,.12);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, "Hiragino Sans", "Noto Sans JP", Arial, sans-serif;
  letter-spacing: .04em;
}
a { color: inherit; text-decoration: none; }
.sp-only { display: inline; }
.phone-frame { min-height: 100vh; background: #fff; }

.lp-header {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(232,238,247,.9);
  position: relative;
  z-index: 5;
}
.logo { display: inline-flex; align-items: center; height: 30px; }
.logo img { display: block; width: auto; height: 22px; }
.site-top-link { color: var(--navy); font-size: 12px; line-height: 1; font-weight: 900; white-space: nowrap; }

.hero {
  position: relative;
  height: 242px;
  overflow: hidden;
  background: #f7fbff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/hero-ai-mobile.webp");
  background-size: cover;
  background-position: right center;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 43%, rgba(255,255,255,.30) 72%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.02) 72%, rgba(255,255,255,0) 100%);
  z-index: 1;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: 66%;
  padding: 17px 0 18px 20px;
  text-align: left;
}
.eyebrow {
  margin: 0 0 6px;
  color: var(--teal);
  font-size: 10px;
  line-height: 1.35;
  font-weight: 900;
}
.hero h1 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 35px;
  line-height: 1.04;
  font-weight: 900;
}
.lead {
  width: 100%;
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 10.5px;
  line-height: 1.65;
  font-weight: 900;
}
.main-cta, .white-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 999px;
  font-weight: 900;
}
.main-cta {
  width: 206px;
  height: 40px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  box-shadow: 0 12px 26px rgba(22,163,74,.30);
}
.main-cta::after, .white-cta::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 2px;
}

.use-section, .strength-section, .method-section, .nalu-section {
  padding: 34px 18px 0;
  background: #fff;
}
.section-title {
  display: block;
  margin: 0 0 18px;
  color: var(--navy);
  text-align: center;
  font-size: 21px;
  line-height: 1.45;
  font-weight: 900;
  letter-spacing: .08em;
}
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin: 9px auto 0;
  background: var(--teal);
  border-radius: 999px;
}
.card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mini-card, .method-card, .nalu-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(232,238,247,.95);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(8,31,63,.08);
  text-align: center;
}
.mini-card {
  min-height: 126px;
  padding: 16px 8px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mini-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  color: var(--blue);
  background: #eef9fb;
  border-radius: 999px;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}
.mini-card h3 {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 900;
}
.strength-section, .method-section, .nalu-section { padding-top: 34px; }

.method-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.method-card {
  text-align: left;
  padding: 0 0 14px;
  border-color: rgba(0,167,167,.16);
}
.method-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 12px;
  background: linear-gradient(90deg, rgba(0,167,167,.10), rgba(0,87,200,.07));
  border-bottom: 1px solid rgba(232,238,247,.95);
}
.method-card--test .method-head { background: linear-gradient(90deg, rgba(0,87,200,.09), rgba(0,167,167,.07)); }
.method-head span { color: var(--teal); font-size: 22px; font-weight: 900; }
.method-card--test .method-head span { color: var(--blue); }
.method-head h3 {
  margin: 0;
  color: var(--teal);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 900;
}
.method-card--test .method-head h3 { color: var(--blue); }
.method-card ol {
  counter-reset: step;
  list-style: none;
  margin: 12px 0 0;
  padding: 0 18px;
  display: grid;
  gap: 8px;
}
.method-card li {
  position: relative;
  min-height: 22px;
  padding-left: 30px;
  color: var(--navy);
  font-size: 12px;
  line-height: 1.55;
  font-weight: 900;
}
.method-card li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1em;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}
.method-card--test li::before { background: var(--blue); }

.nalu-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: center;
}
.nalu-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 10px 16px;
  text-align: left;
}
.nalu-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0;
  color: #fff;
  border-radius: 999px;
  font-size: 24px;
  font-weight: 900;
}
.nalu-green { background: var(--teal); }
.nalu-blue { background: var(--blue); }
.nalu-green2 { background: #39a96b; }
.nalu-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 900;
}
.nalu-arrow {
  display: grid;
  place-items: center;
  color: #9aa7b7;
  font-size: 24px;
  font-weight: 900;
  transform: rotate(90deg);
  line-height: 1;
}
.bottom-cta {
  margin-top: 36px;
  padding: 34px 20px 36px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #0057c8 0%, #00a7c8 100%);
}
.bottom-cta p {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.65;
  font-weight: 900;
}
.bottom-cta .white-cta {
  width: min(100%, 300px);
  height: 52px;
  background: #fff;
  color: var(--blue);
  font-size: 15px;
  box-shadow: 0 12px 26px rgba(0,0,0,.16);
}

.lp-footer {
  padding: 24px 18px 30px;
  background: #f8fbff;
  border-top: 1px solid rgba(232,238,247,.9);
}
.footer-logo { display: flex; justify-content: center; margin-bottom: 16px; }
.footer-logo img { width: auto; height: 22px; display: block; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 18px; margin-bottom: 14px; }
.footer-links a { font-size: 12px; line-height: 1.5; font-weight: 800; white-space: nowrap; }
.footer-copy { margin: 0; color: #7b8794; text-align: center; font-size: 10px; line-height: 1.6; font-weight: 700; }

@media (max-width: 370px) {
  .hero-copy { width: 68%; padding-left: 16px; }
  .hero h1 { font-size: 31px; }
  .main-cta { width: 194px; }
  .mini-card h3 { font-size: 11px; }
}

@media (min-width: 900px) {
  .sp-only { display: none; }
  .lp-header { height: 64px; padding: 0 clamp(28px, 4vw, 56px); }
  .logo { height: 34px; }
  .logo img { height: 22px; }
  .site-top-link { font-size: 13px; }

  .hero { height: 440px; }
  .hero::before {
    background-image: url("../assets/hero-ai.webp");
    background-size: cover;
    background-position: center right;
  }
  .hero::after {
    background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 31%, rgba(255,255,255,.38) 54%, rgba(255,255,255,0) 78%);
  }
  .hero-copy {
    width: 540px;
    padding: 82px 0 70px;
    margin-left: clamp(44px, 6vw, 86px);
  }
  .eyebrow { font-size: 13px; margin-bottom: 18px; }
  .hero h1 { margin-bottom: 18px; font-size: 56px; line-height: 1.08; }
  .lead { width: 460px; margin-bottom: 28px; font-size: 16px; line-height: 1.8; }
  .main-cta { width: 300px; height: 54px; font-size: 15px; }

  .use-section, .strength-section, .method-section, .nalu-section {
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 28px;
    padding-right: 28px;
  }
  .use-section { padding-top: 46px; }
  .section-title { margin-bottom: 28px; font-size: 25px; }
  .section-title::after { width: 64px; margin-top: 10px; }

  .card-list { gap: 28px; }
  .mini-card { min-height: 150px; padding: 26px 24px 24px; }
  .mini-icon { width: 68px; height: 68px; margin-bottom: 18px; font-size: 34px; }
  .mini-card h3 { font-size: 18px; line-height: 1.55; }

  .strength-section, .method-section, .nalu-section { padding-top: 54px; }
  .method-list { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .method-card { border-radius: 14px; padding-bottom: 20px; }
  .method-head { min-height: 58px; gap: 12px; }
  .method-head span { font-size: 28px; }
  .method-head h3 { font-size: 22px; }
  .method-card ol { margin-top: 18px; padding: 0 52px; gap: 12px; }
  .method-card li { min-height: 26px; padding-left: 36px; font-size: 16px; line-height: 1.55; }
  .method-card li::before { width: 22px; height: 22px; font-size: 12px; }

  .nalu-flow { grid-template-columns: 1fr 36px 1fr 36px 1fr; gap: 10px; }
  .nalu-card { min-height: 90px; grid-template-columns: 64px 1fr; padding: 14px 22px; }
  .nalu-icon { width: 56px; height: 56px; font-size: 28px; }
  .nalu-card h3 { font-size: 16px; line-height: 1.55; }
  .nalu-arrow { transform: none; font-size: 34px; }

  .bottom-cta {
    position: relative;
    max-width: 1120px;
    margin: 48px auto 52px;
    padding: 0 34px;
    min-height: 102px;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1fr 360px;
    align-items: center;
    gap: 28px;
    overflow: hidden;
    background: linear-gradient(90deg, #1a63d2 0%, #12a9cf 100%);
  }
  .bottom-cta p { margin: 0; font-size: 22px; line-height: 1.65; text-align: left; }
  .bottom-cta .white-cta { justify-self: end; width: 100%; max-width: 360px; height: 48px; font-size: 14px; }
  .lp-footer { padding: 34px 28px 38px; }
}


/* icon refinement */

.mini-icon,
.method-icon,
.nalu-icon { line-height: 0; }
.mini-icon svg,
.method-icon svg,
.nalu-icon svg {
  display: block;
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.mini-icon {
  color: var(--blue);
  background: linear-gradient(180deg, #f4fbfc 0%, #eef8ff 100%);
}
.mini-card:nth-child(1) .mini-icon,
.mini-card:nth-child(3) .mini-icon { color: #2a72c8; }
.use-list .mini-card:nth-child(1) .mini-icon svg circle:last-of-type,
.use-list .mini-card:nth-child(3) .mini-icon svg circle:last-of-type { stroke: var(--teal); }
.method-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}
.method-card--test .method-icon { color: var(--blue); }
.method-head span.method-icon {
  font-size: 0;
  font-weight: 400;
}
.nalu-icon {
  color: #fff;
}
.nalu-icon svg {
  width: 23px;
  height: 23px;
  stroke-width: 2.2;
}
@media (min-width: 900px) {
  .mini-icon svg { width: 34px; height: 34px; }
  .method-icon svg { width: 30px; height: 30px; }
  .nalu-icon svg { width: 26px; height: 26px; }
}

/* ===== Common Footer ===== */
/* 既存のfooter CSSより後ろに追記してください。style.cssを丸ごと上書きしないこと。 */

.common-footer {
  padding: 32px 22px 34px;
  background: #f8fbff;
  border-top: 1px solid rgba(232, 238, 247, .9);
}

.common-footer .footer-inner {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.common-footer .footer-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.common-footer .footer-brand img {
  display: block;
  width: auto;
  height: 24px;
}

.common-footer .footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 26px;
}

.common-footer .footer-group {
  display: grid;
  gap: 10px;
  align-content: start;
}

.common-footer .footer-heading {
  margin: 0 0 2px;
  color: var(--navy);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 900;
  letter-spacing: .08em;
}

.common-footer .footer-group a {
  color: #516173;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: .04em;
}

.common-footer .footer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, 300px);
  height: 48px;
  margin: 0 auto 22px;
  border-radius: 999px;
  background: var(--green, #16a34a);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(22, 163, 74, .24);
}

.common-footer .footer-cta::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.common-footer .footer-copy {
  margin: 0;
  color: #7b8794;
  text-align: center;
  font-size: 10px;
  line-height: 1.6;
  font-weight: 700;
}

@media (min-width: 900px) {
  .common-footer {
    padding: 42px 28px 44px;
  }

  .common-footer .footer-inner {
    display: grid;
    grid-template-columns: 180px 1fr 300px;
    grid-template-areas:
      "brand nav cta"
      "copy copy copy";
    align-items: start;
    column-gap: 42px;
    row-gap: 26px;
  }

  .common-footer .footer-brand {
    grid-area: brand;
    justify-content: flex-start;
    margin-bottom: 0;
    padding-top: 2px;
  }

  .common-footer .footer-brand img {
    height: 26px;
  }

  .common-footer .footer-nav {
    grid-area: nav;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    gap: 34px;
    margin-bottom: 0;
  }

  .common-footer .footer-heading {
    font-size: 14px;
  }

  .common-footer .footer-group a {
    font-size: 13px;
  }

  .common-footer .footer-cta {
    grid-area: cta;
    width: 300px;
    height: 50px;
    margin: 0;
    justify-self: end;
    font-size: 14px;
  }

  .common-footer .footer-copy {
    grid-area: copy;
    text-align: center;
  }
}

/* ===== Voice Section refined ===== */
/* 各LPの style.css の末尾に追記してください。前回の Voice Section CSS より後ろに貼れば上書きされます。 */

.voice-section {
  padding: 38px 18px 0;
  background: #fff;
}

.voice-inner {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.voice-title {
  display: block;
  margin: 0 0 8px;
  color: var(--navy, #081f3f);
  text-align: center;
  font-size: 21px;
  line-height: 1.45;
  font-weight: 900;
  letter-spacing: .08em;
}

.voice-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin: 9px auto 0;
  background: var(--teal, #00a7a7);
  border-radius: 999px;
}

.voice-lead {
  margin: 0 auto 18px;
  color: #516173;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.8;
  font-weight: 800;
}

.voice-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.voice-card {
  position: relative;
  padding: 18px 16px 16px;
  border: 1px solid rgba(232, 238, 247, .95);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(8, 31, 63, .08);
}

.voice-label {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin: 0 0 12px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef9fb;
  color: var(--teal, #00a7a7);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: .06em;
}

.voice-label--student {
  background: #eef6ff;
  color: var(--blue, #0057c8);
}

.voice-card h3 {
  position: relative;
  margin: 0 0 12px;
  padding-left: 20px;
  color: var(--navy, #081f3f);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 900;
  letter-spacing: .04em;
}

.voice-card h3::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -7px;
  color: var(--teal, #00a7a7);
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.voice-text {
  margin: 0;
  color: #344256;
  font-size: 11.5px;
  line-height: 1.85;
  font-weight: 800;
}

.voice-meta {
  margin: 14px 0 0;
  padding-top: 11px;
  border-top: 1px dashed rgba(0, 87, 200, .18);
  color: #7b8794;
  font-size: 10.5px;
  line-height: 1.5;
  font-weight: 900;
  letter-spacing: .06em;
}

@media (min-width: 900px) {
  .voice-section {
    padding: 54px 28px 0;
  }

  .voice-title {
    margin-bottom: 10px;
    font-size: 25px;
  }

  .voice-title::after {
    width: 64px;
    margin-top: 10px;
  }

  .voice-lead {
    margin-bottom: 26px;
    font-size: 13px;
  }

  .voice-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

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

  .voice-label {
    margin-bottom: 16px;
    font-size: 12px;
  }

  .voice-card h3 {
    margin-bottom: 16px;
    padding-left: 24px;
    font-size: 20px;
    line-height: 1.55;
  }

  .voice-card h3::before {
    top: -8px;
    font-size: 36px;
  }

  .voice-text {
    font-size: 13px;
  }

  .voice-meta {
    margin-top: 18px;
    padding-top: 13px;
    font-size: 11px;
  }
}
