@charset "UTF-8";
#wrapper{
    box-sizing: border-box;
    overflow: hidden;
}
div.inner-box{
    width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
}
@media screen and (max-width: 1100px) {
    div.inner-box{
        width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }
}

/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ 
ローディング・アニメーション
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; 
    z-index: 9999; 
    display: flex;
    justify-content: center;
    align-items: center;
}
.loading-spinner{
    width: 200px;
}

.loading-spinner img{
    width: 100%;
}

/* 640px*/
@media screen and (max-width: 640px) {
    .loading-spinner{
        width: 50%;
    }
}

#main-logo {
    opacity: 0;
    transform: translateX(0%) translateY(-20px); 
    transition: opacity 1.5s ease 0.8s, transform 1.5s ease 0.8s; 
}

.sub-txt {
    opacity: 0;
    transform: translateY(-20px); 
    transition: opacity 1.0s ease 0s, transform 1.0s ease 0s; 
}

#apps-shop {
    opacity: 0;
    /* transform: translateX(-50%); */
    transition: opacity 1.0s ease 0.4s; 
}

body.is-loaded #main-logo {
    opacity: 1;
    transform: translateX(0%) translateY(0);
}

body.is-loaded .sub-txt {
    opacity: 1;
    transform: translateY(0); 
}

body.is-loaded #apps-shop {
    opacity: 1;
    /* transform: translateX(-50%); */
}




/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝  
header
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
body{
    background-color: #83b446;
}
:root {
    overflow: auto !important;
}

.site-header {
    position: fixed;
    top: 0;          
    left: 0;       
    width: 100%;
    background: url('../../top/image/header_bg.png') repeat top center; 
    z-index: 1000; 
    border-bottom:2px solid #d0a978;
}

.nav-menu {
    /* max-width: 1100px; */
    width: 95%; 
    margin: 0 auto;
    padding: 0 ;
}

.nav-list {
    display: flex;
    justify-content: center; 
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    height:44px;
}   

.nav-item {
    margin: 0;
}
.nav-item a {
    display: block;
    width: 150px;  
    height: 40px; 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-image 0.2s ease;
}

.nav-item a.nav-video { background-image: url('../../top/image/menu01.png'); }
.nav-item a.nav-game { background-image: url('../../top/image/menu02.png'); }
.nav-item a.nav-chara { background-image: url('../../top/image/menu03.png'); }
.nav-item a.nav-link { background-image: url('../../top/image/menu04.png'); }
.nav-item a.nav-news { background-image: url('../../top/image/menu05.png'); }

@media screen and (min-width: 768px) {
    .nav-item a.nav-video:hover { background-image: url('../../top/image/menu01_hover.png'); }
    .nav-item a.nav-game:hover  { background-image: url('../../top/image/menu02_hover.png'); }
    .nav-item a.nav-chara:hover { background-image: url('../../top/image/menu03_hover.png'); }
    .nav-item a.nav-link:hover  { background-image: url('../../top/image/menu04_hover.png'); }
    .nav-item a.nav-news:hover  { background-image: url('../../top/image/menu05_hover.png'); }
    .nav-item a {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }

}

/* PC時スマホパーツ非表示 */
.menu-toggle-input,
.hamburger-btn,
.menu-overlay {
    display: none;
}


