/*
 * VisaSupport Style Sheet - Modern & Responsive Design
 * フォント: Google Fonts (Noto Sans JP) を想定
 */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700&display=swap');

:root {
    --primary-color: #0056b3; /* Deep Blue for Trust */
    --secondary-color: #6c757d; /* Gray */
    --accent-color: #ff6b6b; /* Bright Red for urgency/CTA */
    --background-light: #f8f9fa;
    --background-dark: #212529;
    --text-dark: #212529;
    --text-light: #ffffff;
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.15);
    --border-radius: 10px;
}

/* Base Styles */
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--text-light);
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* 横スクロール防止 */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; border-bottom: 3px solid var(--primary-color); padding-bottom: 0.3em; margin-bottom: 1em; }
h3 { font-size: 1.5rem; color: var(--primary-color); }
.lead { font-size: 1.25rem; font-weight: 300; margin-bottom: 1.5rem; }

/* Header & Navigation */
.header {
    background-color: var(--text-light);
    box-shadow: var(--shadow-light);
    padding: 15px 0;
    position: relative; /* 固定解除 */
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    margin-left: 20px;
    padding: 5px 0;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 450px; /* PCでの高さ */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
    margin-bottom: 30px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.35); /* 画像を暗くしてテキストを読みやすく */
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.6rem;
    font-weight: 300;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Buttons (CTA) */
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.25rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: var(--shadow-heavy);
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.4);
}

/* Data Points Section */
.data-point {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.1em;
}

.data-label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary-color);
}

/* Review Cards (Testimonials) */
.review-card {
    background-color: var(--text-light);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-bottom: 20px;
    border-left: 5px solid var(--accent-color);
    transition: transform 0.3s ease;
    height: 100%; /* 高さ揃え */
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.review-stars {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* FAQ Section (Accordion Style) */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.faq-question {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 18px 25px;
    cursor: pointer;
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #0056b3;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: var(--text-light);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* 適切な値に調整 */
    padding: 15px 25px;
}

/* CTA Section (Emphasis) */
.cta-section {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 6rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--accent-color);
    border-bottom: none;
    font-size: 2.5rem;
}

.cta-section .btn {
    background-color: var(--accent-color);
    color: var(--text-dark);
    font-weight: 700;
    box-shadow: var(--shadow-heavy);
    margin-top: 20px;
}

.cta-section .btn:hover {
    background-color: #ffda6a;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.5);
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 40px 0 20px;
    font-size: 0.9rem;
}

.footer h4 {
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Utility Classes */
.text-center { text-align: center; }
.py-5 { padding: 4rem 0; }
.my-4 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-3 { margin-top: 1rem; }
.mb-5 { margin-bottom: 3rem; }
.table {
    width: 100%;
    margin-bottom: 1rem;
    color: var(--text-dark);
    border-collapse: collapse;
}

.table th, .table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.col-lg-4, .col-md-6, .col-12 {
    padding: 15px;
}

/* Responsive Design (Mobile First) */
@media (min-width: 992px) {
    .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
}

@media (min-width: 768px) {
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
}

@media (max-width: 991px) {
    .nav-links {
        display: none; /* モバイルではナビゲーションを非表示 */
    }

    .navbar {
        justify-content: center; /* ロゴを中央に */
    }
}

@media (max-width: 767px) {
    .hero {
        height: 350px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.3rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .lead { font-size: 1.1rem; }

    .col-lg-4, .col-md-6 { flex: 0 0 100%; max-width: 100%; }
    
    .data-point {
        font-size: 3rem;
    }

    .cta-section {
        padding: 4rem 0;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.75rem;
    }

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

    .btn-lg {
        padding: 15px 30px;
        font-size: 1.1rem;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .review-meta {
        margin-top: 5px;
    }
}
