/* ========================================
   V4 Design - Figmaデザインの完全再現
   完全独立版（他のデザイン案と干渉しない）
   ======================================== */

/* CSS Variables - V4専用 */
:root {
    --v4-primary-color: #E70012;
    --v4-primary-dark: #B30010;
    --v4-text-color: #0D0D0D;
    --v4-text-light: #666666;
    --v4-background: #FFFFFF;
    --v4-white: #FFFFFF;
    --v4-container-width: 1440px;
    --v4-container-padding: 80px;
    --v4-transition: all 0.3s ease;
    --v4-shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.08);
    --v4-shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.15);
}


/* V4 Body専用スタイル */
.v4-body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--v4-text-color);
    background: var(--v4-background);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



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

.header.scrolled {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header.scrolled .nav-item {
    color: #000;
}

.header-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
}

.logo {
    width: 280px;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo img {
    width: 100%;
    transition: opacity 0.3s ease;
    margin-top: 4px;
}

.logo a:hover img {
    opacity: 0.8;
}

.nav {
    display: flex;
    gap: 6px;
}

.nav-item {
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 4px 15px;
    position: relative;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-item:hover {
    opacity: 0.7;
}

/* Hamburger Menu - Hidden by default */
.hamburger {
    display: none;
}

/* Mobile Menu - Hidden by default */
.mobile-menu {
    display: none;
}

/* ========================================
   Hero Section
   ======================================== */
.v4-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

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

.v4-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.v4-hero-slide.v4-active {
    opacity: 1;
}

.v4-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.v4-hero-content {
    position: absolute;

    left: 0;
    width: 100%;
    height: calc(100% - 80px);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    z-index: 3;
}

.v4-hero-content-inner {
    max-width: var(--v4-container-width);
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 var(--v4-container-padding);
}

.v4-hero-text-section {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding: 60px 60px 60px 0;
    box-sizing: border-box;
}


.v4-hero-text-wrapper {
    display: flex;
    flex-direction: column;

}

/* 縦書きタイトル */
.v4-hero-title-vertical {
    font-family: 'Noto Serif JP', serif;
    font-size: 64px;
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: 0.05em;
    color: #fff;
    writing-mode: vertical-rl;
    text-orientation: upright;
    text-shadow: 
        0 0 10px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.9);
    margin: 0 0 40px 0;
    align-self: flex-start;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.7));
    opacity: 0;
    transform: translateX(50px);
    animation: slideInFromRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.v4-hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.6;
    letter-spacing: 0.05em;
    color: #fff;
    margin: 0;
    text-align: right;
    text-shadow: 
        0 0 8px rgba(0, 0, 0, 0.8),
        0 0 16px rgba(0, 0, 0, 0.6),
        1px 1px 3px rgba(0, 0, 0, 0.9);
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.7));
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}




/* Hero Text Animations */
@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* ========================================
   About Section - NEW ANIMATED DESIGN
   ======================================== */
.v4-about-section {
    padding: 120px 0 110px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F5F5 50%, #E8E8E8 100%);
    position: relative;
    overflow: hidden;
    min-height: 800px;
}

.v4-about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(231, 0, 18, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(231, 0, 18, 0.03) 0%, transparent 50%);
    pointer-events: none;
    animation: v4-about-gradient 15s ease-in-out infinite;
}

