@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: 5rem;
    font-weight: 900;
    color: #333;
}


/* header */
/*.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    border-bottom: 3px solid transparent;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: #fff;
    border-bottom: 3px solid #0085d7;
}*/

.header {
    position: fixed;
    /* height: 9vh; */
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    border-bottom: 3px solid transparent;
    z-index: 1000;
    transition: all 0.3s ease;
    background: #fff;
    border-bottom: 3px solid #0085d7;
}

.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%;
}

/*.logo .down-show {
    display: none;
}

.header.scrolled .logo .down-show {
    display: block;
}

.header.scrolled .logo .top-show {
    display: none;
}*/


/* 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: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/*.header.scrolled .hamburger span { background: #333;}*/

/* 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: #333;
    font-weight: bold;
    transition: all 0.3s;
    font-size: 1.2rem;
}

/*.header.scrolled .nav-menu ul.menu-list a {
    color: #333;
}*/

.nav-menu ul.menu-list a:hover,
.header.scrolled .nav-menu ul.menu-list a:hover {
    color: #007bff;
}



/* language selector*/
.language-selector {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px;
}

.language-btn {
    width: 100%;
    background: none;
    border: 1px solid #333;
    color: #333;
    font-size: 1rem;
    cursor: pointer;
    padding: 4% 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin: 0;
}

/*.header.scrolled .language-btn {
    color: #333;
    border: 1px solid #333;
}*/

.language-btn:hover {
    opacity: 0.8;
}

.language-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
    top: 1px;
}

.language-selector:hover .language-btn i.fa-chevron-down {
    transform: rotate(180deg);
}

