section#tokutyou {
    background-image: url(../img/flag_left.png), url(../img/flag_right.png), url('../img/background_1.jpg');
    background-position: left top, right top, center center;
    background-repeat: no-repeat, no-repeat, repeat;
}

section#news {
    background-image: url(../img/flag_left.png), url(../img/flag_right.png), url('../img/background_2.jpg');
    background-position: left top, right top, center center;
    background-repeat: no-repeat, no-repeat, repeat;
}

section#time {
    background-image: url(../img/flag_left.png), url(../img/flag_right.png), url('../img/background_1.jpg');
    background-position: left top, right top, center center;
    background-repeat: no-repeat, no-repeat, repeat;
}

section#content {
    background-image: url(../img/flag_left.png), url(../img/flag_right.png), url('../img/background_2.jpg');
    background-position: left top, right top, center center;
    background-repeat: no-repeat, no-repeat, repeat;
}

section#greeting {
    background-image: url(../img/flag_left.png), url(../img/flag_right.png), url('../img/background_1.jpg');
    background-position: left top, right top, center center;
    background-repeat: no-repeat, no-repeat, repeat;
}

h3 {
    color: #9d6752;
    text-align: center;
}

text-bl {
    color: #3d87ce;
    font-weight: 900;
}

.select_1:active,
.select_2:active {
    /*押したとき*/
    border-bottom: solid 2px #00BCD4;
    box-shadow: none;
    text-shadow: -1px -1px rgba(255, 255, 255, 0.3), 1px 1px rgba(0, 0, 0, 0.3);
}

.down_allow {
    display: inline;
    margin: 0rem;
    text-align: center;
    width: 1.1rem;
    height: 1.1rem;
}

.accordion-menu {
    border-radius: 4px;
    margin: 1rem auto;
    padding: 0;
    width: 100%;
}

.accordion-menu li.open .dropdownlink {
    color: #CDDC39;
    transition: 6.6s ease-in-out;
}

.accordion-menu li.open .dropdownlink .fa-chevron-down {
    transform: rotate(180deg);
}

.accordion-menu > li {
    background: #fffde8;
    background-repeat: no-repeat;
    background-size: auto 3rem;
    background-position: left center;
    box-shadow: 0px 0px 0px 10px #fffde8;
    /*線の外側*/
    border: dashed 2px #ffb03f;
    /*破線*/
    border-radius: 9px;
    margin-bottom: 1rem;
}

.dropdownlink {
    background-repeat: no-repeat;
    background-size: auto 4rem;
    background-position: left center;
    cursor: pointer;
    color: #575757;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    padding: 1.5rem 0.5rem 1.5rem 5rem;
    position: relative;
    transition: all 1s ease-out;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5);
    height: 4rem;
}

.n1 {
    background-image: url(../img/toku-1.png);
}

.n2 {
    background-image: url(../img/toku-2.png);
}

.n3 {
    background-image: url(../img/toku-3.png);
}

.n4 {
    background-image: url(../img/toku-4.png);
}

.submenuItems {
    background-color: rgb(238, 249, 255);
    border: 1px solid #ebe2d1;
    color: #333;
    font-size: 1.1rem;
    padding: 2rem 1rem;
    line-height: 1.5rem;
    margin-top: -5px;
    margin-bottom: 1.5rem;
    display: none;
}

.submenuItems a {
    display: block;
    color: #727272;
    padding: 12px 12px 12px 45px;
    transition: all 0.1s ease-out;
}

#content .down_allow {
    display: inline;
    margin: 0;
    width: 1.1rem;
    height: 1.1rem;
}

#content .dropdownlink {
    height: auto;
    padding: 1rem 1rem 0 1rem;
}

#content .submenuItems {
    padding: 1.5rem;
}

#news_list ul::-webkit-scrollbar {
    height: 10px;
}

/*バーの太さ*/
#news_list ul::-webkit-scrollbar-track {
    background: #dddddd;
}

