@charset "utf-8";

/* CSS Document */
/***************<下層ページ共通>**************/
header {
    position: fixed;
    top: 0;
}

h1.green {
    display: none;
}

main {
    margin-top: 200px;
}

/**************</下層ページ共通>***************/
.top_text{
    text-align:center;
    margin-bottom:60px;
}
.row {
    flex-direction: row-reverse;
}
.positioning{
    position:relative;
}
.text_box{
    box-sizing:border-box;
    width:581px;
    height:267px;
    border:1px solid #f2f2f2;
    background: linear-gradient(#fff, #f7f7f7);
    box-shadow: 2px 2px 5px #bababa;
    padding:20px;
    position:absolute;
}
.price_box{
    box-sizing:border-box;
    width:338px;
    border:1px solid #f2f2f2;
    background: linear-gradient(to left, #fff, #deffde);
    box-shadow: 2px 2px 5px #bababa;
    padding:20px;
    position:absolute;
}
.text_position1{
    top:10%;
    left:-100px;
}
.price_position1{
    top:75%;
    left:60px;
    height:180px;
}
.text_position2{
    top:15%;
    left:-490px;
    height:230px;
}
.price_position2{
    top:70%;
    left:-400px;
    padding-bottom:20px;
}
h4.green_underline {
    text-align:right;
    background-image: url(../images/underline_green2.png);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 80%;
    margin-bottom: 10px;
}

h4.green_underline2 {
    text-align: left;
    background-image: url(../images/underline_green1.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 80%;
    margin-bottom: 20px;
}
.price_box dt{
    font-weight:bold;
    text-shadow: 1px 1px 1px #808080;
}
.price_box span{
    font-size:16px;
}
.price_box dd{
    line-height:2;
}
dd.small{
    font-size:16px;
}
.padding{
    padding-left:10px;
}
table {
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
    width: 1000px;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    margin-top: 200px;
    margin-bottom:100px;
}

table::before {
    background-image: url(../images/schedule_illust.png);
    background-repeat:no-repeat;
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 111px;
    top: -111px;
    left: 0;
}
.bold {
    color: #fff;
    font-weight: bold;
    background:#41ce00;
}
tr.green {
    background: #41ce00;
    border: 1px solid #41ce00;
}
span.white{
    color:#fff;
}
span.blue {
    color: #3b3bff;
}

span.red {
    color: #ff3b3b;
}
.border {
    border: 1px dashed #8e8e8e;
    line-height:2.5;
}
.border_right{
    border-right:1px dashed #8e8e8e;
    width:250px;
    background:#fff;
}
.border_LR{
    border-left:1px dashed #8e8e8e;
    border-right:1px dashed #8e8e8e;
    background-image:url(../images/lesson_off.png);
    background-repeat:no-repeat;
    background-position:center;
    background-size:70%;
}
.padding_top{
    padding-top:20px;
}
.hiroshi{
    background-image:url(../images/hiroshi.png);
    background-repeat:no-repeat;
    background-size:70%;
    background-position:center;
}
/*
.genki{
    background-image:url(../images/genki.png);
    background-repeat:no-repeat;
    background-size:70%;
    background-position:center;
}
*/
.yutaka_position{
    position:absolute;
    top:120%;
}
.fuwafuwa {
    animation-name: fuwa-chan;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-duration: 1.5s;
}
@keyframes fuwa-chan {
    0% {
        transform: translate(0, 0px);
    }

    100% {
        transform: translate(0, -15px)
    }
}
section{
    padding-bottom:200px;
}
.lesson{
    box-shadow: inset 1px 1px 10px 10px #fff;
}
.lesson img{
        position: relative;
    z-index: -1;
}
.chrage{
    text-align:right;
    font-size:16px;
    padding-top:20px;
}

/**********************<レスポンシブ>*********************/
@media screen and (max-width:640px) {

    /*****************下層ページ共通*************/
    header {
        position: fixed;
        top: 0;
    }

    .my-parts {
        border-left: none;
        color: #008c0d;
    }

    main {
        margin-top: 150px;
    }

    /*****************************************/
    .top_text{
        text-align:left;
        margin-left:20px;
        margin-right:20px;
    }
    th, tr{
        font-size:12px;
    }
    .slider {
        overflow-x: auto;
        margin: 0 20px;
        -webkit-overflow-scrolling: touch;
    }
    .slider::-webkit-scrollbar-track {
        border-radius: 5px;
        background: #41ce00;
    }
    .bold, .border_right {
        position: sticky;
        left: 0;
    }
    .photobox{
        margin:0 20px;
    }
    .text_box{
        width:auto;
    }
    .text_box, .price_box{
        position:static;
        margin:30px 20px;
    }
    table{
        margin-top:70px;
        margin-bottom:50px;
        width:640px;
    }   
    .border_right{
        width:20%;
    }
    border_LR, .hiroshi, .genki{
        background-size:60%;
    }
    table::before {
        background-size:70%;
        top:-65px;
    }
    .yutaka_position{
        display:none;
        text-align:center;
    }
    .yutaka_position p img{
        width:80%;
    }
    section{
        padding:0;
    }

}

/**********************</レスポンシブ>*********************/
