@charset "utf-8";

/* -----------------------------------------------------------
CSS Information

 File name:      header.css
 Author:         おかやま山陽高校
----------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&family=Zen+Kaku+Gothic+New:wght@400;500;700;900&display=swap');


/*----------------------------------------------------
	header
----------------------------------------------------*/
header {
	height: 70px;
	padding-top: 16px;
	padding-bottom: 10px;
	background: #FFF;
	box-shadow: 0px 5px 10px 0px rgba(17, 17, 26, 0.18);
}
header h1 {
	margin-top: 3px;
	margin-bottom: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
}
header h1 span {
	display: block;
	margin-top: 5px;
	font-family: 'Poppins', sans-serif;
	font-size: 11px;
	font-weight: 600;
}
header h1 img {
    width: 252px;
    height: auto;
	/*float: left;
	width: 54px;
	height: 44px;*/
	margin-top: -6px;
	margin-left: -8px;
}
@media (min-width: 992px) {
header {
	position: relative;
	height: 83px;
	padding-top: 20px;
}
header h1 {
	margin-top: 0;
	font-size: 26px;
}
header h1 span {
	margin-top: 6px;
	font-size: 15px;
}
header h1 img {
	width: auto;
	height: 53px;
	margin-left: -3px;
}
header h1 span img {
    width: 248px;
    margin-left: 3px;
}
#pcMenu {
	position: absolute;
	top: 10px;
	right: 120px;
	width: 700px;
}
#pcMenu li a {
	font-size: 15px;
	font-weight: 700;
}
#pcMenu li.examStudents {
	margin-right: 10px;
}
#pcMenu li.examStudents a {
	display: block;
	width: 126px;
	height: 55px;
	padding: 0 20px;
	background: #A71F29;
	border-radius: 100px;
	box-shadow: 0px 3px 6px 0 rgba(0,0,0, 0.16);
	font-size: 14px;
	color: #FFF;
	line-height: 55px;
}
#pcMenu li.examStudents a:hover {
	background: #CC555E;
}
#pcMenu li.parents, #pcMenu li.graduates {
	width: 102px;
}
#pcMenu li.parents {
	margin-bottom: 5px;
}
#pcMenu li.parents a {
	display: block;
	padding: 5px 10px;
	background: #860000;
	border-radius: 100px;
	font-size: 12px;
	color: #FFF;
}
#pcMenu li.parents a:hover {
	background: #B92E2E;
}
#pcMenu li.graduates a {
	display: block;
	padding: 5px 10px;
	background: #E07A7A;
	border-radius: 100px;
	font-size: 12px;
	color: #FFF;
}
#pcMenu li.graduates a:hover {
	background: #EE9999;
}
}

