@charset "utf-8";

body {
    font-family: "heisei-kaku-gothic-std", sans-serif;
    font-size: 80%;
    font-style: normal;
}

header {
    background-color: #000 !important;
}

.inner {
    padding: 0 10px 0 10px;
}

@media screen and (min-width:961px) {

     .logo img {
        padding: 30px;
    }

    .logo {
        text-align: center;
    }

    .pankuzu {
        max-width: 1050px;
        margin: 10px auto;
    }

    .pankuzu span a {
        text-decoration: underline;
        color: #000;
    }

    .inner {
        max-width: 1055px;
        margin: 0 auto;
        padding: 0 20px 0 20px;
    }

    .fade-text {
        max-height: 160px;
        overflow: hidden;
        position: relative;
        -webkit-mask-image: linear-gradient(to bottom, black 10%, transparent 80%);
        mask-image: linear-gradient(to bottom, black 10%, transparent 80%);
        transition: max-height 0.5s ease, -webkit-mask-image 0.5s ease, mask-image 0.5s ease;
    }

    .fade-text.open {
        max-height: 1000px;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .fade-container {
        margin-bottom: 30px;
        text-align: center;
    }

    button {
        margin-top: 10px;
        padding: 10px 20px;
        background-color: #000;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

    .instructor_flex {
        display: flex;
        flex-wrap: wrap;
    }

    .list_flex {
        width: 33.33333%;
        padding: 30px 20px;
        box-sizing: border-box;
        border-top: 1px #333 solid;
    }

    .left_area img {
        display: block;
        margin: 0 auto;
    }

    .fade-text {
        font-size: 17px;
        text-align: justify;
        line-height: 1.2em;
    }

    .right_area img {
        display: block;
        margin: 10px auto 10px auto;
        width: 70%;
    }

    .instructor_area h2 {
        text-align: center;
        font-size: 40px;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    span.red_box {
        color: #e50012;
        font-size: 20px;
        margin-right: 5px;
    }

    span.blue_box {
        color: #0067b5;
        font-size: 20px;
        margin-right: 5px;
    }

    span.green_box {
        color: #8dc21f;
        font-size: 20px;
        margin-right: 5px;
    }

    ul.course_list {
        display: flex;
        margin-bottom: 70px;
        justify-content: center;
    }

    .course_list li {
        padding: 0 10px 0 10px;
        font-size: 20px;
        font-weight: bold;
    }

    .list_flex2 {
        width: 25%;
        padding: 10px 20px;
        box-sizing: border-box;
    }

    .instructor_flex2 {
        display: flex;
        flex-wrap: wrap;
        width: 90%;
        margin: 0 auto;
    }

    .right_area2 img {
        display: block;
        margin: 10px auto 10px auto;
        width: 100%;
    }

    .name_area img {
        width: 100%;
        display: block;
    }

    .instructor_list_title {
        margin-top: 2em;
        font-size: 24px;
        color: #dd571c;
        margin-bottom: 1em;
    }

    .left_area a span {
        position: absolute;
        bottom: -250px;
        right: 0;
        left: 0;
        background-color: #333;
        padding: 10px;
        color: #fff;
        max-width: 200px;
        margin: 0 auto;
        border-radius: 10px;
    }

    .left_area {
        position: relative;
        text-align: center;
    }

    .lb-dataContainer {
        margin: 0 auto;
        padding-top: 5px;
        width: 50% !important;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
        position: relative;
    }

    .lb-data {
        padding: 5px 10px 0px 10px;
        color: #ccc;
        margin-top: 20px;
        font-size: 25px;
    }

    .instructor_area h2 span {
        display: block;
        margin-top: 10px;
    }

    .lb-dataContainer {
        margin: 0 auto;
        padding-top: 5px;
        width: 50% !important;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
        position: relative;
    }

}

@media screen and (max-width:640px) {
    

    .inner {
        padding: 0 10px 0 10px;
    }

    .name_area img {
        width: 100%;
    }

    .fade-text {
        max-height: 70px;
        overflow: hidden;
        position: relative;
        -webkit-mask-image: linear-gradient(to bottom, black 10%, transparent 80%);
        mask-image: linear-gradient(to bottom, black 10%, transparent 80%);
        transition: max-height 0.5s ease, -webkit-mask-image 0.5s ease, mask-image 0.5s ease;
        font-size: 14px;
        line-height: 1.2em;
        text-align: justify;
    }

    .fade-text.open {
        max-height: 1000px;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .fade-container {
        text-align: center;
    }

    button {
        margin-top: 10px;
        padding: 10px 20px;
        background-color: #000;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

    .instructor_flex,
    .instructor_flex2 {
        display: flex;
        flex-wrap: wrap;
    }

    .list_flex,
    .list_flex2 {
        width: 50%;
        padding: 10px;
        box-sizing: border-box;
        margin-top: 30px;
    }

    .left_area img {
        width: 100%;
        display: block;
        margin-bottom: 10px;
        margin-top: 15px;
    }

    .right_area img,
    .right_area2 img {
        width: 100%;
        display: block;
        margin-bottom: 10px;
    }

    .fade-text.open {
        text-align: justify !important;
        font-size: 14px;
        line-height: 1.2em;
    }

    .instructor_area h2 {
        text-align: center;
        font-size: 24px;
        margin-top: 1em;
        line-height: 1.2em;
    }

    ul.course_list {
        margin-top: 20px;
        line-height: 1.5em;
        font-size: 17px;
    }

    span.red_box {
        color: #e50012;
    }

    span.blue_box {
        color: #0067b5;
    }

    span.green_box {
        color: #8dc21f;
    }

    .instructor_list_title {
        margin: 10px 0 10px 0;
        color: #dd571c;
        line-height: 1.2em;
    }

    .instructor_area h2 span {
        display: block;
    }

    .left_area span {
        position: absolute;
        bottom: -130px;
        right: 0;
        left: 0;
        text-align: center;
    }

    .left_area {
        position: relative;
    }

    .left_area span {
        position: absolute;
        bottom: -150px;
        right: 0;
        left: 0;
        text-align: center;
        background-color: #333;
        color: #fff;
        padding: 10px;
        border-radius: 5px;
    }

    .lb-dataContainer {
        margin: 0 auto;
        padding-top: 5px;
        width: 95% !important;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
        position: relative;
    }

    .lb-data .lb-caption {
        font-size: 15px !important;
        font-weight: bold;
        line-height: 1.2em;
    }

    .lb-data {
        padding: 5px 10px 0px 10px;
        color: #fff;
        margin-top: 30px;
    }

    .lb-data .lb-close {
        display: block;
        float: right;
        width: 30px;
        height: 30px;
        background: url(../img/close.png) top right no-repeat;
        text-align: right;
        outline: none;
        opacity: 0.7;
        -webkit-transition: opacity 0.2s;
        -moz-transition: opacity 0.2s;
        -o-transition: opacity 0.2s;
        transition: opacity 0.2s;
        position: absolute;
        top: -340px !important;
        right: 5px !important;
    }

    .logo h1 {
        padding: 10px;
        text-align: center;
    }

    .logo h1 img {
        width: 70%;
    }

    .pankuzu {
        margin-top: 10px;
        margin-left: 15px;
    }

    .pankuzu span a {
        text-decoration: underline;
        color: #000;
    }


}

@media screen and (min-width: 641px) and (max-width: 960px) {

    .inner {
        padding: 0 10px 0 10px;
    }

    .instructor_flex {
        display: flex;
        flex-wrap: wrap;
    }

    .list_flex {
        width: 33.33333%;
        padding: 0 20px 0 20px;
        box-sizing: border-box;
        border-top: 1px #333 solid;
    }

    .right_area img {
        width: 100%;
        display: block;
        margin-bottom: 10px;
    }

    .left_area img {
        display: block;
        margin: 30px auto;
        margin-bottom: 10px;
    }

    .fade-text {
        max-height: 70px;
        overflow: hidden;
        position: relative;
        -webkit-mask-image: linear-gradient(to bottom, black 10%, transparent 80%);
        mask-image: linear-gradient(to bottom, black 10%, transparent 80%);
        transition: max-height 0.5s ease, -webkit-mask-image 0.5s ease, mask-image 0.5s ease;
        font-size: 17px;
        line-height: 1.2em;
        text-align: justify;
    }

    .fade-text.open {
        max-height: 1000px;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .fade-container {
        text-align: center;
        margin-bottom: 5em;
    }

    button {
        margin-top: 10px;
        padding: 10px 20px;
        background-color: #000;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

    .fade-text.open {
        text-align: justify !important;
        font-size: 17px;
        line-height: 1.2em;
    }

    .instructor_flex2 {
        display: flex;
        flex-wrap: wrap;
    }

    .list_flex2 {
        width: 25%;
        padding: 10px;
        box-sizing: border-box;
    }

    .instructor_flex2 img {
        width: 100%;
        text-align: center;
        display: block;
    }

    .instructor_list_title {
        margin: 3em 0 20px 0;
        font-size: 24px;
        color: #dd571c;
    }

    .name_area img {
        width: 100%;
    }

    .instructor_area h2 {
        font-size: 40px;
        text-align: center;
        margin-top: 2em;
        line-height: 1.2em;
        margin-bottom: 1em;
    }

    .instructor_area h2 span {
        display: block;
    }

    ul.course_list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 2em;
        margin-bottom: 1em;
        font-size: 24px;
    }

    .course_list li {
        padding: 0 10px 0 10px;
    }

    span.red_box {
        color: #e50012;
        margin-right: 5px;
    }

    span.blue_box {
        color: #0067b5;
        margin-right: 5px;
    }

    span.green_box {
        color: #8dc21f;
        margin-right: 5px;
    }

    .left_area span {
        position: absolute;
        bottom: -130px;
        right: 0;
        left: 0;
        text-align: center;
    }

    .left_area {
        position: relative;
    }

    .left_area span {
        position: absolute;
        bottom: -190px;
        right: 0;
        left: 0;
        text-align: center;
        background-color: #333;
        color: #fff;
        padding: 10px;
        border-radius: 5px;
    }

    .lb-dataContainer {
        margin: 2em auto;
        padding-top: 5px;
        width: 95% !important;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
        position: relative;
    }

}