html {
    margin: 0;
    padding: 0;
    width: 100%;
}

body{
    margin: 0;
    width: 100%;
    color: #000000;
    background-color: #e9e9e9;
}

main {
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    scroll-snap-type:y mandatory;
}

section {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    scroll-snap-align: end;
}

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 {
    position: relative;
    overflow: hidden;
}

.scroll-infinity {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@keyframes infinity-scroll-left {
    from {
      transform: translateX(0);
    }
      to {
      transform: translateX(-100%);
    }

}
.scroll-infinity__wrap {
    display: flex;
    overflow: hidden;
    height: 33.3333333vh;
}

.scroll-infinity__list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.scroll-infinity__list--left {
    animation: infinity-scroll-left 15s infinite linear both;
}

.scroll-infinity__wrap:nth-child(2) .scroll-infinity__list--left {
    animation: infinity-scroll-left 15s infinite linear both reverse;
}

.scroll-infinity__item {
    width: calc(33.333333vh * 16 / 9);
    height: 33.333333vh;
}

.scroll-infinity__item>img {
    width: 100%;
    height: 100%;
}

.mission-filter {
    position: absolute;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    opacity: 0.7;
}

.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: #000000 1px solid;
    border-left: #000000 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: #000000 1px solid;
    border-right: #000000 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: 4.5vw;
    font-weight: lighter;
    margin: 0;
}

.mission-contents p:nth-child(2) {
    font-size: 4vw;
    font-weight: bolder;
    margin-top: 5vmin;
    margin-bottom: 8vmin;
    margin-right: 2vw;
    margin-left: 2vw;
    text-align: center;
}

.mission-contents p:nth-child(3) {
    font-size: 1.4vw;
    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: #000000
}

swiper-slide:nth-child(1) {
    background-color: #e9e9e9;
}

swiper-slide:nth-child(2) {
    background-color: #e9e9e9;
}

swiper-slide:nth-child(3) {
    background-color: #e9e9e9;
}

swiper-slide:nth-child(4) {
    background-color: #e9e9e9;
}

.fadeiner {
    animation: fadeIn 0.5s 0.3s linear forwards;
}

.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: 20vw;
    transition: 0.5s;
}

.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%;
}

.content {
    position: relative;
    width: 38%;
    height: auto;
    padding: 6vmin;
    padding-top: 8vmin;
    padding-bottom: 8vmin;
    margin-right: 5vw;
}

.content::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5vw;
    height: 5vw;
    border-top: #000000 1px solid;
    border-left: #000000 1px solid;
}

.content::before{
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 5vw;
    height: 5vw;
    border-bottom: #000000 1px solid;
    border-right: #000000 1px solid;
}

.content p:nth-child(1) {
    font-size: 3.8vw;
    text-align: left;
    font-weight: bold;
    margin: 0;
}

.content p:nth-child(2) {
    font-size: 1.1vw;
    font-weight: lighter;
    margin: 0;
    width: 95%;
    margin-top: 5vmin;
    margin-bottom: 5vmin;
    text-align: left;
}

.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: #000000 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: #000000 1px solid;
    border-left: #000000 1px solid;
}

.info-wrp::before{
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 5vw;
    height: 5vw;
    border-bottom: #000000 1px solid;
    border-right: #000000 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-contents p:nth-child(1) {
        font-size: 8vw;
        margin: 0;
    }

    .mission-contents p:nth-child(2) {
        font-size: 6vw;
        margin-top: 5vmin;
        margin-bottom: 8vmin;
        margin-right: 2vw;
        margin-left: 2vw;
    }

    .mission-contents p:nth-child(3) {
        font-size: 3vw;
        margin-left: 1vw;
        line-height: 2;
    }
    .content, .pictures {
        width: 70%;
    }
    .pictures {
        height: 30vh;
    }
    .pictures img {
        width: 37vw;
    }
    .content {
        margin-right: 0;
        margin-bottom: 5vmin;
    }
    swiper-slide {
        flex-direction: column;
    }
    .content p:nth-child(1) {
        font-size: 7vw;
    }
    .content p:nth-child(2) {
        font-size: 3vw;
    }
    .detail {
        flex-direction: column;
        justify-content: center;
    }
    .info-wrp {
        width: 60vw;
        margin-bottom: 4vmin;
        font-size: 2vmin;
    }
    h2 {
        font-size: 5vw;
    }
    .info ul li p:nth-child(1){
        width: 26vmin;
    }
    .iframe-wrp {
        width: 100%;
    }
    iframe {
        width: 100%;
        height: 90vw;
        margin-bottom: 4vmin
    }
    #footer {
        display: none;
    }
}

@media screen and (min-width:1250px) {
    section {
        margin-bottom: 20vh;
    }
}