html {
	width: 100%;
    height: 100%;
    /*min-height: 100vh;
    min-height: 100dvh;*/
	font-size: 62.5%;
	user-select: none; /* 選択を禁止する */
}
body {
	width: 100%;
	height: 100%;
	/*min-height: 100vh;
    min-height: 100dvh;*/
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 175%;
    font-family: "fot-seurat-pron", sans-serif;
    font-weight: 600;
    font-style: normal;
	/*font-family: "游ゴシック体", "游ゴシック", YuGothic, メイリオ, Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", Osaka, sans-serif;
    font-weight: 500;*/
	color: #000;
}
h2 {
    font-weight: bold;
}
@media screen and (max-width: 991px) {
    h2 {
        font-size: calc(2.0rem + (1vw - 0.38rem) * 1.2987);
    }
}
@media screen and (min-width: 992px) {
    h2 {
        font-size: 2.8rem;
    }
}
h6 {
    font-size: 1.8rem;
    font-weight: bold;
}
figure {
    margin-bottom: 0px;
}

/*-------------------------------------------*/
/* laoding                                   */
/*-------------------------------------------*/
#loader-bg {
	display: block;
	position: fixed;
	width: 100%;
	/*min-height: 100vh;
    min-height: 100dvh;*/
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
	top: 0px;
	left: 0px;
	color: #000;
	z-index: 9999;
	overflow: hidden;
	background-color: #FFF;
}
#loader {
	display: flex;
    flex-direction: column;
	position: fixed;
	width: 100%;
	height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
	justify-content: center;
    align-items: center;
	z-index: 10000;
}
#loader::after {
    content: "Now Loading";
}


/*-------------------------------------------*/
/* game                                      */
/*-------------------------------------------*/
#main-container {
    width: 100%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    display: none;
}

#content-div {
    width: 100%;
    max-width: 570px;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    /*min-height: 667px;*/
    margin: auto;
    position: relative;
    overflow: hidden;
}
#content-div::before {
    content: "";
    display: block;
    width: 100%;
    height: calc(var(--vh, 1vh) * 100);
}

@media screen and (min-width: 992px){
    #main-container {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #content-div {
        width: 100%;
        max-width: 570px;
        height: 100dvh;
        height: calc(var(--vh, 1vh) * 100);
        min-height: 780px;
        max-height: 850px;/*変ならここをコメントアウト*/
    }
    #start-section {
        max-height: 850px;/*変ならここをコメントアウト*/
    }
    #game-section {
        max-height: 850px;/*変ならここをコメントアウト*/
    }
}

#worning-section {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    background-color: #FFF;
    z-index: 9999;
    padding: 15px;
}

#game-section {
    padding: 0px;
    box-sizing: border-box;
    display: none;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    /*height: calc(var(--vh, 1vh) * 100);*/
    background-color: #EB6EA5;
}
@media screen and (min-width: 992px){
    #game-section {
        min-height: 780px;
    }
}
#game-header {
	padding: 5px 10px;
	background-image: url("../img/back-header.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
#g-title {
    cursor: pointer;
}
#g-title img {
    height: 45px;
    width: auto;
}

@media screen and (min-width: 992px){
    #main-img {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 10%;
    }
}
@media screen and (max-width: 991px){
    #main-img {
        padding-top: 2%;
        /*max-width: 290px;*/
        width: calc(100% - 40px);
        margin: auto;
    }
}
/*iphone8クラスの画面用*/
@media screen and (max-height: 40rem) {
    #main-img {
        padding-top: 2%;
        width: calc(100% - 40px);
        max-width: 290px;
        margin: auto;
    }
}
/*ゲームラベル*/
#game-name {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 10;
}
/*ヘッダーの枚数インフォ*/
.info-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px;
    line-height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
}
.info-bar span {
    font-size: 1.2rem;
}
#header-info .col-6:first-of-type .info-bar {
    border-radius: 5px 0 0 5px;
}
#header-info .col-6:last-of-type .info-bar {
    border-left: dotted 2px #e5b972;
    border-radius: 0 5px 5px 0;
}

