@charset "utf-8";

input, textarea {
    border-radius: 5px;
}

input[type="text"] {
    height: 64px;
}

input[type="email"] {
	border-radius: 5px;
}

form input,
form textarea {
    padding: 12px 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

form input[type="checkbox"] {
    padding: 0;
}

form input[type="radio"] {
	height: 100%;
    padding: 0;
}


.h1_bg.contact {
    background-image: url(/wp-content/themes/conexio/images/h1_contact.jpg);
}

.h1_title.contact::before,
.h1_title.contact-prepaid::before,
.h1_title.contact-hr::before {
    content: "Contact";
}

.ln_wrap {
	display: none;
}

td p {
    margin-bottom: 0;
}

/* Contact form 7 */
.wpcf7 .step_item p,
.submit_btn_box p,
#form_btn_wrap p {
    margin: 0;
    line-height: 2.4rem;
    display: inline;
}

.wpcf7-spinner,
.wpcf7-response-output {
    display: none;
}

.wpcf7-list-item {
    display: block;
	margin: 0;
}

/* step */

.step {
    display: flex;
    max-width: 100%;
    justify-content: space-between;
	gap: 20px;
    margin: 0 auto 50px;
    padding-left: 0;
}

.step_item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 33%;
    padding: 25px 0;
    margin: 0;
    background: #f2f2f2;
    color: #333333;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 2.4rem;
    border-radius: 9999px;
}

/* ステップ1：フォーム入力画面 */
.contact .step_item:nth-child(1),
.contact-general .step_item:nth-child(1),
.contact-prepaid .step_item:nth-child(1),
.contact-hr .step_item:nth-child(1) {
    background: #0077C0;
    color: #fff;
}

/* ステップ2：確認画面 */
.contact-confirm .step_item:nth-child(2),
.contact-general-confirm .step_item:nth-child(2),
.contact-prepaid-confirm .step_item:nth-child(2),
.contact-hr-confirm .step_item:nth-child(2) {
    background: #0077C0;
    color: #fff;
}

/* ステップ3：完了画面 */
.contact-thanks .step_item:nth-child(3),
.contact-general-thanks .step_item:nth-child(3),
.contact-prepaid-thanks .step_item:nth-child(3),
.contact-hr-thanks .step_item:nth-child(3) {
    background: #0077C0;
    color: #fff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/*------------ フォーム表示制御用 ------------*/
.input_txt,
.preview_txt {
    text-align: center;
}

.mw_wp_form_preview .input_txt {
    display: none !important;
}

.mw_wp_form_preview .preview_txt {
    display: block !important;
    margin-bottom: 30px;
}

/*------------ 電話 ------------*/
.tel_box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 6% 12%;
    background: #F1F1F3;
}

.tel_box_head {
    font-size: 2.2rem;
    width: 50%;
    font-weight: 500;
}

.tel_box_content {
    width: 50%;
    padding-left: 4.5%;
}

.tel_box_content a {
    display: block;
    font-family: 'Noto Sans JP';
    font-weight: 500;
    font-size: 3.2rem;
}

.tel_box_content span {
    display: block;
    font-size: 1.4rem;
}

/*------------ フォーム ------------*/
.red {
    font-size: 1.4rem;
    font-weight: 600;
    color: #E30613;
    padding: 0 1px;
    margin: 0 2px 0;
}

.req {
    font-size: 1.4rem;
    color: #E30613;
    padding: 0 1px;
    margin: 2px 0 0;
    position: relative;
    float: right;
}

/*--- table内 ---*/
table {
    margin: 20px auto 50px;
}

table .req:after {
    content: ".";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}

table th {
	width: 25%;
    vertical-align: top;
}

table th p {
    margin: 0;
}

.form_table textarea {
    display: block;
    font-family: 'Noto Sans JP', 'Open Sans', sans-serif, "游ゴシック", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック";
    line-height: 1.7;
    width: 100%;
    border: none;
    min-height: 180px;
    padding: 11px 15px;
    resize: vertical;
    box-sizing: border-box;
    border: 1px solid #ccc;
}

.zipcode {
    width: 170px;
    margin: 0 0 10px 8px;
}

#postcode {
    width: 160px;
    margin-left: 15px;
}

td #email_confirm {
    font-size: 2.4rem;
    font-weight: bold;
    margin: 13px 0 8px;
    word-break: break-all;
}

.note {
    margin: 10px 0 5px;
}

.doi {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    background: #F5F5F5;
}

.doi label {
    cursor: pointer;
}

.doi label {
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 35px 0 36px;
}

.wpcf7-list-item-label {
    margin-left: 5px;
}

/*------------ ボタン ------------*/
#form_btn_wrap {
    text-align: center;
    display: flex;
    max-width: 680px !important;
    width: 100%;
    margin: auto;
    padding-top: 50px;
    justify-content: center;
    position: relative;
}

.submit_btn_box {
    position: relative;
    width: 260px;
    max-width: 100%;
    height: 60px;
}

.submit_btn_box p {
    height: 100%;
}

.submit_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 6px;
    font-family: 'Noto Serif JP', serif;
    font-size: 1.6rem;
    color: #FFF;
    background-color: #0077C0;
    border-radius: 100px!important;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s ease;
    max-height: 100%;
    position: relative;
    border: none;
    font-family: 'Noto Sans JP';
}