@keyframes v4-about-gradient {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.v4-about-container {
    max-width: var(--v4-container-width);
    margin: 0 auto;
    padding: 0 var(--v4-container-padding);
    display: flex;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left Image - 3D Rotation Animation */
.v4-about-image {
    flex-shrink: 0;
    width: 50%;
    max-width: 700px;
    overflow: visible;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.v4-about-image.v4-fade-in-left {
    opacity: 0;
    transform: rotateY(45deg) translateX(-50px) scale(0.8);
    animation: v4-about-image-enter 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.v4-about-image.v4-fade-in-left.v4-visible {
    opacity: 1;
    transform: rotateY(0) translateX(0) scale(1);
}

@keyframes v4-about-image-enter {
    0% {
        opacity: 0;
        transform: rotateY(45deg) translateX(-50px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: rotateY(0) translateX(0) scale(1);
    }
}

.v4-about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.v4-about-image:hover img {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(231, 0, 18, 0.2);
}

/* Right Content - Text Animation */
.v4-about-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 35px;
    position: relative;
}

.v4-about-content.v4-fade-in-right {
    opacity: 0;
    transform: rotateY(-45deg) translateX(50px) scale(0.8);
}

.v4-about-content.v4-fade-in-right.v4-visible {
    opacity: 1;
    transform: rotateY(0) translateX(0) scale(1);
    animation: v4-about-content-enter 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes v4-about-content-enter {
    0% {
        opacity: 0;
        transform: rotateY(-45deg) translateX(50px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: rotateY(0) translateX(0) scale(1);
    }
}

.v4-section-header {
    margin-bottom: 56px;
    position: relative;
}

.v4-section-label {
    font-family: 'Cormorant Infant', serif;
    font-size: 140px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.08em;
    color: transparent;
    margin-bottom: -40px;
    user-select: none;
    position: relative;
    white-space: nowrap;
    pointer-events: none;
    height: 140px;
}

.v4-section-label::before,
.v4-section-label::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    white-space: nowrap;
    animation: v4-scroll-label 30s linear infinite;
    color: rgba(231, 0, 18, 0.15);
}

.v4-section-label::before {
    left: 100%;
    margin-left: 200px;
}

.v4-section-label::after {
    left: 100%;
    margin-left: 200px;
    animation-delay: -15s;
}

@keyframes v4-scroll-label {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100vw - 100%));
    }
}

.v4-section-title {
    font-family: 'Inter', sans-serif;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.01em;
    color: var(--v4-primary-dark);
    margin-bottom: 20px;
    animation: v4-title-enter 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes v4-title-enter {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.v4-section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--v4-primary-dark) 0%, var(--v4-primary-color) 100%);
    border-radius: 2px;
    animation: v4-divider-expand 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

@keyframes v4-divider-expand {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 80px;
        opacity: 1;
    }
}

.v4-about-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.v4-about-text p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: 0.04em;
    color: var(--v4-text-color);
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    animation: v4-text-fade-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.v4-about-text p:nth-child(1) {
    animation-delay: 0.4s;
}

.v4-about-text p:nth-child(2) {
    animation-delay: 0.6s;
}

.v4-about-text p:nth-child(3) {
    animation-delay: 0.8s;
}

@keyframes v4-text-fade-in {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.v4-about-text .v4-highlight {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.02em;
    color: var(--v4-primary-dark);
    position: relative;
    padding-left: 20px;
    display: inline-block;
}

.v4-about-text .v4-highlight::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: var(--v4-primary-color);
    border-radius: 2px;
    animation: v4-highlight-line 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s both;
}

@keyframes v4-highlight-line {
    0% {
        height: 0;
        opacity: 0;
    }
    100% {
        height: 100%;
        opacity: 1;
    }
}

.v4-about-image-bottom {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    animation: v4-bottom-image-appear 1s cubic-bezier(0.34, 1.56, 0.64, 1) 1s both;
}

@keyframes v4-bottom-image-appear {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.v4-about-image-bottom img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.v4-about-image-bottom:hover img {
    transform: scale(1.05);
}

/* ========================================
   Strength Section
   ======================================== */
.v4-strength-section {
    padding: 112px 0;
    background: var(--v4-background);
}

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

.v4-section-header.v4-center {
    text-align: left;
    margin-bottom: 88px;
}

.v4-section-header.v4-center .v4-section-label {
    font-size: 156px;
    margin-bottom: -48px;
}

.v4-section-header.v4-center .v4-section-title {
    font-size: 48px;
    margin-bottom: 16px;
}

.v4-section-header.v4-center .v4-section-divider {
    width: 72px;
}

.v4-strength-grid {
    display: flex;
    flex-direction: column;
    gap: 152px;
}

.v4-strength-card {
    display: flex;
    gap: 0;
    align-items: stretch;
    background: var(--v4-background-gray);
    position: relative;
    overflow: hidden;
    transition: var(--v4-transition);
    box-shadow: var(--v4-shadow-sm);
}

.v4-strength-card:hover {
    box-shadow: var(--v4-shadow-lg);
    transform: translateY(-4px);
}

.v4-strength-card.v4-reverse {
    flex-direction: row-reverse;
}

.v4-strength-image {
    flex: 0 0 50%;
    width: 50%;
    overflow: hidden;
}

.v4-strength-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v4-strength-content {
    flex: 1;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    position: relative;
}

/* 画像の横に縦に入るアニメーション */
.v4-strength-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: var(--v4-primary-color);
    transition: height 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
    z-index: 1;
    opacity: 0;
}

/* アニメーション発動 - スクロール時（より確実なセレクタ） */
.v4-strength-card.v4-visible .v4-strength-content::before,
.v4-fade-in.v4-visible .v4-strength-content::before,
.v4-strength-card.v4-fade-in.v4-visible .v4-strength-content::before {
    height: 100%;
    opacity: 1;
}

/* ホバー時のアニメーション - 常に動作 */
.v4-strength-card:hover .v4-strength-content::before {
    height: 100% !important;
    opacity: 1 !important;
    transition: height 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* reverseの場合は右側に線を表示（デスクトップ時のみ） */
.v4-strength-card.v4-reverse .v4-strength-content::before {
    left: auto;
    right: 0;
}

.v4-strength-number-wrapper {
    margin-bottom: 56px;
}

.v4-strength-number {
    margin-bottom: 16px;
}

.v4-strength-number svg {
    width: 186px;
    height: 186px;
}

.v4-strength-divider {
    width: 80px;
    height: 1px;
    background: var(--v4-primary-dark);
}

.v4-strength-title {
    font-family: 'Inter', sans-serif;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.01em;
    color: var(--v4-primary-dark);
    margin-bottom: 24px;
}

.v4-strength-text {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: 0.03em;
    color: var(--v4-text-light);
    margin-bottom: 48px;
}

.v4-strength-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    padding: 18px 32px;
    border: 2px solid var(--v4-primary-color);
    background: var(--v4-primary-color);
    color: var(--v4-white);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.v4-strength-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
    z-index: 1;
}

.v4-strength-btn:hover::before {
    left: 100%;
}

.v4-strength-btn:hover {
    background: var(--v4-primary-dark);
    border-color: var(--v4-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 0, 18, 0.3);
}

.v4-strength-btn span {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: var(--v4-white);
    transition: var(--v4-transition);
    position: relative;
    z-index: 1;
}

/* ========================================
   Info Cards Section
   ======================================== */
.v4-info-section {
    padding: 120px 0;
    background: var(--v4-white);
}

.v4-info-header {
    max-width: var(--v4-container-width);
    margin: 0 auto;
    padding: 0 var(--v4-container-padding);
    margin-bottom: 80px;
}

.v4-section-header.v4-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.v4-info-container {
    max-width: var(--v4-container-width);
    margin: 0 auto;
    padding: 0 var(--v4-container-padding);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
}

.v4-info-card {
    background: var(--v4-white);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 100%;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.v4-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.v4-info-image {
    width: 100%;
    height: 380px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.v4-info-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(231, 0, 18, 0);
    transition: background 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
    pointer-events: none;
}

.v4-info-card:hover .v4-info-image::before {
    background: rgba(231, 0, 18, 0.05);
}

.v4-info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.v4-info-card:hover .v4-info-image img {
    transform: scale(1.08);
}

.v4-info-content {
    padding: 40px 32px 40px 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.v4-info-title {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.01em;
    color: var(--v4-primary-dark);
    margin-bottom: 20px;
    padding: 0;
    border-top: 4px solid var(--v4-primary-color);
    padding-top: 20px;
}

.v4-info-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: 0.03em;
    color: var(--v4-text-color);
    margin-bottom: 32px;
    flex: 1 1 auto;
}

.v4-info-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    padding: 18px 24px;
    border: 2px solid var(--v4-primary-color);
    background: var(--v4-primary-color);
    color: var(--v4-white);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    box-sizing: border-box;
}

.v4-info-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
    z-index: 1;
}

