@charset "UTF-8";
/* ============================================================
 * 合同会社センターライト FAQ ページ専用 CSS
 * page-cl-faq.php 用 / サイト配色に統一
 * ヘッダーは会社概要と同じ .cl-safe-page-title 帯を使用(本CSSでは扱わない)
 * v5.36.94
 * ============================================================ */

.cl-faq-page{
    --faq-navy: var(--cl-navy, #071327);
    --faq-blue: var(--cl-blue, #1f5eff);
    --faq-sky:  var(--cl-sky, #eef5ff);
    --faq-text: var(--cl-text, #101827);
    --faq-muted:var(--cl-muted, #5f6b7a);
    --faq-line: var(--cl-line, #e8edf4);
    --faq-gold: #e0b54a;
    color: var(--faq-text);
}

/* ---------- 本体 ---------- */
.cl-faq-body{
    max-width: 860px; margin: 0 auto;
    padding: clamp(40px, 7vw, 72px) 20px clamp(64px, 10vw, 110px);
}

/* 任意の導入文(本文エディタ) */
.cl-faq-intro{
    max-width: 760px; margin: 0 auto clamp(32px, 6vw, 52px);
    font-size: clamp(14px, 2.3vw, 16px); line-height: 2; color: var(--faq-muted);
    text-align: center;
}
.cl-faq-intro p{ margin: 0 0 1em; }
.cl-faq-intro :last-child{ margin-bottom: 0; }

.cl-faq-group{ margin-bottom: clamp(36px, 6vw, 56px); }
.cl-faq-group-title{
    font-size: clamp(18px, 3.2vw, 22px); font-weight: 700; color: var(--faq-navy);
    margin: 0 0 18px; padding-left: 14px; position: relative; letter-spacing: .02em;
}
.cl-faq-group-title::before{
    content: ""; position: absolute; left: 0; top: .1em; bottom: .1em; width: 5px;
    border-radius: 3px; background: linear-gradient(180deg, var(--faq-blue), var(--faq-gold));
}
.cl-faq-list{ display: flex; flex-direction: column; gap: 12px; }

/* ---------- アコーディオン項目(details/summary) ---------- */
.cl-faq-item{
    background: #fff; border: 1px solid var(--faq-line); border-radius: 14px;
    box-shadow: 0 2px 10px rgba(7,19,39,.04);
    overflow: hidden; transition: box-shadow .25s ease, border-color .25s ease;
}
.cl-faq-item[open]{ border-color: rgba(31,94,255,.35); box-shadow: 0 8px 26px rgba(7,19,39,.08); }
.cl-faq-q{
    list-style: none; cursor: pointer; user-select: none;
    display: flex; align-items: flex-start; gap: 14px;
    padding: 18px 20px; font-weight: 700; font-size: clamp(15px, 2.4vw, 16px);
    line-height: 1.65; color: var(--faq-navy);
}
.cl-faq-q::-webkit-details-marker{ display: none; }
.cl-faq-badge{
    flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800; line-height: 1;
}
.cl-faq-badge-q{ background: var(--faq-navy); color: #fff; }
.cl-faq-badge-a{ background: var(--faq-gold); color: #1a1a1a; }
.cl-faq-qtext{ flex: 1 1 auto; padding-top: 3px; }
.cl-faq-chevron{
    flex: 0 0 auto; width: 14px; height: 14px; margin-top: 7px; position: relative;
    transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.cl-faq-chevron::before, .cl-faq-chevron::after{
    content: ""; position: absolute; top: 50%; width: 9px; height: 2px; border-radius: 2px;
    background: var(--faq-blue);
}
.cl-faq-chevron::before{ left: 0; transform: translateY(-50%) rotate(45deg); }
.cl-faq-chevron::after{ right: 0; transform: translateY(-50%) rotate(-45deg); }
.cl-faq-item[open] .cl-faq-chevron{ transform: rotate(180deg); }

.cl-faq-a{
    display: flex; align-items: flex-start; gap: 14px;
    padding: 0 20px 20px; margin-top: -2px;
    animation: clFaqReveal .3s ease both;
}
@keyframes clFaqReveal{ from{ opacity: 0; transform: translateY(-4px); } to{ opacity: 1; transform: translateY(0); } }
.cl-faq-atext{
    flex: 1 1 auto; padding-top: 3px;
    font-size: clamp(14px, 2.3vw, 15px); line-height: 1.9; color: var(--faq-text); font-weight: 400;
}
.cl-faq-atext p{ margin: 0 0 .8em; }
.cl-faq-atext :last-child{ margin-bottom: 0; }

/* ---------- CTA ---------- */
.cl-faq-cta{
    margin-top: clamp(40px, 7vw, 64px); padding: clamp(32px, 6vw, 52px) 24px;
    text-align: center; background: var(--faq-sky); border: 1px solid var(--faq-line);
    border-radius: 18px;
}
.cl-faq-cta-title{
    font-size: clamp(18px, 3.2vw, 24px); font-weight: 700; color: var(--faq-navy); margin: 0 0 14px;
    letter-spacing: .02em;
}
.cl-faq-cta-note{
    font-size: clamp(13px, 2.2vw, 15px); line-height: 1.9; color: var(--faq-muted);
    max-width: 620px; margin: 0 auto 26px;
}
.cl-faq-cta-btn{
    display: inline-flex; align-items: center; justify-content: center;
    height: 54px; padding: 0 36px; border-radius: 999px;
    background: var(--faq-navy); color: #fff; font-weight: 700; font-size: 15px;
    text-decoration: none; letter-spacing: .02em;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    box-shadow: 0 6px 20px rgba(7,19,39,.18);
}
.cl-faq-cta-btn:hover{ transform: translateY(-2px); background: #0a1a35; box-shadow: 0 10px 28px rgba(7,19,39,.26); }

@media (max-width: 600px){
    .cl-faq-q{ padding: 16px 16px; gap: 11px; }
    .cl-faq-a{ padding: 0 16px 18px; gap: 11px; }
    .cl-faq-badge{ width: 25px; height: 25px; font-size: 13px; }
}
