/* ----------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
---------------------------------------------------------------- */
:root {
    /* --- Colors --- */
    --clr-primary: #222222;
    --clr-primary-dark: #1a1a1a;
    --clr-accent: #4b3930;
    --clr-accent-light: #927364;
    --clr-bg-light: #f1f1f1;
    --clr-bg-cream: #dbd6d1;
    --clr-white: #ffffff;
    --clr-text: #222222;
    --clr-text-mid: #5a5a5a;
    --clr-text-pale: #888888;
    --clr-border: #dbdbdb;
    --clr-overlay-dark: rgba(29, 26, 25, 0.70);
    --clr-overlay-hero: rgba(20, 18, 17, 0.40);
    --clr-overlay-hero-b: rgba(29, 26, 25, 0.65);

    /* --- Typography --- */
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Oswald', sans-serif;

    /* --- Spacing --- */
    --section-py: 120px;
    --container-max: 1140px;
    --container-px: 60px;

    /* --- Header --- */
    --header-h: 76px;

    /* --- Transitions --- */
    --trans: 0.3s ease;
    --trans-slow: 0.6s ease;
}


/* ----------------------------------------------------------------
   2. RESET & BASE
---------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--font-jp);
    color: var(--clr-text);
    background-color: var(--clr-white);
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity var(--trans);
}

a:hover {
    opacity: 0.72;
}


/* ----------------------------------------------------------------
   3. LAYOUT UTILITIES
---------------------------------------------------------------- */
.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-px);
}

.pc-only {
    display: block;
}

.sp-only {
    display: none;
}

.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.max-w-800 {
    max-width: 800px;
    margin-inline: auto;
}

.max-w-900 {
    max-width: 900px;
    margin-inline: auto;
}

.mt-50 {
    margin-top: 50px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-50 {
    margin-bottom: 50px;
}

.text-center {
    text-align: center;
}

.text-mid {
    color: var(--clr-text-mid);
}

/* PCでの電話番号クリックを無効化 */
@media (min-width: 769px) {
    .contact-tel__link {
        pointer-events: none;
        cursor: default;
    }
}

#main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shadow-img {
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}


/* ----------------------------------------------------------------
   4. SECTION HEADER (title + decorative bar)
---------------------------------------------------------------- */
.section-header {
    margin-bottom: 38px;
}

.section-header--center {
    text-align: center;
}

.section-title {
    font-family: var(--font-en);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--clr-primary);
    line-height: 1;
    margin-bottom: 14px;
}

.section-header--white .section-title {
    color: var(--clr-white);
}

/* Decorative bar under title */
.section-title-bar {
    display: block;
    width: 36px;
    height: 2px;
    background-color: var(--clr-accent-light);
}

.section-header--center .section-title-bar {
    margin-inline: auto;
}

.section-title-ja {
    display: block;
    font-size: 0.75rem;
    color: var(--clr-text-pale);
    letter-spacing: 0.1em;
    margin-top: 10px;
    font-weight: 500;
}

.section-header--white .section-title-ja {
    color: rgba(255, 255, 255, 0.7);
}


/* ----------------------------------------------------------------
   5. BUTTONS
---------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 26px 11px 32px;
    font-family: var(--font-jp);
    font-weight: 500;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background-color var(--trans), color var(--trans), border-color var(--trans);
    border: 1.5px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}

/* Arrow decoration */
.btn::after {
    content: '';
    display: inline-block;
    width: 0.8em;
    height: 0.8em;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='9 18 15 12 9 6' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='9 18 15 12 9 6' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    margin-left: 6px;
    vertical-align: -0.1em;
}

.btn--dark {
    background-color: var(--clr-primary);
    border-color: var(--clr-primary);
    color: var(--clr-white);
}

.btn--dark:hover {
    background-color: var(--clr-accent);
    border-color: var(--clr-accent);
    color: var(--clr-white);
    opacity: 1;
}

.btn--no-arrow::after {
    display: none;
}

.btn--white {
    background-color: var(--clr-white);
    color: var(--clr-primary);
}

