@charset "utf-8";

/* =========================================
   Nursery sub header
   - about subhead と統一（背景＋半透明パネル＋中央）
========================================= */

.subhead.subhead--nursery{
  position: relative;
  background: url("../images/nursery/subhead.jpg") center center / cover no-repeat;
  padding: 88px 0 92px; /* 高さは必要に応じて微調整OK */
}

.subhead__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* テキスト背面：白の半透明パネル */
.subhead__panel{
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 34px 20px 38px;
  background: rgba(255,255,255,.65);
  text-align: center;
}

/* about と同じ見出しトーン（クラス名も流用） */
.subhead .section-about__eyecatch{
  margin: 0 0 2px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  color: #cf6b59;
}

.subhead .section-about__title{
  margin: 6px 0 0;
  text-align: center;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #6b5a47;
	line-height: 1;
}

/* 追加サブテキスト */
.subhead__subtext{
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #6e6358;
  line-height: 1;
}

/* ---------------------------
   Responsive
---------------------------- */
@media screen and (max-width: 980px){
  .subhead.subhead--nursery{
    padding: 72px 0 78px;
  }
  .subhead__panel{
    padding: 30px 18px 34px;
	  box-sizing: border-box;
  }
}

@media screen and (max-width: 767px){
  .subhead.subhead--nursery{
    padding: 52px 0 56px;
  }
  .subhead__inner{
    padding: 0 16px;
  }
  .subhead__panel{
    padding: 22px 14px 26px;
    background: rgba(255,255,255,.72); /* SPは少し濃いめで可読性UP */
  }
  .subhead .section-about__title{
    font-size: 36px;
  }
  .subhead__subtext{
    margin-top: 10px;
    font-size: 14px;
    letter-spacing: 0.06em;
  }
}

/* 背景上のキャッチコピー（白文字） */
.subhead__catch{
  margin: 16px 0 0;              /* 上余白を控えめに */
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  line-height: 1.4;              /* ★ 指定：1.4 */
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.subhead.subhead--nursery{
  padding: 88px 0 24px;
}

/* 端末別の調整（既存の@media内も同じ思想で） */
@media screen and (max-width: 980px){
  .subhead.subhead--nursery{
    padding: 72px 0 48px;        /* ★ 下を詰める */
  }
  .subhead__catch{
    font-size: 20px;
    margin-top: 14px;
  }
}

@media screen and (max-width: 767px){
  .subhead.subhead--nursery{
    padding: 52px 0 38px;        /* ★ 下を詰める */
  }
  .subhead__catch{
    font-size: 16px;
    margin-top: 12px;
    letter-spacing: 0.06em;
    line-height: 1.4;            /* ★ SPも1.4で統一 */
  }
}

/* =========================================
   Greeting（園長挨拶）
   - 見出しは common.css の .c-secHead を使用
   - 本文標準 22px
========================================= */

.greeting{
  background: url("../images/nursery/c1-back.jpg") center center / cover no-repeat; /* ★cover */
  padding: 90px 0;
}

.greeting__head{
  margin-bottom: 34px;
}

/* 2カラム */
.greeting__body{
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 42px;
  align-items: center;
}

.greeting__text{
}

.greeting__text p{
  font-size: 22px;     /* ★ここが重要 */
  line-height: 1.9;
  color: #6e6358;
  margin: 0 0 22px;
}

.greeting__text p:last-child{
  margin-bottom: 0;
}


.greeting__text p:last-child{
  margin-bottom: 0;
}

/* 右：写真カード */
.greeting__figure{
  margin: 0;
  text-align: center;
}

/* 右：写真の白背景（カード）を消す */
.greeting__photo{
  width: min(420px, 100%);
  margin: 0 auto;
  background: transparent;  /* ★白背景を消す */
  padding: 0;               /* ★余白も消す */
  border-radius: 0;         /* 念のため */
}

.greeting__photo img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;      /* 角丸は画像側に付ける（デザイン維持） */
}


/* 名前 */
.greeting__name{
  margin-top: 14px;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: #3a332c;
  letter-spacing: 0.06em;
}

.greeting__role{
  font-size: 16px;
  font-weight: 700;
}

