@charset "UTF-8";

/*==============================
  nursery-cleaning / page.css
  保育園・幼稚園の清掃 インデックスページ固有スタイル
==============================*/

/* ============================================================
   MV（メインビジュアル）
   背景画像フルワイド・テキストエリア白背景で左55%に重ねて配置
   ============================================================ */
.nc-mv {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: stretch;
}
.nc-mv__title-inner {
  white-space: nowrap;
  background-color: #fff;
  padding: 6px 16px 6px 4px; /* 上下・右に余白、左は端に揃える */
  display: inline-block;
  margin-bottom: 20px;
}
/* ::before は不要になるので無効化 */
.nc-mv__title-inner::before {
  display: none;
}

@media print, screen and (min-width: 768px) {
  .nc-mv {
    min-height: 480px;
  }
}
@media screen and (max-width: 767px) {
  .nc-mv__title-inner {
    white-space: normal;
  }
}

/* SP: テキストは半透明オーバーレイ */
.nc-mv__text-wrap {
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.88);
  width: 100%;
  padding: 48px 20px 56px;
  display: flex;
  align-items: center;
  overflow: visible; /* デフォルトだが念のため明示 */
}

/* PC: 白背景・左55%・左paddingをnc-innerに揃える */
@media print, screen and (min-width: 768px) {
  .nc-mv__text-wrap {
    flex: 0 0 55%;
    width: auto;
    background-color: #fff;
    padding: 72px 32px 80px max(20px, calc((100vw - 1120px) / 2 + 20px));
  }
}

@media screen and (max-width: 767px) {
  .nc-mv__text-wrap {
    width: fit-content;       /* テキスト幅に縮める */
    max-width: calc(100% - 40px); /* 左右に余白を確保 */
    background-color: rgba(255, 255, 255, 0.88);
    padding: 20px;
    margin: 28px;
  }
}

/* テキストブロック本体：大画面で広がりすぎない */
.nc-mv__text {
  width: 100%;
  max-width: 520px;
  text-align: left;
}
.nc-mv__lead{
  line-height: 2; /* 数値を変えるだけ */
}

/* SP: 画像は絶対配置でフルワイド背景 */
.nc-mv__image {
  position: absolute;
  inset: 0;
  width: 100%;
  z-index: 0;
  background-size: cover;
  background-position: center center;
}

/* PC: 画像はflex子要素に変更 → 右端まで自動的に伸びる */
@media print, screen and (min-width: 768px) {
  .nc-mv__image {
    position: relative;
    inset: auto;
    width: auto;
    flex: 1;
    z-index: 0;
  }
}

/* ============================================================
   cleaning・facility MV（メインビジュアル）
   ============================================================ */
.nc-mv--sub {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: stretch;
}
.nc-mv--sub img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media print, screen and (min-width: 768px) {
  .nc-mv--sub {
    min-height: 480px;
  }
}


/* ============================================================
   Section 01: 保育園・幼稚園の清掃で求められるポイント
   ============================================================ */
.nc-lead--center {
  text-align: center;
  width: 100%;
}


/* ============================================================
   Section 02: よくあるお悩み・課題
   ============================================================ */


/* ============================================================
   Section 03: 清掃・衛生サービス一覧（保育園・幼稚園向け）
   ============================================================ */

.nc-service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media print, screen and (min-width: 768px) {
  .nc-service-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
.nc-service-card {
  background-color: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  display: block;
  transition: opacity 0.3s;
}
.nc-service-card:hover {
  opacity: 0.8;
}
.nc-service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.nc-service-card__label {
  padding: 12px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--nc-text);
  text-align: center;
  line-height: 1.4;
}
@media print, screen and (min-width: 768px) {
  .nc-service-card__label {
    font-size: 1.5rem;
    padding: 14px;
  }
}

/* ============================================================
   Section 04: 清掃とあわせて対応できる施設管理・工事サービス
   ============================================================ */
.nc-sec-facility {
  /* nc-section--pink-bg 共通スタイルで対応 */
}
.nc-facility-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media print, screen and (min-width: 768px) {
  .nc-facility-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
.nc-facility-card {
  background-color: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  display: block;
  transition: opacity 0.3s;
}
.nc-facility-card:hover {
  opacity: 0.8;
}
.nc-facility-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.nc-facility-card__label {
  padding: 12px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--nc-text);
  text-align: center;
}
@media print, screen and (min-width: 768px) {
  .nc-facility-card__label {
    font-size: 1.5rem;
  }
}

/* ============================================================
   Section 05: 清掃から園舎管理まで一括で任せるメリット
   ============================================================ */
.nc-sec-merit {
  /* nc-section--pink-bg 共通スタイルで対応 */
}
.nc-merit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: merit-counter;
}
.nc-merit-list__item {
  counter-increment: merit-counter;
  padding: 14px 0 14px 44px;
  position: relative;
  font-size: 1.5rem;
  line-height: 1.7;
  color: var(--nc-text);
}
.nc-merit-list__item::before {
  content: counter(merit-counter);
  position: absolute;
  left: 0;
  top: 12px;
  width: 28px;
  height: 28px;
  background-color: var(--nc-pink);
  color: #fff;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ============================================================
   Section 06: 対応エリアについて
   ============================================================ */
.nc-sec-area {
  padding: 56px 0 64px;
}
.nc-area-image {
  margin-top: 32px;
  text-align: center;
}
.nc-area-image img {
  max-width: 100%;
  display: inline-block;
}

/* ============================================================
   Section 07: よくあるご質問
   ============================================================ */
.nc-sec-faq {
  padding: 56px 0 64px;
  margin-bottom: 0;
}
.nc-faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nc-faq-item {
  background-color: var(--nc-faq-bg);
  border-radius: 20px;
  margin-bottom: 14px;
  padding: 0 20px;
}
.nc-faq-q,
.nc-faq-a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  line-height: 1.75;
  color: var(--nc-text);
}
.nc-faq-q {
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 0;
}
.nc-faq-a {
  padding-top: 0;
  padding-bottom: 24px;
}
.nc-faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  margin-top: 1px;
}
.nc-faq-icon--q {
  background-color: var(--nc-cyan);
}
.nc-faq-icon--a {
  background-color: var(--nc-pink);
}
.nc-faq-text {
  flex: 1;
  padding-top: 6px;
}

