@charset "utf-8";

/* =========================================================
 index.css
 いころきっず トップページ 固有のレイアウト
 共通の変数・パーツは common.css 参照
========================================================= */
/* 汎用コンテナ */
main{
  overflow-x: clip;
}
section{
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.container {
  max-width: 1050px;
  padding: 0 15px;
  margin: 0 auto;
}
.container--narrow {
  max-width: 760px;
}
.center {
  text-align: center;
}
.center_btn {
  display: block;
  text-align: center;
  background: var(--card);
  border: 2px solid var(--line-warm);
  border-radius: var(--pill);
  max-width: 290px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 30px;
  margin: 30px auto 0;
}

/* セクション共通の余白 */
.section {
  padding: 70px 24px;
  scroll-margin-top: 80px;
}
.section--paper {
  background: var(--paper);
}
.section--cream {
  background: var(--cream);
}
.section--sky {
  background: var(--sky-bg);
}
.section--pink {
  background: var(--pink-bg);
}
.section--green {
  background: var(--green-bg);
}


/* =========================================================
 ヒーロー 共通
========================================================= */
.hero {
  display: none;
  position: relative;
  overflow: hidden;
}
.hero.is-active {
  display: block;
}
.hero__eyebrow {
  font-family: var(--font-hand);
  color: var(--coral-ink);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 6px;
}
.hero__title {
  font-weight: 900;
  margin: 0;
}
.hero__lead {
  font-size: 16.5px;
  color: var(--ink-soft);
}
.hero__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__grid {
  max-width: 1250px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
}

/* 装飾（雲・小さな図形） */
.deco {
  position: absolute;
}
.deco--square {
  border-radius: 4px;
}
.deco--dot {
  border-radius: 50%;
}
.cloud {
  position: absolute;
  background: #fff;
  border-radius: var(--pill);
}
.cloud--lg {
  width: 90px;
  height: 34px;
  box-shadow: 18px 8px 0 -2px #fff, -18px 10px 0 -4px #fff;
}
.cloud--sm {
  width: 62px;
  height: 24px;
  box-shadow: 14px 7px 0 -2px #fff, -14px 9px 0 -4px #fff;
}

/* ---- ヒーロー：えほん ---- */
.hero--ehon {
  background: radial-gradient(120% 90% at 50% 0%, var(--sky-bg) 0%, var(--peach) 45%, var(--paper) 100%);
  padding: 80px 25px 120px !important;
}
.hero--ehon .hero__title {
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.25;
  letter-spacing: .01em;
}
.hero--ehon .hero__title span{
  font-weight: 600;
}
.hero--ehon .hero__lead {
  margin: 20px 0 28px;
  max-width: 430px;
}
.ehon-frame {
  position: relative;
  background: var(--card);
  padding: 18px;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(120, 100, 70, .18);
  transform: rotate(-2deg);
  border: 1px solid var(--line-card);
}
.ehon-frame__media {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  background: #eef4f5;
}
.ehon-frame__media img{
  display: block;
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.ehon-frame__caption {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  font-family: var(--font-hand);
  font-size: 17px;
  color: var(--ink-soft);
}
.ehon-badge {
  position: absolute;
  top: -16px;
  right: -10px;
  background: var(--yellow);
  color: #7a5e2a;
  font-family: var(--font-hand);
  font-size: 15px;
  padding: 8px 16px;
  border-radius: var(--pill);
  transform: rotate(8deg);
  box-shadow: 0 4px 10px rgba(160, 130, 60, .25);
}


/* =========================================================
 想い
========================================================= */
.mind {
  padding: 74px 24px 64px;
  text-align: center;
  background: var(--paper);
}
.mind p {
  text-align: center;
  line-height: 2.1;
  font-size: 16.5px;
  color: var(--ink-soft);
  margin: 0;
}


/* =========================================================
 サービス
========================================================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  text-align: left;
}
.service-card {
  background: var(--card);
  border-radius: 20px;
  padding: 30px 30px 32px;
  box-shadow: 0 10px 26px rgba(120, 100, 70, .1);
  border: 1px solid var(--line-card);
}
.service-card h3 {
  font-size: 21px;
  font-weight: 900;
  margin: 0 0 10px;
}
.service-card p {
  font-size: 15.5px;
  color: var(--ink-soft);
  margin: 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: var(--pill);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}
.badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.badge--sky {
  background: var(--sky-bg);
  color: var(--sky-deep);
}
.badge--sky .dot {
  background: var(--sky-mid);
}
.badge--pink {
  background: var(--pink-bg);
  color: var(--pink-ink);
}
.badge--pink .dot {
  background: var(--coral);
}
.tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  font-size: 13px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: var(--pill);
}
.tag--pink {
  background: var(--pink-bg);
  color: var(--pink-ink);
}
.tag--green {
  background: var(--green-bg2);
  color: var(--green-mid);
}
.tag--sky {
  background: var(--sky-bg);
  color: var(--sky-deep);
}
.tag--green2 {
  background: var(--green-bg);
  color: var(--green-mid);
}
.tag--yellow {
  background: var(--yellow-bg);
  color: var(--yellow-deep);
}


/* =========================================================
 1日の流れ（タイムライン）
========================================================= */
.timeline {
  position: relative;
  text-align: left;
  max-width: 680px;
  margin: 0 auto;
}
.timeline__line {
  position: absolute;
  left: 84px;
  top: 12px;
  bottom: 25px;
  width: 3px;
  background: repeating-linear-gradient(var(--line-warm) 0 8px, transparent 8px 16px);
}
.tl-item {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 18px;
  position: relative;
}
.tl-item__time {
  width: 54px;
  text-align: right;
  font-weight: 900;
  font-size: 16px;
  color: var(--ink);
  flex: none;
  padding-top: 12px;
}
.tl-item__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex: none;
  margin-top: 16px;
  box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px var(--kraft);
  position: relative;
  z-index: 1;
}
.tl-item__body {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--line-card);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 6px 14px rgba(120, 100, 70, .07);
  font-weight: 700;
  font-size: 16px;
}
.date_ex_text{
  text-align: center;
  font-size: 15px;
  color: var(--ink-mute);
  margin: 0 0 36px;
}