/* 768px以下 */
    @media screen and (max-width: 768px) {


        :root:has(.menu-toggle-input:checked) {
            overflow: hidden !important;
        }

        .site-header {
            position: static;
            height: 0;
            padding: 0;
            margin: 0;
            border: none;
        }

        .hamburger-btn {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: fixed;
            top: 15px;
            right: 15px;
            width: 52px;
            height: 52px;
            padding: 14px 11px;
            box-sizing: border-box;
            background: url('../../top/image/header_bg.png') repeat top center;
            border-radius: 12px;
            cursor: pointer;
            z-index: 1000;
            transition: background-color 0.2s ease;
        }

        .hamburger-btn span {
            display: block;
            width: 100%;
            height: 4px;
            background-color: #4a3319;
            border-radius: 2px;
            transition: all 0.2s ease;
        }

        .nav-menu {
            position: fixed;
            top: 0;
            right: -280px; 
            width: 280px;  
            height: 100vh;
            background: url('../../top/image/sns_bg.png') repeat top center;
            box-shadow: -4px 0 20px rgba(0,0,0,0.15);
            z-index: 90;
            transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 100px 0 20px 0; 
            box-sizing: border-box;
            overflow-y: auto; 
        }

        .nav-list {
            flex-direction: column; 
            height: auto;
            justify-content: flex-start;
            align-items: stretch;
        }

        .nav-item {
            margin: 0;
            width: 100%;
            text-align: center;
        }

        .nav-item a {
            font-size: 20px;       
            color: #50371e;        
            padding: 24px 0;       
            margin: 0 40px; 
            /* border-bottom: 1px solid rgba(74, 51, 25, 0.15);  */
        }
        .nav-item:last-child a {
            border-bottom: none;
        }

        .menu-toggle-input:checked ~ .nav-menu {
            right: 0;
        }

        /* 三本線ボタン→「✕」ボタン */
        .menu-toggle-input:checked ~ .hamburger-btn {
            background-color: transparent; 
            box-shadow: none;
            width: 40px;
            height: 40px;
            top: 20px;    
            right: 20px;
            padding: 0;   
            justify-content: center;
            align-items: center;
        }
        .menu-toggle-input:checked ~ .hamburger-btn span {
            display: none;
        }
        .menu-toggle-input:checked ~ .hamburger-btn::before,
        .menu-toggle-input:checked ~ .hamburger-btn::after {
            content: "";
            position: absolute;
            width: 28px;
            height: 4px;
            background-color: #2b1f13; 
            border-radius: 2px;
        }

        .menu-toggle-input:checked ~ .hamburger-btn::before {
            transform: rotate(45deg);
        }

        .menu-toggle-input:checked ~ .hamburger-btn::after {
            transform: rotate(-45deg);
        }

        .menu-toggle-input:checked ~ .menu-overlay {
            display: block;
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-color: rgba(0, 0, 0, 0.4);
            z-index: 80;
        }
    }




/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝  
メインイメージ 
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
#main-img {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #76c7ff; 
}

#kv {
    position: relative;
    width: 100%;
}

#kv::after {
    position: absolute;
    content: '';
    display: block;
    width: 100%;
    height: 37px;
    background: url('../../top/image/movie_bg_top.png') repeat left bottom;
    bottom: -6px;
    left: 0;
} 

.top_bk img {
    display: block;
    width: 100%;
    height: auto;
}


#kv > p:not(.sub-txt),
#apps-shop {
    position: absolute;
    left: 0;
    right: 0;
    /* transform: translateX(-50%); */
    margin: 0 auto;
    padding: 0;
    z-index: 5;
    text-align: center;
}

#main-logo {
    top: 15%; 
    width: 30%;
    min-width: 300px;
    position: absolute;
    left: 0%;
    right: 0;
    margin: 0 auto;
    padding: 0;
    z-index: 5;
    text-align: center;
}

#main-logo img {
    width: 100%;
    height: auto;
}

#kv > p:not(.sub-txt) {
top: 72%; 
color: #ffffff;
font-size: 2vw;
font-weight: bold;
}

ul#apps-shop {
    bottom:10%;
    display: flex;
    justify-content: center;
    gap: 15px;
    list-style: none;
    width: 400px; 
}
ul#apps-shop li:first-child {
    width: 40%;
}
ul#apps-shop li:last-child {
    width: 49%;
}

ul#apps-shop img {
    width: 100%;
    height: auto;
    transition: transform 0.2s ease;
}


p.sub-txt {  
    position: absolute;
    bottom: 22%;
    left: 0;
    right: 0;
    width: 480px;
    margin: 0 auto;
    z-index: 4;
}

.sub-txt img {
    display: block; 
    width: 100%;
    height: auto;
}

picture.top_bk{
    display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}
picture.top_bk img.top-mainimg{
    min-width: 1100px;
    margin-top: -40px;
}

.light-container {
    position: absolute;
    width: 100%;
    height: auto;
    top: 0;
    box-sizing: border-box;
    bottom: 0%; 
}

.light {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #fffac2, #f9ff9e);
    border-radius: 50%;
    box-shadow: 0 0 5px #f2e74e, 0 0 5px #ffd255;
    animation: lightUp 10s infinite ease-in-out;
    bottom: 100px;
}

.light:nth-child(1) {
    left: 10%;
    opacity: 0;
    animation-delay: 0.5s;
    animation-duration: 15s;
}
.light:nth-child(2) {
    left: 30%;
    opacity: 0;
    animation-delay: 3s;
    animation-duration: 15s;
    transform: scale(0.7);
}
.light:nth-child(3) {
    left: 45%;opacity: 0;
    animation-delay: 0.8s;
    animation-duration: 15s;
}
.light:nth-child(4) {
    left: 55%;opacity: 0;
    animation-delay: 2.2s;
    animation-duration: 16s;
    transform: scale(0.5); 
}
.light:nth-child(5) {
    left: 75%;opacity: 0;
    animation-delay: 6s;
    animation-duration: 15s;
    transform: scale(0.6);
}
.light:nth-child(6) {
    left: 90%;opacity: 0;
    animation-delay: 4s;
    animation-duration: 15s;
    transform: scale(0.8);
}