.submit_btn:hover {
    background: #0AA2FF;
}

.back_btn {
    font-family: 'Noto Sans JP';
    max-width: 140px;
    width: 100%;
    background: #f7f7f7;
    display: inline-block;
    padding: 6px;
    color: #7f7f7f;
    transition: background 0.3s;
    text-decoration: none;
    position: relative;
    text-align: center;
    margin-right: 20px;
    border: 1px solid #e6e6e6;
    font-size: 100%;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    border-radius: 100px!important;
}

.back_btn:hover {
    background: #fff;
    border: 1px solid #e6e6e6;
    cursor: pointer;
}

.w100 {
    width: 100%;
    box-sizing: border-box;
}

.other-inquiries {
  padding: 40px 20px;
}

.other-inquiries .other-inquiries-inner {
  background: #f7f7f7;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.other-inquiries-title {
  margin-bottom: 30px;
  font-weight: bold;
}

.other-inquiries-buttons p {
  display: flex;
  justify-content: center;
  gap: 20px;
}

a.other-inquiries-btn[target="_blank"] {
    display: inline-block;
    position: relative;
    max-width: 420px;
    width: 100%;
    padding: 20px 40px 20px 30px;
    background: #fff;
    border: 1px solid #0077C0;
    border-radius: 50px;
    color: #0077C0;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: left;
    text-decoration: none !important;
    transition: background 0.3s, border 0.3s, color 0.3s;
    text-align: center;    background: #fff url(../images/popup.svg) no-repeat center right 20px;
}

a.other-inquiries-btn[target="_blank"]:hover {
    background: #0077C0 url(../images/popup_white.svg) no-repeat center right 20px;
    border-color: #0077C0;
    color: #fff;
}


/*ホームに戻るボタン*/

.back{
	display: flex;
    justify-content: center;
}

.back a{
	display: inline-block;
    position: relative;
    max-width: 273px;
    width: 100%;
    padding: 20px 50px 20px 30px;
    background: #0077C0;
    border: 1px solid #0077C0;
    border-radius: 50px;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: left;
    text-decoration: none !important;
    transition: background 0.3s, border 0.3s, color 0.3s;
    text-align: center;
}

.back a:after{
	content: '';
    position: absolute;
    display: block;
    background: url(../images/arrow_r_white.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 17px;
    height: 13px;
    right: 20px;
    top: calc(50% - 6px);
    transition: background 0.3s;
}

.back a:hover {
    background: #fff;
    border: 1px solid #0077C0;
    color: #0077C0;
}

.back a:hover:after{
	background: url(../images/arrow_r_blue.svg);
    animation: icon-arrow 0.4s cubic-bezier(0.29, 0.65, 0.62, 1) forwards;
}

@media screen and (max-width: 767px) {

    .step {
        margin-bottom: 20px;
        padding: 0;
		gap: 10px;
    }

    .step_item {
        padding: 10px 0;
        font-size: 1.5rem;
    }

    /*------------ 電話 ------------*/
    .tel_box {
        margin-bottom: 35px;
        padding: 20px;
    }

    .tel_box_head {
        font-size: 1.5rem;
        text-align: center;
        width: 100%;
    }

    .tel_box_content {
        width: 100%;
        padding-left: 0;
    }

    .tel_box_content a {
        display: inline-block;
        font-size: 2.5rem;
        text-align: center;
    }

    .tel_box_content span {
        font-size: 1.3rem;
        text-align: center;
    }

    /*------------ フォーム ------------*/
    .red {
        font-size: 1.2rem;
    }

    .req {
        font-size: 1.2rem;
        margin: 0;
    }

    /*--- table内 ---*/
    table {
        margin: 22px auto 35px;
        border-top: none;
    }

    table th,
    table td {
        display: block;
        width: 100%;
        padding: 13px !important;
        margin-bottom: 0px;
    }

    input[type="text"],
    input[type="email"],
    textarea {
        width: 100%;
    }

    input,
    textarea,
    select {
        font-size: 1.3rem;
    }
	
	input {
		height: 54px;
	}
	
    .text_area_bottom input {
        margin-bottom: 10px;
        width: 76%;
    }

    input {
        box-sizing: border-box;
        margin-bottom: 0px;
    }

    /*------------ ボタン ------------*/


    #form_btn_wrap {
        max-width: none;
        padding-top: 30px;
    }

    .submit_btn_box {
        height: 50px;
        width: 200px;
    }

    .submit_btn {
        font-size: 1.4rem;
    }

    .back_btn {
        margin-right: 20px;
        width: 100px;
    }

    /*--- プレビュー時---*/
    .mw_wp_form_preview table {
        margin: 0 auto 35px;
    }

    .mw_wp_form_preview #form_btn_wrap {
        margin-top: 35px;
    }
	.other-inquiries {
	  padding: 0;
	}

	.other-inquiries .other-inquiries-inner {
	  padding: 30px 20px;
	  max-width: 100%;
	}
	
	.other-inquiries-buttons p {
  		flex-wrap: wrap;
	  	gap: 20px 0;
	}
	
	a.other-inquiries-btn[target="_blank"] {
        padding: 10px 20px 10px 20px;
        font-size: 1.4rem;
    }
}