body {
    box-sizing: border-box;
}

/*--------------------------------

 サイドナビ

--------------------------------*/

nav#sideNav {
    position: absolute;
    left: 13px;
    top: 110px;
    display: inline-block;
    z-index: 90;
}

nav#sideNav li {
    line-height: 32px;
    font-size: 14px;
    margin-bottom: 25px;
    opacity: 0.6;
    cursor: pointer;
    color: #333;
}

nav#sideNav li a {
    text-decoration: none;
    color: #333;
}

nav#sideNav li:hover {
    opacity: 1;
}

nav#sideNav li span {
    display: none;
}

nav#sideNav li:hover span {
    display: inline;
}

nav#sideNav li i {
    display: inline-block;
    width: 32px;
    height: 32px;
    text-indent: -90000px;
    background: url(../img/bgicons.png);
    margin-right: 15px;
}

button#navOpen {
    display: none;
}

nav#sideNav li#menu i {
    background-position: -500px 55%;
}

nav#sideNav li#openRecord i {
    background-position: -0px 55%;
}

nav#sideNav li#nav2 i {
    background-position: -100px 55%;
}

nav#sideNav li#nav3 i {
    background-position: -200px 55%;
}

nav#sideNav li#nav4 i {
    background-position: -300px 55%;
}

@media screen and (max-width: 600px) {
    button#navOpen {
        position: absolute;
        top: 25px;
        left: 15px;
        width: 30px;
        height: 30px;
        background: url(../img/bgicons.png);
        background-position: -502px 52%;
        display: block;
        text-indent: -90000px;
        overflow: hidden;
        border: none;
        z-index: 90;
    }

    button#navOpen.on {
        background-position: -602px 52%;
    }
    nav#sideNav {
        display: none;
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 88;
        padding-top: 100px;
        padding-left: 100px;
        background: #fff;
    }
    nav#sideNav li {
        opacity: 0.8;
    }
    nav#sideNav li span {
        display: inline;
    }
}

/*--------------------------------

TASKメイン

--------------------------------*/

section#taskWrap {
    padding: 50px;
    max-width: 680px;
    margin: 0 auto;
}

@media screen and (max-width: 600px) {
    section#taskWrap {
        padding: 50px 5px;
    }
}

section#taskWrap h1 {
    text-align: center;
    padding-bottom: 20px;
    width: 220px;
    margin: 0 auto 5px;
}

@media screen and (max-width: 600px) {
    section#taskWrap h1 {
        text-align: center;
        padding-bottom: 20px;
        width: 170px;
        margin: 0 auto 5px;
    }
}

section#taskWrap h2 {
    text-align: center;
    margin-bottom: 15px;

}

@media screen and (max-width: 600px) {
    section#taskWrap {
        padding-top: 30px;
    }

    section#taskWrap h1 {
        font-size: 28px;
        padding-bottom: 8px;
    }
    section#taskWrap h2 {
        font-size: 14px;
    }
}

span.bfo {
    display: inline-block;
    transform: translate(-20px, 0) scaleX(3);
}

span.afo {
    display: inline-block;
    transform: translate(20px, 0) scaleX(3);
}


ul#todo {

    padding-bottom: 20px;
}

ul#todo > li input {
    border: none;
    padding: 8px 8px;
    background: none;
    width: 69%;
    font-size: 14px;
    margin-right: 15px;

}

ul#todo > li i {
    display: block;
    width: 25px;
    height: 80%;
    position: absolute;
    top: 0;
    left: 0px;
    transform: translateY(10%);
    cursor: grab;
}

ul#todo > li input:focus {
    outline: 2px #a6c8ff solid;
}

ul#todo > li.taskClear input,
ul#todo > li.taskClearOn input {
    text-decoration: line-through;
    color: #666;

}

ul#todo > li.taskClear button {
    display: none;
}

ul#todo > li.taskClearOn button {
    display: none;
}


ul#todo > li button {
    display: inline-block;
    cursor: pointer;
}

ul#todo > li:last-child {
    border: none;
}



ul#todo > li {
    padding: 5px;
    border-bottom: 1px solid #f7f7f7;
    padding-left: 60px;
    background: url(../img/bgCheck.png) no-repeat;
    background-position: 0px 50%;
    position: relative;
    height: 43px;
}

@media screen and (max-width: 600px) {
    ul#todo > li {
        padding-left: 48px;
        background: url(../img/bgCheck.png) no-repeat;
    }
}


ul#todo > li.taskClear {
    background-position: -640px 50%;
}

ul#todo > li.taskClearOn {
    background: url(../img/bgCheckon.png) no-repeat;
    background-position: -640px 50%;
}

ul#todo > li.bar {
    background: url(../img/bgCheckbar.png) no-repeat;
    background-position: 0px 50%;
}

ul#todo > li.bar button.taskStart {
    display: none;
}

ul#todo > li.bar button.delBtn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

ul#todo > li span {
    font-size: 12px;
    color: #999;
    text-align: right;
}

ul#todo > li span:before {
    content: "clear";
    padding-right: 12px;
}



ul#todo > li.bar span {
    display: block;
    background: #fff;
    max-width: 220px;
    padding: 4px 0 0 0;
    margin: 0px auto 0 auto;
    transform: translateX(-30px);
    text-align: center;
}

ul#todo > li.bar span:before {
    display: none;
}

