/* ======================================
   Reset & Base Styles
   ====================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Yu Gothic', '游ゴシック', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
    font-size: 16px;
    overflow-x: hidden;
}

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

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

/* ======================================
   Container & Layout
   ====================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

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

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #3E2723;
}

.nav-list {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #333;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #D4AF37;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-cta {
    color: #D4AF37;
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: #3E2723;
    transition: all 0.3s ease;
}

/* ======================================
   Hero Section
   ====================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3E2723 0%, #5D4037 50%, #3E2723 100%);
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, #3E2723 0%, #5D4037 50%, #3E2723 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.2em;
    opacity: 0.7;
    animation: fadeIn 1s ease 1s backwards;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

/* ======================================
   Section Common Styles
   ====================================== */
.section {
    padding: 100px 0;
}

.section-alt {
    background-color: #F5F5DC;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #3E2723;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.section-subtitle {
    font-size: 14px;
    color: #666;
    font-weight: 400;
    letter-spacing: 0.1em;
}

/* ======================================
   Buttons
   ====================================== */
.btn {
    display: inline-block;
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.1em;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #D4AF37;
    color: #fff;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background-color: #C19B2B;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

/* ======================================
   About Section
   ====================================== */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
}

.about-text p {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 2;
    color: #444;
}

.about-intro {
    font-size: 20px;
    font-weight: 600;
    color: #3E2723;
    margin-bottom: 40px !important;
}

.about-mission {
    font-size: 18px;
    font-weight: 600;
    color: #3E2723;
    margin-top: 40px;
    padding: 30px;
    background-color: #F5F5DC;
    border-left: 4px solid #D4AF37;
    border-radius: 4px;
}

/* ======================================
   Service Section
   ====================================== */
.service-intro {
    text-align: center;
    font-size: 18px;
    margin-bottom: 60px;
    color: #444;
}

.service-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-category {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.category-header {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 2px solid #F5F5DC;
}

.category-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #D4AF37;
    background-color: rgba(212, 175, 55, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.category-title {
    font-size: 26px;
    font-weight: 700;
    color: #3E2723;
    margin-bottom: 8px;
}

.category-subtitle {
    font-size: 14px;
    color: #666;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.category-description {
    font-size: 15px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.service-list {
    list-style: none;
}

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

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: #D4AF37;
    border-radius: 50%;
}

.service-list h4 {
    font-size: 16px;
    font-weight: 600;
    color: #3E2723;
    margin-bottom: 8px;
}

.service-list p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* ======================================
   Company Section
   ====================================== */
.company-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

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

.company-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.company-table tr:last-child {
    border-bottom: none;
}

.company-table th,
.company-table td {
    padding: 25px 30px;
    text-align: left;
}

.company-table th {
    width: 180px;
    font-size: 14px;
    font-weight: 600;
    color: #3E2723;
    background-color: #F5F5DC;
    white-space: nowrap;
}

.company-table td {
    font-size: 15px;
    color: #444;
    line-height: 1.8;
}

/* ======================================
   Contact Section
   ====================================== */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-text {
    font-size: 16px;
    line-height: 2;
    color: #444;
    margin-bottom: 25px;
}

.contact-cta {
    margin-top: 50px;
}

.contact-note {
    font-size: 13px;
    color: #666;
    margin-top: 15px;
}

/* ======================================
   Footer
   ====================================== */
.footer {
    background-color: #3E2723;
    padding: 40px 0;
    text-align: center;
}

.footer-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
}

/* ======================================
   Animations
   ====================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollLine {
    0%, 100% {
        height: 40px;
        opacity: 0.7;
    }
    50% {
        height: 60px;
        opacity: 0.3;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======================================
   Responsive Design
   ====================================== */
@media screen and (max-width: 1024px) {
    .service-categories {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Header */
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        transition: left 0.3s ease;
        padding: 40px 0;
    }

    .nav.active {
        left: 0;
    }

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

    .nav-list li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-link {
        display: block;
        padding: 20px;
        font-size: 16px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Hero */
    .hero {
        min-height: 500px;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    /* Section */
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* About */
    .about-text p {
        font-size: 15px;
    }

    .about-intro {
        font-size: 18px;
    }

    .about-mission {
        font-size: 16px;
        padding: 20px;
    }

    /* Service */
    .service-intro {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .service-category {
        padding: 30px 25px;
    }

    .category-title {
        font-size: 22px;
    }

    /* Company */
    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: 15px 20px;
    }

    .company-table th {
        padding-bottom: 8px;
        background-color: transparent;
        font-size: 13px;
        color: #999;
    }

    .company-table td {
        padding-top: 0;
        padding-bottom: 20px;
        font-size: 14px;
    }

    .company-table tr {
        border-bottom: 2px solid #f0f0f0;
    }

    /* Contact */
    .contact-text {
        font-size: 15px;
    }

    .btn {
        padding: 14px 40px;
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle br {
        display: none;
    }

    .section-title {
        font-size: 28px;
    }

    .about-text br {
        display: none;
    }

    .category-title {
        font-size: 20px;
    }

    .service-category {
        padding: 25px 20px;
    }
}