﻿@charset "utf-8";
/* =========================================================
   テーブル横スクロール（スマホ快適化）
   ========================================================= */
.film-price-scroll, .coating-price-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}
/* セルの基本 */
.film-price-table th, .film-price-table td, .coating-price-table th, .coating-price-table td {
  white-space: nowrap;
  vertical-align: middle;
}
/* ---------- フィルム価格表 ---------- */
.film-price-table {
  width: max-content;
  min-width: 1050px;
  font-size: .78rem;
  table-layout: auto;
  border-collapse: collapse;
  white-space: nowrap;
}
.film-price-table th, .film-price-table td {
  font-size: inherit;
  padding: 10px 15px;
  line-height: 1.15;
}
.film-price-table thead th {
  font-size: .9em;
  font-weight: 700;
  padding: 5px !important;
}
/* 6列目以降：定幅寄り */
.film-price-table th:nth-child(n+6), .film-price-table td:nth-child(n+6) {
  width: 105px;
  min-width: 80px;
  max-width: 115px;
  text-align: center;
  padding-left: 2px;
  padding-right: 2px;
}
/* 先頭〜5列目：自動幅 */
.film-price-table th:nth-child(-n+5), .film-price-table td:nth-child(-n+5) {
  width: auto;
  max-width: 160px;
  font-size: .92em;
  text-align: center;
  padding-left: 2px;
  padding-right: 2px;
}
/* 行種別 */
tr.price_normal td {
  font-size: .83em;
}
tr.price_member td, tr.set_discount td {
  font-weight: 700;
}
tr.price_member td {
  background-color: #e8f7ff !important;
}
tr.set_discount td {
  background-color: #fff5e6 !important;
}
tr.price_member td.price_member, tr.set_discount td.set_discount {
  font-weight: 800;
}
.film-price-table td.price_member, .film-price-table td.set_discount {
  word-break: keep-all;
  white-space: pre-line;
}
/* ---------- コーティング価格表 ---------- */
.coating-price-table {
  min-width: 1100px;
  width: 100%;
  font-size: .92rem;
  border-collapse: collapse;
}
.coating-price-table th, .coating-price-table td {
  padding: 6px 8px;
  font-size: .92rem;
}
.coating-price-table thead th {
  font-size: 1.03em;
  font-weight: 700;
  padding: 8px;
}
.coating-price-table.is-compact th, .coating-price-table.is-compact td {
  font-size: .95rem;
  padding: 8px 10px;
}
.coating-price-table.is-compact thead th:not(:first-child), .coating-price-table.is-compact tbody td:nth-child(n+2) {
  min-width: 130px;
  text-align: center;
}
/* 名称表示 */
.coating-name-en {
  font-weight: 700;
}
.coating-name-jp {
  font-size: .95em;
  color: #333;
}
.coating-extra-info {
  margin-top: 2px;
}
/* 仕様・保証バッジ */
.price-badge-layer, .price-badge-warranty {
  display: inline-block;
  background: #e9f3fa;
  color: #23639c;
  font-size: .85em;
  padding: 0 6px;
  border-radius: 1em;
  margin-right: 4px;
  margin-top: 2px;
}
/* WEB限定 */
.price-badge-web {
  display: inline-block;
  background: #eaf3ff;
  border: 1px solid #cfe0ff;
  color: #0d6efd;
  font-size: .91em;
  font-weight: 700;
  padding: 0 7px;
  border-radius: 1em;
  margin-right: 4px;
  margin-bottom: 1px;
}
.price-normal {
  font-size: .91em;
  margin-bottom: 2px;
  color: #111;
}
.price-member {
  font-size: .98em;
  font-weight: 700;
}
/* =========================================================
   UI ユーティリティ
   ========================================================= */
.swap-spinner {
  position: sticky;
  top: 8px;
  z-index: 5;
  display: inline-block;
  padding: .25rem .6rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: .85rem;
  color: #0d6efd;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
[aria-busy="true"] .swap-spinner {
  display: inline-block;
}
/* TL;DR カード */
#tldr .card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
}
#tldr p {
  margin-bottom: .5rem;
}
#tldr .badge {
  font-size: .85rem;
}
#tldr .card-body > .d-flex {
  margin-top: auto;
}
#tldr .card p.mb-2 {
  line-height: 1.6;
}
@media (min-width:768px) {
  #tldr .card-body {
    min-height: 260px;
  }
}
/* =========================================================
   アンカー（固定見出し分のオフセット）
   ========================================================= */ :root {
  --headerH: 64px;
  --subnavH: 52px;
  --anchorGap: 12px;
  --anchorOffset: calc(var(--headerH) + var(--subnavH) + var(--anchorGap));
}
.st-anchor {
  scroll-margin-top: var(--anchorOffset);
}
.st-anchor > h2 {
  margin-top: .25rem;
}
h2[id]::before {
  content: "";
  display: block;
  height: var(--anchorOffset);
  margin-top: calc(var(--anchorOffset) * -1);
  visibility: hidden;
}
html {
  scroll-behavior: smooth;
}
/* =========================================================
   #sec-products（商品カード） 等高・整形（重複統合版）
   ========================================================= */