@keyframes lightUp {
    0% {
        opacity: 0;
        transform: scale(0);
        transform: translateX(0px);
    }
    15% {
        opacity: 0.7;
        transform: scale(0.7);
        transform: translateX(20px);
    }
    30% {opacity: 0.8;
        transform: translateX(-20px);
    }
    60% {
        opacity: 0.8;
        transform: scale(1);
        transform: translateX(20px);
    }
    80% {
        opacity: 0.5;
        transform: scale(0.2);
        transform: translateX(-20px);
    }
    90% {
        opacity: 0.2;
        transform: translateX(10px);
    }
    100% {
        bottom: 80%;
        opacity: 0;
        transform: scale(0.1);
        transform: translateX(0px);
    }
}


/* 1300px*/
@media screen and (min-width: 1300px) {
    p.sub-txt {
        bottom: 22%;
        width: 600px;
    }
    ul#apps-shop {
        bottom: 10%;
        width: 500px; 
    }
} 

/* 768px*/
@media screen and (max-width: 768px) {
    picture.top_bk img.top-mainimg {
        min-width: 1040px;
        margin-top: -28px;
    }
    #main-logo {
        top: 8%;
        width: 50%;
        min-width: auto;
    }

    p.sub-txt {
        bottom: 23%;
        width: 72%;
    }
    ul#apps-shop {
        bottom: 9.5%;
        width: 54%;
    }

    #kv::after {
        bottom: -19px;
        background-size: 70%;
    }

}

/* 640px*/
@media screen and (max-width: 640px) {
    picture.top_bk img.top-mainimg {
        min-width:auto;
        width: 100%;
        margin-top: 0px;
    }
    #kv::after {
        bottom: -16px;
        background-size: 84%;
    }
    #ponos_logo {
        top: 10px;
        left: 10px;
        max-width: 80px;
    }

    #main-logo {
        top: 10%;
        width: 60%; 
    }

    #kv > p:not(.sub-txt) {
        top: 70%;
        font-size: 16px; 
    }
    p.sub-txt {
        bottom: 23%;
        width: 94%;
    }
    ul#apps-shop {
        bottom: 10%;
        width: 96%;
    }
    #apps-shop {
        bottom: 8%;
        gap: 8px;
        padding: 0 20px;
        box-sizing: border-box;
    }
} 




/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝  

動画

＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
div.movie-box{
    background: url('../../top/image/movie_bg.png') repeat top left; 
    padding: 4% 0 ;
    position: relative;
}

div.movie-box::after {
    position: absolute;
    content: '';
    display: block;
    width: 100%;
    height: 34px;
    background: url('../../top/image/movie_bg_bottom.png') repeat left bottom;
    bottom: -32px;
    left: 0;
} 




div.movie-container{
    max-width: 920px;
	margin: 10% auto 4%;
	padding: 4% 0 0 0;
	position: relative;
}

h2.movie-topic{
position: absolute;
z-index: 50;
top: -14%;
}

div.movie-deco-inner{
    width: 80%;
    background:  url('../../top/image/movie_inner_bg.png') repeat top left; 
    padding: 10% 5% 5% ;
    margin: 0 auto;
    border: #cd9d58 5px solid;
    border-radius: 20px;
}

div.movie-box .frame{
	position: relative;
	width: 100%;
	padding-top: 56.25%;
    margin: 0 auto;
}

div.movie-box iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	aspect-ratio: 16 / 9;
}


div.movie-deco01{
    position: absolute;
    z-index: 5;
    bottom: -6%;
    right: -2%;
    width: 11%;
}
.swing-img {
    animation: katakata 3.5s infinite linear;
    transform-origin: bottom center;
    animation-delay: 4s;
}

@keyframes katakata{
    0%   { transform: rotate(0deg); }
    5%   { transform: rotate(-10deg); } 
    10%  { transform: rotate(2deg); }
    15%  { transform: rotate(-4deg); }
    /* 20%  { transform: rotate(4deg); }
    25%  { transform: rotate(-2deg); } */
    20%  { transform: rotate(0deg); }  
    100% { transform: rotate(0deg); }
    }
    
div.movie-deco02{
    bottom: -13%;
    width: 19%;
}

