/* 採用サイト制作サービス - レスポンシブデザイン */


/* 横スクロール防止 */

html,
body {
    overflow-x: hidden;
    max-width: 100%;
}


/* ベーススタイル - 採用支援ページのセクション内のみに適用 */

#page {
    padding-bottom: 0 !important;
}


/* 採用ページのメインコンテンツエリアのみに適用 */

.site-main .hero-section,
.site-main .value-section,
.site-main .what-we-do-section,
.site-main .industries-section,
.site-main .cases-section,
.site-main .plans-section,
.site-main .flow-section,
.site-main .about-section,
.site-main .contact-section {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
}


/* セクション共通スタイル */


/* 採用支援ページのセクション内のみに適用 */

.site-main .hero-section,
.site-main .value-section,
.site-main .what-we-do-section,
.site-main .industries-section,
.site-main .cases-section,
.site-main .plans-section,
.site-main .flow-section,
.site-main .about-section,
.site-main .contact-section {
    padding: 80px 0;
}

.site-main .hero-section h1,
.site-main .value-section h1,
.site-main .what-we-do-section h1,
.site-main .industries-section h1,
.site-main .cases-section h1,
.site-main .plans-section h1,
.site-main .flow-section h1,
.site-main .about-section h1,
.site-main .contact-section h1,
.site-main .hero-section h2,
.site-main .value-section h2,
.site-main .what-we-do-section h2,
.site-main .industries-section h2,
.site-main .cases-section h2,
.site-main .plans-section h2,
.site-main .flow-section h2,
.site-main .about-section h2,
.site-main .contact-section h2 {
    font-weight: 700;
    margin-bottom: 30px;
    color: #2c3e50;
}

.hero-section h1,
.value-section h1,
.what-we-do-section h1,
.industries-section h1,
.cases-section h1,
.plans-section h1,
.flow-section h1,
.about-section h1,
.contact-section h1 {
    font-size: 2.5rem;
    text-align: center;
}

.hero-section h2,
.value-section h2,
.what-we-do-section h2,
.industries-section h2,
.cases-section h2,
.plans-section h2,
.flow-section h2,
.about-section h2,
.contact-section h2 {
    font-size: 1rem;
    font-weight: 400;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
}

.hero-section h2::after,
.value-section h2::after,
.what-we-do-section h2::after,
.industries-section h2::after,
.cases-section h2::after,
.plans-section h2::after,
.flow-section h2::after,
.about-section h2::after,
.contact-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #333;
    margin: 20px auto;
    border-radius: 2px;
}

.hero-section p,
.value-section p,
.what-we-do-section p,
.industries-section p,
.cases-section p,
.plans-section p,
.flow-section p,
.about-section p,
.contact-section p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}


/* 採用支援ページのセクション内のリスト要素のみに適用 */

.hero-section ul,
.hero-section ol,
.value-section ul,
.value-section ol,
.what-we-do-section ul,
.what-we-do-section ol,
.industries-section ul,
.industries-section ol,
.cases-section ul,
.cases-section ol,
.plans-section ul,
.plans-section ol,
.flow-section ul,
.flow-section ol,
.about-section ul,
.about-section ol,
.contact-section ul,
.contact-section ol {
    margin: 30px 0;
    padding-left: 30px;
}

.hero-section li,
.value-section li,
.what-we-do-section li,
.industries-section li,
.cases-section li,
.plans-section li,
.flow-section li,
.about-section li,
.contact-section li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.7;
}


/* 採用支援ページのセクション内のリンクのみに適用 */

.hero-section a,
.value-section a,
.what-we-do-section a,
.industries-section a,
.cases-section a,
.plans-section a,
.flow-section a,
.about-section a,
.contact-section a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-section a:hover,
.value-section a:hover,
.what-we-do-section a:hover,
.industries-section a:hover,
.cases-section a:hover,
.plans-section a:hover,
.flow-section a:hover,
.about-section a:hover,
.contact-section a:hover {
    color: #666;
    text-decoration: underline;
}


