@charset "utf-8";

#index header {
    margin-bottom: 15px;
}

#index header #header-top #main-logo h1 {
    color: var(--light-black);
    font-family: var(--font-bold);
    font-size: 11.2px;
    font-weight: normal;
    left: 48px;
    letter-spacing: 0;
    position: absolute;
    top: 8px;
}

#index header #header-top #main-logo h1 span {
    margin-left: -0.25em;
}

#index header #header-top #main-logo h1:after {
    content: none;
    height: 0;
}

header {
    box-shadow: 0 5px 3px -3px rgb(0 0 0 / 10%);
    box-sizing: border-box;
    margin-bottom: 25px;
    padding: 15px 0;
    width: 100%;
}

header #header-top {
    display: flow-root;
    margin: 0 auto 22px;
    width: 1120px;
}

header #header-top section {
    clear: inherit;
}

header #header-top a {
    color: var(--navy);
}

header #header-top a:hover {
    text-decoration: underline;
}

header #header-top #main-logo {
    float: left;
    height: 62px;
    margin: 0 20px 0 0;
    width: 350px;
}

header #header-top #main-logo p {
    color: var(--light-black);
    display: block;
    font-family: var(--font-bold);
    font-size: 11.2px;
    left: 48px;
    letter-spacing: 0;
    line-height: 22px;
    margin-bottom: 0;
    position: absolute;
    text-align: left;
    top: 3px;
}

header #header-top #main-logo p span {
    margin-left: -0.25em;
}

header #header-top #main-logo p:after {
    content: none;
    height: 0;
}

header #header-top #main-logo a {
    display: block;
    height: 62px;
    position: relative;
    width: 100%;
}

header #header-top #main-logo a:hover {
    border: none;
    opacity: 0.9;
}

header #header-top #welcome {
    float: left;
    margin-right: 5px;
    width: calc(100% - 655px);
}

header #header-top #welcome ul {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    margin-top: 2px;
    width: 100%;
}

header #header-top #welcome ul li:first-child,
header #header-top #welcome ul li:nth-child(2) {
    margin: 0 5px 0 0;
}

header #header-top #welcome ul li:first-child p:after {
    border-right: 1px solid var(--gray);
    content: '';
    display: block;
    float: right;
    height: 16px;
    margin: 6px 0 0 5px;
    width: 1px;
}

header #header-top #welcome ul#welcome-guest li:nth-child(2) {
    display: block;
}

header #header-top #welcome ul#welcome-guest li:nth-child(3),
header #header-top #welcome ul#welcome-guest li:last-child {
    display: none;
}

header #header-top #welcome ul#welcome-login li:first-child p a {
    display: inline;
}

header #header-top #welcome ul#welcome-login li:first-child p a span {
    margin-right: 5px;
}

header #header-top #welcome ul#welcome-login li:nth-child(2) a:after {
    border-right: 1px solid var(--gray);
    content: '';
    display: block;
    float: right;
    height: 16px;
    margin: 6px 0 0 5px;
    width: 1px;
}

header #header-top #welcome ul#welcome-login li:nth-child(2) a span:before {
    display: block;
    float: left;
    height: 12px;
    margin: -1px 3px 0 0;
    width: 18px;
}

header #header-top #welcome ul#welcome-login li:nth-child(2) a span#bronze:before {
    content: url('/assets/images/layout/header/rank/ico_bronze.png');
    content: image-set(url('/assets/images/layout/header/rank/ico_bronze.webp') 1x, url('/assets/images/layout/header/rank/ico_bronze-2x.webp') 2x);
}

header #header-top #welcome ul#welcome-login li:nth-child(2) a span#silver:before {
    content: url('/assets/images/layout/header/rank/ico_silver.png');
    content: image-set(url('/assets/images/layout/header/rank/ico_silver.webp') 1x, url('/assets/images/layout/header/rank/ico_silver-2x.webp') 2x);
}

header #header-top #welcome ul#welcome-login li:nth-child(2) a span#gold:before {
    content: url('/assets/images/layout/header/rank/ico_gold.png');
    content: image-set(url('/assets/images/layout/header/rank/ico_gold.webp') 1x, url('/assets/images/layout/header/rank/ico_gold-2x.webp') 2x);
}

