/* =====================================================
   あわらタイムズ｜子育てガイドTOP
   awt-childcare-home.css：全文差し替え用
   共通CSS・ブログパーツ2368の内部は変更しない
===================================================== */


/* =====================================================
   01. ページ幅・TOP専用の基本設定
===================================================== */

.awt-page.awt-childcare-home {
  width: min(1180px, calc(100vw - 32px));
  max-width: none;
  margin: 0 0 0 50%;
  transform: translateX(-50%);
  overflow: visible;
}

.awt-childcare-home > .wp-block-group {
  max-width: none;
  margin-inline: 0;
}


/* 標準H1は画面上に重複表示せず、読み上げ用に残す */

body:has(.awt-childcare-home) .c-pageTitle {
  display: block;
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.awt-childcare-home__ui {
  --awt-cch-ink: #102a3a;
  --awt-cch-text: #40515b;
  --awt-cch-muted: #627078;
  --awt-cch-accent: #a23f5b;
  --awt-cch-line: #eadfe3;
  --awt-cch-soft: #fff7f9;
  --awt-cch-mint: #eef7f2;
  --awt-cch-radius: 14px;
  --awt-cch-gap: clamp(32px, 4vw, 48px);

  --awt-cch-serif:
    var(--awt-childcare-serif, "Yu Mincho", serif);

  --awt-cch-sans:
    var(--awt-childcare-sans, "Yu Gothic", sans-serif);

  min-width: 0;
  padding: 0;

  color: var(--awt-cch-text);
  background: #fff;

  font-family: var(--awt-cch-sans);
  font-size: 16px;
  line-height: 1.75;

  overflow-wrap: anywhere;
}

.awt-childcare-home__ui *,
.awt-childcare-home__ui *::before,
.awt-childcare-home__ui *::after {
  box-sizing: border-box;
}

.awt-childcare-home__ui :is(p, figure, h2, h3, ul, ol),
.awt-childcare-home__ui .wp-block-group {
  margin: 0;
  padding: 0;
}

.awt-childcare-home__ui .wp-block-group {
  min-width: 0;
  max-width: none;
}

.awt-childcare-home__ui img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0;
  border: 0;
}

.awt-childcare-home__ui a {
  color: inherit;
  text-decoration: none;
}

.awt-childcare-home__ui :is(a, summary):focus-visible {
  outline: 3px solid var(--awt-cch-accent);
  outline-offset: 4px;
}

.awt-childcare-home__ui [id] {
  scroll-margin-top: 100px;
}


/* =====================================================
   02. 見出し・余白・小さな共通部品
===================================================== */

.awt-childcare-home__ui .awt-childcare-section,
.awt-childcare-home__ui .awt-childcare-home-editorial,
.awt-childcare-home__ui .awt-childcare-support-row {
  margin-top: var(--awt-cch-gap);
}

.awt-childcare-home__ui .awt-childcare-heading,
.awt-childcare-home__ui .awt-childcare-heading__main {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 14px;
  min-width: 0;
}

.awt-childcare-home__ui .awt-childcare-heading {
  margin-bottom: 16px;
}

.awt-childcare-home__ui :is(h2, h3) {
  position: static;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;

  color: var(--awt-cch-ink);
  line-height: 1.55;
  text-align: left;
}

.awt-childcare-home__ui :is(h2, h3)::before,
.awt-childcare-home__ui :is(h2, h3)::after {
  content: none;
  display: none;
}

.awt-childcare-home__ui h2 {
  font-family: var(--awt-cch-serif);
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 600;
  letter-spacing: 0.025em;
}

