/**************************************************************/
/**************************************************************/
/**************************main visual*************************/
/**************************************************************/
/**************************************************************/

#main .visual {
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-20px);
    }
}
#main .visual .caption {
    color: #fff;
    width: var(--web-width);
    margin: 0 auto;
    text-align: left;
}
#main .visual .caption h4 {
    font-size: var(--txt-6xl);
    font-weight: bold;
    line-height: 1.3em;
    font-family: var(--main-font);
    letter-spacing: 1px;
    margin-bottom: 20px;
}
#main .visual .caption h5 {
    font-size: var(--txt-2xl);
    font-weight: 400;
    line-height: 1.5em;
    margin-top: 14px;
    margin-bottom: 100px;
    position: relative;
    letter-spacing: 0.4px;
}
#main .visual .caption a {
    transition: 0.4s;
}
#main .visual .caption a:hover {
    margin-left: 20px;
}
#main .visual .caption a img {
}
.bx-has-pager {
    z-index: 99;
    position: relative;
    width: var(--web-width);
    margin: 0 auto;
    /* display: none; */
}
/* .bx-wrapper {max-width: 100% !important;} */

/* ----------------------- visual ----------------------*/
.main_slider li.visual01 { background:url(../images/main/mainvisual_01.png) center no-repeat; background-size: cover;}
.main_slider li.visual02 { background:url(../images/main/mainvisual_02.png) center no-repeat; background-size: cover;}
.main_slider li.visual03 { background:url(../images/main/mainvisual_03.png) center no-repeat; background-size: cover;}
.main_slider li.visual04 { background:url(../images/main/mainvisual_04.png) center no-repeat; background-size: cover;}
.main_slider li.visual05 { background:url(../images/main/mainvisual_05.png) center no-repeat; background-size: cover;}
.main_slider li.visual06 { background:url(../images/main/mainvisual_06.png) center no-repeat; background-size: cover;}
.main_slider li.visual07 { background:url(../images/main/mainvisual_07.png) center no-repeat; background-size: cover;}
#main .visual, #main .visual .main_visual, #main .main_visual .bx-wrapper .bx-viewport, .main_slider li {
    width: 100% !important;
    height: 100vh !important;
}

/* ----------------------- video visual ----------------------*/

.main_copy {
    position: absolute;
    left: 50%;
    top: 35%;
    transform: translate(-50%);
    z-index: 99;
    color: #fff;
    text-shadow: 2px 0px 6px rgba(51,51,51,0.5);
    /* -webkit-text-stroke: 1px rgba(51,51,51,0.5); */
    width: var(--web-width);
    text-align: center;
}
/* .main_copy::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    width: 183px;
    height: 187px;
    background: url(../images/main/symbol_wht.png) no-repeat center;
    background-size: cover;
} */
.main_copy h2 {
    font-size: 4.375rem;
    font-weight: 500;
    line-height: normal;
    /* text-transform: uppercase; */
    margin: 0 0 1rem;
    font-family: var(--sub-font);
    letter-spacing: 1px;

}
.main_copy h3 {
    font-size: 1.875rem;
    font-weight: 500;
    line-height: normal;
}
.main_copy h3 span {
    font-weight: bold;
}
.main_copy p {
    font-size: 3.75rem;
    line-height: normal;
    font-weight: 400;
    font-family: var(--sub-font);
}

.video_wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url(../images/main/pattern.png);
    z-index: 9;
}
#mainVideo {
    /* position: absolute;
    top: 90px;
    left: 90px; */
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-color: black; 
    background-image: url(../images/main/video.mp4);
    background-position: center center;
    background-size: cover;
    object-fit: cover; 
    z-index: 1;
    /* border-radius: 1rem 1rem 0 0; */
} 

.main_menu {
    position: absolute;
    left: 50%;
    top: 70%;
    transform: translate(-50%);
    z-index: 99;
    width: var(--web-width);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    transition: 0.4s;
}

.main_menu .box {
    width: calc((100% - 6rem) /4);
    border-radius: var(--radius-all-sm);
    padding: 1.75rem 2.5rem;
    box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 10%);
    cursor: pointer;
}

.main_menu .box:nth-child(1) {
    background-image: url(../images/main/main_menu01_on.png);
    background-repeat: no-repeat;
    background-position: 85% 50%;
    background-color: #fff;
}
.main_menu .box:nth-child(1).on {
    background: url(../images/main/main_menu01.png);
    background-repeat: no-repeat;
    background-position: 85% 50%;
    background-color: var(--main-color);
    color: #fff;
}

.main_menu .box:nth-child(2) {
    background-image: url(../images/main/main_menu02_on.png);
    background-repeat: no-repeat;
    background-position: 85% 50%;
    background-color: #fff;
}
.main_menu .box:nth-child(2).on {
    background: url(../images/main/main_menu02.png);
    background-repeat: no-repeat;
    background-position: 85% 50%;
    background-color: var(--main-color);
    color: #fff;
}
.main_menu .box:nth-child(3) {
    background-image: url(../images/main/main_menu03_on.png);
    background-repeat: no-repeat;
    background-position: 85% 50%;
    background-color: #fff;
}
.main_menu .box:nth-child(3).on {
    background: url(../images/main/main_menu03.png);
    background-repeat: no-repeat;
    background-position: 85% 50%;
    background-color: var(--main-color);
    color: #fff;
}
.main_menu .box:nth-child(4) {
    background-image: url(../images/main/main_menu04_on.png);
    background-repeat: no-repeat;
    background-position: 85% 50%;
    background-color: #fff;
}
.main_menu .box:nth-child(4).on {
    background: url(../images/main/main_menu04.png);
    background-repeat: no-repeat;
    background-position: 85% 50%;
    background-color: var(--main-color);
    color: #fff;
}

.main_menu .box h4 {
    font-size: var(--txt-xl);
    font-weight: 500;
    line-height: 1.3em;
}
.main_menu .box strong {
    display: block;
}

.sec1 .main_copy_top .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 5rem auto;
    gap: 7rem;
}
.sec1 .btn a {
    display: inline-block;
    width: 425px;
    height: 70px;
    line-height: 70px;
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    text-align: center;
}
.sec1 .btn a.cate01 {
    background: var(--sub-color);
}
.sec1 .btn a.cate02 {
    background: var(--sub-color-2);
}

@media screen and (max-width:1300px) {
.main_visual::after {width: 60px;}

}