/*====================
common
====================*/

html {
    font-size: 62.5%;
}

body {
    font-family: 
    "Noto Sans JP","Roboto";
    font-style: normal;
    color: #333333;
    line-height: 1.5;
}

img {
    width: 100%;
    height: auto;
}

main {
    overflow: hidden;
}

/* br */
.pcBr {
    display: none;
}

@media screen and (min-width: 769px) {
    .spBr {
        display: none;
    }    

    .pcBr {
        display: block;
    }
}

/*====================
topic
====================*/
.topic__tittle {
    font-size: 2.8rem;
    font-weight: 500;
    text-align: center;
}

.topic__tittle__color {
    color: #103662;
    font-family: Roboto;
    font-size: 1.4rem;
    font-weight: 400;
}

@media screen and (min-width: 769px) {
    .topic__tittle {
        font-size: 4rem;
    }

}

/*====================
header
====================*/
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 4%;
    background: rgba(255, 255, 255, 0.60);
    position: fixed;
    z-index: 1000;
}

.tittle {
    display: flex;
    align-items: center;
}

.header__logo {
    width: 30px;
    margin-right: 10px;
}

.header__tittle {
    width: 93px;
}

/* header btn */
.header__btn {
    width: 50px;
    height: 50px;
    position: relative;
    z-index: 2000;
}

.header__btn span {
    display: inline-block;
    width: 40px;
    height: 2px;
    background-color: #00428C;
    position: absolute;
    left: 5px;
}

.header__btn span:nth-of-type(1) {
    top: 15px;
}

.header__btn span:nth-of-type(2) {
    top: 25px;
}

.header__btn span:nth-of-type(3) {
    top: 35px;
}

/* header__btn active表示 */
.header__btn.active span:nth-of-type(1) {
    background-color: #FFF;
    top: 23px;
    left: 7px;
    transition: .5s;
    transform: rotate(28deg);
}

.header__btn.active span:nth-of-type(2) {
    opacity: 0;
    transition: .5s;
}

.header__btn.active span:nth-of-type(3) {
    background-color: #FFF;
    top: 23px;
    left: 7px;
    transition: .5s;
    transform: rotate(-28deg);
}

/* nav 初期表示 */
.nav {
    background-color: #00428C;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: all .4s;
}

.nav__list {
    margin-top: 110px;
    margin-left: 40px;
}

.nav__item {
    color: #FFF;
    font-size: 2rem;
    margin-top: 40px;
}

.nav__color {
    color: #D4E8FF;
    font-size: 1.4rem;
}

.nav__item:nth-of-type(1) {
    margin-top: 0;
}