.awt-childcare-home__ui .awt-childcare-heading__main > span,
.awt-childcare-home__ui .awt-childcare-hero__label,
.awt-childcare-home__ui .awt-childcare-consult__en {
  color: var(--awt-cch-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.awt-childcare-home__ui .awt-childcare-heading > p,
.awt-childcare-home__ui .awt-childcare-home__note {
  color: var(--awt-cch-muted);
  font-size: 14px;
  line-height: 1.75;
}

.awt-childcare-home__ui .awt-childcare-home__note {
  margin-top: 14px;
}

.awt-childcare-home__ui .awt-childcare-status {
  display: block;
  color: var(--awt-cch-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.awt-childcare-home__ui .is-planned {
  cursor: default;
}

.awt-childcare-home__ui .awt-childcare-home__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  min-height: 46px;
  max-width: 100%;

  padding: 10px 22px;

  border: 1px solid var(--awt-cch-accent);
  border-radius: 999px;

  color: var(--awt-cch-accent);
  background: #fff;

  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

.awt-childcare-home__ui .awt-childcare-home__text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin-top: 12px;
}

.awt-childcare-home__ui .awt-childcare-home__text-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;

  color: var(--awt-cch-accent);
  font-size: 15px;

  text-decoration: underline;
  text-underline-offset: 4px;
}


/* =====================================================
   03. HERO：既存写真を継続使用
===================================================== */

.awt-childcare-home__ui .awt-childcare-hero {
  display: grid;

  grid-template-columns:
    minmax(0, 0.85fr)
    minmax(0, 1.4fr);

  align-items: stretch;

  overflow: hidden;
  background: #fff;
}

.awt-childcare-home__ui .awt-childcare-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;

  min-width: 0;
  padding: 26px 28px 30px 16px;
}

.awt-childcare-home__ui .awt-childcare-hero__catch {
  color: var(--awt-cch-ink);

  font-family: var(--awt-cch-serif);
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 500;

  line-height: 1.35;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.awt-childcare-home__ui .awt-childcare-hero__lead {
  max-width: 29em;
  font-size: 16px;
  line-height: 1.85;
}

.awt-childcare-home__ui .awt-childcare-hero__visual {
  position: relative;
  min-width: 0;
  min-height: 340px;
  overflow: hidden;
}

.awt-childcare-home__ui .awt-childcare-hero__visual > img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: 64% center;
}

.awt-childcare-home__ui .awt-childcare-hero__message {
  position: absolute;
  top: 18px;
  right: 18px;

  max-width: 11em;
  padding: 8px 10px;

  border-radius: 6px;

  color: var(--awt-cch-ink);
  background: rgba(255, 255, 255, 0.86);

  font-family: var(--awt-cch-serif);
  font-size: 15px;
  line-height: 1.8;
}

.awt-childcare-home__ui .awt-childcare-hero__visual figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;

  padding: 2px 6px;

  color: #344550;
  background: rgba(255, 255, 255, 0.92);

  font-size: 12px;
}


/* =====================================================
   04. 目的・よく使う情報：各8枚
===================================================== */

.awt-childcare-home__ui .awt-childcare-purpose,
.awt-childcare-home__ui .awt-childcare-popular,
.awt-childcare-home__ui .awt-childcare-age {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}

.awt-childcare-home__ui .awt-childcare-purpose__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;

  min-width: 0;
  min-height: 142px;

  margin: 0;
  padding: 14px 8px 12px;

  border: 1px solid var(--awt-cch-line);
  border-radius: 10px;

  color: var(--awt-cch-ink);
  background: #fff;

  text-align: center;
}

.awt-childcare-home__ui .awt-childcare-purpose__item img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.awt-childcare-home__ui .awt-childcare-purpose__item > span {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

.awt-childcare-home__ui
.awt-childcare-purpose__item > .awt-childcare-status {
  margin-top: auto;
}

.awt-childcare-home__ui .awt-childcare-purpose__item--pink {
  background: #fff1f4;
}

.awt-childcare-home__ui .awt-childcare-purpose__item--coral {
  background: #fff3ef;
}

.awt-childcare-home__ui .awt-childcare-purpose__item--orange {
  background: #fff6eb;
}

.awt-childcare-home__ui .awt-childcare-purpose__item--mint {
  background: #eff8f4;
}

.awt-childcare-home__ui .awt-childcare-purpose__item--blue {
  background: #edf8fb;
}

.awt-childcare-home__ui .awt-childcare-purpose__item--yellow {
  background: #fff8e9;
}

.awt-childcare-home__ui .awt-childcare-purpose__item--sky {
  background: #eff6fc;
}

.awt-childcare-home__ui .awt-childcare-purpose__item--lavender {
  background: #f5f1fc;
}

.awt-childcare-home__ui .awt-childcare-home__mini-links {
  display: grid;
  width: 100%;
  margin-top: 0;
}

.awt-childcare-home__ui .awt-childcare-home__mini-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  color: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
}


