/* ============================================
   タイピング英語® LP — Sections Styles
   Solution · Results · Method · Products
   ============================================ */

/* ============================================
   SOLUTION SECTION
   ============================================ */
.solution-section {
  position: relative;
  padding: 7rem 1.5rem 6rem;
  background:
    radial-gradient(ellipse at top, var(--blue-bg-2), var(--blue-bg) 60%, var(--white));
  overflow: hidden;
}
.solution-section::before {
  content: ''; position: absolute;
  top: 2.5rem; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 60px;
  background: linear-gradient(180deg, transparent, var(--blue));
  pointer-events: none;
}
.solution-section::after {
  content: '↓';
  position: absolute;
  top: 5.5rem; left: 50%;
  transform: translateX(-50%);
  color: var(--blue);
  font-size: 1.6rem;
  font-weight: 800;
  pointer-events: none;
}
.solution-inner { max-width: 980px; margin: 0 auto; }

.solution-bridge { text-align: center; margin-bottom: 4rem; margin-top: 2.5rem; }
.solution-label {
  display: inline-block;
  font-family: 'Lexend', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--navy));
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 18px rgba(14,165,233,0.3);
}
.solution-title {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 900;
  line-height: 1.4;
  color: var(--navy);
}
.solution-title em {
  color: var(--gold);
  font-size: 1.1em;
  background: linear-gradient(transparent 64%, rgba(245,166,35,0.25) 64%);
  padding: 0 0.15em;
}
.solution-desc {
  margin-top: 1.5rem;
  color: var(--text-sub);
  font-size: 1rem;
  line-height: 1.9;
}

.solution-video { position: relative; }
.solution-video-label {
  text-align: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem;
}
.video-bubble-slash {
  color: var(--gold);
  font-weight: 900;
  font-size: 1.4rem;
}
.solution-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(12,74,110,0.25);
  border: 4px solid var(--white);
  background: var(--navy);
}
.solution-video-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .solution-section { padding: 6rem 1.25rem 3.5rem; }
  .solution-bridge { margin-bottom: 2rem; margin-top: 2rem; }
  .solution-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .solution-desc { font-size: 0.92rem; line-height: 1.8; margin-top: 1rem; }
  .solution-video-label { font-size: 0.98rem; margin-bottom: 0.85rem; }
  .solution-video-wrap { border-width: 3px; border-radius: var(--r-lg); }
  .solution-section::before { top: 2rem; height: 48px; }
  .solution-section::after { top: 4.5rem; font-size: 1.3rem; }
}

/* ============================================
   RESULTS SECTION
   ============================================ */
.results-section {
  position: relative;
  padding: 6rem 1.5rem 7rem;
  background: var(--white);
}
.results-inner { max-width: var(--container); margin: 0 auto; }

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.result-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.result-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.result-img {
  height: 260px;
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.result-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(245,166,35,0.15), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(14,165,233,0.25), transparent 50%);
  pointer-events: none;
}
.result-img img {
  position: relative;
  z-index: 1;
  width: 200px; height: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.result-img .img-placeholder { height: 100%; border-radius: 0; border: none; width: 100%; }
.result-body { padding: 1.6rem 1.5rem 1.8rem; }
.result-grade {
  display: inline-block;
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--blue);
  background: var(--blue-bg);
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
}
.result-achievement {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.8rem;
  line-height: 1.5;
}
.result-achievement em {
  color: var(--gold);
  background: linear-gradient(transparent 64%, rgba(245,166,35,0.22) 64%);
  padding: 0 0.1em;
}
.result-desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.8;
}

@media (max-width: 900px) {
  .results-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .results-section { padding: 3.5rem 1.25rem 4rem; }
}
@media (max-width: 768px) {
  .result-img { height: 220px; }
  .result-img img { width: 170px; height: 170px; }
  .result-body { padding: 1.25rem 1.25rem 1.5rem; }
  .result-achievement { font-size: 1.05rem; }
  .result-desc { font-size: 0.85rem; line-height: 1.75; }
}

/* ============================================
   METHOD BRIDGE
   ============================================ */
