@charset "utf-8";

/* ---------------------------------------------------------
 汎用コンテナ / セクション余白
--------------------------------------------------------- */
.container{ 
  max-width: 1020px;
  margin: 0 auto;
}
.section{
  padding: 65px 15px;
}


/* =========================================================
 下層トップ（ページ見出し）
 - 旗（.bunting：common.css）＋ パンくず ＋ ページ名(h1)
========================================================= */
.page-head {
  position: relative;
  overflow: hidden;
  padding: 30px 0px 56px;
  text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, var(--sky-bg) 0%, var(--peach) 48%, var(--paper) 100%);
}
/* 装飾の雲（任意） */
.page-head__cloud {
  position: absolute;
  background: #fff;
  border-radius: var(--pill);
  opacity: .7;
  pointer-events: none;
}
.page-head__cloud--1 {
  top: 75px; left: 9%;
  width: 80px; height: 30px;
  box-shadow: 16px 7px 0 -2px #fff, -16px 9px 0 -4px #fff;
  animation: floaty 7s ease-in-out infinite;
}
.page-head__cloud--2 {
  bottom: 30px; right: 11%;
  width: 58px; height: 22px;
  box-shadow: 13px 6px 0 -2px #fff, -13px 8px 0 -4px #fff;
  opacity: .6;
  animation: floaty 9s ease-in-out infinite;
}

.page-head__eyebrow {
  position: relative;
  text-align: center;
  z-index: 2;
  font-family: var(--font-hand);
  color: var(--coral-ink);
  font-size: 18px;
  margin: 0 0 6px;
}
.page-head__title {
  position: relative;
  text-align: center;
  z-index: 2;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 900;
  line-height: 1.3;
  margin: 0;
  letter-spacing: .01em;
}
/* タイトル下の波線アンダーライン */
.page-head__title::after {
  content: "";
  display: block;
  width: 64px;
  height: 6px;
  border-radius: 3px;
  margin: 18px auto 0;
  background: var(--yellow);
}

/* パンくずリスト */
.breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--line-warm);
}
.breadcrumb a{
  color: var(--ink-soft); text-decoration: none;
}
.breadcrumb a:hover{
  text-decoration: underline;
}
.breadcrumb .current-item{
  color: var(--coral-ink);
}


/* =========================================================
 本文エリア & 見出し（h2〜h5）
 - .prose 配下の見出しに自動でスタイルを適用
========================================================= */
.prose { color: var(--ink); }
.prose > * + * { margin-top: 18px; }
.prose p { font-size: 16px; color: var(--ink-soft); margin: 0; }
.prose a { color: var(--coral-deep); font-weight: 700; }
.prose p:empty{
  height: 250px;
}

/* h2 … 大見出し：コーラルの四角マーカー＋破線の下罫線 */
.prose h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--ink);
  margin: 95px 0 20px;
  padding-bottom: 16px;
  border-bottom: 2px dashed var(--line);
}
.prose h2::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--coral);
  box-shadow: 4px 4px 0 var(--yellow);
}

/* h3 … 中見出し：左のコーラル縦バー */
.prose h3 {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.5;
  color: var(--ink);
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 6px solid var(--sky);
  border-radius: 1px;
}

/* h4 … 小見出し：先頭に水色のドット */
.prose h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
  margin: 30px 0 12px;
}
.prose h4::before {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green-mid);
}

/* h5 … 補助見出し：手書き風ラベル調 */
.prose h5 {
  font-family: var(--font-hand);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--pink-ink);
  margin: 24px 0 8px;
}

/* リード文（ページ冒頭の説明） */
.lead, .prose .lead {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0;
}


/* =========================================================
 横並びコンテンツ
========================================================= */
/* 画像＋文章 */
.grid_frame{
  display: grid;
  align-items: flex-start;
  grid-template-columns: 450px 1fr;
  gap: 45px;
  margin: 25px 0;
}
.grid_frame .side02{
  padding-top: 60px;
}
.grid_frame .visual_list{
  margin: 0;
}
/* シンプル */
.flex_simple_frame{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 45px;
  margin: 25px 0;
}
.flex_simple_frame .visual_list{
  margin: 0;
}


