/* ========================================
    CSS Variables
======================================== */
:root {
    --primary-blue: #1e5ba8;
    --secondary-blue: #2b72c8;
    --dark-blue: #0d2d52;
    --navy-deep: #050d1a;
    --white: #ffffff;
    --off-white: #f5f5f0;
    --gray: #8a8a8a;
    --gray-light: #e0e0e0;
    --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: var(--white);
    color: #333333;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 100px;
}


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

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
    Custom Cursor
======================================== */
.cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    background: var(--primary-blue);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(30, 91, 168, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.cursor.active {
    width: 60px;
    height: 60px;
    background: rgba(30, 91, 168, 0.3);
}

/* ========================================
    Loading Screen
======================================== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: transform 1.2s var(--transition-smooth);
}

#loading-screen.loaded {
    transform: translateY(-100%);
}

.loading-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 4rem;
}

.loading-bar-container {
    width: 60%;
    max-width: 500px;
    height: 2px;
    background: rgba(30, 91, 168, 0.2);
    position: relative;
    overflow: hidden;
}

.loading-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--primary-blue);
    width: 0%;
    transition: width 0.3s ease;
}

.loading-percentage {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: var(--primary-blue);
    margin-top: 1rem;
    letter-spacing: 0.2em;
}

.loading-text {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.875rem;
    color: var(--gray);
    margin-top: 2rem;
    letter-spacing: 0.1em;
}

/* ========================================
    Navigation
======================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.5s ease;
    background: var(--dark-blue);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem 5%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo {
    z-index: 1001;
}

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

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative;
    transition: all 0.3s ease;
    color: var(--white);

    /* color: #333; */
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.4s var(--transition-smooth);
}

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

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

nav.scrolled .nav-links a {
    color: #333;
}

nav.scrolled .nav-links a::after {
    background: var(--primary-blue);
}

nav.scrolled .nav-links a:hover {
    color: var(--primary-blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

nav.scrolled .hamburger span {
    background: var(--primary-blue);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* 通常時はスクロール用ロゴを隠す */
.p-renewal .logo-scrolled {
    display: none;
}

.p-renewal .logo-default {
    display: block;
    height: 50px; /* サイズは適宜調整 */
    width: auto;
}

/* スクロールした時（nav.scrolledがついた時） */
.p-renewal nav.scrolled .logo-default {
    display: none;
}

.p-renewal nav.scrolled .logo-scrolled {
    display: block;
    height: 50px;
}

/* ========================================
    Hero Section
======================================== */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* YouTube動画を背面に全画面で広げる設定 */
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2; /* 粒子(canvas)やオーバーレイより下に配置 */
    pointer-events: none; /* 動画をクリックできないようにする */
}

.hero-video-wrapper iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9比率 */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9比率 */
    transform: translate(-50%, -50%);
}

/* 粒子アニメーションを動画の上に重ねる */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; 
}

/* 文字の視認性を上げるためのオーバーレイ */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* 動画が明るすぎる場合はここを調整 */
    z-index: 0;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(30, 91, 168, 0.4) 0%, rgba(13, 45, 82, 0.6) 100%);
    z-index: 3;
}

.hero-content {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    text-align: center;
    width: 90%;
    max-width: 1400px;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.75rem, 1.2vw, 0.9rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--white);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.4rem, 3.2vw, 2.4rem);
    font-weight: 600;
    line-height: 1.6;
    color: var(--white);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.hero-title-break {
    display: inline;
}

.hero-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100px);
    animation: charFadeIn 0.8s ease forwards;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--white);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.5s;
}

.scroll-indicator {
    position: absolute;
    bottom: 5%;
    right: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 4;
    opacity: 0;
    animation: fadeIn 1s ease forwards 2s;
}

.scroll-line {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--white), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: var(--white);
    animation: scrollLineMove 2s ease-in-out infinite;
}

.scroll-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
    color: var(--white);
}

/* ========================================
    Brand Statement Section
======================================== */
#brand-statement {
    padding: 15vh 5%;
    background: var(--dark-blue);
    position: relative;
    overflow: hidden;
}

