/* ==================================================
  TOP LP（案B v2 強み先行・実例グリッド型・2026-08-28 モック確定）
  トップページ専用。index.php からのみ読み込む。
  クラスは lp- プレフィックスで既存 style.css と非干渉。
  アクセントは既存サイトの青 #005dc5（モック確定・2026-08-26）。
  rem は common.css の html{font-size:62.5%} 基準（1rem=10px）。
================================================== */

/* ---------- ヘッダー（黒帯＋ハンバーガー） ---------- */
.lp-header {
    background: #111111;
    position: sticky;
    top: 0;
    z-index: 9980;
}
.lp-header__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
}
.lp-header__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.lp-header__logo img {
    width: 68px;
    height: auto;
    display: block;
    filter: brightness(0) invert(1);
}
.lp-header__names {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.lp-header__tagline {
    color: #b8b3aa;
    font-size: 0.95rem;
    line-height: 1.3;
    letter-spacing: 0.02em;
}
.lp-header__logoname {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
}
/* ヘッダー常設CTA（2026-09-12・CVR急落対策。旧LPのヘッダーCTA復活） */
.lp-header__right { display: flex; align-items: center; gap: 4px; }
.lp-header__cta {
    display: inline-flex; align-items: center; gap: 5px;
    background: linear-gradient(180deg, #1f86ec, #005dc5);
    color: #ffffff; font-weight: 800; font-size: 12.5px; line-height: 1;
    padding: 10px 11px; border-radius: 999px; text-decoration: none; white-space: nowrap;
    position: relative; box-shadow: 0 2px 6px rgba(0,0,0,.4);
}
.lp-header__cta svg { width: 15px; height: 15px; flex: 0 0 auto; }
.lp-header__ctabadge {
    position: absolute; top: -9px; left: 8px;
    background: #ffca28; color: #1a1a1a; font-size: 9.5px; font-weight: 800;
    padding: 2px 6px; border-radius: 20px; line-height: 1.2;
}
.lp-header__ctatext--short { display: none; }
@media (max-width: 599.98px) {
    /* SP: タグラインは残し、ハンバーガー撤去分でボタンを広げる。374px 以下だけ文言を短縮 */
    .lp-header__inner { padding: 9px 10px; gap: 8px; }
    .lp-header__logo { gap: 6px; flex: 0 1 auto; min-width: 0; }
    .lp-header__logo img { width: 48px; }
    .lp-header__tagline { font-size: 0.8rem; white-space: nowrap; }
    .lp-header__logoname { font-size: 1.15rem; white-space: nowrap; }
    .lp-header__cta { font-size: 13px; padding: 12px 12px; gap: 6px; }
    .lp-header__cta svg { width: 16px; height: 16px; }
}
@media (max-width: 374.98px) {
    .lp-header__ctatext--long { display: none; }
    .lp-header__ctatext--short { display: inline; }
    .lp-header__cta { padding: 12px 10px; }
}
}
@media (min-width: 768px) {
    .lp-header__right { gap: 14px; }
    .lp-header__cta { font-size: 15px; padding: 13px 22px; gap: 8px; }
    .lp-header__cta svg { width: 18px; height: 18px; }
}


/* アンカー着地が sticky ヘッダーに隠れないための余白 */
#jisseki, #flow, #craftsmen, #quest { scroll-margin-top: 64px; }

/* ---------- ヒーロー ----------
   背景は旧トップのメインビジュアル（l-mv--bg.png・ミシン作業写真）を再利用。
   文字の可読性のため半透明の生成りオーバーレイを重ねる */
.lp-hero {
    /* オーバーレイ 0.68→0.5 で写真をさらに濃く（2026-08-30 FB・白文字リードとセット） */
    /* 2026-09-13: 2369px の PNG（2MB・LCP要素）を 1600px WebP（73KB）に。JPEG は image-set 非対応ブラウザ向け。
       スマホは 800px 版（22KB）。ファイルは assets/images/l-mv--bg-{1600,800}.{webp,jpg}（元PNGは残置・未参照） */
    background:
        linear-gradient(rgba(251,248,242,0.5), rgba(251,248,242,0.5)),
        url("../images/l-mv--bg-1600.jpg") center / cover no-repeat;
    background-image:
        linear-gradient(rgba(251,248,242,0.5), rgba(251,248,242,0.5)),
        image-set(url("../images/l-mv--bg-1600.webp") type("image/webp"), url("../images/l-mv--bg-1600.jpg") type("image/jpeg"));
    padding: 48px 20px 30px;
    text-align: center;
}
@media (max-width: 767px) {
    .lp-hero {
        background-image:
            linear-gradient(rgba(251,248,242,0.5), rgba(251,248,242,0.5)),
            url("../images/l-mv--bg-800.jpg");
        background-image:
            linear-gradient(rgba(251,248,242,0.5), rgba(251,248,242,0.5)),
            image-set(url("../images/l-mv--bg-800.webp") type("image/webp"), url("../images/l-mv--bg-800.jpg") type("image/jpeg"));
    }
}
.lp-hero__inner {
    /* 4.4rem の見出し2行目（17文字）が収まる幅。680px だと「す。」だけ折り返す */
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    /* パーツ間の間隔を広めに（2026-08-30 FB） */
    gap: 20px;
}
.lp-hero__ttl {
    font-size: 3.0rem;
    font-weight: 900;
    /* font-weight は最大値のため、text-stroke で線を足してさらに太く見せる */
    -webkit-text-stroke: 0.5px currentColor;
    line-height: 1.5;
    color: #1f1b17;
    margin: 0;
    /* グレー寄りのハローで背景写真から浮かせて主役に（2026-08-30 FB） */
    text-shadow: 0 1px 6px rgba(208,204,196,0.95), 0 0 18px rgba(208,204,196,0.8), 0 0 36px rgba(208,204,196,0.55);
}
.lp-hero__lead {
    /* 白文字＋濃い影で背景写真から浮かせる（2026-08-30 FB） */
    font-size: 1.6rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.95;
    margin: 0;
    text-shadow: 0 1px 4px rgba(58,49,38,0.65), 0 0 12px rgba(58,49,38,0.45);
}
.lp-hero__lead strong { color: #ffffff; }
/* リード2文の吹き出し（ステップフォームの stepform-msg と同意匠・2026-08-31 FB）
   アバターは右下・吹き出し本体はCTAボタンとセンター揃え */
.lp-hero__msg {
    position: relative;
    align-self: center;
    margin: 0 auto 34px;
    text-align: center;
}
.lp-hero__msgavatar {
    /* 吹き出しの右下角に少しだけ重なる位置（本文の文末に被らないよう外寄せ） */
    position: absolute;
    right: -26px;
    bottom: -52px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}
.lp-hero__msgbubble {
    position: relative;
    background: #ffffff;
    border: 2px solid #005dc5;
    border-radius: 8px;
    padding: 10px 18px;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 900;
    color: #1f1b17;
    line-height: 1.75;
}
/* 吹き出しのしっぽ（右下のアバターへ向けて下向き・枠線つき三角の2枚重ね） */
.lp-hero__msgbubble::before {
    content: "";
    position: absolute;
    right: 62px;
    bottom: -12px;
    border-style: solid;
    border-width: 12px 10px 0 10px;
    border-color: #005dc5 transparent transparent transparent;
}
.lp-hero__msgbubble::after {
    content: "";
    position: absolute;
    right: 64px;
    bottom: -8px;
    border-style: solid;
    border-width: 9px 8px 0 8px;
    border-color: #ffffff transparent transparent transparent;
}
/* 「複数の職人」の帯強調（白い吹き出し内なので淡黄マーカー＋濃色文字） */
.lp-hero__questmark {
    display: inline-block;
    background: #ffe382;
    color: #1f1b17;
    padding: 0 6px 2px;
    line-height: 1.25;
}
/* ヒーローCTA（サイト共通の青ボタン .lp-cta__btn を再利用） */
.lp-hero__ctawrap { margin: 4px 0 8px; }
/* 信頼バッジ1行（CTA直下・旧トップのバッジ復活・2026-09-12）
   写真の上に置くので濃い焦げ茶の半透明ピル＋白文字（白ピルは写真に沈むためユーザーFBで変更）。
   SPは「修理歴10年以上の職人」が長いため 2＋1 に折り返す前提（flex-wrap）。PCは1行 */
.lp-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: -4px 0 0;
    padding: 0;
    list-style: none;
}
.lp-trust__item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(31,27,23,0.80);
    border-radius: 999px;
    padding: 4px 10px 4px 6px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
/* アイコンは白背景PNG＝濃色ピルの上では白い丸（コイン状）に見せる */
.lp-trust__item img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 50%;
    background: #ffffff;
    flex: 0 0 auto;
}
/* 特徴4つ＝アイコン＋見出し＋補足のカード（SP 2×2 / PC 4列） */
.lp-hero__feats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}
.lp-hero__feat {
    background: #ffffff;
    border: 1px solid #f0e9dd;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(40,30,10,0.06);
    padding: 12px 9px 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}