#sec-products .row.g-3 {
  align-items: stretch;
}
#sec-products .row.g-3 > [class*="col-"] {
  display: flex;
  flex-direction: column;
}
#sec-products .st-typebadge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: .02em;
  line-height: 1;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .08), inset 0 0 0 1px rgba(255, 255, 255, .22);
  user-select: none;
  position: static;
  margin: 0 0 .65rem 0;
}
#sec-products .st-typebadge::before {
  content: "💧";
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .12));
}
#sec-products .st-typebadge--hassui {
  background: linear-gradient(180deg, #59bfff 0%, #0d6efd 100%);
}
#sec-products .st-typebadge--shinsui {
  background: linear-gradient(180deg, #6ee7b7 0%, #10b981 100%);
}
#sec-products .st-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
}
#sec-products .st-card > img {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}
#sec-products .st-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 14px 16px 16px;
  line-height: 1.7;
}
#sec-products .st-card-body > p {
  margin: 0;
  line-height: 1.7;
  min-height: calc(1.7em * 4);
}
#sec-products .st-card-body > ul {
  margin-top: auto;
}
#sec-products .st-card-body > ul.small {
  width: 100%;
  box-sizing: border-box;
  padding: .9rem 1rem;
  border: 2px solid #f59e0b;
  border-radius: 10px;
  list-style: disc inside;
}
#sec-products .st-card-body > ul.small li {
  margin-bottom: .38rem;
}
@media (min-width:768px) {
  #sec-products .st-card-body > p, #sec-products .st-card-body > ul {
    max-width: 42ch;
    margin-inline: auto;
    text-align: left;
  }
}
@media (max-width:991.98px) {
  #sec-products .row.g-3 > [class*="col-"] {
    display: block;
  }
  #sec-products .st-card-body > p {
    min-height: 0;
  }
  #sec-products .st-card-body > ul {
    margin-top: .5rem;
  }
}
/* =========================================================
   スマホ最適化（テーブル等）
   ========================================================= */
@media (max-width:768px) {
  .film-price-table {
    font-size: .70rem;
    min-width: 880px;
  }
  .film-price-table th, .film-price-table td {
    padding: 3px;
  }
  .film-price-scroll {
    padding: 0 !important;
  }
  .coating-price-table, .coating-price-table th, .coating-price-table td {
    font-size: .87rem !important;
    padding: 4px 5px !important;
  }
  .price-badge-web, .price-badge-layer, .price-badge-warranty {
    font-size: .80em !important;
    padding: 0 5px !important;
  }
  :root {
    --anchorGap: 8px;
  }
}
/* =========================================================
   汎用カード／ステッパー／コールアウト／バッジ
   ========================================================= */
.st-feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width:992px) {
  .st-feature-cards {
    grid-template-columns: 1fr;
  }
}
.st-feature-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  padding: 16px 18px;
}
.st-feature-card .st-ico {
  font-size: 22px;
  line-height: 1;
  margin-bottom: 6px;
}
.st-feature-card h3 {
  font-size: 1.02rem;
  margin: 0 0 .25rem;
}
.st-stepper {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}
@media (max-width:768px) {
  .st-stepper {
    grid-template-columns: 1fr;
  }
}
.st-stepper > li {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  padding: 14px 14px 12px 44px;
  position: relative;
}
.st-stepper > li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d6efd;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
}
.st-box {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}
.st-callout {
  position: relative;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px 14px 46px;
  background: #fff;
}
.st-callout-ico {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid currentColor;
  font-size: 14px;
}
.st-callout.is-tip {
  border-color: #cfe0ff;
}
.st-callout.is-tip .st-callout-ico {
  color: #0d6efd;
  border-color: #cfe0ff;
}
.st-callout.is-caution {
  border-color: #f59e0b;
}
.st-callout.is-caution .st-callout-ico {
  color: #f59e0b;
  border-color: #f59e0b;
}
.st-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.st-badge {
  display: inline-block;
  padding: .25rem .6rem;
  border-radius: 9999px;
  background: #0d6efd;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
}
.st-badge.is-outline {
  background: #eaf3ff;
  color: #0d6efd;
  border: 1px solid #cfe0ff;
}
/* =========================================================
   #sec-philosophy（理念） ※重複統合・最終配置優先
   ========================================================= */