/*バーの背景色*/
#news_list ul::-webkit-scrollbar-thumb {
    background: #2cc2e4;
}

/*バーの色*/
#news_list ul::-webkit-scrollbar {
    width: 10px;
}

#newmark {
    color: red;
}

#news_list li {
    border-bottom: 3px dotted #b4876b;
    line-height: 1.5rem;
    font-weight: 600;
    margin: 0 0 1rem;
    padding: 0 0 1rem 0;
}

#news_date {
    display: inline;
    color: #098476;
    font-size: 1rem;
    font-weight: 600;
    margin: 0.5rem 2rem;
}

.info {
    align-items: center;
    background-size: 3rem;
    background-repeat: no-repeat;
    background-position: 1rem center;
    border: 2px solid white;
    border-radius: 6px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
    font-size: 1.2rem;
    font-weight: bold;
    height: auto;
    line-height: 1.5rem;
    margin: 1rem 0;
    padding: 1rem 1rem 1rem 1rem;
    width: 100%;
}

.i_1 {
    background-color: #e2ffc0;
    background-image: url(../img/time_mark.png);
}

.i_2 {
    background-color: #ffcfd8;
}

.i_2_span {
    display: block;
}

.i_3 {
    background-color: #b2e2ff;
    background-image: url(../img/time_baby.png);
}

span.red {
    color: red;
    display: inline;
}

.linkbtn {
    background: #65c4ff;
    border-bottom: solid 4px #7ea9fc;
    border-radius: 6px;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2);
    color: white;
    display: block;
    font-weight: 800;
    height: 3rem;
    line-height: 3rem;
    margin: 1rem 0 0 0;
    padding: 0 0.5rem;
    text-align: center;
    text-shadow: -1px -1px rgba(255, 255, 255, 0.44), 1px 1px rgba(0, 0, 0, 0.38);
    width: 8rem;
}

.linkbtn:active {
    /*押したとき*/
    border-bottom: solid 2px #00BCD4;
    box-shadow: none;
    text-shadow: -1px -1px rgba(255, 255, 255, 0.3), 1px 1px rgba(0, 0, 0, 0.3)
}

.linkbtn2 {
    background: #65c4ff;
    border-bottom: solid 4px #7ea9fc;
    border-radius: 6px;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2);
    color: white;
    display: block;
    font-weight: 800;
    height: 3rem;
    line-height: 3rem;
    margin: 1rem 0 0 0;
    padding: 0 0.5rem;
    text-align: center;
    text-shadow: -1px -1px rgba(255, 255, 255, 0.44), 1px 1px rgba(0, 0, 0, 0.38);
    width: 16rem;
}

.linkbtn2:active {
    /*押したとき*/
    border-bottom: solid 2px #00BCD4;
    box-shadow: none;
    text-shadow: -1px -1px rgba(255, 255, 255, 0.3), 1px 1px rgba(0, 0, 0, 0.3)
}

#tablebox {
    margin: 0;
    padding: 0;
    width: 100%;
}

#tablebox table {
    background-color: #FFCC99;
    border: 2px solid #b8ff99;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    border-collapse: separate;
    border-spacing: 1px;
    width: 100%;
}

#tablebox td {
    text-align: center;
    vertical-align: middle;
    padding: 4px;
    border: 2px solid #FFF;
    width: 2rem;
}

#tablebox #tableboxpractice_title {
    background-color: white;
    color: #333;
}

#tablebox .practice_time {
    background-color: #FFFFC8;
    height: 4rem;
    width: 8rem;
    padding: 1px;
    font-size: 1rem;
    width: 3vw;
}

#tablebox .practice_courses_1 {
    background-color: #e2ffc0;
}

#tablebox .practice_courses_2 {
    background-color: #ffcfd8;
}

#tablebox .practice_courses_3 {
    background-color: #b2e2ff;
}

