@charset "utf-8";

* {
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
    background-color: #5b4e0b;
}

body {
    font-size: 12px;
    line-height: 1.3;
    color: #333;
    min-width: 1024px;
    font-family: "Noto Sans JP", "Yu Gothic", YuGothic, "メイリオ", Meiryo, sans-serif;
}

img {
    border: none;
}
.img-responsive{
    max-width: 100%;
    height: auto;
}


#header {
    height: 142px;
    position: relative;
    background: url(../img/common/head_bg.png) repeat-x top center;
}

#header h1 {
    margin-left: 21px;
    margin-top: 8px;
    margin-bottom: 0;
    padding: 0;
}

#header h2 {
    position: absolute;
    top: 0px;
    left: 345px;
    z-index: 10;
}

#header ul {
    width: 984px;
    height: 77px;
    position: relative;
    top: 10px;
    left: 21px;
    z-index: 1;
    margin: 0;
    padding: 0;
}


#header ul li {
    display: block;
    float: left;
}

#header ul li a {
    display: block;
    width: 122px;
    height: 77px;
    overflow: hidden;
    text-indent: -9999px;
}

#header li.kengaku a {
    background: url(../img/common/menu01.gif) no-repeat 0 0;
}

#header li.jukajo a {
    background: url(../img/common/menu02.gif) no-repeat 0 0;
}

#header li.kindergarten a {
    background: url(../img/common/menu03.gif) no-repeat 0 0;
}

#header li.elementary a {
    background: url(../img/common/menu04.gif) no-repeat 0 0;
}

#header li.secondary a {
    background: url(../img/common/menu05.gif) no-repeat 0 0;
}

#header li.high a {
    background: url(../img/common/menu06.gif) no-repeat 0 0;
}

#header li.home a {
    width: 252px;
    background: url(../img/common/school_title.gif) no-repeat 0 0;
}

#header li.kengaku a:hover {
    background: url(../img/common/menu01_on.gif) no-repeat 0 0;
}

#header li.jukajo a:hover {
    background: url(../img/common/menu02_on.gif) no-repeat 0 0;
}

#header li.kindergarten a:hover {
    background: url(../img/common/menu03_on.gif) no-repeat 0 0;
}

#header li.elementary a:hover {
    background: url(../img/common/menu04_on.gif) no-repeat 0 0;
}

#header li.secondary a:hover {
    background: url(../img/common/menu05_on.gif) no-repeat 0 0;
}

#header li.high a:hover {
    background: url(../img/common/menu06_on.gif) no-repeat 0 0;
}

body#kengaku #header li.kengaku a {
    background: url(../img/common/menu01_on.gif) no-repeat 0 0;
}

body#jukajo #header li.jukajo a {
    background: url(../img/common/menu02_on.gif) no-repeat 0 0;
}

body#kindergarten #header li.kindergarten a {
    background: url(../img/common/menu03_on.gif) no-repeat 0 0;
}

body#elementary #header li.elementary a {
    background: url(../img/common/menu04_on.gif) no-repeat 0 0;
}

body#secondary #header li.secondary a {
    background: url(../img/common/menu05_on.gif) no-repeat 0 0;
}

body#high #header li.high a {
    background: url(../img/common/menu06_on.gif) no-repeat 0 0;
}


#footer {
    position: relative;
    height: 34px;
    clear: both;
    padding: 7px 0;
    background: url(../img/common/footer_bg.gif) repeat-x 0 0;
}
.footer-container{
    width: 1024px;
    margin: 0 auto;


}



/* lower */
.main_frame {
    margin: 20px 0;
}




/*
header
*/
.header-container {
    width: 1024px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    height: 100%;
    overflow: hidden;
}

/*
*/
.main-upper{
    background-image: url(../img/common/main_upper_bg.jpg), url(../img/common/main_upper_bg_02.jpg);
    background-repeat: no-repeat;
    background-position: top center, bottom center;
}
.main-upper-container {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    padding: 1px 0;
}



/*
*/
.main-bottom{
    padding: 15px 0;
    background-image: url(../img/common/main_bottom_bg.jpg);
}

.main-bottom-container {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    padding: 1px 0;
}


/*
.footer-upper
*/
.footer-upper {
    background-image: url(../img/common/footer_upper_bg.png);
    padding: 20px 0;
    min-height: 120px;
    box-sizing: border-box;
    background-position: top center;
}

.footer-upper-container {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    box-sizing: border-box;
}

.footer-banners-list {
    display: flex;
    align-items: center;
}

.footer-banners-item {
    flex: 0 0 180px;
    max-width: 180px;
    margin-right: 20px;
}
.footer-banners-item a{
    display: block;
}
.footer-banners-item a:hover{
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.footer-banners-item-img{
    max-width: 100%;
    height: auto;
}

/*
.footer-bottom
*/
.footer-bottom {
    background-color: #302c1d;
}

.footer-bottom-container {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    box-sizing: border-box;
}

.footer-bottom-row {
    display: flex;
    margin-left: -20px;
    margin-right: -20px;
}

.footer-bottom-col-6of12 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
}

.footer-bottom-news {
    margin: 20px 0;
    padding: 20px 20px;
    border-radius: 5px;
}

.footer-bottom-news-header {
    margin: 0 0 20px 0;
}

.footer-bottom-news-item {
    font-size: 16px;
    padding: 10px 0;
    border-bottom: solid 1px #454234;
    color: #ffffff;
}

.footer-bottom-news-item-date {
    margin-right: 15px;
}

.footer-bottom-news-item-alink {
    color: inherit;
    text-decoration: none;
    display: flex;
}
.footer-bottom-news-item-alink:hover{
    opacity: 0.6;
}
.footer-bottom-news-index-button{
    display: block;
    width: 153px;
    margin: 20px auto 0;
    text-align: center;
}


.footer-bottom-relatedlink {
    margin: 20px 0;
    padding: 20px 20px;
    border-radius: 5px;
}

.footer-bottom-relatedlink-header {
    margin: 0 0 20px 0;
}

.footer-bottom-relatedlink-banners-list {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.footer-bottom-relatedlink-banners-item {
    flex: 0 0 calc(50% - 5px);
}
.footer-bottom-relatedlink-banners-item a{
    display: block;
}
.footer-bottom-relatedlink-banners-item a:hover{
    opacity: 0.85;
}
