/* ==========================================================================
   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-btnsはheader__innerの外で絶対配置されているため、
     navと重ならないよう右側に余白を確保する（LINEボタン+問い合わせボタンの合計幅の目安） */
  .header__inner { padding-right: 340px; }
}

/* エアコンネットのLPを参考にした、PC版ヘッダー右上に0pxでぴったりくっつく問い合わせボタン群。
   角丸なし・header__innerの外に置き、headerの角そのものに絶対配置することで、
   paddingを挟まずぴったり角に密着させている。flexで2つのボタンを横に並べる。 */
.header__contact-btns {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
}
@media (min-width: 1024px) {
  .header__contact-btns { display: flex; }
}
.header__contact-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 12px 26px;
  background: var(--primary-color);
  color: #fff;
  text-align: center;
  border-radius: 0;
  line-height: 1.3;
}
/* LINE導線はLINEの公式ブランドカラー（グリーン）で統一し、一目でLINEへの導線とわかるようにする */
.header__contact-btn--line { background: #06C755; }
.header__contact-btn-en {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}
.header__contact-btn-ja {
  font-size: 15px;
  font-weight: 700;
}

/* --- 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); }
/* LINE導線（site.primaryCta）はLINEの公式ブランドカラー（グリーン）で統一する */
.fixed-cta a:last-child { background: #06C755; }
@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);
}
.hero__fv-frame { position: relative; width: 100%; flex-shrink: 0; }
.hero__fv-image { width: 100%; height: auto; display: block; }
.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; }
/* cloudスタイルでは座布団（色つき背景）をやめてプレーンなテキストにし、
   次セクションの弧の演出（.eligibility::beforeが上に90pxまでせり出す）に隠れないよう
   下の余白を通常の倍ほど確保する */
.problem--cloud .problem__warning {
  background: none;
  color: #313131;
  border-radius: 0;
  padding: 0;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .problem__list { grid-template-columns: repeat(2, 1fr); }
}

/* --- problem（吹き出し型、data.style:"cloud"） ---
   ocl-ai.jpの見せ方を参考に、背景は薄いグレー・吹き出し画像で悩みを見せ、下部中央に人物イラストを配置する。
   吹き出しの形はユーザー提供の画像（problem-cloud.png、512x398、もこもこ雲形＋右下に尻尾の丸2つ）を
   そのまま使用し、aspect-ratioを画像と同じ比率に固定＋background-size:100% 100%で歪みなく敷いている。
   テキストは尻尾部分と重ならないよう、paddingで本体（丸みのある上側）だけに収めている。 */
.problem--cloud { background: #f0f0f0; }
/* 見出し上の煽り文言画像（data.eyebrowImage）。テキストeyebrowとは排他利用。 */
.problem__eyebrow-image { text-align: center; margin-bottom: 16px; }
.problem__eyebrow-image img { display: inline-block; width: 100%; max-width: 320px; height: auto; }
/* サイズ(32px/38px)は.section-heading側の基本サイズと統一済みなので、ここではweight/colorのみ上書きする。
   見出し〜吹き出しの余白は他セクション共通の.section-heading(margin-bottom:96px)だと開きすぎるため、
   このセクションだけ半分に詰めている。 */
.problem--cloud .section-heading {
  font-weight: 800;
  color: #313131;
  margin-bottom: 48px;
}
.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 / 398;
  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;
}
/* テキストコーディングではなくユーザー提供のデザイン画像を使う警告文（data.warningImage）。
   上の人物イラスト（.problem__illustration、margin-bottomが0）にぴったりくっつくよう
   margin-topは0にし、次セクションの弧の演出と重ならないよう下の余白はしっかり確保する。 */
.problem__warning-image { text-align: center; margin: 0 auto 96px; }
.problem__warning-image img { display: inline-block; width: 100%; max-width: 900px; height: auto; }
@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;
  }
  /* 3つ目（右）の吹き出しだけ、尻尾が左向きの反転画像を使う（PC版のみ、ユーザー指定）。
     元画像と縦横比が異なる（488x374）ため、aspect-ratioも専用の値に上書きする。 */
  .problem__cloud-list .problem__cloud:nth-child(3) {
    background-image: url('problem-cloud-flipped.png');
    aspect-ratio: 488 / 374;
  }
  .problem__illustration { max-width: 480px; margin-top: -90px; }
}

