/* 
  GMO Coin Inspired Design System
  Theme: Trust Blue & Dynamic Orange/Yellow
*/

:root {
    --primary-blue: #0052cc;
    --dark-blue: #003399;
    --navy: #002266;
    --accent-yellow: #ffda00;
    --accent-orange: #ff9900;
    --text-black: #333333;
    --text-gray: #666666;
    --bg-light: #f4f7f8;
    --white: #ffffff;
    --border-color: #e0e6ed;
    --transition: all 0.3s ease;
}

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

body {
    font-family: "Inter", "Noto Sans JP", sans-serif;
    color: var(--text-black);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: var(--dark-blue);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-orange);
    border-radius: 2px;
}

/* Header / Hero Area */
.hero {
    /* 背景画像：黒ベースのマスクに変更 */
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), url('../img/fv_1.png');
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

/* Mesh effect overlay */
.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 153, 0, 0.1) 0%, transparent 40%),
        radial-gradient(circle, rgba(0, 82, 204, 0.1) 0%, transparent 60%);
    animation: meshRotate 20s linear infinite;
    z-index: 1;
}

@keyframes meshRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-catch {
    background: linear-gradient(to right, #ff9900, #ffcc00);
    color: var(--white);
    display: inline-block;
    padding: 8px 25px;
    font-weight: 900;
    border-radius: 50px;
    margin-bottom: 25px;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 35px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    font-family: 'Outfit', sans-serif;
    color: #fff;
}

.hero-title span {
    color: var(--accent-yellow);
    display: block;
    font-size: 1.2rem;
    letter-spacing: 5px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hero-btn-group {
    display: flex;
    gap: 20px;
    margin-bottom: 5px;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.btn-submit {
    flex: 1;
    padding: 18px 15px;
    color: var(--white);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    text-decoration: none;
}

.btn-orange {
    background: linear-gradient(to bottom, #ff9900, #ff6600);
    box-shadow: 0 6px 0 #cc7a00;
}

.btn-white {
    /* 控えめながらも高級感のあるダークネイビー/シルバー調に調整 */
    background: linear-gradient(to bottom, #4a5568, #2d3748);
    color: #ffffff;
    box-shadow: 0 6px 0 #1a202c;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-sub {
    font-size: 0.9rem;
    font-weight: normal;
    opacity: 0.9;
    margin-bottom: 4px;
    display: block;
}

.btn-main {
    font-size: 1.6rem;
    font-weight: 900;
    display: block;
}

.btn-submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-orange:hover {
    box-shadow: 0 8px 0 #cc7a00;
}

.btn-white:hover {
    box-shadow: 0 8px 0 #1a202c;
    background: linear-gradient(to bottom, #56647a, #384459);
}

/* Points Section */
.points-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列×3行の構成へ */
    gap: 20px;
    margin-top: -30px;
    margin-bottom: 60px;
    z-index: 10;
    position: relative;
}

.point-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9fbfc 100%);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #cbd5e0;
    /* 境界線をハッキリと視認できるように調整 */
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.point-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(230, 57, 70, 0.2);
    /* pointラベルと同じレッドをアクセントに微かな着色 */
}

.point-number {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: 900;
    display: block;
    margin-bottom: 10px;
}

.point-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Detail Section */
.section {
    padding: 80px 0;
    background-color: var(--white);
}

.section.bg-gray {
    background-color: var(--bg-light);
}

.feature-box {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.feature-image {
    flex: 1;
    min-width: 300px;
    background-color: #eee;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #999;
}

.feature-content {
    flex: 1;
    min-width: 300px;
}

.feature-tag {
    color: var(--accent-orange);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: block;
}

/* Step Flow */
.flow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 40px;
}

.step {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    position: relative;
}

.step::after {
    content: "▶";
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    font-size: 1rem;
}

.step:last-child::after {
    display: none;
}

.step-number {
    font-size: 0.8rem;
    color: var(--text-gray);
    display: block;
    margin-bottom: 10px;
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Premium Bonus Banner (際立つデザイン) */
.bonus-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); /* 深みのあるダークブルーグレー */
    border: 3px solid #f59e0b;
    padding: 35px 40px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 25px rgba(245, 158, 11, 0.25);
    position: relative;
    overflow: hidden;
    color: #fff;
}

/* 表面を流れる光のアニメーション効果 */
.bonus-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine-effect 5s infinite;
    pointer-events: none;
}

@keyframes shine-effect {
    0% { transform: translateX(-150%) rotate(45deg); }
    20%, 100% { transform: translateX(150%) rotate(45deg); }
}

.bonus-headline {
    font-size: 1.7rem !important;
    font-weight: 900 !important;
    color: #fbbf24 !important; /* 鮮やかなゴールド */
    margin-bottom: 20px !important;
    text-shadow: 0 2px 15px rgba(245, 158, 11, 0.4) !important;
}

.bonus-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.bonus-list li {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    color: #f8fafc !important;
}

.check-icon {
    color: #4ade80;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
}

.bonus-btn {
    width: auto !important;
    padding: 18px 45px !important;
    font-size: 1.25rem !important;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #fff !important;
    font-weight: 900 !important;
    border: none !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.4) !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    white-space: nowrap;
}

