/*
 * page-ainomori-profile.css
 * あいのもり保育園の概要ページ
 * TOPページのトンマナに合わせた下層ページ用CSS
 */

.om-subpage {
  background:
    radial-gradient(circle at 8% 12%, rgba(245, 138, 173, .08), transparent 20%),
    radial-gradient(circle at 92% 18%, rgba(126, 200, 246, .08), transparent 18%),
    #ffffff !important;
}

.om-sub-hero {
  position: relative;
  padding: 70px 0 34px;
}

.om-sub-hero__inner {
  position: relative;
  z-index: 3;
  min-height: 260px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 40px;
  padding: 48px 56px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 92% 18%, rgba(245, 138, 173, .14), transparent 24%),
    radial-gradient(circle at 82% 82%, rgba(126, 200, 246, .12), transparent 24%),
    linear-gradient(120deg, #ffffff 0%, #fff7fb 58%, #eaf8ff 100%);
  border: 1px solid rgba(240, 232, 223, .88);
  box-shadow: 0 14px 34px rgba(116, 88, 63, .08);
  overflow: hidden;
}

.om-sub-hero__label {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 6px 14px;
  border-radius: 999px;
  color: #ee729c;
  background: #fff1f6;
  border: 1px solid rgba(245, 138, 173, .20);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
}

.om-sub-hero h1 {
  margin: 0 0 16px;
  color: #4b372e;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: .04em;
}

.om-sub-hero__copy p:not(.om-sub-hero__label) {
  margin: 0;
  color: #66564c;
  font-weight: 800;
  line-height: 2;
}

.om-sub-hero__deco {
  position: relative;
  min-height: 190px;
}

.om-sub-deco {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-weight: 900;
  animation: omSoftBob 5.2s ease-in-out infinite alternate;
}

.om-sub-deco--heart {
  right: 48px;
  top: 20px;
  width: 116px;
  height: 116px;
  color: #ee729c;
  background: #fff1f6;
  font-size: 66px;
}

.om-sub-deco--note {
  left: 34px;
  bottom: 22px;
  width: 78px;
  height: 78px;
  color: #55aee2;
  background: #eaf8ff;
  font-size: 44px;
  animation-delay: -.8s;
}

.om-sub-deco--circle {
  right: 152px;
  bottom: 10px;
  width: 56px;
  height: 56px;
  background: #ffd95b;
  opacity: .72;
  animation-delay: -1.4s;
}

.om-sub-nav {
  position: relative;
  z-index: 4;
  padding: 0 0 18px;
}

.om-sub-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.om-sub-nav li {
  list-style: none;
}

.om-sub-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: 999px;
  color: #5b4b42;
  background: #ffffff;
  border: 1px solid #f0e8df;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(116, 88, 63, .06);
  text-decoration: none;
}

.om-sub-nav a.is-current,
.om-sub-nav a:hover {
  color: #ffffff !important;
  background: linear-gradient(180deg, #f79cba 0%, #ee729c 100%);
}

.om-breadcrumb {
  position: relative;
  z-index: 4;
  padding: 0 0 26px;
  color: #8a7a70;
  font-size: 13px;
  font-weight: 700;
}

.om-breadcrumb .om-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.om-breadcrumb a {
  color: #55aee2;
  text-decoration: none;
}

.om-profile-section {
  padding-top: 16px;
  padding-bottom: 72px;
}

.om-profile-card {
  position: relative;
  z-index: 3;
  margin: 0 0 26px;
  padding: 32px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(240, 232, 223, .88);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.om-profile-card::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: rgba(245, 138, 173, .12);
  pointer-events: none;
}

.om-profile-card:nth-of-type(even)::before {
  background: rgba(126, 200, 246, .12);
}

.om-profile-main-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 34px;
  align-items: start;
}

.om-profile-visual {
  position: relative;
  border-radius: 52px;
  padding: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fff1f6 100%);
  box-shadow: 0 10px 24px rgba(245, 138, 173, .11);
}

.om-profile-visual figure {
  margin: 0;
  overflow: hidden;
  border-radius: 42px;
}

.om-profile-visual img {
  width: 100%;
  aspect-ratio: 1 / .78;
  object-fit: cover;
  border-radius: 42px;
}

.om-profile-logo-label {
  display: inline-flex;
  margin: 14px 0 0;
  padding: 7px 16px;
  border-radius: 999px;
  color: #ee729c;
  background: #ffffff;
  border: 1px solid #ffdbe8;
  font-weight: 900;
  font-size: 13px;
}

