@charset "UTF-8";

:root {
    /* Colors - Aizome (Indigo) Theme */
    --bg-base: #0C1424; /* Deep Indigo / Kachi-iro */
    --bg-soft: #14223A; /* Slightly lighter Indigo */
    
    --text-primary: #F0F4F8; /* Off-white / very light blue */
    --text-secondary: #A0B2C9; /* Soft dusty blue for readability */
    --text-accent: #6FA2D3; /* Lighter vivid indigo/sky for accent */
    --text-light: #2A3C5A; /* Darker blue for borders/subtle elements */

    /* Typography */
    --font-serif: 'Shippori Mincho', 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
    
    /* Layout */
    --container-w: 1000px;
    --section-spacing: 120px;
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.8;
    letter-spacing: 0.05em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    
    /* Aizome Fabric Texture (Subtle Weave Pattern) */
    background-image: 
        linear-gradient(45deg, rgba(255, 255, 255, 0.015) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.015) 75%, rgba(255, 255, 255, 0.015)), 
        linear-gradient(-45deg, rgba(255, 255, 255, 0.015) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.015) 75%, rgba(255, 255, 255, 0.015)),
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 4px 4px, 4px 4px, 12px 12px, 12px 12px;
    background-position: 0 0, 2px 2px, 0 0, 0 0;
}

/* Base Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
}

.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

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

.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 4rem; }

/* Background Watermark */
.background-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-serif);
    font-size: 15vw;
    color: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
    z-index: -1;
    pointer-events: none;
    letter-spacing: 0.1em;
}

/* Layout */
.content-wrapper {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: var(--section-spacing) 0;
    display: flex;
    gap: 10%;
}

.bg-soft {
    background-color: var(--bg-soft);
    padding: var(--section-spacing) 5%;
    margin: var(--section-spacing) 0;
    border-top: 1px solid rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(12, 20, 36, 1) 0%, rgba(12, 20, 36, 0.4) 60%, rgba(12, 20, 36, 0) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
}

.header-inner {
    pointer-events: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-w);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: baseline;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

.logo-sub {
    font-size: 0.8rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    margin-left: 0.5rem;
    font-weight: 400;
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: color 0.3s;
    font-family: var(--font-sans);
}

.nav a:hover, .nav a.nav-contact {
    color: var(--text-accent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text {
    flex: 0 1 auto;
    z-index: 10;
    position: relative;
    text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.hero-category {
    flex: 0 0 auto;
}

.category-accent {
    font-size: 1rem;
    color: var(--text-accent);
    letter-spacing: 0.3em;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.4;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 2;
}

/* Circular Button */
.button-circle {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    gap: 1rem;
}

.button-circle .button-text {
    font-family: var(--font-serif);
    font-size: 1rem;
}

.button-circle .button-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid var(--text-primary);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.button-circle:hover .button-arrow {
    background-color: var(--text-accent);
    border-color: var(--text-accent);
    color: var(--bg-base);
    transform: translateX(10px);
}

/* Scroll Indicator */
.scroll-down {
    position: absolute;
    bottom: 0;
    left: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.scroll-down .vertical-text {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--text-light);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background-color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--text-accent);
    animation: scrollLine 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scrollLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* Sections Common */
.section-header {
    flex: 0 0 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.section-title {
    font-size: 1.8rem;
    letter-spacing: 0.1em;
}

.section-number {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-light);
}

.section-body {
    flex: 1;
    padding-top: 1rem;
}

.text-body {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 2;
}

.lead-text {
    font-size: 1.2rem;
    font-family: var(--font-serif);
    margin-bottom: 3rem;
    line-height: 2.2;
}

/* Process Flow */
.process-flow {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.process-step {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.step-icon {
    width: 48px;
    height: 48px;
    opacity: 0.8;
    stroke-width: 1.5;
}

.process-step.emphasis {
    color: var(--text-accent);
    font-size: 1.3rem;
}

.process-arrow {
    flex: 1;
    height: 1px;
    background-color: rgba(255,255,255,0.1);
    position: relative;
}

.process-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 7px;
    height: 7px;
    border-top: 1px solid rgba(255,255,255,0.3);
    border-right: 1px solid rgba(255,255,255,0.3);
    transform: rotate(45deg);
}

/* Story Layouts with Images */
.with-image {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.with-image-reverse {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.story-content, .anotherside-content {
    flex: 1;
}

.story-image-wrapper, .anotherside-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.story-image, .anotherside-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.anotherside-image {
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    filter: brightness(0.85) contrast(1.1);
}

/* Story Blocks */
.story-block {
    margin-bottom: 4rem;
}

.story-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.quote {
    margin: 2rem 0;
    padding-left: 2rem;
    border-left: 1px solid var(--text-accent);
    font-family: var(--font-serif);
    font-style: normal;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.inner-voice-box {
    background-color: #ffffff;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.inner-voice-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--bg-base);
    font-style: italic;
    font-weight: 500;
    margin: 0;
}

.highlight-quote {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: #ffffff;
    margin: 2.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    letter-spacing: 0.1em;
}

.highlight-box {
    padding: 2.5rem;
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
}

/* Lists */
.comparison-list {
    list-style: none;
    padding: 2rem;
    background-color: rgba(255,255,255,0.03);
    border-left: 2px solid var(--text-accent);
}

.comparison-list li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.comparison-list li strong {
    color: var(--text-primary);
    font-size: 1.1em;
}

/* Services */
.service-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 3rem;
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.1);
}

.card-label {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--text-light);
    flex: 0 0 40px;
}

.title-col {
    flex: 0 0 120px;
}

.meta-col {
    flex: 0 0 200px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.desc-col {
    flex: 1;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 0;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Target Box */
.target-box {
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.target-title {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.check-list {
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background-color: var(--text-accent);
    border-radius: 50%;
}

/* Closing */
.split-section {
    display: flex;
    flex-direction: row;
    gap: 5%;
    align-items: center;
}

.closing-content {
    flex: 1;
}

.final-copy {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    line-height: 2.2;
}

.closing-actions {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.action-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    background-color: rgba(255,255,255,0.03);
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.action-link:hover {
    border-color: var(--text-accent);
}

.action-link:hover .action-arrow {
    transform: translateX(10px);
    color: var(--text-accent);
}

.action-arrow {
    transition: transform 0.3s ease;
}

/* Footer */
.footer {
    padding: 3rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .section, .split-section {
        flex-direction: column;
        gap: 2rem;
    }
    
    .with-image, .with-image-reverse {
        flex-direction: column;
        gap: 2rem;
    }
    
    .with-image-reverse .anotherside-image-wrapper {
        order: 2;
    }
    
    .with-image-reverse .anotherside-content {
        order: 1;
    }
    
    .section-header {
        flex: none;
        flex-direction: row;
        align-items: baseline;
    }
    
    .vertical-text, .section-title.vertical-text {
        writing-mode: horizontal-tb;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .category-accent {
        border-right: none;
        border-bottom: 1px solid var(--text-accent);
        padding-right: 0;
        padding-bottom: 0.5rem;
    }

    .process-flow {
        flex-direction: column;
        gap: 1rem;
    }

    .process-arrow {
        width: 1px;
        height: 30px;
    }

    .process-arrow::after {
        top: auto;
        bottom: -3px;
        right: -3px;
        transform: rotate(135deg);
    }
    
    .service-card {
        flex-direction: column;
        gap: 1rem;
    }

    .background-text {
        font-size: 25vw;
    }
}
