@charset "utf-8";
/* CSS Document */

html {
    font-size: 14px;
}

body {
    font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "游ゴシック体", YuGothic, "メイリオ", Meiryo, sans-serif;
    color: #393939;
    line-height: 1.5;
}

*, *::before, *::after {
    box-sizing: border-box;
}

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

input::-webkit-search-cancel-button {
    appearance: none;
  }

button {
    font-size: 1rem;
}

/* =========================
共通
============================ */

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main {
    padding: 4rem 1rem 3rem;
}

.content {
    padding: 1rem 0;
}

.content-bg {
    background: #FEFAF3;
    border-radius: .5rem;
    padding: 1rem;
    margin: 1rem 0 0;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.container_mid {
    max-width: 600px;
}

.txt-sub {
    color: #a4a4a4;
}

.txt-small {
    font-size: .857142857rem;
    color: #a4a4a4;
    font-weight: normal;
    text-align: left;
}

.txt-primary {
    color: #F39919;
    font-weight: bold;
    font-size: 1rem;
}

.txt-outline {
    font-size: .857142857rem;
    color: #EB161A;
    display: inline-block;
    border: 2px solid #EB161A;
    font-weight: bold;
    padding: 0 .5rem;
    border-radius: 4px;
}


/* hover */

a:hover:not(.header__logo),
button:hover {
    opacity: .6;
    transition: 0.6s;
}

/* line-clamp */

[class*="line-clamp-"] {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-1 {
    -webkit-line-clamp: 1;
    min-height: 1.5em;
}

.line-clamp-2 {
    -webkit-line-clamp: 2;
    min-height: 2.5em;
}

/* アイコン */

.icon {
    display: inline-block;
    background: transparent;
}

.icon::after {
    font-family: 'Material Symbols Outlined';
    font-size: 1.5em;
    line-height: 1;
    vertical-align: middle;
    -webkit-font-smoothing: antialiased;
    font-variation-settings:
      "FILL" 1;
}

.icon_search::after {
    content: "search";
}

.icon_mypage::after {
    content: "person";
}

.icon_chevron_right::after {
    content: "chevron_right";
    color: #a4a4a4;
}

.icon_play::after {
    content: "play_arrow";
}

.icon_down::after {
    content: "keyboard_arrow_down";
}

.icon_up::after {
    content: "keyboard_arrow_up";
}

.icon_chevron_left::after {
    content: "chevron_left";
    color: #a4a4a4;
}

/* コイン */

.coin {
    display: flex;
    align-items: center;
    font-weight: bold;
    gap: .5rem;
}

.coin::before {
    content: "";
    background-image: url(../images/coin.png);
    background-size: cover;
    width: 1.25em;
    height: 1.25em;
    display: block;
}

.coin__txt-sub {
    font-size: .857142857rem;
}

.coin__txt {
    font-size: 1rem;
    flex: 1;
}

/* 見出し */

.content__heading-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 .5rem 0;
    gap: .5rem;
}

.content__heading {
    margin: 0 0 .5rem 0;
    font-size: 1.2rem;
}

.content__heading-group .content__heading {
    flex: 1;
    margin: 0;
}

.content__more {
    font-size: 1rem;
    color: #a4a4a4;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.heading-content {
    padding: 1rem 0;
}

.heading {
    font-size: 1.5rem;
    padding: 0 0 0 1rem;
    border-left: 4px solid #F39919;
}

.heading-delete {
    position: absolute;
    left: -1000px;
}

.heading-normal {
    font-size: 1.5rem;
}

/* thumb */

.thumb-list {
    display: flex;
    grid-template-columns: repeat(10, 1fr);
    overflow-x: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 1rem;
    padding: 0 1rem;
    gap: .5rem;
    margin: 0 -1rem;
}

.thumb-list a {
    color: #393939;
    text-decoration: none;
}

.thumb-list::-webkit-scrollbar {
    display: none;
  }

.thumb-wrap {
    overflow: hidden;
    border-radius: .5rem;
    position: relative;
}

.thumb {
    object-position: center;
    object-fit: cover;
    background: #393939;
}

.thumb_fit {
    object-fit: contain;
}

.thumb_square {
    aspect-ratio: 1 / 1;
}

.thumb_tall {
    aspect-ratio: 32 / 45;
}

.thumb_wide {
    aspect-ratio: 16 / 9;
}

.thumb-list__item {
    width: 30%;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.thumb-list__item_wide {
    width: 45%;
}

.thumb-txt {
    white-space: normal;
    margin: .285714286rem 0 0 0;
}

/* list */

.list__item-inner {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    justify-content: space-between;
}

.list__item-title {
    font-size: 1.14285714rem;
    font-weight: bold;
}

.list .thumb-wrap {
    width: 10%;
    min-width: 80px;
}

.list__item:not(:last-of-type) {
    border-bottom: 1px solid rgba(57, 57, 57, 0.10);
}

.list__item-txt-container {
    flex: 1;
}

.list a {
    color: #393939;
    text-decoration: none;
}

/* txt-list */

.terms li:not(:last-of-type) {
    margin: 0 0 4px 0;
}

.txt-list__item::before {
    content: "・";
    position: absolute;
    left: 0;
}

.txt-list__item {
    position: relative;
    padding: 0 0 0 1rem;
}

ol {
    list-style: none;
}

ol.txt-list {
    counter-reset: number;
}

ol.txt-list .txt-list__item {
    counter-increment: number;
}

ol.txt-list .txt-list__item::before {
    content: counter(number) ".";
}

/* note */

.note {
    font-size: .857142857rem;
    color: #a4a4a4;
}

.note .txt-list__item::before {
    content: "※";
}

/* paren-num */

ol.paren-num {
    counter-reset: sub-number;
}
  
ol.paren-num .txt-list__item {
    counter-increment: sub-number;
    padding: 0 0 0 1.5rem;
}

ol.paren-num .txt-list__item::before {
    content: "(" counter(sub-number) ")";
}

/* btn-list */

.btn-list__item {
    display: block;
    font-weight: bold;
    position: relative;
    border-radius: .5rem;
    border: 1px solid rgba(57, 57, 57, 0.20);
}

.btn-list .icon::after {
    position: absolute;
    right: .5rem;
    top: 50%;
    transform: translateY(-50%);
}

.btn-list__inner {
    display: block;
    padding: 1rem 2rem 1rem 1rem;
    color: #393939;
    text-decoration: none;
}

.btn-list__inner_bg {
    background: #f7f7f7;
    border: none;
}

.btn-list__img img {
    height: 48px;
    width: auto;
    margin: 0 auto;
}

.btn-list__item:not(:last-of-type) {
    margin: 0 0 .5rem;
}

/* search */

.search {
    position: relative;
    padding: .5rem 0;
  }
  
.search__input {
    width: 100%;
    padding: .5rem 3rem .5rem 1rem;
    border-radius: 2rem;
    background-color: #f0f0f0;
    font-size: 16px;
    border: none;
    line-height: 1.5;
}

.search__input:focus {
    outline: none;
}

.search__input::placeholder {
    color: #9E9E9E;
}

.search__btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    padding: 0;
    color: #393939;
    border: none;
}

/* grid-list */

.grid-list__item {
    border: 1px solid rgba(57, 57, 57, 0.20);
    background: #fff;
    text-align: center;
    border-radius: .5rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem;
}

.grid-list__item-link {
    display: block;
    width: 100%;
    padding: .857142857rem;
    color: #393939;
    text-decoration: none;
}

/* modal */
.fixOverlay {
    overflow: hidden;
}

#overlay, .popup-modal {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
  
.fixOverlay #overlay,
.popupShow {
    opacity: 1;
    visibility: visible;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.7);
    z-index: 999;
}

