@charset "UTF-8";

/* CSS Document */
.wrap {
    width: 1100px;
    background: #fff;
    margin: 0 auto;
    padding: 60px 0
}

#top #main {
    width: 100%;
    height: 630px;
    background: #eee;
    position: relative;
    margin-bottom: 40px;
}

#top .catch {
    width: 400px;
    height: 400px;
    position: absolute;
    top: 80px;
    left: 50%;
    margin-left: -400px;
    z-index:888;
}

#top .slide {
    width: 100%;
    height: 630px;
    background-color: #666;
}

#top .slide img {
    width: 100%;
    height: 630px;
    object-fit: cover;
}

#top #news {
    position: absolute;
    top: 440px;
    left: 50%;
    background-image: url(../img/top_news_bg.png);
    background-repeat: no-repeat;
    width: 400px;
    height: 150px;
    margin-left: -424px;
    z-index: 888;
}
#top .slick-arrow{
    display: none !important;
}
#top #news .oshirase{
    position:absolute;
    top:-30px;
    left:-10px;
    z-index: 888;
    width:80px;
    height:auto;
}
#top #news .oshirase img{
    width:100%;
    height:auto;
}
#top #news ul {
    position: absolute;
    top: 64px;
    left: 50px;
}

#top #news ul li {
    font-size: 14px;
    margin-bottom: 40px;
}

#top h2 {
    color: #ea545f;
    font-size: 36px;
    text-align: center;
    margin-bottom: 30px;
}

#top h2:before {
    display: block;
    width: 70px;
    height: 60px;
    background-image: url(../img/h2_before.png);
    background-repeat: no-repeat;
}

#top h2:after {
    width: 40px;
    height: 60px;
    background-image: url(../img/h2_after.png);
    background-repeat: no-repeat;
}

#top h2 span {
    display: block;
    color: #999;
    font-size: 13px;
    letter-spacing: 0.1em;
    padding-top: 14px
}

#top #reason {
    padding-bottom: 60px;
    margin-bottom: 60px;
    background-image: url(../img/line.png);
    background-position: bottom center;
    background-repeat: no-repeat;
}

#top #reason p {
    font-size: 1.6rem;
    line-height: 1.8em;
    text-align: center;
    margin-bottom: 40px;
}

#top #reason li {
    color: #ea545f;
    font-size: 1.8rem;
    line-height: 1.4em;
    float: left;
    width: 203px;
    height: 196px;
    text-align: center;
    padding-top: 50px;
    margin-right: 70px;
    background-repeat: no-repeat;
}

#top #reason li:nth-child(1) {
    background-image: url(../img/top_reason01.png);
}

#top #reason li:nth-child(2) {
    background-image: url(../img/top_reason02.png);
}

#top #reason li:nth-child(3) {
    background-image: url(../img/top_reason03.png);
}

#top #reason li:nth-child(3) {
    margin-right: 0;
}

#top #reason ul {
    width: 750px;
    margin: 0 auto 40px;
}

#top #reason ul:after {
    content: '';
    clear: both;
    font-size: 0;
    display: block;
}

#top .btn {
    text-align: center;
}

#top #diagnosis {
    margin-bottom: 60px;
}

#top #diagnosis .start {
    width: 820px;
    height: 294px;
    background-image: url(../img/top_diagnosis_bg.png);
    background-position: center center;
    background-repeat: no-repeat;
    margin: 0 auto;
    position: relative;
}
#top #diagnosis .start:hover{
    background-image: url(../img/top_diagnosis_bg_on.png);    
}

#top #diagnosis .start p {
    width: 380px;
    height: 140px;
    text-align: center;
    position: absolute;
    top: 40px;
    left: 60px;
    font-size: 1.8rem;
    line-height: 1.8em;
}

#top #diagnosis .start p span {
    color: #ea545f;
    font-size: 2.4rem;
    font-weight: bold;
}

#top #menu {
    background: #ee737c;
    position: relative;
    height: 320px;
}

#top #menu h2 {
    color: #fff;
    width: 500px;
    position: absolute;
    top: 50px;
    left: 50%;
    margin-left: -500px;
}

#top #menu h2 span {
    color: #fff;
}

#top #menu p {
    font-size: 1.6rem;
    line-height: 1.8em;
    color: #fff;
    width: 500px;
    position: absolute;
    top: 150px;
    left: 50%;
    margin-left: -500px;
    text-align: center;
}

#top #menu ul {
    width: 368px;
    position: absolute;
    top: 60px;
    right: 50%;
    margin-right: -430px;
}

#top #menu ul li {
    width: 100%;
    height: 50px;
    margin-bottom: 30px;
}

