@charset "UTF-8";

/* CSS Document */
#schedule-box h4 {
    text-align: center;
    border-radius: 10px;
    border: 2px solid #eb8a7d;
    padding: 5px 0;
    color: #eb8a7d;
    font-family: "myFont";
    font-size: 1.1rem;
}

@media (min-width:769px) {
    main {
        background: url(../img/yoshida/bg-lab.png) no-repeat left 690px;
        background-size: 1300px;
        overflow: hidden;
    }


    #introduction-box #photo-box {
        width: 485px;
        height: 640px;
        background: url(../img/yoshida/img-intro.jpg) no-repeat center center;
        background-size: cover;
    }

    #chara-box {
        margin-top: -385px;
        margin-left: 10px;
    }

    #chara-box img {
        width: 350px;
        height: auto;
    }

    #research-box,
    #future-box,
    #point-box,
    #item-box,
    #student-box {
        float: left;
    }

    #task-box,
    #result-box,
    #if-box,
    #lifestyle-box {
        float: right;
    }

    /**幅を決める**/
    #research-box,
    #future-box,
    #point-box,
    #lifestyle-box {
        width: 510px;
        position: relative;
        z-index: 2;
        background-color: #fefefe;
    }

    #task-box,
    #result-box,
    #item-box {
        width: 300px;
        position: relative;
        z-index: 2;
        background-color: #fefefe;
    }

    #lifestyle-box,
    #item-box {
        width: 420px;
        position: relative;
        z-index: 2;
        background-color: #fefefe;
    }

    #schedule-box {
        clear: both;
        background-color: #fefefe;
        width: 100%;
    }

    #student-box,
    #if-box {
        width: 400px;
        position: relative;
        z-index: 2;
        background-color: #fefefe;
    }

    #research-box img {
        width: calc(47% - 20px);
        margin-right: 20px;
        float: left;
    }

    .hashigo-yoko-box.h01 {
        margin-top: 130px;
        float: left;
        width: 68px;
        height: 70px;
    }

    #result-box {
        margin-top: -97px;
    }

    #future-box {
        margin-top: 73px;
    }

    #result-box img.result-img {
        width: 80%;
        display: block;
        margin: 20px auto 0;
    }

    .hashigo-yoko-box.h02 {
        float: right;
        width: 68px;
        height: 120px;
        margin: 135px 0 0 0;
    }

    .hashigo-yoko-box.h04,
    .hashigo-yoko-box.h05 {
        margin-top: 120px;
        float: left;
        width: 68px;
    }

    .hashigo-yoko-box.h04 {
        height: 70px;
        width: 38px;
        margin-top: 130px;
    }

    .hashigo-yoko-box.h02 img,
    .hashigo-yoko-box.h05 img {
        width: 50px;
        display: block;
        margin: 0 auto;
    }

    .hashigo-tate-box.h07 img {
        width: 55px;
        display: block;
        margin: 0 auto;
    }

    .hashigo-tate-box.h01 {
        float: right;
        width: 360px;
        height: 120px;
        margin: -207px 0px 0px 800px;
        padding: 20px 0
    }

    .hashigo-tate-box.h01 img,
    .hashigo-tate-box.h04 img {
        width: 80px;
        margin: 0 auto;
        display: block;
    }

    .hashigo-tate-box.h02 {
        float: left;
        width: 510px;
        height: 68px;
        margin: 0 auto 0 20px;
        padding: 0;
    }

    .hashigo-tate-box.h03 {
        clear: both;
        width: 510px;
        height: 100px;
        margin: 0 auto 0 20px;
        padding: 0;
    }

    .hashigo-tate-box.h04 {
        float: left;
        width: 370px;
        height: 80px;
        margin: 0;
        padding: 120px 0;
    }

    .hashigo-tate-box.h06 {
        position: relative;
        z-index: 1;
        height: 220px;
        width: 70px;
        float: left;
        margin-top: -80px;
        margin-left: 146px;
    }

    .hashigo-yoko-box.h05 {
        float: left;
        width: 78px;
        height: 30px;
        margin-top: 150px;
        padding: 20px 0;
    }

    .hashigo-tate-box.h07 {
        float: left;
        padding: 45px 0;
        width: 70px;
        margin-left: 144px;
    }

    #before-schedule-box {
        float: right;
        height: 0;
        margin-top: -195px;
    }

    #before-schedule-box img {
        display: block;
        width: 280px;
        position: relative;
        z-index: 1;
    }

    .before-future-box {
        float: left;
        width: 510px;
        height: 0;
        position: relative;
        z-index: 1;
    }

    .before-future-box img {
        height: 117px;
        margin-top: 46px;
        margin-left: 400px;
    }

    .imagetestbox {
        width: 300px;
        height: 200px;
        float: right;
        background-color: #ccc;
    }

    .middle-img-box {
        height: 0;
        width: 100%;
        text-align: right;
    }

    .middle-img-box img {
        position: relative;
        z-index: 1;
        height: 175px;
        width: auto;
        margin-top: -70px;
        margin-right: 20px;
    }

    #conclusion-box {
        height: 90px;
        background-image: url(../img/yoshida/img20.png);
        background-repeat: no-repeat;
        background-position: center right 30px;
        background-size: 80px;
        z-index: 2;
        position: relative;
    }

    #conclusion-box .one-word {
        float: left;
        margin-right: 10px;
    }

    #conclusion-box p {
        margin: 15px 0 0 0;
        line-height: 1.4;
        float: left;
    }

    .img-conclusion {
        float: right;
        margin-right: 20px;
        width: 70px;
    }

    #afterred-img-box {
        position: relative;
        z-index: 2;
        height: 0;
        width: 100%;
    }

    #afterred-img-box img {
        margin: 0 auto 0 20px;
        width: 140px;
    }

    #curves-img-box {
        position: relative;
        z-index: 1;
        background: url(../img/yoshida/img21.png) no-repeat 180px center;
        background-size: contain;
        padding: 10px 0 50px;
    }

    #curves-img-box img {
        height: 100px;
        margin: 30px 0 0 265px;
        display: block;
    }

    #curves2-img-box {
        position: relative;
        z-index: 1;
        height: 180px;
        background: url(../img/yoshida/img21a.png) no-repeat 440px center;
        background-size: contain;
        padding: 0;
    }

    #item-box .item1 {
        background: url(../img/yoshida/img09.png) no-repeat left center;
        background-size: 35%;
        margin-bottom: 10px;
        height: 160px;
    }

    #item-box .item2 {
        background: url(../img/yoshida/img10.png) no-repeat left center;
        background-size: 35%;
        padding-top: 20px;
        margin-bottom: 10px;
        height: 160px;
    }

    #item-box .item3 {
        background: url(../img/yoshida/img11.png) no-repeat left center;
        background-size: 35%;
        margin-bottom: 10px;
        height: 150px;
    }

    #after-student-box img {
        width: 120px;
        display: block;
        margin: 0 auto;
    }


    #recommend-img-box {
        background: url(../img/yoshida/bg-recimg.png) no-repeat right top;
        background-size: contain;
        width: 370px;
        position: relative;
        z-index: 2;
        margin-top: -410px;
        margin-right: -130px;
        padding-top: 60px;
        padding-bottom: 30px;
    }

    #recommend-img-box img {
        width: 358px;
        display: block;
        position: relative;
        -moz-transform: rotate(10deg);
        -webkit-transform: rotate(10deg);
        -o-transform: rotate(10deg);
        -ms-transform: rotate(10deg);
        transform: rotate(10deg);
    }

    #last-box {}

    #before-footer-box {
        width: 1150px;
    }

    #before-footer-box img {
        width: 800px;
        display: block;
        position: relative;
        margin: 0 auto 0 0;
        top: -170px;
    }

    #before-recommend-box {
        width: 100%;
        height: 0;
        z-index: 1;
        position: relative;
        float: right;
    }

    #before-recommend-box img {
        width: 200px;
        display: block;
        position: relative;
        margin: -109px 50px 0 auto;
    }

    #message-box::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 100%;
        margin-top: -15px;
        border: 10px solid transparent;
        border-left: 25px solid #eb8a7d;
    }

    #lifestyle-box img.lifestyle-img {
        width: 60%;
        display: block;
        margin: 20px auto 0;
    }

    #schedule-box .schedule-box01 {
        width: 48%;
        float: left;
    }

    #schedule-box .schedule-box02 {
        width: 48%;
        float: right;
    }

    #schedule-box .schedule-inbox {
        background: url(../img/index/img-p-line2.png) repeat-y center center;
        background-size: 7px;
    }

    table th.tim,
    #schedule-box table td {
        height: 100px;
    }

    #interest-box .onebox {
        height: 185px;
    }

    #interest-box .arrow-box {
        height: 185px;
    }

    #interest-box .onebox {
        height: 310px;
    }

    #interest-box .onebox2 {
        float: left;
        width: 30%;
    }

    #interest-box .onebox3 {
        width: 100%;
        background-color: #ebebec;
        border-radius: 10px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        color: #000;
        padding: 3px 0;
        height: 230px;
        margin-bottom: 10px;
    }

    #interest-box .onebox4 {
        width: 100%;
        background-color: #ebebec;
        border-radius: 10px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        color: #D87EA2;
        padding: 20px 0;
        text-align: center;
    }

    #interest-box .onebox.box02 {
        height: 230px;
    }

    #interest-box .onebox.box03 {
        height: 330px;
    }

    #interest-box .m-arrow {
        float: left;
        width: 40%;
        height: 0;
    }

    #interest-box .m-arrow img {
        width: 100%;
        margin-top: 260px;
    }

    #interest-box img.onebox3-img {
        display: block;
        width: 120px;
        margin: 30px auto 0;
    }

    #student-box img {
        width: 60%;
        margin: 10px auto 0;
        display: block;
    }

    #if-box img {
        width: 90%;
        margin: 10px auto 0;
        display: block;
    }
}


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

    #if-box img,
    #before-schedule-box,
    #point-box img,
    #recommend-img-box,
    #curves2-img-box,
    #result-box img {
        display: none;
    }

    #result-box img {
        width: 140px;
        float: right;
        margin-bottom: 10px;
        margin-left: 10px;
    }

    #research-box img {
        width: 130px;
        float: left;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .img-conclusion {
        display: none;
    }

    #conclusion-box {
        background-image: url(../img/yoshida/img20.png);
        background-repeat: no-repeat;
        background-position: calc(100% - 10px) 10px;
        background-size: 20%;
    }

    #student-box img,
    #lifestyle-box img,
    #if-box img {
        width: 70%;
        display: block;
        margin: 10px auto 0;
    }

    #lifestyle-box .spe01 {
        font-size: 12px;
        width: 100%;
        text-align: center;
        padding: 10px 0 0;
    }

    #lifestyle-box .spe01 img {
        width: 80%;
        display: block;
        margin: 0 auto 5px;
    }

    #before-recommend-box {
        width: 150px;
        margin: 0 auto -10px 10px;
    }

    #before-recommend-box img {
        width: 100%;
    }

    #interest-box .onebox2 {
        width: calc(100% - 30px);
        background-color: #ebebec;
        border-radius: 10px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        color: #000;
        padding: 15px;
    }

    #interest-box .onebox2 ul li {
        list-style: none;
        margin-left: 20px;
    }

    #photo-sp-box img {
        margin: 0 20px 0 auto;
    }

    #photo-sp-box .mini-box {
        height: 130px;
        width: 200px;
        margin: -130px auto 0 -7px;
    }

    #photo-sp-box .mini-box img {
        margin-left: 0;
        top: -25px;
        position: relative;
        -moz-transform: scale(1) rotate(0);
        -webkit-transform: scale(1) rotate(0);
        -o-transform: scale(1) rotate(0);
        -ms-transform: scale(1) rotate(0);
        transform: scale(1) rotate(0);
    }

    #item-box .sp-item-img {
        width: 40%;
        float: left;
        padding-top: 20px;
    }

    #item-box .sp-item-img img {
        width: 100%;
        height: auto;
    }

    #item-box .item-name,
    #item-box .item-detail {
        width: 58%;
        float: right;
    }

    #item-box .item1 {
        margin-bottom: 10px;
    }

    #item-box .item2 {
        margin-bottom: 10px;
    }

    #item-box .item2 .item-name,
    #item-box .item3 .item-name {
        margin-top: 30px;
    }

    #item-box .item3 {
        margin-bottom: 10px;
    }

    .sp-tate-box.long {
        height: 120px;
    }

    #interest-box img.onebox3-img {
        float: right;
        width: 70px;
        height: auto;
        margin: 0 0 0 10px;
    }
    #before-footer-box {
        display: block !important;
        z-index: 2;
        position: relative;
        width: 100%;
        text-align: right;
        height: 80px;
        margin-top: -90px; }
    #before-footer-box img {
        width: 100%;
        height: auto;
        margin-top: 29px; }

}
