/* Basic Reset & Typography */
:root {
    --color-primary-yellow: #ffcf00;
    --color-dark-text: #333333;
    --color-light-bg: #ffffff;
    --color-orange: #e86a2b;
    --color-dark-yellow: #e8a12b;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--color-dark-text);
    background-color: var(--color-light-bg);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5px;
}

img {
    max-width: 100%;
    height: auto;
}

/* PCのみ表示 */
.pc-only {
    display: inline;
}
/* SPのみ表示 */
.sp-only {
    display: none;
}

/* Header */
.header {
    padding: 7.5px 0;
    background-color: var(--color-light-bg);
    position: sticky; /* 追従する設定を追加 */
    top: 0; /* 画面の上端に固定 */
    z-index: 1001; /* フォームより手前に表示 */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* 境界線として影を追加 */
}

.header .container {
    max-width: 1040px;
    margin-left: 20px;
    padding: 0 5px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
}

.header-tagline {
    font-size: 20px;
    font-weight: 500;
}

/* Main Layout Wrapper */
.main-wrapper {
    display: flex;
    /* 修正：justify-content を space-between に変更し、左右に振り分け */
    justify-content: space-between;
    gap: 0px; 
    align-items: flex-start; /* 上揃え */
    /* 修正：max-width を削除し、padding を追加 */
    /* max-width: 1480px; */ /* 削除 */
    /* 修正：margin: 0 auto を削除し、全幅にする */
    /* margin: 0 auto; */
    width: 100%;
    box-sizing: border-box; /* paddingをwidthに含める */
}

.main-content {
    /* 修正：固定幅(width: 1100px)を削除し、flex: 1 を追加 */
    /* width: 1100px; */ /* 削除 */
    flex: 1; /* 残りのスペースをすべて埋める */
    min-width: 0; /* flexアイテムが縮小できるように */
    flex-shrink: 1; /* 縮まないように設定 */
}

.sticky-contact-form {
    /* 修正：幅を 240px に固定 */
    width: 320px;
    flex-shrink: 0; /* 縮まないように設定 */
    position: sticky;
    /* 修正：topの位置を調整 (ヘッダー高65px + 余白20px) */
    top: 85px; 
    background-color: #ffffff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    height: fit-content; /* フォームの高さに合わせる */
}

/* Sticky Contact Form for PC */
.sticky-contact-form {
    position: sticky;
    /* 修正：上記ルールブロックで指定 */
    height: fit-content; /* スクロールに合わせて高さが追従するように */
}

.sticky-contact-form h4 {
    text-align: center;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 10px;
    color: #003366;
    font-weight: 700;
}