.lp-hero__feat img {
    width: auto;
    height: 52px;
    flex: 0 0 auto;
    /* イラストを淡く（目立たせない色合いに・2026-08-30 FB） */
    filter: saturate(0.6) brightness(1.05);
    opacity: 0.85;
}
.lp-hero__feat b {
    font-size: 1.3rem;
    font-weight: 900;
    color: #26211c;
    line-height: 1.4;
}
.lp-hero__feat small {
    font-size: 1.05rem;
    color: #7a6c55;
    line-height: 1.5;
}
@media (min-width: 768px) {
    .lp-hero { padding: 84px 20px 44px; }
    .lp-hero__inner { gap: 26px; }
    .lp-hero__ttl { font-size: 4.4rem; }
    .lp-hero__lead { font-size: 1.85rem; }
    .lp-hero__msg { margin-bottom: 40px; }
    .lp-hero__msgavatar { width: 76px; height: 76px; right: -32px; bottom: -60px; }
    .lp-hero__msgbubble { font-size: 1.7rem; padding: 12px 24px; white-space: nowrap; }
    .lp-hero__feats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
    .lp-hero__feat { padding: 15px 10px 13px; }
    .lp-hero__feat img { height: 62px; }
    .lp-hero__feat b { font-size: 1.4rem; }
    .lp-hero__feat small { font-size: 1.1rem; }
    .lp-trust { gap: 10px; margin-top: -6px; }
    .lp-trust__item { font-size: 1.4rem; padding: 5px 14px 5px 8px; }
    .lp-trust__item img { width: 26px; height: 26px; }
}

