@charset "UTF-8";
/*-------------------------------------
  タブレットの表示を基準に作成

  ＜レスポンシブ対応＞
  1021px以上＝PC / 1020px以下＝タブレット
  ＊モバイル非対応
--------------------------------------*/

/*------------------------------------------------------------------------------
  layout.html
------------------------------------------------------------------------------*/

/*  base
-------------------------------------------------------*/
html {
    font-size: 62.5%;
}

:root {
    --main-color: #009EE0;
    --accent-color: #f94d35;
    --gray_1: #f9f9f9;
    --gray_2: #ebebeb;
    --gray_3: #c5c5c5;
    --gray_4: #b5b5b5;
    --gray_5: #666;
    --gray_6: #333;
    --radius: 8px;
}

body {
    width: 100%;
    height: 100%;
    color: #0a090e;
    background-color: #fff;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    /* font-size: calc(16 / 1020 * 100vw); */
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow-x: hidden;
    overscroll-behavior: none;
}

/* @media screen and (min-width: 1021px) {
    body {
        font-size: calc(16 / 1600 * 100vw);
    }
}

@media screen and (min-width: 1601px) {
    body {
        font-size: 16px;
    }
} */

/*  テキスト
-------------------------------------------------------*/
.h2 {
    font-size: 1.25em;
    font-weight: 600;
}

.text-em--blue {
    color: var(--main-color);
    font-weight: 600;
}

.text-em--gray {
    color: var(--gray_5);
    font-weight: 500;
}

.text-alert {
    color: var(--accent-color);
    font-size: 14px;
}

.text--12 {
    font-size: 12px;
}


/*  リンク
-------------------------------------------------------*/
a, button {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

a:hover, button:hover {
    opacity: 0.7;
    cursor: pointer;
}

a.text-link {
    color: #009ee0;
    font-weight: 500;
}

.text-link-arrow--right {
    color: #009ee0;
    font-weight: 500;
}
.text-link-arrow--right::after {
    content: 'arrow_forward_ios';
    font-family: 'Material Icons Round';
    vertical-align: bottom;
    font-size: 1em;
}

.text-link-arrow--down {
    color: #009ee0;
    font-weight: 500;
}
.text-link-arrow--down::after {
    content: 'expand_more';
    font-family: 'Material Icons Round';
    vertical-align: -0.5rem;
    font-size: 2rem;
}

/*  input
-------------------------------------------------------*/
.input-wrapped {
    background: #fff;
    border: 1px solid #b5b5b5;
    border-radius: 5px;
    width: fit-content;
    width: -moz-fit-content;
}

input[type="text"],
input[type="password"],
textarea {
    padding: 0.7em;
    font-size: 1.3em;
    color: #444;
    line-height: 1.5;
}

textarea {
    resize: none;
}


/*  ボタン
-------------------------------------------------------*/
.btn {
    /* 背景色・幅は個別で指定 */
    font-size: 1.3em;
    font-weight: 600;
    color: #fff;
    padding: 0.6em 1em;
    border-radius: 2em;
    box-shadow: 4px 4px 0 #e5e5e5;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    white-space: nowrap;
}
.btn:hover {
    opacity: 0.7;
    cursor: pointer;
}

a.btn {
    display: inline-block;
}

.btn--blue {
    background-color: #009ee0;
}

.btn--blue-small {
    background-color: #009ee0;
    font-size: 16px;
}

.btn--red {
    background-color: #f94d35;
}

.btn--disabled {
    background-color: #b5b5b5;
}
.btn--disabled:hover {
    opacity: 1;
    cursor: default;
}

.btn--outline {
    color: #009ee0;
    background-color: #fff;
    border: 2px solid #009ee0;
}

.btn--square, a.btn--square {
    text-align: center;
    background-color: #7fceef;
    border-radius: 8px;
    display: block;
    width: fit-content;
    width: -moz-fit-content;
}

/*  チェックボックス
-------------------------------------------------------*/
input[type=radio], input[type=checkbox] {
    display: none;
}
.checkbox {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 20px 24px;
    position: relative;
    width: auto;
}
.checkbox::before {
    background: #fff;
    border: 1px solid var(--gray_4);
    border-radius: 2px;
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 5px;
    margin-top: -8px;
    position: absolute;
}
.checkbox::after {
    border-right: 3px solid var(--main-color);
    border-bottom: 3px solid var(--main-color);
    content: '';
    display: block;
    width: 6px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: 12px;
    margin-top: -7px;
    opacity: 0;
    transform: rotate(45deg);
}
input[type=radio]:checked + .checkbox::after,
input[type=checkbox]:checked + .checkbox::after {
    opacity: 1;
}

input[type=radio]:disabled +.checkbox::before {
    background: var(--gray_2);
}

/*  ラベル（scratch/embot、スキル）
-------------------------------------------------------*/
.label {
    color: #fff;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
}

.label.label--mission {
    background-color: #7fceef; /* 色あとで再設定：scratch/embot */
}

.label.label--skill {
    background-color: #fdac01;
}

.label.label--clear {
    color: #f94d35;
    border: 2px solid;
    background-color: #fff;
    margin: 15px 10px 0;
}

/*  カード
-------------------------------------------------------*/
.card {
    border: 3px solid #009ee0;
    border-radius: 5px;
    box-shadow: 4px 4px 0 #e5e5e5;
    padding: 20px;
    margin-bottom: 20px;
    height: calc(100% - 20px); /*  = 100% - margin-bottom */
    position: relative;
}

.card__thumb {
    width: 150px;
    min-width: 150px;
    height: fit-content;
    height: -moz-fit-content;
    background: #fff;
}

.card__icon {
    min-width: 70px;
    width: 70px;
    display: flex;
    align-items: center;
}

.card__label {
    position: absolute;
    top: 10px;
    right: 10px;
}

.card__title {
    color: #009ee0;
    font-weight: 600;
    line-height: normal;
}
.card__title > div:first-of-type {
    font-size: 1.3em;
}
.card__title > div:last-of-type {
    font-size: 1.5em;
}

.card p {
    word-break: break-word;
}

/* NEWラベル */
.card__new-stamp {
    position: absolute;
    top: -10px;
    left: -12px;
    padding: 0;
    font-size: 2rem;
    display: flex;
    width: 3em;
    height: 3em;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-weight: 600;
    color: #fff;
    background-color: #f94d35;
    box-shadow: 2px 3px 0px rgb(249 77 53 / 50%);
}
.card__new-stamp:before {
    content: 'NEW';
}

/* ロック付きカード */
.card__lock {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    height: calc(100% + 6px);  /* + border width *2  */
    width: calc(100% + 6px);  /* + border width *2  */
    background-color: rgba(255,255,255,.9);
    top: -3px;  /* - border width */
    left: -3px;  /* - border width */
    border-radius: 5px;
    border: 3px solid #b5b5b5;
    font-weight: 700;
    color: #656565;
    font-size: 2rem;
}
.card__lock__icon {
    color: #b5b5b5;
    font-size: 55px;
}

/* 黄色枠・リボン付きカード（.card併用を前提） */
.card--yellow {
    border-color: #fdac01;
    background-color: #fff7e5;
}

.card--yellow:before {
    content: "";
}

.card--yellow .card__title {
    color: #555;
}
.card--yellow .card__title > div:last-of-type {
    text-align: center;
    margin-top: 10px;
    color: #0a090e;
}

/* 赤枠カード（.card併用を前提） */
.card.card--red {
    border-color: #f94d35;
    background: #fff8f8;
    position: relative;
    margin-top: 30px;
}

.card.card--red.cleared:before {
    content: "";
    background-image: url(/static/img/badge-red.svg);
    background-size: 100%;
    width: 80px;
    height: 80px;
    position: absolute;
    top: -20px;
    left: 5px;
}

/* 青枠カード（.card併用を前提） */
.card.card--blue {
    background: #e3f3fa;
    position: relative;
}

.card.card--blue:before {
    content: "";
    background-image: url(/static/img/badge-blue.svg);
    background-size: 100%;
    width: 80px;
    height: 80px;
    position: absolute;
    top: -20px;
    left: 5px;
}

/* カード2つ並列 */
.card-list {
    display: flex;
    flex-wrap: wrap;
}

.card-list > li {
    width: 50%;
}

.card-list > li:nth-of-type(2n) {
    padding-left: 10px;
}

@media screen and (max-width: 1020px) {
    .card__thumb {
        width: calc(150 / 1020 * 100vw);
    }
}

/*  セレクタ
-------------------------------------------------------*/
.select-container {
    border: 1px solid var(--gray_5);
    box-shadow: 2px 2px 0 #e5e5e5;
    border-radius: 2em;
    position: relative;
    width: fit-content;
    width: -moz-fit-content;
    background-color: #fff;
}

.select-container:after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 3px solid var(--gray_5);
    border-right: 3px solid var(--gray_5);
    border-radius: 2px;
    transform: rotate(45deg);
    position: absolute;
    top: 0.6em;
    right: 1em;
    pointer-events: none;
}

