:root {
    --bg-color: #fafafa;
    --text-color: #1a1a1a;
    --text-muted: #666;
    --accent-color: #0F172A;
    --border-color: #eaeaea;
    --header-bg: rgba(250, 250, 250, 0.85);
    --card-bg: #ffffff;
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

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

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--header-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: transform var(--transition);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo img {
    height: 32px;
    width: auto;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-list a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    opacity: 0.8;
}

.nav-list a:hover, .nav-list a.active {
    opacity: 1;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--text-color);
    transition: width var(--transition);
}

.nav-list a:hover::after, .nav-list a.active::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--text-color);
    transition: var(--transition);
    transform-origin: left center;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 8rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.hero-text-area {
    max-width: 800px;
    margin: 0 auto 4rem;
    animation: fadeUp 1s ease-out forwards;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.25;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.hero-visual-area {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeUp 1s 0.3s ease-out forwards;
}

.hero-image {
    width: 100%;
    height: auto;
    max-height: 75vh;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.12);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-image:hover {
    transform: translateY(-8px) scale(1.01);
}

/* Page Components */
.page-main {
    flex: 1;
    padding-top: 8rem;
    padding-bottom: 4rem;
    animation: fadeUp 0.8s ease-out forwards;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.about-card {
    background-color: var(--card-bg);
    border-radius: 24px;
    padding: 3.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    border: 1px solid var(--border-color);
}

.about-lead {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-color);
    font-weight: 400;
    line-height: 2.1;
    text-align: left;
    max-width: 720px;
    margin: 0 auto 3rem;
    letter-spacing: 0.04em;
}

.about-lead p {
    margin-bottom: 1.5em;
}

.about-lead p:last-child {
    margin-bottom: 0;
}

.about-image {
    display: block;
    margin: 3rem auto 0;
    max-width: 240px;
    height: auto;
    border-radius: 8px;
}

.profile-heading {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    letter-spacing: 0.1em;
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 600px) {
    .profile-item {
        flex-direction: row;
        gap: 2rem;
    }
    .profile-label {
        width: 140px;
        flex-shrink: 0;
    }
}

.profile-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    font-weight: 700;
}

.profile-value {
    font-weight: 400;
    line-height: 1.8;
}

/* Footer */
.footer {
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--card-bg);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 1000;
    }

    .nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-list a {
        font-size: 1.25rem;
    }

    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .hero {
        padding-top: 7rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .about-card {
        padding: 2rem 1.5rem;
    }
}