@media screen and (max-width: 600px) {
    ul#todo > li span {
        position: absolute;
        right: -1px;
        top: 50%;
        transform: translateY(-50%);
    }

    ul#todo > li.bar span:before {
        display: none;
    }
    ul#todo > li.bar span {
        position: absolute;
        left: 10%;
        top: 50%;
        background: none;
        transform: translate(-100% -50%);
    }
    ul#todo > li.bar button.delBtn {
        position: absolute;
        right: 0px;
        top: 50%;
        transform: translateY(-50%);
    }
}

ul#todo > li button.imp {
    display: block;
    position: absolute;
    top: 50%;
    left: 28px;
    transform: translateY(-50%);
    background: #f2f2f2;
    text-indent: -90000px;
    overflow: hidden;
    width: 22px;
    height: 22px;
    border-radius: 100%;
    border: none;
}

ul#todo > li button.imp.on {
    background: #ff723b;
}

@media screen and (max-width: 600px) {
    ul#todo > li button.imp {
        left: 20px;
    }
}


button#addTaskBtn {
    border: none;
    background: #1da1f2;
    border-radius: 50px;
    padding: 8px 18px;
    margin: 5px auto;
    color: #fff;
}

div#btnWrap {
    position: relative;
}

button#cleanupBtn {
    background: url(../img/bgicons.png);
    background-position: -800px 50%;
    height: 32px;
    width: 32px;
    border: none;
    margin: 0 10px 0 auto;
    text-indent: -9999px;
    overflow: hidden;
    display: block;
    position: absolute;
    top: 6px;
    right: 12px;
}

button#addTimeLine {
    background: url(../img/bgicons.png);
    background-position: -700px 50%;
    height: 32px;
    width: 38px;
    border: none;
    margin: 0 10px 0 auto;
    text-indent: -9999px;
    overflow: hidden;
    display: block;
    position: absolute;
    top: 6px;
    right: 70px;
}

button.taskStart {
    border: none;
    background: #1da1f2;
    border-radius: 50px;
    padding: 4px 12px;
    font-size: 12px;
    color: #fff;
    position: absolute;
    right: 67px;
    top: 50%;
    transform: translateY(-50%);
}



button.delBtn {
    border: none;
    background: #1da1f2;
    border-radius: 50px;
    padding: 4px 6px;
    font-size: 12px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
}

@media screen and (max-width: 600px) {
    button.taskStart {
        border-radius: 0;
        height: 75%;
        right: 39px;
        width: 50px;
        padding: 4px 3px;
    }

    button.delBtn {
        border-radius: 0;
        height: 75%;
        right: 0px;
        padding: 4px 0px;
        width: 36px;
    }
    button#addTimeLine {
        right: 42px;
    }
    button#cleanupBtn {
        right: 2px;
    }


}

section#popUpWrap {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0;
    background: #fff;
    display: none;
    z-index: 100;
}

section#popUpWrap h1 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 20px;
    line-height: 39px;
    position: relative;
}

section#popUpWrap.on h1::after {
    content: "";
    position: absolute;
    left: -30px;
    top: -90px;
    display: block;
    width: 82px;
    height: 82px;
    background: url(../img/iconImp.png) no-repeat;
}

section#popUpWrap p {
    text-align: center;
}

div#popUpInner {
    max-width: 680px;

    padding: 20px;
    padding-top: 120px;
    margin: 0 auto;

}

div#chageImpBtnWrap {
    position: fixed;
    bottom: 30px;
    right: 50px;
    width: 120px;
    z-index: 150;
    height: 70px;

    text-align: center;
}

div#chageImpBtnWrap:hover p {
    display: block;
}

div#chageImpBtnWrap p {
    font-size: 12px;
    color: 999px;
    padding: 15px;
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    display: none;
}

button#chageImpBtn {
    border: none;
    background: #ff4700;
    width: 50px;
    height: 50px;
    position: relative;
    border-radius: 100%;
}

section#popUpWrap.on button#chageImpBtn {
    background: #999;
}

button#chageImpBtn img {
    position: absolute;
    width: 66px;
    height: 66px;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

@media screen and (max-width: 600px) {
    div#chageImpBtnWrap {
        position: absolute;
        top: 5px;
        right: -30px;
        width: 120px;
        z-index: 150;
        height: 70px;

        text-align: center;
    }

    div#chageImpBtnWrap:hover p {
        display: none;
    }

    div#chageImpBtnWrap p {
        display: none;
    }

}

ul#time {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 680px;
    margin-bottom: 30px;
}

ul#time li {
    box-sizing: border-box;
    width: 30%;
    border: none;

    border-radius: 50px;
    padding: 8px 18px;
    margin: 5px auto;
    color: #fff;
    text-align: center;
    line-height: 50px;
    font-weight: bold;
    background: #1da1f2;
    cursor: pointer;
    -webkit-transition: all .3s;
    transition: all .3s;


}

ul#time li:hover {
    background: #000;
    box-sizing: border-box;
}

div#oneMoreWrap {
    margin-bottom: 30px;

}

div#oneMoreWrap p {
    padding: 5px 0 38px;
    font-weight: bold;
    font-size: 28px;
}

ul#oneMore {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 680px;

}

ul#oneMore li {
    width: 30%;
    border: none;

    border-radius: 50px;
    padding: 8px 18px;
    margin: 5px auto;
    color: #fff;
    text-align: center;
    line-height: 50px;
    font-weight: bold;
    -webkit-transition: all .3s;
    transition: all .3s;
    background: #000;
    cursor: pointer;
}

ul#oneMore li:hover {
    background: #333;
    box-sizing: border-box;
}