/* ヒーローセクション */

.hero-section {
    background: url('../images/saiyo-back.png') no-repeat center bottom, linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    background-size: 100% auto, 100% 100%;
    color: #333;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 120px 20px 80px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section .container {
    max-width: 900px;
}

.mobile-break {
    display: none;
}


/* 縦動画スクロールセクション */

.video-scroll-section {
    width: 100%;
    overflow: hidden;
    overflow-x: hidden;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 80px 0;
    position: relative;
    max-width: 100%;
}

.video-scroll-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    opacity: 0.3;
}

.video-scroll-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    opacity: 0.3;
}

.video-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.video-scroll-track {
    display: flex;
    gap: 40px;
    animation: scrollVideos 50s linear infinite;
    width: fit-content;
    will-change: transform;
}

.video-item {
    flex-shrink: 0;
    width: 320px;
    height: 568px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

@keyframes scrollVideos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-320px * 5 - 40px * 5));
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

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

.hero-section h1 {
    color: #333;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    color: #555;
}

.hero-section .cta-button {
    background: #333;
    color: #fff;
    border: 2px solid #333;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-section .cta-button:hover {
    background: #000;
    color: #fff;
    border-color: #000;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}


/* CTAボタン */

.cta-button {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin: 20px 0;
    border: 2px solid #333;
}

.cta-button:hover {
    transform: translateY(-3px);
    background: #000;
    color: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    border-color: #000;
}


/* バリューセクション */

.value-section {
    background-color: #f5f5f5;
}

.value-section ul {
    max-width: 1200px;
    margin: 0 auto;
}

.value-section li {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #333;
}


/* painpointsセクションのスタイル */

.painpoints {
    margin: 60px 0;
    text-align: center;
}

.painpoints h2 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #4a90e2;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.painpoints__subtitle {
    font-size: 3rem;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 60px;
    line-height: 1.2;
}

.painpoints__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.painpoints__card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.painpoints__illustration {
    width: 100%;
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.painpoints__image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.painpoints__content {
    padding: 30px;
    text-align: left;
}

.painpoints__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
}

.painpoints__highlight {
    color: #ff6b35;
}

.painpoints__desc {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}


/* 提供内容セクション */

.what-we-do-section {
    background-color: #f8f9fa;
    background-image: linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
}

.what-we-do-section h2 {
    font-size: 1rem;
    font-weight: 400;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.what-we-do-section h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
    text-align: center;
}

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

.function-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.function-card__number {
    position: absolute;
    top: -15px;
    left: 30px;
    background: #333;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.function-card__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin: 20px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.function-card__title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #333;
}

.function-card__description {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}


/* 業界別セクション */

.industries-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

.industries-section h2 {
    color: white;
}

.industries-section h2::after {
    background: white;
}

.industries-section p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.industries-section ul {
    text-align: center;
    list-style: none;
    padding: 0;
}

.industries-section li {
    display: inline-block;
    margin: 0 10px;
}

.industries-section a {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.industries-section a:hover {
    background: white;
    color: #333;
    text-decoration: none;
}


/* ブログリンクセクション */

#blog.blog-link-section {
    background: #000;
    padding: 80px 0 !important;
    color: #fff;
    position: relative;
    overflow-x: hidden;
    max-width: 100%;
}

.blog-content-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow-x: hidden;
    /* border-bottom: 4px solid #ffd700; */
}

.blog-left-content {
    flex: 1;
}

.blog-left-content h2 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.2;
}

.blog-features {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.feature-item span {
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
}

.blog-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.blog-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0;
}

.blog-cta-button:hover {
    color: #007bff;
    text-decoration: none;
}

