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

html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans TC', Arial, sans-serif;
    background-color: #005e80;
    color: #ffffff;
    line-height: 1.6;
    overflow-y: auto;
    min-height: 100vh;
}

main {
    min-height: auto;
    overflow: visible;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 0px;
    position: relative;
}

/* Common Image Container */
.image-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 10px;
}

/* Divider for header and section */
.header-divider {
    border: none;
    border-top: 2px solid #21addb;
    width: 100vw;
    margin: 0;
    background-color: #ffffff;
    position: relative;
    z-index: 99;
}
.section-divider {
    border: none;
    border-top: 2px solid #005e80;
    width: 90%;
    max-width: 1200px;
    margin: 10px auto;
    background-color: #ffffff;
}

/* Body Container (for experience.html, company.html, building.html, combuild.html, market.html) */
.body-container {
    display: flex;
    flex-wrap: wrap;
    min-height: auto;
    align-items: flex-start;
    gap: 20px;
    justify-content: flex-start;
    position: relative;
    overflow: visible;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1025px) {
    .body-container {
        flex-wrap: nowrap;
        width: 100%;
    }
}

/* Customer Types (Left Sidebar for experience.html, company.html, building.html, combuild.html, market.html) */
.customer-types {
    width: 260px;
    background-color: #005e80;
    padding: 20px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 220px;
    order: -1;
    z-index: 2;
    overflow: visible;
}

@media (min-width: 1025px) {
    .customer-types {
        width: 30%;
        min-width: 220px;
        align-items: center;
    }
}

.customer-types-title {
    color: #ffffff;
    font-size: 1.9em;
    font-weight: 700;
    text-align: center;
    margin: 0;
    max-width: fit-content;
    white-space: nowrap;
}

.customer-types-divider {
    width: 80%;
    height: 2px;
    background-color: #ffffff;
    border: none;
    margin: 10px auto;
}

@media (min-width: 1025px) {
    .customer-types-divider {
        width: 90%;
    }
}

.customer-type-button {
    display: block;
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    margin: 12px auto;
    padding: 10px 20px;
    background-color: #ffffff;
    color: #005e80;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: 500;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
    min-height: 44px;
}

@media (min-width: 1025px) {
    .customer-type-button {
        width: 90%;
        min-width: 180px;
        max-width: 200px;
        margin: 12px auto;
    }
}

.customer-type-button:hover,
.customer-type-button:active {
    background-color: #21addb !important;
    color: #ffffff !important;
    cursor: pointer !important;
}

/* Main Content (Right Content for experience.html, company.html, building.html, combuild.html, market.html) */
.main-content-bg {
    position: relative;
    height: auto;
    left: 260px;
    right: 0;
    background-color: #ffffff;
    z-index: 0;
}

@media (min-width: 1025px) {
    .main-content-bg {
        width: 70%;
        position: relative;
        right: 0;
        left: auto;
        margin-left: auto;
    }
}

.main-content {
    flex: 1;
    background-color: transparent;
    padding: 20px;
    order: 0;
    position: relative;
    z-index: 1;
    overflow: visible;
    min-height: auto;
}

.main-content-divider {
    width: 100%;
    height: 2px;
    background-color: #005e80;
    border: none;
    margin: 20px auto;
}

/* Company List (for company.html, building.html, combuild.html, market.html) */
.company-list {
    list-style-type: disc;
    margin: 20px 0 20px 20px;
    padding-left: 20px;
    color: #005e80;
}