.poyon-img {
animation: poyon 3s infinite;
animation-delay: 5s;
}
@keyframes poyon {
    0%   { transform: scale(1.0, 1.0) translate(0%, 0%); }
    5%   { transform: scale(1.0, 1.0) translate(0%, 0%); }
    10%  { transform: scale(0.9, 1.0) translate(0%, 1%); }
    15%  { transform: scale(1.1, 0.9) translate(0%, 1.5%); }
    20%  { transform: scale(0.9, 1.1) translate(0%, -1%); }
    25%  { transform: scale(1.1, 1.0) translate(0%, 1%); }
    30% { transform: scale(1.0, 1.0) translate(0%, 0%); }
    100% { transform: scale(1.0, 1.0) translate(0%, 0%); }
}
div.movie-deco02{
    position: absolute;
    z-index: 5;
    bottom: -6%;
    left: 1%;
    width: 13%;
}


/* 768px*/
    @media screen and (max-width: 768px) {
        div.movie-box {
            padding: 6% 0;
            background-size: 30%;
        }
        div.movie-container{
            width:90%;
        }
    }

/* 640px*/
    @media screen and (max-width: 640px) {
        div.movie-deco-inner{
            width: 88%;
        }
        h2.movie-topic{
            position: absolute;
            width: 102%;
            position: absolute;
            z-index: 50;
            top: -24%;
            left:-1%;
            }

        div.movie-box {
            padding: 10% 0;
        }
        div.movie-container{
            width:94%;
            margin: 17% auto 11%;
        }

        div.movie-deco01{
            bottom: -17%;
            right: 0%;
            width: 15%;
        }
        div.movie-deco02{
            position: absolute;
            z-index: 5;
            bottom: -12%;
            left: 0%;
            width: 15%;
        }
        
    }



/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ 

ゲーム紹介

＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

div.game-box{
    overflow: hidden;
    padding: 10% 0;
    background:  url('../../top/image/game_bg.png') repeat top left; 
}
h2.game-topic {
    margin: 0 auto;
    width: 550px; 
    padding-bottom: 3%;
}

h2.game-topic img{
    display: block;
    width: 100%;
    height: auto;
}


div.game-box div.swiper-slide{
    border: 3px solid #e0b68b;
}


.game-pagination-custom .swiper-pagination-bullet {
    width: 30px;      
    height: 30px;     
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent; 
    opacity: 1;       
    border-radius: 0;
    cursor: pointer;
    transition: transform 0.2s; 

    background-image: url('../../top/image/game_slider_iconoff.png'); 

}
.game-pagination-custom .swiper-pagination-bullet-active {
    background-image: url('../../top/image/game_slider_iconon.png'); 
    transform: scale(1.05); 
}


.game-pagination-custom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;        
    margin-top: 25px; 
    width: 100%;
}

div.swiper-button-prev{
    padding-left: 21%;
}
div.swiper-button-next{
    padding-right: 21%;
}
div.swiper-pagination{
    margin-top: 20%;
}

div.game-box .js-swiper1 {
    width: 100%;
    overflow: visible;
}

div.game-box .js-swiper1 .swiper-slide {
    width: 90%;   
box-sizing: border-box;
}




/* 1100px*/
    @media screen and (max-width: 1100px) {
        h2.game-topic{
            width: 60%;
        }

    }

/* 768px*/
    @media screen and (max-width: 768px) {
        div.game-box{
            padding: 15% 0 10%;
            background-size: 10%;
        }

        h2.game-topic{
            width: 60%;
        }
        h2.game-topic {
            padding-bottom: 5%;
        }

        div.swiper-button-prev,
        div.swiper-button-next {
            display: none;
        }
        .game-pagination-custom .swiper-pagination-bullet {
            width: 20px;      
            height:20px;     
        }
        div.game-box .js-swiper1 .swiper-slide {
            width: 70%; 
        }
    }

/* 640px*/
@media screen and (max-width: 640px) {
    div.game-box{
        padding: 18% 0 13%;
    }
    h2.game-topic{
        width: 80%; 
    }
    .game-pagination-custom {
        gap: 10px;        
    }

    .game-pagination-custom .swiper-pagination-bullet {
        width: 20px;      
        height:20px;     
    }
    div.game-box .js-swiper1 .swiper-slide {
        width: 90%; 
    }
    div.game-box div.swiper-slide{
        border: 1px solid #e0b68b;
    }
}




/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ 

キャラ紹介

＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

div.character-box{
    overflow: hidden;
    background:  url('../../top/image/chara_bg.png') no-repeat top center;
    background-size:cover; 
    padding: 11.5% 0 70px;
    position: relative;
}

