@charset "utf-8";
@import url(http://spoqa.github.io/spoqa-han-sans/css/SpoqaHanSansNeo.css);
@import 'reset.css';

:root {
    /* color */
    --color-black: #1c1c1c;
    --color-darkGray: #555;
    --color-darkGray2: #676767;
    --color-white: #fff;
    --color-gray1: #e6e6e6;
    --color-gray2: #c6c6c6;
    --color-gray3: #d6d6d6;


    /* height */
    --vh-100: 100%;
    --px-50: 50px;
    --px-45: 45px;

    /* font Size */
    --fs-21 : 1.3125rem;
    --fs-19 : 1.1875rem;
    --fs-18 : 1.125rem;
    --fs-17 : 1.0625rem;
    --fs-16 : 1rem;
    --fs-15 : 0.9375rem;
    --fs-14 : 0.875rem;
    --fs-13 : 0.8125rem;
    --fs-12 : 0.75rem;
    --fs-11 : 0.6875rem;

    /* font Weight */
    --fw-200 : 200;
    --fw-300 : 300;
    --fw-400 : 400;
    --fw-500 : 500;
    --fw-600 : 600;
    --fw-700 : 700;
    --fw-800 : 800;
}


/* common */

.blind {
    visibility: hidden;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    font-size: 0;
    line-height: 0
}
.align_center {
    text-align: center;
}
.p16 {
    padding: 0 16px;
}
.pw16 {
    padding: 16px;
}
.mt-50 {
    margin-top: 50px;
}
.mt-30 {
    margin-top: 30px;
}
.mt-20 {
    margin-top: 20px;
}
.mt-16 {
    margin-top: 16px;
}
.mt-10 {
    margin-top: 10px;
}
.pb-30 {
    padding-bottom: 30px;
}
.fs24  {
    font-size: 24px;
}

/* layout */

html, body {
    height: 100vh;
    min-height: -webkit-fill-available;
    min-height: var(--vh-100);
    font-size: 16px;
    color: var(--color-black);
    line-height: 150%;
    font-family: 'Spoqa Han Sans Neo', 'sans-serif';
}
input, button, select {
    font-family: inherit;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 56px;
    z-index: 50;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray1)
}
main {
    /* min-height: 100vh; */
    max-width: 1000px;
    margin: 0 auto;
}
footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #fff;
}
footer.main {
    position: relative;
    width: 100%;
    background-color: #333;
    padding: 20px 16px;
    min-height: 100px;
}
footer.main .bottom_wrap {
    width: 100%;
    color: #fff;
    overflow: hidden;
}
.bottom_wrap img {
    width: 80px;
}
.bottom_wrap ul {
    position: absolute;
    right: 16px;
    top: 23px;
    overflow: hidden;
    display: inline-block;
}
.bottom_wrap ul li {
    display: inline-block;
}
.bottom_wrap ul li a {
    color: #fff;
    font-size: 14px;
}
.copy {
    font-size: 12px;
    color: #aaa;
    text-align: right;
    margin-top: 10px;
}
.container {
    position: relative;
    min-height: calc(100vh - 190px)
}
.term {
    position: relative;

}
.term > ul {
    overflow: hidden;
    padding-top: 30px;
}
.term > ul > li {
    word-break: keep-all;
    line-height: 150%;
    color: #676767;
    text-align: center;
    padding: 0 50px;
}


/* flex layout */

.flexbox {
    position: relative;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    flex-direction: row;
}
.flexitem {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin: 0;
    padding: 0;
    align-items: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -moz-box-orient: horizontal;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}


/* header menu*/

header h1 {
    display: inline-block;
    height: 56px;
}
header h1 img {
    vertical-align: middle;
}
header h1.pop {
    width: 100% !important;
    text-align: center !important;
    margin-left: 0;
    padding-top: 2px;
}
button.prev {
    position: absolute;
    left: 0;
    top: 0;
    width: 56px;
    height: 56px;
    background: transparent;
    border: 0;
}
.prev::after {
    content: " ";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-left: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
}
.btn_login {
    position: absolute;
    right: 0;
    top: 0;
    display: inline-block;
    width: 56px;
    height: 56px;
    font-size: var(--fs-14);
    text-align: center;
    vertical-align: middle;
    background: transparent;
    overflow: hidden;
}
.btn_logout {
    position: absolute;
    right: 0;
    top: 0;
    display: inline-block;
    height: 56px;
    line-height: 56px;
    font-size: var(--fs-14);
    text-align: center;
    vertical-align: middle;
    background: transparent;
    overflow: hidden;
    padding: 0 16px;
    cursor: pointer;
}

.header.shadow {
    border-bottom: 0;
    -webkit-box-shadow: 0px 0px 8px -4px rgba(41,41,41,.7);
    -moz-box-shadow: 0px 0px 8px -4px rgba(41,41,41,.7);
    box-shadow: 0px 0px 8px -4px rgba(41,41,41,.7);
}


/* contents */

