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

:root {
    --primary-color: #c9a84c;
    --dark-color: #0a1628;
    --light-bg: #f8f8f8;
    --white: #ffffff;
    --gray: #666;
    --border-color: #d0d0d0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hiragino Kaku Gothic Pro', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.7;
    color: var(--dark-color);
    background: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ===== Header ===== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.logo-img {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-list a {
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.cta-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    transition: background 0.3s;
}

.cta-btn:hover {
    background: #b8973d;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-only {
    display: none;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a2744 100%);
    color: var(--white);
    text-align: center;
    padding: 150px 20px 80px;
    margin-top: 80px;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    margin-top: 5px;
}

.hero-cta {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s;
}

.hero-cta:hover {
    background: #b8973d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 168, 76, 0.3);
}

/* ===== Section Common Styles ===== */
.section {
    padding: 80px 20px;
}

.section:nth-child(even) {
    background: var(--light-bg);
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
}

.section-intro {
    text-align: center;
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.subsection-title {
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--dark-color);
    padding-left: 15px;
    border-left: 4px solid var(--primary-color);
}

/* ===== Challenges Section ===== */
.challenge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.challenge-box {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.challenge-box:hover {
    transform: translateY(-5px);
}

.challenge-number {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    font-size: 18px;
    font-weight: 900;
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.challenge-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.challenge-box p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray);
}

/* ===== Highlight Box ===== */
.highlight-box {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0;
}

.highlight-text {
    font-size: 24px;
    font-weight: 900;
    line-height: 1.6;
}

/* ===== Content Box ===== */
.content-box {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: var(--shadow);
}

.content-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.content-box p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray);
}

/* ===== Data Table ===== */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--white);
    box-shadow: var(--shadow);
}

.data-table thead {
    background: var(--primary-color);
    color: var(--white);
}

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

.data-table th {
    font-weight: 700;
}

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

.highlight-row {
    background: #fff8e1 !important;
}

.highlight-row th,
.highlight-row td {
    font-weight: 700;
}

/* ===== Features Grid ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.feature-item p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* ===== Upsell Flow ===== */
.upsell-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 30px;
    background: var(--light-bg);
    border-radius: 10px;
    margin: 20px 0;
    font-size: 16px;
    font-weight: 700;
}

.upsell-flow i {
    color: var(--primary-color);
    font-size: 24px;
}

/* ===== Revenue Section ===== */
.revenue-calculation {
    text-align: center;
    margin: 40px 0;
}

.calc-formula {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    font-size: 20px;
    font-weight: 700;
    margin: 20px 0;
}

.calc-formula i {
    color: var(--primary-color);
    font-size: 24px;
}

.calc-formula .result {
    color: var(--primary-color);
    font-size: 32px;
}

/* ===== Package Section ===== */
.package-price {
    text-align: center;
    margin: 40px 0;
}

.price-amount {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
}

.price-amount span {
    font-size: 24px;
}

.price-note {
    font-size: 14px;
    color: var(--gray);
    margin-top: 10px;
}

.recovery-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* ===== Benefits Grid ===== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.benefit-item {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.benefit-item p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* ===== Note Box ===== */
.note-box {
    background: #fffef0;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.note-box.warning {
    background: #fff3e0;
    border-left-color: #ff9800;
}

.note-box p {
    font-size: 14px;
    color: var(--gray);
}

.note-box i {
    margin-right: 10px;
    color: #ffc107;
}

.note-box.warning i {
    color: #ff9800;
}

/* ===== Flow Steps ===== */
.flow-steps {
    max-width: 800px;
    margin: 0 auto;
}

.flow-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.step-number {
    min-width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.step-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray);
}

/* ===== Contact Section ===== */
.contact-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* ===== Company Section ===== */
.company-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.company-name {
    font-size: 28px;
    font-weight: 900;
    color: var(--dark-color);
    margin-bottom: 30px;
}

.company-details {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: left;
}

.company-details p {
    font-size: 15px;
    line-height: 2;
    margin-bottom: 20px;
}

.company-details strong {
    color: var(--dark-color);
    font-weight: 700;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 50px 20px 30px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo .logo-img {
    height: 60px;
}

.footer-social {
    margin-bottom: 30px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 24px;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-nav a {
    font-size: 14px;
    transition: color 0.3s;
}

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

.footer-copy {
    font-size: 14px;
    color: var(--gray);
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top:hover {
    background: #b8973d;
    transform: translateY(-3px);
}

.back-to-top.show {
    display: flex;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .mobile-only {
        display: block;
    }

    .header-content {
        padding: 10px 0;
    }

    .logo-img {
        height: 40px;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
        z-index: 999;
    }

    .nav.active {
        max-height: 600px;
        overflow-y: auto;
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    .nav-list li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-list a {
        font-size: 14px;
        padding: 15px 10px;
        display: block;
        width: 100%;
    }

    .mobile-only a {
        color: var(--gray);
        font-size: 13px;
    }

    .cta-btn {
        background: var(--primary-color);
        color: var(--white);
        text-align: center;
        margin: 10px 0 0 0;
        border-radius: 5px;
    }

    .hero {
        padding: 140px 20px 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .section-title {
        font-size: 28px;
    }

    .subsection-title {
        font-size: 20px;
    }

    .challenge-grid,
    .features-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .flow-step {
        flex-direction: column;
        gap: 15px;
    }

    .upsell-flow,
    .calc-formula {
        flex-direction: column;
        gap: 10px;
    }

    .price-amount {
        font-size: 36px;
    }

    .highlight-text {
        font-size: 20px;
    }
}

/* ===== Animation Classes ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}