/* =====================================================================
   services: Hero（背景画像＋右テキスト）
===================================================================== */
.hero-services--bg {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* 右寄せ配置 */
  min-height: clamp(300px, 56vh, 640px);
  padding: clamp(20px, 6vw, 64px) 0;
  background-image: url("../img/services_title.jpg");
  background-position: center 32%;
  /* 見せ位置の微調整 */
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* 背景のトーン調整用（今は 0 で無効） */
.hero-services--bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
}

.hero-services__inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: clamp(20px, 6vw, 64px);
}

.hero-services__text {
  text-align: right;
  max-width: 520px;
  margin-right: clamp(24px, 7vw, 160px);
}

@media (max-width: 980px) {
  .hero-services__text {
    text-align: left;
    margin-inline: clamp(12px, 4vw, 24px);
    max-width: min(92%, 520px);
  }
}

.hero-services__heading {
  display: inline-block;
  text-align: left;
}

.hero-services__title {
  display: inline-block;
  position: relative;
  margin: 0;
  font-weight: 800;
  letter-spacing: .02em;
  color: #0B2E13;
  font-size: clamp(22px, 2.8vw, 36px);
}

.hero-services__title::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  margin-top: .35em;
  background: var(--accent);
  border-radius: 4px;
}

.hero-services__sub {
  margin: .5rem 0 0;
  letter-spacing: .18em;
  font-size: clamp(11px, 1.2vw, 14px);
  color: var(--muted);
}

/* SP：高さだけ控えめに（背景は同じ画像を使用） */
@media (max-width: 768px) {
  .hero-services--bg {
    min-height: clamp(180px, 44vh, 420px);
    background-position: center 22%;
    /* SPの見せ位置調整 */
  }
}


/* =========================================================
   サービスページ共通
   - ヒーロー直下のリード帯
   - 2カラム概要
   - セクション見出し
   - カードグリッド
   - 特徴リスト / 料金ボックス
   - 注意事項アコーディオン
   - 7. CTA 帯　バナー画像上、問い合わせボタン部分
   - 8. 商品バナーグリッド 
   ========================================================= */

/* 1. ヒーロー直下の薄いグリーン帯 --------------------- */

.svc-lead {
  background: #E6F4EA;
}

.svc-lead__inner {
  text-align: left;
}

/* スマホ：やや大きめ、行間も確保 */
.svc-lead__title {
  font-size: 1.45rem;
  line-height: 1.4;
  margin: 0 0 .75em;
  white-space: normal;
}

.svc-lead__text {
  margin: 0 0 1.2em;
  line-height: 1.9;
}

.svc-lead__cta {
  margin-top: .5em;
}

/* デフォルト（PC・タブレット）= 改行なし */
.sp-br {
  display: none;
}

/* 480px以下のスマホのみ改行ON */
@media (max-width: 480px) {
  .svc-lead__title {
    font-size: clamp(1.25rem, 4.8vw, 1.45rem);
    line-height: 1.45;
  }

  .sp-br {
    display: inline-block;
  }
}

/* PCは1行で読ませる */
@media (min-width: 768px) {
  .svc-lead__title {
    font-size: 1.85rem;
    margin-bottom: .8em;
    white-space: nowrap;
  }
}



/* 2. 2カラム概要 ---------------------------------------- */

.svc-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.svc-overview__text p {
  margin: 0 0 1em;
  line-height: 1.9;
}

.svc-overview__photo img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}

/* スマホでは縦並びに */
@media (max-width: 860px) {
  .svc-overview__grid {
    grid-template-columns: 1fr;
  }
}

/* 写真の横幅を統一（PC〜スマホ共通） */
.svc-overview__photo img,
.svc-feature-img img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

/* SP の場合、親要素ごと max-width を制限して揃える */
@media (max-width:768px) {

  .svc-overview__photo,
  .svc-section--features .container {
    max-width: 92%;
    margin-inline: auto;
  }
}


/* 3. セクション見出し（日本語タイトル + 英字） ---------- */

.svc-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 4px;
}

.svc-section-head h2 {
  margin: 0;
  font-size: 1.6rem;
}

.svc-section-en {
  font-size: .9rem;
  letter-spacing: .18em;
  color: var(--brand);
}


/* 4. カードグリッド（提供メニュー／特徴 など） ---------- */

.svc-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 980px) {
  .svc-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .svc-card-grid {
    grid-template-columns: 1fr;
  }
}

.svc-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

.svc-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.svc-card-body {
  padding: 12px 14px 16px;
}

.svc-card-title {
  margin: 0 0 .45em;
  font-size: 1.05rem;
}

.svc-card-text {
  margin: 0;
  font-size: .9rem;
  line-height: 1.8;
}

.svc-note {
  margin-top: 12px;
  font-size: .9rem;
  line-height: 1.7;
}