.v4-info-btn:hover::before {
    left: 100%;
}

.v4-info-btn:hover {
    background: var(--v4-primary-dark);
    border-color: var(--v4-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 0, 18, 0.3);
}

.v4-info-btn span {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: var(--v4-white);
    transition: var(--v4-transition);
    position: relative;
    z-index: 1;
}

/* ========================================
   Flow Section - Slider Design
   ======================================== */
.v4-flow-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #FAFAFA 0%, #FFFFFF 100%);
    overflow: hidden;
}

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

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

/* Slider Wrapper */
.v4-flow-slider-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 80px;
    overflow: hidden;
}

/* Slider Container */
.v4-flow-slider {
    display: flex;
    gap: 24px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center;
    will-change: transform;
}

/* Flow Slide */
.v4-flow-slide {
    width: 300px;
    flex-shrink: 0;
    background: var(--v4-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    opacity: 0.5;
    transform: scale(0.9);
}

/* Active slide (center) */
.v4-flow-slide.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.v4-flow-slide:hover {
    transform: translateY(-8px) scale(1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.v4-flow-slide.active:hover {
    transform: translateY(-8px) scale(1);
}

/* Flow Header */
.v4-flow-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px 0;
}

/* Number Badge */
.v4-flow-number-badge {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--v4-primary-color) 0%, #C40010 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--v4-font-en);
    font-size: 20px;
    font-weight: 700;
    color: var(--v4-white);
    box-shadow: 0 4px 20px rgba(231, 0, 18, 0.3);
    flex-shrink: 0;
}

/* Flow Image */
.v4-flow-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin: 20px 0;
}