#sec-philosophy {
  margin-inline: auto;
  padding-inline: clamp(12px, 3vw, 24px);
  --acc1: #0ea5e9;
  --acc2: #22c55e;
}
#sec-philosophy .ph-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
  margin-bottom: clamp(28px, 3.8vw, 56px);
}
#sec-philosophy .ph-hero-img {
  width: 100%;
  height: clamp(340px, 50vh, 500px);
  object-fit: cover;
  display: block;
}
#sec-philosophy .ph-hero-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .28) 0, rgba(0, 0, 0, .38) 65%, rgba(0, 0, 0, .40) 100%);
}
#sec-philosophy .ph-hero-copy {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center start;
  padding: clamp(18px, 4vw, 48px);
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
#sec-philosophy .ph-eyebrow {
  font-size: .9rem;
  letter-spacing: .2em;
  margin: 0 0 .25rem;
  opacity: .95;
}
#sec-philosophy .ph-title {
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw + 1rem, 3.2rem);
  line-height: 1.2;
  margin: 0 0 .55rem;
}
#sec-philosophy .ph-lead {
  max-width: 44ch;
  font-size: clamp(.95rem, .5vw + .85rem, 1.12rem);
  line-height: 1.85;
  margin: 0;
  opacity: .96;
}
#sec-philosophy .ph-body {
  position: relative;
}
#sec-philosophy .ph-body::before {
  content: "MESSAGE";
  position: absolute;
  right: -.5%;
  top: -2.2rem;
  z-index: 0;
  font-weight: 800;
  font-size: clamp(120px, 18vw, 280px);
  letter-spacing: .02em;
  color: rgba(0, 0, 0, .03);
  line-height: 1;
  pointer-events: none;
}
#sec-philosophy .ph-sideheading {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  position: sticky;
  top: calc(var(--headerH, 64px) + 28px);
  border-left: 2px solid #111;
  padding-left: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.1;
  font-size: clamp(18px, 1.1vw + 12px, 28px);
  color: #111;
}
#sec-philosophy .ph-prose {
  max-width: 60ch;
  margin-inline: auto;
  padding-inline: clamp(4px, 1vw, 10px);
  position: relative;
  z-index: 1;
}
#sec-philosophy .ph-prose p {
  font-size: 1.04rem;
  line-height: 2.0;
  margin: 0 0 1.45rem;
  color: #111;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
}
#sec-philosophy .ph-prose p:last-child {
  margin-bottom: 0;
}
#sec-philosophy .ph-quote {
  position: relative;
  margin: 1.5rem auto;
  padding: 0;
  max-width: 72ch;
  background: transparent;
  border: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-weight: 700;
  color: #0b1b32;
  font-size: clamp(1.12rem, .9vw + 1rem, 1.45rem);
  line-height: 1.95;
}
#sec-philosophy .ph-quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: -10px;
  width: 160px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--acc1), rgba(13, 110, 253, 0));
}
#sec-philosophy .ph-quote span {
  background: linear-gradient(transparent 64%, rgba(13, 110, 253, .20) 64%);
  box-decoration-break: clone;
}
@media (min-width:768px) {
  #sec-philosophy .ph-body > .row {
    display: flex;
  }
  #sec-philosophy .ph-body > .row > .col-md-10 {
    order: 1 !important;
  }
  #sec-philosophy .ph-body > .row > .col-md-2 {
    order: 2 !important;
  }
}
@media (max-width:767.98px) {
  #sec-philosophy .ph-sideheading {
    display: none;
  }
  #sec-philosophy .ph-prose {
    max-width: 100%;
  }
  #sec-philosophy .ph-hero-img {
    height: 42vh;
  }
  #sec-philosophy .ph-body::before {
    font-size: 22vw;
    top: -.8rem;
    right: 0;
  }
}
@media (min-width:992px) {
  #sec-philosophy .ph-body {
    --pull: clamp(8px, 2.6vw, 56px);
  }
  #sec-philosophy .ph-prose {
    max-width: 96ch !important;
    padding-left: calc(var(--pull) + 12px) !important;
    padding-right: 20px !important;
  }
}
@media (min-width:1200px) {
  #sec-philosophy .ph-prose {
    max-width: 100ch !important;
  }
}
/* =========================================================
   #sec-why（テキスト＋写真ペア）
   ========================================================= */
