/* ========================================
  Section: Why (OUR MECHANISM)
  - Fade-in: same method as other sections
    JS adds .is-inview to .section-why
======================================== */

.section-why{
  position: relative;
  padding-block: clamp(64px, 9vw, 112px);
  background: var(--bg-soft, #fbf7ff);
  overflow: hidden;
}

.section-why__inner{
  width: min(var(--maxw, 1120px), calc(100% - 2rem));
  margin-inline: auto;
}

.section-why__head{
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section-why__kicker{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .5rem 1.05rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .08em;
  font-size: .72rem;
  color: #c75b7a;
  background: rgba(255, 210, 224, 0.65);
  border: 1px solid rgba(199, 91, 122, 0.18);
  margin: 0 0 14px;
}

.section-why__title{
  margin: 0;
  font-size: clamp(1.75rem, 2.4vw + 1rem, 2.65rem);
  line-height: 1.18;
  letter-spacing: .02em;
  color: var(--text, #2a2a2f);
}

.section-why__lead{
  margin: 18px auto 0;
  max-width: 68ch;
  font-size: clamp(.95rem, .55vw + .85rem, 1.05rem);
  line-height: 1.95;
  color: #b05674; /* 画像の淡いローズ寄せ */
}

.section-why__cards{
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  grid-template-columns: 1fr;
}

@media (min-width: 760px){
  .section-why__cards{
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-card{
  position: relative;
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(42,42,47,0.08);
  border-radius: 16px;
  padding: clamp(18px, 2.2vw, 24px);
  min-height: 150px;
  text-align: center;
  box-shadow: 0 14px 28px rgba(42,42,47,0.06);
  backdrop-filter: blur(4px);

  /* fade-in initial */
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
  transition-delay: var(--d, 0ms);
}

.why-card__icon{
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  color: #cf4f73;
  background: rgba(255, 210, 224, 0.55);
  border: 1px solid rgba(207, 79, 115, 0.16);
}

.why-card__title{
  margin: 0;
  font-size: clamp(1.02rem, .55vw + .95rem, 1.12rem);
  letter-spacing: .03em;
  color: var(--text, #2a2a2f);
}

.why-card__text{
  margin: 10px auto 0;
  max-width: 24ch;
  font-size: .92rem;
  line-height: 1.85;
  color: #b05674;
}

/* Inview */
.section-why.is-inview .why-card{
  opacity: 1;
  transform: translateY(0);
}


/* ========================================
  Points (POINT 01-03)
  - 画像は枠のみ表示
  - 2段目のみ白背景（全幅）
======================================== */

.section-why__points{
  margin-top: clamp(40px, 34.286px + 1.786vw, 80px);;
  display: grid;
  gap: clamp(44px, 7vw, 84px);
}

.why-point{
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;

  /* fade-in initial */
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 640ms ease,
    transform 640ms ease;
}

@media (min-width: 900px){
  .why-point{
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 64px);
  }

  .why-point--reverse .why-point__media{ order: 2; }
  .why-point--reverse .why-point__body{ order: 1; }
}

/* 2段目：白背景を全幅で敷く */
.why-point:nth-child(2)::before{
  content: "";
  position: absolute;
  inset: -24px 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: #fff;
}

.why-point:nth-child(2){
  padding-block: clamp(18px, 2.5vw, 28px);
}

.why-point__media,
.why-point__body{ position: relative; z-index: 1; }

.why-media__frame{
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(42,42,47,0.10);
  box-shadow: 0 18px 34px rgba(42,42,47,0.08);

  display: grid;
  place-items: center;
  text-align: center;
}

@media (min-width: 900px){
  .why-media__frame{
    max-width: 560px;
  }
  .why-point--reverse .why-media__frame{
    margin-left: auto;
  }
}

/* ========================================
  Image placeholder (with size hint)
======================================== */
.why-media__placeholder{
  display: grid;
  gap: .35rem;
  padding: .75rem 1.2rem;
  border-radius: 14px;
  border: 1px dashed rgba(42,42,47,0.28);
  background: rgba(255,255,255,0.65);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
}
.why-media__ph-title{
  font-weight: 800;
  letter-spacing: .08em;
  font-size: .95rem;
  color: rgba(42,42,47,0.75);
}
.why-media__ph-size{
  font-size: .78rem;
  letter-spacing: .06em;
  color: rgba(42,42,47,0.5);
}


.why-point__kicker{
  margin: 0 0 10px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: #cf4f73;
}

.why-point__title{
  margin: 0;
  font-size: clamp(1.35rem, 1.2vw + 1.05rem, 1.95rem);
  line-height: 1.25;
  letter-spacing: .02em;
  color: var(--text, #2a2a2f);
}

.why-point__em{
  color: #cf4f73;
  font-weight: 800;
}

.why-point__text{
  margin: 14px 0 0;
  font-size: clamp(.95rem, .35vw + .9rem, 1.02rem);
  line-height: 2;
  /* color: var(--text-soft, #5d5f6a); */
  color: #B05674;
  font-weight: 500;
}

.why-point__badge{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 18px;
  padding: .6rem .95rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(42,42,47,0.08);
  font-weight: 700;
  font-size: .88rem;
  color: var(--text, #2a2a2f);
  box-shadow: 0 12px 24px rgba(42,42,47,0.06);
}

.why-badge__dot{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #cf4f73;
  position: relative;
}

.why-badge__dot::after{
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 3px;
  border: 2px solid rgba(255,255,255,0.92);
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) translateY(-1px);
}

.why-point__note{
  margin: 14px 0 0;
  font-size: .82rem;
  color: rgba(42,42,47,0.55);
}

.why-point__list{
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .6rem;
  font-size: .95rem;
  color: var(--text, #2a2a2f);
}

.why-point__list li{
  position: relative;
  padding-left: 1.1rem;
}

.why-point__list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #cf4f73;
}

/* Inview + stagger */
.section-why.is-inview .why-point{
  opacity: 1;
  transform: translateY(0);
}

.section-why.is-inview .why-point:nth-child(1){ transition-delay: 80ms; }
.section-why.is-inview .why-point:nth-child(2){ transition-delay: 200ms; }
.section-why.is-inview .why-point:nth-child(3){ transition-delay: 320ms; }






