.contact-text {
    margin-top: -60px;
    margin-bottom: 60px;
    font-weight: bold;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.05em;
    color: #333333;
}

@media (max-width: 767px) {
    .contact-text {
        margin-top: -32px;
        margin-bottom: 30px;
        font-size: 15px;
        line-height: 22px;
    }
}

.contact {
    padding-top: 60px;
    padding-bottom: 60px;
    margin-bottom: 120px;
    background: #FFFFFF;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

.contact table {
    margin: 0 auto;
    width: 630px;
    border-collapse: separate;
    border-spacing: 0 30px;
    margin-bottom: 30px;
    /*60 - 30*/
}

.contact th {
    display: inline-block;
    width: 170px;
}

.contact th label {
    font-size: 16px;
    line-height: 154.7%;
    line-height: 40px;
    letter-spacing: 0.05em;
}

.contact td {
    display: inline-block;
    width: calc(100% - 170px);
}

.contact .company input, .contact .name input, .contact .mail input, .contact .tell input {
    padding: 0 15px;
    line-height: 40px;
    background: #FFFFFF;
    border: 1px solid #727171;
    box-sizing: border-box;
    border-radius: 3px;
    width: 100%;
}

.contact .name input {
    width: calc((100% - 30px) / 2);
    display: inline-block;
}

.contact .name td {
    position: relative;
}

.mw_wp_form_confirm td {
    padding-top: 7px;
}

.contact .name td input:last-child {
    position: absolute;
    top: 0;
    right: 0;
}

.contact .body textarea {
    padding: 15px;
    width: 100%;
    height: 230px;
    line-height: 25px;
    background: #FFFFFF;
    border: 1px solid #727171;
    box-sizing: border-box;
    border-radius: 3px;
}

.contact .company input, .contact .name input, .contact .mail input, .contact .tell input {
    height: 40px;
}

.contact input {
    display: block;
}

.contact .mast {
    position: relative;
}

.contact .mast::before {
    content: "必須";
    display: inline-block;
    position: absolute;
    width: 46px;
    height: 28px;
    top: 6px;
    left: -76px;
    background: #333333;
    border-radius: 3px;
    font-weight: 500;
    font-size: 12px;
    line-height: 28px;
    color: #FFFFFF;
    text-align: center;
}

.mw_wp_form_confirm .mast::before {
    display: none;
}

.mw_wp_form_confirm .privacy-check {
    display: none;
}

.privacy-check {
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    color: var(--textcolor);
}

.privacy-check a {
    text-decoration: underline;
}

.privacy-check label {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.mwform-checkbox-field input {
    display: inline-block;
}

.submit-btn {
    margin-top: 60px;
}

.viewmore-btn_white {
    background-color: #fff !important;
    color: var(--textcolor) !important;
    box-shadow: 0px 4px 7px rgba(0, 0, 0, 0.15) !important;
}

.submit-btn input {
    position: relative;
    margin: 0 auto;
    display: block;
    width: 240px;
    height: 58px;
    text-align: center;
    line-height: 58px;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    background: var(--textcolor);
    box-shadow: 0px 4px 7px rgba(0, 0, 0, 0.15);
    border-radius: 30px;
}

.submit-btn input::after {
    position: absolute;
    content: "";
    display: inline-block;
    height: 40px;
    width: 40px;
    top: 10px;
    right: 8px;
    background-image: url(../img/icon/white-btn-after.svg);
}

.submit-btn br {
    display: none;
}

.mw_wp_form_confirm .submit-btn {
    display: flex;
    justify-content: center;
}

.mw_wp_form_confirm .submit-btn input:first-child {
    margin: 0;
}

.mw_wp_form_confirm .submit-btn input:last-child {
    margin-right: 0;
    margin-left: 60px;
}

@media (max-width: 1000px) {
/* table, tbody, tr, th, td {
display: block;
} */
    .contact {
        padding-top: 20px;
    }
    .contact table {
        margin: 0 auto;
        max-width: 600px;
        width: 100%;
        padding-left: 14px;
        padding-right: 14px;	
        -webkit-text-size-adjust: 100%;
    }
    .contact th, .contact td {
        -webkit-text-size-adjust: 100%;
        display: block;
        width: 100%;
    }
    .contact th {
		margin-top: 10px;
        height: 32px;
    }
    .contact th label {
        font-size: 14px;
        line-height: 24px;
    }
    .mast {
        padding-left: 54px;
    }
    .contact .mast::before {
        width: 42px;
        height: 24px;
        line-height: 24px;
        left: 0;
        top: 0;
    }
    .contact .name input {
        width: 100%;
        position: relative !important;
    }
    .contact .name td input:first-child {
        margin-bottom: 10px;
    }
    .mw_wp_form_confirm .mast {
        padding-left: 0;
    }
    .contact .company input, .contact .name input, .contact .mail input, .contact .tell input {
        height: 50px;
        font-size: 14px;
        line-height: 21px;
        padding-left: 12px;
        padding-right: 12px;
    }
    .contact .body textarea {
        padding: 14px 12px;
        font-size: 14px;
        line-height: 22px;
        color: #727171;
    }
    .mw_wp_form_confirm .submit-btn {
        display: block;
        margin-top: 20px;
        /*50 - 30*/
    }
    .mw_wp_form_confirm .submit-btn input:first-child {
        margin: 0 auto 30px auto;
    }
    .mw_wp_form_confirm .submit-btn input:last-child {
        margin: 0 auto;
    }
	.privacy-check{
		margin-top: 30px;
	}
}

@media (max-width: 500px) {
    .privacy-check{
		width: calc(100% - 30px);
		margin: 30px auto 0 auto;
		text-align:left;
	}
	.privacy-check .mwform-checkbox-field{
		text-align: center;
		display: block;
	}
}

/*螳御ｺ�判髱｢*/

.mw_wp_form_complete {
    margin-bottom: 120px;
    text-align: center;
}

.mw_wp_form_complete .complete-text {
    margin-bottom: 120px;
    font-weight: bold;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.05em;
    color: var(--textcolor);
}

.viewmore-btn__img {
    /* background-image: url(../img/icon/btn-arrow.svg); */
    background-size: cover;
}

@media (max-width: 767px) {
    .mw_wp_form_complete {
        margin-bottom: 60px;
    }
    .mw_wp_form_complete .complete-text {
        margin-bottom: 50px;
        font-size: 15px;
        line-height: 22px;
    }
}

/*menu*/

.menu {
    margin-bottom: 0;
}

/*entry霑ｽ蜉�*/

.contact .entry_job select, .contact .entry_category select, .contact .year select {
    padding: 0 15px;
    line-height: 40px;
    background: #FFFFFF;
    border: 1px solid #727171;
    box-sizing: border-box;
    border-radius: 3px;
    width: 100%;
}

.select-contents {
    position: relative;
}

.year .select-contents {
    width: calc((100% - 80px) /2);
    display: inline-block;
}

.year p {
    display: inline-block;
    line-height: 100%;
    font-weight: 500;
    font-size: 16px;
}

.year td p:nth-child(3) {
    margin-right: 30px;
}

.select-contents::before {
    position: absolute;
    content: "笆ｼ";
    font-size: 8px;
    top: 16px;
    right: 16px;
    color: var(--textcolor);
}

.mw_wp_form_confirm .select-contents::before {
    display: none;
}

.mw_wp_form_confirm .select-contents {
    display: inline;
}

.upload-box {
    position: relative;
}

[type="file"] {
    display: none!important;
}

.upload-box label {
    position: absolute;
    height: 40px;
    width: 100%;
    color: var(--textcolor);
    background-color: inherit;
    border: 1px solid #fff;
    cursor: pointer;
    text-align: center;
    border: 1px solid #727171;
    box-sizing: border-box;
    border-radius: 3px;
}

.upload-box label::before {
    position: absolute;
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    top: 11px;
    right: 15px;
    background-image: url(../img/icon/entry-file.svg);
}

.mwform-file-delete {
    position: absolute;
    left: 0;
    top: 9px;
}

.file__name {
    display: inline-block;
    margin-left: 15px;
    line-height: 40px;
}

.file__text {
    margin-top: 10px;
    font-size: 12px;
    line-height: 19px;
    color: var(--textcolor);
}

/*遒ｺ隱咲判髱｢*/

.mw_wp_form_confirm .upload-box label {
    border: none;
}

.mw_wp_form_confirm .upload-box label::before {
    display: none;
}

.mw_wp_form_confirm .file__name {
    margin-left: 0;
}

.mw-wp-form_file {
    left: 0;
    position: absolute;
    display: inline-block;
    text-align: left;
    line-height: 40px;
    height: 40px;
    font-size: 16px;
    background-color: #fff;
    color: var(--textcolor);
}

.mw_wp_form_confirm .file__text {
    display: none;
}

.mw_wp_form_complete {
    margin-top: -120px;
    margin-bottom: -60px;
}

.mw_wp_form_complete .viewmore-btn__img{
    background-image: none;
}

@media (max-width: 767px) {
    .mw_wp_form_complete {
        margin-top: -90px;
        margin-bottom: -120px;
    }
}

.mwform-tel-field input[type="text"] {
    display: inline-block;
    width: auto;
}

@media (max-width: 400px) {
    .mwform-tel-field input[type="text"] {
        width: 85px;
    }
}

.hero {
    padding-top: 120px;
    padding-bottom: 120px;
    text-align: center;
    font-weight: bold;
    font-size: 64px;
    line-height: 96px;
    letter-spacing: 0.05em;
}

@media (max-width: 767px) {
    .hero{
        padding-top: 68px;
        padding-bottom: 60px;
        font-size: 30px;
        line-height: 45px;
    }
}
