@charset "utf-8";

:root {
    --base-font-size: 0.26rem;
    --base-font-color: #eaeaea;
    --base-line-height: 1.3;
    --base-min-width: 360px;
    --base-max-width: 768px;
    --base-border-radius: 0.2rem;
}

html {
    font-size: clamp(50px, calc(100vw / 7.5), 100px);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Droid Sans", system-ui, sans-serif;
    font-size: var(--base-font-size);
    line-height: var(--base-line-height);
    color: var(--base-font-color);
    background-color: #000;
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

p {
    margin: 0.8em 0;
}

a {
    color: #000;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

input,
select,
textarea {
    border: none;
    outline: none;
}

.app {
    max-width: var(--base-max-width);
    min-width: var(--base-min-width);
    margin: 0 auto;
}

.header {
    position: relative;
}

.header h1 {
    display: none;
}

.header-links {
    display: flex;
    position: absolute;
    top: 0.12rem;
    right: 0.1rem;
    z-index: 1;
    padding: 0;
    margin: 0;
}
.header-links li {
    flex: none;
    width: 0.6rem;
    margin-right: 0.1rem;
}
.header-links li:last-child {
    margin-right: 0;
}
.header-links li a {
    display: block;
    font-size: 0;
}

.header-info {
    display: flex;
    position: absolute;
    top: 0.92rem;
    right: 0.1rem;
    z-index: 1;
    padding: 0;
    margin: 0;
}
.header-info li {
    flex: none;
    width: 0.6rem;
    margin-right: 0.1rem;
}
.header-info li:last-child {
    margin-right: 0;
}
.header-info li a {
    display: block;
    font-size: 0;
}

.tabs {
    display: flex;
    justify-content: space-evenly;
    height: 0.8rem;
    background: url("//contentjp.fingerfun.co.jp/image/jpkof98/2608zfyy/tabs-bg.jpg") no-repeat;
    background-size: 100% 100%;
}
.tabs li {
    flex: auto;
}
.tabs li a {
    display: block;
    height: 100%;
    font-size: 0;
}
.tabs.tab2 {
    background: url("//contentjp.fingerfun.co.jp/image/jpkof98/2608zfyy/tabs-bg2.jpg") no-repeat;
    background-size: 100% 100%;
}

.page1-s2 {
    height: 2.15rem;
    padding-top: 0.52rem;
    background: url("//contentjp.fingerfun.co.jp/image/jpkof98/2608zfyy/page1-s2-bg.jpg") no-repeat;
    background-size: 100% 100%;
    box-sizing: border-box;
}
.page1-s2-btn {
    width: 3rem;
    margin: 0 auto;
    transform: translateX(0.12rem);
}
.page1-s2-btn a {
    display: block;
    height: 100%;
}

.page1-s3 {
    height: 6.46rem;
    padding-top: 5rem;
    background: url("//contentjp.fingerfun.co.jp/image/jpkof98/2608zfyy/page1-s3-bg.jpg") no-repeat;
    background-size: 100% 100%;
    box-sizing: border-box;
}
.page1-s3-btn {
    width: 3rem;
    margin: 0 auto;
    transform: translateX(0.12rem);
}
.page1-s3-btn a {
    display: block;
    height: 100%;
}

.page1-s5 {
    height: 8.76rem;
    padding-top: 1.9rem;
    background: url("//contentjp.fingerfun.co.jp/image/jpkof98/2608zfyy/page1-s5-bg.jpg") no-repeat;
    background-size: 100% 100%;
    box-sizing: border-box;
}
.page1-reservations {
    width: 5.2rem;
    height: 0.7rem;
    margin: 0 auto;
    padding: 0 0.3rem;
    line-height: 0.7rem;
    background: url("//contentjp.fingerfun.co.jp/image/jpkof98/2608zfyy/reservations.png") no-repeat;
    background-size: 100% 100%;
    box-sizing: border-box;
}
.page1-reservations h3 {
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 1.5em;
    color: #2b9b13;
    text-align: right;
}
.page1-s5-progress {
    position: relative;
    margin: 0.4rem auto 0;
    width: 5.66rem;
    height: 4.2rem;
    background: url("//contentjp.fingerfun.co.jp/image/jpkof98/2608zfyy/page1-s5-bg2.png") no-repeat;
    background-size: 100% 100%;
}
.page1-s5-progress li {
    position: absolute;
}
.page1-s5-progress li header {
    width: 0.7rem;
    height: 0.7rem;
    padding: 0.2rem;
    background: url("//contentjp.fingerfun.co.jp/image/jpkof98/2608zfyy/page1-s5-rewardbg1.png") no-repeat;
    background-size: 100% 100%;
}
.page1-s5-progress li.active header {
    background: url("//contentjp.fingerfun.co.jp/image/jpkof98/2608zfyy/page1-s5-rewardbg2.png") no-repeat;
    background-size: 100% 100%;
}
.page1-s5-progress li h3 {
    margin: 0.06rem 0 0;
    font-size: 1em;
    font-weight: normal;
    text-align: center;
    color: #eccc73;
}
.page1-s5-progress li:nth-child(1) {
    top: 0;
    left: 0;
}
.page1-s5-progress li:nth-child(2) {
    top: 0;
    left: 2.3rem;
}
.page1-s5-progress li:nth-child(3) {
    top: 0;
    right: 0;
}
.page1-s5-progress li:nth-child(4) {
    top: 1.62rem;
    right: 1.26rem;
}
.page1-s5-progress li:nth-child(5) {
    top: 1.62rem;
    left: 1.3rem;
}
.page1-s5-progress li:nth-child(6) {
    top: 3.24rem;
    left: 0;
}
.page1-s5-progress li:nth-child(7) {
    top: 3.24rem;
    left: 2.3rem;
}
.page1-s5-progress li:nth-child(8) {
    top: 3.24rem;
    right: 0;
}

.page2-p1, .page2-p2, .page2-p3 {
    padding: 0.1rem 0;
}
.page2-p1 div:first-child, .page2-p1 h3:first-child, .page2-p2 div:first-child, .page2-p2 h3:first-child, .page2-p3 div:first-child, .page2-p3 h3:first-child {
    margin-top: 0;
}
.page2-p1-title {
    width: 4.2rem;
    margin: 0.2rem auto;
}

.tabcontent {
    background: url("//contentjp.fingerfun.co.jp/image/jpkof98/2608zfyy/page2-bg.jpg") no-repeat center top;
    background-size: cover;
}

.tabs2 {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 0.2rem 0;
}
.tabs2 li {
    flex: none;
    width: 2.04rem;
    height: 0.81rem;
    padding-top: 0.18rem;
    padding-right: 0.06rem;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    color: #3e2002;
    background: url("//contentjp.fingerfun.co.jp/image/jpkof98/2608zfyy/page2-tabsbutton-bg1.png") no-repeat;
    background-size: 100% 100%;
    box-sizing: border-box;
}
.tabs2 li.active {
    background: url("//contentjp.fingerfun.co.jp/image/jpkof98/2608zfyy/page2-tabsbutton-bg2.png") no-repeat;
    background-size: 100% 100%;
}
.tabs2 li a {
    display: block;
    height: 100%;
    color: #3e2002;
}
.tabs2 li.active a {
    color: #e90502;
}

.puzzlebox {
    margin: 0.1rem 0.3rem;
    border: 0.1rem solid #000;
    border-radius: var(--base-border-radius);
    background-color: #000;
    overflow: hidden;
}

.puzzle-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.1rem;
    overflow: hidden;
}
.puzzle-list li {
    position: relative;
    color: #fff;
}
.puzzle-list li aside {
    position: absolute;
    right: 0.06rem;
    bottom: 0;
    text-shadow: -1px -1px 2px rgba(0, 0, 0, 0.9), 1px 1px 2px rgba(0, 0, 0, 0.9);
}
.puzzle-list li.selected {
    border: 2px solid #ffde00;
}
.puzzle-list .cover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.list-mission {
    margin: 0.2rem 0.3rem;
}
.list-mission > li {
    display: flex;
    align-items: center;
    padding: 0.12rem 0.12rem 0.12rem 0.3rem;
    margin: 0.12rem 0;
    border-radius: 10rem;
    background-color: #000;
}

.list-mission > li h4 {
    flex: auto;
    margin: 0;
    font-size: 1.1em;
    font-weight: normal;
    color: #fff;
}

.list-mission > li footer {
    flex: none;
    margin-left: 0.1rem;
}

.list-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.list-button li {
    flex: auto;
    margin: 0 0.2rem;
    text-align: center;
}

.gray {
    filter: grayscale(1);
    opacity: 0.8;
}
.img-gray {
    filter: grayscale(1) contrast(0.6);
    opacity: 0.8;
}

.scrollbox {
    max-height: 65vh;
    overflow-y: auto;
}

.message {
    position: fixed;
    top: 2%;
    left: 3%;
    right: 3%;
    z-index: 50;
    border: 1px solid #999;
    border-radius: 6px;
    text-align: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 1px 6px 1px rgba(0, 0, 0, 0.8);
    box-sizing: border-box;
    --animate-duration: 0.3s;
}
.message article {
    max-width: 750px;
    margin: 0 auto;
    padding: 0.2rem 0.3rem;
}

.mask {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    background-color: rgba(0, 0, 0, 0.8);
}
.mask-box {
    position: relative;
    width: 6.9rem;
    padding: 0.2rem;
    border-radius: var(--base-border-radius);
    background-color: #f4f4f4;
    box-sizing: border-box;
    color: #555;
}
.mask-box h3 {
    margin: 0;
    font-size: 1.3em;
    text-align: center;
    color: #000;
}
.btn-popclose {
    display: block;
    position: absolute;
    bottom: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 0.7rem;
    height: 0.7rem;
    background: url("//contentjp.fingerfun.co.jp/image/jpkof98/2608zfyy/icon-popclose.png") no-repeat;
    background-size: 100% 100%;
}

.form-item {
    display: flex;
    margin: 0.2rem 0;
}

.form-item label {
    display: block;
    flex: none;
    align-self: center;
    width: 2rem;
    font-size: 0.9em;
    text-align: right;
    color: #777;
}

.form-content {
    flex: auto;
    margin: 0 0.2rem;
    font-size: 1em;
    word-break: break-all;
}

.form-content input,
.form-content select {
    display: block;
    width: 100%;
    padding: 0.7em 0.5em;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    background-color: #fff;
    font-size: 1.1em;
}

.copyable-text {
    border: 1px dashed #555;
    padding: 0.1rem 0.2rem;
    margin: 0.2rem 0;
    font-size: 1.1em;
    word-break: break-all;
    color: #000;
}

.piecebox {
    position: relative;
    width: 1.8rem;
    margin: 0.2rem auto;
}

.serial {
    position: absolute;
    bottom: 0;
    right: 0.06rem;
}

.serial h4 {
    margin: 0;
    font-size: 1.1em;
    color: #fff;
    text-shadow: -1px -1px 2px rgba(0, 0, 0, 0.9), 1px 1px 2px rgba(0, 0, 0, 0.9);
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    margin: 0.2rem 0;
    border: 1px solid #ccc;
    background-color: #fff;
}
table th,
table td {
    padding: 0.5em 0.8em;
    border: 1px solid #ccc;
    color: #000;
}
table th {
    font-weight: normal;
    background-color: #e1e1e1;
}
table td {
    color: #555;
}

.btn-black {
    display: inline-block;
    padding: 0.6em 1.5em;
    border-radius: 10rem;
    background-color: #000;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    color: #fff;
}
.btn-gray {
    display: inline-block;
    padding: 0.6em 1.5em;
    border-radius: 10rem;
    background-color: #999;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    color: #666;
}
.btn-task {
    display: inline-block;
    padding: 0.5em 1.5em;
    border-radius: 10rem;
    background: linear-gradient(120deg, #fce98e, #fa6450);
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    color: #000;
}

.text-center {
    text-align: center;
}

.mt {
    margin-top: 0.3rem;
}