@charset "UTF-8";



/*  ----------------------------------------------------------

kv

----------------------------------------------------------  */
.top-kv {
    position: relative;
}

.top-kv .wrap {
    position: absolute;
    top: 50%;
    right: 15rem;
    transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    z-index: 2;
}

.top-kv .wrap>div:first-of-type {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.top-kv .wrap>div:first-of-type span {
    background: #fff;
    font-size: 2.8rem;
    font-weight: bold;
    padding: 0 1.2rem 0.2rem 1.2rem;
}

.top-kv .wrap>div:first-of-type span:first-of-type {
    margin-bottom: 0.2rem;
}

#main {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 64rem;
}

@media screen and (max-width: 767px) {
    .top-kv .wrap {
        right: auto;
        left: 0;
    }

    .top-kv .wrap>div:first-of-type span {
        font-size: 2.4rem;
        white-space: nowrap;
    }

    #main {
        height: 40rem;
    }
}



/*  ----------------------------------------------------------

news

----------------------------------------------------------  */
.top-news {
    padding: 10rem 0;
}

.top-news .more {
    margin: 6rem auto 0 auto;
}

.top-news .CMS-NEWS-MORE-READ {
    display: none;
}

.top-news .CMS-NEWS-INDEX {
    padding-bottom: 0;
}

@media screen and (max-width: 767px) {
    .top-news {
        padding: 10rem 3rem;
    }
}



/*  ----------------------------------------------------------

about

----------------------------------------------------------  */
.top-about {
    padding: 10rem 10rem;
    background: #fff;
    position: relative;
}

.top-about::after {
    content: "";
    width: 42rem;
    height: 35rem;
    background-color: #313761;
    position: absolute;
    right: 0;
    top: 15rem;
}

@media screen and (min-width: 1401px) {
    .top-about::after {
        width: 50rem;
        height: 43rem;
    }
}

.top-about .heading {
    flex-direction: row;
    justify-content: flex-start;
}

.top-about .heading i {
    margin-bottom: 0.5rem;
    margin-left: 4rem;
}

.top-about .wrap {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    margin-bottom: 6rem;
}

.top-about .wrap>figure {
    width: 40%;
    padding-right: 5rem;
    position: relative;
    z-index: 10;
}

.top-about .wrap>div {
    width: 60%;
    padding-right: 10rem;
}

.top-about h3 {
    font-size: 2.4rem;
}

.top-about h4 {
    color: #979495;
    font-size: 1.8rem;
    margin: 3rem 0;
}

@media screen and (max-width: 767px) {
    .top-about {
        padding: 10rem 3rem;
    }

    .top-about::after {
        width: 100%;
        height: 28rem;
        top: 24rem;
    }

    .top-about .heading {
        flex-direction: column;
        justify-content: center;
    }

    .top-about .heading i {
        margin-bottom: 0;
        margin-left: 0;
    }

    .top-about .wrap {
        display: block;
    }

    .top-about .wrap>figure {
        width: 100%;
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .top-about .wrap>div {
        width: 100%;
        padding-right: 0;
    }

    .top-about h3 {
        font-size: 2.2rem;
    }
}



/*  ----------------------------------------------------------

service

----------------------------------------------------------  */
.top-service {
    padding: 10rem 0;
}

.top-service>p {
    text-align: center;
    color: var(--color-green);
    margin-bottom: 8rem;
}

.top-service>ul {
    margin-bottom: 6rem;
}

@media screen and (max-width: 767px) {
    .top-service {
        padding: 10rem 3rem;
    }
}

/*  ----------------------------------------------------------

service2

----------------------------------------------------------  */
.top-service2 {
    padding: 10rem 0;
    background: #fff;
}

.top-service2>p {
    text-align: center;
    color: var(--color-black);
    margin-bottom: 8rem;
}

.top-service2>ul {
    margin-bottom: 6rem;
}

@media screen and (max-width: 767px) {
    .top-service2 {
        padding: 10rem 3rem;
    }
}


/*  ----------------------------------------------------------

company

----------------------------------------------------------  */
.top-company {
    padding: 10rem 0 0 0;
    background: #fff;
}

.top-company .wrap {
    background: var(--bg-color);
    padding: 5rem 0;
}

.top-company .wrap>div {
    background: #fff;
    border-radius: 2.5rem;
    padding: 7rem;
}

.top-company .wrap>div>div:first-of-type {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6rem;
}

.top-company .wrap>div>div:first-of-type>* {
    width: 48%;
}

.top-company .wrap img {
    border-radius: 2.5rem;
}

.top-company .gmap iframe {
    border-radius: 2.5rem;
    height: 100%;
}

@media screen and (max-width: 767px) {
    .top-company {
        overflow: hidden;
    }

    .top-company>figure {
        width: 150%;
        margin-left: -27%;
    }

    .top-company .wrap {
        padding: 5rem 3rem;
    }

    .top-company .wrap>div {
        padding: 3rem;
    }

    .top-company .wrap>div>div:first-of-type {
        display: block;
        margin-bottom: 3rem;
    }

    .top-company .wrap>div>div:first-of-type>* {
        width: 100%;
    }

    .top-company .wrap img {
        margin-bottom: 2rem;
    }

    .top-company .gmap iframe {
        height: 28rem;
    }
}

/*スクロールバースタイル */
::-webkit-scrollbar {
    width: 5px;
    height: 6px;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #333;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
}

/* カード型横スクロール */
.card-wrap {

    overflow-x: auto;
    margin: 0 auto;
    padding: 30px 0;
    width: 100%;
    position: relative;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: #333 #ccc;
    scrollbar-width: thin;
}

.card-wrap-in {
    scroll-snap-type: x mandatory;
    max-width: 1200px;
    min-width: 700px;
    padding: 10px;
    margin: 0 auto;
    list-style: none;
    display: flex;
}

@media screen and (min-width: 1280px) {
    .card-wrap-in {
        flex-wrap: wrap;
    }
}

.card-item {
    scroll-snap-align: start;
    margin: 0 10px;
    min-width: 240px;
    max-width: calc((100% / 5) - 20px);
    white-space: normal;
    background-color: #f4f4f4;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.card-item .pic {
    overflow: hidden;
    width: 100%;
    height: 160px;
}

.card-item .pic img {
    aspect-ratio: 1.618 / 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-item a {
    text-decoration: none;
    display: flax;
    flex-direction: column;
}

.card-item p {
    padding: 10px;
    line-height: 1.6;
    font-size: 14px;
    text-align: left;
}

@media screen and (min-width: 1280px) {
    .card-item {
        margin-top: 20px;
    }
}

/* もっと見るリンク */
.more-link {
    font-size: 14px;
    display: block;
    text-align: right;
    padding: 10px;
    text-decoration: underline !important;
    margin-top: auto;
}