/* about.css
   レシプロ説明ページ用
*/

.page-hero {
  position: relative;
  min-height: 15rem;
  padding: 3.5rem 0 5rem;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background: url("../img/recipro.png") center/cover no-repeat;
  filter: brightness(.85);
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, .5) 0%, rgba(15, 23, 42, .1) 60%, rgba(248, 250, 252, 0) 100%);
  backdrop-filter: blur(1px);
}

/* 1) ここは flex にしない。元の position を戻す */
.page-hero__inner {
  position: relative;
  /* container がついてるので幅はそれでOK */
}

/* 2) カードだけ真ん中に置く */
.page-hero__card {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-radius: 1.5rem;
  padding: 2.5rem 2.25rem 2.25rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, .12);
  max-width: 52rem;
  margin: 1.25rem auto 0;   /* ← これでカードだけ中央寄せ */
}

.page-hero__title {
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  margin-bottom: .9rem;
}

.page-hero__text {
  color: #475569;
  line-height: 1.7;
}

/* benefit cards */
.benefit-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.benefit-card {
  border-radius: 1.5rem;
  padding: 2rem 2rem 2.3rem;
  box-shadow: var(--shadow-sm);
}

.benefit-card--soft {
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.benefit-card--line {
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.benefit-card__title {
  font-weight: 600;
  margin-bottom: 1.2rem;
}

/* bullet list */
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .85rem;
  color: #475569;
  font-size: .9rem;
}

.bullet-list li {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
}

.bullet-list li::before {
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 9999px;
  margin-top: .45rem;
  flex: 0 0 auto;
  background: #94a3b8;
}

.bullet-list--green li::before {
  background: #10b981;
}

.bullet-list--blue li::before {
  background: #0ea5e9;
}

/* steps */
.recipro-steps {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 768px) {
  .recipro-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.recipro-step {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, .12);
  border-radius: 1.35rem;
  padding: 1.4rem 1.25rem 1.7rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.recipro-step__number {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  margin: 0 auto 1rem;
  background: var(--color-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.recipro-step__number--green {
  background: #10b981;
}

.recipro-step__number--amber {
  background: #f59e0b;
}

.recipro-step__title {
  font-weight: 600;
  margin-bottom: .55rem;
}

.recipro-step__text {
  font-size: .82rem;
  color: #64748b;
  line-height: 1.6;
}

.recipro-note {
  text-align: center;
  font-size: .7rem;
  color: #94a3b8;
  margin-top: 2rem;
}

/* about panel */
.about-panel {
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, .15);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem 2.5rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1rem;
}

.about-panel p {
  margin-bottom: .2rem;
  color: #475569;
}

.about-highlight {
  margin-top: 1.2rem;
  background: linear-gradient(120deg, rgba(37, 99, 235, .12) 0%, rgba(241, 245, 249, 0) 65%);
  border: 1px solid rgba(37, 99, 235, .25);
  border-radius: 1.25rem;
  padding: 1.2rem 1.1rem 1.15rem;
}

.about-highlight__tag {
  display: inline-flex;
  gap: .35rem;
  align-items: center;
  font-size: .7rem;
  font-weight: 600;
  color: rgba(37, 99, 235, .8);
  text-transform: uppercase;
  margin-bottom: .35rem;
}

.about-highlight__lead {
  font-size: .9rem;
  color: #0f172a;
  line-height: 1.6;
}

.about-highlight__link {
  display: inline-flex;
  gap: .35rem;
  align-items: center;
  color: var(--color-primary);
  font-weight: 600;
}

.about-highlight__link:hover {
  text-decoration: underline;
}

/* アンカー位置ずれ防止 */
#about-recipro {
  scroll-margin-top: 5.3rem;
}

@media (min-width: 768px) {
  #about-recipro {
    scroll-margin-top: 6rem;
  }
}
/* 外側の説明カード（薄いブルー） */
.about-panel {
  background: #f3f6ff; /* ←ほんのり青 */
  border: 1px solid rgba(148, 163, 184, .1);
  border-radius: 1.5rem;
  padding: 2.5rem 2.5rem 2.3rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, .04);
  display: grid;
  gap: 1.25rem;
}

.about-panel__title {
  font-size: clamp(2rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: .02em;
}

.about-panel__text {
  color: #475569;
  line-height: 1.7;
  max-width: 60rem;
}

/* 中の強調ボックス */
.about-highlight {
  margin-top: .5rem;
  background: radial-gradient(circle at top, rgba(255,255,255,.85) 0%, rgba(243,246,255,1) 55%);
  border: 1px solid rgba(37, 99, 235, .15);
  border-radius: 1.25rem;
  padding: 1.25rem 1.35rem 1.2rem;
  display: grid;
  gap: .5rem;
}

.about-highlight--blue {
  background: linear-gradient(110deg, rgba(37,99,235,0.08) 0%, rgba(243,246,255,1) 55%, rgba(243,246,255,0) 100%);
}

.about-highlight__tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 600;
  color: #1d4ed8;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.about-highlight__lead {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.5;
}

.about-highlight__mark {
  background: rgba(255, 255, 255, .35);
  box-shadow: inset 0 -6px 0 rgba(59, 130, 246, .28);
}

.about-highlight__text {
  font-size: .9rem;
  color: #475569;
}

.about-highlight__link {
  display: inline-flex;
  gap: .35rem;
  align-items: center;
  color: #1d4ed8;
  font-weight: 600;
}

.about-highlight__link i {
  font-size: 1rem;
}

.about-highlight__link:hover {
  text-decoration: underline;
}

/* 小さめ画面の余白調整 */
@media (max-width: 767px) {
  .about-panel {
    padding: 1.7rem 1.3rem 1.5rem;
  }
  .about-panel__title {
    font-size: 1.6rem;
  }
  .about-highlight {
    padding: 1.05rem 1rem 1rem;
  }
}