.popup-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: #fff;
    padding: 2rem 1rem;
    border-radius: .5rem;
    text-align: center;
    width: calc(100% - 48px);
    max-width: 24.5rem;
    max-height: 496px;
}

.popup-modal .btn {
    width: 100%;
}

.popup-modal__btns {
    display: flex;
    gap: .5rem;
    padding: 1rem 0 0;
}

.trigger {
    width: 100%;
    color: #393939;
    cursor: pointer;
    background: transparent;
    border: none;
}

/* btn */

.btn {
    display: block;
    background: #F39919;
    color: #fff;
    padding: .714286rem .5rem;
    border-radius: 2em;
    border: 2px solid #F39919;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
}

.btn_outline {
    border: 2px solid #F39919;
    background: #fff;
    color: #F39919;
}

.btn-wrap {
    display: flex;
    padding: 1rem 0;
    gap: 1rem;
    flex-direction: column;
}

/* pager */
.pagination-list {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    padding: 2rem 0;
    font-weight: bold;
}

.pagination-list__inner {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 2em;
    height: 2em;
    padding: 0 .5rem;
    color: #393939;
    border-radius: .5rem;
}

.current .pagination-list__inner {
    background-color: #393939;
    color: #fff;
    pointer-events: none;
}

.pagination-list .icon {
    text-decoration: none;
}