/* ---------- 修理実績グリッド ---------- */
.lp-cases {
    background: #ffffff;
    padding: 24px 14px 26px;
}
.lp-cases__inner {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.lp-cases__ttl {
    text-align: center;
    font-size: 1.7rem;
    font-weight: 900;
    color: #3a3126;
    margin: 0;
}
.lp-cases__grid {
    /* SPは2列で1枚を大きく（3列だと縮むだけで見えない・2026-08-30 FB）。PCは3列 */
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.lp-cases__card {
    background: #ffffff;
    border: 1px solid #f0e9dd;
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(40,30,10,0.08);
    display: flex;
    flex-direction: column;
}
.lp-cases__media {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: zoom-in;
}
.lp-cases__media img {
    width: 100%;
    height: 124px;
    object-fit: cover;
    display: block;
}
.lp-cases__zoom {
    position: absolute;
    right: 4px;
    bottom: 4px;
    width: 17px;
    height: 17px;
    border-radius: 4px;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lp-cases__zoom svg { width: 9px; height: 9px; }
/* 修理前の写真は左下に小さく重ねる（2026-09-08・ct #35）。カードの寸法を固定9件と揃えたまま
   Before/After を1枚に収めるための形。拡大アイコンは右下なのでぶつからない。
   .lp-cases__media img の height:124px を受けないよう、セレクタを1段深くしている */
.lp-cases__thumb {
    position: absolute;
    left: 6px;
    bottom: 6px;
    width: 46px;
    height: 46px;
    border: 2px solid #ffffff;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 1px 5px rgba(0,0,0,0.4);
    background: #000000;
}
.lp-cases__media .lp-cases__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lp-cases__thumb em {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    font-style: normal;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
    color: #ffffff;
    background: rgba(0,0,0,0.62);
    padding: 1px 0;
    line-height: 1.3;
}
.lp-cases__body { padding: 5px 8px 8px; }
.lp-cases__price {
    font-weight: 900;
    font-size: 1.35rem;
    color: #b3401f;
    margin: 0;
}
.lp-cases__work {
    font-size: 1.0rem;
    color: #8a7a5f;
    margin: 0;
    line-height: 1.4;
}
.lp-cases__days {
    font-size: 1.0rem;
    color: #8a7a5f;
    margin: 0;
    line-height: 1.4;
}
.lp-cases__brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: #3a3126;
    margin: 0;
    line-height: 1.4;
}
.lp-cases__worker {
    font-size: 1.0rem;
    color: #a2957e;
    margin: 0;
    line-height: 1.4;
}
.lp-cases__worker a {
    color: #6b5a3a;
    text-decoration: underline;
    text-underline-offset: 2px;
}
/* 職人名の横の顔写真アイコン（reset.css の img{width:100%;display:block} を打ち消す） */
.lp-cases__face {
    display: inline-block;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: -4px;
    margin-right: 3px;
}
/* 公開済みの口コミがある案件に出す★バッジ（本文は下の「お客様の声」で読ませる・2026-09-09）。
   reset.css の img{width:100%} を打ち消すため星の width は auto を明示する */
.lp-cases__vbadge {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 3px 0 0;
    font-size: 1.0rem;
    font-weight: 700;
    color: #8a7757;
    line-height: 1.4;
}
.lp-cases__vstar {
    height: 11px;
    width: auto;
    flex: 0 0 auto;
    display: block;
}
/* 「すべての修理事例を見る」（一覧 /cases/ への導線・2026-09-10） */
.lp-cases__more {
    text-align: center;
    margin: 6px 0 0;
}
.lp-cases__more a {
    display: inline-block;
    border: 1px solid #3a3126;
    border-radius: 999px;
    padding: 9px 22px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #3a3126;
    text-decoration: none;
    background: #ffffff;
}
.lp-cases__more a::after {
    content: "›";
    margin-left: 6px;
}
.lp-cases__note {
    text-align: center;
    font-size: 1.05rem;
    color: #a2957e;
    line-height: 1.5;
    margin: 2px 0 0;
}
@media (min-width: 768px) {
    .lp-cases__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lp-cases__media img { height: 132px; }
    .lp-cases__brand { font-size: 1.25rem; }
    .lp-cases__work, .lp-cases__days, .lp-cases__worker, .lp-cases__vbadge { font-size: 1.15rem; }
    .lp-cases__vstar { height: 12px; }
    .lp-cases__price { font-size: 1.6rem; }
    .lp-cases__face { width: 20px; height: 20px; }
    .lp-cases__thumb { width: 52px; height: 52px; }
    .lp-cases__thumb em { font-size: 0.75rem; }
}

/* 実績写真の拡大表示 */
.lp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9990;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    cursor: zoom-out;
}
.lp-lightbox[hidden] { display: none; }
.lp-lightbox img {
    /* reset.css の img{width:100%} を打ち消す。幅100%固定＋max-height の同時制約で
       PC ではブラウザ幅に追従して縦横比が崩れるため、両軸とも auto＋max で収める */
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.lp-lightbox__close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 3.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 6px 10px;
}
/* 修理事例は「修理前・修理後」を並べて出す（実績カードから data-lp-zoom-before で渡す・ct #35）。
   お客様の声など1枚だけのときは2枚目の figure が hidden になり、従来どおり1枚で開く */
.lp-lightbox__pair {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.lp-lightbox__fig {
    position: relative;
    margin: 0;
    display: flex;
    justify-content: center;
    /* 2枚のときは半分ずつ。1枚だけのとき（2枚目が hidden）は幅いっぱいを使う */
    flex: 1 1 0;
    min-width: 0;
}
.lp-lightbox__fig img { object-fit: contain; }
.lp-lightbox__fig[hidden] { display: none; }
.lp-lightbox__cap {
    /* figure は flex:1 1 0 で写真より広くなるため、left:8px だと写真の外にラベルが出る。
       写真は figure の中央に置かれるので、ラベルも中央下に合わせる（2026-09-08） */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 8px;
    white-space: nowrap;
    font-size: 1.0rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ffffff;
    background: rgba(0,0,0,0.6);
    padding: 3px 8px;
    border-radius: 3px;
}
.lp-lightbox__cap--after { background: rgba(179,64,31,0.9); }
.lp-lightbox__cap[hidden] { display: none; }
@media (max-width: 599.98px) {
    /* 横に2枚だと縦長の写真がつぶれるため、狭い画面では縦に積む */
    .lp-lightbox__pair { flex-direction: column; gap: 8px; }
    .lp-lightbox img { max-height: 38vh; }
}
@media (min-width: 600px) {
    /* 2枚並ぶぶん、1枚あたりの高さは少し抑える（1枚だけのときも同じ扱いで問題ない大きさ） */
    .lp-lightbox__pair .lp-lightbox__fig img { max-height: 80vh; }
}
body.lp-lightbox-open { overflow: hidden; }

/* ---------- 信頼バッジ ---------- */
.lp-badges {
    background: #f4efe6;
    padding: 24px 20px 26px;
}
.lp-badges__inner {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.lp-badges__ttl {
    text-align: center;
    font-size: 1.7rem;
    font-weight: 900;
    color: #3a3126;
    margin: 0;
}
/* 信頼バッジ3点（旧トップのカード3列を復活・2026-09-12）。定義は view/top/trust_badges.php */
.lp-badges__list {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.lp-badges__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #f0e9dd;
    border-radius: 10px;
    padding: 13px 8px;
}
.lp-badges__item img { width: 52px; height: 52px; object-fit: contain; }
.lp-badges__item span { font-size: 1.2rem; font-weight: 700; line-height: 1.4; }
@media (min-width: 768px) {
    .lp-badges__item img { width: 64px; height: 64px; }
    .lp-badges__item span { font-size: 1.4rem; }
}
/* POINT 01〜05（旧トップ l-feature の移植・2026-08-30） */
.lp-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lp-points__item {
    position: relative;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(40,30,10,0.06);
    padding: 14px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}
/* SPはアイコンを文字の背景に半透明で敷いて縦幅を稼ぐ（2026-08-30 FB）。PCは左に表示 */
.lp-points__img {
    margin: 0;
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 130px;
    opacity: 0.14;
    pointer-events: none;
    z-index: 0;
}
.lp-points__img img {
    /* 旧トップの l-feature 画像はアイコン調のイラストのため小さく出す */
    width: 100%;
    max-width: 130px;
    height: auto;
    margin: 0 auto;
    /* イラストを淡く（目立たせない色合いに・2026-08-30 FB）。SPの透かしは
       コンテナ側の opacity 0.14 と乗算されるのでさらに薄くなる */
    filter: saturate(0.6) brightness(1.05);
    opacity: 0.85;
}
.lp-points__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.lp-points__label {
    color: #005dc5;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}
.lp-points__tlt {
    font-size: 1.6rem;
    font-weight: 900;
    color: #26211c;
    line-height: 1.4;
    margin: 0;
}
.lp-points__tlt strong { color: #005dc5; }
.lp-points__txt {
    font-size: 1.2rem;
    line-height: 1.75;
    color: #5b5245;
    margin: 0;
}
.lp-sp { display: inline; }
.lp-pc { display: none; }
@media (min-width: 768px) {
    .lp-points__item {
        flex-direction: row;
        align-items: center;
        gap: 18px;
        padding: 16px 18px;
    }
    .lp-points__img {
        position: static;
        transform: none;
        width: auto;
        opacity: 1;
        flex: 0 0 150px;
    }
    .lp-points__img img { max-width: 120px; }
    .lp-points__tlt { font-size: 1.8rem; }
    .lp-points__txt { font-size: 1.3rem; }
    .lp-sp { display: none; }
    .lp-pc { display: inline; }
}

/* ---------- お客様の声 ---------- */
/* セクション順の変更（2026-08-30 FB: 特徴を流れの下へ）に伴い交互配色を再構成:
   ヒーロー(生成り写真)→実績(白)→声(ベージュ)→職人(白)→CTA(クリーム)→流れ(白)→特徴(ベージュ)→FAQ(白) */
.lp-voice {
    padding: 24px 20px 26px;
    background: #f4efe6;
}
.lp-voice__inner {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.lp-voice__ttl {
    text-align: center;
    font-size: 1.7rem;
    font-weight: 900;
    color: #3a3126;
    margin: 0;
}
/* 「もっと見る」で開くまで隠しているカード（このCSSに [hidden] の共通指定は無いので明示する） */
.lp-voice__card[hidden] { display: none; }
.lp-voice__card {
    background: #ffffff;
    border: 1px solid #f0e9dd;
    border-radius: 10px;
    padding: 12px 13px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.lp-voice__head {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}
.lp-voice__stars {
    color: #f5a623;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}
.lp-voice__item {
    font-size: 1.2rem;
    font-weight: 700;
    color: #3a3126;
}
.lp-voice__price {
    margin-left: auto;
    font-size: 1.2rem;
    font-weight: 900;
    color: #b3401f;
}
/* 投稿者（アイコン＋ニックネーム）。アイコンはお客様が投稿時に選んだもの・未選択なら出ない（2026-09-07） */
.lp-voice__who {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #3a3126;
}
.lp-voice__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #faf6ee;
    flex: 0 0 auto;
    display: block;
}
/* 修理写真＋お客様コメントの横組み */
.lp-voice__main {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.lp-voice__photo { margin: 0; flex: 0 0 96px; }
.lp-voice__photo img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
/* 修理写真の拡大ボタン（実績カードの .lp-cases__media と同じ挙動・共通の #lp_lightbox を開く） */
.lp-voice__media {
    position: relative;
    display: block;
    flex: 0 0 96px;
    width: 96px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    line-height: 0;
}
.lp-voice__media img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.lp-voice__zoom {
    position: absolute;
    right: 4px;
    bottom: 4px;
    width: 17px;
    height: 17px;
    border-radius: 4px;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lp-voice__zoom svg { width: 9px; height: 9px; }
.lp-voice__body {
    flex: 1;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #4a4238;
    margin: 0;
}
/* 職人からの返信（顔写真つき） */
.lp-voice__reply {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    background: #faf6ee;
    border-radius: 8px;
    padding: 9px 11px;
}
.lp-voice__face {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    flex: 0 0 auto;
    display: block;
}
.lp-voice__facelink { flex: 0 0 auto; display: block; line-height: 0; }
.lp-voice__replybody {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.lp-voice__worker {
    font-size: 1.1rem;
    color: #8a7a5f;
    margin: 0;
}
.lp-voice__worker b { color: #6b5a3a; }
/* 担当職人名は職人詳細へのリンク（実績カードの .lp-cases__worker a と同じ見せ方） */
.lp-voice__worker a {
    color: #6b5a3a;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.lp-voice__replytxt {
    font-size: 1.15rem;
    color: #5b5245;
    line-height: 1.65;
    margin: 0;
}
/* 4件目以降を開くボタン。全部開いたら「すべての口コミを見る」リンクに差し替わる */
.lp-voice__more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    margin-top: 2px;
    padding: 11px 8px;
    background: #ffffff;
    border: 1.5px solid #d8cbb2;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #6b5a3a;
    cursor: pointer;
}
.lp-voice__morecount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #8a7a5f;
}
.lp-voice__all {
    display: block;
    margin-top: 2px;
    padding: 11px 8px;
    text-align: center;
    border: 1.5px solid #d8cbb2;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #6b5a3a;
    text-decoration: none;
    background: #ffffff;
}
@media (min-width: 768px) {
    .lp-voice__body { font-size: 1.3rem; }
    .lp-voice__photo { flex: 0 0 130px; }
    .lp-voice__photo img { width: 130px; height: 110px; }
    .lp-voice__media { flex: 0 0 130px; width: 130px; }
    .lp-voice__media img { width: 130px; height: 110px; }
}

/* ---------- 職人カード ---------- */
.lp-craft {
    padding: 24px 20px 26px;
    background: #ffffff;
}
.lp-craft__inner {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.lp-craft__head {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.lp-craft__ttl {
    font-size: 1.7rem;
    font-weight: 900;
    color: #3a3126;
    margin: 0;
}
.lp-craft__sub {
    font-size: 1.2rem;
    color: #7a6c55;
    line-height: 1.6;
    margin: 0;
}
.lp-craft__sub strong { color: #6b5a3a; }
.lp-craft__grid {
    /* 旧トップと同じ全項目を出すためカードを広く（SP 1列 / PC 2列） */
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.lp-craft__card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(40,30,10,0.08);
}
/* SPは上段=写真左・情報右の横組み、下段（アピール・ボタン）はカード全幅に流して
   写真下の空白をなくす（2026-08-30 FB）。PCは縦積みカード */
.lp-craft__top {
    display: flex;
    align-items: flex-start;
}
.lp-craft__photo {
    display: block;
    flex: 0 0 36%;
}
.lp-craft__photo img {
    /* 固定高さだと拡大されて顔アップになりすぎるため、アスペクト比の枠で「引き」に見せる
       （枠が広いほど写真の写る範囲が増える）。顔が切れないよう上揃え（2026-08-30 FB） */
    width: 100%;
    aspect-ratio: 3 / 4;
    height: auto;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.lp-craft__body {
    flex: 1;
    min-width: 0;
    padding: 8px 10px 6px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.lp-craft__foot {
    padding: 6px 10px 11px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lp-craft__name {
    font-size: 1.6rem;
    font-weight: 900;
    margin: 0;
}
.lp-craft__name a {
    color: #26211c;
    text-decoration: none;
}
.lp-craft__skill {
    font-size: 1.15rem;
    color: #5b5245;
    line-height: 1.5;
    margin: 0;
}
/* スペック表（料金を赤字強調・罫線でメリハリ） */
.lp-craft__specs {
    margin: 2px 0 0;
    border-top: 1px solid #f0e9dd;
}
.lp-craft__specs > div {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 6px 2px;
    border-bottom: 1px solid #f0e9dd;
}
.lp-craft__specs dt {
    flex: 0 0 72px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #8a7a5f;
}
.lp-craft__specs dd {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #3a3126;
    line-height: 1.5;
}
.lp-craft__specs dd._price {
    color: #b3401f;
    font-size: 1.6rem;
    font-weight: 900;
}
/* 口コミサマリー（voices_get_html_for_top の .left/.rating/.comment/.right を整える。
   reset.css の img{width:100%} 打ち消し必須 */
.lp-craft__voices {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: wrap;
}
.lp-craft__voices .left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.lp-craft__voices .rating,
.lp-craft__voices .comment {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #3a3126;
}
.lp-craft__voices .rating img { width: 74px; height: auto; display: inline-block; }
.lp-craft__voices .comment img { width: 14px; height: auto; display: inline-block; }
.lp-craft__voices .right a {
    font-size: 1.05rem;
    color: #005dc5;
}
/* アピールポイントは生成りの囲みで独立させる */
.lp-craft__appeal {
    background: #faf6ee;
    border-radius: 8px;
    padding: 9px 11px;
    font-size: 1.15rem;
    color: #5b5245;
    line-height: 1.65;
    margin: 0;
}
.lp-craft__appeallabel {
    display: block;
    font-size: 1.0rem;
    font-weight: 900;
    color: #005dc5;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}
/* フッターの2ボタン（詳細=アウトライン / 指名=青） */
.lp-craft__links {
    display: flex;
    gap: 8px;
    margin-top: 3px;
}
.lp-craft__detail,
.lp-craft__request { margin: 0; flex: 1; }
.lp-craft__detail a {
    display: block;
    text-align: center;
    border: 1.5px solid #d8cbb2;
    border-radius: 8px;
    padding: 9px 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #6b5a3a;
    text-decoration: none;
}
.lp-craft__request a {
    display: block;
    text-align: center;
    background: linear-gradient(180deg, #1f86ec, #005dc5);
    border-radius: 8px;
    padding: 10px 8px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0,93,197,0.3);
}
.lp-craft__note {
    text-align: center;
    font-size: 1.15rem;
    color: #8a7a5f;
    line-height: 1.7;
    margin: 0;
}
.lp-craft__note strong { color: #6b5a3a; }
@media (min-width: 768px) {
    .lp-craft__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-craft__top { display: block; }
    .lp-craft__photo img { aspect-ratio: 4 / 3; }
    .lp-craft__body { padding: 10px 12px 6px; }
    .lp-craft__foot { padding: 0 12px 13px; }
    .lp-craft__note { font-size: 1.3rem; }
}

/* ---------- CTAブロック ---------- */
.lp-cta {
    padding: 34px 20px 38px;
    text-align: center;
    /* 旧トップの「早速、クラフトワーカーズを使ってみる」（.l-about）と同じ背景画像 */
    background: url("../images/l-about--bg-1600.jpg") center / cover no-repeat;
    background-image: image-set(url("../images/l-about--bg-1600.webp") type("image/webp"), url("../images/l-about--bg-1600.jpg") type("image/jpeg"));
}
@media (max-width: 767px) {
    .lp-cta {
        background-image: url("../images/l-about--bg-800.jpg");
        background-image: image-set(url("../images/l-about--bg-800.webp") type("image/webp"), url("../images/l-about--bg-800.jpg") type("image/jpeg"));
    }
}
.lp-cta__inner {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.lp-cta__ttl {
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0;
    /* 背景写真の暗部（カッティングマット）に重なっても読めるよう白のハローを敷く */
    text-shadow: 0 1px 6px rgba(255,255,255,0.95), 0 0 18px rgba(255,255,255,0.85), 0 0 34px rgba(255,255,255,0.7);
}
.lp-cta__btnwrap {
    position: relative;
    display: inline-block;
    margin: 4px auto 0;
}
.lp-cta__free {
    position: absolute;
    top: -11px;
    left: 14px;
    background: #ffca28;
    color: #1a1a1a;
    font-weight: 900;
    font-size: 1.1rem;
    padding: 2px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 1;
}
.lp-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(180deg, #1f86ec, #005dc5);
    color: #ffffff !important;
    font-weight: 900;
    font-size: 1.6rem;
    padding: 16px 34px;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0,93,197,0.35);
    text-decoration: none;
    animation: lpCtaGlow 2s ease-in-out infinite;
}
.lp-cta__btn svg { width: 19px; height: 19px; flex: 0 0 auto; }
@keyframes lpCtaGlow {
    0%, 100% { box-shadow: 0 6px 16px rgba(0,93,197,0.35); }
    50% { box-shadow: 0 8px 26px rgba(0,93,197,0.55); }
}
@media (prefers-reduced-motion: reduce) { .lp-cta__btn { animation: none; } }
@media (min-width: 768px) {
    .lp-cta__ttl { font-size: 2.4rem; }
    .lp-cta__btn { font-size: 1.8rem; padding: 18px 44px; }
}

/* ---------- ご利用の流れ ---------- */
.lp-flow {
    background: #ffffff;
    padding: 24px 20px 30px;
}
.lp-flow__inner {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lp-flow__ttl {
    text-align: center;
    font-size: 1.7rem;
    font-weight: 900;
    color: #3a3126;
    margin: 0;
}
.lp-flow__lead {
    text-align: center;
    font-size: 1.3rem;
    color: #5b5245;
    line-height: 1.6;
    margin: 0;
}
.lp-flow__lead strong { color: #005dc5; font-weight: 900; }
/* 流れの末尾の一文（保証の念押し・2026-09-12） */
.lp-flow__note {
    margin: 16px 0 0;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #3a3126;
}
.lp-flow__note b { color: #005dc5; }
.lp-flow__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
/* ステップカードは旧トップ l-use のデザインを踏襲:
   STEP番号（大・#333）＋黄色帯 #fdf071 のラベル＋イラスト＋左揃え本文。
   SPは画像左・テキスト右の横組みで縦を圧縮（2026-08-30 完成イメージ）。PCは縦積み3列 */
.lp-flow__step {
    flex: 1;
    background: #ffffff;
    border: 1px solid #f0e9dd;
    border-radius: 10px;
    padding: 14px 14px 16px;
    display: grid;
    grid-template-columns: 38% minmax(0, 1fr);
    grid-template-areas:
        "img num"
        "img label"
        "img txt";
    grid-template-rows: auto auto 1fr;
    column-gap: 12px;
    row-gap: 6px;
    text-align: left;
}
.lp-flow__num {
    grid-area: num;
    font-size: 2.8rem;
    font-weight: bold;
    line-height: 1;
    color: #333333;
    margin: 0;
}
.lp-flow__num span {
    font-size: 2.1rem;
    margin-right: 5px;
}
.lp-flow__labelwrap { grid-area: label; margin: 0; }
.lp-flow__label {
    display: inline-block;
    background: #fdf071;
    font-size: 1.7rem;
    font-weight: bold;
    line-height: 1.2;
    padding: 6px 10px;
    color: #333333;
}
.lp-flow__img {
    grid-area: img;
    align-self: center;
    margin: 0;
}
.lp-flow__img img {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 0 auto;
}
.lp-flow__txt {
    grid-area: txt;
    font-size: 1.3rem;
    line-height: 1.7;
    color: #333333;
    margin: 0;
}
@media (min-width: 768px) {
    .lp-flow__list { flex-direction: row; align-items: stretch; }
    .lp-flow__lead { font-size: 1.5rem; }
    .lp-flow__step {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "num" "label" "img" "txt";
        grid-template-rows: auto auto auto 1fr;
        row-gap: 8px;
        padding: 16px 15px 18px;
    }
    .lp-flow__img { align-self: auto; width: 100%; }
    .lp-flow__label { font-size: 1.8rem; }
    .lp-flow__txt { font-size: 1.35rem; }
    .lp-flow__note { font-size: 1.45rem; }
}

/* ---------- よくあるご質問 ---------- */
.lp-faq {
    padding: 24px 20px 30px;
    background: #ffffff;
}
.lp-faq__inner {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.lp-faq__ttl {
    text-align: center;
    font-size: 1.7rem;
    font-weight: 900;
    color: #3a3126;
    margin: 0;
}
.lp-faq__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lp-faq__item {
    background: #ffffff;
    border: 1px solid #f0e9dd;
    border-radius: 10px;
    overflow: hidden;
}
.lp-faq__q {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 13px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}
.lp-faq__mark {
    font-size: 1.2rem;
    font-weight: 900;
    color: #005dc5;
    flex-shrink: 0;
}
.lp-faq__qtxt {
    flex: 1;
    font-size: 1.3rem;
    font-weight: 700;
    color: #3a3126;
    line-height: 1.5;
}
.lp-faq__chev {
    width: 13px;
    height: 13px;
    stroke: #a2957e;
    flex-shrink: 0;
    transition: transform .2s;
}
.lp-faq__item.is-open .lp-faq__chev { transform: rotate(180deg); }
.lp-faq__a {
    font-size: 1.25rem;
    line-height: 1.75;
    color: #5b5245;
    padding: 0 13px 12px;
}
.lp-faq__a a { color: #005dc5; }
@media (min-width: 768px) {
    .lp-faq__qtxt { font-size: 1.4rem; }
    .lp-faq__a { font-size: 1.35rem; }
}

/* ---------- 追従CTAバー（900px未満・PCは .lf-pcfab が担当） ---------- */
.lp-stickybar {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 9970;
    background: rgba(17, 17, 17, 0.82);
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom, 0px));
    transform: translateY(110%);
    transition: transform .3s ease;
    display: none;
}
@media (max-width: 899.98px) { .lp-stickybar { display: block; } }
.lp-stickybar.is-show { transform: translateY(0); }
.lp-stickybar__btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 420px;
    margin: 0 auto;
    background: linear-gradient(180deg, #1f86ec, #005dc5);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 1.5rem;
    padding: 13px 10px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,93,197,0.5);
}
.lp-stickybar__btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.lp-stickybar__free {
    position: absolute;
    top: -9px;
    left: 16px;
    background: #ffca28;
    color: #1a1a1a;
    font-weight: 900;
    font-size: 1.05rem;
    padding: 1px 9px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
/* バー表示中に最下部コンテンツが隠れないための逃げ */
@media (max-width: 899.98px) {
    body.lp-has-stickybar { padding-bottom: 68px; }
}

/* ---------- 中項目タイトルとセクション余白の一括調整（各セクションの定義より後に置いて上書き） ----------
   見出しはサイズ拡大＋青のアクセントバーで強調し、セクション上下のパディングを
   広げてコンテンツの切れ目を明確にする（2026-08-30 FB） */
.lp-cases, .lp-badges, .lp-voice, .lp-craft, .lp-flow, .lp-faq {
    padding-top: 42px;
    padding-bottom: 46px;
}
.lp-cases__ttl, .lp-badges__ttl, .lp-voice__ttl,
.lp-craft__ttl, .lp-flow__ttl, .lp-faq__ttl {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    margin: 0 0 18px;
    position: relative;
    padding-bottom: 14px;
}
.lp-cases__ttl::after, .lp-badges__ttl::after, .lp-voice__ttl::after,
.lp-craft__ttl::after, .lp-flow__ttl::after, .lp-faq__ttl::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 46px;
    height: 3px;
    border-radius: 2px;
    background: #005dc5;
}
@media (min-width: 768px) {
    .lp-cases, .lp-badges, .lp-voice, .lp-craft, .lp-flow, .lp-faq {
        padding-top: 56px;
        padding-bottom: 60px;
    }
    .lp-cases__ttl, .lp-badges__ttl, .lp-voice__ttl,
    .lp-craft__ttl, .lp-flow__ttl, .lp-faq__ttl {
        font-size: 2.8rem;
        margin: 0 0 24px;
    }
}