.btn--white:hover {
    background-color: var(--clr-accent);
    color: var(--clr-white);
    opacity: 1;
}

.btn--arrow-left {
    padding: 11px 32px 11px 26px;
}

.btn--arrow-left::after {
    display: none;
}

.btn--arrow-left::before {
    content: '';
    display: inline-block;
    width: 0.8em;
    height: 0.8em;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='9 18 15 12 9 6' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='9 18 15 12 9 6' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    transform: scaleX(-1);
    margin-right: 6px;
    vertical-align: -0.1em;
}

.section-more {
    margin-top: 38px;
}

.section-more--center {
    text-align: center;
}


/* ----------------------------------------------------------------
   ヘッダー
---------------------------------------------------------------- */
/* --- 【共通・PC版】ベースの設定 --- */
.site-header {
    display: flex;
    background-color: rgba(26, 25, 25, 1);
    height: 166px; /* PC版：元の高さを維持 */
    justify-content: center;
    align-items: center;
}

.site-header.is-scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
}

/* インナーコンテナの基本設定 */
.site-header__inner {
    width: 100%;
    max-width: 1048px; /* 他のコンテンツと横幅を合わせる */
    padding: 0 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-header__logo {
    height: 86px; /* PC版：元の高さを維持 */
    width: auto; /* 固定幅（313px）を解除し、中身に合わせて柔軟に調整 */
}

.site-header__logo-link {
    display: flex;
    align-items: center;
    flex-direction: column; /* 要望通り、画像と文字を2段縦に並べる設定 */
    justify-content: space-between;
    height: 100%;
}

.site-header__logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* PC版のロゴ画像高さ */
.site-header__logo-mark img {
    height: 25px; /* PC版：元の高さを維持 */
    width: auto;
}

.site-header__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    font-size: 24px; /* PC版：元のサイズ */
}

.site-header__logo-company {
    color: #FFFFFF;
    letter-spacing: 0.04em;
    font-weight: 400;
}


/* --- 【TB版・SP版】ブレイクポイント：1024px以下 --- */
/* タブレット・スマホ環境では、ここから下の設定が自動適用されます */
@media screen and (max-width: 1024px) {

    /* 1. ヘッダー全体の高さを 137px に制限 */
    .site-header {
        height: 137px;
    }

    /* 2. インナーコンテナの高さを 73px に設定 */
    .site-header__inner {
        height: 73px;
    }

    /* 3. ロゴ全体の高さをインナーに収まるよう 73px に同期 */
    .site-header__logo {
        height: 73px;
    }

    /* 4. ロゴマーク内にある img（画像）の高さを 25px に設定 */
    .site-header__logo-mark img {
        height: 25px;
        width: 150px;
    }

    /* 5. ロゴテキストの文字サイズを 20px に変更 */
    .site-header__logo-text {
        font-size: 20px;
    }
}


/* ==========================================================================
   フッター
   ========================================================================== */
.faq-footer {
    background-color: #1A1A1A; /* 画像のダーク背景色 */
    color: #FFFFFF; /* 文字色は白 */
    padding: 40px 0; /* 上下の余白 */
    font-family: sans-serif;
}

/* メインコンテンツの幅（1000px）と揃えるためのインナーコンテナ */
.faq-footer-inner {
    max-width: 1048px; /* コンテンツ1000px + 左右余白48px */
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;
    padding-left: 24px;
}

/* 「カテゴリから探す」見出し */
.faq-footer-title {
    font-size: 16px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

/* カテゴリリスト（Flexboxで横並び、はみ出したら自動改行） */
.faq-footer-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    row-gap: 12px; /* 折り返した時の上下の隙間 */
    column-gap: 24px; /* リンク同士の横の隙間 */
}

/* カテゴリリンク単体 */
.faq-footer-cat-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.2s;
}

/* ホバー時に少し透明にするエフェクト（お好みで変更可） */
.faq-footer-cat-link:hover {
    opacity: 0.7;
}