/* globalNav */
#globalNav {
    position: fixed;
	display: none;
	top: 0;
	width: 100%;
    height: 100vh;
	background: #F7F6F4;
	transition: all 0.3s;
}
#globalNav.panelActive {
	display: block;
	z-index: 200;
}
#globalNav.panelActive #globalNavList {
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
	padding-top: 64px;
	padding-bottom: 34px;
}
#globalNavList h4,
#globalNavList h5 {
	position: relative;
	margin-bottom: 0;
	padding-top: 28px;
	padding-bottom: 20px;
	padding-left: 25px;
	font-size: 15px;
	font-weight: 700;
	transition: 0.5s;
}
#globalNavList h4::before,
#globalNavList h4::after{
    position: absolute;
    content: '';
    width: 15px;
    height: 3px;
    background-color: #493C37;
	transition: 0.5s;
}
#globalNavList h4::before{
    top: 50%;
    right: 30px;
    transform: rotate(0deg);
}
#globalNavList h4::after{    
    top: 50%;
    right: 30px;
    transform: rotate(90deg);
}
#globalNavList h4.close::before{
	display: none;
}
#globalNavList h4.close::after{
	transform: rotate(0deg);
}
.close {
	opacity: 1 !important;
	color: #493C37 !important;
}
#globalNavList h4 a {
	pointer-events: none;
}
.globalNavContents {
	border-bottom: #D9D9D9 1px solid;
}
.globalNavContents ul {
	display: none;
	margin-bottom: 0;
}
.globalNavContents li a {
	display: block;
	padding: 15px;;
	background: #FFF;
	border-bottom: #D9D9D9 1px solid;
	font-size: 14px;
}
.globalNavContents li a span {
	display: block;
	font-size: 10px;
	font-weight: 400;
}
.globalNavContents li:last-child a {
	border-bottom: none;
}
.globalNavContents li.lineLast a {
	border-bottom: #D9D9D9 1px solid;
}
.globalNavContents li a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 30px;
    width: 0.5em;
    height: 0.5em;
	padding-bottom: 6px;
    transform: translateY(-50%) rotate(45deg);
    border-right: #493C37 1.5px solid;
    border-top: #493C37 1.5px solid;
}
#globalNav .secBtn {
	padding-top: 30px;
}
#globalNav .secBtn p:first-of-type {
	margin-bottom: 10px;
}
#globalNav .btnLink {
	margin-top: 0;
	margin-bottom: 10px;
}
#globalNav .btnLink a {
	display: block;
	padding-top: 15px;
	padding-bottom: 15px;
	border: #493C37 3px solid;
	border-radius: 100px;
	font-weight: 700;
	transition: 0.5s;
}
#globalNav .btnLink a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 35px;
    width: 0.5em;
    height: 0.5em;
	padding-bottom: 6px;
    transform: translateY(-50%) rotate(45deg);
    border-right: #493C37 1.5px solid;
    border-top: #493C37 1.5px solid;
}
#globalNav .btnLink a:hover {
	background: #493C37;
	border: #493C37 3px solid;
	color: #FFF;
}
#globalNav .btnLink a:hover::after {
    border-right: #FFF 1.5px solid;
    border-top: #FFF 1.5px solid;
}
#globalNav ul.headerSubLink {
	margin-top: 30px;
	padding-bottom: 15px;
	border-bottom: #493C37 1px solid;
}
#globalNav .headerSubLink li {
	margin-bottom: 0;
}
#globalNav .headerSnsLink li {
	margin-left: 1em;
	margin-right: 1em;
}
@media (min-width: 768px) {
#globalNav.panelActive #globalNavList {
	position: relative;
    width: auto;
	overflow: hidden;
	padding-top: 100px;
	padding-bottom: 70px;
}
#globalNavList h4, #globalNavList h5 {
	margin-top: 14px;
	margin-bottom: 16px;
	padding-top: 0;
	padding-bottom: 0;
	padding-left: 0;
}
#globalNavList h4::before,
#globalNavList h4::after{
    display: none;
}
#globalNavList h4 a, #globalNavList h5 a {
    position: relative;
	display: block;
	padding-bottom: 6px;
	border-bottom: #493C37 1px solid;
	font-size: 14px;
	font-weight: 700;
	pointer-events: auto;
	transition: 0.5s;
}
#globalNavList h4 a::after, #globalNavList h5 a::after {
    content: "";
    position: absolute;
    top: calc(50% - 2px);
    right: 4px;
    width: 0.5em;
    height: 0.5em;
	padding-bottom: 6px;
    transform: translateY(-50%) rotate(45deg);
    border-right: #493C37 1.5px solid;
    border-top: #493C37 1.5px solid;
}
#globalNavList h4 a:hover, #globalNavList h5 a:hover  {
	border-bottom: #81716B 1px solid;
	color: #81716B;
}
#globalNavList h4 a:hover::after, #globalNavList h5 a:hover::after {
    border-right: #81716B 1.5px solid;
    border-top: #81716B 1.5px solid;
}
#globalNavList .h4Overlap h4 {
	margin-top: 10px;
}
.globalNavContents {
	border-bottom: none;
}
.globalNavContents ul {
	display: block;
}
.globalNavContents li {
	padding-left: 0 !important;
}
.globalNavContents li a {
	padding: 0 0 10px;
	background: transparent;
	border-bottom: none;
}
.globalNavContents li a:hover {
	color: #81716B;
	transition: 0.3s;
}
.globalNavContents li.bold a {
	font-weight: 700;
}
.globalNavContents li:last-child a {
	border-bottom: none;
}
.globalNavContents li.lineLast a {
	border-bottom: none;
}
.globalNavContents li a::after {
    display: none;
}
#globalNav .secBtn {
    padding-top: 0;
    padding-bottom: 30px;
}
}
@media (min-width: 992px) {
#globalNav.panelActive #globalNavList {
	padding-top: 60px;
	padding-bottom: 90px;
}
#globalNavList h4, #globalNavList h5 {
	margin-top: 64px;
}
#globalNavList h4.mtLgShort, #globalNavList h5.mtLgShort {
	margin-top: 34px;
}
#globalNavList h4 a, #globalNavList h5 a {
	font-size: 16px;
	font-weight: 700;
}
#globalNavList .h4Overlap h4 {
	margin-top: 24px;
}
#globalNav ul.headerSubLink {
    padding-bottom: 5px;
	width: 350px;
    margin-left: auto;
    margin-right: 0;
}
#globalNav .headerSubLink li {
	margin-left: 0;
	margin-right: 0;
}
#globalNav .headerSubLink li a {
	font-size: 14px;
	font-weight: 700;
}
#globalNav .secBtn {
	position: relative;
	top: -40px;
}
#globalNav .headerSnsLink {
	padding-right: 128px;
}
#globalNav .headerSnsLink li {
	margin-left: 1em;
	margin-right: 0;
}
#globalNav .unesco {
	position: absolute;
	top: 74px;
	right: -15px;
	z-index: 30;
}
#globalNav .secBtn .test {
	position: absolute;
	top: 140px;
	right: 0;
	width: 450px;
}
#globalNav .address {
	font-size: 14px;
	padding-right: 148px;
	line-height: 1.5;
}
}