.select-container select {
    display: block;
    font-size: 1.1em;
    padding: 0.5em 4em 0.5em 1em;
    color: var(--gray_5);
    cursor: pointer;
}

/*  ライン付きリスト（tableタグで実装）
-------------------------------------------------------*/
.list--underline {
    width: 100%;
    text-align: left;
}

.list--underline tr {
    border-bottom: 1px solid var(--gray_3);
}

.list--underline th {
    color: var(--gray_5);
    padding: 1.6rem;
}

.list--underline td {
    padding: 1.6rem;
}

/* 表見出し */
.list--underline thead tr {
    border: none;
}

.list--underline thead th {
    position: relative;
    font-weight: 500;
}

.list--underline thead th:before {
    background: var(--gray_2);
    content: '';
    display: block;
    position: absolute;
    width: calc(100% - 1.6rem);
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    border-radius: 8px;
}
.list--underline thead th:last-child::before {
    width: 100%;
}

/*  フレーム
-------------------------------------------------------*/
.frame--gray {
    border: 1px solid var(--gray_2);
    border-radius: var(--radius);
    padding: 2rem;
}

/*  タブ
-------------------------------------------------------*/
.tab-container {
    display: flex;
    flex-wrap: nowrap;
}

.tab-item {
    color: #788387;
    font-weight: 600;
    padding: 0 1.25em 1.5em;
    position: relative;
}

.tab-item.active {
    color: var(--main-color);
}
.tab-item.active:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background-color: var(--main-color);
}


/*  スキル・称号
-------------------------------------------------------*/
/* ページコンテンツとして使用 */
.user-skill {
    border-radius: 4px;
    background-color: var(--gray_2);
    padding: 4px 16px 4px 8px;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--gray_6);
}

.user-skill__budge {
    width: 40px;
    height: 40px;
    margin-right: 4px;
}

.user-skill__budge--small {
    width: 24px;
    height: 24px;
    margin-right: 4px;
}

/* ヘッダー */
.user-skill--header {
    border: 1px solid #121212;
    border-radius: 4px;
    padding: 4px;
    margin-left: 16px;
}