#top #reviews {
    background: #666;
    position: relative;
    height: 590px;
    background-image: url(../img/top_reviews_bg.jpg);
    background-size: contain;
    background-position: top center;
}

#top #reviews h2 {
    width: 740px;
    position: absolute;
    top: 250px;
    left: 50%;
    margin-left: -500px;
    text-shadow: 1px 1px 20px #ffffff, -1px 1px 20px #ffffff, 1px -1px 20px #ffffff, -1px -1px 20px #ffffff;
}

#top #reviews h2 span {
    color: #333;
}

#top #reviews p {
    font-size: 1.6rem;
    line-height: 1.8em;
    width: 740px;
    position: absolute;
    top: 360px;
    left: 50%;
    margin-left: -500px;
    text-align: center;
    text-shadow: 1px 1px 20px #ffffff, -1px 1px 20px #ffffff, 1px -1px 20px #ffffff, -1px -1px 20px #ffffff, 1px 1px 10px #ffffff, -1px 1px 10px #ffffff, 1px -1px 10px #ffffff, -1px -1px 10px #ffffff;
}

#top #reviews .btn {
    width: 207px;
    height: 207px;
    position: absolute;
    top: 250px;
    right: 50%;
    margin-right: -400px;
}
#top #reviews .btn img{
    margin: 0 auto;
}
#top #reviews .btn img:hover{
    transform:rotate(15deg);    /* 中心を基準点に時計回りに回転する */
    transition: 0.5s;             /* 1秒かけて動く */
}

#top #reviews .btn img.off,
#top #reviews .btn:hover img.on{
    display: block;
    opacity: 1;
}
#top #reviews .btn img.on,
#top #reviews .btn:hover img.off{
    display: none;
}
#top #reason .btn img{
    margin: 0 auto;
}
#top #reason .btn img.off,
#top #reason .btn:hover img.on{
    display: block;
    opacity: 1;
}
#top #reason .btn img.on,
#top #reason .btn:hover img.off{
    display: none;
}
#top #contents {
    height: 270px;
    background: #f3e8d8;
    position: relative;
}

#top #contents h2 {
    width: 300px;
    position: absolute;
    top: 100px;
    left: 50%;
    margin-left: -500px;
}

#top #contents ul {
    position: absolute;
    top: 60px;
    right: 50%;
    margin-right: -470px;
    width: 640px;
}

#top #contents ul li {
    width: 110px;
    margin-right: 50px;
    float: left;
    font-size: 1.2rem;
    text-align: center;
}

