/* Page-specific presentation for the three-part "1日の流れ" page. */
.oneday_tab_area {
  max-width: 980px;
}

.oneday_tab_area .tab_menu_list .tab_item {
  min-width: 0;
}

.oneday_tab_area .tab_menu_list .tab_item[data-tab="tab_nurse_life"].active {
  border-color: #087c80 !important;
  background: #087c80 !important;
}

.nurse-life-story {
  box-sizing: border-box;
  width: calc(100% - 32px);
  max-width: 1120px;
  margin: 0 auto 84px;
  color: #17384a;
}

.nurse-life-story__hero {
  overflow: hidden;
  max-width: 54rem;
  margin: 0 auto;
  border: 1px solid #d6ebec;
  border-radius: 24px;
  background: #edf8f7;
  box-shadow: 0 18px 44px rgba(8, 124, 128, 0.12);
}

.nurse-life-story__copy {
  max-width: 43rem;
  margin: 0 auto;
  padding: clamp(2.6rem, 5vw, 4.1rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}

.nurse-life-story__eyebrow,
.nurse-life-story__flow-head > p {
  margin: 0 0 0.75rem;
  color: #087c80;
  font-family: Arial, sans-serif;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.main_content .content_body .nurse-life-story h2.nurse-life-story__title {
  width: auto;
  margin: 0 0 1.35rem;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #17384a !important;
  font-size: clamp(1.75rem, 3.25vw, 2.65rem);
  line-height: 1.38;
}

.main_content .content_body .nurse-life-story h2.nurse-life-story__title::after {
  content: none !important;
  display: none !important;
}

.nurse-life-story__copy > p:not(.nurse-life-story__eyebrow) {
  margin: 0;
  color: #45616e;
  font-size: 0.97rem;
  line-height: 2;
}

.main_content .content_body .nurse-life-story__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.main_content .content_body .nurse-life-story__facts li {
  display: grid;
  gap: 0.2rem;
  min-width: 8.6rem;
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
}

.main_content .content_body .nurse-life-story__facts li::before {
  content: none !important;
  display: none !important;
}

#tab_nurse_life .nurse-life-story__facts,
#tab_nurse_life .nurse-life-story__steps {
  margin: 0;
  padding: 0 !important;
  list-style: none;
}

#tab_nurse_life .nurse-life-story__steps > li {
  padding-left: 0 !important;
}

#tab_nurse_life .nurse-life-story__facts li::before,
#tab_nurse_life .nurse-life-story__steps > li::before {
  content: none !important;
  display: none !important;
}

#tab_nurse_life .nurse-life-story__facts li {
  min-width: 12.2rem;
  margin: 0;
  padding: 1.1rem 1.3rem 1.15rem !important;
}

.nurse-life-story__facts strong {
  display: block;
  color: #087c80;
  font-size: 0.74rem;
  line-height: 1.45;
}

.nurse-life-story__facts span {
  display: block;
  margin-top: 0.3rem;
  color: #17384a;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.nurse-life-story__flow {
  margin-top: clamp(3.5rem, 8vw, 6rem);
}

.nurse-life-story__flow-head {
  margin-bottom: 1.7rem;
  text-align: center;
}

.main_content .content_body .nurse-life-story__flow h3 {
  display: inline-block;
  margin: 0;
  padding: 0 0 0.7rem;
  border-bottom: 2px solid #b9e2e1 !important;
  color: #17384a !important;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
}

.main_content .content_body .nurse-life-story__flow h3::before {
  content: none !important;
  display: none !important;
}

.main_content .content_body .nurse-life-story__flow h3::after {
  content: none !important;
  display: none !important;
}

.main_content .content_body .nurse-life-story__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 980px;
  margin-right: auto !important;
  margin-left: auto !important;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.main_content .content_body .nurse-life-story__steps > .nurse-life-story__step {
  --story-accent: #087c80;
  --story-accent-deep: #05666a;
  --story-accent-soft: #cceceb;
  display: grid;
  grid-template-columns: minmax(8rem, 0.78fr) minmax(0, 1fr);
  overflow: hidden;
  min-height: 11.6rem;
  margin: 0;
  padding: 0;
  border: 1px solid #dce8ec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 56, 74, 0.08);
  letter-spacing: normal;
}

.main_content .content_body .nurse-life-story__step--duty {
  --story-accent: #2f9948;
  --story-accent-deep: #217838;
  --story-accent-soft: #cfeecf;
}

.main_content .content_body .nurse-life-story__step--leave {
  --story-accent: #197faf;
  --story-accent-deep: #12648c;
  --story-accent-soft: #ccebf4;
}

.main_content .content_body .nurse-life-story__step--home {
  --story-accent: #bd5b80;
  --story-accent-deep: #974361;
  --story-accent-soft: #f5d9e4;
}

.main_content .content_body .nurse-life-story__step--rest {
  --story-accent: #6655a9;
  --story-accent-deep: #4d3d8e;
  --story-accent-soft: #ddd8f4;
}

.main_content .content_body .nurse-life-story__steps > .nurse-life-story__step::before {
  content: none !important;
  display: none !important;
}

.nurse-life-story__step figure {
  min-height: 100%;
  margin: 0;
  background: #e6f3f5;
}

.nurse-life-story__step img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nurse-life-story__step > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem;
}

.nurse-life-story__step time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 3.65rem;
  height: 3.65rem;
  margin: 0 0 0.8rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--story-accent);
  box-shadow: 0 0.35rem 0.9rem color-mix(in srgb, var(--story-accent) 30%, transparent);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.main_content .content_body .nurse-life-story__step h4 {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 0.85rem;
  padding: 0.34rem 0.8rem 0.38rem !important;
  border: 1px solid var(--story-accent) !important;
  border-radius: 0.7rem !important;
  background: #fff !important;
  box-shadow: 0.42rem 0.42rem 0 var(--story-accent-soft) !important;
  color: var(--story-accent-deep) !important;
  font-size: 1rem;
  line-height: 1.55;
}

.main_content .content_body .nurse-life-story__step h4::before,
.main_content .content_body .nurse-life-story__step h4::after {
  content: none !important;
  display: none !important;
}

.nurse-life-story__step p {
  margin: 0;
  color: #59727d;
  font-size: 0.85rem;
  line-height: 1.75;
}

@media (max-width: 767px) {
  .oneday_tab_area {
    max-width: 34rem;
  }

  .oneday_tab_area .tab_menu_list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oneday_tab_area .tab_menu_list .tab_item[data-tab="tab_nurse_life"] {
    grid-column: 1 / -1;
  }

  .nurse-life-story {
    width: min(100% - 24px, 36rem);
    margin-bottom: 56px;
  }

  .nurse-life-story__copy {
    padding: 2rem 1.35rem;
  }

  .main_content .content_body .nurse-life-story__steps {
    grid-template-columns: 1fr;
  }

  .main_content .content_body .nurse-life-story__steps > .nurse-life-story__step {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .nurse-life-story__step figure {
    height: clamp(12.5rem, 62vw, 17rem);
    min-height: 0;
  }

  .nurse-life-story__step--locker figure,
  .nurse-life-story__step--security figure {
    background: #f4f8f9;
  }

  .nurse-life-story__step--locker img,
  .nurse-life-story__step--security img {
    object-fit: contain;
  }

  .nurse-life-story__step > div {
    padding: 1rem;
  }
}