#card {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid #999;
    cursor: pointer;
}
@media screen and (min-width: 992px){
    #card {
        width: 80%;
        margin: auto;
    }
}
#card::before {
    content: "";
    display: block;
    width: 100%;
    padding-top: 100%;
}
#yomi-card {
    position: relative;
}
.y-seigyo,
.e-seigyo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}
.y-seigyo {
    z-index: 1;
}
.e-seigyo {
    z-index: 0;
}
.zindex3 {
    z-index: 3!important;
}
.hyouji {
    display: block;
}
.y-seigyo img,
.e-seigyo img {
    display: block;
    width: 100%;
    height: auto;
}
#e-card {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: none;
    z-index: 2;
}

#card span {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    background-repeat: repeat;
    background-position: center;
    background-size: contain;
    z-index: 4;
}
#card span img {
    width: 100%;
    height: auto;
}
#end-card-div {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1;
}


nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}
nav ul {
    list-style: none;
    padding: 0px;
	margin: 0px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: nowrap;
    width: 100%;
    gap: 10px;
}
nav ul li:nth-of-type(1),
nav ul li:nth-of-type(3){
    width: 30%;
}
nav ul li:nth-of-type(2) {
    width: 40%;
}
nav ul li:nth-of-type(2) div {
    position: relative;
    max-width: 180px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
}
nav ul li:nth-of-type(2) div:before {
    content: "";
    display: block;
    width: 100%;
    padding-top: 100%;
}
.btn-nomal {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #FFE0A2;
    cursor: pointer;
    font-weight: bold;
}
.btn-left {
    padding: 10px 10px 10px 0px;
    border-radius: 0 60px 0 0;
}
.btn-right {
    padding: 10px 0px 10px 10px;
    border-radius: 60px 0 0 0;
}
#btnnext {
    cursor: pointer;
    background: url("../img/btn-next.png") no-repeat center center;
    background-size: contain;
}
#btnnext h6 {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: block;
    text-align: center;
    color: #000;
}
#btntitle {
    display: none;
    padding: 5px;
    background-color: #b36e00;
    border-radius: 50%;
    cursor: pointer;
}
#btntitle h6 {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: #FFF;
    text-align: center;
    width: 100%;
    padding: 10px;
    display: block;
}
button {
    width: 100%;
    padding: 5px;
}

body {
    background: url("../img/bg.jpg") repeat 0 0;
    background-size: auto;
    background-size: 300px;
    background-color:rgba(255,255,255,0.5);
    background-blend-mode:lighten;
    animation: bg-scrolling 30s infinite;
    animation-timing-function: linear;
}
@keyframes bg-scrolling-reverse {
    100% {
        background-position: 300px 300px;
    }
}
@keyframes bg-scrolling {
    0% {
        background-position: 300px 300px;
    }
}
/*タイマー*/
.animetime {
    position: absolute;
    top: 0;
    right: 0;
    width: 0%;
    height: 100%;
    display: block;
    background-color: rgb(0, 0, 0);
}


/*タイトル*/
#title-aera1 {
    height: 40%;
    position: relative;
}
#title-aera1::after {
    content: "";
    background-image: url("../img/type-nihon.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    padding-top: 22%;
    width: 22%;
    display: block;
    margin: auto;
    position: absolute;
    bottom: 5%;
    right: 0px;
    z-index: 2;
}
#title-aera1 h1 {
    width: 100%;
    height: 100%;
    position: relative;
}
#title-aera1 h1::after {
    content: "";
    background-image: url("../img/bg-nihon.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    height: 100%;
    width: 100%;
    display: block;
    margin: auto;
}
#title-aera1 h1 img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 2;
    width: auto;
    height: 80%;
    display: block;
    margin: auto;
}
#title-aera2 {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    align-items: center;
}
#title-aera2::after {
    display: block;
    position: absolute;
    bottom: 0;
    content: "";
    width: 100%;
    padding-top: 100%;
    background-image: url("../img/img-title.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain;
}
#start-btn {
    background-color: red;
    border: 4px solid #ffee00;
    color: #FFF;
    padding: 10px;
    text-align: center;
    border-radius: 50px;
    cursor: pointer;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.6);
}
#set-btn {
    background-color: rgb(52, 123, 255);
    border: 4px solid #92c5ff;
    color: #FFF;
    padding: 10px;
    text-align: center;
    border-radius: 50px;
    cursor: pointer;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.6);
}
#howto-btn {
    background-color: rgb(77, 77, 77);
    border: 4px solid #bebebe;
    color: #FFF;
    padding: 10px;
    text-align: center;
    border-radius: 50px;
    cursor: pointer;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.6);
}
#start-section {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    background-color: #EB6EA5;
}
@media screen and (min-width: 992px){
    #start-section {
        min-height: 780px;
    }
}
#start-section::before {
    content: "";
    width: 30%;
    padding-top: 100px;
    background-image: url("../img/jp-lt.png");
    background-position: top left;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
