@charset "utf-8";

/* IE H3 スクロールバー バグ */
/*
@-ms-viewport
{
    width: device-width;
    initial-scale: 1;
}
*/

@media print {
    body {
        width: 1080px;
    }
    #header-container {
        position: static !important;
    }
    #wrapper {
        top: 10px !important;
    }
}


/* Ease reset */

* {
    margin: 0;
    padding: 0;
}

img {
    image-rendering: auto;
    display: block;
}

html {
    height: 100%;
}

body {
    overflow-x: hidden;
    height: 100%;
    font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    font-weight: 500;
    font-size: 16px;
}


/* IE表示用のCSS　*/

_:-ms-input-placeholder,
 :root body {
    /* font-family: 游ゴシック体, 'Yu Gothic', YuGothic; */
    font-family: Meiryo, sans-serif;
    /* font-family: 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif; */
}

a {
    text-decoration: none;
}

a:hover {
    color: #f15a24;
}

ul {
    list-style: none;
}


/* header */

#outer {
    height: 100%;
    width: 100%;
    z-index: 0;
    margin: 0 auto;
}

#header-container {
    border-top: 14px solid #1d2087;
    position: fixed;
    left: 0;
    top: 0px;
    z-index: 1000;
    width: 100%;
    background-color: white;
}

#header-inner {
    display: flex;
    justify-content: space-between;
    /*        justify-content: center; */
    align-items: center;
    padding: 15px 0px 15px 0px;
    margin: 0px auto 0px auto;
    max-width: 1080px;
    width: 100%;
    background-color: white;
}

#header-logo img {
    width: 150px;
    height: 70px;
    margin-left: 15px;
}

#header_title {
    flex: 1 1 80%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#header_title h1 {
    flex: 1 1 100%;
    width: 100%;
    font-size: 28px;
    color: #1d2087;
    line-height: 1.0em;
    text-align: center;
    vertical-align: middle;
    /*---*/
    justify-content: center;
    align-items: center;
}

#pc-nav {
    justify-content: center;
    display: table;
    max-width: 140px;
    width: 140px;
    font-size: 0px;
    margin-right: 15px;
}

#pc-nav div {
    display: table-cell;
}

#pc-nav img {
    width: 70px;
    margin: 0;
}

#goto-tea {
    background-image: url("/style/images/goto_teacher.svg");
}

#goto-tea p {
    color: #1d2087;
}

#goto-site {
    background-image: url("/style/images/goto_site.svg");
}

#goto-site p {
    color: #fff;
}

#wrapper {
    color: #1d2087;
    padding-top: 0px;
    position: relative;
    width: 100%;
    top: 112px;
	background-position:center;
	background-attachment: fixed;
}

#contents {
    /*    background-color: white;*/
    /*        max-width: 1080px; */
    margin: 0 auto;
}


/* Toggle Button */

#nav-toggle {
    display: none;
    position: absolute;
    right: 28px;
    top: 26px;
    width: 38px;
    height: 36px;
    cursor: pointer;
    z-index: 1020;
}

#nav-toggle div {
    position: relative;
}

#nav-toggle span {
    display: block;
    position: absolute;
    height: 6px;
    width: 100%;
    background: #888;
    left: 0;
    transition: .35s ease-in-out;
}

#nav-toggle span:nth-child(1) {
    top: 0;
}

#nav-toggle span:nth-child(2) {
    top: 11px;
}

#nav-toggle span:nth-child(3) {
    top: 22px;
}

#main-visual {
    height: 1px;
}

#cover-menu {
    overflow-y: hidden;
    display: none;
    transition: height 0.3s linear;
}

footer a {
    color: white;
}

#footer-container {
    color: white;
    padding-top: 10px;
    background-color: #1d2087;
}

#footer-inner {
    display: flex;
    justify-content: space-between;
    padding: 15px 0px 15px 0px;
    margin: 0px auto 0px auto;
    max-width: 1080px;
    width: 98%;
}

#footer-info {
    display: flex;
	width:80%;
}

#footer-logo {
    flex: 1 1 30%;
	min-width:155px;
/*    width: 150x;*/
}

#footer-logo a {
    background-color: white;
    width: 150px;
    height: 140px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
	margin:0 auto;
}

#footer-logo img {
    width: 150px;
    height: 80px;
}

#footer-text {
    flex: 1 1 70%;
    margin-left: 20px;
}

#footer-text span {
    margin-right: 8px;
    display: inline-block;
}

#footer-text p.text-mail {
    word-wrap: break-word;
    word-break: break-all;
	text-decoration: underline;
}

