body{
    background-color: transparent;
    box-sizing: border-box;
}

.PageTitleStyle2{
    padding-bottom: 20px;
}

p.ImgOnlyStyle,
p.ImgOnlyStyle img{
    width: 100%;
    margin-bottom: 0;
}

.Grid4 h2{
    text-align: left;
}

.Grid4 h2 span{
    border-bottom: 0;
    display: inline;
}

#headerArea{
    width: 100%;
    background-color: #2e2e2e;
    margin-bottom: 50px;
}

#headerArea .bannerArea{
    max-width: 1275px;
    margin: 0 auto;
    position: relative;
}


#headerArea .bannerArea .cardBox {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 50%;
    padding: 40px;
    margin-left: 40px;
    background-color: rgba(0,0,0,.8);
    background-image: url("/image/astemo/astemo_logo_red.svg");
    background-position: 90% center;
    background-repeat: no-repeat;
    background-size: 30%;
    transition: all .4s;
    box-sizing: border-box;
}

#headerArea .bannerArea .cardBox * {
    color: #FFF;
    transition: all .4s;
}

#headerArea .bannerArea .cardBox h2 {
    text-align: left;
}

#headerArea .bannerArea .cardBox h2 i {
    display: block;
    font-size: 70%;
    font-style: normal;
    line-height: 1;
}

#headerArea .bannerArea .cardBox h2 span {
    display: inline-block;
    text-align: left;
    font-size: 140%;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

#headerArea .bannerArea .cardBox h2 small {
    display: block;
    font-weight: 100;
    margin-top: 10px;
}

#headerArea .bannerArea .cardBox a {
    text-decoration: none;
}

#headerArea .bannerArea .cardBox a>span{
    display: inline-block;
    padding: 25px 0 0;
    padding-left: 42px;
    text-decoration: none;
    background-image: url("/image/astemo/about/astemo/details.svg");
    background-repeat: no-repeat;
    background-size: 50px;
    transition: all .4s;
    text-decoration: none;
}

#headerArea .bannerArea .cardBox:hover {
    background-color: rgba(255,255,255,.5);
    background-image: url("/image/astemo/astemo_logo_red.svg");
    backdrop-filter: blur(6px);
}

#headerArea .bannerArea .cardBox:hover * {
    color: #000;
}

#headerArea .bannerArea .cardBox:hover h2 > span{
    border-bottom: 1px solid black;
}

#headerArea .bannerArea .cardBox:hover a>span {
    background-image: url("/image/astemo/about/astemo/details_bgBlack.svg");
}



#historyArea{
    margin-bottom: 50px;
    position: relative;
}

#historyArea a{
    display: block;
    width: 100%;
    height: 230px;
    max-height: 100%;
}

#historyArea a p.ImgOnlyStyle{
    width: 100%;
    height: 100%;
}

#historyArea a p.ImgOnlyStyle:hover{
    opacity: .6;
}

#historyArea a p.ImgOnlyStyle img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#historyArea>h2 {
    max-width: 1275px;
    margin: 0 auto;
    margin-bottom: 15px;
}

#historyArea h2 i {
    font-size: 14px;
    color: #999;
    font-style: normal;
}

#historyArea h2 span{
    display: block;
    padding: 0;
    font-size: 20px;
}

.swiper-button-next,
.swiper-button-prev{
    color: #B6001A;
    width: 50px;
    height: 50px;
    background-color: #FFF;
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

.swiper-button-next{
    right: calc((100% - 1275px) / 3);
}

.swiper-button-prev{
    left: calc((100% - 1275px) / 3);
}

.swiper-button-next:after,
 .swiper-button-prev:after{
    font-size: 20px;
}

.swiper-container{
    max-width: 1275px;
    padding-bottom: 30px;
}

.swiper-slide{
    width: calc((100% - 60px) / 3);
}

.swiper-pagination{
    display: block;
}

.swiper-container-horizontal>.swiper-pagination-bullets{
    bottom: auto;
}

.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{
    width: 10px;
    height: 10px;
    box-shadow: 0 0 1px;
}

.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet:hover{
    opacity: .4;
    background: #e60027;
}

.swiper-pagination-bullet-active{
    background: #e60027;
}

@media screen and (max-width: 1304px){
    .OptionWideRWD .Grid4{
        padding: 0;
    }

    .OptionWideRWD .GridSet{
        margin: 0;
    }

    #historyArea{
        padding: 0 15px;
    }
}

@media screen and (max-width: 1276px){
    #headerArea .bannerArea .cardBox {
        margin-left: 0;
        padding: 20px;
    }

    #headerArea .bannerArea .cardBox h2 span{
        font-size: 120%;
    }

    .swiper-button-prev {
        left: 2vw;
    }

    .swiper-button-next{
        right: 2vw;
    }
}


@media screen and (max-width: 997px){
    #headerArea .bannerArea .cardBox h2 {
        font-size: 120%;
    }
}

@media screen and (max-width: 767px){
    .JS .PageTitleStyle2{
        margin-bottom: 0;
    }

    .JS body {
        background-color: transparent;
    }

    #headerArea{
        margin-bottom: 30px;
    }
    

    .swiper-button-prev,
    .swiper-button-next{
        display: none;
    }

    #headerArea .bannerArea .cardBox {
        width: 100%;
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        background-image: none;
        transform: none;
        background-color: transparent;
    }

    #headerArea .bannerArea .cardBox a {
        text-decoration: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    #headerArea .bannerArea .cardBox h2 {
        padding: 0;
        font-size: 100%;
    }

    #headerArea .bannerArea .cardBox:hover{
        background: none;
        backdrop-filter: none;
    }

    #headerArea .bannerArea .cardBox:hover *{
        color: #FFF;
    }

    #headerArea .bannerArea .cardBox:hover h2 > span{
        border-bottom: 1px solid #ddd;
    }

    #headerArea .bannerArea .cardBox:hover a>span {
        background-image: url("/image/astemo/about/astemo/details.svg");
    }

    #headerArea .bannerArea .cardBox a>span{
        font-size: 12px;
    }

    .swiper-container-horizontal>.swiper-pagination-bullets{
        top: 42%;
    }
    
    .swiper-pagination-bullet{
        background: #ffffff;
        opacity: 1;
    }
    
    .swiper-pagination-bullet-active{
        background: #e60027;
    }
}

@media screen and (max-width: 541px) {
    .swiper-container-horizontal>.swiper-pagination-bullets{
        top: 39%;
    }
}