ul#oneMore li:nth-child(4) {
    width: 85%;
}

ul#oneMore li:last-child {
    width: 85%;
}

ul#doneOrStop {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 680px;

}

ul#doneOrStop li {
    width: 30%;
    border: none;
    border-radius: 50px;
    padding: 8px 18px;
    margin: 5px auto;
    color: #fff;
    text-align: center;
    line-height: 50px;
    font-weight: bold;
    -webkit-transition: all .3s;
    transition: all .3s;
    background: #1da1f2;
    cursor: pointer;
}

ul#doneOrStop li:first-child {
    width: 80%;
    line-height: 6em;
}

ul#doneOrStop li:last-child {
    width: 80%;
    line-height: 6em;
    display: none;

}

ul#time li:hover {

    background: #1379b7;
}




ul#graphPast {
    max-width: 680px;
    position: relative;
    margin-bottom: 40px;
}

ul#graphPast li {
    background: #02cc37;
    height: 10px;
    width: 100%;
}

ul#graphPast li:last-child {
    background: #ffa734;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 100;
    width: 0px;
}

section#greatWrap {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #ffdd00;
    color: #000;
    text-align: center;
    left: 0;
    display: none;
    top: 1000px;
    z-index: 10000;
}

section#greatWrap.on {
    background: #ff723b;
}

section#greatWrap h1 {
    font-family: 'Patua One', cursive;
    font-size: 50px;
    margin-bottom: 15px;
}

div.greatInner {
    position: absolute;
    max-width: 680px;
    text-align: center;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

p#timeGoal {
    border: 3px solid #ddd;
    font-weight: bold;
    padding: 4px 10px;
    background: #fff;
    width: 60%;
    margin: 0 auto 30px;
}

ul#stars {
    min-height: 45px;
    text-align: center;
    margin-bottom: 5px;
}

ul#stars li {
    display: inline-block;
}

button {
    cursor: pointer;
    -webkit-transition: all .3s;
    transition: all .3s;
}

button:hover {
    opacity: 0.7;
}

div#kakushi {
    overflow: hidden;
}

span#inputTxtWidth {
    font-size: 14px;
    display: inline-block;
    margin-left: -3000px;
}

audio {
    margin-left: -3000px;
}

aside#spSounds {
    display: none;
}

@media screen and (max-width: 600px) {
    section#popUpWrap h1 {
        font-size: 28px;
        text-align: center;
        margin-bottom: 20px;
        line-height: 30px;
        position: relative;
    }


    section#popUpWrap p {
        font-size: 12px;
    }
    section#popUpWrap div#oneMoreWrap p {
        padding: 5px 0 38px;
        font-weight: bold;
        font-size: 28px;
    }
    div#popUpInner {
        max-width: 680px;

        padding: 10px;
        padding-top: 75px;

    }
    span#countTime {
        font-size: 12px;
    }
    ul#doneOrStop {
        margin-bottom: 30px;
    }
    ul#doneOrStop li {
        width: 45%;
        border: none;
        border-radius: 50px;
        padding: 8px 10px;
        margin: 5px auto;
        color: #fff;
        text-align: center;
        line-height: 2.5em;
        font-weight: bold;
        -webkit-transition: all .3s;
        transition: all .3s;
        background: #1da1f2;
        cursor: pointer;
    }

    ul#doneOrStop li:first-child {
        width: 95%;
        line-height: 2.5em;
    }

    ul#doneOrStop li:last-child {
        width: 90%;
        line-height: 2.5em;
        display: none;

    }
    ul#graphPast {

        margin-bottom: 20px;
    }

    aside#spSounds {
        display: block;
        width: 100%;
        padding: 10px 3px;

    }

}


/* youtube setteng*/

div#playerWrap {
    position: relative;
}

div#playerCover {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

div#soundSetting {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 680px;
    margin-bottom: 30px;
    z-index: 200;

}

div#soundSetting > div {
    padding: 10px;
    width: 33.33%
}

#bgmButtons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 680px;
    margin-top: 10px;
    margin-bottom: 15px;
}

#bgmButtons li {
    width: 31%;
    margin: 1%
}

#bgmButtons {
    margin-bottom: 0px;

}

#bgmButtons li button {
    border: none;
    font-size: 12px;
    background: #1da1f2;
    color: #fff;
}

#bgmButtons li button.on {
    background: #fff;
    color: #1da1f2;
    border: 1px solid #1da1f2;
}

button#bgmIco {
    width: 45px;
    height: 45px;
    background: url(../img/bgSounds.png) no-repeat;
    margin: 0 auto;
    border: none;
    text-indent: -10000px;
    overflow: hidden;
    display: block;
}

button#bgmIco.off {
    background-position: 0 -100px;
}

#bgmVolume {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 100%;
    margin-bottom: 10px;
    margin-top: 0;

}

#bgmVolume li {
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;

}

#bgmVolume > li button {
    width: 22px;
    height: 22px;
    background: #1da1f2;
    border: none;
    display: inline-block;
    color: #fff;
    margin-top: 4px;
    text-align: center;
    border-radius: 50%;
}

#bgmVolume li:first-child {
    background: url(../img/volicon.png);
    background-position: -60px 0;
    width: 30px;
    height: 30px;
    overflow: hidden;
    text-indent: -9000px;
}

#bgmVolume li:nth-child(4) {
    font-size: 12px;
    color: #ddd;
    width: 18px;
}