div.character-box::after {
    position: absolute;
    content: '';
    display: block;
    width: 100%;
    height: 39px;
    background: url('../../top/image/game_bg_bottom.png') repeat left bottom;
    top: 0px;
    left: 0;
} 



div.character-box .inner-box{
    margin: 0 auto;
    box-sizing: border-box;
}

.character-board-base{
    background:  url('../../top/image/chara_board_bg.png') no-repeat top center;
    position: relative;
    background-size: contain;
    width: 100%;
    margin: 0 auto 40px;
    padding: 6% 0 4%;
    box-sizing: border-box;
}
h2.chara-topic {
    position: absolute;
    top: -40px;
    margin:  0 auto;
    left:0%; 
    right: 0;
    width: 550px; 
    z-index: 10;
    box-sizing: border-box;
}

h2.chara-topic img {
    display: block;
    width: 100%;
    height: auto;
}

.js-swiper-detail {
    width: 100%;
    overflow: hidden; 
}
.char-slide-img {
    width: 98%;
    margin:0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.char-slide-img img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 820px;
}

/* 下部サムネイル */
.character-thumbnails-zone {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    max-width: 600px; 
    margin: 0 auto;
    padding: 10px 0;
}

.thumb-btn {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.thumb-btn .icon-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px; 
    height:100px;
    overflow: hidden;
}

.thumb-btn.is-active {
    transform: scale(1.3); 
}

.thumb-btn .icon-wrap img {
    width: 100%; 
    height: auto;
    display: block;
}


@media screen and (max-width: 1100px) {
    h2.chara-topic {
        width: 60%; 
    }
}

/* 960px*/
@media screen and (max-width: 960px) {
.character-board-base{
    background-size: 100% 100%;
    width: 98%;
}
}


/* 768px*/
    @media screen and (max-width: 768px) {

        .character-board-base{
            width: 96%;
        } 

        div.character-box {
            padding: 20% 0 60px;
        }
        h2.chara-topic {
            width: 60%;
        }
        .character-thumbnails-zone {
            width: 90%; 
            gap: 2%;
        }
        .thumb-btn .icon-wrap {
            width: 100%; 
            height:auto;

        }
    }

/* 640px*/
    @media screen and (max-width: 640px) {

        div.character-box{
            background:  url('../../top/image/chara_bg_sp.png') no-repeat top center;
            background-size:cover; 
            padding: 24% 0 15%;
        }
        .character-board-base{
            background:  url('../../top/image/chara_board_bg_sp.png') no-repeat top center;
            background-size: 100% 100%;
            width: 92%;
            margin: 0px auto 14px;
            padding: 9% 0 6%;
        }
        .js-swiper-detail {
            width: 100%;
        }
        .character-thumbnails-zone {
            width: 92%; 
            gap: 1%;
        }
        .char-slide-img img {
            width: 88%;
            margin: 0 auto;
            max-width: auto;
        }

        h2.chara-topic{
            top: -25px;
            width: 82%;
        }

    }






/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ 
SNS 
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

div.sns-box {
    width: 100%;
    position: relative;
    /* z-index: 2; */
    overflow: hidden;
    background-image: 
        url('../../top/image/sns_border_top.png'), 
        url('../../top/image/sns_border_bottom.png'),
        url('../../top/image/sns_bg.png');
    background-repeat: repeat-x, repeat-x, repeat;
    background-size: auto, auto, auto;
    background-position:center top, center bottom, left bottom;
}

div.sns-bg{
    position: relative;
}

div.sns-box div.inner-box {
    position: relative;
    padding: 10% 0;
    z-index: 2; 
}



div.sns-board {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0% 5%;
    box-sizing: border-box;
}

div.board-main-content {
    display: flex;
    justify-content: space-between;
    align-items: stretch; 
    width: 100%;
    z-index: 3;
    position: relative;
}

/* 左側： */
div.photo-frame {
    width: 58%;
    background: url('../../top/image/sns_photo_bg.png') no-repeat top left;
    background-size: contain;
    background-repeat: no-repeat;
    box-sizing: border-box;
    text-align: center;
    padding-bottom: 7%;
}

div.photo-frame h2 {
    width: 80%; 
    margin: 0 auto 7%;
    padding-top: 7%;
}

div.photo-frame h2 img {
    width: 100%;
    margin: 0 auto;
    display: block;
}

div.poster-img {
    width: 80%;
    display: inline-block;
    border-radius: 5px;
    overflow: hidden;
    border: 4px solid #ffffff;
    outline: 2px solid #c19a6b;
    box-sizing: border-box;
}

