[x-cloak] { display: none !important; }

/* ========= FAQ ページ（サイト共通デザイン寄せ） ========= */
/* 全ボタンをリセット（style.css の button{width:100%} を打ち消す） */
#faq_page button {
    width: auto;
    background: transparent;
    border: 0;
    padding: 10px;
    border-radius: 58px;
    color: inherit;
    font-size: inherit;
    vertical-align: baseline;
}
#faq_page .faq_page_body { padding-bottom: 80px; }
#faq_page .faq_page_body .inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; }


/* ===== 検索ボックス（大きめ・綺麗に整備） =====
   style.css の input:not([...]) に負けないよう #faq_page で詳細度アップ */
#faq_page .faq_search_wrap {
    max-width: 900px;
    margin: 0 auto 56px;
    position: relative;
}
#faq_page .faq_search_box {
    position: relative;
}
/* 背景のふわっとグラデ（focus時に光る） */
#faq_page .faq_search_wrap::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(46, 139, 87, 0.1), transparent 70%);
    border-radius: 999px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .4s ease;
    z-index: 0;
}
#faq_page .faq_search_wrap:focus-within::before { opacity: 1; }

/* 虫眼鏡アイコン */
#faq_page .faq_search_icon {
    position: absolute;
    left: 36px; top: 50%;
    transform: translateY(-50%);
    width: 26px; height: 26px;
    color: #999;
    pointer-events: none;
    transition: color .25s ease, transform .3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
}

/* input本体（高詳細度で上書き） */
#faq_page input.faq_search_input {
    width: 100%;
    border: 2px solid #e8e8e8 !important;
    border-radius: 999px !important;
    padding: 30px 88px 30px 84px !important;
    font-family: inherit;
    font-size: 20px !important;
    font-weight: 500;
    background: #fff;
    outline: none;
    color: #1a1a1a !important;
    transition: all .25s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
    position: relative;
    z-index: 1;
    letter-spacing: 0.02em;
    line-height: 1.4;
    vertical-align: middle;
}
#faq_page input.faq_search_input::placeholder {
    color: #b5b5b5;
    font-weight: 400;
    letter-spacing: 0.04em;
}
#faq_page input.faq_search_input:hover {
    border-color: #ccc !important;
    box-shadow: 0 8px 22px rgba(0,0,0,0.07);
}
#faq_page input.faq_search_input:focus {
    border-color: #2E8B57 !important;
    box-shadow:
        0 0 0 6px rgba(46, 139, 87, 0.14),
        0 14px 30px rgba(0,0,0,0.1);
}
#faq_page .faq_search_box:focus-within .faq_search_icon {
    color: #2E8B57;
    transform: translateY(-50%) scale(1.12);
}

/* クリアボタン（右） */
#faq_page button.faq_search_clear {
    position: absolute;
    right: 28px; top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    padding: 0;
    border: none;
    background: #f2f2f2;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all .2s ease;
    z-index: 3;
}
#faq_page button.faq_search_clear:hover {
    background: #d93016;
    color: #fff;
    transform: translateY(-50%) rotate(90deg) scale(1.05);
}