/* =========================================================
 ご利用の流れ（ステップ）
========================================================= */
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
  text-align: left;
}
.step-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px 20px 26px;
  box-shadow: 0 8px 20px rgba(120, 100, 70, .08);
  border: 1px solid #e7e0cf;
}
.step-card__no {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 14px;
  font-family: var(--font-hand);
}
.step-card h3 {
  font-size: 17px;
  font-weight: 900;
  margin: 0 0 7px;
}
.step-card p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}
.step_tel{
  color: inherit;
  font-weight: 500;
}
.note {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 26px 0 0;
}


/* =========================================================
 対象・料金
========================================================= */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  text-align: left;
}
.info-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line-card);
  box-shadow: 0 8px 20px rgba(120, 100, 70, .08);
  padding: 24px;
}
.info-card__label {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}
.info-card h3 {
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 10px;
}
.info-card p {
  line-height: 2.1;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
}
.disclaimer {
  font-size: 14.5px;
  color: var(--ink-faint);
  margin: 18px 0 0;
}


/* =========================================================
 保護者の声
========================================================= */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  text-align: left;
}
.voice-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: 0 8px 20px rgba(120, 100, 70, .09);
  border: 1px solid var(--line-card);
}
.voice-card__quote {
  font-family: var(--font-hand);
  color: var(--yellow-mid);
  font-size: 40px;
  line-height: .6;
  height: 22px;
}
.voice-card__text {
  font-size: 15px;
  color: var(--ink-soft2);
  margin: 0 0 18px;
}
.voice-card__person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.voice-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
  background: #eef4f5;
  flex: none;
}
.voice-card__who {
  font-size: 13.5px;
  font-weight: 700;
  color: #8a7d68;
}


