/* -----------------------
   基本設定
------------------------ */
:root {
  --clr-primary: #d4006f;
  --clr-cta-bg:  #0099a8;
  --clr-cta-text:#ffffff;
  --clr-badge-bg:#ffffff;
  --clr-badge-tx:#009e2b;
  --clr-badge-num:#ff4d00;
  --clr-orange: #ff6b00;
  --clr-yellow: #fbe29c;
  --max-width:   900px;   /* ← ここを 1100px → 1200px に変更 */
  --transition:  0.3s ease;
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.65;
  color: #222;
  background: #fff;
}

/* -----------------------
   共通ユーティリティ
------------------------ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
}

h1,h2,h3,p,ul {
  margin: 0;
  padding: 0;
}

ul { list-style: none; }

.sp-only {
  display: none;
}

@media (max-width: 768px) {
  .sp-only {
    display: block;
  }  
}




/* -----------------------
   Hero Section
------------------------ */
.hero {
  position: relative;
  background: url("images/hero-back.jpg")
              center / cover no-repeat;
  overflow: hidden;
  padding: 3.5rem 1rem;
}

/* 白い半透明レイヤー */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;                           /* 上下左右ぜんぶ覆う */
  background: rgba(255, 255, 255, .8);/* ← 不透明度はお好みで調整 */
  z-index: 0;                         /* 下に敷く */
  pointer-events: none;               /* クリック操作を邪魔しない */
}

/* オーバーレイより前面に出すための調整 */
.hero__inner,
.hero__badge {
  position: relative;
  z-index: 2;                         /* オーバーレイ（z-index:0）より上 */
}

/* 実績バッジ */
.hero__badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: var(--clr-badge-bg);
  border-radius: 6px;
  padding: 0.6rem 1rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  box-shadow: 0 4px 8px rgba(0,0,0,.06);
  z-index: 3;
}
.hero__badge i { color: var(--clr-badge-num); }
.hero__badge-number { color: var(--clr-badge-num); }

/* Hero 内部レイアウト */
.hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* --- 左カラム（テキスト） --- */
.hero__tagline {
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.hero__title {
  font-size: clamp(1.8rem, 4vw + 1rem, 3.6rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 2rem;
}
.hero__title-main { color: #d46200; }
.hero__title-accent { color: #931010; font-weight: 900; }

/* CTA ラベル */
.hero__cta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.hero__cta {
  background: var(--clr-cta-bg);
  color: var(--clr-cta-text);
  font-weight: 700;
  padding: 0.9rem 2.4rem;
  border-radius: 4px;
  font-size: 1.1rem;
  white-space: nowrap;
  transition: opacity var(--transition);
}
.hero__cta:hover { opacity: .85; }

/* --- 右カラム（画像） --- */
.hero__image {
  margin-bottom: -120px;
}
.hero__image img {
  width: 250px;
  max-width: 40vw;
  border-radius: 6px;
  object-fit: cover;
}

/* 下の追従コピー */
.hero__follow-copy {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  color: var(--clr-badge-num);
  margin: 2.8rem auto 3.6rem;
}

/* -----------------------
   レスポンシブ
------------------------ */
@media (max-width: 768px) {
  .hero {
    padding: 2.4rem 0 2.2rem;
  }
  .hero__image {
    margin-bottom: -40px;
  }
  .hero__inner {
    margin-top: 80px;
    flex-direction: column;
    text-align: center;
  }
  .hero__image img {
    width: 80%;
    max-width: 280px;
    margin-top: 1.8rem;
  }
  .hero__badge {
    width: 80%;
    top: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
  }
  .hero__cta-list {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  :root { font-size: 15px; }
  .hero__title { font-size: clamp(1.6rem, 6.5vw + 1rem, 2.45rem); }
  .hero__cta { padding: 0.7rem 1.6rem; font-size: 1rem; }
}





/* ==========================================
   Feature Section
========================================== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.6rem;                  /* 行・列間の間隔 */
  margin-bottom: 4rem;
}

.feature-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
  overflow: hidden;                 /* 角丸に合わせる */
  transition: transform .25s ease;
}
.feature-card:hover { transform: translateY(-4px); }

/* --- header --- */
.feature-card__header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 1.6rem;
}
.feature-card__icon {
  --size: 38px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: #8d5833;              /* グリーン */
  color: #fff;
  display: grid;
  place-content: center;
  font-size: 1.1rem;
}
.feature-card__title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .02em;
}

/* --- body --- */
.feature-card__body {
  background: #fff7f1;              /* うすいベージュ */
  padding: 1.4rem 1.6rem 1.8rem;
  line-height: 1.65;
  min-height: 220px;
}
.feature-card__lead {
  font-weight: 700;
  color: #d84700;                   /* オレンジ強調 */
  margin-bottom: .6rem;
}

/* ==========================================
   Responsive
========================================== */
@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
  .feature-card { width: 90%; margin: auto; }
  .feature-card__header { padding: 1rem 1.2rem; }
  .feature-card__body  { padding: 1.2rem 1.2rem 1.6rem; }
}




