@charset "UTF-8";
/* =====================================================
  About：由来（画像＋重ねテキスト）
===================================================== */
.about-origin {
  margin: 60px 0 0;
}

/* 2段の間隔 */
.origin-row {
  margin-top: 40px;
  display: grid;
  align-items: center;
}

/* -------- 上段：画像800 / テキスト500（重ね） -------- */
.origin-row--top {
  grid-template-columns: minmax(0, 800px) minmax(0, 500px);
}

.origin-photo img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* テキスト枠（共通） */
.origin-card {
  background: rgba(255, 255, 255, 0.78);
  border-radius: 12px;
  padding: 20px 30px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  line-height: 2;
}

/* 上段：右カラムを左へ重ねる（縮小しても関係性維持） */
.origin-card--top {
  margin-left: clamp(-120px, -8vw, -60px);
  z-index: 1;
}

/* -------- 下段：テキスト530 / 画像460（重ね） -------- */
.origin-row--bottom {
  margin-top: 40px;
  grid-template-columns: minmax(0, 530px) minmax(0, 460px);
  justify-content: end;
}

/* 下段：左カラムを右へ重ねる */
.origin-card--bottom {
  margin-right: clamp(-120px, -8vw, -60px);
  z-index: 1;
}

@media (max-width: 768px) {
  .about-origin {
    margin: 40px 0 0;
  }
  .origin-row--top,
  .origin-row--bottom {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .origin-card--top,
  .origin-card--bottom {
    margin: 0;
    text-align: left;
  }
  .origin-row--bottom .origin-photo {
    order: -1;
  }
  .origin-photo--top {
    width: 100%;
    margin: 0;
  }
  .origin-photo--bottom {
    width: 70%;
    margin: 0 auto;
  }
  .origin-card {
    width: 100%;
    padding: 24px;
  }
}

/* =====================================================
  理念：目指す子ども像（最終修正版）
===================================================== */
.about-rinen {
  padding: 60px 0 0;
}

.about-rinen__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.rinen-list {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 46px 30px;
}

/* PC：3列 */
.rinen-item {
  width: calc((100% - 60px) / 3); /* gap 30px ×2 */
  max-width: 360px;
}

/* 画像 */
.rinen-thumb {
  width: 100%;
}
.rinen-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキスト */
.rinen-text {
  margin-top: 20px;
  font-size: 20px;
  text-align: center;
  line-height: 1.4;
}

/* スマホ：2列 */
@media (max-width: 768px) {
  .about-rinen {
    padding: 40px 0 0;
  }
  .rinen-list {
    gap: 20px 20px;
  }
  .about-rinen .rinen-item {
    flex: 0 0 calc(50% - 20px);
    width: auto;
  }
  .rinen-text {
    margin-top: 8px;
    font-size: 16px;
  }
}

/* =====================================================
  About：方針（保育・教育の姿勢）
===================================================== */
.about-hoshin {
  padding: 60px 0 140px;
}

.about-hoshin__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* 横並び（PC・タブレット） */
.hoshin-content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 40px;
}