div.poster-img img {
    width: 100%;
    height: auto;
    display: block;
}

div.photo-frame p.poster-caption {
    padding-top: 6%;
    width: 80%;
    margin: 0 auto;
}

/* 右側 */
div.link-list-container {
    width: 38%;
    background: url('../../top/image/sns_btn_bg.png') no-repeat top left;
    background-size: cover;
    box-sizing: border-box;
}

ul.link-list {
    width: 74%;
    list-style: none;
    margin: 38% auto 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

ul.link-list li {
    margin: 0 auto;
    width: 100%;
}



/*  飾りパーツ（写真・シール）の絶対配置*/
div.board-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index:1;
}


div.decor-item {
    position: absolute;
}

div.board-decorations {
    z-index: 1; 
}


div.pc-deco img {
    width: 100%;
    height: auto;
    display: block;
}

div.board-decorations div.sp-deco{
    display: block;
} 


div.item-potato {top: 7%;left: 186px;width: 112px; }
div.item-pumpkin {top: 24%; left: 2%; width: 100px; }
div.item-photo01 {top: 35%; left: 150px; width: 204px;}
div.item-celery {top: 56%; left: 21px; width: 105px; }
div.item-bench { bottom: 8%; left: 7%;width: 175px;}
div.item-photo02 {top: 11%; right: 85px; width: 204px; }
div.item-cabbage {top: 35%; right: 126px; width: 105px; }
div.item-ginger { top: 50%; right: 47px; width: 105px; }
div.item-photo03 { bottom: 8%; right: 135px; width: 204px; }


/* 1500px*/
@media screen and (max-width: 1512px) {
    div.item-potato {top: 7%;left: 83px;width: 112px; }
    div.item-pumpkin {top: 24%; left: 1%; width: 100px; }
    div.item-photo01 {top: 35%; left: 90px; width: 175px;}
    div.item-celery {top: 56%; left: 21px; width: 105px; }
    div.item-bench { bottom: 8%; left: 6%;width: 175px;}
    
    div.item-photo02 {top: 11%; right: 10px; width: 175px; }
    div.item-cabbage {top: 35%; right: 30px; width: 105px; }
    div.item-ginger { top: 52%; right: 90px; width: 105px; }
    div.item-photo03 { bottom: 8%; right: 28px; width: 175px; }

}

/* 1350px*/
 @media screen and (max-width: 1350px) {

div.item-potato {top: 10%;left: 3.5%; width: 7%; }
div.item-pumpkin {top: 26%; left: 0%; width: 7.5%; }
div.item-photo01 {top: 39%; left: 0%; width: 14%;}
div.item-celery {top: 60%; left: 0%; width: 7%; }
div.item-bench { bottom: 9%; left: 0%;width: 12%;}

div.item-photo02 {top: 11%; right: -2%; width: 14%; }
div.item-cabbage {top: 36%; right: 2%; width: 8%; }
div.item-ginger { top: 52%; right: 0%; width: 8%; }
div.item-photo03 { bottom: 8.5%; right: -2%; width: 13%; }

} 
/* 1200px*/
@media screen and (max-width: 1200px) {
    div.sns-board {
        width: 90%;
    }

div.item-potato {top: 10%;left: 3.5%; width: 7%; }
div.item-pumpkin {top: 26%; left: 0%; width: 7.5%; }
div.item-photo01 {top: 39%; left: 0%; width: 14%;}
div.item-celery {top: 60%; left: 0%; width: 7%; }
div.item-bench { bottom: 9%; left: 0%;width: 12%;}

div.item-photo02 {top: 11%; right: -2%; width: 14%; }
div.item-cabbage {top: 36%; right: 2%; width: 8%; }
div.item-ginger { top: 52%; right: 0%; width: 8%; }
div.item-photo03 { bottom: 8.5%; right: -2%; width: 13%; }

} 
/* 784px*/
@media screen and (max-width: 784px) {
    div.sns-board {
        width: 100%;
    }
    
    div.sns-box {
        display: block;
        background-size: 100%, 100%, auto;

    }

    div.sns-box div.inner-box {
        padding: 23% 0;
    }
    div.board-decorations div.sp-deco{
        display: block;
    }
    div.board-decorations div.pc-deco{
        display: none;
    }

    div.item-potato { top: 6%; left: 3%; width: 13.5%; }
    div.item-pumpkin { top: 9%; left: 27%; width: 13%; }
    div.item-photo01 { top: 5%; left: 49%; width: 17%;}
    div.item-celery { top: 6%; left: 81%; width: 11%;}
    div.item-bench { display: none;}
    div.item-photo02 {top: auto; bottom: 6%;right: 3%; width: 17%;}
    div.item-cabbage {top: auto; bottom: 9%; left: 33%; width: 13%;}
    div.item-ginger { top: auto; bottom: 6%; right: 32%; width: 11%;}
    div.item-photo03 { top: auto; bottom: 8%; right: auto; width: 17%; left: 3%; }

}