.blog-arrow-icon {
    width: 30px;
    height: 30px;
    background: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.blog-cta-button:hover .blog-arrow-icon {
    background: #0056b3;
    transform: scale(1.1);
}

.blog-right-content {
    flex: 1;
    position: relative;
}

.blog-image-wrapper {
    width: 100%;
    height: 400px;
    background-image: url('../images/saiyo-page.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}


/* セクション見出し レスポンシブ */

@media (max-width: 768px) {
    .section-title {
        font-size: 1rem;
    }
    .section-main-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1rem;
    }
    .section-main-title {
        font-size: 1.8rem;
    }
}


/* ブログセクション レスポンシブ */

@media (max-width: 768px) {
    .blog-content-wrapper {
        flex-direction: column;
        gap: 40px;
        padding: 40px 30px;
    }
    .blog-main-title {
        font-size: 2.5rem;
    }
    .blog-features {
        flex-direction: column;
        gap: 15px;
    }
    .feature-item {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }
    .feature-icon {
        margin-right: 15px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .blog-right-content {
        width: 100%;
    }
    .blog-image-wrapper {
        height: 300px;
        background-image: url('../images/saiyo-page.png');
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }
}

@media (max-width: 480px) {
    .blog-content-wrapper {
        padding: 30px 20px;
        border-radius: 15px;
    }
    .blog-main-title {
        font-size: 2rem;
    }
    .blog-left-content h2 {
        font-size: 1rem;
    }
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    .feature-item span {
        font-size: 0.85rem;
    }
    .blog-description {
        font-size: 0.9rem;
    }
    .blog-right-content {
        width: 100%;
        min-height: 250px;
    }
    .blog-image-wrapper {
        height: 250px;
        background-image: url('../images/saiyo-page.png');
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }
}


/* 料金セクション */

.plans-section {
    background-color: white;
}

.section-title {
    font-size: 1rem;
    font-weight: 400;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-align: center;
}

.section-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
    text-align: center;
}


/* 基本パッケージ */

.basic-package {
    /* max-width: 900px; */
    margin: 0 auto 80px;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #333;
}

.package-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.package-price {
    text-align: right;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

.price-tax {
    font-size: 1rem;
    color: #666;
}

.package-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.package-contents {
    margin-bottom: 30px;
}

.contents-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.contents-list {
    list-style: none;
    padding: 0;
}

.contents-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.7;
}

.contents-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #333;
    font-weight: bold;
    font-size: 1.2rem;
}

.package-tagline {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    text-align: center;
    margin: 30px 0 0;
    padding-top: 30px;
    border-top: 1px solid #ddd;
    font-weight: 600;
}


/* オプションセクション */

.options-section {
    max-width: 1200px;
    margin: 0 auto 80px;
}

.options-intro {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
}

.options-table-wrapper {
    overflow-x: auto;
    margin-bottom: 40px;
}

.options-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.options-table thead {
    background: #333;
    color: white;
}

.options-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 1rem;
}

.options-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.options-table tbody tr:hover {
    background-color: #f9f9f9;
}

.options-table td {
    padding: 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.options-table .price-cell {
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}


/* 提案メッセージセクション */

.proposal-message {
    max-width: 900px;
    margin: 0 auto 80px;
}

.message-box {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 15px;
    border-left: 5px solid #333;
}

.message-box p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #333;
    margin-bottom: 20px;
}

.message-box p:last-child {
    margin-bottom: 0;
}

.message-box strong {
    font-weight: 700;
    color: #333;
}


/* アドバイスセクション */

.advice-section {
    max-width: 900px;
    margin: 0 auto 60px;
}