/*  ヘッダー
-------------------------------------------------------*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    margin: 0 auto;
    color: #121212;
    font-weight: 600;
    width: 100%;
    height: 70px;
    z-index: 777;
    transition: 0.3s;
}

.header__inner {
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    /* width: calc(1300 / 1600 * 100vw);
    height: calc(100 / 1600 * 100vw); */
}

/* ロゴ */
.header__logo {
    width: 240px;
    margin-right: 16px;
}

/* ユーザー情報 */
.header__user-info {
    display: flex;
    flex-wrap: nowrap;
    height: 100%;
    align-items: center;
    margin-left: auto;
    padding: 10px;
}

.user-info__content {
    display: flex;
    flex-wrap: nowrap;
    height: 100%;
    align-items: center;
    line-height: 1.25;
}

.user-info__icon {
    width: 50px;
    margin-right: 8px;
    position: relative;
}
.user-info__icon.new:before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #f94d35;
    position: absolute;
    right: 0;
    top: 0;
    box-shadow: 1px 1px 3px 1px rgb(0 0 0 / 10%);
}

/* .user-info__status {
    background-color: #fff;
    padding: 5px;
    color: #009ee0;
    margin-left: 25px;
    border-radius: 5px;
} コーチヘッダーで使うかも */

/*  メインコンテンツ
-------------------------------------------------------*/
.main {
    margin-top: 70px; /* ＝ヘッダー高さ */
}

.main__inner {
    padding: 20px;
}

@media screen and (min-width: 1021px) {
    .main__inner {
        width: 1020px;
        margin: auto;
        padding: 30px;
    }
}

/*  フッター
-------------------------------------------------------*/
.footer {
    padding: 0 20px;
}

.footer__btn {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
}

.footer__icon {
    width: 40px;
    display: inline-block;
    margin-right: 10px;
}

@media screen and (min-width: 1021px) {
    .footer {
        width: 1020px;
        margin-right: auto;
        margin-left: auto;
        padding: 0 30px;
    }
}

/*------------------------------------------------------------------------------
  セクション共通
------------------------------------------------------------------------------*/
section {
    margin: 40px 0;
}

section:first-child {
    margin-top: 0;
}

/* @media screen and (min-width:1021px) {
    section {
        width: 1020px;
        margin: auto;
        padding: 0 calc(100vw - 1020px / 2);
    }
} */

/*  セクションタイトル
-------------------------------------------------------*/
.section__title {
    font-size: 2em;
    font-weight: 600;
    color: #009ee0;
    display: block;
    margin-bottom: 1em;
}

.section__title:before {
    content: "";
    background-image: url(../img/title.svg);
    display: block;
    width: 170px;
    height: 30px;
}

.section__sub-title {
    font-size: 1.7em;
    font-weight: 600;
    color: var(--main-color);
    display: block;
    margin-bottom: 1em;
}

.section__title--gray {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--gray_5);
}

/* タイトル横 戻るリンク */
.back-arrow {
    position: relative;
    color: var(--gray_5);
}
.back-arrow >.material-icons-round {
    color: var(--gray_4);
    font-size: 3rem;
}
a.back-arrow:before {
    content: 'もどる';
    position: absolute;
    top: -2rem;
    left: -1em;
    display: block;
    background-color: #666;
    padding: .2em .5em;
    color: #fff;
    font-size: 1.2rem;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}
a.back-arrow:hover::before {
    opacity: 1;
}


/*  セクション：進行中のミッション
-------------------------------------------------------*/
.sec__ongoing-mission {
    position: relative;
}

.sec__ongoing-mission .section__inner {
    background: #fff8f8;
    padding: 30px 20px;
    font-weight: 600;
}

.om__main {
    display: flex;
    flex-wrap: nowrap;
    margin-left: 90px;
    color: #666;
    margin-bottom: 1rem;
}

/* レベル */
.om__level {
    background-image: url(../img/label.svg);
    position: absolute;
    top: 0;
    left: 15px;
    width: 90px;
    height: 100%;
}

.om__level__content {
    color: #fff;
    text-align: center;
    padding-top: 10px;
}

.om__level__num {
    font-size: 2em;
    line-height: 1;
}

/* テキスト */
.om__main__stage {
    font-size: 1.3em;
    line-height: 1.8;
    color: #0a090e;
}

/* 現在のミッション */
.om__curr-mission {
    margin-top: 4rem;
    border-top: 2px solid #c5c5c5;
    padding: 2rem 2rem 0;
    display: flex;
    flex-wrap: nowrap;
    position: relative;
}


/*  固定アドバイス
-------------------------------------------------------*/
.tip-bubble {
    width: 400px;
    padding: 10px 10px 10px 20px;
    border: 3px solid #7fceef;
    border-radius: 5px;
    background: #f8fbfc;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    position: fixed;
    bottom: 10px;
    right: 10px;
    color: #7fceef;
    font-weight: 500;
    font-size: 1.3em;
}

.tip-bubble > img {
    width: 20%;
    margin: 0 10px;
    margin-left: auto;
}

/*  モーダル
-------------------------------------------------------*/
.modaal-container a {
    color: #009ee0;
}
.modaal-container a.btn {
    color: #fff;
}

.modaal-container section {
    margin-bottom: 40px;
}

.modal__title {
    color: #009ee0;
    font-size: 1.5em;
    margin-bottom: 1em;
    font-weight: 600;
}

.modal__icon-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 200px;
    border: 3px solid #e5e5e5;
    border-radius: 50%;
    margin: 0 auto;
}

.modal__toggle-btn {
    display: inline-block;
    color: #009ee0;
    border: 2px solid;
    box-shadow: none;
    font-size: 1em;
}