/* --- eligibility (対象者チェックリスト) --- */
/* 前セクション（problem）から弧を描いてつながる演出。::beforeで半楕円を作り、
   translateY(-100%)で自分の高さぶん上にずらすことで、上端だけ丸く前セクションに重なって見える
   （半楕円の下半分はセクション本体と同色なので境目が無く、1枚のカーブに見える）。 */
/* このセクションだけ上下の余白を通常の2倍にする（ユーザー指定） */
.eligibility.section { padding: 64px 0 128px; }
.eligibility { position: relative; background: #cee7dc; }
.eligibility::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: #cee7dc;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: translateY(-100%);
}
@media (min-width: 768px) {
  .eligibility::before { height: 90px; }
}
.eligibility__lead { text-align: center; max-width: 640px; margin: 0 auto 32px; }
/* チェックリスト全体（枠・文字・アイコン）をひと回り大きくしてある（ユーザー指定） */
.eligibility__list { max-width: 820px; margin: 0 auto 24px; display: grid; gap: 20px; }
.eligibility__item { display: flex; gap: 14px; align-items: flex-start; font-weight: 700; font-size: 20px; }
.eligibility__item::before { content: "✓"; color: var(--primary-color); font-size: 20px; flex-shrink: 0; }
/* data.checkIcon指定時（opt-in）: ✓文字の代わりに画像アイコンを使う */
.eligibility__item--icon::before { content: none; }
.eligibility__item-icon { width: 32px; height: 32px; flex-shrink: 0; margin-top: 2px; }
/* data.listBackgroundImage指定時（opt-in）: チェックリストの背後に白いカードを敷く。
   元画像は角丸長方形だが、項目数で高さが可変なためCSSのborder-radiusで同じ見た目を再現している。 */
.eligibility__list--card {
  background: #fff;
  /* 左上と右下だけ角丸、右上と左下は直角にする（border-radius: 左上 右上 右下 左下） */
  border-radius: 28px 0 28px 0;
  padding: 44px 40px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.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.6; }
.eligibility__inner--with-image .eligibility__lead,
.eligibility__inner--with-image .eligibility__note {
  text-align: left;
}
/* 見出しは「こんなお悩みありませんか？」と同じ大きさ・太さ・色で中央寄せにする
   （サイズ自体は.section-heading側の基本サイズ(32px/38px)と共通のため、ここではweight/colorのみ上書き） */
.eligibility .section-heading {
  font-weight: 800;
  color: #313131;
}
/* 「こんなお悩みありませんか？」「こんな企業様におすすめです」はPC版だけ他の見出しより
   大きく見せる（ユーザー指定、他セクションの見出しサイズには影響しない） */
@media (min-width: 768px) {
  .problem--cloud .section-heading,
  .eligibility .section-heading {
    font-size: 48px;
  }
}
.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; max-width: 320px; }
}

/* 白いボックスを見出しの真下に大きく中央配置し（幅700px）、写真数枚はPC版でボックスの左右に
   ふんわり配置するレイアウト（data.scatterImages指定時、opt-in。上のwith-imageレイアウトより優先）。
   ボックス側のz-indexを写真より高くしてあるので、写真がボックスに少しかぶってもボックスが上に来る。 */
