/*コンタクト*/
/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"] {
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    outline: none;
    background: transparent;
}
input[type="submit"] {

}
/*コネクト特別*/
/*section-form*/
.section-form{
    background-color: #E6E6E5;
    padding: 50px 0;
}
.form-heading{
    width: 100%;
    font-size: 30px;
    text-align: center;
    display: block;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.form-heading span{
    color: rgb(7,160,177);
}
/*全体設定*/
.wpcf7-form ul{
	width: 65%;
    margin: 0 auto;
    margin-top: 80px;

}
.wpcf7-form ul.margin-contact{
    margin-top: 20px;
}
span.wpcf7-form-control-wrap {
    width: 100%;
}
.wpcf7-form *{
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
}
.form-title{
    font-size: 18px;
    margin-bottom: 10px;
}

/* コンタクトフォーム外枠 */
.contact-title {
    /*margin-top: 50px;*/
}
.contact-form {
    margin: 50px auto;
}

  /* contact-formタグ追加部分 */
  .form-title-span {
    vertical-align: bottom;
  }

span.hissu {
    color: #fff;
    font-weight: 500;
    font-size: 13px;
    margin-left: 10px;
    display: inline-block;
    align-items: center;
    /* ↓追加css */
    vertical-align: bottom;
    border-radius: 100vh;
    background: #376CAD;
    padding: 4px 15px;
}
.wpcf7-form li {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    align-items: flex-start;
    text-align: left;
}

.form-content{
	width: 100%;
    display: flex;
    flex-direction: column;

}
.wpcf7-form li.flex-start{
    justify-content: flex-start;
    align-items: flex-start;
}
/*全体設定*/
.confirm-box {
    display: flex;
    justify-content: center;
}
/*送信ボタン*/
.submit-button{
    color: #fff;
    background-color: #1b2a76;
    display: none;
    text-align: center;
    width: 150px;
    font-size: 20px;
    padding: 10px 0;
    border-radius: 5px;
    margin: 0 20px;
    margin-top: 50px;
    border: none!important;
}
#confirm-button{
  display: block;
}
/*input設定*/
span.contact-content input {
    font-size: 16px;
}
.form-content input[type='text'],.form-content input[type='tel'],.form-content input[type='email']{
	width: 100%;
    height: 100%;
    padding: 10px 0 10px 5px;
    border: solid 2px #000;
    background-color: #fff;
    /*color: #c9c1b7;*/
    font-weight: lighter;
}
/*input設定*/
/*テキストエリア*/
.form-content textarea{
    width: 100%;
    height: 100%;
    padding: 10px 0 10px 5px;
    border: solid 2px #ebe6df;
    background-color: #f2efeb;
    border: solid 2px #000;
    /*color: #c9c1b7;*/
    font-weight: lighter;
    resize: none;
}
/*セレクトボックス*/
.form-content select {
    border: solid 2px #ebe6df;
    margin-right: 10px;
    width: 50%;
    padding: 5px 0;
    color: #595855;
    background-color: #f2efeb;
    margin-top: 10px;
}
span.date {
    display: flex;
    flex-direction: column;
}
/*テキストエリア*/
/*.checkbox input[type='checkbox']*/
/*ボタンを押した際のアニメーション*/
.check .wpcf7-list-item-label::before{
    position: absolute;
    content: '';
    width: 25px;
    height: 25px;
    background-color: #f2efeb;
    border: solid 2px #ebe6df;
    left:0px;
    border-radius: 5px;
 }
 .check .wpcf7-list-item input:checked + .wpcf7-list-item-label:before
 {
     position: absolute;
    content: '';
    background-image: url('../img/input-check.JPEG 2000');
    background-size: contain;
    width: 25px;
    height: 25px;
    border: solid 2px #ebe6df;
    background-color: #f2efeb;
    border-radius: 5px;
 }
 .check input{
    display: none;
 }
.check span.wpcf7-form-control {
    display: flex;
    flex-direction: column;
}
.check span.wpcf7-form-control .wpcf7-list-item {
    margin-bottom: 20px;
    padding-left: 25px;
    display: flex;
    align-items: center;
}
 /*ボタンを押した際のアニメーション*/
 /*ラジオボタン*/
/*ボタンを押した際のアニメーション*/
.radio .wpcf7-list-item-label::before{
    position: absolute;
    content: '';
    width: 25px;
    height: 25px;
    background-color: #f2efeb;
    border: solid 2px #ebe6df;
    left:0px;
    border-radius: 50%;
 }
 .radio input{
    display: none;
 }
 .radio input[type='text'] {
    display: block;
}
 /*.radio .wpcf7-list-item.first input:checked + .wpcf7-list-item-label:before,.radio .wpcf7-list-item:nth-child(2) input:checked + .wpcf7-list-item-label:before,.wpcf7-list-item:nth-child(3) input:checked + .wpcf7-list-item-label:before,.wpcf7-list-item:nth-child(4) input:checked + .wpcf7-list-item-label:before,.wpcf7-list-item:nth-child(5) input:checked + .wpcf7-list-item-label:before*/
 .radio .wpcf7-list-item input:checked + .wpcf7-list-item-label:before
 {
     position: absolute;
    content: '';

    background-size: contain;
    width: 23px;
    height: 23px;
    border: solid 4px #f2efeb;
    background-color:#71594C;
    border-radius: 50%;
 }
 .radio span.wpcf7-form-control {
    display: flex;
    flex-direction: column;
}
.radio span.wpcf7-form-control .wpcf7-list-item {
    margin-bottom: 20px;
    padding-left: 25px;
    display: flex;
    align-items: center;
}
 /*ボタンを押した際のアニメーション*/
@media screen and (max-width: 1024px){
    .wpcf7-form ul {
        width: 80%;
    }
}
@media screen and (max-width: 500px){
    .wpcf7-form ul {
        width: 90%;
        margin-top: 50px;
    }
    .wpcf7-form li {
        display: flex;
        margin-bottom: 30px;
        flex-direction: column;
        align-items: flex-start;
    }
    .form-content {
        width: 100%;
        display: flex;
    }
    .form-title {
        width: 100%;
        display: flex;
        font-size: 16px;
        margin-bottom: 10px;
    }
    .submit-button {
        font-size: 15px;
    }
    .date {
        display: flex;
        flex-direction: column;
    }
    .form-content select{
        width: 100%;
        margin-bottom: 10px;
    }
}
@media screen and (max-width: 320px){
    .wpcf7-form * {
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: bold;
        font-size: 12px;
    }
}