.company-list li {
    font-size: 1.1em;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* District Title (for building.html, combuild.html) */
.district-title {
    font-size: 1.5em;
    color: #005e80;
    margin: 15px 0 10px 0;
}

/* Header */
header {
    background-color: #ffffff;
    color: #005e80;
    padding: 0px 0 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid #21addb;
    min-height: 80px;
    display: flex;
    align-items: center;
}

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

.logo-link {
    display: inline-block;
}

.header-image {
    height: calc(80px * 0.73);
    width: auto;
    object-fit: contain;
    max-height: calc(80px * 0.73);
}

nav {
    display: flex;
    align-items: center;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: #005e80;
    font-size: 2em;
    padding: 10px;
    transition: background-color 0.3s, color 0.3s;
    position: relative;
    z-index: 101;
    cursor: pointer;
}

nav .hamburger:hover,
nav .hamburger:active {
    background-color: #21addb !important;
    color: #ffffff !important;
    cursor: pointer !important;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-button {
    color: #005e80;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    position: relative;
    z-index: 101;
    cursor: pointer;
}

.nav-menu .nav-button:hover,
.nav-menu .nav-button:active {
    background-color: #21addb !important;
    color: #ffffff !important;
    cursor: pointer !important;
}

/* Intro Text Section (for contact.html) */
.intro-text {
    background-color: #005e80;
    padding: 20px 0;
    text-align: center;
    color: #ffffff;
}

.intro-text .container {
    max-width: 100%;
}

.intro-text p {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Contact Container (for contact.html) */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 0;
}

.contact-info {
    width: 400px;
    height: 400px;
    flex: 0 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.contact-info p {
    font-size: 1.1em;
    margin-bottom: 15px;
    line-height: 1.8;
    color: #005e80;
}

.contact-info a {
    color: #005e80;
    text-decoration: underline;
}

.contact-info a:hover {
    color: #21addb;
}

.contact-map {
    width: 400px;
    height: 400px;
    flex: 0 0 auto;
    padding: 0;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    border-radius: 10px;
}

.contact-bubble {
    display: inline-block;
    padding: 15px 30px;
    background-color: #21addb;
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.2em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
    cursor: pointer;
    position: relative;
    z-index: 101;
}

.contact-bubble:hover,
.contact-bubble:active {
    background-color: #005e80 !important;
    color: #ffffff !important;
    transform: scale(1.05);
    cursor: pointer !important;
}

/* Contact Section (for index.html, about.html, services.html, experience.html, company.html, building.html, combuild.html, market.html) */
.contact-section {
    background-color: #e0f7fa;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.contact-section::before,
.contact-section::after {
    content: "";
    display: block;
    width: 100vw;
    height: 2px;
    background-color: #21addb;
    position: absolute;
    left: 0;
}

.contact-section::before {
    top: 0;
}

.contact-section::after {
    bottom: 0;
}

.contact-section .container {
    max-width: 100%;
}

.contact-section p {
    font-size: 1.1em;
    margin-bottom: 15px;
    line-height: 1.8;
    color: #005e80;
}

.contact-section a {
    color: #005e80;
    text-decoration: underline;
}

.contact-section a:hover {
    color: #21addb;
}

/* Hero Section (for index.html) */
.hero {
    background-color: #005e80;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 0px solid #21addb;
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.swiper-container {
    width: 100%;
    max-width: 100%;
    height: 40vw;
    aspect-ratio: 16 / 9;
    position: relative;
    pointer-events: auto;
}

.swiper-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: 100%;
    max-width: 100%;
    height: auto;
    text-align: center;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    max-width: 100%;
    height: 40vw;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.hero-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 94, 128, 0.5);
    padding: 15px;
    color: #ffffff;
    text-align: center;
    z-index: 10;
}

.hero-caption h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero-caption .hero-text {
    font-size: 1.2em;
    margin-bottom: 0;
}

.swiper-container .swiper-button-prev,
.swiper-container .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 94, 128, 0.7);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s;
    z-index: 10;
    cursor: pointer;
    pointer-events: auto;
}

.swiper-container .swiper-button-prev {
    left: 10px;
}

.swiper-container .swiper-button-next {
    right: 10px;
}

.swiper-container .swiper-button-prev:hover,
.swiper-container .swiper-button-next:hover,
.swiper-container .swiper-button-prev:active,
.swiper-container .swiper-button-next:active {
    background-color: #21addb !important;
    color: #ffffff !important;
    cursor: pointer !important;
}

.swiper-container .swiper-button-prev::after,
.swiper-container .swiper-button-next::after {
    font-size: 20px;
}

/* Core Services Section (for index.html) */
.core-services {
    background-color: #ffffff;
    padding: 40px 0;
    margin-bottom: 40px;
}

.section-title {
    color: #005e80;
    font-size: 2em;
    font-weight: 700;
    margin-top: 0px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding: 0 40px;
    line-height: 1.2;
    letter-spacing: 0;
}

.section-title::before,
.section-title::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    height: 2px;
    background-color: #005e80;
}

