:root {
    --bg-color: #fcfcfc;
    --text-color: #222222;
    --gray-color: #666666;
    --border-color: #e6e6e6;
    --font-main: 'Zen Kaku Gothic New', sans-serif;
    --font-en: 'Oswald', sans-serif; /* Changed to Oswald */
    --card-bg: #ffffff;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    font-weight: 500; /* Thicker default font weight */
    line-height: 2;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: none;
}

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

a:hover {
    opacity: 0.6;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Custom Cursor */
#cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    background: #222;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, opacity 0.2s;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(252, 252, 252, 0.85);
    backdrop-filter: blur(10px);
}

.header__logo {
    width: 120px;
}

.logo-img {
    filter: brightness(0);
}

.header__nav ul {
    display: flex;
    gap: 40px;
}

.header__nav a {
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
}

.hero__container {
    width: 100%;
    max-width: 1400px;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero__main-text {
    z-index: 10;
    margin-bottom: 30px;
}

.hero__title-en {
    font-family: var(--font-en);
    font-size: 7vw; /* Slightly smaller than prev to fit Oswald condensed if needed, or adjust */
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.02em;
    color: var(--text-color);
    text-transform: uppercase;
    opacity: 0; 
}

.hero__sub-text {
    z-index: 10;
    max-width: 600px;
}

.hero__sub-text p {
    font-size: 1.1rem;
    color: var(--gray-color);
    line-height: 1.8;
    opacity: 0;
}

/* Abstract Light Object */
.hero__vis {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.light-circle {
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,0,0,0.03) 0%, rgba(255,255,255,0) 70%);
    filter: blur(60px);
    opacity: 0;
    transform: translate(20%, -20%);
}

/* Common Section Styles */
section {
    padding: 160px 5%;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-en);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--gray-color);
    margin-bottom: 80px;
    font-weight: 500;
}

/* About Section */
.about__inner {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.about__body {
    /* Removed grid since info moved */
    max-width: 800px;
}

.about__desc {
    font-size: 1.1rem;
    text-align: left;
    line-height: 2.2;
}

/* Services Section (Grid Panel Layout) */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-panel {
    background: var(--card-bg);
    padding: 50px 30px;
    border: 1px solid var(--border-color);
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align items */
    text-align: center; /* Center text */
    height: 100%;
}

.service-panel:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: transparent;
}

.service-panel__icon {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 30px;
    opacity: 0.9;
}

.service-panel__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
}

.service-panel__desc {
    font-size: 0.95rem;
    color: var(--gray-color);
    line-height: 1.8;
}

/* Footer */
.footer {
    padding: 100px 5%;
    background-color: #f2f2f2;
}

.footer__info-area {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
    align-items: center;
    text-align: center;
}

.footer__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.footer__address {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.footer__tel {
    margin-top: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: var(--font-en); /* Use Oswald for numbers too */
    letter-spacing: 0.05em;
}

.footer__bottom {
    border-top: 1px solid #dcdcdc;
    padding-top: 30px;
    text-align: center;
}

.footer__copyright {
    font-family: var(--font-en);
    font-size: 0.8rem;
    color: var(--gray-color);
    font-weight: 500;
}

/* Animations Classes */
.fade-in, .fade-in-up, .fade-in-slow {
    opacity: 0;
}

.fade-in-up {
    transform: translateY(40px);
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 20px;
    }
    
    .hero__title-en {
        font-size: 13vw;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .footer__info-area {
        align-items: flex-start;
        text-align: left;
    }
}