#bgmVolume li:last-child {
    font-size: 12px;
    width: 45px;
    line-height: 26px;
}

#bgmVolume li:last-child button {
    color: #000;
    border: 2px solid #000;
    border-radius: 0%;
    background: #fff;
    width: 100%;
}

button#alarm {
    width: 45px;
    height: 45px;
    background: url(../img/bgSounds.png) no-repeat;
    background-position: -45px 0;
    margin: 0 auto;
    border: none;
    text-indent: -10000px;
    overflow: hidden;
    display: block;
}

button#alarm.off {
    background-position: -45px -100px;
}

button#snooze {
    width: 45px;
    height: 45px;
    background: url(../img/bgSounds.png) no-repeat;
    background-position: -90px 0;
    margin: 0 auto;
    border: none;
    text-indent: -10000px;
    overflow: hidden;
    display: block;
}

button#snooze.off {
    background-position: -90px -100px;
}

#bgmSetPopup {
    padding: 50px;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #fff;
    display: none;
    z-index: 120;
}

#bgmSetPopupInner {
    max-width: 680px;
    padding: 30px;
    margin: 0 auto;
    position: relative;
    text-align: center;
}

#bgmSetPopup h1 {
    font-size: 20px;
    margin-bottom: 30px;
    position: relative;
    text-align: center;
}

#bgmSetPopup h1:after {
    content: '';
    position: absolute;
    bottom: -7px;
    width: 70px;
    left: 50%;
    border-bottom: 4px solid #000;
    transform: translateX(-50%);
}

#bgmSetPopup p {
    font-size: 14px;
}

#bgmSetPopup p span {
    display: inline-block;
    padding: 2px;
    background: #e477ff;
    font-weight: bold;
}

ul#bgmList {
    padding: 20px;
    max-width: 680px;
    margin: 0 auto 12px auto;
}

ul#bgmList li {
    padding: 4px;
    cursor: grab;
    text-align: center;
}



ul#bgmList li > button,
button#addBGM {
    border: none;
    background: #1da1f2;
    border-radius: 50px;
    padding: 4px 10px;
    margin: 2px auto;
    color: #fff;
    cursor: pointer;
}

ul#bgmList li > button {
    display: inline-block;
    margin-left: 15px;

}

div#addBgmWrap {
    text-align: center;
}

input#addVid {
    padding: 4px 10px;
    margin-right: 10px;
    font-size: 14px;
}

button#closeBgmSetPopup {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 50px;
    height: 50px;
    line-height: 44px;
    position: absolute;
    top: 30px;
    right: 70px;
    font-size: 40px;
    border: 3px solid #000;
    background: none;
}

button#btnBackBlue {
    background: none;
    display: block;
    margin: 20px auto;
    border: none;
}

@media screen and (max-width: 600px) {
    section#bgmSetPopup {
        padding: 20px 10px;
        display: none;
        z-index: 100;
    }
    div#bgmSetPopupInner {
        max-width: 680px;
        padding: 10px;
        margin: 0 auto;
        position: relative;
        text-align: center;
    }
    section#bgmSetPopup p {
        text-align: justify;
        font-size: 12px;
    }
    section#bgmSetPopup span {
        padding: 0;
        background: none;
        color: #f90;
    }
    button#closeBgmSetPopup {
        top: -10px;
        right: -5px;
    }
    #addBgmWrap input {
        width: 90%;
        margin-bottom: 10px;
    }
}


/*level*/

section#levelWrap {
    position: fixed;
    width: 200px;
    bottom: 5px;
    left: 30px;
    color: #999;
    font-size: 12px;
}

ul#level {
    margin-bottom: 10px;
    margin-top: 0;
    width: 200px;
}

ul#level li {
    padding: 10px;
}



ul#level li span {
    display: inline-block;
    margin-left: 12px;
}

@media screen and (max-width: 600px) {
    section#levelWrap {
        position: relative;
        width: auto;
        margin-left: -20px;
    }
    ul#level {
        width: 90%;
    }
    ul#level li {
        display: inline;
        padding: 5px 8px 10px;
    }
    ul#level li:after {
        content: "|";
        padding-left: 8px;
        color: #f2f2f2;
    }
    ul#level li:last-child:after {
        display: none;
    }

}

/* routine ルーチン　*/

section#routineWrap {
    padding: 50px;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #fff;
    display: none;
    z-index: 100;
}

div#routineWrapInner {
    max-width: 680px;
    padding: 30px;
    margin: 0 auto;
    position: relative;
    text-align: center;
}

section#routineWrap h1 {
    font-size: 20px;
    margin-bottom: 60px;
    position: relative;
    text-align: center;
}

section#routineWrap h1.normal span {
    display: none;
}

section#routineWrap p {
    font-size: 14px;
    margin-bottom: 25px;
}

section#routineWrap h1:after {
    content: '';
    position: absolute;
    bottom: -7px;
    width: 70px;
    left: 50%;
    border-bottom: 4px solid #000;
    transform: translateX(-50%);
}

ul#routineList {
    margin-bottom: 30px;
}

ul#routineList li {
    padding: 10px;
    text-align: left;
    position: relative;
    border-bottom: 1px solid #ddd;
}

ul#routineList.edit li {
    border-bottom: 1px dotted #a6c8ff;
}

ul#routineList li strong {
    font-size: 14px;
}

ul#routineList {
    margin-bottom: 30px;
}

ul#routineList.normal button.delRtask {
    display: none;
}



ul#routineList.edit button.delRtask {
    display: inline;
}