/* ============================================================
   page-cleaning: 清掃・衛生サービス一覧
   ============================================================ */
.cl-service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
  background-color: #FFFAFB;
  padding: 20px;
}
@media print, screen and (min-width: 768px) {
  .cl-service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* 修正①: 清掃・衛生サービス一覧 見出し装飾色 + margin-top（このページのみ） */
.cl-sec-service .nc-heading--bordered {
  margin-top: 110px;
}
.cl-sec-service .nc-heading--bordered::before {
  background-color: var(--nc-pink);
}

.cl-service-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%; /* 修正②: 同一行のカード高さを揃える */
}

/* 厨房清掃：グリッド全幅 */
.cl-service-card--wide {
  grid-column: 1 / -1;
}

/* 通常サービスカード 画像 */
.cl-service-card__img-wrap {
 padding: 40px 0;
}
.cl-service-card__img-wrap img {
  width: 100%;
  height: 300px; /* 画像高さを固定し、左右カードで揃える */
  object-fit: cover;
  display: block;
}

/* 厨房清掃：画像2枚横並び */
.cl-service-card__img-pair {
  display: flex;
  gap: 4px;
}
.cl-service-card__img-pair img {
  flex: 1;
  min-width: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* カード本文エリア */
.cl-service-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
@media print, screen and (min-width: 768px) {
  .cl-service-card__body {
    padding: 24px;
  }
}

.cl-service-card__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--nc-pink);
  margin-bottom: 20px;
  border-bottom: 1px solid;
  width: 490px;
}

.cl-service-card__desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--nc-text);
  flex-grow: 1; /* テキスト量に関わらず伸縮し、画像の開始位置を揃える */
}

/* 詳細ボタン（右寄せ） */
.cl-service-card__btn-wrap {
  text-align: right;
}
.cl-service-card__btn-wrap .nc-btn {
  min-width: 0;
}

/* ============================================================
   page-cleaning: プラン・業務セクション（画像のみ）
   ============================================================ */
.cl-sec-plan,
.cl-sec-plus {
  padding: 56px 0 64px;
}

.cl-section-img {
  margin-top: 32px;
  text-align: center;
}
.cl-section-img img {
  max-width: 100%;
  display: inline-block;
}

/* 修正③: 清掃プランセクション — 画像とテキストの上端を揃える（PC時のみ） */
@media print, screen and (min-width: 768px) {
  .page-cleaning .nc-cta__body {
    align-items: flex-start;
  }
}

/* ============================================================
   page-facility: メインビジュアル（背景画像＋白半透明オーバーレイ＋テキスト）
   ============================================================ */
.fc-mv {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
@media print, screen and (min-width: 768px) {
  .fc-mv {
    min-height: 480px;
    padding: 64px 20px;
  }
}

/* 白い半透明の長方形 */
.fc-mv__overlay {
  background-color: rgba(255, 255, 255, 0.88);
  padding: 28px 24px;
  max-width: 680px;
  width: 100%;
}
@media print, screen and (min-width: 768px) {
  .fc-mv__overlay {
    padding: 48px 56px;
  }
}

/* オーバーレイ内テキスト */
.fc-mv__text {
  font-size: 16px;
  line-height: 1.9;
  text-align: center;
  color: var(--nc-text);
  margin: 0;
}

/* ============================================================
   cl-service-gridb: 特徴カード 常時1カラム版
   （cl-service-grid の PC 2カラム展開なし）
   ============================================================ */
.cl-service-gridb {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
  background-color: #FFFAFB;
  padding: 20px;
}
@media print, screen and (min-width: 768px) {
  .cl-service-gridb {
    gap: 32px;
    padding: 32px;
  }
}

/* ============================================================
   page-sandbox: 砂場清掃
   ============================================================ */

/* 特徴セクション 100園以上の実績ブロック（白背景・中央揃え） */
.sb-feature-record {
  background-color: #fff;
  text-align: center;
  padding: 48px 24px;
  margin-bottom: 32px;
}
@media print, screen and (min-width: 768px) {
  .sb-feature-record {
    padding: 56px 48px;
  }
}
.sb-feature-record__img {
  margin-top: 32px;
  text-align: center;
}
.sb-feature-record__img img {
  max-width: 100%;
  display: inline-block;
}

/* 特徴セクション 各アイテム間隔 */
.sb-feature-item {
  margin-bottom: 48px;
}
@media print, screen and (min-width: 768px) {
  .sb-feature-item {
    margin-bottom: 64px;
  }
}
.sb-feature-item:last-of-type {
  margin-bottom: 0;
}

/* 特徴セクション h3 見出し */
.sb-feature-item__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--nc-pink);
  line-height: 1.5;
  margin-bottom: 16px;
}
@media print, screen and (min-width: 768px) {
  .sb-feature-item__title {
    font-size: 22px;
  }
}
