/* ===================================
   CSS Variables / Root
   =================================== */
:root {
    --primary: #0066CC;
    --primary-dark: #004C99;
    --primary-light: #E8F4FD;
    --accent: #FF6B35;
    --accent-dark: #E5552A;
    --accent-light: #FFF3ED;
    --green: #00B894;
    --green-light: #E6F9F4;
    --red: #E74C3C;
    --red-light: #FDECEB;
    --yellow: #FFD93D;
    --yellow-light: #FFFBE6;
    --dark: #1A1A2E;
    --dark-gray: #333333;
    --gray: #666666;
    --light-gray: #999999;
    --border: #E0E0E0;
    --bg: #FFFFFF;
    --bg-light: #F8FAFB;
    --bg-dark: #0F1923;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 12px 60px rgba(0,0,0,0.16);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

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

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

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

.pc-only {
    display: inline;
}

.sp-only {
    display: none;
}

/* ===================================
   Header
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--dark);
    text-decoration: none;
}

.logo:hover {
    color: var(--dark);
}

.logo i {
    font-size: 1.6rem;
    color: var(--primary);
}

.logo small {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--light-gray);
    display: block;
    line-height: 1;
}

.nav-desktop {
    display: flex;
    gap: 24px;
}

.nav-desktop a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray);
    position: relative;
    padding: 4px 0;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.nav-desktop a:hover::after {
    width: 100%;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: var(--accent);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    transition: var(--transition);
}

.header-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,107,53,0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    background: #fff;
    padding: 16px 20px;
    border-top: 1px solid var(--border);
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile a {
    padding: 12px 0;
    font-size: 0.95rem;
    color: var(--dark-gray);
    border-bottom: 1px solid var(--border);
}

.nav-mobile-cta {
    margin-top: 12px;
    text-align: center;
    padding: 12px !important;
    background: var(--accent);
    color: #fff !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border-bottom: none !important;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: 2px solid transparent;
    border-radius: 50px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    line-height: 1.4;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,107,53,0.35);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,107,53,0.5); }
    70% { box-shadow: 0 0 0 15px rgba(255,107,53,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,107,53,0); }
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a1628 0%, #0d2847 30%, #0066CC 70%, #0088EE 100%);
    color: #fff;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    background: #fff;
}

.shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 20%;
    animation: float 6s ease-in-out infinite 2s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,184,148,0.2);
    border: 1px solid rgba(0,184,148,0.4);
    color: #55efc4;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    animation: fadeInUp 0.8s ease;
}

.hero-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.badge-expert {
    background: rgba(255,215,61,0.2);
    border: 1px solid rgba(255,215,61,0.4);
    color: var(--yellow);
}

.hero-sub {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-main {
    display: block;
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.3;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-main em {
    font-style: normal;
    background: linear-gradient(transparent 60%, rgba(255,215,61,0.4) 60%);
    padding: 0 4px;
}

.hero-desc {
    margin-top: 24px;
    font-size: 1.05rem;
    line-height: 1.9;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-numbers {
    display: flex;
    gap: 40px;
    margin-top: 36px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-number {
    text-align: center;
}

.number-value {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--yellow);
    line-height: 1;
}

.number-unit {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--yellow);
}

.number-label {
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 4px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-trust {
    display: flex;
    gap: 24px;
    margin-top: 28px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    opacity: 0.7;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.hero-scroll a {
    color: rgba(255,255,255,0.5);
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

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

/* ===================================
   Section Header
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header.light {
    color: #fff;
}

.section-header.light h2 {
    color: #fff;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-header.light .section-tag {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.4;
}

.text-accent {
    color: var(--primary);
}

.section-desc {
    margin-top: 12px;
    font-size: 1rem;
    opacity: 0.8;
}

/* ===================================
   Problem Section
   =================================== */
.problem {
    padding: 100px 0 60px;
    background: var(--bg-light);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.problem-card {
    background: #fff;
    padding: 28px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--red);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.problem-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.problem-icon {
    font-size: 1.8rem;
    color: var(--red);
    margin-bottom: 12px;
}

.problem-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.problem-card strong {
    color: var(--red);
}

.problem-arrow {
    text-align: center;
    margin-top: 50px;
}

.arrow-down {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    margin-bottom: 20px;
}

.problem-solution-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.problem-solution-text strong {
    background: linear-gradient(transparent 60%, rgba(255,215,61,0.3) 60%);
    padding: 0 4px;
}

.problem-solution-sub {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--green);
    background: var(--green-light);
    padding: 8px 20px;
    border-radius: 50px;
}

.problem-solution-sub i {
    font-size: 1rem;
}

/* ===================================
   Legal Section
   =================================== */
.legal-section {
    padding: 80px 0;
    background: #fff;
}

.legal-box {
    background: linear-gradient(135deg, #f8fafb 0%, #eef5fb 100%);
    border: 2px solid var(--primary-light);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    text-align: center;
    position: relative;
}

.legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green);
    color: #fff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.legal-box h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}

.highlight-yellow {
    background: linear-gradient(transparent 50%, rgba(255,215,61,0.35) 50%);
    padding: 0 6px;
}

.legal-box > p {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 2;
}

.legal-emphasis {
    font-style: normal;
    font-weight: 700;
    color: var(--primary);
}

.legal-compare {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
}

.legal-compare-item {
    flex: 1;
    padding: 30px 24px;
    border-radius: var(--radius-md);
    text-align: left;
}

.legal-compare-item.bad {
    background: var(--red-light);
    border: 2px solid rgba(231,76,60,0.2);
}

.legal-compare-item.good {
    background: var(--green-light);
    border: 2px solid rgba(0,184,148,0.2);
}

.compare-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.legal-compare-item.bad .compare-header {
    color: var(--red);
}

.legal-compare-item.good .compare-header {
    color: var(--green);
}

.compare-header i {
    font-size: 1.3rem;
}

.legal-compare-item ul li {
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-left: 20px;
    position: relative;
}

.legal-compare-item ul li::before {
    content: '•';
    position: absolute;
    left: 0;
}

.legal-compare-item.bad ul li {
    color: var(--red);
}

.legal-compare-item.good ul li {
    color: var(--green);
}

.legal-compare-vs {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--light-gray);
    padding: 0 16px;
}