/* 640px*/
@media screen and (max-width: 640px) {
    div.sns-box {
        display: block;
        background-size: 100%, 100%, auto;
        padding: 0% 0;
    }

    div.photo-frame{
        background-size: 100% auto;
    }

    div.photo-frame h2 {
        width:88%;
        margin-bottom: 20px;
    }
    div.photo-frame, 
    div.link-list-container {
        width: 94%;
    
    }
    div.poster-img {
        width: 88%;
    }
    div.photo-frame p.poster-caption { 
        padding-bottom: 5%; 
    }

    div.board-main-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    div.sns-board {
        width: 96%;
        padding: 12% 0%;
        box-sizing: border-box;
    }
    
    div.photo-frame {
        padding: 0% 0%;
    }
    div.link-list-container {
        background-size: 100% auto;
    }

    ul.link-list{
        width: 100%;
        padding: 0 0 0 0;
    }
    ul.link-list li {
        width: 70%;
        margin: 0 auto 7%;
    }
    ul.link-list li a{
        display: block;
    }
    ul.link-list li img{
        width: 100%;
    }
    div.link-list-container {
        padding: 0%;
        padding-bottom: 11%;
    }
    div.board-decorations {
        display:block; 
    }
    div.item-potato { top: 5%; left: 3%; width: 15%; }
    div.item-pumpkin { top: 3%; left: 27%; width: 18%; }
    div.item-photo01 { top: 3%; left: 49%; width: 26%;}
    div.item-celery { top: 4%; left: 81%; width: 14%;}
    div.item-bench { display: none;}
    div.item-photo02 {   top: auto; bottom: 2%;right: 2%; width: 25%;}
    div.item-cabbage {top: auto; bottom: 5.5%; right: 51%; width: 16%;}
    div.item-ginger { top: auto; bottom: 2.5%; right: 32%; width: 15%;}
    div.item-photo03 { top: auto; bottom: 2%; right: auto; width: 26%; left: 3%; }


}






/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ 
ゲーム詳細 
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

div.game-info-box {
        background-image: url('../../top/image/gameinfo_bg.png'); 
        background-repeat: no-repeat;
        background-color: #bff7fe;
        background-position: center bottom;
        background-size: cover;
        width: 100%;
        padding: 10% 0 27% 0; 
        box-sizing: border-box;
    }
    
    .game-info-card {
        width: 1100px; 
        margin: 0 auto;
        padding: 5% 11%; 
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.6) 100%);
        border-radius: 30px;
        box-sizing: border-box;
        font-family: sans-serif;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    }
    
    .card-header {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6%;
        margin-bottom: 50px;
        padding-left: 0; 
    }
    
    .app-icon {
        width: 17%;
    }
    
    .title-logo {
        width: 45%;
    }
    
    .card-body {
        display: flex;
        justify-content: space-between; 
        align-items:center;
        padding: 0;
    }
    
    ul.spec-list {
        list-style: none;
        margin: 0;
        padding: 0;
        line-height: 2.3;
        font-weight: bold;
        width: 65%; 
    }
    
    ul.spec-list li {
        display: flex;
        align-items: center;
        font-size: 1.1rem;
        color: #80381e;
    }
    
    ul.spec-list span.label {
        display: flex;
        color: #80381e;
        letter-spacing:2px;
        width: 100px;
    }
    
    .download-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 32%;
        margin-left: auto; 
    }
    
    .badge-link img {
        width: 100%;
        height: auto;
        display: block;
    }




/* 1100px*/
    @media screen and (max-width: 1100px) {
        .game-info-card {
            width: 90%; 
            padding: 5% 7%; 
        }
        div.game-info-box{
            padding: 10% 0 35% 0;
            
        }
        
        ul.spec-list {
            width: 60%;
        }
    
        .download-buttons {
            width: 35%;
        }
    }



/* 768px*/
    @media screen and (max-width: 768px) {
        ul.spec-list span.label {
            margin-right: 5%;
            letter-spacing:0px;
        }
        ul.spec-list {
            line-height: 2.3;
        }
    }


