/* ============================================
   エントリーフォームページ専用スタイル
   ============================================ */

/* メインビジュアル */
.entry-hero {
    position: relative;
    padding: 100px 40px 60px;
    background: white;
    margin-top: 80px;
    overflow: hidden;
}

.entry-hero::before,
.entry-hero::after {
    content: '';
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('../images/message-bg.png');
    background-size: contain;
    z-index: 0;
    pointer-events: none;
}

.entry-hero::before {
    left: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    opacity: 0.5;
}

.entry-hero::after {
    right: 30px;
    bottom: 30px;
    width: 250px;
    height: 250px;
    opacity: 0.4;
}

.entry-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}


.entry-hero-breadcrumb-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 20px auto 0;
    padding: 0 60px;
}

.entry-hero-breadcrumb {
    font-size: 14px;
    color: #666;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
}

/* フォームセクション */
.entry-main {
    padding: 60px 40px 100px;
    background: white;
}

.entry-main-inner {
    max-width: 900px;
    margin: 0 auto;
}

.entry-intro {
    text-align: center;
    font-size: 16px;
    color: #333;
    margin-bottom: 60px;
    line-height: 1.8;
}

/* フォーム */
.entry-form {
    margin-bottom: 80px;
}

.entry-form-group {
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* 希望職種（ラジオボタン）グループの場合、ラベルとフィールドを中央揃え */
.entry-form-group--radio {
    align-items: center;
}

.entry-form-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    min-width: 200px;
    flex-shrink: 0;
}

.entry-form-label-text {
    font-size: 16px;
    flex: 1;
}

.entry-form-required {
    background: #ff0000;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 500;
}

.entry-form-field {
    flex: 1;
}

.entry-form-field .entry-form-radio-group {
    display: flex;
    align-items: center;
}

/* 名前入力（姓・名） */
.entry-form-name-row {
    display: flex;
    gap: 20px;
}

.entry-form-name-item {
    flex: 1;
}

/* 生年月日入力 */
.entry-form-birth-row {
    display: flex;
    gap: 15px;
    align-items: center;
}

.entry-form-birth-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.entry-form-birth-item .entry-form-input {
    width: 100px;
}

.entry-form-birth-label {
    font-size: 16px;
    color: #333;
    white-space: nowrap;
}

/* 住所入力 */
.entry-form-address-row {
    margin-bottom: 15px;
}

.entry-form-address-row:last-child {
    margin-bottom: 0;
}

.entry-form-postal {
    display: flex;
    gap: 15px;
    align-items: center;
}

.entry-form-postal .entry-form-input {
    width: 200px;
}

.entry-form-address-search {
    background: #666;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
    margin-left:5px;
}

.entry-form-address-search:hover {
    background: #555;
}

/* 入力フィールド */
.entry-form-input,
.entry-form-select,
.entry-form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    background: #F7F8F8;
    transition: border-color 0.3s;
}

.entry-form-input:focus,
.entry-form-select:focus,
.entry-form-textarea:focus {
    outline: none;
    border-color: #0066cc;
}

.entry-form-input::placeholder,
.entry-form-textarea::placeholder {
    color: #999;
}

.entry-form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* ラジオボタン */
.entry-form-radio-group {
    display: flex;
    gap: 30px;
    align-items: center;
}

.entry-form-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.entry-form-radio input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #0066cc;
    flex-shrink: 0;
}

.entry-form-radio-text {
    font-size: 16px;
    color: #333;
}

/* テキストエリア */
.entry-form-textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

/* プライバシーポリシー同意 */
.entry-form-privacy {
    margin-top: 50px;
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

.entry-form-privacy-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.entry-form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.entry-form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #0066cc;
}

.entry-form-checkbox-text {
    font-size: 16px;
    color: #333;
}

/* 送信ボタン */
.entry-form-submit {
    text-align: center;
    margin-bottom: 80px;
}

.entry-form-submit-btn {
    background: #FF5409;
    color: white;
    border: none;
    padding: 18px 60px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
    font-family: 'Noto Sans JP', sans-serif;
    position: relative;
}

.entry-form-submit-btn::after {
    content: '→';
    margin-left: 8px;
}

.entry-form-submit-btn:hover {
    background: #e55a00;
}