/* ===================================
   Merit Section
   =================================== */
.merit {
    padding: 100px 0;
    background: #fff;
}

.merit-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.merit-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--border);
    transition: var(--transition);
    opacity: 0;
    transform: translateX(-30px);
}

.merit-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.merit-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.merit-item.visible:hover {
    transform: translateX(5px);
}

.merit-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
    min-width: 50px;
}

.merit-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
}

.merit-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.merit-body p {
    font-size: 0.92rem;
    color: var(--gray);
    line-height: 1.8;
}

.merit-body strong {
    color: var(--primary);
}

/* ===================================
   Simulation Section
   =================================== */
.simulation {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a1628 0%, #0d2847 50%, #0066CC 100%);
}

.sim-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.sim-input-area {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sim-input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
}

.sim-input-field {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255,107,53,0.4);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.sim-input-display {
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    color: var(--yellow);
}

.sim-input-display span:last-child {
    font-size: 1rem;
    font-weight: 500;
}

.sim-select-wrap select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: var(--font);
    font-size: 0.95rem;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.sim-select-wrap select option {
    background: var(--dark);
    color: #fff;
}

.sim-result-area {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.sim-result-placeholder {
    text-align: center;
    color: rgba(255,255,255,0.4);
}

.sim-result-placeholder i {
    font-size: 2rem;
    margin-bottom: 16px;
}

.sim-result-placeholder p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.sim-result-content {
    width: 100%;
    text-align: center;
    animation: fadeInUp 0.5s ease;
}

.sim-result-title {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}

.sim-result-saving {
    font-size: 3rem;
    font-weight: 900;
    color: var(--yellow);
    line-height: 1.2;
    margin-bottom: 4px;
}

.sim-result-saving small {
    font-size: 1rem;
    font-weight: 500;
}

.sim-result-monthly {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 30px;
}

.sim-result-bars {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.sim-bar-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sim-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

.sim-bar-label strong {
    color: #fff;
    font-weight: 700;
}

.sim-bar {
    height: 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    overflow: hidden;
}

.sim-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sim-bar-fill.kokuho {
    background: linear-gradient(90deg, #E74C3C, #FF6B6B);
}

.sim-bar-fill.shakai {
    background: linear-gradient(90deg, #00B894, #55EFC4);
}

.sim-result-note {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    margin-top: 20px;
}

.sim-result-cta {
    margin-top: 24px;
}

.sim-note {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-top: 20px;
}

/* ===================================
   System Section
   =================================== */
.system {
    padding: 100px 0;
    background: var(--bg-light);
}

.system-diagram {
    max-width: 700px;
    margin: 0 auto;
}

.system-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 28px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.system-step.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.system-step.result {
    background: linear-gradient(135deg, var(--primary-light) 0%, #e0f0ff 100%);
    border-color: var(--primary);
}

.system-step-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.system-step.result .system-step-icon {
    background: var(--accent);
}

.system-step-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.system-step-content p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.8;
}

.system-step-content strong {
    color: var(--primary);
}

.system-arrow {
    text-align: center;
    padding: 12px 0;
    color: var(--primary);
    font-size: 1.3rem;
    opacity: 0.4;
}

/* ===================================
   Compare Table Section
   =================================== */
.compare-section {
    padding: 100px 0;
    background: #fff;
}

.compare-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.compare-table th,
.compare-table td {
    padding: 16px 20px;
    font-size: 0.9rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.compare-table thead th {
    background: var(--dark);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
}

.compare-table thead th small {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.7;
}

.compare-table thead th.bad-col {
    background: #c0392b;
}

.compare-table thead th.good-col {
    background: var(--green);
}

.compare-table tbody td:first-child {
    font-weight: 600;
    text-align: left;
    background: var(--bg-light);
}

.compare-table tbody .bad-col {
    background: var(--red-light);
}

.compare-table tbody .good-col {
    background: var(--green-light);
}

.compare-table td small {
    display: block;
    font-size: 0.75rem;
    line-height: 1.6;
    margin-top: 4px;
    opacity: 0.85;
}

.compare-table td small strong {
    font-size: 0.85rem;
}

.text-red { color: var(--red); }
.text-green { color: var(--green); }
.text-gray { color: var(--light-gray); }

/* ===================================
   Flow Section
   =================================== */
.flow {
    padding: 100px 0;
    background: var(--bg-light);
}

.flow-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.flow-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 35px;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 2px;
}

.flow-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 0 0 40px 0;
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
}

.flow-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.flow-item:last-child {
    padding-bottom: 0;
}

.flow-step {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 0.55rem;
    font-weight: 700;
    color: #fff;
    background: var(--primary);
    padding: 2px 6px;
    border-radius: 3px;
    line-height: 1;
    z-index: 2;
    white-space: nowrap;
}

.flow-icon {
    width: 72px;
    min-width: 72px;
    height: 72px;
    background: #fff;
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    position: relative;
    z-index: 2;
}

.flow-body {
    padding-top: 8px;
}

.flow-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.flow-body p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.8;
}

/* ===================================
   Voice Section
   =================================== */
.voice {
    padding: 100px 0;
    background: #fff;
}

.voice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.voice-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 28px;
    border: 1px solid var(--border);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.voice-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.voice-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.voice-card.visible:hover {
    transform: translateY(-4px);
}

.voice-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.voice-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.voice-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark);
    display: block;
}

