/* ==========================
    お問い合わせフォーム
========================== */

.privacy-policy-container {
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
}

.privacy-policy-container h2 {
    font-size: 22px;
    margin: 60px 0 30px;
    font-weight: bold;
}

.privacy-policy-box {
    width: 100%;
    height: 300px; /* 高さを指定 */
    border: 1px solid #ccc;
    padding: 15px;
    overflow-y: auto; /* スクロール可能にする */
    text-align: left;
}

.privacy-policy-box p:first-child {
	font-weight: bold;
	text-align: center;
	padding-bottom:20px;
}

/* チェックボックス部分 */
.privacy-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    font-size: 16px;
}

.privacy-checkbox label {
    margin: 0;
    font-size: 16px;
}

.privacy-checkbox input {
    position: relative;
    appearance: auto;
    -webkit-appearance: auto;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

@media screen and (max-width: 570px) {
    .privacy-policy-container h2 {
        font-size: 18px;
    }

    .privacy-checkbox label {
        font-size: 14px;
    }
}

.entry-form {
    width: 80%;
    /* min-width: 400px; */
    margin: 80px auto;
}

.entry-form table{
    border-spacing: 0;
    width: 100%;
}

.entry-form td{
    padding: 10px;
    margin-right: 50px;
}

.entry-form th{
    padding: 15px;
    text-align: left;
    font-weight: normal;
    vertical-align: top;
    width: 250px;
}

.hissu{
    padding-right: 4em;
    position: relative;
}

.hissu::after{
    width: 60px;
    height: 30px;
    content: "必須";
    text-align: center;
    display: inline-block;
    position: absolute;
    right: 10px;
    top: 15px;
    border: 1px solid #CCC;
    border-radius: 7px;
    padding: 6px 5px;
    font-size: 12px;
    background: #5383EC;
    color: #FFF;
}

@media screen and (max-width: 670px) {
    .entry-form th,
    .entry-form td {
        display: block;
    }

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

    .entry-form td {
        margin-right: 0;
    }
}

.entry-form label {
    font-size: 16px;
    font-weight: bold;
    display: block;
    color: #333;
}

.entry-form input {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    font-size: 18px;
    background-color: #f8f8f8;
}

.entry-form .privacy-checkbox input {
    width: 16px;
}

/* 郵便番号と電話番号のレイアウト */
.entry-form .postal-group p,
.entry-form .phone-group p {
    display: flex;
    align-items: center;
}

.entry-form .postal-group .wpcf7-form-control-wrap,
.entry-form .phone-group .wpcf7-form-control-wrap {
	width: 30%;
}

.entry-form .postal-group input,
.entry-form .phone-group input {
    width: 100%;
    text-align: center;
    background-color: #f8f8f8;
}

.entry-form .small span {
    width: 80px!important;
}

.entry-form .postal-group .symbol,
.entry-form .phone-group .symbol {
    margin: 0 5px;
    width: 5px!important;
    font-size: 16px;
    color: #666;
}

/* 希望職種のチェックボックスを2列表示 */
.job-group {
    margin: 20px 0;
}

.job-column {
    display: flex;
    flex-direction: column;
}

.job-column .wpcf7-list-item {
    display: block;
    margin-bottom: 16px;
}

.job-column label {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    margin: 10px 0;
    width: auto;
    pointer-events: auto;
}

/* チェックボックスのスタイル */
.job-column input[type="checkbox"] {
    margin-right: 8px;
    position: relative;
    appearance: auto;
    -webkit-appearance: auto;
    width: 16px; /* チェックボックスのサイズ */
    height: 16px;
    cursor: pointer;
}

/* お問合せ内容のテキストエリア */
textarea {
    width: 100%;
    padding: 12px;
    /* border: 1px solid #ccc; */
    border-radius: 5px;
    font-size: 16px;
    background-color: #f8f8f8;
    resize: vertical;
    min-height: 160px;
}

/* 送信ボタン */
button[type="submit"],
.submit {
    width: 30% !important;
    max-width: 160px !important;
    height: 60px;
    margin: 0 auto !important;
    text-align: center !important;
    display: block !important;
    padding: 12px 20px !important;
    background-color: #5383EC !important;
    color: white !important;
    font-size: 12px !important;
    border: none !important;
    border-radius: 7px !important;
    cursor: pointer !important;
    margin-top: 40px !important;
    transition: all .5s ease !important;
}

button[type="submit"]:hover,
.submit:hover {
    opacity: 0.7 !important;
}

button[type="submit"]:active,
.submit:active {
    background-color: #4285F4 !important;
    opacity: 1 !important;
}

/* ==========================
    エントリーフォーム
========================== */
.engineer-entry {
    width: 50%;
}

.engineer-entry tr {
    padding-bottom: 35px;
    border-bottom: 3px solid #F0F0F0;
}

.engineer-entry tr:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.engineer-entry .job-column .wpcf7-list-item {
    display: inline-flex;
}

.engineer-entry .submit {
    max-width: 300px !important;
    padding: 12px 20px !important;
    background-color: white !important;
    border: 1px solid black !important;
    color: black !important;
    font-size: 14px !important;
    border-radius: 50px !important;
    margin-top: 40px !important;
    transition: all .5s ease !important;
}

.entry-form .postal-group .slash,
.entry-form .phone-group .slash {
    font-size: 35px;
    display: contents;
}

@media screen and (max-width: 1300px) {
    .engineer-entry {
        width: 80%;
    }
}

@media screen and (max-width: 670px) {
    .engineer-entry .submit {
        width: 100% !important;
    }
}

@media screen and (max-width: 390px) {
    .engineer-entry {
        margin: 80px 35px 80px 15px;
    }
    
    .engineer-entry .submit {
        width: 100% !important;
        margin-left: 20px !important;
    }
}

.introduction-entry .job-column .wpcf7-list-item {
    display: block;
}