/*
 Theme Name: Twenty Twenty-One Child
 Template: twentytwentyone
*/

.red {
    color: red;
    font-weight: bold;
}

.contact-setsumei {
    width: 100%;
    max-width: 1200px!important;
    margin: 20px auto;
}

.wpcf7 {
    width: 96%;
    max-width: 1200px!important;
    margin: 20px auto;
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}

.wpcf7-form p {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
}

.wpcf7-form p label ,.wpcf7-form p span.wpcf7-form-control-wrap {
    width: 100%;
}

.wpcf7-form p label {
    width: 100%;
}

.wpcf7-form p select,
.wpcf7-form p input,
.wpcf7-form p textarea {

}



.wpcf7-form p {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    column-gap: 30px;
    margin-bottom: 40px;
}



.wpcf7-form p span.wpcf7-form-control-wrap select,
.wpcf7-form p span.wpcf7-form-control-wrap input,
.wpcf7-form p span.wpcf7-form-control-wrap textarea  {
    border: 0.5px solid #aaa;
}


.wpcf7-select,
.wpcf7-text {
    width: 100%;
}

.wpcf7-form p label .wpcf7-radio label {
    display: flex;
    justify-content: flex-start;
    column-gap: 5px;
}

input[type=submit].wpcf7-submit {
    width: 100%;
    color: #ffffff !important;
    background-color: #0d6efd !important;
    max-width: 600px;
    margin: 20px auto;
}

/* input[type=number].wpcf7-number::placeholder,
input[type=tel].wpcf7-tel::placeholder {
    color: #dddddd !important;
} */


input.wpcf7-number::placeholder,
input.wpcf7-tel::placeholder {
    color: #dddddd !important;
}

input::placeholder,
textarea::placeholder {
    opacity: 1;
    color: #dddddd!important;
}


.page-id-29 .wpcf7-form  p.typesquare_option:nth-child(4) {
    padding-bottom: 10px;
    border-bottom: 0.5px solid #aaa;

}

@media screen and (min-width: 768px) and (max-width: 1023.98px) {
    .wpcf7-form p {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }

    
    .wpcf7-form p label.form-midashi {
        display: flex;
        justify-content: flex-start;
        width: 300px;
    }

    span.wpcf7-form-control-wrap  .wpcf7-radio label {
        display: flex;
        justify-content: flex-start!important;
        column-gap: 5px;
    }

.wpcf7-form p span.wpcf7-form-control-wrap {
    width: calc( 100% - 330px );
    
}
}


@media screen and (min-width: 1024px) {
    .wpcf7-form p {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        column-gap: 0;
    }

    .wpcf7-form p label.form-midashi {
        display: flex;
        justify-content: flex-start;
        width: 450px;
    }

    .wpcf7-form p span.wpcf7-form-control-wrap {
        width: calc(100% - 450px );
    }
}

section.contact-setsumei {
  padding: 20px 0!important;
}
.contact-setsumei .wp-block-group__inner-container {
  width: 100%;
  margin: 0 auto!important;
  max-width: 1200px!important;
}

@media screen and (max-width:991.98px) {
  .contact-setsumei .wp-block-group__inner-container {
    width: 96%;
    margin: 0 auto;
  }  
}



/* radioボタンの中の●の位置調整 */
.wpcf7-radio .wpcf7-list-item label input[type="radio"] {
  appearance: radio; 
  -webkit-appearance: radio;
  -moz-appearance: radio;
  vertical-align: middle;
  margin: 0 4px 0 0;
  line-height: normal;
}

@supports (-webkit-appearance: none) or (-moz-appearance: none) {
    input[type=radio]:after {
        content: "";
        opacity: 0;
        /* display: block; */
        display: none!important;
        left: 3px;
        top: 3px;
        position: absolute;
        width: 11px;
        height: 11px;
        border-radius: 50%;
        background: var(--form--color-text);
    }
}

/* 送信完了などのタイミングで表示されるテキスト */
.wpcf7-response-output {
  font-family: 'メイリオ', 'ＭＳ Ｐゴシック', sans-serif !important;
  margin: 0 auto;
}

/*------------------------------------------------------------
フランチャイズ加盟店募集ページのお問い合わせフォームのカスタム指示
------------------------------------------------------------*/

.page-id-91 .wpcf7-form p.typesquare_option:nth-child(6) {
    padding-bottom: 20px;
    border-bottom: 0.5px solid #aaa;
}
