/* Custom Style */
.section1, .section3 { }
.section3 .formmail-table { background: transparent; }
.section-title { position: relative; margin: -10px 0 35px; text-align: center; font-size: 42px; font-weight: 200; }
.section-title + p { margin-top: 15px; text-align: center; font-size: 17px; }
.main-board-title { padding-bottom: 20px; line-height: 30px; font-size: 28px; font-weight: 200; }

@media (max-width: 1024px){
    .section-title { line-height: 18px; font-size: 23px; }
    .section-title + p { line-height: 16px; font-size: 15px; }
    .main-board-title { font-size: 20px; background-size: auto 30px; }
}
@media (max-width: 768px){
    .section-title { line-height: 15px; font-size: 20px; }
    .main-board-title { background-size: auto 25px; }
}



/* COMMON */
section { padding: 50px 0; }


/* Visual */
/* .visual { position: relative; height: 630px; max-height: 630px; } */
.visual-slide { display: none; }
.visual-slide, .visual .slick-list, .visual .slick-track, .visual .slick-slide, .visual .slick-slide > div, ._v { height: 100%;}
.visual-slide.slick-initialized { display: block; }
.visual-slide .slick-prev { left: 100px; width: 40px; height: 70px; background: url('/child/img/visual/prev.png') no-repeat center; }
.visual-slide .slick-next { right: 100px; width: 40px; height: 70px; background: url('/child/img/visual/next.png') no-repeat center; }
.visual-slide .slick-dots li.slick-active button { background: rgba(255,255,255,1); }
.visual-slide .slick-dots button { width: 15px; height: 15px; border-radius: 50%; background: rgba(255,255,255,.5); }
._v .centre { position: relative; z-index: 2; }
.v-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; z-index: 1;}
/* ._v.on .v-bg
    -webkit-transition: linear 6s;
    -o-transition: linear 6s;
    transition: linear 6s;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
} */
/* ._v.bg-on .v-bg{
    -webkit-transition: linear 6s;
    -o-transition: linear 6s;
    transition: linear 6s;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
} */
.v1 { background: url('/child/img/visual/v1.jpg') no-repeat center / cover; }
.v2 { background: url('/child/img/visual/v2.jpg') no-repeat center / cover; }
.v3 { background: url('/child/img/visual/v3.jpg') no-repeat center / cover; }
.v4 { background: url('/child/img/visual/v4.jpg') no-repeat center / cover; }
.v5 { background: url('/child/img/visual/v5.jpg') no-repeat center / cover; }
.v6 { background: url('/child/img/visual/v6.jpg') no-repeat center / cover; }
.v7 { background: url('/child/img/visual/v7.png') no-repeat center / cover; height: 100%; }
/* ._v .text-wrap .img { display: flex; justify-content: flex-end;}
._v .text-wrap img {
    -webkit-transform: translateX(100px);
    -ms-transform: translateX(100px);
    transform: translateX(100px);
    text-shadow: 0px 0px 10px rgba(0,0,0,.35);
    opacity: 0;
}
._v.on .text-wrap img {
    -webkit-transition: ease-in-out .87s .3s;
    -o-transition: ease-in-out .87s .3s;
    transition: ease-in-out .87s .3s;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
} */

@media(max-width:1024px){
    /* .visual { height: 600px; } */
    .visual-slide .slick-dots { bottom: 25px; }
    .visual-slide .slick-dots button { width: 12px; height: 12px; }
    ._v h3 { line-height: 40px; font-size: 34px; }
    ._v p { margin-top: 10px; line-height: 24px; font-size: 16px; }

}
@media(max-width:768px){
    .v1 { background: url('/child/img/visual/v1-mo.jpg') no-repeat center / cover; }
    .v6 { background: url('/child/img/visual/v6-mo.jpg') no-repeat center / cover; }
    .v7 { background: url('/child/img/visual/v7-mo.png') no-repeat center / cover; }
    ._v .text-wrap .img { position: absolute; display: flex; justify-content: center;
        top: 40px; left: 0; right: 0; text-align: center;
        max-height: 100px; -webkit-transform: scale(.8); transform: scale(.8); }
    ._v .text-wrap img { height: auto; }
    ._v .text-wrap .img {  }
    ._v h3 { line-height: 30px; font-size: 24px; }
    /* .v-bg { width: 100%;
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    } */

}
@media (max-width: 550px){
    /* .visual { position: relative; height: 470px; } */
    /* ._v .text-wrap .img {max-height: 80px; } */
}

.main-visual--mo {
    display: none !important;
}
@media(max-width:768px) {
    .main-visual--pc {
        display: none !important;
    }
    .main-visual--mo {
        display: block !important;
    }
}

/* Section2 */
.section-nav-link { display: flex; margin: 0 -20px; padding-top: 10px; }
.section-nav-link > div { position:relative; display: flex; align-items: center; flex: 1 1; margin: 0 20px;  }
.section-nav-link > div a:after {
    opacity: 0; content: ''; z-index: 1; position: absolute; display: block;top: 0;
     margin: 0 auto; width: 100%; height: 100%; background: rgba(255,187,23,.8); border-radius: 50%;
     -webkit-transition: all ease-in-out .25s; transition: all ease-in-out .25s; }