/* 左：画像 */
.hoshin-image {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

/* 右：テキスト */
.hoshin-text {
  width: 100%;
  max-width: 600px;
  font-size: 16px;
  line-height: 1.6;
}

.hoshin-text ul {
  list-style: disc;
  padding-left: 1.2em;
}

.hoshin-text li {
  margin-bottom: 0.6em;
}

/* スマホ：縦並び */
@media (max-width: 768px) {
  .about-hoshin {
    padding: 40px 0 100px;
  }
  .hoshin-content {
    flex-direction: column;
  }
}

/* =====================================================
  About：概要（園の基本情報）
  ※波形の背景（about-section / about-wave）は style.css 流用
===================================================== */
.about-section.about-basic {
  padding: 50px 0 80px;
}
.about-basic__inner {
  max-width: 1200px;
  margin: 0 auto ;
}

/* ①園の概要情報：PC/Tablet 横並び（縮小対応） */
.basic-info {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.basic-info__photo {
  margin: 0;
  width: 100%;
}

.basic-info__photo img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  border-radius: 12px;
}

.basic-info__data {
  width: 100%;
  min-width: 0;
}

.basic-dl {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 120px 1fr;
}

/* 行間（擬似的にrow再現） */
.basic-dl dt,
.basic-dl dd {
  padding: 12px 0;
  border-bottom: 1px solid #86bd7a;
}

/* 左（ラベル） */
.basic-dl dt {
  margin: 0;
  padding-left: 10px;
  font-weight: 700;
}

/* 右（内容） */
.basic-dl dd {
  margin: 0;
  padding-right: 10px;
}

/* 最後の行だけ線なし */
.basic-dl dt.is-last,
.basic-dl dd.is-last {
  border-bottom: none;
}

/* SP：画像上・テキスト下（指定どおり） */
@media (max-width: 768px) {
  .about-section.about-basic {
    padding: 20px 0 40px;
  }
  .basic-info {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .basic-info__photo,
  .basic-info__data,
  .basic-dl {
    width: 100%;
    max-width: none;
  }
  .basic-info__photo img {
    width: 100%;
    max-width: none;
  }
  .basic-info__data {
    order: 1;
  }
  .basic-dl {
    display: block;
  }
  .basic-dl dt {
    width: 100%;
    padding: 6px;
    background: #FFFFE1;
    text-align: center;
    border-bottom: none;
    border-radius: 6px;
  }
  .basic-dl dd {
    padding: 12px;
    border-bottom: none;
  }
}

/* =====================================================
  About：概要（② 制服について）
===================================================== */
.basic-uniform {
  margin-top: 60px;
  text-align: center;
}
.basic-uniform__head {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.basic-uniform__icon {
  width: 50px;
  height: auto;
  display: block;
}
.basic-uniform__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}
.basic-uniform__lead {
  margin: 20px auto 0;
  max-width: 820px; /* 読みやすさのため。不要なら外せます */
}
/* 画像：1200pxをフルで使う横並び */
.basic-uniform__photos {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}
.basic-uniform__photo {
  margin: 0;
  flex: 0 1 560px; /* 指定幅を基準に、狭いときは縮む */
}
.basic-uniform__photo img {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* SP：縦並び（左画像が上） */
@media (max-width: 768px) {
  .basic-uniform {
    margin-top: 40px;
  }
  .basic-uniform__icon {
    width: 40px;
  }
  .basic-uniform__lead {
    text-align: left;
  }
  .basic-uniform__photos {
    flex-direction: column;
    gap: 18px;
  }
  .basic-uniform__photo {
    flex: none;
  }
  .basic-uniform__photo img {
    max-width: none;
  }
}

/* =====================================================
  About：概要（③ アクセス）
===================================================== */
.basic-access {
  margin-top: 80px;
  text-align: center; /* ②と同様 */
}

.basic-access__head {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.basic-access__icon {
  width: 50px;
  height: auto;
  display: block;
}

.basic-access__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

/* マップ共通 */
.basic-access__map {
  margin-top: 20px;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 1200 / 380;
  border-radius: 12px;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  position: relative; /* ← 追加 */
}

.basic-access__map iframe {
  position: absolute; /* ← 重要 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* SP：高さ380px固定 */
@media (max-width: 768px) {
  .basic-access {
    margin-top: 40px;
  }
  .basic-access__icon {
    width: 40px;
  }

  .basic-access__map {
    aspect-ratio: auto; /* 解除 */
    height: 380px;      /* 高さ固定 */
  }
}

/* =====================================================
  About：入園について
===================================================== */
.about-nyuen {
  padding: 120px 0 0;
}

.about-nyuen__inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative; /* 装飾画像配置用 */
}

/* リスト：PC/Tablet 2カラム */
.nyuen-list {
  margin: 28px 0 0;
  padding-left: 1.2em;        /* discのため */
  list-style: disc;
  display: flex;
  flex-wrap: wrap;
  gap: 40px 80px;             /* デザインの余白感に近づける */
}

.nyuen-item {
  width: 50%;
  /* gap分を考慮して2列維持させる */
  width: calc(50% - 40px);
}

/* マーカー色（緑） */
.nyuen-item::marker {
  color: #1D5900;
}

/* 緑の部分（見出し扱いにしない） */
.nyuen-item__label {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #1D5900;
  margin-bottom: 10px;
}

.nyuen-item__text {
  margin: 0;
  font-size: 16px;
}

/* 装飾画像 */
.nyuen-deco {
  position: absolute;
  width: 70px;
  height: auto;
  pointer-events: none;
}

.nyuen-deco--l {
  left: 10px;
  bottom: -120px;
}

.nyuen-deco--r {
  right: 10px;
  top: 0;
}

/* 768px以下：縦並び */
@media (max-width: 768px) {
  .about-nyuen {
    padding: 100px 0 0;
  }
  .nyuen-list {
    display: block;
    padding-left: 1.2em;
  }
  .nyuen-item {
    width: 100%;
    margin-bottom: 28px;
  }
  .nyuen-item__label {
    font-size: 18px;
    margin-bottom: 6px;
  }
  .nyuen-deco {
    width: 50px;
    height: auto;
  }
  .nyuen-deco--l {
    left: 0;
    bottom: -60px;
  }
  .nyuen-deco--r {
    right: 20px;
    top: -30px;
  }
}