/* ==========================================================================
   Front Page Specific Styles
   ========================================================================== */

/* ==========================================================================
   Hero Section with Video Background
   ========================================================================== */

.hero {
    height: auto;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
    z-index: 0;
}

/* 動画背景 */
.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero__video video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    object-position: center center;
    z-index: 1;
    /* 画質向上のための設定 */
    filter: contrast(1.1) brightness(0.9);
}

/* オーバーレイ - 動画の上に重ねる */
.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(74, 163, 223, 0.6) 0%,
            rgba(46, 134, 193, 0.75) 100%);
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    padding-top: 100px;
    width: 100%;
}

@media (max-width: 768px) {
    .hero__content {
        padding-top: 60px;
    }
}

.hero__title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero__tagline {
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 768px) {
    .hero__title {
        font-size: 1.2rem;
    }
    .hero__subtitle {
        font-size: 1.8rem;
    }

    .hero__tagline {
        font-size: 1.6rem;
    }
}


/* 特徴カード - より強いテキストシャドウを適用 */
.hero__features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.feature-card {
    background: var(--primary-blue);
    border-radius: 15px;
    min-width: 280px;
    max-width: 350px;
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transform-origin: center center;
    /* overflow: hidden; */
}

/* ピン留めの視覚的表現 */
.feature-card::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--accent-yellow);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(242, 160, 6, 0.3);
    z-index: 10;
}

/* 各カードの初期回転（アニメーション中は無効化） */
.feature-card:nth-child(1):not(.shake) {
    transform: rotate(0deg);
}

.feature-card:nth-child(2):not(.shake) {
    transform: rotate(-1deg);
}

.feature-card:nth-child(3):not(.shake) {
    transform: rotate(1deg);
}

/* ホバー効果（アニメーション中でない場合のみ） */
.feature-card:not(.shake):not(.expanded):hover {
    transform: translateY(-5px) rotate(1deg) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    background: rgba(242, 160, 6, 0.9);
}

.feature-card:nth-child(2):not(.shake):not(.expanded):hover {
    transform: translateY(-5px) rotate(-2deg) scale(1.02);
    background: rgba(242, 160, 6, 0.9);
}

.feature-card:nth-child(3):not(.shake):not(.expanded):hover {
    transform: translateY(-5px) rotate(2deg) scale(1.02);
    background: rgba(242, 160, 6, 0.9);
}

/* 展開時のスタイル */
.feature-card.expanded {
    transform: rotate(0deg) scale(1.05);
    max-width: 400px;
    background: rgba(242, 160, 6, 0.95);
    z-index: 5;
}

/* カードコンテンツ */
.feature-card__content {
    padding: 1.5rem;
    position: relative;
}

.feature-card.expanded .feature-card__content {
    padding-bottom: 3rem;
}

.feature-card__content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    transition: margin-bottom 0.3s ease;
}

/* 既存のpタグを非表示（タイトルのみ表示） */
.feature-card__content>p {
    display: none !important;
}

/* 詳細コンテンツ */
.feature-card__details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.feature-card.expanded .feature-card__details {
    max-height: 500px;
    opacity: 1;
    margin-top: 1rem;
}

.feature-card__details p {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.feature-card__details p:last-child {
    margin-bottom: 0;
}

/* 展開インジケーター */
.feature-card__expand-indicator {
    width: 30px;
    height: 30px;
    margin: 5px auto;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    z-index: 15;
    pointer-events: auto;
}

.feature-card__expand-indicator::after {
    content: '▼';
    color: white;
    font-size: 12px;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.feature-card.expanded .feature-card__expand-indicator::after {
    transform: rotate(180deg);
}

.feature-card:hover .feature-card__expand-indicator {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* インジケーターのホバー効果 */
.feature-card__expand-indicator:hover {
    background: rgba(255, 255, 255, 0.4) !important;
    transform: scale(1.15) !important;
}

/* shakeアニメーション中のインジケーター（修正版 - 矛盾解決）*/
.feature-card.shake .feature-card__expand-indicator {
    display: flex !important;
    opacity: 0.5;
    pointer-events: none;
}

/* カタカタアニメーション */
.feature-card.shake {
    animation: shake 0.8s ease-in-out !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero__features {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .feature-card {
        min-width: auto;
        max-width: 300px;
        width: 100%;
    }

    .feature-card.expanded {
        max-width: 300px;
    }

    /* モバイルでは回転なし */
    .feature-card:nth-child(1):not(.shake),
    .feature-card:nth-child(2):not(.shake),
    .feature-card:nth-child(3):not(.shake) {
        transform: rotate(0deg);
    }

    .feature-card:not(.shake):not(.expanded):hover {
        transform: translateY(-3px) scale(1.02);
    }

    .feature-card:nth-child(2):not(.shake):not(.expanded):hover,
    .feature-card:nth-child(3):not(.shake):not(.expanded):hover {
        transform: translateY(-3px) scale(1.02);
    }
}

/* ==========================================================================
   カタカタアニメーション定義 - 純粋な横揺れのみ
   ========================================================================== */

/* 横揺れアニメーション */
@keyframes shake {
    0% {
        transform: translateX(0);
    }

    10% {
        transform: translateX(-3px);
    }

    20% {
        transform: translateX(3px);
    }

    30% {
        transform: translateX(-2px);
    }

    40% {
        transform: translateX(2px);
    }

    50% {
        transform: translateX(-3px);
    }

    60% {
        transform: translateX(3px);
    }

    70% {
        transform: translateX(-2px);
    }

    80% {
        transform: translateX(2px);
    }

    90% {
        transform: translateX(-1px);
    }

    100% {
        transform: translateX(0);
    }
}

.feature-card.shake {
    animation: shake 0.8s ease-in-out !important;
}


/* 各カードの初期回転（アニメーション中は無効化） */
.feature-card:nth-child(1):not(.shake) {
    transform: rotate(0deg);
}

.feature-card:nth-child(2):not(.shake) {
    transform: rotate(-1deg);
}

.feature-card:nth-child(3):not(.shake) {
    transform: rotate(1deg);
}

/* ホバー効果（アニメーション中でない場合のみ） */
.feature-card:not(.shake):hover {
    transform: translateY(-5px) rotate(1deg) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    background: rgba(242, 160, 6, 0.9);
}

.feature-card:nth-child(2):not(.shake):hover {
    transform: translateY(-5px) rotate(-2deg) scale(1.02);
    background: rgba(242, 160, 6, 0.9);
}

.feature-card:nth-child(3):not(.shake):hover {
    transform: translateY(-5px) rotate(2deg) scale(1.02);
    background: rgba(242, 160, 6, 0.9);
}

/* ==========================================================================
   Work Style Section（会社紹介・働き方セクション）
   ========================================================================== */

.work-style {
    background-color: var(--light-gray);
    padding: 100px 0;
}

.work-style__intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.work-style__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.work-style__description {
    line-height: 1.8;
    color: var(--text-dark);
}

.work-style__description p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.work-style__image {
    position: relative;
}

.work-style__image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.work-style__image:hover img {
    transform: translateY(-5px);
}

/* アクセントの装飾を追加 */
.work-style__text::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 20px;
    width: 4px;
    height: 60px;
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--accent-yellow) 100%);
    border-radius: 2px;
}

.work-style__text {
    position: relative;
}

@media (max-width: 768px) {
    .work-style {
        padding: 80px 0;
    }

    .work-style__intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .work-style__title {
        font-size: 1.8rem;
    }

    .work-style__text::before {
        display: none;
    }
}

/* ==========================================================================
   Recommended Section（おすすめ対象者セクション）
   ========================================================================== */

.recommended {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* 背景の装飾 */
.recommended::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.recommended__title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: white;
    position: relative;
    z-index: 2;
}

.recommended__title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-yellow);
    border-radius: 2px;
}

.recommended__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.recommended__item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.recommended__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(242, 160, 6, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.recommended__item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.recommended__item:hover::before {
    opacity: 1;
}

.recommended__icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    position: relative;
    z-index: 1;
}

.recommended__icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.recommended__content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.recommended__content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.recommended__message {
    text-align: center;
    position: relative;
    z-index: 2;
}

