/* reasons.html 専用スタイル (カンプ 003 — 選ばれる5つの理由) */

.rs-page { overflow-x: clip; } /* 理由写真の背後の紺ブロックが画面端までブリードするため */

.rs-row {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}
.rs-row + .rs-row { margin-top: 80px; }
.rs-row--rev { grid-template-columns: 380px 1fr; }

.rs-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.rs-num {
  flex: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 74px;
  line-height: 1;
  color: var(--gold);
}
.rs-head h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 29px;
  color: var(--navy);
  line-height: 1.6;
}
.rs-body {
  margin-top: 20px;
  font-size: 16px;
  line-height: 2;
}
.rs-btn { margin-top: 28px; }

.rs-photo { position: relative; }
.rs-photo img { width: 100%; height: auto; }
.rs-photo::after {
  content: "";
  position: absolute;
  z-index: -1;
  background: var(--navy);
  top: 50px;
  height: 205px;
  width: 60vw;
}
.rs-photo--bleed-r::after { left: 30px; }
.rs-photo--bleed-l::after { right: 30px; }

@media (max-width: 768px) {
  .rs-row, .rs-row--rev { grid-template-columns: 1fr; gap: 22px; }
  .rs-row + .rs-row { margin-top: 56px; }
  .rs-photo { order: 3; } /* SP は番号・見出し・本文の下に写真 */
  .rs-head { flex-direction: column; align-items: center; gap: 4px; text-align: center; }
  .rs-num { font-size: 54px; }
  .rs-head h2 { font-size: 22px; }
  .rs-body { margin-top: 4px; font-size: 15px; }
  .rs-photo::after { top: 20px; bottom: -16px; height: auto; width: 82vw; }
  .rs-photo--bleed-r::after { left: auto; right: -24px; }
  .rs-photo--bleed-l::after { right: auto; left: -24px; }
}
