/* Base Styles */
:root {
    --primary: #BD4732;
    --primary-dark: #A33D2B;
    --secondary: #7A8BA6;
    --secondary-dark: #5A6B86;
    --text-dark: #333333;
    --text-light: #DDE2D6;
    --text-gray: #4A4A4A;
    --bg-light: #F0ECE3;
    --bg-cream: #E8E3D5;
    --white: #FFFFFF;
    --black: #000000;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 15px 40px rgba(0, 0, 0, 0.2);
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-radius: 8px;
    --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lora', serif;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

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

/* Section Styles */
.section {
    padding: 100px 0;
    background-color: var(--bg-light);
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-underline {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

.section-underline:before {
    content: '';
    position: absolute;
    width: 40px;
    height: 4px;
    background: var(--accent-color);
    top: -8px;
    left: 20px;
    opacity: 0.5;
}

/* Header */
header {
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.4s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.scrolled {
    padding: 10px 0;
    background: rgba(122, 139, 166, 0.95);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-image {
    width: 200px;
    height: auto;
    transition: transform 0.5s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 5px;
    position: relative;
}

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

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 70%;
}

.nav-links a.contact-btn {
    background: var(--primary);
    margin: 0 5px 10px;
    color: var(--white);
    border-radius: 30px;
    padding: 8px 20px; /* Increased top/bottom padding from 0px to 8px */
    transition: all 0.3s ease;
}

.nav-links a.contact-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(189, 71, 50, 0.4);
}

.nav-links a.contact-btn::after {
    display: none;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    position: relative;
    width: 30px;
    height: 20px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--white);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 8px;
}

.menu-toggle span:nth-child(3) {
    top: 16px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 998;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Hero Section with Slider */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-bottom: 0;
    margin-top: 0;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out, transform 5s ease-in-out;
    transform: scale(1.05);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.slider-nav {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10;
}

.nav-bar {
    width: 40px;
    height: 7px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-bar:hover {
    background: var(--primary);
}

.nav-bar.active {
    width: 60px;
    background: var(--primary);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.hero-text-box {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    overflow: hidden;
}

.hero-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    display: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    transition: opacity 0.5s ease-in-out;
}

.hero-description-other {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 1;
    display: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    transition: opacity 0.5s ease-in-out;
}

.hero-description.active {
    opacity: 1;
    display: block;
}

.hero-title {
    position: absolute;
    top: 10%;
    left: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 5rem;
    color: var(--primary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-title-other {
    position: absolute;
    top: 15%;
    left: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 4rem;
    color: var(--primary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}


.hero-bottom-right {
    position: absolute;
    bottom: 90px;
    right: 5%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}



.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 35px;
    color: var(--white);
    font-weight: 400;
    opacity: 0;
    transform: translateX(20px);
    animation: fadeIn 1s ease-in-out forwards;
}

.hero-subtitle-other {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 35px;
    color: var(--white);
    font-weight: 400;
    opacity: 0;
    transform: translateX(20px);
    animation: fadeIn 1s ease-in-out forwards;
}


@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateX(20px);
    animation: fadeIn 1s ease-in-out forwards;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
}

.cta-button.primary {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 6px 20px rgba(189, 71, 50, 0.4);
}

.cta-button.primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(189, 71, 50, 0.6);
}

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

.cta-button.secondary:hover {
    background: rgba(189, 71, 50, 0.1);
    transform: translateY(-5px);
}

/* Scroll Arrow Animation */
.scroll-arrow {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}

.chevron {
    position: relative;
    width: 28px;
    height: 8px;
    opacity: 0;
    transform: scale(0.3);
    animation: move-chevron 3s ease-out infinite;
}

.chevron:first-child {
    animation-delay: 0s;
}

.chevron:nth-child(2) {
    animation-delay: 0.5s;
}

.chevron:nth-child(3) {
    animation-delay: 1s;
}

.chevron:before,
.chevron:after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    background: var(--white);
    border-radius: 2px;
}

.chevron:before {
    left: 0;
    transform: skewY(30deg);
}

.chevron:after {
    right: 0;
    transform: skewY(-30deg);
}

@keyframes move-chevron {
    25% {
        opacity: 1;
    }
    33.3% {
        opacity: 1;
        transform: translateY(10px);
    }
    66.6% {
        opacity: 1;
        transform: translateY(20px);
    }
    100% {
        opacity: 0;
        transform: translateY(30px) scale(0.5);
    }
}

/* About Section */
.parallax-section {
    background: url('images/about-bg.jpg') no-repeat center;
    background-size: cover;
    background-attachment: fixed;
    color: var(--text-dark);
    position: relative;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.parallax-section .container {
    position: relative;
    z-index: 2;
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
    padding: 40px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.about-image-container {
    position: relative;
    max-width: 45%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.8s ease;
}

.about-image-container:hover .about-image {
    transform: scale(1.05);
}

.about-badge {
    position: absolute;
    bottom: 20px;
    right: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.about-text {
    flex: 1;
}

.about-subtitle {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.about-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 1.5px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-gray);
    line-height: 1.8;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    text-align: center;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 400;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    transition: all 0.5s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-height: 450px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-strong);
}

.service-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.5s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-dark);
    font-weight: 700;
    position: relative;
}

.service-card p {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.7;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.service-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Process Section */
.process-section {
    background-color: var(--bg-cream);
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--secondary);
    border-radius: 2px;
}

.process-timeline2 {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 0;
}

.process-timeline2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--secondary);
    border-radius: 2px;
}