.modal__file-name {
    color: #009ee0;
    display: inline-block;
    margin-left: 1em;
}

/* modaal.js */
.modaal-container {
    border-radius: 5px;
    box-shadow: 4px 4px 0 #e5e5e5;
    max-width: 800px;
    text-align: center;
}


/*  スタンプラリー
-------------------------------------------------------*/
.stamp-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.stamps {
    background-color: #fff7e5;
    padding: 15px;
    height: 220px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.stamps__bg {
    position: absolute;
    height: 100%;
}

.stamps > li {
    display: inline-block;
    padding: 0 5px 10px;
    width: 20%;
    position: relative;
}
.stamps > li:nth-of-type(2n-1) {
    top: 23%;
}

.stamps__stamp-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 5px auto;
}

.stamps .stamp__stamp-img {
    width: 75%;
    position: absolute;
    top: 11%;
    left: 14%;
}

/* /quest のスキルラベル */
.stamps .label--skill {
    display: block;
    text-align: center;
    background-color: rgba(253, 172, 1, .85);
}

@media screen and (max-width:935px) {
    .stamps .label--skill {
        font-size: calc(14 / 935 * 100vw);
    }
}

/* スタンプ背景 */
.stamp-bg {
    width: 80px;
    height: 80px;
    margin: 5px auto;
}

/*------------------------------------------------------------------------------
  カード背景レイアウトのページ（ログイン、マイページ）
------------------------------------------------------------------------------*/
.card__wrapper {
    width: 1000px;
    margin: 0 auto;
}

.card__wrapper > div:first-of-type {
    position: relative;
}

/* ログインページ */
.login__form {
    position: absolute;
    top: 30px;
    left: 150px;
}

.login__form input[type="text"],
.login__form input[type="password"],
.login__btn {
    width: 500px;
}

.login__sub-content {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}
.login__sub-content > a {
    margin: 0 40px;
}

.login__error-msg {
    text-align: center;
    color: #f94d35;
    font-weight: 500;
    background-color: #fff8f8;
    padding: 1em;
    border: 2px solid;
    display: none;
}

.login__pass-toggle::before {
    content: 'visibility';
    font-family: 'Material Icons Round';
    vertical-align: bottom;
    font-size: 24px;
    color: var(--gray_5);
    position: absolute;
    top: calc(50% - 12px);
    right: 16px;
}
.login__pass-toggle.off::before {
    content: 'visibility_off';
}

/* input表示非表示設定 */
.form__visibility {
    position: absolute;
    right: 16px;
    top: 14px;
}
.form__visibility:before {
    content: '\e8f4';
    font-family: 'Material Icons Round';
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-size: 20px;
    color: var(--gray_4);
}
.form__visibility.off:before {
    content: '\e8f5';
}

/*------------------------------------------------------------------------------
  トップページ
------------------------------------------------------------------------------*/
.top-bg:before {
    content: "";
    background-repeat: no-repeat;
    background-size: 100% auto;
    position: absolute;
    left: 0;
    width: 100%;
    height: 1300px;
    z-index: -1;
    opacity: 0.5;
}

.top-bg.default:before {
    background-image: url(../img/top-bg/default.png);
    opacity: 0.35;
    top: 250px;
    width: 100%;
    height: 700px;
}

.top-bg.programmer:before {
    background-image: url(../img/top-bg/programmer.png);
}

.top-bg.engineer:before {
    background-image: url(../img/top-bg/engineer.png);
}

.top-bg.pop:before {
    background-image: url(../img/top-bg/pop.png);
}

.top-bg.fancy:before {
    background-image: url(../img/top-bg/fancy.png);
}

.top-bg.dark:before {
    background-image: url(../img/top-bg/dark.png);
    opacity: 1;
}

/*  メニュー
-------------------------------------------------------*/
.top__menu {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% + 40px);
    margin-left: -20px;
}

.top__menu .menu__item {
    display: block;
    width: 50%;
    padding: 30px 20px;
}

.top__menu .menu__item-block {
    border: 3px solid #009ee0;
    border-radius: 5px;
    color: #009ee0;
    font-weight: 600;
    font-size: 2em;
    position: relative;
    box-shadow: 4px 4px 0 #e5e5e5;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.top__menu .menu__item-block:hover {
    opacity: 0.7;
    cursor: pointer;
}

.top__menu .menu__title {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    left: 30px;
}

/*  お知らせ
-------------------------------------------------------*/
.sec__news {
    display: flex;
    flex-wrap: nowrap;
}

.news-container {
    border: 2px dashed #7fceef;
    padding: 15px;
    width: 550px;
    background: #fff;
}

.news__head {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    margin-bottom: 1.5em;
}

.news__head h3 {
    color: #7fceef;
    font-weight: 600;
    font-size: 1.2em;
}

.news__head .btn {
    background-color: #7fceef;
    font-size: 1em;
    padding: 0.5em 3em;
    margin-left: auto;
}

.news__item {
    margin-bottom: 1em;
    display: flex;
    flex-wrap: nowrap;
}

.news__date {
    color: #7fceef;
    font-weight: 600;
    white-space: nowrap;
}

.news__title {
    word-break: break-word;
    margin-left: 1.5em;
}

@media screen and (max-width: 1020px) {
    .news-container {
        width: 450px;
    }
}

/*  遊び方のヒント＆お楽しみムービー
-------------------------------------------------------*/
.btn--submenu, a.btn--submenu {
    background-color: #009ee0;
    padding: 30px 50px 30px 100px;
    position: relative;
    width: 332px;
}

.btn--submenu:before {
    content: "";
    display: block;
    width: 80px;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 100% auto;
    position: absolute;
    left: 0;
    top: 8px;
}