#sec-why {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(12px, 3vw, 24px);
}
#sec-why .why-eyebrow {
  display: block;
  font-size: .82rem;
  letter-spacing: .18em;
  color: #64748b;
  margin: 0 0 .3rem;
}
#sec-why h2 {
  font-weight: 800;
  font-size: clamp(1.7rem, 1.1rem + 1.6vw, 2.2rem);
  letter-spacing: .01em;
  margin: 0 0 .8rem;
}
#sec-why .why-lead {
  position: relative;
  padding: 14px 14px 14px 18px;
  border: 1px solid #e6f0ff;
  border-radius: 10px;
  background: #f4f8ff;
}
#sec-why .why-lead::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #0ea5e9 0%, #22c55e 100%);
}
#sec-why .why-lead p {
  margin: 0;
  line-height: 1.9;
}
#sec-why .why-pairs {
  display: grid;
  row-gap: clamp(18px, 2.2vw, 28px);
  margin-top: 18px;
}
#sec-why .why-pair {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  grid-template-areas: "copy media";
  gap: clamp(14px, 2vw, 22px);
  align-items: start;
}
#sec-why .why-pair:nth-child(even) {
  grid-template-columns: minmax(320px, .95fr) minmax(0, 1.05fr);
  grid-template-areas: "media copy";
}
#sec-why .why-copy {
  grid-area: copy;
  position: relative;
  padding-left: 28px;
}
#sec-why .why-copy::before {
  content: "";
  position: absolute;
  left: 10px;
  top: .2rem;
  bottom: .2rem;
  width: 2px;
  background: #e6eef8;
}
#sec-why .why-copy::after {
  content: "";
  position: absolute;
  left: 6px;
  top: .55rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0ea5e9;
  box-shadow: 0 0 0 3px #e7f5ff;
}
#sec-why .why-copy h3 {
  margin: 0 0 .3rem;
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: .01em;
  line-height: 1.5;
}
#sec-why .why-copy p {
  margin: 0;
  line-height: 1.9;
  color: #111;
}
#sec-why .why-copy .why-num {
  position: absolute;
  right: -6px;
  top: -8px;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  color: rgba(13, 110, 253, .10);
  line-height: 1;
  pointer-events: none;
}
#sec-why .why-figure {
  grid-area: media;
  margin: 0;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 9px rgba(0, 0, 0, .04);
  overflow: hidden;
}
#sec-why .why-figure img {
  display: block;
  width: 100%;
  height: auto;
}
#sec-why .why-figure figcaption {
  padding: 10px 12px;
  font-size: .9rem;
  color: #4b5563;
  border-top: 1px solid #f1f5f9;
}
#sec-why .why-footnote {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e6eef8;
  font-size: .94rem;
  color: #475569;
}
@media (max-width: 992px){
  /* 偶数行もまとめて縦積みに強制 */
  #sec-why .why-pair,
  #sec-why .why-pair:nth-child(even){
    grid-template-columns: 1fr !important;
    grid-template-areas: "copy" "media" !important;
  }
}

/* =========================================================
   Three Pillars
   ========================================================= */
#pillars {
  max-width: 1120px;
  margin-inline: auto;
  padding: clamp(24px, 3vw, 40px) clamp(12px, 3vw, 24px);
  position: relative;
  margin-top: clamp(32px, 4vw, 72px) !important;
  padding-top: clamp(18px, 2vw, 28px);
}
#pillars::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 3px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
  opacity: .9;
}
#pillars .pillars-head {
  margin: 0 0 clamp(18px, 2.2vw, 28px);
}
#pillars .pillars-head .ft-eyebrow {
  display: inline-block;
  font-size: .82rem;
  letter-spacing: .18em;
  color: #64748b;
  margin-bottom: .35rem;
}
#pillars .pillars-head h2 {
  font-weight: 800;
  font-size: clamp(1.7rem, 1.1rem + 1.6vw, 2.2rem);
  letter-spacing: .01em;
  line-height: 1.25;
  margin: 0;
}
#pillars .pillar {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(14px, 2vw, 28px);
  align-items: center;
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .05);
  margin-bottom: clamp(18px, 2.2vw, 26px);
  overflow: hidden;
}
#pillars .pillar::before, #pillars .pillar::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -22%;
  width: 46%;
  height: 200%;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .06);
  background: #f6f9ff;
  transform: rotate(8deg);
}
#pillars .pillar::after {
  right: 12%;
  top: -18%;
  background: #eef4ff;
  transform: rotate(-6deg);
}
#pillars .pillar-body {
  min-width: 0;
  z-index: 1;
}
#pillars .eyebrow {
  display: inline-block;
  font-size: .82rem;
  letter-spacing: .18em;
  color: #5b6b8a;
  margin-bottom: .35rem;
}
#pillars h3 {
  font-size: clamp(1.4rem, 1rem + 1vw, 1.9rem);
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 .4rem;
  color: #0b1b32;
}
#pillars .lead {
  font-weight: 600;
  color: #0b1b32;
  margin: 0 0 .6rem;
  line-height: 1.9;
}
#pillars ul {
  margin: .4rem 0 0;
  padding-left: 1.2rem;
}
#pillars li {
  margin: .35rem 0;
  line-height: 1.85;
  position: relative;
}
#pillars li::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: .6rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px #e7f8ef;
}
#pillars .pillar-media {
  aspect-ratio: 5/3;
  border-radius: 10px;
  background: linear-gradient(180deg, #eaf3ff, #fff);
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .07);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0d6efd;
  text-align: center;
  overflow: hidden;
}
#pillars .pillar-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#pillars .pillar.is-alt {
  grid-template-columns: .9fr 1.1fr;
}
#pillars .pillar.is-alt::before {
  left: -8%;
  right: auto;
  transform: rotate(-8deg);
}
#pillars .pillar.is-alt::after {
  left: 12%;
  right: auto;
  transform: rotate(6deg);
}
#pillars .pillar.is-alt .pillar-body {
  order: 2;
}
#pillars .pillar.is-alt .pillar-media {
  order: 1;
}
#pillars .rail {
  position: absolute;
  left: -20px;
  top: -40px;
  bottom: -40px;
  width: 4px;
  background: linear-gradient(180deg, #0ea5e9, #22c55e);
  border-radius: 9999px;
}
#pillars .mark {
  position: absolute;
  left: -32px;
  top: clamp(28px, 6vw, 42px);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #0ea5e9;
  box-shadow: 0 0 0 4px #e7f5ff;
}
@media (max-width:991.98px) {
  #pillars .pillar, #pillars .pillar.is-alt {
    grid-template-columns: 1fr;
  }
  #pillars .pillar::before, #pillars .pillar::after {
    right: -40%;
    left: auto;
    top: -10%;
    height: 160%;
    transform: rotate(8deg);
  }
  #pillars .pillar.is-alt::before, #pillars .pillar.is-alt::after {
    left: -40%;
    right: auto;
    transform: rotate(-8deg);
  }
  #pillars .pillar-media {
    aspect-ratio: 16/9;
  }
  #pillars .rail, #pillars .mark {
    display: none;
  }
}
/* =========================================================
   SEO強化セクション群／ストリップ／比較／FAQ／アクセス／CTA
   （重複統合）
   ========================================================= */