.language-selector .language-btn span {
    position: relative;
    top: -2px;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    font-size: 1rem;
    text-align: center;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 130px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-selector:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown li {
    list-style: none;
}

.language-dropdown a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.language-dropdown a:hover {
    background-color: #f5f5f5;
}



/* top slider */
.main-visual {
    position: relative;
    width: 100vw;
    height: 92vh;
    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-text .text-line {
    font-size: 6rem;
    font-weight: 900;
    margin: 1.2rem 0;
    letter-spacing: 15px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.main-text .text-line:nth-child(1) {
    animation-delay: 0.5s;
}

.main-text .text-line:nth-child(2) {
    animation-delay: 0.8s;
}

.main-text .text-line:nth-child(3) {
    animation-delay: 1.1s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-visual .slider {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 5;
}

.main-visual .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1s ease-in-out, transform 5s ease-in-out;
}

.main-visual .slide.active {
    opacity: 1;
    transform: scale(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;
    display: none;
}

.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*/
.games {
    padding: 8rem 0;
    background: #f8f9fa;
    margin: 4rem auto 0 auto;
}

.games h2.title::after {
    content: 'GAMES';
    color: #fff;
    font-size: 10rem;
    position: absolute;
    display: block;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: -3rem;
    z-index: -1;
}

.games .games-grid {
    margin: 0 auto;
    width: 92%;
    overflow: hidden;
    overflow-x: auto;
}

.games .games-grid ul {
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    width: 90%;
    gap: 2rem;
    padding: 1rem 0 3rem 0;
    margin: 0 auto;
}

.games .games-grid::-webkit-scrollbar {
    width: 100%;
    height: 10px;
}

.games .games-grid::-webkit-scrollbar-button {
    background: transparent;
    border-radius: 20px;
}

.games .games-grid::-webkit-scrollbar-track-piece {
    background: transparent;
}

.games .games-grid::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background-color: #333;
}

.games .games-grid::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

.games .games-grid::-webkit-scrollbar-track {
    background-image: linear-gradient(to bottom, transparent 0% calc((100% - 2.7px) / 2), #e5e5e5 calc((100% - 2.7px) / 2) calc((100% - 2.7px) / 2 + 2.7px), transparent calc((100% - 2.7px) / 2 + 2.7px) 100%);
}

.games .game-card {
    width: 17vw;
    transition: transform 0.3s;
}

.games .game-card img {
    object-fit: cover;
    border-radius: 15px;
}

.games .card-box {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    filter: drop-shadow(0 4px 8px rgba(0 0 0 / 40%))
}

.games .card-box:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0 133 215 / 90%);
    display: block;
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.games a:hover .card-box:after {
    opacity: 1;
}

.games .card-box span {
    position: absolute;
    z-index: 1;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    opacity: 0;
}

.games .card-box:hover span {
    opacity: 1;
}

.games .game-card h3 {
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
    color: #333;
}

.games .game-card p {
    padding: 0 1rem;
    color: #666;
}



/* news section*/
.news {
    padding: 8rem 2rem;
}

.news h2.title::after {
    content: 'NEWS';
    color: #f8f9fa;
    font-size: 10rem;
    position: absolute;
    display: block;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: -3rem;
    z-index: -1;
}

.news .news-container {
    max-width: 800px;
    margin: 0 auto;
}

.news .news-item {
    padding: 2rem;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s;
}

.news .news-item:hover {
    background-color: #f8f9fa;
}

.news .news-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news .news-item h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    line-height: 1.5;
}

.news .news-item a {
    text-decoration: none;
    color: #333;
    display: block;
    transition: color 0.3s;
}

.news .news-item a:hover {
    color: #007bff;
}



/* company section*/
.company {
    padding: 8rem 2rem;
    background: #f8f9fa;
}

.company h2.title::after {
    content: 'FIVECROSS';
    color: #fff;
    font-size: 10rem;
    position: absolute;
    display: block;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: -3rem;
    z-index: -1;
}

.company .company-table {
    max-width: 50%;
    margin: 0 auto;
}

.company table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.2rem;
}

.company th, .company td {
    padding: 2rem;
    text-align: left;
    border-bottom: 1px solid #eee;
    line-height: 1.5;
}

.company th {
    width: 30%;
    font-weight: bold;
    color: #0085d7;
}


/* recruitment*/
.recruitment {
    width: 100vw;
    background: #f8f9fa;
    overflow: hidden;
}

.recruitment-header {
    padding: 4rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.recruitment-header:hover {
    background-color: #f0f0f0;
}

.recruitment-header h2 {
    margin: 0;
}

.recruitment-header i {
    transition: transform 0.3s;
    font-size: 3rem;
}

.recruitment.active .recruitment-header i {
    transform: rotate(180deg);
}

.recruitment-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.recruitment.active .recruitment-content {
    max-height: 1000px;
    padding: 3rem 0 5rem 0;
}

.recruitment-container {
    width: 90vw;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.recruitment-item {
    width: 50%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.recruitment-item-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.recruitment-item-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.recruitment-item-content {
    padding: 1.5rem;
    border-top: 1px solid #eee;
}

.recruitment-item-content p {
    margin: 0.5rem 0;
    color: #333;
    line-height: 1.6;
}

.recruitment-item-content ol {
    list-style: decimal;
    line-height: 2;
    margin-left: 2rem;
    margin-bottom: 1rem;
    font-size: 14px;
    color: #666;
}

.apply-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #0085d7;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    text-align: center;
}

.apply-btn:hover {
    background: #0069b3;
}


/* footer*/
.footer {
    background: #333;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

/* back to top button*/
.back-to-top {
    position: relative;
    width: 100vw;
    height: 50px;
    background: #0085d7;
    color: white;
    border: none;
    cursor: pointer;
    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;
}


/*---------------------------------------------------------------------------------*/
@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) {

}
/*----------------------------------------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: calc(8.5vh + 3px);
     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;}

    .games .games-grid ul { padding: 1rem 0;}
    .games .game-card { width: 24vw;}
    .games .game-card img { border-radius: 10px;}
    .company .company-table { max-width: 80%;}

}
/*----------------------------------------------------------------------------------------------------*/
@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;}
    .main-visual .slider-nav { display: block;}
    
    .games, .news, .company { padding: 6rem 0;}
    h2.title { font-size: 4rem;}
    .games h2.title::after, .news h2.title::after { font-size: 7rem; top: -2rem;}
    .company h2.title::after { font-size: 4rem; top: 1rem;}
    .games .game-card h3 { padding: 15px 0; font-size: 14px; line-height: 1.5;}
    .games .games-grid { width: 100%;}
    .games .games-grid ul { gap: 1.5rem;}
    .games .game-card { width: 35vw;}
    .games .card-box { filter: drop-shadow(0 4px 4px rgba(0 0 0 / 40%));}
    .games .card-box:after { border-radius: 10px;}
    .games .card-box span { font-size: 1rem;}

    .news .news-item h3 { font-size: 14px;}
    .company table { font-size: 14px; margin-top: 3rem;}
    .company th, .company td { padding: 1rem; line-height: 1.5;}
    .company th { width: 40%;}
    .text-line { font-size: 2.5rem;}

    .recruitment-header { padding: 2rem 0;}
    .recruitment.active .recruitment-content { max-height: 200vh;}
    .recruitment-container { width: 95vw; flex-direction: column; align-items: center;}
    .recruitment-item { width: 90%;}
    .recruitment-item-header { padding: 1rem;}
    .recruitment-item-header h3 { font-size: 1rem;}
    
}

/*----------------------------------------------------------------------------------------------------*/
@media screen and (max-width:375px) {

    .header { height: 9vh;}
    .logo img { width: 60%;}
    .nav-menu { top: calc(9vh + 3px);}
    .main-visual .slide { top: 4px;}
    .games h2.title::after, .news h2.title::after { font-size: 6rem; top: -1rem;}
    
}