.btn--submenu[data-img="schedule"]:before {
    background-image: url(../img/schedule.png);
    left: 24px;
    top: 12px;
}

.btn--submenu[data-img="tips"]:before {
    background-image: url(../img/hint.svg);
}

.btn--submenu[data-img="scratch"]:before {
    background-image: url(../img/button_icon-scratch.png);
    left: 16px;
    top: 4px;
}

.btn--submenu[data-img="movies"]:before {
    background-image: url(../img/movie.svg);
    left: 20px;
}

@media screen and (max-width: 1020px) {
    .btn--submenu {
        padding: 30px 30px 30px 70px;
        margin-left: 20px;
        width: 270px;
    }
    .btn--submenu:before {
        left: -15px;
    }
}

/*------------------------------------------------------------------------------
  じぶんカード（マイページ）
------------------------------------------------------------------------------*/
/* マイページ（じぶんカード） */
.mycard__content {
    position: absolute;
    top: calc(
        50% - (115px + 30px + 1.8em)
    ); /* ()内 = img/2 + margin + font size */
    left: 290px;
    text-align: center;
}

.mycard__img {
    width: 100px;
    height: 100px;
    border: 2px solid #e3e3e3;
}

.mycard__level {
    font-size: 2.4rem;
    color: #009ee0;
    font-weight: 600;
}

.mycard__username {
    font-size: 3.2rem;
    color: var(--gray_6);
    font-weight: 600;
}

.mycard__p {
    color: var(--gray_5);
}

/* 背景設定 */
.setting__bg-btn {
    text-align: center;
    margin: 10px;
    display: block;
}

.setting__bg-btn >div {
    width: 100px;
    height: 60px;
    overflow: hidden;
    border: 1px solid var(--gray_3);
    border-radius: 4px;
}

.setting__bg-btn >input:checked +div {
    border-color: var(--main-color);
}
.setting__bg-btn >input:checked ~span {
    color: var(--main-color);
    font-weight: 600;
}


/* スキルゲージ */
.chart-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 990px;
    position: relative;
    left: -15px;
}
.chart-blk {
    margin: 0 15px 30px;
}
.chart {
    width: 300px;
    height: 300px;
    color: #009ee033;
    position: relative;
}
.chart-status {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-sizing: border-box;
    padding-bottom: 10px;
}
.chart-status__badge {
    width: 83px;
    height: 83px;
    margin-bottom: 5px;
}
.chart-status__badge img {
    width: 100%;
    height: 100%;
}
.chart-status__title {
    color: #009FE1;
    font-size: 19px;
    font-weight:700; /* bold */
    letter-spacing: 0.05em;
}
.chart-status__level {
    color: #009FE1;
    font-size: 17px;
    font-weight:700; /* bold */
}
.level-num {
    font-size: 52px;
    display: inline-block;
    margin-left: 5px;
    line-height: 52px;
}
.chart canvas {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}
.chart-ring {
    position: absolute;
    top: 10px;
    left: 50%;
    translate: -50% 0;
    width: 96.5%;
    height: 96.5%;
    border-radius: 50%;
    border: solid 27px #CBEBF8;
    z-index: 1;
    box-sizing: border-box;
}
.chart-skill {
    color: #009FE1;
    font-size: 19px;
    font-weight:700; /* bold */
    letter-spacing: 0.05em;
    text-align: center;
    margin-top: 15px;
}
.chart-next {
    color: #666;
    font-size: 13px;
    font-weight:700; /* bold */
    text-align: center;
    margin-top: 5px;
}
.next-num {
    font-size: 24px;
    display: inline-block;
    margin-left: 6px;
    line-height: 24px;
    position: relative;
    color: #000;
    top: 2px;
}

/*------------------------------------------------------------------------------
  ミッション詳細ページ（/quest）
------------------------------------------------------------------------------*/
.mission__head .section__title {
    display: inline-block;
}

.mission__head .label {
    font-size: initial;
}

/*------------------------------------------------------------------------------
  クエスト詳細ページ（/quest/~）
------------------------------------------------------------------------------*/
/* クエスト番号 */
.head__quest-num {
    width: 80px;
    height: 45px;
    background-image: url(../img/quest_num.svg);
    background-repeat: no-repeat;
    background-size: 100% auto;
    margin-right: 1em;
}
.head__quest-num > span {
    color: #fff;
    font-weight: 600;
    font-size: 2em;
    line-height: 1;
    display: inline-flex;
    width: 50px;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.head__title {
    color: #009ee0;
    font-weight: 600;
    font-size: 2em;
    line-height: normal;
}

/*------------------------------------------------------------------------------
  ミッション完了・クエストクリア
------------------------------------------------------------------------------*/
/* 上部セクション */
.sec__clear-head {
    background-image: url(../img/background_clear.png);
    background-size: cover;
    text-align: center;
    padding: 0 100px 50px;
}

.clear-medal {
    width: 400px;
    margin: 0 auto;
}

.clear__title {
    color: #f94d35;
    font-size: 2em;
    margin: 40px 0 25px;
}

/* 次のミッションダイジェスト */
.sec__clear-next-mission {
    background: #F8FBFC;
    border: 5px solid #7FCEEF;
    border-radius: 7px;
    padding: 4rem 3rem 3rem;
    text-align: center;
}

.next-mission__title {
    font-size: 2em;
    color: #009ee0;
    margin-bottom: 1em;
    vertical-align: middle;
}

.next-mission__title:before,
.next-mission__title:after {
    content: '';
    height: 1em;
    width: 2.5em;
    display: inline-block;
}
.next-mission__title:before {
    background-image: url(../img/title-yellow_left.svg);
    margin-right: .5em;
}
.next-mission__title:after {
    background-image: url(../img/title-yellow_right.svg);
    margin-left: .5em;
}


/*------------------------------------------------------------------------------
  ミニゲーム
------------------------------------------------------------------------------*/
.games__list .card__thumb {
    width: 250px;
    min-width: 250px;
    height: 180px;
}

.card__creator {
    display: inline-flex;
    align-items: center;
    margin-left: 1em;
    color: #009ee0;
    font-weight: 600;
    font-size: 1.2em;
}

.creator__icon {
    width: 35px;
    margin-right: 0.5em;
}

/*------------------------------------------------------------------------------
  わくわくシェア
------------------------------------------------------------------------------*/
.work__nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    border-bottom: 1px solid var(--gray_3);
    margin-bottom: 2.25em;
}