ul#routineList.edit button.addRtask {
    display: none;
}

ul#routineList.normal button.addRtask {
    display: inline;
}

ul#routineList button {
    border: none;
    background: #1da1f2;
    border-radius: 50px;
    padding: 6px 10px;
    margin: 0px 5px 0px auto;
    color: #fff;
    display: block;
    position: absolute;
    top: 7px;
    right: 10px;
}

button#editMode,
button#exitroutineEditmode {
    border: none;
    background: #1da1f2;
    border-radius: 50px;
    padding: 6px 20px;
    margin: 0px auto 0px auto;
    color: #fff;
    display: block;
}

button#addRList {
    border: none;
    background: #1da1f2;
    border-radius: 50px;
    padding: 6px 20px;
    margin: 0px 0 0px 10px;
    color: #fff;

}

button#exitroutineEditmode {
    border: none;
    background: #fff;
    border: 2px solid #1da1f2;
    border-radius: 50px;
    padding: 6px 20px;
    margin: 40px auto 0px auto;
    color: #1da1f2;
    display: block;
}

div#editBtnWrap {
    display: none;
}

div#editBtnWrap input {
    width: 300px;
    padding: 4px 6px;
}

button#closeRoutineSetPopup {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 50px;
    height: 50px;
    line-height: 44px;
    position: absolute;
    top: 10px;
    right: 50px;
    font-size: 40px;
    border: 3px solid #000;
    background: none;
}

button#fromRoutine {
    border: none;
    background: #1da1f2;
    border-radius: 50px;
    padding: 8px 18px;
    margin: 5px 6px 5px 0px;
    color: #fff;
    display: inline-block;
}


@media screen and (max-width: 600px) {
    section#routineWrap {
        padding: 30px 10px;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: #fff;
        display: none;
        z-index: 100;
    }
    ul#routineList li {
        padding: 10px 5px;
        text-align: left;
        position: relative;
        border-bottom: 1px solid #ddd;
    }
    div#routineWrapInner {
        max-width: 680px;
        padding: 10px;
        margin: 0 auto;
        position: relative;
        text-align: center;
    }
    div#editBtnWrap input {
        width: 95%;
        padding: 4px 6px;
        margin-bottom: 25px;
    }
    button#closeRoutineSetPopup {
        top: -20px;
        right: -5px;
    }
    ul#routineList.edit li button.delRtask {
        display: block;
        position: absolute;
        right: 0;
    }


    ul#routineList.edit button.addRtask {
        display: none;
    }

    ul#routineList.normal button.addRtask {
        display: block;
        position: absolute;
        right: -10px;
        font-size: 12px;
    }



}


/*  Goal     */

section#goalWrap {
    padding: 50px;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #fff;
    display: none;
    z-index: 100;
}

div#goalWrapInner {
    max-width: 680px;
    padding: 30px;
    margin: 0 auto;
    position: relative;
    text-align: center;
}

section#goalWrap h1 {
    font-size: 20px;
    margin-bottom: 60px;
    position: relative;
    text-align: center;
}

section#goalWrap h1.normal span {
    display: none;
}

section#goalWrap p {
    font-size: 14px;
    margin-bottom: 25px;
}

section#goalWrap h1:after {
    content: '';
    position: absolute;
    bottom: -7px;
    width: 70px;
    left: 50%;
    border-bottom: 4px solid #000;
    transform: translateX(-50%);
}

ul#goalList {
    margin-bottom: 30px;
}

ul#goalList li {
    padding: 10px;
    padding-left: 40px;
    text-align: left;
    position: relative;
    border-bottom: 1px solid #ddd;
    background: url(../img/bgFlag2.png) 10px 50% no-repeat;
}

ul#goalList li.done {
    background: url(../img/bgFlag2.png) -990px 50% no-repeat;
}

ul#goalList li:first-child {
    border-bottom: 3px solid #333;
    background: url(../img/bgFlag.png) 10px 50% no-repeat;
}

ul#goalList li.done:first-child {
    background: url(../img/bgFlag.png) -990px 50% no-repeat;
}

ul#goalList li.done::after {
    content: " clear!!!";
    color: #1da1f2;
    font-size: 12px;
    position: absolute;
    top: 16px;
    right: 10px;
}

ul#goalList.edit li.done::after {
    display: none;
}

ul#goalList.edit li {
    border-bottom: 1px dotted #a6c8ff;

}

ul#goalList li strong {
    font-size: 14px;
}

ul#goalList {
    margin-bottom: 30px;
}

ul#goalList.normal button.delgoal {
    display: none;
}



ul#goalList.edit button.delgoal {
    display: inline;
}

div#goalImg {
    width: 300px;
    height: 185px;
    background: url(../img/bgGoal.png);
    -webkit-background-size: 1865px 1199px;
    background-size: 1865px 1199px;
    margin: 10px auto;
    /*    background-position: 0px -185px*/
}


ul#goalList button {
    border: none;
    background: #1da1f2;
    border-radius: 50px;
    padding: 6px 10px;
    margin: 0px 5px 0px auto;
    color: #fff;
    display: block;
    position: absolute;
    top: 7px;
    right: 10px;
}

button#editGoal,
button#exitGoalEditmode {
    border: none;
    background: #1da1f2;
    border-radius: 50px;
    padding: 6px 20px;
    margin: 0px auto 0px auto;
    color: #fff;
    display: block;
    z-index: 100;
}