/* ==========================================
   Service Section
========================================== */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem 1.8rem;
  margin-bottom: 4rem;
}

.service-card {
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  background: linear-gradient(#fff 0%, #f8f8f8 100%);
  box-shadow: 0 3px 6px rgba(0,0,0,.05);
  overflow: hidden;
  transition: transform .25s ease;
}
.service-card:hover { transform: translateY(-4px); }

/* ---------- header ---------- */
.service-card__head {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .8rem 1.2rem;
  background: #fff;
}

.service-card__badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .9rem;
  font-weight: 700;
  color: #ff6b00;
  background: #fff300;
  padding: .2rem .6rem;
  border-radius: 4px;
  line-height: 1;
}

.service-card__title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: #8d5833;
}

/* ---------- body ---------- */
.service-card__body {
  display: flex;
  gap: 1.4rem;
  padding: 1.2rem 1.4rem 1.6rem;
  line-height: 1.65;
}

.service-card__body img {
  width: 180px;
  height: 140px;
  object-fit: contain;
  flex-shrink: 0;
}

.service-card__link {
  color: #d40000;
  font-weight: 700;
}

/* ==========================================
   Responsive
========================================== */
@media (max-width: 768px) {
  .services { grid-template-columns: 1fr; }
  .service-card { width: 90%; margin: auto; }
  .service-card__body { flex-direction: column; align-items: flex-start; }
  .service-card__body img { width: 100%; height: auto; }
}




/* ==========================================
   Before / After Section
========================================== */
.ba-section {
  background: #fffaf4;                 /* 薄いグレー寄りのグリーン背景 */
  padding: 2.8rem 1.2rem 3.4rem;
  text-align: center;
  margin-bottom: 4rem;
}
.ba-section img {
  width: 50%;
}
.ba-section__title {
  background: #8d5833;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  padding: .8rem 1rem;
  margin: 0 auto 2.4rem;
  width: min(100%, 90%);
}
.ba-section__images {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;                     /* 狭い幅で自動改行 */
  margin-bottom: 2rem;
}
.ba-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  width: 260px;
  max-width: 45vw;
}
.ba-card img {
  display: block;
  width: 100%;
  height: auto;
}
.ba-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: .3rem .9rem;
  font-size: .8rem;
  font-weight: 800;
  color: #fff;
  border-radius: 3px;
  letter-spacing: .05em;
}
.ba-card__badge--before { background: #c3b188; }
.ba-card__badge--after  { background: #1c8f39; }

.ba-section__fee {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.8rem;
}
.ba-section__fee span {
  font-size: 1.6rem;
  color: #e78102;
  font-weight: 900;
}

.ba-section__stats {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.ba-stat {
  width: 180px;
  max-width: 80%;
  background: #e5f3e5;
  border: 1px solid #ffc1a4;
}
.ba-stat__label {
  background: #f5ddd6;
  font-weight: 700;
  padding: .6rem 0;
  border-bottom: 1px solid #ffc1a4;
}
.ba-stat__value {
  background: #fff;
  padding: .9rem 0;
  font-weight: 700;
}

.ba-section__note {
  font-size: .75rem;
  color: #666;
  line-height: 1.5;
  width: min(95%, 600px);
  margin: 0 auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .ba-card { width: 100%; max-width: 100%; }
  .ba-section__stats { flex-direction: column; gap: 1rem; align-items: center; }
  .ba-stat { width: 100%; }
  .ba-section img {
    width: 70%;
  }
}




/* ==========================================
   Flow Section  –  お問い合わせから作業までの流れ
========================================== */

/* 全体ラッパー */
.flow {
  background: #f7edc8                         /* 薄い黄色の布地風 */
              url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nNScgaGVpZ2h0PSc1JyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnPjxjaXJjbGUgY3g9JzAnIGN5PScwJyByPScxJyBmaWxsPScjZmVmN2M2JyBvcGFjaXR5PScwLjQnLz48L3N2Zz4=")
              repeat;
  padding: 2.4rem 1rem 3rem;
  overflow: hidden;            /* ブラウザ幅外の矢印を切り捨て */
}

/* 見出しバー */
.flow__heading {
  align-items: center;
  gap: .6rem;
  background: #fff8f5;
  font-size: 1.25rem;
  font-weight: 800;
  padding: .8rem 1.2rem;
  border-left: 6px solid #8d5833;
  margin: 0 auto 2rem;
  width: max(280px, 95%);
}
.flow__icon {
  width: 72px;
  height: auto;
  margin-left: auto;
}

/* ステップ一覧 */
.flow__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);  /* PC：3 カラム */
  gap: 2rem 1.6rem;
  position: relative;                     /* 破線配置用 */
  width: min(980px, 100%);
  margin: 0 auto;
}

/* 各ステップカード */
.flow__step {
  position: relative;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 8px;
  padding: 1rem 1rem 0rem;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0,0,0,.05);
}
.flow__step img {
  width: 100%;
  height: auto;
}