.sticky-contact-form p {
    text-align: center;
    font-size: 13px;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.sticky-contact-form .submit-button:hover {
    background-color: #d15b20;
}

/* Hero Section */
.hero {
    background-image: url('./images/fv/background.png'); /* ここを変更 */
    background-size: cover; /* 画像がセクション全体を覆うように */
    background-position: center top; /* 画像の位置を中央上部に設定 */
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    min-height: 300px; /* 必要に応じて高さを調整 */
    display: flex;
    align-items: center; /* コンテンツを垂直方向中央に */
}

/* PC表示の黄色い背景の斜め部分を削除 */
.hero::before {
    display: none;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    margin-top: 30px;
    /* 修正：margin-leftを削除し、.containerの自動マージンに任せる */
}

.hero-content {
    flex: 1;
    max-width: 65%;
    color: #000000; /* テキスト色を調整 */
    padding-left: 20px;
}

/* 修正：catch-copyのスタイルを更新 */
.catch-copy {
    width: 50vw;
    /* font-size: 40px; */ /* 可変にするため削除 */
    font-weight: 900;
    /* line-height: 1.75; */ /* 可変にするため削除 */
    margin-top: -30px;
    margin-bottom: 20px;
    color: #000000; /* テキスト色を調整 */
}

.catch-copy .highlight {
    background-color: #ffffff; /* ハイライトの背景色 */
    padding: 1.5px 2.5px;
    color: #000000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* 修正：画像ベースの新しいスタイルを追加 */
.catch-copy .highlight-red {
    color: #d7000f; /* featuresセクションから流用 */
}

.catch-copy .pre-headline {
    display: inline-block; /* highlightをテキスト幅に合わせる */
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.catch-copy .mid-headline {
    display: block;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
}

.catch-copy .main-headline {
    display: block;
    font-size: 48px; /* メインテキストを大きく */
    font-weight: 900;
}

/* 修正：sub-copyのスタイルを更新 */
.sub-copy {
    font-size: 24px;
    font-weight: 500; /* boldから変更 */
    line-height: 1.6;
    margin-bottom: 30px;
    color: #000000; /* テキスト色を調整 */
}

.achievement-item {
    max-width: 250px;
}

.hero-image {
    flex: 1;
    max-width: 32.5%;
    align-self: flex-end; /* 画像を下端に揃える */
}

.hero-image img {
    display: block;
}

/* Support Banner */
.support-banner {
    background-color: #000000;
    color: var(--color-light-bg);
    padding: 20px 0;
    text-align: center;
}

.support-banner h2 {
    font-size: 32px;
    margin: 0;
    font-weight: 500;
}

/* Clients Section */
.clients {
    padding: 50px 15px;
    text-align: center;
    background-color: #ffffff;
}

.clients h3 {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 700;
}

.client-logos img {
    margin: 0 auto;
}

/* CTA for SP */
.cta-sp {
    display: none; /* PCでは非表示 */
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
    background-color: #f7f7f7;
}

.cta-section .container {
    max-width: 600px;
}

.cta-button {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 20px;
    padding: 20px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.cta-button::after {
    content: '>';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
}

.cta-button.orange {
    background-color: var(--color-orange);
}

.cta-button.yellow {
    background-color: var(--color-dark-yellow);
}

/* Success Stories Section */
.success-stories {
    padding: 80px 0;
    background-color: #f0f5fa;
    text-align: center;
}

.section-title {
    font-size: 32px;
    color: #003366;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 50px;
}

.stories-container {
    display: flex;
    justify-content: center; /* 左寄せに変更 */
    gap: 30px;
    overflow-x: auto; /* 横スクロールを有効にする */
    padding-bottom: 20px; /* スクロールバーのための余白 */
    -ms-overflow-style: none; /* IE, Edge */
    scrollbar-width: none; /* Firefox */
}
/* Chrome, Safari, Opera */
.stories-container::-webkit-scrollbar {
    display: none;
}
.story-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    width: 300px;
    box-sizing: border-box;
    flex-shrink: 0; /* カードが縮まないようにする */
}

.story-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.story-demo {
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 5px 20px;
    margin-bottom: 20px;
}

.story-details p {
    margin: 5px 0;
    font-size: 16px;
}

.story-arrow {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid var(--color-orange);
    margin: 20px auto;
}

.story-details.after p {
    color: var(--color-orange);
    font-weight: bold;
}

.story-salary {
    font-size: 28px !important;
}

/* CTA Section 2 */
.cta-section-2 {
    padding: 60px 0;
    text-align: center;
}

.cta-section-2 h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
}

.cta-section-2 .cta-button {
    background-color: var(--color-orange);
    color: white;
    padding: 20px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    display: inline-block;
    max-width: 500px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
}
.cta-section-2 .cta-button::after {
    content: '>';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
}

/* Features Section */
.features-section {
    background-color: #fde375; /* 変更：画像に合わせて黄色に（元はf5b400） */
    padding: 20px 0 40px;
    text-align: center;
}

/* === 修正：新しいタイトルスタイル === */
.features-reason-label {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000000;
    letter-spacing: 2px; /* 文字間隔を少し広げる */
}

.features-title {
    color: #000000;
    font-size: 36px; /* 少し大きく */
    font-weight: 600; /* 太く */
    margin-top: 0px;
    margin-bottom: 30px;
}
/* 削除：features-title span のスタイルは不要に */
/* .features-title span { ... } */

/* === 修正ここまで === */

.features-container {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.feature-card {
    background-color: #fff;
    padding: 20px; /* 余白を調整 */
    border-radius: 8px;
    width: 32%;
    box-sizing: border-box;
    text-align: left;
}

.feature-point {
    background-color: #000000; /* 修正：黒に変更 */
    color: #fff;
    padding: 5px 17.5px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}

.feature-headline {
    font-family: 'Noto Sans JP', sans-serif; /* 修正：フォントファミリーを明記 */
    font-size: 36px; /* 調整 */
    line-height: 1.4; /* 調整 */
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-headline .highlight-red {
    color: #fe2d3b;
}

/* 追加 */
.feature-sub-headline {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #000;
}

/* 追加 */
.feature-sub-headline .highlight-red {
    color: #d7000f;
}

/* 追加 */
.feature-description-text {
    font-size: 16px;
    line-height: 1.2;
    color: #333;
    margin-top: 30px;
}
/* === 修正ここまで === */


/* Achievements Section */
.achievements-section {
    background-color: #ffffff; /* Light beige background from image */
    padding: 80px 0;
    text-align: center;
}

.achievements-title {
    font-size: 32px;
    font-weight: 700;
    color: #f5b400;
    margin-bottom: 30px;
}

.achievements-subtitle {
    font-size: 18px;
    font-weight: bold;
    line-height: 1.8;
    margin-bottom: 40px;
}

.company-awards {
    max-width: 800px;
    margin: 0 auto 50px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.company-award-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-name {
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    flex-basis: 40%;
}

.company-award-item img {
    max-width: 280px;
}

.achievements-subtitle.conclusion {
    margin-top: 40px;
    margin-bottom: 40px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.achievement-card img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* CTA Section 3 */
.cta-section-3 {
    padding: 60px 0;
    background-color: #f7f7f7;
}
.cta-section-3 .container {
    max-width: 600px;
}
.cta-section-3 .cta-button {
    background-color: var(--color-orange);
    display: block;
    width: 100%;
    padding: 20px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cta-section-3 .cta-button::after {
    content: '>';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
}
.cta-section-3 .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Popular Jobs Section */
.popular-jobs-section {
    padding: 80px 0;
    background-color: #f1f1f1;
}

.section-title-gold-line {
    font-size: 32px;
    font-weight: 500;
    text-align: center;
    color: #003366;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

.section-title-gold-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 2px;
    background-color: #003366;
}

.section-headline {
    font-size: 40px;
    text-align: center;
    color: #003366;
    margin-bottom: 20px;
}

.section-subtitle-small {
    text-align: center;
    font-size: 16px;
    margin-bottom: 50px;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; /* カード間の余白を縮小 */
}
.job-card {
    /* paddingと背景色を削除 */
    text-align: center;
}
.job-logo {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px; /* 下の余白を調整 */
    background-color: #fff; /* ロゴの背景を白に */
    padding: 10px;
    box-sizing: border-box;
}
.job-logo img {
    max-height: 85px;
    width: auto;
}

.job-title {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.6;
    min-height: 45px;
}

.job-salary {
    font-size: 16px;
    margin: 15px 0 5px;
}
.salary-number {
    font-size: 28px; /* 数字を少し大きく */
    font-weight: bold;
    color: var(--color-orange); /* 数字の色をオレンジに */
}

.job-incentive-note {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

.incentive-example {
    margin-bottom: 10px;
}
.incentive-title {
    display: block;
    background-color: #333;
    color: #fff;
    font-size: 14px;
    padding: 10px; /* paddingを調整 */
    font-weight: bold;
}
.incentive-details {
    background-color: #fff; /* 背景を白に */
    padding: 20px 15px; /* paddingを調整 */
}
.incentive-case {
    margin: 0 0 5px;
    font-size: 14px;
    font-weight: bold;
    color: #003366; /* 文字色を濃い青に */
}
.incentive-amount {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
    color: #003366; /* 文字色を濃い青に */
}
.incentive-amount .unit {
    font-size: 16px;
    font-weight: normal;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
}

.section-title-alt {
    text-align: center;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 50px;
}

.testimonials-container {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.testimonial-card {
    width: 48%;
    border: 1px solid #ddd;
    background-color: #fff;
}

.testimonial-top {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #ddd;
    padding: 20px;
}

.testimonial-image-wrapper {
    flex: 0 0 150px;
}
.testimonial-image-wrapper img {
    width: 100%;
    display: block;
}
.testimonial-content {
    flex: 1;
}

.testimonial-headline {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 15px;
}

.testimonial-profile {
    background-color: #f5b400;
    color: #fff;
    font-weight: bold;
    padding: 10px 15px;
    font-size: 14px;
    line-height: 1.6;
    display: inline-block;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 90% 100%, 0 100%);
}

.testimonial-bottom {
    padding: 20px;
}

.testimonial-text {
    line-height: 1.8;
    font-size: 15px;
    margin-top: 0;
}
.testimonial-conclusion {
    line-height: 1.8;
    font-size: 16px;
    font-weight: bold;
    color: var(--color-orange);
}

.sp-contact-section {
    display: none;
}

.sp-contact-section {
    background-color: #f0f5fa; /* 背景色を設定 */
    padding: 60px 0;
}

.sp-contact-section .container {
    margin: 15px;
}

.sp-contact-section h4 {
    text-align: center;
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 10px;
    color: #003366;
    font-weight: 700;
}

.sp-contact-section p {
    text-align: center;
    font-size: 13px;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.sp-contact-section .form-group {
    margin-bottom: 15px;
}

.sp-contact-section label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.sp-contact-section label span {
    background-color: var(--color-orange);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: normal;
    vertical-align: middle;
}

.sp-contact-section input,
.sp-contact-section textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
}

.sp-contact-section .submit-button {
    width: 100%;
    background-color: var(--color-orange);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* Responsive Styles (for screens smaller than 1200px) */
/* 修正：ブレークポイントを1200pxのままにする（1480pxでも良いが、1200pxでも機能する） */
@media (max-width: 1200px) {
    .main-wrapper {
        display: block; /* flexを解除 */
    }

    .main-content {
        width: 100%; /* 全幅表示に戻す */
    }

    .sticky-contact-form {
        display: none;
    }

    .sp-contact-section {
        display: block;
    }
}


/* Responsive Styles (for screens smaller than 768px) */
@media (max-width: 768px) {
    .logo {
        height: 30px;
    }
    
    .header-tagline {
        font-size: 14px;
    }
    .pc-only {
        display: none;
    }
    .sp-only {
        display: inline;
    }

    .header-tagline {
        font-size: 12px;
    }

    .header .container {
        margin-left: 0;
    }

    .sp-only {
        display: inline;
    }

    .hero {
        min-height: auto;
        overflow: hidden;
        padding: 10px 0; /* 上下の余白を確保 */
        padding-bottom: 0;
        /* 修正：.hero-container ではなく .hero に relative を設定（すでにあるので確認）*/
        position: relative;
    }
    
    /* === 修正 === */
    .hero-container {
        width: 100%;
        display: block; /* flexを解除 */
        position: relative; /* 子のabsolute配置の基準 */
        padding: 0;
        margin: 0;
    }
    
    .hero-content {
        max-width: 90%;
        width: 100%; /* 幅を100%に */
        box-sizing: border-box; /* paddingを幅に含める */
        text-align: left;
        position: relative; /* z-indexを効かせるため */
        z-index: 2; /* 画像より手前 */
        padding-left: 15px;
        padding-right: 15px; /* 右側にも余白 */
        padding-bottom: 10px;
        background-color: transparent;
        border-radius: 0;
        /* 削除: flex-shrink, order */
    }
    
    .hero-image {
        position: absolute; /* 要望通り absolute に変更 */
        right: 0; /* 右側に配置 */
        bottom: 0; /* 下端に配置 */
        max-width: 40%; /* 幅を少し調整 (元の40%でも可) */
        z-index: 1; /* テキストより後ろ */
        /* 削除: order, margin-left */
    }
    /* === 修正ここまで === */

    .hero-text {
        max-width: 768px;
        /* width: 100vw; */ /* 修正：画面幅を超えてしまうため100%に変更 */
        width: 100%;
    }

    /* 修正：新しいhero-textのためのレスポンシブスタイル */
    .catch-copy {
        width: 100%;
        text-align: left;
        line-height: 1.6; /* line-heightを調整 */
        margin-top: 10px;
    }

    .catch-copy .pre-headline {
        font-size: 24px;
        margin-bottom: 12px;
    }
    .catch-copy .mid-headline {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .catch-copy .main-headline {
        font-size: 28px; /* SP用に調整 */
    }
    
    .sub-copy {
        font-size: 16px;
        text-align: left;
        margin-top: 15px;
        padding-left: 0; /* paddingを削除 */
    }
    /* 修正ここまで */
    
    .achievement-item {
        max-width: 150px;
    }
    
    /* Support Banner for SP */
    .support-banner {
        padding: 20px 10px;
        position: relative;
        z-index: 4;
    }
    .support-banner h2 {
        font-size: 16px;
    }
    
    /* Clients Section for SP */
    .clients {
        background: linear-gradient(to bottom, #f5b400 0%, #fde375 100%);
        padding: 30px 15px;
        text-align: center;
    }
    .clients .container {
        background-color: white;
        border-radius: 10px;
        padding: 20px 15px;
    }
    .clients h3 {
        font-size: 14px;
        font-weight: bold;
        color: #333;
        margin-top: 0;
        margin-bottom: 20px;
    }

    /* CTA for SP */
    .cta-sp {
        display: block;
        padding: 30px 15px;
        background-color: #f7f7f7;
        text-align: center;
    }
    .cta-sp .container {
        background-color: white;
        border-radius: 10px;
        padding: 25px 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    }
    .cta-sp p {
        font-weight: bold;
        margin-bottom: 20px;
        font-size: 16px;
    }

    .cta-sp .cta-button {
        max-width: none; /* 全幅表示のため最大幅を解除 */
    }

    .cta-button {
        display: block;
        padding: 15px;
        color: white;
        text-decoration: none;
        font-size: 16px;
        font-weight: bold;
        border-radius: 8px;
        margin: 0 auto 15px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        position: relative;
        max-width: 500px; /* 中央寄せのため最大幅を設定 */
        width: 100%;      /* 横幅を100%に */
        box-sizing: border-box; /* paddingを幅の内側に含める */
    }
    .cta-button::after {
        content: '>';
        position: absolute;
        right: 20px;
        font-weight: bold;
    }

    .cta-button.orange {
        background-color: var(--color-orange);
    }

    .cta-button.yellow {
        background-color: var(--color-dark-yellow);
    }

    /* CTA Section for SP */
    .cta-section {
        padding: 40px 20px;
    }
    .cta-button {
        font-size: 16px;
        padding: 15px;
    }
    .cta-button::after {
        right: 20px;
    }

    /* Success Stories for SP */
    .success-stories {
        padding: 50px 20px;
    }
    .section-title {
        font-size: 24px;
    }
    .section-subtitle {
        font-size: 14px;
        text-align: left;
    }
    .stories-container {
        gap: 20px;
        padding-left: 20px; /* 左側に余白を追加 */
        padding-right: 20px; /* 右側に余白を追加 */
        margin: 0 -20px; /* 親要素のpaddingを相殺 */
    }
    .story-card {
        width: 280px; /* スマホ表示時のカード幅を調整 */
    }

    /* CTA Section 2 for SP */
    .cta-section-2 {
        padding: 40px 20px;
    }
    .cta-section-2 h2 {
        font-size: 18px;
    }
    .cta-section-2 .cta-button {
        display: block;
        font-size: 16px;
        padding: 15px 20px;
    }

    /* Features Section for SP */
    .features-section {
        padding: 10px 20px 40px;
    }
    /* === 修正：SP用タイトルスタイル === */
    .features-reason-label {
        font-size: 18px;
    }
    .features-title {
        font-size: 22px; /* 調整 */
        line-height: 1.5;
    }

    .features-container {
        flex-direction: column;
        gap: 20px;
    }
    .feature-card {
        width: 100%;
        padding: 20px; /* SP用に余白調整 */
    }
    .feature-headline {
        font-size: 24px; /* 調整 */
        line-height: 1.5;
    }

    /* === 修正：SP用 description スタイル === */
    /* 削除
    .feature-description {
        font-size: 14px;
    }
    */
    .feature-sub-headline {
        font-size: 18px; /* 調整 */
        line-height: 1.5;
    }
    .feature-description-text {
        font-size: 14px; /* 調整 */
        line-height: 1.7;
    }
    /* === 修正ここまで === */

    .achievements-section {
        padding: 50px 20px;
    }
    .achievements-title {
        font-size: 22px;
    }
    .achievements-subtitle {
        font-size: 14px;
        margin-bottom: 15px;
    }
    .company-awards {
        gap: 20px;
    }
    .company-award-item {
        flex-direction: column; /* Stack vertically on mobile */
        gap: 10px;
    }
    .company-name {
        margin-top: 5px;
        margin-bottom: 0;
        text-align: center;
    }
    .company-award-item img {
        max-width: 250px;
    }
    .achievements-subtitle.conclusion {
        margin-top: 50px;
        margin-bottom: 20px;
    }
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x2 grid on mobile */
        gap: 15px;
    }

    .cta-section-3 {
        padding: 40px 20px;
    }

    /* Popular Jobs Section for SP */
    .popular-jobs-section {
        padding: 50px 20px;
    }
    .section-title-gold-line {
        font-size: 24px;
    }
    .section-headline {
        font-size: 20px;
    }
    .section-subtitle-small {
        font-size: 14px;
    }
    .job-card {
        border: 1px solid #ffffff;
        margin-top: 5px;
        margin-bottom: 5px;
    }
    .jobs-grid {
        grid-template-columns: 1fr; /* 2列から1列に変更 */
        gap: 25px; /* 縦の余白を少し広げる */
    }
    .salary-number {
        font-size: 24px;
    }
    .incentive-amount {
        font-size: 22px;
    }
    .incentive-example {
        margin-bottom: 0px;
    }

    /* Testimonials Section for SP */
    .testimonials-section {
        padding: 50px 15px;
        background-color: #f7f3ed;
    }
    .section-title-alt {
        font-size: 24px;
    }
    .testimonials-container {
        flex-direction: column;
        gap: 20px; /* カード間の余白を追加 */
    }
    .testimonial-card {
        width: 100%;
        box-sizing: border-box;
        background-color: white; /* カードの背景色を白に */
        border: 1px solid #c9a77e; /* 枠線を設定 */
        border-radius: 10px; /* 角を丸くする */
        padding: 20px; /* カード内の余白を設定 */
    }
    .testimonial-top {
        flex-direction: row; /* 横並びに変更 */
        align-items: flex-start; /* 上揃えに変更 */
        text-align: left; /* 左揃えに変更 */
        border-bottom: none; /* PC用の下線を削除 */
        padding: 0;
        margin-bottom: 20px;
    }
    .testimonial-image-wrapper {
        flex: 0 0 150px; /* 画像の幅を調整 */
    }
    .testimonial-headline {
        font-size: 22px;
    }
    .testimonial-profile {
        clip-path: none; /* 装飾を削除 */
        padding: 5px;
    }
    .testimonial-profile span {
        font-size: 10px;
    }
    .testimonial-text {
        line-height: 1.25;
        font-size: 12px;
        margin-top: 0;
    }
    .testimonial-bottom {
        padding: 0;
    }
    .testimonial-conclusion {
        line-height: 1.25;
        font-size: 14px;
    }
}