/* 5. カーペット清掃特徴リスト / 事業所用清掃提供メニュー　ボックス --------------------------- */

.svc-feature-list {
  margin: 0 0 1em;
  padding-left: 1.2em;
  list-style: none;
}

.svc-feature-list li {
  position: relative;
  margin-bottom: .4em;
}

.svc-feature-list li::before {
  content: "✔";
  color: var(--brand);
  position: absolute;
  left: -1.2em;
}

.svc-price-box {
  background: #fff;
  border: 2px solid #cfe9da;
  border-radius: 10px;
  padding: 14px 18px;
  margin: 1.2em 0;
}

.svc-price-box h3 {
  margin: 0 0 .3em;
  font-size: 1.05rem;
  color: #0b2e13;
}

.svc-price-box ul {
  list-style: none;
  padding: 0;
  margin: 0 0 .5em;
}

.svc-price-box li {
  margin-bottom: .2em;
}

.svc-price-note {
  font-size: .85rem;
  margin: 0;
}

/* ----カーペット清掃「特徴」セクションと「ご利用の流れ」の間の余白---- */
.svc-section--features {
  margin-bottom: 36px;
}

.flow {
  margin-top: 40px;
}

/* ==========================================
   特徴 / 提供メニュー セクション背景カラー
========================================== */

/* 特徴／提供メニュー共通 背景帯 */
.svc-section--features,
.svc-section--menu {
  background: #E6F4EA;
  padding: 48px 0;   /* 上下余白はお好みで */
}

/* カードは白で浮かせる */
.svc-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,.05);
}



/* 6. 事業所用清掃　注意事項アコーディオン ------------------------------ */

.svc-accordion {
  margin-top: 24px;
  border: 2px solid #cfe9da;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.svc-accordion-btn {
  width: 100%;
  display: block;
  text-align: left;
  background: #e6f4ea;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  color: #0b2e13;
  transition: background .25s;
}

.svc-accordion-btn:hover {
  background: #d8efdd;
}

.svc-accordion-btn[aria-expanded="true"] {
  background: #cfe9da;
}

.svc-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  background: #fff;
  padding: 0 18px;
}

.svc-accordion-content ul {
  margin: 14px 0;
  padding-left: 1.2em;
  /* ←既存 */
  /* ↓これを追加して標準余白を打ち消す */
  padding-inline-start: 0;
}


/* 注意事項リスト（事業所用） */
.svc-accordion-content ul li {
  font-size: .87rem;
  line-height: 1.85;
  /* まとめて定義 */
  margin-bottom: 6px;
  padding-left: .4em;
}



/* サービスページCTAのボタンだけ、results風に寄せる */
.cta-band .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;

  background: var(--accent, #5cb118);
  color: #fff;
  border: 1px solid rgba(92, 177, 24, .35);
  box-shadow: 0 10px 20px rgba(92, 177, 24, .18);

  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  
}


/* CTA帯は中央寄せ */
.cta-band {
  background: #E6F4EA;
  text-align: center;
}

.cta-band .btn:hover,
.cta-band .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .10);
  outline: none;
}

.cta-band .btn {
  position: relative;
  overflow: hidden;
}
.cta-band .btn::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -60%;
  width: 60%;
  height: 180%;
  transform: rotate(20deg);
  background: rgba(255, 255, 255, .26);
  transition: left .45s ease;
}
.cta-band .btn:hover::after,
.cta-band .btn:focus-visible::after {
  left: 120%;
}

@media (max-width: 768px) {
  .cta-band {
    margin-bottom: 40px;
  }
}

/* SP（600px以下）見積もり帯のみ優しく縮小 */
@media (max-width: 600px) {
  .cta-band h2 {
    font-size: 1.15rem !important;
    line-height: 1.5;
    letter-spacing: .02em;
    font-weight: 600;
  }
}

/* 小型デバイス向け（≈iPhone SE） */
@media (max-width: 380px) {
  .cta-band h2 {
    font-size: 1.05rem !important;
  }
}

.cta-band small{
  font-size:14px;
  opacity:.8;
}

.cta-band .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cta-band small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  opacity: .8;
}



/* 8. 商品バナーグリッド ---------------------------------- */

.bnr-section {
  padding: 40px 0 48px;
  margin-top: 40px;
  /* CTAとの間の余白 */
  background: #f7faf8;
}

.bnr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.bnr-item {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
  transition: transform .18s ease, box-shadow .18s ease;
}

.bnr-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ホバー時（PC）の軽い浮き上がり */
@media (hover: hover) {
  .bnr-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
  }
}

/* SP：1列表示にして見やすく */
@media (max-width: 768px) {
  .bnr-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bnr-section {
    padding: 32px 0 40px;
    margin-top: 32px;
  }
}

.bnr-head {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 18px;
  font-weight: 700;
  color: #0a5b1e;
}