.flow__num {
  display: inline-block;
  background: #ff6b00;
  color: #fff;
  font-weight: 700;
  width: 26px;
  height: 26px;
  line-height: 26px;
  border-radius: 3px;
  margin-bottom: .4rem;
}

.flow__label {
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 1rem;
}

/* ==========================================
   矢印装飾
========================================== */

/* ----------------  PC 幅 (>768px)  ---------------- */
@media (min-width: 769px) {

  /* デフォルト：右向き三角（1→2, 2→3, 4→5, 5→6） */
  .flow__step:not(.flow__step--rowEnd):not(.flow__step--last)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -22px;                       /* 隣のカードに刺さる */
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 14px solid #ff6b00;    /* オレンジ */
  }

  /* 行末（ステップ3）のみ下向き三角 */
  .flow__step--rowEnd::after {
    content: "";
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 14px solid #ff6b00;
  }

  .flow__step--rowEnd:nth-child(3):after {
    content: none;
    position: relative;
  }

  /* 3→4 をつなぐ破線 */
  .flow__list::before {
    content: "";
    position: absolute;
    top: calc(50% + 28px);              /* カード中央のやや下 */
    left: calc(33.333% + 12px);         /* 2列目右端に合わせる */
    width: calc(33.333% - 24px);        /* 中央列の幅から左右余白分を引く */
    border-bottom: 2px dashed #ff6b00;
  }

  /* 最後（ステップ6）は矢印なし */
  .flow__step--last::after { display: none; }
}

