/* Image placements within the existing RITA site template.
   The common header, navigation, page title, section headings and footer
   are intentionally owned only by the unchanged css/style.css. */
.rita-photo { margin: 0; overflow: hidden; border-radius: var(--radius); background: #f4f6f4; }
.rita-photo img { display: block; width: 100%; height: auto; }
.rita-photo-before-banner { margin-bottom: 20px; }
.rita-home-photo { margin: 0 auto 36px; max-width: 760px; }
.rita-home-photo img { aspect-ratio: 2 / 1; object-fit: cover; object-position: center 30%; }
.rita-philosophy-photo { margin: 0 auto 38px; max-width: 760px; }
.rita-philosophy-photo img { aspect-ratio: 2 / 1; object-fit: cover; object-position: center 55%; }
.rita-medroom-network { margin: 24px auto 34px; max-width: 960px; }
.rita-medroom-network img { width: 100%; height: auto; }
.checklist.rita-checklist { max-width: 940px; }
.checklist li .rita-worry-art { width: 108px; height: 108px; object-fit: contain; }
.rita-bosai-story { position: relative; isolation: isolate; border-radius: var(--radius); overflow: hidden; min-height: 490px; background: #eff7fb; }
.rita-bosai-story > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.rita-bosai-story::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(255,255,255,.94),rgba(255,255,255,.66) 35%,rgba(255,255,255,.08) 70%); }
.rita-bosai-story-copy { padding: 43px 44px 50px; }
.content-sec .rita-bosai-story .bosai-catch { text-align: left; font-size: clamp(26px,3.3vw,42px); line-height: 1.6; letter-spacing: .055em; font-weight: 500; }
.rita-bosai-story .lead2 { text-align: left; font-size: 17px; line-height: 2; letter-spacing: .06em; margin-top: 20px; }
.pillar .rita-pillar-photo { display: block; width: calc(100% + 40px); max-width: none; height: 130px; object-fit: cover; margin: -22px -20px 19px; border-radius: var(--radius) var(--radius) 0 0; }
.pillar .rita-pillar-approach { object-position: 90% bottom; }
.pillar .rita-pillar-community { object-position: center; }
.pillar .rita-pillar-future { object-position: center; }
@media (max-width:700px) {
  .rita-bosai-story { min-height: 0; display: flex; flex-direction: column; }
  .rita-bosai-story > img { position: static; z-index: auto; height: auto; aspect-ratio: 1.5 / 1; object-fit: cover; object-position: 80% bottom; order: 2; }
  .rita-bosai-story::before { display: none; }
  .rita-bosai-story-copy { padding: 28px 25px 25px; background: linear-gradient(145deg,#fff,#f1f8fd); }
  .content-sec .rita-bosai-story .bosai-catch { font-size: clamp(25px,6.7vw,36px); line-height: 1.7; }
  .rita-bosai-story .lead2 { font-size: 16px; line-height: 1.95; margin-top: 16px; }
  .rita-home-photo img, .rita-philosophy-photo img { aspect-ratio: 1.5 / 1; }
  .rita-medroom-network { margin: 20px 0 28px; }
  .checklist li .rita-worry-art { width: 86px; height: 86px; }
}
