@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p&family=Montserrat&family=Kosugi+Maru&family=Noto+Serif+JP&display=swap');

html, body {
    height: 100%;
    margin: 0 auto;
    color: #e7e7eb;
    font-family: 'Montserrat', 'M PLUS 1p', 'Kosugi Maru', sans-serif;
    background-color: #0d0015;

}

header {
height: 100vh;
width: 100%;
position: relative;
overflow: hidden;
}

header .toplogo {
    position: absolute;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header .logo {
    width: 18%;
    filter:drop-shadow(0 0 5px #0d0015);
}





header video {
    min-width: 100%;
    min-height: 100vh;
    z-index: -10;
}



header span {
    font-size: 5em;
    font-family: 'Noto Serif JP', serif;
}

main {

    margin: 0 auto;
    line-height: 2.5;
}
h2 {
    margin: 3em 0;
    letter-spacing: 0.6em;
    text-indent: 0.6em;
}

header .scroll {
    width: 100%;
    position: absolute;
    padding-top: 70px;
    bottom: 80px;
}

footer {
    height: 50px;

    padding-right: 3em;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.test {
    min-height: 100vh;
    margin: 0 auto;
    border-bottom: solid 1px #c53d43;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.campany {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.campany div {
    margin: 0 30px;
}

.campany ul {
    position: relative;
    list-style: none;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    padding: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.campany ul li {
    position: absolute;
    width: 80px;
    height: 80px;
    margin: 0;
    padding: 20px 0 0;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    box-sizing: border-box;
    transition: all  0.3s ease;
    background-color: rgba(38, 23, 175, 0.233);
}
.campany li:hover {
    background-color: #884898;
}

.campany ul li .fa {
    font-size: 50px;
}
.campany ul li p {
    margin: 0 0;
    font: 400 40px/1 'Kosugi Maru', sans-serif;
    color: #ffffff18;
    filter:drop-shadow(0 0 5px #0d0015);
    transition: all 0.3s ease 0s;
}
.campany ul li:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
}
.campany ul li:nth-child(2) {
    top: 55px;
    left: 10px;
}
.campany ul li:nth-child(3) {
    top: 55px;
    right: 10px;
}
.campany ul li:nth-child(4) {
    bottom: 55px;
    left: 10px;
}
.campany ul li:nth-child(5) {
    bottom: 55px;
    right: 10px;
}
.campany ul li:nth-child(6) {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
}
.campany ul li p:hover {
    color: #ffffff;
}


.jobs ul {
    display: flex;
    flex-wrap:wrap;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.jobs li {
    position: relative;
    display: inline-block;
    margin: 50px;
    height: 150px;
    width: 150px;
    border-radius: 5%;
    transform: rotate(-45deg);
    background-color: rgba(38, 23, 175, 0.233);
    transition: all  0.3s ease;
}

.jobs li:hover {
    background-color: #884898;
}

.jobs li span {
    position: absolute;
    display: inline-block;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 150px;
    text-align: center;
}



a span {
position: absolute;
top: 0;
left: 50%;
width: 24px;
height: 24px;
margin-left: -12px;
border-left: 1px solid #fff;
border-bottom: 1px solid #fff;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
-webkit-animation: sdb 1.5s infinite;
animation: sdb 1.5s infinite;
box-sizing: border-box;
}

@-webkit-keyframes sdb {
    0% {
        -webkit-transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        -webkit-transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}
@keyframes sdb {
    0% {
        transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}

.contact form {
    margin: 0 auto 2em;
    display: flex;
    flex-direction: column;
    width: 80%;
    max-width: 600px;
    text-align: left;
}

.contact label {
    margin-top: 2em;
}

.contact select, 
.contact input[type="text"],
.contact input[type="email"],
.contact input[type="tel"],
.contact textarea {
    color: white;
    background-color: #aaaaaa00;
    border: 1px solid rgb(38, 23, 175);
    border-radius: 4px;
    padding: 1em;
}

.contact option {
    color: #0d0015;
}

.contact textarea {
    height: auto;
}

.contact input:focus,
.contact textarea:focus {
	border: 1px solid #da3c41;
	outline: none;
	box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.5);
}

.contact input[type="submit"] {
    margin-top: 2em;
}