.bonus-btn:hover {
    transform: scale(1.06) translateY(-3px) !important;
    filter: brightness(1.1);
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.6) !important;
}

/* Comparison Table */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--white);
}

.compare-table th,
.compare-table td {
    border: 1px solid var(--border-color);
    padding: 15px;
    text-align: center;
}

.compare-table td:nth-child(2) {
    text-align: left; /* ボーナス・特徴カラムのみ左寄せ */
}

.compare-table th {
    background-color: var(--dark-blue);
    color: var(--white);
}

/* Anonymous Guide Section */
.guide-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.guide-card.primary h3 span {
    color: var(--primary-blue);
}

.guide-card.accent h3 span {
    color: var(--accent-orange);
}

.guide-title {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tool-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.tool-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.tool-item:hover {
    background: #fff;
    border-color: var(--primary-blue);
    transform: translateX(5px);
}

.tool-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.tool-info h4 {
    font-size: 1rem;
    color: var(--dark-blue);
    margin-bottom: 4px;
}

.tool-info p {
    font-size: 0.85rem !important;
    color: var(--text-gray);
    margin: 0 !important;
    line-height: 1.4 !important;
    text-align: left !important;
}

.redot-feature-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.redot-feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px; /* 余白を半分に短縮 */
    font-weight: 700;
    color: var(--text-black);
}

.redot-feature-list .check {
    color: var(--accent-orange);
    font-size: 1.2rem;
}

/* FAQ Accordion */
.faq-item {
    background: var(--white);
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
}

.faq-q {
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-q::after {
    content: "▼";
    font-size: 0.8rem;
    transition: var(--transition);
}

.faq-item.active .faq-q::after {
    transform: rotate(180deg);
}

.faq-a {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fafafa;
}

.faq-item.active .faq-a {
    padding: 20px;
    max-height: 500px;
}

/* Footer */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Floating crypto icons */
.crypto-icon {
    position: absolute;
    z-index: 2;
    font-size: 2rem;
    opacity: 0.4;
    pointer-events: none;
    filter: drop-shadow(0 0 10px rgba(255, 218, 0, 0.5));
    animation: floatCrypto var(--duration) ease-in-out infinite;
}

@keyframes floatCrypto {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-btn-group {
        flex-direction: column;
    }

    .flow-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .step::after {
        display: none;
    }

    .bonus-banner {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .points-grid {
        grid-template-columns: 1fr; /* スマホでは1カラムに */
        margin-top: 0;
    }
}

/* Brand Narrative Section (Dark Theme) */
.brand-narrative {
    background: #050810;
    padding: 60px 0;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.narrative-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: center;
    gap: 0;
}

.narrative-content {
    flex: 1.4;
    color: #ffffff;
    z-index: 2;
}

.narrative-title {
    font-size: 2.0rem;
    /* 約90%に縮小 */
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 30px;
}

.accent-neon {
    color: #4ade80;
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
}

.narrative-p {
    font-size: 1.0rem;
    /* 本文も少しコンパクトに */
    line-height: 1.8;
    margin-bottom: 25px;
    color: #cbd5e1;
}

.narrative-mascot {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mascot-img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 30px rgba(74, 222, 128, 0.2));
    animation: floatMascot 6s ease-in-out infinite;
}

.mascot-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.15) 0%, rgba(74, 222, 128, 0) 70%);
    z-index: 1;
    border-radius: 50%;
}

@keyframes floatMascot {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Mobile Optimization */
@media (max-width: 900px) {
    .brand-narrative {
        padding: 80px 0;
    }

    .narrative-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

    /* ガイドセクションのレスポンシブ調整 */
    .section[class*="bg-gray"] .container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .guide-card {
        padding: 30px 20px;
    }

    .narrative-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .narrative-body .lead {
        font-size: 1rem;
    }

    .narrative-mascot {
        width: 60%;
        margin: 0 auto;
    }
}