@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

:root {
    --base-font-size: 16px;
    --base-font-color: #cacaca;
    --base-min-width: 375px;
    --base-max-width: 1200px;
    --topbar-height: .8rem;
}

html {
    font-size: clamp(50px, 100vw / 750 * 100, 100px);
}

body {
    font-family: Arial, 'Helvetica Neue', system-ui, -apple-system, sans-serif;
    font-size: var(--base-font-size);
    line-height: 1.5;
    color: var(--base-font-color);
    background-color: #212121;
}

ul,
ol {
    list-style: none;
}

a {
    color: #fff;
    text-decoration: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

a:hover {
    color: #fff;
}

p {
    margin: 1.1em 0;
}

.wrapper {
    width: 100%;
    max-width: var(--base-max-width);
    min-width: var(--base-min-width);
    margin: auto;
    box-sizing: border-box;
}

.topbar {
    width: 100%;
    min-width: var(--base-min-width);
    height: var(--topbar-height);
    background-color: #131313;
}

.topbar .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--topbar-height);
}

.topbar h1 {
    flex: none;
    order: 1;
}

.topbar h1 a {
    display: block;
    width: 1.3rem;
    height: .5rem;
    margin: auto;
    font-size: 0;
    line-height: 0;
    background: url("//content.gamebean.com/image/playcrab/website/logo.png") no-repeat;
    background-size: 100% 100%;
}

.menu {
    flex: auto;
    order: 2;
    margin: 0 .4rem;
}

.menu-switch a {
    display: none;
    height: .4rem;
    width: .49rem;
    font-size: 0;
    line-height: 0;
    background: url("//content.gamebean.com/image/playcrab/website/icon-menu.png") no-repeat;
    background-size: 100% 100%;
}

.menu-list {
    display: flex;
    justify-content: flex-end;
}

.menu-list > li {
    position: relative;
    margin-left: .4rem;
}

.menu-list > li:first-child {
    margin-left: 0;
}

.menu-list > li.active::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: .48rem;
    height: 1px;
    border-bottom: 3px solid #ff7800;
}

.menu-list a:hover {
    font-weight: bold;
}

.language-box {
    position: relative;
    flex: none;
    order: 3;
    border-radius: 100px;
    border: 1px solid #fff;
}

.language-box > a {
    display: block;
    position: relative;
    width: 1rem;
    padding: .04rem .1rem .04rem 0;
    color: #fff;
    word-break: keep-all;
    white-space: nowrap;
    text-align: center;
    box-sizing: border-box;
}

.language-box > a::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: 6px;
    width: 0;
    height: 0;
    line-height: 0;
    border-width: 5px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    transform: translateY(-2px);
}

.language-box > a:hover {
    font-weight: normal;
}

.languages {
    position: absolute;
    top: .4rem;
    left: 0;
    right: 0;
    z-index: 2;
    padding: .1rem 0;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 1);
}

.languages li a {
    display: block;
    padding: .1rem .2rem;
    color: var(--base-font-color);
}

.languages li a:hover {
    color: #fff;
}

.footer {
    width: 100%;
    min-width: var(--base-min-width);
    padding: .3rem 0;
    background-color: #131313;
    font-size: .9em;
    line-height: 1.2;
    text-align: center;
    color: #a4a3a3;
}

.footer h2 {
    width: 2.4rem;
    height: .4rem;
    margin: 0 auto .3rem;
    font-size: 0;
    line-height: 0;
    background: url("//content.gamebean.com/image/playcrab/website/footer-logo.png") no-repeat;
    background-size: 100% 100%;
}

.footer a {
    color: #a4a3a3;
}

.footer a:hover {
    font-weight: normal;
    color: #fff;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links li {
    flex: none;
    text-align: center;
    word-break: keep-all;
    white-space: nowrap;
}

.footer-links li a {
    display: block;
    padding: 0 .2rem;
    border-right: 1px solid #a4a3a3;
}