.greeting__person{
  font-size: 32px;
  font-weight: 700;
}

/* ---------------------------
   Responsive
---------------------------- */
@media screen and (max-width: 980px){
  .greeting{
    padding: 72px 0;
  }
  .greeting__body{
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: start;
  }
  .greeting__text{
    font-size: 20px;
    line-height: 1.85;
  }
}

@media screen and (max-width: 767px){
  .greeting{
    padding: 54px 0;
  }

  .greeting__head{
    margin-bottom: 22px;
  }

  /* 本文はそのまま下側に */
  .greeting__text{
    font-size: 18px;
    line-height: 1.8;
  }

  /* 写真を上側に持ってくる */
  .greeting__body{
    display: grid;
    grid-template-columns: 1fr;
  }
  .greeting__figure{
    order: -1;              /* ★ 写真を先頭に */
    margin-bottom: 20px;
    text-align: center;
  }

  /* 写真は最大で横幅の 6 割くらい */
  .greeting__photo{
    width: 60%;             /* ★ コンテナの 60% */
    max-width: 320px;       /* お好みで調整可 */
    margin: 0 auto;
    padding: 14px;
    border-radius: 14px;
  }
  .greeting__photo img{
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

  .greeting__person{
    font-size: 24px;
  }
}


/* =========================================
   企業主導型とは？
   - about の philosophy__box と同レイアウト
========================================= */

.corp{
  padding: 90px 0;
}

.corp__box{
  width: min(980px, 100%);
  margin: 60px auto 0;
  padding: 56px 38px 30px; /* 見出しが乗る分だけ上を多めに */
  border: 1px solid #6e6358;
  border-radius: 18px;
  background: #fff;
  text-align: center;
  position: relative;
	box-sizing: border-box;
}

/* 枠をまたぐ見出し（行動指針と同じ表現） */
.corp__boxTitle{
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0 22px;             /* この幅だけ枠線が切れて見える */
  background: #fff;
  font-size: 36px;
  font-weight: 700;
  color: #6e6358;
  letter-spacing: 0.06em;
  line-height: 1.2;
  z-index: 2;
	white-space: nowrap;
}

/* 本文：中央に細めのカラム＋p=22px */
.corp__body{
  width: 100%;
  margin: 0 auto;
  text-align: left;
}


.corp__body p{
  margin: 0 0 22px;
  font-size: 22px;
  line-height: 2;
  letter-spacing: 0.02em;
  color: #2b2b2b;
}

.corp__body p:last-child{
  margin-bottom: 0;
}

.corp__note{
  margin: 28px auto 0;
  padding: 22px 26px;
  border-radius: 14px;
  background: #f6e6e3;
  font-size: 28px;           /* ★ 22px → 28px */
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: #514943;            /* ★ 色を指定通りに変更 */
  font-weight: 700;
	text-align: left;
}

/* =========================================
   ひまわり保育園（写真＋概要）
   背景グラデ：#fff → #f9ede9（約110px）
========================================= */

.nursery-facility{
  background: linear-gradient(to bottom, #ffffff 0, #f9ede9 110px, #f9ede9 100%);
  padding: 80px 0 90px;
}

.nursery-facility__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.nursery-facility__head{
  margin-bottom: 34px;
  text-align: center;
}

/* ---------------------------
   上段：メイン写真＋所在地・連絡先
   写真と右ボックスを横並び、右ボックスは縦方向中央寄せ
---------------------------- */

.nursery-facility__top{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* ★ 左右同じ幅 */
  gap: 32px;
  align-items: center; /* ★ 右ボックスを縦方向中央に */
}

/* 左：メイン写真（c2） */
.nursery-facility__mainPhoto{

}

/* 右：所在地・連絡先ボックス */
.nursery-facility__info{
  flex: 0 1 40%;
  background: transparent;         /* ★ 背景色なし */
  border-radius: 18px;
  padding: 26px 30px;
  box-sizing: border-box;
  border-top: 1px dashed #bfaf98;
  border-bottom: 1px dashed #bfaf98;
}

.nursery-facility__infoList{
  margin: 0;
}

.nursery-facility__infoRow{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px 16px;
  padding: 12px 0;
}

.nursery-facility__infoRow:first-child{
  border-bottom: 1px dashed #e1d4c7;
}

.nursery-facility__infoRow dt{
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #cf6b59;
  letter-spacing: 0.08em;
}

.nursery-facility__infoRow dd{
  margin: 0;
  font-size: 22px;
  line-height: 1.8;
  color: #3a332c;
}

/* メイン写真／下段写真の共通：サイズ揃え */
.nursery-facility__mainPhoto img,
.nursery-facility__photo img{
  width: 100%;
  height: auto;       /* ★ 縦横比は画像そのまま */
  display: block;
  border-radius: 0;   /* 角丸は画像データ側に任せる */
  /* object-fit は指定しない（＝切り抜かない） */
}

/* ---------------------------
   中段：写真2枚（c3, c4）
   左下（c3）と左上（c2）のサイズを合わせる
---------------------------- */

.nursery-facility__photos{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 34px 0 70px;
}

.nursery-facility__photo{

}

/* ---------------------------
   ひまわり保育園 概要テーブル
   （見出し＋表を白い背景で包む）
---------------------------- */

/* 見出し＋表 全体を包む白い箱 */
.nursery-summary{
  max-width: 1200px;               /* 写真ブロックと同じくらいの幅 */
  margin: 0 auto 80px;
  padding: 40px 40px 46px;
  box-sizing: border-box;
  background: #ffffff;
}

.nursery-summary__title {
	display: block;
	text-align: center;
	margin: auto;
}

/* 見出し */
.nursery-summary__head{
  text-align: center;
  margin-bottom: 26px;
}

/* 表本体 */
.nursery-summary__table{
  margin: 30px 0 0;
  width: 100%;
  overflow: visible;
  background: #ffffff;
}

/* 1行分 */
.nursery-summary__row{
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  border-top: 1px solid #e1d5c8;
}

.nursery-summary__row:first-child{
  border-top: none;
}

/* 左側の見出しセル（ピンク） */
.nursery-summary__heading{
  margin: 0;
  padding: 22px 20px;
  background: transparent;
  font-size: 24px;
  font-weight: 700;
  color: #cf6b59;
  letter-spacing: 0.08em;
  text-align: left;                /* ★ 左寄せ */
  display: flex;
  align-items: center;
  justify-content: flex-start;     /* ★ 左寄せ */
}

/* 右側セル共通 */
.nursery-summary__data{
  margin: 0;
  padding: 22px 28px;
  font-size: 22px;                 /* ★ 本文 22px */
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: #2b2b2b;
  border-left: 1px dashed #bfaf98;
}

/* ★ セル内の p / li も 22px で揃える */
.nursery-summary__data p,
.nursery-summary__data span,
.nursery-summary__data li{
  font-size: 22px;
  line-height: 1.9;
}

/* ★ 奇数行（1,3,5…）：dt / dd 両方を薄いグレーに */
.nursery-summary__row:nth-child(odd) .nursery-summary__heading,
.nursery-summary__row:nth-child(odd) .nursery-summary__data{
  background: #f4f4f4;
}

/* 既存の utility があればそのまま使ってもOK */
.nursery-summary__data--gray{
  background: #f4f4f4;
}

/* 定員・対象年齢内のラベル行は既存ルールを流用 */
.nursery-summary__subrow{
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 6px 16px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.nursery-summary__label{
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nursery-summary__content{
  display: block;
}

.nursery-summary__note{
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: #6b5a47;
}

/* ---------------------------
   Responsive
---------------------------- */

@media screen and (max-width: 980px){

  /* ここより上の nursery-facility 系はそのままでOK */

  .nursery-summary{
    padding: 32px 28px 38px;
  }

  .nursery-summary__row{
    grid-template-columns: 200px minmax(0, 1fr);
  }
}

@media screen and (max-width: 767px){

  /* 写真ブロック用は既存のまま */

  .nursery-summary{
    margin-bottom: 56px;
    padding: 26px 16px 30px;
  }

  .nursery-summary__table{
    border-radius: 8px;
    overflow: hidden;
  }

  .nursery-summary__row{
    grid-template-columns: 1fr;
  }

  .nursery-summary__heading{
    padding: 16px 18px;
  }

  .nursery-summary__data{
    border-left: none;
    border-top: 1px dashed #bfaf98;
    padding: 18px 16px;
    font-size: 18px;
  }

  .nursery-summary__subrow{
    grid-template-columns: 90px minmax(0, 1fr);
  }
}

/* =========================================
   菜の花保育園（写真＋概要） 専用スタイル
   ・背景：ピンク → 白グラデーション
   ・概要ボックスの背景：ピンク
   ・表の偶数行を薄いグレー
========================================= */

/* セクション全体の背景グラデーション（ピンク → 白） */
.nursery-facility--nanohana{
  background: linear-gradient(
    to bottom,
    #f9ede9 0,
    #ffffff 110px,
    #ffffff 100%
  );
}

/* 概要ボックスの背景をピンクに */
.nursery-summary--nanohana{
  background: #f9ede9;
}

/* 菜の花版では、偶数行のみ薄いグレーにする */
.nursery-summary--nanohana .nursery-summary__row:nth-child(odd) .nursery-summary__heading,
.nursery-summary--nanohana .nursery-summary__row:nth-child(odd) .nursery-summary__data{
  /* ひまわり用の「奇数行グレー」を打ち消す */
  background: transparent;
}

.nursery-summary--nanohana .nursery-summary__row:nth-child(even) .nursery-summary__heading,
.nursery-summary--nanohana .nursery-summary__row:nth-child(even) .nursery-summary__data{
  background: #f4f4f4;
}

/* =========================================
   年間行事
   背景グラデ：#fff → #f9ede9
========================================= */

.nursery-events{
  background: linear-gradient(to bottom, #ffffff 0, #f9ede9 100%);
  padding: 80px 0 100px;
}

.nursery-events__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.nursery-events__head{
  text-align: center;
  margin-bottom: 48px;
}

.nursery-events__title{
  display: inline-block;
}

/* 4枚レイアウト */
.nursery-events__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.nursery-events__item{
  margin: 0;
}

.nursery-events__item img{
  display: block;
  width: 100%;
  height: auto;      /* 比率キープ */
}

/* ---------------------------
   Responsive
---------------------------- */

@media screen and (max-width: 980px){
  .nursery-events{
    padding: 64px 0 80px;
  }

  .nursery-events__inner{
    padding: 0 20px;
  }

  .nursery-events__grid{
    gap: 32px;
  }
}

@media screen and (max-width: 767px){
  .nursery-events__inner{
    padding: 0 16px;
  }

  .nursery-events__grid{
    grid-template-columns: 1fr;  /* 1列表示 */
    gap: 24px;
  }
}

/* =========================================
   お問い合わせ・アクセスマップ
   背景グラデ：ピンク → 白
========================================= */

.nursery-contact{
  background: linear-gradient(to bottom, #f9ede9 0, #ffffff 140px, #ffffff 100%);
  padding: 80px 0 100px;
}

.nursery-contact__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* 見出し + 両サイドのアイコン */
.nursery-contact__head{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
  text-align: center;
}

.nursery-contact__title{
  margin: 0;
  font-size: 30px;
  line-height: 1.6;
  font-weight: 700;
  color: #514943;            /* 指定カラー */
  letter-spacing: 0.08em;
}

.nursery-contact__icon{
  width: 64px;
  height: auto;
}

/* マップ２カラム */
.nursery-contact__maps{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

/* カード全体 */
.nursery-contact__card{
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* 上部の園名・TELバー */
.nursery-contact__cardHead{
  background: #bfaf98;
  color: #ffffff;
  text-align: center;
  padding: 14px 16px 12px;
}

.nursery-contact__name{
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.nursery-contact__tel{
  margin: 4px 0 0;
  font-size: 22px;
	font-weight: bold;
  letter-spacing: 0.08em;
	color: #514943;
}

/* 地図（アスペクト比を保ったままレスポンシブ） */
.nursery-contact__map{
  position: relative;
  padding-top: 62%;          /* だいたい 16:10 くらいの比率 */
}

.nursery-contact__map iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ---------------------------
   Responsive
---------------------------- */

@media screen and (max-width: 980px){

  .nursery-contact{
    padding: 64px 0 80px;
  }

  .nursery-contact__inner{
    padding: 0 20px;
  }

  .nursery-contact__maps{
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media screen and (max-width: 767px){

  .nursery-contact__inner{
    padding: 0 16px;
  }

  .nursery-contact__head{
    flex-direction: column;
    gap: 16px;
  }

  .nursery-contact__icon{
    width: 48px;
  }

  .nursery-contact__title{
    font-size: 24px;
  }

  .nursery-contact__cardHead{
    padding: 12px 12px 10px;
  }

  .nursery-contact__name{
    font-size: 18px;
  }

  .nursery-contact__tel{
    font-size: 14px;
  }

  .nursery-contact__map{
    padding-top: 70%;
  }
}

/* ================================
   SP 調整（～767px）
   ひまわり／菜の花／年間行事／アクセス
================================== */
@media screen and (max-width: 767px){

  /* ---------- 全体の横スクロール保険 ---------- */
  html, body{
    overflow-x: hidden;
  }

  /* ---------- ひまわり／菜の花：写真＋概要 ---------- */

  .nursery-facility{
    padding: 48px 0 56px;
  }

  .nursery-facility__inner{
    padding: 0 16px;
  }

  /* 上段：左右 2 カラム → 縦並び */
  .nursery-facility__top{
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: flex-start;
  }

  .nursery-facility__info{
    padding: 18px 16px;
  }

  .nursery-facility__infoRow{
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 6px 12px;
  }

  .nursery-facility__infoRow dt,
  .nursery-facility__infoRow dd{
    font-size: 18px;
  }

  /* 中段写真：2列 → 1列 */
  .nursery-facility__photos{
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 26px 0 40px;
  }

  /* ---------- 概要テーブル ---------- */

  .nursery-summary{
    margin-bottom: 40px;
    padding: 24px 14px 26px;
  }

  .nursery-summary__title{
    font-size: 20px;
  }

  .nursery-summary__table{
    margin-top: 20px;
  }

  .nursery-summary__row{
    grid-template-columns: 1fr;   /* dt→dd の縦並び */
  }

  .nursery-summary__heading{
    padding: 12px 12px;
    font-size: 18px;
  }

  .nursery-summary__data{
    padding: 14px 12px 18px;
    font-size: 17px;
    border-left: none;
    border-top: 1px dashed #bfaf98;
  }

  .nursery-summary__data p,
  .nursery-summary__data span,
  .nursery-summary__data li{
    font-size: 17px;
  }

  .nursery-summary__subrow{
    grid-template-columns: 86px minmax(0, 1fr);
  }

  /* ---------- 企業主導型とは／園長挨拶 少しだけ縮小 ---------- */

  .greeting{
    padding: 48px 0;
  }
  .greeting__text p{
    font-size: 18px;
  }

  .corp{
    padding: 56px 0;
  }
  .corp__box{
    margin-top: 40px;
    padding: 38px 18px 24px;
  }
  .corp__boxTitle{
    font-size: 20px;
  }
  .corp__body p{
    font-size: 18px;
  }
  .corp__note{
    font-size: 20px;
    padding: 18px 18px;
  }

  /* ---------- 年間行事 ---------- */

  .nursery-events{
    padding: 48px 0 56px;
  }
  .nursery-events__inner{
    padding: 0 16px;
  }
  .nursery-events__grid{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* ---------- お問い合わせ・アクセス ---------- */

  .nursery-contact{
    padding: 56px 0 72px;
  }
  .nursery-contact__inner{
    padding: 0 16px;
  }
  .nursery-contact__head{
    flex-direction: column;
    gap: 12px;
  }
  .nursery-contact__title{
    font-size: 22px;
  }
  .nursery-contact__maps{
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .nursery-contact__cardHead{
    padding: 10px 10px 8px;
  }
  .nursery-contact__name{
    font-size: 18px;
  }
  .nursery-contact__tel{
    font-size: 14px;
  }
  .nursery-contact__map{
    padding-top: 70%;
  }
}