/* ----------------  スマホ幅 (≤768px)  ---------------- */
@media (max-width: 768px) {

  /* 1カラム縦並び */
  .flow__list {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  /* デフォルト：下向き三角（最後を除く） */
  .flow__step:not(.flow__step--last)::after {
    content: "";
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 14px solid #ff6b00;
  }

  .flow__step img {
    width: 40%;
    height: auto;
  }

  .flow__num {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
    padding-top: 0.2rem;
  }

  .flow__label {
    font-size: 1.3rem;
  }
}




/* ==========================
   FAQ Section  (stand-alone)
========================== */

.faq {
  padding: 3rem 1rem 4rem;
}

/* タイトル */
.faq__title {
  text-align: center;
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.4;
  border-bottom: 3px solid var(--clr-orange);
  display: inline-block;
  padding-bottom: .4rem;
  margin: 0 auto 1.8rem;
}

/* ── アコーディオン ── */
.faq__item {
  margin-bottom: 1.4rem;
  border: 0;                 /* <details> デフォルト枠を消す */
}

/* summary ボタン */
.faq__question {
  display: flex;
  align-items: center;
  gap: .8rem;
  cursor: pointer;
  background: var(--clr-yellow);
  padding: .9rem 1rem;
  border-radius: 4px;
  font-weight: 700;
  list-style: none;          /* Safari 対策 */
}

/* Q アイコン */
.faq__qicon {
  flex-shrink: 0;
  background: var(--clr-orange);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  display: grid;
  place-content: center;
  font-weight: 800;
}

/* ＋／× トグル */
.faq__toggle {
  margin-left: auto;
  font-size: 1.4rem;
  font-weight: 800;
  color: #333;
}
details[open]  .faq__toggle::before { content: "×"; }
details:not([open]) .faq__toggle::before { content: "+"; }

/* A エリア */
.faq__answer {
  margin-top: .8rem;
  background: #fff;
  padding: 1rem;
  border: 3px solid var(--clr-yellow);
  border-radius: 4px;
  line-height: 1.65;
  display: flex;
  gap: .6rem;
}

.faq__aicon {
  color: var(--clr-orange);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* PC 幅で中央寄せ＆横幅制限 */
@media (min-width: 769px) {
  .faq__item { max-width: 100%; margin-inline: auto; }
}




/* ==========================================
   Concern Section
========================================== */
:root {
  --concern-green: #2aa300;     /* メイングリーン */
  --concern-light : #e6f5da;    /* 背景ストライプ薄色 */
}

.concern {
  margin-block: 3rem;
}

/* ----- 見出しバー ----- */
.concern__heading {
  background: repeating-linear-gradient(
                -45deg,
                #ffe9df,
                #ffe9df 6px,
                #ffffff 6px,
                #ffffff 12px);
  border-top: 4px solid #8d5833;
  border-bottom: 4px solid #8d5833;
  font-weight: 800;
  font-size: 1.25rem;
  text-align: center;
  padding: .9rem 1rem;
  margin: 0 0 1.8rem;
}

/* ----- 白枠ボックス ----- */
.concern__box {
  border: 2px solid #ffddbb;
  border-radius: 6px;
  padding: 1.8rem 1.6rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* ----- チェックリスト ----- */
.concern__list {
  flex: 1 1 320px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.concern__list li {
  font-weight: 700;
  margin-bottom: 1.2rem;
  display: flex;
  gap: .8rem;
  align-items: flex-start;
}
.concern__list i {
  color: #d46200;
  font-size: 1.1rem;
  margin-top: .2rem;
}

/* ----- 画像 ----- */
.concern__image {
  flex: 1 1 320px;
  margin: 0;
}
.concern__image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  object-fit: cover;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .concern__box { flex-direction: column; }
  .concern__list li { margin-bottom: 1rem; }
  .concern__list {
    flex: unset;
  }
  .concern__image {
    flex: unset;
    margin: 0;
  }
}




/* ==========================================
   Warning / Alert Box
========================================== */
.alert-box {
  max-width: 1000px;
  width: 92%;
  margin: 2rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
  border-radius: 4px;
  overflow: hidden;              /* 角丸に合わせてはみ出し防止 */
}

.alert-box__header {
  background: #967d00;           /* 鮮やかなグリーン */
  color: #fff;
  text-align: center;
  font-weight: 800;
  font-size: 1.1rem;
  padding: .9rem 1rem;
}

.alert-box__body {
  background: #fff;
  padding: 1.6rem 1.8rem;
  line-height: 1.7;
  font-size: .95rem;
}

@media (max-width: 600px) {
  .alert-box__header { font-size: 1rem; padding: .8rem .8rem; }
  .alert-box__body   { font-size: .9rem; padding: 1.2rem 1rem; }
}



/* ==========================================
   Telephone CTA Banner
========================================== */
.call-banner {
  display: block;
  max-width: 950px;
  margin: 2rem auto;
  background: #8d5833;                /* 外枠グリーン */
  border-radius: 12px;
  text-decoration: none;
  overflow: hidden;
  color: inherit;                     /* 文字色は中で指定 */
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  transition: transform .2s ease;
}
.call-banner:hover { transform: translateY(-2px); }

/* ----- 上段：キャッチコピー ----- */
.call-banner__top {
  background: #fff;
  padding: .6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}
.call-banner__catch {
  flex: 1 1 auto;
  text-align: center;
  font-weight: 800;
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  color: #ff6237;                     /* オレンジ見出し */
  line-height: 1.4;
}
.call-banner__icon {
  width: clamp(60px, 10vw, 120px);
  height: auto;
}

/* ----- 下段：電話番号 ----- */
.call-banner__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: .9rem 1rem 1.1rem;
  flex-wrap: wrap;
}
.call-banner__openhour {
  background: #ddad00;               /* ブルーラベル */
  color: #fff;
  font-weight: 700;
  padding: .4rem 1rem;
  border-radius: 4px;
  font-size: clamp(.85rem, 1.8vw, 1rem);
  white-space: nowrap;
}
.call-banner__tel-label {
  font-weight: 800;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: #fff;
}
.call-banner__tel-number {
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 3rem);
  color: #fff;
  letter-spacing: .05em;
  white-space: nowrap;
  line-height: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .call-banner__top { padding: .6rem .6rem; }
  .call-banner__bottom { justify-content: center; gap: .6rem; }
  .call-banner__icon { display: none; }
  .call-banner {
    width: 90%;
  }
}