/* 640px */
    @media screen and (max-width: 640px) {
        div.game-info-box {
            padding: 18% 0 72% 0; 
            background-size: 274% auto;
        }

        .game-info-card {
            width: 88%;
            padding: 8% 8%;
            border-radius: 20px;
        }


        .card-header {
            gap: 20px;
            display: flex;
            flex-direction: column-reverse;
            align-items: center; 
            margin-bottom: 20px;          
        }

    
        .app-icon {
            width: 30%;
            max-width: 120px;
        }
    
        .title-logo {
            width: 87%;
            max-width: 280px;
        }
    
        .card-body {
            flex-direction: column;
            align-items: center;
            gap: 35px;
        }
    
        ul.spec-list {
            width: 100%;
            line-height: 1.4;
        }

        ul.spec-list li {
            font-size: 0.95rem;
            display: block;
            text-align:left;

        }
        ul.spec-list span.label{
            margin-top: 15px;
            font-size: 0.95rem;
            width: 100%;
            font-weight: normal;
        }
        .download-buttons {
            width: 80%;
            max-width: auto;
            margin: 0 auto;
            gap: 15px;
        }
    }




/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ 
footer
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

footer#footer-box {
    background-color: #83b446; 
    width: 100%;
    color: #ffffff;
    font-family: sans-serif;
}

footer#footer-box div.inner-box {
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    row-gap: 20px; 
}

footer#footer-box ul.footer-txt {
    grid-column: 1; 
    grid-row: 1;    
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    margin-top: 20px; 
}

footer#footer-box ul.footer-txt li {
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
}

footer#footer-box ul.footer-txt li:not(:last-child)::after {
    content: "|";
    margin: 0 12px;
    color: #ffffff;
    font-weight: normal;
}

footer#footer-box a.footer-link {
    color: #ffffff;
    text-decoration: none;
}

footer#footer-box a.footer-link:hover {
    text-decoration: underline;
}

footer#footer-box div.footer-logo {
    grid-column: 3;
    grid-row: 1;    
    justify-self: end; 
    padding-top: 20px;
}

footer#footer-box div.footer-logo img {
    width: 140px;     
    height: auto;
    display: block;
}

footer#footer-box div#footer {
    grid-column: 1 / span 3; 
    grid-row: 2;             
    text-align: center;      
}

footer#footer-box div#footer p.copyright {
    margin: 0;
    font-size: 12px;  
    letter-spacing: 0.03em;
    margin-bottom: 20px;
}



/* 768px */
@media (max-width: 768px) {

    footer#footer-box div.inner-box {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        row-gap: 15px; 
    }

    footer#footer-box ul.footer-txt {
        grid-column: 1;
        grid-row: 1;
        justify-content: center; 
        margin-top: 30px; 
    }

    footer#footer-box div.footer-logo {
        grid-column: 1;
        grid-row: 2; 
        justify-self: center; 
        padding-top: 10px;
    }

    footer#footer-box div#footer {
        grid-column: 1;
        grid-row: 3;
    }

    footer#footer-box div#footer p.copyright {
        margin-bottom: 30px; 
    }
}

/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ 
ページTOP
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
#wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
}

div#page-top {
    position: fixed;
    right: 50px;
    bottom: 50px;
    z-index: 100;
    width: 80px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
div#page-top.is-show {
    opacity: 1;
    pointer-events: auto;
}

div#page-top a {
    text-decoration: none;
    display: block;
    animation: fuwafuwa 2.5s ease-in-out infinite;
}

div#page-top a img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes fuwafuwa {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    div#page-top {
        right: 15px;
        bottom: 15px;
        width: 60px; 
    }
}

/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ 
スクロールフェードイン
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
.fade-area {
    opacity: 0;
    transform: translateY(50px); 
    transition: opacity 1.2s cubic-bezier(0.215, 0.610, 0.355, 1.000), 
                transform 1.2s cubic-bezier(0.215, 0.610, 0.355, 1.000);
    will-change: opacity, transform; 
}

.fade-area.is-visible {
opacity: 1;
transform: translateY(0);
}

.fade-area:nth-child(1) { transition-delay: 0s; }
.fade-area:nth-child(2) { transition-delay: 0.15s; }
.fade-area:nth-child(3) { transition-delay: 0.3s; }
.fade-area:nth-child(4) { transition-delay: 0.45s; }


/* SPの長押し禁止 */
img{
    -webkit-touch-callout:none;
    -webkit-user-select:none;
    -moz-touch-callout:none;
    -moz-user-select:none;
    user-select:none;
}
/* クリック枠削除 */
*:focus {
    outline: none;
}
a,div.icon-wrap{
    -webkit-tap-highlight-color:rgba(0,0,0,0);
}