/* ============================================
   Kanarie - AGA・ED Online Clinic LP
   Matching levcli.jp design language
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #1a1a2e;
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.pc-only { display: none; }
.sp-only { display: inline; }
@media (min-width: 768px) {
  .pc-only { display: inline; }
  .sp-only { display: none; }
}

/* ---------- Section Common ---------- */
.section-en {
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: #3B63F6;
  margin-bottom: 8px;
}

.section-heading {
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  color: #1a1a2e;
  margin-bottom: 20px;
  line-height: 1.4;
}

.section-sub-desc {
  text-align: center;
  color: #555;
  font-size: 15px;
  margin-bottom: 48px;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .section-heading { font-size: 36px; }
}

/* ---------- CTA Buttons ---------- */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 900;
  font-size: 18px;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  padding: 20px 56px;
}

.cta-btn-line {
  background: #06C755;
  color: #fff;
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.35);
}

.cta-btn-line:hover {
  background: #05a84a;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(6, 199, 85, 0.45);
}

.cta-btn-lg {
  font-size: 20px;
  padding: 24px 64px;
}

.section-cta {
  text-align: center;
  margin-top: 56px;
  margin-bottom: 20px;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
}

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

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #06C755;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 60px;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(6, 199, 85, 0.25);
}

.header-cta-btn:hover {
  background: #05a84a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(6, 199, 85, 0.35);
}