.recommended__text {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.recommended__subtext {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* カードのスタッガードアニメーション */
.recommended__item:nth-child(1) {
    animation-delay: 0.1s;
}

.recommended__item:nth-child(2) {
    animation-delay: 0.2s;
}

.recommended__item:nth-child(3) {
    animation-delay: 0.3s;
}

.recommended__item:nth-child(4) {
    animation-delay: 0.4s;
}

.recommended__item:nth-child(5) {
    animation-delay: 0.5s;
}

.recommended__item:nth-child(6) {
    animation-delay: 0.6s;
}

@media (max-width: 768px) {
    .recommended {
        padding: 80px 0;
    }

    .recommended__title {
        font-size: 1.8rem;
        margin-bottom: 3rem;
    }

    .recommended__list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .recommended__text {
        font-size: 1.1rem;
    }

    .recommended__subtext {
        font-size: 1rem;
    }
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about__image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

/* ==========================================================================
   Jobs Section - 職種別カラー対応版
   ========================================================================== */

.jobs {
    background-color: var(--light-gray);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.jobs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(74, 163, 223, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(242, 160, 6, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.jobs__content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

/* 職種詳細カード - ベーススタイル */
.job-detail {
    background: white;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.job-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

/* 営業職カード（1番目） */
.job-detail:nth-child(1) {
    border-top: 4px solid #171c61;
}

.job-detail:nth-child(1):hover {
    box-shadow: 0 25px 60px rgba(23, 28, 97, 0.15);
}

/* 職人・技術職カード（2番目） */
.job-detail:nth-child(2) {
    border-top: 4px solid #e53935;
}

.job-detail:nth-child(2):hover {
    box-shadow: 0 25px 60px rgba(229, 57, 53, 0.15);
}

/* 事務職カード（3番目） */
.job-detail:nth-child(3) {
    border-top: 4px solid #ad1457;
}

.job-detail:nth-child(3):hover {
    box-shadow: 0 25px 60px rgba(173, 20, 87, 0.15);
}

/* 職種ヘッダー - デフォルト */
.job-detail__header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

/* 営業職ヘッダー */
.job-detail:nth-child(1) .job-detail__header {
    background: linear-gradient(135deg, #171c61 0%, #2e86c1 100%);
}

/* 職人・技術職ヘッダー */
.job-detail:nth-child(2) .job-detail__header {
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
}

/* 事務職ヘッダー */
.job-detail:nth-child(3) .job-detail__header {
    background: linear-gradient(135deg, #ad1457 0%, #f8bbd9 100%);
}

.job-detail__header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* 事務職ヘッダーのテキストシャドウを調整 */
.job-detail:nth-child(3) .job-detail__header h3 {
    text-shadow: none;
}

/* テーブルラッパー */
.job-detail__table-wrapper {
    padding: 0;
    overflow-x: auto;
}

/* テーブルスタイル */
.job-detail__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.job-detail__table th {
    background: linear-gradient(135deg, rgba(74, 163, 223, 0.1) 0%, rgba(242, 160, 6, 0.1) 100%);
    color: var(--primary-blue);
    font-weight: 700;
    padding: 1.5rem;
    text-align: left;
    vertical-align: top;
    width: 150px;
    min-width: 120px;
    border-bottom: 1px solid rgba(74, 163, 223, 0.2);
    position: relative;
}

/* 営業職のテーブルヘッダー */
.job-detail:nth-child(1) .job-detail__table th {
    background: linear-gradient(135deg, rgba(23, 28, 97, 0.1) 0%, rgba(46, 134, 193, 0.1) 100%);
    color: #171c61;
    border-bottom: 1px solid rgba(23, 28, 97, 0.2);
}

.job-detail:nth-child(1) .job-detail__table th::after {
    background: #171c61;
}

/* 職人・技術職のテーブルヘッダー */
.job-detail:nth-child(2) .job-detail__table th {
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.1) 0%, rgba(198, 40, 40, 0.1) 100%);
    color: #e53935;
    border-bottom: 1px solid rgba(229, 57, 53, 0.2);
}

.job-detail:nth-child(2) .job-detail__table th::after {
    background: #e53935;
}

/* 事務職のテーブルヘッダー */
.job-detail:nth-child(3) .job-detail__table th {
    background: linear-gradient(135deg, rgba(173, 20, 87, 0.1) 0%, rgba(248, 187, 217, 0.1) 100%);
    color: #ad1457;
    border-bottom: 1px solid rgba(173, 20, 87, 0.2);
}

.job-detail:nth-child(3) .job-detail__table th::after {
    background: #ad1457;
}

.job-detail__table th::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-blue);
}

.job-detail__table td {
    padding: 1.5rem;
    line-height: 1.8;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    vertical-align: top;
}

.job-detail__table tr:last-child th,
.job-detail__table tr:last-child td {
    border-bottom: none;
}

.job-detail__table tr:hover {
    background: rgba(74, 163, 223, 0.02);
}

/* 営業職のテーブル行ホバー */
.job-detail:nth-child(1) .job-detail__table tr:hover {
    background: rgba(23, 28, 97, 0.02);
}

/* 職人・技術職のテーブル行ホバー */
.job-detail:nth-child(2) .job-detail__table tr:hover {
    background: rgba(229, 57, 53, 0.02);
}

/* 事務職のテーブル行ホバー */
.job-detail:nth-child(3) .job-detail__table tr:hover {
    background: rgba(173, 20, 87, 0.02);
}

/* 備考セクション */
.job-detail__note {
    background: linear-gradient(135deg, rgba(242, 160, 6, 0.1) 0%, rgba(74, 163, 223, 0.1) 100%);
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(242, 160, 6, 0.2);
}

/* 営業職の備考セクション */
.job-detail:nth-child(1) .job-detail__note {
    background: linear-gradient(135deg, rgba(23, 28, 97, 0.1) 0%, rgba(46, 134, 193, 0.1) 100%);
    border-top: 1px solid rgba(23, 28, 97, 0.2);
}

/* 職人・技術職の備考セクション */
.job-detail:nth-child(2) .job-detail__note {
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.1) 0%, rgba(198, 40, 40, 0.1) 100%);
    border-top: 1px solid rgba(229, 57, 53, 0.2);
}

/* 事務職の備考セクション */
.job-detail:nth-child(3) .job-detail__note {
    background: linear-gradient(135deg, rgba(173, 20, 87, 0.1) 0%, rgba(248, 187, 217, 0.1) 100%);
    border-top: 1px solid rgba(173, 20, 87, 0.2);
}

.job-detail__note p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.job-detail__note strong {
    color: var(--primary-blue);
    font-weight: 700;
}

/* 営業職の備考テキスト */
.job-detail:nth-child(1) .job-detail__note strong {
    color: #171c61;
}

/* 職人・技術職の備考テキスト */
.job-detail:nth-child(2) .job-detail__note strong {
    color: #e53935;
}

/* 事務職の備考テキスト */
.job-detail:nth-child(3) .job-detail__note strong {
    color: #ad1457;
}

/* CTAセクション - 各カード内のボタン */
.job-detail__cta {
    background: linear-gradient(135deg, rgba(74, 163, 223, 0.05) 0%, rgba(242, 160, 6, 0.05) 100%);
    padding: 2rem;
    border-top: 1px solid rgba(74, 163, 223, 0.1);
    text-align: center;
}

/* 営業職のCTAセクション */
.job-detail:nth-child(1) .job-detail__cta {
    background: linear-gradient(135deg, rgba(23, 28, 97, 0.05) 0%, rgba(46, 134, 193, 0.05) 100%);
    border-top: 1px solid rgba(23, 28, 97, 0.1);
}

/* 職人・技術職のCTAセクション */
.job-detail:nth-child(2) .job-detail__cta {
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.05) 0%, rgba(198, 40, 40, 0.05) 100%);
    border-top: 1px solid rgba(229, 57, 53, 0.1);
}

/* 事務職のCTAセクション */
.job-detail:nth-child(3) .job-detail__cta {
    background: linear-gradient(135deg, rgba(173, 20, 87, 0.05) 0%, rgba(248, 187, 217, 0.05) 100%);
    border-top: 1px solid rgba(173, 20, 87, 0.1);
}

.job-detail__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(74, 163, 223, 0.3);
    position: relative;
    overflow: hidden;
}

