/* =========================================================================
   # Design System
   ========================================================================= */

:root {
    /* Colors */
    --color-primary: #1A365D;    /* Deep Blue - Trust */
    --color-primary-light: #2C5282;
    --color-accent: #C5A059;     /* Gold - Premium */
    --color-accent-blue: #00B5AD; /* Cyan - High-end Tech */
    --color-bg: #FFFFFF;
    --color-bg-light: #F8FAFC;
    --color-text-main: #334155;
    --color-text-dark: #0F172A;
    --color-white: #FFFFFF;
    --color-campaign: #E53E3E;   /* Red for alert/campaign */

    /* Typography */
    --font-heading: 'Noto Serif JP', serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* =========================================================================
   # Reset & Base
   ========================================================================= */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

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

.text-bold { font-weight: 700; }
.bg-light { background-color: var(--color-bg-light); }

/* =========================================================================
   # Components
   ========================================================================= */

/* Campaign Bar */
.campaign-bar {
    background-color: var(--color-campaign);
    color: var(--color-white);
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    position: sticky;
    top: 0;
    z-index: 1010;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px 0;
    position: sticky;
    top: 40px; /* Below campaign bar */
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary);
}

.logo span { color: var(--color-accent); font-weight: 300; }

.logo-icon { color: var(--color-primary); width: 28px; height: 28px; }

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

.nav-list { display: flex; gap: 20px; }

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

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

.header-contact-btn { padding: 10px 20px; font-size: 0.9rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

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

.btn-cta {
    background-color: var(--color-accent-blue);
    color: var(--color-white);
    border-bottom: 4px solid rgba(0,0,0,0.1);
}

.btn-cta:hover {
    background-color: #008D87;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-trust-text {
    margin-top: 15px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.8;
}

.cta-trust-text.white { color: var(--color-white); opacity: 1; }
.cta-trust-text.dark { color: var(--color-text-dark); opacity: 0.6; }

.btn-large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

.btn-block { width: 100%; }

/* Badge & Tag */
.badge-container {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.partner-badge {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 5px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
}

.price-highlight-tag {
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 5px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3);
}

.price-tag-wrapper {
    margin-bottom: 20px;
}

/* =========================================================================
   # Sections
   ========================================================================= */

.section { padding: 100px 0; }

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-main);
    opacity: 0.8;
}

/* Hero (FV) */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F4F8 100%);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    margin-bottom: 35px;
}

.hero-sub-title {
    display: block;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.hero-main-title {
    display: block;
    font-size: 4rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero-title .highlight {
    color: var(--color-primary);
    position: relative;
    z-index: 1;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 15px;
    background-color: rgba(197, 160, 89, 0.2);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-trust-elements {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    font-weight: 700;
    color: var(--color-primary);
    flex-wrap: wrap;
}

.hero-trust-elements i { vertical-align: middle; margin-right: 4px; }

.hero-visual img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-card {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.stat-number span { font-size: 1.2rem; margin-left: 5px; }

/* Pricing */
.pricing-one-screen {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: stretch;
}

.pricing-card.featured {
    background-color: var(--color-white);
    padding: 60px 40px;
    border-radius: 16px;
    border: 2px solid var(--color-accent);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}

.pricing-header { text-align: center; margin-bottom: 40px; }

.plan-name {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 5px 20px;
    border-radius: 4px;
    font-weight: 700;
    margin-bottom: 20px;
}

.plan-price {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-primary);
}

.plan-price span { font-size: 6rem; line-height: 1; }

.plan-features { margin-bottom: 40px; flex-grow: 1; }

.plan-features li {
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features i { color: var(--color-accent-blue); }

.comp-table-wrapper {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.comp-title {
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
}

.comp-table th, .comp-table td {
    padding: 20px 10px;
    border-bottom: 1px solid #E2E8F0;
    text-align: center;
}

.comp-highlight {
    background-color: rgba(0, 181, 173, 0.08); /* Stronger accent for company */
    border-left: 2px solid var(--color-accent-blue);
    border-right: 2px solid var(--color-accent-blue);
    position: relative;
}

th.comp-highlight {
    border-top: 4px solid var(--color-accent-blue);
}

td.comp-highlight.text-bold {
    color: var(--color-primary);
    font-size: 1.1rem;
}

/* Cases */
.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.case-card {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.case-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.case-user-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.case-company { font-weight: 700; font-size: 1.1rem; color: var(--color-primary); }
.case-meta { font-size: 0.85rem; opacity: 0.7; }

/* Contact Section */
.cta-box {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 80px 40px;
    border-radius: 20px;
    text-align: center;
}

.cta-box-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-box-desc { font-size: 1.2rem; margin-bottom: 40px; opacity: 0.9; }

.contact-form-wrapper { max-width: 600px; margin: 0 auto; }

.simple-form { display: grid; gap: 20px; }

.form-control {
    width: 100%;
    padding: 18px;
    border-radius: 4px;
    border: none;
    font-size: 1rem;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    background-color: #0F172A;
    color: #94A3B8;
}

/* =========================================================================
   # Floating & Fixed UI
   ========================================================================= */

.floating-cta-pc {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.floating-btn {
    background-color: var(--color-accent-blue);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.fb-text { font-size: 0.7rem; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,0.3); margin-bottom: 4px; }
.fb-main { font-size: 0.95rem; font-weight: 800; }

.fixed-cta-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 -10px 20px rgba(0,0,0,0.1);
    z-index: 1000;
}

/* =========================================================================
   # Responsive
   ========================================================================= */

@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
}

@media (max-width: 768px) {
    .header-contact-btn, .nav { display: none; }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .badge-container { justify-content: center; }

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

    .hero-trust-elements { justify-content: center; }

    .stats-grid { grid-template-columns: 1fr; }

    .pricing-one-screen { grid-template-columns: 1fr; }

    .pricing-card.featured { padding: 40px 20px; }

    .case-grid { grid-template-columns: 1fr; }

    .cta-box-title { font-size: 2rem; }

    .fixed-cta-mobile { display: block; }

    .floating-cta-pc { display: none; }

    .section { padding: 60px 0; }
}

/* =========================================================================
   # Animations
   ========================================================================= */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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