/* =========================
テーマカラー
========================= */

:root {
    --main: #94171c;
    --dark: #1a1a1a;
    --light: #f7f7f7;
}

/* =========================
基本
========================= */

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #222;
    line-height: 1.8;
}

.section {
    padding: 100px 0;
    scroll-margin-top: 90px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;

}

.section-title-r {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    color: #e60012;
}

.container-narrow {
    max-width: 900px;
    margin: auto;
}

.text-red {
    color: #df0615;

}

.text-bold-red {
    color: #df0615;
    font-weight: bold;
}

.text-hero-red {
    color: #df0615;
    font-weight: bold;
    font-size: 30px;
}


.text-r {
    color: #94171c;
}

.text-bold-r {
    color: #94171c;
    font-weight: bold;
}

/* =========================
ナビ
========================= */

/*
.navbar {
    background: white;
    border-bottom: 1px solid #eee;
}
*/
.navbar {
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}


.navbar-brand {
    font-weight: 700;
    color: var(--main);
}

.nav-link {
    color: #333;
    font-weight: 500;
}

.navbar-brand img {
    height: 40px;
}

.navbar .nav-link {
    color: #333;
    padding: 8px 18px;
    border-radius: 8px;
    transition: all .25s ease;
}

.navbar .nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(4px);
}



/*
.navbar .nav-link {
    color: #000;
    padding: 8px 16px;
    transition: 0.3s;
}

.navbar .nav-link:hover {
    background-color: #000;
    color: #fff;
}
*/

/* =========================
ファーストビュー
========================= */

.hero {
    height: 100vh;
    background: url("../images/img-jiavaluefund.jpg");
    background-size: cover;
    display: flex;
    align-items: center;
    color: #222;

}

.hero h1 {
    font-size: 64px;
    font-weight: 700;

}

.hero p {
    font-size: 22px;
    margin-top: 20px;

}

/* =========================
魅力カード
========================= */

.feature-card {
    padding: 40px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.feature-card-r {
    padding: 40px;
    border-radius: 10px;
    background: #94171c;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
    color: #FFF;
}


/* =========================
背景
========================= */

.bg-soft {
    background: var(--light);

}

/* =========================
CTA
========================= */

.cta-fixed {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;

}

.cta-btn {
    padding: 14px 26px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;

}


.cta-btn:hover {
    background-color: #fff;
    color: #94171c;
}

.cta-contact {
    background: var(--main);
    color: white;

}

.cta-doc {
    background: white;
    border: 1px solid #ddd;
    color: #333;

}

.cta-doc:hover {
    background-color: #2222220d;
    color: #222;
}


.btn-r {
    background: #94171c;
    color: white;

}

.btn-r:hover {
    background-color: #fff;
    color: #94171c;
}


.btn-lg:hover {
    background-color: #2222220d;
    color: #222;
}

/* =========================
画像
========================= */

.image-box {
    text-align: center;

}

.image-box img {
    max-width: 100%;
    border-radius: 6px;

}

/* =========================
問い合わせ
========================= */

.contact-box {
    background: white;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);

}

/* =========================
ディスクレーマー
========================= */

.disclaimer {
    font-size: 18px;
    background: #FFF;
    padding: 50px;
    color: #555;

}

/* =========================
フッター
========================= */

.footer {
    font-size: 12px;
    background: #efefef;
    padding: 50px;
    color: #555;

}

/* =========================
アニメーション
========================= */

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s;

}

.fade-in.show {
    opacity: 1;
    transform: none;

}

/* FAQ */

.accordion-button {
    font-weight: 600;
    padding: 20px;
}

.accordion-body {
    font-size: 16px;
    line-height: 1.8;
}


.accordion-button:not(.collapsed) {
    background-color: rgb(0 0 0 / 10%);

}


/*その他*/

.hex-list {
    list-style: none;
    padding-left: 0;
}

.hex-list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 16px;
    font-weight: bold;
    font-size: 20px;
}

.hex-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 24px;
    height: 20px;
    background: #e60012;
    /* 赤 */
    clip-path: polygon(25% 0%,
            75% 0%,
            100% 50%,
            75% 100%,
            25% 100%,
            0% 50%);
}