.st-section {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(12px, 3vw, 24px);
}
.tri-line--small {
  display: block;
  width: 64px;
  height: 2px;
  border-bottom: 2px solid #000;
  margin-top: .5rem;
}
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width:992px) {
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width:576px) {
  .trust-strip {
    grid-template-columns: 1fr;
  }
}
.trust-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
.trust-item .h5 {
  margin: 0 0 .25rem;
}
.compare-table {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}
.compare-table th {
  background: #f7fafe;
  font-weight: 700;
}
.compare-table td, .compare-table th {
  padding: 12px;
  vertical-align: top;
}
.compare-table ul {
  margin: 0;
  padding-left: 1.1rem;
}
.compare-table .table td ul {
  margin: 0;
  padding-left: 1.2em;
}
.faq-acc .accordion-button {
  font-weight: 600;
}
.faq-acc .accordion-button:focus {
  box-shadow: none;
}
.faq-acc .accordion-button:not(.collapsed) {
  background: #e9f3ff;
  color: #003366;
}
.faq-acc .accordion-body {
  line-height: 1.9;
}
.access-box {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
}
@media (max-width:992px) {
  .access-box {
    grid-template-columns: 1fr;
  }
}
.access-box .map {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.cta-slab {
  background: #003366;
  color: #fff;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.cta-slab .btn {
  border-radius: 9999px;
  padding: .8rem 1.4rem;
}
@media (max-width:576px) {
  .cta-slab {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ===== 最新の施工事例（WPカード） 重複統合 ===== */
.case-cards .card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
  transition: transform .2s, box-shadow .2s;
}
.case-cards .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, .08);
}
.case-cards a {
  display: block;
}
.case-cards .card-img-top {
  width: 100%;
  height: clamp(180px, 22vw, 280px);
  object-fit: cover;
  display: block;
}
.case-cards .card-body {
  padding: 14px 14px 16px;
}
.case-cards .card-title a {
  color: inherit;
  text-decoration: none;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.st-chip {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  font-size: .78rem;
  line-height: 1;
  padding: .35rem .55rem;
  border-radius: 9999px;
  border: 1px solid;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
}
.st-chip.is-date {
  border-color: #dbeafe;
  background: #eff6ff;
  color: #1d4ed8;
}
.st-chip.is-cat {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #334155;
}
.st-chip:is(:hover, :focus) {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}
/* =========================================================
   3問診断（#sec-guide） フォーム＆結果スタイル（統合版）
   対応HTML：
     - 診断フォーム  : #sec-guide #coating-quiz（または .st-quiz）
     - 結果ブロック  : #diag-result .st-adv > .st-adv-pill + .st-adv-card + .st-adv-tail
   ========================================================= */
/* ------------------------------
   1) 診断フォーム（ツールバー風）
-------------------------------- */
#sec-guide .st-quiz, #sec-guide #coating-quiz {
  background: #f7f9fc;
  border: 1px solid #e6eef6;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: end;
  justify-content: center; /* パネル内で中央寄せ */
  box-shadow: 0 1px 2px rgba(10, 27, 57, .03);
  margin-bottom: 16px; /* フォームと結果の間隔 */
}
#sec-guide label.form-label {
  font-weight: 600;
  color: #475569;
  letter-spacing: .02em;
}
#sec-guide .form-select {
  border-radius: 10px;
  border-color: #cbd5e1;
  min-width: 180px;
}
#sec-guide .st-quiz-submit, #sec-guide .btn.btn-primary {
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 700;
  min-width: 140px;
}
/* 上3／下2の行をきれいに中央寄せ */
#sec-guide .st-quiz-row {
  max-width: 980px;
  margin-inline: auto;
}
#sec-guide .st-quiz-row.top > [class*="col-"], #sec-guide .st-quiz-row.bottom > [class*="col-"] {
  flex: 0 0 auto;
}
@media (min-width:768px) {
  #sec-guide .st-quiz-row.top > .col-md-4, #sec-guide .st-quiz-row.bottom > .col-md-4 {
    width: auto;
  }
  #sec-guide .st-quiz .form-select {
    width: 240px;
    min-width: 240px;
  }
}
@media (max-width:767.98px) {
  #sec-guide .st-quiz, #sec-guide #coating-quiz {
    padding: 10px;
  }
  #sec-guide .form-select {
    min-width: unset;
    width: 100%;
  }
}
/* ------------------------------
   2) 旧・擬似要素方式を完全無効化
-------------------------------- */
#diag-result .card::before, #diag-result .card::after {
  content: none !important;
}
/* ------------------------------
   3) 結果：吹き出し（青い枠＋中央ノッチ）
      ピル → しっぽ → 吹き出し本体
-------------------------------- */
/* ==== Advice balloon: 安定版（青枠＋中央ノッチ） ==== */
#diag-result {
  --st-blue: #0d6efd;
  --borderW: 2px; /* 枠線の太さ（三角も同じ太さに揃える） */
  --tailW: 28px; /* 三角の幅 */
  --tailH: 14px; /* 三角の高さ */
  --tailLift: 0.8px; /* 三角の“持ち上げ”微調整。上げたいほど大きく（0.6〜1.2推奨） */
}
/* 旧スタイルの疑似要素は完全無効化（競合排除） */
#diag-result .card::before, #diag-result .card::after, #diag-result .st-adv-card::before, #diag-result .st-adv-card::after {
  content: none !important;
  filter: none !important;
}
/* 吹き出し本体：上辺も含めて“普通の border”に戻す */
#diag-result .st-adv-card {
  position: relative;
  overflow: visible;
  background: #fff;
  border: var(--borderW) solid var(--st-blue); /* ← 上辺が確実に表示される */
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
  width: min(92%, 880px);
  margin-inline: auto;
}
/* 三角（外＝青）— 枠線と同じ太さ・色で接続 */
#diag-result .st-adv-tail {
  position: absolute;
  left: 50%;
  top: calc(-1 * var(--tailH) - var(--borderW) + var(--tailLift));
  transform: translateX(-50%);
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 2;
  border-left: calc(var(--tailW) / 2) solid transparent;
  border-right: calc(var(--tailW) / 2) solid transparent;
  border-bottom: var(--tailH) solid var(--st-blue);
}
/* 三角（内＝白）— 外三角より一回り小さく“中抜き”。下線は出ません */
#diag-result .st-adv-tail::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: calc(-1 * (var(--tailW) / 2) + var(--borderW));
  top: calc(var(--borderW) + var(--tailLift));
  border-left: calc((var(--tailW) / 2) - var(--borderW)) solid transparent;
  border-right: calc((var(--tailW) / 2) - var(--borderW)) solid transparent;
  border-bottom: calc(var(--tailH) - var(--borderW)) solid #fff;
}
/* ピル（文言）は今のまま。中央配置のままに */
#diag-result .st-adv {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
#diag-result .st-adv-pill {
  background: var(--st-blue);
  color: #fff;
  font-weight: 800;
  letter-spacing: .02em;
  padding: 12px 18px;
  border-radius: 9999px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(13, 110, 253, .25);
}
/* CTAボタンの文言を上下左右ど真ん中に */
#diag-result .st-cta-row .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 700;
}
/* ===== 3問診断：フォームの見た目と整列 ===== */
#sec-guide .st-quiz {
  background: #f7f9fc;
  border: 1px solid #e6eef6;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: end;
  box-shadow: 0 1px 2px rgba(10, 27, 57, .03);
}
#sec-guide .st-quiz-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
}
#sec-guide .st-quiz-row > .col-md-4 {
  flex: 0 0 auto !important;
  width: auto !important;
}
#sec-guide .form-select {
  border-radius: 10px;
  border-color: #cbd5e1;
  min-width: 220px;
}
#sec-guide .st-quiz-submit {
  min-width: 160px;
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 700;
}
@media (max-width:767.98px) {
  #sec-guide .st-quiz {
    padding: 10px;
  }
  #sec-guide .form-select {
    min-width: unset;
    width: 100%;
  }
}
/* ===== 吹き出し：青枠＋中央ノッチ（△） ===== */
#diag-result {
  --st-blue: #0d6efd; /* テーマ青 */
  --borderW: 2px; /* 枠線の太さ */
  --tailW: 28px; /* 三角の幅 */
  --tailH: 14px; /* 三角の高さ */
}
/* 旧：擬似要素ベースのしっぽを完全無効化（競合回避） */
#diag-result .card::before, #diag-result .card::after {
  content: none !important;
}
#diag-result .st-adv {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
/* ピル（「当店からのアドバイス」） */
#diag-result .st-adv-pill {
  background: var(--st-blue);
  color: #fff;
  font-weight: 800;
  letter-spacing: .02em;
  padding: 12px 18px;
  border-radius: 9999px;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(13, 110, 253, .25);
}
/* 吹き出し本体 */
#diag-result .st-adv-card {
  position: relative;
  z-index: 1;
  overflow: visible;
  border: var(--borderW) solid var(--st-blue);
  border-radius: 16px;
  background: #fff; /* 純白に固定（にじみ防止） */
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
  width: min(92%, 880px);
  margin-inline: auto;
}
/* 三角（外＝青）— 枠線に接続して上から“生える” */
#diag-result .st-adv-tail {
  position: absolute;
  left: 50%;
  top: calc(-1 * var(--borderW));
  transform: translateX(-50%);
  width: 0;
  height: 0;
  pointer-events: none;
  border-left: calc(var(--tailW) / 2) solid transparent;
  border-right: calc(var(--tailW) / 2) solid transparent;
  border-bottom: var(--tailH) solid var(--st-blue);
  z-index: 1;
}
/* 三角（内＝白）— 中抜きで吹き出し感を出す（下線は消える） */
#diag-result .st-adv-tail::after {
  content: "";
  position: absolute;
  left: calc(-1 * (var(--tailW) / 2) + var(--borderW));
  top: var(--borderW);
  border-left: calc((var(--tailW) / 2) - var(--borderW)) solid transparent;
  border-right: calc((var(--tailW) / 2) - var(--borderW)) solid transparent;
  border-bottom: calc(var(--tailH) - var(--borderW)) solid #fff;
}
/* 推奨メニュー行（見た目だけ） */
#diag-result .st-rec {
  line-height: 1.9;
}
#diag-result .st-rec__label {
  font-weight: 800;
  margin-right: .5em;
}
#diag-result .st-rec__items {
  font-weight: 700;
}
#diag-result .st-rec__link {
  margin-left: .25em;
}
/* CTAボタン：上下左右ど真ん中 */
#diag-result .st-cta-row .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 700;
}
/* 注意書き：吹き出しと左端をそろえる */
#sec-guide .diag-note {
  max-width: min(92%, 880px);
  margin: 6px auto 0;
}
/* ===== Advice balloon v3（センター固定・誤差ゼロ） ===== */
#diag-result {
  --st-blue: #0d6efd;
  --borderW: 2px; /* 枠線太さ */
  --tailW: 28px; /* △の幅 */
  --tailH: 14px; /* △の高さ */
  --cardMaxW: 880px; /* 吹き出し最大幅 */
}
/* ピル・△ と 吹き出し本体の“幅”を合わせる */
#diag-result .st-adv-head, #diag-result .st-adv-card {
  width: min(92%, var(--cardMaxW));
  margin-inline: auto;
}
/* ピル（常に中央） */
#diag-result .st-adv {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
#diag-result .st-adv-pill {
  background: var(--st-blue);
  color: #fff;
  font-weight: 800;
  letter-spacing: .02em;
  padding: 12px 18px;
  line-height: 1;
  border-radius: 9999px;
  box-shadow: 0 6px 18px rgba(13, 110, 253, .25);
}
/* △（ピル直下の中央に固定）— 外側青、内側白で“吹き出し風” */
#diag-result .st-adv-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
#diag-result .st-adv-tail {
  position: relative;
  width: 0;
  height: 0;
  border-left: calc(var(--tailW)/2) solid transparent;
  border-right: calc(var(--tailW)/2) solid transparent;
  border-bottom: var(--tailH) solid var(--st-blue); /* ▼ */
}
#diag-result .st-adv-tail::after {
  content: "";
  position: absolute;
  left: calc(-1 * (var(--tailW)/2) + var(--borderW));
  top: var(--borderW);
  border-left: calc((var(--tailW)/2) - var(--borderW)) solid transparent;
  border-right: calc((var(--tailW)/2) - var(--borderW)) solid transparent;
  border-bottom: calc(var(--tailH) - var(--borderW)) solid #fff; /* 内側白で中抜き */
}
/* 吹き出し本体：上辺だけ中央を“欠けさせる” （△と幅を連動） */
#diag-result .st-adv-card {
  position: relative;
  overflow: visible;
  background: #fff;
  border: var(--borderW) solid var(--st-blue);
  border-top: none;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
  /* 上辺の左右を描き、中央（△の幅）だけ空ける */
  background:
    linear-gradient(var(--st-blue), var(--st-blue)) top left / calc(50% - (var(--tailW) / 2)) var(--borderW) no-repeat, linear-gradient(var(--st-blue), var(--st-blue)) top right/ calc(50% - (var(--tailW) / 2)) var(--borderW) no-repeat, #fff;
}
/* 推奨メニュー行：PCは横並び・右側にボタン / SPは縦積み */
#diag-result .st-rec {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
#diag-result .st-rec__text {
  display: flex;
  align-items: center;
  gap: 10px;
}
#diag-result .st-rec__label {
  font-weight: 800;
}
#diag-result .st-rec__btn {
  margin-left: auto;
} /* PCで右端へ */
@media (max-width: 575.98px) {
  #diag-result .st-rec__btn {
    width: 100%;
    margin-left: 0;
  }
}
/* 注意書き：吹き出しの左端に揃える（幅を共通化） */
#sec-guide .guide-note {
  width: min(92%, var(--cardMaxW));
  margin: 8px auto 0;
}
/* 既存：フォーム見た目（必要な最小限。重複しないように接頭辞維持） */
#sec-guide .st-quiz {
  background: #f7f9fc;
  border: 1px solid #e6eef6;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: end;
  box-shadow: 0 1px 2px rgba(10, 27, 57, .03);
}
#sec-guide .form-select {
  border-radius: 10px;
  border-color: #cbd5e1;
  min-width: 180px;
}
#sec-guide .st-quiz-submit {
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 700;
  min-width: 140px;
}
@media (min-width:768px) {
  #sec-guide .st-quiz .form-select {
    width: 240px;
    min-width: 240px;
  }
}
/* ===== Advice balloon (安定版)：青枠＋中央△（外青/内白） ===== */
/* ===== Advice balloon（安定版）：青枠＋中央△ ===== */
#diag-result{
  --st-blue:#0d6efd;
  --borderW:2px;
  --tailW:28px;
  --tailH:14px;
  --cardMaxW:880px;
}
/* 既存の ::before/::after 方式は無効化（重なり防止） */
#diag-result .card::before,
#diag-result .card::after{ content:none !important; }