/* ===== サジェスト（磨きバージョン） ===== */
.faq_suggest {
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 18px;
    box-shadow:
        0 20px 48px rgba(217, 48, 22, 0.08),
        0 6px 16px rgba(0,0,0,0.06),
        0 1px 2px rgba(0,0,0,0.03);
    max-height: 440px;
    overflow-y: auto;
    padding: 6px;
    z-index: 50;
    transform-origin: top center;
    animation: suggest-in 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
    backdrop-filter: saturate(1.2);
}
@keyframes suggest-in {
    from { opacity: 0; transform: translateY(-10px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* trailing gradient bar at top */
.faq_suggest::before {
    content: '';
    position: absolute;
    inset: -1px -1px auto -1px;
    height: 3px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(90deg, #d93016 0%, #ffd800 50%, #2E8B57 100%);
    opacity: 0.7;
    pointer-events: none;
}

.faq_suggest_header {
    padding: 12px 14px 6px;
    font-size: 11px;
    color: #888;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 0.08em;
}
.faq_suggest_header_count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #d93016, #a8220f);
    color: #fff;
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: bold;
    font-size: 10px;
    letter-spacing: 0;
}

/* アイテム */
.faq_suggest_item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    padding: 13px 36px 13px 20px;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    border-radius: 12px;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    transition:
        background 180ms cubic-bezier(0.25, 1, 0.5, 1),
        transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
    animation: item-in 320ms cubic-bezier(0.25, 1, 0.5, 1) both;
}
.faq_suggest_item:nth-child(1) { animation-delay: 40ms; }
.faq_suggest_item:nth-child(2) { animation-delay: 70ms; }
.faq_suggest_item:nth-child(3) { animation-delay: 100ms; }
.faq_suggest_item:nth-child(4) { animation-delay: 130ms; }
.faq_suggest_item:nth-child(5) { animation-delay: 160ms; }
.faq_suggest_item:nth-child(6) { animation-delay: 190ms; }
.faq_suggest_item:nth-child(7) { animation-delay: 220ms; }
.faq_suggest_item:nth-child(8) { animation-delay: 250ms; }
@keyframes item-in {
    from { opacity: 0; transform: translateX(-8px); }
    to   { opacity: 1; transform: translateX(0); }
}

.faq_suggest_item::before {
    content: '';
    position: absolute;
    left: 6px; top: 18%; bottom: 18%;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(to bottom, #d93016, #2E8B57);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}
.faq_suggest_item:hover,
.faq_suggest_item.is-active {
    background: linear-gradient(90deg, #fff8e7 0%, #fffef5 100%);
}
.faq_suggest_item:hover::before,
.faq_suggest_item.is-active::before {
    transform: scaleY(1);
}

.faq_suggest_item_arrow {
    position: absolute;
    right: 16px; top: 50%;
    transform: translate(-8px, -50%);
    opacity: 0;
    color: #d93016;
    width: 18px; height: 18px;
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), opacity 200ms ease;
    pointer-events: none;
}
.faq_suggest_item:hover .faq_suggest_item_arrow,
.faq_suggest_item.is-active .faq_suggest_item_arrow {
    transform: translate(0, -50%);
    opacity: 1;
}

.faq_suggest_cat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    font-size: 11px;
    color: #d93016;
    font-weight: bold;
    padding: 3px 9px 3px 8px;
    border-radius: 999px;
    background: rgba(217, 48, 22, 0.08);
    letter-spacing: 0.02em;
    transition: all 200ms cubic-bezier(0.25, 1, 0.5, 1);
}
.faq_suggest_cat_icon {
    font-size: 13px;
    line-height: 1;
    transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.faq_suggest_item:hover .faq_suggest_cat,
.faq_suggest_item.is-active .faq_suggest_cat {
    background: rgba(217, 48, 22, 0.14);
    transform: translateX(1px);
}
.faq_suggest_item:hover .faq_suggest_cat_icon,
.faq_suggest_item.is-active .faq_suggest_cat_icon {
    transform: scale(1.15) rotate(-6deg);
}

.faq_suggest_q {
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.55;
    font-weight: 500;
}
.faq_suggest_item mark {
    background: linear-gradient(180deg, transparent 60%, #ffd800 60%);
    color: #1a1a1a;
    font-weight: bold;
    padding: 0 2px;
    border-radius: 2px;
}

.faq_suggest_hint {
    display: flex;
    gap: 18px;
    padding: 10px 16px;
    border-top: 1px solid #f2f2f2;
    margin-top: 4px;
    font-size: 11px;
    color: #888;
    align-items: center;
}
.faq_suggest_hint span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.faq_suggest_hint kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border: 1px solid #d0d0d0;
    border-bottom-width: 2px;
    border-radius: 4px;
    background: #fafafa;
    font-family: inherit;
    font-size: 10px;
    color: #666;
    font-weight: bold;
}

.faq_suggest_empty {
    padding: 36px 14px;
    text-align: center;
    color: #888;
    font-size: 14px;
    animation: suggest-in 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.faq_suggest_empty_icon {
    font-size: 32px;
    display: block;
    margin-bottom: 6px;
    filter: grayscale(1);
    opacity: 0.55;
}
.faq_suggest_empty strong {
    color: #d93016;
    font-weight: bold;
}

@media (prefers-reduced-motion: reduce) {
    .faq_suggest,
    .faq_suggest_item,
    .faq_suggest_item::before,
    .faq_suggest_item_arrow,
    .faq_suggest_cat,
    .faq_suggest_cat_icon,
    .faq_suggest_empty {
        animation: none !important;
        transition: opacity 120ms ease !important;
    }
}

/* ===== カテゴリスライダー（横スクロール・スナップ） ===== */
.faq_cats_wrap {
    position: relative;
    max-width: 1100px;
    margin: 0 auto 48px;
    padding: 0 6px;
}
.faq_cats_label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px 8px 32px;
    font-size: 11px;
    color: #888;
    letter-spacing: 0.08em;
    font-weight: bold;
}
.faq_cats_label_hint {
    color: #d93016;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 10px;
    background: rgba(217, 48, 22, 0.08);
    border-radius: 999px;
    animation: hint-pulse 2.4s ease-in-out infinite;
}
@keyframes hint-pulse {
    0%, 100% { opacity: 0.6; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(3px); }
}
/* スワイプヒント中: ラベルが強調 */
.faq_cats_wrap.is-hinted .faq_cats_label_hint {
    background: #d93016;
    color: #fff;
    transform: scale(1.05);
}
/* 左右の白フェード（スクロールできるよサイン） */
.faq_cats_wrap::before,
.faq_cats_wrap::after {
    content: '';
    position: absolute;
    top: 0; bottom: 12px;
    width: 40px;
    pointer-events: none;
    z-index: 2;
}
.faq_cats_wrap::before {
    left: 0;
    background: linear-gradient(90deg, #fff 30%, transparent);
}
.faq_cats_wrap::after {
    right: 0;
    background: linear-gradient(-90deg, #fff 30%, transparent);
}

.faq_cats {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    padding: 6px 30px 12px 30px;
    scroll-snap-type: x proximity;
    scroll-padding-left: 30px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
.faq_cats::-webkit-scrollbar { display: none; }

.faq_cats_btn {
    flex-shrink: 0;
    scroll-snap-align: start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 2px solid #e5e5e5;
    background: #fff;
    font-size: 14px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    user-select: none;
    transition:
        background .2s cubic-bezier(0.25, 1, 0.5, 1),
        border-color .2s cubic-bezier(0.25, 1, 0.5, 1),
        color .2s cubic-bezier(0.25, 1, 0.5, 1),
        transform .25s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow .25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.faq_cats_btn:hover {
    border-color: #2E8B57;
    color: #2E8B57;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 139, 87, 0.15);
}
.faq_cats_btn:active { transform: translateY(0); }
.faq_cats_btn.is-active {
    background: linear-gradient(135deg, #fff3c4 0%, #ffd9a8 100%);
    color: #8a4a00;
    border-color: #f5c17a;
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.18);
    text-shadow: none;
}
.faq_cats_btn.is-active:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(245, 166, 35, 0.25);
}
.faq_cats_btn.is-active .ct {
    background: rgba(138, 74, 0, 0.12);
    color: #8a4a00;
    opacity: 1;
}
.faq_cats_btn .ct {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.75;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.05);
    margin-left: 2px;
}
.faq_cats_btn.is-active .ct {
    background: rgba(255, 255, 255, 0.22);
    opacity: 1;
}

/* スクロール矢印ボタン（デスクトップ） */
.faq_cats_arrow {
    position: absolute;
    top: 50%;
    transform: translateY(calc(-50% - 6px));
    width: 36px; height: 36px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #d93016;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.06);
    z-index: 3;
    transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .2s ease, opacity .2s ease;
    opacity: 0.95;
}
.faq_cats_arrow:hover {
    transform: translateY(calc(-50% - 6px)) scale(1.08);
    box-shadow: 0 8px 20px rgba(217, 48, 22, 0.2);
    opacity: 1;
}
.faq_cats_arrow--left { left: -4px; }
.faq_cats_arrow--right { right: -4px; }
.faq_cats_arrow svg { width: 18px; height: 18px; }
.faq_cats_arrow[disabled] { opacity: 0; pointer-events: none; }

@media (max-width: 767px) {
    .faq_cats_wrap { padding: 0; }
    .faq_cats { padding: 6px 16px 12px; }
    .faq_cats_btn { padding: 10px 16px; font-size: 13px; }
    .faq_cats_wrap::before, .faq_cats_wrap::after { width: 20px; }
    .faq_cats_arrow { display: none; }
}

/* カテゴリセクション（見出しなし、区切り線のみ） */
.faq_section { margin-bottom: 16px; scroll-margin-top: 20px; }
.faq_section[data-hidden="true"] { display: none; }
.faq_section_divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0 14px;
    color: #999;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.08em;
}
.faq_section_divider::before,
.faq_section_divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e5e5;
}
.faq_section_divider .ic {
    font-size: 15px;
    vertical-align: -2px;
}
.faq_section:first-of-type .faq_section_divider { margin-top: 8px; }

/* ===== FAQ アイテム（リファインver） ===== */
.faq_page_dl dl {
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
    transition:
        border-color .2s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow .25s cubic-bezier(0.16, 1, 0.3, 1),
        transform .25s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq_page_dl dl[data-hidden="true"] { display: none; }
.faq_page_dl dl:hover {
    border-color: #2E8B57;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}
.faq_page_dl dl.is-open {
    border-color: #2E8B57;
    box-shadow: 0 12px 28px rgba(46, 139, 87, 0.14);
    transform: translateY(-1px);
}
.faq_page_dl dt {
    padding: 22px 70px 22px 72px;
    position: relative;
    font-size: 15.5px;
    font-weight: bold;
    cursor: pointer;
    transition: background .2s ease;
    line-height: 1.65;
    color: #1a1a1a;
}
.faq_page_dl dt:hover { background: #fff8e7; }
.faq_page_dl dt::before {
    content: "Q";
    position: absolute;
    left: 20px; top: 50%;
    transform: translateY(-50%);
    width: 32px; height: 32px;
    background: #d93016;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: -0.02em;
    box-shadow: 0 2px 6px rgba(217, 48, 22, 0.3);
    transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .3s ease;
}
.faq_page_dl dl:hover dt::before { transform: translateY(-50%) scale(1.08); }
.faq_page_dl dl.is-open dt::before {
    transform: translateY(-50%) scale(1.1) rotate(-6deg);
    box-shadow: 0 4px 10px rgba(217, 48, 22, 0.4);
}
.faq_page_dl dt .icon {
    position: absolute;
    width: 28px; height: 28px;
    right: 22px; top: 50%;
    transform: translateY(-50%);
    display: block;
    border-radius: 50%;
    background: #f8f8f8;
    transition: background .3s ease, transform .35s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq_page_dl dt .icon::before,
.faq_page_dl dt .icon::after {
    content: '';
    position: absolute;
    background: #d93016;
    transition: opacity .3s ease, transform .3s ease, background .3s ease;
}
.faq_page_dl dt .icon::before {
    left: 28%; top: 50%;
    width: 44%; height: 2px;
    transform: translateY(-50%);
    border-radius: 2px;
}
.faq_page_dl dt .icon::after {
    left: 50%; top: 28%;
    width: 2px; height: 44%;
    transform: translateX(-50%);
    border-radius: 2px;
}
.faq_page_dl dl.is-open dt .icon {
    background: #2E8B57;
    transform: translateY(-50%) rotate(180deg);
}
.faq_page_dl dl.is-open dt .icon::before { background: #fff; }
.faq_page_dl dl.is-open dt .icon::after { opacity: 0; }
.faq_page_dl dl.is-open dt { background: #fff8e7; }

/* アコーディオン本体（スムーズ開閉） */
.faq_page_dl dd {
    background: #f9f9f9;
    color: #333;
    font-size: 14.5px;
    line-height: 1.9;
    position: relative;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0 24px 0 72px;
    border-top: 0 dashed #e0e0e0;
    transition:
        max-height .45s cubic-bezier(0.16, 1, 0.3, 1),
        padding .35s cubic-bezier(0.16, 1, 0.3, 1),
        opacity .3s ease,
        border-top-width .2s ease;
    word-break: break-word;
}
.faq_page_dl dd br { display: block; content: ""; margin-top: 6px; }
.faq_page_dl dd a {
    color: #1a73e8;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: bold;
    word-break: break-all;
}
.faq_page_dl dd a:hover {
    color: #0d47a1;
    text-decoration: none;
    background: rgba(26, 115, 232, 0.08);
    padding: 0 2px;
    margin: 0 -2px;
    border-radius: 3px;
}
.faq_page_dl dd::before {
    content: "A";
    position: absolute;
    left: 20px; top: 20px;
    width: 32px; height: 32px;
    background: #2E8B57;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: -0.02em;
    box-shadow: 0 2px 6px rgba(46, 139, 87, 0.3);
}
.faq_page_dl dl.is-open dd {
    max-height: 1400px;
    opacity: 1;
    padding: 22px 24px 22px 72px;
    border-top-width: 1px;
}
.faq_page_dl mark {
    background: linear-gradient(180deg, transparent 60%, #ffeb3b 60%);
    color: #1a1a1a;
    font-weight: bold;
    padding: 0 2px;
    border-radius: 2px;
}

/* 空の状態 */
.faq_empty {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 40px 0;
}
.faq_empty_icon {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 12px;
    line-height: 1;
}
.faq_empty_title { font-size: 18px; font-weight: bold; margin-bottom: 8px; }
.faq_empty_text { font-size: 14px; color: #888; }

/* CTA は .contact_link（全サイト共通）を使用、専用CSS不要 */

/* レスポンシブ */
@media (max-width: 767px) {
    #faq_page .faq_search_wrap { margin-bottom: 32px; }
    #faq_page input.faq_search_input {
        padding: 22px 62px 22px 62px !important;
        font-size: 16px !important;
    }
    #faq_page .faq_search_icon { left: 24px; width: 22px; height: 22px; }
    #faq_page button.faq_search_clear { right: 16px; width: 34px; height: 34px; }
    .faq_cats_btn { padding: 8px 14px; font-size: 13px; }
    .faq_section_divider { font-size: 11px; margin: 20px 0 10px; }
    .faq_page_dl dt { padding: 18px 58px 18px 58px; font-size: 14px; line-height: 1.6; }
    .faq_page_dl dt::before { left: 14px; width: 28px; height: 28px; font-size: 12px; }
    .faq_page_dl dt .icon { right: 14px; width: 24px; height: 24px; }
    .faq_page_dl dd { padding: 0 18px 0 58px; font-size: 13.5px; line-height: 1.8; }
    .faq_page_dl dl.is-open dd { padding: 18px 18px 18px 58px; }
    .faq_page_dl dd::before { left: 14px; top: 18px; width: 28px; height: 28px; font-size: 12px; }
    .faq_cats_label { padding: 0 20px 6px; font-size: 10px; }
}
