@charset "uft-8";
/* 基本設定--------------------------------------------------------------- */
body {
    background: var(--grc-bg);
}
/* 関連企業--------------------------------------------------------------- */
.group-company .contents:hover .bottom-item{
    color: var(--grc-txt-hover);
    border-bottom: .5px solid var(--grc-txt-hover);
}
/* ファーストビュー--------------------------------------------------------------- */
.first-view {
    position: relative;
    background-position: 80% center;
    background-image: url(../img/grc/grctop_mv.jpg);
}
.main-logo {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    width: calc(600px - 4rem);

    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5)); 
}

@media(max-width:800px) {
    .main-logo {
        bottom: 2rem;
        left: 50%;
        right: 50%;
        transform: translateX(-50%);

        width: 90%;
    }
}

/* キャッチコピー　--------------------------------------------------------------- */ 
.catch-area {
    display: flex;
    flex-direction:column-reverse ;
    align-items: center;
    gap: 2rem;

}

.catch-area img {
    width: 100px;
}

.catch-area .catch-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;

    text-align: center;
    line-height: 2;

    width: 80%;
    margin: 0 auto;
}

.catch-area h2 {
    font-family: var(--serif-text);
    font-size: 2.3rem;
    line-height: 1.3;
}

@media(max-width:800px) {
    .catch-area  .catch-text{
        width: 85%;
    }
    .catch-area img {
        width: 80px;
    }

    .catch-area h2 {
        font-size: 24px;
    }

    .catch-area .catch-sub {
        font-size: .9rem;
    }    
}

/* スライドショー--------------------------------------------------------------- */
.slide-contents {
    height: 100vh;
}

/* スライダー */
.slideshow {
    position: relative;

    width: 100%;
    height: 100%;

    max-height: 1000px;

    margin: auto;

    overflow: hidden;
    scroll-snap-align: start;
}

.slides {
    display: flex;
    
    width: 100%;
    height: 100%;

    transition: transform .5s ease;
}
.slide {
    position: relative;

    display: flex;
    justify-content: space-between;
    
    width: 100%;
    height: 100%;

    flex-shrink: 0;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.slide1 {
    background-image: url(../img/grc/grctop_slide01_bg.jpg);
}
.slide2 {
    background-image: url(../img/grc/grctop_slide02_bg.jpg);
}
.slide3 {
    background-image: url(../img/grc/grctop_slide03_bg.jpg);
}

/* スライド内デザイン */
.slide img {
    width: 40%;
    object-fit: cover;
}
.slide .text-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20%;

    width: 60%;

    padding: 4rem 2rem 2rem;
}
.slide .text-area {
    display: flex;
    flex-direction: column;
    gap: 3rem;

    width: 80%;
    margin: 0 auto;
}
.slide h3 {
    display: flex;
    flex-direction: column;
    font-family: var(--serif-text);
}
.slide .title {
    font-size: 2.3rem;
}
.slide .title-sub {
    font-size: 1.7rem;
    line-height: 1;
}
.slide .text-desc {
    line-height: 2;
}

.slide .link-area {
    display: flex;
    justify-content: space-between;

    width: 80%;

    border-bottom: .5px solid #fff;
    
    transition: all .2s;
}
.link-area .more {
    font-size: .9rem;
    font-family: var(--en-text);
}
.link-area .more i {
    margin: 0 0 0 1rem;
}
.link-area:hover {
    border-bottom: .5px solid var(--grc-txt-hover);
    color: var(--grc-txt-hover);
}

/* 戻る・次へ */
button.prev,
button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    border: none;
    border-radius: 50%;

    height: 30px;
    width: 30px;

    cursor: pointer;
}

button.prev {
    left: 1rem;
}
button.next {
    right: calc(40% + 1rem);
}

/* インジケーター */
.dots {
    position: absolute;
    top: 2rem;

    display: flex;
    justify-content: center;
    align-items: center;

    width: calc(100% - 40%);
} 

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;

    margin: 0 6px;

    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}
.dot.active {
    background-color: #fff;
}

@media(max-width:800px) {
    .slide img {
        display: none;
    }
    .slide .text-side {
        gap: 5rem;

        width: 85%;
        height: 85%;

        max-height: 1000px;
        margin: auto;

        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    .slide1 {
        background-image: url(../img/grc/grctop_slide01.jpg);
    }
    .slide1 .text-side {
        background-image:url(../img/grc/grctop_slide01_bg.jpg);
    }    
    .slide2 {
        background-image: url(../img/grc/grctop_slide02.jpg);
    }
    .slide2 .text-side {
        background-image:url(../img/grc/grctop_slide02_bg.jpg);
    }    
    .slide3 {
        background-image: url(../img/grc/grctop_slide03.jpg);
    }
    .slide3 .text-side {
        background-image:url(../img/grc/grctop_slide03_bg.jpg);
    }
    
    button.prev {
        left: 1rem;

        width: 25px;
        height: 25px;
    }
    button.next {
        right: 1rem;

        width: 25px;
        height: 25px;
    }

    .dots {
        top: 12%;
        width: 100%;
    }
    .dot {
        width: 8px;
        height: 8px;
    }    
}

@media(max-width:600px) {

    .slide .text-area {
        gap: 2rem;
        
        width: 90%;
    }
    .slide .title {
        font-size: 2rem;
    }
    .slide .title-sub {
        font-size: 1.2rem;
    }
    .slide .link-area {
        width: 90%;
    }    

}

/* アクセス/会社概要--------------------------------------------------------------- */

.access .contents-area,
.company-info .contents-area {
    display: flex;
    flex-direction: column;
    gap: 5rem;

    width: 80%;
    margin: 0 auto;
}
.ifrem-area {
   display: flex;
   flex-direction: column;
   align-items: flex-end;
   gap: 1.5rem;
}
.access iframe {
    width: 100%;
    aspect-ratio: 3/1;
}
.google-map {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;

    background: var(--grc-btn);
    color: #fff;
    border-radius: 50px;
    
    width: 40%;
    min-width: 270px;
    padding: .5rem 2rem;

    font-family: var(--en-text);
    font-weight: bold;

    transition: all .2s;
}
.google-map i {
    font-size: 1.2rem;
}

.google-map:hover {
    background: var(--grc-btn-hover);
}

.table-container {
    display: flex;
    flex-direction: column;
} 

.table-dl {
    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: .5px solid var(--txt-black);

    padding: 2rem 0;
}

.table-dt {
    width: calc(128px);
}
.table-dd {
    width: calc(100% - 128px - 2rem);
}

@media(max-width:800px) {
    .access .contents-area,
    .company-info .contents-area {
        width: 85%;
    }

}
@media(max-width:600px) {
    .ifrem-area {
        align-items: center;
    }
    .access iframe {
    aspect-ratio: 3/2;
    }
    .google-map {
        width: 100%;
    }
    .table-dt {
        width: 30%;
    }
    .table-dd {
        width: 65%;
    }
}