.eligibility__scatter { position: relative; max-width: 700px; margin: 0 auto; }
.eligibility__scatter-photos {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  margin-top: 32px;
}
.eligibility__scatter-photo {
  width: 88px;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  flex-shrink: 0;
}
.eligibility__scatter-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eligibility__scatter-photo--1 { transform: rotate(-6deg); }
.eligibility__scatter-photo--2 { transform: rotate(5deg); margin-top: 14px; }
.eligibility__scatter-photo--3 { transform: rotate(-4deg); }
/* ボックスは写真より手前に描画されるよう、写真より高いz-indexにしておく */
.eligibility__content--center { position: relative; z-index: 2; }
.eligibility__content--center .eligibility__lead,
.eligibility__content--center .eligibility__note {
  text-align: center;
}
.eligibility__content--center .eligibility__list { max-width: none; }
@media (min-width: 768px) {
  /* PC版は写真をボックスの外側左右にふんわり配置する（一部かぶってもボックスが手前に来る）。
     3枚は同じ大きさにせず、左（花を持つ女性）を基準150pxの2倍、右（電話の女性）を1.5倍、
     左下（工務店の男性）を少しだけ大きく、という指定のサイズ比にしている。 */
  .eligibility__scatter-photos { display: contents; }
  .eligibility__scatter-photo {
    position: absolute;
    width: 150px;
    margin: 0;
    z-index: 1;
  }
  .eligibility__scatter-photo--1 { width: 300px; top: -20px; left: -260px; transform: rotate(-8deg); }
  .eligibility__scatter-photo--2 { width: 225px; top: -20px; right: -190px; transform: rotate(7deg); }
  .eligibility__scatter-photo--3 { width: 172px; top: 130px; right: -220px; transform: rotate(-5deg); }
}

/* --- 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;
}
.service { position: relative; background: #f2fbf8; }
/* 前セクション（こんな企業様におすすめです）との区切りの矢印（data.dividerImage、opt-in）。
   position:absolute + top:0 + translateY(-50%)で、矢印の縦中心を
   前セクションとの境目のライン上にぴったり重ねている（横方向も中央寄せ）。 */
.service__divider-arrow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 1;
}
.service__divider-arrow img { width: 80px; height: auto; display: inline-block; }
/* サービス内容セクションのラベルはオレンジ（既定のaccent-color）ではなく専用の青にする */
.service .section-heading__eyebrow { color: var(--primary-color); }
/* SERVICE一覧の下に提携先の表記画像を追加する（data.partnerImage、opt-in）。
   「annren.designは株式会社BHと提携しております」の全文が1枚の画像に焼き込まれている。
   背景はセクションと共通（変更しない）。 */
.service__partner { margin-top: 128px; text-align: center; }
.service__partner img { display: inline-block; width: 100%; max-width: 720px; height: auto; }
/* 提携表記画像の下に置く、白い角丸ボックス＋補足文（data.partnerNote、opt-in）。
   文字サイズはセクションタイトル（.section-heading、32px/38px）より少し小さくしている。 */
.service__partner-box {
  width: calc(100% - 40px);
  max-width: 1280px;
  margin: 40px auto 0;
  background: #fff;
  border-radius: 10px;
  padding: 40px 32px;
  text-align: center;
  font-family: 'Shippori Mincho', serif;
  font-size: 24px;
  line-height: 1.8;
  color: var(--text-color);
}
@media (min-width: 768px) {
  .service__partner-box { font-size: 30px; padding: 56px 48px; }
}
/* 補足文の下に敷く日本地図のシルエット（data.partnerMapImage、opt-in）。
   塗り色がボックス背景と同系色の薄い色（#f2fbf8）なので、うっすら見える程度の透かしになる。
   周りにインフルエンサーのアカウント画像を配置する構想があるため、地図自体を大きく（4倍相当）している。
   .service__partner-map-wrapに余白（padding）を持たせ、その余白部分に
   インフルエンサーのアイコン（.service__partner-influencer、data.partnerInfluencerImages、opt-in）を
   ランダムっぽくちらして配置している。%位置指定なのでモバイル/PCどちらの幅でも配置バランスが保たれる。 */