.brand-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.brand-year {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 0;
    opacity: 0.15;
}

.brand-year-current {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 2rem;
    opacity: 0.15;
}

.brand-divider {
    width: 300px;
    height: 1px;
    background: var(--white);
    margin: 3rem auto;
    transform: scaleX(0);
    transition: transform 1.2s var(--transition-smooth);
}

.brand-divider.animated {
    transform: scaleX(1);
}

.brand-statement-text {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.75rem, 4vw, 3.5rem);
    font-weight: 600;
    line-height: 1.6;
    color: var(--white);
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
}

.brand-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: var(--white);
    line-height: 2;
    letter-spacing: 0.1em;
}

/* ========================================
    Stats Section
======================================== */
#stats {
    padding: 10vh 5%;
    background: var(--primary-blue);
    position: relative;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.stat-number .counter {
    display: inline-block;
}

.stat-label {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.15em;
}

.stat-divider {
    width: 50px;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
    margin: 1rem auto 0;
}

/* ========================================
    Services Section
======================================== */
#services {
    padding: 15vh 5%;
    background: var(--off-white);
}

.section-header {
    text-align: center;
    margin-bottom: 8rem;
}

.section-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: #333333;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1rem;
    font-weight: 300;
    color: #666666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.services-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    border-radius: 0;
    transition: transform 0.5s var(--transition-smooth);
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transition-smooth);
}

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

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 91, 168, 0.95) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    transition: all 0.4s ease;
}

.service-card:hover .service-card-overlay {
    background: rgba(30, 91, 168, 0.8);
}

/* ========================================
    Brand History Button
======================================== */
.brand-history-btn-container {
    text-align: center;
    margin-top: 3rem;
}

.brand-history-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--primary-blue);
    color: var(--white) !important ;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.brand-history-btn:hover {
    background: var(--secondary-blue);
    transform: translateY(-3px);
}

.service-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    letter-spacing: 0.2em;
}

.service-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.service-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--white);
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.service-description {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--white);
    line-height: 1.8;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.service-card:hover .service-description {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
    Services All Button
======================================== */
.services-button-container {
    text-align: center;
    margin-top: 5rem;
}

.services-all-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3.5rem;
    background: var(--primary-blue);
    color: var(--white) !important ;
    text-decoration: none;
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    border-radius: 50px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.services-all-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--secondary-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}

.services-all-button:hover {
    transform: translateY(-5px);
}

.services-all-button:hover::before {
    transform: scaleX(1);
}

.services-all-button i {
    transition: transform 0.4s ease;
}

.services-all-button:hover i {
    transform: translateX(5px);
}

/* ========================================
    Instagram Section
======================================== */
#instagram {
    padding: 15vh 5%;
    background: var(--white);
}

.instagram-header {
    text-align: center;
    margin-bottom: 5rem;
}

.instagram-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.instagram-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    color: #999999;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.instagram-description {
    font-size: 1rem;
    font-weight: 300;
    color: #666666;
    line-height: 1.8;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-blue);
    text-decoration: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.instagram-link:hover {
    color: var(--secondary-blue);
    transform: translateX(5px);
}

.instagram-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.instagram-post {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.5s var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.instagram-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(30, 91, 168, 0.2);
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.instagram-post:hover img {
    transform: scale(1.1);
}

.instagram-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 91, 168, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-post:hover .instagram-overlay {
    opacity: 1;
}

.instagram-icon {
    color: var(--white);
    font-size: 3rem;
}

@media (max-width: 1024px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .instagram-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
    SDGs Banner Section
======================================== */
#sdgs-banner {
    padding: 10vh 5%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    position: relative;
    overflow: hidden;
}

#sdgs-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.sdgs-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.sdgs-content {
    color: var(--white);
}

.sdgs-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.sdgs-description {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.sdgs-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 3rem;
    background: var(--white) ;
    color: var(--primary-blue) !important;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s ease;
}

.sdgs-button:hover {
    transform: translateY(-5px);
    background: var(--gold-light);
}

.sdgs-button i {
    transition: transform 0.3s ease;
}

.sdgs-button:hover i {
    transform: translateX(5px);
}

