/*
Theme Name: AEU theme
Theme URI:  https://www.wpserveur.net
Author:     WPServeur
Author URI: https://www.wpserveur.net
Template:   generatepress
Version:    1.0
License:    GNU General Public License v2 or later
*/


/* header */
.popup-ads {
    position: fixed;
    width: 150px;
    bottom: 30px;
    right: 30px;
    opacity: 1;
    display: none;
    z-index: 10000 !important;
}
.popup-layout {
    position: relative;
}
.delete-button {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 100px;
    background: #ddd;
    top: -10px;
    right: -10px;
}
.delete-button:before, .delete-button:after{
    content: "";
    position: relative;
    width: 15px;
    border: 1px solid #fff;
    display: block;
}
.delete-button:before {
    top: 9px;
    right: -3px;
    transform: rotate(45deg);
}
.delete-button:after {
    top: 7px;
    right: -3px;
    transform: rotate(135deg);
}
.delete{
	display: none !important;
	opacity: 0 !important;
}


.pc{
	display: block;
}
.sp{
	display: none;
}
.header {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 999;
    height: 100px;
}
.header-logo {
	flex: 1;
    display: flex;
    align-items: center;
    background: #100e78b5;
}
.header-logo img {
    width: 80%;
    max-width: 75px;
    margin: 25px;
}
.header-logo h1 {
    margin: 0;
}
.header-logo a,.global-nav a,.header-information a {
    color: #fff;
    text-decoration: none;
}
.header-menu{
    flex: 1.5;
    background: #929292c9;
}
.header-nav {
    justify-content: flex-end;
	height: 100%;
}
.header-nav, .header-information {
    display: flex;
    align-items: center;
}
ul.global-nav {
	height: 100%;
    display: flex;
	align-items: center;
    list-style: none;
	margin: 0;
}
.global-nav li {
    margin: 0 15px;
}
li#menu-item-121, li#menu-item-122 {
    height: 100%;
    display: flex;
    align-items: center;
    background: #2F2E77;
    margin: 0;
    padding: 15px;
}
li#menu-item-121{
	border-right: 1px solid #7C769E;
}
.header-information {
    height: 100%;
	margin-left: 30px;
}
.access-nav, .contact-nav {
    padding: 25px;
    height: 100%;
    display: flex;
    align-items: center;
    background: #100e78b5;
}
.header-information p{
	margin: 0;
}


/* body here */
body {
    background-color: #fff;
}

/* video */
.movie-box {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
	top: -125px;
}
.movie-box:before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background: #100e78b5;
    top: 125px;
}
.media-block video {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    background: url(/wp-content/uploads/2024/03/top-head-image.jpg) no-repeat;
    background-size: cover;
    z-index: -1;
}
.catchcopy-block {
    position: absolute;
    bottom: 5%;
    left: 10%;
    color: #fff;
	z-index: 99;
}
.copy h2 {
    font-size: 4.5em;
    letter-spacing: .05em;
    line-height: 1.65;
    font-family: serif;
    font-weight: 700;
}

/* font discription */
.header a {
    font-family: serif;
}
.container p, .container h2, .container h3, .container h4, .container a {
    font-family: serif;
}
.container p{
	margin: 0;
}
.catch-copy {
    text-align: center;
}
.catch-copy h2{
    font-family: 'Nico moji' !important;
	color : #151386;
}
.catch-copy h3 {
    position: relative;
    width: fit-content;
    margin: 0 auto 0 10%;
}
.catch-copy h3:before{
	content: "";
	position: absolute;
	width: 10px;
	height: 100%;
	background-color: #251D7D;
	left: -25px;
}


/* news */
.news-list {
    width: 80%;
    max-width: 850px;
    margin: 7vh auto 15vh;
}
.news-post {
    padding: 30px;
    margin: 15px 0;
    border: 1px solid #DEDEDE;
}
.news-post > div {
    display: flex;
}
.news-post p, .news-post a {
    margin: 0;
}
p.news-date {
    letter-spacing: .1em;
    margin-right: 1em;
}
.news-date{
	flex: 1;
}
.news-title{
	flex: 4;
}
.news-title a {
    color: #000;
    text-decoration: none;
	transition: all .5s;
}
.news-title a:hover{
	color: #151386;
	transition: all .5s;
}

/* fokus */
.about-block {
    margin: 7vh auto 15vh;
    position: relative;
    height: 550px;
    overflow: hidden;
}
.about-sideline {
    position: relative;
    height: 100%;
}
.about-sideline:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100px;
    background: #9b9acca3;
}
.about-movie {
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    height: 100%;
}
.about-movie video {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    background: url(/wp-content/uploads/2024/03/about-movie-image.jpg) no-repeat;
    background-size: cover;
    z-index: -1;
}