.advice-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.advice-point {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.advice-point:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.advice-point h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.advice-point p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.section-footer {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-top: 40px;
    font-style: italic;
}

.pricing-cards {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.pricing-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pricing-card--recommended {
    border-color: #333;
    border-width: 3px;
    transform: scale(1.05);
}

.pricing-card__badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-card__header {
    margin-bottom: 20px;
}

.pricing-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.pricing-card__subtitle {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.pricing-card__price {
    margin-bottom: 30px;
}

.pricing-card__amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

.pricing-card__period {
    font-size: 1.2rem;
    color: #666;
    margin-left: 5px;
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.pricing-card__features li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    font-size: 1rem;
    color: #333;
}

.pricing-card__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    color: #333;
    font-weight: bold;
    font-size: 1.1rem;
}

.pricing-card__button {
    width: 100%;
    padding: 15px 30px;
    border: 2px solid #333;
    background: white;
    color: #333;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-card__button--primary {
    background: #333;
    color: white;
}

.pricing-card__button:hover {
    background: #333;
    color: white;
}

.pricing-card__button--primary:hover {
    background: #555;
}

.plans-section p {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-top: 30px;
}


/* 進め方セクション */

.flow-section {
    background-color: #f5f5f5;
}

.flow-section ol {
    max-width: 1200px;
    margin: 0 auto;
    counter-reset: step-counter;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.flow-section li {
    background: white;
    padding: 30px 30px 30px 80px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    counter-increment: step-counter;
    list-style: none;
    margin-bottom: 0;
}

.flow-section li::before {
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}


/* 運営セクション */

.about-section {
    background-color: white;
}

.about-section p {
    text-align: center;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}


/* お問い合わせセクション */

.contact-section {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    color: white;
}

.contact-section h2 {
    color: white;
}

.contact-section h2::after {
    background: white;
}

.contact-section .section-main-title {
    color: #fff;
}

.contact-section p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.contact-section .cta-button {
    background: #fff;
    color: #000;
    border: 2px solid #fff;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.contact-section .cta-button:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}


/* レスポンシブデザイン */


/* タブレット */

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    section {
        padding: 60px 0;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .hero-section {
        padding: 100px 20px 60px;
        min-height: 60vh;
        background-size: 100% auto, 100% 100%;
    }
    .hero-section h1 {
        font-size: 2.2rem;
        line-height: 1.4;
    }
    .hero-section p {
        font-size: 1.1rem;
        line-height: 1.7;
    }
    .cta-button {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
    .industries-section li {
        display: block;
        margin: 10px 0;
    }
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .pricing-card--recommended {
        transform: none;
    }
    .pricing-card__amount {
        font-size: 2rem;
    }
    .flow-section ol {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .flow-section li {
        padding-left: 60px;
    }
    .flow-section li::before {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    .function-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .function-card {
        padding: 30px;
    }
    .what-we-do-section h3 {
        font-size: 2rem;
    }
    .painpoints__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .painpoints__subtitle {
        font-size: 2.5rem;
    }
    .painpoints__illustration {
        height: 150px;
    }
    /* ブログリンク - タブレット */
    #blog.blog-link-section {
        padding: 60px 0 !important;
    }
    .blog-link-description {
        font-size: 1rem;
    }
    .blog-link-button {
        padding: 25px 30px;
    }
    .blog-link-icon {
        font-size: 2.5rem;
    }
    .blog-link-text strong {
        font-size: 1.3rem;
    }
    .blog-topics {
        padding: 30px;
    }
    .blog-topics-list {
        grid-template-columns: 1fr;
    }
    /* 縦動画スクロール - タブレット */
    .video-scroll-section {
        padding: 60px 0;
    }
    .video-scroll-track {
        gap: 30px;
        animation: scrollVideos 45s linear infinite;
    }
    .video-item {
        width: 260px;
        height: 462px;
        border-radius: 18px;
    }
    @keyframes scrollVideos {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-260px * 5 - 30px * 5));
        }
    }
    /* 料金プラン - タブレット */
    .package-header {
        flex-direction: column;
        text-align: center;
    }
    .package-price {
        text-align: center;
        margin-top: 15px;
    }
    .price-amount {
        font-size: 2rem;
    }
    .basic-package {
        padding: 30px;
    }
    .options-table th,
    .options-table td {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    .message-box {
        padding: 30px;
    }
    .advice-content {
        padding: 25px;
    }
}


/* スマートフォン */

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    section {
        padding: 40px 0;
    }
    /* painpointsセクションの余白調整 */
    .painpoints {
        margin: 30px 0;
        padding: 0;
    }
    /* about-sectionの余白調整 */
    .about-section {
        padding: 2em 0 !important;
    }
    /* flow-sectionの余白調整 */
    .flow-section {
        padding: 2em 0 !important;
    }
    /* value-sectionの余白調整 */
    .value-section {
        padding: 2em 0 !important;
    }
    /* what-we-do-sectionの余白調整 */
    .what-we-do-section {
        padding: 2em 0 !important;
    }
    /* industries-sectionの余白調整 */
    .industries-section {
        padding: 2em 0 !important;
    }
    /* plans-sectionの余白調整 */
    .plans-section {
        padding: 2em 0 !important;
    }
    /* contact-sectionの余白調整 */
    .contact-section {
        padding: 2em 0 !important;
    }
    /* video-scroll-sectionの余白調整 */
    .video-scroll-section {
        padding: 2em 0 !important;
    }
    h1 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    /* h3見出しのフォントサイズ調整 */
    .hero-section h3,
    .value-section h3,
    .what-we-do-section h3,
    .industries-section h3,
    .cases-section h3,
    .plans-section h3,
    .flow-section h3,
    .about-section h3,
    .contact-section h3 {
        font-size: 1.6rem;
    }
    /* セクション見出しの余白調整 */
    .section-main-title {
        margin-bottom: 30px;
    }
    .hero-section {
        padding: 80px 15px 50px;
        min-height: 50vh;
        background-size: 100% auto, 100% 100%;
    }
    .hero-section h1 {
        font-size: 1.8rem;
        line-height: 1.4;
        margin-bottom: 20px;
    }
    .hero-section p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 15px;
    }
    p {
        font-size: 1rem;
    }
    li {
        font-size: 1rem;
    }
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
        display: block;
        margin: 20px auto;
        width: fit-content;
    }
    .mobile-break {
        display: inline;
    }
    .value-section li,
    .what-we-do-section li,
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .pricing-card {
        padding: 20px;
    }
    .pricing-card__amount {
        font-size: 1.8rem;
    }
    .pricing-card__title {
        font-size: 1.3rem;
    }
    .pricing-card__button {
        padding: 12px 20px;
        font-size: 1rem;
    }
    .flow-section li {
        padding: 20px;
    }
    .flow-section ol {
        grid-template-columns: 1fr;
        gap: 15px;
        padding-left: 0 !important;
    }
    .flow-section li {
        padding-left: 50px;
    }
    .flow-section li::before {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }
    .function-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .function-card {
        padding: 25px;
    }
    .function-card__number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    .function-card__title {
        font-size: 1.2rem;
    }
    .what-we-do-section h3 {
        font-size: 1.8rem;
    }
    .painpoints__grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .painpoints__subtitle {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    .painpoints__illustration {
        height: 120px;
    }
    .painpoints__content {
        padding: 20px;
    }
    .painpoints__title {
        font-size: 1.2rem;
    }
    .industries-section a {
        display: block;
        margin: 10px 0;
        text-align: center;
    }
    .about-section p {
        font-size: 1.1rem;
    }
    .contact-section p {
        color: #fff;
        font-size: 1.1rem;
    }
    /* ブログリンク - スマートフォン */
    #blog.blog-link-section {
        padding: 2em 0 !important;
    }
    .blog-link-description {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    .blog-link-description br {
        display: none;
    }
    .blog-link-button {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }
    .blog-link-icon {
        font-size: 2.5rem;
        margin-right: 0;
        margin-bottom: 15px;
    }
    .blog-link-text {
        align-items: center;
    }
    .blog-link-text strong {
        font-size: 1.2rem;
    }
    .blog-link-text small {
        font-size: 0.85rem;
    }
    .blog-link-arrow {
        font-size: 1.5rem;
        margin-top: 15px;
        transform: rotate(90deg);
    }
    .blog-link-button:hover .blog-link-arrow {
        transform: rotate(90deg) translateX(10px);
    }
    .blog-topics {
        padding: 20px;
    }
    .blog-topics h3 {
        font-size: 1.1rem;
    }
    .blog-topics-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .blog-topics-list li {
        font-size: 0.9rem;
        padding: 10px 15px 10px 30px;
    }
    /* 縦動画スクロール - スマートフォン */
    .video-scroll-section {
        padding: 50px 0;
    }
    .video-scroll-track {
        gap: 20px;
        animation: scrollVideos 40s linear infinite;
    }
    .video-item {
        width: 220px;
        height: 391px;
        border-radius: 15px;
    }
    @keyframes scrollVideos {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-220px * 5 - 20px * 5));
        }
    }
    /* 料金プラン - スマートフォン */
    .section-title {
        font-size: 1.5rem;
    }
    .section-icon {
        font-size: 1.5rem;
        display: block;
        margin-bottom: 10px;
    }
    .basic-package {
        padding: 20px;
        margin-bottom: 50px;
    }
    .package-header {
        flex-direction: column;
    }
    .package-title {
        font-size: 1.3rem;
        text-align: center;
    }
    .package-price {
        text-align: center;
        margin-top: 10px;
    }
    .price-amount {
        font-size: 1.8rem;
    }
    .package-description {
        font-size: 0.95rem;
    }
    .contents-title {
        font-size: 1.1rem;
    }
    .contents-list li {
        font-size: 0.95rem;
        padding: 8px 0;
        padding-left: 25px;
    }
    .package-tagline {
        font-size: 0.95rem;
    }
    /* オプションテーブル - スマートフォン */
    .options-section {
        margin-bottom: 50px;
    }
    .options-intro {
        font-size: 0.95rem;
    }
    .options-table {
        display: block;
    }
    .options-table thead {
        display: none;
    }
    .options-table tbody {
        display: block;
    }
    .options-table tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 15px;
    }
    .options-table td {
        display: block;
        padding: 8px 0;
        border: none;
        text-align: left;
    }
    .options-table td::before {
        content: attr(data-label);
        font-weight: 700;
        display: block;
        margin-bottom: 5px;
        color: #333;
    }
    .options-table .price-cell {
        font-size: 1.2rem;
        color: #333;
    }
    /* 提案メッセージ - スマートフォン */
    .proposal-message {
        margin-bottom: 50px;
    }
    .message-box {
        padding: 20px;
    }
    .message-box p {
        font-size: 0.95rem;
    }
    /* アドバイス - スマートフォン */
    .advice-section {
        margin-bottom: 40px;
    }
    .advice-content {
        padding: 20px;
    }
    .advice-point {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
    .advice-point h4 {
        font-size: 1rem;
    }
    .advice-point p {
        font-size: 0.9rem;
    }
    .section-footer {
        font-size: 0.95rem;
    }
}