.sdgs-icons {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sdgs-wheel {
    width: 100%;
    max-width: 300px;
    height: auto;
    animation: rotate 30s linear infinite;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.15));
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
    Works Section
======================================== */
#works {
    padding: 15vh 0;
    background: var(--white);
    overflow: hidden;
}

.works-header {
    text-align: center;
    margin-bottom: 6rem;
    padding: 0 5%;
}

.works-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.works-slider {
    display: flex;
    gap: 2rem;
    padding: 0 5%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.works-slider::-webkit-scrollbar {
    display: none;
}

.work-item {
    flex: 0 0 auto;
    width: min(90vw, 600px);
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.work-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transition-smooth);
}

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

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 91, 168, 0.9) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    z-index: 2;
}

.work-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.5;
    position: relative;
    z-index: 3;
}

.work-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 3;
}

.work-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.work-meta-label {
    font-weight: 300;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.1em;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
}

.slider-button {
    width: 50px;
    height: 50px;
    border: 1px solid var(--primary-blue);
    background: transparent;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.slider-button:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.1);
}

/* ========================================
    Anniversary Section
======================================== */
#anniversary {
    padding: 20vh 5%;
    background: url('https://www.genspark.ai/api/files/s/DcXaTUR3') center/cover fixed;
    position: relative;
    text-align: center;
}

#anniversary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(30, 91, 168, 0.75);
}

.anniversary-content {
    position: relative;
    z-index: 1;
}

.anniversary-years {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.anniversary-divider {
    width: 150px;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
}

.anniversary-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2rem;
}

.anniversary-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    line-height: 2;
}

/* ========================================
    Company Info Section
======================================== */
#company-info {
    padding: 15vh 5%;
    background: var(--off-white);
}

.company-info-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.company-info-card {
    background: var(--white);
    padding: 2.8rem 2.1rem;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--transition-smooth);
    border: 1px solid #e0e0e0;
    box-shadow: none;
}

.company-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--transition-smooth);
}

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

.company-info-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
}

.company-info-icon {
    font-size: 2.52rem;
    color: var(--primary-blue);
    margin-bottom: 1.4rem;
}

.company-info-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.26rem, 2.52vw, 1.68rem);
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1.05rem;
    letter-spacing: 0.05em;
}

.company-info-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.735rem;
    font-weight: 300;
    color: #999999;
    letter-spacing: 0.2em;
    margin-bottom: 1.4rem;
    text-transform: uppercase;
}

.company-info-description {
    font-size: 0.84rem;
    font-weight: 300;
    color: #666666;
    line-height: 1.9;
    margin-bottom: 1.75rem;
}

.company-info-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.company-info-link i {
    transition: transform 0.3s ease;
}

.company-info-link:hover {
    color: var(--secondary-blue);
}

.company-info-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .company-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .company-info-card {
        padding: 3rem 2rem;
    }
}

/* ========================================
/* ========================================
    News Section
======================================== */
#news {
    padding: 15vh 5%;
    background: var(--off-white);
}

.news-container {
    max-width: 1000px;
    margin: 0 auto;
}

.news-timeline {
    position: relative;
    padding-left: 3rem;
}

.news-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--primary-blue), transparent);
}

.news-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

/* ニュース項目をリンク化した際のホバー演出を強化 */
.news-item a {
    color: inherit;
    transition: all 0.3s ease;
}

.news-item:hover .news-title {
    color: var(--primary-blue);
    transform: translateX(10px); /* 少し右に動かすとおしゃれです */
}

.news-item::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 0.5rem;
    width: 10px;
    height: 10px;
    background: var(--primary-blue);
    border-radius: 50%;
    transform: translateX(-50%);
}

.news-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.news-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #333333;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.news-item:hover .news-title {
    color: var(--primary-blue);
}

/* ========================================
    Recruit CTA Section
======================================== */
#recruit-cta {
    padding: 15vh 5%;
    background: url('https://www.genspark.ai/api/files/s/fT9erW6H') center/cover fixed;
    position: relative;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

#recruit-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(245, 248, 252, 0.9));
}

