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

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #ffffff;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='0' y2='20' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='20' y2='0' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    background-attachment: fixed;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body.recruit-page {
    background-color: #ffffff;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='0' y2='20' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='20' y2='0' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    background-attachment: fixed;
}

body.company-page {
    background-color: #ffffff;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='0' y2='20' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='20' y2='0' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    background-attachment: fixed;
}

body.contact-page {
    background-color: #ffffff;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='0' y2='20' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='20' y2='0' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    background-attachment: fixed;
}

/* スクロールアニメーション */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 一度アニメーションが実行された要素は常に表示 */
.fade-in-up.animated {
    opacity: 1;
    transform: translateY(0);
}

/* 遅延アニメーション用のクラス */
.fade-in-up.delay-1 {
    transition-delay: 0.1s;
}

.fade-in-up.delay-2 {
    transition-delay: 0.2s;
}

.fade-in-up.delay-3 {
    transition-delay: 0.3s;
}

.fade-in-up.delay-4 {
    transition-delay: 0.4s;
}

.fade-in-up.delay-5 {
    transition-delay: 0.5s;
}

.fade-in-up.delay-6 {
    transition-delay: 0.6s;
}

.fade-in-up.delay-7 {
    transition-delay: 0.7s;
}

.fade-in-up.delay-8 {
    transition-delay: 0.8s;
}

.fade-in-up.delay-9 {
    transition-delay: 0.9s;
}

/* 左右から出てくるアニメーション */
.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ページロード時の画面切り替え演出 */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    overflow: hidden;
}

.page-transition-right {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    transform: translateX(0);
    transition: transform 2.0s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-transition-logo {
    position: relative;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.6s ease;
}

.page-transition-logo img {
    max-width: 150px;
    height: auto;
    display: block;
}

/* スマートフォンサイズでロード画面のロゴを小さく */
@media (max-width: 768px) {
    .page-transition-logo img {
        max-width: 80px;
    }
}

/* アニメーション開始時（ページロード時） */
.page-transition-overlay.loading .page-transition-right {
    transform: translateX(0);
}

.page-transition-overlay.loading .page-transition-logo {
    opacity: 1;
}

/* アニメーション終了時（右に移動） */
.page-transition-overlay.loaded .page-transition-right {
    transform: translateX(100%);
}

.page-transition-overlay.loaded .page-transition-logo {
    opacity: 0;
}

/* ヘッダー部分 */
.header-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1;
}

.header-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
}

.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 100, 200, 0.6);
    z-index: 1;
    pointer-events: none;
}

.header-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 1));
    pointer-events: none;
    z-index: 1;
}

/* 下向き矢印ボタン */
.scroll-down-btn {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    text-decoration: none;
    z-index: 10;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.scroll-down-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateX(-50%) translateY(5px);
    border-color: rgba(255, 255, 255, 0.5);
}

.scroll-down-btn svg {
    width: 24px;
    height: 24px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ナビゲーションバー */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.logo-box {
    padding: 10px 20px;
    display: inline-block;
    margin-left: -20px;
}

.logo-box img {
    height: 40px;
    width: auto;
    display: block;
}

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

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 12px;
    transition: background-color 0.3s ease;
}

.nav-menu li a.active {
    /* アクティブ状態のスタイルは特に指定なし */
    opacity: 1;
}

.nav-menu li a:hover {
    background-color: rgba(200, 200, 200, 0.3);
    border-radius: 6px;
}

/* index.htmlページ用：ナビゲーションバーのメニューは白文字のまま */

/* ハンバーガーメニューボタン */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
    position: relative;
}

.hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

/* 全ページ共通：ハンバーガーメニューの色を黒に */
.index-page .hamburger-menu span,
.company-page .hamburger-menu span,
.service-page .hamburger-menu span,
.recruit-page .hamburger-menu span,
.contact-page .hamburger-menu span {
    background-color: #000000;
}

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

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

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

/* スマートフォンサイズでのメニュー表示制御 */
.nav-menu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* company.htmlページ用：ナビゲーションバーのメニューを黒文字に */
.company-page .nav-menu li a {
    color: #000000;
}

.company-page .nav-menu li a:hover {
    background-color: rgba(200, 200, 200, 0.3);
    border-radius: 6px;
}

.company-page .contact-section {
    background-color: #ffffff;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='0' y2='20' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='20' y2='0' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    background-attachment: fixed;
}

/* company.htmlページ用：企業理念セクションのロゴを少し小さく */
.company-page .company-about-logo img {
    max-width: 250px;
}

/* service.htmlページ用：ナビゲーションバーのメニューを黒文字に */
.service-page .nav-menu li a {
    color: #000000;
}

.service-page .nav-menu li a:hover {
    background-color: rgba(200, 200, 200, 0.3);
    border-radius: 6px;
}

.service-page .contact-section {
    background-color: #ffffff;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='0' y2='20' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='20' y2='0' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E");
    background-size: 20px 20px;
}

/* メインテキスト */
.hero-text {
    position: absolute;
    top: 40%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    text-align: left;
    z-index: 10;
}

