body{
    background-color: #fff;
    overflow-x: hidden;
}
html{
    margin: auto!important;
}
.header-info {
    color: #fff;
    background: #f55e5e;
    background: linear-gradient(135deg,#f55e5e,#ffbaba)
}
.mv{
    position: relative;
}
.text-area{
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    display: table;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    width: 100%;
}
.text-area .logo{
    width: auto;
    max-width: 300px;
    margin: 0 auto 50px !important;
    display: block;
}
.info h1{
    text-align: center;
    font-size: 2rem;
    font-family: initial;
    margin-top: 80px;
}
.how{
    background-color: #f9f9f9;
}
.how h2{
    padding: 50px 0 30px!important;
    text-align: center;
    color: #377fc4;
    font-size: 1.5rem;
}
.how h2 b{
    color: #377fc4;
    font-size: 2.5rem;
}
.how h2 small{
    color: #377fc4;
    font-size: 1.3rem;
    font-weight: 600;
}
.how h3{
    text-align: center;
    padding-top: 50px;
    color: #377fc4;
    font-size: 1.5rem;
}
.how p{
    text-align: center;
    font-family: sans-serif;
    font-size: 1.2rem;
    line-height: 45px;
    font-weight: 600;
}
.flex-wrap{
    display: flex;
    gap: 20px;
}
.how .flex-wrap{
    margin-bottom: 50px;
}
.img-wrap{
    flex: 1;
}
.text-wrap{
    flex: 1;
}
.text-wrap p{
    text-align: left;
}
.overview{
    background-image: url(../img/medical/overview-bg.webp);
    background-repeat: no-repeat;
    background-position: bottom;
}
.overview .logo{
    width: auto;
    max-width: 300px;
    margin: 50px auto 0px !important;
    display: block;
}
.medical-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  padding-bottom: 400px;
}

.overview h3{
    text-align: center;
    padding-top: 50px;
    color: #377fc4;
    font-size: 1.5rem;
}
.overview p{
    text-align: center;
    font-family: sans-serif;
    font-size: 1.2rem;
    line-height: 45px;
    font-weight: 600;
}
.medical-list .item {
  display: table;
  width: 100%;
  margin-bottom: 20px;
}

.medical-list .label {
  display: table-cell;
  width: 200px;
  text-align: center;
  font-weight: bold;
  vertical-align: middle;
  padding: 10px;
  color: #fff;
  border-radius: 0;
  font-size: 1.3rem;
}

.medical-list .desc {
  display: table-cell;
  padding: 10px 15px;
  vertical-align: middle;
  background: #fff;
  font-size: 1.2rem;
  font-family: bold;
}

