@charset "UTF-8";

/* CSS Document */


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


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

    #chara-box {
        margin-top: -380px;
        margin-left: 80px;
    }

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

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

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

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

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

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

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

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

    .hashigo-yoko-box.h04 {
        height: 70px;
        float: right;
        margin-top: 180px;
    }

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

    .hashigo-tate-box.h06 img {
        width: 90px;
        display: block;
        margin: 30px 0 0 -15px;
    }

    .hashigo-tate-box.h01 {
        float: right;
        width: 360px;
        height: 70px;
        margin: 0;
        padding: 0;
    }

    .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: 70px;
        margin: 0 auto 0 20px;
        padding: 0;
    }

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

    .hashigo-tate-box.h04 {
        float: right;
        width: 300px;
        height: 80px;
        margin-left: 350px;
        margin-right: 30px;
        padding: 0;
    }

    .hashigo-tate-box.h06 {
        position: relative;
        z-index: 1;
        height: 170px;
        width: 70px;
        float: left;
        margin-top: -440px;
        margin-left: 145px;
    }

    .hashigo-yoko-box.h05 {
        width: 80px;
        height: 30px;
        margin-top: 100px;
        padding: 20px 0;
        margin-left: 344px;
        position: relative;
        z-index: 1;
    }

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

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

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

    #before-item-box {
        float: right;
        margin-top: -150px;
        width: 510px;
        height: 0;
        position: relative;
        z-index: 1;
    }

    #before-item-box img {
        height: 160px;
        margin-left: 131px;
    }

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

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

    #before-student-box {
        position: relative;
        z-index: 1;
        float: left;
        margin-top: -380px;
    }

    #before-student-box img {
        width: 150px;
        margin-top: 104px;
        margin-left: 190px;
    }

    .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: -170px;
        margin-right: 20px;
    }

    #conclusion-box {
        z-index: 2;
        position: relative;
    }

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

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

    #curves-img-box {
        position: relative;
        z-index: 1;
        background: url(../img/araki/img21.png) no-repeat 240px center;
        background-size: contain;
        padding: 20px 0 60px;
        margin-top: -20px;
    }

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

    #curves2-img-box {
        position: relative;
        float: right;
        width: 460px;
        z-index: 1;
        background: url(../img/araki/img21a.png) no-repeat top center;
        background-size: contain;
        padding: 0;
        margin-top: -177px;
        margin-right: 52px;
        height: 130px;
    }

    #curves2-img-box img {
        display: block;
        height: 90px;
        margin: 40px 0 0 180px;
    }

    #item-box {
        margin-top: 0px;
    }

    #item-box .item1 {
        background: url(../img/araki/img09.png) no-repeat center top;
        background-size: 150px;
        padding-top: 120px;
        margin-bottom: 20px;
    }

    #item-box .item1 .item-name,
    #item-box .item1 .item-detail {
        width: 100%;
        line-height: 1.3rem;
    }

    #item-box .item2 {
        background: url(../img/araki/img10.png) no-repeat top center;
        background-size: 150px;
        padding-top: 160px;
        margin-bottom: 10px;
    }

    #item-box .item2 .item-name,
    #item-box .item2 .item-detail {
        width: 100%;
        line-height: 1.3rem;
    }

    #before-lifestyle-box {
        float: right;
        padding-right: 240px;
    }

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

    #student-box {
        margin-top: -170px;
    }

    #task-box img,
    #student-box img,
    #point-box img {
        width: 200px;
        display: block;
        margin: 0 auto;
    }

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

    #if-box img {
        width: 180px;
    }

    #if-box {
        margin-top: 130px;
    }

    #recommend-img-box {
        background: url(../img/araki/bg-recimg.png) no-repeat left top;
        position: relative;
        z-index: 2;
        margin-top: 50px;
        margin-right: -56px;
        padding: 30px 60px 0 0;
    }

    #recommend-img-box img {
        width: 330px;
        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: 300px;
        display: block;
        position: relative;
        margin: 0;
        top: -290px;
        left: -100px;
    }

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

    #before-recommend-box img {
        width: 580px;
        display: block;
        position: relative;
        left: 130px;
        top: -95px;
    }

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

    #lifestyle-box {}

    #lifestyle-box .spe01 {
        width: 200px;
        float: right;
        margin: 0 0 0 20px;
        font-size: 0.75rem;
        line-height: 0;
    }

    #lifestyle-box .spe01 img {
        width: 200px;
        margin: 0 0 10px;
    }

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

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

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

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

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


    #after-lifestyle-box,
    #before-student-box,
    #before-item-box,
    #student-box img,
    #curves2-img-box img,
    #recommend-img-box {
        display: none;
    }

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

    .img-conclusion {
        display: none;
    }

    #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 {
        max-width: 420px;
        width: calc(100% - 40px);
        margin: 0 auto -10px;
    }

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

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

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

    #photo-sp-box .mini-box img {
        margin-left: 0;
        top: -45px;
        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 {
        display: block !important;
        width: 30%;
        height: auto;
        float: left;
    }

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

    #item-box .item1 .sp-item-img img {
        margin-top: 20px;
    }

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

    #item-box .item3 .item-name {
        margin-top: 20px;
        margin-bottom: 0;
    }


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

    .sp-tate-box.long.two img {
        height: 60px;
        width: auto;
    }

    #before-footer-box {
        display: block !important;
        z-index: 2;
        position: relative;
        width: 100%;
        text-align: left;
        height: 80px;
        margin-top: -60px;

    }

    #before-footer-box img {
        width: 160px;
        height: auto;
    }
}
