/* Hallmark · component: fixed FV · theme: user-locked e-bright · reference: 20261011
 * Existing sections, palette and content preserved. No slideshow, gradients or shadows.
 * pre-emit critique: P5 H5 E4 S5 R5 V4; contrast exception: user-requested white/orange CTA. */
@font-face { font-family: 'Carlman FV'; src: url('../fonts/fv-client-jp-bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Carlman FV'; src: url('../fonts/fv-client-jp-black.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }
:root { --fv-font: 'Carlman FV', var(--font-body); }
.fv-masthead, .fv-client, .fv-price, .fv-fixed { font-family: var(--fv-font); color: var(--color-green-dark); font-weight: 700; }
.site-header.fv-masthead { position: relative; top: auto; z-index: 5; border: 0; background: var(--color-paper); box-shadow: none; }
.fv-masthead__inner { max-width: 1440px; margin: auto; min-height: 72px; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.fv-brand { display: flex; align-items: center; gap: 6px; color: var(--color-green-dark); text-decoration: none; white-space: nowrap; min-width: 0; }
.fv-brand > svg { width: 30px; height: 36px; flex: 0 0 auto; }
.fv-brand__text { display: flex; flex-direction: column; gap: 4px; }
.fv-brand [data-service-name] { font-size: clamp(15px, 4.6vw, 20px); font-weight: 900; line-height: 1.15; letter-spacing: -.06em; }
.fv-brand small { font-size: 10px; line-height: 1; }
.fv-header-contact { display: none; }
.fv-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 16px; background: var(--color-accent); color: var(--color-white); border-radius: 8px; text-decoration: none; white-space: nowrap; font-weight: 900; line-height: 1.3; box-shadow: none; }
.fv-button svg { width: 18px; height: 18px; flex: none; }
.fv-mobile-phone { font-size: 13px; padding: 12px; }
.fv-mobile-phone.is-closed { font-size: 11px; padding-inline: 8px; }
.fv-client.e-hero { background: var(--color-paper); padding: 0; overflow: clip; }
html[data-pin-ready] .e-intro-sequence > .fv-client { position: relative; top: auto; }
.fv-main { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 1440px; margin: auto; padding: 12px 16px 16px; gap: 16px; }
.fv-copy { min-width: 0; }
.fv-copy h1, .fv-card__label { font-family: var(--fv-font); }
.fv-kicker { margin: 0 0 8px; font-size: clamp(13px, 3.8vw, 17px); line-height: 1.4; font-weight: 900; }
.fv-copy h1 { margin: 0; color: var(--color-green-dark); font-size: clamp(34px, 10.5vw, 58px); font-weight: 900; font-style: normal; letter-spacing: -.055em; line-height: 1.25; overflow-wrap: normal; }
.fv-copy h1 > span { display: block; width: fit-content; white-space: nowrap; }
.fv-copy h1 > .fv-headline-band { margin-top: 4px; padding: 0 8px 4px; color: var(--color-white); background: var(--color-green-dark); }
.fv-subline { margin: 12px 0 0; font-size: clamp(13px, 3.6vw, 20px); line-height: 1.5; font-weight: 900; letter-spacing: -.035em; }
.fv-subline span { display: inline-block; white-space: nowrap; }
.fv-portrait { margin: 0; min-width: 0; aspect-ratio: 1; overflow: clip; }
.fv-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.fv-benefits { min-width: 0; }
.fv-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.fv-card { background: var(--color-white); color: var(--color-green-dark); border: 1px solid var(--color-green-dark); border-radius: 8px; overflow: clip; text-align: center; }
.fv-card__label { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; align-content: center; margin: 0; padding: 8px 4px; min-height: 52px; background: var(--color-green-dark); color: var(--color-white); font-size: clamp(12px, 3.1vw, 18px); font-weight: 900; line-height: 1.5; letter-spacing: -.025em; }
.fv-card__label span { white-space: nowrap; }
.fv-card__number { margin: 4px 0; display: flex; justify-content: center; align-items: baseline; gap: 2px; font-size: clamp(24px, 6vw, 36px); font-weight: 900; line-height: 1.2; white-space: nowrap; }
.fv-card__number strong { color: var(--color-accent-hover); font-size: clamp(58px, 17vw, 82px); font-weight: 900; letter-spacing: -.06em; }
.fv-card__number--guarantee { font-size: clamp(17px, 4.8vw, 24px); }
.fv-card__note { margin: 0 4px 8px; color: var(--color-ink); font-size: 10px; line-height: 1.4; }
.fv-card__note span { display: inline-block; white-space: nowrap; }
.fv-services { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; margin-top: 12px; padding: 12px 4px; border-radius: 8px; background: var(--color-white); color: var(--color-green-dark); }
.fv-services p { display: flex; justify-content: center; align-items: center; gap: 4px; margin: 0; font-size: clamp(12px, 3.2vw, 18px); line-height: 1.4; font-weight: 900; white-space: nowrap; }
.fv-services p + p { border-left: 1px solid var(--color-rule); }
.fv-services svg { width: 30px; height: 30px; flex: none; }
.fv-contact { background: var(--color-surface); color: var(--color-green-dark); padding: 16px; }
.fv-contact__inner { display: grid; gap: 12px; max-width: 1376px; margin: auto; }
.fv-contact__phone { display: none; color: var(--color-green-dark); text-decoration: none; }
.fv-assurance { margin: 0; font-size: 14px; line-height: 1.6; text-align: center; color: var(--color-ink); }
.fv-assurance span { display: inline-block; white-space: nowrap; }
.fv-contact__web { font-size: 20px; width: 100%; min-height: 56px; }
.fv-proposal-notice { font-size: 12px; color: var(--color-ink); text-align: center; margin: 8px 0 0; }
.fv-campaign { max-width: 1376px; margin: 16px auto 0; padding-top: 12px; border-top: 1px solid var(--color-rule); display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 12px; text-align: center; }
.fv-campaign__badge { font-size: 12px; font-weight: 900; }
.fv-campaign__title { font-size: 20px; font-weight: 900; }
.fv-campaign__note { font-size: 12px; color: var(--color-ink); }
.fv-price { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 4px 16px; padding: 16px; background: var(--color-paper); border-bottom: 1px solid var(--color-rule); text-align: center; }
.fv-price__label { font-size: 15px; }
.fv-price__value { font-size: 28px; font-weight: 900; white-space: nowrap; }
.fv-price__note { color: var(--color-ink); font-size: 12px; }
.fv-price p { margin: 0; }
.fv-campaign__title > span { display: inline-block; white-space: nowrap; }
.fv-fixed { position: fixed; z-index: 60; inset: auto 0 0; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); padding-bottom: env(safe-area-inset-bottom); background: var(--color-green-dark); color: var(--color-white); }
.fv-fixed a { min-height: 72px; text-decoration: none; white-space: nowrap; display: flex; justify-content: center; align-items: center; color: var(--color-white); }
.fv-fixed__phone { flex-direction: column; padding: 8px 4px; line-height: 1.3; }
.fv-fixed__phone [data-phone-number] { order: 2; font-size: clamp(20px, 5.7vw, 26px); font-weight: 900; }
.fv-fixed__label { order: 1; display: flex; align-items: center; gap: 6px; font-size: 13px; }
.fv-fixed__label svg { width: 16px; height: 16px; }
.fv-fixed__web { background: var(--color-accent); font-size: 17px; font-weight: 900; }
.fv-fixed__phone.is-closed [data-phone-label] { font-size: 16px; }
.fv-client [hidden], .fv-price[hidden] { display: none !important; }
[data-fv-phone].is-closed [data-phone-icon], [data-fv-phone].is-closed [data-phone-number] { display: none; }
.fv-masthead a:focus-visible, .fv-client a:focus-visible, .fv-house-map a:focus-visible { outline: 3px solid var(--color-green-dark); outline-offset: 4px; }
.fv-fixed a:focus-visible { outline: 3px solid var(--color-white); outline-offset: -5px; }
.fv-button:active, .fv-fixed a:active { transform: translateY(1px); }
.craft-exp .fv-house-map { position: relative; width: min(100% - 32px, 880px); margin: 48px auto 0; }
.fv-house-map img { display: block; width: 100%; height: auto; }
.fv-house-map__point { position: absolute; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--color-green-dark); color: var(--color-white); border: 2px solid var(--color-white); font: 900 20px/1 var(--fv-font); text-decoration: none; transform: translate(-50%, -50%); }
.fv-house-map__point::before { content: ''; position: absolute; inset: -6px; }
.fv-house-map__point--1 { left: 78%; top: 23%; }
.fv-house-map__point--2 { left: 54%; top: 29%; }
.fv-house-map__point--3 { left: 88%; top: 84%; }
@media (hover: hover) {
 .fv-button:hover, .fv-fixed__web:hover { background: var(--color-accent-hover); color: var(--color-white); }
 .fv-header-phone:hover, .fv-contact__phone:hover { text-decoration: underline; text-underline-offset: 4px; }
 .fv-brand:hover { color: var(--color-green-dark); }
}
@media (min-width: 768px) {
 .fv-masthead__inner { min-height: 80px; padding: 12px 24px; gap: 24px; }
 .fv-brand > svg { width: 44px; height: 48px; }
 .fv-brand [data-service-name] { font-size: clamp(24px, 2.7vw, 40px); }
 .fv-brand small { font-size: 12px; }
 .fv-header-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
 .fv-region { font-size: clamp(12px, 1.3vw, 18px); margin: 0; white-space: nowrap; line-height: 1.3; }
 .fv-header-phone { display: flex; align-items: center; gap: 8px; min-height: 36px; text-decoration: none; color: var(--color-green-dark); white-space: nowrap; line-height: 1.2; }
 .fv-header-phone [data-phone-number] { order: 2; font-weight: 900; font-size: clamp(24px, 2.7vw, 40px); }
 .fv-header-phone svg { order: 1; width: 28px; height: 28px; }
 .fv-header-phone__label { display: none; }
 .fv-header-phone.is-closed .fv-header-phone__label { display: inline; font-size: 22px; }
 .fv-mobile-phone { display: none; }
 .fv-main { grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); grid-template-rows: auto auto; gap: 16px 24px; padding: 12px 24px 24px; }
 .fv-portrait { grid-column: 1; grid-row: 1 / 3; align-self: stretch; aspect-ratio: auto; min-height: 420px; }
 .fv-portrait img { object-position: 50% 42%; }
 .fv-copy { grid-column: 2; grid-row: 1; align-self: end; }
 .fv-kicker { font-size: clamp(14px, 1.65vw, 23px); margin-bottom: 8px; }
 .fv-copy h1 { font-size: clamp(39px, 5.55vw, 80px); line-height: 1.12; letter-spacing: -.055em; }
 .fv-copy h1 > .fv-headline-band { padding: 0 12px 6px; margin-top: 8px; }
 .fv-subline { font-size: clamp(16px, 1.85vw, 27px); margin-top: 12px; }
 .fv-benefits { grid-column: 2; grid-row: 2; align-self: start; }
 .fv-cards { gap: 12px; }
 .fv-card__label { min-height: 44px; padding: 8px 4px; font-size: clamp(12px, 1.6vw, 23px); }
 .fv-card__number { font-size: clamp(26px, 3vw, 44px); line-height: 1.1; }
 .fv-card__number strong { font-size: clamp(66px, 6.5vw, 94px); }
 .fv-card__number--guarantee { font-size: clamp(22px, 2.7vw, 38px); }
 .fv-card__note { font-size: clamp(10px, .95vw, 14px); margin-bottom: 8px; }
 .fv-services { margin-top: 12px; padding: 8px; }
 .fv-services p { font-size: clamp(15px, 1.7vw, 24px); gap: 8px; }
 .fv-services svg { width: 40px; height: 40px; }
 .fv-contact { padding: 12px 24px 8px; }
 .fv-contact__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 24px; align-items: center; }
 .fv-contact__phone { display: flex; align-items: center; justify-content: center; gap: 12px; grid-column: 1; grid-row: 1; font-size: clamp(14px, 1.65vw, 24px); white-space: nowrap; min-height: 56px; }
 .fv-contact__phone svg { width: 36px; height: 36px; flex: none; }
 .fv-contact__web { grid-column: 2; grid-row: 1; font-size: clamp(22px, 2.3vw, 32px); min-height: 64px; }
 .fv-assurance { grid-column: 1 / -1; grid-row: 2; font-size: 16px; }
 .fv-campaign { margin-top: 4px; padding-top: 4px; }
 .fv-fixed { display: none; }
}
@media (min-width: 1200px) {
 .fv-masthead__inner { min-height: 92px; }
 .fv-brand__text { flex-direction: row; align-items: baseline; gap: 16px; }
 .fv-brand small { font-size: 15px; }
 .fv-header-contact { flex-direction: row; align-items: center; gap: 20px; }
 .fv-region { padding-right: 20px; border-right: 1px solid var(--color-rule); }
 .fv-main { gap: 12px 28px; }
 .fv-portrait { min-height: 520px; }
}
@media (prefers-reduced-motion: reduce) {
 .fv-button:active, .fv-fixed a:active { transform: none; }
}

