@charset "UTF-8";

/* ====================================
   基本設定
   ==================================== */
:root { --recruit-red: #CE1C26; }
.p-recruit { background-color: var(--recruit-red); width: 100%; overflow-x: hidden; font-family: 'Noto Sans JP', sans-serif; }

/* ====================================
   ヘッダー
   ==================================== */
.p-recruit-header { background-color: var(--recruit-red); color: #fff; padding: 80px 20px 50px; text-align: center; }
.p-recruit-header__inner { max-width: 1000px; margin: 0 auto; }
.p-recruit-title { margin-bottom: 40px; }
.p-recruit-title .en { font-family: 'Poppins', sans-serif; font-size: 42px; font-weight: 700; letter-spacing: 0.15em; line-height: 1; margin: 0; }
.p-recruit-title .ja { font-size: 13px; font-weight: bold; display: block; margin-top: 10px; opacity: 0.9; }

.p-recruit-nav { display: flex; justify-content: center; gap: 15px; padding: 0; list-style: none; flex-wrap: wrap; margin-top: 0; }
.p-recruit-nav li a { display: flex; align-items: center; justify-content: center; gap: 8px; background: #fff; color: var(--recruit-red); padding: 12px 30px; border-radius: 6px; font-weight: bold; font-size: 13px; text-decoration: none; min-width: 180px; transition: 0.3s; }
.p-recruit-nav li a:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.p-recruit-nav .nav-icon { width: 14px; height: auto; }

/* ====================================
   採用理念
   ==================================== */
.p-recruit-body { background-image: url('http://development-test.bikodo.com/wp-content/uploads/2026/02/Frame-137.webp'); background-size: cover; background-position: center; padding: 100px 20px; position: relative; border-radius: 60px 60px 0 0; }
.p-recruit-card { background-color: #ffffff !important; border-radius: 60px; padding: 60px; max-width: 1100px; margin: 0 auto; box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.p-recruit-row { display: flex; flex-direction: column; gap: 40px; margin-bottom: 80px; align-items: center; }
.p-recruit-row:last-child { margin-bottom: 0; }
.p-recruit-row__img img { width: 100%; height: auto; border-radius: 30px; display: block; }
.p-recruit-row__head { font-size: 28px; font-weight: 900; line-height: 1.5; margin-bottom: 25px; color: #333; }
.p-recruit-row__desc { font-size: 15px; line-height: 2.8; color: #444; margin: 0; }

/* ====================================
   マインドセット
   ==================================== */
.p-recruit-mindset { background-color: #fff !important; padding: 100px 20px; text-align: center; }
.p-recruit-mindset__inner { max-width: 1100px; margin: 0 auto; }
.p-recruit-mindset__head, .p-recruit-mindset__sub-text { font-size: 24px; font-weight: bold; margin-bottom: 50px; }
.p-recruit-bubbles-img img { width: 100%; max-width: 1000px; }
.p-recruit-mindset__note { display: flex; justify-content: center; align-items: center; gap: 15px; margin-top: 30px; }
.p-recruit-mindset__note .check-mark { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; background-color: var(--recruit-red); color: #fff; border-radius: 50%; flex-shrink: 0; }
.p-recruit-mindset__note .material-icons { font-size: 18px; font-weight: 900; }

/* ====================================
   メッセージバナー
   ==================================== */
.p-recruit-message-banner { background-color: var(--recruit-red); width: 100%; padding: 0; display: flex; justify-content: center; align-items: center; }
.p-recruit-message-banner__inner { width: 100%; max-width: 100%; padding: 0 2%; display: flex; justify-content: center; }
.p-recruit-capsule-bg { 
    background-image: url('http://development-test.bikodo.com/wp-content/uploads/2026/02/Frame-189-1.webp'); 
    background-size: cover; background-position: center; 
    width: 100%; max-width: 1600px; min-height: 260px; 
    border-radius: 9999px; display: flex; flex-direction: column; justify-content: center; align-items: center; 
    text-align: center; box-shadow: none; padding: 20px 5%; box-sizing: border-box; 
}
.message-text { font-family: 'Noto Sans JP', sans-serif; font-weight: 800; font-size: clamp(16px, 2.2vw, 32px); line-height: 1.5; letter-spacing: 0.05em; color: #EFEEEE; margin: 0; }
.message-text br { display: none; }
.message-text .main-msg { font-size: clamp(20px, 3vw, 42px); font-weight: 800; line-height: 1.5; display: block; margin: 0; }
.message-text .highlight { font-size: clamp(20px, 3vw, 42px); font-weight: 800; line-height: 1.5; display: block; white-space: nowrap; margin: 0; }

@media (max-width: 767px) {
    .p-recruit-capsule-bg { min-height: 160px; border-radius: 80px; }
    .message-text { font-size: 14px; line-height: 1.6; }
    .message-text .main-msg { font-size: 18px; margin: 5px 0; line-height: 1.6;}
    .message-text .highlight { font-size: 20px; white-space: normal; line-height: 1.6;}
    .message-text br { display: block; }
}

/* ====================================
   5つの特徴
   ==================================== */
.p-recruit-features { background-color: #f9f9f9; padding: 100px 0; }

/* タイトル横の丸を綺麗に揃える魔法！ */
.p-recruit-features__title { 
    display: flex; justify-content: center; align-items: center; 
    gap: 12px; 
    font-size: 28px; font-weight: bold; margin-bottom: 80px; 
}
.p-recruit-features__title .title-deco img {
    width: 20px; 
    height: auto;
    transform: translateY(-3px); 
}

.p-recruit-features__grid { display: flex; flex-direction: column; gap: 60px; max-width: 1000px; margin: 0 auto; padding: 0 20px; }

.feature-card { 
    background: #fff; border-radius: 20px; padding: 50px 40px; 
    position: relative; box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-top: 30px; 
}

.feature-card__bg-num { 
    position: absolute; top: -15px; left: 30px; 
    font-family: 'Poppins', sans-serif; font-size: 120px; 
    font-weight: 400; font-style: italic; line-height: 54px; 
    color: #F6F6F6; z-index: 0; 
}

.feature-card__img { position: absolute; top: -40px; right: 20px; width: 140px; z-index: 2; }
.feature-card__img img { width: 100%; height: auto; display: block; }

.feature-card__content { position: relative; z-index: 1; }
.feature-card__head { font-family: 'Noto Sans JP', sans-serif; font-size: 24px; font-weight: 800; line-height: 1.4; letter-spacing: 0.05em; color: #333; margin-bottom: 20px; }
.feature-card__desc { font-family: 'Noto Sans JP', sans-serif; font-size: 16px; font-weight: 500; line-height: 1.8; color: #333; margin: 0; }
.feature-card__note { font-family: 'Noto Sans JP', sans-serif; font-size: 12px; font-weight: 500; color: #888; margin-top: 15px; line-height: 1.6; }
.feature-card__list { list-style: none; padding: 0; margin: 0; font-size: 14px; line-height: 2; color: #333; }
.feature-card__list li::before { content: "● "; color: #333; }

/* ====================================
   福利厚生
   ==================================== */
.p-recruit-welfare { background-color: #fff; padding: 100px 0; text-align: center; }
.p-recruit-welfare__title { display: flex; justify-content: center; align-items: center; gap: 12px; font-size: 28px; font-weight: bold; margin-bottom: 60px; }
.p-recruit-welfare__title .title-deco img { width: 24px; height: auto; }
.p-recruit-welfare__grid { display: grid; grid-template-columns: 1fr; gap: 30px; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.welfare-card { background: #FFF5F7; border-radius: 15px; padding: 50px 30px; display: flex; flex-direction: column; align-items: center; transition: 0.3s; min-height: 400px; }
.welfare-card:nth-child(even) { background: #ffffff; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.welfare-card__icon { width: 90px; height: 90px; margin-bottom: 30px; }
.welfare-card__head { font-size: 20px; font-weight: 900; color: var(--recruit-red); margin-bottom: 20px; }
.welfare-card__desc { font-size: 14px; line-height: 2.0; color: #333; text-align: center; }

/* ====================================
   働く人
   ==================================== */
.p-recruit-env { background-color: #f9f9f9; padding: 80px 0 120px; }
.p-recruit-env__deco { text-align: center; margin-bottom: 10px; }
.p-recruit-env__deco .script { font-family: 'Allura', cursive; font-size: 40px; color: #333; }
.p-recruit-env__title { display: flex; justify-content: center; align-items: center; gap: 15px; font-size: 28px; font-weight: bold; margin-bottom: 50px; text-align: center; }
.p-recruit-env__grid { display: grid; grid-template-columns: 1fr; gap: 30px; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.member-card { aspect-ratio: 3 / 4; perspective: 1000px; cursor: pointer; background: transparent; }
.member-card__inner { position: relative; width: 100%; height: 100%; transition: transform 0.6s; transform-style: preserve-3d; border-radius: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.member-card:hover .member-card__inner { transform: rotateY(180deg); }
.member-card__front, .member-card__back { position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 20px; overflow: hidden; }
.member-img { width: 100%; height: 100%; object-fit: cover; }
.member-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: center; align-items: center; color: #fff; padding: 30px; }
.member-overlay .dept-label { background: var(--recruit-red); color: #fff; font-size: 14px; font-weight: bold; padding: 5px 25px; border-radius: 20px; position: absolute; top: 30px; }
.member-overlay .name { font-size: 40px; font-weight: 900; font-family: 'Poppins', sans-serif; letter-spacing: 0.1em; }
.member-overlay .career { font-size: 16px; font-weight: bold; position: absolute; bottom: 30px; }
.member-card__back { background-color: var(--recruit-red); color: white; transform: rotateY(180deg); display: flex; justify-content: center; align-items: center; padding: 20px; text-align: center; }
.member-card__back .message { font-size: 18px; font-weight: bold; line-height: 1.8; }

/* ====================================
   ENTRYボタン
   ==================================== */
.p-recruit-cta { background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('http://development-test.bikodo.com/wp-content/uploads/2026/02/Frame-191.webp'); background-size: cover; background-position: center; padding: 100px 20px; }
.p-recruit-cta__inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 30px; justify-content: center; align-items: center; }
.cta-btn { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 500px; height: 200px; padding: 0 50px; border-radius: 20px; text-decoration: none; color: #fff; transition: 0.3s; box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.cta-btn:hover { transform: translateY(-5px); opacity: 0.8; }
.cta-btn--blue { background-color: #3EB5D6; }
.cta-btn--red { background-color: var(--recruit-red); }
.cta-text { font-family: 'Noto Sans JP', sans-serif; font-weight: 900; font-size: 40px; letter-spacing: 0.1em; }
.cta-text-group { display: flex; flex-direction: column; align-items: flex-start; }
.cta-text-group .en { font-family: 'Poppins', sans-serif; font-weight: 900; font-size: 48px; line-height: 1; margin-bottom: 10px; }
.cta-text-group .ja { font-family: 'Noto Sans JP', sans-serif; font-weight: 700; font-size: 18px; }
.cta-arrow-img { width: 50px; height: 50px; }

/* ====================================
   PC用レイアウト設定 (全魔法を合体した究極の完全版！)
   ==================================== */
@media (min-width: 768px) {
    /* 採用理念 */
    .p-recruit-row { flex-direction: row; justify-content: space-between; align-items: center; }
    .p-recruit-row--reverse { flex-direction: row-reverse; }
    .p-recruit-row__text { width: 50%; }
    .p-recruit-row__img { width: 45%; }
    
    /* 5つの特徴 全体のグリッド */
    .p-recruit-features__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px 30px; max-width: 1000px; margin: 0 auto; }
    
    /* カード全体の余白を少しスッキリさせる */
    .feature-card--wide { grid-column: 1 / -1; padding: 50px 40px; }
    
    /* 横並びと隙間の設定 */
    .feature-card__content--wide { 
        display: flex; justify-content: center; align-items: center; gap: 30px; 
    }
    
    /* 左（タイトル） */
    .wide-left { 
        flex: 0 0 380px; 
        text-align: center;
    }
    
    /* 右（文章） */
    .wide-right { 
        flex: 0 0 500px; 
        padding: 0; 
    }
    
    /* 01の透かし数字 */
    .feature-card--wide .feature-card__bg-num { 
        top: 20px; left: 30px; 
        font-size: 100px; 
        font-weight: 300; 
        opacity: 0.7; 
    }

    /* 01のテキスト設定 */
    .feature-card--wide .feature-card__head { 
        font-size: 36px; font-weight: 800; line-height: 1.5; margin-bottom: 0; letter-spacing: 0.05em; 
    }
    .feature-card--wide .feature-card__desc { 
        font-size: 16px; font-weight: 500; line-height: 2; letter-spacing: 0.02em; 
    }
    .feature-card--wide .feature-card__note { 
        font-size: 14px; font-weight: 500; line-height: 1.8; letter-spacing: 0.02em; margin-top: 15px;
    }
    
    /* ★消えていた魔法1：おねえさんの足切れを直す！（-50px降ろして着地） */
    .feature-card--wide .feature-card__img { 
        top: auto;    
        bottom: -50px; 
        right: 10px;  
        width: 110px; 
        z-index: 2; 
    }

    /* ★消えていた魔法2：02〜05のカードの文章がイラストと被るのを防ぐ！ */
    .feature-card:not(.feature-card--wide) .feature-card__content {
        padding-right: 120px; 
    }
    
    /* ★消えていた魔法3：02〜05のイラストを綺麗に右上に配置！ */
    .feature-card:not(.feature-card--wide) .feature-card__img {
        top: -30px;   
        right: -10px; 
        width: 130px; 
    }

    /* 福利厚生・働く人・CTA */
    .p-recruit-welfare__grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
    .p-recruit-env__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
    .p-recruit-cta__inner { flex-direction: row; gap: 40px; }
}



/* ====================================
   インタビューページ (page-recruit-interview.php)
   ==================================== */
.p-interview-body {
    background-color: #f9f9f9;
    border-radius: 60px 60px 0 0;
    padding: 80px 20px 120px;
}
.p-interview-container {
    max-width: 900px;
    margin: 0 auto;
}
.p-interview-title-area {
    text-align: center;
    margin-bottom: 60px;
}
.p-interview-title-area .script {
    font-family: 'Allura', cursive;
    font-size: 32px;
    color: #333;
    display: block;
    margin-bottom: 5px;
}
.p-interview-main-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0;
}
.p-interview-main-title .title-deco img {
    width: 20px;
    transform: translateY(-3px);
}

/* メンバーリストのスタイル */
.p-interview-list {
    display: flex;
    flex-direction: column;
    gap: 0; /* 隙間はアコーディオンのマージンで作ります */
}

/* ★追加・修正：アコーディオン全体の仕組み */
.p-interview-accordion {
    margin-bottom: 20px;
}

.p-interview-item {
    background: #fff;
    border-radius: 100px; /* 綺麗なカプセル型に！ */
    padding: 15px 40px 15px 15px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    z-index: 2; /* アコーディオンの中身より手前に出す */
}
/* カプセルをホバーしたとき（開いていない時だけフワッとさせる） */
.p-interview-accordion:not(.is-open) .p-interview-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* 左の写真 */
.p-interview-item__img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.p-interview-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 中央のテキストエリア */
.p-interview-item__info {
    flex: 1;
}
.p-interview-item__info .info-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}
.p-interview-item__info .dept {
    background: var(--recruit-red);
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    padding: 4px 18px;
    border-radius: 20px;
}
.p-interview-item__info .name {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 0.1em;
    margin: 0;
    color: #333;
}
.p-interview-item__info .period {
    font-size: 13px;
    color: #888;
    font-weight: bold;
}
.p-interview-item__info .history {
    font-size: 14px;
    color: #555;
    font-weight: 500;
    margin: 0;
}

/* 右側の赤い矢印アイコン */
.p-interview-item__icon {
    width: 40px;
    height: 40px;
    background: var(--recruit-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* アニメーション追加 */
}
/* アイコンのV字（下矢印）をCSSで作成 */
.p-interview-item__icon::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translateY(-2px) rotate(45deg);
}
/* ★開いた時の矢印の動き（くるっと上を向く！） */
.p-interview-accordion.is-open .p-interview-item__icon {
    transform: rotate(180deg);
}

/* ====================================
   ★追加：びよーんと出てくるアコーディオンの中身
   ==================================== */
.p-interview-content {
    display: grid;
    grid-template-rows: 0fr; /* 初期状態は高さゼロ（見えない） */
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    border-radius: 0 0 40px 40px; /* 下側だけ丸くして自然に繋げる */
    margin-top: -50px; /* カプセルの裏に隠す魔法 */
    padding-top: 50px; /* 隠れた分の余白を足す */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1;
}
/* ★開いた時に中身がびよーんと見えるようにする！ */
.p-interview-accordion.is-open .p-interview-content {
    grid-template-rows: 1fr;
}
.p-interview-content__inner {
    min-height: 0;
    overflow: hidden;
    padding: 20px 60px 50px 60px; /* 中の余白 */
}

/* Q&Aのデザイン */
.qa-list {
    margin: 0;
}
.qa-list dt {
    font-size: 16px;
    font-weight: 800;
    color: var(--recruit-red);
    margin-top: 30px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.qa-list dt::before {
    content: "Q.";
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 900;
}
.qa-list dt:first-child {
    margin-top: 0;
}
.qa-list dd {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin: 0 0 0 28px; /* Q.の幅ぶん右にずらす */
}
/* ====================================
   タイムスケジュール（タイムライン風）
   ==================================== */
.p-interview-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}
/* 中央の縦線 */
.p-interview-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 120px; /* 時間エリアと内容エリアの境界線 */
    width: 2px;
    background-color: var(--recruit-red); /* 線を赤色に！ */
    opacity: 0.2; /* 少し薄くして上品に */
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}
.timeline-item:last-child {
    margin-bottom: 0;
}

/* 左側の時間 */
.timeline-item .time {
    width: 120px;
    padding-right: 30px;
    text-align: right;
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--recruit-red);
    line-height: 1;
    position: relative;
}
/* タイムラインの丸ポチ（ドット） */
.timeline-item .time::after {
    content: '';
    position: absolute;
    top: 4px;
    right: -7px; /* 縦線の上にピッタリ乗るように調整 */
    width: 16px;
    height: 16px;
    background-color: var(--recruit-red);
    border: 3px solid #f9f9f9; /* 背景色と同じフチをつけてくり抜く */
    border-radius: 50%;
    z-index: 1;
}

/* 右側の内容 */
.timeline-item .content {
    flex: 1;
    padding-left: 40px;
    padding-bottom: 20px;
}
.timeline-item .content h4 {
    font-size: 18px;
    font-weight: 800;
    color: #333;
    margin: 0 0 10px 0;
}
.timeline-item .content p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}



/* ====================================
   募集要項ページ (page-recruit-jobdescription.php)
   ==================================== */
.p-jobdesc-body {
    background-color: #f9f9f9;
    border-radius: 60px 60px 0 0;
    padding: 80px 20px 120px;
}
.p-jobdesc-container {
    max-width: 1000px;
    margin: 0 auto;
}
.p-jobdesc-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.1em;
}

/* 募集要項の表（角丸で囲む） */
.p-jobdesc-table-wrap {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 20px;
    overflow: hidden; /* 角丸からはみ出た部分をカット */
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    margin-bottom: 80px;
}
.p-jobdesc-list {
    margin: 0;
    display: flex;
    flex-direction: column;
}
.p-jobdesc-row {
    display: flex;
    border-bottom: 1px solid #eaeaea;
}
.p-jobdesc-row:last-child {
    border-bottom: none; /* 一番下の線は消す */
}

/* 左側の項目名（少しグレー背景） */
.p-jobdesc-dt {
    /* HTMLのタグに合わせてdtにスタイルを適用 */
}
.p-jobdesc-row dt {
    width: 25%;
    background-color: #fafafa;
    padding: 30px 40px;
    font-size: 15px;
    font-weight: 800;
    color: #333;
    border-right: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.p-jobdesc-row dt .small {
    font-size: 12px;
    font-weight: 500;
    color: #888;
    margin-top: 5px;
}

/* 右側の内容 */
.p-jobdesc-row dd {
    width: 75%;
    padding: 30px 40px;
    margin: 0;
    font-size: 15px;
    line-height: 2.0;
    color: #444;
}

/* エントリーボタンエリアの中央揃え */
.p-jobdesc-cta-area {
    display: flex;
    justify-content: center;
}

/* ====================================
   募集要項ページのスマホ対応
   ==================================== */
@media (max-width: 767px) {
    .p-jobdesc-body { padding: 60px 20px 80px; }
    .p-jobdesc-title { font-size: 24px; margin-bottom: 40px; }
    
    .p-jobdesc-row { flex-direction: column; }
    .p-jobdesc-row dt { 
        width: 100%; 
        border-right: none; 
        border-bottom: 1px solid #eaeaea; 
        padding: 20px; 
    }
    .p-jobdesc-row dd { 
        width: 100%; 
        padding: 20px; 
    }
}


/* ====================================
   エントリーフォーム (page-recruit-contact.php)
   Figma完全一致＆CF7攻略版！
   ==================================== */
.p-contact-body { background-color: #ffffff; border-radius: 60px 60px 0 0; padding: 80px 20px 120px; }
.p-contact-container { max-width: 800px; margin: 0 auto; }
.p-contact-title { font-family: 'Noto Sans JP', sans-serif; font-size: 32px; font-weight: 900; color: #333; text-align: center; margin-bottom: 60px; letter-spacing: 0.1em; }

/* フォーム全体のレイアウト */
.p-form-wrapper { width: 100%; }
.p-form-row { 
    display: flex; 
    gap: 40px; 
    margin-bottom: 40px; 
    align-items: stretch; /* ★修正：flex-startからstretchに変更！これで左右の高さがピッタリ揃います！ */
}

/* CF7の勝手な改行・見えない箱を制御！ */
.p-form-wrapper br { display: none !important; }
.wpcf7-form-control-wrap { display: block; width: 100%; }

/* 左側のラベル部分（Figma完全準拠＆伸び縮み対応） */
.p-form-label {
    width: 260px; 
    height: auto; 
    min-height: 50px; 
    background-color: #F6F6F6; 
    border-radius: 10px;
    padding: 0 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-shrink: 0; 
    box-sizing: border-box;
}

/* ====================================
   ★ココを追加！！（消えてしまった文字とバッジの復活魔法）
   ==================================== */
.p-form-label .label-text { font-size: 15px; font-weight: bold; color: #333; }
.p-form-label .badge { width: 50px; height: 20px; display: flex; justify-content: center; align-items: center; font-size: 11px; font-weight: bold; border-radius: 20px; color: #fff; }
.p-form-label .badge.req { background-color: #FF4E70; }
.p-form-label .badge.opt { background-color: #888; }

/* 右側の入力エリア */
.p-form-inputs { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; }
.p-form-inputs input[type="text"],
.p-form-inputs input[type="email"],
.p-form-inputs input[type="tel"],
.p-form-inputs select,
.p-form-inputs textarea {
    width: 100%; padding: 0 20px; border: 1px solid #ddd; border-radius: 8px; font-size: 15px;
    background-color: #fff; color: #333; box-sizing: border-box; transition: 0.3s;
    height: 50px; /* 高さを綺麗に統一 */
}
.p-form-inputs input:focus, .p-form-inputs select:focus, .p-form-inputs textarea:focus {
    outline: none; border-color: var(--recruit-red); box-shadow: 0 0 5px rgba(206, 28, 38, 0.2);
}
.p-form-inputs textarea { height: 120px; padding: 20px; resize: vertical; }

/* ▼▼▼ ココが重要！縦並びを強制的に横並びにする魔法！ ▼▼▼ */

/* 姓名・フリガナ */
.p-form-inputs--flex { display: flex !important; flex-direction: row !important; gap: 20px; }
.p-form-inputs--flex .input-item { flex: 1; }

/* 生年月日 */
.p-form-inputs--date { display: flex !important; flex-direction: row !important; gap: 15px; align-items: center; }
.p-form-inputs--date .date-item { display: flex; align-items: center; gap: 10px; }
.p-form-inputs--date .wpcf7-form-control-wrap { width: 120px !important; }
.p-form-inputs--date select { width: 100%; padding-right: 30px; }
.p-form-inputs--date .unit { font-size: 15px; font-weight: bold; color: #333; }

/* 性別（ラジオボタン） */
.p-form-inputs--radio { display: flex; align-items: center; height: 40px; }
.p-form-inputs--radio .wpcf7-form-control-wrap { display: inline-block; }
.p-form-inputs--radio span.wpcf7-list-item { display: inline-block; margin: 0 30px 0 0 !important; }
.p-form-inputs--radio input[type="radio"] { margin: 0 8px 0 0 !important; transform: scale(1.2); accent-color: #FF4E70; }

/* 住所 */
.p-form-inputs--address { display: flex; flex-direction: column; gap: 15px; }
.p-form-inputs--address .zip-wrap { display: flex; align-items: center; gap: 10px; }
.p-form-inputs--address .zip-mark { font-weight: bold; font-size: 16px; }
.p-form-inputs--address .zip-input .wpcf7-form-control-wrap { width: 200px !important; }
.p-form-inputs--address .pref-wrap .wpcf7-form-control-wrap { width: 250px !important; }

/* メールアドレス */
.p-form-inputs--email { display: flex; flex-direction: column; gap: 15px; }

/* ====================================
   送信ボタン（Figma完全準拠・白丸アイコン版！）
   ==================================== */
.p-form-submit-area { display: flex; justify-content: center; margin-top: 60px; }
.btn-submit-wrapper { position: relative; display: inline-block; }

.btn-submit {
    background-color: var(--recruit-red); color: #fff; font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px; font-weight: 800; width: 340px; height: 60px; border-radius: 40px; border: none;
    cursor: pointer; transition: 0.3s;
    padding-right: 20px; /* アイコンがある分、文字を少し左にずらす */
}
/* ホバー時（マウスを乗せた時）の動き */
.btn-submit-wrapper:hover .btn-submit { 
    opacity: 0.9; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(206, 28, 38, 0.3); 
}

/* 白い丸と赤い矢印 */
.btn-submit-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    /* 指定の画像をそのままのサイズで！ */
    background-image: url('http://development-test.bikodo.com/wp-content/uploads/2026/03/Frame-69-1.webp');
    background-repeat: no-repeat;
    background-position: center;
    
    /* background-size は削除しました */
    
    pointer-events: none;
    transition: 0.3s;
    z-index: 2;
}

/* ★コバエ（スピナー）の設定：ボタンの右側、邪魔にならない位置に！ */
.wpcf7-spinner {
    position: absolute;
    right: -40px; /* ボタンの右外側あたり */
    top: 50%;
    transform: translateY(-50%);
    margin: 0 !important;
}

/* ボタンの外枠（ラッパー）にスピナーを収めるための設定 */
.btn-submit-wrapper {
    position: relative;
    display: inline-block;
}


/* ====================================
   データ作成ガイド (page-datainfo.php)
   ==================================== */

/* ★修正：赤いヘッダー自体の高さを広げて、タイトルをゆったり配置 */
.p-datainfo .p-recruit-header {
    padding-top: 100px;    /* 上側の余白 */
    padding-bottom: 120px; /* 下側の余白（これを広げるとタイトルが押し下がります） */
}

/* ★修正：日本語タイトルのネガティブマージンを解除して位置を安定させる */
.p-datainfo .p-recruit-title .ja {
    margin-top: 10px !important; /* 検証ツールのマイナス指定を上書きしてリセット */
    font-size: 14px;
    letter-spacing: 0.1em;
}

/* ★修正：白い箱を赤いエリアにピッタリくっつけて、上部に適度な余白を作る */
.p-datainfo-body {
    background-color: #f9f9f9;
    border-radius: 60px 60px 0 0;
    margin-top: -40px; /* 少しだけ赤い方に食い込ませて、丸みの隙間を埋める */
    padding: 80px 20px 120px;
    position: relative;
    z-index: 2;
}

.p-datainfo-container {
    max-width: 900px;
    margin: 0 auto;
}
.p-datainfo-h2 {
    font-size: 26px;
    font-weight: 900;
    color: var(--recruit-red);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.p-datainfo-h2::before {
    content: "";
    width: 6px;
    height: 30px;
    background: var(--recruit-red);
    border-radius: 3px;
}
.p-datainfo-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.p-datainfo-card--accent {
    border: 2px solid var(--recruit-red);
}

/* ソフトウェアOK/NG */
.p-datainfo-software {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
.software-item {
    flex: 1;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
}
.software-item.ok { background: #e6f7ef; border: 2px solid #00a86b; }
.software-item.ng { background: #fff5f5; border: 2px solid #ff4e70; }
.software-item .status {
    display: block; font-weight: 900; font-size: 20px; margin-bottom: 5px;
}
.software-item.ok .status { color: #00a86b; }
.software-item.ng .status { color: #ff4e70; }
.software-item .name { font-size: 22px; font-weight: 800; margin: 0; }

/* 箇条書き */
.p-datainfo-notes {
    list-style: none; padding: 0; margin: 0;
}
.p-datainfo-notes li {
    position: relative; padding-left: 25px; margin-bottom: 10px; line-height: 1.7;
}
.p-datainfo-notes li::before {
    content: "●"; color: var(--recruit-red); position: absolute; left: 0; font-size: 14px;
}

/* 送信方法グリッド */
.p-datainfo-box {
    background: #f4f4f4; padding: 20px; border-radius: 10px; margin-bottom: 30px;
}
.p-datainfo-box .box-title {
    font-weight: 900; color: var(--recruit-red); font-size: 18px; margin-bottom: 10px;
}
.p-datainfo-check-title {
    font-weight: 800; margin-bottom: 20px; text-align: center;
}
.p-datainfo-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.grid-item {
    background: #fff; border: 1px solid #ddd; padding: 20px; border-radius: 10px; text-align: center;
}
.grid-item .tag {
    display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 4px; margin-bottom: 10px;
}
.tag.req { background: #ff4e70; color: #fff; }

/* 注意事項リスト */
.warning-item {
    border-bottom: 1px solid #eee; padding: 20px 0;
}
.warning-item:last-child { border-bottom: none; }
.warning-item h3 { font-size: 17px; font-weight: 800; margin-bottom: 10px; color: #333; }
.warning-item p { margin: 0; font-size: 15px; color: #555; }

/* 白版ステップ */
.p-datainfo-h3 {
    text-align: center; font-size: 22px; margin: 60px 0 30px;
}
.p-datainfo-steps {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.step-card {
    background: #fff; padding: 30px 20px; border-radius: 15px; position: relative; border-top: 5px solid var(--recruit-red); box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.step-num {
    display: block; font-family: 'Poppins'; font-weight: 800; color: var(--recruit-red); font-size: 14px; margin-bottom: 10px;
}
.step-card h4 { font-size: 16px; font-weight: 800; margin-bottom: 15px; }
.step-card p { font-size: 14px; line-height: 1.6; margin: 0; }

@media (max-width: 767px) {
    .p-datainfo-software, .p-datainfo-grid, .p-datainfo-steps {
        grid-template-columns: 1fr; flex-direction: column;
    }
}