/* =====================================================
   05. 年齢8枚：先頭の妊娠前も同じ大きさ
===================================================== */

.awt-childcare-home__ui .awt-childcare-age__item {
  display: flex;
  flex-direction: column;

  min-width: 0;
  overflow: hidden;

  border: 1px solid var(--awt-cch-line);
  border-radius: 10px;

  background: #fff;
}

.awt-childcare-home__ui .awt-childcare-age__item > img {
  width: 100%;
  height: auto;

  aspect-ratio: 8 / 5;

  object-fit: cover;
  object-position: center;
}

.awt-childcare-home__ui .awt-childcare-age__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;

  min-height: 100px;
  padding: 10px;
}

.awt-childcare-home__ui .awt-childcare-age__text strong {
  color: var(--awt-cch-ink);
  font-size: 16px;
  line-height: 1.55;
}

.awt-childcare-home__ui .awt-childcare-age__text > span {
  color: var(--awt-cch-muted);
  font-size: 14px;
  line-height: 1.6;
}

.awt-childcare-home__ui
.awt-childcare-age__text > .awt-childcare-status {
  margin-top: auto;
}


/* =====================================================
   06. 子育て予定
   4種類：2列×2段＋横長のカレンダー導線
===================================================== */

.awt-childcare-home__ui .awt-childcare-home-schedule__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.awt-childcare-home__ui .awt-childcare-home-schedule__grid > .wp-block-group__inner-container,
.awt-childcare-home__ui .awt-childcare-home-schedule__category > .wp-block-group__inner-container {
  display: contents;
}

.awt-childcare-home__ui .awt-childcare-home-schedule__category {
  --awt-cch-calendar-accent: #a23f5b;
  --awt-cch-calendar-soft: #fff7f9;

  display: flex;
  flex-direction: column;

  min-width: 0;
  padding: 22px;

  border: 1px solid var(--awt-cch-line);
  border-radius: var(--awt-cch-radius);

  background: var(--awt-cch-calendar-soft);
}

.awt-childcare-home__ui
.awt-childcare-home-schedule__category--health {
  --awt-cch-calendar-accent: #246682;
  --awt-cch-calendar-soft: #f2f8fb;
}

.awt-childcare-home__ui
.awt-childcare-home-schedule__category--events {
  --awt-cch-calendar-accent: #26654e;
  --awt-cch-calendar-soft: #f1f8f4;
}

.awt-childcare-home__ui .awt-childcare-home-schedule__head {
  margin-bottom: 16px;
}

.awt-childcare-home__ui .awt-childcare-home-schedule__head h3 {
  color: var(--awt-cch-ink);

  font-family: var(--awt-cch-serif);
  font-size: 21px;
  font-weight: 600;
}

.awt-childcare-home__ui .awt-childcare-home-schedule__head p {
  margin-top: 5px;

  color: var(--awt-cch-muted);
  font-size: 14px;
}

.awt-childcare-home__ui
.awt-childcare-home-schedule__category--all {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  margin-top: 20px;
  padding: 16px 22px;
  background: #faf8f5;
}

.awt-childcare-home__ui
.awt-childcare-home-schedule__category--all > p {
  margin: 0;
  color: var(--awt-cch-muted);
  font-size: 14px;
}

/* 既存カレンダーの新旧出力に対応。共通PHPは変更しない */

