/* ==========================================================================
   components.css - ヘッダー/フッター/各セクションタイプのスタイル
   新しいセクションタイプを追加したら、対応するブロックをここに追記する
   ========================================================================== */

/* --- header --- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px 12px 8px;
}
.header__logo img { height: 40px; }
.header__nav { display: none; gap: 20px; }
.header__nav a { font-weight: 700; font-size: 14px; white-space: nowrap; }
.header__cta {
  display: none;
  align-items: center;
  gap: 16px;
}
.header__tel {
  font-weight: 700; font-size: 18px; color: var(--primary-color);
  white-space: nowrap;
}
@media (min-width: 768px) {
  .header__nav { display: flex; }
}
@media (min-width: 1024px) {
  .header__cta { display: flex; }
  /* header__contact-btnはheader__innerの外で絶対配置されているため、
     navと重ならないよう右側にボタン幅ぶんの余白を確保する */
  .header__inner { padding-right: 168px; }
}

/* エアコンネットのLPを参考にした、PC版ヘッダー右上に0pxでぴったりくっつく問い合わせボタン。
   角丸なし・専用色（LINE導線のオレンジとは区別するため#00659f）。header__innerの外に置き、
   headerの角そのものに絶対配置することで、paddingを挟まずぴったり角に密着させている。 */
.header__contact-btn {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  background: var(--primary-color);
  color: #fff;
  text-align: center;
  border-radius: 0;
  line-height: 1.3;
}
.header__contact-btn-en {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}
.header__contact-btn-ja {
  font-size: 15px;
  font-weight: 700;
}
@media (min-width: 1024px) {
  .header__contact-btn { display: flex; }
}

/* --- footer --- */
.footer {
  background: var(--footer-bg-color);
  color: #fff;
  padding: 40px 0 24px;
  text-align: center;
}
.footer__logo img { height: 32px; margin: 0 auto 16px; filter: brightness(0) invert(1); }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 24px; margin-bottom: 20px; }
.footer__nav a { font-size: 13px; opacity: .9; }
.footer__copyright { font-size: 12px; opacity: .7; }

/* --- fixed CTA (mobile) --- */
.fixed-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  display: flex;
  box-shadow: 0 -2px 8px rgba(0,0,0,.12);
}
.fixed-cta a {
  flex: 1; text-align: center; padding: 14px 8px; font-weight: 700; color: #fff;
}
.fixed-cta a:first-child { background: var(--primary-color); }
.fixed-cta a:last-child { background: var(--accent-color); }
@media (min-width: 768px) {
  .fixed-cta { display: none; }
}

/* --- hero --- */
.hero { position: relative; text-align: center; padding: 0; }

/* FV全体を1枚の画像として作り込むモード（data.heroImage指定時、最優先で使われる）。
   画像はwidth:100%; height:auto;で比率を保ったまま表示するが、
   スクロールなしで全体を見せたいという要望に合わせ、ヘッダー分を除いた画面の高さを超える場合は
   上下対称に切り取る（左右は切らない＝横幅は常にフル表示）。
   flexboxで中央寄せした要素をoverflow:hiddenの親で挟むと、はみ出した分が上下均等にクリップされる、
   というCSSの性質を利用しており、JS計算なしで実現している。 */
.hero--image { padding: 0; }
.hero__fv-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-height: calc(100vh - 64px);
}
/* CTAボタンの位置(hero__fv-cta)は画像自体の比率に対する%で指定しているため、
   hero__fv-frameを画像の「切り取られる前」の実サイズ基準にしておくことで、
   hero__fv-visual側でどれだけ上下をクリップしても、ボタンの当たり判定は
   常に画像内の見た目のボタン位置とズレない（親のクリップは見た目だけを切り取り、
   内部の座標系には影響しないというCSSの入れ子の性質を利用） */
.hero__fv-frame { position: relative; width: 100%; flex-shrink: 0; }
.hero__fv-image { width: 100%; height: auto; display: block; }
/* CTAボタンの透明な当たり判定。座標は実際にデザイン画像をピクセル解析して割り出した値
   （2026-07-07、hero-fv.jpg / hero-fv-sp.jpgのボタン部分の色検出による）。
   画像を新しいデザインに差し替えたときは、ボタンの位置がズレていないか必ず確認すること。 */
