@charset "UTF-8";

/*==============================
  nursery-cleaning / common.css
  保育園・幼稚園の清掃 共通スタイル
  ブレイクポイント: 768px
  コンテンツ最大幅: 1120px
==============================*/

/* ============================================================
   Variables
   ============================================================ */
:root {
  --nc-pink:       #F09CB4;
  --nc-blue:       #3A81C4;
  --nc-green:      #47AE8B;
  --nc-cyan:       #54C2F0;
  --nc-text:       #4E4E4E;
  --nc-faq-bg:     #F8F8F8;
  --nc-section-bg: rgba(240, 156, 180, 0.05);
  --nc-max-width:  1120px;
  --nc-sp-pad:     20px;
  --nc-pc-pad:     20px;
}

/* ============================================================
   Inner container
   ============================================================ */
.nc-inner {
  width: 100%;
  max-width: var(--nc-max-width);
  margin: 0 auto;
  padding: 0 var(--nc-sp-pad);
}
@media print, screen and (min-width: 768px) {
  .nc-inner {
    padding: 0 var(--nc-pc-pad);
  }
}

/* ============================================================
   Section base
   ============================================================ */
.nc-section {
  position: relative;
  margin-bottom: 64px;
}

/* ピンク背景 5% のセクション */
.nc-section--pink-bg {
  background-color: var(--nc-section-bg);
  padding: 56px 0 72px;
}

/* ============================================================
   Section headings
   ============================================================ */

/* ピンク見出し（各コンテンツセクション共通） */
.nc-heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--nc-pink);
  line-height: 1.5;
  margin-bottom: 36px;
  text-align: center;
}
.nc-heading::after {
  content: "";
  display: block;
  width: 400px;
  height: 1px;
  background-color: currentColor;
  margin: 10px auto 0;
}

/* 青い長方形が前につく見出し（対応エリアについて・よくあるご質問） */
.nc-heading--bordered {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--nc-text);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 36px;
  text-align: left;
}
.nc-heading--bordered::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 8px;
  height: 1.5em;
  background-color: var(--nc-blue);
  border-radius: 2px;
}
.nc-heading--bordered ::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 8px;
  height: 1.5em;
  background-color: var(--nc-pink);
  border-radius: 2px;
}
.nc-heading--pink::before {
  background-color: var(--nc-pink);
}

/* ============================================================
   Two column layout
   ============================================================ */
.nc-two-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media print, screen and (min-width: 768px) {
  .nc-two-col {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }
  .nc-two-col--reverse {
    flex-direction: row-reverse;
    padding-bottom: 30px;
  }
  .nc-two-col__image {
    flex: 0 0 45%;
    max-width: 45%;
  }
  .nc-two-col__text {
    flex: 1;
  }
}
.nc-two-col__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

/* ============================================================
   Deco image（各セクション右下の装飾画像）
   親要素: position: relative
   ============================================================ */
.nc-deco {
  display: none;
}
@media print, screen and (min-width: 768px) {
  .nc-deco {
    display: block;
    position: absolute;
    width: 130px;
    height: 65px;
    right: 92px;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url('../../img/nursery-cleaning/deco-01.png');
    background-repeat: no-repeat;
    background-size: contain;
  }
}

/* ============================================================
   Lead text / Lists
   ============================================================ */
.nc-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--nc-text);
  margin-bottom: 20px;
}
.nc-lead-bold {
  font-weight: bold;
}
.nc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.nc-list__item {
  position: relative;
  padding: 10px 0 10px 0px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--nc-text);
  font-weight: bold;
}
.nc-list__item::before {
  content: "";
  position: static;
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url("../../img/nursery-cleaning/check.svg");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 14px;
}

/* ============================================================
   Buttons
   ============================================================ */
.nc-btn {
  display: inline-block;
  padding: 16px 56px 16px 32px;
  border-radius: 40px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  position: relative;
  transition: opacity 0.3s;
  min-width: 240px;
}
.nc-btn::after {
  content: "›";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.2rem;
  line-height: 1;
}
.nc-btn:hover {
  opacity: 0.8;
  color: #fff;
}
.nc-btn--blue {
  background-color: var(--nc-blue);
}
.nc-btn--green {
  background-color: var(--nc-green);
}
.nc-btn--pink {
  background-color: var(--nc-pink);
}

/* ============================================================
   CTA section（cta-nursery.php 共通）
   ============================================================ */
.nc-cta {
  padding: 64px 0;
  background-color: #f3f8fc;
  margin-bottom: 0;
}
.nc-cta__heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--nc-blue);
  text-align: center;
  line-height: 1.5;
  margin-bottom: 48px;
}
.nc-cta__body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.nc-cta.area {
  background-color: #fff;
}
@media print, screen and (min-width: 768px) {
  .nc-cta__body {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }
}
.nc-cta__image {
  flex: 0 0 auto;
}
@media print, screen and (min-width: 768px) {
  .nc-cta__image {
    width: 44%;
  }
}
.nc-cta__image img {
  width: 100%;
  display: block;
  border-radius: 4px;
  object-fit: cover;
}
.nc-cta__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nc-cta__text p {
  font-size: 16px;
  color: var(--nc-text);
}
.nc-cta__btn-wrap {
  margin-top: 8px;
}

/* ============================================================
   Other services section（cta-nursery.php 共通）
   ============================================================ */
.nc-other {
  position: relative;
  padding: 64px 20px;
  overflow: hidden;
  text-align: center;
  margin-bottom: 0;
}
.nc-other__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.nc-other__inner {
  position: relative;
  z-index: 1;
  max-width: var(--nc-max-width);
  margin: 0 auto;
}
.nc-other__heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--nc-text);
  margin-bottom: 40px;
  line-height: 1.4;
}
.nc-other-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}
.nc-other-card {
  width: calc(50% - 8px);
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
@media print, screen and (min-width: 768px) {
  .nc-other-card {
    width: calc(25% - 12px);
  }
}
.nc-other-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.nc-other-card__label {
  padding: 12px 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--nc-green);
  text-align: center;
}

/* ============================================================
   headline カラー上書き（nursery-cleaning 階層）
   本体ページ・cleaning/ ・facility/ 配下すべてに適用
   ============================================================ */
.is-nursery-cleaning .headline {
  background: #F09CB4;
}
.is-nursery-cleaning .headline__title span {
  display: none;
}