/* ----------------------------------------------- SP ---------- */
@media screen and (max-width: 750px) {
    .wrap {
        width: 96%;
        background: #fff;
        margin: 0 auto;
        padding: 20px 0
    }

    #top #main {
        width: 100%;
        height: 630px;
        background: #eee;
        position: relative;
        margin-bottom: 40px;
    }

    #top .catch {
        width: 280px;
        height: 280px;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -140px;
        margin-left: -140px;
    }

    #top .catch img {
        width: 100%;
        height: auto;
    }

    #top .slide {
        width: 100%;
        height: 630px;
        background-color: #666;
    }

    #top .slide img {
        width: 100%;
        height: 630px;
        object-fit: cover;
    }

    #top #news {
        position: absolute;
        bottom: 0;
        top:auto;
        left: 0px;
        background: none;
        width: 96%;
        height: auto;
        margin: 0 0 0 2%;
    }

    #top #news ul {
        position: relative;
        top: auto;
        left: auto;
    }

    #top #news ul li {
        font-size: 14px;
        margin-bottom: 10px;
        background: #fff;
        width:100%;
        padding: 10px;
        height: 40px;
        border-radius: 20px;
        border:1px solid #ea545d;
    }

    #top h2 {
        color: #ea545f;
        font-size: 2.8rem;
        text-align: center;
        margin-bottom: 30px;
    }

    #top h2:before {
        display: block;
        width: 70px;
        height: 60px;
        background-image: url(../img/h2_before.png);
        background-repeat: no-repeat;
    }

    #top h2:after {
        width: 40px;
        height: 60px;
        background-image: url(../img/h2_after.png);
        background-repeat: no-repeat;
    }

    #top h2 span {
        display: block;
        color: #999;
        font-size: 13px;
        letter-spacing: 0.1em;
        padding-top: 14px
    }

    #top #reason {
        padding-bottom: 60px;
        margin-bottom: 60px;
        background-image: url(../img/line.png);
        background-position: bottom center;
        background-repeat: no-repeat;
    }

    #top #reason p {
        font-size: 1.4rem;
        line-height: 1.8em;
        text-align: center;
        margin-bottom: 40px;
    }

    #top #reason li {
        color: #ea545f;
        font-size: 1.8rem;
        line-height: 1.4em;
        float: left;
        width: 100%;
        height: auto;
        text-align: center;
        padding-top: 50px;
        margin-right: 4vw;
        background-size: cover;
    }

    #top #reason li:nth-child(1) {
        background-image: url(../img/top_reason01.png);
    }

    #top #reason li:nth-child(2) {
        background-image: url(../img/top_reason02.png);
        margin-right: 0;
    }

    #top #reason li:nth-child(3) {
        background-image: url(../img/top_reason03.png);
    }

    #top #reason li:nth-child(3) {
        margin-right: 0;
    }

    #top #reason ul {
        width: 100%;
        text-align: center;
    }

    #top #reason ul li {
        font-size: 1.6rem;
        font-weight: bold;
        width: 48%;
        height: 45vw;
        margin-right: 4%;
        background-size: contain;
        margin-bottom: 20px;
    }

    #top #reason ul li:nth-child(2) {
        margin-right: 0;
    }

    #top #reason ul:after {
        content: '';
        clear: both;
        font-size: 0;
        display: block;
    }

    #top .btn {
        text-align: center;
    }

    #top #diagnosis {
        margin-bottom: 0;
    }

    #top #diagnosis .start {
        width: 100%;
        height: 86vw;
        background-image: url(../img/top_diagnosis_bg_sp.png);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: contain;
        margin: 0 auto;
        position: relative;
    }

    #top #diagnosis .start p {
        width: 90%;
        height: 140px;
        text-align: center;
        position: absolute;
        top: 6vw;
        left: 1%;
        font-size: 1.3rem;
        line-height: 1.6em;
    }

    #top #diagnosis .start p span {
        color: #ea545f;
        font-size: 2.0rem;
        font-weight: bold;
    }

    #top #menu {
        background: #ee737c;
        position: relative;
        height: auto;
        padding: 40px 0;
    }

    #top #menu h2 {
        color: #fff;
        width: 80%;
        position: relative;
        top: auto;
        left: auto;
        margin: 0 auto 20px;
    }

    #top #menu h2 span {
        color: #fff;
    }

    #top #menu p {
        font-size: 1.6rem;
        line-height: 1.8em;
        color: #fff;
        width: 80%;
        position: relative;
        top: auto;
        left: auto;
        margin: 0 auto 20px;
        text-align: center;
    }

    #top #menu ul {
        width: 80%;
        position: relative;
        top: auto;
        right: auto;
        margin: 0 auto;
    }

    #top #menu ul li {
        width: 100%;
        height: 50px;
        margin-bottom: 10px;
    }

    #top #menu ul li img {
        width: 100%;
        height: auto;
    }

    #top #reviews {
        background: #666;
        position: relative;
        height: auto;
        background-image: url(../img/top_reviews_bg.jpg);
        background-size: cover;
        background-position: center center;
        padding-bottom: 40px;
    }

    #top #reviews h2 {
        margin-top: 0;
        width: 100%;
        position: relative;
        top: auto;
        left: auto;
        padding-top: 100px;
        margin-left: 0;
        text-shadow: 1px 1px 20px #ffffff, -1px 1px 20px #ffffff, 1px -1px 20px #ffffff, -1px -1px 20px #ffffff;
    }

    #top #reviews h2 span {
        color: #333;
    }

    #top #reviews p {
        font-size: 1.6rem;
        line-height: 1.8em;
        width: 100%;
        position: relative;
        top: auto;
        left: auto;
        margin-left: 0;
        margin-bottom: 40px;
        text-align: center;
        text-shadow: 1px 1px 20px #ffffff, -1px 1px 20px #ffffff, 1px -1px 20px #ffffff, -1px -1px 20px #ffffff, 1px 1px 10px #ffffff, -1px 1px 10px #ffffff, 1px -1px 10px #ffffff, -1px -1px 10px #ffffff;
    }

    #top #reviews .btn {
        width: 100%;
        height: auto;
        position: relative;
        top: auto;
        right: auto;
        margin-right: 0;
    }

    #top #contents {
        padding: 20px 0;
        height: auto;
        background: #f3e8d8;
        position: relative;
    }

    #top #contents h2 {
        width: 100%;
        position: relative;
        top: auto;
        left: auto;
        margin-left:0;
    }

    #top #contents ul {
        position: relative;
        top: auto;
        right: auto;
        margin: 0 auto;
        width: 96%;
    }

    #top #contents ul:after {
        content: '';
        clear: both;
        display: block;
        font-size: 0;
    }

    #top #contents ul li {
        width: 23.5%;
        margin-right: 2%;
        float: left;
        font-size: 1.2rem;
        text-align: center;
    }

    #top #contents ul li:nth-child(4) {
        margin-right: 0;
    }

    #top #contents ul li img {
        width: 100%;
        height: auto;
    }

}