button#addGList {
    border: none;
    background: #1da1f2;
    border-radius: 50px;
    padding: 6px 20px;
    margin: 0px 0 0px 10px;
    color: #fff;

}

button#exitGoalEditmode {
    border: none;
    background: #fff;
    border: 2px solid #1da1f2;
    border-radius: 50px;
    padding: 6px 20px;
    margin: 40px auto 0px auto;
    color: #1da1f2;
    display: block;
}

div#editBtnGoalWrap {
    display: none;
}

div#editBtnGoalWrap input {
    width: 300px;
    padding: 4px 6px;
}

button#closeGoalPopup {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 50px;
    height: 50px;
    line-height: 44px;
    position: absolute;
    top: 10px;
    right: 50px;
    font-size: 40px;
    border: 3px solid #000;
    background: none;
}

@media screen and (max-width: 600px) {
    section#goalWrap {
        padding: 30px 10px;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: #fff;
        display: none;
        z-index: 100;
    }

    div#goalWrapInner {
        max-width: 680px;
        padding: 10px;
        margin: 0 auto;
        position: relative;
        text-align: center;
    }
    div#editBtnGoalWrap input {
        width: 95%;
        padding: 4px 6px;
        margin-bottom: 25px;
    }
    button#closeGoalPopup {
        top: -20px;
        right: -5px;
    }

}

/* top のゴールの　CSS　*/

section#topGoalWrap {
    margin-bottom: 2px;
    text-align: center;
    font-size: 14px;
}

ul#topGoal {
    cursor: pointer;
}

ul#topGoal.nogoal {
    color: #ddd;

}

ul#topGoal.nogoal li.bigGoal i {
    display: inline-block;
    width: 30px;
    height: 28px;
    background: url(../img/bgFlag.png) no-repeat 0 5px;
}

ul#topGoal.nogoal li.smallGoal {
    display: none;
}

ul#topGoal.nogoal li.smallGoal i {
    display: inline-block;
    width: 30px;
    height: 28px;
    background: url(../img/bgFlag2.png) no-repeat 0 5px;
}

ul#topGoal li.bigGoal i {
    display: inline-block;
    width: 30px;
    height: 28px;
    background: url(../img/bgFlag.png) no-repeat -1000px 5px;
}

ul#topGoal li.smallGoal i {
    display: inline-block;
    width: 30px;
    height: 28px;
    background: url(../img/bgFlag2.png) no-repeat -1000px 5px;
}

ul#topGoal li {
    line-height: 30px;
}

ul#topGoal li:nth-child(2) {
    display: none;
}

p#goalAlert {
    color: #ff0000;
    display: none;
}

/*--------------------------------

records
履歴


--------------------------------*/

section#recordWrap {
    padding: 50px;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #fff;
    display: none;
    z-index: 100;
}

div#recordWrapInner {
    max-width: 680px;
    padding: 30px;
    margin: 0 auto;
    position: relative;
    text-align: center;
}



section#recordWrap h1 {
    font-size: 20px;
    margin-bottom: 38px;
    position: relative;
    text-align: center;
}

section#recordWrap h1:after {
    content: '';
    position: absolute;
    bottom: -7px;
    width: 70px;
    left: 50%;
    border-bottom: 4px solid #000;
    transform: translateX(-50%);
}

section#recordWrap h2 {
    margin-bottom: 60px;
    position: relative;
}

section#recordWrap p {
    font-size: 13px;
    padding: 60px 0 18px;
}

section#recordWrap h2 button {
    border: none;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 24px;
    transform: scaleX(0.8);
    background: none;
    color: #1da1f2;
    position: absolute;
    top: 50%;

    transform: translateY(-50%);
}


section#recordWrap h2 button#prev {
    left: 14%;
}

section#recordWrap h2 button#next {
    right: 14%;
}



ul#dayilyGraph {
    width: 80%;
    margin: 0 auto;
    border: 1px solid #f2f2f2;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: left;

}

ul#dayilyGraph li {
    -webkit-transition: all .6s;
    transition: all .6s;
}

ul#dayilyGraph li:nth-child(1) {
    background: #ff723b;
    height: 18px;
    margin-bottom: 15px;
    position: relative;
    width: 0%;

}

ul#dayilyGraph li:nth-child(2) {
    background: #ffd11b;
    height: 18px;
    margin-bottom: 15px;
    position: relative;
    width: 0%;
}

ul#dayilyGraph li:nth-child(3) {
    background: #6ee5b2;
    height: 18px;
    margin-bottom: 15px;
    position: relative;
    width: 0%;

}

span.tp {
    position: absolute;
    display: block;
    font-size: 12px;
    top: 50%;
    right: -75px;
    transform: translate(0, -50%);
}

ul#recoGraph {
    width: 80%;
    margin: 0 auto 10px;
    border: 2px solid #ddd;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: 400px;
}

ul#recoGraph > li {
    width: 8%;
    height: 100%;
    margin: 0px 3.1428% 0px;
    border-right: 1px dotted #f2f2f2;
    font-size: 12px;
    position: relative;
    -webkit-transition: all .6s;
    transition: all .6s;
}

ul#recoGraph.monthly > li {
    width: 2%;
    margin: 0px 0.6% 0px;
}

ul#recoGraph.monthly > li:nth-child(even) span.dayTxt {
    display: none;
}

ul#recoGraph.monthly span.dayTxt {
    position: absolute;
    bottom: -30px;
    left: -5px;
    transform: rotate(-45deg);
    line-height: 1.2;
}