/* リンクテキストの左側にある「＞」矢印アイコン */
.faq-footer-cat-link i {
    font-size: 11px;
    margin-right: 8px; /* 矢印と文字の間の隙間 */
    color: #FFFFFF;
}

/* 区切り線（細く薄いグレー） */
.faq-footer-divider {
    border: none;
    border-top: 1px solid #333333; /* 境界線の色 */
    margin-top: 30px;
    margin-bottom: 20px;
}

.faq-footer-external-section {
    margin-bottom: 30px;
}

/* コーポレートサイト（外部サイト）リンク */
.faq-footer-external-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.2s;
    gap: 6px;
}

.faq-footer-external-link:hover {
    opacity: 0.7;
}

/* 別タブ（外部リンク）アイコン */
/*
.faq-footer-external-link i {
    font-size: 13px;
    margin-right: 8px;
}
*/

.faq-footer-logo-section {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.site-footer__logo-link {
    display: flex;
    /*height: 100%;*/
    gap: 24px;
    height: 24px;
}

.site-footer__logo-link img {
    height: 18px;
    margin: 3px 0;
}

/* --- 【TB版・SP版】ブレイクポイント：1024px以下 --- */
/* タブレット・スマホ環境では、ここから下の設定が自動適用されます */
@media screen and (max-width: 1024px) {
    .faq-footer {
        padding: 30px 0;
    }

    /* スマホ画面では横並びではなく、縦にスッキリ並べる */
    .faq-footer-cat-list {
        flex-direction: column;
        gap: 16px;
    }

    .faq-footer-logo-section {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

/* ----------------------------------------------------------------
   8. SCROLL REVEAL ANIMATIONS
---------------------------------------------------------------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal-delay="1"] {
    transition-delay: 0.1s;
}

[data-reveal-delay="2"] {
    transition-delay: 0.2s;
}

[data-reveal-delay="3"] {
    transition-delay: 0.3s;
}

[data-reveal-delay="4"] {
    transition-delay: 0.4s;
}


/* ----------------------------------------------------------------
   9. COMMON RESPONSIVE
---------------------------------------------------------------- */
@media (max-width: 900px) {
    :root {
        --section-py: 70px;
        --container-px: 30px;
    }

    .site-nav__link,
    .site-nav__cta-btn,
    .site-header__logo-text {
        /*font-size: 0.8rem;*/
    }

    .site-header__logo-mark {
        /*width: 25px;*/
        height: 150px;
    }
}

@media (max-width: 640px) {
    :root {
        --section-py: 90px;
        --container-px: 20px;
        --header-h: 62px;
    }

    html {
        font-size: 14px;
    }

    .pc-only {
        display: none !important;
    }

    .sp-only {
        display: block !important;
    }

    .site-header__logo-text {
        /*font-size: 0.9rem;*/
    }

    .site-nav {
        display: none;
        position: fixed;
        inset-block-start: var(--header-h);
        inset-inline: 0;
        background-color: rgba(255, 255, 255, 0.98);
        padding: 24px var(--container-px) 36px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .site-nav__link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 13px 0;
        border-bottom: 1px solid var(--clr-border);
        font-size: 0.9rem;
    }

    .site-nav__link::after {
        content: '';
        display: inline-block;
        width: 0.8rem;
        height: 0.8rem;
        background-color: var(--clr-primary);
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='9 18 15 12 9 6' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='9 18 15 12 9 6' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        -webkit-mask-size: contain;
        mask-size: contain;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        position: static;
        transform: none;
        margin-left: 10px;
    }

    .site-nav__item--cta {
        margin-top: 16px;
    }

    .site-nav__cta-btn {
        display: block;
        text-align: center;
        margin-inline-start: 0;
        padding: 13px 20px;
    }

    .nav-toggle {
        display: flex;
    }

    .footer-nav__sep,
    .footer-sub-nav__sep {
        display: none;
    }

    .footer-nav__list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 30px;
        justify-items: center;
    }

    .footer-nav__item:last-child {
        grid-column: 1 / -1;
    }

    .footer-nav__link {
        padding: 5px 10px;
    }
}

/* ----------------------------------------------------------------
   RESPONSIVE (Global / Mini Mobile)
---------------------------------------------------------------- */
@media (max-width: 350px) {
    .btn {
        white-space: normal;
        padding-inline: 20px;
        text-align: center;
        justify-content: center;
        max-width: 100%;
        line-height: 1.4;
    }
}

/* 「Q」アイコンのスタイル */
.common-faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #000000;
    color: #FFFFFF;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0; /* 画面が狭くなってもQが潰れないように */
    opacity: 1;
    border-radius: 100px;
}

/* ==========================================================================
   ページネーション（画像デザイン再現）
   ========================================================================== */
.faq-pagination {
    text-align: center;
    margin-bottom: 64px;
}

/* ページネーションの各アイテム共通（数字・矢印・ドットすべて） */
.faq-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; /* 正方形の幅 */
    height: 36px; /* 正方形の高さ */
    margin: 0 4px; /* アイテム間の余白 */
    color: #333333; /* 通常時の数字の色（ダークグレー） */
    text-decoration: none;
    font-size: 16px; /* 文字の大きさ */
    font-family: sans-serif;
    transition: background-color 0.2s, color 0.2s;
}