.recruit-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.recruit-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--primary-blue);
    letter-spacing: 0.3em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.recruit-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 2rem;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.recruit-description {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: #333333;
    margin-bottom: 4rem;
    line-height: 2;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1.75rem 5rem;
    background: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border-radius: 50px;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--secondary-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}

.cta-button:hover {
    color: var(--white);
    transform: translateY(-5px);
}

.cta-button:hover::before {
    transform: scaleX(1);
}

.recruit-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.recruit-feature {
    text-align: center;
}

.recruit-feature-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.recruit-feature-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.recruit-feature-text {
    font-size: 0.875rem;
    color: #666666;
    line-height: 1.6;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .recruit-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ========================================
    Group Companies Section
======================================== */
#group-companies {
    padding: 12vh 5%;
    background: var(--off-white);
}

.group-header {
    text-align: center;
    margin-bottom: 5rem;
}

.group-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.group-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    color: #999999;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.group-description {
    font-size: 1rem;
    color: #666666;
    line-height: 1.8;
}

.group-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.group-company {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.5s var(--transition-smooth);
    box-shadow: none;
    border: 1px solid #e0e0e0;
}

.group-company:hover {
    transform: translateY(-10px);
    box-shadow: none;
    border-color: var(--primary-blue);
}

.group-company-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.group-company-content {
    padding: 3rem;
}

.group-company-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.group-company-description {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.group-company-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--primary-blue);
    color: var(--white) !important;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.group-company-link:hover {
    background: var(--secondary-blue);
    transform: translateY(-3px);
}

.group-company-link i {
    transition: transform 0.3s ease;
}

.group-company-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .group-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .group-company-content {
        padding: 2rem;
    }
}

/* ========================================
    Footer
======================================== */
footer {
    background: var(--dark-blue);
    padding: 8vh 5% 4vh;
    border-top: 1px solid rgba(30, 91, 168, 0.3);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo img {
    height: 40px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-tagline {
    font-family: 'Noto Serif JP', serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-description {
    font-size: 0.875rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    font-size: 0.875rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

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

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white) !important;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--white);
    color: var(--dark-blue);
    transform: translateY(-5px);
    border-color: var(--white);
}

.footer-banner {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-banner a {
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-banner a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

.footer-banner img {
    height: 60px;
    width: auto;
}

.footer-bottom {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    background: transparent !important;
}

.footer-copyright {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
}

/* ========================================
    Animations
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes scrollLineMove {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(300%);
    }
}

/* ========================================
    Responsive Design
======================================== */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        text-align: center;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .hero-title br {
        display: none;
    }

    .hero-title-break {
        display: block;
        padding-left: 3em;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.5s ease;
    }

    .nav-links a {
        color: #333 !important;
    }

    .nav-links a::after {
        background: var(--primary-blue) !important;
    }

    .nav-links a:hover {
        color: var(--primary-blue) !important;
    }

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

    .hamburger {
        display: flex;
    }

    nav.scrolled .hamburger span {
        background: var(--primary-blue);
    }

    .logo img {
        height: 40px;
    }

    .loading-logo img {
        height: 50px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-all-button {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }

    .sdgs-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .sdgs-icons {
        order: -1;
    }

    .sdgs-wheel {
        max-width: 200px;
    }

    .works-slider {
        padding: 0 2%;
    }

    .work-item {
        width: 90vw;
    }

    .anniversary-years {
        flex-direction: column;
    }

    .anniversary-divider {
        width: 80px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 1.5rem 4%;
    }

    .logo img {
        height: 35px;
    }

    .loading-logo img {
        height: 45px;
    }

    .footer-logo img {
        height: 30px;
    }

    .sdgs-button {
        padding: 1rem 2rem;
        font-size: 0.875rem;
    }

    .section-header {
        margin-bottom: 4rem;
    }

    #brand-statement {
        padding: 10vh 5%;
    }

    #stats {
        padding: 8vh 5%;
    }

    #services,
    #works,
    #news {
        padding: 10vh 5%;
    }

    #anniversary,
    #recruit-cta {
        padding: 15vh 5%;
    }
}