.v4-flow-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.v4-flow-slide:hover .v4-flow-image img {
    transform: scale(1.05);
}

/* Slide Content */
.v4-flow-slide-content {
    padding: 0 28px 28px;
    flex: 1;
}

.v4-flow-slide-title {
    font-family: var(--v4-font-jp);
    font-size: 18px;
    font-weight: 700;
    color: var(--v4-text-color);
    margin: 0;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.v4-flow-slide-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--v4-text-secondary);
    margin: 0;
    letter-spacing: 0.03em;
}

/* Navigation Buttons */
.v4-flow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: var(--v4-white);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.v4-flow-nav:hover {
    background: var(--v4-primary-color);
    border-color: var(--v4-primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 24px rgba(231, 0, 18, 0.3);
}

.v4-flow-nav svg {
    color: var(--v4-text-color);
    transition: color 0.3s ease;
}

.v4-flow-nav:hover svg {
    color: var(--v4-white);
}

.v4-flow-prev {
    left: 0;
}

.v4-flow-next {
    right: 0;
}

/* Dots Navigation */
.v4-flow-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
}

.v4-flow-dot {
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.v4-flow-dot:hover {
    background: rgba(231, 0, 18, 0.5);
    transform: scale(1.2);
}

.v4-flow-dot.active {
    background: var(--v4-primary-color);
    width: 32px;
    border-radius: 6px;
}

/* ========================================
   Recruit Section
   ======================================== */
.v4-recruit-section {
    padding: 0 0 180px;
    background: var(--v4-background);
}

.v4-recruit-container {
    max-width: var(--v4-container-width);
    margin: 0 auto;
    padding: 0 var(--v4-container-padding);
    display: flex;
    gap: 0;
}

/* Left: Text Content */
.v4-recruit-left {
    flex: 0 0 48%;
    background: #1D1818;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.v4-recruit-content {
    padding: 80px 60px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.v4-section-label-white {
    font-family: 'Cormorant Infant', serif;
    font-size: 120px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.06em;
    color: transparent;
    margin-bottom: -40px;
    user-select: none;
    position: relative;
    white-space: nowrap;
    pointer-events: none;
    height: 120px;
}

.v4-section-label-white::before,
.v4-section-label-white::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    white-space: nowrap;
    animation: v4-scroll-label 30s linear infinite;
    color: rgba(255, 255, 255, 0.4);
}

.v4-section-label-white::before {
    left: 100%;
    margin-left: 200px;
}

.v4-section-label-white::after {
    left: 100%;
    margin-left: 200px;
    animation-delay: -15s;
}

.v4-section-title-white {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.027em;
    color: var(--v4-white);
    margin-bottom: 48px;
}

.v4-recruit-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.02em;
    color: var(--v4-white);
    margin-bottom: 32px;
}

.v4-recruit-text {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: 0.05em;
    color: var(--v4-white);
    margin-bottom: 60px;
}

.v4-recruit-button-wrapper {
    background: rgba(255, 255, 255, 0);
    box-shadow: 0px 0px 48px 0px rgba(0, 0, 0, 0.2);
    padding: 0;
}