.process-step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-number {
    background: var(--primary);
    color: var(--white);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 5px 15px rgba(189, 71, 50, 0.3);
}

.process-number2 {
    background: var(--primary);
    color: var(--white);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    position: absolute;
    left: 0%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 5px 15px rgba(189, 71, 50, 0.3);
}

.process-details {
    width: 45%;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.5s ease;
}

.process-step:nth-child(odd) .process-details {
    margin-right: auto;
    text-align: right;
}

.process-step:nth-child(even) .process-details {
    margin-left: auto;
}

.process-details h3 {
    font-size: 1.4rem;
    color: var(--secondary-dark);
    margin-bottom: 15px;
}

.process-details p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.process-step:hover .process-details {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary);
    width: 50px;
    height: 50px;
    background: rgba(189, 71, 50, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 1.2rem;
    color: var(--secondary-dark);
    margin-bottom: 5px;
}

.contact-text p, .contact-text a {
    font-size: 1rem;
    color: var(--text-gray);
}

.contact-text a:hover {
    color: var(--primary);
}

.contact-form {
    flex: 1;
    padding: 40px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(189, 71, 50, 0.2);
}

.submit-button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin-left: auto;
    letter-spacing: 1px;
}

.submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(189, 71, 50, 0.4);
}

/* Footer */
footer {
    background: var(--secondary-dark);
    padding: 80px 0 30px;
    color: var(--text-light);
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo-image {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-logo p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-around;
}

.footer-links-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 1.5px;
}

.footer-links-column ul {
    list-style: none;
}

.footer-links-column li {
    margin-bottom: 15px;
}

