/* =============================================
   page-faq.css
   ============================================= */

/* ── Hero ── */
.faq-hero {
    width: 100%;
    line-height: 0;
}
.faq-hero img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ── Title ── */
.faq-title-wrap {
    text-align: center;
    padding: 64px 20px 56px;
}
.faq-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(42px, 7vw, 96px);
    font-weight: 400;
    color: #3a3028;
    letter-spacing: 0.06em;
    line-height: 1;
}

/* ── Category tabs ── */
.faq-cats-outer {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px 40px;
}
.faq-cats-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.faq-cat-btn {
    padding: 12px 20px;
    border: 1px solid #c8c0b4;
    background: #fff;
    color: #555;
    font-size: 13px;
    font-family: inherit;
    letter-spacing: 0.05em;
    line-height: 1.5;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    text-align: center;
}
.faq-cat-btn:hover {
    background: #f0ece4;
    border-color: #a89880;
}
.faq-cat-btn.is-active {
    background: #2a2018;
    color: #fff;
    border-color: #2a2018;
}

/* ── FAQ Body ── */
.faq-body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px 88px;
}
.faq-body-inner {
    border-top: 1px solid #dedad4;
}

/* ── Section ── */
.faq-section {
    display: block;
    scroll-margin-top: 80px;
}
.faq-section + .faq-section {
    margin-top: 56px;
}
.faq-cat-heading {
    font-size: 18px;
    font-weight: 400;
    color: #2a2018;
    letter-spacing: 0.06em;
    padding: 32px 0 24px;
    border-bottom: 1px solid #dedad4;
    margin-bottom: 0;
}

/* ── FAQ List ── */
/* .faq-list {
    padding: 12px 0;
} */

/* ── Accordion Item ── */
.faq-item {
    border-bottom: 1px solid #dedad4;
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 22px calc(20px + 20px + 12px);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background 0.15s;
}
.faq-q:hover {
    background: #f5f8f1;
}
.faq-item.is-open .faq-q {
    background: #F5F8F1;
}
.faq-q-prefix {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    color: #6e7c67;
    flex-shrink: 0;
    line-height: 1;
}
.faq-q-text {
    flex: 1;
    font-size: 15px;
    color: #2a2018;
    letter-spacing: 0.04em;
    line-height: 1.7;
}
.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
    margin-left: 16px;
    align-self: center;
}
.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: #6e7c67;
    transition: transform 0.25s, opacity 0.25s;
}
.faq-icon::before {
    width: 14px;
    height: 1px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.faq-icon::after {
    width: 1px;
    height: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.faq-item.is-open .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

/* ── Answer ── */
.faq-a {
    display: none;
    background: #F5F8F1;
    padding: 4px 20px 28px calc(20px + 20px + 12px);
}
.faq-a-prefix {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    color: #9aac8a;
    display: block;
    text-align: left;
    margin-bottom: 8px;
}
.faq-a-text {
    font-size: 15px;
    line-height: 2.1;
    color: #555;
    letter-spacing: 0.04em;
}
.faq-a-text p + p {
    margin-top: 12px;
}
.faq-note {
    font-size: 12px;
    color: #888;
    letter-spacing: 0.03em;
    line-height: 2;
}
.faq-list-inner {
    list-style: none;
    padding: 0;
    margin: 8px 0;
}
.faq-list-inner li {
    padding-left: 14px;
    position: relative;
    line-height: 2.1;
    font-size: 15px;
    color: #555;
}
.faq-list-inner li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: #9aac8a;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .faq-hero img { height: 240px; }
    .faq-title-wrap { padding: 48px 20px 40px; }
    .faq-cats-outer { padding: 0 16px 32px; }
    .faq-cats-inner { gap: 6px; }
    .faq-cat-btn { padding: 10px 14px; font-size: 12px; }
    .faq-body { padding: 0 16px 64px; }
    .faq-q { padding: 18px 12px; gap: 10px; }
    .faq-a { padding: 4px 12px 24px calc(12px + 18px + 10px); }
}