.v4-recruit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 300px;
    padding: 18px 32px;
    border: 2px solid var(--v4-primary-color);
    background: var(--v4-primary-color);
    color: var(--v4-white);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.v4-recruit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
    z-index: 1;
}

.v4-recruit-btn:hover::before {
    left: 100%;
}

.v4-recruit-btn:hover {
    background: var(--v4-primary-dark);
    border-color: var(--v4-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 0, 18, 0.3);
}

.v4-recruit-btn span {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: var(--v4-white);
    transition: var(--v4-transition);
    position: relative;
    z-index: 1;
}

/* Right: Image */
.v4-recruit-right {
    flex: 1;
    overflow: hidden;
}

.v4-recruit-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   Footer - デザイン1のスタイルを適用
   ======================================== */
.footer {
    background: #4A0008;
    padding: 0 0 100px 0;
    border-top: none;
}

.footer-content {
    display: flex;
    min-height: 500px;
    gap: 0;
}

.footer-left {
    flex: 1;
    background: #4A0008;
    color: #fff;
    padding: 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.footer-logo {
    width: 160px;
    margin: 0 auto 25px;
}

.footer-logo img {
    width: 100%;
    filter: brightness(0) invert(1);
}

.footer-company {
    margin-bottom: 20px;
}

.footer-company-name {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5em;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 12px;
}

.footer-address {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.1em;
    color: #FF5252;
    margin-bottom: 25px;
}

.footer-area {
    margin-top: 30px;
}

.footer-area-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5em;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 15px;
}

.footer-area-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-area-text {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.85);
}

.footer-right {
    flex: 1;
}

.footer-map {
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

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

/* Contact Bar */
.v4-contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 2fr;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    z-index: 998;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.v4-contact-bar.v4-visible {
    opacity: 1;
    transform: translateY(0);
}

.v4-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 32px;
    transition: var(--v4-transition);
    position: relative;
}

.v4-contact-phone {
    background: #E70012;
    color: var(--v4-white);
}

.v4-contact-phone:hover {
    background: #C5000F;
}

.v4-contact-estimate {
    background: #E87A5D;
    color: var(--v4-white);
    text-decoration: none;
    cursor: pointer;
}

.v4-contact-estimate:hover {
    background: #D4654A;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(232, 122, 93, 0.4);
}

.v4-contact-reservation {
    background: #52B788;
    color: var(--v4-white);
    text-decoration: none;
    cursor: pointer;
}

.v4-contact-reservation:hover {
    background: #45A075;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(82, 183, 136, 0.4);
}

.v4-contact-message {
    background: #4A0008;
    color: var(--v4-white);
    justify-content: center;
}

.v4-contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v4-contact-icon svg {
    width: 28px;
    height: 28px;
}

.v4-contact-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.v4-contact-number {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

.v4-contact-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    margin: 0;
    line-height: 1;
}

.v4-contact-title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.v4-contact-time {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    margin: 0;
    line-height: 1;
}

.v4-contact-arrow {
    font-size: 32px;
    font-weight: 300;
    margin-left: auto;
}

.v4-contact-message-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    text-align: center;
    line-height: 1.5;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1400px) {
    :root {
        --v4-container-padding: 60px;
    }

    .v4-about-image {
        width: 48%;
        max-width: 600px;
    }

    .v4-strength-image {
        flex: 0 0 48%;
        width: 48%;
    }

    .v4-strength-content {
        padding: 60px;
    }
}