ul#recoGraph.monthly > li:first-child span.dayTxt {
    display: block;
}

ul#recoGraph.monthly > li span.timeTxt {
    display: none;
}


ul#recoGraph.yearly > li {
    width: 5.8%;
    margin: 0px 1.2% 0px;
}



ul#recoGraph.yearly span.dayTxt {
    position: absolute;
    bottom: -30px;
    left: 10px;
    transform: rotate(-45deg);
    line-height: 1.2;
}

ul#recoGraph.yearly > li:first-child span.dayTxt {
    display: block;
}

ul#recoGraph.yearly > li span.timeTxt {
    display: none;
}

ul#recoGraph li div.total {
    background: #ffd11b;
    position: absolute;
    bottom: 0;
    height: 0%;
    width: 100%;
    margin-right: 1%;
}

ul#recoGraph li div.imp {
    background: #ff723b;
    position: absolute;
    bottom: 0;
    height: 0%;
    width: 100%;
    margin-right: 1%;
    z-index: 80;
}

ul#recoGraph > li span.timeTxt {
    position: absolute;
    top: -40px;
    left: -10px;
    transform: rotate(-45deg);
    line-height: 1.2;
}

ul#recoGraph li div.tooltip {
    position: absolute;
    display: none;
    z-index: 120;
    width: 120px;
    padding: 12px;
    background: #fff;
    top: -20px;
    left: -40px;
    border: 2px solid #1da1f2;
}

ul#recoGraph li:hover div.tooltip {
    display: block;

}

.tip1 {
    color: #f26933;
}

ul#recoGraph span.dayTxt {
    position: absolute;
    bottom: -30px;
    left: 8px;
    transform: rotate(-45deg);
    line-height: 1.2;
}



ul#recordNav {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 60%;
    margin: 0 auto 20px;
}

ul#recordNav li {
    width: 25%;
    text-align: center;
    display: block;
    border: 2px solid #1da1f2;
    border-right: none;
    background: #fff;
    padding: 1px;
    font-size: 14px;
    color: #1da1f2;
    font-weight: bold;
    cursor: pointer;
}

ul#recordNav li:last-child {
    border-right: 2px solid #1da1f2;
}

ul#recordNav li.on {
    background: #1da1f2;
    color: #fff;
}

button#closeRecordPopup {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 50px;
    height: 50px;
    line-height: 44px;
    position: absolute;
    top: 10px;
    right: 50px;
    font-size: 40px;
    border: 3px solid #000;
    background: none;
}

@media screen and (max-width: 600px) {
    section#recordWrap {
        padding: 30px 10px;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background: #fff;
        display: none;
        z-index: 100;
    }

    div#recordWrapInner {
        max-width: 680px;
        padding: 0px;
        margin: 0 auto;
        position: relative;
        text-align: center;
    }
    section#recordWrap h1 {
        font-size: 18px;
        margin-bottom: 28px;
    }
    section#recordWrap h2 {
        font-size: 14px;
    }
    section#recordWrap h2 button#prev {
        left: 5%;
    }

    section#recordWrap h2 button#next {
        right: 5%;
    }
    button#closeRecordPopup {

        top: -10px;
        right: 10px;

    }
    ul#recoGraph {
        width: 92%;
    }
}

/*--------------------------------

 breakTimer

--------------------------------*/

button#breaktime {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: url(../img/breakTime.png) no-repeat 50% 50%;
    width: 90px;
    height: 90px;
    border: none;
    text-indent: -910000px;
}

@media screen and (max-width: 600px) {
    button#breaktime {
        bottom: auto;
        right: auto;
        position: relative;
        width: 30px;
        height: 30px;
        margin-left: auto;
        margin-right: 6px;
        background: url(../img/bgicons.png) no-repeat -900px 50%;
        display: inline-block;
        top: -40px;
    }
    div#breakBtnWrap {
        text-align: right;
    }
}

div#beakcircle {
    width: 180px;
    height: 180px;
    border-radius: 100%;
    margin: 8px auto;
    background: #fff;
    position: relative;
}

div#beakcircle img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

section#breakTimeWrap {
    padding: 50px;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #fff;
    display: none;
    background: #03c59e;
    color: #fff;
    z-index: 100;
}

section#breakTimeWrap.on {
    background: #fff;
    color: #333;

}

div#breaktimeInner {
    max-width: 680px;
    padding: 30px;
    margin: 0 auto;
    position: relative;
    text-align: center;
}

section#breakTimeWrap h1 {
    font-size: 20px;
    margin-bottom: 38px;
    position: relative;
    text-align: center;
}

section#breakTimeWrap h1:after {
    content: '';
    position: absolute;
    bottom: -7px;
    width: 70px;
    left: 50%;
    border-bottom: 4px solid #fff;
    transform: translateX(-50%);
}

section#breakTimeWrap.on h1:after {
    border-bottom: 4px solid #000;
}

ul#bakerTimer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 680px;
    margin-bottom: 30px;
    padding: 10px 35px 30px;
}

ul#bakerTimer li {
    width: 28%;
    margin: 10px 2.6%;
    background: #fff;
    color: #03c59e;
    font-weight: bold;
    text-align: center;
    line-height: 45px;
    cursor: pointer;

}

ul#bakerTimer li:hover {
    opacity: 0.7;
}

section#breakTimeWrap h2 {
    width: 70%;
    text-align: center;
    font-size: 24px;
    margin: 30px auto;
    padding: 12px 5px;
    border: 4px solid #000;
}