.visual_box {
    position: relative;
}
.v_tab {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.8);
}
.v_tab button {
    display: inline-block;
    width: 50%;
    height: 50px;
    color: var(--color-white);
    font-size: var(--fs-15);
    font-weight: 500;
    background: transparent;
}
.v_img {
    width: 100%;
    height: 200px;
    background-image: url(/statics/img/speedRush/img_visual.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.r_img {
    width: 100%;
    height: 150px;
    background-image: url(/statics/img/speedRush/img_result.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.item_list {
    overflow: hidden;
}
.item_list li {
    display: block;
    position: relative;
    border: 1px solid var(--color-gray3);
    margin-bottom: 10px;
    border-radius: 6px;
}
.item_list li:last-child {
    margin-bottom: 0;
}
.item_list li img {
    position: absolute;
    top: 20px;
    left: 14px;
    width: 60px;
}
.item_list li > div {
    padding: 20px 70px 20px 90px;
}
.item_list li > div p.tit {
    font-size: var(--fs-16);
    font-weight: 500;
}
.item_list li > div p.tit + p {
    font-size: var(--fs-14);
    color: #676767;
    word-break: keep-all;
    margin-top: 5px;
}
.item_list li > div p:last-child {
    font-size: var(--fs-17);
    font-weight: 600;
    margin-top: 10px;
}
.item_list .buy {
    position: absolute;
    top: 26px;
    right: 16px;
}
button.buy {
    max-width: 50px;
    min-width: 50px;
    font-size: var(--fs-14);
    color: #fff;
    font-weight: 600;
    background-color: #000;
    border-radius: 6px;
    padding: 12px;
}
.story_wrap .tit, .story_wrap .con {
    word-break: keep-all;
}
.story_wrap .tit {
    color: var(--color-black);
    font-size: var(--fs-16);
    font-weight: 500;
}
.story_wrap .con {
    color: var(--color-darkGray2);
    font-size: var(--fs-15);
}
.story_wrap img.story1 {
    width: 100%;
}
.story_wrap img.story2 {
    display: inline-block;
    width: 72px;
    vertical-align: middle;
    margin-right: 16px;
}
.txt_sucess, .txt_fail {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}
.txt_sucess span {
    color: #40B000;
}
.txt_fail span {
    color: #E32222;
}
.txt_sucess + h3, .txt_fail + h3 {
    font-size: var(--fs-18);
    font-weight: 500;
}
.recipe_list {
    overflow: hidden;
    border-top: 1px solid #333;
}
.recipe_list li {
    overflow: hidden;
    border-bottom: 1px solid var(--color-gray3);
    padding: 0 10px;
}
.recipe_list li span {
    display: inline-block;
    font-size: var(--fs-15);
    padding: 12px 0;
}
.recipe_list li span:first-child {
    width: 50%;
    float: left;
    color: var(--color-darkGray2);
}
.recipe_list li span:last-child {
    width: 50%;
    float: right;
    text-align: right;
    color: var(--color-black);
}
.recipe_list li::after {
    content: " ";
    clear: both;
}
.recipe_list li .price {
    font-size: var(--fs-18);
    font-weight: 600;
}

/* modal */

.modal-header {
    position: relative;
    height: 40px;
    background-color: var(--color-white);
    color: var(--color-black);
    font-weight: var(--fw-600);
    padding: 0 16px;
}
.modal-header h2 {line-height: 50px;}
.modal-custom {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
}
 .modal-content {
    position: fixed;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    width: calc(100vw - 32px);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-duration: 0.4s;
    animation-duration: 0.4s;
    animation-fill-mode: forwards;
}
.type_middle {
    top: 50%;
    left: 50%;
    -webkit-animation-name: animate-middle;
    animation-name: animate-middle;
}
@-webkit-keyframes animate-middle {
    0%    {
        transform: translate(-50%,-70%);
        opacity: 0;
    }
    100%  {
        transform: translate(-50%,-50%);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 40px;
    color: #333;
    font-size: 18px;
    font-weight:var(--fw-600);
    line-height: 50px;
    text-align: center;
}
.close-modal:hover, .close-modal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.btn_close {
    background: url(/statics/img/speedRush/ico_close.svg) no-repeat center;
    width: 46px;
    height: 46px;
}
.modal-body {
    padding: 0 30px;
}
.modal-body h2 {
    font-size: var(--fs-18);
    color: var(--color-black);
    font-weight: 600;
}
.modal-body .txt_sty {
    text-align: center;
    padding: 16px 0;
}
.modal-footer {
    display: flex;
    padding: 20px 30px 30px 30px;
}


/* swiper */

.swiper {
    width: 100%;
    height: 100%;
}
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    background-color: #E6E6E6;
    border-radius: 0 0 6px 6px;
}
.swiper-slide > a {
    position: relative;
    display: block;
    width: 100%;
    height: 115px;
}
.swiper-slide > a > p {
    width: 100%;
    background-color: #000;
    padding: 6px;
    color: #fff;
    font-size: var(--fs-14);
    font-weight: 400;
    border-radius: 6px 6px 0 0;
}
.swiper-slide > a > div {
    height: 85px;
    vertical-align: middle;
    padding-top: 12px;
}
.swiper-slide > a > div > img {
    display: inline-block;
    width: inherit;
    height: auto;
    vertical-align: middle;
}


/* Heading */

h1 {
    display: inline-block;
    font-size: var(--fs-18);
    color: #000;
    font-weight: var(--fw-600);
    line-height: 50px;
    margin-left: 10px;
}
h2 {
    display: inline-block;
    font-size: var(--fs-18);
    color: #000;
    font-weight: var(--fw-600);
}


/* link */

a {
    color: var(--color-black);
    background-color: transparent;
}


/* button */

button {
    width: 100%;
    border-radius: 6px;
}
button:active, a:active {
    opacity: .5;
}
button.start {
    position: absolute;
    right: 60px;
    bottom: 10px;
    width: 132px;
    height: 56px;
    background-image: url(/statics/img/speedRush/img_start.svg);
    background-repeat: no-repeat;
    background-color: transparent;
}
.btn_confirm {
    background-color: var(--color-black);
    height: 46px;
    line-height: 46px;
    font-size: var(--fs-14);
    font-weight: bold;
    color: var(--color-white);
}
.modal_close {
    position: absolute;
    top: 0;
    right: 0px;
    width: 40px;
    height: var(--px-50);
    border: 0;
    background-color: var(--color-black);
    border-radius: 6px;
}
.btn_ok, .btn_cancel {
    display: block;
    width: 100%;
    height: 46px;
    font-size: var(--fs-14);
    font-weight: 600;
    line-height: 46px;
    text-align: center;
}
.btn_ok {
    background: var(--color-black);
    color: var(--color-white)
}
.btn_cancel {
    background: var(--color-black);
    color: var(--color-black)
}
.modal_footer button {
    height: var(--px-45);
    line-height: var(--px-45);
}
.bottom_position {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}


/* input */

[tabindex='-1'], [tabindex='0'] {
    outline: none;
}
input {
    -webkit-appearance : none;
    -moz-appearance:none;
    appearance:none;
}
input[type=number] {
    -moz-appearance: textfield;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
}
input[type='password'] {
    font-family: Verdana;
    /* letter-spacing: 0.125em; */
}
input::-ms-clear {
    display: none;
}
input::placeholder {
    color: var(--color-lightgray2);
}
input:invalid {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
:-moz-submit-invalid {
    -moz-box-shadow: none;
    box-shadow: none;
}
:-moz-ui-invalid {
    -moz-box-shadow: none;
    box-shadow: none;
}
.inputbox {
    position: relative;
}
.inputbox input {
    width: 100%;
    height: 48px;
    padding: 0 0.5rem;
    border: 0;
    border-radius: 0;
    -moz-border-radius: 3px;
    color: var(--color-black);
    font-size: var(--fs-16);
    font-weight: var(--fw-400);
    background-color: var(--color-white);
    outline: 0;
    border-bottom: 1px solid var(--color-gray2);
    transition: all .2s;
}
.inputbox input:focus-within, .inputbox input:active {
    border-bottom: 1px solid var(--color-black);
}
.inputbox input:disabled {
    background: var(--color-gray1);
}
.inputbox input:read-only {
    color: var(--color-black);
    background: var(--color-gray1);
}
.inputbox input::placeholder {
    color: var(--color-gray2);
}
.txt_clear {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 24px;
    height: 24px;
    margin: auto;
    cursor: pointer;
    color: #ccc;
}
*::placeholder {
    font-weight: var(--fw-300);
}


/* select */

select {
    -webkit-appearance: none;
    -moz-appearance:none;
    appearance:none;
}
select:disabled {
    opacity: 0.6;
}
select::-ms-expand {
    display:none;
}
.selectbox {
    position: relative;
    width: 100%;
}
.selectbox select {
    width: 100%;
    height: 48px;
    padding: 0 0.5rem;
    border: 0;
    color: var(--color-black);
    font-size: var(--fs-16);
    font-weight: var(--fw-400);
    border-radius: 0;
    -moz-border-radius: 0px;
    outline: 0;
    border-bottom: 1px solid var(--color-gray1);
    background: url(select_arrow.svg) no-repeat center right 10px var(--color-white);
    background-size: 20px auto;
    transition: all .2s;
}
.selectbox select:focus-within, .selectbox select:active {
    border-bottom: 1px solid var(--swiper-theme-color);
}
.selectbox select:disabled {
    background-color: #f9f9f9;
}
.selectbox select:disabled + span {
    opacity: 0.3;
}


/* scroll to top*/

.btn_fixed {
    position: fixed;
    bottom: 20px;
    right: 10px;
    z-index: 50;
}
.btn_top {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: url(/statics/img/speedRush/img_top.svg) no-repeat;
    background-position: center;
}


/* toast/snackbar */

#snackbar {
    visibility: hidden;
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 16px;
    font-size: var(--fs-15);
    font-weight: 500;
    text-align: center;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 16px;
    z-index: 2060;
    border-radius: 6px;
}
#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.4s, fadeout 0.5s 2.6s;
    animation: fadein 0.4s, fadeout 0.5s 2.6s;
}
@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 16px;
        opacity: 1;
    }
}
@-webkit-keyframes fadeout {
    from {
        bottom: 16px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}
.snackbar {
    display: none;
}