:root {
    --primary-color: #1a365d;
    --secondary-color: #2c5282;
    --accent-color: #ed8936;
    --accent-light: #fbd38d;
    --text-color: #2d3748;
    --bg-light: #f7fafc;
    --white: #ffffff;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
}

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

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

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

/* Header */
.header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a365d 0%, #2a4365 100%);
    color: var(--white);
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.hero .highlight {
    color: var(--accent-light);
    position: relative;
    display: inline-block;
}

.hero .lead {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.hero-image {
    max-width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    background: var(--white);
}

.hero-image img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.02);
}

/* Article Content */
.content {
    background: var(--white);
    padding: 100px 0;
    margin-top: 50px;
    border-radius: 40px 40px 0 0;
}

.intro-box {
    margin-bottom: 60px;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 80px 0 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-light);
    display: inline-block;
}

h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 40px 0 20px;
    display: flex;
    align-items: center;
}

h3::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 24px;
    background: var(--accent-color);
    margin-right: 12px;
    border-radius: 4px;
}

p {
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.section-image {
    width: 100%;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

/* Lead Summary */
.lead-summary {
    background: #ebf8ff;
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 40px 0;
    border-left: 5px solid var(--secondary-color);
}

.lead-summary ul {
    list-style: none;
}

.lead-summary li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
    font-weight: 500;
}

.lead-summary li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

/* CTA Area */
.cta-area {
    text-align: center;
    background: linear-gradient(rgba(237, 137, 54, 0.1), rgba(237, 137, 54, 0.05));
    padding: 50px;
    border-radius: var(--border-radius);
    margin: 60px 0;
}

.cta-text {
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 20px 40px;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 14px 0 rgba(237, 137, 54, 0.39);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(237, 137, 54, 0.5);
    background: #dd6b20;
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.spec-table th, .spec-table td {
    padding: 20px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.spec-table th {
    background: #edf2f7;
    color: var(--primary-color);
    font-weight: 700;
}

.spec-table tr:nth-child(even) {
    background: #f8fafc;
}

/* Balloon Quotes */
.balloon {
    margin: 50px 0;
    display: flex;
    justify-content: center;
}

.balloon-content {
    position: relative;
    background: #fffaf0;
    border: 2px solid var(--accent-light);
    padding: 30px;
    border-radius: 20px;
    max-width: 80%;
    font-style: italic;
    color: #744210;
}

.balloon-content::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    margin-left: -15px;
    border-width: 15px 15px 0;
    border-style: solid;
    border-color: var(--accent-light) transparent;
}

/* Notes */
.note {
    background: #fff5f5;
    padding: 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #c53030;
    margin: 20px 0;
}

/* Markers */
.mk {
    background: linear-gradient(transparent 60%, var(--accent-light) 60%);
    font-weight: 700;
}

/* Process Box */
.process-box {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 40px 0;
}

.process-box h3 {
    margin-top: 0;
}

.process-box ul {
    list-style: decimal;
    padding-left: 25px;
}

.process-box li {
    margin-bottom: 10px;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: 90%;
    max-width: 500px;
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.floating-cta.is-visible {
    transform: translateX(-50%) translateY(0);
}

.floating-cta .cta-button {
    font-size: 1.2rem;
    padding: 15px 30px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(237, 137, 54, 0.5);
    border: 2px solid var(--white);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    margin-top: 100px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.section-image {
    transition: all 0.5s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-image {
        margin-top: 0;
    }
    
    .content {
        padding: 60px 0;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .cta-button {
        font-size: 1.1rem;
        padding: 15px 30px;
    }
}