.work__selecter {
    position: relative;
    width: fit-content;
}
.work__selecter:after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-bottom: 3px solid var(--main-color);
    border-right: 3px solid var(--main-color);
    border-radius: 2px;
    transform: rotate(45deg);
    position: absolute;
    top: 0.5em;
    right: -1.25em;
    pointer-events: none;
}

.work__thumb {
    width: 300px;
    display: flex;
    align-items: baseline;
}

.work__thumb > img,
.work__thumb > video {
    border: 1px solid #b5b5b5;
}

.work__thumb__scratch {
    width: 81.5% !important;
    left: 24px;
}

.work__info {
    width: calc(100% - 300px);
    padding: 0 2em;
}

.work__info h3 {
    font-weight: 600;
    color: #7fceef;
}

/* コーチコメント */
.comment-container {
    border: 2px dashed #7fceef;
    padding: 15px;
    width: 100%;
}

.comment-container h3 {
    color: #7fceef;
    font-weight: 600;
    font-size: 1.25em;
    margin-bottom: 0.5em;
}

/* フレンドのシェア いいね */
.like-toggle {
    color: #F94D35;
    font-size: 1.4rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}
.like-toggle >.material-icons-round {
    font-size: 3rem;
    margin-right: .5rem;
}

/*------------------------------------------------------------------------------
  わくわくシェア > フレンド一覧
------------------------------------------------------------------------------*/
.friend-list >li {
    border-bottom: 1px solid var(--gray_3);
    padding: 1.5em 0;
}

.friend__icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border: 2px solid #e3e3e3;
}

.friend__level {
    color: var(--gray_5);
    font-weight: 600;
}

.friend__username {
    font-size: 1.25em;
    color: var(--gray_6);
    font-weight: 600;
    margin: 0 1.25em 0 .5em;
}

.friend__thumb {
    width: 150px;
    height: 100px;
    min-width: 150px;
    margin-left: 72px;
}

.friend-detail__thumb {
    width: 240px;
    height: 160px;
    max-width: 240px;
    max-height: 160px;
    min-width: 240px;
    min-height: 160px;
    position: relative;
}

.friend-detail__btn {
    position: absolute;
    bottom: 8px;
    left: calc(100% / 2 - 20px);
    width: 40px;
    height: 40px;
    padding: 0;
    box-shadow: 0px 3px 6px rgb(0 0 0 / 15%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.friend__work-title {
    font-weight: 500;
    color: var(--gray_6);
    font-size: 18px;
}

.friend-list .like-toggle >.material-icons-round {
    font-size: 1.75em;
}

.friend_btn-tobefriend {
    position: absolute;
    bottom: 44px;
    right: 4px;
}

/*------------------------------------------------------------------------------
  みらいいからのお知らせ
------------------------------------------------------------------------------*/
/* 一覧 */
.news tr {
    border-bottom: 1px dashed #7fceef;
}

.news th,
.news td {
    padding: 15px 10px;
    font-size: 1.1em;
}

/* 詳細ページ */
.news__content {
    border-bottom: 1px dashed #7fceef;
    padding: 4rem;
    line-height: 2;
    font-size: 1.1em;
}

/*------------------------------------------------------------------------------
  遊び方のヒント
------------------------------------------------------------------------------*/
.tips__menu,
.tips__content {
    margin: 0;
}

.tips__menu {
    width: 40%;
}

.tips__content {
    width: 60%;
    padding-left: 40px;
}

.tips__content h2 {
    margin-bottom: 1em;
    font-size: 1.3em;
}

.tips__content .content__body {
    border-top: 1px dashed #7fceef;
    border-bottom: 1px dashed #7fceef;
    padding: 1.5em 0;
}

.tips__content .content__body > img {
    margin: 2em 0;
}

/* 左側：メニュー欄 */
.tips__menu .menu__wrapped {
    border: 2px dashed #7fceef;
    padding: 15px 15px 35px;
    position: relative;
    min-height: 200px;
}

.tips__menu .menu__wrapped:after {
    content: "";
    display: block;
    width: 150px;
    height: 150px;
    background-image: url(../img/hint_contents.svg);
    position: absolute;
    bottom: 0;
    right: 10px;
    z-index: -1;
}

.tips__menu .menu__item {
    font-weight: 600;
    font-size: 1.2em;
    color: #009ee0;
    margin: 20px 15px 0 35px;
    position: relative;
}

.tips__menu .menu__item.curr-location:before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    position: absolute;
    top: 0.5em;
    left: -1.2em;
    border-bottom: 2px solid #7fceef;
    border-right: 2px solid #7fceef;
    transform: rotate(-45deg);
    /* 現在地以外非表示あとで */
}

/* 右側：サブメニュー */
.tips__content .sub-menu h2 {
    color: #7fceef;
}

.tips__content .sub-menu__item {
    font-weight: 500;
    margin: 1em 0;
}

/* 右側：サブメニュー */
.tips__detail .submenu-name {
    background-color: #009ee0;
    color: #fff;
    font-weight: 600;
    padding: 0.5em 1.3em;
    display: inline-block;
    margin-bottom: 1.5em;
}

.tips__detail .posted-date {
    color: #7fceef;
    text-align: right;
    margin-top: 1em;
}


/*------------------------------------------------------------------------------
  お楽しみムービー
------------------------------------------------------------------------------*/
.movie-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 40px;
}