/* 通常の数字リンク（ホバー時） */
a.page-numbers:hover {
    background-color: #f0f0f0; /* 薄いグレーの背景 */
    border-radius: 4px; /* ほんの少しだけ角を丸める（不要なら0に） */
}

/* 現在選択されているページ（画像内の「1」のスタイル） */
.faq-pagination .page-numbers.current {
    background-color: #999999; /* 画像通りのグレー背景 */
    color: #FFFFFF; /* 文字色は白 */
    font-weight: normal; /* 太字にせずスッキリと */
    border-radius: 0; /* 画像に合わせてシャープな正方形に */
}

/* 「…」（省略ドット）のスタイル */
.faq-pagination .page-numbers.dots {
    color: #333333;
    cursor: default;
}

/* 矢印（前へ・次へ）のスタイル調整 */
.faq-pagination .page-numbers.prev,
.faq-pagination .page-numbers.next {
    font-size: 18px; /* 矢印を少しだけ見やすく */
    color: #333333;
}

/* 1ページ目で「前へ」の矢印が反応しない（または非表示の）ときの薄い色（画像左側の状態） */
.faq-pagination .page-numbers.prev.disabled,
.faq-pagination .page-numbers.prev:not([href]) {
    color: #E0E0E0; /* 薄いグレー */
    cursor: not-allowed;
}


/* ----------------------------------------------------------------
   パンくずリスト
---------------------------------------------------------------- */
.faq-breadcrumbs {
    font-size: 13px;
    height: 46px;
    margin-bottom: 50px;

    max-width: 1048px; /* コンテンツ1000px + 左右余白48px */
    margin-right: auto; /* 領域全体を中央寄せにする */
    margin-left: auto;
    padding-right: 24px; /* フッターなどと揃えた左右のクッション */
    padding-left: 24px;
}

.faq-breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center; /* 高さ46pxに対して縦方向の中央に揃える */
    height: 100%;
    gap: 8px;
    color: #919191;
}

.faq-breadcrumbs li + li::before {
    content: ">";
    color: #919191;
    margin-right: 8px;
}

.faq-breadcrumbs a {
    color: #000000;
    text-decoration: none;
}

.faq-breadcrumbs a:hover {
    text-decoration: underline;
}

/* ----------------------------------------------------------------
   FAQリスト
---------------------------------------------------------------- */
.faq-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.faq-item {
    border-bottom: 1px solid #f0f0f0;
}

.faq-item:first-child {
    border-top: 1px solid #f0f0f0;
}

/* 質問リンク */
.faq-item-link {
    display: flex;
    align-items: center;
    padding: 24px 10px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}

.faq-item-link:hover {
    background-color: #fafafa;
    color: #85C023;
}

.faq-item-q {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background-color: #e2f0f7;
    color: #85C023;
    font-weight: bold;
    border-radius: 3px;
    margin-right: 12px;
    font-size: 13px;
    flex-shrink: 0;
}