/* アニメーション */

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

section {
    animation: fadeInUp 0.8s ease-out;
}


/* ホバーエフェクト */

.value-section li:hover,
.flow-section li:hover,
.pricing-card:hover,
.function-card:hover,
.painpoints__card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}


/* スクロール時のスムーズな動作 */

html {
    scroll-behavior: smooth;
}


/* ==========================================
   採用ページ専用フッター修正（最強優先度）
   ========================================== */


/* フッターの基本スタイルを強制上書き */


/* 採用ページ専用フッタースタイル（他のページに影響しない） */

footer#footer {
    position: relative !important;
    bottom: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #000 !important;
    width: 100% !important;
}

.footer-nav {
    padding: 4em 9em 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    flex-direction: row !important;
}

#footer-nav ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
}

#footer-nav ul li {
    margin-bottom: 0 !important;
}

.footer-credit {
    padding: 3em !important;
    text-align: center !important;
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
}


/* スマホでも横並びを維持 */

@media screen and (max-width: 500px) {
    .footer-nav {
        padding: 4em 9em 0 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        flex-direction: column !important;
    }
    #footer-nav ul {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }
    #footer-nav ul li {
        margin-left: 2em !important;
        /* margin-right: 0 !important; */
        margin-bottom: 0 !important;
    }
    .footer-credit {
        padding: 3em !important;
        text-align: center !important;
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
    }
}


