/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Skip to main content (アクセシビリティ) */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-to-main:focus {
    top: 0;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --gradient-3: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--bg-white);
    overflow-x: hidden;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-2);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-playing {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-header {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ============================================
   Header
   ============================================ */
.header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo h1 {
    font-size: 1.5rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-sub {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.phone a {
    color: var(--primary-color);
    text-decoration: none;
}

.phone a:hover {
    text-decoration: underline;
}

.phone i {
    font-size: 1.5rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    background: url('https://www.genspark.ai/api/files/s/y6J0AgAB') center center / cover no-repeat;
    color: white;
    padding: 6rem 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.75) 0%, rgba(51, 65, 85, 0.75) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    color: #1e293b;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5), 0 6px 12px rgba(0, 0, 0, 0.4);
    font-weight: 900;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    padding: 0.4rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(251, 191, 36, 0.6), 0 3px 6px rgba(0, 0, 0, 0.3);
    color: #1e293b;
    font-weight: 900;
    display: inline-block;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle .emphasis {
    font-size: 2rem;
    font-weight: 900;
    color: #fbbf24;
}

.hero-period {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    color: #1e293b;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.hero-period i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.hero-points {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.hero-point {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-point i {
    font-size: 1.5rem;
    color: #10b981;
    margin-top: 0.2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hero-point span {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-cta .btn-large {
    min-width: 280px;
}

.hero-cta-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ============================================
   Problems Section
   ============================================ */
.problems {
    padding: 6rem 0;
    background: var(--bg-light);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

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

.problem-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.problem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.problem-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ============================================
   Why Now Section
   ============================================ */
.why-now {
    padding: 6rem 0;
    background: white;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.why-card {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.why-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.why-number {
    position: absolute;
    top: -20px;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
    box-shadow: var(--shadow-md);
}

.why-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    color: var(--text-dark);
}

.why-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.why-example {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(37, 99, 235, 0.1);
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* ============================================
   Benefits Section
   ============================================ */
.benefits {
    padding: 6rem 0;
    background: var(--bg-light);
}

.benefits-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.benefit-item {
    display: flex;
    gap: 2rem;
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: var(--gradient-2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.benefit-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefit-text p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.benefit-list i {
    color: var(--secondary-color);
    margin-top: 0.2rem;
}

/* ============================================
   Comparison Section
   ============================================ */
.comparison {
    padding: 6rem 0;
    background: white;
}

.comparison-table-wrapper {
    overflow-x: auto;
    box-shadow: var(--shadow-lg);
    border-radius: 20px;
    margin-bottom: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.comparison-table thead {
    background: var(--gradient-2);
    color: white;
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table tbody tr:hover {
    background: var(--bg-light);
}

.comparison-table .highlight-col {
    background: rgba(37, 99, 235, 0.1);
    font-weight: 700;
    color: var(--text-dark);
}

.comparison-table strong {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 900;
}

.comparison-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--info-color);
    border-radius: 5px;
}

.comparison-note i {
    color: var(--info-color);
    margin-top: 0.2rem;
}

/* ============================================
   Simulation Section
   ============================================ */
.simulation {
    padding: 6rem 0;
    background: var(--bg-light);
}

.simulation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.simulation-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

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

.simulation-type {
    background: var(--gradient-2);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.simulation-card h3 {
    padding: 1.5rem;
    font-size: 1.4rem;
    text-align: center;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-color);
}

.simulation-details {
    padding: 1.5rem;
}

.simulation-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px dashed var(--border-color);
}

.simulation-row .label {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.simulation-row .value {
    font-weight: 600;
    color: var(--text-dark);
}

.simulation-row .bold {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 900;
}

.simulation-highlight {
    margin-top: 1.5rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 15px;
    padding: 1.5rem;
}

.simulation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.simulation-item .item-label {
    font-size: 0.95rem;
    color: var(--text-gray);
}

.simulation-item .item-value {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text-dark);
}

.simulation-item .item-value.primary {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.simulation-item .percent {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 600;
}

.simulation-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(245, 158, 11, 0.1);
    font-size: 0.9rem;
}

.simulation-note i {
    color: var(--warning-color);
    margin-top: 0.1rem;
}

/* ============================================
   Case Studies Section
   ============================================ */
.case-studies {
    padding: 6rem 0;
    background: white;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.case-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.case-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.case-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.case-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.case-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.case-detail {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.case-challenge,
.case-solution,
.case-result {
    margin-bottom: 1.5rem;
}

.case-challenge h4,
.case-solution h4,
.case-result h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.case-challenge i {
    color: var(--danger-color);
}

.case-solution i {
    color: var(--warning-color);
}

.case-result i {
    color: var(--secondary-color);
}

.case-challenge p,
.case-solution p {
    color: var(--text-gray);
    line-height: 1.6;
}

.case-result ul {
    list-style: none;
}

.case-result li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    color: var(--text-gray);
    position: relative;
}

.case-result li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 900;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq {
    padding: 6rem 0;
    background: var(--bg-light);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question i:first-child {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.faq-question i:last-child {
    margin-left: auto;
    color: var(--text-gray);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i:last-child {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ============================================
   Risks Section
   ============================================ */
.risks {
    padding: 6rem 0;
    background: white;
}

.risks-content {
    max-width: 1000px;
    margin: 0 auto;
}

.risk-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(239, 68, 68, 0.05);
    border-left: 4px solid var(--danger-color);
    border-radius: 10px;
}

.risk-intro p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1.05rem;
}

.risks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.risk-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.risk-card:hover {
    box-shadow: var(--shadow-lg);
}

.risk-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.risk-icon.danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.risk-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.risk-icon.info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info-color);
}

.risk-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.risk-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.risk-action {
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.risks-conclusion {
    margin-top: 3rem;
}

.conclusion-box {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    padding: 2.5rem;
}

.conclusion-box h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.conclusion-box i {
    color: var(--secondary-color);
    font-size: 2rem;
}

.conclusion-box ul {
    list-style: none;
}

.conclusion-box li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    color: var(--text-gray);
    position: relative;
    line-height: 1.6;
}

.conclusion-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 900;
}

/* ============================================
   Why Us Section
   ============================================ */
.why-us {
    padding: 6rem 0;
    background: var(--bg-light);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.why-us-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.why-us-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.why-us-number {
    position: absolute;
    top: -20px;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 900;
    box-shadow: var(--shadow-md);
}

.why-us-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.why-us-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.why-us-card > p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.why-us-list {
    list-style: none;
}

.why-us-list li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.why-us-list i {
    color: var(--secondary-color);
    margin-top: 0.3rem;
}

/* ============================================
   Flow Section
   ============================================ */
.flow {
    padding: 6rem 0;
    background: white;
}

.flow-steps {
    max-width: 800px;
    margin: 0 auto;
}

.flow-step {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.flow-step:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.flow-step-number {
    position: absolute;
    top: -20px;
    left: 2rem;
    background: var(--gradient-2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.flow-step-content {
    margin-top: 1rem;
}

.flow-step-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.flow-step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.flow-step p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.flow-time {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.flow-arrow {
    text-align: center;
    padding: 1.5rem 0;
    color: var(--primary-color);
    font-size: 2rem;
}

.flow-note {
    margin-top: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--info-color);
    border-radius: 10px;
}

.flow-note i {
    color: var(--info-color);
    font-size: 1.5rem;
    margin-top: 0.1rem;
}

.flow-note p {
    color: var(--text-dark);
    line-height: 1.7;
}

/* ============================================
   Hidden Audio Player (Modal)
   ============================================ */
.hidden-audio-player {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.audio-player-modal {
    width: 90%;
    max-width: 600px;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.audio-player-modal-content {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.audio-player-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.audio-player-close:hover {
    background: var(--danger-color);
    color: white;
    transform: rotate(90deg);
}

.audio-player-modal-content h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.audio-player-modal-content h3 i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.audio-subtitle {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.audio-embed-container {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 15px;
}

.audio-embed-container iframe {
    border-radius: 10px;
}

/* ============================================
   Audio Player Section (削除済み - 念のため残す)
   ============================================ */
.audio-player-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
}

.audio-player-section .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.audio-player-section .section-title i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.audio-player-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 30px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.audio-player-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
}

.audio-player-description h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.audio-player-description h3 i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.audio-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.audio-benefits li {
    padding: 0.75rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-gray);
    line-height: 1.6;
    border-bottom: 1px dashed var(--border-color);
}

.audio-benefits li:last-child {
    border-bottom: none;
}

.audio-benefits i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.audio-time {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 50px;
    font-weight: 700;
    color: var(--text-dark);
}

.audio-time i {
    color: var(--warning-color);
    font-size: 1.2rem;
}

.audio-player-embed {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 20px;
    padding: 1rem;
}

.audio-player-embed iframe {
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.audio-cta {
    padding: 2.5rem 3rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    text-align: center;
    border-top: 2px solid var(--border-color);
}

.audio-cta-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.audio-cta-text i {
    color: var(--info-color);
    font-size: 1.5rem;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: 6rem 0;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 1.5rem;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.contact-info-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.contact-phone {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

.contact-hours {
    font-size: 0.95rem;
    color: var(--text-gray);
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.required {
    color: var(--danger-color);
    font-size: 0.85rem;
    background: rgba(239, 68, 68, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    margin-left: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
    font-style: italic;
}

.form-privacy {
    margin: 1.5rem 0;
}

.form-privacy label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    cursor: pointer;
}

.form-privacy input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.form-privacy a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-company h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.footer-company p {
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-info p {
    margin: 0.75rem 0;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-info a {
    color: white;
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-info i {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ============================================
   Scroll to Top Button
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-2);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }

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

    .why-us-grid,
    .problems-grid,
    .simulation-grid,
    .case-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.75rem 0;
    }

    .header-content {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .logo {
        text-align: center;
    }

    .logo h1 {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
    }

    .logo-sub {
        font-size: 0.8rem;
    }

    .header-contact {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
    }

    .phone {
        font-size: 1.1rem;
        white-space: nowrap;
    }

    .phone i {
        font-size: 1.1rem;
    }

    .btn-header {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

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

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

    .hero-subtitle .emphasis {
        font-size: 1.3rem;
    }

    .hero-period {
        font-size: 0.95rem;
        padding: 0.6rem 1.2rem;
    }

    .hero-period i {
        font-size: 1.1rem;
    }

    /* ヒーローポイントを2つに削減 */
    .hero-points {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-point:nth-child(3) {
        display: none;
    }

    .hero-point {
        max-width: 100%;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Problems: 3つに削減 */
    .problems-grid .problem-card:nth-child(n+4) {
        display: none;
    }

    /* Why Now: そのまま3つ表示 */
    .why-grid {
        grid-template-columns: 1fr;
    }

    /* Benefits: 最初の2つのみ表示 */
    .benefit-item:nth-child(n+3) {
        display: none;
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
    }

    .benefit-icon {
        margin: 0 auto;
    }

    /* Comparison: テーブルを簡略化 */
    .comparison-table {
        font-size: 0.75rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem 0.3rem;
    }

    /* Simulation: 2つに削減 */
    .simulation-grid {
        grid-template-columns: 1fr;
    }

    .simulation-card:nth-child(n+3) {
        display: none;
    }

    /* Case Studies: 2つに削減 */
    .case-grid {
        grid-template-columns: 1fr;
    }

    .case-card:nth-child(n+3) {
        display: none;
    }

    /* FAQ: 5つに削減 */
    .faq-item:nth-child(n+6) {
        display: none;
    }

    /* Risks: 4つに削減 */
    .risks-grid {
        grid-template-columns: 1fr;
    }

    .risk-card:nth-child(n+5) {
        display: none;
    }

    /* Why Us: 3つに削減 */
    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .why-us-card:nth-child(n+4) {
        display: none;
    }

    /* Flow: 3ステップに削減 */
    .flow-step:nth-child(n+7) {
        display: none;
    }

    .flow-arrow:nth-child(6),
    .flow-arrow:nth-child(8) {
        display: none;
    }

    .flow-step-number {
        left: 50%;
        transform: translateX(-50%);
    }

    .audio-player-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .audio-cta {
        padding: 2rem;
    }

    .hero-cta {
        gap: 0.75rem;
    }

    .hero-cta .btn-large {
        min-width: 100%;
    }

    .audio-player-modal {
        width: 95%;
        max-width: none;
    }

    .audio-player-modal-content {
        padding: 2rem 1.5rem;
    }

    .audio-player-modal-content h3 {
        font-size: 1.3rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.6rem 0;
    }

    .logo h1 {
        font-size: 1rem;
    }

    .logo-sub {
        font-size: 0.7rem;
    }

    .phone {
        font-size: 1rem;
    }

    .phone i {
        font-size: 1rem;
    }

    .btn-header {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .hero {
        padding: 2.5rem 0;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

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

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

    .hero-subtitle .emphasis {
        font-size: 1.3rem;
    }

    .hero-period {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .hero-period i {
        font-size: 1rem;
    }

    .hero-point {
        font-size: 0.9rem;
        padding: 0.8rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .contact-phone {
        font-size: 1.5rem;
    }

    .audio-player-content {
        padding: 1.5rem;
    }

    .audio-player-description h3 {
        font-size: 1.2rem;
    }

    .audio-benefits li {
        font-size: 0.95rem;
    }

    .audio-cta {
        padding: 1.5rem;
    }

    .audio-cta-text {
        font-size: 1rem;
        flex-direction: column;
        text-align: center;
    }

    .audio-player-modal-content {
        padding: 1.5rem 1rem;
    }

    .audio-player-modal-content h3 {
        font-size: 1.1rem;
    }

    .audio-subtitle {
        font-size: 0.9rem;
    }

    .audio-player-close {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}