.voice-info {
    font-size: 0.75rem;
    color: var(--light-gray);
    display: block;
}

.voice-stars {
    color: var(--yellow);
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.voice-saving {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--green-light);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    margin-bottom: 16px;
}

.voice-saving span {
    font-size: 0.8rem;
    color: var(--green);
    font-weight: 500;
}

.voice-saving strong {
    font-size: 1.2rem;
    color: var(--green);
}

.voice-text {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.8;
}

/* ===================================
   Expert / Supervised Section
   =================================== */
.expert {
    padding: 100px 0;
    background: #fff;
}

.expert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.expert-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.expert-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.expert-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.expert-card.visible:hover {
    transform: translateY(-4px);
}

.expert-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.expert-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.expert-role {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--green);
    background: var(--green-light);
    padding: 2px 12px;
    border-radius: 50px;
    margin-bottom: 14px;
    letter-spacing: 0.05em;
}

.expert-card p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.8;
}

.expert-note {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #e0f0ff 100%);
    border: 1px solid rgba(0,102,204,0.15);
    border-radius: var(--radius-md);
    padding: 24px 28px;
}

.expert-note i {
    font-size: 1.8rem;
    color: var(--primary);
    min-width: 32px;
    margin-top: 2px;
}

.expert-note p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    line-height: 1.8;
}

.expert-note strong {
    color: var(--primary);
}

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

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(15px);
}

.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    text-align: left;
    gap: 16px;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--primary);
    transition: transform 0.3s ease;
    min-width: 16px;
}

.faq-item.open .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 400px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.9;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a1628 0%, #0d2847 50%, #0066CC 100%);
}

.cta-box {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.cta-box h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.5;
}

.cta-box h2 em {
    font-style: normal;
    color: var(--yellow);
}

.cta-box > p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 28px;
    line-height: 1.8;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 36px;
}

.cta-features span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.cta-features i {
    color: var(--green);
}

.cta-form {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    margin-bottom: 6px;
}

.required {
    font-size: 0.7rem;
    background: var(--red);
    color: #fff;
    padding: 1px 6px;
    border-radius: 3px;
    margin-left: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: var(--font);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.35);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.15);
}

.form-group select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.form-group select option {
    background: var(--dark);
    color: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-top: 8px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.6;
}

.form-hint i {
    margin-top: 2px;
    color: var(--yellow);
    font-size: 0.85rem;
}

