/*--------------------------------------------------------------------------------
　▼ レッスンページコンテンツ箇所
--------------------------------------------------------------------------------*/
.contents-wrapper {
    background-color: #def7fc;
}

.inner-box {
    padding: 0 5.4%;
}


/*--------------------------------------------------------------------------------
　▼ メインタイトル
--------------------------------------------------------------------------------*/
.machine-main {
    background-image: url(img/machine-main-bg.png);
    background-size: 90% auto;
    background-repeat: no-repeat;
    background-position: top center;
    margin: 40px 0 0;
    padding: 30px 0 10px;
}

.main-title-box {
    padding-bottom: 100px;
    text-align: center;
}

.main-title-box .list li {
    display: inline-block;
    vertical-align: bottom;
    line-height: 1;
    width: 47%;
}

.main-title-box .list li:last-child {
    text-align: left;
    width: 53%;
}

.main-title-box {
    text-align: center;
}

.main-title-box .list li:last-child {
    text-align: left;
}

.main-title-box p {
    background-color: #fff;
    border-radius: 15px 15px 0 0;
    font-size: 1.6rem;
    line-height: 2.4rem;
    padding: 5px 10px;
}

.main-title-box .sec-title {
    background-color: #5ebae7;
    border-radius: 0 0 15px 15px;
    color: #fff;
    font-size: 4rem;
    font-family: 'M PLUS 1p';
    font-weight: 300;
}


/*--------------------------------------------------------------------------------
　▼ メインタイトル
--------------------------------------------------------------------------------*/
.sec01-title {
    font-size: 0;
    text-align: center;
}

.sec01-title p {
    font-size: 1.7rem;
    line-height: 3rem;
    padding: 30px 0 40px;
}


/*--------------------------------------------------------------------------------
　▼ section01
--------------------------------------------------------------------------------*/
.section01 {
    padding: 40px 0 0;
}

.machine-list li {
    display: inline-block;
    margin-bottom: 5%;
    vertical-align: top;
    width: 30%;
}

.machine-list li:nth-child(3n - 1) {
    margin: 0 5% 5%;
}

.machine-list li .machine-title {
    color: #5ebae7;
    font-size: 2rem;
    font-family: 'mplus-medium';
    font-weight: 500;
    line-height: 3rem;
    margin: 0;
}

.machine-list li p {
    font-size: 1.6rem;
    font-family: 'M PLUS 1p';
    font-weight: 300;
    line-height: 2.6rem;
}

.lesson-point {
    font-size: 0;
    margin: 40px auto;
    width: 60%;
}

.lesson-point .list li {
    display: inline-block;
    vertical-align: middle;
}

.lesson-point .list li:first-child {
    text-align: right;
    width: 40%;
}

.lesson-point .list li:first-child img {
    position: relative;
    right: -20%;
}

.lesson-point .list li:last-child {
    width: 60%;
}

.lesson-point .list li:last-child img {
    position: relative;
    max-width: initial;
}

.lesson-point .list li div {
    display: inline-block;
    background-color: #fff;
    border: 1px solid #5ebae7;
    border-radius: 15px;
    color: #5ebae7;
    font-size: 2rem;
    line-height: 3.4rem;
    padding: 20px 30px;
    position: relative;
}

.machine-link-box {
    margin: 60px auto 0;
    max-width: 100%;
    text-align: center;
}

.machine-link-box .link-list {
    font-size: 0;
    margin: 0;
    padding: 0;
}

.machine-link-box .link-list li {
    display: inline-block;
    margin: 0 1%;
    max-width: 345px;
    text-align: left;
    vertical-align: top;
    width: 46%;
}

.machine-link-box .link-list li a {
    background-color: #fff;
    display: block;
    font-size: 2.1rem;
    min-width: 345px;
    padding: 22px 30px;
    position: relative;
    text-decoration: none;
}

.machine-link-box .link-list li a span {
    position: absolute;
}

.machine-link-box .link-list li:first-child a {
    border: 2px solid #5ebae7;
    color: #5ebae7;
    text-align: right;
    padding: 22px 30px;
}

.machine-link-box .link-list li:first-child a span {
    left: 30px;
}

.machine-link-box .link-list li:last-child a {
    border: 2px solid #84e852;
    color: #84e852;
}

.machine-link-box .link-list li:last-child a span {
    right: 30px;
}

.all-menu.derived {
    display: none;
}

/*---------------------------------タブレット用----------------------------------*/
/*-----------------------------------------------------------------------------*/
@media only screen and (max-width: 1060px) {

    .inner-box {
        padding: 0 5%;
    }
}


/*---------------------------------スマホ横から----------------------------------*/
/*-----------------------------------------------------------------------------*/
@media only screen and (max-width: 767px) {

    .machine-main {
        background-image: url(img/machine-main-sp-bg.png);
        background-position: center 40px;
        background-size: 100% auto;
        margin: 0;
        padding: 40px 0 0;
    }

    .main-title-box {
        padding: 0 0 40px;
    }

    .main-title-box .list {
        margin: 0 auto;
        width: 80%;
    }

    .main-title-box .list li {
        display: block;
        width: 100%;
    }

    .main-title-box .list li:last-child {
        margin: 15px 0 0;
        text-align: center;
        width: 100%;
    }

    .main-title-box .list li:last-child img {
        width: 90%;
    }

    .main-title-box p {
        font-size: 1.5rem;
        line-height: 2.3rem;
    }

    .main-title-box .sec-title {
        font-size: 2.6rem;
        line-height: 3.6rem;
        padding: 10px 0;
    }

   .sec01-title .inner-box img {
       width: 80%;
   }

    .sec01-title p {
        font-size: 1.1rem;
        line-height: 1.8rem;
        padding: 20px 0;
    }

    .section01 {
        padding: 20px 0 0;
    }

    .machine-list li {
        display: block;
        margin: 0 0 10%;
        text-align: center;
        width: 100%;
    }

    .machine-list li:nth-child(3n - 1) {
        margin: 0 0 10%;
    }

    .machine-list li img {
        width: 85%;
    }

    .machine-list li .machine-title {
        font-size: 1.5rem;
        line-height: 3rem;
        text-align: left;
    }

    .machine-list li p {
        font-size: 1.1rem;
        line-height: 1.7rem;
        text-align: left;
    }

    .lesson-point {
        width: 100%;
    }

    .lesson-point .list li:first-child {
        width: 50%;
    }

    .lesson-point .list li:last-child {
        width: 50%;
    }

    .lesson-point .list li div {
        font-size: 1.1rem;
        line-height: 1.9rem;
        padding: 10px 20px;
    }

    .lesson-point .list li:last-child img {
        max-width: 100%;
    }

    .machine-link-box {
        margin: 40px auto;
    }

    .machine-link-box .link-list li {
        display: block;
        max-width: 100%;
        margin: 0 0 10px;
        width: 100%;
    }

    .machine-link-box .link-list li a {
        border-radius: 2px;
        font-size: 1.3rem;
        min-width: 0;
        padding: 15px 20px;
        text-align: center;
    }

    .machine-link-box .link-list li:first-child a {
        text-align: center;
    }

    .machine-link-box .link-list li a span {
        position: absolute;
    }

    .machine-link-box .link-list li:first-child a {
        padding: 15px 20px;
    }

    .machine-link-box .link-list li:last-child a {
        padding: 15px 20px;
    }

    .machine-link-box a span img {
        width: 32px;
    }

    .machine-link-box .link-list li:first-child a span {
        left: 20px;
    }

    .machine-link-box .link-list li:last-child a span {
        right: 20px;
    }

    .all-menu.derived {
        display: block;
    }

}