@charset "utf-8";
/* ============================================================
   下層ページ用スタイル
   style.css の後に読み込む（inc/header.php の $page_css で指定）
   ============================================================ */

/* ------------------------------------------------------------
   共通：パンくず
   ------------------------------------------------------------ */
.breadcrumb {
  max-width: var(--container); margin: 0 auto;
  padding: 14px var(--gutter) 0;
}
.breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumb__list li { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.breadcrumb__list li + li::before {
  content: "›"; color: var(--blue-light); font-weight: 900;
}
.breadcrumb__list a { color: var(--blue); font-weight: 700; }
.breadcrumb__list a:hover { text-decoration: underline; }
.breadcrumb__list span { color: var(--ink-soft); }

/* ------------------------------------------------------------
   共通：ナビの現在地
   ------------------------------------------------------------ */
.global-nav__list > li > a.is-current {
  color: var(--blue); border-color: var(--blue);
}

/* ------------------------------------------------------------
   共通：ページ見出し
   ------------------------------------------------------------ */
.page-hero { padding: 24px 0 40px; overflow: hidden; }
.page-hero__inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.page-title {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 900; color: var(--blue); line-height: 1.25;
  letter-spacing: .01em;
}
.page-title small { font-size: .58em; font-weight: 900; margin-left: .1em; }
.page-sub {
  font-size: clamp(17px, 2.2vw, 24px); font-weight: 900;
  color: var(--ink); margin-top: 8px;
}
.page-sub em { font-style: normal; color: var(--orange); font-size: 1.2em; }
.page-lead { font-size: 14px; line-height: 2; margin-top: 16px; }

.c-orange { color: var(--orange); font-style: normal; }
/* c-green は style.css にある。pink はどこにも無かったのでここで足す。
   --pink（#f7a8c4）は白背景だと薄くて読めないため、濃い方に寄せる */
.c-pink   { color: #e4699a; font-style: normal; }
.c-blue   { color: var(--blue);   font-style: normal; }

/* 見出しの左右に付くキラキラ */
.heading--sparkle { display: flex; align-items: center; justify-content: center; gap: 12px; }

/* 数字バッジ（丸／星） */
.num-badge {
  flex: none; width: 34px; height: 34px;
  display: grid; place-items: center;
  color: #fff; font-size: 14px; font-weight: 900; font-style: normal;
  letter-spacing: 0;
}
.num-badge--circle { border-radius: 50%; }
.num-badge--star {
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  width: 42px; height: 42px; padding-top: 6px;
}
.num-badge--blue   { background: var(--blue); }
.num-badge--orange { background: var(--orange); }
.num-badge--green  { background: var(--green); }
.num-badge--pink   { background: var(--pink); }
.num-badge--yellow { background: var(--yellow); }

/* 大きめCTAボタン */
.cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-width: 280px; padding: 16px 30px; border-radius: 999px;
  background: var(--blue); color: #fff;
  font-size: 18px; font-weight: 800;
  box-shadow: 0 4px 0 var(--blue-dark);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cta-btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--blue-dark); }
.cta-btn__arrow {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.25);
  display: grid; place-items: center; font-weight: 900;
}

/* ============================================================
   わくわくみらいカンパニーとは
   ============================================================ */
.page-hero--about .page-hero__inner {
  display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  gap: 40px; align-items: center;
}
.about-hero__collage {
  display: grid; gap: 12px;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas: "a b" "a c";
  min-height: 320px;
}
.about-hero__collage .ph--ab1 { grid-area: a; border-radius: 46% 46% 50% 50% / 40% 40% 60% 60%; }
.about-hero__collage .ph--ab2 { grid-area: b; border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%; }
.about-hero__collage .ph--ab3 { grid-area: c; border-radius: 46% 50% 50% 46% / 50% 40% 60% 50%; }

/* 子どもたちの未来のために */
.mission { padding: 20px 0 56px; }
.mission__inner {
  max-width: var(--container); margin: 0 auto;
  padding: 46px var(--gutter) 40px;
  background: var(--sky); border-radius: var(--radius-lg);
}
.mission__title {
  text-align: center; color: var(--blue);
  font-size: clamp(20px, 2.8vw, 30px); font-weight: 900;
  letter-spacing: .06em; margin-bottom: 20px;
}
.mission__lead { text-align: center; font-size: 14px; line-height: 2.1; margin-bottom: 34px; }