.contact__btn {
    font-size: 1.6rem;
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid #FFF;
    background: linear-gradient(270deg, #00428C 0%, #D4E8FF 50%, #00428C 100%);
    background-position: 0% 50%;
    background-size: 200% auto;
    transition: all .5s ease;
}

.contact__btn:hover {
    background-position: 100% 50%;
}

/* .nav .active 表示 */
.nav.active {
 transform: translateX(0);
}

/* pc header */
@media screen and (min-width: 769px) {
    .header {
        padding: 20px 6.9%;
    }

    .header__logo {
        width: 40px;
    }

    .header__tittle {
        width: 131px;
    }

    .header__btn {
        display: none;
    }

    .nav {
        position: static;
        width: auto;
        height: auto;
        transform: translateX(0);
        background-color: transparent;
    }

    .nav__list {
        margin: 0;
        display: flex;
    }

    .nav__item {
        color: #333;
        font-size: 1.6rem;
        margin-right: 53px;
        margin-top: 0;
    }

    .nav__item:nth-of-type(1) {
        margin-top: 0px;
    }

    .nav__item:nth-of-type(4) {
        margin-right: 40px;
    }

    .nav__item:nth-of-type(5) {
        margin-right: 0;
        color: #FFF;
    }

    .nav__color {
        color: #103662;
        font-size: 1.2rem;
        margin-bottom: 5px;
    }

    .contact__btn {
        border: none;
    }

} /* 769px pc */

/*====================
footer
====================*/

.footer {
    padding: 60px 5.3% 40px;
    background-color: #00428C;
}

.footer__container {
    padding-bottom: 40px;
    border-bottom: solid 1px #fff;
}

.footer__tittle {
    display: flex;
    align-items: center;
}

.footer__logo {
    width: 35px;
    margin-right: 10px;
}

.footer__company {
    width: 93px;
}

.footer__menu {
    margin-top: 40px;
}

.footer__menu__nav {
    display: flex;
    width: 74.6%;
    gap: 10px;
    flex-wrap: wrap;
}

.footer__item {
    color: #FFF;
    font-family: "Noto Sans JP";
    font-size: 1.2rem;
    width: 65px;
}

.footer__item:last-of-type {
    width: auto;
}

.footer__sns {
    margin-top: 40px;
    display: flex;
    align-items: center;
}

.instagram {
    width: 40px;
    margin-right: 20px;
}

.x {
    width: 38px;
}

.copy__box {
    text-align: center;
    margin-top: 20px;
}

.copy {
    color: #FFF;
    font-size: 1rem;
}

/* pc footer */
@media screen and (min-width: 769px) {

    .footer {
        padding: 60px 9% 40px;
    }

    .footer__container {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }

    .footer__menu {
        margin-top: 60px;
    }

    .footer__menu__nav {
        width: auto;
        flex-wrap: nowrap;
        gap: 20px;
    }

    .footer__sns {
        margin-top: 0;
    }

} /* 769px pc */

/*====================
btn
====================*/

/* btn */
.btn {
    display: inline-block;
    font-size: 1.4rem;
    padding: 12px 72px;
    background-color: #FFF;
    border: solid 1px #333333;
    position: relative;
}

.services__btn {
    background-color: #F8F8F8;
}

.recruit__btn {
    background-color: transparent;
}

.btn::before {
    content: '→';
    font-size: 1.4rem;
    position: absolute;
    top: 12px;
    right: 17px;
}

.btn::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all .5s;
    background: linear-gradient(90deg, #00428C 0%, #D4E8FF 100%);
}

.recruit__btn::after {
    opacity: 0;
}

.btn:hover {
    color: #FFF;
    border: solid 1px #fff;
    background-color: transparent;
    transition: all .5s;
}

.recruit__btn:hover::after {
    opacity: 1;
}

/*====================
page top image
====================*/
.article__header {
    padding-top: 53vw;
    padding-bottom: 53vw;
    position: relative;
}

/* ページごとに画像変える */
.article__header__about {
    background-image: url(../image/sp-about.png);
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}

.article__header__services {
    background-image: url(../image/sp-services.png);
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}

.article__header__recruit {
    background-image: url(../image/sp-recruit.png);
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}

.article__header__news {
    background-image: url(../image/sp-news.png);
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}

.article__header__contact {
    background-image: url(../image/sp-contact.png);
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}

.page__tittle__sub {
    color: rgba(255, 255, 255, 0.60);
    font-size: 4rem;
    font-weight: 500;
    letter-spacing: 6px;
    text-align: center;
}

.page__tittle__main {
    color: #FFF;
    font-size: 2.8rem;
    font-weight: 500;
    text-align: center;
}

.scrolldown {
    position: absolute;
    right: 8.2%;
    bottom: 0;
    width: 18px;
    height: 75px;
}

.scrolldown span {
    color: #FFF;
    font-size: 1.2rem;
    letter-spacing: 1.8px;
    transform: rotate(90deg);
    position: absolute;
    left: -6px;
    top: -30px;
}

.scrolldown::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 8.2%;
    width: 1px;
    height: 75px;
    background-color: #FFF;
    /* 線の動き */
    animation: pathmove 1.8s ease-in-out infinite;
    opacity: 0;
}

@keyframes pathmove {
    0% {
        height: 0;
        top: 0;
        opacity: 0;
    }

    30% {
        height: 50px;
        opacity: 1;
    }

    100% {
        height: 0;
        top: 75px;
        opacity: 0;
    }
}

/* pc top image */
@media screen and (min-width:769px) {
    .article__header {
        padding: 145px 0;
    }

    /* ページごとに背景変える */
    .article__header__about {
        background-image: url(../image/pc-about.png);
        width: 100%;
        height: 100%;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .article__header__services {
        background-image: url(../image/pc-services.png);
        width: 100%;
        height: 100%;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .article__header__recruit {
        background-image: url(../image/pc-recruit.png);
        width: 100%;
        height: 100%;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .article__header__news {
        background-image: url(../image/pc-news.png);
        width: 100%;
        height: 100%;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .article__header__contact {
        background-image: url(../image/pc-contact.png);
        width: 100%;
        height: 100%;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .page__tittle__sub {
        font-size: 10rem;
        letter-spacing: 15px;
    }

    .page__tittle__main {
        font-size: 4rem;
    }

    .scrolldown {
        right: 8.4%;
        height: 110px;
    }

    .scrolldown span {
        font-size: 1.4rem;
        top: -43px;
        right: -17px;
    }

    .scrolldown::after {
        right: 8.4%;
        height: 110px;
        background-color: #FFF;
        /* 線の動き */
        animation: pathmove 1.4s ease-in-out infinite;
    }
    
    @keyframes pathmove {
        0% {
            height: 0;
            top: 0;
            opacity: 0;
        }
    
        30% {
            height: 100px;
            opacity: 1;
        }
    
        100% {
            height: 0;
            top: 95px;
            opacity: 0;
        }
    }

} /* 769px pc */