.method-bridge-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--blue-bg) 100%);
  padding: 3rem 1.5rem 4rem;
}
.method-bridge {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.bridge-bubble {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
  color: var(--white);
  border-radius: 28px;
  padding: 3rem 2rem 3rem;
  box-shadow: 0 16px 48px rgba(12,74,110,0.3);
  overflow: hidden;
  min-height: 200px;
  display: flex; align-items: center; justify-content: center;
}
.bridge-bubble::after {
  content: '';
  position: absolute;
  bottom: -22px; left: 50%;
  transform: translateX(-50%);
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-top: 22px solid var(--blue-dark);
}
.bridge-bubble-inner { position: relative; z-index: 2; }
.bridge-bubble-text {
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  font-weight: 800;
  line-height: 1.5;
}
.bridge-bubble-text em {
  color: var(--gold-light);
  font-size: 1.1em;
}
.bridge-bubble-text .num {
  display: inline-block;
  font-family: 'Lexend', sans-serif;
  font-weight: 900;
  color: var(--gold);
  font-size: 1.6em;
  margin: 0 0.05em;
  text-shadow: 0 4px 16px rgba(245,166,35,0.4);
}

.bridge-keys {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  opacity: 0.08;
  pointer-events: none;
  font-family: 'Lexend', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--white);
}

.bridge-illust {
  position: absolute;
  right: -20px; bottom: -10px;
  width: 160px; height: auto;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.3));
  opacity: 0.85;
}
.bridge-bubble-inner {
  position: relative; z-index: 2;
  text-align: center;
}

@media (max-width: 700px) {
  .bridge-illust { width: 110px; right: -14px; bottom: -8px; opacity: 0.5; }
}

@media (max-width: 768px) {
  .bridge-bubble { padding: 1.75rem 1.25rem 1.75rem; min-height: 160px; }
  .bridge-bubble-text { font-size: clamp(1.2rem, 5.2vw, 1.6rem); line-height: 1.55; }
  .method-bridge-section { padding: 2rem 1.25rem 2.5rem; }
}

/* ============================================
   METHOD SECTION (3 Reasons)
   ============================================ */
.method-section {
  background: var(--blue-bg);
  padding: 4rem 1.5rem 6rem;
}
.method-point {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0;
}
.method-point.reverse { direction: rtl; }
.method-point.reverse > * { direction: ltr; }

.method-point-body { padding: 1rem 0; }
.method-point-num {
  font-family: 'Lexend', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--blue);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: inline-flex; align-items: center; gap: 0.55rem;
}
.method-point-num::before {
  content: ''; width: 28px; height: 2px;
  background: var(--blue); border-radius: 2px;
}
.method-point-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 0.75rem;
}
.method-point-title em {
  color: var(--gold);
  font-size: 1.1em;
  background: linear-gradient(transparent 64%, rgba(245,166,35,0.22) 64%);
  padding: 0 0.1em;
}
.method-point-note {
  font-size: 0.72rem;
  color: var(--text-mute);
  margin-bottom: 1rem;
}
.method-point-desc {
  color: var(--text-sub);
  font-size: 0.98rem;
  line-height: 1.95;
  margin-bottom: 1.5rem;
}

.method-point-img {
  position: relative;
  height: 340px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}
.method-point-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Infographic (Reason 02) — match image bg color so no visible frame */
.method-point-img.infographic {
  background: #f47854;
  padding: 0;
}
.method-point-img.infographic img {
  object-fit: contain;
  width: 100%; height: 100%;
}
.method-point-img .img-placeholder { height: 100%; border-radius: 0; border: none; }

.method-divider {
  max-width: 280px;
  margin: 0 auto;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(12,74,110,0.15), transparent);
}

/* Speed compare bars */
.speed-compare {
  display: flex; flex-direction: column;
  gap: 0.75rem;
  background: var(--white);
  padding: 1.25rem 1.25rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}
.speed-row {
  display: grid;
  grid-template-columns: 80px 1fr 64px;
  align-items: center;
  gap: 0.75rem;
}
.speed-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-sub);
}
.speed-bar {
  height: 16px;
  background: var(--blue-bg-2);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.speed-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--navy));
  border-radius: 100px;
}
.speed-row.hi .speed-fill {
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  position: relative;
}
.speed-row.hi .speed-fill::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: shine 2.4s infinite;
}
@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.speed-val {
  font-family: 'Lexend', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
  text-align: right;
}
.speed-row.hi .speed-val { color: var(--gold-dark); }

