:root {
    --primary-color: #d4af37;
    /* Gold */
    --secondary-color: #1a1a1a;
    /* Dark gray */
    --bg-color: #000000;
    /* 完全な黒 */
    --text-color: #e0e0e0;
    --accent-color: #ffcc00;
    --font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    padding: 0 1rem;
}

header {
    width: 100%;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    /* 縦並びに変更 */
    align-items: center;
    /* 中央寄せ */
    background-color: var(--bg-color);
    background-image: none !important;
    height: auto;
}

.banner {
    width: 90%;
    max-width: 600px;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.banner-sub {
    width: 90%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero-intro {
    text-align: center;
    padding: 4rem 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero-copy {
    margin-bottom: 3rem;
    text-align: left;
    display: inline-block;
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid var(--primary-color);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(212, 175, 55, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
}

.hero-copy::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    pointer-events: none;
}

.hero-copy p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.8;
}

.hero-copy .highlight {
    font-size: 1.6rem;
    color: var(--primary-color);
    font-weight: bold;
    text-align: center;
    margin-bottom: 2.5rem;
    display: block;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 1.5rem;
}

.hero-copy strong {
    color: var(--accent-color);
    font-size: 1.3rem;
    text-decoration: underline;
}

.hero-copy .small {
    padding-top: 1.5rem;
    border-top: 1px dashed #444;
    font-size: 1rem;
    color: #aaa;
    margin-bottom: 0;
}

.btn-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -150%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    /* 2.5remから縮小 */
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 1rem auto;
}

.title-image {
    margin-bottom: 2rem;
}

.title-image img {
    max-width: 400px;
    width: 90%;
    height: auto;
    border-radius: 12px;
    /* 角を丸くする */
}

.title-image::after {
    display: none;
}

/* Flex Grid */
.flex-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.card {
    background-color: var(--secondary-color);
    border: 1px solid #333;
    padding: 2rem;
    border-radius: 12px;
    width: 300px;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card-image {
    padding: 1rem;
}

.card-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.no-line::after {
    display: none !important;
}

/* Table Styles */
.result-table-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Tabs */
.result-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.8rem 2rem;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.tab-btn:hover {
    background: rgba(212, 175, 55, 0.1);
}

.tab-btn.active {
    background: var(--primary-color);
    color: #000;
}

.result-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.result-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--secondary-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.result-table th,
.result-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid #333;
}

.result-table th {
    background-color: #2a2a2a;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.result-table tr:last-child td {
    border-bottom: none;
}

.result-table tr:hover {
    background-color: #252525;
}

.payout-cell {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.3rem;
    text-align: right !important;
}

/* Forms */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--secondary-color);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: #2a2a2a;
    border: 1px solid #444;
    color: #fff;
    border-radius: 8px;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid #222;
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.caution {
    font-size: 0.8rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    padding: 0 1rem;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .banner {
        max-width: 100%;
    }

    .hero-intro {
        padding: 3rem 1rem;
    }

    .hero-copy .highlight {
        font-size: 1.3rem;
    }

    .hero-copy p {
        font-size: 1rem;
    }

    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .payout {
        margin-top: 0;
    }
}