/* =========================================================
 画像連続表示
========================================================= */
.visual_list{
  display: grid;
  list-style: none;
  gap: 45px;
  margin: 45px 0 25px;
}
.visual_list.dev01{
  grid-template-columns: repeat(1, 1fr);
}
.visual_list.dev02{
  grid-template-columns: repeat(2, 1fr);
}
.visual_list.dev03{
  grid-template-columns: repeat(3, 1fr);
}
.visual_list li{
  position: relative;
}
.visual_list li::before {
  content: "";
  aspect-ratio: 1/1;
  position: absolute;
  background: url(../img/common/parts/pin.svg) no-repeat;
  background-size: contain;
  left: 50%;
  top: -20px;
  width: 40px;
  z-index: 100;
}
.visual_list img {
  display: block;
  object-fit: cover;
  background: #fff;
  height: auto;
  width: 100%;
  border-radius: 15px;
  padding: 30px 15px 15px;
}


/* =========================================================
 スタッフリスト
========================================================= */
.staff_list {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.staff_list li {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr;
  gap: 15px;
  padding-left: 18px;
}
.staff_list li::before {
  content: "";
  aspect-ratio: 1/1;
  position: absolute;
  transform: translateY(-50%);
  background-color: var(--ink-soft);
  border-radius: 20px;
  top: 50%;
  left: 0;
  width: 7px;
  height: auto;
}
.staff_list .name{
  color: var(--ink-soft);
}
.staff_list .labels{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.staff_list .labels span {
  display: block;
  text-align: center;
  font-size: 14px;
  border-radius: 1000px;
  color: #fff;
  padding: 1px 10px;
}
.staff_list .labels span[data-job="管理者"]{
  background-color: #D9745D;
}
.staff_list .labels span[data-job="児童発達管理支援責任者"]{
  background-color: #D67387;
}
.staff_list .labels span[data-job="保育士"]{
  background-color: #6EC6DC;
}
.staff_list .labels span[data-job="社会福祉士"]{
  background-color: #E1BA4A;
}
.staff_list .labels span[data-job="教員"]{
  background-color: #81A587;
}
.staff_list .labels span[data-job="児童指導員"]{
  background-color: #6C9A59;
}
.staff_list .labels span[data-job="指導員"]{
  background-color: #3A6B46;
}


/* =========================================================
 PDFリスト
========================================================= */
.pdf_list{
  padding-left: 25px;
}


/* =========================================================
 引継ぎ
========================================================= */
/* 画像リスト */
.list_img{
  display: flex;
  list-style: none;
  margin-top: 30px;
  margin-bottom: 30px;
}
.list_img li{
  width: 100%;
  margin-right: 38px;
}
.list_img li:last-child{
  margin-right: 0px;
}
.list_img li img{
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}


/* =========================================================
 下層 CTA（任意で各ページ末尾に）
========================================================= */
.sub-cta {
  text-align: center;
  background: radial-gradient(120% 110% at 50% 0%, var(--pink-bg) 0%, var(--sky-bg) 60%, var(--paper) 100%);
}
.sub-cta h2 { 
  text-align: center;
  font-size: 28px; font-weight: 900; margin: 0 0 12px; 
}
.sub-cta p  { 
  text-align: center;
  font-size: 16px; color: var(--ink-soft); margin: 0 0 26px; 
}
.sub-cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }


/* =========================================================
 レスポンシブ
========================================================= */
@media screen and (max-width:1199px){
  .staff_list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width:991px){
  .visual_list {
    gap: 25px;
  }
}
@media screen and (max-width:767px){
  .prose h2 {
    font-size: 24px;
    margin-top: 65px;
  }
  .prose h3 { 
    font-size: 20px; 
    margin-top: 35px;
  }
  .grid_frame {
    grid-template-columns: 1fr;
    gap: 5px;
    margin: 15px 0;
  }
  .grid_frame .side02 {
    padding-top: 0;
  }
  .visual_list {
    gap: 25px;
    margin: 35px 0 15px;
  }
  .visual_list.dev02, .visual_list.dev03 {
    grid-template-columns: repeat(1, 1fr);
  }
  .staff_list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .list_img{
    display: block;
  }
  .list_img li {
    width: 100%;
    margin-bottom: 15px;
    margin-right: 15px;
  }
  .list_img li img{
    width: 100%;
  }
  .list_img li:last-child{
    margin-bottom: 0px;
  }
}
@media screen and (max-width:480px){
  .sub-cta {
    padding: 50px 15px 60px;
  }
  .sub-cta h2 {
    font-size: 25px;
  }
  .sub-cta p {
    font-size: 14px;
  }
  .sub-cta__btns .btn--primary {
    font-size: 13px;
    padding: 10px 17px 18px 17px;
  }
  .sub-cta__btns .btn--ghost {
    padding: 11px 14px;
    font-size: 14px;
  }
}