/* ========================================
===========================================
    page-service.php 事業案内ページ
===========================================
======================================== */

 /* ========================================
    Page Hero
======================================== */
.page-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 450px;
    background: url('https://www.genspark.ai/api/files/s/AsJyxxbd') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 50, 90, 0.6) 0%, rgba(30, 50, 90, 0.75) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1200px;
    padding: 0 5%;
}

.page-hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.page-hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.75rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}
            
/* ========================================
    Service Navigation Grid
======================================== */
.service-nav-section {
    padding: 2.5rem 5% 4rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.service-nav-container {
    max-width: 1100px;
    margin: 0 auto;
}

.breadcrumb {
    font-size: 0.75rem;
    margin-bottom: 2rem;
    color: #999;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.breadcrumb a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-blue);
}

.breadcrumb span {
    margin: 0 0.5rem;
}

.service-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.service-nav-box {
    padding: 2rem 1.5rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    border: 2px solid #e8e8e8;
    position: relative;
    overflow: hidden;
}

.service-nav-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-nav-box.primary {
    border-color: var(--primary-blue);
}

.service-nav-box.primary::before {
    opacity: 1;
}

.service-nav-box h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-blue);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    flex: 1;
}

.service-nav-box.primary h3 {
    color: var(--white);
}

.service-nav-arrow {
    font-size: 1.25rem;
    color: var(--primary-blue);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    margin-left: 1rem;
}

.service-nav-box.primary .service-nav-arrow {
    color: var(--white);
}

.service-nav-box:hover {
    transform: translateY(-4px);
    border-color: var(--primary-blue);
}

.service-nav-box:hover::before {
    opacity: 1;
}

.service-nav-box:hover h3,
.service-nav-box:hover .service-nav-arrow {
    color: var(--white);
}

.service-nav-box:hover .service-nav-arrow {
    transform: translateX(5px);
}

/* ========================================
    Services Detail Section
======================================== */
.services-detail {
    padding: 15vh 5%;
    background: var(--white);
}

.services-intro {
    max-width: 800px;
    margin: 0 auto 6rem;
    text-align: center;
}

.services-intro h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.services-intro p {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.9;
}

.service-detail-item {
    max-width: 1400px;
    margin: 0 auto 12rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: flex-start;
}

.service-detail-item:nth-child(even) {
    direction: rtl;
}

.service-detail-item:nth-child(even) > * {
    direction: ltr;
}

.service-detail-image {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
}

.service-detail-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.8s var(--transition-smooth);
}

.service-detail-item:hover .service-detail-image img {
    transform: scale(1.05);
}

.service-detail-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 600px;
}

.service-number {
    font-family: 'Noto Serif JP', serif;
    font-size: 5rem;
    font-weight: 600;
    color: var(--primary-blue);
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    opacity: 0.8;
    line-height: 1;
    margin-top: 0;
}

.service-detail-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.service-detail-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 300;
    color: #999999;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.service-detail-description {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.85;
    margin-bottom: 1.75rem;
}

.service-features {
    margin-top: 2rem;
}

.service-features h4 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

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

.service-features-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.75;
}

.service-features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
}

.service-detail-link {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.875rem 2rem;
    background: var(--primary-blue);
    color: var(--white) !important;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 0;
    transition: all 0.3s ease;
    width: fit-content;
}

.service-detail-link:hover {
    background: var(--secondary-blue);
    transform: translateY(-3px);
}

.service-detail-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-detail-link:hover i {
    transform: translateX(5px);
}

 /* ========================================
    CTA Section
======================================== */
.cta-section {
    padding: 12vh 5%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 1.5rem 4rem;
    background: var(--white);
    color: var(--primary-blue) !important;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
/*======================================== 
========================================
    Responsive Design
======================================== */
@media (max-width: 1024px) {
    .service-detail-item {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .service-detail-item {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 8rem;
    }

    .service-detail-item:nth-child(even) {
        direction: ltr;
    }
    
    .service-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .service-nav-box {
        padding: 1.5rem 1rem;
    }
    
    .service-nav-box h3 {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .service-detail-content {
        padding: 1rem;
    }
}