.footer-links-column a {
    color: var(--text-light);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links-column a:hover {
    opacity: 1;
    color: var(--primary);
    padding-left: 5px;
}

.footer-social {
    flex: 1;
    min-width: 250px;
}

.footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 1.5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive Styles */

@media (max-width: 768px) {
    .service-tabs {
      overflow-x: auto;
      flex-wrap: nowrap;
      justify-content: flex-start;
      padding-bottom: 10px;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none; /* Firefox */
    }
    
    .service-tabs::-webkit-scrollbar {
      display: none; /* Chrome, Safari, Opera */
    }
    
    .tab-button {
      flex: 0 0 auto;
      white-space: nowrap;
      font-size: 1rem;
    }
  }

@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image-container {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .about-badge {
        right: 20px;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .process-number {
        left: 30px;
    }
    
    .process-details {
        width: 85%;
        margin-left: 60px !important;
        text-align: left !important;
    }
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 50px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--secondary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        transition: all 0.5s ease;
        z-index: 999;
        opacity: 0;
        text-align: left; /* 左寄せを確実に */
    }
    
    .nav-links.active {
        left: 0;
        opacity: 1;
    }

    /* モバイルメニューが開いているときのドロップダウン表示 */
    .nav-links.active .dropdown-menu {
        display: block !important; /* モバイル時にドロップダウンを強制表示 */
        opacity: 1;
        position: static; /* モバイルでは通常のフローに */
        visibility: visible;
    }

    /* PCでのホバー表示 */
    @media (min-width: 993px) {
        .dropdown:hover .dropdown-menu {
            display: block;
        }
    }
/* モバイルメニュー用のスタイル */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--secondary); /* 背景色はデザインに合わせて */
        text-align: left; /* 左寄せ（前回の修正を反映） */
    }

    .nav-links.active {
        display: block;
    }

    .nav-links li,
    .dropdown-menu li {
        list-style: none; /* リストマーカーを非表示（前回の修正を反映） */
        text-align: left; /* 左寄せ */
        margin: 0; /* 余計なマージンをリセット */
        padding: 8px 20px; /* 縦の間隔を狭める（上下8px、左右20px） */
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: transparent; /* モバイルでは背景を透過または調整 */
    }

    .dropdown-menu li {
        padding-left: 30px; /* サブメニューを少しインデント */
        padding-top: 6px; /* サブメニューの縦間隔をさらに狭める */
        padding-bottom: 6px;
    }
}
    
    
    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
    }

    .hero-text-box {
        width: 90%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 50px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .process-timeline {
        padding-left: 30px;
    }
}

@media (max-width: 576px) {
    .hero-text-box {
        width: 95%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-subtitle {
        font-size: 1.5rem;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
    
    .process-details {
        padding: 20px;
    }
}



/* サービス詳細ページ用追加スタイル */
.service-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/service_hero_bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
  }
  
  .service-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
  }
  
  .service-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
  }
  
