@charset "UTF-8";

/* HERO */
#topslide {
    height: 100vh;
    height: 100dvh;
    position: relative;
}


#topslider_pc,
#topslider_sp {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 0;
}

#topslider_pc {
    display: block;
}

#topslider_sp {
    display: none;
}

@media screen and (orientation: portrait) {
    #topslider_pc {
        display: none;
    }

    #topslider_sp {
        display: block;
    }
}

.hero {
    position: relative;
    padding: 8rem 0 5rem;
    background: linear-gradient(180deg, rgb(0 0 0 / 18%), rgb(0 0 0 / 29%));
    border-bottom: 1px solid var(--border);
    height: 100vh;
    height: 100dvh;
    z-index: 3;
}

.hero h1 {
    line-height: 2.5;
}

@media (min-width:576px) {
    .hero h1 {
        line-height: 1.8;
    }
}

.hero>.container,
.hero>.container>.row {
    height: 100%;
}

.topmessage {
    min-height: 110vh;
}

.topmessage .h2 {
    font-size: 2.2rem;
}

.topmessage .section-sub {
    line-height: 2.5;
}

.topmessage .imgbox {
    display: none;
}

@media (min-width:768px) {

    .topmessage .imgbox {
        display: block;
        position: absolute;
        right: 0;
        top: 10vh;
        background-image: url(../img/topimg_4.jpg);
        background-size: cover;
        background-position: 50% 0%;
        height: 80vh;
        margin-top: 10vh;
        background-color: rgb(255 229 28 / 10%);
        background-blend-mode: lighten;
    }
}


@media screen and (orientation: portrait) {
    .topmessage {
        min-height: 65vh;
    }

    .topmessage .imgbox {
        height: 50vh;
    }
}

#strength {
    padding-bottom: 12rem;
}

#service {
    position: relative;
    z-index: 0;
    padding-top: 9rem;
    background: #f3f2f0;
}

#service .imgbox {
    position: absolute;
    right: 0rem;
    top: -10rem;
    z-index: 1;
    opacity: 0.85;
    height: 22rem;
    width: auto;
}


.news {
    background-color: var(--bg);
    position: absolute;
    bottom: 0rem;
    right: 0;
    left: 0;
    z-index: 100;
}

.news .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.newshead span {
    width: fit-content;
    border-radius: 2px;
    padding: 5px 12px;
    border: 1px solid #fff;
    margin-left: 3%;
    margin-left: 0%;
    font-size: 0.85em;
}

@media (min-width:768px) {
    .newshead span {
        padding: 5px 19px;
    }

}

.news_day {
    width: 30%;
}

.newstitle {
    width: 70%;
}

.go_news,
.go_news a {
    display: none;
}

@media (min-width:768px) {
    .news_day {
        width: 15%;
    }

    .newstitle {
        width: 85%;
    }

    .go_news {
        display: block;
        position: absolute;
        bottom: 0.1rem;
        right: 5%;
        z-index: 100;
    }

    .go_news a {
        display: block;
        text-decoration: none;
        color: #fff;
        position: relative;
        top: -0.5rem;
        font-weight: 300;
    }
}

/*==================================================
　5-3-3 左から右に線が伸びる（下部）
===================================*/
.newsitem a {
    color: #FFF;
    text-decoration: none;
    display: flex;
    flex-wrap: nowrap;
}

.newsitem a .news_title,
.go_news a {
    /*線の基点とするためrelativeを指定*/
    position: relative;
}

.newsitem a:hover,
.go_news a:hover {
    color: #fff;
}

.newsitem a .news_title::after,
.go_news a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: -2px;
    left: 0;
    /*線の形状*/
    width: 100%;
    height: 1px;
    background: #c9af50;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0, 1);
    /*X方向0、Y方向1*/
    transform-origin: left top;
    /*左上基点*/
}

/*現在地とhoverの設定*/
.newsitem a:hover .news_title::after,
.go_news a:hover::after {
    transform: scale(1, 1);
    /*X方向にスケール拡大*/
}

#about {
    color: #fff;
    background-image: url(../img/topimg_8.jpg);
    background-color: #181d24ab;
    background-blend-mode: hue;
    background-position: top;
    background-size: cover;
}

#service .card {
    background-color: #100c0594;
    background-blend-mode: hue;
    background-position: top;
    background-size: cover;
    transition: all 0.3s ease;
}

#service .card:hover {
    background-color: #100c05e8;
    transition: all 0.3s ease;
}

#service .col-lg-4:nth-of-type(1) .card {
    background-image: url(../img/topimg_9.jpg);
}

#service .col-lg-4:nth-of-type(2) .card {
    background-image: url(../img/topimg_10.jpg);
}

#service .col-lg-4:nth-of-type(3) .card {
    background-image: url(../img/topimg_11.jpg);
}

#service .card p,
#service .card li {
    color: #fff !important;
}

#service .card p {
    line-height: 2.0;
    margin: 3rem 2rem 1.5rem;
}

#service .card li {
    line-height: 2.3;
    margin-left: 1em;
}

#service .card-body {
    padding: 0rem 0rem 1.2rem 0rem;
}

#service .card-body>div {
    background-color: #110c00bf;
}

#service .btn_box {
    margin-top: 2rem;
}