/* Brain tags */
.brain-tags {
  display: flex; flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}
.bt {
  padding: 0.55rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text-body);
}
.bt.eye { border-color: var(--blue); color: var(--blue); }
.bt.ear { border-color: var(--blue); color: var(--blue); }
.bt.finger { border-color: var(--gold); color: var(--gold-dark); }
.bt.brain {
  background: linear-gradient(135deg, var(--navy), var(--blue-dark));
  color: var(--white);
  border-color: var(--navy);
}
.bt-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  color: var(--gold);
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Game pills */
.game-pills {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.gp {
  padding: 0.6rem 1rem;
  background: var(--gold-bg);
  color: var(--gold-dark);
  border: 1.5px solid rgba(245,166,35,0.35);
  border-radius: 100px;
  font-size: 0.85rem; font-weight: 700;
}

@media (max-width: 900px) {
  .method-point {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
  }
  .method-point.reverse { direction: ltr; }
  .method-point-img { height: 220px; order: -1; }
  .method-section { padding: 2.5rem 1.25rem 4rem; }
  .method-point-title { font-size: clamp(1.3rem, 5.5vw, 1.7rem); line-height: 1.4; }
  .method-point-desc { font-size: 0.92rem; line-height: 1.85; margin-bottom: 1.2rem; }
  .speed-row { grid-template-columns: 60px 1fr 56px; gap: 0.6rem; }
  .speed-label, .speed-val { font-size: 0.8rem; }
  .bt, .gp { font-size: 0.78rem; padding: 0.5rem 0.85rem; }
  .bt-plus { width: 20px; height: 20px; font-size: 0.95rem; }
  .brain-tags { gap: 0.45rem; }
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-section {
  position: relative;
  padding: 7rem 1.5rem 7rem;
  background: var(--white);
  overflow: hidden;
}
.products-inner { max-width: var(--container); margin: 0 auto; }

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.product-card {
  position: relative;
  padding: 2.25rem 2rem 2.25rem;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card.typpy {
  background: linear-gradient(180deg, var(--gold-bg), var(--white) 50%);
  border-color: rgba(245,166,35,0.25);
}
.product-card.eigo {
  background: linear-gradient(180deg, var(--blue-bg), var(--white) 50%);
  border-color: rgba(14,165,233,0.25);
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
}
.product-card.typpy::before {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.product-card.eigo::before {
  background: linear-gradient(90deg, var(--blue), var(--navy));
}

.product-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  align-self: flex-start;
  margin-bottom: 1rem;
}
.product-badge.gold { background: var(--gold); }
.product-card.typpy .product-badge { background: var(--gold); box-shadow: 0 4px 12px rgba(245,166,35,0.3); }
.product-card.eigo .product-badge { background: var(--blue); box-shadow: 0 4px 12px rgba(14,165,233,0.3); }

.product-name {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.product-target {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px dashed var(--border);
}
.product-screen {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: var(--gray-bg);
  box-shadow: inset 0 0 0 1px var(--border);
}
.product-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.product-screen .img-placeholder { height: 100%; }
.product-desc {
  color: var(--text-sub);
  line-height: 1.9;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.product-features {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 0.7rem;
}
.product-features li {
  display: flex; align-items: flex-start; gap: 0.7rem;
  font-size: 0.92rem; font-weight: 600;
  color: var(--text-body);
  line-height: 1.6;
}
.feature-check {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--white);
  margin-top: 1px;
}
.product-card.typpy .feature-check { background: var(--gold); }
.product-card.eigo .feature-check { background: var(--blue); }

@media (max-width: 900px) {
  .products-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .products-section { padding: 3.5rem 1.25rem 4rem; }
  .product-card { padding: 1.5rem 1.25rem; }
  .product-name { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .product-target { font-size: 0.8rem; margin-bottom: 1.1rem; padding-bottom: 1.1rem; }
  .product-desc { font-size: 0.9rem; line-height: 1.85; margin-bottom: 1.2rem; }
  .product-features { gap: 0.6rem; }
  .product-features li { font-size: 0.88rem; line-height: 1.55; }
  .feature-check { width: 20px; height: 20px; font-size: 0.7rem; }
}