/* lab */
.lab-block {
    position: relative;
    height: 550px;
    overflow: hidden;
	margin: 7vh auto 15vh;
}
.lab-frontline {
    position: relative;
    height: 100%;
}
.lab-frontline:before {
    content: "";
    position: absolute;
    width: 250px;
    height: 150%;
    background: #251D7D;
    transform: rotate(8deg);
    top: -50px;
    left: -55px;
}
.lab-movie {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}
.lab-movie video {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    background: url(/wp-content/uploads/2024/03/lab-movie-image.jpg) no-repeat;
    background-size: cover;
    z-index: -1;
}
.lab-catch {
    position: absolute;
    top: 45%;
    left: 5%;
    color: #fff;
}
.lab-catch h3 {
    font-size: 2.65em;
    line-height: 1.65;
    margin: 0;
}

/* achivement */
.achive-slide {
    margin: 7vh auto 0;
    padding-bottom: 15vh;
    background-color: #a6d7e73b;
    height: 650px;
}
.achive-post {
    margin: 50px 25px 0;
    padding: 20px;
    background: #fff;
    height: 100%;
    max-height: 600px;
}
.achive-post-desc {
	margin-top: 30px;
    height: 180px;
}
.achive-post-desc a{
	text-decoration: none;
	color: #000;
	transition: all .5s;
}
.achive-post:hover a {
    color: #151386;
	transition: all .5s;
}

.achive-thumbnail {
    height: auto;
    width: 100%;
}
.slick-slide img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.achive-post-desc h3 {
    font-size: 1.35em;
}
.achive-post-desc p {
    font-size: .85em;
    letter-spacing: .1em;
    line-height: 1.8;
}
.slick-list {
    overflow: hidden;
}



/* button */
.button {
    position: absolute;
    bottom: 5%;
    left: 35%;
    background: #251D7D;
    padding: 35px 75px;
	transition: all .5s;
}
.button:before {
    content: "";
    position: absolute;
    border: 1px solid #fff;
    width: 50px;
    top: 50%;
    left: 0;
    transition: all .5s;
}
.button:hover::before{
    border: 1px solid #251D7D;
    transition: all .5s;
}
.button a {
	text-decoration: none;
	color: #fff;
	font-size: 1.25em;
	transition: all .5s;
}
.button:hover{
	background: #fff;
	transition: all .5s;
}
.button:hover > p > a {
	color: #251D7D;
	transition: all .5s;
}

.button.light-blue {
    background-color: #0F92DC;
    padding: 15px 75px;
    left: 5%;
    bottom: 10%;
}
.button.light-blue:hover{
	background: #fff;
	transition: all .5s;
}

/* breadcrumb */
.breadcrumb {
    display: flex;
    color: #ddd;
	margin-left: 5%;
}
.breadcrumb a {
    text-decoration: none;
    color: #ddd;
}
.breadcrumb span {
    margin: 0 10px;
}
.time-date {
    text-align: end;
    margin-right: 5%;
    color: #ddd;
}

/* footer */
footer.footer {
    height: 550px;
    background: url(/wp-content/uploads/2024/03/footer-back.jpg);
    background-size: cover;
	position: relative;
}
.footer-block {
    width: fit-content;
    position: relative;
    top: 15%;
    left: 10%;
}
.school-info h2, .school-info p, .for-user p {
    color: #9B9B9B;
    text-decoration: none;
	transition: all .5s;
}
.for-user{
	display: flex;
}
.for-user p{
	margin-right: 15px;
}
.school-desc {
    display: flex;
	margin-bottom: 7vh;
}
.school-desc p,.for-user a {
    margin-right: 15px;
}

/* フェードインアニメーション */
.fadein-top{
 opacity: 0;
 transform: translateY(-20px);
 transition: all 1.3s 0s ease-out;
}
.fadein-top.anime2{
 transition: all 1.3s .4s ease-out;
}
.fadein-top.img-box{
 transform: translateY(60px);
 transition: all 1.3s .7s ease-out;
}

.fadein-right{
 opacity: 0;
 transform: translateX(40px);
 transition: all 1.5s 0s ease-out;
}
.fadein-right.anime2{
 transition: all 1.5s .4s ease-out;
}
.fadein-right.anime3{
 transition: all 1.5s .7s ease-out;
}



