@charset "UTF-8";
* {
margin: 0px;
padding: 0px;
}
html {
font-size: 100%;
}
body{
margin: 0;
height: 100%;
font-family: "Sawarabi Gothic";
color: rgb(45, 45, 45);
}
.c, body.top h2 {text-align: center;}
body.top h2 {
padding: 1ex 2em; width: 20em;
border: groove #4a7 3px; margin: 5em auto; border-radius: 1em;
}
body.top a {text-decoration: none; color: #284}
body.top a:hover h2 {background: #9ea;}
body:after{
margin: 0;
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
content: "";
background: #afeeee;
/* background: -moz-linear-gradient(top, #afeeee 0%,#FFF 100%); */
/* background: -webkit-linear-gradient(top, #afeeee 0%,#FFF 100%); */
background: linear-gradient(to bottom, #afeeee 0%, #ffffff 100%);
z-index: -1;
}
body.vmenuspace {margin-top: 2em; border-top: 3px solid;}
div.scrollbox {
height: 6em; overflow: auto; background: #eff;
}
img {
max-width: 100%;
}
/*--------------------------------------common---------------------------------*/
.section-title {
font-size: 1.6rem;
text-align: center;
position: relative;
margin-left:20px;
width: 100%;
margin-top: 50px;
margin-bottom: 50px;
}
.section-title::before{
position: absolute;
bottom: -20px;
left: calc(50% - 30px);
width: 65px;
height: 5px;
content: '';
border-radius: 3px;
background: rgb(2, 219, 248);
}
.wrapper {
max-width: 1200px;
margin: 0 auto;
}
.header{
width: 100vw;
height: auto;
z-index: 99;
position: fixed;
transition: all .5s;
top:0;
}
.header.change-color {
background-color: #ffffff;
}
.header-nav {
height: auto;
max-width: 1200px;
margin: 0 auto;
padding: 0 5%;
}
.header-nav nav ul {
display: flex;
justify-content: space-between;
align-items: center;
}
.header-nav nav ul li {
margin-right: 50px;
list-style: none;
font-size: 1.1em;
}
.header-nav nav ul li a{
text-decoration: none;
color: black;
}
.top-logo{
width: 85px;
height: 85px;
object-fit: cover;
}
#mainvisual {
height: 720px;
position: relative;
margin-bottom: 120px;
}
.mainvisual-inner{
margin-top: 110px;
}
#mainvisual .text {
position: absolute;
top: 280px;
left: 7%;
z-index: 10;
overflow: hidden;
}
#mainvisual .text .title {
font-size: 2.875rem;
font-weight: bold;
margin-bottom: 30px;
text-shadow: 0 4px 6px #fff;
background-color: white;
}
#mainvisual .fade li {
width: 75%;
position: absolute;
top: 0;
right: 0;
opacity: 0;
animation: fade 15s infinite;
list-style: none;
}
#mainvisual .fade li img{
border-radius:30% 0 0 0;
}
#mainvisual .fade li:nth-child(1) {
animation-delay: 0s;
}
#mainvisual .fade li:nth-child(2) {
animation-delay: 5s;
}
#mainvisual .fade li:nth-child(3) {
animation-delay: 10s;
}
#mainvisual .fade li img {
width: 100%;
height: 720px;
object-fit: cover;
}
#mainvisual .fade li::after {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
box-shadow: inset 0px 0px 20px 20px #fff;
border-radius: 30% 0 0 0;
}
@keyframes fade {
0% {
opacity: 0;
}
15% {
opacity: 1;
}
30% {
opacity: 1;
}
45% {
opacity: 0;
}
100% {
opacity: 0;
}
}
#home{
height: 2000px;
}
#home h3{
font-size: 1.3rem;
}
#home p{
font-size: 1.2rem;
line-height: 2.0;
}
.home-items{
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content:space-evenly;
align-items: center;
margin-top: 30px;
}
.what_study{
width:730px;
}
.what_study h3{
background: linear-gradient(transparent 50%, yellow 50%);
width: 346px;
}
main {margin: 1ex;} /* PLEASE Remove this if this is too much effective */
.aiming_top{
width:730px;
margin-top: 50px;
}
.aiming_top > h3{
background: linear-gradient(transparent 50%, yellow 50%);
width: 680px;
}
em.see {
font-style: normal; font-weight: bold;
background: linear-gradient(to top, yellow, transparent);
}
@media screen and (max-width: 746px){
#home h3{
font-size: 1.2rem;
}
#home p{
font-size: 1.1rem;
line-height: 1.85;
}
.aiming_top{
max-width: 500px;
}
}