.om-profile-detail h3,
.om-profile-heading {
  margin: 0 0 18px;
  color: #4b372e;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.45;
}

.om-profile-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.om-profile-heading span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #ee729c;
  background: #fff1f6;
  font-size: 24px;
}

.om-profile-heading em {
  color: #8a7a70;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  margin-left: 6px;
}

.om-profile-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #f0e8df;
  background: #ffffff;
}

.om-profile-table th,
.om-profile-table td {
  padding: 15px 18px;
  border-bottom: 1px solid #f0e8df;
  vertical-align: top;
  color: #5b4b42;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 700;
}

.om-profile-table tr:last-child th,
.om-profile-table tr:last-child td {
  border-bottom: none;
}

.om-profile-table th {
  width: 190px;
  color: #4b372e;
  background: #fff7fb;
  font-weight: 900;
}

.om-profile-table .head {
  color: #ffffff;
  background: linear-gradient(180deg, #f79cba 0%, #ee729c 100%);
  text-align: center;
}

.om-profile-table--center th,
.om-profile-table--center td {
  text-align: center;
  vertical-align: middle;
}

.om-nurse-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: start;
}

.om-nurse-photo {
  margin: 0;
  padding: 12px;
  border-radius: 46px;
  overflow: hidden;
  background: linear-gradient(180deg, #eaf8ff 0%, #fff1f6 100%);
  box-shadow: 0 10px 24px rgba(116, 88, 63, .08);
}

.om-nurse-photo img {
  width: 100%;
  border-radius: 36px;
  object-fit: cover;
}

.om-profile-cta {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: center;
  margin: 38px auto 0;
  padding: 26px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 50%, rgba(245, 138, 173, .12), transparent 20%),
    linear-gradient(90deg, #ffffff 0%, #fff7fb 100%);
  border: 1px solid rgba(240, 232, 223, .88);
  box-shadow: var(--shadow);
}

.om-profile-cta > div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.om-profile-cta__icon {
  display: grid;
  place-items: center;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  color: #ee729c;
  background: #fff1f6;
  font-size: 34px;
  font-weight: 900;
}

.om-profile-cta p {
  margin: 0;
  color: #5b4b42;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.8;
}

@media (max-width: 1180px) {
  .om-sub-hero__inner,
  .om-profile-main-grid,
  .om-nurse-layout,
  .om-profile-cta {
    grid-template-columns: 1fr;
  }

  .om-sub-hero__deco {
    display: none;
  }
}

@media (max-width: 768px) {
  .om-sub-hero {
    padding: 34px 0 24px;
  }

  .om-sub-hero__inner {
    padding: 32px 22px;
    border-radius: 26px;
  }

  .om-sub-hero h1 {
    font-size: 32px;
  }

  .om-sub-nav ul {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .om-sub-nav a {
    white-space: nowrap;
  }

  .om-profile-card {
    padding: 22px 16px;
    border-radius: 22px;
  }

  .om-profile-table {
    border-radius: 14px;
  }

  .om-profile-table th,
  .om-profile-table td {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 14px;
  }

  .om-profile-table--center tr:first-child {
    display: none;
  }

  .om-profile-table--center th,
  .om-profile-table--center td {
    display: block;
    text-align: left;
  }

  .om-profile-cta {
    padding: 22px 16px;
  }

  .om-profile-cta > div {
    align-items: flex-start;
  }

  .om-profile-cta .om-cta__btn {
    max-width: none;
  }
}


/* ========================================
   Ainomori About Additions 2026052226
   メッセージ・由来・園歌
======================================== */
.om-ainomori-about-blocks {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 26px;
  margin: 0 0 34px;
}

.om-about-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(240, 232, 223, .88);
  box-shadow: var(--shadow);
}

.om-about-card::before {
  content: "";
  position: absolute;
  right: -44px;
  top: -44px;
  width: 134px;
  height: 134px;
  border-radius: 999px;
  background: rgba(245, 138, 173, .12);
  pointer-events: none;
}

.om-about-card--song::before {
  background: rgba(126, 200, 246, .13);
}

.om-about-card__heading {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
}

.om-about-card__icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  color: #ee729c;
  background: #fff1f6;
  font-size: 29px;
  font-weight: 900;
  animation: omSoftBob 5.2s ease-in-out infinite alternate;
}