/* SPここから */
@media screen and (max-width: 1450px){
	.pc{
		display: none;
	}
	.sp{
		display: block;
	}
	.sp.header-menu {
    	display: block;
		position: relative;
	}
	.hamburger-menu {
	  width: 50px;
	  height: 50%;
	  position: relative;
	  border: none;
	  background: transparent;
	  appearance: none;
	  padding: 0;
	  cursor: pointer;
	  z-index: 9999;
	}
	.hamburger-menu__bar {
	  display: inline-block;
	  width: 44%;
	  height: 2px;
	  background: #fff;
	  position: absolute;
	  left: 50%;
	  transform: translateX(-50%);
	  transition: .5s;
	}
	.hamburger-menu__bar:first-child {
	  top: 12px;
	}
	.hamburger-menu__bar:nth-child(2) {
	  top: 21px;
	}
	.hamburger-menu__bar:last-child {
	  top: 30px;
	}
	.hamburger-menu--open .hamburger-menu__bar {
	  top: 50%;
	}
	.hamburger-menu--open .hamburger-menu__bar:first-child {
	  transform: translateX(-50%) translateY(-50%) rotate(45deg);
	}
	.hamburger-menu--open .hamburger-menu__bar:last-child {
	  transform: translateX(-50%) translateY(-50%) rotate(-45deg);
	}
	.hamburger-menu--open .hamburger-menu__bar:nth-child(2) {
	  display: none;
	}
	.global-nav-wrapper {
		display: none;
		text-align: center;
		padding-top: 130px;
		background: #242424f2;
		position: fixed;
		top: 0;
		right: 0;
		width: 100%;
		z-index: 1000;
		list-style: none;
		margin: 0;
	}
	.global-nav-wrapper ul {
		margin: 0;
		list-style: none;
	}
	.global-nav-wrapper li {
		padding: 15px 0;
		border-bottom: 1px solid #dddddd73;
		transition: all .5s;
	}
	.global-nav-wrapper li:first-child {
		border-top: 1px solid #dddddd73;
	}
	.global-nav-wrapper li:hover {
		background: #151386;
	}
	.global-nav-wrapper a {
		color: #fff;
	}
	.header-logo {
		flex: 4;
	}
}
@media screen and (max-width: 1000px){
	.news-post > div {
		flex-direction: column;
	}
	p.news-date {
		font-size: .75em;
		margin-bottom: 0.5em;
	}
	.media-block video, .about-movie video, .lab-movie video {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}
@media screen and (max-width: 800px){
	.header-logo h1 {
		font-size: 1.8em;
	}
	.header-menu{
		flex: none;
	}
	.copy h2 {
		font-size: 2.5em;
	}
	h2{
		font-size: 1.45em;
	}
	h3{
		font-size: 1.15em;
	}
	p{
		font-size: .9em !important;
		line-height: 1.75;
	}
	.about-movie {
		left: 0;
		width: 100%;
	}
	.lab-catch h3 {
		font-size: 2em;
	}
}
@media screen and (max-width: 750px){
	.achive-thumbnail{
		height: auto;
	}
	.about .button {
		left: 5%;
		padding: 15px 75px;
	}
	.footer-block {
		width: 90%;
		margin: auto;
		left: 0;
	}
	.school-desc, .for-user {
		flex-direction: column;
	}
}
@media screen and (max-width: 500px){
	.header-logo h1 {
		font-size: 1.35em;
	}
	.header-logo img {
		max-width: 35px;
		margin: 10px 15px;
	}
	.movie-box:before {
		left: -60px;
	}
	.catchcopy-block {
		left: 5%;
	}
	.media-block video, .about-movie video, .lab-movie video{
		object-position: 65%;
	}
	.lab-catch{
		top: 45%;
	}
	.lab-catch h3 {
		font-size: 1.5em;
	}
	.lab-frontline:before{
		left: -35%;
	}
}
@media screen and (max-width: 450px){
	.catchcopy-block {
		top: 50%;
		transform: translate(-50%, -50%);
		left: 50%;
	}
	.movie-box:after {
		content: "";
		position: absolute;
		width: 100%;
		height: calc(100% + 125px);
		background: #473c3c80;
		top: 0;
		right: -40px;
		z-index: 90;
	}
	.copy h2 {
		writing-mode: tb-rl;
	    font-weight: normal;
	}
	h2{
		font-size: 1.25em;
	}
	h3{
		font-size: 1em;
	}
	h4{
		font-size: .9em !important;
	}
	p{
		font-size: .85em !important;
		line-height: 1.75;
	}
	
}




/*
 * フェードアニメーション
 * */

/* fadein-top */
.fadein-top {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 1.3s 0s ease-out;
}
/* fadein-bottom */
.fadein-bottom {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s 0s ease-out;
}
/* fadein-right */
.fadein-right {
    opacity: 0;
    transform: translateX(20px);
    transition: all 1s 0s ease-out;
}
/* fadein-left */
.fadein-left {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 1s 0s ease-out;
}
/* fadein-center */
.fadein-center {
    opacity: 0;
    transition: all 1s 0s ease-out;
}

.late_1{
    transition: all 1s .5s ease-out;
}
.late1{
    transition: all 1s 1s ease-out;
}
.late1_5{
    transition: all 1s 1.5s ease-out;
}
.late2{
    transition: all 1s 2s ease-out;
}
.late2_5{
    transition: all 1s 2.5s ease-out;
}
.late3{
    transition: all 1s 3s ease-out;
}
.late3_5{
    transition: all 1s 3.5s ease-out;
}
.late4{
    transition: all 1s 4s ease-out;
}
.late4_5{
    transition: all 1s 4.5s ease-out;
}
.late5{
    transition: all 1s 5s ease-out;
}
.late5_5{
    transition: all 1s 5.5s ease-out;
}