/* 営業職のボタン */
.job-detail:nth-child(1) .job-detail__btn {
    background: linear-gradient(135deg, #171c61 0%, #2e86c1 100%);
    box-shadow: 0 8px 25px rgba(23, 28, 97, 0.3);
}

.job-detail:nth-child(1) .job-detail__btn:hover {
    background: linear-gradient(135deg, #1e2270 0%, #3498db 100%);
    box-shadow: 0 12px 35px rgba(23, 28, 97, 0.4);
}

/* 職人・技術職のボタン */
.job-detail:nth-child(2) .job-detail__btn {
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    box-shadow: 0 8px 25px rgba(229, 57, 53, 0.3);
}

.job-detail:nth-child(2) .job-detail__btn:hover {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    box-shadow: 0 12px 35px rgba(229, 57, 53, 0.4);
}

/* 事務職のボタン */
.job-detail:nth-child(3) .job-detail__btn {
    background: linear-gradient(135deg, #ad1457 0%, #f85eaa 100%);
    box-shadow: 0 8px 25px rgba(173, 20, 87, 0.3);
}

.job-detail:nth-child(3) .job-detail__btn:hover {
    background: linear-gradient(135deg, #c2185b 0%, #f85eaa 100%);
    box-shadow: 0 12px 35px rgba(173, 20, 87, 0.4);
}

.job-detail__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.job-detail__btn:hover {
    transform: translateY(-3px);
    opacity: 1;
}

.job-detail__btn:hover::before {
    left: 100%;
}

.job-detail__btn-arrow {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.job-detail__btn:hover .job-detail__btn-arrow {
    transform: translateX(5px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .jobs {
        padding: 80px 0;
    }

    .job-detail {
        margin: 0 1rem 2rem 1rem;
    }

    .job-detail__header {
        padding: 1.5rem;
    }

    .job-detail__header h3 {
        font-size: 1.3rem;
    }

    .job-detail__table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .job-detail__table th {
        padding: 1rem;
        font-size: 0.9rem;
        width: 120px;
        min-width: 100px;
    }

    .job-detail__table td {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .job-detail__note {
        padding: 1.25rem 1.5rem;
    }

    .job-detail__btn {
        font-size: 0.95rem;
        padding: 0.875rem 1.75rem;
    }
}

@media (max-width: 480px) {
    .job-detail__table th {
        padding: 0.875rem;
        font-size: 0.85rem;
    }

    .job-detail__table td {
        padding: 0.875rem;
        font-size: 0.85rem;
    }

    .job-detail__header h3 {
        font-size: 1.2rem;
    }

    .job-detail__btn {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
}

/* アニメーション効果 */
@keyframes table-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.job-detail {
    animation: table-fade-in 0.6s ease-out both;
    animation-delay: calc(var(--job-index, 0) * 0.2s);
}

.job-detail:nth-child(1) {
    --job-index: 0;
}

.job-detail:nth-child(2) {
    --job-index: 1;
}

.job-detail:nth-child(3) {
    --job-index: 2;
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
    .job-detail {
        animation: none;
    }

    .job-detail:hover {
        transform: none;
    }

    .job-detail__btn:hover {
        transform: none;
    }
}

/* ==========================================================================
   Interview Section
   ========================================================================== */

.interviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.interview-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.interview-card__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.interview-card__content {
    padding: 1.5rem;
}

.interview-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.interview-card__title a {
    color: inherit;
}

.interview-card__excerpt {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.interview-card__link {
    color: var(--accent-yellow);
    font-weight: 600;
    transition: color 0.3s ease;
}

.interview-card__link:hover {
    color: #e6920a;
    opacity: 1;
}

.no-interviews {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact {
    background-color: var(--light-gray);
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact__info {
    /* 左側の連絡先情報 */
}

.contact__item {
    margin-bottom: 2rem;
}

.contact__item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.contact__phone a,
.contact__email a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.contact__phone a:hover,
.contact__email a:hover {
    color: var(--primary-blue);
    opacity: 1;
}

.contact__cta {
    text-align: center;
}

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

/* ==========================================================================
   Hero Section Updates
   ========================================================================== */

.hero__catchcopy {
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: var(--primary-blue);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero__catchcopy p {
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    margin: 0;
}

@media (max-width: 768px) {
    .hero__catchcopy {
        padding: 1rem 1.5rem;
    }

    .hero__catchcopy p {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Business Intro Section
   ========================================================================== */

.business-intro {
    padding: 100px 0;
    background-color: var(--white);
}

.business-intro__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.business-card {
    background: linear-gradient(135deg, rgba(74, 163, 223, 0.05) 0%, rgba(242, 160, 6, 0.05) 100%);
    border: 2px solid rgba(74, 163, 223, 0.1);
    border-radius: 15px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-yellow) 100%);
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.business-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.business-card__content p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.business-card__content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .business-intro {
        padding: 80px 0;
    }

    .business-intro__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .business-card {
        padding: 2rem;
    }

    .business-card__title {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   First View CTA Section
   ========================================================================== */

.first-view-cta {
    background: var(--accent-yellow);
    padding: 2rem 0;
    text-align: center;
}

.first-view-cta__content {
    max-width: 800px;
    margin: 0 auto;
}

.first-view-cta__text {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .first-view-cta__text {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Performance Section - Clean & Modern Design with 職種別カラーボタン対応
   ========================================================================== */

.performance {
    background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.performance::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(74, 163, 223, 0.03) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(242, 160, 6, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.performance__wrapper {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.performance__announcement {
    background: var(--white);
    border: 3px solid var(--primary-blue);
    border-radius: 25px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(74, 163, 223, 0.1),
        0 8px 25px rgba(0, 0, 0, 0.05);
    animation: card-entrance 1s ease-out;
}

/* PC版の背景画像（768px以上） */
@media (min-width: 768px) {
    .performance__announcement {
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.4)),
            url('/wp-content/uploads/2025/07/image_pc.png');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }
}

/* SP版の背景画像（767px以下） */
@media (max-width: 767px) {
    .performance__announcement {
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.4)),
            url('/wp-content/uploads/2025/07/image_v2.png');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }
}

@keyframes card-entrance {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 内側の光るボーダー効果 */
.performance__announcement::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 1px solid rgba(74, 163, 223, 0.1);
    border-radius: 22px;
    animation: inner-glow 3s ease-in-out infinite;
}

@keyframes inner-glow {

    0%,
    100% {
        border-color: rgba(74, 163, 223, 0.1);
        box-shadow: inset 0 0 0 rgba(74, 163, 223, 0.1);
    }

    50% {
        border-color: rgba(74, 163, 223, 0.3);
        box-shadow: inset 0 0 20px rgba(74, 163, 223, 0.05);
    }
}

.performance__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.performance__title-main {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--primary-blue);
    position: relative;
    animation: title-slide-in 0.8s ease-out 0.3s both;
}

@keyframes title-slide-in {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes icon-slide-in {
    from {
        opacity: 0;
        transform: translateX(30px) rotate(-45deg);
    }

    to {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
}

@keyframes gentle-bob {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(2deg);
    }
}

.performance__subtitle-wrap {
    position: relative;
    margin-bottom: 2rem;
    animation: subtitle-fade-in 0.8s ease-out 0.9s both;
}

@keyframes subtitle-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.performance__subtitle {
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.performance__pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--accent-yellow);
    border-radius: 50%;
    opacity: 0.1;
    animation: ripple-effect 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes ripple-effect {
    0% {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 0.3;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.1;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 0.3;
    }
}

.performance__positions {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

/* 職種別カラーボタン - position-itemクラス */
.position-item {
    padding: 1.5rem 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    min-width: 150px;
    cursor: pointer;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
    animation: card-pop-in 0.6s ease-out both;
    animation-delay: calc(1.2s + var(--delay, 0) * 0.2s);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.position-item:nth-child(1) {
    --delay: 0;
}

.position-item:nth-child(2) {
    --delay: 1;
}

.position-item:nth-child(3) {
    --delay: 2;
}

@keyframes card-pop-in {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.position-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.position-item:hover::before {
    left: 100%;
}

/* 営業職（ブルー系） */
.position-item:nth-child(1) {
    background: linear-gradient(135deg, #171c61 0%, #2e86c1 100%);
    border: 2px solid #171c61;
}

.position-item:nth-child(1):hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(23, 28, 97, 0.4);
    background: linear-gradient(135deg, #1e2270 0%, #3498db 100%);
}

.position-item:nth-child(1) .position-item__text {
    color: white;
}

/* 職人・技術職（レッド系） */
.position-item:nth-child(2) {
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
    border: 2px solid #e53935;
}

.position-item:nth-child(2):hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(229, 57, 53, 0.4);
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
}

.position-item:nth-child(2) .position-item__text {
    color: white;
}

/* 事務職（ピンク系） */
.position-item:nth-child(3) {
    background: linear-gradient(135deg, #fce4ec 0%, #f158a4 100%);
    border: 2px solid #ad1457;
}

.position-item:nth-child(3):hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(173, 20, 87, 0.4);
    background: linear-gradient(135deg, #f8bbd9 0%, #ed739c 100%);
}

.position-item__text {
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: block;
    text-align: center;
    position: relative;
    z-index: 2;
}

.position-item__text small {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 0.5rem;
    display: block;
}

/* テキストカラー調整（nth-childに統合） */
.position-item:nth-child(1) .position-item__text,
.position-item:nth-child(2) .position-item__text {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.position-item:nth-child(3) .position-item__text {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.performance__cta {
    animation: cta-fade-in 0.8s ease-out 2s both;
}

@keyframes cta-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.performance__btn {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--accent-yellow);
    color: var(--primary-blue);
    padding: 1.3rem 3.5rem;
    border-radius: 60px;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(242, 160, 6, 0.25);
}

.performance__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.performance__btn:hover::before {
    left: 100%;
}

.performance__btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(242, 160, 6, 0.35);
    opacity: 1;
    animation: button-pulse 0.6s ease-in-out;
}

@keyframes button-pulse {

    0%,
    100% {
        transform: translateY(-4px) scale(1.05);
    }

    50% {
        transform: translateY(-4px) scale(1.08);
    }
}

.performance__btn-arrow {
    transition: transform 0.3s ease;
    font-size: 1.3rem;
}

.performance__btn:hover .performance__btn-arrow {
    transform: translateX(8px);
    animation: arrow-dance 0.8s ease-in-out;
}

@keyframes arrow-dance {

    0%,
    100% {
        transform: translateX(8px);
    }

    25% {
        transform: translateX(12px) rotate(15deg);
    }

    75% {
        transform: translateX(12px) rotate(-15deg);
    }
}

.performance__decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(74, 163, 223, 0.08);
    background: rgba(74, 163, 223, 0.02);
    animation: orbit 12s linear infinite;
}

.decoration-circle--1 {
    width: 140px;
    height: 140px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.decoration-circle--2 {
    width: 100px;
    height: 100px;
    top: 70%;
    right: 8%;
    animation-delay: 4s;
}

.decoration-circle--3 {
    width: 120px;
    height: 120px;
    bottom: 15%;
    left: 12%;
    animation-delay: 8s;
}

@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(20px) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }

    to {
        transform: rotate(360deg) translateX(20px) rotate(-360deg);
        opacity: 0.3;
    }
}

@media (max-width: 768px) {
    .performance {
        padding: 80px 0;
        background-attachment: scroll;
        /* モバイルでfixedを無効化 */
    }

    .performance__title-main {
        font-size: 2.4rem;
    }

    .performance__subtitle {
        font-size: 1.5rem;
    }

    .performance__positions {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .position-item {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }

    .performance__btn {
        font-size: 1.2rem;
        padding: 1.1rem 3rem;
    }
}

@media (max-width: 480px) {
    .performance__title-main {
        font-size: 2rem;
    }

    .performance__subtitle {
        font-size: 1.2rem;
        padding: 0.6rem 1.2rem;
    }

    .performance__subtitle-wrap {
        flex-direction: column;
        gap: 0.5rem;
    }

    .performance__btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .position-item {
        min-width: 180px;
        padding: 1rem 1.2rem;
    }

    .position-item__text {
        font-size: 1.1rem;
    }
}

/* 画像読み込み失敗時のフォールバック */
.performance {
    background-color: var(--white);
    /* フォールバック色 */
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {

    .performance__title-main,
    .performance__pulse,
    .decoration-circle,
    .performance__announcement {
        animation: none;
    }

    .performance__btn::before {
        display: none;
    }
}


/* ==========================================================================
   Job Appeal Section
   ========================================================================== */

.job-appeal {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.job-appeal__content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.job-appeal__content p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.job-appeal__video {
    max-width: 800px;
    margin: 0 auto;
}

.video-placeholder {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-placeholder__thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-placeholder__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-placeholder:hover .video-placeholder__thumbnail img {
    transform: scale(1.05);
}

.video-placeholder__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 163, 223, 0.8) 0%, rgba(242, 160, 6, 0.8) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    text-align: center;
}

.video-placeholder:hover .video-placeholder__overlay {
    opacity: 1;
}

.video-placeholder__play {
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.video-placeholder:hover .video-placeholder__play {
    transform: scale(1.1);
}

.video-placeholder__text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.video-placeholder__text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.video-placeholder__info {
    padding: 2rem;
    text-align: center;
}

.video-placeholder__info h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.video-placeholder__info p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .job-appeal__video {
        margin: 0 1rem;
    }

    .video-placeholder__info {
        padding: 1.5rem;
    }

    .video-placeholder__info h4 {
        font-size: 1.2rem;
    }

    .video-placeholder__text h3 {
        font-size: 1.3rem;
    }

    .video-placeholder__text p {
        font-size: 1rem;
    }
}

.performance__cta {
    animation: cta-fade-in 0.8s ease-out 2s both;
}

@keyframes cta-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.performance__btn {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--accent-yellow);
    color: var(--primary-blue);
    padding: 1.3rem 3.5rem;
    border-radius: 60px;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(242, 160, 6, 0.25);
}

.performance__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.performance__btn:hover::before {
    left: 100%;
}

.performance__btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(242, 160, 6, 0.35);
    opacity: 1;
    animation: button-pulse 0.6s ease-in-out;
}

@keyframes button-pulse {

    0%,
    100% {
        transform: translateY(-4px) scale(1.05);
    }

    50% {
        transform: translateY(-4px) scale(1.08);
    }
}

.performance__btn-arrow {
    transition: transform 0.3s ease;
    font-size: 1.3rem;
}

.performance__btn:hover .performance__btn-arrow {
    transform: translateX(8px);
    animation: arrow-dance 0.8s ease-in-out;
}

@keyframes arrow-dance {

    0%,
    100% {
        transform: translateX(8px);
    }

    25% {
        transform: translateX(12px) rotate(15deg);
    }

    75% {
        transform: translateX(12px) rotate(-15deg);
    }
}

.performance__decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(74, 163, 223, 0.08);
    background: rgba(74, 163, 223, 0.02);
    animation: orbit 12s linear infinite;
}

.decoration-circle--1 {
    width: 140px;
    height: 140px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.decoration-circle--2 {
    width: 100px;
    height: 100px;
    top: 70%;
    right: 8%;
    animation-delay: 4s;
}

.decoration-circle--3 {
    width: 120px;
    height: 120px;
    bottom: 15%;
    left: 12%;
    animation-delay: 8s;
}

@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(20px) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }

    to {
        transform: rotate(360deg) translateX(20px) rotate(-360deg);
        opacity: 0.3;
    }
}

@media (max-width: 768px) {
    .performance {
        padding: 80px 0;
    }

    .performance__announcement {
        padding: 3rem 2rem;
    }

    .performance__title-main {
        font-size: 2rem;
    }

    .performance__subtitle {
        font-size: 1.5rem;
    }

    .performance__positions {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .position-item {
        min-width: auto;
        width: 100%;
        max-width: 300px;
        padding: 1.8rem;
    }

    .performance__btn {
        font-size: 1.2rem;
        padding: 1.1rem 3rem;
    }
}

/* ==========================================================================
   Job Appeal Section
   ========================================================================== */

.job-appeal {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.job-appeal__content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.job-appeal__content p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* ==========================================================================
   Recommended Section Updates
   ========================================================================== */

.recommended__content h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0;
    color: white;
    line-height: 1.4;
}

.recommended__content p {
    display: none;
    /* テキストが長いので説明文は非表示 */
}

.recommended__item {
    min-height: auto;
    padding: 1.5rem;
}

@media (max-width: 768px) {
    .recommended__content h3 {
        font-size: 0.95rem;
    }

    .recommended__item {
        padding: 1.25rem;
    }
}

/* ==========================================================================
   レスポンシブ調整
   ========================================================================== */

@media (max-width: 480px) {
    .work-style__title {
        font-size: 1.5rem;
    }

    .recommended__title {
        font-size: 1.5rem;
    }

    .recommended__item {
        padding: 1.5rem;
    }

    .recommended__text {
        font-size: 1rem;
    }
}

/* ==========================================================================
   職種別魅力セクション
   ========================================================================== */

.job-appeal {
    padding: 100px 0;
}

.job-appeal__content {
    text-align: center;
    margin-bottom: 3rem;
}

.job-appeal__content p {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.job-appeal__video {
    max-width: 800px;
    margin: 0 auto;
}

.video-placeholder {
    background-color: var(--light-gray);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-placeholder:hover {
    transform: translateY(-5px);
}

.video-placeholder__thumbnail {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 aspect ratio */
    background-color: #e0e0e0;
}

.video-placeholder__thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.3s ease;
}

.video-placeholder:hover .video-placeholder__overlay {
    background: rgba(0, 0, 0, 0.6);
}

.video-placeholder__play {
    margin-bottom: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-placeholder:hover .video-placeholder__play {
    transform: scale(1.1);
}

.video-placeholder__text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.video-placeholder__text p {
    font-size: 1rem;
}

.video-placeholder__info {
    padding: 2rem;
    text-align: center;
}

.video-placeholder__info h4 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* ==========================================================================
   代表メッセージセクション
   ========================================================================== */

.ceo-message {
    background-color: var(--light-gray);
    padding: 100px 0;
}

.ceo-message__content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
}

.ceo-message__image {
    position: sticky;
    top: 100px;
}

.ceo-message__image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ceo-message__text {
    font-size: 1.05rem;
    line-height: 1.8;
}

.ceo-message__text p {
    margin-bottom: 1.5rem;
}

.ceo-message__greeting {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.ceo-message__closing {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-yellow);
}

.ceo-message__signature {
    text-align: right;
    font-weight: 600;
    margin-top: 2rem;
    color: var(--primary-blue);
}

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

    .ceo-message__image {
        position: static;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   事業内容セクション
   ========================================================================== */

.business {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 100%);
}

.business__video {
    max-width: 800px;
    margin: 0 auto 4rem;
}

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

.business__intro-section {
    text-align: center;
    margin-bottom: 4rem;
}

.business__intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.business__subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0;
}

.business__services {
    margin-bottom: 5rem;
}

.business__item {
    background: white;
    border-radius: 15px;
    padding: 0;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.business__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-yellow) 100%);
}

.business__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.business__item-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.business__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--accent-yellow);
    color: var(--primary-blue);
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(242, 160, 6, 0.3);
}

.business__item-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.business__item-content {
    padding: 2rem;
}

.business__item-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
    color: var(--text-dark);
}

.business__philosophy {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.business__philosophy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(74, 163, 223, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(242, 160, 6, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.business__philosophy-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.business__statement {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.business__environmental {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0;
}

.business__detailed-content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(74, 163, 223, 0.1);
}

.business__detail-section {
    margin-bottom: 2.5rem;
    padding-left: 2.2rem;
    position: relative;
}

.business__detail-section::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background: var(--accent-yellow);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.business__detail-section:last-child {
    margin-bottom: 0;
}

.business__detail-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.business__detail-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.business__detail-section p:last-child {
    margin-bottom: 0;
}

.business__mission-statement {
    font-weight: 700;
    color: var(--accent-yellow);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .business {
        padding: 80px 0;
    }

    .business__item-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }

    .business__item-header h3 {
        font-size: 1.1rem;
    }

    .business__item-content {
        padding: 1.5rem;
    }

    .business__philosophy {
        padding: 2rem;
    }

    .business__detailed-content {
        padding: 2rem;
    }

    .business__detail-section {
        padding-left: 2.5rem;
    }

    .business__statement {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   仕事の方針セクション
   ========================================================================== */

.work-policy {
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.work-policy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(74, 163, 223, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(242, 160, 6, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.work-policy__content {
    position: relative;
    z-index: 2;
}

/* メインビジュアル */
.work-policy__main-visual {
    margin-bottom: 5rem;
    text-align: center;
}

.work-policy__image-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.work-policy__image-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.work-policy__image-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.work-policy__image-container:hover img {
    transform: scale(1.05);
}

.work-policy__image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 3rem 2rem 2rem;
    color: white;
}

.work-policy__image-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* コンテンツグリッド */
.work-policy__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-bottom: 6rem;
}

/* カードスタイル */
.work-policy__card {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.work-policy__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-yellow) 100%);
}

.work-policy__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.work-policy__card-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.work-policy__card-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(242, 160, 6, 0.3);
}

.work-policy__card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-blue);
    ;
    stroke-width: 2.5;
}

.work-policy__card-header h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.work-policy__card-content {
    padding: 2.5rem;
    line-height: 1.8;
}

.work-policy__card-content p {
    margin-bottom: 1.2rem;
    color: var(--text-dark);
}

.work-policy__card-content p:last-child {
    margin-bottom: 0;
}

.work-policy__card-content strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.work-policy__emphasis {
    background: linear-gradient(135deg, rgba(74, 163, 223, 0.1) 0%, rgba(242, 160, 6, 0.1) 100%);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-yellow);
    font-weight: 600;
    color: var(--text-dark) !important;
    margin-top: 1rem !important;
}

/* チームワークセクション */
.work-policy__team-section {
    background: white;
    border-radius: 25px;
    padding: 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.work-policy__team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--accent-yellow) 0%, var(--primary-blue) 100%);
}

.work-policy__team-visual {
    position: relative;
}

.work-policy__team-visual img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.work-policy__team-content {
    padding: 3rem;
}

.work-policy__team-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.work-policy__team-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.work-policy__team-description>p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
}

.work-policy__roles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.work-policy__role {
    background: linear-gradient(135deg, rgba(74, 163, 223, 0.1) 0%, rgba(242, 160, 6, 0.1) 100%);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
    border: 2px solid rgba(74, 163, 223, 0.2);
    transition: all 0.3s ease;
}

.work-policy__role:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 25px rgba(74, 163, 223, 0.15);
}

.work-policy__role strong {
    color: var(--primary-blue);
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.work-policy__team-conclusion {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-yellow);
    margin-top: 2rem !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .work-policy {
        padding: 80px 0;
    }

    .work-policy__content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .work-policy__image-container {
        margin: 0 1rem;
    }

    .work-policy__image-container img {
        height: 250px;
    }

    .work-policy__image-title {
        font-size: 1.2rem;
    }

    .work-policy__card-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }

    .work-policy__card-header h4 {
        font-size: 1.1rem;
    }

    .work-policy__card-content {
        padding: 2rem 1.5rem;
    }

    .work-policy__team-content {
        padding: 2rem 1.5rem;
    }

    .work-policy__team-title {
        font-size: 1.5rem;
    }

    .work-policy__roles {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .work-policy__role {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .work-policy__image-container {
        margin: 0;
        border-radius: 15px;
    }

    .work-policy__image-overlay {
        padding: 2rem 1.5rem 1.5rem;
    }

    .work-policy__image-title {
        font-size: 1.1rem;
    }

    .work-policy__card-header h4 {
        font-size: 1rem;
    }

    .work-policy__team-title {
        font-size: 1.3rem;
    }
}

/* アニメーション強化 */
@keyframes card-float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

.work-policy__card:nth-child(odd) {
    animation: card-float 6s ease-in-out infinite;
    animation-delay: 1s;
}

.work-policy__card:nth-child(even) {
    animation: card-float 6s ease-in-out infinite;
    animation-delay: 3s;
}

/* ホバー時のアニメーション停止 */
.work-policy__card:hover {
    animation-play-state: paused;
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
    .work-policy__card {
        animation: none;
    }

    .work-policy__image-container:hover img {
        transform: none;
    }

    .work-policy__card:hover {
        transform: none;
    }
}

/* ==========================================================================
   チーム全員で「お客様にとってのベスト」を追求するセクション
   ========================================================================== */

.team-best {
    background: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.team-best::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(74, 163, 223, 0.06) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(242, 160, 6, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.team-best__content {
    position: relative;
    z-index: 2;
}

/* メインビジュアル */
.team-best__visual {
    margin-bottom: 4rem;
    text-align: center;
}

.team-best__image-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.team-best__image-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.2);
}

.team-best__image-container img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-best__image-container:hover img {
    transform: scale(1.03);
}

.team-best__image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(74, 163, 223, 0.8) 0%,
            rgba(46, 134, 193, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-best__image-container:hover .team-best__image-overlay {
    opacity: 1;
}

.team-best__overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.team-best__image-container:hover .team-best__overlay-content {
    transform: translateY(0);
}

.team-best__overlay-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.team-best__overlay-content p {
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* メインコンテンツ */
.team-best__main-content {
    max-width: 1000px;
    margin: 0 auto;
}

.team-best__description {
    text-align: center;
}

.team-best__intro {
    margin-bottom: 3rem;
}

.team-best__intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.team-best__intro strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.team-best__goal {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.1em;
    position: relative;
    display: inline-block;
}

.team-best__goal::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-yellow), #e6920a);
    border-radius: 2px;
}

/* 役割カードグリッド */
.team-best__roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.team-best__role-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.team-best__role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-yellow) 100%);
}

.team-best__role-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

.team-best__role-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.team-best__role-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(74, 163, 223, 0.3);
    transition: all 0.3s ease;
}

.team-best__role-card:hover .team-best__role-icon {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #e6920a 100%);
    box-shadow: 0 8px 25px rgba(242, 160, 6, 0.4);
    transform: scale(1.1);
}

.team-best__role-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2.5;
}

.team-best__role-header h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
}

.team-best__role-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    font-weight: 500;
}