.footer-certificates {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-certificates li {
    flex: none;
    margin: 0 .1rem;
}

.main {
    width: 100%;
    max-width: var(--base-max-width);
    margin: 0 auto;
    padding-top: .1rem;
    padding-bottom: .1rem;
    box-sizing: border-box;
}

.card-box {
    margin: .3rem 0;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: .2rem;
}

.card-header h2 {
    flex: none;
    font-size: 1.5em;
    color: #fc5f12;
}

.card-header h3 {
    flex: none;
    margin-left: .1rem;
    font-size: 1em;
    font-weight: normal;
    color: #7b7b7b;
}

.card-more {
    flex: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.card-more i {
    display: block;
    width: .18rem;
    height: .18rem;
    margin-right: .04rem;
    background: url("//content.gamebean.com/image/playcrab/website/icon-plus.png") no-repeat;
    background-size: 100% 100%;
}

.card-more a {
    color: #7b7b7b;
}

.card-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: .3rem;
}

.card-list > li {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.card-list > li > img {
    display: block;
    width: 100%;
    height: auto;
}

.introduction1 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: .4rem .3rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    opacity: 0;
    transition: opacity .4s ease-in-out;
}

.card-list > li:hover .introduction1 {
    opacity: 1;
}

.introduction1 dl {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.introduction1 dt {
    flex: none;
    width: 1rem;
    margin-right: .2rem;
    border-radius: .2rem;
    overflow: hidden;
}

.introduction1 dt img {
    display: block;
    width: 100%;
    height: auto;
}

.introduction1 dd {
    flex: auto;
}

.introduction1 dd > h4 {
    font-size: 1.3em;
    font-weight: normal;
    line-height: 1.1;
    color: #fff;
}

.introduction1 dd > p {
    margin: .7em 0;
}

.introduction1 dd a {
    display: inline-block;
    padding: .1rem .5rem;
    border: 1px solid #fff;
    border-radius: 8px;
    color: #fff;
}

.introduction2 {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background-color: rgba(0, 0, 0, .6);
}

.introduction2 article {
    width: 1.6rem;
    margin: .5rem auto 0;
}

.introduction2 article img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: .2rem;
}

.introduction2 article a {
    display: block;
    padding: .1rem 0;
    border: 1px solid #fff;
    border-radius: 6px;
    text-align: center;
}

.card-list > li:hover .introduction2 {
    display: block;
}

.description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    height: 1.5rem;
    padding: .2rem .2rem 0;
    background-color: #131313;
    box-sizing: border-box;
}

.description h4 {
    font-size: 1.4em;
    line-height: 1.2;
    color: #fff;
}

.description p {
    margin: .7em 0;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: .3rem;
}

.news-list > li {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.news-list-img {
    height: 2.1rem;
    overflow: hidden;
}

.news-list-img img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .4s ease-in-out;
}

.news-list > li:hover .news-list-img img {
    transform: scale(1.08);
}

.news-list-content {
    padding: .2rem;
    background-color: #131313;
    overflow: hidden;
}

.news-list-content h4 {
    font-size: 1.2em;
    font-weight: normal;
    line-height: 1.3;
    color: #fff;
}

.news-list-content p {
    margin: .8em 0;
}

.news-list-content p:last-child {
    margin-bottom: 0;
}

.headimage {
    width: 100%;
}

.headimage img {
    display: block;
    width: 100%;
    height: auto;
}

.text-c {
    text-align: center;
}

.text-r {
    text-align: right;
}


@media screen and (max-width: 768px) {
    :root {
        --base-font-size: 14px;
    }

    .topbar .wrapper {
        justify-content: center;
        padding-left: .3rem;
        padding-right: .3rem;
    }

    .topbar h1 {
        flex: auto;
        order: 2;
    }

    .menu {
        position: relative;
        flex: none;
        order: 1;
        margin: 0;
    }

    .menu-switch a {
        display: block;
    }

    .menu-list {
        display: none;
        position: absolute;
        top: .58rem;
        left: 0;
        z-index: 2;
        padding: 0 .3rem;
        border-radius: 8px;
        background-color: rgba(0, 0, 0, 0.8);
        word-break: keep-all;
        white-space: nowrap;
        box-sizing: border-box;
    }

    .menu-list > li {
        margin: 0;
        border-bottom: 1px solid #1b1b1b;
    }

    .menu-list > li:last-child {
        border-bottom: none;
    }

    .menu-list > li a {
        display: block;
        padding: 0.2rem 0;
    }

    .menu-list > li.active::after {
        top: auto;
        bottom: 0;
    }

    .language-box {
        order: 3;
    }

    .language-box > a {
        width: 1.6rem;
    }

    .languages {
        top: .58rem;
        background-color: rgba(0, 0, 0, .8);
    }

    .languages li a {
        padding: 0.16rem 0.3rem;
    }

    .footer .wrapper {
        padding-left: .3rem;
        padding-right: .3rem;
    }

    .footer-links li {
        margin: .1rem 0;
    }

    .footer-certificates li {
        margin: .1rem;
    }

    .main {
        padding-left: .3rem;
        padding-right: .3rem;
    }

    .card-box {
        margin: .4rem 0;
    }

    .card-list,
    .news-list {
        grid-template-columns: 1fr;
    }

    .introduction1 {
        padding: .4rem;
        opacity: 1;
        transition: none;
    }

    .introduction1 dt {
        width: 1.4rem;
        margin-right: .3rem;
        border-radius: .3rem;
    }

    .description {
        height: 2.1rem;
        padding: .3rem .3rem 0;
    }

    .news-list-img {
        height: 4rem;
    }

    .news-list-content {
        padding: .3rem;
    }
}