:root {
    /* Colors */
    --color-primary: #1a2a3a;
    /* Deep Navy */
    --color-secondary: #d4b499;
    /* Warm Beige */
    --color-accent: #c07a55;
    /* Muted Terracotta */
    --color-bg-light: #f9f8f4;
    /* Off-white/Cream */
    --color-text-main: #333333;
    --color-text-muted: #666666;
    --color-white: #ffffff;

    /* Spacing */
    --container-width: 1000px;
    --section-padding: 80px 20px;

    /* Fonts */
    --font-main: 'Noto Sans JP', sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    line-height: 1.6;
}

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

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo a {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-primary);
    letter-spacing: 0.05em;
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-list a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-main);
}

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

.btn-contact {
    padding: 10px 20px;
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    border-radius: 4px;
}

.btn-contact:hover {
    background-color: var(--color-accent);
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    transition: 0.3s;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.2) 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    z-index: 1;
    padding-top: 60px;
    /* Offset for header */
}

.hero-catchphrase {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.4;
    margin-bottom: 20px;
}

.line-break {
    display: block;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    font-weight: 500;
    display: inline-block;
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 5px;
}

/* Common Section */
.section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 60px;
    position: relative;
    letter-spacing: 0.1em;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--color-secondary);
    margin: 15px auto 0;
}

/* About */
.about-section {
    background-color: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.image-frame {
    position: relative;
    padding: 10px;
    border: 1px solid var(--color-secondary);
    max-width: 350px;
    margin: 0 auto;
}

.profile-img {
    width: 100%;
    display: block;
    filter: grayscale(20%);
}

.name {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.en-name {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-left: 10px;
}

.title-role {
    font-size: 1.1rem;
    color: var(--color-accent);
    margin-bottom: 5px;
    font-weight: 700;
}

.location {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.summary p {
    margin-bottom: 1.5em;
    text-align: justify;
}

/* Strengths */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.strength-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-top: 5px solid var(--color-secondary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
}

.strength-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 3rem;
    color: rgba(212, 180, 153, 0.3);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 15px;
}

.strength-card h4 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

/* Services */
.services-section {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.services-section .section-title {
    color: var(--color-white);
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
}

.service-header h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.check-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.check-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

/* Career */
.career-section {
    background-color: var(--color-bg-light);
}

.career-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 30px;
    padding-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 129px;
    /* Adjust based on column gap */
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #ddd;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item:last-child::before {
    display: none;
}

.period {
    font-weight: 700;
    color: var(--color-accent);
    text-align: right;
    padding-top: 3px;
}

.content h4 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.timeline-item.active .period {
    color: var(--color-primary);
}

.timeline-item.active .content {
    background: var(--color-white);
    padding: 20px;
    margin-top: -20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--color-primary);
}

.timeline-item.active::before {
    top: 20px;
}

/* Footer */
.footer {
    background-color: #111;
    color: #999;
    padding: 60px 20px 20px;
}

.footer-content {
    text-align: center;
}

.footer-info h2 {
    color: var(--color-white);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.footer-info address {
    font-style: normal;
    margin: 20px 0;
    line-height: 1.8;
}

.footer-rights {
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 10px 20px;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 102;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-white);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        padding: 80px 40px;
        transition: 0.3s;
        z-index: 101;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .hero-catchphrase {
        font-size: 1.8rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .image-frame {
        margin: 0 auto 30px;
        width: 80%;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-left: 20px;
        border-left: 2px solid #ddd;
    }

    .timeline-item::before {
        display: none;
    }

    .period {
        text-align: left;
    }
}