/* 協力セクション */
.team-best__collaboration {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg,
            rgba(74, 163, 223, 0.1) 0%,
            rgba(242, 160, 6, 0.1) 100%);
    border-radius: 20px;
    border: 2px solid rgba(74, 163, 223, 0.2);
}

.team-best__collaboration p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0;
}

.team-best__collaboration strong {
    color: var(--primary-blue);
    font-weight: 700;
}

/* 哲学セクション */
.team-best__philosophy {
    margin-top: 3rem;
    text-align: center;
}

.team-best__philosophy-content {
    background: var(--primary-blue);
    color: white;
    padding: 3rem 2rem;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(74, 163, 223, 0.3);
}

.team-best__philosophy-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(242, 160, 6, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.team-best__philosophy-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, 50%);
}

.team-best__philosophy-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    color: white;
}

.team-best__philosophy-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.95);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .team-best {
        padding: 80px 0;
    }

    .team-best__image-container img {
        height: 250px;
    }

    .team-best__overlay-content h3 {
        font-size: 1.5rem;
    }

    .team-best__overlay-content p {
        font-size: 1rem;
    }

    .team-best__intro p {
        font-size: 1.1rem;
    }

    .team-best__roles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-best__role-card {
        padding: 1.5rem;
    }

    .team-best__role-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .team-best__role-header h4 {
        font-size: 1.2rem;
    }

    .team-best__collaboration {
        padding: 1.5rem;
    }

    .team-best__collaboration p {
        font-size: 1.1rem;
    }

    .team-best__philosophy-content {
        padding: 2.5rem 1.5rem;
    }

    .team-best__philosophy-content h4 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .team-best__image-container {
        margin: 0 1rem;
        border-radius: 20px;
    }

    .team-best__image-container img {
        height: 200px;
    }

    .team-best__intro p {
        font-size: 1rem;
    }

    .team-best__role-card {
        padding: 1.25rem;
    }

    .team-best__role-header h4 {
        font-size: 1.1rem;
    }

    .team-best__role-card p {
        font-size: 1rem;
    }

    .team-best__philosophy-content h4 {
        font-size: 1.2rem;
    }

    .team-best__philosophy-content p {
        font-size: 1rem;
    }
}