header #header-top #welcome ul#welcome-login li:nth-child(2) a span#platinum:before {
    content: url('/assets/images/layout/header/rank/ico_platinum.png');
    content: image-set(url('/assets/images/layout/header/rank/ico_platinum.webp') 1x, url('/assets/images/layout/header/rank/ico_platinum-2x.webp') 2x);
}

header #header-top #welcome ul#welcome-login li:nth-child(2) a span#diamond:before {
    content: url('/assets/images/layout/header/rank/ico_diamond.png');
    content: image-set(url('/assets/images/layout/header/rank/ico_diamond.webp') 1x, url('/assets/images/layout/header/rank/ico_diamond-2x.webp') 2x);
}

header #header-top #welcome ul#welcome-login li:nth-child(3) {
    display: none;
}

header #header-top #welcome ul#welcome-login li:last-child {
    display: block;
}

header #header-top #button {
    float: right;
    height: 60px;
    width: 280px;
}

header #header-top #button ul {
    box-sizing: border-box;
    display: flex;
    height: 100%;
    width: 100%;
}

header #header-top #button ul li {
    box-sizing: border-box;
    text-align: center;
    width: 70px;
}

header #header-top #button ul li:nth-child(2) a,
header #header-top #button ul li:nth-child(5) a {
    position: relative;
}

header #header-top #button ul li:nth-child(2) a picture + div,
header #header-top #button ul li:nth-child(5) a picture + div {
    background: var(--light-black);
    border-radius: 50%;
    box-sizing: border-box;
    display: block;
    height: 22px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 22px;
}

header #header-top #button ul li:nth-child(2) a:hover picture + div,
header #header-top #button ul li:nth-child(5) a:hover picture + div {
    background: var(--navy);
}

header #header-top #button ul li:nth-child(2) a picture + div span,
header #header-top #button ul li:nth-child(5) a picture + div span {
    color: #fff;
    display: block;
    font-size: 1.3rem;
    letter-spacing: -0.1rem;
    margin: -3px 0 0 -1px;
}

header #header-top #button ul li a {
    display: block;
    height: 100%;
    padding-top: 5px;
    width: 100%;
}

header #header-top #button ul li a:hover {
    background: #fafafa;
    text-decoration: none;
}

header #header-top #button ul li a img {
    display: block;
    height: 33px;
    margin: 0 auto;
    width: 33px;
}

header #header-top #button ul li a p {
    color: var(--light-black);
    font-family: var(--font-bold);
    font-size: 11px;
    line-height: 20px;
}

header #header-top #button ul li a:hover p {
    color: var(--navy);
}

header nav {
    clear: both;
    margin: 0 auto;
    width: 1120px;
}

header nav ul {
    display: flex;
    justify-content: space-around;
}

header nav ul li {
    border-right: 1px solid var(--gray);
    box-sizing: border-box;
    height: 20px;
    width: 159px;
}

header nav ul li:first-child {
    border-left: 1px solid var(--gray);
    width: 160px;
}

header nav ul li:last-child {
    width: 165px;
}

header nav ul li a {
    color: var(--light-black) !important;
    display: block;
    font-family: var(--font-bold);
    line-height: 20px;
    text-align: center;
}

header nav ul li#for-begginers a:before {
    content: url('/assets/images/layout/header/nav/ico_beginners.png');
    content: image-set(url('/assets/images/layout/header/nav/ico_beginners.webp') 1x, url('/assets/images/layout/header/nav/ico_beginners-2x.webp') 2x);
    margin-right: 3px;
}

header nav ul li a:hover {
    color: var(--navy);
    text-decoration: none;
}

header #hamburger-menu {
    display: none;
}