/* ブラウザタブ風サービスタブ */
.service-tabs {
    display: flex;
    justify-content: center; /* タブを中央揃え */
    margin: 40px 0 0;
    flex-wrap: wrap;
    position: relative;
    border-bottom: 2px solid #e0e0e0;
    padding: 0 10px; /* モバイル用に左右のパディングを減らす */
    max-width: 100%; /* コンテナの幅を制限 */
  }
  
  .tab-button {
    padding: 10px 15px; /* モバイル用に小さく */
    margin: 0 2px -2px; /* 間隔を少し狭く */
    background-color: #f0f0f0;
    border: 2px solid #e0e0e0;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem; /* モバイル用に小さく */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
    color: var(--text-gray);
    white-space: nowrap; /* テキストを折り返さない */
  }
  
  .tab-button:hover {
    background-color: #f8f8f8;
  }
  
  .tab-button.active {
    background-color: #ffffff;
    color: var(--primary);
    border-color: #e0e0e0;
    border-bottom: 2px solid #ffffff;
    box-shadow: 0px -3px 8px rgba(0,0,0,0.05);
  }
  
  .service-detail {
    padding: 30px 0; /* モバイル用に少し狭く */
  }
  
  .service-detail-container {
    display: flex;
    flex-direction: column; /* モバイルではカラムレイアウト */
    margin-bottom: 40px;
  }
  
  .service-detail-image {
    width: 100%; /* モバイルでは全幅 */
    min-width: auto;
    padding: 10px;
  }
  
  .service-detail-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .service-detail-content {
    width: 100%; /* モバイルでは全幅 */
    min-width: auto;
    padding: 15px;
  }
  
  .service-detail-content h2 {
    font-size: 1.8rem; /* モバイル用に少し小さく */
    margin-bottom: 0.8rem;
    color: #333;
  }
  
  .service-detail-content .service-icon {
    font-size: 1.6rem; /* モバイル用に少し小さく */
    color: var(--secondary);
    margin-bottom: 0.8rem;
  }
  
  /* タブレット向けスタイル */
  @media (min-width: 768px) {
    .service-tabs {
      padding: 0 15px;
    }
    
    .tab-button {
      padding: 10px 20px;
      font-size: 1rem;
    }
    
    .service-detail {
      padding: 40px 0;
    }
    
    .service-detail-container {
      flex-direction: row;
      flex-wrap: wrap;
    }
    
    .service-detail-image {
      flex: 1;
      min-width: 250px;
      padding: 15px;
    }
    
    .service-detail-content {
      flex: 1;
      min-width: 250px;
      padding: 15px;
    }
    
    .service-detail-content h2 {
      font-size: 2rem;
    }
  }
  
  /* デスクトップ向けスタイル */
  @media (min-width: 1024px) {
    .service-tabs {
      padding: 0 20px;
    }
    
    .tab-button {
      padding: 12px 25px;
      margin: 0 3px -2px;
      font-size: 1.1rem;
    }
    
    .service-detail {
      padding: 60px 0;
    }
    
    .service-detail-container {
      margin-bottom: 60px;
    }
    
    .service-detail-image {
      flex: 1;
      min-width: 300px;
      padding: 20px;
    }
    
    .service-detail-content {
      flex: 2;
      min-width: 300px;
      padding: 20px;
    }
    
    .service-detail-content h2 {
      font-size: 2.2rem;
      margin-bottom: 1rem;
    }
    
    .service-detail-content .service-icon {
      font-size: 2rem;
      margin-bottom: 1rem;
    }
  }
  
  
  .detail-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
  }
  
  .detail-feature {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  }
  
  .detail-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
  }
  
  .detail-feature h4 i {
    margin-right: 10px;
    color:var(--secondary);
  }
  
  .case-studies {
    background: #f5f7fa;
    padding: 60px 0;
  }
  
  .case-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 15px;
    transition: transform 0.3s ease;
  }
  
  .case-card:hover {
    transform: translateY(-5px);
  }
  
  .case-image {
    height: 200px;
    background-size: cover;
    background-position: center;
  }
  
  .case-content {
    padding: 20px;
  }
  
  .case-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  
  .case-content p {
    margin-bottom: 15px;
    color: #666;
  }
  
  .case-tag {
    display: inline-block;
    background: #e0e0e0;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 5px;
    margin-bottom: 5px;
  }
  
  .case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
  }
  
  .faq-section {
    padding: 60px 0;
  }
  
  .faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
  }
  
  .faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 0;
  }
  
  .faq-answer {
    padding: 10px 0;
    display: none;
  }
  
  .faq-answer.active {
    display: block;
  }
  
  .faq-question i {
    transition: transform 0.3s ease;
  }
  
  .faq-question.active i {
    transform: rotate(180deg);
  }
  
  .contact-cta {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    text-align: center;
    padding: 80px 0;
  }
  
  .contact-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .contact-cta p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
  }
  
  .tab-content {
    display: none;
  }
  
  .tab-content.active {
    display: block;
    background: var(--white); /* 現在の背景色: #FFFFFF */
  padding: 30px;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  }
  
  /* アクティブインジケーター - タブのアクティブ状態を強調する小さな要素 */
.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    z-index: 2;
  }
  
  /* オプション: タブにアイコンを追加する場合 */
  .tab-button i {
    margin-right: 8px;
    font-size: 0.9em;
  }
  .service-process {
    margin-top: 50px;
  }
  
  .process-card {
    display: flex;
    margin-top: 30px;
    margin-left: 30px;
    margin-bottom: 30px;
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
  }
  

  .process-content {
    padding: 20px;
    flex: 1;
  }
  
  .process-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  
  @media (max-width: 768px) {
    .service-hero h1 {
      font-size: 2.5rem;
    }
    
    .process-card {
      flex-direction: column;
    }

  }

  /* ドロップダウンメニューのスタイル */
.nav-links .dropdown {
    position: relative;
}

.dropdown-icon {
    font-size: 0.7em;
    margin-left: 3px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: var(--secondary);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    min-width: 160px;
    z-index: 1;
    border-radius: 4px;
    padding: 8px 0;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    padding: 10px 15px;
    display: block;
    color: var(--bg-cream);
    text-decoration: none;
    transition: background-color 0.3s;
}