#start-section::after {
    content: "";
    width: 30%;
    padding-top: 100px;
    background-image: url("../img/jp-rt.png");
    background-position: top right;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
}
#acceptance-btn {
    padding: 10px;
    display: block;
    background-color: red;
    color: #FFF;
    border-radius: 50px;
    cursor: pointer;
}

/*ボタン　タイトルへ*/
.btn-header {
	cursor: pointer;
	padding: 5px;
	background-color: rgba(255,255,255,0.60);
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
    line-height: 145%;
    font-weight: bold;
    font-size: 1.2rem;
}
i {
	font-size: 2.0rem;
}

/*横向きでの隠し*/
#yoko-hide {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: #666;
    color: #FFF;
    z-index: 9999999;
}

/*ボタンの反応をブロック*/
.btn-block {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	display: block;
	background-color: rgba(0,0,0,0.50);
    z-index: 99;
}

/*情報エリア*/
#info-div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 2% 20px 0px 20px;
}
#info-div > div {
    flex: 1;
    padding: 5px 10px;
    border-radius: 20px;
    background-color: #FFF;
    color: #000;
    text-align: center;
    border: 2px solid #ffe0a2;
    overflow: hidden;
}

/*設定*/
#setting-section {
    width: 100%;
    height: 100%;
    display: none;
}
#set-cont {
    overflow-y: scroll;
    height: 100dvh;
    /*スクロールバー非表示（IE・Edge）*/
    scrollbar-width: none;
    /*スクロールバー非表示（Firefox）*/
    -ms-overflow-style: none;
}
/*スクロールバー非表示（Chrome・Safari）*/
#set-cont::-webkit-scrollbar{
    display:none;
  }

.block-bg {
    background-color: rgba(255,255,255,0.90);
    padding: 10px;
    border: 3px solid #000;
}
.block-bg + .block-bg {
    margin-top: 10px;
}
.set-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}
.set-list input[type="radio"] {
    clip: rect(0 0 0 0);
    clip-path: inset(100%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
.set-list input[type="radio"]:checked + span {
    box-shadow: 0 0 0 0.0625em #0043ed;
    background-color: #dee7ff;
    z-index: 1;
    color: #0043ed;
}
label span {
    display: block;
    cursor: pointer;
    background-color: #fff;
    line-height: 100%;
    padding: 0.375em .75em;
    position: relative;
    margin-left: .0625em;
    box-shadow: 0 0 0 0.0625em #b5bfd9;
    letter-spacing: .05em;
    color: #3e4963;
    text-align: center;
    transition: background-color .5s ease;
}
label:first-child span {
    border-radius: .375em 0 0 .375em;
}
label:last-child span {
    border-radius: 0 .375em .375em 0;
}
.btn-back {
    background-color: rgb(77, 77, 77);
    border: 4px solid #bebebe;
    color: #FFF;
    padding: 10px;
    text-align: center;
    border-radius: 50px;
    cursor: pointer;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.6);
}
/*設定アコーディオン*/
.acc-title {
    position: relative;
    cursor: pointer;
}
.acc-title::before{/* 閉じている時 */
	content: "";
	position: absolute;
    width: 20px;
    height: 1px;
    background-color: #000;
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
}
.acc-title::after {
    content: "";
	position: absolute;
    width: 1px;
    height: 20px;
    background-color: #000;
    top: 50%;
    right: 10px;
    transform-origin:center;
    transform: translateY(-50%);
    transition: ease-in 0.3s;
}
.acc-title.active::after{/* 開いている時 */
	transform: translateY(-50%) rotate(90deg);
}
.acc-cont {
    display: none;;
}