.movie-list li h4 {
    color: var(--main-color);
    line-height: 1.3;
    margin: 1em 0 0.5em 0;
    font-weight: 500;
}

.movie-list li .play-time {
    color: var(--gray_5);
    background-color: var(--gray_1);
    border-radius: 4px;
    padding: 2px 4px;
    display: inline-block;
}

.movie__date {
    color: var(--gray_5);
    margin-left: auto;
}

/* 詳細ページ */
.movie__title {
    font-size: 24px;
    line-height: 1.25;
    margin: 1em 0 0.5em;
    color: var(--gray_6);
}


/*------------------------------------------------------------------------------
  スペシャルミッション
------------------------------------------------------------------------------*/
/* 一覧 */
.sm-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 80px;
}

.sm-list li {
    position: relative;
}

.sm-list li h4 {
    color: var(--main-color);
    line-height: 1.3;
    margin: 1em 0 0.5em 0;
    font-weight: 500;
    font-size: 1.25em;
}

.sm-list li >.card__lock {
    border: none;
}

/* 詳細ページ（記事） */
.article {
    width: 604px;
    margin: 40px auto;
}

.article h1 {
    color: var(--main-color);
    line-height: 1.3;
    margin: 1em 0 0.5em 0;
    font-weight: 600;
    font-size: 2em;
}

.article h2 {
    font-size: 1.75em;
    font-weight: 600;
    color: #009ee0;
    display: block;
    margin: 2em 0 1em;
}
.article h2:before {
    content: "";
    background-image: url(../img/title.svg);
    display: block;
    width: 170px;
    height: 30px;
}


/*------------------------------------------------------------------------------
  講師専用ページ
------------------------------------------------------------------------------*/
/* ページヘッド */
.page-head--coach {
    color: #FDAC01;
    font-weight: 600;
    background-color: #FFF7E5;
    text-align: center;
    margin-top: 8rem;
    padding: .5em;
}

/* コーチのステータス */
.om__coach-edit {
    margin-top: 4rem;
    border-top: 2px solid #c5c5c5;
    padding: 2rem 2rem 0 90px;  /* 90px = om__main の margin-left */
    color: #666;
}

.row .select-container +.btn {
    font-size: 1em;
    padding: 0.5em 1em;
    box-shadow: 2px 2px 0 #e5e5e5;
}

/* 生徒一覧 */
.table-wrapper {
  width: 100%;
  overflow-x: scroll;
}

/* テーブルの設定 */
.table {
  display: table;
  border-collapse: collapse;
  border-spacing: 2px;
  width: 960px;
  font-size: 16px;
  color: #333;
  font-family: Noto Sans JP;
  border: 1px solid #b5b5b5;
}

.table thead {
  display: table-header-group;
  vertical-align: middle;
  border-color: inherit;
}

.table tr:nth-of-type(2n+1) {
  background-color: #f2f2f2;
}

.table thead tr {
  background-color: #fff !important;
  border-bottom: 1px solid #b5b5b5;
}

.table td, .table th {
  text-align: center;
  padding: 1em;
}

.table th {
  white-space: nowrap;
  padding: 2em 1em;
  color: #777;
  font-weight: 500;
}

.table td {
  color: #333;
}



/*------------------------------------------------------------------------------
  カスタム設定
------------------------------------------------------------------------------*/
/*  画像
-------------------------------------------------------*/
.img__fit {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.img__square-trim {
    position: relative;
    overflow: hidden;
    /* 画像サイズは各要素で調整 */
}

.img__circle-trim {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    /* 画像サイズは各要素で調整 */
}

.img__square-trim:before,
.img__circle-trim:before {
    content: "";
    display: block;
    padding-top: 100%;
    background: #fff;
}

.img__square-trim > img,
.img__square-trim > video,
.img__circle-trim > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    font-family: "object-fit: cover;";
    position: absolute;
    top: 0;
    right: 0;
}

/*  サイズ
-------------------------------------------------------*/
.w100 {
    width: 100%;
}
.w80 {
    width: 80%;
}
.w50 {
    width: 50%;
}

.w-fit {
    width: fit-content;
    width: -moz-fit-content;
}

/*  配置
-------------------------------------------------------*/
/* 改行：spanにつけて使用 */
@media screen and (max-width: 750px) {
    .br__pc {
        display: inline;
    }
    .br__sp {
        display: block;
    }
}
@media screen and (min-width: 751px) {
    .br__pc {
        display: block;
    }
    .br__sp {
        display: inline;
    }
}

/* 横並び */
.row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
}


/* flex options */
.align-center {
    align-items: center;
}
.justify-center {
    justify-content: center;
}
.f-column {
    display: flex;
    flex-direction: column !important;
}
.align-stretch {
    align-items: stretch !important;
}
.f-wrap {
    flex-wrap: wrap;
}
.f-grow1 {
    flex-grow: 1;
}

/* display */
.d-none {
    display: none;
}
.d-block {
    display: block !important;
}
.d-inline-block {
    display: inline-block !important;
}
.d-flex {
    display: flex !important;
}
.d-inline-flex {
    display: inline-flex !important;
}