@media (min-width: 768px) {
  .header-inner { height: 72px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: #3B63F6;
  padding-top: 112px;
  padding-bottom: 80px;
  overflow: visible;
}

.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px 60px;
  position: relative;
  z-index: 2;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-heading {
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 32px;
}

.hero-heading span {
  font-size: 1.1em;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #1a1a2e;
  font-size: 16px;
  font-weight: 900;
  padding: 18px 40px;
  border-radius: 60px;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hero-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Hero Feature Badges Bar */
.hero-badges {
  position: relative;
  z-index: 3;
  margin-top: -40px;
}

.hero-badges-inner {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  display: flex;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.hero-badge-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  text-align: center;
  line-height: 1.5;
  border-right: 1px solid #eee;
}

.hero-badge-item:last-child {
  border-right: none;
}

.hero-badge-item img {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 140px;
    padding-bottom: 100px;
  }
  .hero-heading {
    font-size: 52px;
  }
  .hero-cta-btn {
    font-size: 18px;
    padding: 20px 48px;
  }
  .hero-badge-item {
    padding: 28px 24px;
    font-size: 16px;
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .hero-heading { font-size: 60px; }
}

/* ---------- Price Banners ---------- */
.price-banners {
  padding: 56px 0 32px;
  background: #f0f3f7;
}

.price-banners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.price-banner {
  background: #fff;
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: 2px solid #e8ecf2;
  transition: transform 0.3s, box-shadow 0.3s;
}

.price-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.price-banner-label {
  display: inline-block;
  background: #3B63F6;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 16px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.label-purple { background: #7C3AED; }

.price-banner-name {
  font-size: 14px;
  color: #555;
  margin-bottom: 4px;
}

.price-banner-price {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.price-num {
  font-size: 42px;
  font-weight: 900;
  color: #3B63F6;
  letter-spacing: -0.02em;
}

.price-banner-ed .price-num { color: #7C3AED; }

.price-unit {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
}

@media (min-width: 768px) {
  .price-banners-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- About ---------- */
.about {
  padding: 100px 0 80px;
  background: #f0f3f7;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.about-img {
  position: relative;
}

.about-img::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 80%;
  height: 80%;
  background: #3B63F6;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.1;
}

.about-img img {
  position: relative;
  z-index: 1;
  max-width: 320px;
}

.about-catch {
  font-size: 32px;
  font-weight: 900;
  color: #3B63F6;
  line-height: 1.5;
  margin-bottom: 28px;
}

.about-text p {
  color: #333;
  font-size: 15px;
  line-height: 2;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }
  .about-img img { max-width: 380px; }
  .about-catch { font-size: 42px; }
  .about-text p { font-size: 16px; }
}

/* ---------- Feature Section ---------- */
.feature-section {
  padding: 40px 0 20px;
  background: #f0f3f7;
}

.feature-card {
  background: #fff;
  border-radius: 24px;
  padding: 48px 32px 56px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  position: relative;
}

.feature-badge-wrap {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  top: -72px;
  margin-bottom: -48px;
}

.feature-badge-wrap .feature-badge-label {
  display: block;
  font-size: 14px;
  font-weight: 900;
  color: #3B63F6;
  margin-bottom: -4px;
}

.feature-badge-wrap .feature-badge-num {
  display: inline-block;
  font-size: 48px;
  font-weight: 900;
  color: #3B63F6;
  background: #fff;
  width: 96px;
  height: 96px;
  line-height: 96px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(59, 99, 246, 0.12);
  text-align: center;
}

.feature-card-title {
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  color: #1a1a2e;
  margin-bottom: 16px;
  line-height: 1.4;
}

.feature-card-divider {
  width: 100%;
  height: 1px;
  background: #e8ecf2;
  margin-bottom: 48px;
}

/* Trouble section */
.trouble-heading {
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  color: #1a1a2e;
  margin-bottom: 36px;
}

.trouble-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.trouble-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.trouble-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
}

.trouble-img img {
  max-width: 240px;
}

.solution-arrow {
  text-align: center;
  margin: 40px 0 32px;
}

.solution-heading {
  text-align: center;
  font-size: 22px;
  font-weight: 900;
  color: #3B63F6;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* Solution cards */
.solution-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.solution-card {
  text-align: center;
  padding: 32px 24px;
  border: 1px solid #e8ecf2;
  border-radius: 16px;
}

.solution-card-icon {
  margin: 0 auto 20px;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-card h4 {
  font-size: 18px;
  font-weight: 900;
  color: #1a1a2e;
  margin-bottom: 12px;
  line-height: 1.5;
}

.solution-card h4 strong {
  color: #3B63F6;
  font-size: 22px;
}

.solution-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}

.delivery-banner {
  margin-top: 32px;
  background: #dde4f6;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  color: #3B63F6;
  letter-spacing: 0.08em;
}

@media (min-width: 768px) {
  .feature-card {
    padding: 48px 56px 64px;
  }
  .feature-card-title { font-size: 36px; }
  .trouble-heading { font-size: 28px; }
  .trouble-content {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 48px;
  }
  .trouble-item { font-size: 20px; }
  .solution-heading { font-size: 26px; }
  .solution-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* ---------- Plan table ---------- */
.plan-intro {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.plan-intro-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.plan-desc {
  text-align: center;
  color: #555;
  font-size: 15px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.plan-table {
  max-width: 700px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8ecf2;
}

.plan-table-header {
  padding: 14px 24px;
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}

.plan-table-header-blue { background: #3B63F6; }
.plan-table-header-purple { background: #7C3AED; }

.plan-table-body {
  background: #fff;
}

.plan-table-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #f0f3f7;
  gap: 12px;
  flex-wrap: wrap;
}

.plan-table-row:last-child { border-bottom: none; }

.plan-table-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  flex-wrap: wrap;
}

.plan-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 12px;
  border-radius: 50px;
  background: #e8f0fe;
  color: #3B63F6;
  white-space: nowrap;
}

.plan-tag-orange { background: #fff3e0; color: #e65100; }
.plan-tag-purple { background: #f3e5f5; color: #7C3AED; }

.plan-table-price {
  font-size: 14px;
  color: #555;
  white-space: nowrap;
}

.plan-table-price strong {
  font-size: 28px;
  font-weight: 900;
  color: #3B63F6;
}

.plan-table-header-purple + .plan-table-body .plan-table-price strong {
  color: #7C3AED;
}

.plan-note {
  text-align: center;
  font-size: 13px;
  color: #888;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .plan-table-name { font-size: 16px; }
  .plan-table-price strong { font-size: 32px; }
}

/* ---------- Flow ---------- */
.flow-section {
  padding: 100px 0 60px;
  background: #fff;
}

.flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 60px;
}

.flow-step {
  text-align: center;
  padding: 16px 12px;
}

.flow-step-badge {
  width: 80px;
  height: 80px;
  margin: 0 auto 12px;
  background: #f0f3f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-step h3 {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.5;
}

.flow-step-arrow {
  display: flex;
  align-items: center;
}

.flow-details {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.flow-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  background: #f8f9fc;
  border-radius: 20px;
  padding: 40px 32px;
}

.flow-detail-img img {
  max-width: 200px;
}

.flow-detail-num {
  font-size: 36px;
  font-weight: 900;
  color: #3B63F6;
  margin-bottom: 8px;
}

.flow-detail-text h4 {
  font-size: 20px;
  font-weight: 900;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.flow-detail-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.9;
}

@media (min-width: 768px) {
  .flow-detail {
    flex-direction: row;
    gap: 48px;
    padding: 48px;
  }
  .flow-detail:nth-child(even) {
    flex-direction: row-reverse;
  }
  .flow-detail-img img { max-width: 260px; }
  .flow-detail-text h4 { font-size: 24px; }
}

/* ---------- Results ---------- */
.results-section {
  padding: 100px 0 80px;
  background: #f0f3f7;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.result-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.result-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.result-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.result-img-wrap img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.result-label {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: 50px;
  color: #fff;
}

.label-before { background: #94a3b8; }
.label-after { background: #3B63F6; }

.results-note {
  text-align: center;
  font-size: 13px;
  color: #888;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .results-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .result-pair {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .result-img-wrap img { height: 180px; }
}

/* ---------- FAQ ---------- */
.faq-section {
  padding: 100px 0;
  background: #fff;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e8ecf2;
}

.faq-item:first-child { border-top: 1px solid #e8ecf2; }

.faq-q {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 24px 8px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-q:hover { color: #3B63F6; }

.faq-q span { flex: 1; }

.faq-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.faq-chevron {
  flex-shrink: 0;
  color: #aaa;
  transition: transform 0.3s ease, color 0.3s;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: #3B63F6;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0 8px;
}

.faq-item.active .faq-a {
  max-height: 400px;
  padding-bottom: 24px;
}

.faq-a p {
  font-size: 15px;
  color: #555;
  line-height: 1.9;
  padding-top: 4px;
}

@media (min-width: 768px) {
  .faq-q { font-size: 18px; }
}

/* ---------- Footer CTA ---------- */
.footer-cta {
  background: #3B63F6;
}

.footer-cta-bg {
  padding: 80px 24px;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.footer-cta-sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
}

.footer-cta-heading {
  color: #fff;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .footer-cta-bg { padding: 100px 24px; }
  .footer-cta-heading { font-size: 42px; }
}

/* ---------- Footer ---------- */
.footer {
  background: #0d1b3e;
  color: #8899b8;
  padding: 48px 0 32px;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

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

.footer-nav a {
  font-size: 14px;
  color: #8899b8;
  transition: color 0.2s;
}

.footer-nav a:hover { color: #fff; }

.footer-copy {
  font-size: 12px;
  color: #556b8e;
}

/* ---------- Scroll Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Pulse for main CTA */
@keyframes pulse-glow {
  0% { box-shadow: 0 6px 20px rgba(6, 199, 85, 0.35); }
  50% { box-shadow: 0 6px 32px rgba(6, 199, 85, 0.6); }
  100% { box-shadow: 0 6px 20px rgba(6, 199, 85, 0.35); }
}

.cta-btn-lg { animation: pulse-glow 2.5s ease-in-out infinite; }
.cta-btn-lg:hover { animation: none; }