.section-title::before {
    left: 0;
}

.section-title::after {
    right: 0;
}

/* Remove lines for Contact Section title */
.contact-section h2.section-title::before,
.contact-section h2.section-title::after {
    content: none;
}

/* Remove lines for company.html, experience.html, building.html, combuild.html, market.html main-content section-title */
.main-content .section-title {
    padding: 0;
    margin: 0;
}

.main-content .section-title::before,
.main-content .section-title::after {
    content: none;
}

.past-customers-section .section-title {
    padding: 0;
    margin-bottom: 0;
}

.past-customers-section .section-title::before,
.past-customers-section .section-title::after {
    content: none;
}

.services-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 20px;
}

.service-item {
    flex: 1 1 150px;
    text-align: center;
}

.image-container.service-image {
    width: auto;
    height: auto;
}

.service-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.service-icon-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 1.1em;
    font-weight: 500;
    text-align: center;
    padding: 5px 0;
}

/* Company Past Section (for index.html) */
.company-past {
    background-color: #e0f7fa;
    padding: 40px 0;
    margin-bottom: 40px;
}

.past-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 20px;
}

.past-item {
    flex: 1 1 150px;
    text-align: center;
}

.past-image {
    width: 100%;
    max-width: 500px;
    height: 320px;
    object-fit: cover;
    border-radius: 10%;
}

/* Past Customers Section (for index.html) */
.past-customers {
    background-color: #ffffff;
    padding: 40px 0;
    margin-bottom: 40px;
}

.past-customers-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

/* Past Customers Section (for experience.html, company.html, building.html, combuild.html, market.html) */
.past-customers-section {
    background-color: #005e80;
    padding: 0;
    margin-bottom: 0px;
}

.past-customers-section .section-title {
    padding: 0;
    margin: 0;
    color: #ffffff;
}

.past-customers-section .section-title::before,
.past-customers-section .section-title::after {
    content: none;
}

.experience-content-inner {
    background-color: transparent;
    padding: 0 20px 20px 20px;
    border-radius: 5px;
    color: #005e80;
    margin-bottom: 40px;
}

.experience-divider {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border: none;
    margin: 20px auto;
}

.experience-content-inner p {
    font-size: 1.1em;
    margin: 10px 0 15px 0;
    text-align: justify;
}

.content-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
}

.grid-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background-color: #005e80;
    color: #ffffff;
    padding: 10px 0;
}

.footer .contact-section {
    margin-bottom: 10px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo-image {
    max-width: 200px;
    height: auto;
}

.footer-contact p {
    margin: 20px 0;
    font-size: 1em;
    color: #ffffff !important; /* 確保 footer-contact p 的文本顏色為白色 */
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1em;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    display: inline-block;
    position: relative;
    z-index: 101;
    cursor: pointer;
}

.footer-nav ul li a:hover,
.footer-nav ul li a:active {
    background-color: #21addb !important;
    color: #ffffff !important;
    cursor: pointer !important;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #21addb;
    padding-top: 10px;
}

.footer-bottom small {
    font-size: 0.9em;
}

/* Services Columns Section (for services.html) */
.services-columns-section {
    background-color: #ffffff;
    padding: 40px 0;
    margin-bottom: 40px;
}

.services-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0 auto;
    max-width: 1200px;
}

.service-column {
    flex: 1 1 300px;
    text-align: center;
    min-height: 450px;
}

.image-container.service-column-image {
    width: 300px;
    margin: 0 auto 10px;
}

.column-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.column-image-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 300px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 1.1em;
    font-weight: 500;
    text-align: center;
    padding: 10px;
    border-radius: 0 0 0px 0px;
}