ul#breakBar {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 80px;
    background: #03c59e;
    width: 100%;
}

ul#breakBar li {

    height: 80px;
    background: #ffb300;
}

button#backtoWork {
    width: 60%;
    margin-right: 5%;
    text-align: center;
    line-height: 60px;
    background: #000;
    color: #fff;
    display: inline-block;
    border: none;
    border-radius: 20px;
    font-size: 18px;
    font-weight: bold;
}

#breakEnd p {
    margin-bottom: 30px;
}



button#more10min {
    width: 30%;
    line-height: 60px;
    background: #000;
    color: #fff;
    text-align: center;
    display: inline-block;
    border: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 20px;
}

div#breakBackBtnWrap {
    padding: 22px;
}

img#breakback {
    cursor: pointer;
}

@media screen and (max-width: 600px) {
    section#breakTimeWrap {
        padding: 20px 10px;
        display: none;
        z-index: 100;
    }
    ul#bakerTimer {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        max-width: 680px;
        margin-bottom: 20px;
        padding: 10px 4px 5px;
    }
    ul#bakerTimer li {
        margin-bottom: 3px;
    }
    div#beakcircle {
        width: 120px;
        height: 120px;
        border-radius: 100%;
        margin: 5px auto;
        background: #fff;
        position: relative;
    }

    div#beakcircle img {
        position: absolute;
        top: 50%;
        left: 50%;
        border-radius: 100%;
        transform: translate(-50%, -50%);

    }
    div#breaktimeInner {
        max-width: 680px;
        padding: 10px;
        margin: 0 auto;
        position: relative;
        text-align: center;
    }
}

/*--------------------------------

 hint 関連

--------------------------------*/

section#hintWrap {
    text-align: center;
    padding: 10px;
    max-width: 720px;
    margin: 0 auto;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

section#hintWrap.over {
    text-align: center;
    padding: 10px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    transform: none;
    top: auto;
    left: auto;
    transform: none;

}

div#hintWrapInner {}

div#hintWrapInner i {
    display: inline-block;
    background: url(../img/bgicons.png) -400px 52%;
    width: 40px;
    height: 80px;
    margin-right: 4px;
    line-height: 80px;

}

div#hint {
    display: inline-block;
}

div#hint p {
    position: relative;
    top: -30px;
    background: #8e8e8e;
    padding: 6px 17px;
    border-radius: 20px;
    color: #fff;

    font-size: 14px;
    margin-right: 15px;

}

div#hint p::after {
    position: absolute;
    top: 16px;
    left: -10px;
    content: "";
    display: block;
    width: 20px;
    height: 16px;
    background: url(../img/fukiarrow.png);
}

@media screen and (max-width: 600px) {
    section#hintWrap {
        padding: 4px;

    }

    section#hintWrap.over {
        padding: 4px;

    }
    div#hint p {
        font-size: 12px;
        padding: 6px 14px;
    }
    div#hint p::after {
        display: none;
    }
}

/*--------------------------------

 timebar 

--------------------------------*/

.timebar {
    opacity: 0.5;
    background: #f2f2f2;
    width: 10px;
    border-bottom: 1px solid #999;
    border-top: 1px solid #ff0000;
}

.timebar ul li {
    position: absolute;
    font-size: 10px;
}

.timebar button {
    display: none;
}

.innerBar {
    width: 100%;
    height: 0%;
    background: red;
}

/* slider */

section#timeTargetWrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: none;
    background: #fff;
}

div#timeTargetInner {

    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border: 2px solid #f2f2f2;
    position: absolute;
    z-index: 100;
    background: #fff;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);

}

section#timeTargetWrap h1 {
    text-align: center;
    margin-bottom: 8px;
}

section#timeTargetWrap p {
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

div#timeTargetInner {
    padding: 20px 35px;
}

/* css つまみサイズ調整 */

#slider .ui-slider-handle {
    width: 30px;
    height: 30px;
    margin-top: -4px;
}

/* css 移動範囲の色 */

#slider .ui-slider-range {
    background: #00b9a1;
}

#slider {
    margin-bottom: 30px;
}

ul#sliderButton {
    margin: 0 auto 30px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: row;
    width: 80%;

}

ul#sliderButton li {
    box-sizing: border-box;
    margin: 3px 3%;
    text-align: center;
    background: #1da1f2;
    padding: 12px 10px;
    color: #fff;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    border: 1px solid #fff;
}



ul#sliderButton li#slCancel {
    box-sizing: border-box;
    width: 32%;
    font-size: 12px;
}

ul#sliderButton li#setSlTimeOK {
    box-sizing: border-box;
    width: 58%;

}

ul#sliderButton li:hover {
    box-sizing: border-box;
    border: 1px solid #1da1f2;
    background: #fff;
    color: #1da1f2;
}


div#cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 80;
    background: #fff;
    display: none;
}

div#cover.on {
    display: block;
}

div#cover.on.break {
    background: #03c59e;
}

@media screen and (max-width: 600px) {
    div#timeTargetInner {
        max-width: 600px;
        width: 95%;
        padding: 15px 12px;
        margin: 0 auto;
        border: 2px solid #f2f2f2;
        position: absolute;
        z-index: 100;
        background: #fff;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);

    }
    ul#sliderButton {
        margin: 0 auto 30px;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        flex-direction: row;
        width: 100%;

    }

}

/*--------------------------------

debug

--------------------------------*/

div#debug {
    display: none;
}