#tablebox .practice_courses_4 {
    background-color: #f8cbac;
    height: 4rem;
    width: 8rem;
    padding: 1px;
    font-size: 1rem;
    width: 3vw;
}

#tablebox .practice_courses_5 {
    background-color: #ffcfd8;
    height: 4rem;
    width: 8rem;
    padding: 1px;
    font-size: 1rem;
    width: 3vw;
}

#tablebox .practice_courses_red {
    border-width:5px;
    border-color: #f22222;
    background-color: #f8cbac;
    height: 4rem;
    width: 8rem;
    padding: 1px;
    font-size: 1rem;
    width: 3vw;
}

#tablebox .practice_courses_red_2 {
    border-width:5px;
    border-color: #f22222;
    background-color: #ffcfd8;
    height: 4rem;
    width: 8rem;
    padding: 1px;
    font-size: 1rem;
    width: 3vw;
}

#tablebox td img {
    display: inline;
    margin: 0;
}

#tablebox .non {
    background-color: white;
    color: #333;
    font-size: 1.5rem;
}

#tablebox .practice_courses_1 img,
#tablebox .practice_courses_2 img,
#tablebox .practice_courses_3 img {
    width: 2rem;
    height: 2rem;
}

#select_sccr {
    display: block;
    position: absolute;
    bottom: 10px;
    right: 20%;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

#select_sccr a {
    background-image: url('../img/btn_sccr.png');
    background-size: contain;
    width: 200px;
    height: 200px;
    color: white;
    display: block;
    font-size: 1.1rem;
    text-align: center;
    text-shadow: 0 0 2px #333;
}

.select {
    width: 800px;
    display: flex;
    justify-content: space-between;
    margin: 10px auto;
}

.select_1,
.select_2 {
    background: #00BCD4;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2);
    border-bottom: solid 2px #118e9e;
    border-radius: 4px;
    color: white;
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    height: 4rem;
    line-height: 4rem;
    margin: 0 1px 0 1px;
    position: relative;
    padding: 0 0.5rem;
    text-decoration: none;
    text-align: center;
    text-shadow: -1px -1px rgba(255, 255, 255, 0.44), 1px 1px rgba(0, 0, 0, 0.38);
}

.select_1 {
    width: 64%;
    background-image: url(../img/hachi.png);
    background-size: contain;
    background-position: 80% center;
    background-repeat: no-repeat;
}

.select_2 {
    width: 34%;
}

#news_list ul {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    margin: 0;
    min-height: 10rem;
    max-height: 20rem;
    overflow-y: scroll
}

.noconsulday {
    margin: 1rem;
}

/*パソコン用*/

@media screen and (min-width: 1025px) {
    #top_image {
        background-image: url('../img/main_bg.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        padding: 0;
        margin: 0;
        height: 700px;
        width: 100%;
        max-width: 2000px;
        overflow: hidden;
    }

    .qr {
        display: block;
        margin: 0;
        width: 30%;
        height: 30%;
    }

    figure.greeting img {
        display: block;
        margin: 0rem auto 2.5rem;
        width: 200px;
        height: auto;
    }

    #greeting {}

    .greeting {
        width: 50%;
        height: auto;
    }

    .greeting img {
        display: block;
        border: 0px solid white;
        background-image: none;
        box-shadow: none;
        margin: 0.5rem auto 2.5rem;
        width: 100%;
        height: auto;
    }
}