/* position */
.p-relative {
    position: relative;
}

/* テキスト配置 */
.text-left {
    text-align: left;
}
.text-center {
    text-align: center;
}

/* 横並び高さ揃え */
.flex-list {
    display: flex;
    align-items: stretch;
}
.flex-list >* >* {
    height: 100%;
}


/*  margin
-------------------------------------------------------*/
/* auto */
.m-auto {
    margin: auto;
}
.ml-auto {
    margin-left: auto;
}
.mt-auto {
    margin-top: auto;
}

/* margin-top */
.mt0 {
    margin-top: 0;
}

.mt05 {
    margin-top: calc(8 / 750 * 100vw);
}

.mt10 {
    margin-top: calc(13 / 750 * 100vw);
}

.mt16 {
    margin-top: 16px;
}

.mt25 {
    margin-top: calc(28 / 750 * 100vw);
}

.mt50 {
    margin-top: calc(53 / 750 * 100vw);
}

.mt70 {
    margin-top: calc(73 / 750 * 100vw);
}

.mt100 {
    margin-top: calc(103 / 750 * 100vw);
}

/* margin-bottom */
.mb0 {
    margin-bottom: 0 !important;
}

.mb05 {
    margin-bottom: calc(8 / 750 * 100vw);
}

.mb10 {
    margin-bottom: calc(13 / 750 * 100vw);
}

.mb16 {
    margin-bottom: 16px;
}

.mb25 {
    margin-bottom: calc(28 / 750 * 100vw);
}

.mb50 {
    margin-bottom: calc(53 / 750 * 100vw);
}

.mb70 {
    margin-bottom: calc(73 / 750 * 100vw);
}

.mb100 {
    margin-bottom: calc(103 / 750 * 100vw);
}

/* margin-left */
.ml0 {
    margin-left: 0 !important;
}
.ml05 {
    margin-left: 5px;
}
.ml10 {
    margin-left: 10px;
}
.ml16 {
    margin-left: 16px;
}
.ml25 {
    margin-left: 25px;
}
.ml50 {
    margin-left: 50px;
}
.ml70 {
    margin-left: 70px;
}
.ml100 {
    margin-left: 100px;
}

/* margin-right */
.mr0 {
    margin-right: 0px !important;
}
.mr10 {
    margin-right: 10px;
}
.mr40 {
    margin-right: 40px;
}

/* .ml05 {
    margin-left: calc(8 / 750 * 100vw);
}

.ml10 {
    margin-left: calc(13 / 750 * 100vw);
}

.ml25 {
    margin-left: calc(28 / 750 * 100vw);
}

.ml50 {
    margin-left: calc(53 / 750 * 100vw);
}

.ml70 {
    margin-left: calc(73 / 750 * 100vw);
}

.ml100 {
    margin-left: calc(103 / 750 * 100vw);
} */

@media screen and (min-width: 751px) {
    /* margin-top */
    .mt05 {
        margin-top: calc(5 / 1600 * 100vw);
    }
    .mt10 {
        margin-top: calc(10 / 1600 * 100vw);
    }
    .mt25 {
        margin-top: calc(25 / 1600 * 100vw);
    }
    .mt50 {
        margin-top: calc(50 / 1600 * 100vw);
    }
    .mt70 {
        margin-top: calc(70 / 1600 * 100vw);
    }
    .mt100 {
        margin-top: calc(100 / 1600 * 100vw);
    }
    /* margin-bottom */
    .mb05 {
        margin-bottom: calc(5 / 1600 * 100vw);
    }
    .mb10 {
        margin-bottom: calc(10 / 1600 * 100vw);
    }
    .mb25 {
        margin-bottom: calc(25 / 1600 * 100vw);
    }
    .mb50 {
        margin-bottom: calc(50 / 1600 * 100vw);
    }
    .mb70 {
        margin-bottom: calc(70 / 1600 * 100vw);
    }
    .mb100 {
        margin-bottom: calc(100 / 1600 * 100vw);
    }
    /* margin-left */
    /* .ml05 {
        margin-left: calc(5 / 1600 * 100vw);
    }
    .ml10 {
        margin-left: calc(10 / 1600 * 100vw);
    }
    .ml25 {
        margin-left: calc(25 / 1600 * 100vw);
    }
    .ml50 {
        margin-left: calc(50 / 1600 * 100vw);
    }
    .ml70 {
        margin-left: calc(70 / 1600 * 100vw);
    }
    .ml100 {
        margin-left: calc(100 / 1600 * 100vw);
    } */
}

@media screen and (min-width: 1601px) {
    /* margin-top */
    .mt05 {
        margin-top: 5px;
    }
    .mt10 {
        margin-top: 10px;
    }
    .mt25 {
        margin-top: 25px;
    }
    .mt50 {
        margin-top: 50px;
    }
    .mt70 {
        margin-top: 70px;
    }
    .mt100 {
        margin-top: 100px;
    }
    /* margin-bottom */
    .mb05 {
        margin-bottom: 5px;
    }
    .mb10 {
        margin-bottom: 10px;
    }
    .mb25 {
        margin-bottom: 25px;
    }
    .mb50 {
        margin-bottom: 50px;
    }
    .mb70 {
        margin-bottom: 70px;
    }
    .mb100 {
        margin-bottom: 100px;
    }
    /* margin-left */
    /* .ml05 {
        margin-left: 5px;
    }
    .ml10 {
        margin-left: 10px;
    }
    .ml25 {
        margin-left: 25px;
    }
    .ml50 {
        margin-left: 50px;
    }
    .ml70 {
        margin-left: 70px;
    }
    .ml100 {
        margin-left: 100px;
    } */
}
