/* =================================================================
   studio CLOTO - Base Styles & CSS Variables
   ================================================================= */

/* ===== CSS Variables ===== */
:root {
    /* Colors */
    --color-black: #000000;
    --color-gray: #a5a5a5;
    --color-white: #ffffff;
    --color-accent: #f6bf00;
    
    /* Typography */
    --font-logo: 'Academy Engraved LET', 'Copperplate', 'Copperplate Gothic Light', serif;
    --font-japanese: 'YuKyokasho Yoko', 'Yu Kyokasho', '游教科書体 横用', serif;
    --font-japanese-heading: 'YuKyokasho Yoko', 'Yu Kyokasho', '游教科書体 横用', serif;
    /* --font-japanese-heading: 'Hiragino Kaku Gothic StdN', 'ヒラギノ角ゴ StdN', 'Yu Gothic', 'YuGothic', 'Meiryo', sans-serif; */
    --font-english: 'Average', 'Times New Roman', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 8rem;
    
    /* Layout */
    --container-max-width: 1200px;
    --section-padding: var(--spacing-xxl);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s ease;
    --transition-slow: 0.6s ease;
    
    /* Z-index */
    --z-nav: 1001;
    --z-modal: 9000;
    
    /* Section Heights */
    --hero-pin-height: 200vh;
    --vision-pin-height: 400vh;
    --about-pin-height: 400vh;
}

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

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

body {
    font-family: var(--font-japanese);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-family: var(--font-logo);
    font-size: 2.5rem;
    font-weight: normal;
}

h2 {
    font-family: var(--font-english);
    font-size: 2.5rem;
    font-weight: 400;
}

h3 {
    font-family: var(--font-english);
    font-size: 1.8rem;
    font-weight: 400;
}

p {
    margin-bottom: var(--spacing-sm);
}

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

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

/* ===== Font Family Assignments ===== */
.section-subtitle,
.hero__title-line,
.contact__info h3,
.japanese-text,
.hero__description,
.about__text,
.service-card__description,
.team__description,
.contact__info p,
.form-group label,
.footer__brand p,
.contact__method-info span,
.footer__links a,
.footer__bottom p,
option {
    font-family: var(--font-japanese) !important;
}
/* heading向け */
.section-subtitle,
.hero__title-line { font-family: var(--font-japanese-heading) !important; }

.english-text,
.nav__link,
.hero__subtitle,
.section-title,
.service-card__title,
.stat__label,
.contact__method-info a,
.footer__social a,
h2:not(.japanese-text),
h3:not(.japanese-text) {
    font-family: var(--font-english) !important;
}

/* ===== Utility Classes ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

/* Utility: white text at 24px */
.text-white-20 { color: var(--color-white) !important; font-size: 20px !important; }

.mb-xs { margin-bottom: var(--spacing-xs); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

/* ===== Performance Optimizations ===== */
.parallax-element,
.hero__content,
.about__content,
.hero__visual,
.hero__geometric,
.geometric-pattern {
    will-change: transform;
}

/* ===== Animation Classes ===== */
.animate-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-element.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Font Smoothing ===== */
.japanese-text,
.japanese-text p,
.japanese-text span,
.japanese-text div {
    font-family: var(--font-japanese) !important;
    font-feature-settings: "palt" 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Print Styles ===== */
@media print {
    .nav,
    .hero__scroll-indicator,
    .contact__form {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
} 