/* スマホ: 先方支給の完成画像を全幅で（本番ビルドで追加・2026-11-01）。文字は画像に焼き込み済み */
@media (max-width: 767px) {
  .fv-main { padding: 0; gap: 0; }
  .fv-copy { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .fv-portrait { margin: 0; aspect-ratio: 1110 / 1530; }
  .fv-portrait img { object-fit: cover; object-position: 50% 0; }
  .fv-benefits { padding: 12px 16px 0; }
}
/* 下線だけアニメーション（画像から下線を除き、同じ位置に桃色の帯を左から伸ばす。乗算で壁の質感を残す） */
.fv-portrait { position: relative; }
.fv-ul { display: none; }
@media (max-width: 767px) {
  .fv-ul { display: block; position: absolute; left: 3.6036036036036037%; top: 50.326797385620914%; width: 42.16216216216216%; height: 4.052287581699346%; background: rgb(255,222,178); mix-blend-mode: multiply; border-radius: 999px; transform-origin: 0 50%; transform: scaleX(0); animation: fv-ul-draw .9s cubic-bezier(.3,.7,.2,1) .5s forwards; pointer-events: none; }
}
@keyframes fv-ul-draw { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .fv-ul { animation: none; transform: scaleX(1); } }

/* 橙ボタンの文字色を白に統一（フォームの電話ボタン・送信ボタン。本番ビルドで追加・2026-11-01） */
.button--primary, .button--primary:hover, .button--primary:focus-visible { color: #fff; }
.button--primary:hover { background: var(--color-accent-hover); }

/* PC: 相談ブロックを「電話」と「フォーム」の2択に（本番ビルドで追加・2026-11-01） */
@media (min-width: 768px) {
  .fv-contact { padding: 18px 24px; }
  .fv-contact__inner { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 8px 32px; align-items: center; }
  .fv-contact__phone { grid-column: 1; grid-row: 1; justify-content: flex-start; align-items: center; gap: 14px; min-height: 0; font-family: var(--fv-font); }
  .fv-contact__phone svg { width: 34px; height: 34px; }
  .fv-contact__phone-main { display: flex; flex-direction: column; gap: 4px; line-height: 1.1; min-width: 0; white-space: normal; }
  .fv-contact__phone-number { font-size: clamp(26px, 2.6vw, 36px); font-weight: 900; letter-spacing: .01em; }
  .fv-contact__hours { font-size: 13px; font-weight: 700; line-height: 1.5; color: var(--color-ink); }
  .fv-contact__phone.is-closed .fv-contact__hours--open, .fv-contact__phone:not(.is-closed) .fv-contact__hours--closed { display: none; }
  /* 既存の「時間外は番号・アイコンを隠す」規則（[data-fv-phone].is-closed …）を上書きし、薄く残す */
  .fv-contact__phone.is-closed .fv-contact__phone-number { display: inline; opacity: .45; }
  .fv-contact__phone.is-closed svg[data-phone-icon] { display: block; opacity: .45; }
  .fv-contact__web { grid-column: 2; grid-row: 1 / 3; width: auto; min-width: 280px; min-height: 60px; padding: 0 28px; font-size: clamp(18px, 1.5vw, 22px); }
  .fv-assurance { grid-column: 1; grid-row: 2; text-align: left; font-size: 14px; padding-left: 48px; }
}

/* フォーム表示中は固定バーを隠す（本番ビルドで追加・2026-11-01） */
.fv-fixed { transition: transform .25s ease; }
.fv-fixed.is-form-visible { transform: translateY(120%); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .fv-fixed { transition: none; } }

/* 320px 幅で固定バー右の文字が切れる（本番ビルドで追加・2026-11-01） */
@media (max-width: 360px) { .fv-fixed__web { font-size: 15px; padding: 0 4px; } }

/* 先方ロゴのマーク（本番ビルドで追加・2026-11-04） */
.fv-brand > svg { width: 32px; height: 31px; }
@media (min-width: 768px) { .fv-brand > svg { width: 44px; height: 42px; } }