.hero-text h1 {
    font-size: 52px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text .line1 {
    margin-bottom: 5px;
    font-size: 48px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-text .line2 {
    font-size: 48px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .navbar {
        padding: 20px 30px;
    }

    .logo-box img {
        height: 35px;
    }

    .nav-menu {
        gap: 10px;
    }

    .nav-menu li a {
        font-size: 12px;
        padding: 6px 10px;
    }

    .hero-text {
        left: 5%;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .hero-text .line1 {
        font-size: 36px;
    }

    .hero-text .line2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

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

    /* ハンバーガーメニューボタンを表示 */
    .hamburger-menu {
        display: flex;
    }

    /* メニューを非表示（デフォルト） */
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 300px;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 30px 30px 30px;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        z-index: 998;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    /* メニューが開いている時 */
    .nav-menu.active {
        max-height: 100vh;
        opacity: 1;
        visibility: visible;
    }

    /* メニューが開いている時の背景オーバーレイ */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 997;
        pointer-events: auto;
    }

    .menu-overlay.active {
        display: block;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu li a {
        display: block;
        width: 100%;
        font-size: 16px;
        padding: 15px 0;
        color: #000000;
        text-align: left;
    }

    .nav-menu li a:hover {
        background-color: transparent;
        color: #666666;
    }

    .hero-text {
        right: 5%;
        left: 5%;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text .line1 {
        font-size: 28px;
    }

    .hero-text .line2 {
        font-size: 28px;
    }

    .scroll-down-btn {
        width: 40px;
        height: 40px;
        bottom: 30px;
    }

    .scroll-down-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* 企業理念セクション */
.philosophy-section {
    background-color: transparent;
    padding: 130px 50px 100px 50px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.philosophy-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 80px;
}

.philosophy-logo {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 60px;
}

.philosophy-logo img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

.philosophy-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.philosophy-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(to bottom, #666666, #000000);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    width: fit-content;
    position: relative;
}

.philosophy-title-highlight {
    position: relative;
    display: inline-block;
}

.philosophy-title-text {
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, #666666, #000000);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

.philosophy-title-highlight::after {
    content: '';
    position: absolute;
    bottom: 0.15em;
    left: 0;
    width: 0;
    height: 0.2em;
    background-color: rgba(180, 180, 180, 0.4);
    transition: width 1.5s ease;
    z-index: 1;
}

.philosophy-title-highlight.visible::after {
    width: 100%;
}

.philosophy-text {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    position: relative;
}

.philosophy-text-highlight {
    position: relative;
    display: inline-block;
}

.philosophy-text-text {
    position: relative;
    z-index: 2;
    color: #333;
    display: inline-block;
}

.philosophy-text-highlight::after {
    content: '';
    position: absolute;
    bottom: 0.15em;
    left: 0;
    width: 0;
    height: 0.3em;
    background-color: rgba(180, 180, 180, 0.4);
    transition: width 1.5s ease;
    z-index: 1;
}

.philosophy-text-highlight.visible::after {
    width: 100%;
}

.philosophy-description {
    font-size: 16px;
    font-weight: 700;
    color: #666;
    line-height: 1.8;
}

.about-us-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #000000;
    color: #ffffff;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    width: fit-content;
    margin-top: 20px;
    margin-left: auto;
    margin-right: 0;
    max-width: calc(100% - 0px);
    border-radius: 8px;
}

.about-us-btn:hover {
    background-color: #333333;
}

.about-us-btn .arrow {
    font-size: 18px;
}

/* 固定ナビゲーションバー（スクロール時） */
.fixed-navbar {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    z-index: 1000;
    padding: 6px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background-color: rgba(200, 200, 200, 0.3);
    border-radius: 20px;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.fixed-navbar.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.menu-toggle {
    display: none;
    background-color: transparent;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    user-select: none;
    text-align: center;
    pointer-events: auto;
    z-index: 1002;
    position: relative;
}

.menu-toggle:hover {
    background-color: transparent;
}

.menu-toggle.active {
    background-color: transparent;
}

.fixed-nav-menu {
    display: flex;
    flex-direction: row;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.fixed-nav-menu li {
    width: auto;
}

.fixed-nav-menu li a {
    display: block;
    padding: 8px 12px;
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.fixed-nav-menu li a:hover {
    background-color: rgba(200, 200, 200, 0.3);
    border-radius: 6px;
}

/* 固定ナビゲーションバー レスポンシブ対応 */
@media (max-width: 1024px) {
    .fixed-navbar {
        top: 12px;
        padding: 5px 15px;
    }

    .fixed-nav-menu {
        gap: 15px;
    }

    .fixed-nav-menu li a {
        font-size: 12px;
        padding: 6px 10px;
    }
}

@media (max-width: 768px) {
    /* スマートフォンサイズでは固定ナビゲーションバーを非表示 */
    .fixed-navbar {
        display: none !important;
        top: 10px;
        padding: 5px 12px;
        flex-direction: column;
        align-items: center;
        z-index: 1001;
    }

    /* 小画面では、fixed-navbarがvisibleクラスを持っていなくても、メニューは動作するようにする */
    .fixed-navbar .menu-toggle {
        pointer-events: auto !important;
    }

    .fixed-navbar.visible {
        pointer-events: auto;
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .menu-toggle {
        display: block;
        margin-bottom: 0;
        pointer-events: auto;
        z-index: 1002;
        position: relative;
        color: #000000;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .menu-toggle.active {
        color: #000000;
    }

    .fixed-nav-menu {
        display: none !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 10px;
        background-color: rgba(255, 255, 255, 0.95);
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
        min-width: 180px;
        gap: 0;
        z-index: 1003;
        pointer-events: auto;
        visibility: hidden;
        opacity: 0;
    }

    .fixed-nav-menu.active {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    /* より高い優先度でメニューを表示 */
    .fixed-navbar .fixed-nav-menu.active {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .fixed-nav-menu li {
        width: 100%;
    }

    .fixed-nav-menu li a {
        font-size: 12px;
        padding: 12px 20px;
        text-align: center;
    }

    .fixed-nav-menu li a:hover {
        background-color: rgba(200, 200, 200, 0.3);
    }
}

/* 企業理念セクション レスポンシブ対応 */
@media (max-width: 1024px) {
    .philosophy-section {
        padding: 65px 40px 80px 40px;
    }

    .philosophy-container {
        gap: 60px;
    }

    .philosophy-logo img {
        max-width: 250px;
    }

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

    .philosophy-text {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .philosophy-section {
        padding: 50px 30px 60px 30px;
    }

    .philosophy-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .philosophy-logo {
        padding-right: 0;
        justify-content: center;
    }

    .philosophy-logo img {
        max-width: 200px;
    }

    .philosophy-content {
        align-items: flex-start;
    }

    .philosophy-title {
        font-size: 28px;
    }

    .philosophy-text {
        font-size: 20px;
    }

    .philosophy-description {
        font-size: 14px;
    }

    .about-us-btn {
        margin-top: 30px;
    }
}

/* 会社概要セクション（ホームページ） */
.company-overview-section {
    background-color: transparent;
    padding: 180px 0 150px 0;
    width: 100%;
    position: relative;
    min-height: auto;
    z-index: 2;
}

.company-overview-title {
    position: absolute;
    top: 45px;
    right: 2%;
    font-size: 100px;
    font-weight: 700;
    color: #000000;
    letter-spacing: -6px;
    z-index: 1;
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.company-overview-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 画面幅が1400pxを超える場合、コンテナの最大幅に合わせてタイトルを配置 */
@media (min-width: 1401px) {
    .company-overview-section {
        position: relative;
    }
    
    .company-overview-title {
        right: calc((100% - 1400px) / 2 + 2%);
    }
}

.company-overview-container {
    display: flex;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: auto;
    padding-left: 50px;
    box-sizing: border-box;
}

.company-overview-image {
    flex: 0 0 52%;
    margin: 0;
    min-height: 450px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    perspective: 1000px;
    cursor: grab;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.company-overview-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.company-overview-image:active {
    cursor: grabbing;
}

.company-overview-image img {
    max-width: 80%;
    max-height: 80%;
    height: auto;
    display: block;
    object-fit: contain;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    will-change: transform;
    margin-top: 0;
}

.company-overview-content {
    flex: 1;
    background-color: transparent;
    padding: 60px 60px 60px 40px;
    display: flex;
    flex-direction: column;
}

.company-overview-subtitle {
    font-size: 28px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 35px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.company-overview-content.visible .company-overview-subtitle {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}

.company-overview-menu-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    width: 100%;
}

.company-overview-menu-item {
    margin-bottom: 25px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.company-overview-content.visible .company-overview-menu-item {
    opacity: 1;
    transform: translateX(0);
}

.company-overview-content.visible .company-overview-menu-item:nth-child(1) {
    transition-delay: 0.3s;
}

.company-overview-content.visible .company-overview-menu-item:nth-child(2) {
    transition-delay: 0.4s;
}

.company-overview-content.visible .company-overview-menu-item:nth-child(3) {
    transition-delay: 0.5s;
}

.company-overview-content.visible .company-overview-menu-item:nth-child(4) {
    transition-delay: 0.6s;
}

.company-overview-menu-item::before {
    display: none;
}

.company-overview-menu-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333333;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    padding-bottom: 10px;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.company-overview-menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 0;
    height: 2px;
    background-image: repeating-linear-gradient(
        to right,
        #333333 0,
        #333333 4px,
        transparent 4px,
        transparent 8px
    );
    display: block;
}

.company-overview-menu-link:hover {
    font-size: 16px;
}

.overview-menu-number {
    margin-right: 15px;
    margin-left: 20px;
    font-weight: 700;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: transform 0.3s ease;
    display: inline-block;
    transform-origin: left center;
}

.overview-menu-text {
    flex: 1;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: transform 0.3s ease;
    display: inline-block;
    transform-origin: left center;
}

.company-overview-menu-link:hover .overview-menu-number,
.company-overview-menu-link:hover .overview-menu-text {
    transform: scale(1.05);
}

.overview-menu-dots {
    display: none;
}

.company-overview-buttons {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding-top: 0;
    justify-content: flex-end;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.company-overview-content.visible .company-overview-buttons {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.7s;
}

/* 企業理念セクション用のボタンスタイル */
.company-about-right .company-overview-buttons {
    opacity: 1;
    transform: translateX(0);
    justify-content: flex-end;
    margin-top: 30px;
    align-self: stretch;
    width: 100%;
}

.company-about-right .company-overview-view-all-btn {
    padding: 10px 20px;
    font-size: 12px;
}

.company-overview-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #000000;
    color: #ffffff;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    width: fit-content;
    border-radius: 8px;
}

.company-overview-view-all-btn:hover {
    background-color: #333333;
}

.company-overview-view-all-btn .arrow {
    font-size: 18px;
}


/* 会社概要セクション レスポンシブ対応 */
@media (max-width: 1024px) {
    .company-overview-section {
        padding: 100px 0 0 0;
    }
    
    .index-page .company-overview-section {
        padding-bottom: 100px !important;
    }

    .company-overview-title {
        font-size: 70px;
        right: 2%;
        top: 40px;
    }

    .company-overview-container {
        flex-direction: column;
        min-height: auto;
        gap: 0;
    }

    .company-overview-image {
        flex: 0 0 auto;
        min-height: auto;
        max-height: none;
        width: 100%;
        margin-bottom: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .company-overview-image img {
        max-width: 90%;
        max-height: 400px;
        width: auto;
        height: auto;
        margin-top: 20px;
        object-fit: contain;
    }

    .company-overview-content {
        padding: 30px 40px 40px 40px;
        width: 100%;
    }

    .company-overview-subtitle {
        font-size: 20px;
        margin-bottom: 40px;
    }

    .company-overview-menu-link {
        font-size: 15px;
    }

    .company-overview-menu-link::after {
        left: 15px;
    }

    .company-overview-menu-link:hover {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .company-overview-section {
        padding: 80px 0 0 0;
    }
    
    .index-page .company-overview-section {
        padding-bottom: 80px !important;
    }

    .company-overview-title {
        font-size: 50px;
        right: 2%;
        top: 30px;
    }

    .company-overview-image {
        flex: 0 0 auto;
        min-height: auto;
        max-height: none;
        width: 100%;
        margin-bottom: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .company-overview-image img {
        max-width: 90%;
        max-height: 300px;
        width: auto;
        height: auto;
        margin-top: 15px;
        object-fit: contain;
    }

    .company-overview-content {
        padding: 30px 30px 30px 30px;
        width: 100%;
    }

    .company-overview-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .company-overview-menu-link {
        font-size: 13px;
    }

    .company-overview-menu-link::after {
        left: 15px;
    }

    .company-overview-menu-link:hover {
        font-size: 13px;
    }

    .overview-menu-number {
        margin-right: 10px;
        margin-left: 15px;
    }

    .overview-menu-dots {
        margin-left: 10px;
        margin-right: 10px;
    }
}

/* COMPANYページ */
.company-section {
    min-height: 100vh;
    background-color: #ffffff;
    padding: 120px 0 0 0;
    position: relative;
}

.company-title {
    position: absolute;
    top: 100px;
    right: 10%;
    font-size: 120px;
    font-weight: 700;
    color: #000000;
    letter-spacing: 0px;
    z-index: 10;
}

.company-container {
    display: flex;
    width: 100%;
    min-height: calc(100vh - 120px);
}

.company-image-placeholder {
    flex: 0 0 55%;
    background-color: #808080;
    margin: 0;
    border-top: 3px solid #f5f5dc;
    border-right: 3px solid #f5f5dc;
    border-bottom: 3px solid #f5f5dc;
}

.company-content {
    flex: 1;
    background-color: #f5f5dc;
    padding: 80px 60px 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.company-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 60px;
}

.company-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.company-menu-item {
    margin-bottom: 30px;
}

.company-menu-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000000;
    font-size: 18px;
    font-weight: 500;
    position: relative;
    padding-bottom: 10px;
}

.company-menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: transparent;
    transition: background-color 0.3s ease;
    z-index: -1;
}

.company-menu-link:hover::before {
    background-color: rgba(180, 180, 180, 0.3);
    border-radius: 6px;
}

.menu-number {
    margin-right: 15px;
    font-weight: 700;
}

.menu-text {
    flex: 1;
}

.menu-dots {
    flex: 1;
    border-bottom: 2px dotted #000000;
    margin-left: 20px;
    margin-right: 20px;
    height: 1px;
}

.company-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: auto;
    padding-top: 40px;
}

.view-all-btn {
    background-color: #000000;
    color: #ffffff;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.view-all-btn:hover {
    background-color: #333333;
}

.arrow-btn {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 12px 18px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.arrow-btn:hover {
    background-color: #333333;
}

/* 会社概要セクション */
.company-detail-section {
    background-color: #ffffff;
    padding: 100px 50px;
    min-height: 80vh;
}

.company-detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

.company-detail-title {
    font-size: 48px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 60px;
    text-align: center;
}

.company-detail-content {
    background-color: #ffffff;
}

.company-profile-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    max-width: 800px;
}

.company-profile-table th {
    background-color: #f5f5dc;
    padding: 20px 30px;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    border: 1px solid #e0e0e0;
    width: 30%;
    vertical-align: top;
}

.company-profile-table td {
    padding: 20px 30px;
    font-size: 16px;
    color: #333333;
    border: 1px solid #e0e0e0;
    line-height: 1.8;
}

.company-profile-table tr:hover {
    background-color: #fafafa;
}

/* COMPANYページ レスポンシブ対応 */
@media (max-width: 1024px) {
    .company-title {
        font-size: 80px;
        right: 5%;
        top: 80px;
    }

    .company-container {
        flex-direction: column;
    }

    .company-image-placeholder {
        flex: 0 0 50vh;
        border-right: none;
        border-left: 3px solid #f5f5dc;
    }

    .company-content {
        padding: 50px 40px 40px 40px;
    }

    .company-subtitle {
        font-size: 20px;
        margin-bottom: 40px;
    }

    .company-menu-link {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .company-title {
        font-size: 60px;
        right: 5%;
        top: 60px;
    }

    .company-section {
        padding: 100px 0 0 0;
    }

    .company-image-placeholder {
        flex: 0 0 40vh;
    }

    .company-content {
        padding: 40px 30px 30px 30px;
    }

    .company-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .company-menu-link {
        font-size: 14px;
    }

    .menu-number {
        margin-right: 10px;
    }

    .menu-dots {
        margin-left: 10px;
        margin-right: 10px;
    }

    .company-detail-section {
        padding: 60px 30px;
    }

    .company-detail-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .company-profile-table th,
    .company-profile-table td {
        padding: 15px 20px;
        font-size: 14px;
    }
}

/* SERVICEセクション全体のラッパー */
.service-wrapper {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    padding-top: 135px;
    
}

/* カードコンテナ（重ねて配置） */
.service-cards-container {
    position: relative;
    width: 100%;
    height: calc(100vh * 3); /* カード枚数分 */
    margin-top: 0;
    overflow: visible;
  }

/* SERVICEカード（重ねて配置） */
.service-card {
    position: sticky;
    top: 160px; /* デフォルト値（JavaScriptで動的に上書きされる） */
    width: 100%;
    background-color: #ffffff;
    padding: 20px 0;
    margin-bottom: 0;
    /* 各カードに適切な高さを設定して重なり合うようにする */
    height: 100vh;
    /* 初期状態：非表示 */
    opacity: 0;
    visibility: hidden;
    /* 初期位置：下に配置（追い越し効果のため） */
    transform: translateY(100px) scale(0.95);
    /* スムーズなトランジション */
    transition: opacity 0.8s ease, visibility 0.8s ease, transform 0.8s ease, z-index 0s linear 0.4s;
    /* 初期z-index：後ろのカードほど高い値（重なり順を正しくするため） */
    z-index: 1;
    /* 重なりを滑らかにする */
    will-change: transform, opacity, z-index;
}

/* 各カードの初期z-indexを設定（後ろのカードほど高い値で、追い越し時に前面に来るように） */
.service-card[data-service="1"] {
    z-index: 1;
}

.service-card[data-service="2"] {
    z-index: 2;
}

.service-card[data-service="3"] {
    z-index: 3;
    /* top値はJavaScriptで動的に設定される（すべてのカードで統一） */
}

/* アクティブなカード（表示中） */
.service-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    /* z-indexはJavaScriptで動的に設定される */
    transition: opacity 0.8s ease, visibility 0.8s ease, transform 0.8s ease, z-index 0s linear 0s;
}

/* 次のカードが追い越している状態（coming-up） */
.service-card.coming-up {
    visibility: visible;
    /* z-indexはJavaScriptで動的に設定される */
    transition: opacity 0.8s ease, visibility 0.8s ease, transform 0.8s ease, z-index 0s linear 0s;
}

/* 前のカードが後ろに下がっている状態（going-down） */
.service-card.going-down {
    opacity: 0.2;
    visibility: visible;
    /* transformはJavaScriptで動的に設定される（タイトルより上に行かないように） */
    /* z-indexはJavaScriptで動的に設定される */
    transition: opacity 0.8s ease, visibility 0.8s ease, transform 0.8s ease, z-index 0s linear 0s;
}

/* 最初のカードは初期状態で表示 */
.service-card:first-child {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    /* 初期z-indexはJavaScriptで設定される */
}


/* SERVICEセクション（ホームページ） - 互換性のため残す */
.service-overview-section {
    background-color: #ffffff;
    padding: 20px 0 20px 0;
    width: 100%;
    position: relative;
    min-height: auto;
}

.service-overview-title {
    position: sticky;
    top: 45px;
    left: 50px;
    font-size: 120px;
    font-weight: 700;
    color: #000000;
    letter-spacing: 0px;
    z-index: 100;
    pointer-events: none;
    padding: 0;
    margin: 0;
    width: fit-content;
    height: fit-content;
    align-self: flex-start;
}

.service-overview-heading {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 30px;
    line-height: 1.4;
}

.service-overview-text {
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    line-height: 1.8;
    margin-bottom: 40px;
    flex: 1;
}

.service-overview-buttons {
    display: flex;
    align-items: center;
    margin-top: auto;
    padding-top: 0;
    justify-content: flex-start;
}

.service-overview-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #000000;
    color: #ffffff;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    width: fit-content;
    border-radius: 8px;
}

.service-overview-more-btn:hover {
    background-color: #333333;
}

.service-overview-more-btn .arrow {
    font-size: 18px;
}

/* SERVICEセクション レスポンシブ対応 */
@media (max-width: 1024px) {
    .service-wrapper {
        padding-top: 100px;
    }

    .service-cards-container {
        min-height: 80vh;
        padding-top: 160px;
    }

    .service-card {
        top: 160px;
    }

    .service-overview-section {
        padding: 20px 0 0 0;
    }

    .service-overview-title {
        font-size: 80px;
        left: 40px;
        top: 40px;
    }

    .service-overview-container {
        flex-direction: column;
        min-height: auto;
    }

    .service-overview-content {
        flex: 0 0 auto;
        padding: 50px 40px 40px 40px;
    }

    .service-overview-image {
        flex: 0 0 50vh;
        border-left: none;
        border-top: 3px solid #d3d3d3;
        min-height: 50vh;
    }

    .service-overview-heading {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .service-overview-text {
        font-size: 14px;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .service-wrapper {
        padding-top: 80px;
    }

    .service-cards-container {
        min-height: 70vh;
        padding-top: 130px;
    }

    .service-card {
        top: 130px;
    }

    .service-overview-section {
        padding: 20px 0 0 0;
    }

    .service-overview-title {
        font-size: 60px;
        left: 30px;
        top: 30px;
    }

    .service-overview-content {
        padding: 40px 30px 30px 30px;
    }

    .service-overview-image {
        flex: 0 0 40vh;
        min-height: 40vh;
    }

    .service-overview-heading {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .service-overview-text {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .service-scroll-spacer {
        height: 250vh; /* モバイルでも適切なスクロール量を確保 */
    }
}

/* --------------------------
   SERVICEカード 共通レイアウト
--------------------------- */
.service-overview-container {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-height: 600px; /* ←高さ基準を統一（重要） */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.service-overview-content {
    flex: 0 0 55%;
    background-color: #d3d3d3;
    padding: 60px 60px 60px 60px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.service-overview-image {
    flex: 0 0 45%;
    background-color: #d3d3d3;
    margin: 0;
    border-top: 3px solid #d3d3d3;
    border-left: 3px solid #d3d3d3;
    border-bottom: 3px solid #d3d3d3;
    min-height: 450px;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-overview-image video {
    width: 95%;
    height: 85%;
    object-fit: cover;
    display: block;
}

/* --------------------------
   2枚目（左：画像、右：コンテンツ）
--------------------------- */
.service-card[data-service="2"] .service-overview-image {
    border-left: none;
    border-right: 3px solid #d3d3d3;
}

.service-card[data-service="2"] .service-overview-buttons {
    justify-content: flex-end;
}

/* --------------------------
   3枚目（装飾差分のみ）
--------------------------- */
.service-card[data-service="3"] .service-overview-image {
    border-left: 3px solid #d3d3d3;
    border-top: 3px solid #d3d3d3;
    border-bottom: 3px solid #d3d3d3;
}

/* --------------------------
   レスポンシブ
--------------------------- */
@media (max-width: 1024px) {
    .service-overview-container {
        flex-direction: column;
        min-height: auto;
    }

    .service-overview-image {
        flex: 0 0 50vh;
        border: none;
        border-top: 3px solid #d3d3d3;
        min-height: 50vh;
    }

    .service-overview-content {
        flex: 0 0 auto;
        padding: 50px 40px;
    }
}

@media (max-width: 768px) {
    .service-overview-image {
        flex: 0 0 40vh;
        min-height: 40vh;
    }

    .service-overview-content {
        padding: 40px 30px;
    }
}

/* --------------------------
   スクロール用スペーサー
--------------------------- */
.service-scroll-spacer {
    height: 300vh; /* カード3枚分 */
    width: 100%;
    background: transparent;
}

/* MESSAGEセクション */
.message-section {
    background-color: transparent;
    padding: 50px 0 50px 0;
    width: 100%;
    position: relative;
    min-height: auto;
}

.message-title {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 120px;
    font-weight: 700;
    color: #000000;
    letter-spacing: 0px;
    line-height: 1.0;
    z-index: 10;
    pointer-events: none;
    text-align: center;
}

.message-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    min-height: auto;
    margin: 0 auto;
    margin-top: 600px;
    padding: 0;
    box-sizing: border-box;
    background-color: #d3d3d3;
    border: 3px solid #d3d3d3;
    position: relative;
    z-index: 1;
}

.message-image {
    flex: 0 0 50%;
    background-color: #d3d3d3;
    margin: 0;
    min-height: 500px;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-image img {
    width: 95%;
    height: 95%;
    object-fit: contain;
    display: block;
}

.message-content {
    flex: 0 0 50%;
    background-color: #d3d3d3;
    padding: 60px 60px 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.message-text {
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    line-height: 1.8;
    margin-bottom: 0;
}

.message-signature {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin-top: 20px;
    text-align: right;
}

/* MESSAGEセクション レスポンシブ対応 */
@media (max-width: 1024px) {
    .message-section {
        background-color: #ffffff;
        padding: 40px 0 40px 0;
    }

    .message-title {
        font-size: 80px;
        top: 40px;
        line-height: 1.0;
    }
    
    .message-container {
        margin-top: 400px;
    }

    .message-container {
        max-width: calc(100% - 60px);
        flex-direction: column;
        min-height: auto;
        margin: 0 auto;
    }

    .message-image {
        flex: 0 0 50vh;
        min-height: 50vh;
    }

    .message-content {
        flex: 0 0 auto;
        padding: 50px 40px 40px 40px;
        justify-content: center;
    }

    .message-text {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .message-signature {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .message-section {
        background-color: #ffffff;
        padding: 30px 0 30px 0;
    }

    .message-title {
        font-size: 60px;
        top: 30px;
        line-height: 1.0;
    }
    
    .message-container {
        margin-top: 320px;
    }

    .message-container {
        max-width: calc(100% - 40px);
        margin: 0 auto;
    }

    .message-image {
        flex: 0 0 40vh;
        min-height: 40vh;
    }

    .message-content {
        padding: 40px 30px 30px 30px;
        justify-content: center;
    }

    .message-text {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .message-signature {
        font-size: 13px;
    }
}

/* RECRUITセクション */
.recruit-section {
    background-color: transparent;
    padding: 80px 50px 50px 50px;
    width: 100%;
    position: relative;
    min-height: auto;
}

.recruit-title {
    font-size: 120px;
    font-weight: 700;
    color: #000000;
    letter-spacing: 0px;
    text-align: left;
    margin-top: 30px;
    margin-bottom: 20px;
}

.recruit-content-wrapper {
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.recruit-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px;
    line-height: 1.6;
    position: relative;
    display: inline-block;
}

.recruit-subtitle-text {
    position: relative;
    z-index: 2;
}

.recruit-subtitle::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 12px;
    background-color: rgba(255, 255, 200, 0.5);
    transition: width 1s ease-out;
    z-index: 1;
}

.recruit-subtitle.animate-underline::after {
    width: 100%;
}

.recruit-subtitle:not(.animate-underline)::after {
    width: 0;
}

.recruit-description {
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    line-height: 1.8;
    margin-bottom: 0;
}

.recruit-blocks {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 0;
}

.recruit-block {
    flex: 1;
    background-color: #d3d3d3;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 3px solid #ffffff;
    box-sizing: border-box;
    position: relative;
}

.recruit-block:last-child {
    border-right: none;
}

.recruit-block-text {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.recruit-block-logo {
    background-color: #d3d3d3;
}

.recruit-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.recruit-logo-image {
    max-width: 60px;
    width: auto;
    height: auto;
    display: block;
}

/* RECRUITセクション レスポンシブ対応 */
@media (max-width: 1024px) {
    .recruit-section {
        padding: 40px 40px 40px 40px;
    }

    .recruit-title {
        font-size: 80px;
        margin-bottom: 15px;
    }

    .recruit-content-wrapper {
        margin-bottom: 30px;
    }

    .recruit-subtitle {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .recruit-description {
        font-size: 14px;
    }

    .recruit-blocks {
        flex-direction: column;
    }

    .recruit-block {
        min-height: 300px;
        border-right: none;
        border-bottom: 3px solid #ffffff;
    }

    .recruit-block:last-child {
        border-bottom: none;
    }

    .recruit-block-text {
        font-size: 20px;
    }

    .recruit-logo-image {
        max-width: 50px;
    }
}

@media (max-width: 768px) {
    .recruit-section {
        padding: 30px 30px 30px 30px;
    }

    .recruit-title {
        font-size: 60px;
        margin-bottom: 12px;
    }

    .recruit-content-wrapper {
        margin-bottom: 25px;
    }

    .recruit-subtitle {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .recruit-description {
        font-size: 13px;
    }

    .recruit-block {
        min-height: 250px;
    }

    .recruit-block-text {
        font-size: 18px;
    }

    .recruit-logo-image {
        max-width: 40px;
    }
}

/* CONTACTセクション */
.contact-section {
    background-color: transparent;
    padding: 80px 50px 80px 50px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.contact-circle {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(250, 230, 255, 0.6) 0%, rgba(220, 180, 250, 0.8) 30%, rgba(180, 140, 220, 0.9) 60%, rgba(120, 80, 160, 1) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.contact-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 240, 255, 0.7) 0%, rgba(240, 200, 255, 0.8) 25%, rgba(200, 160, 240, 0.9) 50%, rgba(160, 120, 200, 1) 75%, rgba(100, 60, 140, 1) 100%);
    border-radius: 50%;
    animation: gradientRotate 10s linear infinite;
    z-index: -1;
}

@keyframes gradientRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.contact-title {
    font-size: 80px;
    font-weight: 700;
    color: #000000;
    letter-spacing: -3px;
    margin-bottom: 30px;
    text-align: center;
}

.contact-text {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-text-red {
    color: #ff0000;
    font-weight: 700;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-text-black {
    color: #000000;
    font-weight: 700;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #000000;
    color: #ffffff;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    width: 170px;
    border-radius: 8px;
}

.contact-button:hover {
    background-color: #333333;
}

.contact-button-text {
    color: #ffffff;
}

.contact-button-arrow {
    color: #ffffff;
    font-size: 18px;
}

/* CONTACTセクション レスポンシブ対応 */
@media (max-width: 1024px) {
    .contact-section {
        padding: 40px 40px 60px 40px;
        min-height: 500px;
    }

    .contact-circle {
        width: 400px;
        height: 400px;
        padding: 50px;
    }

    .contact-title {
        font-size: 60px;
        letter-spacing: -2px;
        margin-bottom: 25px;
    }

    .contact-text {
        font-size: 16px;
        margin-bottom: 35px;
    }

    .contact-button {
        width: 150px;
        padding: 12px 25px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 30px 30px 50px 30px;
        min-height: 400px;
    }

    .contact-circle {
        width: 300px;
        height: 300px;
        padding: 40px;
    }

    .contact-title {
        font-size: 40px;
        letter-spacing: -1.5px;
        margin-bottom: 20px;
    }

    .contact-text {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .contact-button {
        width: 140px;
        padding: 10px 20px;
        font-size: 12px;
    }

    .contact-button-arrow {
        font-size: 16px;
    }
}

/* フッター */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 60px 50px 30px 50px;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-left {
    display: flex;
    gap: 80px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 16px;
    font-weight: 700;
    color: #b0b0b0;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer-menu li a:hover {
    opacity: 0.7;
}

.footer-right {
    display: flex;
    align-items: flex-start;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact p {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright {
    flex: 1;
}

.footer-copyright p {
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    margin: 0;
}

.footer-back-to-top {
    display: flex;
    align-items: center;
}

.footer-back-to-top a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer-back-to-top a:hover {
    opacity: 0.7;
}

/* フッター レスポンシブ対応 */
@media (max-width: 1024px) {
    .footer {
        padding: 50px 40px 25px 40px;
    }

    .footer-container {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 30px;
    }

    .footer-left {
        gap: 60px;
    }

    .footer-right {
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        padding-top: 25px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 30px 20px 30px;
    }

    .footer-left {
        flex-direction: column;
        gap: 40px;
    }

    .footer-heading {
        font-size: 14px;
        color: #b0b0b0;
        margin-bottom: 15px;
    }

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

    .footer-menu li a {
        font-size: 13px;
    }

    .footer-contact p {
        font-size: 13px;
    }

    .footer-copyright p {
        font-size: 11px;
    }

    .footer-back-to-top a {
        font-size: 13px;
    }
}

/* 会社概要ページ */
.company-about-section {
    background-color: transparent;
    min-height: auto;
    padding: 240px 50px 70px 50px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* index.html用：ヘッダーと企業理念セクションの間隔を短く */
.index-page .company-about-section {
    padding: 180px 50px 180px 50px;
    background-color: #ffffff;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='0' y2='20' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='20' y2='0' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E") !important;
    background-size: 20px 20px !important;
    background-repeat: repeat !important;
    background-position: 0 0 !important;
    background-attachment: fixed !important;
    margin-top: 100vh;
    opacity: 1 !important;
}

/* index.html用：企業理念セクション以降のセクションをヘッダーの上に重ねる */
.index-page .company-overview-section,
.index-page .service-section-wrapper,
.index-page .message-section,
.index-page .recruit-section,
.index-page .contact-section,
.index-page .footer {
    position: relative;
    z-index: 2;
}

/* index.html用：方眼紙の背景を設定（最初から表示） */
.index-page .company-overview-section {
    background-color: #ffffff !important;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='0' y2='20' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='20' y2='0' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E") !important;
    background-size: 20px 20px !important;
    background-repeat: repeat !important;
    background-position: 0 0 !important;
    background-attachment: fixed !important;
    position: relative;
    opacity: 1 !important;
}

/* index.html用：COMPANYとSERVICEの間の空白を設定 */
.index-page .company-overview-section {
    padding-bottom: 100px !important;
}

.index-page .service-section-wrapper {
    margin-top: 0 !important;
}

.index-page .message-section,
.company-page .message-section {
    background-color: #ffffff !important;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='0' y2='20' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='20' y2='0' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E") !important;
    background-size: 20px 20px !important;
    background-repeat: repeat !important;
    background-position: 0 0 !important;
    background-attachment: fixed !important;
    position: relative;
    opacity: 1 !important;
    padding: 50px 0 50px 0 !important;
    width: 100% !important;
}

.index-page .recruit-section {
    background-color: #ffffff !important;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='0' y2='20' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='20' y2='0' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E") !important;
    background-size: 20px 20px !important;
    background-repeat: repeat !important;
    background-position: 0 0 !important;
    background-attachment: fixed !important;
    position: relative;
    opacity: 1 !important;
}

.index-page .contact-section {
    background-color: #ffffff !important;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='0' y2='20' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='20' y2='0' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E") !important;
    background-size: 20px 20px !important;
    background-repeat: repeat !important;
    background-position: 0 0 !important;
    background-attachment: fixed !important;
    position: relative;
    opacity: 1 !important;
}

/* index.html用：SERVICEとMESSAGEの間のスペーサーに方眼紙の背景を設定 */
.index-page .service-message-spacer {
    width: 100%;
    height: 150px;
    background-color: #ffffff;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='0' y2='20' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='20' y2='0' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    background-repeat: repeat;
    background-position: 0 0;
    background-attachment: fixed;
    position: relative;
    z-index: 2;
    opacity: 1 !important;
}

/* index.html用：MESSAGEとSERVICEの間のスペーサー */
.index-page .message-service-spacer {
    width: 100%;
    height: 100px;
    background-color: #ffffff;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='0' y2='20' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='20' y2='0' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    background-repeat: repeat;
    background-position: 0 0;
    background-attachment: fixed;
    position: relative;
    z-index: 2;
    opacity: 1 !important;
}

/* index.html用：SERVICEセクションのmargin-bottomを調整 */
.index-page .service-section-wrapper {
    margin-bottom: 0 !important;
}


/* レスポンシブ対応：SERVICEとMESSAGEの間のスペーサー */
@media (max-width: 1024px) {
    .index-page .service-message-spacer {
        height: 100px;
    }
    
    .index-page .service-section-wrapper {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 768px) {
    .index-page .service-message-spacer {
        height: 80px;
    }
    
    .index-page .service-section-wrapper {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 480px) {
    .index-page .company-overview-section {
        padding-bottom: 60px !important;
    }
    
    .index-page .service-message-spacer {
        height: 60px;
    }
    
    .index-page .service-section-wrapper {
        margin-bottom: 0 !important;
    }
    
    .company-overview-title {
        font-size: 36px;
        top: 15px;
        letter-spacing: -2px;
    }
    
    .recruit-section-title {
        font-size: 36px;
        top: 15px;
        letter-spacing: -2px !important;
    }
}

/* index.html用：message-section-containerの背景に薄いグレーを設定 */
.index-page .message-section-container {
    background-color: #f5f5f5 !important;
}

.company-menu-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 30px;
}

.company-menu-toggle {
    background-color: rgba(200, 200, 200, 0.9);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    user-select: none;
    text-align: center;
}

.company-menu-toggle:hover {
    background-color: rgba(180, 180, 180, 0.9);
    border-radius: 6px;
}

.company-menu-toggle.active {
    background-color: rgba(150, 150, 150, 0.9);
}

.company-menu-list {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    list-style: none;
    padding: 20px 0;
    margin-top: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    display: none;
    flex-direction: column;
    gap: 0;
}

.company-menu-list.active {
    display: flex;
}

.company-menu-list li {
    width: 100%;
}

.company-menu-list li a {
    display: block;
    padding: 12px 30px;
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.company-menu-list li a:hover {
    background-color: rgba(200, 200, 200, 0.3);
    border-radius: 6px;
}

.company-menu-list li a.active {
    background-color: rgba(200, 200, 200, 0.2);
    border-radius: 6px;
}

.company-about-container {
    max-width: 1400px;
    width: 100%;
    display: flex;
    align-items: stretch;
    gap: 130px;
    padding: 40px 50px;
}

.company-about-left {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.company-about-logo {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: 230px;
    position: relative;
    height: 100%;
}

.company-about-logo img {
    max-width: 250px;
    width: auto;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6)) 
            drop-shadow(0 0 20px rgba(200, 200, 200, 0.4));
    transition: filter 0.3s ease;
    /* 初期状態：下に隠れている */
    opacity: 0;
    transform: translateY(80px);
}

/* ロゴが下から出現するアニメーション */
.company-about-left.visible .company-about-logo img {
    animation: logoSlideUp 2.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes logoSlideUp {
    0% {
        opacity: 0;
        transform: translateY(80px) scale(0.95);
    }
    40% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ロゴの光沢効果（シャインアニメーション） */
.company-about-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 60%,
        transparent 100%
    );
    transform: skewX(-25deg);
    animation: none;
    pointer-events: none;
}

/* ロゴ出現後にシャインアニメーションを開始 */
.company-about-left.visible .company-about-logo::after {
    animation: shine 4s ease-in-out 2.4s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        left: 150%;
        opacity: 1;
    }
    60% {
        opacity: 0;
    }
    100% {
        left: 150%;
        opacity: 0;
    }
}

.company-about-logo:hover img {
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8)) 
            drop-shadow(0 0 30px rgba(200, 200, 200, 0.6));
}

.company-about-name {
    font-size: 36px;
    font-weight: 700;
    color: #333333;
    letter-spacing: 2px;
}

.company-about-right {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    margin-left: -60px;
    overflow-x: hidden; /* 横方向のはみ出しを防ぐ */
}

.company-about-slogan {
    font-size: 36px;
    font-weight: 700;
    color: #333333;
    margin: 0;
    line-height: 1.4;
    position: relative;
    white-space: nowrap; /* 2行にならないようにする */
}

.company-about-text {
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    margin: 0;
    margin-top: -5px;
    line-height: 1.6;
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* アンダーラインアニメーション */
.underline-animate {
    position: relative;
    display: inline-block;
    --underline-width: 100%; /* デフォルト値、JavaScriptで上書き */
}

.underline-animate::after {
    content: '';
    position: absolute;
    bottom: 0; /* ベースラインに合わせる */
    left: 0;
    width: 0;
    height: 8px; /* より太めに */
    background-image: linear-gradient(to right, rgba(59, 130, 246, 0.35), rgba(139, 92, 246, 0.3), rgba(168, 85, 247, 0.3)); /* ブルーからパープルへのグラデーション（透かし） */
    transition: width 2.2s ease-out 0.3s; /* 親要素のアニメーション後に開始 */
    z-index: -1; /* 文字列の下に表示 */
    transform-origin: left center; /* 左端を基準に拡大 */
    transform: translateY(-6px); /* 上に移動して文字列により近く配置 */
}

/* 親要素がvisibleになったときにアンダーラインを表示 */
.fade-in-up.visible .underline-animate::after {
    width: var(--underline-width, 100%);
}

.company-about-description {
    font-size: 16px;
    font-weight: 700;
    color: #333333;
    margin: 0;
    margin-top: 10px;
    line-height: 1.8;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 会社情報リンク（会社概要・沿革・事業内容） */
.company-info-links {
    max-width: 1400px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 150px;
    margin-top: 60px;
    padding: 0 50px;
    box-sizing: border-box;
}

.company-info-link {
    flex: 0 0 auto;
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 20px;
    background-color: transparent;
    border: none;
    text-decoration: none;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.company-info-link:not(:last-child) {
    border-right: none;
}

.company-info-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333333;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 0;
}

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

.company-info-link-text,
.company-info-link-arrow {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.company-info-link:hover .company-info-link-text,
.company-info-link:hover .company-info-link-arrow {
    color: #ffffff;
}

.company-info-link-arrow {
    font-size: 18px;
    transition: transform 0.3s ease, color 0.3s ease;
}

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

/* 会社概要ページ レスポンシブ対応（中間サイズ） */
@media (max-width: 1200px) {
    .company-about-container {
        gap: 60px;
        padding: 40px 30px;
    }

    .company-about-logo {
        margin-left: 80px;
    }

    .company-about-logo img {
        max-width: 200px;
    }

    .company-about-right {
        margin-left: -20px;
    }

    .company-about-slogan {
        font-size: 28px;
    }

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

    .company-about-description {
        font-size: 14px;
    }
}

/* 会社概要ページ レスポンシブ対応（タブレット） */
@media (max-width: 1024px) {
    .company-about-container {
        flex-direction: column;
        gap: 60px;
        padding: 80px 30px;
    }

    .company-about-left {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .company-about-logo {
        margin-left: 0;
        justify-content: center;
    }

    .company-about-right {
        align-items: center;
        text-align: center;
        margin-left: 0;
        width: 100%;
        overflow-x: hidden; /* 横方向のはみ出しを防ぐ */
    }

    .company-about-slogan {
        font-size: 28px;
        white-space: nowrap; /* 2行にならないようにする */
    }

    .company-about-text {
        font-size: 20px;
        margin-top: -5px;
    }

    .company-about-description {
        font-size: 15px;
        text-align: center;
    }

    /* ABOUT USボタンの位置調整 */
    .company-about-right .company-overview-buttons {
        margin-right: 0;
        justify-content: center;
        align-self: center;
        width: auto;
    }

    /* 会社情報リンク（タブレット） */
    .company-info-links {
        margin-top: 40px;
        padding: 0 30px;
        gap: 40px;
    }

    .company-info-link {
        width: 160px;
        padding: 12px 15px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .company-about-section {
        padding: 150px 20px 40px 20px;
    }

    /* index.html用：レスポンシブ対応 */
    .index-page .company-about-section {
        padding: 80px 20px 60px 20px;
        background-image: 
            url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='0' y2='20' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E"),
            url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='20' y2='0' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E") !important;
        background-size: 20px 20px !important;
        background-repeat: repeat !important;
        background-position: 0 0 !important;
        background-attachment: fixed !important;
        opacity: 1 !important;
    }

    .company-about-container {
        padding: 30px 20px;
        gap: 40px;
    }

    .company-about-logo {
        margin-left: 0;
    }

    /* index.html、company.html用：スマートフォンサイズでロゴを非表示 */
    .index-page .company-about-left,
    .company-page .company-about-left {
        display: none;
    }

    .company-about-right {
        margin-left: 0;
        overflow-x: hidden; /* 横方向のはみ出しを防ぐ */
    }

    .company-about-logo img {
        max-width: 150px;
    }

    .company-about-name {
        font-size: 28px;
    }

    .company-about-slogan {
        font-size: clamp(14px, 5vw, 22px); /* スマホでも見切れないようレスポンシブに */
        white-space: nowrap; /* 2行にならないようにする */
    }

    .company-about-text {
        font-size: clamp(14px, 5vw, 22px); /* スローガンと同じレスポンシブサイズ */
        margin-top: -5px;
    }

    .company-about-description {
        font-size: 14px;
    }

    /* ABOUT USボタンの位置調整（スマートフォン） */
    .company-about-right .company-overview-buttons {
        margin-right: 0;
        justify-content: center;
        align-self: center;
        margin-top: 20px;
    }

    /* 会社情報リンク（スマートフォン） */
    .company-info-links {
        margin-top: 30px;
        padding: 0 10px;
        gap: 20px;
    }

    .company-info-link {
        width: auto;
        flex: 1;
        padding: 10px 8px;
        font-size: 11px;
        gap: 4px;
    }

    .company-info-link-arrow {
        font-size: 12px;
    }

    /* スマートフォンサイズでのアンダーライン位置調整 */
    .underline-animate::after {
        bottom: 0; /* ベースラインに合わせる */
        transform: translateY(-5px); /* 上に移動して文字列により近く配置 */
        height: clamp(4px, 1.5vw, 6px); /* フォントサイズに合わせてレスポンシブに */
    }
}

/* SERVICEページの最初のセクション */
.service-hero-section {
    background-color: #ffffff;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='0' y2='20' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='20' y2='0' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    padding: 200px 50px 280px 50px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.service-hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 250px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 10%, rgba(255, 255, 255, 0.1) 20%, rgba(0, 22, 44, 0.1) 35%, rgba(0, 22, 44, 0.25) 50%, rgba(0, 22, 44, 0.45) 65%, rgba(0, 22, 44, 0.7) 80%, rgba(0, 22, 44, 0.9) 92%, rgba(0, 22, 44, 1) 100%);
    pointer-events: none;
    z-index: 1;
}

.service-hero-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 60px;
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
    margin-left: auto;
    margin-right: auto;
}

.service-hero-content {
    flex: 1;
    text-align: left;
    max-width: 600px;
    margin-left: 0;
}

.service-hero-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
    width: 350px;
    height: 350px;
    flex-shrink: 0;
    margin-left: 0;
}

.service-hero-image-item {
    width: 100%;
    height: 100%;
    background-color: #003366;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.service-hero-image-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-hero-image-text {
    color: transparent;
    background-image: linear-gradient(90deg, #FFFFFF 0%, #D5D5D5 50%, #FFFFFF 100%);
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
    letter-spacing: -0.02em;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.service-hero-images {
    position: relative;
    flex-shrink: 0;
    width: 400px;
    height: 450px;
    margin-left: -200px;
}

.service-hero-image-large {
    position: absolute;
    top: 0;
    left: -120px;
    width: 350px;
    height: 450px;
    background-color: #999999;
    border-radius: 20px;
    z-index: 1;
}

.service-hero-image-small {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 250px;
    height: 300px;
    background-color: #CCCCCC;
    border-radius: 20px;
    z-index: 2;
}

.service-hero-title {
    font-size: 120px;
    font-weight: 700;
    color: #000000;
    letter-spacing: -6px;
    margin: 0 0 0px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    text-transform: uppercase;
}

.service-hero-subtitle {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 40px 0;
    margin-top: -15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.service-hero-description {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    line-height: 1.8;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.service-hero-description p {
    margin: 0 0 8px 0;
    padding: 0;
    position: relative;
    display: block;
}

@media (max-width: 1024px) {
    .service-hero-section {
        padding: 160px 40px 150px 40px;
    }

    .service-hero-container {
        flex-direction: column;
        gap: 40px;
        align-items: center;
        justify-content: center;
    }

    .service-hero-content {
        text-align: center;
        margin-left: 0;
        max-width: 100%;
    }

    .service-hero-image-grid {
        width: 100%;
        max-width: 350px;
        height: 350px;
        gap: 10px;
        margin-left: auto;
        margin-right: auto;
    }

    .service-hero-images {
        width: 100%;
        max-width: 400px;
        height: 450px;
    }

    .service-hero-image-large {
        width: 300px;
        height: 400px;
    }

    .service-hero-image-small {
        width: 220px;
        height: 280px;
    }

    .service-hero-title {
        font-size: 80px;
        margin-bottom: 0px;
    }

    .service-hero-subtitle {
        font-size: 14px;
        margin-bottom: 35px;
        margin-top: -10px;
    }

    .service-hero-description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .service-hero-section {
        padding: 120px 20px 130px 20px;
    }

    .service-hero-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        justify-content: center;
    }

    .service-hero-content {
        text-align: center;
        margin-left: 0;
        max-width: 100%;
    }

    .service-hero-image-grid {
        width: 100%;
        max-width: 350px;
        height: 350px;
        gap: 8px;
        margin-left: auto;
        margin-right: auto;
    }

    .service-hero-image-text {
        font-size: 22px;
        letter-spacing: -0.02em;
    }

    .service-hero-images {
        width: 100%;
        max-width: 350px;
        height: 400px;
    }

    .service-hero-image-large {
        width: 250px;
        height: 350px;
    }

    .service-hero-image-small {
        width: 180px;
        height: 240px;
    }

    .service-hero-title {
        font-size: 60px;
        margin-bottom: 0px;
    }

    .service-hero-subtitle {
        font-size: 14px;
        margin-bottom: 28px;
        margin-top: -8px;
    }

    .service-hero-description {
        font-size: 15px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .service-hero-image-grid {
        width: 100%;
        max-width: 240px;
        height: 240px;
        gap: 5px;
        margin-left: auto;
        margin-right: auto;
    }

    .service-hero-image-text {
        font-size: 15px;
        letter-spacing: -0.02em;
    }
}

/* キャリア支援事業部セクション */
.service-career-section {
    background-color: #00162c;
    background-image: 
        linear-gradient(to bottom, rgba(0, 22, 44, 1) 0%, rgba(0, 22, 44, 0.85) 30%, rgba(0, 22, 44, 0.85) 100%),
        url("../img/business_haikei.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 100px 50px;
    position: relative;
}


.service-career-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    position: relative;
    z-index: 2;
    align-items: flex-start;
}

.service-career-content {
    flex: 1;
    padding-right: 40px;
}

.service-career-label {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.service-career-heading {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 25px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.2;
}

.service-career-text {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 2;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.service-career-image {
    flex: 1;
    background-color: #CCCCCC;
    width: 100%;
    height: auto;
    display: flex;
    align-items: flex-start;
}

.service-career-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* キャリア支援事業部用カルーセル */
.service-career-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.service-career-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.service-career-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.service-career-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.service-career-carousel-slide-active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.service-career-carousel-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.service-career-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 28px;
    color: #333333;
    font-weight: 300;
    line-height: 1;
    box-shadow: none;
}

.service-career-carousel-btn:hover {
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.service-career-carousel-btn-prev {
    left: 15px;
}

.service-career-carousel-btn-next {
    right: 15px;
}

.service-career-carousel-btn span {
    display: block;
    line-height: 1;
}

@media (max-width: 1024px) {
    .service-career-section {
        padding: 80px 40px;
    }

    .service-career-container {
        gap: 40px;
    }

    .service-career-heading {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .service-career-text {
        font-size: 15px;
        line-height: 1.8;
    }

    .service-career-image {
        height: auto;
    }

    .service-career-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .service-career-carousel-btn-prev {
        left: 10px;
    }

    .service-career-carousel-btn-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .service-career-section {
        padding: 60px 20px;
    }

    .service-career-container {
        flex-direction: column;
        gap: 30px;
    }

    .service-career-content {
        padding-right: 0;
    }

    .service-career-heading {
        font-size: 28px;
        margin-bottom: 18px;
    }

    .service-career-text {
        font-size: 14px;
        line-height: 1.8;
    }

    .service-career-image {
        height: auto;
    }

    .service-career-carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .service-career-carousel-btn-prev {
        left: 5px;
    }

    .service-career-carousel-btn-next {
        right: 5px;
    }
}

/* 営業支援事業部セクション */
.service-sales-section {
    background-color: #00162c;
    background-image: 
        linear-gradient(to bottom, rgba(0, 22, 44, 1) 0%, rgba(0, 22, 44, 0.85) 30%, rgba(0, 22, 44, 0.85) 100%),
        url("../img/business_haikei.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 100px 50px;
    position: relative;
}


.service-sales-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    position: relative;
    z-index: 2;
    align-items: flex-start;
}

.service-sales-content {
    flex: 1;
    padding-left: 40px;
}

.service-sales-label {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.service-sales-heading {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 40px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.2;
}

.service-sales-text {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 2;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.service-sales-image {
    flex: 1;
    background-color: #CCCCCC;
    width: 100%;
    height: auto;
    display: flex;
    align-items: flex-start;
}

.service-sales-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1024px) {
    .service-sales-section {
        padding: 80px 40px;
    }

    .service-sales-container {
        gap: 40px;
    }

    .service-sales-heading {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .service-sales-text {
        font-size: 15px;
        line-height: 1.8;
    }

    .service-sales-image {
        height: auto;
    }
}

@media (max-width: 768px) {
    .service-sales-section {
        padding: 60px 20px;
    }

    .service-sales-container {
        flex-direction: column;
        gap: 30px;
    }

    .service-sales-content {
        padding-left: 0;
        order: 1;
    }

    .service-sales-heading {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .service-sales-text {
        font-size: 14px;
        line-height: 1.8;
    }

    .service-sales-image {
        height: auto;
        order: 2;
    }
}

/* SNS・福利厚生サービスセクション */
.service-marketing-section {
    background-color: #00162c;
    background-image: 
        linear-gradient(to bottom, rgba(0, 22, 44, 1) 0%, rgba(0, 22, 44, 0.85) 30%, rgba(0, 22, 44, 0.85) 100%),
        url("../img/business_haikei.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 100px 50px;
    position: relative;
}


.service-marketing-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    position: relative;
    z-index: 2;
    align-items: flex-start;
}

.service-marketing-content {
    flex: 1;
    padding-right: 40px;
}

.service-marketing-label {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.service-marketing-heading {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 40px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.2;
}

.service-marketing-text {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 2;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.service-marketing-image {
    flex: 1;
    background-color: #CCCCCC;
    width: 100%;
    height: auto;
    display: flex;
    align-items: flex-start;
}

.service-marketing-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1024px) {
    .service-marketing-section {
        padding: 80px 40px;
    }

    .service-marketing-container {
        gap: 40px;
    }

    .service-marketing-heading {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .service-marketing-text {
        font-size: 15px;
        line-height: 1.8;
    }

    .service-marketing-image {
        height: auto;
    }
}

@media (max-width: 768px) {
    .service-marketing-section {
        padding: 60px 20px;
    }

    .service-marketing-container {
        flex-direction: column;
        gap: 30px;
    }

    .service-marketing-content {
        padding-right: 0;
    }

    .service-marketing-heading {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .service-marketing-text {
        font-size: 14px;
        line-height: 1.8;
    }

    .service-marketing-image {
        height: auto;
    }
}

/* アウトソーシングセクション */
.service-outsourcing-section {
    background-color: #00162c;
    background-image: 
        linear-gradient(to bottom, rgba(0, 22, 44, 1) 0%, rgba(0, 22, 44, 0.85) 30%, rgba(0, 22, 44, 0.85) 100%),
        url("../img/business_haikei.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 100px 50px;
    position: relative;
}

.service-outsourcing-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    position: relative;
    z-index: 2;
    align-items: flex-start;
}

.service-outsourcing-content {
    flex: 1;
    padding-left: 40px;
}

.service-outsourcing-label {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.service-outsourcing-heading {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 40px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.2;
}

.service-outsourcing-text {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 2;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.service-outsourcing-image {
    flex: 1;
    background-color: #CCCCCC;
    width: 100%;
    height: auto;
    display: flex;
    align-items: flex-start;
}

.service-outsourcing-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1024px) {
    .service-outsourcing-section {
        padding: 80px 40px;
    }

    .service-outsourcing-container {
        gap: 40px;
    }

    .service-outsourcing-heading {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .service-outsourcing-text {
        font-size: 15px;
        line-height: 1.8;
    }

    .service-outsourcing-image {
        height: auto;
    }
}

@media (max-width: 768px) {
    .service-outsourcing-section {
        padding: 60px 20px;
    }

    .service-outsourcing-container {
        flex-direction: column;
        gap: 30px;
    }

    .service-outsourcing-content {
        padding-left: 0;
        order: 1;
    }

    .service-outsourcing-heading {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .service-outsourcing-text {
        font-size: 14px;
        line-height: 1.8;
    }

    .service-outsourcing-image {
        height: auto;
        order: 2;
    }
}

/* CLIENT PARTNERセクション */
.client-partner-section {
    background-color: #ffffff;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='0' y2='20' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='20' y2='0' stroke='%23D0D0D0' stroke-width='0.5' stroke-dasharray='2,2'/%3E%3C/svg%3E");
    background-size: 20px 20px;
    padding: 100px 50px;
    position: relative;
}

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

.client-partner-header {
    margin-bottom: 60px;
}

.client-partner-title {
    font-size: 80px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 0 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1;
    letter-spacing: -3px;
}

.client-partner-subtitle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.client-partner-square {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #000000;
    flex-shrink: 0;
}

.client-partner-text {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.client-partner-logos {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.client-partner-logo-item {
    flex: 0 0 auto;
    width: 200px;
    max-width: 200px;
}

.client-partner-logo-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #CCCCCC;
    border-radius: 4px;
}

.client-partner-logo-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    max-width: 100%;
}

@media (max-width: 1024px) {
    .client-partner-section {
        padding: 80px 40px;
    }

    .client-partner-title {
        font-size: 60px;
    }

    .client-partner-text {
        font-size: 18px;
    }

    .client-partner-logos {
        gap: 30px;
    }

    .client-partner-logo-item {
        width: 150px;
        max-width: 150px;
    }
}

@media (max-width: 768px) {
    .client-partner-section {
        padding: 60px 20px;
    }

    .client-partner-header {
        margin-bottom: 40px;
    }

    .client-partner-title {
        font-size: 40px;
        margin-bottom: 0;
    }

    .client-partner-subtitle {
        gap: 8px;
    }

    .client-partner-square {
        width: 10px;
        height: 10px;
    }

    .client-partner-text {
        font-size: 16px;
    }

    .client-partner-logos {
        flex-direction: row;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .client-partner-logo-item {
        max-width: none;
        width: calc(33.333% - 7px);
        margin: 0;
        flex: 1;
    }

    .client-partner-logo-image {
        max-width: 100%;
        height: auto;
    }
}

/* クライアントパートナーモーダル */
.client-partner-clickable {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.client-partner-clickable:hover {
    opacity: 0.7;
}

.client-partner-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.client-partner-modal.active {
    display: flex;
}

.client-partner-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.client-partner-modal-content {
    position: relative;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.client-partner-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    color: #666;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.client-partner-modal-close:hover {
    color: #000;
}

.client-partner-modal-body {
    margin-top: 10px;
}

.client-partner-modal-body h3 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 0 0 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.client-partner-modal-body p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0 0 15px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.client-partner-modal-body p:last-child {
    margin-bottom: 0;
}

.client-partner-modal-body a {
    color: #0066cc;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.client-partner-modal-body a:hover {
    color: #004499;
}

@media (max-width: 768px) {
    .client-partner-modal-content {
        padding: 30px 20px;
        max-width: 90%;
    }

    .client-partner-modal-close {
        top: 10px;
        right: 10px;
        font-size: 28px;
        width: 28px;
        height: 28px;
    }

    .client-partner-modal-body h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .client-partner-modal-body p {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* サービスの特徴セクション（画像カルーセル） */
.service-about-container {
    max-width: 1400px;
    margin: 60px auto 0 auto;
    padding: 0 50px;
}

.service-about-header {
    margin-bottom: 60px;
}

.service-about-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.2;
}

.service-about-subtitle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-about-square {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    flex-shrink: 0;
}

.service-about-text {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.service-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.service-carousel-container {
    position: relative;
    width: 100%;
    padding: 0 80px;
}

.service-carousel-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
    height: 600px;
    width: 100%;
}

.service-carousel-slide {
    position: absolute;
    width: 75%;
    max-width: 1100px;
    transition: all 0.5s ease;
    opacity: 0.5;
    z-index: 1;
}

.service-carousel-slide-active {
    width: 85%;
    max-width: 1200px;
    opacity: 1;
    z-index: 3;
    left: 50%;
    transform: translateX(-50%);
}

.service-carousel-slide-prev {
    left: 0;
    transform: translateX(0) scale(0.85);
    z-index: 2;
    opacity: 0.6;
}

.service-carousel-slide-next {
    right: 0;
    left: auto;
    transform: translateX(0) scale(0.85);
    z-index: 2;
    opacity: 0.6;
}

.service-carousel-image-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #CCCCCC;
    border-radius: 4px;
}

.service-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(200, 200, 200, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.3s ease;
    font-size: 30px;
    color: #ffffff;
    font-weight: 300;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.service-carousel-btn:hover {
    background-color: rgba(180, 180, 180, 0.9);
}

.service-carousel-btn-prev {
    left: calc(10% - 30px);
}

.service-carousel-btn-next {
    right: calc(10% - 30px);
}

.service-carousel-btn span {
    display: block;
    line-height: 1;
}

@media (max-width: 1024px) {
    .service-about-container {
        margin-top: 50px;
        padding: 0 40px;
    }

    .service-about-title {
        font-size: 36px;
    }

    .service-about-text {
        font-size: 16px;
    }

    .service-carousel-container {
        padding: 0 70px;
    }

    .service-carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .service-carousel-track {
        height: 500px;
    }

    .service-carousel-slide {
        width: 70%;
        max-width: 950px;
    }

    .service-carousel-slide-active {
        width: 80%;
        max-width: 1050px;
    }

    .service-carousel-btn-prev {
        left: calc(8% - 25px);
    }

    .service-carousel-btn-next {
        right: calc(8% - 25px);
    }
}

@media (max-width: 768px) {
    .service-about-container {
        margin-top: 40px;
        padding: 0 20px;
    }

    .service-about-title {
        font-size: 28px;
        margin-bottom: 0;
    }

    .service-about-subtitle {
        gap: 8px;
    }

    .service-about-square {
        width: 10px;
        height: 10px;
    }

    .service-about-text {
        font-size: 14px;
    }

    .service-about-header {
        margin-bottom: 40px;
    }

    .service-carousel-container {
        padding: 0 50px;
    }

    .service-carousel-track {
        gap: 20px;
    }

    .service-carousel-slide-prev,
    .service-carousel-slide-next {
        flex: 0 0 20%;
    }

    .service-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .service-carousel-track {
        height: 380px;
    }

    .service-carousel-slide {
        width: 65%;
        max-width: 650px;
    }

    .service-carousel-slide-active {
        width: 75%;
        max-width: 750px;
    }

    .service-carousel-btn-prev {
        left: calc(5% - 20px);
    }

    .service-carousel-btn-next {
        right: calc(5% - 20px);
    }
}

/* 会社写真セクション */
.company-photos-section {
    position: relative;
    background-color: transparent;
    min-height: 100vh;
    overflow: hidden;
    padding: 0;
    margin-bottom: -120px;
}

.company-photos-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #333333;
    z-index: 10;
}

/* スクロールテキスト */
.company-photos-scroll-text {
    position: relative;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    z-index: 5;
}

.company-photos-scroll-text-top {
    margin-top: 0px;
    margin-bottom: -120px;
    position: relative;
    z-index: 6;
    transform: translateY(20px);
    width: 100%;
}

.company-photos-scroll-text-bottom {
    margin-top: -120px;
    margin-bottom: 60px;
    position: relative;
    z-index: 6;
    transform: translateY(-100px);
}

.scroll-text-content {
    display: inline-flex;
    gap: 0;
    white-space: nowrap;
    will-change: transform;
}

.scroll-text-content span {
    font-size: 120px;
    font-weight: 700;
    color: rgba(150, 150, 150, 0.3);
    letter-spacing: -2px;
    text-transform: none;
    display: inline-block;
    padding: 0 40px;
    flex-shrink: 0;
}

.scroll-text-left {
    animation: scroll-left 40s linear infinite;
}

.scroll-text-right {
    animation: scroll-right 40s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* 3つの写真ブロック */
.company-photos-container {
    display: flex;
    width: 100%;
    min-height: 60vh;
    gap: 2px;
    padding: 0;
    position: relative;
    z-index: 5;
    margin-top: 0;
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: hidden;
}

.company-photos-container::after {
    content: '';
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100% - 220px);
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 2;
    pointer-events: none;
}

.company-photo-video {
    position: absolute;
    top: 80px;
    left: -100%;
    width: 300%;
    height: calc(100% - 220px);
    object-fit: cover;
    object-position: center center;
    z-index: 1;
    pointer-events: none;
}

/* 小画面時の動画の高さを小さくする */
@media (max-width: 1024px) {
    .company-photo-video {
        height: 40vh;
        top: 50px;
    }
    
    .company-photos-container::after {
        top: 50px;
        height: 40vh;
    }
    
    .company-photos-container {
        padding-top: 50px !important;
        padding-bottom: 0 !important;
        min-height: 0 !important;
        height: calc(40vh + 50px) !important;
    }
    
    .company-photo-block {
        min-height: 0 !important;
        height: 0 !important;
        display: none !important;
    }
    
    .company-photos-scroll-text-top {
        margin-top: -35px !important;
        margin-bottom: 0 !important;
        top: 0px !important;
        position: absolute !important;
        z-index: 6 !important;
        width: 100% !important;
        left: 0 !important;
    }
    
    .company-photos-scroll-text-bottom {
        margin-bottom: -100px !important;
        margin-top: -50px !important;
        position: relative !important;
        z-index: 6 !important;
        transform: translateY(-70px) !important;
    }
    
    .company-photos-section {
        min-height: auto !important;
        height: auto !important;
        margin-bottom: 60px !important;
    }
}

@media (max-width: 768px) {
    .company-photo-video {
        height: 35vh;
        top: 40px;
    }
    
    .company-photos-container::after {
        top: 40px;
        height: 35vh;
    }
    
    .company-photos-container {
        padding-top: 40px !important;
        padding-bottom: 0 !important;
        min-height: 0 !important;
        height: calc(35vh + 40px) !important;
    }
    
    .company-photo-block {
        min-height: 0 !important;
        height: 0 !important;
        display: none !important;
    }
    
    .company-photos-scroll-text-top {
        margin-top: -50px !important;
        margin-bottom: 0 !important;
        top: -50px !important;
        position: absolute !important;
        z-index: 6 !important;
        transform: translateY(0) !important;
        width: 100% !important;
        left: 0 !important;
    }
    
    .company-photos-scroll-text-bottom {
        margin-bottom: -80px !important;
        margin-top: -40px !important;
        position: relative !important;
        z-index: 6 !important;
        transform: translateY(-60px) !important;
    }
    
    .company-photos-section {
        min-height: auto !important;
        height: auto !important;
        margin-bottom: 50px !important;
    }
}

@media (max-width: 480px) {
    .company-photo-video {
        height: 30vh;
        top: 30px;
    }
    
    .company-photos-container::after {
        top: 30px;
        height: 30vh;
    }
    
    .company-photos-container {
        padding-top: 30px !important;
        padding-bottom: 0 !important;
        min-height: 0 !important;
        height: calc(30vh + 30px) !important;
    }
    
    .company-photo-block {
        min-height: 0 !important;
        height: 0 !important;
        display: none !important;
    }
    
    .company-photos-scroll-text-top {
        margin-top: -20px !important;
        margin-bottom: 0 !important;
        top: 0px !important;
        position: absolute !important;
        z-index: 6 !important;
        width: 100% !important;
        left: 0 !important;
    }
    
    .company-photos-scroll-text-bottom {
        margin-bottom: -60px !important;
        margin-top: -30px !important;
        position: relative !important;
        z-index: 6 !important;
        transform: translateY(-50px) !important;
    }
    
    .company-photos-section {
        min-height: auto !important;
        height: auto !important;
        margin-bottom: 40px !important;
    }
}

.company-photo-block {
    flex: 1;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 450px;
    overflow: hidden;
    z-index: 2;
}

.company-photo-block:first-child {
    /* 左のブロック: 動画の左側を表示 */
}

.company-photo-block-middle {
    background-color: transparent;
    /* 中央のブロック: 動画の中央を表示 */
}

.company-photo-block-right {
    background-color: transparent;
    /* 右のブロック: 動画の右側を表示 */
}

.company-photo-label {
    font-size: 24px;
    font-weight: 500;
    color: #000000;
    text-align: center;
    margin: 0;
}

/* 会社写真セクション レスポンシブ対応 */
@media (max-width: 1024px) {
    .scroll-text-content span {
        font-size: 80px;
        letter-spacing: -2px;
        padding: 0 30px;
    }

    .company-photos-container::after {
        top: 50px;
        height: 40vh;
    }

    .company-photos-container {
        flex-direction: column;
        padding-top: 50px !important;
        padding-bottom: 0 !important;
        min-height: 0 !important;
        height: calc(40vh + 50px) !important;
    }

    .company-photo-block {
        min-height: 0 !important;
        height: 0 !important;
        display: none !important;
    }

    .company-photos-scroll-text-top {
        margin-top: -35px !important;
        margin-bottom: 0 !important;
        top: 0px !important;
        position: absolute !important;
        z-index: 6 !important;
        width: 100% !important;
        left: 0 !important;
    }

    .company-photos-scroll-text-bottom {
        margin-top: -50px !important;
        margin-bottom: -100px !important;
        position: relative !important;
        z-index: 6 !important;
        transform: translateY(-70px) !important;
    }
    
    .company-photos-section {
        min-height: auto !important;
        height: auto !important;
        margin-bottom: 60px !important;
    }
}

@media (max-width: 768px) {
    .scroll-text-content span {
        font-size: 60px;
        letter-spacing: -2px;
        padding: 0 20px;
    }

    .company-photos-container::after {
        top: 40px;
        height: 35vh;
    }

    .company-photo-block {
        min-height: 0 !important;
        height: 0 !important;
        display: none !important;
    }

    .company-photo-label {
        font-size: 18px;
    }

    .company-photos-scroll-text-top {
        margin-top: -25px !important;
        margin-bottom: 0 !important;
        top: 0px !important;
        position: absolute !important;
        z-index: 6 !important;
        width: 100% !important;
        left: 0 !important;
    }

    .company-photos-container {
        margin-top: 0;
        padding-top: 40px !important;
        padding-bottom: 0 !important;
        min-height: 0 !important;
        height: calc(35vh + 40px) !important;
    }
    
    .company-photo-block {
        min-height: 0 !important;
        height: 0 !important;
        display: none !important;
    }

    .company-photos-scroll-text-bottom {
        margin-top: -40px !important;
        margin-bottom: -80px !important;
        position: relative !important;
        z-index: 6 !important;
        transform: translateY(-60px) !important;
    }
    
    .company-photos-section {
        min-height: auto !important;
        height: auto !important;
        margin-bottom: 60px !important;
    }
}

/* MISSION & VALUEセクション */
.mission-value-section {
    background-color: #333333;
    padding: 100px 50px;
    color: #ffffff;
}

.mission-value-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* MISSIONセクション */
.mission-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

/* VALUEセクション */
.value-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.mission-value-heading {
    font-size: 80px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0 0 0 0;
    letter-spacing: 0px;
}

.mission-value-subheading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: -20px;
}

.subheading-square {
    font-size: 16px;
    color: #ffffff;
    font-weight: 700;
}

.subheading-text {
    font-size: 18px;
    color: #ffffff;
    font-weight: 500;
}

.mission-statements {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mission-statement {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    margin-left: 40px;
    line-height: 1.4;
}

.mission-description {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.8;
    margin: 0;
    margin-left: 40px;
    max-width: 800px;
}

.value-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.value-item {
    display: flex;
    align-items: baseline;
    gap: 60px;
    width: 100%;
    margin-left: 40px;
}

.value-english {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 380px;
    flex-shrink: 0;
}

.value-japanese {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.6;
    flex: 1;
}

/* MISSION & VALUEセクション レスポンシブ対応 */
@media (max-width: 1024px) {
    .mission-value-section {
        padding: 0px 40px 80px 40px !important;
        margin-top: 0px !important;
        padding-top: 60px !important;
    }

    .mission-value-container {
        gap: 50px;
    }

    .mission-value-heading {
        font-size: 60px;
    }

    .mission-statement {
        font-size: 24px;
        margin-left: 30px;
    }

    .mission-description {
        margin-left: 30px;
    }

    .value-item {
        gap: 40px;
        margin-left: 30px;
    }

    .value-english {
        font-size: 20px;
        width: 320px;
    }

    .value-japanese {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .mission-value-section {
        padding: 0px 30px 60px 30px !important;
        margin-top: 0px !important;
        padding-top: 50px !important;
    }

    .mission-value-container {
        gap: 40px;
    }

    .mission-value-heading {
        font-size: 48px;
    }

    .mission-statement {
        font-size: 20px;
        margin-left: 20px;
    }

    .mission-description {
        font-size: 14px;
        margin-left: 20px;
    }

    .value-item {
        flex-direction: column;
        gap: 15px;
        margin-left: 20px;
    }

    .value-english {
        font-size: 18px;
        min-width: auto;
    }

    .value-japanese {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .mission-value-section {
        padding: 0px 30px 60px 30px !important;
        margin-top: 0px !important;
        padding-top: 40px !important;
    }
}

/* 企業概要セクション */
.company-profile-section {
    background-color: transparent;
    padding: 100px 50px;
}

.company-profile-container {
    max-width: 1200px;
    margin: 0 auto;
}

.company-profile-heading {
    font-size: 90px;
    font-weight: 700;
    color: #333333;
    text-transform: uppercase;
    margin: 0 0 0 0;
    letter-spacing: 0px;
    text-align: left;
}

.company-profile-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.company-profile-subtitle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-top: -5px;
    margin-bottom: 0;
}

.subtitle-square {
    font-size: 16px;
    color: #333333;
    font-weight: 700;
}

.subtitle-text {
    font-size: 18px;
    color: #333333;
    font-weight: 500;
}

.company-profile-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-left: 350px;
}

.company-profile-item {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    position: relative;
    gap: 60px;
}

.company-profile-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70%;
    height: 1px;
    background-color: #cccccc;
}


.profile-label {
    font-size: 16px;
    color: #333333;
    font-weight: 400;
    min-width: 150px;
    flex-shrink: 0;
}

.profile-value {
    font-size: 16px;
    color: #333333;
    font-weight: 700;
    flex: 1;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 企業概要セクション レスポンシブ対応 */
@media (min-width: 1400px) {
    .company-profile-item::after {
        width: 65%;
    }
}

@media (max-width: 1024px) {
    .company-profile-section {
        padding: 80px 40px;
    }

    .company-profile-heading {
        font-size: 60px;
    }

    .company-profile-list {
        margin-left: 200px;
    }

    .company-profile-item {
        gap: 40px;
    }

    .company-profile-item::after {
        width: 75%;
    }

    .profile-label {
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .company-profile-section {
        padding: 60px 20px;
    }

    .company-profile-heading {
        font-size: 48px;
    }

    .company-profile-list {
        margin-left: 0;
        width: 100%;
    }

    .company-profile-item {
        flex-direction: column;
        gap: 10px;
        padding: 8px 0;
    }

    .company-profile-item::after {
        width: 100%;
    }

    .profile-label {
        min-width: auto;
        font-size: 15px;
    }

    .profile-value {
        font-size: 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

@media (max-width: 480px) {
    .company-profile-section {
        padding: 60px 15px;
    }

    .company-profile-heading {
        font-size: 36px;
    }

    .company-profile-list {
        margin-left: 0;
        width: 100%;
    }

    .profile-label {
        font-size: 14px;
    }

    .profile-value {
        font-size: 14px;
    }
}

/* ACCESSセクション */
.access-section {
    background-color: transparent;
    padding: 100px 50px;
}

.access-container {
    max-width: 1200px;
    margin: 0 auto;
}

.access-heading {
    font-size: 80px;
    font-weight: 700;
    color: #333333;
    text-transform: uppercase;
    margin: 0 0 0 0;
    letter-spacing: 0px;
    text-align: left;
}

.access-subtitle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-top: -5px;
    margin-bottom: 40px;
}

.access-square {
    font-size: 16px;
    color: #333333;
    font-weight: 700;
}

.access-text {
    font-size: 18px;
    color: #333333;
    font-weight: 500;
}

.access-map-wrapper {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.access-map {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

.access-info {
    text-align: center;
}

.access-address {
    font-size: 16px;
    color: #333333;
    font-weight: 700;
    line-height: 1.8;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* ACCESSセクション レスポンシブ対応 */
@media (max-width: 1024px) {
    .access-section {
        padding: 80px 40px;
    }

    .access-heading {
        font-size: 60px;
    }

    .access-map {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .access-section {
        padding: 60px 30px;
    }

    .access-heading {
        font-size: 48px;
    }

    .access-subtitle {
        margin-bottom: 30px;
    }

    .access-map {
        height: 350px;
    }

    .access-address {
        font-size: 14px;
    }
}

/* HISTORYセクション */
.history-section {
    background-color: transparent;
    padding: 100px 50px;
}

.history-container {
    max-width: 1200px;
    margin: 0 auto;
}

.history-heading {
    font-size: 80px;
    font-weight: 700;
    color: #333333;
    text-transform: uppercase;
    margin: 0 0 0 0;
    letter-spacing: 0px;
    text-align: left;
}

.history-subtitle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-top: -5px;
    margin-bottom: 40px;
}

.history-square {
    font-size: 16px;
    color: #333333;
    font-weight: 700;
}

.history-text {
    font-size: 18px;
    color: #333333;
    font-weight: 500;
}

.history-timeline {
    position: relative;
    padding-left: 40px;
    margin-left: 40px;
}

.timeline-line {
    position: absolute;
    left: 19px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #cccccc;
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 1s ease;
    animation: timelineLineGrow 1s ease forwards;
    animation-delay: 0.2s;
}

.timeline-line.visible {
    transform: scaleY(1);
    animation: none;
}

@keyframes timelineLineGrow {
    to {
        transform: scaleY(1);
    }
}

.timeline-items {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    animation: timelineFadeIn 0.8s ease forwards;
    animation-delay: 0.3s;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
    animation: none;
}

@keyframes timelineFadeIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-item:nth-child(1) {
    transition-delay: 0s;
}

.timeline-item:nth-child(1) .timeline-dot {
    transition-delay: 0.2s;
}

.timeline-item:nth-child(1) .timeline-date {
    transition-delay: 0.3s;
}

.timeline-item:nth-child(1) .timeline-description {
    transition-delay: 0.4s;
}

.timeline-item:nth-child(2) {
    transition-delay: 0.1s;
}

.timeline-item:nth-child(2) .timeline-dot {
    transition-delay: 0.3s;
}

.timeline-item:nth-child(2) .timeline-date {
    transition-delay: 0.4s;
}

.timeline-item:nth-child(2) .timeline-description {
    transition-delay: 0.5s;
}

.timeline-item:nth-child(3) {
    transition-delay: 0.2s;
}

.timeline-item:nth-child(3) .timeline-dot {
    transition-delay: 0.4s;
}

.timeline-item:nth-child(3) .timeline-date {
    transition-delay: 0.5s;
}

.timeline-item:nth-child(3) .timeline-description {
    transition-delay: 0.6s;
}

.timeline-item:nth-child(4) {
    transition-delay: 0.3s;
}

.timeline-item:nth-child(4) .timeline-dot {
    transition-delay: 0.5s;
}

.timeline-item:nth-child(4) .timeline-date {
    transition-delay: 0.6s;
}

.timeline-item:nth-child(4) .timeline-description {
    transition-delay: 0.7s;
}

.timeline-item:nth-child(5) {
    transition-delay: 0.4s;
}

.timeline-item:nth-child(5) .timeline-dot {
    transition-delay: 0.6s;
}

.timeline-item:nth-child(5) .timeline-date {
    transition-delay: 0.7s;
}

.timeline-item:nth-child(5) .timeline-description {
    transition-delay: 0.8s;
}

.timeline-dot {
    position: absolute;
    left: -26px;
    top: 5px;
    width: 12px;
    height: 12px;
    background-color: #000000;
    border-radius: 50%;
    z-index: 1;
    transform: scale(0);
    transition: transform 0.4s ease;
    animation: timelineDotScale 0.4s ease forwards;
    animation-delay: 0.5s;
}

.timeline-item.visible .timeline-dot {
    transform: scale(1);
    transition-delay: 0.2s;
    animation: none;
}

@keyframes timelineDotScale {
    to {
        transform: scale(1);
    }
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.timeline-date {
    font-size: 16px;
    font-weight: 700;
    color: #333333;
    transition: transform 0.3s ease, opacity 0.4s ease;
    display: inline-block;
    opacity: 0;
    animation: timelineTextFadeIn 0.6s ease forwards;
    animation-delay: 0.6s;
}

.timeline-item.visible .timeline-date {
    opacity: 1;
    transition-delay: 0.3s;
    animation: none;
}

.timeline-description {
    font-size: 16px;
    font-weight: 700;
    color: #333333;
    transition: transform 0.3s ease, opacity 0.4s ease;
    display: inline-block;
    opacity: 0;
    animation: timelineTextFadeIn 0.6s ease forwards;
    animation-delay: 0.8s;
}

.timeline-item.visible .timeline-description {
    opacity: 1;
    transition-delay: 0.4s;
    animation: none;
}

@keyframes timelineTextFadeIn {
    to {
        opacity: 1;
    }
}

.timeline-content:hover .timeline-date,
.timeline-content:hover .timeline-description {
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .history-section {
        padding: 80px 40px;
    }

    .history-heading {
        font-size: 60px;
    }

    .history-timeline {
        padding-left: 35px;
        margin-left: 30px;
    }

    .timeline-line {
        left: 14px;
    }

    .timeline-dot {
        left: -26px;
    }
}

@media (max-width: 768px) {
    .history-section {
        padding: 60px 30px;
    }

    .history-heading {
        font-size: 48px;
    }

    .history-subtitle {
        margin-bottom: 30px;
    }

    .history-timeline {
        padding-left: 30px;
        margin-left: 20px;
    }

    .timeline-line {
        left: 9px;
    }

    .timeline-dot {
        left: -25px;
        width: 10px;
        height: 10px;
    }

    .timeline-items {
        gap: 25px;
    }

    .timeline-date,
    .timeline-description {
        font-size: 14px;
    }
}

/* MESSAGEセクション（company.html用）- タイトルはHISTORYと同じスタイル */
.company-page .message-section-title {
    font-size: 80px;
    font-weight: 700;
    color: #333333 !important;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0px;
}

@media (max-width: 1024px) {
    .company-page .message-section-title {
        font-size: 60px;
        color: #333333 !important;
    }
}

@media (max-width: 768px) {
    .company-page .message-section-title {
        font-size: 48px;
        color: #333333 !important;
    }
}

.message-left {
    flex: 0 0 400px;
    display: flex;
    flex-direction: column;
}

.message-subtitle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-top: -5px;
    margin-bottom: 30px;
}

.message-square {
    font-size: 16px;
    color: #000000;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.message-subtitle-text {
    font-size: 18px;
    color: #000000;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.message-photo {
    width: 100%;
    margin-bottom: 20px;
}

.message-photo-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.message-caption {
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: flex-end;
    margin-top: 20px;
    margin-right: 80px;
}

.message-caption-role {
    font-size: 14px;
    color: #000000;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    text-align: left;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.message-caption-name {
    font-size: 22px;
    color: #000000;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    margin-top: -2px;
    text-align: left;
    font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", "YuMincho", "Noto Serif JP", "Klee One", "Zen Kurenaido", serif;
}

.message-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.message-text {
    font-size: 16px;
    color: #000000;
    font-weight: 700;
    line-height: 2;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* MESSAGEセクション レスポンシブ対応（company.html用）- index.htmlと同じスタイルを使用 */

/* 外部リンクカードセクション */
.company-page .external-link-section {
    background-color: transparent;
    padding: 20px 150px 50px 150px;
    position: static;
    width: auto;
    min-height: auto;
}

.company-page .external-link-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.company-page .external-link-card {
    display: block;
    width: 100%;
    background-color: transparent;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #000000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.company-page .external-link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.company-page .external-link-thumbnail {
    width: 100%;
    min-height: 500px;
    background-color: transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-page .external-link-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.company-page .external-link-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    color: #666666;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    padding: 20px;
}

.company-page .external-link-thumbnail img[style*="display: none"] ~ .external-link-placeholder {
    display: flex;
}

.company-page .external-link-thumbnail img:not([style*="display: none"]) ~ .external-link-placeholder {
    display: none;
}

.company-page .external-link-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.company-page .external-link-title {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.company-page .external-link-description {
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    margin: 0 0 10px 0;
    line-height: 1.6;
}

.company-page .external-link-url {
    font-size: 14px;
    font-weight: 400;
    color: #999999;
    margin-top: auto;
}

@media (max-width: 1024px) {
    .company-page .external-link-section {
        padding: 20px 0 80px 0;
    }

    .company-page .external-link-container {
        padding: 0 40px;
    }

    .company-page .external-link-card {
        display: block;
    }

    .company-page .external-link-thumbnail {
        width: 100%;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .company-page .external-link-section {
        padding: 20px 0 60px 0;
    }

    .company-page .external-link-container {
        padding: 0 30px;
    }

    .company-page .external-link-thumbnail {
        width: 100%;
        min-height: 300px;
    }
}

/* company.html用のMESSAGEセクション - index.htmlと同じスタイルを使用（上記で削除済み） */

/* ナビゲーションセクション */
.navigation-section {
    background-color: #242424;
    padding: 80px 50px;
}

.navigation-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.navigation-divider {
    width: 100%;
    height: 1px;
    background-color: #ffffff;
    margin: 0;
}

.navigation-item {
    display: flex;
    align-items: center;
    gap: 30px;
    text-decoration: none;
    color: #ffffff;
    transition: none;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.navigation-item:hover .navigation-text {
    transform: scale(1.1);
}

.navigation-item:hover .navigation-arrow {
    transform: scale(1.1);
}

.navigation-text {
    font-size: 100px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1;
    transition: transform 0.3s ease;
    transform-origin: left center;
    width: 500px;
    flex-shrink: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.navigation-arrow {
    font-size: 100px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    transform-origin: left center;
    flex-shrink: 0;
}

/* ナビゲーションセクション レスポンシブ対応 */
@media (max-width: 1024px) {
    .navigation-section {
        padding: 60px 40px;
    }

    .navigation-divider {
        width: 100%;
        margin: 0;
    }

    .navigation-text {
        font-size: 80px;
        line-height: 1;
        width: 400px;
        flex-shrink: 0;
    }

    .navigation-arrow {
        font-size: 80px;
        line-height: 1;
    }
}

@media (max-width: 768px) {
    .navigation-section {
        padding: 50px 30px;
    }

    .navigation-container {
        gap: 20px;
    }

    .navigation-divider {
        width: 100%;
        margin: 0;
    }

    .navigation-text {
        font-size: 50px;
        line-height: 1;
        width: auto;
        flex-shrink: 1;
        min-width: 0;
    }

    .navigation-arrow {
        font-size: 50px;
        line-height: 1;
    }
}

@media (max-width: 480px) {
    .navigation-section {
        padding: 40px 20px;
    }

    .navigation-container {
        gap: 15px;
    }

    .navigation-item {
        gap: 15px;
    }

    .navigation-text {
        font-size: 36px;
        line-height: 1;
        width: auto;
        flex-shrink: 1;
        min-width: 0;
        letter-spacing: 1px;
    }

    .navigation-arrow {
        font-size: 36px;
        line-height: 1;
    }
}

@media (max-width: 360px) {
    .navigation-section {
        padding: 30px 15px;
    }

    .navigation-container {
        gap: 12px;
    }

    .navigation-item {
        gap: 12px;
    }

    .navigation-text {
        font-size: 28px;
        line-height: 1;
        width: auto;
        flex-shrink: 1;
        min-width: 0;
        letter-spacing: 0.5px;
    }

    .navigation-arrow {
        font-size: 28px;
        line-height: 1;
    }
}

/* contact.htmlページ用：ナビゲーションバーのメニューを黒文字に */
.contact-page .nav-menu li a {
    color: #000000;
}

.contact-page .nav-menu li a:hover {
    background-color: rgba(200, 200, 200, 0.3);
    border-radius: 6px;
}

/* お問い合わせフォームセクション */
.contact-form-section {
    background-color: transparent;
    padding: 180px 50px 100px 50px;
    min-height: auto;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.contact-form-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.contact-form-title-wrapper {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(250, 230, 255, 0.6) 0%, rgba(220, 180, 250, 0.8) 30%, rgba(180, 140, 220, 0.9) 60%, rgba(120, 80, 160, 1) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px auto;
    padding: 50px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.contact-form-title-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 240, 255, 0.7) 0%, rgba(240, 200, 255, 0.8) 25%, rgba(200, 160, 240, 0.9) 50%, rgba(160, 120, 200, 1) 75%, rgba(100, 60, 140, 1) 100%);
    border-radius: 50%;
    animation: gradientRotate 10s linear infinite;
    z-index: -1;
}

.contact-form-title {
    font-size: 80px;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: -6px;
    text-align: center;
    margin: 0;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.contact-form-subtitle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-form-subtitle-line {
    display: inline-block;
}

.contact-form-subtitle-red {
    font-size: 18px;
    font-weight: 700;
    color: #ff0000;
    line-height: 1.6;
}

.contact-form-subtitle-black {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    line-height: 1.6;
}

.contact-form-description {
    font-size: 14px;
    font-weight: 500;
    color: #666666;
    text-align: center;
    line-height: 1.8;
    margin: 0;
}

.contact-form {
    width: 100%;
    max-width: 1000px;
    margin-top: 20px;
}

.contact-form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
}

.contact-form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form-label {
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 5px;
}

.label-square {
    font-size: 14px;
    color: #000000;
    font-weight: 700;
}

.required {
    color: #ff0000;
    font-weight: 700;
    margin-left: 2px;
}

.contact-form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.contact-form-input:focus {
    outline: none;
    border-color: #000000;
}

.contact-form-input::placeholder {
    color: #999999;
}

.contact-form-input-error {
    border-color: #ff0000 !important;
    background-color: #fff5f5;
}

.contact-form-textarea-error {
    border-color: #ff0000 !important;
    background-color: #fff5f5;
}

.contact-form-error {
    display: none;
    color: #ff0000;
    font-size: 12px;
    font-weight: 500;
    margin-top: 5px;
    line-height: 1.4;
}

.contact-form-field-full {
    flex: 1 1 100%;
    width: 100%;
}

.contact-form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
    resize: vertical;
    min-height: 250px;
}

.contact-form-textarea:focus {
    outline: none;
    border-color: #000000;
}

.contact-form-textarea::placeholder {
    color: #999999;
}

.contact-form-textarea-readonly {
    background-color: #f5f5f5;
    cursor: default;
    line-height: 1;
}

.contact-form-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.contact-form-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.contact-form-checkbox.contact-form-input-error {
    outline: 2px solid #ff0000;
    outline-offset: 2px;
}

.contact-form-checkbox-label {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    cursor: pointer;
    margin: 0;
}

.contact-form-checkbox-description {
    font-size: 13px;
    font-weight: 400;
    color: #666666;
    line-height: 1.6;
    margin: 0;
    margin-top: 0px;
}

.contact-form-submit-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
}

.contact-form-submit-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #000000;
    color: #ffffff;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: none;
    transition: background-color 0.3s ease;
    width: 200px;
    border-radius: 8px;
    font-family: inherit;
}

.contact-form-submit-btn:hover {
    background-color: #333333;
}

.contact-form-submit-text {
    color: #ffffff;
}

.contact-form-submit-arrow {
    color: #ffffff;
    font-size: 18px;
}

.contact-form-submit-message {
    font-size: 13px;
    font-weight: 400;
    color: #666666;
    text-align: center;
    margin: 0;
    line-height: 1.6;
}

/* お問い合わせフォームセクション レスポンシブ対応 */
@media (max-width: 1024px) {
    .contact-form-section {
        padding: 150px 40px 80px 40px;
    }

    .contact-form-title-wrapper {
        width: 350px;
        height: 350px;
        padding: 40px;
    }

    .contact-form-title {
        font-size: 60px;
        margin-bottom: 20px;
    }

    .contact-form-subtitle-red,
    .contact-form-subtitle-black {
        font-size: 16px;
    }

    .contact-form-description {
        font-size: 13px;
    }

    .contact-form-row {
        gap: 20px;
        margin-bottom: 12px;
    }

    .contact-form-submit-btn {
        width: 180px;
        padding: 12px 25px;
    }
}

@media (max-width: 768px) {
    .contact-form-section {
        padding: 120px 30px 60px 30px;
    }

    .contact-form-title-wrapper {
        width: 280px;
        height: 280px;
        padding: 35px;
    }

    .contact-form-title {
        font-size: 48px;
        margin-bottom: 15px;
    }

    .contact-form-subtitle-red,
    .contact-form-subtitle-black {
        font-size: 15px;
    }

    .contact-form-description {
        font-size: 12px;
    }

    .contact-form-row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }

    .contact-form-field {
        margin-bottom: 15px;
    }

    .contact-form-input {
        padding: 10px 12px;
        font-size: 13px;
    }

    .contact-form-checkbox-label {
        font-size: 13px;
    }

    .contact-form-checkbox-description {
        font-size: 12px;
    }

    .contact-form-submit-wrapper {
        margin-top: 30px;
    }

    .contact-form-submit-btn {
        width: 160px;
        padding: 12px 20px;
        font-size: 13px;
    }

    .contact-form-submit-message {
        font-size: 12px;
    }
}

/* リクルートページ専用スタイル */
.recruit-page-section {
    background-color: transparent;
    padding: 180px 50px 100px 50px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.recruit-page-header {
    text-align: center;
    margin-bottom: 60px;
}

.recruit-page-title {
    font-size: 120px;
    font-weight: 700;
    color: #000000;
    letter-spacing: -6px;
    text-align: center;
    margin: 0 0 0 0;
    text-transform: uppercase;
}

.recruit-page-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin: -10px 0 0 0;
}

.recruit-page-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    margin-bottom: 80px;
}

.recruit-page-main-text {
    font-size: 32px;
    font-weight: 700;
    color: #0066cc;
    text-align: center;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.recruit-page-description {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    text-align: center;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.recruit-page-blocks {
    display: flex;
    width: 100%;
    max-width: 1200px;
    gap: 0;
    margin: 0 auto;
    position: relative;
}

.recruit-page-block {
    flex: 1;
    background-color: transparent;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 3px solid #ffffff;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.recruit-page-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(64, 64, 64, 0.5);
    z-index: 2;
    transition: background-color 0.3s ease;
    pointer-events: none;
}

.recruit-page-block:hover::before {
    background-color: rgba(64, 64, 64, 0.7);
}

.recruit-page-block:last-child {
    border-right: none;
}

.recruit-page-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 300%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.recruit-page-block:nth-child(1) .recruit-page-video {
    left: 0;
}

.recruit-page-block:nth-child(2) .recruit-page-video {
    left: -100%;
}

.recruit-page-block:nth-child(3) .recruit-page-video {
    left: -200%;
}

.recruit-page-block-text {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    position: relative;
    z-index: 3;
}

.recruit-page-block-logo {
    background-color: transparent;
}

.recruit-page-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 3;
}

.recruit-page-logo-image {
    max-width: 80px;
    width: auto;
    height: auto;
    display: block;
    filter: brightness(0) invert(1);
}

/* リクルートページ レスポンシブ対応 */
@media (max-width: 1024px) {
    .recruit-page-section {
        padding: 150px 40px 80px 40px;
    }

    .recruit-page-title {
        font-size: 80px;
        margin-bottom: 0;
        letter-spacing: -4px;
    }

    .recruit-page-subtitle {
        font-size: 18px;
        font-weight: 700;
        margin-top: -8px;
    }

    .recruit-page-content {
        margin-bottom: 60px;
    }

    .recruit-page-main-text {
        font-size: 26px;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .recruit-page-description {
        font-size: 16px;
        font-weight: 700;
        line-height: 1.4;
        margin: 0 0 6px 0;
    }

    .recruit-page-blocks {
        flex-direction: column;
    }

    .recruit-page-block {
        min-height: 380px;
        border-right: none;
        border-bottom: 3px solid #ffffff;
    }

    .recruit-page-block:last-child {
        border-bottom: none;
    }

    .recruit-page-block-text {
        font-size: 20px;
    }

    .recruit-page-logo-image {
        max-width: 60px;
    }

    .recruit-page-video {
        width: 100%;
        height: 300%;
    }

    .recruit-page-block:nth-child(1) .recruit-page-video {
        top: 0;
    }

    .recruit-page-block:nth-child(2) .recruit-page-video {
        top: -100%;
    }

    .recruit-page-block:nth-child(3) .recruit-page-video {
        top: -200%;
    }
}

@media (max-width: 768px) {
    .recruit-page-section {
        padding: 120px 30px 60px 30px;
    }

    .recruit-page-title {
        font-size: 60px;
        margin-bottom: 0;
        letter-spacing: -3px;
    }

    .recruit-page-subtitle {
        font-size: 16px;
        font-weight: 700;
        margin-top: -6px;
    }

    .recruit-page-content {
        margin-bottom: 50px;
    }

    .recruit-page-main-text {
        font-size: 22px;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .recruit-page-description {
        font-size: 15px;
        font-weight: 700;
        line-height: 1.4;
        margin: 0 0 5px 0;
    }

    .recruit-page-block {
        min-height: 320px;
    }

    .recruit-page-video {
        width: 100%;
        height: 300%;
    }

    .recruit-page-block:nth-child(1) .recruit-page-video {
        top: 0;
        left: 0;
    }

    .recruit-page-block:nth-child(2) .recruit-page-video {
        top: -100%;
        left: 0;
    }

    .recruit-page-block:nth-child(3) .recruit-page-video {
        top: -200%;
        left: 0;
    }

    .recruit-page-block-text {
        font-size: 18px;
    }

    .recruit-page-logo-image {
        max-width: 50px;
    }
}

/* recruit.htmlページ用：ナビゲーションバーのメニューを黒文字に */
.recruit-page .nav-menu li a {
    color: #000000;
}

.recruit-page .nav-menu li a:hover {
    background-color: rgba(200, 200, 200, 0.3);
    border-radius: 6px;
}

/* FIND JOB / 募集要項セクション */
.find-job-section {
    background-color: transparent;
    padding: 100px 50px;
    width: 100%;
}

.find-job-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.find-job-title {
    font-size: 100px;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0px;
    margin: 0 0 5px 0;
    text-align: left;
    line-height: 1;
}

.find-job-subtitle {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 40px;
    margin-left: 10px;
}

.find-job-subtitle-square {
    font-size: 14px;
    color: #000000;
    font-weight: 400;
    line-height: 1;
}

.find-job-subtitle-text {
    font-size: 16px;
    color: #000000;
    font-weight: 400;
    line-height: 1.4;
}

.find-job-heading {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 35px 0;
    text-align: left;
    line-height: 1.2;
}

.find-job-card {
    background-color: #ffffff;
    border: 40px solid #C9C9EB !important;
    border-radius: 25px;
    padding: 40px 50px;
    display: flex;
    gap: 50px;
    align-items: center;
    box-sizing: border-box;
}

/* 2枚目のカード：ライトグリーン */
.find-job-card-slide:nth-child(2).find-job-card {
    border-color: #B0E0B0 !important;
}

/* 3枚目のカード：薄いピンク */
.find-job-card-slide:nth-child(3).find-job-card {
    border-color: #FFC0CB !important;
}

/* 4枚目のカード：薄いライトブルー */
.find-job-card-slide:nth-child(4).find-job-card {
    border-color: #ADD8E6 !important;
}

/* 1枚目のカードの区切り線：ライトブルー */
.find-job-card-slide:nth-child(1) .find-job-quality-divider-first {
    background-color: #C9C9EB !important;
}

/* 2枚目のカードの区切り線：ライトグリーン */
.find-job-card-slide:nth-child(2) .find-job-quality-divider-first {
    background-color: #B0E0B0 !important;
}

/* 3枚目のカードの区切り線：薄いピンク */
.find-job-card-slide:nth-child(3) .find-job-quality-divider-first {
    background-color: #FFC0CB !important;
}

/* 4枚目のカードの区切り線：薄いライトブルー */
.find-job-card-slide:nth-child(4) .find-job-quality-divider-first {
    background-color: #ADD8E6 !important;
}

.find-job-card-left {
    flex: 0 0 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.find-job-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.find-job-icon-image {
    width: 110px;
    height: 110px;
    object-fit: contain;
}

.find-job-icon-text {
    font-size: 15px;
    color: #000000;
    font-weight: 700;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

.find-job-card-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.find-job-main-description {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    line-height: 1.8;
    margin: 0 0 30px 0;
    padding-bottom: 0;
}

.find-job-main-description br {
    display: block;
    margin-bottom: 15px;
    content: "";
}

.find-job-divider {
    width: 100%;
    height: 1px;
    background-color: #8BB8D4;
    margin: 10px 0 15px 0;
}

.find-job-qualities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.find-job-quality-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.find-job-quality-item-first {
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
    width: auto;
    max-width: 100%;
}

.find-job-quality-divider {
    width: 75%;
    height: 1px;
    background-color: #8BB8D4;
    margin: 0;
}

.find-job-quality-text {
    font-size: 15px;
    font-weight: 400;
    color: #000000;
    line-height: 2;
    margin: 0;
}

.find-job-quality-text-first {
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
    width: fit-content;
    max-width: 100%;
}

.find-job-quality-divider-first {
    width: 100%;
    height: 1px;
    background-color: #8BB8D4;
    margin: 0;
}

/* 求める人物像カルーセル */
.find-job-carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.find-job-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.find-job-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.find-job-card-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    transition: opacity 0.5s ease;
    opacity: 1;
}

.find-job-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #E0E0E0;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    font-size: 24px;
    color: #000000;
    font-weight: bold;
}

.find-job-carousel-arrow:hover {
    background-color: #D0D0D0;
}

.find-job-carousel-arrow:active {
    background-color: #C0C0C0;
}

.find-job-carousel-arrow-prev {
    left: -30px;
}

.find-job-carousel-arrow-next {
    right: -30px;
}

.find-job-carousel-arrow span {
    display: block;
    line-height: 1;
}

/* FIND JOBセクション レスポンシブ対応 */
@media (max-width: 1024px) {
    .find-job-section {
        padding: 80px 40px;
    }

    .find-job-title {
        font-size: 70px;
        line-height: 1;
    }

    .find-job-subtitle {
        margin-bottom: 30px;
        margin-left: 8px;
    }

    .find-job-subtitle-square {
        font-size: 13px;
    }

    .find-job-subtitle-text {
        font-size: 15px;
    }

    .find-job-heading {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .find-job-card {
        border: 40px solid #C9C9EB !important;
        padding: 50px 40px;
        gap: 40px;
        border-radius: 20px;
        align-items: center;
    }

    .find-job-card-left {
        flex: 0 0 180px;
    }

    .find-job-icon-image {
        width: 100px;
        height: 100px;
    }

    .find-job-icon-text {
        font-size: 14px;
    }

    .find-job-main-description {
        font-size: 18px;
        line-height: 1.7;
        margin: 0 0 25px 0;
    }

    .find-job-divider {
        margin: 12px 0 20px 0;
    }

    .find-job-qualities {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .find-job-quality-divider {
        width: 70%;
    }

    .find-job-quality-text {
        font-size: 15px;
        line-height: 1.9;
    }

    .find-job-carousel-arrow {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .find-job-carousel-arrow-prev {
        left: -25px;
    }

    .find-job-carousel-arrow-next {
        right: -25px;
    }
}

@media (max-width: 768px) {
    .find-job-section {
        padding: 60px 30px;
    }

    .find-job-title {
        font-size: 56px;
        margin-bottom: 4px;
        line-height: 1;
    }

    .find-job-subtitle {
        margin-bottom: 25px;
        margin-left: 6px;
        gap: 5px;
    }

    .find-job-subtitle-square {
        font-size: 12px;
    }

    .find-job-subtitle-text {
        font-size: 14px;
    }

    .find-job-heading {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .find-job-card {
        border: 40px solid #C9C9EB !important;
        padding: 40px 25px;
        flex-direction: column;
        gap: 30px;
        border-radius: 18px;
    }

    .find-job-card-left {
        flex: 0 0 auto;
        width: 100%;
        padding-top: 0;
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
    }

    .find-job-icon {
        flex-shrink: 0;
    }

    .find-job-icon-image {
        width: 45px;
        height: 45px;
    }

    .find-job-icon-text {
        font-size: 13px;
        text-align: left;
    }

    .find-job-card-right {
        gap: 20px;
    }

    .find-job-main-description {
        font-size: 16px;
        line-height: 1.7;
        margin: 0 0 20px 0;
        padding-bottom: 0;
    }

    .find-job-divider {
        margin: 10px 0 18px 0;
    }

    .find-job-qualities {
        gap: 22px;
    }

    .find-job-quality-item {
        gap: 10px;
    }

    .find-job-quality-divider {
        width: 65%;
    }

    .find-job-quality-text {
        font-size: 14px;
        line-height: 1.8;
    }

    .find-job-carousel-arrow {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .find-job-carousel-arrow-prev {
        left: -20px;
    }

    .find-job-carousel-arrow-next {
        right: -20px;
    }
}

/* 選考フローセクション */
.selection-flow-section {
    background-color: transparent;
    padding: 100px 50px;
    width: 100%;
}

.selection-flow-container {
    max-width: 1200px;
    margin: 0 auto;
}

.selection-flow-title {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 50px 0;
    text-align: left;
}

.selection-flow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.selection-flow-step {
    position: relative;
    min-width: 280px;
    height: 168px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: -70px;
    z-index: 1;
}

.selection-flow-step:first-child {
    z-index: 5;
}

.selection-flow-step:nth-child(2) {
    z-index: 4;
}

.selection-flow-step:nth-child(3) {
    z-index: 3;
}

.selection-flow-step:nth-child(4) {
    z-index: 2;
}

.selection-flow-step:last-child {
    margin-right: 0;
    z-index: 1;
}

.selection-flow-arrow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 0;
}

.selection-flow-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.selection-flow-number {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 10px;
    line-height: 1;
}

.selection-flow-label {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    text-align: center;
    line-height: 1.2;
}

.selection-flow-description {
    margin-top: -20px;
    margin-bottom: 40px;
    padding-left: 70px;
}

.selection-flow-description p {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    line-height: 1.8;
    margin: 0 0 10px 0;
    text-align: left;
}

.selection-flow-entry {
    text-align: center;
    margin-top: 50px;
}

.selection-flow-entry-text {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 30px 0;
    display: inline-block;
    padding-bottom: 5px;
    position: relative;
}

.selection-flow-entry-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: rgba(255, 255, 0, 0.3);
    transition: width 0.8s ease 0.4s;
}

.selection-flow-entry.visible .selection-flow-entry-text::after,
.selection-flow-entry-text.visible::after {
    width: 100%;
}

.selection-flow-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
}

.selection-flow-entry-btn {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    height: 50px;
    box-sizing: border-box;
    border-radius: 5px;
}

.selection-flow-arrow-btn {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 0;
    width: 50px;
    height: 50px;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    box-sizing: border-box;
    border-radius: 5px;
}

/* 選考フローセクション レスポンシブ対応 */
@media (max-width: 1024px) {
    .selection-flow-section {
        padding: 80px 40px;
    }

    .selection-flow-title {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .selection-flow-steps {
        gap: 10px;
        justify-content: center;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .selection-flow-step {
        min-width: 0;
        width: calc(30% - 7px);
        height: 120px;
        margin-right: 0;
        flex-shrink: 0;
    }

    .selection-flow-step:nth-child(1),
    .selection-flow-step:nth-child(2) {
        width: calc(48% - 5px);
    }

    .selection-flow-step:nth-child(n+3) {
        margin-top: 10px;
    }

    .selection-flow-number {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .selection-flow-label {
        font-size: 13px;
    }

    .selection-flow-description {
        margin-top: -15px;
    }

    .selection-flow-description p {
        font-size: 15px;
    }

    .selection-flow-entry-text {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .selection-flow-section {
        padding: 60px 15px;
    }

    .selection-flow-title {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .selection-flow-steps {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 4px;
        justify-content: center;
        align-items: center;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .selection-flow-step {
        min-width: 0;
        width: calc(20% - 4px);
        height: 70px;
        margin-right: 0;
        flex-shrink: 1;
    }

    .selection-flow-step:nth-child(1),
    .selection-flow-step:nth-child(2) {
        width: calc(20% - 4px);
    }

    .selection-flow-step:nth-child(n+3) {
        margin-top: 0;
    }

    .selection-flow-number {
        font-size: 14px;
        margin-bottom: 3px;
    }

    .selection-flow-label {
        font-size: 9px;
    }

    .selection-flow-description {
        margin-top: -12px;
        padding-left: 0;
        text-align: center;
    }

    .selection-flow-description p {
        font-size: 14px;
        text-align: center;
    }

    .selection-flow-entry-text {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .selection-flow-entry-btn {
        padding: 12px 30px;
        font-size: 14px;
        height: 45px;
    }

    .selection-flow-arrow-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* 求職者の方々の声セクション */
.job-seekers-voices-section {
    background-color: transparent;
    padding: 100px 50px;
    width: 100%;
}

.job-seekers-voices-container {
    max-width: 1200px;
    margin: 0 auto;
}

.job-seekers-voices-title {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 50px 0;
    text-align: left;
}

.job-seekers-voices-cards {
    display: flex;
    gap: 30px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.job-seekers-voice-card {
    background-color: #e3f7ff;
    border-radius: 25px;
    padding: 30px;
    display: flex;
    gap: 25px;
    flex: 1;
    min-width: 400px;
    max-width: calc(50% - 15px);
    box-sizing: border-box;
}

.job-seekers-voice-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.job-seekers-voice-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: #a7d9f7;
    margin-bottom: 15px;
}

.job-seekers-voice-name {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    text-align: center;
}

.job-seekers-voice-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.job-seekers-voice-text {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    line-height: 1.8;
    margin: 0;
    text-align: left;
}

/* 求職者の方々の声セクション レスポンシブ対応 */
@media (max-width: 1024px) {
    .job-seekers-voices-section {
        padding: 80px 40px;
    }

    .job-seekers-voices-title {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .job-seekers-voices-cards {
        gap: 25px;
    }

    .job-seekers-voice-card {
        min-width: 300px;
        padding: 25px;
        gap: 20px;
    }

    .job-seekers-voice-avatar {
        width: 80px;
        height: 80px;
        margin-bottom: 12px;
    }

    .job-seekers-voice-text {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .job-seekers-voices-section {
        padding: 60px 30px;
    }

    .job-seekers-voices-title {
        font-size: 22px;
        margin-bottom: 30px;
        padding-left: 0;
    }

    .job-seekers-voices-cards {
        flex-direction: column;
        gap: 20px;
    }

    .job-seekers-voice-card {
        min-width: auto;
        max-width: 100%;
        padding: 20px;
        gap: 15px;
    }

    .job-seekers-voice-avatar {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }

    .job-seekers-voice-name {
        font-size: 14px;
    }

    .job-seekers-voice-text {
        font-size: 14px;
    }
}

/* 先輩社員の声セクション */
.senior-employees-voices-section {
    background-color: transparent;
    padding: 100px 50px;
    width: 100%;
}

.senior-employees-voices-container {
    max-width: 1200px;
    margin: 0 auto;
}

.senior-employees-voices-title {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 50px 0;
    text-align: left;
}

.senior-employees-voices-cards {
    display: flex;
    gap: 30px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.senior-employees-voice-card {
    background-color: #E8FFE8;
    border-radius: 25px;
    padding: 30px;
    display: flex;
    gap: 25px;
    flex: 1;
    min-width: 400px;
    max-width: calc(50% - 15px);
    box-sizing: border-box;
}

.senior-employees-voice-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.senior-employees-voice-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: #99FF33;
    margin-bottom: 15px;
}

.senior-employees-voice-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.senior-employees-voice-name {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    text-align: center;
}

.senior-employees-voice-role {
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    text-align: center;
}

.senior-employees-voice-text {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    line-height: 1.8;
    margin: 0;
    text-align: left;
}

/* 先輩社員の声セクション レスポンシブ対応 */
@media (max-width: 1024px) {
    .senior-employees-voices-section {
        padding: 80px 40px;
    }

    .senior-employees-voices-title {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .senior-employees-voices-cards {
        gap: 25px;
    }

    .senior-employees-voice-card {
        min-width: 300px;
        padding: 25px;
        gap: 20px;
    }

    .senior-employees-voice-avatar {
        width: 80px;
        height: 80px;
        margin-bottom: 12px;
    }

    .senior-employees-voice-name {
        font-size: 16px;
    }

    .senior-employees-voice-role {
        font-size: 13px;
        font-weight: 700;
    }

    .senior-employees-voice-text {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .senior-employees-voices-section {
        padding: 60px 30px;
    }

    .senior-employees-voices-title {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .senior-employees-voices-cards {
        flex-direction: column;
        gap: 20px;
    }

    .senior-employees-voice-card {
        min-width: auto;
        max-width: 100%;
        padding: 20px;
        gap: 15px;
    }

    .senior-employees-voice-avatar {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }

    .senior-employees-voice-name {
        font-size: 14px;
    }

    .senior-employees-voice-role {
        font-size: 12px;
        font-weight: 700;
    }

    .senior-employees-voice-text {
        font-size: 14px;
    }
}

/* ENTRYセクション */
.entry-section {
    background-color: transparent;
    padding: 100px 50px;
    width: 100%;
}

.entry-container {
    max-width: 800px;
    margin: 0 auto;
}

.entry-title {
    font-size: 100px;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin: 0 0 20px 0;
    letter-spacing: 2px;
}

.entry-subtitle {
    font-size: 16px;
    color: #666666;
    text-align: center;
    margin: -15px 0 50px 0;
    line-height: 1.6;
    font-weight: 700;
}

.entry-form {
    width: 100%;
}

.entry-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.entry-form-row-full {
    justify-content: center;
}

.entry-form-row-full .entry-form-field {
    max-width: 100%;
    width: 100%;
}

.entry-form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.entry-form-label {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 2px;
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.entry-form-label-square {
    color: #000000;
    font-weight: 700;
}

.entry-form-required {
    color: #ff0000;
    margin-left: 2px;
}

.entry-form-label-note {
    font-size: 14px;
    color: #666666;
    font-weight: 400;
    margin-left: 5px;
}

.entry-form-input,
.entry-form-textarea {
    width: 100%;
    padding: 8px 15px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    color: #000000;
    background-color: #ffffff;
    box-sizing: border-box;
}

.entry-form-input:focus,
.entry-form-textarea:focus {
    outline: none;
    border-color: #000000;
}

.entry-form-error {
    display: none;
    color: #ff0000;
    font-size: 12px;
    font-weight: 500;
    margin-top: 5px;
    line-height: 1.4;
}

.entry-form-input-error {
    border-color: #ff0000 !important;
    background-color: #fff5f5;
}

.entry-form-textarea-error {
    border-color: #ff0000 !important;
    background-color: #fff5f5;
}

.entry-form-radio.entry-form-input-error {
    accent-color: #ff0000;
}

.entry-form-checkbox.entry-form-input-error {
    accent-color: #ff0000;
}

.entry-form-radio-label.entry-form-input-error,
.entry-form-checkbox-label.entry-form-input-error {
    color: #ff0000;
}

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

.entry-form-radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.entry-form-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    cursor: pointer;
}

.entry-form-radio {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #000000;
}

.entry-form-privacy-agreement {
    margin-bottom: 20px;
}

.entry-form-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    cursor: pointer;
    margin-bottom: 10px;
}

.entry-form-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #000000;
}

.entry-form-privacy-note {
    font-size: 14px;
    color: #666666;
    margin: 0 0 0 26px;
    line-height: 1.6;
}

.entry-form-policy-label {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 8px 0;
    display: block;
}

.entry-form-policy-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #000000;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #000000;
    background-color: #e0e0e0;
    box-sizing: border-box;
    resize: vertical;
    min-height: 200px;
    overflow-y: auto;
    line-height: 1;
}

.entry-form-policy-textarea:focus {
    outline: none;
}

.entry-form-submit-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.entry-form-submit-btn {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0;
    border-radius: 5px;
    margin-bottom: 20px;
    height: 50px;
    box-sizing: border-box;
    overflow: hidden;
}

.entry-form-submit-btn:hover {
    opacity: 0.9;
}

.entry-form-submit-text {
    display: inline-flex;
    align-items: center;
    padding: 0 40px;
    height: 50px;
    box-sizing: border-box;
    border-radius: 5px 0 0 5px;
}

.entry-form-submit-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #000000;
    color: #ffffff;
    font-size: 20px;
    box-sizing: border-box;
    border-left: 1px solid #333333;
    border-radius: 0 5px 5px 0;
}

.entry-form-submit-message {
    font-size: 14px;
    color: #666666;
    text-align: center;
    margin: 0;
    line-height: 1.6;
}

/* ENTRYセクション レスポンシブ対応 */
@media (max-width: 1024px) {
    .entry-section {
        padding: 80px 40px;
    }

    .entry-title {
        font-size: 70px;
    }

    .entry-subtitle {
        font-size: 15px;
        margin-top: -12px;
    }

    .entry-form-row {
        flex-direction: column;
        gap: 0;
    }

    .entry-form-row-full .entry-form-field {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .entry-section {
        padding: 60px 30px;
    }

    .entry-title {
        font-size: 56px;
        letter-spacing: 1px;
    }

    .entry-subtitle {
        font-size: 14px;
        margin-top: -10px;
        margin-bottom: 40px;
    }

    .entry-form-label {
        font-size: 15px;
    }

    .entry-form-input,
    .entry-form-textarea {
        font-size: 15px;
        padding: 10px 12px;
    }

    .entry-form-radio-label {
        font-size: 15px;
    }

    .entry-form-checkbox-label {
        font-size: 15px;
    }

    .entry-form-privacy-note {
        font-size: 13px;
    }

    .entry-form-policy-label {
        font-size: 15px;
    }

    .entry-form-policy-textarea {
        font-size: 13px;
        padding: 10px 12px;
    }

    .entry-form-submit-btn {
        padding: 12px 30px;
        font-size: 15px;
    }

    .entry-form-submit-message {
        font-size: 13px;
    }
}

/* カスタムカーソル */
.custom-cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #000000 !important;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                width 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                height 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.2s ease-out,
                background-color 0.2s ease-out;
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
    will-change: transform;
}

.custom-cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #000000;
    transform: translate(-50%, -50%);
    transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                width 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                height 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.15s ease-out,
                border-color 0.2s ease-out;
    opacity: 0.4;
}

.custom-cursor.light {
    background-color: #ffffff !important;
}

.custom-cursor.light::before {
    border-color: #ffffff !important;
}

.custom-cursor.hover {
    width: 12px;
    height: 12px;
}

.custom-cursor.hover.light {
    background-color: #ffffff;
}

.custom-cursor.hover::before {
    width: 40px;
    height: 40px;
    opacity: 1;
    border-width: 1.5px;
}

/* カスタムカーソルと通常のカーソルを両方表示 */

/* ============================================
   サービスセクション（スクロールカード型）
   ============================================ */
.service-section-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #00162c;
    background-image: 
        linear-gradient(rgba(0, 22, 44, 0.85), rgba(0, 22, 44, 0.85)),
        url("../img/business_haikei.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    margin-top: 100px;
    margin-bottom: 150px;
    z-index: 2;
}

.service-section-title {
    position: absolute;
    top: 45px;
    left: 50px;
    font-size: 100px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -6px;
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-cards-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-cards-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.service-card-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease, transform 0.8s ease;
    transform: translateY(50px);
    z-index: 1;
}

.service-card-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 10;
}

.service-card-item.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50px);
    z-index: 1;
}

.service-card-container {
    display: flex;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 50px;
    align-items: center;
    gap: 0;
    box-sizing: border-box;
}

.service-card-container.service-card-reverse {
    flex-direction: row-reverse;
}

.service-card-image {
    flex: 0 0 55%;
    height: 50%;
    background-color: #d3d3d3;
    min-height: 300px;
    align-self: center;
    box-sizing: border-box;
    position: relative;
}

.service-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(64, 64, 64, 0.5);
    z-index: 1;
    pointer-events: none;
}

/* キャリア支援事業部の画像設定 */
.service-card-item[data-service-index="0"] .service-card-image {
    background-image: url('../img/career_support_1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 営業支援事業部の画像設定 */
.service-card-item[data-service-index="1"] .service-card-image {
    background-image: url('../img/sales_support_1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* SNS・福利厚生サービスの画像設定 */
.service-card-item[data-service-index="2"] .service-card-image {
    background-image: url('../img/marketing_1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* アウトソーシング事業部の画像設定 */
.service-card-item[data-service-index="3"] .service-card-image {
    background-image: url('../img/outsourcing_1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-card-content {
    flex: 0 0 45%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
}

.service-card-label {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px 0;
}

.service-card-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 30px 0;
    line-height: 1.2;
    white-space: nowrap;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.service-card-divider {
    width: 200px;
    height: 2px;
    background-color: #ffffff;
    margin: 0 0 40px 0;
    transition: width 0.3s ease;
}

.service-card-buttons {
    display: flex;
    align-items: center;
    gap: 0;
}

.service-card-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background-color: #000000;
    color: #ffffff;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    border-radius: 8px;
}

.service-card-more-btn:hover {
    background-color: #333333;
}

.service-card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 100%;
    background-color: #000000;
    color: #ffffff;
    font-size: 18px;
    margin-left: 0;
    transition: background-color 0.3s ease;
}

.service-card-more-btn:hover .service-card-arrow {
    background-color: #333333;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .service-section-wrapper {
        height: 100vh;
        min-height: 600px;
        margin-top: 80px;
        margin-bottom: 100px;
    }
    
    .index-page .service-section-wrapper {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .service-section-title {
        font-size: 70px;
        top: 30px;
        left: 20px;
        letter-spacing: -4px;
        max-width: calc(100% - 40px);
        box-sizing: border-box;
    }

    .service-cards-wrapper {
        padding-top: 150px; /* SERVICEタイトルの下にスペースを確保 */
    }

    .service-card-item {
        top: 150px; /* SERVICEタイトルの下に配置 */
        height: calc(100% - 150px); /* 高さを調整 */
    }

    .service-card-container {
        flex-direction: column;
        padding: 0 20px;
        max-width: 100%;
        gap: 20px;
        box-sizing: border-box;
    }

    .service-card-container.service-card-reverse {
        flex-direction: column;
    }

    .service-card-image {
        flex: 0 0 auto;
        width: 100%;
        height: 40%;
        min-height: 250px;
    }

    .service-card-content {
        flex: 1 1 auto;
        width: 100%;
        padding: 30px 0;
        justify-content: flex-start;
    }

    .service-card-title {
        font-size: 32px;
        white-space: normal;
        line-height: 1.3;
    }
}

@media (max-width: 768px) {
    .service-section-wrapper {
        height: 100vh;
        min-height: 500px;
        margin-top: 60px;
        margin-bottom: 80px;
    }
    
    .index-page .service-section-wrapper {
        margin-bottom: 0 !important;
    }

    .service-section-title {
        font-size: 50px;
        top: 20px;
        left: 15px;
        letter-spacing: -3px;
        max-width: calc(100% - 30px);
        box-sizing: border-box;
    }

    .service-cards-wrapper {
        padding-top: 130px; /* SERVICEタイトルの下にスペースを確保 */
    }

    .service-card-item {
        top: 130px; /* SERVICEタイトルの下に配置 */
        height: calc(100% - 130px); /* 高さを調整 */
    }

    .service-card-container {
        padding: 0 15px;
        gap: 15px;
        box-sizing: border-box;
    }

    .service-card-image {
        flex: 0 0 auto;
        height: 35%;
        min-height: 200px;
    }

    .service-card-content {
        flex: 1 1 auto;
        padding: 20px 0;
    }

    .service-card-label {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .service-card-title {
        font-size: 24px;
        margin-bottom: 15px;
        white-space: normal;
        line-height: 1.3;
    }

    .service-card-divider {
        width: 120px;
        margin-bottom: 25px;
    }

    .service-card-more-btn {
        padding: 12px 20px;
        font-size: 12px;
    }

    .service-card-arrow {
        width: 32px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .service-section-wrapper {
        height: 100vh;
        min-height: 450px;
        margin-top: 50px;
        margin-bottom: 60px;
    }
    
    .index-page .service-section-wrapper {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .service-section-title {
        font-size: 36px;
        top: 15px;
        left: 12px;
        letter-spacing: -2px;
        max-width: calc(100% - 24px);
        box-sizing: border-box;
    }

    .service-cards-wrapper {
        padding-top: 100px; /* SERVICEタイトルの下にスペースを確保 */
    }

    .service-card-item {
        top: 100px; /* SERVICEタイトルの下に配置 */
        height: calc(100% - 100px); /* 高さを調整 */
    }

    .service-card-container {
        padding: 0 12px;
        gap: 12px;
        box-sizing: border-box;
    }

    .service-card-image {
        height: 30%;
        min-height: 150px;
    }

    .service-card-content {
        padding: 15px 0;
    }

    .service-card-label {
        font-size: 11px;
        margin-bottom: 10px;
        letter-spacing: 0.5px;
    }

    .service-card-title {
        font-size: 20px;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .service-card-divider {
        width: 100px;
        height: 1.5px;
        margin-bottom: 20px;
    }

    .service-card-more-btn {
        padding: 10px 18px;
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    .service-card-arrow {
        width: 30px;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .company-overview-title {
        font-size: 28px;
        top: 12px;
        letter-spacing: -1px;
    }
    
    .service-section-title {
        font-size: 28px;
        top: 12px;
        left: 10px;
        letter-spacing: -1px;
        max-width: calc(100% - 20px);
        box-sizing: border-box;
    }
    
    .recruit-section-title {
        font-size: 28px;
        top: 12px;
        letter-spacing: -1px !important;
    }

    .service-cards-wrapper {
        padding-top: 90px; /* SERVICEタイトルの下にスペースを確保 */
    }

    .service-card-item {
        top: 90px; /* SERVICEタイトルの下に配置 */
        height: calc(100% - 90px); /* 高さを調整 */
    }

    .service-card-container {
        padding: 0 10px;
        box-sizing: border-box;
    }

    .service-card-title {
        font-size: 18px;
    }

    .service-card-more-btn {
        padding: 8px 16px;
        font-size: 10px;
    }
}

/* ============================================
   MESSAGEセクション（index.html用）
   ============================================ */
.message-section {
    background-color: transparent;
    padding: 150px 0 100px 0;
    width: 100%;
    position: relative;
    min-height: auto;
}

.message-section-title {
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0 auto;
    font-size: 100px;
    font-weight: 700;
    color: #000000 !important;
    letter-spacing: -6px;
    z-index: 10;
    pointer-events: none;
    text-align: center;
    white-space: nowrap;
    padding: 0;
    transform: none;
}

.message-section-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    min-width: 320px;
    margin: 0 auto;
    margin-top: 50px;
    padding: 50px;
    gap: 40px;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 8px;
    box-sizing: border-box;
}

.message-section-image {
    flex: 0 0 auto;
    overflow: hidden;
    max-width: 50%;
    min-width: 250px;
}

.message-section-photo {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    max-width: 100%;
}

.message-section-content {
    flex: 0 0 auto;
    max-width: 45%;
    min-width: 280px;
    padding: 40px 40px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.message-section-text {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    line-height: 1.5;
    margin-bottom: 8px;
    text-align: left;
}

.message-section-text:last-of-type {
    margin-bottom: 8px;
}

.message-section-caption {
    margin-top: auto;
    text-align: right;
}

.message-section-caption-text {
    font-size: 20px;
    font-weight: 900;
    color: #000000;
    margin: 0;
    font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", "YuMincho", "Noto Serif JP", "Klee One", "Zen Kurenaido", serif;
    font-style: italic;
    letter-spacing: 0.05em;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .message-section-title {
        font-size: 70px;
        top: -15px;
        color: #000000 !important;
        letter-spacing: -4px;
        left: 50% !important;
        right: auto !important;
        width: auto !important;
        transform: translateX(-50%) !important;
        text-align: center;
        white-space: nowrap;
        margin: 0;
        padding: 0;
    }

    .message-section-container {
        flex-direction: column;
        padding: 40px 5px;
        margin-top: 25px;
        align-items: center;
        min-width: 320px;
    }

    .message-section-image {
        flex: 0 0 auto;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
        min-width: 280px;
    }

    .message-section-photo {
        width: 130%;
        max-width: none;
    }

    .message-section-content {
        flex: 0 0 auto;
        padding: 0;
        width: 100%;
        min-width: 280px;
    }

    .message-section-text {
        font-size: 13px;
    }

    .message-section-caption-text {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .message-section {
        padding: 120px 0 60px 0;
    }

    .message-section-title {
        font-size: 50px;
        top: -10px;
        color: #000000 !important;
        letter-spacing: -3px;
        left: 50% !important;
        right: auto !important;
        width: auto !important;
        transform: translateX(-50%) !important;
        text-align: center;
        white-space: nowrap;
        padding: 0;
        margin: 0;
    }

    .message-section-container {
        padding: 30px 5px;
        margin-top: 10px;
        min-width: 320px;
    }

    .message-section-image {
        margin-bottom: 25px;
        min-width: 280px;
    }

    .message-section-photo {
        width: 130%;
        max-width: none;
    }

    .message-section-content {
        padding: 0;
        min-width: 280px;
    }

    .message-section-text {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .message-section-caption-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .message-section-title {
        font-size: 50px;
        top: -5px;
        color: #000000 !important;
        letter-spacing: -3px;
        left: 50% !important;
        right: auto !important;
        width: auto !important;
        transform: translateX(-50%) !important;
        text-align: center;
        white-space: nowrap;
        padding: 0;
        margin: 0;
    }

    .message-section-container {
        padding: 25px 5px;
        margin-top: 5px;
        min-width: 320px;
    }

    .message-section-photo {
        width: 130%;
        max-width: none;
    }

    .message-section-text {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .message-section-caption-text {
        font-size: 17px;
    }
}

/* ============================================
   リクルートセクション（index.html用）
   ============================================ */
.recruit-section {
    background-color: transparent;
    padding: 180px 0 100px 0;
    width: 100%;
    position: relative;
    min-height: auto;
}

.recruit-section-title {
    position: absolute;
    top: 45px;
    left: 2%;
    font-size: 100px;
    font-weight: 700;
    color: #000000 !important;
    letter-spacing: -6px !important;
    z-index: 10;
    pointer-events: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.recruit-section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.recruit-section-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 40px auto;
    text-align: left;
}

.recruit-section-main-text {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    text-align: left;
    margin: 0 0 12px 0;
    line-height: 1.3;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.recruit-section-highlight {
    color: #0052a3;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.recruit-section-description {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    text-align: left;
    line-height: 1.5;
    margin: 0 0 8px 0;
}

.recruit-section-blocks {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 0;
    position: relative;
}

.recruit-section-block {
    flex: 1;
    background-color: transparent;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 3px solid #ffffff;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.recruit-section-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(64, 64, 64, 0.5);
    z-index: 2;
    transition: background-color 0.3s ease;
    pointer-events: none;
}

.recruit-section-block:hover::before {
    background-color: rgba(64, 64, 64, 0.7);
}

.recruit-section-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 300%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.recruit-section-block:nth-child(1) .recruit-section-video {
    left: 0;
}

.recruit-section-block:nth-child(2) .recruit-section-video {
    left: -100%;
}

.recruit-section-block:nth-child(3) .recruit-section-video {
    left: -200%;
}

.recruit-section-block-text {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    z-index: 3;
}

.recruit-section-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 3;
}

.recruit-section-block:last-child {
    border-right: none;
}

.recruit-section-block-logo {
    background-color: transparent;
}

.recruit-section-logo-image {
    max-width: 80px;
    width: auto;
    height: auto;
    display: block;
    filter: brightness(0) invert(1);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .recruit-section-title {
        font-size: 70px;
        top: 30px;
        color: #000000 !important;
        letter-spacing: -4px !important;
    }

    .recruit-section-container {
        padding: 0 30px;
    }

    .recruit-section-content {
        margin-bottom: 60px;
    }

    .recruit-section-main-text {
        font-size: 20px;
    }

    .recruit-section-description {
        font-size: 13px;
    }

    .recruit-section-blocks {
        flex-direction: column;
    }

    .recruit-section-block {
        min-height: 300px;
        border-right: none;
        border-bottom: 3px solid #ffffff;
    }

    .recruit-section-block:last-child {
        border-bottom: none;
    }

    .recruit-section-video {
        width: 100%;
        height: 300%;
    }

    .recruit-section-block:nth-child(1) .recruit-section-video {
        top: 0;
    }

    .recruit-section-block:nth-child(2) .recruit-section-video {
        top: -100%;
    }

    .recruit-section-block:nth-child(3) .recruit-section-video {
        top: -200%;
    }
}

@media (max-width: 768px) {
    .recruit-section {
        padding: 120px 0 60px 0;
    }

    .recruit-section-title {
        font-size: 50px;
        top: 20px;
        left: 5%;
        color: #000000 !important;
        letter-spacing: -3px !important;
    }

    .recruit-section-container {
        padding: 0 20px;
    }

    .recruit-section-content {
        margin-bottom: 40px;
    }

    .recruit-section-main-text {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .recruit-section-description {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .recruit-section-block {
        min-height: 250px;
    }

    .recruit-section-block-text {
        font-size: 20px;
    }

    .recruit-section-logo-image {
        max-width: 60px;
    }

    .recruit-section-video {
        width: 100%;
        height: 300%;
    }

    .recruit-section-block:nth-child(1) .recruit-section-video {
        top: 0;
        left: 0;
    }

    .recruit-section-block:nth-child(2) .recruit-section-video {
        top: -100%;
        left: 0;
    }

    .recruit-section-block:nth-child(3) .recruit-section-video {
        top: -200%;
        left: 0;
    }
}

/* ============================================
   送信完了モーダルダイアログ
   ============================================ */
.submission-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.submission-modal.active {
    display: flex !important;
    opacity: 1;
    pointer-events: auto;
}

.submission-modal-content {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.submission-modal.active .submission-modal-content {
    transform: scale(1);
}

.submission-modal-message {
    font-size: 16px;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 500;
}

.submission-modal-button {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 12px 40px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-family: inherit;
}

.submission-modal-button:hover {
    background-color: #333333;
}

@media (max-width: 768px) {
    .submission-modal-content {
        padding: 30px 20px;
        max-width: 90%;
    }

    .submission-modal-message {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .submission-modal-button {
        padding: 10px 30px;
        font-size: 13px;
    }
}