/* ピルとカードの幅を揃えて中央基準を共有 */
#diag-result .st-adv-head,
#diag-result .st-adv-card{
  width:min(92%, var(--cardMaxW));
  margin-inline:auto;
}
#diag-result .st-adv{ display:flex; flex-direction:column; align-items:center; gap:10px; }
#diag-result .st-adv-pill{
  background:var(--st-blue); color:#fff; font-weight:800; letter-spacing:.02em;
  padding:12px 18px; line-height:1; border-radius:9999px;
  box-shadow:0 6px 18px rgba(13,110,253,.25);
}

/* 吹き出し本体：通常ボーダー（上辺も含む） */
#diag-result .st-adv-card{
  position:relative; overflow:visible;
  background:#fff !important;
  border:var(--borderW) solid var(--st-blue);
  border-radius:16px;
  box-shadow:0 10px 24px rgba(15,23,42,.06);
}

/* △：カード中央。外＝青、内＝白で切り欠き */
#diag-result .st-adv-card > .st-adv-tail{
  position:absolute; top:0; left:50%;
  transform:translate(-50%, -100%);
  width:0; height:0; pointer-events:none;
  border-left:  calc(var(--tailW)/2) solid transparent;
  border-right: calc(var(--tailW)/2) solid transparent;
  border-bottom: var(--tailH)        solid var(--st-blue);
}
#diag-result .st-adv-card > .st-adv-tail::after{
  content:""; position:absolute;
  left: calc(-1 * (var(--tailW)/2) + var(--borderW));
  top:  var(--borderW);
  border-left:  calc((var(--tailW)/2) - var(--borderW)) solid transparent;
  border-right: calc((var(--tailW)/2) - var(--borderW)) solid transparent;
  border-bottom: calc(var(--tailH)   - var(--borderW))  solid #fff;
}