/* =========================
header
============================ */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    z-index: 998;
}

.header a {
    display: inline-block;
    color: #393939;
    text-decoration: none;
    vertical-align: middle;
}

.header__logo-wrap {
    flex: 1 1 auto;
    max-width: 144px;
}

.header__nav {
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.header__nav-btn {
    background: orange;
    color: #fff !important;
    padding: .5em 1em;
    border-radius: 2em;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    max-width: 1032px;
    margin: 0 auto;
    height: 4rem;
    padding: 0 1rem;
    font-weight: bold;
}

/* =========================
footer
============================ */

.footer{
    margin-top: auto;
    background: #393939;
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
    font-size: .857142857rem;
    text-decoration: none;
}

.footer a {
    display: inline-block;
    color: #fff;
    text-decoration: none;
}

.footer__list {
    padding: 0 0 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.10);
    margin: 0 0 2rem;
    display: flex;
    gap: 2rem;
    row-gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* =========================
ランキング
============================ */

.ranking {
    padding: 0 .8em;
    font-size: .714285714rem;
    border-radius: 1em;
    font-weight: bold;
    vertical-align: middle;
    margin: 0 .4em 0 0;
    color: #fff;
    border: 2px solid rgba(57, 57, 57, 0.10);
}

.ranking_gold {
    background: #DCB85A;
}

.ranking_silver {
    background: #A9B5C2;
}

.ranking_bronze {
    background: #B79C85;
}

.ranking_normal {
    background: #fff;
    border: 2px solid #F39919;
    color: #F39919;
}

/* =========================
お知らせ
============================ */

.notice {
    display: flex;
    padding: .5rem 1rem;
    background: #F39919;
    margin: 0 -1rem;
    color: #fff;
    align-items: center;
    gap: .5rem;
    justify-content: center;
    text-decoration: none;
}

.notice .line-clamp-2 {
    min-height: auto;
}

/* =========================
slider
============================ */

.slider__img-wrap {
    overflow: hidden;
    border-radius: .5rem;
}

.slider .slide{
    margin: 10px;
  }

.slider__img {
    aspect-ratio: 32 / 15;
    object-fit: cover;
}

.slick-dots li {
    margin: 0;
}

.slick-dots li button:before {
    font-size: .6rem;
}

.slider {
    margin: 1rem -1rem 0;
}

.slick-dots li.slick-active button:before {
    color: #F39919;
}

.slick-slide {
    margin: 0 1rem;
}

/* =========================
mypage
============================ */

.space-between__title {
    width: 9rem;
}

.space-between {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
}

.space-between__txt-wrap {
    flex: 1;
    text-align: right;
}

.hold-coin {
    padding: 1rem 0;
    text-align: center;
}

.hold-coin .coin {
    font-size: 1.714286rem;
    justify-content: center;
}

/* =========================
signup
============================ */

.attention {
    margin: .5rem 0 0;
}

.txt-link {
    display: inline-block;
    color: #F39919;
    text-decoration: underline;
}

/* =========================
detail
============================ */

.tag-list__item {
    display: inline-block;
    font-size: .857142857rem;
    border: 1px solid rgba(57, 57, 57, 0.10);
    border-radius: 2em;
}

.tag-list__inner {
    display: block;
    padding: .5em 1em;
    color: #393939;
    text-decoration: none;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.thumb-wrap_large {
    width: 60%;
    max-width: 360px;
    margin: 0 auto;
}

.line-clamp-more {
    -webkit-line-clamp: 2;
  }
  
.line-clamp-more.expanded {
    -webkit-line-clamp: unset;
}

.more-btn {
    display: none;
    margin: 0 0 0 auto;
    background: transparent;
    border: none;
    padding: .5rem 0;
    color: #393939;
}

.content__txt a {
    display: inline-block;
    color: #F39919;
}

/* =========================
play
============================ */

.play .thumb-wrap {
    border-radius: 0;
}

.play .thumb-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: .5rem;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2;
    border: 4px solid;
  }

  .video {
    display: none;
    width: 100%;
  }

/* =========================
beginner
============================ */

.beginner {
    text-align: center;
}

.beginner-top {
    background-image: url(../images/beginner_bg.jpg);
    color: #fff;
    margin: 0 -1rem;
    padding: 4rem 1rem;
    background-size: cover;
}

.beginner-top__txt {
    margin: 1rem 0;
}

.beginner__heading::before {
    color: #F39919;
    border-bottom: 2px solid;
    content: counter(mycounter, decimal-leading-zero) " ";
}

.beginner__heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    font-size: 1.5rem;
}