.hex-list p {
    margin: 6px 0 0 0;
    font-weight: normal;
}


.feature-card h5::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 18px;
    background: #e60012;
    clip-path: polygon(25% 0%,
            75% 0%,
            100% 50%,
            75% 100%,
            25% 100%,
            0% 50%);
}

.feature-card h5 {
    position: relative;
    padding-left: 36px;
}


.feature-card h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 18px;
    background: #e60012;
    clip-path: polygon(25% 0%,
            75% 0%,
            100% 50%,
            75% 100%,
            25% 100%,
            0% 50%);
}

.feature-card h4 {
    position: relative;
    padding-left: 36px;
    font-weight: bold;
}


.feature-card-r h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 18px;
    background: #ffffff;
    clip-path: polygon(25% 0%,
            75% 0%,
            100% 50%,
            75% 100%,
            25% 100%,
            0% 50%);
}

.feature-card-r h4 {
    position: relative;
    padding-left: 36px;
    font-weight: bold;
}



.feature-card h5 {
    position: relative;
    padding-left: 36px;
    font-weight: bold;
}

.topix-card {
    width: 200px;
    border: 2px solid #1e3a8a;
    /* 青枠 */
    border-radius: 10px;
    overflow: hidden;
    /* 角丸に合わせて中身をクリップ */
    background-color: #fff;
}

.topix-header {
    background-color: #1e3a8a;
    /* 濃い青 */
    color: #fff;
    font-weight: bold;
    padding: 4px 0;
    font-size: 0.9rem;
}

.topix-body {
    padding: 12px 0;
    font-weight: bold;
    font-size: 1.5rem;
    color: #f59e0b;
    /* オレンジ */
}

.strategy-table {
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #d9d9d9;
    background-color: #fff;
    margin: 20px;
}

/* 上部の青帯 */
.strategy-header {
    background: linear-gradient(to bottom, #1e3a8a, #1e40af);
    color: #fff;
    font-weight: bold;
    padding: 10px;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* テーブル全体 */
.strategy-table table {
    margin-bottom: 0;
}

/* 左カラム */
.strategy-table th {
    width: 30%;
    background-color: #f9fbff;
    color: #1e3a8a;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    border-right: 1px dashed #ddd;
}

/* 右カラム */
.strategy-table td {
    width: 70%;
    color: #333;
    line-height: 1.6;
}

/* 行の区切り */
.strategy-table th,
.strategy-table td {
    padding: 12px;
    border-top: 1px solid #eee;
}

/* 最初の行の上線を消す */
.strategy-table tr:first-child th,
.strategy-table tr:first-child td {
    border-top: none;
}

.table-bordered {
    font-size: 16px;
}


.disc-text {
    font-size: 13px;
}


/*手数料等テーブル*/
.custom-table {
    table-layout: fixed;
    width: 100%;
}

.custom-table .label-cell {
    width: 20%;
}

.custom-table .content-cell {
    width: 80%;
}


/*スマホ対応*/

@media (max-width: 768px) {
    .hero {
        background:
            url("../images/img-jiavaluefund-sp.jpg");
        background-size: cover;
        background-position: center;
        height: 85vh;
    }

    .cta-fixed {
        flex-direction: row;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 10px;
        gap: 10px;
    }

    .cta-btn {
        flex: 1;
        /* ← これが重要：均等に広がる */
        text-align: center;
    }

    table thead {
        display: none;
    }

    table,
    tbody,
    tr,
    td {
        display: block;
        width: 100%;
    }

    tr {
        margin-bottom: 1rem;
        border: 1px solid #ddd;
        border-radius: 8px;
        overflow: hidden;
    }

    .side-header {
        writing-mode: horizontal-tb;
        width: 100%;
        padding: 8px;
    }

    .label-cell {
        text-align: left;
        padding: 8px;
        background: #eee;
    }

    .content-cell {
        padding: 10px;
    }

    custom-table {
        table-layout: auto;
    }

    .custom-table .label-cell,
    .custom-table .content-cell {
        width: 100%;
    }

}