@charset "utf-8";
/*default*/
html { scroll-behavior: smooth; -webkit-scroll-behavior: smooth; width: 100%; height: 100%;}

img { 
    max-width: 100%;
    border: 0;
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}

img a { outline : none;}

a:focus { outline: 0;}

a, img, li { 
	text-decoration: none !important;
	transition: .2s;
    -moz-transition: .2s;
    -webkit-transition: .2s;
    -o-transition: .2s;
    -ms-transition: .2s;
}

body {
	width: 100vw;
	height: 100%;
	margin: 0 auto;
    font-family: 'Noto Sans JP', 'Noto Sans SC', Helvetica, Arial, sans-serif !important;
	-webkit-font-smoothing: antialiased;
    line-height: 1.5;
    overflow-x: hidden;
	position: relative;
    -webkit-transition: all 300ms linear;
	transition: all 300ms linear;
    color: #222;
}

.mobile { display: none;}

h2.title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 4rem;
    font-weight: 900;
    color: #333;
}
.clear { clear: both;}



.header {
    position: fixed;
    /* height: 9vh; */
    top: 0;
    left: 0;
    width: 100%;
    background: #0085d7;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    width: 90vw;
    margin: 0 auto;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    margin-right: auto;
}

.logo img {
    width: 90%;
}


/* mobile menu*/
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}


/* nav menu*/
.nav-menu {
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.nav-menu ul.menu-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    margin-right: 3rem;
}

.nav-menu ul.menu-list a {
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
}



/* top slider */
.main-visual {
    position: relative;
    width: 100vw;
    height: 68vh;
    top: 8vh;
    overflow: hidden;
    background: #000;
}

.main-visual .main-text {
    position: absolute;
    width: 100vw;
    height: 100%;
    color: white;
    z-index: 10;
    pointer-events: none;
    background: rgba(0 0 0 / 30%);
}

.main-text .main-text-wrapper {
    position: absolute;
    top: 30vh;
    left: 0;
    right: 0;
    text-align: center;
}

.main-visual .slider {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 5;
}

.main-visual .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .3s ease-in-out;
}

.main-visual .slide.active {
    opacity: 1;
}

.main-visual .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* slider nav button*/
.main-visual .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 15;
    transition: background 0.3s;
}

.main-visual .slider-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.main-visual .prev-btn {
    left: 20px;
}

.main-visual .next-btn {
    right: 20px;
}

/* slider nav dots*/
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 15;
}

.dot {
    width: 12px;
    height: 12px;
    background: #555;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #0085d7;
}



/* game section*/
.work {
    padding: 2rem 0 6rem 0;
    background: #f8f9fa;
    margin: 4rem auto 0 auto;
}
.work .w_btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 1rem;
    width: 82%;
    margin: 0 auto;
}
.work .infor_special {
	width: 50%;
	position: relative;
	display: block;
	margin: 3% auto 0 auto;
}
.swiper_content .swiper-container {
	width: 100%;
	height: auto;
	margin: 0 auto;
	overflow: hidden;
	position: relative
}
.swiper_content .swiper-container .swiper-slide {
	width: 100% !important;
	margin: 0 auto;
	text-align: center;
}
.swiper_content .swiper-container .swiper-button-next:hover,
.swiper_content .swiper-container .swiper-button-prev:hover {
	-webkit-filter: brightness(.5);
	filter: brightness(.5);
}



/* footer*/
.footer {
    background: #fff;
    color: #000;
    padding: 4rem 0;
    text-align: center;
}
.footer .company_link ul,
.footer .license ul {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
}
.footer .company_link ul li a {
    color: #000;
    font-size: 13px;
}
.footer p {
    text-align: center;
    margin: 12px auto;
    font-size: 14px;
}
.footer .police {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    gap: 1rem;
    margin: 1% auto 0 auto;
}
.footer .police img {
    width: 5%;
}


/* back to top button*/
.back-to-top {
    position: relative;
    width: 100vw;
    height: 50px;
    background: #0085d7;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.back-to-top:hover {
    background: #0056b3;
}

.back-to-top.visible {
    display: flex;
}

.side_link {
    position: fixed;
    left: 0;
    bottom: 1rem;
    z-index: 999;
}
.side_link a {
    color: #fff;
    text-decoration: none;
    background-color: #d0b37e;
    text-align: center;
    font-size: 14px;
    padding: 5px 2px;
    writing-mode: vertical-rl;
}


/*---------------------------------------------------------------------------------*/
@media screen and ( min-width: 2560px) {

    .header-container { padding: 0.8% 0;}
    .nav-menu ul.menu-list a { font-size: 1.6rem;}
    .logo img { width: 100%;}
    .language-btn { font-size: 1.4rem;}
    .language-selector { width: 7vw;}

}
/*---------------------------------------------------------------------------------*/
@media screen and (max-width:1440px) {

    .work .infor_special { width: 70%;}

}
/*----------------------------------------ipad pro-----------------------------------------*/
@media screen and (max-width:1024px) {

    .header { height: 8.5vh; display: flex; align-items: center;}
    /*.hamburger { display: block;}*/
    .nav-menu { position: fixed; top: 0; right: -100%; width: 45%; height: 38vh; top: 8.5vh;
     background: rgba(255, 255, 255, 0.98); display: flex; align-items: center; justify-content: center; flex-direction: column; transition: right 0.3s ease;}
    .nav-menu.active { right: 0;}
    .nav-menu ul.menu-list { flex-direction: column; align-items: center; gap: 2rem; margin-right: 0; margin-bottom: 3rem;}
    .nav-menu ul.menu-list a { font-size: 1.2rem; color: #333;}
    .language-btn { border: 1px solid #333; color: #333;}
    .language-dropdown li { height: 3rem; display: inline-flex; align-items: center;}
    .language-dropdown a { font-size: 14px;}
    .language-selector:hover .language-dropdown { gap: 0;}

    /* mobile menu animation*/
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 4px); background: #333;}
    .hamburger.active span:nth-child(2) { opacity: 0; background: #333;}
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); background: #333;}
    
    .main-visual { height: 23vh;}

    .work .infor_special { width: 88%;}
    .work .infor_special img { width: 82%;}

}
/*----------------------------------------------------------------------------------------------------*/
@media screen and (max-width:767px) {

    .mobile { display: block;}
    .desktop { display: none;}

    .header-container { flex-direction: row; align-items: center;}
    nav ul.menu-list { flex-direction: column; text-align: center; gap: 1rem;}
    .header-container { flex-wrap: wrap;}
    .nav-menu { margin-right: 0;}
    .language-selector { margin-left: 0;}
    .language-btn { font-size: 14px; padding: 6px 10px;}
    .language-dropdown { min-width: 120px;}
    
    .main-visual { height: 80vh;}
    .main-text .text-line { font-size: 4rem; letter-spacing: 4px;}
    
    h2.title { font-size: 2rem;}
    .work .w_btn { flex-wrap: wrap; width: 88%;}
    .work .w_btn a { width: 30%;}
    .work .infor_special { width: 90%;}
    .work .infor_special img { width: 76%;}

    .footer { padding: 2rem 0;}
    .footer p { margin: 20px auto;}
    .footer .license { margin: 5% auto;}
    .footer .police { font-size: 10px; line-height: 1.3; width: 80%;}

}

/*----------------------------------------------------------------------------------------------------*/
@media screen and (max-width:375px) {

    .header { height: 9vh;}
    .logo img { width: 60%;}
    .nav-menu { top: calc(9vh + 3px);}
    .main-visual .slide { top: 4px;}
    
}