@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: 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;
    }

    .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: 10px 20px;
        box-sizing: border-box;
    }

    .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;
    }

}

@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;
    }

    .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;
    }

    .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;
    }

    .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;
    }

    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;
    }

    .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;
    }

    .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;
    }

}