/* =========================================================
 FAQ（アコーディオン）
========================================================= */
.faq-list {
  text-align: left;
}
.faq-item {
  background: var(--card);
  border-radius: 14px;
  margin-bottom: 12px;
  border: 1px solid #d9ebef;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(80, 120, 130, .06);
}
.faq-item__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-main);
}
.faq-item__badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sky);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex: none;
}
.faq-item__label {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.faq-item__arrow {
  font-size: 14px;
  color: #9ec3cc;
  transition: transform .2s;
}
.faq-item__a {
  padding: 0 22px 20px 64px;
  font-size: 15px;
  color: var(--ink-soft2);
  display: none;
}
.faq-item.is-open .faq-item__a {
  display: block;
}
.faq-item.is-open .faq-item__arrow {
  transform: rotate(180deg);
}


/* =========================================================
   アクセス
   ========================================================= */
.access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  text-align: left;
  align-items: stretch;
}
.access-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 10px 26px rgba(120, 100, 70, .12);
  min-height: 300px;
  background: #e7eef0;
}
.access-map iframe{
  width: 100%;
  height: 100%;
}
.access-info {
  background: var(--card);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--line-card);
  box-shadow: 0 8px 20px rgba(120, 100, 70, .08);
}
.access-info h3 {
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 16px;
}
.access-info__list {
  font-size: 16px;
  color: var(--ink-soft2);
  display: grid;
  gap: 13px;
}
.access-info__row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.access-info__row--top {
  align-items: flex-start;
}
.access-chip {
  font-weight: 700;
  font-size: 12.5px;
  padding: 3px 11px;
  border-radius: var(--pill);
  flex: none;
  height: fit-content;
}
.access-chip--sky {
  background: var(--sky-bg);
  color: var(--sky-deep);
}
.access-chip--pink {
  background: var(--pink-bg);
  color: var(--pink-ink);
}
.access-chip--green {
  background: var(--green-bg);
  color: var(--green-mid);
}
.access-chip--yellow {
  background: var(--yellow-bg);
  color: var(--yellow-deep);
}
.access-tel, .access-tel a {
  font-weight: 700;
  font-size: 18px;
  color: var(--pink-ink);
}


/* =========================================================
 求人
========================================================= */
.recruit-box {
  max-width: 960px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 42px 40px;
  border: 2px dashed var(--line-warm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.recruit-box .eyebrow{
  text-align: start;
}
.recruit-box__text {
  flex: 1;
  min-width: 260px;
}
.recruit-box__text h2 {
  font-size: 28px;
  font-weight: 900;
  margin: 0 0 10px;
}
.recruit-box__text p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}
.recruit-box .btn {
  flex: none;
}


/* =========================================================
 お問い合わせ CTA
========================================================= */
.cta {
  padding: 50px 24px 80px 24px !important;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 110% at 50% 0%, var(--pink-bg) 0%, var(--sky-bg) 60%, var(--paper) 100%);
}
.cta__inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.cta__inner .hero__eyebrow{
  text-align: center;
  padding-right: 25px;
}
.cta__inner h2 {
  text-align: center;
  font-size: 34px;
  font-weight: 900;
  margin: 0 0 14px;
}
.cta__inner p {
  text-align: center;
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 30px;
}
.cta__btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta__btns .btn--ghost {
  padding: 14px 32px;
  font-size: 17px;
}

.timeline_grid{
  display: grid;
  align-items: flex-start;
  grid-template-columns: repeat(2, 1fr);
  gap: 45px;
}
.timeline_grid h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--ink);
  padding-bottom: 16px;
  border-bottom: 2px dashed var(--line);
  margin-bottom: 25px;
}
.timeline_grid h3::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--coral);
  box-shadow: 4px 4px 0 var(--yellow);
}


/* =========================================================
 レスポンシブ
========================================================= */
@media screen and (max-width:1199px) {
  .hero__grid {
    gap: 5px;
  }
  .ehon-frame__media {
    height: 310px;
  }
  .ehon-frame {
    padding: 13px;
  }
  .timeline_grid {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width:991px) {
  .hero__grid {
    display: block;
  }
  .ehon-frame {
    max-width: 650px;
    margin: 15px auto 30px;
  }
  .ehon-frame__media{
    height: auto;
  }
  .hero__btns {
    justify-content: center;
  }
}
@media screen and (max-width:767px) {
  .hero--ehon {
    padding: 40px 25px 80px !important;
  }
  .section-title {
    font-size: 28px;
  }
  .timeline_grid h3 {
    font-size: 20px;
    margin-bottom: 18px;
  }
}
@media screen and (max-width:480px) {
  .hero__btns {
    gap: 10px;
  }
  .hero__btns .btn--primary,
  .hero__btns .btn--ghost {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 13px;
  }
  .section-title {
    font-size: 24px;
  }
  .cta__inner h2 {
    font-size: 26px;
  }
  .cta__btns .btn--primary,
  .cta__btns .btn--ghost {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 14px;
  }
  .recruit-box__text h2 {
    font-size: 26px;
  }
  .timeline__line {
    left: 66px;
  }
  .tl-item {
    gap: 17px;
  }
  .tl-item__time {
    width: 40px;
  }
  .tl-item__body {
    font-size: 14px;
    padding: 10px 16px;
  }
}