/* アニメーション効果 */
@keyframes role-card-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.team-best__role-card:nth-child(1) {
    animation: role-card-pulse 4s ease-in-out infinite;
    animation-delay: 0s;
}

.team-best__role-card:nth-child(2) {
    animation: role-card-pulse 4s ease-in-out infinite;
    animation-delay: 1.3s;
}

.team-best__role-card:nth-child(3) {
    animation: role-card-pulse 4s ease-in-out infinite;
    animation-delay: 2.6s;
}

/* ホバー時のアニメーション停止 */
.team-best__role-card:hover {
    animation-play-state: paused;
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
    .team-best__role-card {
        animation: none;
    }

    .team-best__image-container:hover img {
        transform: none;
    }

    .team-best__role-card:hover {
        transform: none;
    }

    .team-best__role-card:hover .team-best__role-icon {
        transform: none;
    }
}

/* ==========================================================================
   「未来を守る仕事」として、誇りを持って取り組むセクション
   ========================================================================== */

.future-protection {
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.future-protection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(46, 134, 193, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(242, 160, 6, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.future-protection__content {
    position: relative;
    z-index: 2;
}

/* メインビジュアル */
.future-protection__visual {
    margin-bottom: 4rem;
    text-align: center;
}

.future-protection__image-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.future-protection__image-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.2);
}

.future-protection__image-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.future-protection__image-container:hover img {
    transform: scale(1.03);
}

.future-protection__image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(46, 134, 193, 0.85) 0%,
            rgba(27, 79, 114, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.future-protection__image-container:hover .future-protection__image-overlay {
    opacity: 1;
}

.future-protection__overlay-content {
    text-align: center;
    color: white;
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.future-protection__image-container:hover .future-protection__overlay-content {
    transform: translateY(0);
}

.future-protection__icon {
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
    background: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(242, 160, 6, 0.4);
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(242, 160, 6, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(242, 160, 6, 0.6);
    }
}

.future-protection__icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary-blue);
    stroke-width: 2;
}

.future-protection__overlay-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.future-protection__overlay-content p {
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

/* メインコンテンツ */
.future-protection__main-content {
    max-width: 1000px;
    margin: 0 auto;
}

.future-protection__description {
    text-align: center;
}

.future-protection__intro {
    margin-bottom: 4rem;
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.future-protection__intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-yellow) 100%);
}

.future-protection__intro p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0;
}

.future-protection__intro strong {
    color: var(--primary-blue);
    font-weight: 700;
    position: relative;
}

/* ポイントセクション */
.future-protection__points {
    margin-bottom: 4rem;
}

.future-protection__point {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.future-protection__point::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--accent-yellow) 100%);
}

.future-protection__point:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}
/* 
.future-protection__point:nth-child(even) {
    flex-direction: row-reverse;
}

.future-protection__point:nth-child(even)::before {
    left: auto;
    right: 0;
}

.future-protection__point:nth-child(even):hover {
    transform: translateX(-10px);
} */

.future-protection__point-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(74, 163, 223, 0.3);
    transition: all 0.3s ease;
}

.future-protection__point:hover .future-protection__point-icon {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #e6920a 100%);
    box-shadow: 0 12px 35px rgba(242, 160, 6, 0.4);
    transform: scale(1.1);
}

.future-protection__point-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
    stroke-width: 2.5;
}

.future-protection__point-content {
    flex: 1;
    text-align: left;
}

/* .future-protection__point:nth-child(even) .future-protection__point-content {
    text-align: right;
} */

.future-protection__point-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.future-protection__point-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0;
}

/* ミッションセクション */
.future-protection__mission {
    text-align: center;
}

.future-protection__mission-content {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 3.5rem 3rem;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(74, 163, 223, 0.3);
}

.future-protection__mission-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(242, 160, 6, 0.2) 0%, transparent 70%);
    animation: mission-glow 8s ease-in-out infinite;
}

@keyframes mission-glow {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.2;
    }

    50% {
        transform: translate(-20px, -20px) scale(1.1);
        opacity: 0.4;
    }
}

.future-protection__mission-content::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: mission-glow 6s ease-in-out infinite reverse;
}