/* Contact Form 7 送信ボタン */
.wpcf7-submit,
input[type="submit"].wpcf7-submit {
    background: #FF5409 !important;
    color: white !important;
    border: none !important;
    padding: 18px 60px !important;
    border-radius: 30px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.3s !important;
    font-family: 'Noto Sans JP', sans-serif !important;
    position: relative !important;
}

.wpcf7-submit:hover,
input[type="submit"].wpcf7-submit:hover {
    background: #e55a00 !important;
}

/* プライバシーポリシー詳細 */
.entry-privacy-detail {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid #ddd;
}

.entry-privacy-detail-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.entry-privacy-detail-content {
    font-size: 14px;
    color: #666;
    line-height: 2;
    max-height: 400px;
    overflow-y: auto;
    padding: 20px;
    padding-right: 10px;
    background: #F8F8F8;
    border-radius: 5px;
}

.entry-privacy-detail-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.entry-privacy-detail-content h3:first-child {
    margin-top: 0;
}

.entry-privacy-detail-content p {
    margin-bottom: 20px;
}

.entry-privacy-detail-content ul {
    list-style: disc;
    padding-left: 30px;
    margin-bottom: 20px;
}

.entry-privacy-detail-content li {
    margin-bottom: 10px;
}

.entry-privacy-detail-date {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    text-align: right;
    font-size: 13px;
}

/* スクロールバーのスタイル */
.entry-privacy-detail-content::-webkit-scrollbar {
    width: 8px;
}

.entry-privacy-detail-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.entry-privacy-detail-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.entry-privacy-detail-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ============================================
   レスポンシブ対応（タブレット: 1024px以下）
   ============================================ */
@media (max-width: 1024px) {
    .entry-hero {
        padding: 80px 30px 50px;
    }

    .entry-main {
        padding: 60px 30px 80px;
    }

}

/* ============================================
   レスポンシブ対応（スマホ: 768px以下）
   ============================================ */
@media (max-width: 768px) {
    .entry-hero-breadcrumb-wrapper {
        padding: 0 20px;
    }

    .entry-hero {
        padding: 60px 20px 40px;
        margin-top: 60px;
    }

    .entry-main {
        padding: 40px 20px 60px;
    }


    .entry-intro {
        font-size: 14px;
        margin-bottom: 40px;
    }

    .entry-form-group {
        margin-bottom: 30px;
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .entry-form-label {
        font-size: 14px;
        min-width: auto;
        padding-top: 0;
    }

    .entry-form-field {
        width: 100%;
    }

    .entry-form-name-row {
        flex-direction: column;
        gap: 15px;
    }

    .entry-form-birth-row {
        flex-wrap: wrap;
        gap: 10px;
    }

    .entry-form-birth-item .entry-form-input {
        width: 80px;
    }

    .entry-form-postal {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .entry-form-postal .entry-form-input {
        width: 100%;
    }

    .entry-form-address-search {
        width: 100%;
    }

    .entry-form-radio-group {
        flex-direction: column;
        gap: 15px;
    }

    .entry-form-textarea {
        min-height: 120px;
    }

    .entry-form-privacy {
        padding: 20px;
    }

    .entry-form-privacy-text {
        font-size: 13px;
    }

    .entry-form-submit-btn {
        width: 100%;
        padding: 16px 30px;
        font-size: 16px;
    }

    .entry-privacy-detail {
        margin-top: 40px;
        padding-top: 40px;
    }

    .entry-privacy-detail-title {
        font-size: 20px;
    }

    .entry-privacy-detail-content {
        font-size: 13px;
        line-height: 1.8;
    }
}

/* ============================================
   レスポンシブ対応（極小スマホ: 480px以下）
   ============================================ */
@media (max-width: 480px) {

    .entry-form-birth-item .entry-form-input {
        width: 70px;
    }
}


/* Contact Form 7ラジオボタンのスタイル */
.entry-form-wrapper .wpcf7-radio {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.entry-form-wrapper .wpcf7-radio .wpcf7-list-item {
    margin: 0;
}

.entry-form-wrapper .wpcf7-radio label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s;
}

.entry-form-wrapper .wpcf7-radio input[type="radio"]:checked + .wpcf7-list-item-label {
    font-weight: bold;
}.entry-form-wrapper .wpcf7-radio input[type="radio"] {
    margin-right: 8px;
}