@media screen and (max-width: 1136px) {
    header #header-top {
        margin: 0 2% 15px;
        position: relative;
        width: 96%;
    }

    header #header-top #main-logo {
        margin-bottom: 10px;
    }

    header #header-top #welcome ul li p,
    header #header-top #welcome ul li a {
        font-size: 14px;
    }

    header #header-top #button {
        position: absolute;
        right: 0;
        top: 0;
    }

    header nav {
        margin: 32px 2% 0;
        width: 96%;
    }

    header #header-top #welcome {
        float: none;
        width: calc(100% - 275px);
    }

    header #header-top #welcome ul {
        line-height: 1.6rem;
        margin-bottom: 2px;
        position: absolute;
        top: 70px;
        width: 100%;
    }

    header #header-top #welcome ul#welcome-guest li:first-child p:after,
    header #header-top #welcome ul#welcome-login li:first-child p:after,
    header #header-top #welcome ul#welcome-login li:nth-child(2) a:after{
        margin: 1px 0 0 5px;
    }

    header nav ul li a {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 900px) {
    header nav ul li#for-begginers a:before {
        content: none;
    }
}

@media screen and (max-width: 850px) {
    header nav ul li a {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 770px) {
    header nav ul li a {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 720px) {
    header nav ul li a {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 700px) {
    header {
        background: #fff;
        padding: 5px 0;
        position: fixed;
        top: 0;
        z-index: 110;
    }

    header #header-top {
        margin: 0 2%;
        position: relative;
        width:  96%;
    }

    header #header-top #main-logo {
        height: auto;
        margin: 0;
        width: 100%;
    }

    header #header-top #main-logo a {
        display: block;
        float: left;
        height: 37px;
        margin: 5px 0 9px;
        width: 200px;
    }

    header #header-top #main-logo a p {
        font-size: 6.5px;
        left: 28px;
        top: -2px;
        width: 100%;
    }

    header #header-top #main-logo a img {
        display: block;
        height: auto;
        width: 100%;
    }

    header #header-top #welcome {
        float: none;
        padding: 0;
        width: 100%;
    }

    header #header-top #welcome ul {
        position: static;
    }

    header #header-top #welcome ul li p,
    header #header-top #welcome ul li a {
        font-size: 14px;
    }

    header #header-top #welcome ul#welcome-guest li:first-child {
        display: none;
    }

    header #header-top #welcome ul#welcome-guest li:nth-child(2) {
        border-right: 1px solid var(--gray);
        display: block;
        margin: 0 5px 5px 0;
        padding: 0;
    }

    header #header-top #welcome ul#welcome-guest li:nth-child(3) {
        border-right: 1px solid var(--gray);
        display: block;
        margin: 0 5px 5px 0;
        padding: 0 5px 0 0;
    }

    header #header-top #welcome ul#welcome-guest li:last-child {
        display: block;
        margin: 0 5px 5px 0;
        padding: 0 5px 0 0;
    }

    header #header-top #welcome ul#welcome-login li:first-child p > span {
        display: none;
    }

    header #header-top #welcome ul#welcome-login li:nth-child(3) {
        border-right: 1px solid var(--gray);
        display: block;
        margin: 0 5px 5px 0;
        padding: 0 5px 0 0;
    }

    header #header-top #welcome ul#welcome-login li:nth-child(3) a {
        display: block;
    }

    header #header-top #welcome ul#welcome-login li:last-child a {
        display: block;
    }

    header #header-top #button,
    header nav {
        display: none;
    }

    header:has(#menu-btn-check:checked) #header-top:before {
        background: rgba(0, 0, 0, 0.5);
        content: '';
        display: block;
        height: 100%;
        left: 0;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 110;
    }

    header #hamburger-menu {
        display: block;
    }

    header #hamburger-menu  #menu-btn-check {
        display: none;
    }

    header #hamburger-menu .menu-btn {
        align-items: center;
        box-sizing: border-box;
        cursor: pointer;
        display: flex;
        height: 28px;
        justify-content: center;
        position: fixed;
        right: 17px;
        top: 10px;
        width: 28px;
        z-index: 130;
    }

    header #hamburger-menu:has(#menu-btn-check:checked) .menu-btn {
        background: rgba(255, 255, 255, 0.9);
        height: 40px;
        padding: 8px;
        right: 27px;
        width: 40px;
    }

    header #hamburger-menu .menu-btn:hover {
        opacity: 0.9;
    }

    header #hamburger-menu .menu-btn span,
    header #hamburger-menu .menu-btn span:before,
    header #hamburger-menu .menu-btn span:after {
        background: var(--light-black);
        border-radius: 3px;
        content: '';
        display: block;
        height: 2px;
        position: absolute;
        width: 24px;
    }

    header #hamburger-menu .menu-btn span:before {
        bottom: 8px;
    }

    header #hamburger-menu .menu-btn span:after {
        top: 8px;
    }

    header #hamburger-menu .menu-btn span + span {
        background: none;
        bottom: -15px;
        color: var(--black);
        content: none;
        font-family: 'メイリオ', Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
        font-size: 10px;
        height: auto;
        line-height: 16px;
        width: auto;
    }

    header #hamburger-menu .menu-btn span + span:before,
    header #hamburger-menu .menu-btn span + span:after {
        content: none;
    }

    header #hamburger-menu #menu-btn-check:checked ~ .menu-btn span {
        background: rgba(255, 255, 255, 0);
    }

    header #hamburger-menu #menu-btn-check:checked ~ .menu-btn span:before,
    header #hamburger-menu #menu-btn-check:checked ~ .menu-btn span:after {
        height: 3px;
        background: #208ec1;
    }

    header #hamburger-menu #menu-btn-check:checked ~ .menu-btn span:before {
        bottom: 0;
        transform: rotate(45deg);
    }

    header #hamburger-menu #menu-btn-check:checked ~ .menu-btn span:after {
        top: 0;
        transform: rotate(-45deg);
    }

    header #hamburger-menu #menu-btn-check:checked ~ .menu-btn span + span {
        display: none;
    }

    header #hamburger-menu .menu-content {
        background: linear-gradient(135deg, rgba(37, 126, 167, 0.9) 0%, rgba(0, 174, 255, 0.9) 100%);
        box-sizing: border-box;
        height: 100%;
        left: 100%;
        overflow-y: auto;
        padding: 40px 5% 60px;
        position: fixed;
        top: 0;
        transition: all 0.5s;
        width: 100%;
        z-index: 120;
    }

    header #hamburger-menu:has(#menu-btn-check:checked) .menu-content {
        left: 0;
    }

    header #hamburger-menu .menu-content > a {
        display: block;
        height: 85px;
        margin: 0 auto 30px;
        width: 120px;
    }

    header #hamburger-menu .menu-content > a img {
        display: block;
        height: auto;
        width: 100%;
    }

    header #hamburger-menu #menu p {
        color: #fff;
        font-family: var(--font-bold);
        font-size: 18px;
        letter-spacing: 0.05em;
        margin-bottom: 10px;
    }

    header #hamburger-menu #menu p span {
        font-size: 1.2rem;
        letter-spacing: 0;
        margin-left: 10px;
    }

    header #hamburger-menu #menu ul {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    header #hamburger-menu #menu ul:first-of-type {
        border-bottom: 1px solid #fff;
        margin-bottom: 25px;
        padding-bottom: 20px;
    }

    header #hamburger-menu #menu ul li {
        width: 50%;
    }

    header #hamburger-menu #menu ul li a {
        color: #fff;
        font-size: 15px;
        line-height: 32px;
    }

    header #hamburger-menu #menu ul + a {
        display: block;
        height: auto;
        margin: 25px auto 0;
        max-height: 80px;
        max-width: 400px;
        width: 100%;
    }

    header #hamburger-menu #menu ul + a img {
        display: block;
        height: auto;
        width: 100%;
    }
}

@media screen and (max-width: 400px) {
    header #header-top #welcome ul li:first-child,
    header #header-top #welcome ul li:nth-child(2) {
        margin: 0 5px 5px 0;
    }

    header #hamburger-menu:has(#menu-btn-check:checked) .menu-btn {
        right: 17px;
    }
}

@media screen and (max-width: 374px) {
    header #hamburger-menu #menu ul li a {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 700px) {
    #contents {
        margin-top: 90px;
    }

    #index header #header-top #main-logo h1 {
        font-size: 6.5px;
        left: 28px;
        top: 6px;
        width: 100%;
    }

    #index .swiper {
        margin-top: 100px;
    }
}