/* 推奨メニュー行：PCは右側にボタン／SPは下段 */
#diag-result .st-rec{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
#diag-result .st-rec__text{ display:flex; align-items:center; gap:10px; }
#diag-result .st-rec__label{ font-weight:800; }
#diag-result .st-rec__btn{ margin-left:auto; }
@media (max-width:575.98px){
  #diag-result .st-rec__btn{ width:100%; margin-left:0; }
}

/* 注意書きを吹き出し左端に合わせる */
#sec-guide .guide-note{ width:min(92%, var(--cardMaxW)); margin:8px auto 0; }
/* Proofbar: ベース（列数は書かない） */
.st-proofbar{
  display:grid; gap:16px; align-items:center;
  padding:14px 16px; border-radius:14px;
}

/* レイアウト切替 */
.st-proofbar--equal{ grid-template-columns: repeat(3, 1fr); }
.st-proofbar--leftwide{ grid-template-columns: 1.25fr 1fr 1fr; }

@media (max-width: 992px){
  .st-proofbar--equal,
  .st-proofbar--leftwide{ grid-template-columns:1fr; }
}

/* 仕切り線（既存を流用/統合） */
.st-proofbar--divided .st-proofbar__item{ padding:14px 18px; min-height:90px; }
.st-proofbar--divided .st-proofbar__item + .st-proofbar__item{ border-left:1px dashed #E4EAF3; }
@media (max-width: 992px){
  .st-proofbar--divided .st-proofbar__item + .st-proofbar__item{
    border-left:0; border-top:1px dashed #E4EAF3;
  }
}

/* 左専用の青グラデ等を無効化したい場合はこのまま */
.st-proofbar__spotlight::before{ content:none !important; }
