@charset "UTF-8";

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

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

a:hover {
    opacity: 0.7;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    line-height: 1.4;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
    --color-primary: #1a2b4c; /* Navy */
    --color-secondary: #c5a059; /* Gold/Beige */
    --color-bg-light: #f4f7f6;
    --color-text: #333;
    --color-text-light: #fff;
    
    --font-en: 'Montserrat', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
    
    --width-container: 1200px;
    --width-container-sm: 800px;
    
    --header-height: 80px;
}

/* ==========================================================================
   Components
   ========================================================================== */
.container {
    max-width: var(--width-container);
    margin: 0 auto;
    padding: 0 20px;
}

.container-sm {
    max-width: var(--width-container-sm);
}

.btn {
    display: inline-block;
    padding: 12px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: #fff;
    border: 2px solid var(--color-secondary);
}

.btn-primary:hover {
    background-color: #fff;
    color: var(--color-secondary);
    opacity: 1;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: #fff;
    opacity: 1;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    color: var(--color-primary);
}

.section-desc {
    text-align: center;
    margin-bottom: 60px;
    font-size: 1.1rem;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

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

.nav-item a {
    font-weight: 500;
    color: var(--color-primary);
    position: relative;
    padding: 5px 0;
}

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

.nav-item a:hover::after,
.nav-item.current a::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transition: all 0.3s;
}

.hamburger span:nth-of-type(1) { top: 0; }
.hamburger span:nth-of-type(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-of-type(3) { bottom: 0; }

.hamburger.is-active span:nth-of-type(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.hamburger.is-active span:nth-of-type(2) {
    opacity: 0;
}
.hamburger.is-active span:nth-of-type(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('../img/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 43, 76, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.hero-title {
    font-family: var(--font-en);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 500;
}

/* ==========================================================================
   News
   ========================================================================== */
.news {
    background-color: var(--color-bg-light);
    padding: 60px 0;
}

.news-list {
    border-top: 1px solid #ddd;
}

.news-item {
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
}

.news-date {
    font-family: var(--font-en);
    color: var(--color-primary);
    font-weight: 700;
    margin-right: 30px;
    min-width: 100px;
}

/* ==========================================================================
   Business Summary
   ========================================================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.card {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    opacity: 1;
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card:hover .card-image img {
    transform: scale(1.1);
}

.card-body {
    padding: 25px;
    flex-grow: 1;
}

.card-title {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--color-secondary);
    display: inline-block;
    padding-bottom: 5px;
}

.btn-wrapper {
    text-align: center;
}

/* ==========================================================================
   Company Summary
   ========================================================================== */
.company-summary {
    background-color: var(--color-primary);
    color: #fff;
    padding: 80px 0;
}

.company-summary-inner {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.company-text {
    max-width: 600px;
    width: 100%;
}

.company-summary h2, 
.company-summary p, 
.company-summary dl, 
.company-summary dt, 
.company-summary dd {
    color: #fff;
    text-align: left;
}

.company-summary p {
    margin-bottom: 30px;
}

.company-short-list {
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px 30px;
}

.company-short-list dt {
    font-weight: 700;
    color: var(--color-secondary);
}

/* ==========================================================================
   Page Headers (Services, About)
   ========================================================================== */
.page-header {
    background-color: var(--color-primary);
    color: #fff;
    padding: 120px 0 60px; /* Top padding accounts for fixed header */
    text-align: center;
    margin-top: var(--header-height);
}

.page-title {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.page-subtitle {
    font-size: 1rem;
    color: var(--color-secondary);
    font-weight: 700;
}

/* ==========================================================================
   Services Page
   ========================================================================== */
.service-block {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.service-block:last-child {
    margin-bottom: 0;
}

.service-block-reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-content {
    flex: 1;
}

.service-title {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 25px;
    padding-left: 20px;
    border-left: 5px solid var(--color-secondary);
}

.service-desc p {
    margin-bottom: 20px;
}

.service-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 10px;
}

.service-list li::before {
    content: '•';
    color: var(--color-secondary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

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

.cta-contact {
    margin-top: 30px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* ==========================================================================
   About Page
   ========================================================================== */
.subsection-title {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

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

.company-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

.company-table th,
.company-table td {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.company-table th {
    width: 30%;
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    font-weight: 700;
}

.access-section {
    padding-top: 0;
}

.map-wrapper {
    margin-top: 20px;
}
.access-text {
    margin-top: 15px;
    text-align: center;
}

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

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 40px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
}

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

.footer-copyright {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }

    /* Header & Nav */
    .header-inner {
        padding: 0 15px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-primary);
        transition: right 0.4s;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

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

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .nav-item a {
        color: #fff;
        font-size: 1.25rem;
    }

    .hamburger {
        display: block;
    }

    /* Services Page */
    .service-block, 
    .service-block-reverse {
        flex-direction: column;
        gap: 30px;
    }
    
    .service-image {
        width: 100%;
    }

    .service-title {
        font-size: 1.5rem;
        margin-top: 20px;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    /* Company Table */
    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
    }
    
    .company-table th {
        border-bottom: none;
        padding-bottom: 5px;
        background-color: transparent;
    }
    
    .company-table td {
        padding-top: 0;
        margin-bottom: 10px;
        border-bottom: none;
    }
    
    .company-table tr {
        border-bottom: 1px solid #ddd;
        display: block;
        margin-bottom: 20px;
    }
}