.column-content {
    background-color: #005e80;
    padding: 15px;
    border-radius: 0px;
    color: #ffffff;
    width: 100%;
    max-width: 300px;
    min-height: 200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.column-content p {
    font-size: 1.1em;
    margin-bottom: 15px;
    text-align: justify;
}

/* Company Image Section (for about.html) */
.company-image-section {
    width: 100%;
    margin-bottom: 40px;
}

.company-large-image {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    display: block;
}

/* Description Section (for about.html) */
.description-section {
    background-color: #e0f7fa;
    padding: 40px 0;
    margin-bottom: 40px;
}

.description-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.description-text {
    flex: 0 0 60%;
    color: #005e80;
}

.description-text h2.section-title {
    font-size: 2.2em;
    margin-bottom: 20px;
    border-bottom: 3px solid #005e80;
    padding-bottom: 10px;
    text-align: center;
}

.description-text h2.section-title::before,
.description-text h2.section-title::after {
    content: none;
}

.description-text p {
    font-size: 1.1em;
    margin: 15px;
    margin-bottom: 15px;
    text-align: justify;
}

.description-image {
    flex: 0 0 30%;
    text-align: center;
}

.side-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    display: block;
}

/* Advantages Section (for about.html) */
.advantages-section {
    background-color: #ffffff;
    padding: 40px 0;
    margin-bottom: 40px;
}

.advantages-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
    margin: 0 auto;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
    flex: 1;
    min-width: 300px;
}

.advantage-image {
    width: 150px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
}

.advantage-text-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.advantage-text-container h3 {
    font-size: 1.6em;
    color: #005e80;
    margin: 0;
}

.advantage-text {
    font-size: 1.1em;
    color: #005e80;
    margin: 0;
}