.beginner__content { 
    padding: 2rem 0;
    counter-increment: mycounter;
}

.beginner__txt {
    margin: 1rem 0;
    color: #a4a4a4;
}

.beginner .container {
    counter-reset: mycounter;
}

.beginner__img {
    max-width: 480px;
    margin: 0 auto;
}

/* =========================
faq
============================ */
  
.list__item-content {
    display: none;
    margin: 1rem 0px 0px;
    gap: .5rem;
    flex-direction: column;
}

.accordion .list__item {
    padding: 1rem 0;
    cursor: pointer;
}

.accordion .list__item-inner {
    padding: 0;
}

/* =========================
terms
============================ */

.concluded__txt:not(:last-of-type)  {
    margin: 0 0 .5rem 0;
}



@media screen and (min-width: 768px) {

    /* =========================
    共通
    ============================ */
    html {
        font-size: 16px;
    }

    /* thumb */

    .thumb-list {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        row-gap: 1rem;
    }

    .thumb-list__item,
    .thumb-list__item_wide {
        width: auto;
    }

    /* slick */

    .slider {
        margin: 3rem -1rem 0;
    }

    .slick-slide {
        margin: 0 .5rem;
    }

    /* header */

    .header__logo-wrap {
        max-width: 200px;
    }

    /* grid-list */

    .grid-list {
        grid-template-columns: repeat(3, 1fr);
    }

    /* ranking */
    
    .ranking {
        padding: 2px .5em;
    }

    /* beginner */

    .beginner__content {
        display: flex;
        gap: 2rem;
        align-items: center;
        padding: 3rem 0;
    }
    
    .beginner__txt-content {
        flex: 1;
    }
    
    .beginner__img {
        width: 50%;
    }
    
    .beginner__content:nth-child(2n) {
        flex-direction: row-reverse;
    }

}