:root {
    /* Colors */
    --color-bg: #ffffff;
    --color-bg-sub: #fafafa;
    --color-text: #111111;
    --color-text-muted: #666666;
    --color-accent: #111111;
    --color-border: #e6e6e6;
    
    /* Typography */
    --font-mincho: "Zen Old Mincho", serif;
    --font-sans: "Noto Sans JP", sans-serif;
    
    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 32px;
    --space-lg: 64px;
    --space-xl: 120px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    line-height: 1.8;
    font-size: 16px;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: var(--font-mincho);
    font-weight: 500;
}

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

a:hover {
    opacity: 0.7;
}

ul, ol {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.mb-large { margin-bottom: var(--space-lg); }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 100;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: #ffffff;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
}

.header__logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.header__nav {
    display: none;
}

@media (min-width: 768px) {
    .header__nav {
        display: flex;
        gap: 32px;
        align-items: center;
    }
    
    .header__link {
        font-size: 0.9rem;
        letter-spacing: 0.1em;
        font-family: var(--font-sans);
    }
    
    .header__cta {
        font-size: 0.8rem;
        border: 1px solid #ffffff;
        padding: 8px 24px;
        border-radius: 50px;
    }
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 24px;
}

.hero__subtitle {
    font-size: 1rem;
    margin-bottom: var(--space-md);
    color: var(--color-text-muted);
}

.hero__title {
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: var(--space-md);
    font-weight: 500;
}

.hero__text {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.hero__tagline {
    border-left: 1px solid var(--color-accent);
    padding-left: 24px;
    text-align: left;
    margin-top: var(--space-md);
}

.hero__tagline p {
    font-family: var(--font-mincho);
    font-size: 1.1rem;
    line-height: 1.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: var(--color-text);
}

@media (min-width: 768px) {
    .hero__title { font-size: 4rem; }
    .hero__subtitle { font-size: 1.2rem; }
    .hero__text { font-size: 1.2rem; }
}

/* Section Common */
.section {
    padding: 80px 0;
}

@media (min-width: 768px) {
    .section { padding: 120px 0; }
}

.section__title {
    font-size: 2.5rem; /* Larger English title */
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: 0.1em;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.section__title .ja {
    font-size: 1rem;
    font-family: var(--font-sans);
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    font-weight: 400;
}

/* About Grid */
.about__grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .about__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

.about__card {
    background: var(--color-bg-sub);
    padding: 40px;
    border: 1px solid var(--color-border);
}

.about__card h3 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 16px;
}

.about__card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background: var(--color-accent);
}

/* Philosophy */
.philosophy__flow {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    margin-top: 60px;
}

@media (min-width: 768px) {
    .philosophy__flow {
        flex-direction: row;
        justify-content: center;
    }
}

.flow__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px;
    border: 1px solid var(--color-border);
    width: 200px;
}

.flow__item.is-result {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

.flow__label {
    font-family: var(--font-mincho);
    font-size: 1.4rem;
}

.flow__desc {
    font-size: 0.8rem;
    opacity: 0.8;
}

.flow__arrow {
    font-family: var(--font-mincho);
    color: var(--color-text-muted);
    transform: rotate(90deg);
}

@media (min-width: 768px) {
    .flow__arrow {
        transform: rotate(0);
    }
}

/* Risk Value */
.risk-value-box {
    background: var(--color-bg-sub);
    border: 1px solid rgba(0,0,0,0.1);
    padding: 40px;
    text-align: center;
}

.risk-value-box h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

/* Activity */
.activity__list {
    display: grid;
    gap: 32px;
}

.activity__item {
    border-top: 1px solid var(--color-border);
    padding-top: 32px;
}

.activity__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.activity__head .tag {
    font-size: 0.8rem;
    border: 1px solid var(--color-text-muted);
    padding: 4px 12px;
    border-radius: 2px;
}

.activity__head h3 {
    font-size: 1.2rem;
}

/* AI Policy */
.ai-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .ai-grid {
        flex-direction: row;
        gap: 0;
        border: 1px solid var(--color-border);
    }
}

.ai-card {
    background: var(--color-bg-sub);
    padding: 40px;
    text-align: center;
    border: 1px solid var(--color-border);
}

@media (min-width: 768px) {
    .ai-card {
        flex: 1;
        border: none;
        border-right: 1px solid var(--color-border);
    }
    .ai-card:last-child {
        border-right: none;
    }
}

.ai-card__title {
    font-family: var(--font-mincho);
    font-size: 1.3rem;
}

.ai-message {
    text-align: center;
    font-size: 1.1rem;
    line-height: 2;
}

/* Member Comparison */
.comparison-grid {
    display: grid;
    gap: 40px;
}

@media (min-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.comparison-col h3 {
    font-size: 1.4rem;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}

.comparison-col.good h3 { border-bottom-color: var(--color-text); }

.comparison-col ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.comparison-col li {
    padding-left: 24px;
    position: relative;
}

.comparison-col.good li::before {
    content: '○';
    position: absolute;
    left: 0;
    color: var(--color-text);
}

.comparison-col.bad li {
    color: var(--color-text-muted);
}

.comparison-col.bad li::before {
    content: '×';
    position: absolute;
    left: 0;
    color: var(--color-text-muted);
}

/* Price */
.price__box {
    text-align: center;
    padding: 60px 0;
    border: 1px solid var(--color-border);
    max-width: 600px;
    margin: 0 auto;
}

.price__amount {
    font-size: 1rem;
    margin-bottom: 24px;
}

.price__amount .num {
    font-size: 3rem;
    font-family: var(--font-mincho);
    margin: 0 8px;
}

.price__amount .tax {
    font-size: 0.8rem;
}

.price__note {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Flow */
.flow__list {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .flow__list {
        grid-template-columns: repeat(4, 1fr);
    }
}

.flow__list li {
    position: relative;
    padding: 24px;
    border: 1px solid var(--color-border);
    text-align: center;
}

.flow__list .step {
    display: block;
    font-family: var(--font-mincho);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

/* Message */
.message {
    padding: 160px 0;
    text-align: center;
}

.message__inner {
    font-family: var(--font-mincho);
    font-size: 1.5rem;
    line-height: 2;
}

.message__strong {
    font-size: 2rem;
    margin-top: 32px;
}

/* CTA */
.cta {
    background: var(--color-text);
    color: var(--color-bg);
}

.cta__box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta__title {
    font-size: 2rem;
    margin-bottom: 24px;
}

.cta__desc {
    margin-bottom: 48px;
    font-size: 1.1rem;
}

.cta__actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

@media (min-width: 768px) {
    .cta__actions {
        flex-direction: row;
        justify-content: center;
        gap: 32px;
    }
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    padding: 0 48px;
    border-radius: 0; /* Minimal sharp edges */
    font-size: 1rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.btn--primary {
    background: var(--color-bg);
    color: var(--color-text);
    border: 1px solid var(--color-bg);
}

.btn--primary:hover {
    background: transparent;
    color: var(--color-bg);
    border: 1px solid var(--color-bg);
}

.btn--secondary {
    background: transparent;
    color: var(--color-bg);
    border: 1px solid var(--color-bg);
}

.btn--secondary:hover {
    background: var(--color-bg);
    color: var(--color-text);
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

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

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