/* 色別ラベル */
.command .label{ background: #c6ac27;}
.command{ border: solid 2px #c6ac27;} /* 黄 */
.exam .label{ background: #f1534c;}
.exam{ border: solid 2px #f1534c;} /* 赤 */
.label-bed .label{ background: #377fc4;}
.label-bed{ border: solid 2px #377fc4;} /* 青 */
.label-er .label{ background: #04ad9b;}
.label-er{ border: solid 2px #04ad9b;} /* 緑 */


.unit p{
    text-align: center;
    font-family: sans-serif;
    font-size: 1.2rem;
    line-height: 45px;
    font-weight: 600;
}
.unit ul{
    display: block;
}
.unit li{
    display: block;
    max-width: 450px;
    padding: 10px 100px;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    background-color: #6c747a;
    margin: 30px auto;
    text-align: center;
}

.feature h3{
    text-align: center;
    padding-top: 50px;
    color: #377fc4;
    font-size: 1.5rem;
    padding-bottom: 50px;
}
.feature ul{
    max-width: 700px;
    margin: auto;
}
.feature li{
    padding-left: 100px;
    position: relative;
    margin-bottom: 80px;
    height: 80px;
    align-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}
.feature li:before{
    position: absolute;
    content: "";
    background-image: url(../img/medical/feature01.svg);
    background-repeat: no-repeat;
    width: 80px;
    height: 80px;
    left: 0;
    top: 0;
}
.feature li:nth-child(2):before{
    background-image: url(../img/medical/feature02.svg);
}
.feature li:nth-child(3):before{
    background-image: url(../img/medical/feature03.svg);
}
.feature li:nth-child(4):before{
    background-image: url(../img/medical/feature04.svg);
}

.merit{
    margin-bottom: 50px;
}
.merit-text{
    position: relative;
}
.merit-text:before{
    position: absolute;
    content: "\5c0e\5165\30e1\30ea\30c3\30c8";
    font-size: 1.3rem;
    font-weight: bold;
    top: 0;
    bottom: 0;
    text-align: center;
    width: fit-content;
    height: fit-content;
    left: 0;
    right: 0;
    margin: auto;
}
.merit p{
    display: block;
    max-width: 550px;
    font-family: sans-serif;
    font-size: 1.2rem;
    line-height: 45px;
    font-weight: 600;
    margin: auto;
}
.example{
    margin-bottom: 50px;
}
.example-text{
    position: relative;
}
.example-text:before{
    position: absolute;
    content: "\5e73\5e38\6642\306e\6d3b\7528\4f8b";
    font-size: 1.3rem;
    font-weight: bold;
    top: 0;
    bottom: 0;
    text-align: center;
    width: fit-content;
    height: fit-content;
    left: 0;
    right: 0;
    margin: auto;
}
.example01,.example02,.example03{
    padding-left: 100px;
    position: relative;
    margin-bottom: 80px;
    height: 80px;
    align-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    width: fit-content;
    margin: auto;
    display: block;
}
.example01:before{
    position: absolute;
    content: "";
    background-image: url(../img/medical/example01.svg);
    background-repeat: no-repeat;
    width: 80px;
    height: 80px;
    left: 0;
    top: 0;
}
.example02:before{
    position: absolute;
    content: "";
    background-image: url(../img/medical/example02.svg);
    background-repeat: no-repeat;
    width: 80px;
    height: 80px;
    left: 0;
    top: 0;
}
.example03:before{
    position: absolute;
    content: "";
    background-image: url(../img/medical/example03.svg);
    background-repeat: no-repeat;
    width: 80px;
    height: 80px;
    left: 0;
    top: 0;
}
.example .flex-wrap{
    display: flex;
    align-items: center;
}
.example .text-wrap,
.example .img-wrap{
    flex: 1;
}

.flow{
    background-color: #f9f9f9;
}
.flow h3{
    text-align: center;
    padding-top: 50px;
    color: #377fc4;
    font-size: 1.5rem;  
    padding-bottom: 50px;
}
.flow ul{
    max-width: 700px;
    margin: auto;
}
.flow li{
    padding-left: 100px;
    position: relative;
    margin-bottom: 80px;
    height: 80px;
    align-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}
.flow li:before{
    position: absolute;
    content: "";
    background-image: url(../img/medical/flow01.svg);
    background-repeat: no-repeat;
    width: 80px;
    height: 80px;
    left: 0;
    top: 0;
}
.flow li:nth-child(2):before{
    background-image: url(../img/medical/flow02.svg);
}
.flow li:nth-child(3):before{
    background-image: url(../img/medical/flow03.svg);
}
.flow li:nth-child(4):before{
    background-image: url(../img/medical/flow04.svg);
}
.flow li:nth-child(5):before{
    background-image: url(../img/medical/flow05.svg);
}
.contact .front-text{
    font-family: sans-serif;
    font-size: 1.2rem;
    line-height: 45px;
    font-weight: 600;
    margin: auto;
    text-align: center;
    display: block;
}
.contact .btn{
padding: 25px 50px;
    background-color: #6c747a;
    color: #fff;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    margin: auto;
    display: block;
    max-width: 300px;
    text-align: center;
    margin: 30px auto 0;
}
.contact .form_title{
    margin-bottom: 5px;
}
.contact h3{
    font-size: 3rem;
    font-weight: bold;
    font-family: system-ui;
    line-height: 30px;
    background: #377fc4;
    padding: 30px;
    color: #fff;
    border-radius: 20px;
}
.contact h3 small{
    font-size: 1.2rem;
    color: #fff;
}
#c7{
    max-width: 800px;
    margin: auto;
    font-weight: bold;
}
span.wpcf7-list-item {
    padding: 0px 10px;
}
.scrollarea{
    border: solid 1px;
    padding: 10px 50px;
    overflow: scroll;
    max-height: 300px;
    margin-bottom: 30px;
}
.scrollarea p{
    font-weight: bold;
}
label{
    display: inline-flex;
    align-items: center;
    border: solid 1px;
    border-radius: 10px;
    padding-right: 10px;
    cursor: pointer;
}
input[type=text], input[type=email], input[type=tel], textarea {
    border-radius: 10px;
}
input[type=checkbox], input[type=radio] {
    margin: 10px 10px 10px 10px;
    width: 18px;
    height: 18px;
}
span.listtitle {
    font-size: 1.5rem;
    border: solid 1px;
    padding: 5px;
    border-radius: 5px;
    background: #c6ac27;
    color: #fff;
}
span.listtitle.red-title{
    background: #f1534c;
}
span.listtitle.green-title{
    background: #04ad9b;
}
.form.init .wpcf7-response-output,
.form.resetting .wpcf7-response-output,
.form.submitting .wpcf7-response-output {
    display: none;
}
.wpcf7 form.sent .wpcf7-response-output {
    display: block;
    margin: 0px auto 50px;
    font-size: 1rem;
    width: 90%;
    border: solid 1px;
    padding: 10px;
    border-color: #46b450;
    /* Green */
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    display: block;
    margin: 0px auto 50px;
    font-size: 1rem;
    width: 90%;
    border: solid 2px;
    padding: 10px;
    border-color: #dc3232;
    /* Red */
}

.wpcf7 form.spam .wpcf7-response-output {
    display: block;
    margin: 0px auto 50px;
    font-size: 1rem;
    width: 90%;
    border: solid 2px;
    padding: 10px;
    border-color: #f56e28;
    /* Orange */
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    display: block;
    margin: 0px auto 50px;
    font-size: 1rem;
    width: 90%;
    border: solid 2px;
    padding: 10px;
    border-color: #ffb900;
    /* Yellow */
}
.screen-reader-response {
    display: none;
}
.wpcf7-not-valid-tip,.marking{
    color: red;
}
input[type=submit] {
    font-size: 1.3rem;
    padding: 10px 50px;
    margin: auto;
    display: block;
    width: 100%;
}

.corp h3{
    text-align: center;
    padding-top: 50px;
    color: #377fc4;
    font-size: 1.5rem;  
    padding-bottom: 50px;
}
.corp ul{
    font-weight: bold;
}
.corp .flex-wrap{
    display: flex;
    gap: 100px;
    max-width: 800px;
    margin: auto;
}
.corp .img-wrap{
    width: 25%;
    flex: unset;
}
.corp .img-wrap img{
    max-width: 200px;
}
.corp .text-wrap{
    width: 80%;
    flex: unset;
}


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

    .mv .bg{
        height: 400px;
        object-fit: cover;
    }
    .text-area{
        max-width: 300px;
    }
    .text-area .logo{
        max-width: 200px;
        margin: 0 auto 30px !important;
    }
    p {
        width: 90%;
        margin: auto;
    }
    .flex-wrap{
        flex-wrap: wrap;
    }
    .flex-wrap.reverse{
        flex-wrap: wrap-reverse;
    }
    .img-wrap,
    .text-wrap{
        flex: unset;
        width: 100%;
    }
    .how .flex-wrap.reverse{
        margin-top: 30px;
    }
    .medical-list .label{
        width: 100px;
    }
    .medical-list{
        padding-top: 30px;
    }
    .unit li {
        display: block;
        max-width: 300px;
        padding: 10px 50px;
    }
    .feature .obi{
        object-fit: cover;
        height: 64vw;
        object-position: left;
    }
    .feature ul{
        width: 90%;
    }
    .feature li{
        padding-left: 60px;
        margin-bottom: 50px;
        height: 50px;
    }
    .feature li:before {
        width: 50px;
        height: 50px;
    }
    .merit-text img{
        height: 150px;
        object-fit: cover;
        object-position: -88vw;
    }
    .example-text img{
        height: 150px;
        object-fit: cover;
        object-position: -35vw;
    }
    .example .img-wrap,
    .example .text-wrap{
        flex: unset;
        width: 100%;
    }
    .example .flex-wrap {
        margin: 30px auto 50px;
    }
    .flow h3{
        padding: 30px 0;
    }
    .flow ul{
        width: 90%;
    }
    .flow li{
        padding-left: 60px;
        margin-bottom: 50px;
        height: 50px;
    }
    .flow li:before {
        width: 50px;
        height: 50px;
    }
    .contact h3 {
        line-height: 20px;
        text-align: center;
                border-radius: 10px;
        width: 95%;
        margin: 1em auto;
    }
    #c7 .wrap{
        padding: 0;
        font-size: 1.2rem;
    }
    input[type=checkbox], input[type=radio] {
        opacity: 1;
        visibility: unset;
        position: unset;
    }
    .form_title{
        margin-top: 10px;
    }
    span.listtitle{
        margin: 30px auto 10px;
        display:inline-block
    }
    textarea{
        max-height: 200px;
    }
    .scrollarea{
        padding: 10px;
    }
    .corp .flex-wrap{
        justify-content: center;
        gap: 30px;
    }
    input[type=submit]{
        margin-top: 30px;
    }
}