/*---------ipad用--------------------------------*/
@media screen and (max-width: 1024px) {
    #top_image {
        background-image: url('../img/main_bg.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        padding: 0;
        margin: 0;
        height: 55vw;
        width: 100%;
        overflow: hidden;
    }

    .qr {
        display: block;
        margin: 0;
        width: 30%;
        height: 30%;
    }

    #news_list ul {
        background-color: white;
        border: 1px solid #ccc;
        border-radius: 4px;
        padding: 0.5rem 1rem;
        margin: center;
        min-height: 10rem;
        max-height: 20rem;
        overflow-y: scroll
    }

    figure.greeting img {
        display: block;
        margin: 0.5rem auto 2.5rem;
        width: 150px;
        height: auto;
    }

    .greeting {
        width: 50%;
        height: auto;
    }

    .greeting img {
        display: block;
        border: 0px solid white;
        background-image: none;
        box-shadow: none;
        margin: 0.5rem auto 2.5rem;
        width: 100%;
        height: auto;
    }
}

/*----------------スマホ用--------------------------------*/

@media screen and (max-width: 767px) {
    #top_image {
        background-image: url('../img/mobile_top.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        padding: 150px 0 0 0;
        margin: 60px 0 0 0;
        height: 100vw;
        width: 100%;
    }

    #select_sccr {
        right: 5%;
    }

    #select_sccr a {
        width: 120px;
        height: 120px;
        font-size: 1.1rem;
        text-align: center;
    }

    .select {
        width: 100%;
        margin: 0;
        padding: 0.5rem;
    }

    .select_1,
    .select_2 {
        font-size: 1.1rem;
        height: 3rem;
        line-height: 3rem;
    }

    .select_1 {
        background-position: right;
    }

    .dropdownlink {
        background-size: auto 4rem;
        margin-bottom: 0rem;
        padding: 0.5rem 0.5rem 0.5rem 4.5rem;
        height: 4rem;
    }

    .down_allow {
        display: inline;
        margin: 0;
        text-align: center;
        width: 1.1rem;
        height: 1.1rem;
    }

    .submenuItems {
        background-color: white;
        border: 0px solid #ffe0a6;
        color: #333;
        font-size: 1.1rem;
        line-height: 1.5rem;
        padding: 0.5rem 1rem;
        margin-top: -5px;
        margin-bottom: 1.5rem;
        display: none;
    }

    #news_date {
        display: block;
        color: #098476;
        font-size: 0.9rem;
        font-weight: 600;
        margin: 0.5rem;
    }

    #news_list ul {
        background-color: white;
        border: 1px solid #ccc;
        border-radius: 4px;
        padding: 0.5rem 1rem;
        margin: 0;
        height: 8rem;
        overflow-y: scroll
    }

    #news_list li {
        line-height: 1.2rem;
        margin: 0 0 1rem;
        padding: 0 0 1rem 0;
    }

    #tablebox td {
        text-align: center;
        padding: 4px;
        height: 2rem;
        line-height: 3rem;
        border: 2px solid #FFF;
        width: 2rem;
    }

    #tablebox .practice_time {
        width: 7rem;
        padding: 1px;
        font-size: 0.8rem;
    }

    #tablebox .practice_mark {
        font-size: 1rem;
    }

    #tablebox .non {
        font-size: 1rem;
    }

    #tablebox .practice_courses_1 img,
    #tablebox .practice_courses_2 img,
    #tablebox .practice_courses_3 img {
        width: 1rem;
        height: 1rem;
    }

    .info {
	font-size: 1.1rem;
	font-weight: bold;
        background-size: 2rem;
        padding: 0.5rem 0.5rem 0.5rem 4rem;
    }

    .qr {
        display: block;
        margin: 0;
        width: 30%;
        height: 30%;
    }

    #content p {
        margin: 0 1rem;
        line-height: 1rem;
    }
    
    #content .dropdownlink {
    height: auto;
    padding: 1rem;
    }

    #greeting {}

    .greeting {
        width: 50%;
        height: auto;
    }

    .greeting img {
        display: block;
        border: 0px solid white;
        background-image: none;
        box-shadow: none;
        margin: 0.5rem auto 2.5rem;
        width: 100%;
        height: auto;
    }

    #map {
        position: relative;
        padding-bottom: 250px;
        height: 0;
        overflow: hidden;
        margin: 0 auto;
    }
}