.form-privacy {
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 0;
    accent-color: var(--accent);
    cursor: pointer;
    vertical-align: middle;
}

.checkbox-label a {
    color: var(--yellow);
    text-decoration: underline;
}

.cta-form .btn {
    margin-top: 8px;
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.footer-logo i {
    color: var(--primary);
    font-size: 1.4rem;
}

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

.footer-nav a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer-nav a:hover {
    color: rgba(255,255,255,0.9);
}

.footer-copy {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
}

.footer-copy a {
    color: rgba(255,255,255,0.4);
}

.footer-copy a:hover {
    color: rgba(255,255,255,0.7);
}

.footer-company {
    margin-bottom: 24px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-company h4 {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.company-name {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    margin-bottom: 4px;
}

.company-url a {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.company-url a:hover {
    color: rgba(255,255,255,0.8);
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-badges span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}

.footer-badges span i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* ===================================
   Fixed CTA (Mobile)
   =================================== */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    padding: 12px 16px;
    background: rgba(15,25,35,0.95);
    backdrop-filter: blur(10px);
    display: none;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.fixed-cta.show {
    transform: translateY(0);
}

.fixed-cta .btn {
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    padding: 14px;
}

/* ===================================
   Back to Top
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 800;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===================================
   Scroll Animations
   =================================== */
[data-aos] {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .nav-desktop {
        display: none;
    }
    
    .header-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

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

    .voice-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .expert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .expert-grid .expert-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .pc-only {
        display: none;
    }

    .sp-only {
        display: inline;
    }

    .header-inner {
        height: 60px;
    }

    /* Hero */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-main {
        font-size: 1.8rem;
    }

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

    .hero-desc {
        font-size: 0.9rem;
    }

    .hero-numbers {
        gap: 20px;
    }

    .number-value {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-trust {
        flex-direction: column;
        gap: 8px;
    }

    .hero-scroll {
        display: none;
    }

    /* Problem */
    .problem {
        padding: 70px 0 40px;
    }

    .problem-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Legal */
    .legal-section {
        padding: 60px 0;
    }

    .legal-box {
        padding: 30px 20px;
    }

    .legal-box h2 {
        font-size: 1.4rem;
    }

    .legal-box > p {
        font-size: 0.85rem;
    }

    .legal-compare {
        flex-direction: column;
        gap: 16px;
    }

    .legal-compare-vs {
        justify-content: center;
        padding: 8px 0;
    }

    /* Merit */
    .merit {
        padding: 70px 0;
    }

    .merit-item {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }

    .merit-number {
        font-size: 1.6rem;
    }

    /* Simulation */
    .simulation {
        padding: 70px 0;
    }

    .sim-wrapper {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .sim-result-placeholder i {
        display: none;
    }

    .sim-result-placeholder p {
        display: block;
    }

    .sim-result-placeholder p::before {
        content: '↑ ';
    }

    .sim-result-saving {
        font-size: 2.4rem;
    }

    /* System */
    .system {
        padding: 70px 0;
    }

    .system-step {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }

    /* Compare */
    .compare-section {
        padding: 70px 0;
    }

    .compare-table th,
    .compare-table td {
        padding: 12px 10px;
        font-size: 0.8rem;
    }

    /* Flow */
    .flow {
        padding: 70px 0;
    }

    .flow-timeline::before {
        left: 35px;
    }

    /* Voice */
    .voice {
        padding: 70px 0;
    }

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

    /* Expert */
    .expert {
        padding: 70px 0;
    }

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

    .expert-grid .expert-card:last-child {
        max-width: none;
    }

    .expert-note {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    /* Footer */
    .footer-badges {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    /* FAQ */
    .faq {
        padding: 70px 0;
    }

    /* CTA */
    .cta-section {
        padding: 70px 0;
    }

    .cta-box h2 {
        font-size: 1.5rem;
    }

    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .cta-form {
        padding: 24px;
    }

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

    /* Section Header */
    .section-header h2 {
        font-size: 1.6rem;
    }

    /* Fixed CTA */
    .fixed-cta {
        display: block;
    }

    .back-to-top {
        bottom: 90px;
    }

    /* Footer */
    .footer-nav {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero-main {
        font-size: 1.5rem;
    }

    .hero-numbers {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .hero-number {
        display: flex;
        align-items: baseline;
        gap: 8px;
        text-align: left;
    }

    .number-label {
        display: inline;
        margin-top: 0;
    }

    .section-header h2 {
        font-size: 1.35rem;
    }

    .legal-box h2 {
        font-size: 1.2rem;
    }

    .sim-result-saving {
        font-size: 2rem;
    }
}