/* openBtn */
.openBtn {
	position: fixed;
    z-index: 9999;
	top: 18px;
	right: 13px;
    width: 35px;
    height: 35px;
	cursor: pointer;
	color: #493C37;
}
.openBtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 0;
    height: 4px;
    border-radius: 2px;
	background-color: #493C37;
  	width: 100%;
  }
.openBtn span:nth-of-type(1) {
	top: 0;	
}
.openBtn span:nth-of-type(2) {
	top: 8px;
}
.openBtn span:nth-of-type(3) {
	top: 16px;
}
.openBtn span:nth-of-type(3)::after {
	content:"MENU";
	position: absolute;
	top: 7px;
	left: 0;
	width: 100%;
	color: #493C37;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 10px;
	text-align: center;
}
.openBtn.active span:nth-of-type(1) {
    top: 4px;
    right: 12px;
    transform: translateY(6px) rotate(-45deg);
    width: 100%;
}
.openBtn.active span:nth-of-type(2) {
	opacity: 0;
}
.openBtn.active span:nth-of-type(3) {
    top: 16px;
    right: 12px;
    transform: translateY(-6px) rotate(45deg);
    width: 100%;
}
.openBtn.active span:nth-of-type(3)::after {
	content:"CLOSE";
    transform: translateY(0) rotate(-45deg);
	top: 12px;
	left: 16px;
}
@media (min-width: 992px) {
.openBtn {
	top: 30px;
	right: 40px;
    width: 40px;
    height: 44px;
}
.openBtn span {
    left: 0;
    height: 3px;
  }
.openBtn span:nth-of-type(1) {
	top: 0;	
}
.openBtn span:nth-of-type(2) {
	top: 10px;
}
.openBtn span:nth-of-type(3) {
	top: 20px;
}
.openBtn span:nth-of-type(3)::after {
	display: none;
}
.openBtn.active span:nth-of-type(3)::after {
	display: none;
}
}