.hero__fv-cta {
  position: absolute;
  left: 15%;
  top: 74%;
  width: 39%;
  height: 14%;
}
@media (max-width: 767px) {
  .hero__fv-cta { left: 9%; top: 74%; width: 82%; height: 18%; }
}
.hero__image-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 20px;
}
@media (min-width: 768px) {
  .hero__image-actions { flex-direction: row; justify-content: center; padding: 32px 20px; }
}
.hero__overlay { padding: 48px 0 64px; }
.hero__target { color: var(--primary-color); font-weight: 700; margin-bottom: 12px; }
.hero__title {
  font-family: var(--accent-font-family);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 16px;
}
.hero__offer { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.hero__subtitle { font-size: 15px; color: #555; margin-bottom: 28px; }
.hero__image { margin-bottom: 28px; border-radius: 12px; overflow: hidden; }
.hero__badges { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero__badge { background: #f7f8f6; border-radius: 999px; padding: 6px 16px; font-size: 13px; font-weight: 700; }
.hero__actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
@media (min-width: 768px) {
  .hero__title { font-size: 52px; }
}

/* 背景写真＋半透明オーバーレイの上に本物のテキストを重ねるモード（data.backgroundImage/backgroundImages指定時） */
.hero--photo { overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
/* ズームはCSSアニメーション(@keyframes)ではなくtransitionで行う。@keyframesだと
   is-shownクラスが外れた瞬間にアニメーションが停止し、transformが即座に基準値(scale(1))へ
   スナップして「拡大した後に元の大きさに戻る」瞬間が見えてしまうため、transitionで
   ゆっくり縮む形にし、かつ縮み切る前に（opacityのフェードアウトで）見えなくなるようにする。 */
.hero__bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1s ease-in, transform 4500ms ease-out;
}
.hero__bg-slide.is-shown {
  opacity: 1;
  transform: scale(1.08);
}
.hero--photo .hero__overlay {
  position: relative;
  z-index: 1;
  background: color-mix(in srgb, var(--primary-color) 78%, transparent);
}
.hero--photo .hero__target,
.hero--photo .hero__title,
.hero--photo .hero__offer,
.hero--photo .hero__subtitle {
  color: #fff;
}
.hero--photo .hero__badge { background: rgba(255,255,255,.15); color: #fff; }

/* テキスト左固定＋写真スライドショー変則レイアウト（人物写真を右に、左側に明るいグラデーションが
   焼き込まれた素材向け）。写真だけが自動で切り替わり、テキストは常に左側に固定表示される。
   ヘッダーは通常の白帯として表示され、FV写真はヘッダーの下からぴったり始まる
   （新しい写真素材は頭上に十分な余白があるため、ヘッダー分の余白は不要になった）。 */
.hero--left { padding-top: 0; }
.hero--left .hero__overlay {
  background: none;
  padding-top: 48px;
  padding-bottom: 64px;
}
@media (min-width: 768px) {
  /* PC版はshine-gr.co.jp等の参考画像のように、ヘッダー分を除いた画面の高さいっぱいに
     FVを表示し、テキストを縦方向にも中央寄せにする */
  .hero--left {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
  }
  .hero--left .hero__overlay {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}
.hero--left .container { text-align: left; }
.hero--left .hero__content { max-width: 560px; }
.hero--left .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,.72) 0%, rgba(255,255,255,.4) 42%, rgba(255,255,255,0) 70%);
}
/* background-size:coverでは、写真(16:9)よりFVの箱の方が横長になる分だけ縦方向がトリミングされる。
   verticalをcenterのままにすると上下均等に削られ、人物の頭上が浅い構図の写真では頭が切れてしまうため、
   topを基準にして必ず頭側が残るようにする（trimmingは足元側から起こる） */
.hero--left .hero__bg-slide { background-position: left top; }
.hero--left .hero__target,
.hero--left .hero__offer,
.hero--left .hero__subtitle {
  color: var(--primary-color);
}
.hero--left .hero__badges,
.hero--left .hero__actions {
  justify-content: flex-start;
  align-items: flex-start;
}
.hero--left .hero__badge {
  background: #fff;
  color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
/* ターゲット文言は、蛍光ペンでマーカーを引いたような黄色いハイライトを背後に敷いて強調する
   （色は添付の参考画像 target_call.png からサンプリング: マーカー#f7f523 / 文字色 var(--primary-color)） */
.hero--left .hero__target {
  position: relative;
  display: inline-block;
  font-size: 20px;
  color: var(--primary-color);
}
.hero--left .hero__target::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -6px; right: -6px;
  bottom: 2px;
  height: 42%;
  background: #f7f523;
  transform: skewX(-8deg);
}
/* ベネフィット部分（hero__title）は行ごとに水色のザブトン（ハイライトバー）を敷き、
   白文字・手書きフォント・少し傾けて表示する（背景色は参考画像 FV_benefitt.png からサンプリングした
   var(--primary-color) を使用） */
.hero--left .hero__title { display: block; }
.hero--left .hero__title-line {
  display: block;
  width: fit-content;
  color: #fff;
  background: var(--primary-color);
  padding: 8px 22px;
  border-radius: 10px;
  margin-bottom: 10px;
  transform: rotate(-2deg);
  box-shadow: 0 8px 18px rgba(23,59,80,.2);
}
.hero--left .hero__title-line:last-child { margin-bottom: 0; }

/* target/titleをデザインモック画像そのまま（<img>）で使うモード（data.targetImage/data.titleImage指定時）。
   CSSで再現したマーカー背景（::before）は画像自体に焼き込まれているため無効化する。 */
.hero__target--image::before { content: none; }
.hero__target--image img {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
}
.hero__title--image img {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  transform: rotate(-2deg);
  filter: drop-shadow(0 8px 14px rgba(23,59,80,.2));
}
/* 140%拡大（ユーザー指定）はモバイル幅では画像が画面からはみ出して切れてしまうため、
   横幅に余裕のあるタブレット以上でのみ適用する */
@media (min-width: 768px) {
  .hero__title--image img {
    width: 140%;
    max-width: 672px;
  }
}

/* FV写真の上に重ねるページ内ジャンプリンク（shine-gr.co.jpを参考にしたタブ状のアンカーナビ） */
.hero__anchor-nav {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(4px);
}
.hero__anchor-nav a {
  flex: 1 1 auto;
  text-align: center;
  padding: 14px 10px;
  font-weight: 700;
  font-size: 13px;
  color: var(--primary-color);
  border-right: 1px solid rgba(0,0,0,.08);
  border-top: 3px solid transparent;
  transition: border-color .15s ease, background .15s ease;
}
.hero__anchor-nav a:last-child { border-right: none; }
.hero__anchor-nav a:hover { background: color-mix(in srgb, var(--primary-color) 8%, transparent); border-top-color: var(--primary-color); }
@media (min-width: 768px) {
  .hero__anchor-nav a { font-size: 14px; padding: 16px 12px; }
}

/* --- problem --- */
.problem__lead { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.problem__list { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 24px; }
.problem__item { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: 10px; padding: 20px; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.problem__icon { font-size: 24px; flex-shrink: 0; }
.problem__warning { background: var(--primary-color); color: #ffffff; border-radius: 10px; padding: 20px; text-align: center; font-weight: 700; font-size: 18px; }
@media (min-width: 768px) {
  .problem__list { grid-template-columns: repeat(2, 1fr); }
}

/* --- problem（吹き出し型、data.style:"cloud"） ---
   ocl-ai.jpの見せ方を参考に、背景は白・吹き出し画像で悩みを見せ、下部中央に人物イラストを配置する。
   吹き出しの形はユーザー提供の画像（problem-cloud.png、512x427、右下に尻尾つき）をそのまま使用し、
   aspect-ratioを画像と同じ比率に固定＋background-size:100% 100%で歪みなく敷いている。
   テキストは尻尾部分と重ならないよう、paddingで本体（丸みのある上側）だけに収めている。 */
.problem--cloud { background: #fff; }
/* サイズ(32px/38px)は.section-heading側の基本サイズと統一済みなので、ここではweight/colorのみ上書きする */
.problem--cloud .section-heading {
  font-weight: 800;
  color: var(--primary-color);
}
.problem__cloud-list {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  position: relative;
  z-index: 2;
}
.problem__cloud {
  background-image: url('problem-cloud.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  aspect-ratio: 512 / 427;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14% 14% 26%;
  text-align: center;
}
.problem__cloud-title {
  font-weight: 800;
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 8px;
}
.problem__cloud-text {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}
.problem__illustration {
  position: relative;
  z-index: 1;
  max-width: 320px;
  margin: -60px auto 0;
}
@media (min-width: 768px) {
  .problem__cloud-list { grid-template-columns: repeat(3, 1fr); align-items: start; }
  /* OCL AIの参考画像同様、左右の吹き出しだけ少し下げて中央の吹き出しを高く見せる */
  .problem__cloud-list .problem__cloud:nth-child(1),
  .problem__cloud-list .problem__cloud:nth-child(3) {
    margin-top: 48px;
  }
  .problem__illustration { max-width: 480px; margin-top: -90px; }
}

/* --- eligibility (対象者チェックリスト) --- */
.eligibility { background: #ecf3fe; }
.eligibility__lead { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.eligibility__list { max-width: 640px; margin: 0 auto 24px; display: grid; gap: 14px; }
.eligibility__item { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.eligibility__item::before { content: "✓"; color: var(--primary-color); font-size: 20px; flex-shrink: 0; }
.eligibility__note { text-align: center; font-size: 14px; color: #666; }

/* 写真つきレイアウト（data.image指定時）。PCは横並び（テキスト+写真）、モバイルは縦積み（テキスト→写真）。 */
.eligibility__inner--with-image {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.eligibility__inner--with-image .eligibility__content { flex: 1; }
.eligibility__inner--with-image .section-heading,
.eligibility__inner--with-image .eligibility__lead,
.eligibility__inner--with-image .eligibility__note {
  text-align: left;
}
.eligibility__inner--with-image .eligibility__lead { margin: 0 0 24px; }
.eligibility__inner--with-image .eligibility__list { margin: 0 0 20px; max-width: none; }
.eligibility__image img { border-radius: 12px; }
@media (min-width: 768px) {
  .eligibility__inner--with-image {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }
  .eligibility__inner--with-image .eligibility__image { flex: 1; }
}

/* --- service（SERVICE01〜のタイトル+文章と画像を左右互い違いに並べるレイアウト） --- */
/* shuuumatu-worker.jpの「MERIT」ウォーターマークを参考に、見出しの背後に大きく薄い"SERVICE"の文字を敷く */
.service__heading-wrap { position: relative; }
.service__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(64px, 16vw, 187px);
  font-weight: 300;
  color: #d9dfed;
  opacity: 0.5;
  white-space: nowrap;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}
/* サービス内容セクションのラベルはオレンジ（既定のaccent-color）ではなく専用の青にする */
.service .section-heading__eyebrow { color: var(--primary-color); }
.service__heading-wrap .section-heading { position: relative; z-index: 1; }
.service__lead { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.service__points { display: grid; gap: 56px; }
.service__point {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.service__point-content { flex: 1; text-align: center; }
.service__point-image { flex: 1; width: 100%; }
.service__point-image img { border-radius: 12px; width: 100%; }
.service__point-title {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .08em;
  color: var(--primary-color);
  margin-bottom: 8px;
}
.service__point-heading { font-weight: 700; font-size: 22px; margin-bottom: 12px; }
.service__point-description { color: var(--text-color); }
.service__point--no-image .service__point-content { max-width: 640px; margin: 0 auto; }
@media (min-width: 768px) {
  .service__point {
    flex-direction: row;
    text-align: left;
    gap: 48px;
  }
  .service__point-content { text-align: left; }
  /* 偶数番目（2, 4...）は画像とテキストの左右を入れ替えて互い違いにする */
  .service__point:nth-child(even) { flex-direction: row-reverse; }
}

/* --- results --- */
.results { background: #ecf3fe; }
.results .section-heading__eyebrow { color: var(--primary-color); }
/* サービス内容セクションの"SERVICE"ウォーターマークと同様に、見出しの背後に大きく薄い"WORKS"の文字を敷く。
   このセクションの背景は#ecf3fe（水色）なので、白文字にすることで同じ「背景よりわずかに主張する」効果にしている */
.results__heading-wrap { position: relative; }
.results__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(64px, 16vw, 187px);
  font-weight: 300;
  color: #ffffff;
  opacity: 0.5;
  white-space: nowrap;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}
.results__heading-wrap .section-heading { position: relative; z-index: 1; }
.results__lead { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.results__stats { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin-bottom: 40px; }
.results__stat { text-align: center; background: #fff; border-radius: 10px; padding: 24px 8px; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.results__stat-number { font-size: 36px; font-weight: 800; color: var(--primary-color); }
.results__stat-unit { font-size: 16px; font-weight: 700; }
.results__stat-label { font-size: 13px; margin-top: 4px; }
/* 月桂冠バッジ画像等、数字カードの代わりに画像をそのまま使うモード（data.stats[].image指定時） */
.results__stats--images {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.results__stat--image { background: none; box-shadow: none; padding: 0; }
.results__stat--image img { max-width: 260px; width: 100%; }
.results__cases { display: grid; gap: 20px; grid-template-columns: 1fr; }
.results__case { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.results__case img { aspect-ratio: 4/3; object-fit: cover; }
.results__case-body { padding: 16px; }
.results__case-industry { font-size: 12px; color: var(--primary-color); font-weight: 700; }
@media (min-width: 768px) {
  .results__stats { grid-template-columns: repeat(4, 1fr); }
  .results__cases { grid-template-columns: repeat(3, 1fr); }
}

/* --- voice --- */
.voice__list { display: grid; gap: 20px; grid-template-columns: 1fr; }
.voice__card { background: #fff; border-radius: 10px; padding: 24px; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.voice__quote { margin-bottom: 16px; }
.voice__person { display: flex; align-items: center; gap: 12px; }
.voice__person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.voice__name { font-weight: 700; font-size: 14px; }
.voice__role { font-size: 12px; color: #666; }
@media (min-width: 768px) {
  .voice__list { grid-template-columns: repeat(3, 1fr); }
}

/* --- flow（丸い写真+STEP番号+矢印を横に並べるレイアウト） --- */
.flow .section-heading__eyebrow { color: var(--primary-color); }
.flow__heading-wrap { position: relative; }
.flow__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(64px, 16vw, 187px);
  font-weight: 300;
  color: #e2e2e2;
  opacity: 0.5;
  white-space: nowrap;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}
.flow__heading-wrap .section-heading { position: relative; z-index: 1; }
.flow__steps { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.flow__step { text-align: center; max-width: 220px; }
.flow__step-image { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px; box-shadow: 0 4px 14px rgba(0,0,0,.1); }
.flow__step-image img { width: 100%; height: 100%; object-fit: cover; }
.flow__step-no { font-weight: 800; font-size: 14px; letter-spacing: .05em; color: var(--primary-color); margin-bottom: 6px; }
.flow__step-title { font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.flow__step-description { font-size: 14px; }
.flow__arrow { display: none; }
@media (min-width: 768px) {
  /* コンテナ幅(最大1040px程度)に5ステップ+矢印4つが1行で収まるよう、
     180px(ステップ)×5 + 30px(矢印)×4 = 1020px に収まるサイズにしている */
  .flow__steps { flex-direction: row; align-items: flex-start; justify-content: center; flex-wrap: nowrap; gap: 0; }
  .flow__step { max-width: 180px; }
  .flow__step-image { width: 110px; height: 110px; }
  .flow__step-title { font-size: 15px; }
  .flow__step-description { font-size: 12px; }
  .flow__arrow { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 30px; color: var(--primary-color); font-size: 20px; font-weight: 800; padding-top: 48px; }
}

/* --- faq --- */
.faq .section-heading__eyebrow { color: var(--primary-color); }
.faq__list { max-width: 720px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { background: #fff; border-radius: 10px; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.faq__question { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 700; }
/* 「Q」の::beforeを質問テキストと同じspanの中に入れることで、質問テキストが
   flexの独立したアイテムになってjustify-content:space-betweenで中央寄りに
   ずれてしまう不具合を防ぎ、常に左揃えになるようにしている */
/* Qと質問文の間隔をAと回答文の間隔（約18px）と揃える */
.faq__question-text::before { content: "Q"; color: var(--primary-color); font-weight: 800; margin-right: 18px; }
.faq__toggle { flex-shrink: 0; transition: transform .2s ease; }
.faq__item[open] .faq__toggle { transform: rotate(180deg); }
/* 「A」ラベル＋区切り線をQ&Aのスクリーンショット同様に表示する */
.faq__answer {
  position: relative;
  padding: 20px 24px 20px 52px;
  border-top: 1px solid #ececec;
}
.faq__answer::before {
  content: "A";
  position: absolute;
  left: 24px;
  top: 20px;
  /* ユーザー指定でヘッダー/フッターと同じネイビー(#173B50)に固定。primary-colorの変更に連動させない */
  color: #173B50;
  font-weight: 800;
}

/* --- cta --- */
.cta { text-align: center; background: var(--primary-color); color: #fff; }
.cta__heading { font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.cta__subtext { margin-bottom: 28px; }
.cta__actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta .btn--outline { background: transparent; border-color: #fff; color: #fff; }
/* 写真背景モード（data.backgroundImage指定時）。footerと同じ単色背景に見えてしまう問題を解消するため、
   写真＋半透明のprimary-colorオーバーレイにする（写真の明るさに関わらず白文字の可読性を保つ） */
.cta--photo { position: relative; overflow: hidden; background: none; }
.cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.cta--photo .container {
  position: relative;
  z-index: 1;
}
.cta--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--primary-color) 78%, transparent);
}

/* --- pricing --- */
.pricing { background: #ecf3fe; }
.pricing .section-heading__eyebrow { color: var(--primary-color); }
.pricing__heading-wrap { position: relative; }
.pricing__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(64px, 16vw, 187px);
  font-weight: 300;
  color: #ffffff;
  opacity: 0.5;
  white-space: nowrap;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}
.pricing__heading-wrap .section-heading { position: relative; z-index: 1; }
.pricing__lead { text-align: center; max-width: 640px; margin: 0 auto 24px; }
/* Liny（line-sm.com/price）の料金カードを参考にした2枚組のカード */
.pricing__cards { display: grid; gap: 20px; grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.pricing__card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.pricing__card-title { font-weight: 800; font-size: 20px; color: var(--primary-color); margin-bottom: 12px; }
.pricing__card-price { font-weight: 800; font-size: 26px; color: var(--primary-color); margin-bottom: 12px; }
/* 「各サービス内容に応じて個別にお見積り」等、文章が長い場合はここだけ縮小してカード間の余白の見た目を揃える */
.pricing__card-price--compact { font-size: 16px; font-weight: 700; }
.pricing__card-description { font-size: 14px; line-height: 1.8; }
.pricing__card-image { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; margin: 20px auto 0; }
.pricing__card-image img { width: 100%; height: 100%; object-fit: cover; }
.pricing__note { text-align: center; font-size: 13px; color: #666; margin-top: 16px; }
@media (min-width: 768px) {
  .pricing__cards { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
.pricing__cta { text-align: center; margin-top: 32px; }
.pricing__cta-lead { margin-bottom: 16px; font-weight: 700; }

/* --- banner --- */
.banner { display: block; }
.banner img { border-radius: 10px; }

/* --- contact form --- */
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-weight: 700; margin-bottom: 8px; }
.form-field .required { color: var(--primary-color); font-size: 12px; margin-left: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 12px 14px; border: 1px solid #ccc; border-radius: 6px; font-size: 16px; font-family: inherit;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form__submit { display: block; margin: 32px auto 0; }
.form__note { font-size: 13px; color: #666; margin-top: 8px; }
.form__status { text-align: center; margin-top: 20px; font-weight: 700; }
.form__status--ok { color: #1e5b3f; }
.form__status--error { color: #c0392b; }

/* --- privacy / legal blocks --- */
.legal-block { margin-bottom: 32px; }
.legal-block__heading { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.legal-block__body { white-space: pre-line; }
.legal-updated { text-align: right; font-size: 13px; color: #666; margin-bottom: 24px; }

/* page header for sub pages */
.page-header { background: #f7f8f6; text-align: center; padding: 40px 0; }
.page-header__title { font-size: 26px; font-weight: 800; }