.awt-childcare-home__ui
.awt-childcare-home-schedule .awt-calendar {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.awt-childcare-home__ui .awt-calendar__grid {
  display: grid;
  flex: 1;
  grid-auto-rows: 1fr;
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.awt-childcare-home__ui .awt-calendar__card {
  min-width: 0;
  margin: 0;
  padding: 16px;

  border: 1px solid var(--awt-cch-line);
  border-radius: 10px;

  background: #fff;
}

.awt-childcare-home__ui .awt-calendar__card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;

  margin-bottom: 8px;
}

.awt-childcare-home__ui .awt-calendar__date {
  display: block;
  margin: 0 0 8px;

  color: var(--awt-cch-calendar-accent);

  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.awt-childcare-home__ui
.awt-calendar__card-head .awt-calendar__date {
  margin-bottom: 0;
}

.awt-childcare-home__ui .awt-calendar__year {
  display: inline-block;
  margin-right: 6px;

  color: var(--awt-cch-muted);

  font-size: 13px;
  font-weight: 400;
}

.awt-childcare-home__ui .awt-calendar__time,
.awt-childcare-home__ui .awt-calendar__location {
  color: var(--awt-cch-muted);
  font-size: 14px;
}

.awt-childcare-home__ui .awt-calendar__title,
.awt-childcare-home__ui .awt-calendar__card h3 {
  margin: 0;

  color: var(--awt-cch-ink);

  font-family: var(--awt-cch-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.65;
}

.awt-childcare-home__ui .awt-calendar__location,
.awt-childcare-home__ui .awt-calendar__meta {
  margin: 8px 0 0;
}

.awt-childcare-home__ui .awt-calendar__meta > div {
  display: grid;
  grid-template-columns: 3em minmax(0, 1fr);
  gap: 8px;

  padding: 4px 0;

  font-size: 14px;
  line-height: 1.7;
}

.awt-childcare-home__ui .awt-calendar__meta :is(dt, dd) {
  margin: 0;
}

.awt-childcare-home__ui .awt-calendar__meta dt {
  color: var(--awt-cch-muted);
}


/* 詳細が折りたたみ出力の場合も、本文は削除しない */

.awt-childcare-home__ui .awt-calendar__details {
  margin-top: 12px;
  border-top: 1px solid var(--awt-cch-line);
}

.awt-childcare-home__ui .awt-calendar__details summary {
  min-height: 44px;
  padding: 10px 0;

  color: var(--awt-cch-calendar-accent);

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;
}

.awt-childcare-home__ui .awt-calendar__description {
  margin-top: 10px;

  font-size: 14px;
  line-height: 1.75;

  overflow-wrap: anywhere;
}

.awt-childcare-home__ui .awt-calendar__description p + p {
  margin-top: 8px;
}

.awt-childcare-home__ui .awt-calendar__description a,
.awt-childcare-home__ui .awt-calendar__notice a,
.awt-childcare-home__ui .awt-calendar__official-link a,
.awt-childcare-home__ui .awt-calendar__fallback-link a {
  color: var(--awt-cch-calendar-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.awt-childcare-home__ui .awt-calendar__official-link a,
.awt-childcare-home__ui .awt-calendar__fallback-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.awt-childcare-home__ui .awt-calendar__message,
.awt-childcare-home__ui .awt-calendar__notice {
  margin: 0 0 12px;
  padding: 14px 16px;

  border: 1px solid var(--awt-cch-line);
  border-radius: 10px;

  background: #fff;

  font-size: 15px;
  line-height: 1.75;
}

.awt-childcare-home__ui .awt-calendar__all-link,
.awt-childcare-home__ui .awt-calendar__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;

  margin: auto 0 0;
  padding-top: 12px;
}

.awt-childcare-home__ui .awt-calendar__all-link a,
.awt-childcare-home__ui .awt-calendar__footer a {
  display: inline-flex;
  align-items: center;

  min-height: 44px;
  max-width: 100%;

  padding: 4px 0;

  border: 0;
  border-radius: 0;

  background: none;
  color: var(--awt-cch-calendar-accent);

  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;

  white-space: normal;
  text-align: left;

  text-decoration: underline;
  text-underline-offset: 4px;
}

.awt-childcare-home__ui .awt-calendar__checked {
  margin-top: 10px;
  color: var(--awt-cch-muted);
  font-size: 13px;
}


/* =====================================================
   07. 注目記事と施設案内
===================================================== */

.awt-childcare-home__ui .awt-childcare-home-editorial {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 28px;
}

.awt-childcare-home__ui .awt-childcare-home-editorial > .wp-block-group__inner-container {
  display: contents;
}

.awt-childcare-home__ui .awt-childcare-home-spotlight,
.awt-childcare-home__ui .awt-childcare-home-facilities {
  min-width: 0;
}

.awt-childcare-home__ui
.awt-childcare-home-editorial .awt-childcare-heading {
  display: block;
}

.awt-childcare-home__ui
.awt-childcare-home-editorial .awt-childcare-heading > p {
  margin-top: 6px;
}


/* =====================================================
   08. 今、読んでほしい1本
   SWELL投稿リストを利用
===================================================== */

.awt-childcare-home__ui
.awt-childcare-home-spotlight__posts .p-postList {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.awt-childcare-home__ui
.awt-childcare-home-spotlight__posts .p-postList__item {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}

.awt-childcare-home__ui
.awt-childcare-home-spotlight__posts .p-postList__link {
  display: block;
  overflow: hidden;
  padding: 0;

  border: 1px solid var(--awt-cch-line);
  border-radius: var(--awt-cch-radius);

  background: #fff;
}

.awt-childcare-home__ui
.awt-childcare-home-spotlight__posts .p-postList__thumb {
  position: relative;

  width: 100%;
  height: auto;

  margin: 0;
  padding: 0;

  overflow: hidden;

  aspect-ratio: 16 / 9;

  box-shadow: none;
  background: #faf7f6;
}

.awt-childcare-home__ui
.awt-childcare-home-spotlight__posts
.p-postList__thumb::before {
  content: none;
}

.awt-childcare-home__ui
.awt-childcare-home-spotlight__posts .p-postList__thumb img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: contain;
}

.awt-childcare-home__ui
.awt-childcare-home-spotlight__posts .p-postList__body {
  margin: 0;
  padding: 17px 18px 19px;
}

.awt-childcare-home__ui
.awt-childcare-home-spotlight__posts .p-postList__title {
  margin: 0;
  padding: 0;

  color: var(--awt-cch-ink);

  font-family: var(--awt-cch-serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.65;
}

.awt-childcare-home__ui
.awt-childcare-home-spotlight__posts
:is(
  .p-postList__excerpt,
  .p-postList__cat,
  .p-postList__meta
) {
  display: none;
}


/* =====================================================
   09. 施設案内
   1つのパネル内に3導線
===================================================== */

.awt-childcare-home__ui .awt-childcare-home-facilities__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;

  padding: 20px;

  border: 1px solid var(--awt-cch-line);
  border-radius: var(--awt-cch-radius);

  background: #fcfaf8;
}

.awt-childcare-home__ui .awt-childcare-home-facilities__card {
  display: grid;

  grid-template-columns:
    52px
    minmax(0, 1fr)
    18px;

  align-items: center;
  gap: 14px;

  min-width: 0;
  min-height: 104px;

  padding: 16px;

  border: 1px solid var(--awt-cch-line);
  border-radius: 10px;

  background: #fff;
}

.awt-childcare-home__ui
.awt-childcare-home-facilities__card > img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.awt-childcare-home__ui
.awt-childcare-home-facilities__card :is(strong, small) {
  display: block;
}

.awt-childcare-home__ui
.awt-childcare-home-facilities__card strong {
  margin-bottom: 4px;

  color: var(--awt-cch-ink);

  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
}

.awt-childcare-home__ui
.awt-childcare-home-facilities__card small {
  margin-top: 3px;

  color: var(--awt-cch-muted);

  font-size: 14px;
  line-height: 1.7;
}

.awt-childcare-home__ui .awt-childcare-home-facilities__arrow {
  color: var(--awt-cch-accent);
}


/* =====================================================
   10. 子育て支援・相談
===================================================== */

.awt-childcare-home__ui .awt-childcare-support-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 28px;
}

.awt-childcare-home__ui .awt-childcare-support {
  min-width: 0;
  padding: 24px;

  border-radius: var(--awt-cch-radius);
  background: var(--awt-cch-soft);
}

.awt-childcare-home__ui .awt-childcare-support__list {
  overflow: hidden;

  border: 1px solid var(--awt-cch-line);
  border-radius: 12px;

  background: #fff;
}

.awt-childcare-home__ui .awt-childcare-support__item {
  display: grid;

  grid-template-columns:
    38px
    minmax(0, 1fr)
    auto;

  align-items: center;
  gap: 10px;

  min-width: 0;
  min-height: 76px;

  padding: 12px;
}

.awt-childcare-home__ui
.awt-childcare-support__item + .awt-childcare-support__item {
  border-top: 1px solid var(--awt-cch-line);
}

.awt-childcare-home__ui .awt-childcare-support__item img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.awt-childcare-home__ui
.awt-childcare-support__item :is(strong, small) {
  display: block;
}

.awt-childcare-home__ui .awt-childcare-support__item strong {
  color: var(--awt-cch-ink);
  font-size: 16px;
  line-height: 1.6;
}

.awt-childcare-home__ui
.awt-childcare-support__item span > small {
  margin-top: 3px;

  color: var(--awt-cch-muted);

  font-size: 13px;
  line-height: 1.65;
}

.awt-childcare-home__ui .awt-childcare-consult {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;

  min-width: 0;
  padding: 24px;

  border-radius: var(--awt-cch-radius);
  background: var(--awt-cch-mint);
}

.awt-childcare-home__ui .awt-childcare-consult__en {
  color: #26654e;
}

.awt-childcare-home__ui .awt-childcare-consult h2 {
  margin: 6px 0 12px;
  color: #224f40;
}

.awt-childcare-home__ui .awt-childcare-consult__links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.awt-childcare-home__ui .awt-childcare-consult__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  min-height: 48px;
  padding: 12px 16px;

  border: 1px solid #dbe9df;
  border-radius: 10px;

  color: #224f40;
  background: #fff;

  font-size: 15px;
  line-height: 1.65;
}

.awt-childcare-home__ui .awt-childcare-consult__visual {
  align-self: flex-end;
}

.awt-childcare-home__ui .awt-childcare-consult__visual img {
  width: 120px;
  height: 80px;
  object-fit: contain;
}


/* =====================================================
   11. 共通下部
   呼び出し位置の余白だけ。内部装飾はしない
===================================================== */

.awt-childcare-home > .awt-childcare-home__common {
  margin: 48px 0 40px;
  padding: 0;
}


/* =====================================================
   12. タブレット
===================================================== */

@media (max-width: 1050px) {

  .awt-childcare-home__ui .awt-childcare-purpose,
  .awt-childcare-home__ui .awt-childcare-popular,
  .awt-childcare-home__ui .awt-childcare-age {
    grid-template-columns:
      repeat(4, minmax(0, 1fr));
  }

  .awt-childcare-home__ui .awt-childcare-support__item {
    grid-template-columns:
      38px
      minmax(0, 1fr);
  }

  .awt-childcare-home__ui
  .awt-childcare-support__item > .awt-childcare-status {
    grid-column: 2;
  }

  .awt-childcare-home__ui
  .awt-childcare-support__item > span[aria-hidden] {
    display: none;
  }

}


@media (max-width: 820px) {

  .awt-childcare-home__ui .awt-childcare-home-schedule__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .awt-childcare-home__ui .awt-childcare-home-editorial,
  .awt-childcare-home__ui .awt-childcare-support-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .awt-childcare-home__ui .awt-childcare-hero {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .awt-childcare-home__ui .awt-childcare-hero__copy {
    padding: 20px 16px 24px 0;
  }

  .awt-childcare-home__ui .awt-childcare-hero__message {
    font-size: 13px;
  }

}


/* =====================================================
   13. スマートフォン
===================================================== */

@media (max-width: 600px) {

  .awt-childcare-home__ui .awt-childcare-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .awt-childcare-home__ui .awt-childcare-hero__copy {
    gap: 12px;
    padding: 12px 0 20px;
  }

  .awt-childcare-home__ui .awt-childcare-hero__catch {
    font-size: 42px;
    line-height: 1.3;
  }

  .awt-childcare-home__ui .awt-childcare-hero__visual {
    min-height: 0;
    aspect-ratio: 2 / 1;
    border-radius: 8px;
  }

  .awt-childcare-home__ui .awt-childcare-hero__message {
    display: none;
  }

  .awt-childcare-home__ui .awt-childcare-purpose,
  .awt-childcare-home__ui .awt-childcare-popular,
  .awt-childcare-home__ui .awt-childcare-age {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 10px;
  }

  .awt-childcare-home__ui .awt-childcare-purpose__item {
    padding-inline: 8px;
  }

  .awt-childcare-home__ui .awt-childcare-purpose__item > span {
    font-size: 16px;
  }

  .awt-childcare-home__ui .awt-childcare-age__text {
    min-height: 96px;
  }

  .awt-childcare-home__ui
  .awt-childcare-home-schedule__category {
    padding: 18px 14px;
  }

  .awt-childcare-home__ui .awt-calendar__card {
    padding: 14px;
  }

  .awt-childcare-home__ui .awt-childcare-support,
  .awt-childcare-home__ui .awt-childcare-consult {
    padding: 20px 16px;
  }

  .awt-childcare-home__ui
  .awt-childcare-home-facilities__grid {
    padding: 14px;
    gap: 10px;
  }

  .awt-childcare-home__ui
  .awt-childcare-home-facilities__card {
    grid-template-columns:
      40px
      minmax(0, 1fr)
      16px;

    gap: 10px;
    padding: 14px 10px;
  }

  .awt-childcare-home__ui
  .awt-childcare-home-facilities__card > img {
    width: 40px;
    height: 40px;
  }

  .awt-childcare-home__ui
  .awt-childcare-home-facilities__card strong {
    font-size: 17px;
  }

  .awt-childcare-home__ui .awt-childcare-consult__links a {
    padding: 12px;
  }

}


/* =====================================================
   14. 押せる要素だけ反応
   新しいアニメーションは追加しない
===================================================== */

@media (hover: hover) {

  .awt-childcare-home__ui a.awt-childcare-purpose__item:hover,
  .awt-childcare-home__ui a.awt-childcare-age__item:hover,
  .awt-childcare-home__ui
  .awt-childcare-home-facilities__card:hover,
  .awt-childcare-home__ui .awt-childcare-home__button:hover {
    border-color: var(--awt-cch-accent);
  }

  .awt-childcare-home__ui
  .awt-childcare-support__item[href]:hover {
    background: var(--awt-cch-soft);
  }

  .awt-childcare-home__ui
  .awt-childcare-consult__links a:hover {
    border-color: #26654e;
  }

}


@media (prefers-reduced-motion: reduce) {

  .awt-childcare-home__ui *,
  .awt-childcare-home__ui *::before,
  .awt-childcare-home__ui *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

}
/* =====================================================
   FAMILY MESSAGE
   これから家族になるあなたへ
===================================================== */

.awt-childcare-home__ui .awt-childcare-family-message {
  margin-top: var(--awt-cch-gap);
}


/* =====================================================
   GRID
===================================================== */

.awt-childcare-home__ui
.awt-childcare-family-message__grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 20px;
}


/* =====================================================
   CARD
===================================================== */

.awt-childcare-home__ui
.awt-childcare-family-message__card {
  --awt-family-accent: #a23f5b;
  --awt-family-soft: #fff7f9;

  display: grid;

  grid-template-rows:
    auto
    1fr;

  min-width: 0;

  overflow: hidden;

  border:
    1px solid
    var(--awt-cch-line);

  border-radius: 16px;

  background: #fff;

  text-decoration: none !important;

  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}


/* リンクカード内のアンダーラインをすべて解除 */

.awt-childcare-home__ui
a.awt-childcare-family-message__card,
.awt-childcare-home__ui
a.awt-childcare-family-message__card:hover,
.awt-childcare-home__ui
a.awt-childcare-family-message__card:focus,
.awt-childcare-home__ui
a.awt-childcare-family-message__card:visited {
  text-decoration: none !important;
}


.awt-childcare-home__ui
.awt-childcare-family-message__card * {
  text-decoration: none !important;
}


/* パートナー側だけアクセントを変更 */

.awt-childcare-home__ui
.awt-childcare-family-message__card--partner {
  --awt-family-accent: #426f68;
  --awt-family-soft: #f1f7f5;
}


/* =====================================================
   PHOTO
===================================================== */

.awt-childcare-home__ui
.awt-childcare-family-message__media {
  position: relative;

  display: grid;

  place-items: center;

  overflow: hidden;

  margin: 0;

  padding: 8px;

  aspect-ratio: 16 / 9;

  background:
    var(--awt-family-soft);
}


/* 画像は切らずに全体を表示 */

.awt-childcare-home__ui
.awt-childcare-family-message__media img {
  width: 94%;
  height: 94%;

  object-fit: contain;

  object-position: center;

  margin: auto;
}


/* =====================================================
   BODY
===================================================== */

.awt-childcare-home__ui
.awt-childcare-family-message__body {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  min-width: 0;

  padding:
    20px
    22px
    22px;

  background:
    linear-gradient(
      180deg,
      #fff 0%,
      var(--awt-family-soft) 100%
    );
}


.awt-childcare-home__ui
.awt-childcare-family-message__eyebrow {
  margin:
    0
    0
    5px;

  color:
    var(--awt-family-accent);

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.14em;
}


.awt-childcare-home__ui
.awt-childcare-family-message__body h3 {
  margin: 0;

  color:
    var(--awt-cch-ink);

  font-family:
    var(--awt-cch-serif);

  font-size:
    clamp(
      21px,
      2vw,
      27px
    );

  font-weight: 600;

  line-height: 1.55;

  letter-spacing: 0.025em;
}


.awt-childcare-home__ui
.awt-childcare-family-message__text {
  margin-top: 12px;

  color:
    var(--awt-cch-text);

  font-size: 15px;

  line-height: 1.85;
}


/* =====================================================
   LINK
===================================================== */

.awt-childcare-home__ui
.awt-childcare-family-message__link {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  min-height: 44px;

  margin-top: auto;

  padding-top: 16px;

  color:
    var(--awt-family-accent);

  font-size: 14px;

  font-weight: 600;

  text-decoration: none !important;
}


/* =====================================================
   HOVER
===================================================== */

@media (hover: hover) {

  .awt-childcare-home__ui
  .awt-childcare-family-message__card:hover {
    border-color:
      var(--awt-family-accent);

    transform:
      translateY(-2px);
  }

}


/* =====================================================
   TABLET / MOBILE
===================================================== */

@media (max-width: 767px) {

  .awt-childcare-home__ui
  .awt-childcare-family-message__grid {
    grid-template-columns:
      minmax(0, 1fr);

    gap: 14px;
  }


  .awt-childcare-home__ui
  .awt-childcare-family-message__card {
    grid-template-columns:
      120px
      minmax(0, 1fr);

    grid-template-rows: auto;
  }


  .awt-childcare-home__ui
  .awt-childcare-family-message__media {
    height: 100%;

    min-height: 180px;

    padding: 6px;

    aspect-ratio: auto;
  }


  .awt-childcare-home__ui
  .awt-childcare-family-message__media img {
    width: 94%;
    height: 94%;

    object-fit: contain;

    object-position: center;

    margin: auto;
  }


  .awt-childcare-home__ui
  .awt-childcare-family-message__body {
    padding:
      17px
      16px;
  }


  .awt-childcare-home__ui
  .awt-childcare-family-message__body h3 {
    font-size: 19px;
  }


  .awt-childcare-home__ui
  .awt-childcare-family-message__text {
    margin-top: 8px;

    font-size: 14px;

    line-height: 1.75;
  }


  .awt-childcare-home__ui
  .awt-childcare-family-message__link {
    padding-top: 10px;
  }

}


/* =====================================================
   VERY SMALL
===================================================== */

@media (max-width: 389px) {

  .awt-childcare-home__ui
  .awt-childcare-family-message__card {
    grid-template-columns:
      minmax(0, 1fr);
  }


  .awt-childcare-home__ui
  .awt-childcare-family-message__media {
    min-height: 0;

    padding: 6px;

    aspect-ratio: 16 / 9;
  }


  .awt-childcare-home__ui
  .awt-childcare-family-message__media img {
    width: 94%;
    height: 94%;

    object-fit: contain;

    object-position: center;

    margin: auto;
  }

}