/* 汎用クラス */
.flex {
    display: flex;
}

.between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.container {
    max-width: 1040px;
    width: 96%;
    margin: 0 auto;
}

.title {
    font-size: 32px;
    font-weight: 700;
}

.subtitle {
    font-weight: 700;
}

.button a {
    display: block;
    max-width: 332px;
    height: 60px;
    margin: 60px auto 0;
    border: 1px solid #222;
    transition: 0.4s;
}

.button a:hover {
    background-color: black;
    color: white;
}

.button-text {
    text-align: center;
    line-height: 60px;
}

/* 汎用クラスここまで */



/* header */
.header {
    width: 100%;
    height: 80px;
}

.header-inner {
    max-width: 1040px;
        width: 96%;
        margin: 0 auto;
    padding: 14px 0;
}

.header-logo {
    width: 67px;
    height: auto;
}

.gnav {
    display: flex;
}

.gnav-li {
    margin-left: 50px;
}

.gnav a {
    transition: 0.4s;
}

.gnav a:hover {
    color: #777;
}


/* main */
.mv-img {
    display: block;
    max-width: 1360px;
    width: 100%;
    height: auto;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
}

.banner {
    margin-bottom: 90px;
}


.banner-img {
    width: 100%;
    height: auto;
}

.service-body {
    margin-top: 30px;
}

.service-list {
    width: 32%;
}

.service-list a {
    position: relative;
    display: block;
}

.service-listImg::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    background-color: rgba(0, 0, 0, .5);
    opacity: 0;
    transition: 0.4s;
}

.service-list a:hover .service-listImg::before {
    opacity: 1;
}

.service-listImg {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 18px;
}

.service-listImg img {
    width: 100%;
    height: auto;
}

.service-listTitle {
    font-size: 18px;
    font-weight: 700;
}

.service-titleEn {
    margin-right: 30px;
}

.search {
    margin-top: 100px;
    background: #F8F8F8;
    padding: 60px 0;
}

.search-title {
    text-align: center;
    margin-bottom: 40px;
}


.search-bt-text {
    font-weight: 700;
}

.search-button {
    position: relative;
    display: block;
    width: 48%;
    background: #FFF;
    transition: 0.4s;
}

.search-button a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 38px 0 38px 10%;
}

.search-button:hover {
    box-shadow: 0 5px 8px -5px;
    transform: translateY(-2px);
}

.search-button a::after {
    position: absolute;
    top: 46%;
    right: 10%;
    content: "";
    display: block;
    width: 9.422px;
    height: 9.422px;
    transform: rotate(45deg);
    border-top: 1px solid #222;
    border-right: 1px solid #222;
}

.search-icon {
    width: 84px;
    text-align: center;
    margin-right: 10%;
}

.news {
    margin-top: 100px;
}

.news-body {
    margin-top: 30px;
}

.news-titleEn {
    margin-right: 30px;
}

.news-list {
    padding: 28px 0;
    border-bottom: 1px solid #c6c6c6;
}

.news-time {
    margin-right: 50px;
    color: #676666;
    font-size: 14px;
    font-weight: 700;
}

.news-body a {
    transition: 0.4s;
}

.news-body a:hover {
    color: #777;
}


/* フッター */

.footer {
    position: relative;
    margin-top: 160px;
    padding: 60px 0 20px;
    background-image: url(../img/common/footer-img.jpg);
    background-size: cover;
    background-position: center;
}

.footer::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    display: inline-block;
    width: 100%;
    height: 100%;
    opacity: 0.8457;
    background: #F2EFE6;
}

.footer-inner {
    position: relative;
}

.footer-nav-body {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    column-gap: 20px;
}

.footer-nav a {
    transition: 0.4s;
}

.footer-nav a:hover {
    color: #777;
}

.footer-nav-title {
    font-weight: 700;
    display: inline-block;
    width: 100%;
    padding-bottom: 8px;
    border-bottom: 1px solid #222;
}

.footer-nav-list {
    margin-top: 16px;
}

.copyright {
    margin-top: 100px;
    text-align: center;
}


/* レスポンシブ */
@media screen and (max-width:768px) {

    /* ヘッダー */
.banner {
        margin-bottom: 60px;
    }

.header-inner{
    width: 100%;
        padding: 14px 20px;
}

    .sp-button {
        position: relative;
        display: inline-block;
    }

    .hamburger {
        position: absolute;
        z-index: 2;
        top: 30px;
        right: 10px;
        width: 30px;
            height: 24px;
    }

    .hamburger-line {
        position: absolute;
        width: 30px;
        height: 3px;
        background-color: #222;
        top: 0;
        right: 0;
    }

 .hamburger-line1 {
     top: 1px;
 }

    .hamburger-line2 {
        top: 10px;
    }

    .hamburger-line3 {
        top: 19px;
    }

    .active .hamburger-line1 {
        top: 10px;
        transform: rotate(-45deg);
        background-color: #FFF;
    }

    .active .hamburger-line3 {
        top: 10px;
        transform: rotate(45deg);
        background-color: #FFF;
    }

    .active .hamburger-line2 {
        opacity: 0;
    }



    .gnav ul {
        position: absolute;
        z-index: 1;
        top: 0;
        left: 0;
        flex-direction: column;
        justify-content: center;
        background-color: #222;
        width: 100%;
        height: 100%;
        transform: translateY(-100%);
        transition-duration: 1s;
    }

    .active .gnav ul {
        transform: translateY(0)
    }

    .gnav-li {
        margin-top: 50px;
        margin-left: 35%;
        color: #FFF;
    }

    /* main */
    .container {
        width: 100%;
        padding: 0 20px;
    }

    .search-body {
        display: block;
    }

    .search-title {
        margin-bottom: 60px;
    }

.search-bt-text {
    font-weight: 500;
}

    .search-button {
        width: 100%;
        margin-top: 20px;
    }

    .sp-column {
        flex-direction: column;
    }

          .news-list {
              padding: 20px 0;
          }
    
          .news-listText {
              margin-top: 10px;
          }

    /* フッター */
    .footer-nav-body {
        grid-template-columns: 1fr 1fr;
        row-gap: 35px;
    }
}


@media screen and (max-width:570px) {

    .service-body {
        flex-direction: column;
        align-items: center;
    }

    .service-list {
        max-width: 400px;
        width: 100%;
        margin-bottom: 20px;
    }

    .service-listTitle {
        font-weight: 500;
    }

.search-button a {
    justify-content: center;
    padding: 38px 10% 38px 10%;}

.search-icon {
    position: absolute;
    left: 4%;}

    .search-button a::after {
        right: 5%;
    }

    .search-button:nth-child(1) img {
        width: 50px;
    }

    .search-button:nth-child(2) img {
        width: 30px;
    }

    /* フッター */
    .footer {
        margin-top: 120px;
        background-image: url(../img/common/footer-img-SP.jpg);
    }

    .footer-nav-body {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }
}