@charset "utf-8";

:root {
    --base-font-size: 0.28rem;
    --base-font-color: #bbb;
    --base-line-height: 1.3;
    --base-min-width: 320px;
    --base-max-width: 768px;
    --base-border-radius: 0.2rem;
}

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

body {
    font-family: 'Droid Sans', Helvetica, "-apple-system", "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: var(--base-font-color);
    text-decoration: none;
}

h2 {
    margin: 0.3rem 0.4rem;
    font-size: 0;
    line-height: 0;
}

h3 {
    margin: 0.8em 0;
    font-size: 1.3em;
    color: #000;
    text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff;
}

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

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

.wrapper {
    max-width: var(--base-max-width);
    min-width: var(--base-min-width);
    margin: 0 auto;
    background: url("//contentjp.fingerfun.co.jp/image/jpkof98/202605suipian/bg.jpg") repeat-y center 13.8rem;
    background-size: 100% auto;
}

.header {
    height: 13.46rem;
    padding: 0.2rem;
    background: url("//contentjp.fingerfun.co.jp/image/jpkof98/202605suipian/header-bg.jpg") no-repeat center top;
    background-size: cover;
    box-sizing: border-box;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-l,
.header-top-r {
    display: flex;
}

.header-top-l li {
    margin-right: 0.2rem;
}

.header-top-l li a,
.header-top-r li a {
    display: block;
    height: 0.64rem;
}

.header-top-l li img,
.header-top-r li img {
    height: 100%;
    width: auto;
}

.header-top-r li {
    margin-left: 0.2rem;
}

.footer {
    padding: 0.2rem;
    background-color: #fff;
}

.main {
    padding: 0.3rem 0.2rem;
}

.card {
    margin: 0.2rem 0;
}

.card-tabs {
    display: flex;
    height: 0.73rem;
}

.card-tabs>li {
    flex: auto;
}

.card-tabs>li a {
    display: block;
    height: 100%;
    font-size: 0;
    line-height: 0;
}

.card-tabs.tab1 {
    background: url("//contentjp.fingerfun.co.jp/image/jpkof98/202605suipian/card-tab1bg.png") no-repeat center top;
    background-size: 100% 100%;
}

.card-tabs.tab2 {
    background: url("//contentjp.fingerfun.co.jp/image/jpkof98/202605suipian/card-tab2bg.png") no-repeat center top;
    background-size: 100% 100%;
}

.card-tabs.tab3 {
    background: url("//contentjp.fingerfun.co.jp/image/jpkof98/202605suipian/card-tab3bg.png") no-repeat center top;
    background-size: 100% 100%;
}

.tab1 li:first-child {
    flex: none;
    width: 2.9rem;
}

.card-body {
    padding: 0.2rem;
    border-radius: 0 0 var(--base-border-radius) var(--base-border-radius);
    background: url("//contentjp.fingerfun.co.jp/image/jpkof98/202605suipian/card-bg.jpg") no-repeat center top;
    background-size: 100% 100%;
}

.card-box,
.puzzle-box {
    border-radius: 0.32rem;
    padding: 0.1rem;
    background-color: #000;
    overflow: hidden;
}
.puzzle-pic {
    border-radius: var(--base-border-radius);
    overflow: hidden;
}

.card-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.1rem;
    border-radius: var(--base-border-radius);
    overflow: hidden;
}

.card-list>li,
.puzzle-list>li {
    position: relative;
}

.card-list>li .cover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.puzzle-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.1rem;
    border-radius: var(--base-border-radius);
    overflow: hidden;
}

.puzzle-list>li.selected {
    border: 2px solid #ff0000;
}

.puzzle-list>li span {
    position: absolute;
    bottom: 0;
    right: 0.06rem;
    font-size: 1.1em;
    color: #fff;
    text-shadow: 0 0 3px #000, 0 0 3px #000, 0 0 3px #000, 0 0 3px #000;
}

.board {
    height: 10.85rem;
    margin-top: 0.2rem;
    padding: 1.1rem 0.3rem 0 0.3rem;
    background: url("//contentjp.fingerfun.co.jp/image/jpkof98/202605suipian/board-bg.png") no-repeat center top;
    background-size: 100% 100%;
    box-sizing: border-box;
}

.board-text {
    font-size: 0.75em;
    line-height: 1.2;
    color: #000;
    text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff;
}

.board-text2 {
    padding-left: 0.4rem;
    font-size: 0.8em;
    color: #000;
    text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff;
    background: url("//contentjp.fingerfun.co.jp/image/jpkof98/202605suipian/icon-arrow-r.png") no-repeat left top;
    background-size: 0.3rem 0.3rem;
}