.om-about-card--song .om-about-card__icon {
  color: #55aee2;
  background: #eaf8ff;
}

.om-about-card__heading p {
  margin: 0 0 2px;
  color: #ee729c;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .16em;
}

.om-about-card--song .om-about-card__heading p {
  color: #55aee2;
}

.om-about-card__heading h3 {
  margin: 0;
  color: #4b372e;
  font-size: 25px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: .04em;
}

.om-message-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: start;
}

.om-message-photo {
  padding: 12px;
  border-radius: 44px;
  background: linear-gradient(180deg, #ffffff 0%, #fff1f6 100%);
  box-shadow: 0 10px 24px rgba(245, 138, 173, .10);
  text-align: center;
}

.om-message-photo figure {
  margin: 0;
  overflow: hidden;
  border-radius: 36px;
}

.om-message-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
  border-radius: 36px;
}

.om-message-photo p {
  display: inline-flex;
  margin: 14px 0 2px;
  padding: 7px 16px;
  border-radius: 999px;
  color: #ee729c;
  background: #ffffff;
  border: 1px solid #ffdbe8;
  font-size: 14px;
  font-weight: 900;
}

.om-message-text p,
.om-origin-box p,
.om-song-note p {
  margin: 0 0 14px;
  color: #5b4b42;
  font-size: 15px;
  line-height: 2.05;
  font-weight: 700;
}

.om-message-text p:last-child,
.om-origin-box p:last-child,
.om-song-note p:last-child {
  margin-bottom: 0;
}

.om-origin-box {
  position: relative;
  z-index: 2;
  padding: 30px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 95% 20%, rgba(245, 138, 173, .12), transparent 22%),
    linear-gradient(120deg, #ffffff 0%, #fff7fb 100%);
  border: 1px solid rgba(240, 232, 223, .88);
}

.om-origin-box h4 {
  margin: 0 0 14px;
  color: #ee729c;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 900;
  letter-spacing: .03em;
}

.om-song-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: center;
}

.om-song-lyrics {
  padding: 30px 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 18%, rgba(126, 200, 246, .14), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #eaf8ff 100%);
  border: 1px solid rgba(126, 200, 246, .18);
  box-shadow: 0 10px 24px rgba(126, 200, 246, .10);
  text-align: center;
}

.om-song-lyrics p {
  margin: 0;
  color: #4b372e;
  font-size: 18px;
  line-height: 2.1;
  font-weight: 900;
  letter-spacing: .04em;
}

.om-song-note {
  padding: 26px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(240, 232, 223, .88);
}

@media (max-width: 1180px) {
  .om-message-layout,
  .om-song-layout {
    grid-template-columns: 1fr;
  }

  .om-message-photo {
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .om-about-card {
    padding: 22px 16px;
    border-radius: 22px;
  }

  .om-about-card__heading {
    align-items: flex-start;
  }

  .om-about-card__icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    font-size: 25px;
  }

  .om-about-card__heading h3 {
    font-size: 22px;
  }

  .om-origin-box,
  .om-song-note {
    padding: 20px 16px;
  }

  .om-song-lyrics {
    padding: 24px 16px;
  }

  .om-song-lyrics p {
    font-size: 16px;
    line-height: 2;
  }
}


/* ========================================
   Ainomori image / nurse removal 2026052227
   園長写真・公式ロゴ差し替え、看護師枠削除対応
======================================== */
.om-message-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
}

.om-profile-logo-figure {
  display: grid;
  place-items: center;
  min-height: 220px;
  margin: 0;
  padding: 24px;
  border-radius: 42px;
  background: #ffffff;
  border: 1px solid rgba(245, 138, 173, .18);
}

.om-profile-logo-img {
  width: min(100%, 240px);
  height: auto !important;
  max-height: 180px;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 0 !important;
}

/* 旧ラベルと看護師枠が残った場合も表示しない */
.om-profile-logo-label,
.om-nurse-card {
  display: none !important;
}


/* ========================================
   Ainomori remove subnav / breadcrumb 2026052228
   下層ページ上部の4ボタン・パンくずリスト削除対応
======================================== */
.om-ainomori-profile .om-sub-nav,
.om-ainomori-profile .om-breadcrumb {
  display: none !important;
}

/* ボタン・パンくず削除後の余白調整 */
.om-ainomori-profile .om-profile-section {
  padding-top: 28px;
}
