@charset "utf-8";

/* =========================================
   共通設定（白ベース・清潔感）
========================================= */
.clean-white {
    font-family: 'Montserrat', "Noto Sans JP", sans-serif;
    color: #333;
    background-color: #fbfbfb; /* 清潔感のある薄いグレー */
    line-height: 1.8;
    letter-spacing: 0.05em;
    padding-top: 60px; /* ヘッダー被り防止用 */
}
.rlp-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}
.rlp-sec-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #111;
}
.rlp-sec-title span {
    color: #e60012; /* KSレッド */
}
/* 英語サブタイトルを目立たせる */
.rlp-sec-title .en-sub {
    display: block;
    font-size: 2rem;
    color: #003366; /* KSネイビーに変更 */
    letter-spacing: 0.2em;
    margin-top: 5px;
    font-weight: 600; /* 太字に変更 */
}
.highlight-red { color: #e60012; font-weight: bold; }
.bold { font-weight: bold; color: #111; }

/* =========================================
   パンくずリスト
========================================= */
.rlp-breadcrumb-section {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.85rem;
    color: #666;
}
.rlp-breadcrumb-section a {
    color: #333;
    text-decoration: none;
}
.rlp-breadcrumb-section a:hover {
    text-decoration: underline;
}

/* =========================================
   ファーストビュー (画像100%・暗くしない)
========================================= */
.rlp-fv-clean {
    width: 100%;
    margin: 0 auto;
    background: #fff;
}
.rlp-fv-picture {
    display: block;
    width: 100%;
}
.rlp-fv-img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   メッセージエリア
========================================= */
.rlp-message {
    padding: 80px 0;
    text-align: center;
    background: #fff;
}
/* 英語の背景文字を目立たせる */
.rlp-message-en {
    font-size: 8rem;
    color: #e0e0e0; /* 濃く変更 */
    margin-bottom: -35px;
    letter-spacing: 0.15em;
    font-weight: 900;
}
/* 日本語メッセージの視認性アップ */
.rlp-message-ja {
    position: relative;
    font-size: 1.8rem; /* 大きく変更 */
    line-height: 2.2;
    color: #222; /* 濃く変更 */
    font-weight: 500;
}

@media screen and (max-width: 767px) {
    .rlp-message-en { font-size: 5rem; margin-bottom: -25px; }
    .rlp-message-ja { font-size: 1.4rem; }
}

/* =========================================
   3つのメリット
========================================= */
.rlp-benefits {
    padding: 100px 0;
    background: #fbfbfb;
}
.rlp-benefits-wrap {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.rlp-benefit-item {
    width: 32%;
    background: #fff;
    padding: 40px 30px;
    border-top: 4px solid #003366;
    border-radius: 5px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.rlp-benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
/* ナンバリングを目立たせる */
.benefit-num {
    font-size: 3.5rem;
    font-weight: 900;
    color: #e60012; /* KSレッドに変更 */
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
    line-height: 1;
    opacity: 0.85;
}
/* タイトルの視認性アップ */
.benefit-title {
    font-size: 2rem; /* 大きく変更 */
    color: #111;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
}
/* テキストの視認性アップ */
.benefit-text {
    font-size: 1.4rem; /* 大きく変更 */
    color: #333; /* 濃く変更 */
    line-height: 1.8;
}
.benefit-text .note {
    font-size: 1.2rem;
    color: #888;
    display: block;
    margin-top: 10px;
}

@media screen and (max-width: 767px) {
    .rlp-benefits-wrap { flex-direction: column; }
    .rlp-benefit-item { width: 100%; padding: 30px 20px; }
    .benefit-title { font-size: 2.0rem; }
    .benefit-text { font-size: 1.6rem; }
}

/* =========================================
   募集要項
========================================= */
.rlp-req {
    padding: 100px 0;
    background: #fff;
}
.rlp-req-table {
    width: 100%;
    border-collapse: collapse;
}
.rlp-req-table th, .rlp-req-table td {
    padding: 25px;
    border-bottom: 1px solid #eee;
    font-size: 1.6rem; /* 表の文字も少し大きく */
}
.rlp-req-table th {
    width: 25%;
    text-align: left;
    color: #111;
    font-weight: bold;
    vertical-align: top;
    background: #f9f9f9;
}
.rlp-req-table td {
    color: #333; /* 濃く変更 */
}
@media screen and (max-width: 767px) {
    .rlp-req-table th, .rlp-req-table td { display: block; width: 100%; padding: 15px; }
    .rlp-req-table th { border-bottom: none; padding-bottom: 0; background: none; color: #003366; }
}

/* =========================================
   フォームエリア (CF7)
========================================= */
.rlp-form {
    padding: 100px 0 150px;
    background: #fbfbfb;
}
.rlp-form-lead {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 1.4rem;
    font-weight: bold;
}
.rlp-form-wrap {
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
/* CF7の調整 */
.rlp-form-wrap input[type="text"],
.rlp-form-wrap input[type="email"],
.rlp-form-wrap input[type="tel"],
.rlp-form-wrap textarea {
    width: 100%;
    padding: 15px; /* 入力欄を広く */
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fafafa;
    font-size: 1rem;
}
.rlp-form-wrap input[type="submit"] {
    background: #e60012;
    color: #fff;
    border: none;
    padding: 18px 60px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 40px;
    cursor: pointer;
    display: block;
    margin: 40px auto 0;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(230,0,18,0.3);
}
.rlp-form-wrap input[type="submit"]:hover {
    background: #b3000e;
    transform: translateY(-2px);
}

@media screen and (max-width: 767px) {
    .rlp-form-wrap { padding: 30px 15px; }
}

/* =========================================
   追従CVボタン
========================================= */
.rlp-floating-cv {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 9999;
    /* ボタンの上部に少し影をつけて浮いているように見せる */
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1); 
}
.rlp-floating-cv a {
    flex: 1;
    text-align: center;
    padding: 40px 5px; /* 高さをしっかり確保 */
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
}
.rlp-floating-cv a:hover { opacity: 0.9; }
.rlp-floating-cv .btn-line { background: #06c755; }
.rlp-floating-cv .btn-web { background: #e60012; }

/* スマホ表示時の調整：横並び＆右側にLINE */
@media screen and (max-width: 767px) {
    .rlp-floating-cv {
        /* スマホでも横並びを維持 */
        flex-direction: row; 
    }
    .rlp-floating-cv a {
        /* 高さを確保しつつ、スマホの横幅に収まるように文字サイズを調整 */
        padding: 25px 2px;
        font-size: 1.4rem; 
        gap: 4px;
        /* 長い文字が折り返さないようにする */
        white-space: nowrap; 
    }
    /* ★重要★ LINEを右側に配置（flex-direction: row-reverse; で左右を反転） */
    .rlp-floating-cv {
        flex-direction: row-reverse;
    }
    
    /* ※もしアイコン（LINEや✉️）を入れている場合、スマホでは文字幅の都合でアイコンを消すか小さくする設定を追加 */
    .rlp-floating-cv a .icon {
        font-size: 1rem;
    }
}

/* =========================================
   アニメーション (JS連動)
========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* =========================================
   募集職種一覧（トップページ専用カード型デザイン）
========================================= */
.rlp-jobs {
    padding: 80px 0 100px;
    background: #fbfbfb;
}
.rlp-job-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* PCは2列 */
    gap: 40px;
}
.rlp-job-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}
.rlp-job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}
.job-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* 画像の比率を美しく統一 */
    overflow: hidden;
    margin: 0;
}
.job-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.rlp-job-card:hover .job-card-img img {
    transform: scale(1.05); /* ホバー時に画像を少しズーム */
}
.job-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e60012;
    color: #fff;
    padding: 6px 15px;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 3px;
    z-index: 2;
}
.job-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.job-card-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #111;
    margin-bottom: 15px;
}
.job-card-desc {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}
.job-card-btn {
    display: inline-block;
    text-align: center;
    background: #003366; /* KSネイビー */
    color: #fff;
    padding: 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 0.1em;
    transition: 0.3s;
}
.rlp-job-card:hover .job-card-btn {
    background: #e60012; /* ホバーで赤に変化 */
}

@media screen and (max-width: 767px) {
    .rlp-job-grid {
        grid-template-columns: 1fr; /* スマホは1列 */
        gap: 30px;
    }
    .job-card-body {
        padding: 20px;
    }
    .job-card-title {
        font-size: 1.25rem;
    }
    .pc-only {
        display: none; /* スマホ時の改行リセット用 */
    }
}
/* =========================================
   作業風景ギャラリー（整備職・作業スタッフ等用）
========================================= */
.rlp-gallery {
    padding: 80px 0;
    background: #fff;
}
.rlp-gallery-grid {
    display: grid;
    /* PCでは4列に並べる */
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.rlp-gallery-grid img {
    width: 100%;
    aspect-ratio: 1 / 1; /* 正方形にトリミング */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}
.rlp-gallery-grid img:hover {
    transform: scale(1.05); /* ホバーで少し拡大 */
    z-index: 10;
    position: relative;
}

@media screen and (max-width: 767px) {
    .rlp-gallery-grid {
        /* スマホでは2列に並べる */
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}