.faq-item-title {
    flex: 1;
    font-size: 16px;
    line-height: 1.4;
}

.faq-item-arrow {
    color: #ccc;
    font-size: 12px;
    margin-left: 10px;
}

/* ----------------------------------------------------------------
   カテゴリ別　一覧ページ
---------------------------------------------------------------- */
.archive-category-header {
    text-align: center;
    margin-bottom: 50px;
}

h1.archive-category-title i {
    color: #85C023;
}


/* ----------------------------------------------------------------
   詳細ページ
---------------------------------------------------------------- */
/* --- FAQ詳細エリア --- */
.faq-detail-article {
    background: #fff;
    margin-bottom: 40px;
}

.faq-detail-question {
    color: #333;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.4;
    margin-bottom: 25px;
    padding-bottom: 15px;
    justify-content: center;
}

.h1-faq-icon {
    font-size: 30px;
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #000000;
    color: #FFFFFF;
    font-weight: bold;
    margin-top: 11px;
    margin-right: 15px;
    flex-shrink: 0;
    opacity: 1;
    border-radius: 100px;
    line-height: 1;
    padding-top: 1px;
}

.faq-a-badge {
    font-size: 30px;
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #FFFFFF;
    color: #000000;
    font-weight: bold;
    margin-top: 11px;
    margin-right: 15px;
    flex-shrink: 0;
    opacity: 1;
    border: 1px solid #000000;
    border-radius: 100px;
    line-height: 1;
    padding-top: 1px;
}

.faq-detail-answer-box {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 25px 20px;
}

.faq-detail-answer-content {
    flex: 1;
    /*font-size: 16px;*/
    color: #333;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 24px; /* エディターの18ptはブラウザ表示で24pxになります */
    line-height: 1.6 !important;
}

/* ⑩ エディタ内の画像や見出しの最低限の装飾追従 */
.faq-detail-answer-content h2 {
    margin-top: 0;
}

.faq-detail-answer-content p {
    margin: 1em 0;
}

.faq-detail-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-detail-answer-content ul,
.faq-detail-answer-content ol {
    padding-left: 40px;
    margin: 1em 0;
}

.faq-detail-answer-content blockquote {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 40px;
    margin-inline-end: 40px;
    unicode-bidi: isolate;
}

.faq-detail-answer-content table {
    display: table;
    box-sizing: border-box;
    border-collapse: separate;
    text-indent: initial;
    unicode-bidi: isolate;
    border-spacing: 2px;
}

.faq-detail-answer-content table td {
    border: 1px dashed #BBB;
}

/* --- ボタン共通 --- */
.common-button-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.common-black-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    color: #FFFFFF;
    background: #1A1919;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s;
}

.common-black-button:hover {
    background: #1A1919;
    color: #FFFFFF;
}

/* --- 戻るボタン --- */
.btn-back {
    height: 51px;
    width: 184px;
}

/* --- ⑪ 関連 / 検索のセクションラッパー --- */
.faq-related-section, .faq-search-section-wrap {
    margin-bottom: 50px;
}

.faq-related-title {
    color: #333;
    margin-bottom: 15px;
}

/* --- お問い合わせフォーム --- */
.section-contact-external {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-text {
    margin-bottom: 20px;
}

.btn-contact {
    height: 51px;
    width: 248px;
}

/* ----------------------------------------------------------------
   検索結果
---------------------------------------------------------------- */
/* --- 検索結果ヘッダーエリア --- */
.search-result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 15px;
}

.search-result-title {
    color: #000000;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.4;
    margin-bottom: 25px;
    padding-bottom: 15px;
    justify-content: center;
}

.search-count-text {
    font-size: 16px;
}

.search-count-text strong {
    font-size: 24px;
    margin: 0 5px;
}

.search-meta-info {
    font-size: 14px;
    color: #000000;
}

.search-meta-info strong {
    color: #85C023;
    font-size: 16px;
}

.search-result-footer {
    display: flex;
    justify-content: flex-end;
}