.board-content {
    padding: 0.28rem;
    border-radius: var(--base-border-radius);
    background-color: #000;
}

.board-content article {
    min-height: 5em;
    max-height: 8em;
    overflow-y: auto;
    color: #aaa;
    line-height: 2.14;
    background: url('//contentjp.fingerfun.co.jp/image/jpkof98/202605suipian/text-bg.gif') no-repeat;
}

.board-content article p:first-child {
    margin-top: 0;
}

.board-button {
    margin-top: 0.2rem;
    text-align: right;
}

.coins {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.44rem;
}

.coins>li {
    flex: auto;
}

.coins>li header {
    position: relative;
}

.coins>li header h5 {
    position: absolute;
    top: -0.2rem;
    right: 0.1rem;
    width: 0.44rem;
    height: 0.44rem;
    margin: 0;
    line-height: 0.44rem;
    border-radius: 50%;
    font-size: 0.7em;
    font-weight: normal;
    text-align: center;
    color: #fff;
    background-color: #f7233c;
}

.coins>li.coins-item {
    flex: none;
    width: 1.3rem;
    text-align: center;
}

.coins-item h4,
.serial h4 {
    margin: 0;
    font-size: 1em;
    color: #000;
    text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff;
}

.coins>li.coins-arrow {
    flex: none;
    width: 0.4rem;
}

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

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

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

.message {
    position: fixed;
    top: 2vh;
    left: 3vw;
    right: 3vw;
    z-index: 90;
    border: 1px solid #666;
    border-radius: var(--base-border-radius);
    text-align: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.7);
    --animate-duration: 0.3s;
}

.message article {
    max-width: var(--base-max-width);
    margin: 0 auto;
    padding: 0.2rem 0.3rem;
    box-sizing: border-box;
}

.mask {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background-color: rgba(0, 0, 0, 0.7);
}

.mask-box {
    position: relative;
    width: 95vw;
    max-width: var(--base-max-width);
    padding: 0.3rem 0.2rem;
    border-radius: var(--base-border-radius);
    background-color: #2a2a2a;
    box-sizing: border-box;
    box-shadow: 0 0 6px rgba(0, 0, 0, 1);
}

.mask-box h3 {
    text-align: center;
}

.mask-box h3:first-child,
.mask-box p:first-child {
    margin-top: 0;
}

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

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

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

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

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

.textarea {
    height: 4rem;
    margin-top: 0.2rem;
    padding: 0.2rem 0.3rem;
    border-radius: var(--base-border-radius);
    background-color: #000;
    box-sizing: border-box;
}

.textarea textarea {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 1em;
    line-height: 1.5;
    background-color: #000;
    color: #fff;
    resize: none;
}

.list-mission>li {
    display: flex;
    align-items: center;
    padding: 0.12rem 0.12rem 0.12rem 0.3rem;
    margin: 0.2rem 0;
    border-radius: 1rem;
    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;
}

.btn-black {
    display: inline-block;
    padding: 0.5em 1.8em;
    border-radius: 1rem;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    background-color: #000;
}

.btn-black a {
    background-image: linear-gradient(45deg, #fbd6e3, #a9ede9);
    background-clip: text;
    color: transparent;
}

.btn-primary {
    display: inline-block;
    padding: 0.5em 1.5em;
    border-radius: 1rem;
    font-size: 1.2em;
    text-align: center;
    color: #fff;
    background-color: #000;
}

.btn-task {
    display: inline-block;
    padding: 0.4em 1.2em;
    border-radius: 1rem;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    color: #000;
    background: linear-gradient(45deg, #fde2ff, #b8a8ff);
}

.btn-send,
.btn-edit {
    display: inline-block;
    padding: 0.4em 1.2em;
    border-radius: 1rem;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background-color: #4d5ff2;
}

.btn-edit {
    background-color: #b96fe7;
}

.btn-close {
    display: block;
    width: 0.68rem;
    height: 0.68rem;
    position: absolute;
    bottom: -0.74rem;
    left: 50%;
    transform: translateX(-50%);
    background: url("//contentjp.fingerfun.co.jp/image/jpkof98/202605suipian/icon-close.png") no-repeat center center;
    background-size: 100% 100%;
}

.gray {
    opacity: 0.7;
    filter: grayscale(100%) contrast(50%);
}

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

.ft-black {
    color: #000;
    text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff;
}

.mt {
    margin-top: 0.3rem;
}

@media screen and (max-width: 768px) {
    :root {
        --base-font-size: 14px;
    }
}