.dropdown-menu a:hover {
    background-color: var(--);
}

.nav-links .dropdown:hover .dropdown-menu {
    display: block;
}

/* レスポンシブ対応のために追加 */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
        padding-left: 20px;
    }
    
    .nav-links .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-icon {
        transition: transform 0.3s;
    }
    
    .dropdown.active .dropdown-icon {
        transform: rotate(180deg);
    }
}

/* 会社紹介ページ用追加スタイル */

/* Hero Section for inner pages */
.inner-page-hero {
    height: 50vh;
    min-height: 400px;
}

.inner-page-hero .hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* Mission & Vision Section */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.mission-box,
.vision-box {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-box:hover,
.vision-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.bg-light {
    background-color: #f8f9fa;
}

.bg-dark {
    background-color: #2c3e50;
    color: #ffffff;
}

/* Strengths Section */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.strength-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.strength-card:hover {
    transform: translateY(-5px);
}

.strength-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Business Content */
.business-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.business-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.business-card:hover {
    transform: translateY(-5px);
}

.business-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Company History Timeline */
.company-history {
    background-color: var(--bg-light);
    padding: 100px 0;
}

.history-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.history-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--secondary);
    border-radius: 2px;
}

.history-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
    position: relative;
}

.history-item:last-child {
    margin-bottom: 0;
}

.history-item:last-child::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 5px rgba(189, 71, 50, 0.2);
}

.history-date {
    background: var(--primary);
    color: var(--white);
    width: 120px;
    height: 50px;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 5px 15px rgba(189, 71, 50, 0.3);
}

.history-content {
    width: 45%;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.5s ease;
    position: relative;
}

.history-item:nth-child(odd) .history-content {
    margin-right: auto;
    margin-left: 0;
    text-align: right;
}

.history-item:nth-child(even) .history-content {
    margin-left: auto;
    margin-right: 0;
    text-align: left;
}

.history-item:nth-child(odd) .history-content::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 30px;
    border-width: 15px 0 15px 15px;
    border-style: solid;
    border-color: transparent transparent transparent var(--white);
}

.history-item:nth-child(even) .history-content::after {
    content: '';
    position: absolute;
    left: -15px;
    top: 30px;
    border-width: 15px 15px 15px 0;
    border-style: solid;
    border-color: transparent var(--white) transparent transparent;
}

.history-content h3 {
    font-size: 1.5rem;
    color: var(--secondary-dark);
    margin-bottom: 15px;
}

.history-content p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

.history-milestone {
    display: inline-block;
    background: rgba(122, 139, 166, 0.1);
    color: var(--secondary-dark);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
}

.history-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.history-item:hover .history-content {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

/* Circle markers on timeline */
.history-item::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--secondary);
    border-radius: 50%;
    z-index: 2;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--secondary-dark);
}

/* Responsive styles for company history */
@media (max-width: 992px) {
    .history-timeline::before {
        left: 30px;
    }
    
    .history-date {
        left: 30px;
        top: -20px;
        transform: translateX(-50%);
    }
    
    .history-item {
        flex-direction: column;
    }
    
    .history-item::before {
        left: 30px;
    }
    
    .history-content {
        width: 80%;
        margin-left: 60px !important;
        text-align: left !important;
    }
    
    .history-item:nth-child(odd) .history-content::after,
    .history-item:nth-child(even) .history-content::after {
        left: -15px;
        top: 30px;
        border-width: 15px 15px 15px 0;
        border-color: transparent var(--white) transparent transparent;
    }
    
    .history-item:last-child::after {
        left: 30px;
    }
}

@media (max-width: 576px) {
    .history-content {
        width: calc(100% - 60px);
        padding: 20px;
    }
    
    .history-date {
        width: 100px;
        height: 40px;
        font-size: 0.9rem;
    }
}
/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
  }
  
  .team-card {
    background-color: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
  }
  
  .team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .team-icon {
    width: 6rem;
    height: 6rem;
    background-color: rgba(0, 122, 255, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 2rem;
  }
  
  .team-icon i {
    font-size: 2.4rem;
  }
  
  /* Company Information */
  .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-item {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.info-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-dark);
    opacity: 0.8;
}