.mission-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mission-list li { text-align: center; }
.mission-list .ph--mission { width: 100%; aspect-ratio: 4 / 3; margin-bottom: 10px; }
.mission-list p { font-size: 13px; font-weight: 700; line-height: 1.6; }

/* 大切にしている3つの想い */
.values { padding: 8px 0 56px; }
.values__inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.values .heading { margin-bottom: 34px; }

.value-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card {
  position: relative;
  background: var(--white); border-radius: var(--radius-lg);
  border: 2px solid var(--sky-deep);
  padding: 34px 22px 26px; text-align: center;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 14px;
}
.value-card__num {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
}
.value-card__title { font-size: 21px; font-weight: 900; }
.value-card--01 { border-color: #ffd9b8; }
.value-card--01 .value-card__title { color: var(--orange); }
.value-card--02 { border-color: #c6e9cd; }
.value-card--02 .value-card__title { color: var(--green); }
.value-card--03 { border-color: var(--sky-deep); }
.value-card--03 .value-card__title { color: var(--blue); }
.value-card__rule { border: 0; border-top: 2px dotted #d9dde2; margin: 0; }
.value-card .ph--value { width: 100%; aspect-ratio: 16 / 9; }
.value-card__text { font-size: 13px; line-height: 1.9; margin-top: auto; }

/* 夢は、ひとりでは育ちません。 */
.together { padding: 0 0 60px; }
.together__inner {
  max-width: var(--container); margin: 0 auto;
  padding: 36px var(--gutter);
  background: var(--cream); border-radius: var(--radius-lg);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 38%);
  gap: 30px; align-items: center;
}
.together__title {
  color: var(--blue); font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 900; margin-bottom: 14px;
}
.together__text { font-size: 14px; line-height: 2; }
.together__text strong { color: var(--blue); font-weight: 900; }
.together .ph--together { width: 100%; aspect-ratio: 16 / 7; }

/* ============================================================
   体験できること
   ============================================================ */
.page-hero--exp .page-hero__inner {
  display: grid; grid-template-columns: 170px minmax(0, 1fr) 170px;
  gap: 24px; align-items: center;
}
.page-hero--exp .page-hero__copy { text-align: center; }
.page-hero--exp .ph--exp-round {
  width: 100%; aspect-ratio: 1; border-radius: 50%;
}

.exp-detail { padding: 30px 0 56px; }
.exp-detail__inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* 上段3枚・下段2枚をセンター寄せするための6分割グリッド */
.exp-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.exp-cards > li:nth-child(1) { grid-column: 1 / 3; }
.exp-cards > li:nth-child(2) { grid-column: 3 / 5; }
.exp-cards > li:nth-child(3) { grid-column: 5 / 7; }
.exp-cards > li:nth-child(4) { grid-column: 2 / 4; }
.exp-cards > li:nth-child(5) { grid-column: 4 / 6; }

.exp2 {
  background: var(--white); border-radius: var(--radius-lg);
  border: 2px solid var(--sky-deep);
  padding: 22px 20px 20px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px; height: 100%;
}
.exp2__head { display: flex; align-items: center; gap: 12px; }
.exp2__title { font-size: 22px; font-weight: 900; }
.exp2__deco { margin-left: auto; font-size: 22px; }
.exp2--01 { border-color: var(--sky-deep); }  .exp2--01 .exp2__title { color: var(--blue); }
.exp2--02 { border-color: #ffd9b8; }          .exp2--02 .exp2__title { color: var(--orange); }
.exp2--03 { border-color: #c6e9cd; }          .exp2--03 .exp2__title { color: var(--green); }
.exp2--04 { border-color: #fbd3e1; }          .exp2--04 .exp2__title { color: #e4699a; }
.exp2--05 { border-color: #ffe9a8; }          .exp2--05 .exp2__title { color: #e0a400; }
.exp2__text { font-size: 13px; line-height: 1.9; }
.exp2 .ph--exp-photo { width: 100%; aspect-ratio: 4 / 3; margin-top: auto; border-radius: var(--radius); }

/* まだまだあるよ！プラスの体験 */
.plus { padding: 0 0 56px; }
.plus__inner {
  max-width: var(--container); margin: 0 auto;
  padding: 40px var(--gutter);
  background: var(--cream); border-radius: var(--radius-lg);
}
.plus__title {
  text-align: center; color: var(--blue);
  font-size: clamp(20px, 2.8vw, 30px); font-weight: 900;
  margin-bottom: 28px;
}
.plus__title em { font-style: normal; color: var(--orange); }

.plus-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 28px; }
.plus-list li { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: start; }
.plus-list .ph--plus-icon {
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--white); border-color: var(--sky-deep);
}
.plus-list h3 { font-size: 15px; font-weight: 900; color: var(--blue); margin-bottom: 4px; }
.plus-list p  { font-size: 12px; line-height: 1.8; }

.plus-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.plus-photos .ph--plus-photo { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); }

/* さあ、きみも未来の社長になろう！ */
.cta-join { padding: 0 0 64px; }
.cta-join__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 150px minmax(0, 1fr) 150px;
  gap: 20px; align-items: center;
}
.cta-join__body { text-align: center; }
.cta-join__title {
  color: var(--blue); font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 900; margin-bottom: 20px;
}
.cta-join .ph--cta-illust { width: 100%; aspect-ratio: 3 / 4; border: none; background: none; }

/* ------------------------------------------------------------
   レスポンシブ
   ------------------------------------------------------------ */
@media (max-width: 1000px) {
  .page-hero--about .page-hero__inner { grid-template-columns: 1fr; }
  .about-hero__collage { min-height: 260px; }

  .mission-list { grid-template-columns: repeat(2, 1fr); }

  .exp-cards { grid-template-columns: repeat(2, 1fr); }
  .exp-cards > li:nth-child(n) { grid-column: auto; }

  .plus-list { grid-template-columns: 1fr; }

  .together__inner { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .page-hero { padding: 16px 0 30px; }

  .page-hero--exp .page-hero__inner { grid-template-columns: 110px minmax(0, 1fr) 110px; gap: 12px; }

  .value-list { grid-template-columns: 1fr; gap: 30px; }

  .plus-photos { grid-template-columns: repeat(2, 1fr); }

  .cta-join__inner { grid-template-columns: 90px minmax(0, 1fr) 90px; gap: 10px; }
  .cta-btn { min-width: 0; width: 100%; font-size: 16px; padding: 14px 20px; }
}

@media (max-width: 560px) {
  .exp-cards { grid-template-columns: 1fr; }
  .mission-list { grid-template-columns: 1fr 1fr; gap: 14px; }
  .mission__inner { padding: 34px 16px 30px; }
  .plus__inner { padding: 30px 16px; }

  /* ヒーロー脇の丸写真はSPで畳む */
  .page-hero--exp .page-hero__inner { grid-template-columns: 1fr; }
  .page-hero--exp .exp-round--l,
  .page-hero--exp .exp-round--r { display: none; }

  .cta-join__inner { grid-template-columns: 1fr; }
  .cta-join .ph--cta-illust { display: none; }
}

/* ============================================================
   カテゴリバッジの色
   ------------------------------------------------------------
   もとは questions.css と news.css に分かれて書かれていた。
   その結果、questions.css を読まない news.php では
   「活動報告」「メディア掲載」のバッジが無色になっていた。
   （pink はどこにも定義が無く、「お知らせ」も無色だった）

   バッジを使う3ページ（questions.php / news.php / news-detail）は
   いずれも pages.css を読むので、色はここに集約する。
   形（.cat-badge / .cat-badge--plain）はページ固有なので各CSSに残す。
   ============================================================ */
.cat--blue   { background: var(--blue); }
.cat--green  { background: var(--green); }
.cat--red    { background: var(--red); }
.cat--orange { background: var(--orange); }
.cat--navy   { background: var(--navy); }
.cat--purple { background: var(--purple); }
/* --pink（#f7a8c4）は白抜き文字が読めないので、チップと同じ濃さに合わせる */
.cat--pink   { background: #e4699a; }