.service__partner-map-wrap {
  position: relative;
  width: 640px;
  max-width: 100%;
  margin: 32px auto 0;
  padding: 56px 16px;
}
@media (min-width: 768px) {
  .service__partner-map-wrap { width: 880px; padding: 90px 60px; }
}
.service__partner-map { width: 100%; height: auto; display: block; margin: 0; position: relative; z-index: 1; }
.service__partner-influencer {
  position: absolute;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
  background: #fff;
  z-index: 2;
}
.service__partner-influencer img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service__partner-influencer { transform: rotate(var(--r, 0deg)); }
.service__partner-influencer--1  { width: 15%; top: 2%;  left: 1%;  --r: -6deg; }
.service__partner-influencer--2  { width: 12%; top: 0%;  left: 62%; --r: 5deg; }
.service__partner-influencer--3  { width: 10%; top: 4%;  left: 26%; --r: -8deg; }
.service__partner-influencer--4  { width: 10%; top: 2%;  left: 84%; --r: 4deg; }
.service__partner-influencer--5  { width: 12%; top: 40%; left: 0%;  --r: -4deg; }
.service__partner-influencer--6  { width: 15%; top: 34%; left: 86%; --r: 6deg; }
.service__partner-influencer--7  { width: 12%; top: 78%; left: 4%;  --r: 5deg; }
.service__partner-influencer--8  { width: 15%; top: 80%; left: 78%; --r: -5deg; }
.service__partner-influencer--9  { width: 9%;  top: 62%; left: 88%; --r: -3deg; }
.service__partner-influencer--10 { width: 12%; top: 88%; left: 42%; --r: 4deg; }
.service__partner-influencer--11 { width: 11%; top: 8%; left: 46%; --r: -5deg; }
/* PC版のみ、地図の周りのインフルエンサーアイコンをふんわり1つずつ出現させる（ユーザー指定、PC限定）。
   .service__partner-map-wrapがビューポートに入ったタイミングでscripts/main.jsが
   is-visibleクラスを付与し、各アイコンにtransition-delay（--delay）で時間差をつけて
   opacity・scaleをふわっと変化させる。モバイルは常時表示のまま（アニメーションなし）。 */
@media (min-width: 768px) {
  .service__partner-influencer {
    opacity: 0;
    transform: rotate(var(--r, 0deg)) scale(0.4);
    transition: opacity .6s ease, transform .6s ease;
    transition-delay: var(--delay, 0s);
  }
  .service__partner-map-wrap.is-visible .service__partner-influencer {
    opacity: 1;
    transform: rotate(var(--r, 0deg)) scale(1);
  }
  .service__partner-influencer--1  { --delay: .05s; }
  .service__partner-influencer--2  { --delay: .2s; }
  .service__partner-influencer--3  { --delay: .35s; }
  .service__partner-influencer--4  { --delay: .5s; }
  .service__partner-influencer--5  { --delay: .65s; }
  .service__partner-influencer--6  { --delay: .8s; }
  .service__partner-influencer--7  { --delay: .95s; }
  .service__partner-influencer--8  { --delay: 1.1s; }
  .service__partner-influencer--9  { --delay: 1.25s; }
  .service__partner-influencer--10 { --delay: 1.4s; }
  .service__partner-influencer--11 { --delay: 1.55s; }
}
/* SERVICE/WORKS/FLOW/PLANの4セクションだけ、タイトル上の余白を通常の2倍にする（ユーザー指定）。
   下側の余白は変更しないため、padding-bottomは.section基準の64pxのまま個別に維持している。 */
.service.section,
.results.section,
.flow.section,
.pricing.section {
  padding-top: 128px;
}
.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: 112px; }
.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: 85%; display: block; margin: 0 auto; }
.service__point-title {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .08em;
  color: var(--primary-color);
  margin-bottom: 8px;
}
/* 4つとも同じ大きさ・同じフォント（Shippori Mincho）に統一している */
.service__point-heading { font-weight: 700; font-size: 32px; margin-bottom: 12px; font-family: 'Shippori Mincho', serif; }
/* SERVICE02（SNS支援）の括弧内補足（Instagram・Threads・広告運用・インフルエンサー支援）だけ
   見出し本体より少し小さい文字にする（ユーザー指定）。 */
.service__point-heading-sub { font-size: 22px; }
.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: #cbe3d9; }
.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: #cce5da; }
.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; }
