
/* ベースリセットと共通設定 */
#recruitment-page {
    font-family: 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, sans-serif;
    color: #333;
    line-height: 1.7;
    padding-bottom: 50px;
    /* CSS変数を定義 */
    --main-color: #FFB300; /* 新しいメインカラー (オレンジイエロー) */
    --accent-color: #FF5722; /* 強調カラー (ディープオレンジ) */
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

/* ヘッダーとフッターを視覚的に分離するために hr を使用 */
hr {
    border: 0;
    height: 1px;
    background-color: #eee;
    margin: 40px auto;
    width: 80%;
}

/* 見出しスタイル */
.section-title {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 10px;
    /* メインカラーを適用 */
    border-bottom: 2px solid var(--main-color); 
    width: auto;
}

/* ハイライトカラー */
.highlight-yellow {
    background-color: #ffcc00; /* 目を引く黄色 */
    padding: 0 5px;
    white-space: nowrap;
}

.highlight-orange {
    color: var(--accent-color); /* 強調用のオレンジ */
    font-weight: bold;
}

/* 0. メインビジュアル */
.main-visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* 1. 導入 / キャッチコピー */
.section-catch {
    padding: 60px 0;
    text-align: center;
}

.catch-headline {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

.catch-subtext {
    font-size: 18px;
    color: #555;
}

/* 2. お弁当コネクトとは？ */
.section-whatis {
    padding: 40px 0;
    background-color: #f7f7f7;
}

.whatis-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.point-box {
    background-color: #fff;
    /* メインカラーを適用 */
    border: 3px solid var(--main-color); 
    padding: 20px;
    margin-top: 20px;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.8;
}

/* 3. 選ばれる5つの理由 (デザイン変更) */
.section-reason {
    padding: 60px 0;
    /* 背景を少し濃くして目立たせる */
    background-color: #fcf8e5; 
}

/* 親コンテナ: 強調ブロックとサブグリッドを格納 */
.reason-layout {
    display: flex;
    flex-direction: column; /* 縦積みに設定 */
    gap: 30px; /* ブロック間の隙間 */
}

/* (A) 強調ブロックのデザイン */
.reason-item.reason-emphasis {
    padding: 40px; 
    background-color: var(--main-color); /* メインカラーの背景 */
    color: #333; 
    text-align: center;
    border: 3px solid var(--accent-color); /* アクセントカラーの枠線 */
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: none; /* ホバー効果を無効化 */
}

.reason-item.reason-emphasis h4 {
    font-size: 24px;
    font-weight: 800;
    color: #333;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 10px;
}

.reason-item.reason-emphasis .reason-number {
    font-size: 50px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.reason-item.reason-emphasis p {
    font-size: 16px;
    font-weight: 500;
}


/* (B) サブグリッドのデザイン (残りの4つ) */
.reason-sub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列で表示 */
    gap: 20px;
}

/* サブグリッド内の通常アイテムのデザイン */
.reason-sub-grid .reason-item {
    /* 以前のおしゃれなスタイルを継承しつつ、枠線を控えめに */
    padding: 30px 15px; 
    background-color: #fff;
    border: 1px solid #eee; 
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.08); 
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.reason-sub-grid .reason-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

/* 背景の装飾: 右上に半透明の円を追加 (サブグリッドのアイテムのみ) */
.reason-sub-grid .reason-item::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background-color: var(--main-color);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
}

.reason-sub-grid .reason-number {
    font-size: 30px; 
    color: var(--accent-color); 
    margin-bottom: 10px;
    position: relative; 
    z-index: 2; 
}

.reason-sub-grid .reason-item h4 {
    font-size: 17px;
    font-weight: 800; 
    margin-bottom: 15px;
    color: #333;
    padding-bottom: 5px;
    border-bottom: 2px dashed #f0f0f0;
    position: relative;
    z-index: 2;
}

.reason-sub-grid .reason-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    position: relative;
    z-index: 2;
}


/* ================================== */
/* レスポンシブ対応の修正 */
/* ================================== */
@media (max-width: 768px) {
    /* サブグリッドを1列にする */
    .reason-sub-grid {
        grid-template-columns: 1fr;
    }
}
/* 4. ご利用の流れ (画像付きステップ型に変更) */
.section-flow {
    padding: 60px 0;
    background-color: #f7f7f7;
}

.flow-grid {
    margin-top: 30px;
}

.flow-item-full {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* 偶数番目のステップ (画像を左右反転) */
.flow-item-reverse {
    flex-direction: row-reverse;
}

.flow-content-wrap {
    flex: 1;
    padding: 30px;
}

.flow-image-wrap {
    flex: 1;
    max-width: 50%;
    overflow: hidden;
    border-radius: 0 8px 8px 0;
}

.flow-item-reverse .flow-image-wrap {
    border-radius: 8px 0 0 8px;
}

.flow-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s;
}

.flow-item-full:hover img {
    transform: scale(1.05);
}

.flow-step-number {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: bold;
    margin-bottom: 15px;
}

.flow-content-wrap h4 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.flow-content-wrap p {
    font-size: 15px;
    color: #555;
}

.flow-arrow-down {
    text-align: center;
    font-size: 30px;
    color: var(--main-color);
    font-weight: bold;
    margin: -5px 0 10px 0;
}