.future-protection__mission-content p {
    font-size: 1.4rem;
    line-height: 1.8;
    margin: 0;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.future-protection__mission-content strong {
    font-weight: 700;
    color: white;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .future-protection {
        padding: 80px 0;
    }

    .future-protection__image-container img {
        height: 280px;
    }

    .future-protection__icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .future-protection__icon svg {
        width: 30px;
        height: 30px;
    }

    .future-protection__overlay-content h3 {
        font-size: 1.5rem;
    }

    .future-protection__overlay-content p {
        font-size: 1rem;
    }

    .future-protection__intro {
        padding: 2rem;
        margin-bottom: 3rem;
    }

    .future-protection__intro p {
        font-size: 1.1rem;
    }

    .future-protection__point {
        flex-direction: column !important;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
        margin-bottom: 2rem;
    }

    /* .future-protection__point:nth-child(even) .future-protection__point-content {
        text-align: center;
    } */

    .future-protection__point:hover {
        transform: translateY(-5px);
    }

    /* .future-protection__point:nth-child(even):hover {
        transform: translateY(-5px);
    } */

    .future-protection__point-content h4 {
        font-size: 1.2rem;
    }

    .future-protection__point-content p {
        font-size: 1rem;
    }

    .future-protection__mission-content {
        padding: 2.5rem 2rem;
    }

    .future-protection__mission-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .future-protection__image-container {
        margin: 0 1rem;
        border-radius: 20px;
    }

    .future-protection__image-container img {
        height: 220px;
    }

    .future-protection__intro {
        padding: 1.5rem;
    }

    .future-protection__intro p {
        font-size: 1rem;
    }

    .future-protection__point {
        padding: 1.5rem;
    }

    .future-protection__point-content h4 {
        font-size: 1.1rem;
    }

    .future-protection__mission-content {
        padding: 2rem 1.5rem;
    }

    .future-protection__mission-content p {
        font-size: 1.1rem;
    }
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
    .future-protection__icon {
        animation: none;
    }

    .future-protection__mission-content::before,
    .future-protection__mission-content::after {
        animation: none;
    }

    .future-protection__image-container:hover img {
        transform: none;
    }

    .future-protection__point:hover {
        transform: none;
    }

    .future-protection__point:hover .future-protection__point-icon {
        transform: none;
    }
}

/* ==========================================================================
   1日の働き方のイメージセクション - JSタブ切り替え対応版
   ========================================================================== */

.daily-schedule {
    background: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.daily-schedule::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(74, 163, 223, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(242, 160, 6, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.daily-schedule__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

/* タイムラインエリア - 中央表示 */
.daily-schedule__timeline {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    width: 100%;
}

.timeline {
    position: relative;
    padding-left: 0;
}

/* 縦線 - デフォルト */
.timeline::before {
    content: '';
    position: absolute;
    left: 150px;
    top: 30px;
    bottom: 30px;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--accent-yellow) 100%);
    border-radius: 2px;
    transition: background 0.3s ease;
}

/* 営業職タブがアクティブな時の縦線 */
.schedule-tab[data-tab="sales"].active ~ .daily-schedule__timeline .timeline::before,
[data-current-schedule="sales"] .timeline::before {
    background: linear-gradient(180deg, #171c61 0%, #2e86c1 100%);
}

/* 職人・技術職タブがアクティブな時の縦線 */
.schedule-tab[data-tab="craftsman"].active ~ .daily-schedule__timeline .timeline::before,
[data-current-schedule="craftsman"] .timeline::before {
    background: linear-gradient(180deg, #e53935 0%, #c62828 100%);
}

/* 事務職タブがアクティブな時の縦線 */
.schedule-tab[data-tab="office"].active ~ .daily-schedule__timeline .timeline::before,
[data-current-schedule="office"] .timeline::before {
    background: linear-gradient(180deg, #ad1457 0%, #f8bbd9 100%);
}

.timeline__item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2.5rem;
    min-height: 80px;
}

.timeline__item:last-child {
    margin-bottom: 0;
}

/* タイムラインドット - デフォルト */
.timeline__item::before {
    content: '';
    position: absolute;
    left: 134px;
    top: 15px;
    width: 27px;
    height: 27px;
    background: var(--accent-yellow);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--primary-blue);
    z-index: 2;
    transition: all 0.3s ease;
}

/* 営業職のドット */
.schedule-tab[data-tab="sales"].active ~ .daily-schedule__timeline .timeline__item::before,
[data-current-schedule="sales"] .timeline__item::before {
    background: #2e86c1;
    box-shadow: 0 0 0 3px #171c61;
}

/* 職人・技術職のドット */
.schedule-tab[data-tab="craftsman"].active ~ .daily-schedule__timeline .timeline__item::before,
[data-current-schedule="craftsman"] .timeline__item::before {
    background: #c62828;
    box-shadow: 0 0 0 3px #e53935;
}

/* 事務職のドット */
.schedule-tab[data-tab="office"].active ~ .daily-schedule__timeline .timeline__item::before,
[data-current-schedule="office"] .timeline__item::before {
    background: #f8bbd9;
    box-shadow: 0 0 0 3px #ad1457;
}

.timeline__time {
    flex-shrink: 0;
    width: 140px;
    text-align: right;
    padding-right: 2rem;
}

/* time-badge - デフォルト */
.time-badge {
    display: block;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    box-shadow: 0 3px 10px rgba(74, 163, 223, 0.3);
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* 営業職のtime-badge */
.schedule-tab[data-tab="sales"].active ~ .daily-schedule__timeline .time-badge,
[data-current-schedule="sales"] .time-badge {
    background: linear-gradient(135deg, #171c61 0%, #2e86c1 100%) !important;
    box-shadow: 0 3px 10px rgba(23, 28, 97, 0.3) !important;
    color: white !important;
}

/* 職人・技術職のtime-badge */
.schedule-tab[data-tab="craftsman"].active ~ .daily-schedule__timeline .time-badge,
[data-current-schedule="craftsman"] .time-badge {
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%) !important;
    box-shadow: 0 3px 10px rgba(229, 57, 53, 0.3) !important;
    color: white !important;
}

/* 事務職のtime-badge */
.schedule-tab[data-tab="office"].active ~ .daily-schedule__timeline .time-badge,
[data-current-schedule="office"] .time-badge {
    background: linear-gradient(135deg, #ad1457 0%, #f8bbd9 100%) !important;
    color: #880e4f !important;
    box-shadow: 0 3px 10px rgba(173, 20, 87, 0.3) !important;
}

.time-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

/* 営業職のtime-label */
.schedule-tab[data-tab="sales"].active ~ .daily-schedule__timeline .time-label,
[data-current-schedule="sales"] .time-label {
    color: #171c61;
}

/* 職人・技術職のtime-label */
.schedule-tab[data-tab="craftsman"].active ~ .daily-schedule__timeline .time-label,
[data-current-schedule="craftsman"] .time-label {
    color: #e53935;
}

/* 事務職のtime-label */
.schedule-tab[data-tab="office"].active ~ .daily-schedule__timeline .time-label,
[data-current-schedule="office"] .time-label {
    color: #ad1457;
}

.timeline__content {
    flex: 1;
    padding-top: 0.25rem;
}

.timeline__content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    background: linear-gradient(135deg, rgba(74, 163, 223, 0.05) 0%, rgba(242, 160, 6, 0.05) 100%);
    padding: 1.25rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
}

/* 営業職のコンテンツ */
.schedule-tab[data-tab="sales"].active ~ .daily-schedule__timeline .timeline__content p,
[data-current-schedule="sales"] .timeline__content p {
    background: linear-gradient(135deg, rgba(23, 28, 97, 0.05) 0%, rgba(46, 134, 193, 0.05) 100%);
    border-left-color: #171c61;
}

/* 職人・技術職のコンテンツ */
.schedule-tab[data-tab="craftsman"].active ~ .daily-schedule__timeline .timeline__content p,
[data-current-schedule="craftsman"] .timeline__content p {
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.05) 0%, rgba(198, 40, 40, 0.05) 100%);
    border-left-color: #e53935;
}

/* 事務職のコンテンツ */
.schedule-tab[data-tab="office"].active ~ .daily-schedule__timeline .timeline__content p,
[data-current-schedule="office"] .timeline__content p {
    background: linear-gradient(135deg, rgba(173, 20, 87, 0.05) 0%, rgba(248, 187, 217, 0.05) 100%);
    border-left-color: #ad1457;
}

/* 職種選択タブ - 職種別カラー対応 */
.daily-schedule__tabs {
    margin-top: 3rem;
    text-align: center;
}

.schedule-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.schedule-tab {
    background: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    min-width: 100px;
}

.schedule-tab:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
}

.schedule-tab.active {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 5px 15px rgba(74, 163, 223, 0.3);
}

/* 営業職タブ */
.schedule-tab[data-tab="sales"] {
    border-color: #171c61;
    color: #171c61;
}

.schedule-tab[data-tab="sales"]:hover {
    background: rgba(23, 28, 97, 0.1);
}

.schedule-tab[data-tab="sales"].active {
    background: #171c61;
    color: white;
    box-shadow: 0 5px 15px rgba(23, 28, 97, 0.3);
}

/* 職人・技術職タブ */
.schedule-tab[data-tab="craftsman"] {
    border-color: #e53935;
    color: #e53935;
}

.schedule-tab[data-tab="craftsman"]:hover {
    background: rgba(229, 57, 53, 0.1);
}

.schedule-tab[data-tab="craftsman"].active {
    background: #e53935;
    color: white;
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.3);
}

/* 事務職タブ */
.schedule-tab[data-tab="office"] {
    border-color: #ad1457;
    color: #ad1457;
}

.schedule-tab[data-tab="office"]:hover {
    background: rgba(173, 20, 87, 0.1);
}

.schedule-tab[data-tab="office"].active {
    background: #ad1457;
    color: white;
    box-shadow: 0 5px 15px rgba(173, 20, 87, 0.3);
}

.schedule-note {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.9rem;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .timeline::before {
        left: 130px;
    }

    .timeline__item::before {
        left: 118px;
    }

    .timeline__time {
        width: 120px;
        padding-right: 1.75rem;
    }
}

@media (max-width: 768px) {
    .daily-schedule {
        padding: 80px 0;
    }

    .daily-schedule__content {
        padding: 0 1rem;
    }

    .daily-schedule__timeline {
        padding: 1.5rem;
        margin: 0 auto;
    }

    /* モバイル用タイムライン調整 */
    .timeline::before {
        left: 30px;
        top: 25px;
    }

    .timeline__item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 60px;
        margin-bottom: 2rem;
    }

    .timeline__item::before {
        left: 18px;
        top: 8px;
        width: 24px;
        height: 24px;
    }

    .timeline__time {
        width: auto;
        text-align: left;
        padding-right: 0;
        margin-bottom: 0.75rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .time-badge {
        margin-bottom: 0;
        font-size: 0.8rem;
    }

    .time-label {
        font-size: 0.85rem;
    }

    .timeline__content {
        padding-top: 0;
        width: 100%;
    }

    .timeline__content p {
        font-size: 0.9rem;
        padding: 1rem;
    }

    .schedule-tabs {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .schedule-tab {
        width: 200px;
        padding: 0.6rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .daily-schedule__timeline {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .timeline__item {
        padding-left: 50px;
    }

    .timeline__item::before {
        left: 15px;
        width: 20px;
        height: 20px;
    }

    .timeline::before {
        left: 24px;
    }

    .timeline__content p {
        padding: 0.875rem;
        font-size: 0.85rem;
    }

    .time-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
    }

    .time-label {
        font-size: 0.8rem;
    }

    .schedule-tab {
        width: 100%;
        max-width: 250px;
    }
}

/* アニメーション効果 */
@keyframes timeline-slide {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline__item {
    animation: timeline-slide 0.6s ease-out both;
    animation-delay: calc(var(--item-index, 0) * 0.15s);
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
    .timeline__item {
        animation: none;
    }

    .schedule-tab:hover {
        transform: none;
    }
    
    .timeline::before,
    .timeline__item::before,
    .time-badge,
    .time-label,
    .timeline__content p {
        transition: none;
    }
}

/* 職種別 time-badge */
.time-badge--sales {
    background: linear-gradient(135deg, #171c61 0%, #2e86c1 100%) !important;
    box-shadow: 0 3px 10px rgba(23, 28, 97, 0.3) !important;
    color: white !important;
}

.time-badge--craftsman {
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%) !important;
    box-shadow: 0 3px 10px rgba(229, 57, 53, 0.3) !important;
    color: white !important;
}

.time-badge--office {
    background: linear-gradient(135deg, #ad1457 0%, #f8bbd9 100%) !important;
    box-shadow: 0 3px 10px rgba(173, 20, 87, 0.3) !important;
}

/* 職種別 time-label */
.time-label--sales {
    color: #171c61 !important;
}

.time-label--craftsman {
    color: #e53935 !important;
}

.time-label--office {
    color: #ad1457 !important;
}

/* 職種別タイムライン */
.timeline--sales::before {
    background: linear-gradient(180deg, #171c61 0%, #2e86c1 100%) !important;
}

.timeline--craftsman::before {
    background: linear-gradient(180deg, #e53935 0%, #c62828 100%) !important;
}

.timeline--office::before {
    background: linear-gradient(180deg, #ad1457 0%, #f8bbd9 100%) !important;
}

/* 職種別ドット */
.timeline--sales .timeline__item::before {
    background: #2e86c1 !important;
    box-shadow: 0 0 0 3px #171c61 !important;
}

.timeline--craftsman .timeline__item::before {
    background: #c62828 !important;
    box-shadow: 0 0 0 3px #e53935 !important;
}

.timeline--office .timeline__item::before {
    background: #f8bbd9 !important;
    box-shadow: 0 0 0 3px #ad1457 !important;
}

/* 職種別コンテンツ */
.timeline--sales .timeline__content p {
    background: linear-gradient(135deg, rgba(23, 28, 97, 0.05) 0%, rgba(46, 134, 193, 0.05) 100%) !important;
    border-left-color: #171c61 !important;
}

.timeline--craftsman .timeline__content p {
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.05) 0%, rgba(198, 40, 40, 0.05) 100%) !important;
    border-left-color: #e53935 !important;
}

.timeline--office .timeline__content p {
    background: linear-gradient(135deg, rgba(173, 20, 87, 0.05) 0%, rgba(248, 187, 217, 0.05) 100%) !important;
    border-left-color: #ad1457 !important;
}

/* ==========================================================================
   どんな人が働いているの？職場の雰囲気は？セクション
   ========================================================================== */

.workplace-atmosphere {
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.workplace-atmosphere::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(74, 163, 223, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(242, 160, 6, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.workplace-atmosphere__content {
    position: relative;
    z-index: 2;
}

/* メインビジュアル */
.workplace-atmosphere__visual {
    margin-bottom: 4rem;
    text-align: center;
}

.workplace-atmosphere__image-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.workplace-atmosphere__image-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.2);
}

.workplace-atmosphere__image-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.workplace-atmosphere__image-container:hover img {
    transform: scale(1.03);
}

.workplace-atmosphere__image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(74, 163, 223, 0.85) 0%,
            rgba(46, 134, 193, 0.9) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    color: white;
    text-align: center;
}

.workplace-atmosphere__image-container:hover .workplace-atmosphere__image-overlay {
    opacity: 1;
}

.workplace-atmosphere__overlay-content {
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.workplace-atmosphere__image-container:hover .workplace-atmosphere__overlay-content {
    transform: translateY(0);
}

.workplace-atmosphere__stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    min-width: 120px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.workplace-atmosphere__overlay-content>p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* メインコンテンツ */
.workplace-atmosphere__main-content {
    max-width: 1000px;
    margin: 0 auto;
}

.workplace-atmosphere__description {
    text-align: center;
}

.workplace-atmosphere__intro {
    margin-bottom: 4rem;
}

.workplace-atmosphere__intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.workplace-atmosphere__intro p:last-child {
    margin-bottom: 0;
}

/* 価値観カード */
.workplace-atmosphere__values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.value-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-yellow) 100%);
}

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

.value-card__icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(74, 163, 223, 0.3);
    transition: all 0.3s ease;
}

.value-card:hover .value-card__icon {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #e6920a 100%);
    box-shadow: 0 12px 35px rgba(242, 160, 6, 0.4);
    transform: scale(1.1);
}

.value-card__icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
    stroke-width: 2.5;
}

.value-card__content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.value-card__content p {
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
}

/* 文化セクション */
.workplace-atmosphere__culture {
    margin-top: 4rem;
}

.culture-point {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.culture-point::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--accent-yellow) 100%);
}

