/* 2026-10-15 修正案：実写真・実績の帯・電話導線。既存CSSは触らず、この後読みで上書きする。 */

/* ヘッダーの電話 */
.site-header .desktop-nav{margin-left:auto}
.header-tel{order:3;display:flex;align-items:center;gap:10px;flex-shrink:0;color:#fff;text-shadow:0 1px 12px #0009;line-height:1.2}
.header-tel .phone-symbol{width:26px;height:26px}
.header-tel-text{display:grid;font-size:20px;font-weight:700;letter-spacing:.04em;font-variant-numeric:tabular-nums}
.header-tel-text small{font-size:10px;font-weight:600;letter-spacing:.1em;color:#f3dca0}
.header-tel:hover .header-tel-text{text-decoration:underline;text-underline-offset:4px}
@media(max-width:1250px){.header-tel-text{font-size:17px}.header-tel .phone-symbol{width:22px;height:22px}}
@media(max-width:1180px){.header-tel{width:44px;height:44px;justify-content:center;border:1px solid #ffffff90;border-radius:50%;background:#25292e66}.header-tel-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}
@media(max-width:800px){.header-tel{order:0;margin-left:auto;width:40px;height:40px}.site-header .menu-toggle{order:1}}

/* ヒーロー：相談ボタン下の一言 */
.hero-note{margin-top:14px;font-size:14px;letter-spacing:.06em;color:#fff;text-shadow:0 1px 6px #0008}
.hero-note:before{content:"✓";margin-right:8px;color:var(--orange);font-weight:700}
.motion-ready:not(.motion-paused) .hero-content.hero-enter>.hero-note{animation:hero-rise 1s .75s both}
@media(max-width:580px){.hero-note{font-size:13px}}


/* 会社紹介の写真：職人が写る位置を見せる */
.about-image img{object-position:70% 55%}
@media(max-width:580px){.about-image img{object-position:88% 60%}}

/* 施工事例：ビフォー・アフターを同じ大きさで並べる */
.works-grid.before-after{grid-template-columns:1fr 1fr;gap:28px}
.before-after .work-card{margin:0}
.before-after .work-card:nth-child(2){margin-top:0}
.before-after .work-image,.before-after .work-card:nth-child(2) .work-image{height:auto;aspect-ratio:1478/1108}
.before-after .work-card:hover img{transform:none}
.before-after .work-badge{font-size:12px;font-weight:700;letter-spacing:.14em;padding:5px 14px}
.before-after .work-card:nth-child(2) .work-badge{background:var(--orange);color:var(--navy)}
.before-after .work-meta{display:block}
.before-after .work-category{font-size:13px;margin-top:4px}
.works-more{margin-top:28px;font-size:14px;color:var(--muted)}
.works-more a{color:var(--navy);text-decoration:underline;text-underline-offset:4px}
@media(max-width:580px){.works-grid.before-after{grid-template-columns:1fr;gap:26px}.works-more{font-size:13px}}

/* NEWSを後ろへ移したので、上下の区切りを整える */
.works+.news{border-top:1px solid var(--line)}

.nowrap{display:inline-block}

/* ===== 第2段階（2026-10-15） ===== */

/* 文字サイズの底上げ：本文は16px（スマホ15px）、補足は13px以上を目安に */
:root .body-copy,:root .services .body-copy,:root .service .body-copy,:root .promise-items p,:root .medical-entry p:not(.eyebrow),:root .faq details p,:root .contact-inner p,:root .social-box>p:not(.eyebrow),:root .news-intro,:root .works-more{font-size:16px;line-height:2}
:root .company-list>div,:root .faq summary,:root .footer-details,:root .work-category,:root .access-details address{font-size:15px}
:root .promise h3{font-size:18px;margin:10px 0 8px}
:root .eyebrow,:root .promise-number{font-size:12px}
:root .text-link,:root .button,:root .nav-contact,:root .news-post-link,:root .social-links a,:root .footer-links,:root .map-link{font-size:14px}
:root .medical-entry-photo figcaption{font-size:12px}
:root .hero-location{font-size:12px}
:root .trust-license,:root .legal-footer-copyright{font-size:13px}
:root .contact-phone-banner span{font-size:13px}
@media(max-width:580px){
  :root .body-copy,:root .services .body-copy,:root .service .body-copy,:root .promise-items p,:root .medical-entry p:not(.eyebrow),:root .faq details p,:root .contact-inner p,:root .social-box>p:not(.eyebrow),:root .news-intro,:root .works-more{font-size:15px;line-height:1.95}
  :root .company-list>div,:root .faq summary,:root .footer-details,:root .work-category{font-size:14px}
  :root .hero-kicker{font-size:10px;letter-spacing:.08em}
  :root .hero-location{font-size:11px;letter-spacing:.02em}
  :root .trust-license{font-size:12px}
  :root .footer-links a{font-size:14px}
  /* 狭い画面では手動の改行をやめ、文の切れ目で自然に折り返す */
  .body-copy br,.promise-items p br,.medical-entry-copy p br{display:none}
}
.body-copy,.promise-items p,.medical-entry-copy p,.section-title,.faq details p{word-break:auto-phrase}

/* ロゴ：写真の上の白いぼかしをやめ、白い台紙にする */
.site-header .brand::before{inset:-4px -6px;background:#fff;filter:none;border-radius:8px;box-shadow:0 4px 18px #0816282e}


.news-scroll-hint{display:none}
/* スマホ：NEWSは2列だと見出しが細切れになるため、1件ずつ横にスクロールする形に */
@media(max-width:580px){
  .news-grid{display:flex;gap:14px;max-width:none;margin:0 -24px;padding:0 24px 6px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:24px;overscroll-behavior-x:contain}
  .news-card{flex:0 0 82%;scroll-snap-align:start}
  .news-card h3{min-height:0;font-size:16px}
  .news-scroll-hint{display:block;margin-top:10px;font-size:12px;color:var(--muted)}
}

/* スマホ：相談ボタン下の一言と所在地が重ならないよう、所在地をヒーローの下端へ */
@media(max-width:580px){:root .hero-location{bottom:26px}}

/* 営業時間の表示（2026-10-15 追加） */
:root .access-hours{margin-top:4px;font-size:14px;color:var(--muted)}
:root .contact-hours{margin-top:12px;font-size:13px;color:#fff;opacity:.85;text-align:center}
/* 会社情報：「フリーダイヤル」など長めの項目名が折り返さない幅に */
:root .company-list>div{grid-template-columns:112px 1fr}
@media(max-width:580px){:root .company-list>div{grid-template-columns:102px 1fr;gap:12px}}



/* ===== 受賞・認定・登録（2026-10-16 デザイン見直し） ===== */
.credentials{padding:90px 0 96px;border-top:1px solid var(--line)}
.credentials-heading{align-items:center;margin-bottom:36px}
.credentials-intro{margin-top:14px;font-size:16px;line-height:1.9;color:var(--muted);word-break:auto-phrase}
.credentials-mascot{flex:0 0 110px;width:110px;height:132px;object-fit:contain;margin-right:24px}
.award-tag{display:inline-block;padding:3px 12px;border-radius:999px;background:var(--orange);color:var(--navy);font-size:12px;font-weight:700;letter-spacing:.06em}
.award-source{font-size:13px;color:var(--muted)}

/* いちばん大きな受賞：賞状と説明を横並びに */
.award-feature{display:grid;grid-template-columns:1.05fr 1fr;border:2px solid var(--orange);border-radius:16px;overflow:hidden;background:#faf6ec}
.award-feature-photo{position:relative;display:grid;place-items:center;padding:32px;background:#eef1f5;text-decoration:none}
.award-feature-photo img{width:100%;height:auto;object-fit:contain;box-shadow:0 6px 24px #142c4e2e;transition:transform .25s}
.award-feature-photo:hover img{transform:scale(1.02)}
.award-zoom{position:absolute;right:14px;bottom:12px;padding:3px 10px;border-radius:999px;background:#fffffff0;color:var(--navy);font-size:12px;font-weight:700}
.award-feature-body{align-self:center;padding:36px 40px}
.award-feature-body h3{margin:14px 0 14px;line-height:1.4}
.award-rank{display:block;font-size:32px;color:var(--navy);letter-spacing:.02em}
.award-name{display:block;margin-top:6px;font-size:16px;font-weight:700;color:var(--brown)}
.award-feature-body p:not(.award-tag):not(.award-source){font-size:16px;line-height:1.9;color:var(--muted);word-break:auto-phrase}
.award-feature-body .award-source{margin-top:14px}

/* 認定・登録：小さな証書＋説明 */
.award-sub-list{list-style:none;margin:20px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:20px}
.award-sub{display:flex;gap:20px;align-items:flex-start;padding:20px;background:#fff;border:1px solid var(--line);border-radius:14px}
.award-sub-photo{position:relative;flex:0 0 104px;aspect-ratio:3/4;border-radius:8px;background:#eef1f5;text-decoration:none}
.award-sub-photo img{position:absolute;inset:8px;width:calc(100% - 16px);height:calc(100% - 16px);object-fit:contain;filter:drop-shadow(0 2px 6px #142c4e26);transition:transform .25s}
.award-sub-photo:hover img{transform:scale(1.04)}
.award-sub h3{margin:10px 0 6px;font-size:18px;line-height:1.5;color:var(--navy)}
.award-sub p:not(.award-tag):not(.award-source){font-size:14px;line-height:1.85;color:var(--muted);word-break:auto-phrase}
.award-sub .award-tag{background:#e9edf3;color:var(--navy)}
.award-sub .award-source{margin-top:8px}
.award-feature-photo:focus-visible,.award-sub-photo:focus-visible{outline:3px solid var(--orange);outline-offset:3px}

/* 建設業許可：控えめな1行 */
.license-line{display:flex;align-items:center;gap:16px;margin-top:24px;padding:16px 20px;background:#f5f7fa;border-left:4px solid var(--navy);border-radius:10px}
.license-kind{flex-shrink:0;padding:3px 12px;border-radius:999px;background:var(--navy);color:#fff;font-size:12px;font-weight:700;letter-spacing:.06em}
.license-body{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 16px}
.license-body strong{font-size:16px;color:var(--navy)}
.license-body span{font-size:14px;color:var(--muted)}

@media(max-width:900px){.award-feature{grid-template-columns:1fr}.award-feature-body{padding:28px 30px}.award-sub-list{grid-template-columns:1fr}}
@media(max-width:800px){.credentials{padding:64px 0 70px}}
@media(max-width:580px){
  .credentials{padding:52px 0 58px}
  .credentials-heading{position:relative;padding-right:78px}
  .credentials-mascot{position:absolute;right:0;top:0;width:68px;height:82px;margin:0}
  .credentials-intro{font-size:15px}
  .award-feature-photo{padding:18px}
  .award-feature-body{padding:22px 20px 24px}
  .award-rank{font-size:25px}
  .award-name{font-size:15px}
  .award-feature-body p:not(.award-tag):not(.award-source){font-size:15px}
  .award-sub{padding:16px;gap:14px}
  .award-sub-photo{flex-basis:80px}
  .award-sub h3{font-size:17px}
  .license-line{flex-direction:column;align-items:flex-start;gap:8px;padding:14px 16px}
}

/* 建設業許可：許可票の写真つきカード（2026-10-16） */
.license-card{display:flex;align-items:center;gap:24px;margin-top:20px;padding:18px 22px;background:#f5f7fa;border-left:4px solid var(--navy);border-radius:12px}
.license-photo{position:relative;flex:0 0 170px;aspect-ratio:341/266;border-radius:6px;overflow:hidden;box-shadow:0 2px 10px #142c4e26;text-decoration:none}
.license-photo img{width:100%;height:100%;object-fit:cover;transition:transform .25s}
.license-photo:hover img{transform:scale(1.04)}
.license-photo:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.license-text{min-width:0}
.license-text .license-kind{display:inline-block}
.license-number{margin:8px 0 6px;font-size:19px;font-weight:700;color:var(--navy)}
.license-meta{margin:0;display:grid;gap:2px}
.license-meta>div{display:flex;flex-wrap:wrap;gap:0 12px;font-size:14px;line-height:1.8}
.license-meta dt{color:var(--brown);font-weight:700}
.license-meta dd{margin:0;color:var(--muted)}
@media(max-width:580px){.license-card{flex-direction:column;align-items:stretch;gap:14px;padding:16px}.license-photo{flex-basis:auto;width:100%}.license-number{font-size:17px}}

/* ===== 実績の帯：紺×金の重厚なデザイン（2026-10-16 見直し） ===== */
.trust-strip{--gold:#ddb35f;--gold-light:#f3dca0;--gold-line:#ddb35f59;position:relative;padding:56px 0 44px;border:0;color:#fff;text-align:center;background:#0f223c;box-shadow:0 0 0 100vmax #0f223c;clip-path:inset(0 -100vmax)}
/* 薄い放射状の光で奥行きを出す */
.trust-strip::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 55% 65% at 50% 26%,#2a4a7a80,transparent 72%)}
.trust-strip{isolation:isolate}
.trust-defs{position:absolute;width:0;height:0;overflow:hidden}
.trust-gold-text{background:linear-gradient(180deg,#fff3cf 0%,#f0d389 38%,#d3a54e 70%,#a87b2b 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;text-shadow:none;filter:drop-shadow(0 2px 8px #00000059)}

/* 受賞：月桂樹で囲んだ主役 */
.trust-award{display:inline-flex;align-items:center;justify-content:center;gap:18px;text-decoration:none;color:#fff}
.laurel{width:58px;height:116px;flex-shrink:0;filter:drop-shadow(0 2px 6px #0006)}
.laurel.is-right{transform:scaleX(-1)}
.trust-award-body{display:grid;justify-items:center;gap:2px}
.trust-award-label{font-size:12px;font-weight:700;letter-spacing:.32em;color:var(--gold);padding-left:.32em}
.trust-award strong{font-size:56px;line-height:1.25;letter-spacing:.06em;font-weight:800}
.trust-award-note{font-size:14px;letter-spacing:.08em;color:#ffffffd9}
.trust-award:hover .trust-award-note{text-decoration:underline;text-underline-offset:4px}
.trust-award:focus-visible{outline:2px solid var(--gold);outline-offset:8px;border-radius:8px}

/* 金の飾り罫 */
.trust-divider{display:flex;align-items:center;justify-content:center;gap:14px;max-width:560px;margin:26px auto 30px}
.trust-divider::before,.trust-divider::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,var(--gold))}
.trust-divider::after{background:linear-gradient(90deg,var(--gold),transparent)}
.trust-divider span{width:9px;height:9px;transform:rotate(45deg);background:var(--gold);box-shadow:0 0 10px #ddb35f80}

/* 数字の4項目 */
.trust-list{display:grid;grid-template-columns:repeat(4,1fr);margin:0}
.trust-list>div{position:relative;padding:4px 18px}
.trust-list>div+div::before{content:"";position:absolute;left:0;top:10%;bottom:10%;width:1px;background:linear-gradient(180deg,transparent,var(--gold-line),transparent)}
.trust-list dt{font-size:13px;font-weight:700;letter-spacing:.24em;color:var(--gold);padding-left:.24em}
.trust-list dd{margin:0;font-size:16px;font-weight:700;color:#fff;white-space:nowrap}
.trust-list strong{font-size:44px;line-height:1.3;letter-spacing:.02em;margin-right:4px;font-weight:800}
.trust-list .trust-note{margin-top:4px;font-size:13px;font-weight:400;color:#ffffffb3;white-space:normal}
:root .trust-license{margin-top:34px;padding-top:18px;border-top:1px solid #ffffff1f;font-size:13px;letter-spacing:.04em;color:#ffffff99}

@media(max-width:1000px){.trust-list>div{padding-inline:8px}.trust-list strong{font-size:36px}}
@media(max-width:800px){.trust-award strong{font-size:46px}.laurel{width:48px;height:96px}}
@media(max-width:580px){
  .trust-strip{padding:40px 0 32px}
  .trust-award{gap:8px}
  .laurel{width:38px;height:76px}
  .trust-award strong{font-size:38px;letter-spacing:.04em}
  .trust-award-label{font-size:11px}
  .trust-award-note{font-size:12px;letter-spacing:.02em}
  .trust-divider{margin:20px auto 22px}
  .trust-list{grid-template-columns:1fr 1fr;row-gap:24px}
  .trust-list>div:nth-child(3)::before{display:none}
  .trust-list strong{font-size:32px}
  .trust-list dt{font-size:12px;letter-spacing:.16em}
  .trust-list .trust-note{font-size:12px}
  :root .trust-license{margin-top:26px;font-size:12px;line-height:1.8}
}

/* ===== 大切にしたい3つのこと：見出しを上段、3項目を全幅のカードに（2026-10-16） ===== */
:root .promise{display:block;padding:60px 0 64px}
.promise-heading{display:flex;align-items:baseline;gap:22px;margin-bottom:30px}
:root .promise h2{font-size:30px;line-height:1.5;letter-spacing:.06em;margin:0}
.promise-heading .eyebrow{order:-1;margin:0}
:root .promise-items{grid-template-columns:repeat(3,1fr);gap:22px}
:root .promise-items article{position:relative;padding:28px 28px 30px;background:#f6f8fb;border-radius:14px;border-top:3px solid var(--orange)}
:root .promise-number{display:flex;align-items:baseline;gap:10px;font-size:12px;letter-spacing:.2em;color:var(--brown);font-weight:700}
.promise-number b{font-size:34px;line-height:1;letter-spacing:.02em;color:var(--navy);font-weight:800}
:root .promise h3{margin:16px 0 10px;font-size:20px;line-height:1.5;color:var(--navy)}
:root .promise-items p{font-size:16px;line-height:1.95;color:var(--muted);word-break:auto-phrase}
@media(max-width:1000px){:root .promise-items article{padding:24px 22px 26px}:root .promise h3{font-size:18px}:root .promise-items p{font-size:15px}:root .promise-items p br{display:none}}
@media(max-width:800px){.promise-heading{display:block}.promise-heading .eyebrow{margin-bottom:12px}:root .promise h2{font-size:26px}:root .promise-items{grid-template-columns:1fr;gap:14px}:root .promise-items p br{display:inline}}
@media(max-width:580px){:root .promise{padding:48px 0 50px}:root .promise h2{font-size:24px}:root .promise-items article{padding:22px 20px 24px}.promise-number b{font-size:28px}:root .promise h3{font-size:18px;margin-top:12px}:root .promise-items p{font-size:15px}:root .promise-items p br{display:none}}

/* ===== 文章の書き直し・代表写真に合わせた調整（2026-10-19） ===== */
/* ヒーロー見出し：1行目「外壁・屋根の塗り替えは、」が折り返さない大きさに */
body .hero h1{font-size:clamp(38px,4vw,56px);letter-spacing:.04em;line-height:1.45}
.hero-description{max-width:none}
@media(max-width:580px){body .hero h1{font-size:25px;letter-spacing:.02em;line-height:1.6}}
/* 会社紹介：代表の写真と署名 */
.about-image img{object-position:50% 18%}
@media(max-width:580px){.about-image img{object-position:50% 15%}}
.about-sign{display:flex;flex-direction:column;gap:2px;margin-top:24px;padding-left:16px;border-left:3px solid var(--orange)}
.about-sign span{font-size:13px;color:var(--muted);letter-spacing:.04em}
.about-sign strong{font-size:24px;color:var(--navy);letter-spacing:.18em}
/* 英語の小見出しをなくした分の余白を整える */
.promise-heading{display:block}
.credentials-heading .section-title,.works .section-title,.news .section-title{margin-top:0}
/* 明朝体は字幅が広いため、小さめのスマホ（幅360px前後）でも実績の数字がはみ出さないように */
.trust-list>div{min-width:0}
@media(max-width:580px){.trust-list strong{font-size:29px;margin-right:2px}.trust-list dd{font-size:13px}}
@media(max-width:360px){.trust-list strong{font-size:26px}}
@media(max-width:580px){:root .about .section-title{font-size:22px;letter-spacing:.03em}}

/* 実績の帯の背景色を、ご指定のチャコール #25292e に（2026-10-19） */
:root .trust-strip{background:#25292e;box-shadow:0 0 0 100vmax #25292e}
:root .trust-strip::before{background:radial-gradient(ellipse 55% 65% at 50% 26%,#ffffff12,transparent 72%)}

/* ロゴの背景：白い台紙 → 写真がうっすら透けるすりガラス風（2026-10-19） */
:root .site-header .brand::before{inset:-6px -10px;background:rgba(255,255,255,.82);-webkit-backdrop-filter:blur(10px) saturate(1.15);backdrop-filter:blur(10px) saturate(1.15);border:1px solid rgba(255,255,255,.45);border-radius:12px;box-shadow:0 6px 22px rgba(8,22,40,.14);filter:none}

/* ===== ヘッダーをスクロールしても上に残るバーに（2026-10-19） =====
   写真の上では今までどおり透明。少しスクロールすると紺のバーになり、高さも少し低くなる */
:root .site-header{position:fixed;top:0;left:0;right:0;z-index:60;transition:height .25s ease,background-color .25s ease,box-shadow .25s ease}
:root .site-header.is-scrolled{height:76px;background:rgba(0,0,0,.55);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 6px 20px rgba(0,0,0,.25)}
:root .site-header.is-scrolled .desktop-nav>a:not(.nav-contact){text-shadow:none}
:root .site-header .brand-logo{transition:width .25s ease}
:root .site-header.is-scrolled .brand-logo{width:150px}
:root .site-header.is-scrolled .nav-contact{padding-block:10px}
:root .site-header .desktop-nav{top:100%}
html{scroll-padding-top:90px}
@media(max-width:800px){:root .site-header.is-scrolled{height:64px}:root .site-header.is-scrolled .brand-logo{width:128px}html{scroll-padding-top:72px}}
@media(prefers-reduced-motion:reduce){:root .site-header,:root .site-header .brand-logo{transition:none}}

/* ===== ご相談から工事までの進め方：カード → 点線でつないだ「流れ」に（2026-10-20） =====
   生成り色の帯に、紺の丸い番号を点線でつなぎ、隅に水彩の葉っぱをあしらう */
:root .promise{position:relative;padding:76px 0 80px;margin-bottom:100px;border:0;background:#f6f2ea;box-shadow:0 0 0 100vmax #f6f2ea;clip-path:inset(-140px -100vmax 0);overflow-x:clip}
:root .promise>.yutaka-peek{top:0}
.promise-leaf{position:absolute;z-index:0;pointer-events:none;user-select:none;height:auto}
.promise-leaf.is-top{right:-6px;top:-18px;width:190px;transform:rotate(14deg);opacity:.92}
.promise-leaf.is-bottom{left:-10px;bottom:-26px;width:150px;transform:scaleX(-1) rotate(-28deg);opacity:.85}
:root .promise .promise-heading{position:relative;z-index:1;text-align:center;margin-bottom:46px}
:root .promise h2{font-size:clamp(26px,2.8vw,38px)}
:root .promise .promise-heading::after{content:"";display:block;width:56px;height:2px;margin:18px auto 0;background:#c9a45a}
:root .promise-items{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px}
/* 番号の丸をつなぐ点線 */
:root .promise-items::before{content:"";position:absolute;top:29px;left:16.7%;right:16.7%;border-top:2px dashed #c9b48a}
:root .promise-items article{padding:0;background:none;border:0;border-radius:0;text-align:center}
:root .promise-number{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 20px;border-radius:50%;background:#142c4e;box-shadow:0 0 0 7px #f6f2ea;letter-spacing:0}
:root .promise-number b{font-size:24px;line-height:1;color:#fff}
:root .promise h3{margin:0 0 10px;font-size:19px;color:#142c4e}
:root .promise-items p{max-width:17em;margin:0 auto;font-size:15px;line-height:1.95;color:#4f5b6b}
:root .promise-items p br{display:none}
@media(max-width:800px){
  :root .promise{padding:60px 0 64px;margin-bottom:70px}
  :root .promise .promise-heading{margin-bottom:34px}
  :root .promise-items{grid-template-columns:1fr;gap:28px}
  :root .promise-items::before{top:29px;bottom:40px;left:28px;right:auto;border-top:0;border-left:2px dashed #c9b48a}
  :root .promise-items article{display:grid;grid-template-columns:58px 1fr;column-gap:18px;text-align:left}
  :root .promise-number{grid-row:1/3;margin:0}
  :root .promise h3{align-self:end;margin:4px 0 6px}
  :root .promise-items p{max-width:none;margin:0}
  .promise-leaf.is-top{width:130px;right:-14px;top:-30px}
  .promise-leaf.is-bottom{width:110px;bottom:-30px}
}
/* 修正：帯の背景は横だけ画面の端まで広げる（上にはみ出さない）。葉っぱは文字に重ならない位置に */
html,body{overflow-x:clip}
:root .promise{background:none;box-shadow:none;clip-path:none;overflow:visible;isolation:isolate;padding-bottom:124px}
:root .promise::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:calc(50% - 50vw);right:calc(50% - 50vw);background:#f6f2ea}
.promise-leaf.is-bottom{left:-6px;bottom:-8px;width:118px;transform:scaleX(-1) rotate(-24deg)}
@media(max-width:800px){:root .promise{padding-bottom:110px}.promise-leaf.is-bottom{width:96px;bottom:-6px;left:-4px}}
/* =====================================================================
   TOPの文字まわり（2026-10-20）：均一な白文字の並びをやめ、強弱と金の差し色で「看板」らしく
   ・上に小さなラベル（SINCE 1993／所在地と業種）
   ・見出しは1行目を小さく、社名の行を大きく。社名は金
   ・説明文の左に金の細い線、ボタンは金、無料の一言は細い枠のラベルに
   ===================================================================== */
:root .hero::after{background:linear-gradient(90deg,#081321d9 0%,#081321a6 34%,#08132133 68%,transparent 100%),linear-gradient(180deg,#08132199 0%,transparent 26%,transparent 70%,#081321cc 100%)}
:root .hero-mark{display:flex;align-items:center;gap:14px;margin:0;font-family:var(--sans);font-size:13px;font-weight:500;letter-spacing:.14em;color:#e9dfc8}
:root .hero-mark span{padding:4px 10px 3px;border:1px solid #c9a45a;font-family:var(--heading-font);font-size:12px;font-weight:700;letter-spacing:.2em;color:#e2c47e}
:root body .hero h1{margin:22px 0 26px;font-family:var(--heading-font);font-weight:700;line-height:1.3;letter-spacing:.04em;text-shadow:0 2px 20px #0815284d}
:root .hero .hero-title-line{display:block;font-size:clamp(26px,2.7vw,38px);letter-spacing:.06em}
:root .hero .hero-title-line.is-name{margin-top:6px;font-size:clamp(54px,6.2vw,92px);font-weight:900;letter-spacing:.06em}
:root .hero .hero-title-line em{font-style:normal;background:linear-gradient(180deg,#fff3cf 0%,#f0d389 40%,#d3a54e 75%,#b98a38 100%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 2px 10px #08152866)}
:root .hero-description{position:relative;padding-left:22px;font-size:16px;line-height:2.05;letter-spacing:.08em;color:#f1f3f6;text-shadow:0 1px 6px #0815288c}
:root .hero-description::before{content:"";position:absolute;left:0;top:.5em;bottom:.5em;width:2px;background:#c9a45a}
:root .hero .button.light{display:inline-flex;align-items:center;justify-content:space-between;gap:22px;width:auto;min-width:268px;margin-top:34px;padding:17px 22px 17px 26px;border:1px solid #c29a48;border-radius:4px;background:linear-gradient(180deg,#f3dca0 0%,#ddb35f 55%,#c29a48 100%);box-shadow:inset 0 1px 0 #fff3cf,0 10px 26px #0815284d;color:#142c4e;font-size:15px;font-weight:700;letter-spacing:.08em}
:root .hero .button.light:hover{background:linear-gradient(180deg,#f8e7b8 0%,#e6c27a 55%,#d0a955 100%);color:#142c4e}
:root .hero-note{display:inline-block;margin:16px 0 0 18px;padding:5px 12px;border:1px solid #ffffff66;border-radius:2px;font-size:13px;letter-spacing:.08em;vertical-align:middle;background:#0815284d;text-shadow:none}
:root .hero-note::before{content:"";display:none}
.motion-ready:not(.motion-paused) .hero-content.hero-enter>.hero-mark{animation:hero-rise .9s .05s both}
@media(max-width:800px){
  :root .hero .hero-title-line{font-size:24px}
  :root .hero .hero-title-line.is-name{font-size:62px}
}
@media(max-width:580px){
  :root .hero::after{background:linear-gradient(180deg,#081321a6 0%,#08132159 30%,#081321b3 62%,#081321e6 100%)}
  :root .hero-mark{gap:10px;font-size:11px;letter-spacing:.06em}
  :root .hero-mark span{font-size:10px;padding:3px 7px 2px;letter-spacing:.14em}
  :root body .hero h1{margin:16px 0 20px}
  :root .hero .hero-title-line{font-size:clamp(20px,5.8vw,24px);letter-spacing:.03em}
  :root .hero .hero-title-line.is-name{font-size:clamp(46px,14vw,58px)}
  :root .hero-description{padding-left:16px;font-size:14px;letter-spacing:.04em}
  :root .hero .button.light{min-width:0;width:100%;max-width:300px;font-size:14px;margin-top:26px}
  :root .hero-note{display:block;width:max-content;margin:14px 0 0;font-size:12px}
}
@media(max-width:580px){.promise-leaf.is-top{width:96px;top:-34px;right:-4px}}
/* =====================================================================
   劣化度チェックのボタン（2026-10-20）：四角い札 → ペンキが跳ねたような丸いポップなバッジ
   背景は assets/check-splash.svg。左上に「まずはコレから！」の札、右下からゆたかくん
   ===================================================================== */
:root .check-shortcut.is-pop{top:118px;right:44px;width:184px;height:184px;max-width:none;padding:0;display:grid;place-items:center;align-content:center;gap:0;background:url("check-splash.svg") center/contain no-repeat;border:0;border-radius:0;box-shadow:none;color:#fff;text-align:center;filter:drop-shadow(0 10px 18px #08152866);transition:transform .25s ease}
:root .check-shortcut.is-pop:hover{background:url("check-splash.svg") center/contain no-repeat;transform:scale(1.05) rotate(-2deg)}
:root .check-pop-text{display:block;margin-top:4px}
:root .check-shortcut.is-pop small{font:700 11px/1.4 var(--sans);letter-spacing:.1em;color:#fff4e6}
:root .check-shortcut.is-pop strong{display:block;margin-top:2px;font:900 25px/1.22 var(--sans);letter-spacing:.06em;color:#fff;text-shadow:0 2px 0 #9a7530}
:root .check-shortcut.is-pop .check-shortcut-arrow{display:block;margin:4px 0 0;font:700 24px/1 Arial,sans-serif;color:#fff}
:root .check-pop-tag{position:absolute;left:-26px;top:10px;padding:6px 11px 5px;background:#142c4e;border:1px solid #c9a45a;color:#f3dca0;font:900 13px/1.3 var(--sans);letter-spacing:.06em;white-space:nowrap;transform:rotate(-10deg);box-shadow:0 4px 10px #0815284d}
:root .check-shortcut.is-pop img{position:absolute;right:-14px;bottom:-12px;width:62px;height:auto;object-fit:contain;filter:drop-shadow(0 4px 6px #0815284d)}
@media(prefers-reduced-motion:no-preference){
  :root .check-shortcut.is-pop{animation:check-pop-float 3.6s ease-in-out infinite}
  :root .check-shortcut.is-pop:hover{animation-play-state:paused}
}
@keyframes check-pop-float{0%,100%{translate:0 0}50%{translate:0 -7px}}
@media(max-width:1100px){:root .check-shortcut.is-pop{top:104px;right:30px;width:164px;height:164px}:root .check-shortcut.is-pop strong{font-size:22px}}
@media(max-width:580px){
  :root .check-shortcut.is-pop{top:92px;right:16px;width:126px;height:126px}
  :root .check-shortcut.is-pop small{font-size:9px;letter-spacing:.04em}
  :root .check-shortcut.is-pop strong{font-size:17px}
  :root .check-shortcut.is-pop .check-shortcut-arrow{font-size:18px;margin-top:2px}
  :root .check-pop-tag{left:-30px;top:2px;font-size:10px;padding:4px 8px 3px}
  :root .check-shortcut.is-pop img{width:44px;right:-8px;bottom:-8px}
}
:root .check-pop-tag{left:-40px;top:-14px}
:root .check-pop-text{margin-top:14px}
@media(max-width:580px){:root .check-pop-tag{left:-34px;top:-12px}:root .check-pop-text{margin-top:8px}}
/* 劣化度チェック：しぶきの形と札をやめ、白いシンプルな丸に（2026-10-20） */
:root .check-shortcut.is-pop{width:150px;height:150px;top:124px;right:44px;background:#fffffff5;border-radius:50%;box-shadow:inset 0 0 0 5px #fff,inset 0 0 0 6px #c9a45a,0 10px 28px #08152859;filter:none;color:#142c4e;animation:none}
:root .check-shortcut.is-pop:hover{background:#fff;transform:translateY(-3px)}
:root .check-pop-text{margin-top:0}
:root .check-shortcut.is-pop small{font:500 11px/1.4 var(--sans);letter-spacing:.08em;color:#5a6270}
:root .check-shortcut.is-pop strong{margin-top:3px;font:700 19px/1.3 var(--sans);letter-spacing:.06em;color:#142c4e;text-shadow:none}
:root .check-shortcut.is-pop .check-shortcut-arrow{margin-top:6px;font-size:18px;color:#b8903f}
:root .check-shortcut.is-pop img{width:50px;right:-10px;bottom:-6px;filter:none}
@media(max-width:1100px){:root .check-shortcut.is-pop{width:136px;height:136px;top:108px;right:28px}:root .check-shortcut.is-pop strong{font-size:17px}}
@media(max-width:580px){
  :root .check-shortcut.is-pop{width:108px;height:108px;top:100px;right:16px}
  :root .check-shortcut.is-pop small{font-size:9px;letter-spacing:.02em}
  :root .check-shortcut.is-pop strong{font-size:14px}
  :root .check-shortcut.is-pop .check-shortcut-arrow{font-size:15px;margin-top:3px}
  :root .check-shortcut.is-pop img{width:38px;right:-8px;bottom:-4px}
}
/* ロゴの白いすりガラスの背景はいったん無しに。暗い写真の上で読めるよう、ロゴを白抜きで表示（2026-10-20） */
:root .site-header .brand::before{display:none}
:root .site-header .brand-logo{mix-blend-mode:normal}
:root .site-header .brand-logo img{filter:brightness(0) invert(1) drop-shadow(0 1px 6px #00000080)}
/* ロゴは白抜きをやめ、元の画像の色のまま（背景なし）で表示（2026-10-20） */
:root .site-header .brand-logo img{filter:none}
/* ロゴ：文字と家の線は白、YSだけ元の色の画像（assets/yutaka-souken-logo-ys-color.png）に（2026-10-20） */
:root .site-header .brand-logo img{filter:drop-shadow(0 1px 5px #00000066)}
/* =====================================================================
   統一感の調整（2026-10-20）
   ・ボタンは2種類だけ：①金（白い文字）＝お問い合わせ系 ②細い枠＝そのほか。角はどちらも4px
   ・カードの角は6px、写真は4px、小さな札は2pxに統一（丸い札・大きな角丸はやめる）
   ・見出しの大きさを2段階に：セクションの見出し／それ以外の見出し
   ===================================================================== */
/* ① 金のボタン（ヘッダーの「お問い合わせ」と同じ） */
:root .hero .button.light,:root .contact .button.light{background:linear-gradient(180deg,#d9b469 0%,#b8903f 55%,#9a7530 100%);border:1px solid #9a7530;border-radius:4px;color:#fff;text-shadow:0 1px 2px #0000004d;box-shadow:inset 0 1px 0 #f0d79a99,0 8px 22px #0000002e}
:root .hero .button.light:hover,:root .contact .button.light:hover{background:linear-gradient(180deg,#e4c27c 0%,#c69d4c 55%,#a8823a 100%);border-color:#a8823a;color:#fff}
:root .contact .button.light .arrow,:root .hero .button.light .arrow{color:#fff}
/* ② 細い枠のボタン */
:root main .button:not(.light){display:inline-flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 20px;border:1px solid currentColor;border-radius:4px;background:transparent;font-weight:700;letter-spacing:.06em}
:root main .button:not(.light):hover{background:#c9a45a1f;border-color:#c9a45a}
:root main .button:not(.light) .arrow,:root main .text-link .arrow{color:#c9a45a}
/* 角の形 */
:root .award-feature,:root .award-sub,:root .license-card{border-radius:6px}
:root .award-sub-photo,:root .license-photo,:root .news-embed,:root .news-embed .instagram-media{border-radius:4px}
:root .award-tag,:root .award-zoom,:root .license-kind,:root .hero-note{border-radius:2px}
/* 見出しの大きさ：セクションの見出しは同じ大きさ */
:root main h2.section-title,:root #promise-title,:root #access-title{font-size:clamp(28px,3vw,36px);line-height:1.45}
:root #about-title,:root #medical-entry-title,:root #factory-entry-title,:root #contact-title{font-size:clamp(24px,2.5vw,30px);line-height:1.6}
:root #company-title,:root #faq-title{font-size:clamp(24px,2.5vw,30px)}
@media(max-width:580px){
  :root main h2.section-title,:root #promise-title,:root #access-title{font-size:26px}
  :root #about-title,:root #medical-entry-title,:root #factory-entry-title,:root #contact-title,:root #company-title,:root #faq-title{font-size:23px}
}
/* ゆたかくんは右下の相談ガイド（スマホは下のバーの相談ガイド）だけに。各セクションののぞき込み・劣化度チェックの丸からは外す */
:root .yutaka-peek,:root .credentials-mascot,:root .news-mascot,:root .check-shortcut.is-pop img{display:none!important}
/* TOPの大きな写真：1枚目はお客様の家ではなく生成した住まいのイメージ（2026-10-20）。1枚目が出ている間だけ「写真はイメージです」を表示 */
:root .hero-image:first-child{object-position:center 58%}
:root .hero-photo-note{position:absolute;z-index:2;right:40px;bottom:25px;margin:0;font-size:11px;letter-spacing:.06em;color:#ffffffb3;text-shadow:0 1px 4px #0009;opacity:0;transition:opacity .6s}
:root .hero:has(.hero-image:first-child.is-active) .hero-photo-note{opacity:1}
@media(max-width:1100px){:root .hero-photo-note{right:24px}}
@media(max-width:580px){:root .hero-photo-note{right:22px;bottom:auto;top:76px;font-size:10px}:root .hero-image:first-child{object-position:50% center}}
/* 「写真はイメージです」は右下だと浮いているボタンに隠れるので、左下の地域の一文の下へ */
:root .hero-photo-note{right:auto;left:40px;bottom:8px;top:auto;font-size:10px}
@media(max-width:1100px){:root .hero-photo-note{left:24px}}
@media(max-width:580px){:root .hero-photo-note{left:22px;right:auto;top:auto;bottom:9px;font-size:9px}}
/* 「初めての塗装の方へ」の丸（LPへ）2026-10-26。劣化度チェックの丸の下に、チャコール＋金の色違いで */
:root .check-shortcut.is-pop.is-lp{top:290px;background:#25292ef2;box-shadow:inset 0 0 0 5px #25292e,inset 0 0 0 6px #c9a45a,0 10px 28px #08152866;color:#fff}
:root .check-shortcut.is-pop.is-lp:hover{background:#2f343a}
:root .check-shortcut.is-pop.is-lp small{color:#e2c47e}
:root .check-shortcut.is-pop.is-lp strong{color:#fff}
:root .check-shortcut.is-pop.is-lp .check-shortcut-arrow{color:#e2c47e}
@media(max-width:1100px){:root .check-shortcut.is-pop.is-lp{top:258px}}
@media(max-width:580px){:root .check-shortcut.is-pop.is-lp{top:100px;right:134px}}
/* 「初めての塗装の方へ」の丸：教科書のアイコン＋ふんわり光る動き（2026-10-27） */
:root .check-shortcut.is-pop.is-lp{overflow:visible}
:root .check-shortcut.is-lp .lp-book{display:block;width:34px;height:34px;margin:0 auto 4px;fill:none;stroke:#e2c47e;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
:root .check-shortcut.is-lp .check-pop-text{margin-top:0}
:root .check-shortcut.is-pop.is-lp strong{font-size:18px;line-height:1.25}
:root .check-shortcut.is-lp::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid #e2c47e;pointer-events:none;opacity:0}
@media(prefers-reduced-motion:no-preference){
  :root .check-shortcut.is-pop.is-lp{animation:lp-breathe 2.8s ease-in-out infinite}
  :root .check-shortcut.is-lp::after{animation:lp-ring 2.8s ease-out infinite}
  :root .check-shortcut.is-pop.is-lp:hover{animation-play-state:paused}
}
@keyframes lp-breathe{0%,100%{transform:scale(1);box-shadow:inset 0 0 0 5px #25292e,inset 0 0 0 6px #c9a45a,0 10px 28px #08152866}50%{transform:scale(1.045);box-shadow:inset 0 0 0 5px #25292e,inset 0 0 0 6px #e2c47e,0 0 0 6px #e2c47e2e,0 12px 32px #0815288c}}
@keyframes lp-ring{0%{transform:scale(1);opacity:.75}80%,100%{transform:scale(1.28);opacity:0}}
@media(max-width:1100px){:root .check-shortcut.is-pop.is-lp strong{font-size:16px}:root .check-shortcut.is-lp .lp-book{width:30px;height:30px}}
@media(max-width:580px){:root .check-shortcut.is-pop.is-lp strong{font-size:13px}:root .check-shortcut.is-lp .lp-book{width:24px;height:24px;margin-bottom:2px}}
/* =====================================================================
   「初めての塗装の方へ」を、丸から教科書の表紙に（2026-10-27）
   表紙は「失敗しないための塗装の教科書」。少し傾けた本の形で、ふわふわ浮かぶ。左上に金のシール
   ===================================================================== */
:root .lp-textbook{position:absolute;z-index:4;top:292px;right:52px;display:flex;flex-direction:column;align-items:center;gap:10px;width:134px;color:#fff;text-decoration:none}
:root .lp-textbook-book{position:relative;display:block;width:100%;transform:rotate(-6deg);transition:transform .3s ease}
:root .lp-textbook-book img{display:block;width:100%;height:auto;border-radius:3px 6px 6px 3px;box-shadow:inset 6px 0 8px -4px #0004,-3px 0 0 #dfe6ee,-5px 1px 0 #c3ccd6,0 14px 26px #0815288c}
:root .lp-textbook-sticker{position:absolute;left:-26px;top:-20px;display:grid;place-items:center;align-content:center;width:62px;height:62px;border-radius:50%;background:linear-gradient(180deg,#e9cd86 0%,#c9a45a 60%,#a8823a 100%);box-shadow:inset 0 0 0 2px #fff6,0 6px 14px #08152866;color:#142c4e;font:700 9px/1.25 var(--sans);letter-spacing:.02em;text-align:center;transform:rotate(-8deg)}
:root .lp-textbook-sticker b{display:block;font:900 17px/1.05 var(--heading-font);letter-spacing:.04em}
:root .lp-textbook-caption{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:#25292ee6;border:1px solid #c9a45a;font:700 12px/1.3 var(--sans);letter-spacing:.06em;white-space:nowrap;box-shadow:0 6px 14px #0815284d}
:root .lp-textbook-caption span{color:#e2c47e}
:root .lp-textbook:hover .lp-textbook-book{transform:rotate(-2deg) scale(1.04)}
@media(prefers-reduced-motion:no-preference){
  :root .lp-textbook{animation:lp-float 3.2s ease-in-out infinite}
  :root .lp-textbook-book img{animation:lp-glow 3.2s ease-in-out infinite}
  :root .lp-textbook:hover{animation-play-state:paused}
}
@keyframes lp-float{0%,100%{translate:0 0}50%{translate:0 -8px}}
@keyframes lp-glow{0%,100%{filter:drop-shadow(0 0 0 #e2c47e00)}50%{filter:drop-shadow(0 0 12px #e2c47eb3)}}
@media(max-width:1100px){:root .lp-textbook{top:262px;right:36px;width:116px}:root .lp-textbook-sticker{width:56px;height:56px;left:-22px;top:-18px}:root .lp-textbook-sticker b{font-size:15px}}
@media(max-width:580px){
  :root .lp-textbook{top:94px;right:142px;width:76px;gap:6px}
  :root .lp-textbook-sticker{width:40px;height:40px;left:-16px;top:-12px;font-size:6px}
  :root .lp-textbook-sticker b{font-size:11px}
  :root .lp-textbook-caption{padding:3px 8px;font-size:9px;letter-spacing:.02em}
}
/* 教科書の傾きを逆向き（右下がり→右上がり）に（2026-10-27） */
:root .lp-textbook-book{transform:rotate(6deg)}
:root .lp-textbook:hover .lp-textbook-book{transform:rotate(2deg) scale(1.04)}
:root .lp-textbook{top:300px}
@media(max-width:1100px){:root .lp-textbook{top:270px}}
@media(max-width:580px){:root .lp-textbook{top:94px}}
/* 右上に集まりすぎないよう、劣化度チェックの丸は左下へ、教科書は右上へ（2026-10-28。スマホは今までどおり上に横並び） */
@media(min-width:801px){
  :root .check-shortcut.is-pop:not(.is-lp){top:auto;bottom:64px;left:36px;right:auto}
  :root .lp-textbook{top:132px;right:56px}
}
/* =====================================================================
   劣化度チェックも「物」に（2026-10-28）：スマホの形の画面にひび割れの写真＋撮影の金の枠
   教科書と同じ金のシールと案内の札。PC（1101px以上）は左下、それより狭い画面は教科書と右上に横並び
   ===================================================================== */
:root .check-phone{position:absolute;z-index:4;left:40px;bottom:64px;display:flex;flex-direction:column;align-items:center;gap:10px;width:104px;color:#fff;text-decoration:none}
:root .check-phone-body{position:relative;display:block;width:100%;aspect-ratio:9/17;padding:6px;border-radius:18px;background:linear-gradient(160deg,#454b54 0%,#1d2125 100%);box-shadow:inset 0 0 0 1px #ffffff2e,0 14px 26px #0815288c;transform:rotate(-6deg);transition:transform .3s ease}
:root .check-phone-body::before{content:"";position:absolute;z-index:2;top:10px;left:50%;width:24px;height:4px;margin-left:-12px;border-radius:2px;background:#0b0d10}
:root .check-phone-screen{position:relative;display:block;width:100%;height:100%;overflow:hidden;border-radius:13px;background:#d9cfbd}
:root .check-phone-screen img{display:block;width:100%;height:100%;object-fit:cover}
:root .check-phone-frame{position:absolute;inset:24% 15%;background:
  linear-gradient(#e2c47e,#e2c47e) left top/14px 2px no-repeat,linear-gradient(#e2c47e,#e2c47e) left top/2px 14px no-repeat,
  linear-gradient(#e2c47e,#e2c47e) right top/14px 2px no-repeat,linear-gradient(#e2c47e,#e2c47e) right top/2px 14px no-repeat,
  linear-gradient(#e2c47e,#e2c47e) left bottom/14px 2px no-repeat,linear-gradient(#e2c47e,#e2c47e) left bottom/2px 14px no-repeat,
  linear-gradient(#e2c47e,#e2c47e) right bottom/14px 2px no-repeat,linear-gradient(#e2c47e,#e2c47e) right bottom/2px 14px no-repeat;filter:drop-shadow(0 0 2px #0006)}
:root .check-phone-label{position:absolute;left:50%;bottom:9px;transform:translateX(-50%);padding:2px 8px;border-radius:999px;background:#25292ecc;color:#fff;font:700 9px/1.4 var(--sans);letter-spacing:.06em;white-space:nowrap}
:root .check-phone-sticker{position:absolute;right:-26px;top:-20px;display:grid;place-items:center;align-content:center;width:60px;height:60px;border-radius:50%;background:linear-gradient(180deg,#e9cd86 0%,#c9a45a 60%,#a8823a 100%);box-shadow:inset 0 0 0 2px #fff6,0 6px 14px #08152866;color:#142c4e;font:700 9px/1.25 var(--sans);text-align:center;transform:rotate(8deg)}
:root .check-phone-sticker b{display:block;font:900 13px/1.15 var(--heading-font);letter-spacing:.02em}
:root .check-phone-caption{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:#25292ee6;border:1px solid #c9a45a;font:700 12px/1.3 var(--sans);letter-spacing:.06em;white-space:nowrap;box-shadow:0 6px 14px #0815284d}
:root .check-phone-caption span{color:#e2c47e}
:root .check-phone:hover .check-phone-body{transform:rotate(-2deg) scale(1.04)}
@media(prefers-reduced-motion:no-preference){
  :root .check-phone{animation:lp-float 3.2s ease-in-out -1.6s infinite}
  :root .check-phone-body{animation:check-glow 3.2s ease-in-out -1.6s infinite}
  :root .check-phone:hover{animation-play-state:paused}
}
@keyframes check-glow{0%,100%{filter:drop-shadow(0 0 0 #e2c47e00)}50%{filter:drop-shadow(0 0 12px #e2c47eb3)}}
/* 1100px以下：教科書とスマホを右上に横並び */
@media(max-width:1100px){
  :root .check-phone{left:auto;bottom:auto;top:110px;right:30px;width:88px}
  :root .lp-textbook{top:110px;right:150px;width:100px}
  :root .check-phone-sticker{width:52px;height:52px;right:-20px;top:-16px;font-size:8px}
  :root .check-phone-sticker b{font-size:11px}
}
/* スマホ */
@media(max-width:580px){
  :root .check-phone{top:98px;right:20px;width:64px;gap:6px}
  :root .lp-textbook{top:96px;right:110px;width:72px}
  :root .check-phone-body{padding:4px;border-radius:13px}
  :root .check-phone-body::before{top:7px;width:16px;height:3px;margin-left:-8px}
  :root .check-phone-screen{border-radius:10px}
  :root .check-phone-frame{background-size:10px 2px,2px 10px,10px 2px,2px 10px,10px 2px,2px 10px,10px 2px,2px 10px}
  :root .check-phone-label{font-size:7px;bottom:6px;padding:1px 6px}
  :root .check-phone-sticker{width:38px;height:38px;right:auto;left:-14px;top:-12px;font-size:6px}
  :root .check-phone-sticker b{font-size:8px}
  :root .check-phone-caption{padding:3px 8px;font-size:9px;letter-spacing:.02em}
}
/* シールがヘッダーにかからないよう少し下げる／スマホは小さめにして、見出しの開始位置も少し下げる */
:root .lp-textbook{top:150px}
@media(max-width:1100px){:root .check-phone{top:128px}:root .lp-textbook{top:128px}}
@media(max-width:580px){
  :root .check-phone{top:104px;width:54px}
  :root .lp-textbook{top:104px;right:96px;width:64px}
  :root .lp-textbook-sticker{width:36px;height:36px;left:-14px;top:-12px}
  :root .lp-textbook-sticker b{font-size:10px}
  :root .hero-content{padding-top:262px}
}
@media(max-width:580px){:root .check-phone{align-items:flex-end}:root .hero-content{padding-top:236px}}
@media(min-width:360px) and (max-width:580px){:root .hero-content{padding-top:262px}}
/* 劣化度チェックのスマホ：写真ではなく、自分でつけるチェックリストの画面に（2026-10-28） */
:root .check-phone-screen.is-list{display:flex;flex-direction:column;gap:5px;padding:20px 8px 8px;background:linear-gradient(180deg,#fbf8f1 0%,#f3ecdc 100%)}
:root .check-list-title{display:block;margin:0 -8px 3px;padding:0 0 5px;border-bottom:1px solid #e3d3ad;color:#142c4e;font:900 9px/1.3 var(--sans);letter-spacing:.04em;text-align:center}
:root .check-list-row{position:relative;display:flex;align-items:center;gap:5px;padding:4px 5px;border-radius:4px;background:#fff;box-shadow:0 1px 2px #0815281a;color:#3a4250;font:700 8px/1.2 var(--sans);white-space:nowrap}
:root .check-list-row::before{content:"";flex:none;width:9px;height:9px;border:1.5px solid #c9a45a;border-radius:2px;background:#fff}
:root .check-list-row.is-on::before{background:#c9a45a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat}
@media(max-width:1100px){:root .check-phone-screen.is-list{gap:4px;padding:17px 6px 6px}:root .check-list-row{font-size:7px;padding:3px 4px}:root .check-list-title{font-size:8px}}
@media(max-width:580px){
  :root .check-phone-screen.is-list{gap:3px;padding:12px 4px 4px}
  :root .check-list-title{font-size:6px;margin:0 -4px 2px;padding-bottom:3px}
  :root .check-list-row{gap:3px;padding:2px 3px;font-size:5px;border-radius:2px}
  :root .check-list-row::before{width:6px;height:6px;border-width:1px}
  :root .check-list-row:nth-child(n+5){display:none}
}
:root .check-list-title{font-size:8px;letter-spacing:0;white-space:nowrap;overflow:visible}
@media(max-width:1100px){:root .check-list-title{font-size:7px}}
@media(max-width:580px){:root .check-list-title{font-size:5px}}
:root .lp-textbook-caption i{font-style:normal}
@media(max-width:580px){:root .lp-cap-long{display:none}:root .lp-textbook{right:112px}}
@media(max-width:1100px){:root .lp-textbook{align-items:flex-end}}
@media(max-width:580px){:root .lp-textbook{right:124px}}
:root .lp-cap-text{font-weight:inherit}
/* 劣化度チェックのスマホを、教科書とは違う見せ方に（2026-10-28）
   シール・傾き・ふわふわ・金の光はやめ、まっすぐ立てる。動きは「チェックが順番につく」。
   下の案内は丸い札ではなく、サイトのほかのリンクと同じ「文字＋金の下線」 */
:root .check-phone{animation:none!important}
:root .check-phone-body{transform:none;animation:none!important;filter:none}
:root .check-phone:hover .check-phone-body{transform:translateY(-3px)}
:root .check-phone-caption{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;column-gap:8px;row-gap:1px;padding:0 2px 5px;border:0;border-bottom:1px solid #c9a45a;border-radius:0;background:none;box-shadow:none;text-shadow:0 1px 6px #000a}
:root .check-phone-caption small{flex-basis:100%;font:700 10px/1.4 var(--sans);letter-spacing:.1em;color:#e2c47e;text-align:center}
:root .check-phone-caption b{font:700 13px/1.4 var(--sans);letter-spacing:.06em;color:#fff}
:root .check-phone-caption span{color:#e2c47e}
:root .check-phone:hover .check-phone-caption{border-bottom-color:#e2c47e}
@media(prefers-reduced-motion:no-preference){
  :root .check-list-row.is-on::before{animation:check-tick 6s ease-out infinite}
  :root .check-list-row.is-on:nth-child(3)::before{animation-delay:.7s}
  :root .check-list-row.is-on:nth-child(5)::before{animation-delay:1.4s}
}
@keyframes check-tick{0%,10%{background-color:#fff;background-size:0 0}18%,88%{background-color:#c9a45a;background-size:100% 100%}96%,100%{background-color:#fff;background-size:0 0}}
@media(max-width:1100px){:root .check-phone-caption b{font-size:12px}:root .check-phone-caption small{font-size:9px}}
@media(max-width:580px){
  :root .check-phone-caption{column-gap:4px;padding-bottom:3px}
  :root .check-phone-caption small{font-size:7px;letter-spacing:.04em;text-align:right}
  :root .check-phone-caption b{font-size:9px;letter-spacing:.02em}
}
@media(max-width:580px){:root .check-phone-caption small{display:none}:root .check-phone-caption{flex-wrap:nowrap;white-space:nowrap}}
:root .check-phone-caption{width:max-content}
:root .check-phone-caption{display:block;width:max-content;text-align:center;white-space:nowrap}
:root .check-phone-caption small{display:block}
:root .check-phone-caption span{margin-left:8px}
@media(max-width:580px){:root .check-phone-caption small{display:none}:root .check-phone-caption span{margin-left:4px}}
/* =====================================================================
   劣化度チェックの入り口：D1案（2026-10-28）
   丸いっぱいにひび割れの写真、下の白い帯に「劣化度チェック」と小・中・大の3色。
   PC（1101px以上）は左下、それより狭い画面は右上で教科書と並べる
   ===================================================================== */
:root .check-circle{position:absolute;z-index:4;left:40px;bottom:64px;display:block;width:140px;height:140px;border-radius:50%;overflow:hidden;background:#d9cfbd url("check/crack.jpg") 50% 30%/auto 150% no-repeat;box-shadow:inset 0 0 0 5px #fff,inset 0 0 0 6px #c9a45a,0 10px 24px #0815288c;text-decoration:none;transition:transform .25s ease}
:root .check-circle:hover{transform:translateY(-3px)}
:root .check-circle-band{position:absolute;left:0;right:0;bottom:0;height:44%;padding-top:9px;background:#fffffff2;text-align:center}
:root .check-circle::after{content:"";position:absolute;inset:0;border-radius:50%;box-shadow:inset 0 0 0 5px #fff,inset 0 0 0 6px #c9a45a;pointer-events:none}
:root .check-circle-band strong{display:block;font:900 14px/1.25 var(--sans);letter-spacing:.04em;color:#142c4e}
:root .check-circle-bars{display:flex;gap:3px;justify-content:center;margin-top:6px}
:root .check-circle-bars i{display:block;width:13px;height:5px;border-radius:2px}
:root .check-circle-bars i:nth-child(1){background:#ecd49a}:root .check-circle-bars i:nth-child(2){background:#ddb35f}:root .check-circle-bars i:nth-child(3){background:#7a5a24}
@media(max-width:1100px){
  :root .check-circle{left:auto;bottom:auto;top:128px;right:30px;width:118px;height:118px}
  :root .lp-textbook{right:166px}
  :root .check-circle-band{padding-top:8px}
  :root .check-circle-band strong{font-size:12px}
  :root .check-circle-bars i{width:11px;height:4px}
}
@media(max-width:580px){
  :root .check-circle{top:104px;right:18px;width:86px;height:86px;box-shadow:inset 0 0 0 4px #fff,inset 0 0 0 5px #c9a45a,0 8px 18px #0815288c}
  :root .check-circle::after{box-shadow:inset 0 0 0 4px #fff,inset 0 0 0 5px #c9a45a}
  :root .lp-textbook{right:120px}
  :root .check-circle-band{padding-top:6px}
  :root .check-circle-band strong{font-size:8px;letter-spacing:0}
  :root .check-circle-bars{gap:2px;margin-top:4px}
  :root .check-circle-bars i{width:8px;height:3px}
}
/* タブレット幅（581〜800px）：見出しの開始位置を下げ、教科書と丸を少し小さく */
@media(min-width:581px) and (max-width:800px){
  :root .hero-content{padding-top:300px}
  :root .lp-textbook{top:118px;right:156px;width:90px}
  :root .check-circle{top:118px;width:110px;height:110px}
}
/* 劣化度チェックの丸に、もうひと工夫（2026-10-28）
   ・虫めがねがひび割れに沿ってゆっくり動く（レンズの中は拡大）
   ・小・中・大の目盛りが順番に点灯
   ・丸の上のほうに金の小さな札「自分でかんたん」 */
:root .check-circle-tab{position:absolute;z-index:2;left:50%;top:13px;transform:translateX(-50%);padding:2px 8px;border-radius:999px;background:linear-gradient(180deg,#e9cd86,#c9a45a 60%,#a8823a);box-shadow:0 2px 6px #08152859;color:#142c4e;font:700 9px/1.4 var(--sans);letter-spacing:.06em;white-space:nowrap}
:root .check-circle-lens{position:absolute;z-index:1;left:46%;top:24%;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;background:#d9cfbd url("check/crack.jpg") 50% 40%/auto 380% no-repeat;box-shadow:0 0 0 3px #25292e,0 0 0 4px #c9a45a,inset 0 4px 8px #ffffff80,0 6px 10px #0815288c}
:root .check-circle-lens::after{content:"";position:absolute;left:36px;top:36px;width:7px;height:20px;border-radius:4px;background:#25292e;box-shadow:inset 0 0 0 1px #c9a45a;transform:rotate(-45deg);transform-origin:50% 0}
:root .check-circle-bars i{transition:opacity .3s}
@media(prefers-reduced-motion:no-preference){
  :root .check-circle-lens{animation:lens-move 6s ease-in-out infinite}
  :root .check-circle-bars i{animation:bar-on 4.5s ease-out infinite}
  :root .check-circle-bars i:nth-child(2){animation-delay:.5s}
  :root .check-circle-bars i:nth-child(3){animation-delay:1s}
}
@keyframes lens-move{0%,100%{left:46%;top:22%;background-position:50% 25%}50%{left:56%;top:40%;background-position:50% 60%}}
@keyframes bar-on{0%,8%{opacity:.25}18%,85%{opacity:1}100%{opacity:.25}}
@media(max-width:1100px){
  :root .check-circle-tab{top:11px;font-size:8px;padding:1px 7px}
  :root .check-circle-lens{width:36px;height:36px;margin:-18px 0 0 -18px}
  :root .check-circle-lens::after{left:29px;top:29px;width:6px;height:16px}
}
@media(max-width:580px){
  :root .check-circle-tab{top:7px;font-size:6px;padding:1px 5px;letter-spacing:0}
  :root .check-circle-lens{width:26px;height:26px;margin:-13px 0 0 -13px;box-shadow:0 0 0 2px #25292e,0 0 0 3px #c9a45a,0 4px 6px #0815288c}
  :root .check-circle-lens::after{left:21px;top:21px;width:4px;height:11px}
}
/* 札は写真と白い帯の境目に乗せる。虫めがねは写真の部分だけを動く */
:root .check-circle-tab{z-index:3;top:auto;bottom:calc(44% - 8px)}
@keyframes lens-move{0%,100%{left:44%;top:21%;background-position:50% 25%}50%{left:56%;top:33%;background-position:50% 55%}}
@media(max-width:1100px){:root .check-circle-tab{top:auto;bottom:calc(44% - 7px)}}
@media(max-width:580px){:root .check-circle-tab{top:auto;bottom:calc(44% - 5px)}:root .check-circle-band{padding-top:8px}}

/* 施工事例の下：施工紹介ページへの入口 */
:root .works-feature{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);margin-top:28px;border:1px solid #e3d3ad;border-radius:8px;overflow:hidden;background:#fff;color:#1d2125;text-decoration:none;transition:box-shadow .2s}
:root .works-feature:hover{box-shadow:0 10px 26px #0000001f}
:root .works-feature-photo{display:block;min-height:100%}
:root .works-feature-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 70%}
:root .works-feature-body{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:30px 34px}
:root .works-feature-body small{font-size:13px;font-weight:700;color:#7a5a24;letter-spacing:.08em}
:root .works-feature-body strong{font-size:24px;line-height:1.5;color:#1d2125}
:root .works-feature-text{font-size:15px;line-height:1.95;color:var(--muted)}
:root .works-feature-body .button{margin-top:8px}
@media(max-width:800px){
  :root .works-feature{grid-template-columns:1fr}
  :root .works-feature-photo img{aspect-ratio:2/1;height:auto}
  :root .works-feature-body{padding:22px 20px 24px}
  :root .works-feature-body strong{font-size:21px}
}
:root .works-feature-body .button,:root .works-feature-body .button .arrow{color:#fff}
:root main .works-feature-body .button:not(.light){background:linear-gradient(180deg,#d9b469 0%,#b8903f 55%,#9a7530 100%);border:1px solid #9a7530;text-shadow:0 1px 2px #0000004d}
:root main .works-feature:hover .button:not(.light){background:linear-gradient(180deg,#e4c27c 0%,#c69d4c 55%,#a8823a 100%);border-color:#a8823a}
:root main .works-feature-body .button .arrow{color:#fff}
/* ビフォーアフターと施工紹介の間の細い線 */
:root .works-grid.before-after{padding-bottom:28px;border-bottom:1px solid #e3d3ad}
