@import url('https://fonts.googleapis.com/css2?family=Inter:wght@700&family=Noto+Sans+JP:wght@400;700&family=Noto+Serif+JP:wght@900&display=swap');

:root {
    --color-bg-light: #FFFFFF;
    --color-bg-dark: #111111;
    --color-text-light: #111111;
    --color-text-dark: #FAFAFA;
    --color-accent: #D7263D; /* 朱 */
    --color-aux: #9A9A9A;
    
    --font-en: 'Inter', sans-serif;
    --font-jp-sans: 'Noto Sans JP', sans-serif;
    --font-jp-serif: 'Noto Serif JP', serif;
    
    --spacing-section: 160px;
    --max-width: 1200px;
}

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

body {
    background-color: var(--color-bg-light);
    color: var(--color-text-light);
    font-family: var(--font-jp-sans);
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography */
.en-label {
    font-family: var(--font-en);
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
    display: block;
}

h1, h2, h3 {
    font-family: var(--font-jp-sans);
    font-weight: 700;
    line-height: 1.4;
}

h1 {
    font-size: 56px;
    margin-bottom: 2rem;
}

h2 {
    font-size: 28px;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }
}

a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-weight: 700;
}

a:hover {
    opacity: 0.7;
    color: var(--color-accent);
}

.theme-dark a {
    color: var(--color-text-dark);
}
.theme-dark a:hover {
    color: var(--color-accent);
}

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 10;
}

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

/* Specific section layouts */
section {
    padding: var(--spacing-section) 0;
    position: relative;
}

.theme-dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-dark);
}

/* Graphical Elements */
.bg-kanji {
    position: absolute;
    font-family: var(--font-jp-serif);
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    font-size: 40vw;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.theme-dark .bg-kanji {
    color: rgba(255, 255, 255, 0.05);
}

.red-circle {
    position: absolute;
    border-radius: 50%;
    background-color: var(--color-accent);
    z-index: 0;
    mix-blend-mode: multiply;
}
.theme-dark .red-circle {
    mix-blend-mode: normal;
}

.red-frame {
    position: absolute;
    border: 1px solid var(--color-accent);
    z-index: 2;
    pointer-events: none;
}

/* Images */
.img-mono {
    width: 100%;
    height: auto;
    filter: grayscale(100%) contrast(120%);
    object-fit: cover;
    display: block;
}

.img-color {
    filter: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero .grid {
    align-items: center;
}

.hero-text {
    grid-column: 1 / 7;
    position: relative;
    z-index: 5;
}

.hero-visual {
    grid-column: 7 / 13;
    position: relative;
}

.hero-sumi-image {
    aspect-ratio: 1 / 1;
    object-position: center;
    opacity: 0.94;
}

.hero .bg-kanji {
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
}

.hero .red-circle {
    width: 300px;
    height: 300px;
    top: -50px;
    left: -100px;
}

.hero .red-frame {
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
}

/* Concept Section */
.concept .grid {
    align-items: center;
}
.concept-text {
    grid-column: 2 / 7;
    z-index: 5;
}
.concept-visual {
    grid-column: 8 / 13;
    position: relative;
}
.concept .bg-kanji {
    font-size: 30vw;
    top: 0;
    right: 50%;
}

/* Product Section (Ayumi) - Dark */
.product {
    text-align: center;
    overflow: hidden;
}
.product .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.product-visual {
    width: 60%;
    margin: 40px auto;
    position: relative;
}
.product-visual img {
    border-radius: 20px;
}
.ayumi-image {
    width: 85%;
    margin: 0 auto;
}
.product .bg-kanji-1 {
    font-size: 20vw;
    top: 20%;
    right: 5%;
    writing-mode: vertical-rl;
}
.product .bg-kanji-2 {
    font-size: 20vw;
    bottom: 10%;
    left: 5%;
}
.product .red-circle {
    width: 200px;
    height: 200px;
    top: 30%;
    right: 20%;
}

/* Community Section */
.community .grid {
    align-items: center;
}
.community-text {
    grid-column: 1 / 6;
    z-index: 5;
}
.community-visual {
    grid-column: 6 / 13;
    position: relative;
}
.community .bg-kanji {
    font-size: 25vw;
    writing-mode: vertical-rl;
    left: 0;
    top: 10%;
}
.community .red-frame {
    top: -15px;
    bottom: 15px;
    left: 15px;
    right: -15px;
}

/* Lineup / Flow */
.lineup-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}
.lineup-item {
    display: flex;
    align-items: baseline;
    border-bottom: 1px solid var(--color-aux);
    padding-bottom: 1rem;
}
.lineup-num {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 2rem;
    color: var(--color-accent);
    margin-right: 2rem;
    min-width: 50px;
}
.lineup-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 2rem;
    min-width: 150px;
}

/* Subscribe */
.subscribe {
    text-align: center;
}
.subscribe-form {
    max-width: 600px;
    margin: 3rem auto;
    padding: 3rem;
    position: relative;
}
.subscribe .red-frame {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.subscribe .bg-kanji {
    font-size: 15vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cta-button {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 700;
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 5px;
}
.cta-button:hover {
    opacity: 0.7;
}

.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.caption { font-size: 0.85rem; color: var(--color-aux); }

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.parallax-bg {
    transition: transform 0.1s linear;
}

@media (max-width: 992px) {
    .grid {
        grid-template-columns: 1fr;
    }
    .hero-text, .hero-visual, .concept-text, .concept-visual, .community-text, .community-visual {
        grid-column: 1 / -1;
    }
    .hero-visual {
        order: -1;
        margin-bottom: 3rem;
    }
    .concept-visual {
        margin-top: 3rem;
    }
    .community-visual {
        margin-top: 3rem;
    }
    .bg-kanji {
        font-size: 60vw;
    }
    .lineup-item {
        flex-direction: column;
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 1rem;
        border-left: 2px solid var(--color-accent);
        padding-left: 1rem;
    }
    .lineup-num {
        margin-bottom: 0.5rem;
    }
}
