html {
    margin: 0;
    padding: 0;
    width: 100%;
}

body{
    margin: 0;
    width: 100%;
    color: #e9e9e9;
    background-color: #0e0e0e;
}

main {
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

section {
    width: 80vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

.interval {
    height: 60vh;
}

.fadeiner {
    animation: fadeIn 0.5s 0.3s linear forwards;
}

h1 {
    position: fixed;
    font-size: 8vmin;
    margin: 0;
    opacity: 0.5;
    z-index: 100;
    top: 30vh;
    left: 0;
    writing-mode: vertical-rl;
    line-height: 0.6;
}

.mission-contents {
    position: relative;
    padding: 5vmin;
}

.mission-contents p {
    opacity: 0;
    animation: fadeIn 0.5s 2s linear forwards;
}

.mission-contents::after{
    content: "";
    position: absolute;
    top: calc(55% - 5vw);
    left: calc(55% - 5vw);
    width: 5vw;
    height: 5vw;
    border-top: #e9e9e9 1px solid;
    border-left: #e9e9e9 1px solid;
    animation: toUpLeft 1s 0.7s linear forwards;
    opacity: 0;
}

.mission-contents::before{
    content: "";
    position: absolute;
    bottom: calc(55% - 5vw);
    right: calc(55% - 5vw);
    width: 5vw;
    height: 5vw;
    border-bottom: #e9e9e9 1px solid;
    border-right: #e9e9e9 1px solid;
    animation: toBottomRight 1s 0.7s linear forwards;
    opacity: 0;
}

@keyframes toUpLeft {
    0% {
        opacity: 0;
    }
    50% {
        top: calc(55% - 5vw);
        left: calc(55% - 5vw);
        opacity: 1;
    }
    100% {
        top: 0;
        left: 0;
        opacity: 1;
    }
}

@keyframes toBottomRight {
    0% {
        opacity: 0;
    }
    50% {
        bottom: calc(55% - 5vw);
        right: calc(55% - 5vw);
        opacity: 1;
    }
    100% {
        opacity: 1;
        bottom: 0;
        right: 0;
    }
}

.mission-contents p:nth-child(1) {
    font-size: 5vmin;
    font-weight: lighter;
    margin: 0;
}

.mission-contents p:nth-child(2) {
    font-size: 3.5vmin;
    font-weight: bolder;
    margin: 0;
    margin-top: 5vmin;
    margin-bottom: 8vmin;
    text-align: center;
}

.mission-contents p:nth-child(3) {
    font-size: 2vmin;
    font-weight: lighter;
    margin-left: 1vw;
    text-align: center;
    line-height: 2;
}

swiper-container {
    margin: 0;
    width: 100%;
    height: 100vh;
  }

swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #ffffff;
    background-color: #0e0e0e;
}

.content{
    position: relative;
    padding: 5vmin;
    padding-top: 8vmin;
    padding-bottom: 8vmin;
    width: 38%;
    margin-right: 5vmin;
}

.content::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5vw;
    height: 5vw;
    border-top: #e9e9e9 1px solid;
    border-left: #e9e9e9 1px solid;
}

.content::before{
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 5vw;
    height: 5vw;
    border-bottom: #e9e9e9 1px solid;
    border-right: #e9e9e9 1px solid;
}

.content p:nth-child(1) {
    font-size: 3.1vw;
    text-align: center;
    font-weight: lighter;
    margin: 0;
}

.content p:nth-child(2) {
    font-size: 1.3vw;
    font-weight: lighter;
    margin: 0;
    margin-top: 5vmin;
    margin-bottom: 5vmin;
    text-align: center;
}

.pictures {
    width: 38%;
    height: 60%;
    position: relative;
}

.pictures:hover > img:nth-child(1){
    transform: translate(-5%, -5%);
}

.pictures:hover > img:nth-child(2){
    transform: translate(2%, -8%);
}

.pictures:hover > img:nth-child(3){
    transform: translate(2%, 8%);
}

.pictures img {
    width: 33vmin;
    transition: 0.5s;
}

.section:nth-child(2) .pictures img {
    width: 25vmin;
}

.pictures img:nth-child(1) {
    position: absolute;
    top: 20%;
    left: 0;
}

.pictures img:nth-child(2) {
    position: absolute;
    top: 60%;
    right: 0;
}

.pictures img:nth-child(3) {
    position: absolute;
    top: 0;
    right: 5%;
}

.clients {
    margin: 0;
    width: 70vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: none;
}

.clients p {
    font-size: 5vmin;
    font-weight: lighter;
    border-bottom: #e9e9e9 1px solid;
    width: 70vw;
    text-align: center;
    margin: 0;
}

.client-list {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    width: 70vw;
    margin-top: 10vmin;
}

.client-list img {
    width: 15vw;
    height: auto;
    margin: 1vw;
}


.client p {
    font-size: 3vmin;
    font-weight: lighter;
    text-align: center;
    margin: 0;
    margin-top: 1rem;
}

.detail {
    width: 80vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5vh;
    margin-bottom: 5vh;
}

.info-wrp {
    width: 40vw;
    padding: 5vmin;
    margin-right: 2vw;
    font-size: 1vw;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.info-wrp::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5vw;
    height: 5vw;
    border-top: #e9e9e9 1px solid;
    border-left: #e9e9e9 1px solid;
}

.info-wrp::before{
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 5vw;
    height: 5vw;
    border-bottom: #e9e9e9 1px solid;
    border-right: #e9e9e9 1px solid;
}

h2 {
    font-size: 3vw;
    margin: 0;
    margin-bottom: 2vmin;
}

.info ul {
    padding: 0;
    margin: 0;
}

.info ul li {
    list-style: none;
    display: flex;
    justify-content: left;
    align-items: flex-start;
}

.info ul li p:nth-child(1){
    white-space: nowrap;
    width: 13vw;
    font-weight: bold;
    margin-right: 1rem;
}

.iframe-wrp {
    padding: 0;
    margin: 0;
}

iframe {
    width: 40vw;
    height: 40vw;
}

@media screen and (max-width:500px) { /*phone*/

}

@media screen and (max-width:1250px) {
    .mission {
        width: 70vw;
    }
    .mission-contents {
        width: 100%;
    }
    .mission-contents p:nth-child(1) {
        font-size: 8vw;
    }
    .mission-contents p:nth-child(2) {
        font-size: 6vw;
    }
    .mission-contents p:nth-child(3) {
        font-size: 3vw;
    }
    .detail {
        flex-direction: column;
    }
    .info-wrp {
        width: 60vw;
        margin-bottom: 4vmin;
        font-size: 2vmin;
    }
    section{
        flex-direction: column;
        width: 70%;
    }
    swiper-slide {
        flex-direction: column;
    }
    .interval {
        display: none;
    }
    h2 {
        font-size: 5vw;
    }
    .content {
        margin: 0;
        margin-bottom: 10vmin;
    }
    .pictures {
        height: 40%;
    }
    .pictures img {
        width: 37vmin;
    }
    .content, .pictures {
        width: 70%;
    }
    .content p:nth-child(1) {
        font-size: 7vmin;
    }
    .content p:nth-child(2) {
        font-size: 3vmin;
    }
    .info ul li p:nth-child(1){
        width: 26vmin;
    }
    .info ul li:nth-child(4) p:nth-child(2) {
        color: #e9e9e9;
        text-decoration: none;
    }
    iframe {
        width: 96vw;
        height: 96vw;
        margin-bottom: 4vmin
    }
    #footer {
        display: none;
    }
}