#footer-text h1 {
    font-size: 20px;
    color: white;
    line-height: 1.4em;
    text-align: left;
}

#footer-text p {
    line-height: 24px;
}

#footer-map {
    display:inline-block;
	color: white;
    text-decoration: none;
    font-size: 13px;
    margin-left: 10px;
    padding: 0px 30px 0px 30px;
    vertical-align: 15%;
	box-sizing: border-box;
    border: 1px solid white;
}


#footer-map:hover {
    color: #1d2087;
    background-color: white;
}

#footer-menu {
    display: table;
    margin-left: 5px;
    font-size: 13px;
}

.footer-menu-box1,
.footer-menu-box2 {
    display: table-cell;
}

#footer-menu ul {
    width: 150px;
    margin: 0px auto;
}

#footer-menu li {
    margin-top: 2px;
    margin-bottom: 2px;
    /* height: 24px; */
}

#footer-text-bottom {
    text-align: center;
    padding: 10px 10px 2px 10px;
}
#footer-copyright {
    font-size: 14px;
    text-align: center;
    padding: 2px 10px 10px 10px;
}

#footer-copyright span {
    display: inline-block;
}


/*-- footer-pcnav-goto menu --*/

#footer-goto-forPC {
    display: table;
    width: 100%;
    background-color: #f2f2f2;
    padding-top: 30px;
    padding-bottom: 30px;
}

#footer-goto-forPC div {
    display: block;
    display: table-cell;
    width: 50%;
}

#footer-goto-forPC a {
    display: block;
    margin: 10px auto 10px auto;
    width: 295px;
    height: 75px;
    background-color: #f15a24;
    transition: background-color 0.2s linear;
    overflow: hidden;
}

#footer-goto-forPC img {
    display: block;
    margin: 15px auto 0px auto;
}

#footer-goto-forPC a:hover {
    background-color: #1d2087;
}


/*-- footer-goto-forSP menu --*/

#footer-goto-forSP {
    display: none;
    width: 100%;
    background-color: #f2f2f2;
    padding-top: 30px;
    padding-bottom: 30px;
}

#footer-goto-forSP div {
    display: table-cell;
    width: 50%;
}

#footer-goto-forSP a {
    display: block;
    margin: 10px auto 10px auto;
    width: 108px;
    height: 108px;
    background-color: #f15a24;
    transition: background-color 0.2s linear;
    overflow: hidden;
}

#footer-goto-forSP img {
    display: block;
    margin: 15px auto 0px auto;
}

#footer-goto-forSP a:hover {
    background-color: #1d2087;
}


/*-- default end -- */

@media screen and (max-width: 840px) {
    /* -- footer menu --*/

    #footer-logo a{
        margin-left:0px; 
    }
    /* -- footer menu --*/
    #footer-goto-forSP {
        display: table; 
    }
    #footer-goto-forPC {
        display: none;
    }

    /* -- footer --*/
    #footer-inner {
        max-width: 90%;
        width: auto;
        display: table;
    }
    #footer-menu {
        margin-top: 20px;
        margin-left: 0px;
        width: 100%; 
    }

}
@media screen and (max-width: 840px) {
    #wrapper {
        top: 136px;
    }
    #header-container {
        border-top: none;
        top: 0px;
    }
    #header-inner {
        display: block;
        border: none;
        padding: 0;
        margin: 0;
    }
    #header_title {
        background-color: #1d2087;
        height: 60px;
    }
    #header_title h1 {
        font-size: 24px;
        color: #fff;
    }
    #header-logo {
        width: 120px;
        margin: 10px auto;
    }
    #header-logo img {
        margin: 0;
        width: 120px;
        height: 56px;
    }
    #pc-nav {
        display: none;
    }
    #nav-toggle {
        display: block;
    }
    #contents {
        top: 120px;
    }
    /* #nav-toggle 切り替えアニメーション */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        transform: rotate(315deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        transform: rotate(-315deg);
    }

	/*-------------*/
	#footer-inner {
	    padding-left:20px;
	}

    #footer-info{
		display:block;
		width:95%;
		margin:0 auto;
	}
    #footer-logo{
	}
    #footer-text{
	}
    #footer-logo a {
        width: 100px;
        height: 53px;
    }
    #footer-logo img {
        width: 100px;
        height: 53px;
    }
    #footer-logo {
        margin-left: 0px;
    }
    #footer-text {
        margin-top: 20px;
        margin-left: 0px;
    }
}
@media screen and (max-width: 500px) {
	#footer-inner {
	    padding-left:10px;
	}
    #footer-info{
		width:98%;
		
	}
}