/* フッターのレスポンシブ対応 - 採用ページ専用 */


/* デスクトップ・タブレット用フッタースタイル */


/* より強いセレクターでフッターを上書き */

body footer#footer,
#page footer#footer,
.site
/* フッターのスタイルはメインのstyle.cssで管理 */


/* フッターナビのスタイルもメインのstyle.cssで管理 */


/* フッターナビのスタイルはメインのstyle.cssで管理 */


/* フッターナビのスタイルはメインのstyle.cssで管理 */

#footer-nav ul li a {
    font-size: 13px;
    color: #fff;
}

.footer-nav2 {
    position: relative;
    display: inline-block;
}

.footer-nav2::after {
    position: absolute;
    bottom: -10px;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #fff;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform .3s;
}

.footer-nav2:hover::after {
    transform: scale(1, 1);
}

.contact-bg-footer {
    background-color: transparent;
    padding: 0.5em 1em;
    border: 1px solid #fff;
    border-radius: 0.5em;
    color: #fff;
    transition: 0.5s;
}

.contact-bg-footer:hover {
    background-color: #fff;
    color: #000;
}

.footer-sns {
    margin-top: 2em;
    justify-content: flex-end;
    align-items: center;
}

.sns-cap-footer {
    position: relative;
    font-size: 11px;
    color: #fff;
    padding: 0;
    margin-bottom: 0.5em;
    margin-right: 6em;
}

