@charset "utf-8";

.mv-container {
    height: 100vh;
    width: 100%;
    position: relative;
}

.mv {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    animation: mv-slide-anime 15s infinite;
}

.src1 {
    background-image: url(../img/top/mv011920x1080.jpg);
}

.src2 {
    background-image: url(../img/top/mv021920x1080.jpg);
}

.src3 {
    background-image: url(../img/top/mv031920x1080.jpg);
}

@keyframes mv-slide-anime {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    40% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.mv:nth-of-type(1) {
    animation-delay: 0s;
}

.mv:nth-of-type(2) {
    animation-delay: 5s;
}

.mv:nth-of-type(3) {
    animation-delay: 10s;
    z-index: 5;
}

.new-post-container {
    padding-left: 40px;
    padding-right: 40px;
}

.new-post-container-inner {
    border-top: solid;
    border-bottom: solid;
    border-color: #CED7DC;
    border-width: 1px;
    max-width: 1200px;
    margin: 72px auto 0 auto;
    padding: 32px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.new-post-title {
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-text:hover {
    color: #858383;
}

h3 {
    font-family: 'Questrial', sans-serif;
    color: #00213b;
}

.hishigata {
    width: 16px;
    height: 16px;
    background-image: url(../img/top/hishigata.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    margin-left: 48px;
}

.new-post-container p {
    margin-left: 48px;
    font-weight: 500;
}

.profile-container {
    display: flex;
    align-items: center;
    max-width: 1040px;
    margin: 256px auto 0px auto;
    padding-left: 40px;
    padding-right: 40px;
}

.profile-details {
    position: relative;
    margin-right: 144px;
    width: 50%;
}

.profile-details::after {
    position: absolute;
    top: 0;
    left: calc(100% + 72px);
    content: "";
    width: 1px;
    height: 100%;
    background-color: #CED7DC;
}

.profile-details .name {
    font-size: 18px;
    text-align: center;
    margin-top: 24px;
}

.profile-details .profile-text {
    margin-top: 24px;
    line-height: 30px;
}

.link-button-area {
    text-align: center;
    letter-spacing: 0.05em;
    color: #00213b;
}

.profile-details .link-button-area {
    margin-top: 24px;
}

.link-button {
    border: solid;
    border-color: #00213b;
    border-width: 1px;
    border-radius: 25px;
    display: inline-block;
    min-width: 180px;
    line-height: 48px;
    position: relative;
    transition: initial;
    overflow: hidden;
}

.link-button-text {
    font-family: 'Questrial', sans-serif;
    font-weight: 400;
    color: #00213b;
    transition: 1s ease all;
}

.link-button:hover .link-button-text {
    color: #fff;
    transition: 1s ease all;
}

.link-button::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 50%;
    margin: auto;
    width: 60px;
    height: 60px;
    background: rgba(0, 104, 183, 0.5);
    transform: scale(0);
    transition: 1s ease all;
    z-index: -1;
}

.link-button:hover::after {
    transform: scale(4.2);
}

.statement {
    width: 50%;
}

.statement h3 {
    border-bottom: solid;
    border-color: #00213b;
    border-width: 1px;
    width: 124px;
    font-family: 'Questrial', sans-serif;
    font-weight: 400;
    font-size: 22px;
}

.statement p {
    margin-top: 32px;
    line-height: 32px;
}

.works-container {
    margin-top: 256px;
    padding-left: 40px;
    padding-right: 40px;
}

h2 {
    font-family: 'Questrial', sans-serif;
    font-weight: 400;
    font-size: 36px;
    color: #00213b;
    text-align: center;
}

.slideshow {
    display: flex;
    animation: loop-slide 80s infinite linear 1s both;
}

.slideshow-wrap {
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 72px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

h2::after {
    content: '';
    display: block;
    width: 130px;
    height: 2px;
    background-color: #00213b;
    margin-left: auto;
    margin-right: auto;
}

.works-container .link-button-area {
    margin-top: 72px;
}

.slideshow li {
    width: 414px;
    height: 310.5px;
    margin-left: 72px;
}

@keyframes loop-slide {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-100%);
    }
}

.contact-container h2::after {
    content: '';
    display: block;
    width: 165px;
    height: 2px;
    background-color: #00213b;
    margin-left: auto;
    margin-right: auto;
}

.contact-container {
    margin-top: 256px;
    padding-left: 40px;
    padding-right: 40px;
}

.contact-container p {
    margin-top: 72px;
    text-align: center;
}

.link-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 72px;
    margin-bottom: 128px;
}

.link-button-container .sns-btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.link-button-container .sns-btn {
    width: 30px;
    height: 30px;
    display: block;
    margin-right: 48px;
}

@media (max-width:800px) {
    .mv-container {
        height: calc(100vh - 210px);
    }

    .new-post-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .new-post-container-inner {
        flex-direction: column;
        margin-top: 32px;
        padding: 16px 0;
    }

    .new-post-title {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .new-post-title p {
        margin-left: 16px;
    }

    .new-post-container .news-text p {
        margin-left: 0;
        text-align: center;
        margin-top: 16px;
    }

    .hishigata {
        margin-left: 16px;
        width: 14px;
        height: 14px;
    }

    .main p {
        font-size: 14px;
    }

    h3 {
        font-size: 18px;
    }

    .profile-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 128px;

    }

    .profile-details {
        margin-right: 0px;
        padding-bottom: 72px;
        width: 100%;
    }

    .profile-details::after {
        position: absolute;
        top: 100%;
        left: 0;
        content: "";
        width: 100%;
        height: 1px;
        background-color: #CED7DC;
    }

    .profile-details .profile-text {
        line-height: 21px;
    }

    .statement {
        margin-top: 72px;
        width: 100%;
    }

    .statement p {
        line-height: 28px;
        margin-top: 24px;
    }

    h2 {
        font-size: 20px;
    }

    h2::after {
        width: 70px;
        height: 1px;
    }

    .works-container {
        margin-top: 128px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .slideshow-wrap {
        margin-top: 56px;
    }

    .slideshow li {
        width: 276px;
        height: 207px;
        margin-left: 32px;
    }

    .works-container .link-button-area {
        margin-top: 56px;
    }

    .contact-container {
        margin-top: 128px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .contact-container h2::after {
        width: 95px;
        height: 1px;
    }

    .contact-container p {
        margin-top: 56px;
    }

    .link-button-container {
        margin-top: 56px;
        margin-bottom: 0;
    }

    .link-button-container {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }

    .contact-container .sns-btn-container {
        margin-top: 24px;
        justify-content: space-between;
    }

    .contact-container .sns-btn {
        margin-right: 0;
    }

    .contact-container .sns-btn:first-child {
        margin-right: 30px;
    }

    .footer {
        margin-top: 48px;
    }
}