/*
 * page-about.css
 * 園の紹介まとめページ
 */

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

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

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

.om-about-index-hero__label {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 7px 15px;
  border-radius: 999px;
  color: #55aee2;
  background: #eaf8ff;
  border: 1px solid rgba(126, 200, 246, .24);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
}

.om-about-index-hero h1 {
  margin: 0 0 14px;
  color: #4b372e;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: .06em;
}

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

.om-about-index-hero__deco {
  position: relative;
  min-height: 170px;
}

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

.om-about-index-deco--heart {
  right: 34px;
  top: 10px;
  width: 74px;
  height: 74px;
  color: #ee729c;
  background: #fff1f6;
  font-size: 42px;
}

.om-about-index-deco--note {
  left: 28px;
  top: 78px;
  width: 66px;
  height: 66px;
  color: #55aee2;
  background: #eaf8ff;
  font-size: 38px;
  animation-delay: -1.3s;
}

.om-about-index-deco--circle {
  right: 98px;
  bottom: 10px;
  width: 48px;
  height: 48px;
  background: #ffd95b;
  opacity: .84;
  animation-delay: -2s;
}

.om-about-index-section {
  position: relative;
  padding: 38px 0 86px;
}

.om-about-index-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.om-about-index-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid rgba(240, 232, 223, .88);
  box-shadow: 0 14px 30px rgba(116, 88, 63, .08);
  text-decoration: none !important;
  transition: transform .28s ease, box-shadow .28s ease;
}

.om-about-index-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(116, 88, 63, .12);
}

.om-about-index-card::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: rgba(126, 200, 246, .12);
  z-index: 2;
}

.om-about-index-card--oto::before {
  background: rgba(126, 200, 246, .14);
}

.om-about-index-card--ai::before {
  background: rgba(245, 138, 173, .14);
}

.om-about-index-card--facility::before {
  background: rgba(207, 238, 193, .16);
}

.om-about-index-card figure {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 1.18 / .78;
  background: #f3f0eb;
}

.om-about-index-card img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center center;
  transition: transform .5s ease;
}

.om-about-index-card:hover img {
  transform: scale(1.04);
}

.om-about-index-card__body {
  position: relative;
  z-index: 3;
  padding: 26px 24px 28px;
}

.om-about-index-card__label {
  margin: 0 0 8px;
  color: #55aee2;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: .13em;
}

.om-about-index-card--ai .om-about-index-card__label {
  color: #ee729c;
}

.om-about-index-card--facility .om-about-index-card__label {
  color: #65b97d;
}

.om-about-index-card h3 {
  margin: 0 0 12px;
  color: #4b372e;
  font-size: 22px;
  line-height: 1.55;
  font-weight: 900;
}

.om-about-index-card__body p:not(.om-about-index-card__label) {
  margin: 0 0 18px;
  color: #5b4b42;
  font-size: 14px;
  line-height: 1.9;
  font-weight: 700;
}

.om-about-index-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  background: linear-gradient(180deg, #7ec8f6 0%, #55aee2 100%);
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.om-about-index-card--ai .om-about-index-card__btn {
  background: linear-gradient(180deg, #ff9fbd 0%, #ee729c 100%);
}

.om-about-index-card--facility .om-about-index-card__btn {
  background: linear-gradient(180deg, #8ad39d 0%, #65b97d 100%);
}

.om-about-index-card__btn em {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  color: currentColor;
  background: rgba(255,255,255,.22);
  font-style: normal;
}

@media (max-width: 980px) {
  .om-about-index-hero__inner {
    grid-template-columns: 1fr;
    padding: 38px 28px;
  }

  .om-about-index-hero__deco {
    display: none;
  }

  .om-about-index-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .om-about-index-hero {
    padding: 36px 0 22px;
  }

  .om-about-index-hero__inner {
    border-radius: 26px;
  }

  .om-about-index-hero h1 {
    font-size: 34px;
  }

  .om-about-index-card {
    border-radius: 24px;
  }

  .om-about-index-card__body {
    padding: 22px 18px 24px;
  }
}


/* ========================================
   About index SP hero hide / flick cards 2026052293
   SP表示時のみ ABOUT園の紹介カードを非表示
   3つの紹介コンテンツを横並びフリックに変更
   PC表示は変更しない
======================================== */
@media (max-width: 768px) {
  /* ABOUT 園の紹介カードを非表示にして、パンくずから表示 */
  .om-about-index-hero {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .om-about-index-page .om-breadcrumb {
    padding-top: 18px !important;
    padding-bottom: 10px !important;
  }

  /* セクション上部の余白を詰める */
  .om-about-index-section {
    padding-top: 18px !important;
    padding-bottom: 62px !important;
    overflow: hidden !important;
  }

  .om-about-index-section .om-container {
    width: 100% !important;
    max-width: none !important;
    padding-left: 14px !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .om-about-index-section .om-section-title {
    width: calc(100% - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 18px !important;
  }

  /* 3つの紹介カードをSPのみ横並びフリック */
  .om-about-index-grid {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 16px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 4px 14px 20px 0 !important;
    margin: 0 !important;
    scrollbar-width: none;
  }

  .om-about-index-grid::-webkit-scrollbar {
    display: none;
  }

  .om-about-index-card {
    flex: 0 0 82vw !important;
    width: 82vw !important;
    max-width: 340px !important;
    min-width: 270px !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    margin: 0 !important;
    border-radius: 24px !important;
  }

  .om-about-index-card figure {
    aspect-ratio: 1.18 / .78 !important;
  }

  .om-about-index-card__body {
    padding: 22px 18px 24px !important;
  }
}

@media (max-width: 390px) {
  .om-about-index-card {
    flex-basis: 84vw !important;
    width: 84vw !important;
    min-width: 258px !important;
  }
}
