body {
    background: url('../img/back.gif') left top no-repeat;
    background-size: cover;
    font-size: 12px;
    font-family: Helvetica, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
    letter-spacing: 0.03em;
}

a {
    color: #333333;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

.main {
    width: 100%;
    max-width: 800px;
    background-color: white;
    margin: 0 auto;
    box-shadow: 0px 5px 10px -5px rgb(0 0 0 / 50%)
}

.header {
    padding: 10px 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-icon {
    width: 280px;
    height: 50px;
    background: url('../img/logo_rje.gif') left top no-repeat;
    background-size: contain;
    transition: 0.3s ease opacity;
}

.header-icon:hover {
    background: url('../img/logo_rje_o.gif') left top no-repeat;
    opacity: 0.7;
}

.header-icon a {
    display: block;
    width: 100%;
    height: 100%;
}

.header-nav {
    display: flex;
    align-items: center;
    list-style-type: none;
}

.header-nav>li a {
    padding: 0 12px;
    border-left: 1px solid #333333;
}

.header-nav>li:first-child a {
    border-left: none;
}

.info {
    margin-top: 10px;
    padding: 0 35px;
}

.services {
    display: flex;
    flex-wrap: wrap;
}

.service-english {
    width: 400px;
}

.service-music {
    width: 400px;
}

.service-hero {
    width: 100%;
    height: 360px;
    transition: 0.3s ease opacity;
}

.service-hero a {
    display: block;
    width: 100%;
    height: 100%;
}

.service-hero.english {
    background: url('../img/c_english_l.jpg') left top no-repeat;
    background-size: contain;
}

.service-hero.english:hover {
    background: url('../img/c_english_l_o.jpg') left top no-repeat;
    background-size: contain;
    opacity: 0.7;
}

.service-hero.music {
    background: url('../img/c_music_l.jpg') left top no-repeat;
    background-size: contain;
}

.service-hero.music:hover {
    background: url('../img/c_music_l_o.jpg') left top no-repeat;
    background-size: contain;
    opacity: 0.7;
}

.service-content {
    padding: 0 12px;
}

.service-title {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.english .service-title-img {
    width: 160px;
    height: 30px;
}

.music .service-title-img {
    width: 200px;
    height: 30px;
}

.service-title-text {
    margin-left: 6px;
    font-size: 11px;
}

.english .service-title-text {
    color: #FF6600;
}

.music .service-title-text {
    color: #6633FF;
}

.service-description {
    margin-top: 15px;
}

.service-nav {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-nav-button {
    display: inline-block;
    width: 150px;
    height: 60px;
    transition: 0.3s ease opacity;
    background-size: contain;
}

.service-nav-button.motto-m {
    background: url('../img/motto_m.gif') left top no-repeat;

}

.service-nav-button.motto-m:hover {
    background: url('../img/motto_o.gif') left top no-repeat;
    opacity: 0.7;
}

.service-nav-button.muryo-m {
    width: 210px;
    background: url('../img/muryo_m.gif') left top no-repeat;
}

.service-nav-button.muryo-m:hover {
    background: url('../img/muryo_o.gif') left top no-repeat;
    opacity: 0.7;
}

.service-nav-button.motto-e {
    background: url('../img/motto_e.gif') left top no-repeat;
}

.service-nav-button.motto-e:hover {
    background: url('../img/motto_o.gif') left top no-repeat;
    opacity: 0.7;
}

.service-nav-button.muryo-e {
    width: 210px;
    background: url('../img/muryo_e.gif') left top no-repeat;
}

.service-nav-button.muryo-e:hover {
    background: url('../img/muryo_o.gif') left top no-repeat;
    opacity: 0.7;
}

.section-devider {
    width: calc(100% - 24px);
    height: 1px;
    margin: 15px auto 0;
}

.address {
    padding: 15px 12px 0 12px;
}

.address-description {}

.address-schools {}

.address-school {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.address-school-left {
    width: 70%;
}

.address-school-right {
    width: 30%;
    text-align: left;
}

.announce {
    padding: 15px 12px 0 12px;
}

.content-footer-divider {
    width: calc(100% - 24px);
    height: 5px;
    margin: 15px auto 0;
}

.content-footer {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 15px;
    padding: 0 12px;
}

.content-footer-item {
    min-width: 120px;
    max-width: 28%;
    font-size: 10px;
    margin-left: 20px;
}

.content-footer-item table {
    transform: translateY(-4px);
    font-size: 11px;
}

.content-footer-item.yajirushi {
    background: url('../img/yajirushi_kakko.gif') left center no-repeat;
    background-size: 10px;
    padding-left: 20px;
}

.content-footer-icon {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0px;
}

.content-footer-icon img {
    width: 37px;
    height: 32px;
}

footer {
    width: 100%;
    max-width: 800px;
    margin: 15px auto 30px;
}

.footer-nav {
    display: flex;
    width: 100%;
    list-style-type: none;
    padding: 0;
    justify-content: right;
}

.footer-nav>li a {
    background: url('../img/yajirushi_kuro.gif') left center no-repeat;
    background-size: 10px;
    padding-left: 12px;
    margin-left: 15px;
    text-decoration: underline;
    color: #333333;
}

.footer-nav>li a:hover {
    text-decoration: none;
}

.footer-copy {
    margin-top: 10px;
    font-size: 10px;
    width: 100%;
    text-align: right;
}

.default-section {
    padding: 30px;
    font-size: 16px !important;
}

.default-section-title {
    font-size: 20px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

@media screen and (max-width: 800px) {
    .header {
        padding: 10px 10px 0;
    }

    .header-icon {
        height: 40px;
    }

    .header-nav {
        display: none;
    }

    .info {
        padding: 0 15px 5px;
    }

    .service-english {
        margin-top: 20px;
        width: 100%;
        order: 2;
    }

    .service-music {
        width: 100%;
        order: 1;
    }

    .service-nav {
        padding: 0;
    }

    .address-school-left {
        width: 100%;
    }

    .address-school-right {
        width: 100%;
    }

    .content-footer-item {
        width: 50%;
        max-width: unset;
        margin-left: 0;
    }

    .content-footer-item:nth-child(3),
    .content-footer-item:nth-child(4) {
        margin-top: 10px;
    }

    footer {
        margin: 25px auto 20px;
    }

    .footer-nav {
        font-size: 10px;
        justify-content: center;
    }

    .footer-nav>li a {
        margin-left: 13px;
    }


    .footer-copy {
        text-align: center;
    }
}



/*--- utility ---*/

.accent {
    color: #FF6600;
}

.accent-dark {
    color: #FF0000;
}

.ff12 {
    color: #333333;
    font-family: Geneva, Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
}