/* coating-parts.css — ホイール／窓ガラス／内装コーティングの 3 ページ共通
   遮熱フィルムのページ（carfilm-shanetsu.php）と同じ部品（#cf の cf-*）をそのまま使う。
   新しい見た目は足していない。3 ページで同じ物を 3 回書かないために 1 本にした。 */
#cf * { transition: none !important; animation: none !important; }
#cf .accordion-collapse { transition: height .3s ease !important; }

/* 区切り */
#cf section { padding: 3.5rem 0; }
@media(min-width:768px){ #cf section { padding: 4.5rem 0; } }
#cf .cf-white { background: #fff; }
#cf .cf-gray  { background: #f8f9fa; }
#cf .cf-narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
#cf .cf-mid    { max-width: 960px; margin-left: auto; margin-right: auto; }

/* 区切りの見出し */
#cf .cf-sh { text-align: center; margin-bottom: 2.5rem; }
#cf .cf-sh-eyebrow {
    display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em;
    text-transform: uppercase; color: #0d6efd; margin-bottom: 0.5rem;
}
#cf .cf-sh h2 {
    font-size: clamp(1.35rem, 3vw, 1.7rem); font-weight: 700;
    color: #212529; margin-bottom: 0; line-height: 1.4;
}
#cf .cf-sh p {
    margin-top: 0.75rem; color: #6c757d; font-size: 0.9rem;
    line-height: 1.7; max-width: 640px; margin-left: auto; margin-right: auto;
}

/* カード */
#cf .cf-card {
    background: #fff; border: 1px solid #dee2e6; border-radius: 0.75rem;
    padding: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
@media(min-width:768px){ #cf .cf-card { padding: 2rem; } }
#cf .cf-body { font-size: 0.925rem; line-height: 1.75; color: #444; margin-bottom: 0; }
#cf .cf-h3 { font-size: 1.1rem; font-weight: 700; color: #212529; margin-bottom: 0.75rem; }

/* チェックの一覧 */
#cf .cf-checks { list-style: none; padding: 0; margin: 0; }
#cf .cf-checks li {
    padding: 0.4rem 0 0.4rem 1.6rem; position: relative;
    font-size: 0.9rem; line-height: 1.6; color: #444;
}
#cf .cf-checks li::before {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; left: 0; top: 0.5rem; font-size: 0.75rem; color: #0d6efd;
}

/* 最初の画面 */
#cf .cf-hero { padding: 2.5rem 0 2rem; background: linear-gradient(180deg, #fff 0%, #f5f9ff 100%); }
#cf .cf-hero h1 {
    font-size: clamp(1.15rem, 2.6vw, 1.55rem); font-weight: 700;
    color: #212529; line-height: 1.45; margin-bottom: 1rem;
}
#cf .cf-hero .cf-hero-lead { font-size: 0.95rem; color: #555; line-height: 1.75; margin-bottom: 1.25rem; }
#cf .cf-trust-strip { display: flex; flex-wrap: wrap; gap: 0.5rem; }
#cf .cf-trust-strip .cf-trust-chip {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: 0.78rem; font-weight: 600; color: #495057;
    background: #f0f4ff; border: 1px solid #d0daf0; border-radius: 2rem;
    padding: 0.3rem 0.75rem;
}
#cf .cf-trust-strip .cf-trust-chip i { color: #0d6efd; font-size: 0.8rem; }
#cf .cf-hero-img { position: relative; border-radius: 0.75rem; overflow: hidden; }
#cf .cf-hero-img img { width: 100%; height: auto; display: block; }

/* 写真の並び（同じ形にそろえる） */
#cf .cf-photo { margin: 0; }
#cf .cf-photo img { width: 100%; height: auto; aspect-ratio: 13 / 10; object-fit: cover; display: block; border-radius: 0.75rem; }
#cf .cf-photo figcaption { margin-top: 0.4rem; }

/* よくある質問 */
#cf .cf-faq .accordion { max-width: 720px; margin: 0 auto; }
#cf .cf-faq .accordion-item {
    border: 1px solid #dee2e6 !important; border-radius: 0.75rem !important;
    margin-bottom: 0.6rem; overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
}
#cf .cf-faq .accordion-button { font-weight: 700; font-size: 0.9rem; padding: 1rem 1.25rem; color: #212529; }
#cf .cf-faq .accordion-button:not(.collapsed) { background: #fff; box-shadow: none; }
#cf .cf-faq .accordion-body { font-size: 0.875rem; color: #6c757d; line-height: 1.7; padding: 0 1.25rem 1rem; }

/* 囲み */
#cf .cf-link-box {
    background: #f0f4ff; border: 1px solid #d0daf0; border-radius: 0.75rem;
    padding: 1.5rem; text-align: center;
}
#cf .cf-info-banner { background: #e8f4fd; border-radius: 0.5rem; padding: 1rem 1.25rem; font-size: 0.9rem; color: #333; line-height: 1.75; }
#cf .cf-note { font-size: 0.8rem; color: #6c757d; line-height: 1.65; }

/* 次に読む（カード全体がリンク） */
#cf a.cf-next { display: block; height: 100%; text-decoration: none; color: inherit; }
#cf a.cf-next .cf-h3 { color: #0d6efd; }
#cf a.cf-next:hover .cf-card, #cf a.cf-next:focus .cf-card { border-color: #0d6efd; }
#cf .cf-next-kind { display: block; font-size: 0.75rem; font-weight: 700; color: #6c757d; margin-bottom: 0.4rem; }

/* 見出しの 2 行目は、文の切れ目だけで折り返す */
#cf .cf-nb { display: inline-block; }
/* 1〜2 文字だけ残る折り返しを減らす */
#cf .cf-sh p, #cf .cf-info-banner, #cf .cf-body { text-wrap: pretty; }

/* 料金表の選択欄と、1 枚だけの料金カードは、広げずに中央へ（共通の「1 つだけの列は器いっぱい」の決まりの例外） */
#wrapper.du #cf [id$="-price-section"] .row > [class*="col-md-"]:only-child {
    flex: 0 0 auto !important; width: 100% !important; max-width: 420px !important;
    margin-left: auto !important; margin-right: auto !important;
}
#wrapper.du #cf [id$="PriceResult"] > [class*="col-md-"]:only-child { max-width: 640px !important; }