@media (max-width: 1200px) {
    :root {
        --v4-container-padding: 40px;
    }

    .v4-about-container {
        flex-direction: column;
        gap: 60px;
        align-items: center;
    }

    .v4-about-image {
        width: 100%;
        max-width: 500px;
    }

    .v4-about-image.v4-fade-in-left {
        animation: v4-about-image-enter-mobile 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    }

    @keyframes v4-about-image-enter-mobile {
        0% {
            opacity: 0;
            transform: scale(0.8) rotateX(20deg);
        }
        100% {
            opacity: 1;
            transform: scale(1) rotateX(0);
        }
    }

    .v4-about-content.v4-fade-in-right {
        animation: v4-about-content-enter-mobile 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    }

    @keyframes v4-about-content-enter-mobile {
        0% {
            opacity: 0;
            transform: scale(0.8) translateY(30px);
        }
        100% {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }

    .v4-section-title {
        font-size: 40px;
    }

    .v4-about-text p {
        font-size: 15px;
    }

    .v4-about-text .v4-highlight {
        font-size: 20px;
    }

    .v4-strength-card {
        flex-direction: column;
    }

    .v4-strength-card.v4-reverse {
        flex-direction: column;
    }

    /* モバイル時はreverseでも左側に線を表示 */
    .v4-strength-card.v4-reverse .v4-strength-content::before {
        left: 0;
        right: auto;
    }

    .v4-strength-image {
        width: 100%;
        flex: none;
    }

    .v4-strength-content {
        padding: 60px 40px;
    }

    .v4-info-header {
        margin-bottom: 60px;
    }

    .v4-info-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .v4-info-image {
        height: 320px;
    }

    .v4-info-content {
        padding: 32px 24px 32px 24px;
    }

    .v4-recruit-container {
        flex-direction: column;
    }

    .v4-recruit-left {
        width: 100%;
        flex: none;
    }

    .v4-recruit-right {
        width: 100%;
        flex: none;
        height: 500px;
    }
}

@media (max-width: 768px) {
    :root {
        --v4-container-padding: 20px;
    }

    /* Hero Section Mobile */
    .v4-hero {
        height: 100vh;
        min-height: 600px;
    }

    .v4-hero-content {
        top: 80px;
        height: calc(100% - 80px);
    }

    .v4-hero-content-inner {
        padding: 0 20px;
    }

    .v4-hero-text-section {
        width: 100%;
        padding: 40px 0;
        align-items: center;
    }

    .v4-hero-title-vertical {
        font-size: 48px;
        text-align: center;
    }

    .v4-hero-subtitle {
        font-size: 16px;
        text-align: center;
    }

    /* About Section Mobile */
    .v4-about-section {
        padding: 80px 20px;
        min-height: auto;
    }

    .v4-about-container {
        flex-direction: column;
        gap: 40px;
        padding: 0;
    }

    .v4-about-image {
        width: 100%;
        max-width: 100%;
        order: 1;
    }

    .v4-about-content {
        width: 100%;
        order: 2;
    }

    .v4-section-label {
        font-size: 80px;
        margin-bottom: -30px;
        height: 80px;
    }

    .v4-section-title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .v4-section-divider {
        width: 60px;
    }

    .v4-about-text p {
        font-size: 14px;
        line-height: 1.8;
    }

    .v4-about-text .v4-highlight {
        font-size: 18px;
    }

    .v4-strength-content {
        padding: 40px 20px;
    }

    .v4-strength-title {
        font-size: 28px;
    }

    .v4-info-header {
        margin-bottom: 48px;
    }

    .v4-info-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .v4-info-image {
        height: 280px;
    }

    .v4-info-content {
        padding: 24px 20px 24px 20px;
    }

    .v4-info-title {
        font-size: 24px;
        padding-top: 16px;
    }

    .v4-info-text {
        font-size: 13px;
        padding-bottom: 24px;
    }

    .v4-info-btn {
        padding: 14px 20px;
    }

    .v4-recruit-subtitle {
        font-size: 24px;
    }

    .v4-recruit-text {
        font-size: 16px;
    }

    /* Flow Section Responsive */
    .v4-flow-section {
        padding: 80px 0;
    }

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

    .v4-flow-slider-wrapper {
        padding: 0 60px;
        max-width: 100%;
    }

    .v4-flow-slide {
        width: 280px;
        flex-shrink: 0;
    }

    .v4-flow-header {
        padding: 20px 20px 0;
        gap: 12px;
    }

    .v4-flow-number-badge {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .v4-flow-image {
        height: 180px;
        margin: 16px 0;
    }

    .v4-flow-slide-content {
        padding: 0 20px 20px;
    }

    .v4-flow-slide-title {
        font-size: 16px;
    }

    .v4-flow-slide-text {
        font-size: 13px;
        line-height: 1.7;
    }

    .v4-flow-nav {
        width: 48px;
        height: 48px;
    }

    .v4-flow-dots {
        margin-top: 32px;
        gap: 8px;
    }

    .v4-flow-dot {
        width: 10px;
        height: 10px;
    }

    .v4-flow-dot.active {
        width: 24px;
    }
}

/* ========================================
   Responsive Styles - Footer & CTA
   ======================================== */
@media (max-width: 1024px) {
    /* Hero Section Tablet */
    .v4-hero-text-section {
        width: 60%;
    }

    .v4-hero-title-vertical {
        font-size: 56px;
    }

    .v4-hero-subtitle {
        font-size: 16px;
    }

    .v4-contact-bar {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 0;
    }

    .v4-contact-phone {
        grid-row: 1;
        grid-column: 1;
    }

    .v4-contact-estimate {
        grid-row: 1;
        grid-column: 2;
    }

    .v4-contact-reservation {
        grid-row: 2;
        grid-column: 1;
    }

    .v4-contact-message {
        grid-row: 2;
        grid-column: 2;
    }

    .v4-contact-item {
        padding: 16px 20px;
    }

    .v4-contact-icon {
        width: 32px;
        height: 32px;
    }

    .v4-contact-icon svg {
        width: 22px;
        height: 22px;
    }

    .v4-contact-number {
        font-size: 20px;
    }

    .v4-contact-time {
        font-size: 9px;
    }

    .v4-contact-title {
        font-size: 14px;
    }

    .v4-contact-label {
        font-size: 9px;
    }

    .v4-contact-arrow {
        font-size: 24px;
    }

    .v4-contact-message-text {
        font-size: 13px;
    }
    
    /* Footer responsive */
    .footer-content {
        flex-direction: column;
    }

    .footer-left {
        padding: 40px 30px;
    }

    .footer-right {
        height: 400px;
    }
    
    /* Footer padding for CTA bar */
    .footer {
        padding-bottom: 150px;
    }
}

@media (max-width: 900px) {
    .v4-contact-item {
        padding: 14px 16px;
    }

    .v4-contact-icon {
        width: 28px;
        height: 28px;
    }

    .v4-contact-icon svg {
        width: 20px;
        height: 20px;
    }

    .v4-contact-number {
        font-size: 18px;
    }

    .v4-contact-time {
        font-size: 8px;
    }

    .v4-contact-title {
        font-size: 13px;
    }

    .v4-contact-label {
        font-size: 8px;
    }

    .v4-contact-arrow {
        font-size: 20px;
    }
    
    /* Footer padding for CTA bar */
    .footer {
        padding-bottom: 140px;
    }
}

@media (max-width: 768px) {
    .v4-contact-bar {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .v4-contact-phone,
    .v4-contact-estimate,
    .v4-contact-reservation,
    .v4-contact-message {
        grid-row: auto;
        grid-column: 1;
    }

    .v4-contact-item {
        padding: 16px 20px;
    }

    .v4-contact-icon {
        width: 32px;
        height: 32px;
    }

    .v4-contact-icon svg {
        width: 22px;
        height: 22px;
    }

    .v4-contact-number {
        font-size: 18px;
    }

    .v4-contact-time {
        font-size: 9px;
    }

    .v4-contact-title {
        font-size: 14px;
    }

    .v4-contact-label {
        font-size: 9px;
    }

    .v4-contact-arrow {
        font-size: 24px;
    }

    .v4-contact-message-text {
        font-size: 13px;
    }
    
    /* Footer responsive mobile */
    .footer-content {
        flex-direction: column;
    }

    .footer-left {
        padding: 40px 20px;
    }

    .footer-right {
        height: 350px;
    }
    
    /* Footer padding for CTA bar */
    .footer {
        padding-bottom: 350px;
    }
}

@media (max-width: 600px) {
    .v4-contact-item {
        padding: 12px 14px;
    }

    .v4-contact-icon {
        width: 24px;
        height: 24px;
    }

    .v4-contact-icon svg {
        width: 18px;
        height: 18px;
    }

    .v4-contact-number {
        font-size: 16px;
    }

    .v4-contact-time {
        font-size: 7px;
    }

    .v4-contact-title {
        font-size: 11px;
    }

    .v4-contact-label {
        font-size: 7px;
    }

    .v4-contact-arrow {
        font-size: 18px;
    }

    .v4-contact-message-text {
        font-size: 11px;
    }
    
    /* Footer responsive small mobile */
    .footer-left {
        padding: 30px 15px;
    }

    .footer-right {
        height: 300px;
    }
    
    /* Footer padding for CTA bar */
    .footer {
        padding-bottom: 320px;
    }
}
@media (max-width: 768px) {
    :root {
        --v4-container-padding: 20px;
    }

    /* Hero Section Mobile */
    .v4-hero {
        height: 100vh;
        min-height: 600px;
    }

    .v4-hero-content {
        top: 80px;
        height: calc(100% - 80px);
    }

    .v4-hero-content-inner {
        padding: 0 20px;
    }

    .v4-hero-text-section {
        width: 100%;
        padding: 40px 0;
        align-items: center;
    }

    .v4-hero-title-vertical {
        font-size: 48px;
        text-align: center;
    }

    .v4-hero-subtitle {
        font-size: 16px;
        text-align: center;
    }

    /* About Section Mobile */
    .v4-about-section {
        padding: 80px 20px;
        min-height: auto;
    }

    .v4-about-container {
        flex-direction: column;
        gap: 40px;
        padding: 0;
    }

    .v4-about-image {
        width: 100%;
        max-width: 100%;
        order: 1;
    }

    .v4-about-content {
        width: 100%;
        order: 2;
    }

    .v4-section-label {
        font-size: 80px;
        margin-bottom: -30px;
        height: 80px;
    }

    .v4-section-title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .v4-section-divider {
        width: 60px;
    }

    .v4-about-text p {
        font-size: 14px;
        line-height: 1.8;
    }

    .v4-about-text .v4-highlight {
        font-size: 18px;
    }

    .v4-strength-content {
        padding: 40px 20px;
    }

    .v4-strength-title {
        font-size: 28px;
    }

    .v4-info-header {
        margin-bottom: 48px;
    }

    .v4-info-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .v4-info-image {
        height: 280px;
    }

    .v4-info-content {
        padding: 24px 20px 24px 20px;
    }

    .v4-info-title {
        font-size: 24px;
        padding-top: 16px;
    }

    .v4-info-text {
        font-size: 13px;
        padding-bottom: 24px;
    }

    .v4-info-btn {
        padding: 14px 20px;
    }

    .v4-recruit-subtitle {
        font-size: 24px;
    }

    .v4-recruit-text {
        font-size: 16px;
    }

    /* Flow Section Responsive */
    .v4-flow-section {
        padding: 80px 0;
    }

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

    .v4-flow-slider-wrapper {
        padding: 0 60px;
        max-width: 100%;
    }

    .v4-flow-slide {
        width: 280px;
        flex-shrink: 0;
    }

    .v4-flow-header {
        padding: 20px 20px 0;
        gap: 12px;
    }

    .v4-flow-number-badge {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .v4-flow-image {
        height: 180px;
        margin: 16px 0;
    }

    .v4-flow-slide-content {
        padding: 0 20px 20px;
    }

    .v4-flow-slide-title {
        font-size: 16px;
    }

    .v4-flow-slide-text {
        font-size: 13px;
        line-height: 1.7;
    }

    .v4-flow-nav {
        width: 48px;
        height: 48px;
    }

    .v4-flow-dots {
        margin-top: 32px;
        gap: 8px;
    }

    .v4-flow-dot {
        width: 10px;
        height: 10px;
    }

    .v4-flow-dot.active {
        width: 24px;
    }
}

@media (max-width: 1440px) {
    .header-content {
        padding: 0 40px;
    }
}

@media (max-width: 1200px) {
    .header-content {
        padding: 0 20px;
    }
}

@media (max-width: 600px) {
    .v4-contact-item {
        padding: 12px 14px;
    }

    .v4-contact-icon {
        width: 24px;
        height: 24px;
    }

    .v4-contact-icon svg {
        width: 18px;
        height: 18px;
    }

    .v4-contact-number {
        font-size: 16px;
    }

    .v4-contact-time {
        font-size: 7px;
    }

    .v4-contact-title {
        font-size: 11px;
    }

    .v4-contact-label {
        font-size: 7px;
    }

    .v4-contact-arrow {
        font-size: 18px;
    }

    .v4-contact-message-text {
        font-size: 11px;
    }
    
    /* Footer padding for CTA bar */
    .footer {
        padding-bottom: 320px;
    }
}