/**
 *  共通CSS
 */

/* common css */

/* base color */
:root {
    --body-color: #f3f3f3;
    --base-color: #ffca16;
    --deep-base-color: #ff8b2c;
    --button-color: #ff8b2c;
    --base-color-hover: #ffe797;
    --base-color-disable: #cccccc;
    --text-color: #333333;
    --on-base-text-color: #ffffff;
    --side-menu-selected: #ff8b2c;
}

/* Bootstrap Overwrite */
body {
    color: #383838;
    max-width: 750px;
    margin: 0 auto;
}
.row {
    margin-left: 0;
    margin-right: 0;
}
button:focus {
    outline: none;
}

/* Layout */
header {
    width: 100%;
    background-color: var(--base-color);
    min-height: 50px;
    padding: 0.2rem 0;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 1020;
}
button {
    width: 100%;
    height: 40px;
    font-size: 12px;
    padding: 0;
    background: none;
    border: none;
}
.header-btn-back img {
    width: 70%;
    margin-top: 0.4rem;
}
.header-btn-menu img {
    width: 77%;
    margin-top: 0.7rem;
}
.drawer-hamburger {
    padding-top: 0;
    padding-bottom: 0;
    right: 12px;
}
h1 {
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    margin-top: 0.7rem;
    text-align: center;
}

/**
 * common css
 **/
.no-padding {
    padding: 0;    
}


/* navigation */
.drawer-nav {
    background-color: var(--deep-base-color);
}
.drawer-nav .drawer-dummy {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    min-height: 50px;
    padding: 0.2rem 0;
    background-color: var(--deep-base-color);
}
.drawer-menu {
    padding-top: 50px;
    overflow: scroll;
    height: 100%;
}
.drawer-brand, .drawer-menu-item {
    color: #ffffff;
}
.open-menu {
    display: none;
}
.top-menu,
.step1-menu,
.step2-menu,
.collction-menu,
.training-menu {
    padding-left: 10px;
}
.top-menu li,
.step1-menu li,
.step2-menu li {
    list-style: none;
}
.top-menu li {
    font-weight: bold;
}
#close-menu-step1,
#close-menu-step2,
#close-menu-collction,
#close-menu-training {
    width: 90%;
    color: #fff;
    text-indent: 0.5em;
    font-weight: bold;
    padding: 5px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.6);
    margin-left: 10px;
}
#open-menu-step1,
#open-menu-step2 {
    width: 90%;
    color: #fff;
    text-indent: 0.5em;
    font-weight: bold;
    padding: 55px 0 5px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.6);
    margin-left: 10px;
    font-size: 16px;
}
.drawer-menu h3 {
    font-size: 16px;
}
.step1-arrow,
.step2-arrow,
.collction-arrow,
.training-arrow {
    font-size: 10px;
    display: inline-block;
    text-align: left;
    width: 10px;
}
.rotate-180 {
    transform: rotateX(180deg);
    transition: transform 150ms ease-in-out; 
}

/* indicator */
#indicator {
    display: table;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9999;
}
#indicator .indicatorImg {
    position: absolute;
    top: 39%;
    left: 46%;
    background-color: #ffffff;
    text-align: center;
    padding: 0.5rem;
    border-radius: 3rem;
    display: inline-table;
}
#indicator .indicatorMsg {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    padding-top: 50px;
    color: #ffffff;
}

/**
 *  メッセージダイアログ
 **/
#messageDialog {
    background-color: #fff;
    border-radius: 4px;
    padding: 3%;
    position: absolute;
    top: -100%;
    left: 10%;
    width: 80%;
    z-index: 9999;
    box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.2);
    font-size: 4vw;
    opacity: 0;
    transition: all 300ms 0s ease-out;
}
#messageDialog.msgDialogShow {
    top: 4%;
    opacity: 1;
}
#messageDialog.msgDialogHide {
    top: -20%;
    opacity: 0;
}

@media screen and (min-width: 0px) and (max-width: 320px) {
    h1 {
        font-size: 13px;
        margin-top: 0.9rem;
    }
    .header-btn-back img {
        width: 100%;
    }
    #indicator .indicatorImg {
        top: 42%;
        left: 42%;
    }
}
@media screen and (min-width: 321px) and (max-width: 768px) {
    #indicator .indicatorImg {
        top: 42%;
        left: 42%;
    }
}
@media screen and (min-width: 768px) {
    .header-btn-back img {
        width: 37%;
    }
    .drawer-hamburger {
        position: relative;
        right: 12px;
    }
    .header-btn-menu img {
        width: 88%;
        margin-top: 0.4rem;
    }
}
@media screen and (min-width: 1020px) {
    .header-btn-back img {
        width: 21%;
    }
    .drawer-hamburger {
        position: relative;
        right: 12px;
    }
    .header-btn-menu img {
        width: 91%;
        margin-top: 0.4rem;
    }
}


/* container */
.container {
    padding: 0;
}

/* content */
.content {
    padding-top: 50px;
    padding-bottom: 50px;
}
.content img {
    width: 100%;
}

/* elements */
.common-button {
    width: 100%;
    height: 10vw;
    color: #ffffff;
    background-color: var(--button-color);
    border-radius: 4px;
    font-size: 5vw;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 20px;
    z-index: 1050;
}
select, input {
    border-radius: 4px;
    border: 1px solid #bbbbbb;
    padding: 1.3vw;
}

/* footer */
footer {
    width: 100%;
    background-color: var(--base-color);
    color: #ffffff;
    text-align: center;
    min-height: 5%;
    padding: 10px 0;
    position: fixed;
    text-align: center;
    bottom: 0;
    left: 0;
    right: 0;
}
.copyright {
    width: 100%;
    font-size: 0.9rem;
}