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

:root {
    /* Orange Color Palette */
    --primary-orange: #ff6b35;
    --primary-orange-dark: #e85a28;
    --primary-orange-light: #ff8556;
    --accent-orange: #ff9966;
    --orange-gradient: linear-gradient(135deg, #ff6b35 0%, #ff9966 100%);

    /* Neutral Colors */
    --dark-gray: #2c3e50;
    --medium-gray: #5a6c7d;
    --light-gray: #ecf0f1;
    --white: #ffffff;
    --black: #1a1a1a;

    /* Typography */
    --font-japanese: 'Noto Sans JP', sans-serif;
    --font-english: 'Roboto', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;

    /* Transitions */
    --transition-smooth: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-japanese), var(--font-english), sans-serif;
    color: var(--dark-gray);
    line-height: 1.8;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ===================================
   Header & Navigation
   =================================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition-smooth);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 24px;
    color: var(--primary-orange);
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 12px;
    color: var(--medium-gray);
    font-family: var(--font-english);
    letter-spacing: 2px;
    margin-top: -5px;
}

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

.nav-list a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange-gradient);
    transition: var(--transition-smooth);
}

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

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

.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: 3px;
    background: var(--primary-orange);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    height: 65vh;
    min-height: 500px;
    max-height: 700px;
    overflow: hidden;
    margin-top: 70px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    animation: zoomIn 8s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
    }
}

.hero-slide:nth-child(1) {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.75) 0%, rgba(255, 153, 102, 0.75) 100%),
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1600&q=80');
    background-size: cover;
    background-position: center;
}

.hero-slide:nth-child(2) {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.75) 0%, rgba(232, 90, 40, 0.75) 100%),
                url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1600&q=80');
    background-size: cover;
    background-position: center;
}

.hero-slide:nth-child(3) {
    background: linear-gradient(135deg, rgba(232, 90, 40, 0.75) 0%, rgba(255, 107, 53, 0.75) 100%),
                url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=1600&q=80');
    background-size: cover;
    background-position: center;
}

.hero-content {
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    max-width: 900px;
}

.hero-content h2 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    font-weight: 300;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background: var(--white);
    transform: scale(1.3);
}

/* ===================================
   Section Styles
   =================================== */
.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 16px;
    text-align: center;
    color: var(--primary-orange);
    font-family: var(--font-english);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 60px;
    font-weight: 300;
}

/* ===================================
   Business Section
   =================================== */
.business {
    padding: var(--section-padding);
    background: var(--white);
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.business-card {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    padding: 40px 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--orange-gradient);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
    border-color: var(--primary-orange);
}

.business-card:hover::before {
    transform: scaleX(1);
}

.business-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    color: var(--primary-orange);
}

.business-icon svg {
    width: 100%;
    height: 100%;
}

.business-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.business-card > p {
    font-size: 15px;
    color: var(--medium-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.business-card ul {
    list-style: none;
    padding: 0;
}

.business-card ul li {
    font-size: 14px;
    color: var(--medium-gray);
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.business-card ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

/* ===================================
   Message Section
   =================================== */
.message {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.message-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
}

.message-content::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 120px;
    color: var(--accent-orange);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.message-text {
    position: relative;
    z-index: 1;
}

.message-intro {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-orange);
    margin-bottom: 25px;
    line-height: 1.8;
}

.message-text p {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--medium-gray);
}

.message-signature {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-gray);
    text-align: right;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid var(--light-gray);
}

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

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.company-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.company-table tr {
    border-bottom: 1px solid var(--light-gray);
}

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

.company-table th {
    background: var(--orange-gradient);
    color: var(--white);
    font-weight: 600;
    text-align: left;
    padding: 20px 30px;
    width: 180px;
    font-size: 15px;
}

.company-table td {
    padding: 20px 30px;
    font-size: 15px;
    color: var(--medium-gray);
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.contact-text {
    text-align: center;
    font-size: 16px;
    color: var(--medium-gray);
    margin-bottom: 50px;
    line-height: 1.8;
}

.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-gray);
    font-size: 14px;
}

.required {
    color: var(--primary-orange);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-gray);
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--orange-gradient);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* ===================================
   Footer
   =================================== */
#footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo h3 {
    font-size: 24px;
    color: var(--primary-orange);
    margin-bottom: 5px;
}

.footer-logo p {
    font-size: 13px;
    color: var(--light-gray);
    font-family: var(--font-english);
    letter-spacing: 2px;
}

.footer-info p {
    font-size: 14px;
    color: var(--light-gray);
    line-height: 1.8;
}

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

.footer-bottom p {
    font-size: 13px;
    color: var(--light-gray);
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--orange-gradient);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ===================================
   Animation Classes
   =================================== */
.fadeInUp {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fadeInUp.visible {
    opacity: 1;
    transform: translateY(0);
}

.fadeInDown {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fadeInDown.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    /* Header */
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-list {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transform: translateX(100%);
        transition: var(--transition-smooth);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }

    .nav-list.active {
        transform: translateX(0);
    }

    .nav-list a {
        font-size: 20px;
    }

    /* Hero */
    .hero {
        margin-top: 70px;
        height: 60vh;
        min-height: 450px;
        max-height: 600px;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    /* Sections */
    :root {
        --section-padding: 60px 0;
    }

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

    .section-subtitle {
        font-size: 14px;
        margin-bottom: 40px;
    }

    /* Business */
    .business-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .business-card {
        padding: 30px 20px;
    }

    /* Message */
    .message-content {
        padding: 40px 30px;
    }

    .message-content::before {
        font-size: 80px;
        top: 10px;
        left: 10px;
    }

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

    /* Company Table */
    .company-table th,
    .company-table td {
        padding: 15px 20px;
        font-size: 14px;
    }

    .company-table th {
        width: 120px;
    }

    /* Contact */
    .contact-form {
        padding: 30px 20px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    /* Back to Top */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 26px;
    }

    .hero-content p {
        font-size: 14px;
    }

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

    .business-card h3 {
        font-size: 20px;
    }

    .message-content {
        padding: 30px 20px;
    }

    .company-table {
        font-size: 13px;
    }

    .company-table th {
        width: 100px;
        padding: 12px 15px;
    }

    .company-table td {
        padding: 12px 15px;
    }

    .contact-form {
        padding: 25px 15px;
    }
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    .back-to-top,
    #header,
    .hero,
    .contact-form {
        display: none;
    }

    .section-title {
        page-break-after: avoid;
    }

    .business-card,
    .message-content {
        page-break-inside: avoid;
    }
}