.result-explanation {
    margin-bottom: 16px;
}

/* 検索結果が0件の時の案内ボックス */
.search-no-results {
    margin-bottom: 70px;
}

.search-no-results-text {
    margin: 0 0 30px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #000000;
}

.search-no-results-hint {
    background-color: #F9FBF3;
}

/* お問い合わせセクションの調整 */
.section-contact-external {
    /*margin-top: 40px;*/
}

/* ----------------------------------------------------------------
   404
---------------------------------------------------------------- */
.not-found-title {
    color: #000000;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.4;
    margin-bottom: 25px;
    padding-bottom: 15px;
    justify-content: center;
}

.not-found-text {
    margin: 0 0 50px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #000000;
}

/* ================================================================
   FAQインクリメンタルサーチ（サジェスト結果）
================================================================ */

/* 1. 検索窓周辺の親要素：基準点の付与とはみ出し許可 */
.faq-search-section-wrap,
.search-form-container,
.search-box,
.search-form,
form[role="search"] {
    position: relative !important;
    overflow: visible !important; /* 横幅・縦方向のはみ出しカットを強制解除 */
}

/* 2. サジェスト結果を格納するコンテナ */
#faq-suggest-results {
    position: absolute !important;
    top: 100% !important; /* 検索窓の直下に配置 */
    left: 0 !important;
    width: 100% !important; /* 検索窓の横幅に100%一致 */
    max-height: 400px !important;
    overflow-y: auto !important;

    /* 初期状態は非表示 */
    display: none;

    /* 不透明度を100%に固定し、背景を白に統一（background-colorに一本化） */
    opacity: 1 !important;
    visibility: visible !important;
    background-color: #ffffff !important;

    /* 枠線と影を強化して境界線をはっきりさせる */
    border: 1px solid #999999 !important;
    border-top: none !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;

    /* 重なり順位を最前面に保証 */
    z-index: 999999 !important;
}

/* 3. JSで結果が注入され、アクティブクラスが付与されたら表示 */
#faq-suggest-results.is-active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 4. リスト・アイテム・リンクの装飾 */
.faq-suggest-list {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    background-color: #ffffff !important;
}

.faq-suggest-item {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #ffffff !important;
}

.faq-suggest-item a {
    display: block !important;
    padding: 14px 15px !important;

    /* 文字色を「濃いグレー」に強制指定 */
    color: #333333 !important;
    text-decoration: none !important;
    border-bottom: 1px solid #eeeeee !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: left !important;
    line-height: 1.4 !important;

    /* 透明化の干渉を徹底ガード（background-colorに一本化） */
    opacity: 1 !important;
    visibility: visible !important;
    background-color: #ffffff !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* マウスホバー時の挙動（背景を薄いグレー、文字を黒に） */
.faq-suggest-item a:hover {
    background-color: #f5f5f5 !important;
    color: #000000 !important;
    opacity: 1 !important;
}

/* 5. 該当する質問がない場合の案内表示 */
.faq-suggest-no-result {
    /*display: block !important;*/
    /*padding: 15px !important;*/
    /*color: #666666 !important;*/
    /*font-size: 14px !important;*/
    /*text-align: center !important;*/
    /*background-color: #fafafa !important;*/
    /*border-bottom: 1px solid #eeeeee !important;*/
    /*opacity: 1 !important;*/
}

/* ==========================================================================
   FAQ本文内のリンク（aタグ）に下線を表示し、視認性を高める設定
   ========================================================================== */
.faq-detail-answer-content a {
    text-decoration: underline !important; /* 強制的に下線を表示 */
    text-underline-offset: 3px; /* 文字と下線の隙間を少し空けて読みやすくする（お好みで） */
    transition: color 0.2s ease; /* マウスホバー時の色変化を滑らかにする */
}

/* マウスを乗せた（ホバーした）ときの挙動 */
.faq-detail-answer-content a:hover {
    text-decoration: none !important; /* ホバー時にあえて下線を消す（または色を大きく変える） */
    opacity: 0.8; /* じんわり薄くして「クリックできる感」を演出 */
}