/* Responsive Design */
@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        width: 100%;
        margin: 0;
    }
    header {
        min-height: 70px;
        padding: 10px 0 0;
    }
    .header-image {
        height: calc(70px * 0.73);
        max-height: calc(70px * 0.73);
    }
    .hamburger {
        display: block;
        font-size: 1.8em;
        padding: 8px;
        min-height: 44px;
        min-width: 44px;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #ffffff;
        max-width: 250px;
        width: 100%;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 100;
        padding: 10px 0;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu li {
        margin: 8px 0;
        padding: 0 10px;
        box-sizing: border-box;
    }
    .nav-button {
        display: block;
        font-size: 1.1em;
        padding: 8px;
        width: 100%;
        text-align: center;
        min-height: 44px;
    }
    .section-title {
        font-size: 2em;
        padding: 0 40px;
        line-height: 1.2;
    }
    .section-title::before,
    .section-title::after {
        width: 150px;
    }
    .contact-container {
        max-width: 720px;
        padding: 30px 0;
        gap: 20px;
    }
    .contact-info {
        width: 350px;
        height: 350px;
        padding: 15px;
    }
    .contact-map {
        width: 350px;
        height: 350px;
        padding: 0;
    }
    .contact-info p {
        font-size: 1em;
        margin-bottom: 12px;
    }
    .body-container {
        flex-direction: column;
        gap: 30px;
    }
    .customer-types {
        flex: 0 0 100%;
        width: 100%;
        padding: 15px;
        min-width: 0;
        max-width: none;
        min-height: auto;
        margin-bottom: 20px;
        order: -1;
        z-index: 2;
        overflow: visible;
    }
    .customer-type-button {
        width: 180px;
        min-width: 180px;
        max-width: 180px;
        padding: 10px 15px;
    }
    .main-content-bg {
        position: relative;
        width: 100%;
        left: 0;
        right: 0;
        height: auto;
        background-color: #ffffff;
        z-index: 0;
    }
    .main-content {
        flex: 0 0 100%;
        width: 100%;
        padding: 15px;
        order: 0;
        z-index: 1;
        overflow-y: auto;
        min-height: auto;
    }
    .company-list {
        margin: 15px 0 15px 15px;
        padding-left: 15px;
    }
    .company-list li {
        font-size: 1.1em;
        margin-bottom: 10px;
    }
    .district-title {
        font-size: 1.5em;
        margin: 15px 0 10px 0;
    }
    .intro-text {
        padding: 20px 0;
    }
    .contact-section {
        padding: 30px 0;
    }
    .contact-section p {
        font-size: 1.1em;
        margin-bottom: 12px;
    }
    .contact-bubble {
        font-size: 1.1em;
        padding: 12px 25px;
        min-height: 44px;
    }
    .hero-caption h1 {
        font-size: 2.2em;
    }
    .hero-caption .hero-text {
        font-size: 1.1em;
    }
    .main-content .section-title {
        font-size: 2em;
    }
    .services-columns {
        gap: 20px;
    }
    .service-column {
        flex: 1 1 45%;
        min-height: 400px;
    }
    .image-container.service-column-image {
        width: 250px;
    }
    .column-image {
        max-width: 250px;
    }
    .column-content {
        max-width: 250px;
        min-height: 180px;
        padding: 15px;
    }
    .column-content p {
        font-size: 1em;
    }
    .column-image-caption {
        max-width: 250px;
        font-size: 1.1em;
    }
    .past-customers-image {
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .swiper-button-prev,
    .swiper-button-next {
        width: 35px;
        height: 35px;
        left: 20px;
    }
    .swiper-button-next {
        right: 20px;
    }
    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 18px;
    }
    .description-container {
        flex-direction: column;
        align-items: center;
    }
    .description-text {
        flex: 0 0 100%;
    }
    .description-image {
        flex: 0 0 100%;
    }
    .side-image {
        max-width: 300px;
        height: auto;
    }
    .description-text h2 {
        font-size: 2em;
    }
    .description-text p {
    margin: 15px;
        font-size: 1.1em;
    }
    .advantages-container {
        gap: 30px;
    }
    .advantage-item {
        flex: 1 1 45%;
        min-width: 250px;
    }
    .advantage-image {
        width: 120px;
    }
    .advantage-text-container h3 {
        font-size: 1.4em;
    }
    .advantage-text {
        font-size: 1em;
    }
    .experience-content-inner {
        padding: 0 15px 15px 15px;
    }
    .experience-content-inner p {
        font-size: 1em;
        margin: 10px 0 15px 0;
    }
    .content-image-grid {
        max-width: 500px;
        gap: 25px;
    }
    .grid-image {
        height: auto;
        aspect-ratio: 4 / 3;
    }
    .customer-types-title {
        font-size: 1.8em;
    }
    .customer-types-divider {
        margin: 10px auto;
    }
    .experience-divider {
        margin: 10px auto;
    }
    .footer .contact-section {
        margin-bottom: 15px;
    }
}