.flow-note-emphasis {
    background-color: #fffde7;
    border-left: 3px solid var(--main-color);
    padding: 10px 15px;
    margin-top: 15px;
    font-size: 14px;
    color: #444;
}

.flow-note-emphasis i {
    color: var(--accent-color);
    margin-right: 5px;
}

/* 最終ステップの装飾 */
.flow-last-step {
    background-color: #fcf8e5; /* 最後のステップを強調 */
    border: 2px dashed var(--main-color);
    text-align: center;
}

.flow-last-step .flow-content-wrap {
    max-width: 600px;
    margin: 0 auto;
}

.flow-last-step .flow-image-wrap {
    /* 最終ステップには画像がないため非表示 */
    display: none; 
}


/* ================================== */
/* レスポンシブ対応の修正 */
/* ================================== */
@media (max-width: 768px) {
    /* モバイルでは画像と文章を縦積みにする */
    .flow-item-full {
        flex-direction: column !important; /* 強制的に縦積みに */
        align-items: stretch;
    }
    
    .flow-image-wrap {
        max-width: 100%;
        order: 1; /* 画像を上に移動 */
        border-radius: 8px 8px 0 0 !important;
    }

    .flow-content-wrap {
        padding: 20px;
        order: 2; /* コンテンツを下に移動 */
    }

    .flow-arrow-down {
        font-size: 20px;
    }
}
/* 5. 料金体系（特別キャンペーン） */
.section-fee {
    padding: 60px 0;
}

.fee-table-wrap {
    overflow-x: auto;
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    min-width: 600px;
}

.fee-table th, .fee-table td {
    padding: 15px;
    border: 1px solid #ddd;
    text-align: center;
}

.fee-table th {
    /* メインカラーを適用 */
    background-color: var(--main-color); 
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap;
}

.fee-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.fee-item-name {
    text-align: left !important;
    font-weight: bold;
}

.fee-price.old {
    text-decoration: line-through;
    color: #999;
}

.fee-price.current {
    font-size: 20px;
    font-weight: bold;
}

.highlight-red {
    color: #e53935;
}

/* 6. ターゲット店舗像 */
.section-target {
    padding: 40px 0;
    background-color: #f7f7f7;
}

.target-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.target-item {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    flex: 1 1 30%;
    max-width: 300px;
}

.target-item i {
    font-size: 40px;
    /* 強調カラーを適用 */
    color: var(--accent-color); 
    margin-bottom: 15px;
}

.target-item p {
    font-size: 16px;
    font-weight: bold;
}

/* 7 & 8. クロージングとフォーム */
.section-cta-form {
    padding: 60px 0;
    text-align: center;
    /* メインカラーを適用 */
    background-color: var(--main-color); 
    color: #333; /* 背景に合わせて文字色を濃い色に戻す */
}

.cta-headline {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.cta-subtext {
    font-size: 18px;
    margin-bottom: 30px;
}

.inquiry-form-box {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    text-align: left;
}

.inquiry-form-box label {
    display: block;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    margin-top: 15px;
}

.inquiry-form-box input[type="text"],
.inquiry-form-box input[type="email"],
.inquiry-form-box input[type="tel"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.cta-button {
    /* 強調カラーを適用 */
    background-color: var(--accent-color); 
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    width: 100%;
    margin-top: 30px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #e64a19;
}

.privacy-note {
    font-size: 12px;
    text-align: center;
    color: #666;
    margin-top: 15px;
}

/* ================================== */
/* レスポンシブ対応 (タブレット・モバイル) */
/* ================================== */
@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .section-catch,
    .section-whatis,
    .section-reason,
    .section-flow,
    .section-fee{
        padding: 30px 15px;
    }

    .catch-headline {
        font-size: 22px;
    }

    .catch-subtext {
        font-size: 16px;
    }

    /* 5つの理由を縦に積む */
    .reason-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* 流れを縦に積む */
    .flow-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .flow-item {
        width: 80%;
        margin: 10px 0;
    }
    
    .flow-item:not(:last-child):after {
        content: "▼";
        right: auto;
        bottom: -20px;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .flow-item:not(:last-child) {
        margin-bottom: 30px;
    }
    
    /* ターゲット像も縦に積む */
    .target-grid {
        flex-direction: column;
        align-items: center;
    }

    .target-item {
        max-width: 100%;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .cta-headline {
        font-size: 26px;
    }

    .whatis-content{
        text-align: left;
    }
}

/* ================================== */
/* レスポンシブ対応 (タブレット・モバイル) */
/* ================================== */
@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .sp{
        display: block;
    }

    .catch-headline {
        font-size: 18px;
        letter-spacing: 0.04rem;
    }

    .catch-subtext {
        font-size: 16px;
    }

    /* 5つの理由を縦に積む */
    .reason-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .reason-item.reason-emphasis{
        padding: 20px;
    }

    /* 流れを縦に積む */
    .flow-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .flow-item {
        width: 80%;
        margin: 10px 0;
    }
    
    .flow-item:not(:last-child):after {
        content: "▼";
        right: auto;
        bottom: -20px;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .flow-item:not(:last-child) {
        margin-bottom: 30px;
    }
    
    /* ターゲット像も縦に積む */
    .target-grid {
        flex-direction: column;
        align-items: center;
    }

    .target-item {
        max-width: 100%;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .cta-headline {
        font-size: 26px;
    }
    .reason-item.reason-emphasis h4 {
        font-size: 17px;
    }
}