/* ================================
   ATErzi - 白×赤×黒・ミニマル
   ================================ */

:root {
    --primary-red: #C41E3A;
    --dark-red: #9a1830;
    --secondary-black: #1A1A1A;
    --bg-white: #FFFFFF;
    --bg-alt: #F8F8F8;
    --gold-accent: #D4AF37;
    --text-body: #1A1A1A;
    --text-muted: #666666;
    --max-width: 1200px;
    --header-height: 72px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Noto Sans JP', 'Inter', sans-serif;
}

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

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

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-body);
    background: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--secondary-black);
    z-index: 1000;
    border-bottom: 1px solid rgba(196, 30, 58, 0.3);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: color 0.2s;
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tagline {
    font-size: 0.65rem;
    color: var(--primary-red);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-menu li {
    list-style: none;
}

.nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
}

.lang-switcher {
    display: flex;
    gap: 0.25rem;
}

.lang-btn {
    padding: 0.35rem 0.75rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
    transition: var(--transition);
}

.lang-btn:hover {
    border-color: var(--primary-red);
    color: #fff;
}

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

.btn-cta {
    text-decoration: none;
    color: #fff;
}

/* Buttons */
.btn-premium {
    padding: 0.875rem 2rem;
    background: var(--primary-red);
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-premium:hover {
    background: var(--dark-red);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.25);
}

/* Hero Section */
.hero {
    min-height: 85vh;
    padding-top: var(--header-height);
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.hero-logo {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 600;
    color: var(--secondary-black);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 400;
    color: var(--primary-red);
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}

.hero-sub {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero .btn-premium {
    margin-top: 0.5rem;
}

/* Section common */
.section {
    padding: 5rem 0;
    background: var(--bg-white);
}

.section--alt {
    background: var(--bg-alt);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-label {
    color: var(--primary-red);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    color: var(--text-body);
    margin-bottom: 3rem;
}

/* Services grid - 3 cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: #fff;
    padding: 2.5rem;
    border: 1px solid rgba(26, 26, 26, 0.08);
    transition: var(--transition);
}

.service-card:hover {
    border-color: rgba(196, 30, 58, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.service-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-red);
    line-height: 1;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-body);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.service-title-en {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-desc {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-red);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.service-link:hover {
    text-decoration: underline;
}

/* About tabs */
.about-tabs {
    max-width: 720px;
    margin: 0 auto;
}

.about-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.12);
    margin-bottom: 2rem;
}

.about-tab {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: -1px;
}

.about-tab:hover {
    color: var(--text-body);
}

.about-tab.active {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

.about-panel {
    display: none;
    padding: 1rem 0;
}

.about-panel.active {
    display: block;
}

.about-panel h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-body);
}

.about-panel p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-mission {
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.about-sign {
    text-align: right;
    margin-top: 1.5rem;
    font-weight: 500;
    color: var(--text-body);
}

/* Contact */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-wrap .section-title {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-body);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(26, 26, 26, 0.15);
    background: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-red);
}

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

.form-submit {
    width: 100%;
    margin-top: 0.5rem;
}

.contact-info {
    padding: 2rem;
    background: var(--secondary-black);
    color: #fff;
}

.contact-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--primary-red);
}

.contact-info p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
}

.contact-info a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.contact-info a:hover {
    color: var(--primary-red);
}

/* Consultation */
.consultation-sub {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.form--consultation {
    max-width: 480px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: var(--secondary-black);
    color: rgba(255, 255, 255, 0.8);
    padding: 2.5rem 0;
    border-top: 1px solid rgba(196, 30, 58, 0.2);
}

.footer-copy {
    font-size: 0.85rem;
    text-align: center;
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    width: 22px;
    height: 1px;
    background: #fff;
    transition: var(--transition);
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .contact-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--secondary-black);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .lang-switcher {
        margin: 1rem 0;
    }
    
    .tagline {
        display: none;
    }
    
    .hero-inner {
        padding: 3rem 1.5rem;
    }
    
    .about-nav {
        flex-wrap: wrap;
    }
    
    .about-tab {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}