@media (max-width: 767px) {
    .container {
        width: 100%;
        margin: 0;
    }
    header {
        min-height: 60px;
        padding: 8px 0 0;
    }
    .header-image {
        height: calc(60px * 0.73);
        max-height: calc(60px * 0.73);
    }
    .hamburger {
        display: block;
        font-size: 1.8em;
        padding: 8px;
        min-height: 44px;
        min-width: 44px;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #ffffff;
        max-width: 100%;
        width: 100%;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 100;
        padding: 10px 0;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu li {
        margin: 8px 0;
        padding: 0 10px;
        box-sizing: border-box;
    }
    .nav-button {
        display: block;
        font-size: 1.1em;
        padding: 8px;
        width: 100%;
        text-align: center;
        min-height: 44px;
    }
    .section-title {
        font-size: 1.8em;
        font-weight: 700;
        padding: 0 30px;
        line-height: 1.2;
        letter-spacing: 0;
    }
    .section-title::before,
    .section-title::after {
        width: 100px;
    }
    .contact-container {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 15px;
    }
    .contact-info {
        width: 100%;
        max-width: 300px;
        height: 300px;
        padding: 15px;
        margin-bottom: 15px;
    }
    .contact-map {
        width: 100%;
        max-width: 300px;
        height: 300px;
        padding: 0;
    }
    .contact-info p {
        font-size: 1em;
        margin-bottom: 10px;
    }
    .main-content .section-title {
        font-size: 1.8em;
    }
    .body-container {
        flex-direction: column;
        gap: 20px;
    }
    .customer-types {
        flex: 0 0 100%;
        width: 100%;
        padding: 10px;
        min-width: 0;
        max-width: none;
        min-height: auto;
        margin-bottom: 15px;
        order: -1;
        z-index: 2;
        overflow: visible;
    }
    .customer-type-button {
        width: 180px;
        min-width: 180px;
        max-width: 180px;
        padding: 10px 15px;
    }
    .main-content-bg {
        position: relative;
        width: 100%;
        left: 0;
        right: 0;
        height: auto;
        background-color: #ffffff;
        z-index: 0;
    }
    .main-content {
        flex: 0 0 100%;
        width: 100%;
        padding: 10px;
        order: 0;
        z-index: 1;
        overflow-y: auto;
        min-height: auto;
    }
    .company-list {
        margin: 10px 0 10px 10px;
        padding-left: 15px;
    }
    .company-list li {
        font-size: 1em;
        margin-bottom: 12px;
    }
    .district-title {
        font-size: 1.4em;
        margin: 15px 0 10px 0;
    }
    .intro-text {
        padding: 15px 0;
    }
    .contact-section {
        padding: 20px 0;
    }
    .contact-section p {
        font-size: 1em;
        margin-bottom: 10px;
    }
    .contact-bubble {
        font-size: 1em;
        padding: 10px 20px;
        min-height: 44px;
    }
    .hero-caption h1 {
        font-size: 1.8em;
    }
    .hero-caption .hero-text {
        font-size: 1em;
    }
    .hero-caption {
        padding: 10px;
    }
    .swiper-container,
    .swiper-slide,
    .hero-image {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 16 / 9;
    }
    .swiper-button-prev,
    .swiper-button-next {
        width: 30px;
        height: 30px;
        left: 10px;
    }
    .swiper-button-next {
        right: 10px;
    }
    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 16px;
    }
    .image-container.service-image,
    .past-image {
        width: 120px;
        height: 120px;
    }
    .service-icon {
        width: 100%;
        height: 100%;
    }
    .service-icon-caption {
        font-size: 0.8em;
    }
    .services-columns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .service-column {
        flex: 1 1 100%;
        min-height: auto;
    }
    .image-container.service-column-image {
        width: 200px;
    }
    .column-image {
        max-width: 200px;
        aspect-ratio: 4 / 3;
    }
    .column-content {
        max-width: 100%;
        min-height: 150px;
        padding: 15px;
    }
    .column-content p {
        font-size: 0.9em;
    }
    .column-image-caption {
        max-width: 200px;
        font-size: 1em;
        padding: 8px;
    }
    .past-customers-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-logo-image {
        max-width: 150px;
    }
    .footer-contact p,
    .footer-nav ul li a {
        font-size: 0.9em;
    }
    .footer-bottom small {
        font-size: 0.8em;
    }
    .description-container {
        flex-direction: column;
        align-items: center;
    }
    .description-text,
    .description-image {
        flex: 0 0 100%;
    }
    .side-image {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    .description-text h2 {
        font-size: 1.8em;
    }
    .description-text p {
    margin: 15px;
        font-size: 1em;
    }
    .advantages-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .advantage-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        min-width: 200px;
    }
    .advantage-image {
        width: 120px;
        height: auto;
        aspect-ratio: 1 / 1;
    }
    .advantage-text-container h3 {
        font-size: 1.2em;
    }
    .advantage-text {
        font-size: 1em;
    }
    .experience-content-inner {
        padding: 0 10px 10px 10px;
    }
    .content-image-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        gap: 20px;
    }
    .grid-image {
        height: auto;
        aspect-ratio: 4 / 3;
    }
    .customer-types-title {
        font-size: 1.4em;
    }
    .customer-types-divider {
        margin: 10px auto;
    }
    .experience-divider {
        margin: 10px auto;
    }
    .footer .contact-section {
        margin-bottom: 15px;
    }
    .customer-type-button {
        width: 180px;
        min-width: 180px;
        max-width: 180px;
    }
}