.culture-point:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.culture-point:nth-child(even) {
    flex-direction: row-reverse;
}

.culture-point:nth-child(even)::before {
    left: auto;
    right: 0;
}

.culture-point:nth-child(even):hover {
    transform: translateX(-10px);
}

.culture-point__icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(74, 163, 223, 0.1) 0%, rgba(242, 160, 6, 0.1) 100%);
    border: 3px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.culture-point:hover .culture-point__icon {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-yellow) 100%);
    border-color: var(--accent-yellow);
    transform: scale(1.1);
}

.culture-point__content {
    flex: 1;
    text-align: left;
}

.culture-point:nth-child(even) .culture-point__content {
    text-align: right;
}

.culture-point__content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.culture-point__content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0;
}

/* サマリーセクション */
.workplace-atmosphere__summary {
    text-align: center;
    margin: 3rem 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(74, 163, 223, 0.3);
}

.workplace-atmosphere__summary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(242, 160, 6, 0.2) 0%, transparent 70%);
    animation: summary-glow 8s ease-in-out infinite;
}

@keyframes summary-glow {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.2;
    }

    50% {
        transform: translate(-30px, -30px) scale(1.1);
        opacity: 0.4;
    }
}

.summary-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin: 0;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .workplace-atmosphere {
        padding: 80px 0;
    }

    .workplace-atmosphere__image-container img {
        height: 280px;
    }

    .workplace-atmosphere__stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .stat-item {
        min-width: 150px;
    }

    .workplace-atmosphere__intro p {
        font-size: 1rem;
    }

    .workplace-atmosphere__values {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .value-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
    }

    .culture-point {
        flex-direction: column !important;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
    }

    .culture-point:nth-child(even) .culture-point__content {
        text-align: center;
    }

    .culture-point:hover {
        transform: translateY(-5px);
    }

    .culture-point:nth-child(even):hover {
        transform: translateY(-5px);
    }

    .culture-point__content h4 {
        font-size: 1.2rem;
    }

    .culture-point__content p {
        font-size: 1rem;
    }

    .workplace-atmosphere__summary {
        padding: 2rem;
    }

    .summary-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .workplace-atmosphere__image-container {
        margin: 0 1rem;
        border-radius: 20px;
    }

    .workplace-atmosphere__image-container img {
        height: 220px;
    }

    .value-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .culture-point {
        padding: 1.5rem;
        margin: 0 1rem 2rem 1rem;
    }

    .culture-point__icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .culture-point__content h4 {
        font-size: 1.1rem;
    }

    .workplace-atmosphere__summary {
        padding: 1.5rem;
        margin: 2rem 1rem;
    }

    .summary-text {
        font-size: 1.1rem;
    }
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
    .workplace-atmosphere__summary::before {
        animation: none;
    }

    .workplace-atmosphere__image-container:hover img {
        transform: none;
    }

    .culture-point:hover {
        transform: none;
    }

    .value-card:hover .value-card__icon {
        transform: none;
    }
}

/* ==========================================================================
   スタッフセクション
   ========================================================================== */

.staff {
    background-color: var(--light-gray);
    padding: 100px 0;
}

.staff__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.staff__image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.staff__text {
    font-size: 1.05rem;
    line-height: 1.8;
}

.staff__text p {
    margin-bottom: 1.5rem;
}

