:root {
    --primary-color: #E76905;
    /* User requested orange */
    --primary-dark: #b85202;
    --text-color: #333;
    --bg-color: #fff;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --font-main: 'Noto Sans JP', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:hover {
    color: var(--primary-color);
    width: 100%;
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Fallback gradient if image fails or while loading */
    background: linear-gradient(135deg, #FF9A44 0%, #E76905 100%);
    color: var(--white);
    text-align: center;
    padding-top: var(--header-height);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.hero-content p:last-of-type {
    margin-bottom: 40px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-block {
    display: block;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-block:hover {
    background-color: var(--primary-dark);
}


/* General Sections */
.section {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

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

.bg-light {
    background-color: var(--bg-light);
}

/* News Section */
.news-grid {
    display: grid;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 20px;
}

.news-item .date {
    font-family: var(--font-heading);
    color: #888;
    font-size: 0.9rem;
}

.news-item .category {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.news-item h3 {
    font-size: 1rem;
    font-weight: normal;
}

/* Company Section */
.company-info {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.company-list {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
}

.company-list dt {
    font-weight: bold;
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.company-list dd {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.company-list dt:last-of-type,
.company-list dd:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.officer-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 8px;
    /* Spacing between rows */
}

.officer-row:last-child {
    margin-bottom: 0;
}

.officer-row .role {
    display: inline-block;
    width: 200px;
    /* Fixed width for role to align names */
    font-weight: bold;
    color: var(--text-color);
}

.officer-row .name {
    margin-left: 10px;
}

@media (max-width: 480px) {
    .officer-row {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 15px;
    }

    .officer-row .role {
        width: 100%;
        margin-bottom: 2px;
    }

    .officer-row .name {
        margin-left: 0;
        padding-left: 10px;
    }
}


/* Contact Section */
.contact-desc {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

/* Footer */
footer {
    background-color: #333;
    color: var(--white);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: var(--primary-color);
        transition: all 0.3s ease-in-out;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        gap: 40px;
    }

    .nav-links.active {
        right: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .company-list {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .company-list dt {
        border-bottom: none;
        padding-bottom: 0;
        margin-top: 15px;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Responsive Utilities */
/* Responsive Utilities */
@media (max-width: 768px) {
    .hero-text span {
        display: block;
    }
}

/* Service Section */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(231, 105, 5, 0.15);
    /* Orange shadow */
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    background-color: rgba(231, 105, 5, 0.1);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    line-height: 50px;
}

.service-item h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-item p {
    color: #666;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

/* News Detail Page */
.header-spacer {
    margin-top: var(--header-height);
    padding-top: 60px;
    /* Additional spacing */
    min-height: calc(100vh - 200px);
    /* Ensure footer stays at bottom */
}

.news-detail-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.news-header {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.news-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    font-family: var(--font-main);
}

.news-content {
    line-height: 1.8;
    margin-bottom: 50px;
}

.news-content p {
    margin-bottom: 1.5em;
}

.back-link {
    text-align: center;
}