.section-nav-link > div:hover a:after { opacity: 1; }
.section-nav-link a { position: relative; margin: 0 auto; }
.section-nav-link a .img {font-size: 0; }
.section-nav-link a span { z-index: 3; position: absolute; display: flex; align-items: center; justify-content: center;
    top: 0; bottom: 0; left: 0; right: 0; margin: auto; width: 92%; height: 92%;line-height: 1.2;
    font-size: 28px; font-weight: 700; color: #fff; text-shadow: 0 0 10px rgba(0,0,0,.2); border-radius: 50%; border: 1px solid #fff;}
/*
.section-nav-link .sn1 { background: url('/child/img/main/section-nav-link1.png') no-repeat center /cover; }
.section-nav-link .sn2 { background: url('/child/img/main/section-nav-link2.png') no-repeat center /cover; }
.section-nav-link .sn3 { background: url('/child/img/main/section-nav-link3.png') no-repeat center /cover; }
.section-nav-link .sn4 { background: url('/child/img/main/section-nav-link4.png') no-repeat center /cover; }
*/
@media(max-width:1024px){
    .section-nav-link { flex-flow: wrap; margin: 0; }
    .section-nav-link > div { flex: auto; justify-content: center; margin: 10px; width: 40%; }
    .section-nav-link a span { font-size: 22px; line-height: 1.3; }

}
@media(max-width:768px){

}

/* Section3 */
.section3 .grid > div,
.section4 .grid > div { padding: 0; }
.bbs-main__notice { margin-right: 40px; width: 494px; }
.main-board-title-wrap { position: relative; display: flex; justify-content: space-between; flex: 1 1;  }
.video-main { flex: 1 1;  display: flex;  }
.video-main iframe { width: 524px; }
.sns-main-link { margin-left: 2px; }

@media(max-width:1024px){
    .bbs-main__notice { margin-right: 0; margin-bottom: 30px; width: 100%; }
    .video-main { width: 90%; }

}
@media(max-width:768px){

}

/* Section4 */
.section4 .grid { justify-content: space-between;}
.bbs-main__gallery { position: relative; margin-right: 35px; }
.bbs-main__gallery .main-board-title-wrap a { display: flex; align-items: center; justify-content: flex-start; padding: 5px; width: 100px; height: 36px;
    font-size: 18px; line-height: 1; color: #ffbb17; border: 1px solid #ffbb17; background: url('/child/img/main/more-arrow.png') right 10px center no-repeat; }
.bbs-main__gallery .main-board-title-wrap span.line { position: absolute; display: block; top: 15px; left: 144px; width: 540px; height: 1px; background: #ffbb17;}
.banner-main .img { font-size: 0; }
.section5 { padding: 30px 0 120px; }
.partner-banner { display: flex; margin: -3px; justify-content: space-around; }
.partner-banner > a { margin: 3px; }
.partner-banner a .img { font-size: 0; }
@media(max-width:1024px){
    .bbs-main__gallery { width:100%; margin-right: 0; margin-bottom: 30px; }
    .bbs-main__gallery .main-board-title-wrap span.line { display: none; }
    .bbs-main__gallery .main-board-title-wrap a { width: 80px; height: 30px; font-size: 16px; }
    .banner-main { display: flex; justify-content: center; width: 100%; }

    .section5 { padding: 10px 0 60px; }
    .partner-banner { flex-flow: wrap; margin: 0; justify-content: center; }
    .partner-banner > div { width: 50%; margin: 0px; padding: 5px; text-align: center; }
}
@media(max-width:768px){

}

/* Main Board */
.main-board-wrap:after { content: ''; display: block; clear: both; }
.main-board-left { float: left; padding-right: 50px; width: 50%; }
.main-board-right { float: left; padding-left: 50px; width: 50%; }
.bbs-main-table { width: 100%; border-top: 2px solid #ffbb17; }
.bbs-main-table tr { border-bottom: 1px solid #e5e5e5; }
.bbs-main-table tr th,
.bbs-main-table tr td { padding: 15px; font-size: 18px; font-weight: 300; }
.bbs-main-table tr th a { position: relative; display: block; overflow: hidden; white-space: nowrap; word-break: break-all; text-overflow:ellipsis; padding-left: 14px; }
.bbs-main-table tr th a::after { content: ''; position: absolute; display: block; top: 10px; left: 0; width: 4px; height: 4px; background: #dcdcdc; }
.bbs-main-table tr td.date { color:#999; }
.bbs-main-slide { padding-bottom: 10px; }
.bbs-main-slide .slick-dots { bottom: 0; }
.bbs-main-slide .slick-dots li { width: 8px; height: 8px; background: rgba(0,0,0,.25); border-radius: 50%; }
.bbs-main-slide .slick-dots li.slick-active { background: rgba(0,0,0,.7); }

.main-bbsphoto-ul { display: flex; margin: 0 -7px; width: 810px;}
.main-bbsphoto-ul ._bbs { padding: 7px; }
.main-bbsphoto-ul > li {  }
.main-bbs-photo { overflow: hidden; display: block; position: relative; height: 170px; background: #F5F5F5; }
.main-bbs-photo img { position: absolute; left: 0; top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
.bbs-thumb{
    display: block;
    padding-top: calc(168 / 260 * 100%); width: 100%; height: 0; border: 4px solid #e5e5e5;
    background-repeat: no-repeat; background-position: center; background-size: cover;
}
.bbs-text { margin-top: 20px; }
.bbs-category { display: inline-block; padding: 2px 15px; font-style: normal; color: #fff; background: #60727e; border-radius: 25px; }
.bbs-title{
    display: block; overflow: hidden; white-space: nowrap; word-break: break-all; text-overflow:ellipsis;
}
.bbs-title a { font-size: inherit; color: inherit; font-weight: inherit; }
.main-bbs-btn { padding-top:55px; }
.main-bbs-btn span { display: block; margin-top: -3px;}


@media (max-width: 1024px){
    section { padding: 20px 0; }

    .main-bbs-title,
    .bbs-main-table tr th,
    .bbs-main-table tr td { font-size: 15px; }
    .bbs-main-table tr th a::after { top: 7px; }
    .main-bbsphoto-ul { width:100%; margin: 0; }
}

@media (max-width: 768px){

    .main-board-left { padding: 10px 0; width: 100%; }
    .main-board-right { padding: 10px 0; width: 100%; }

    .main-bbs-title,
    .bbs-main-table tr th,
    .bbs-main-table tr td { font-size: 14px; }
    .bbs-main-table tr th a { max-width: 180px; }
}

/**/



/* gallery bbs main: first full type */
.bbs-main-gallery { margin-top: 18px; }
.bbs-main-box > li { padding: 14px; }
._mg { overflow: hidden; display: block; position: relative; width: 100%; padding-top: calc(230 / 280 * 100%); text-align: center; background-repeat: no-repeat; background-position: center; background-size: cover; }
/* ._bm img { position: absolute; top: 50%; left: 50%; width: 100%; height: auto;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
} */
._mgchild:before { z-index: 1; content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.5);
    -webkit-transition: ease-out .35s;
    -o-transition: ease-out .35s;
    transition: ease-out .35s;
}
._mtitle { z-index: 2; position: absolute; top: 52px; left: 0; width: 100%; padding: 15px; line-height: 27px; font-size: 19px; color: #fff; }
._minfo { z-index: 2; position: absolute; bottom: 20px; left: 0; width: 100%; font-size: 15px; color: rgba(255,255,255,.5); }
._minfo > span { display: inline-block; position: relative; vertical-align: top; padding: 0 8px; }
._minfo > span:first-child:before { content: ''; position: absolute; top: 0; bottom: 0; right: 0; margin: auto; width: 1px; height: 13px; background: rgba(255,255,255,.5); }
._mgchild:hover:before { background: rgba(238, 93, 24, 0.8); }

.first-bbs-main { padding: 0 !important; width: 100%; }
._mgfirst { overflow: visible; position: relative; width: 100%; padding-top: calc(475 / 585 * 100%); }
._mgfirst:before { content: ''; position: absolute; top: 30px; right: -95px; width: 120px; height: 2px; background: rgba(238, 93, 24, 0.4); }
._first-l { display: inline-block; vertical-align: top; padding: 14px; width: 50%; }
._first-r { display: inline-block; vertical-align: top; padding: 14px 14px 14px 54px; width: 50%; }
._first-title { display: block; margin: 68px 0 20px; line-height: 44px; font-size: 37px; }
._first-context { overflow: hidden; display: block; line-height: 24px; color: #666666; }
._first-info { display: block; margin-top: 70px; font-size: 15px; color: #999999; }
._first-info > span { display: inline-block; position: relative; vertical-align: top; padding: 0 8px; }
._first-info > span:first-child:before { content: ''; position: absolute; top: 0; bottom: 0; right: 0; margin: auto; width: 1px; height: 13px; background: #e5e5e5; }

@media (max-width: 1024px){
    ._first-l { padding: 7px 0; width: 100%; }
    ._first-r { padding: 14px 0; width: 100%; }
    .bbs-main-box { padding: 7px 0; }
    .bbs-main-box > li { padding: 7px; }
    ._first-title { margin-top: 0; line-height: 38px; font-size: 30px; }
    ._first-context { font-size: 15px; }
    ._first-info { margin: 35px 0; font-size: 14px; }
    ._mgfirst:before { content: none; }
}
@media (max-width: 768px){
    ._first-title { margin-top: 0; line-height: 28px; font-size: 24px; }
    ._first-context { font-size: 14px; }
    ._first-info { margin: 35px 0; font-size: 13px; }
}