.staff__subtitle {
    font-size: 1.8rem;
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.staff__subtitle-desc {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.staff__message {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.staff__message-image {
    margin-bottom: 2rem;
}

.staff__message-image img {
    max-width: 100%;
    border-radius: 10px;
}

.staff__message p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* スタッフインタビュー */
.staff__interviews {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.staff-interview {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.staff-interview__header {
    background: var(--primary-blue);
    color: white;
    padding: 1.5rem 2rem;
}

.staff-interview__header h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.staff-interview__title {
    font-size: 1.4rem;
    font-weight: 600;
}

.staff-interview__content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    padding: 2rem;
}

.staff-interview__image img {
    width: 100%;
    border-radius: 10px;
}

.staff-interview__text {
    line-height: 1.8;
}

.staff-interview__text p {
    margin-bottom: 1.5rem;
}

.staff-interview__text h5 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

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

    .staff-interview__content {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   スタッフ紹介セクション
   ========================================================================== */

.staff-introduction {
    background: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.staff-introduction::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(74, 163, 223, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(242, 160, 6, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.staff-introduction__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

/* スタッフメンバー */
.staff-member {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: center;
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.staff-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-yellow) 100%);
}

.staff-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

/* 逆配置（奇数行） */
.staff-member--reverse {
    grid-template-columns: 350px 1fr;
}

.staff-member--reverse::before {
    background: linear-gradient(90deg, var(--accent-yellow) 0%, var(--primary-blue) 100%);
}

/* スタッフコンテンツ */
.staff-member__content {
    padding: 1rem 0;
}

.staff-member__header {
    margin-bottom: 2rem;
}

.staff-member__header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.4;
    margin: 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(74, 163, 223, 0.1) 0%, rgba(242, 160, 6, 0.1) 100%);
    border-radius: 15px;
    border-left: 5px solid var(--primary-blue);
}

.staff-member__message {
    line-height: 1.8;
}

.staff-member__message p {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.staff-member__message p:last-child {
    margin-bottom: 0;
}

.staff-member__message strong {
    color: var(--primary-blue);
    font-weight: 700;
}

/* スタッフプロフィール */
.staff-member__profile {
    text-align: center;
}

.staff-member__image {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.staff-member__image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.staff-member__image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.staff-member__image:hover img {
    transform: scale(1.05);
}

.staff-member__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(74, 163, 223, 0.8) 0%,
            rgba(46, 134, 193, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.staff-member__image:hover .staff-member__overlay {
    opacity: 1;
}

.staff-member__role-badge {
    background: var(--accent-yellow);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(242, 160, 6, 0.4);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.staff-member__image:hover .staff-member__role-badge {
    transform: translateY(0);
}

.staff-member__info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.staff-member__info p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
    font-weight: 500;
}

/* 特別なスタイリング */
.staff-member:nth-child(1) .staff-member__header h3 {
    border-left-color: var(--primary-blue);
}

.staff-member:nth-child(2) .staff-member__header h3 {
    border-left-color: var(--accent-yellow);
    background: linear-gradient(135deg, rgba(242, 160, 6, 0.1) 0%, rgba(74, 163, 223, 0.1) 100%);
}

.staff-member:nth-child(3) .staff-member__header h3 {
    border-left-color: var(--secondary-blue);
    background: linear-gradient(135deg, rgba(46, 134, 193, 0.1) 0%, rgba(242, 160, 6, 0.1) 100%);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .staff-member {
        grid-template-columns: 1fr 300px;
        gap: 2.5rem;
        padding: 2.5rem;
    }

    .staff-member--reverse {
        grid-template-columns: 300px 1fr;
    }

    .staff-member__image img {
        height: 250px;
    }

    .staff-member__header h3 {
        font-size: 1.3rem;
        padding: 1.25rem;
    }

    .staff-member__message p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .staff-introduction {
        padding: 80px 0;
    }

    .staff-introduction__content {
        gap: 3rem;
    }

    .staff-member,
    .staff-member--reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
        text-align: center;
    }

    .staff-member__profile {
        order: -1;
        /* プロフィール画像を上に */
    }

    .staff-member__image {
        max-width: 300px;
        margin: 0 auto 1.5rem auto;
    }

    .staff-member__image img {
        height: 300px;
    }

    .staff-member__header h3 {
        font-size: 1.2rem;
        padding: 1rem;
        text-align: left;
    }

    .staff-member__message {
        text-align: left;
    }

    .staff-member__message p {
        font-size: 0.95rem;
    }

    .staff-member__info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .staff-member {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .staff-member__image {
        max-width: 250px;
    }

    .staff-member__image img {
        height: 250px;
    }

    .staff-member__header h3 {
        font-size: 1.1rem;
        padding: 0.875rem;
    }

    .staff-member__message p {
        font-size: 0.9rem;
    }

    .staff-member__info h4 {
        font-size: 1.2rem;
    }

    .staff-member__info p {
        font-size: 0.9rem;
    }
}

/* アニメーション効果 */
@keyframes staff-slide-in {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes staff-slide-in-reverse {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.staff-member {
    animation: staff-slide-in 0.8s ease-out both;
    animation-delay: calc(var(--staff-index, 0) * 0.3s);
}

.staff-member--reverse {
    animation: staff-slide-in-reverse 0.8s ease-out both;
}

.staff-member:nth-child(1) {
    --staff-index: 0;
}

.staff-member:nth-child(2) {
    --staff-index: 1;
}

.staff-member:nth-child(3) {
    --staff-index: 2;
}

/* ホバー時の詳細表示 */
.staff-member:hover .staff-member__message {
    transform: translateY(-2px);
}

/* 引用部分のスタイリング */
.staff-member__message p:last-child {
    background: linear-gradient(135deg, rgba(74, 163, 223, 0.05) 0%, rgba(242, 160, 6, 0.05) 100%);
    padding: 1.25rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-yellow);
    margin-top: 1.5rem !important;
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
    .staff-member {
        animation: none;
    }

    .staff-member__image:hover img {
        transform: none;
    }

    .staff-member:hover {
        transform: none;
    }

    .staff-member__role-badge {
        transform: none;
    }

    .staff-member__image:hover .staff-member__role-badge {
        transform: none;
    }
}

/* ==========================================================================
   募集中の職種セクション
   ========================================================================== */

.job-positions {
    padding: 100px 0;
}

.job-positions__list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.job-position {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.job-position__title {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 2rem;
    font-size: 1.5rem;
    text-align: center;
}

.job-position__details {
    padding: 2rem;
}

.job-position__table {
    width: 100%;
    margin-bottom: 2rem;
}

.job-position__table th {
    background: var(--light-blue);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    width: 150px;
    vertical-align: top;
}

.job-position__table td {
    padding: 1rem;
    line-height: 1.8;
}

.job-position__table tr {
    border-bottom: 1px solid #eee;
}

.job-position__table .note {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: var(--accent-yellow);
    font-weight: 600;
}

/* ==========================================================================
   応募・選考の流れセクション
   ========================================================================== */

.application-flow {
    background-color: var(--light-gray);
    padding: 100px 0;
}

.application-flow__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.flow-step {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-5px);
}

.flow-step__number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--accent-yellow);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(242, 160, 6, 0.3);
}

.flow-step__title {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    margin-top: 2rem;
    text-align: center;
}

.flow-step__desc {
    line-height: 1.6;
    text-align: center;
}

/* ==========================================================================
   応募・お問い合わせセクション
   ========================================================================== */

.application-contact {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.application-contact .section__title {
    color: white;
}

.application-contact .section__title::after {
    background-color: var(--accent-yellow);
}

.application-contact__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-method {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 3rem 2rem;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.contact-method h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.contact-method__icon {
    margin-bottom: 1.5rem;
}

.contact-method__icon svg {
    stroke: var(--accent-yellow);
}

.contact-method__note {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.contact-method__phone {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.contact-method__phone a {
    color: white;
}

.contact-method__hours {
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .application-contact__content {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   職種別魅力セクション
   ========================================================================== */

.job-appeal {
    padding: 100px 0;
}

.job-appeal__content {
    text-align: center;
    margin-bottom: 3rem;
}

.job-appeal__content p {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.job-appeal__video {
    max-width: 800px;
    margin: 0 auto;
}

.video-placeholder {
    background-color: var(--light-gray);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-placeholder:hover {
    transform: translateY(-5px);
}

.video-placeholder__thumbnail {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 aspect ratio */
    background-color: #e0e0e0;
}

.video-placeholder__thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.3s ease;
}

.video-placeholder:hover .video-placeholder__overlay {
    background: rgba(0, 0, 0, 0.6);
}

.video-placeholder__play {
    margin-bottom: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-placeholder:hover .video-placeholder__play {
    transform: scale(1.1);
}

.video-placeholder__text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.video-placeholder__text p {
    font-size: 1rem;
}

.video-placeholder__info {
    padding: 2rem;
    text-align: center;
}

.video-placeholder__info h4 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* ==========================================================================
   代表メッセージセクション
   ========================================================================== */

.ceo-message {
    background-color: var(--light-gray);
    padding: 100px 0;
}

.ceo-message__content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
}

.ceo-message__image {
    position: sticky;
    top: 100px;
}

.ceo-message__image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ceo-message__text {
    font-size: 1.05rem;
    line-height: 1.8;
}

.ceo-message__text p {
    margin-bottom: 1.5rem;
}

.ceo-message__greeting {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.ceo-message__closing {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.ceo-message__signature {
    text-align: right;
    font-weight: 600;
    margin-top: 2rem;
    color: var(--primary-blue);
}

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

    .ceo-message__image {
        position: static;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   事業内容セクション
   ========================================================================== */

.business {
    padding: 100px 0;
}

.business__video {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.business__content {
    max-width: 900px;
    margin: 0 auto;
}

.business__intro {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.business__subtitle {
    font-size: 1.2rem;
    text-align: center;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 3rem;
}

.business__list {
    margin-bottom: 4rem;
}

.business__item {
    background: white;
    border-left: 4px solid var(--primary-blue);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.business__item:hover {
    transform: translateX(10px);
}

/* ==========================================================================
   応募・選考の流れセクション（縦並び・すっきり版）
   ========================================================================== */

.application-flow {
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 100px 0;
    position: relative;
}

.application-flow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(74, 163, 223, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(242, 160, 6, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.application-flow__content {
    position: relative;
    z-index: 2;
}

/* タイムライン（縦並び） */
.application-flow__timeline {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    position: relative;
}

/* 縦のメインライン */
.application-flow__timeline::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 30px;
    bottom: 30px;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--accent-yellow) 100%);
    border-radius: 2px;
}

.timeline-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding-left: 0;
}

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

/* ステップマーカー */
.timeline-step__marker {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(74, 163, 223, 0.3);
    border: 4px solid white;
    transition: all 0.3s ease;
}

.timeline-step:hover .step-number {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #e6920a 100%);
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(242, 160, 6, 0.4);
}

/* ステップコンテンツ */
.timeline-step__content {
    flex: 1;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    margin-top: 10px;
}

.timeline-step__content::before {
    content: '';
    position: absolute;
    top: 35px;
    left: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid white;
}

.timeline-step:hover .timeline-step__content {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(74, 163, 223, 0.2);
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.step-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1.3;
}

.step-duration {
    background: var(--accent-yellow);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(242, 160, 6, 0.3);
}

.timeline-step__content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
}

/* 注意事項（簡潔版） */
.application-flow__note {
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.note-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(74, 163, 223, 0.1);
    text-align: center;
}

.note-card__content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.note-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.note-item {
    background: linear-gradient(135deg, rgba(74, 163, 223, 0.1) 0%, rgba(242, 160, 6, 0.1) 100%);
    padding: 1.25rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
    text-align: left;
    transition: all 0.3s ease;
}

.note-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 163, 223, 0.15);
}

.note-item strong {
    display: block;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.note-item span {
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* CTA（簡潔版） */
.application-flow__cta {
    text-align: center;
}

.cta-content {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(74, 163, 223, 0.25);
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-buttons .btn--primary {
    background: var(--accent-yellow);
    border: 2px solid var(--accent-yellow);
    color: white;
}

.cta-buttons .btn--primary:hover {
    background: #e6920a;
    border-color: #e6920a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(242, 160, 6, 0.4);
}

.cta-buttons .btn--secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-buttons .btn--secondary:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .application-flow {
        padding: 80px 0;
    }

    .application-flow__timeline::before {
        left: 25px;
    }

    .timeline-step {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }

    .timeline-step__content {
        padding: 1.5rem;
        margin-top: 0;
    }

    .timeline-step__content::before {
        top: 20px;
        left: -8px;
        border-right-width: 8px;
        border-top-width: 8px;
        border-bottom-width: 8px;
    }

    .step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .step-header h3 {
        font-size: 1.2rem;
    }

    .timeline-step__content p {
        font-size: 0.95rem;
    }

    .note-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .note-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cta-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .cta-content h3 {
        font-size: 1.3rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        min-width: 220px;
    }

    .timeline-step:hover .timeline-step__content {
        transform: translateX(5px);
    }
}

@media (max-width: 480px) {
    .application-flow__timeline::before {
        left: 20px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .timeline-step {
        gap: 1rem;
    }

    .timeline-step__content {
        padding: 1.25rem;
    }

    .step-header h3 {
        font-size: 1.1rem;
    }

    .step-duration {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }

    .timeline-step__content p {
        font-size: 0.9rem;
    }

    .note-card {
        padding: 1.5rem 1rem;
        margin: 0;
    }

    .note-card__content h4 {
        font-size: 1.2rem;
    }

    .note-item {
        padding: 1rem;
    }

    .cta-content {
        padding: 1.5rem 1rem;
        margin: 0;
    }

    .cta-content h3 {
        font-size: 1.2rem;
    }

    .cta-buttons .btn {
        min-width: 180px;
        padding: 0.875rem 1.25rem;
    }
}

/* アニメーション効果 */
@keyframes timeline-fade-in {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-step {
    animation: timeline-fade-in 0.6s ease-out both;
    animation-delay: calc(var(--step-index, 0) * 0.15s);
}

.timeline-step:nth-child(1) {
    --step-index: 0;
}

.timeline-step:nth-child(2) {
    --step-index: 1;
}

.timeline-step:nth-child(3) {
    --step-index: 2;
}

.timeline-step:nth-child(4) {
    --step-index: 3;
}

.timeline-step:nth-child(5) {
    --step-index: 4;
}

.timeline-step:nth-child(6) {
    --step-index: 5;
}

.timeline-step:nth-child(7) {
    --step-index: 6;
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
    .timeline-step {
        animation: none;
    }

    .timeline-step:hover .step-number {
        transform: none;
    }

    .timeline-step:hover .timeline-step__content {
        transform: none;
    }

    .note-item:hover {
        transform: none;
    }

    .cta-buttons .btn:hover {
        transform: none;
    }
}

/* 高コントラストモード対応 */
@media (prefers-contrast: high) {
    .timeline-step__content {
        border: 2px solid var(--text-dark);
    }

    .note-card {
        border: 2px solid var(--text-dark);
    }
}

/* ホワイトボードアニメーション */
/* 基本スタイル */
.business__video {
    max-width: 100%;
    margin: 2rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    background: white;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    background: #000;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
}

.video-info {
    padding: 1.5rem;
    background: white;
    border-radius: 0 0 16px 16px;
}

.video-info h4 {
    margin: 0 0 0.5rem 0;
    color: #2c5aa0;
    font-size: 1.2rem;
    font-weight: 600;
}

.video-info p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* カスタムビデオコントロール */
.custom-video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover .custom-video-controls {
    opacity: 1;
}

.controls-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.play-pause-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-pause-btn:hover {
    background: white;
    transform: scale(1.1);
}

.progress-container {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: #f2a006;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
}

.time-display {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 80px;
    text-align: right;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volume-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.volume-slider {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.fullscreen-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 大きな再生ボタン（中央） */
.center-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(242, 160, 6, 0.9);
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 1;
}

.center-play-btn:hover {
    background: rgba(242, 160, 6, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.center-play-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ローディング表示 */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loading-overlay.visible {
    opacity: 1;
}

.loading-spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #f2a006;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .video-info {
        padding: 1rem;
    }

    .video-info h4 {
        font-size: 1rem;
    }

    .controls-wrapper {
        gap: 0.5rem;
    }

    .play-pause-btn {
        width: 36px;
        height: 36px;
    }

    .center-play-btn {
        width: 60px;
        height: 60px;
    }

    .volume-container {
        display: none;
        /* モバイルでは音量コントロールを非表示 */
    }
}

/* フェードインアニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.center-play-btn {
    z-index: 30;
}

.loading-overlay {
    z-index: 20;
    pointer-events: none;
}

.loading-overlay.visible {
    pointer-events: auto;
}