.info-item h3 {
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.info-item h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-dark);
    opacity: 0.7;
}

.info-item p {
    font-size: 16px;
    line-height: 1.8;
}

.info-item a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    color: #c0392b;
    text-decoration: underline;
}

/* マップセクション */
#map-section {
    background-color:var(--bg-light);
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    height: 450px;
    margin-bottom: 30px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.05);
    pointer-events: none;
    transition: var(--transition);
}

.map-container:hover .map-overlay {
    background-color: rgba(0, 0, 0, 0);
}

.location-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 30px;
}

.location-info {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.location-actions {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.map-btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: var(--transition);
    text-align: center;
    border: none;
    cursor: pointer;
}

.map-btn:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-btn i {
    margin-right: 8px;
}

/* レスポンシブデザイン */
  /* レスポンシブデザイン */
  @media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-item {
        padding: 25px;
    }
    
    .map-container {
        height: 350px;
    }
    
    .location-info, .location-actions {
        flex: 100%;
    }
}

/* アニメーションエフェクト */

#company-info .info-item {
    animation: fadeIn 0.6s ease forwards;
    opacity: 0;
}

#company-info .info-item:nth-child(1) { animation-delay: 0.1s; }
#company-info .info-item:nth-child(2) { animation-delay: 0.2s; }
#company-info .info-item:nth-child(3) { animation-delay: 0.3s; }
#company-info .info-item:nth-child(4) { animation-delay: 0.4s; }
#company-info .info-item:nth-child(5) { animation-delay: 0.5s; }
#company-info .info-item:nth-child(6) { animation-delay: 0.6s; }

#map-section .map-container {
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

#map-section .location-info {
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

#map-section .location-actions {
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}
  /* Promise Section */
  .promise-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
  }
  
  .cta-center {
    margin-top: var(--spacing-md);
  }
  
  .cta-button {
    display: inline-block;
    padding: 1.2rem 2rem;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
    border-radius: 5rem;
    transition: var(--transition);
    cursor: pointer;
  }
  
  .cta-button.primary {
    background-color: var(--primary-color);
    color: white;
  }
  
  .cta-button.primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 122, 255, 0.3);
  }
  
  .company-logo {
    margin-top: 25px;
    margin-bottom: 30px;
    text-align: center;
}

.company-logo img {
    max-width: 300px; /* ロゴのサイズに合わせて調整 */
    height: auto;
    transition: transform 0.3s ease;
}

/* オプション: ホバーエフェクト */
.company-logo img:hover {
    transform: scale(1.05);
}

.clients-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
}

/* カルーセルのCSS（別ファイルから読み込み） */
.clients-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 40px 0;
}

.clients-wrapper {
  position: relative;
  width: 100%;
}

.clients-carousel {
  display: flex;
  /* カルーセルの幅を広くして複製したカードを入れられるようにする */
  width: max-content;
  animation: slideAnimation 40s linear infinite;
}

/* ホバー時にアニメーションを一時停止 */
.clients-carousel:hover {
  animation-play-state: paused;
}

.client-card {
  flex: 0 0 300px;
  height: 340px;
  margin: 0 15px;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.client-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.client-logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.client-logo img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
}

.client-name {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}

.client-description {
  font-size: 14px;
  color: #666;
  flex-grow: 1;
  margin-bottom: 15px;
}

.client-industry {
  display: inline-block;
  background-color: #f0f7ff;
  color: #0066cc;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  align-self: flex-start;
}

/* 無限ループのアニメーション */
@keyframes slideAnimation {
  0% {
    transform: translateX(0);
  }
  100% {
    /* カルーセルの幅の半分だけ移動させる（カード複製後に調整） */
    transform: translateX(calc(-300px * 12));
  }
}

