@charset "utf-8";
/*

Theme Name: tequos

*/

/* フォーム大枠 */

.form {
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    margin: 0 auto;
    box-sizing: border-box;
}

.form_wrap {
    background: #f5f5f5;
    padding: 70px 0;
    box-sizing: border-box;
}

.form_inner {
    padding: 70px;
    background: white;
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
}

.form_litst_item{
    margin-bottom: 30px;
}

.form_inner_heading h3 {
    font-size: 3.5rem;
    font-weight: 600;
    text-align: center;
}

@media(max-width:768px) {
    .form_wrap {
        background: #f5f5f5;
        padding: 70px 0;
        box-sizing: border-box;
    }

    .form_inner {
        padding: 30px;
        width: 100%;
        background: white;
        margin: 0 auto
    }

    .form_inner_heading h3 {
        font-size: 2.4rem;
        font-weight: 600;
        text-align: center;
    }
}

/* フォーム大枠 */
/* ブラウザのデフォルトのpadding borderを解除 */

input {
    background: #F5F9FC;
    border: 1px solid #CCDAE4;
}

input[type="text"] {
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

input[type="email"] {
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

input[type="tel"] {
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

textarea {
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* ブラウザのデフォルトのpadding borderを解除 */

/* ContactForm7オリジナルsubmitボタン */

div.wpcf7 input.wpcf7-submit {
    cursor: pointer;
    background: #005FA8;
    text-align: center;
    color: white;
    padding: 20px;
    width: 100%;
    border: 0;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    margin-top: 30px;
}

div.wpcf7 input.wpcf7-submit:hover {
    cursor: pointer;
    border: 1px solid #005FA8;
    background: none;
    color: #005FA8;
    transition-duration: 0.5s;
    transition-timing-function: ease-in-out;
}

.wpcf7 input.wpcf7-submit:active {
    box-shadow: none;
    bottom: -2px;
    position: relative;
}

/* ContactForm7オリジナルsubmitボタン */


/*チェックボックスカスタマイズ */

.wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    font-size: 14px;
    font-weight: normal;
    margin: 0;
    padding: 0;
}

.wpcf7-checkbox label {
    display: flex;
    align-items: center;
    /* flex-direction: ; */
}

.wpcf7-checkbox span {
    min-width: 220px;
    text-align: left;
    background: #F5F9FC;
    padding: 5px !important;
    margin:0 15px 15px 0;
    border: 1px solid #D2DEE7;
}

.wpcf7-list-item span {
    margin-bottom: 0;
}

.wpcf7-list-item-label {
    border: none !important;
}

/* ■コンタクトフォームCSS */


div.wpcf7 {
    padding: 0px;
    -moz-border-radius: 10px;
    -khtml-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    margin: 0 0 0 0;
}

div.wpcf7 p {
    padding: 0 0 0;
    margin: 0;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

div.wpcf7 input,
.wpcf7 textarea {
    width: 100%;
    /* border: 1px solid #ccc; */
    padding: 14px;
    font-size: 14px;
    /* margin-top: 7px; */
    background: #F5F9FC;
    margin-bottom: 0;
    /* padding-bottom: -20px; */
}

div.wpcf7 textarea {
    width: 100%;
    height: 180px;
}


.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border: 1px solid #0071B9;
}

.wpcf7-captchac {
    border: 1px solid #ccc;
}

.wpcf7 .wpcf7-not-valid {
    background: #ffb6c1;
}

.wpcf7 span.wpcf7-not-valid-tip {
    font-size: 80%;
}

.wpcf7 .wpcf7-response-output {
    margin: 10px 0 0;
    padding: 8px 35px 8px 14px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.wpcf7 .wpcf7-validation-errors {
    color: #B94A48;
    background-color: #F2DEDE;
    border: 1px solid #EED3D7;
}

.wpcf7 .wpcf7-mail-sent-ok {
    color: #3A87AD;
    background-color: #D9EDF7;
    border: 1px solid #BCE8F1;
}

.wpcf7 .required {
    margin-left: 10px;
    padding: 0px 8px;
    background: #C02020;
    color: #fff;
    border-radius: 0;
    margin-right: 5px;
    position: relative;
    bottom: 1px;
    font-weight: bold;
    font-size: 10px;
    text-align: center;
}

.wpcf7 .any {
    margin-left: 10px;
    padding: 0px 8px;
    background: #005FA8;
    color: #fff;
    border-radius: 0;
    margin-right: 5px;
    position: relative;
    bottom: 1px;
    font-weight: bold;
    font-size: 8px;
    text-align: center;

}

.sub-contents span.wpcf7-form-control-wrap {
    margin-left: 0;
}

.wpcf7-list-item {
    display: block;
    text-align: center;
    /* margin: 0 auto; */
    /* width: auto; */
    margin-right: 15px;
    margin-bottom: 15px;
    /* margin: 0 !important; */
    margin: 0 0 0 0;
}

input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
select,
textarea,
{
display: block;
width: 100%;
margin-bottom: 0;
padding: 0 12px;
border: 0;
border-radius: 3px;
background-color: #f9f9f9;
box-shadow: none;
color: #f9f9f9;
font-size: 1em;
vertical-align: middle;
transition: background-color 0.24s ease-in-out;
}

input,
select,
textarea {
    border: 1px solid #D2DEE7;
    letter-spacing: 1px;
    margin: 0;
    padding: 14px 5px;
    width: 50%;
    resize: none;
    color: black;
    margin-top: 0;
    margin-right: 5px;
}


.wpcf7-list-item-label {
    margin: 0 auto;
    text-align: center;
    display: block;
    outline: 0;
}





@media(max-width:768px) {

    /* ■コンタクトフォームCSS */

    .form-wrap {
        width: 90%;
        margin: 0 auto;
        box-sizing: border-box;
    }

    div.wpcf7 {
        padding: 0px;
        -moz-border-radius: 10px;
        -khtml-border-radius: 10px;
        -webkit-border-radius: 10px;
        border-radius: 10px;
        margin: 0 0 30px 0;
    }

    div.wpcf7 p {
        padding: 20px 0 0;
        margin: 0;
        font-size: 16px;
        font-weight: bold;
    }

    div.wpcf7 input,
    .wpcf7 textarea {
        width: 100%;
        border: 1px solid #ccc;
        padding: 14px;
        font-size: 14px;
        margin-top: 7px;
        box-sizing: border-box;
    }

    div.wpcf7 textarea {
        width: 100%;
        height: 180px;
    }

    div.wpcf7 input.wpcf7-submit {
        cursor: pointer;
        background: #005FA8;
        text-align: center;
        color: white;
        padding: 20px;
        width: 100%;
        border: 0;
        cursor: pointer;
        font-size: 20px;
        font-weight: 600;
        margin-top: 30px;
    }

    div.wpcf7 input.wpcf7-submit:hover {
        cursor: pointer;
        border: 1px solid #005FA8;
        background: none;
        color: #005FA8;
        transition-duration: 0.5s;
        transition-timing-function: ease-in-out;
    }

    .wpcf7 input.wpcf7-submit:active {
        box-shadow: none;
        bottom: -2px;
        position: relative;
    }

    .wpcf7 input:focus,
    .wpcf7 textarea:focus {
        border: 1px solid #0071B9;
    }

    .wpcf7-captchac {
        border: 1px solid #ccc;
    }

    .wpcf7 .wpcf7-not-valid {
        background: #ffb6c1;
    }

    .wpcf7 span.wpcf7-not-valid-tip {
        font-size: 80%;
    }

    .wpcf7 .wpcf7-response-output {
        margin: 10px 0 0;
        padding: 8px 35px 8px 14px;
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
    }

    .wpcf7 .wpcf7-validation-errors {
        color: #B94A48;
        background-color: #F2DEDE;
        border: 1px solid #EED3D7;
    }

    .wpcf7 .wpcf7-mail-sent-ok {
        color: #3A87AD;
        background-color: #D9EDF7;
        border: 1px solid #BCE8F1;
    }

    .wpcf7 .required {
        padding: 5px;
        background: #FF2C2C;
        color: #fff;
        border-radius: 2px;
        margin-right: 5px;
        position: relative;
        bottom: 1px;
        font-weight: bold;
        font-size: 8px;
        text-align: center;
    }

    .wpcf7 .any {
        padding: 5px;
        background: #0084F8;
        color: #fff;
        border-radius: 2px;
        margin-right: 5px;
        position: relative;
        bottom: 1px;
        font-weight: bold;
        font-size: 8px;
        text-align: center;

    }

    .sub-contents span.wpcf7-form-control-wrap {
        margin-left: 0;
    }

    .wpcf7-list-item {
        display: block;
        text-align: center;
        margin: 0 auto;
        margin: 0 0 0 0 !important;
    }

    

    input[type="text"],
    input[type="password"],
    input[type="datetime"],
    input[type="date"],
    input[type="month"],
    input[type="time"],
    input[type="week"],
    input[type="number"],
    input[type="email"],
    input[type="url"],
    input[type="search"],
    input[type="tel"],
    input[type="color"],
    select,
    textarea,
    {
    display: block;
    width: 100%;
    margin-bottom: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 3px;
    background-color: #f9f9f9;
    box-shadow: none;
    color: #f9f9f9;
    font-size: 1em;
    vertical-align: middle;
    transition: background-color 0.24s ease-in-out;
}

input,
select,
textarea {
    border: 1px solid #D2DEE7;
    letter-spacing: 1px;
    margin: 0;
    padding: 14px 5px;
    width: 100%;
    resize: none;
    color: black;
    margin-top: 0;
    margin-right: 5px;
}

/* 	input[type="checkbox"]{
		width:7px !important;
		height:5px;
		display:block;
		margin:0 auto;
		text-align:center;
		margin-bottom:5px;
	} */

}