.sns-cap-footer:after {
    position: absolute;
    top: 35%;
    right: -6em;
    height: 1px;
    content: "";
    width: 50px;
    background: #fff;
}

.sns-icon-sp-footer {
    margin-bottom: 0.5em;
    padding: 0;
    margin-left: 1em;
}

.footer-credit {
    padding: 3em !important;
    text-align: center !important;
}

.footer-credit small {
    color: #fff;
    font-size: 0.5em;
}

.logo-footer {
    width: 100%;
}

.footer-nav .logo {
    width: 15%;
}

.footer-nav img {
    width: 65%;
}


/* スマホ用フッタースタイル */

@media screen and (max-width: 500px) {
    .footer-nav {
        padding: 4em 6em 0 2em !important;
    }
    #footer-nav ul {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        margin: revert !important;
    }
    #footer-nav ul li {
        /* margin-right: 2em !important; */
        margin-bottom: 2em !important;
        margin-left: 0 !important;
    }
    .logo-footer {
        width: auto;
        margin-bottom: 1em;
    }
    .logo-footer img {
        width: 100%;
    }
    .flex-betw-footer {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .nav-font-footer {
        font-size: 13px;
    }
    .footer-sns {
        margin-top: 2em;
    }
    .sns-cap-footer {
        position: relative;
        font-size: 11px;
        color: #fff;
        padding: 0;
        margin-bottom: 0.5em;
        margin-right: 6em;
    }
    .sns-cap-footer:after {
        position: absolute;
        top: 30%;
        right: -5em;
        height: 1px;
        content: "";
        width: 44px;
        background: #fff;
    }
    .sns-icon-sp-footer {
        margin-bottom: 0.5em;
        padding: 0;
        margin-right: 1em;
    }
    .contact-bg-footer {
        background-color: transparent;
        padding: 0.5em 1em;
        border: 1px solid #fff;
        border-radius: 0.5em;
        color: #fff;
        transition: 0.5s;
    }
    .footer-credit {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        padding: 1em;
        width: 100%;
        text-align: center;
    }
}