/* 実績ページ専用スタイル */
.works-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 10px;
}

.filter-button {
    padding: 8px 16px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-button:hover {
    background-color: #e0e0e0;
}

.filter-button.active {
    background-color: #0054a6;
    color: white;
    border-color: #0054a6;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.work-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
    position: relative;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.work-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.work-content {
    padding: 20px;
}

.work-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.work-category {
    display: inline-block;
    padding: 4px 10px;
    background-color: #0054a6;
    color: white;
    font-size: 0.75rem;
    border-radius: 12px;
    margin-bottom: 12px;
}

.work-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.work-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.work-feature {
    background-color: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #555;
}

.work-link {
    text-decoration: none;
    color: #0054a6;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.work-link i {
    margin-left: 5px;
}

.work-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background-color: white;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 8px;
    overflow: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    z-index: 10;
}

.modal-body {
    padding: 30px;
}

.modal-images {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.modal-image {
    width: calc(33.333% - 10px);
    border-radius: 4px;
    object-fit: cover;
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #333;
}

.modal-subtitle {
    color: #666;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.modal-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.modal-category {
    background-color: #0054a6;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
}

.modal-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

.modal-section {
    margin-bottom: 25px;
}

.modal-section-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
    padding-bottom: 5px;
    border-bottom: 2px solid #0054a6;
}

.case-study-banner {
    background-color: #f5f8ff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 40px;
    text-align: center;
}

.case-study-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #0054a6;
}

.case-study-description {
    margin-bottom: 15px;
}

.case-study-link {
    display: inline-block;
    padding: 8px 20px;
    background-color: #0054a6;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.case-study-link:hover {
    background-color: #003d7a;
}

/* クライアントロゴセクション */
.clients-mini {
    margin-top: 50px;
    padding: 30px 0;
    background-color: #f9f9f9;
}

.clients-mini-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: #333;
}

.clients-mini-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.client-mini-logo {
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.client-mini-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .works-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .modal-image {
        width: calc(50% - 7.5px);
    }
    
    .clients-mini-grid {
        gap: 15px;
    }
    
    .client-mini-logo {
        width: 100px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .works-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-image {
        width: 100%;
    }
    
    .modal-body {
        padding: 20px;
    }
}


/* お知らせページ用のCSS追加 */

/* カテゴリーナビゲーション */
.news-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.category-btn {
    padding: 8px 16px;
    border-radius: 30px;
    background-color: #f5f5f5;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.category-btn:hover {
    background-color: #e0e0e0;
}

.category-btn.active {
    background-color: #2c3e50;
    color: white;
}

/* 注目のお知らせ */
.featured-news-container {
    margin-top: 30px;
}

.featured-news-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.featured-news-image {
    position: relative;
    height: 100%;
    min-height: 300px;
}

.featured-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-news-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-news-content h3 {
    font-size: 24px;
    margin: 10px 0;
}

.news-date {
    color: #777;
    font-size: 14px;
}

.news-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #e74c3c;
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.read-more {
    margin-top: 15px;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: #2980b9;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* ニュースグリッド */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.news-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.news-card-image {
    position: relative;
    height: 200px;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-content {
    padding: 20px;
}

.news-card-content h3 {
    font-size: 18px;
    margin: 8px 0;
    line-height: 1.4;
}

.news-card-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: #e0e0e0;
}

.page-link.active {
    background-color: #2c3e50;
    color: white;
}

.page-dots {
    margin: 0 5px;
}

.page-link.next {
    font-size: 18px;
}

/* ニュースレターセクション */
.newsletter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.newsletter-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.newsletter-content p {
    color: #555;
}

.newsletter-form {
    display: flex;
    width: 100%;
    max-width: 400px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.newsletter-form button {
    padding: 12px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 600;
}

.newsletter-form button:hover {
    background-color: #2980b9;
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .featured-news-item {
        grid-template-columns: 1fr;
    }
    
    .featured-news-image {
        min-height: 250px;
    }
    
    .newsletter-container {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-content {
        margin-bottom: 20px;
    }
    
    .newsletter-form {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .category-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
}