header {
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: sticky;
    top: 0;
    padding: 0 1.5rem;
    z-index: 7777;
    background: #fff;
    border-bottom: 1px solid #e1e1e1;
    box-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}
header h1 {
    width: 15rem;
}
header h1 a {
    width: 100%;
}
header h1 a img {
    width: 100%;
}
header #menuBtn {
    width: 3rem;
    position: absolute;
    right: 1.5rem;
}
header #menuBtn img {
    width: 100%;
}

.navBg {
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    z-index: 9000;
}
nav {
    background-color: #f2f2f2;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 6rem;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 8888;
}
nav a {
    width: 25%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}
nav a img {
    height: 2rem;
    margin-bottom: 0.5rem;
}
nav a span {
    font-size: 1.5rem;
    font-weight: 500;
    color: #b4b4b4;
}

main {
    padding: 0 1.5rem 10rem;
    /* min-height: calc(100vh - 178.94px); */
}



/* common */
.title.date {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}
.title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.title a {
    font-size: 1.6rem;
    font-weight: 500;
    color: #cccccc;
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
}
span.today {
    font-size: 1.4rem;
    font-weight: 500;
    color: #ffac55;
    margin-left: 1rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 2rem;
}
h3.yellow {
    font-weight: 600;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 3rem;
    width: fit-content;
    line-height: 1.2;
}
h3.yellow:nth-of-type(2) {
    padding: 1rem 0.5rem;
    text-align: center;
}

h4 {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #ffac55;
}

.home pre {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.3;
}
.home pre b {
    font-size: 1.6rem;
    font-weight: 800;
    color: #033b96;
    line-height: 1.3;
}
.section pre {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.3;
    color: #666666;
    margin-bottom: 3rem;
}
.section p {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f538c;
    margin-bottom: 1rem;
}

.btn-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.aButton {
    border-radius: 1rem;
    font-size: 1.6rem;
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
}
.aButton.one {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1.5rem 1rem;
}
.aButton.two {
    width: calc(100% / 2 - 0.8rem);
    height: 13.7rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 1.5rem 2rem;
    text-align: center;
}
.aButton.bd {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 2rem;
    color: #cccccc;
    border: 0.1rem solid #e1e1e1;
    box-shadow: 0 0.1rem 0.2rem 0.1rem rgba(0, 0, 0, 0.1);
}
.aButton.bd img {
    width: 1.7rem;
    margin-right: 1rem;
}

.coral {
    background-color: #e26859;    
}
.pink {
    background-color: #da1467;
}
.yellow {
    background-color: #ff992e;
}
.navy {
    background-color: #032d56;
}

.coral img {
    width: 8rem;
    margin-bottom: 1rem;
}
.pink img {
    width: 11rem;
    margin-bottom: 1rem;
}
.yellow img {
    width: 4rem;
    margin-right: 1rem;
}
.navy img {
    width: 10rem;
    margin-bottom: 1rem;
}

hr {
    height: 0.1rem;
    border: 0;
    background-color: #e7e7e7;
    margin: 0.5rem -1.5rem 5rem -1.5rem;
}

input::placeholder {
    color: #d4d4d4;
}


/* home */
.home {
    margin-bottom: 5rem;
}
.home.top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.home.top img {
    width: 80%;
}
.home.top pre {
    padding: 2rem;
    border-radius: 1rem;
    border: 0.1rem solid #e1e1e1;
    box-shadow: 0 0.1rem 0.2rem 0.1rem rgba(0, 0, 0, 0.1);
}
.home-checklist {
    min-height: 18rem;
}





/* infomation */
.pre-wrapper {
    padding: 2rem;
    border-radius: 1rem;
    border: 0.1rem solid #e1e1e1;
    box-shadow: 0 0.1rem 0.2rem 0.1rem rgba(0, 0, 0, 0.1);
    margin-bottom: 4rem;
}
.pre-wrapper pre {
    color: #000;
}
.pre-wrapper pre:last-of-type {
    margin-bottom: 0;
}

.section.A .aButton.navy:nth-of-type(2) img {
    width: 9rem;
}
.section.B .aButton.navy:nth-of-type(1) img {
    width: 8rem;
}
.section.B .aButton.navy:nth-of-type(2) img {
    width: 9rem;
}
.section.C .aButton.navy:nth-of-type(1) img {
    width: 8rem;
}
.section.C .aButton.navy:nth-of-type(3) img {
    width: 4rem;
    margin-bottom: 0;
    margin-right: 1rem;
    padding: 1rem 0;
}
.section.C h3:last-of-type {
    margin-top: 3rem;
}

.open-wrapper {
    margin-bottom: 1.5rem;
}
.open-wrapper h5 {
    font-size: 1.6rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.2;
    padding: 2rem;
    border-radius: 1rem;
    background-color: #e26859;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.open-wrapper h5 img {
    width: 1.8rem;
}
.open-wrapper pre {
    background-color: #fff;
    border-radius: 0 0 1rem 1rem;
    border: 0.1rem solid #f3f3f3;
    padding: 2rem;
    margin: 0;
}



/* planner */
.calender {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.mint {
    font-size: 1.5rem;
    font-weight: 400;
    color: #fff;
    padding: 0.5rem  1rem;
    border-radius: 3rem;
    background-color: #2ab2c8;
}
.calender .title {
    margin-bottom: 1rem;
}
.calender .date-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow-x: scroll;
    gap: 1rem;
    padding: 0 1rem;
}
.calender .date-wrapper::-webkit-scrollbar {
    display: none;
}
.calender .date-wrapper .date-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-width: calc(100% / 7);
    height: 6rem;
}
.calender .year {
    font-size: 1.8rem;
    font-weight: 700;
    margin-right: 0.5rem;
}
.calender .month {
    font-size: 1.5rem;
    font-weight: 500;
    color: #ff992e;
    margin-right: auto;
}
.calender .week {
    font-size: 1.5rem;
    font-weight: 400;
    color: #acacac;
    margin-bottom: 1rem;
}
.calender .day {
    font-size: 1.6rem;
    font-weight: 400;
    width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}
.calender .date-item.gone .day {
    font-size: 1.6rem;
    font-weight: 300;
    color: #e4e4e4;
}
.calender .date-item.active .day {
    font-size: 1.6rem;
    font-weight: 400;
    color: #fff;
    width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #da1467;
}

.section.planner h2 {
    font-size: 2rem;
}
.section.planner span.today {
    margin: 0 0.5rem 1.8rem 0;
    font-size: 1.5rem;
}
.section.planner .title h2 {
    margin-right: auto;
}
.section.planner .title p {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2ab2c8;
    margin-bottom: 2.2rem;
}
.section.planner .title p span.progress {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-left: 0.5rem;
    margin-bottom: 2rem;
}
@media screen and (max-width: 360px) {
    .section.planner h2 {
        font-size: 1.8rem;
    }
    .section.planner span.today {
        margin: 0 0.5rem 1.8rem 0;
        font-size: 1.4rem;
    }
    .section.planner .title p {
        font-size: 1.7rem;
    }
    .section.planner .title p span.progress {
        font-size: 1.8rem;
    }
}


.schedule-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1rem 0;
}
.schedule-wrapper .schedule-item {
    padding: 1rem;
    width: 100%;
    border-radius: 1rem;
    border: 0.1rem solid #f4f4f4;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.schedule-item label {
    display: block;
    align-items: center;
    cursor: pointer; /* 클릭 가능하도록 설정 */
}
.schedule-item input.checkbox {
    width: 2.8rem;
    height: 2.8rem;
    appearance: none;
    border-radius: 0.5rem;
    border: 0.1rem solid #276497;
    margin-right: 1rem;
    cursor: pointer;
}

/* 체크된 상태일 때 라벨에 취소선 추가 */
.checked label {
    position: relative;
}

.checked label::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 3.5rem;
    width: calc(100% - 3rem);
    height: 0.2rem;
    background-color: #004784;
    transform: translateY(-50%);
    pointer-events: none;
}

.schedule-item .checkbox:checked {
    background-color: #195a90; /* 체크 시 배경색 */
    background-image: url("../img/check.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%;
}
.schedule-item .content,
.schedule-item .two-btn {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.schedule-item .content .time {

}
.schedule-item .content .time,
.schedule-item .content .time span {
    font-size: 1.6rem;
    font-weight: 500;
    color: #d1d1d1;
}
.schedule-item .content span.name {
    font-size: 1.8rem;
    font-weight: 800;
    margin-left: 1rem;
    margin-bottom: 0.2rem;
}
.schedule-item .two-btn {
    margin-left: auto;
}
.schedule-item .two-btn button {
    width: 2.8rem;
    height: 2.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.schedule-item .two-btn button img {
    width: 2.3rem;
}
.schedule-item .two-btn button:last-of-type img {
    width: 1.8rem;
}




/* add */
.section.add button.back {
    width: fit-content;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 2rem;
}
.section.add button.back img {
    width: 0.8rem;
    margin-right: 1rem;
}
.section.add h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #636363;
}
.section.add button.setting {
    font-size: 1.4rem;
    font-weight: 400;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 3rem;
    background-color: #2ab2c8;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}
.section.add button.setting img {
    width: 1.5rem;
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}
.section.add .input {
    margin-bottom: 3rem;
}
.section.add input {
    width: 100%;
    padding: 0.5rem 0;
    border-bottom: 0.1rem solid #dbdbdb;
    font-size: 1.6rem;
    font-weight: 500;
}
.section.add p.textLength {
    text-align: right;
    font-size: 1.3rem;
    font-weight: 400;
    color: #c2c2c2;
    margin: 0.5rem 0 -1.5rem 0;
}
.section.add p span#writeCount {
    font-size: 1.3rem;
    font-weight: 400;
    color: #c2c2c2;
}
.section.add .saveBtn-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0 4rem 0;
}
.section.add .saveBtn-wrap button.saveBtn {
    width: 14rem;
    padding: 1rem 0;
    border-radius: 1rem;
    background-color: #073e98;
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.section.add .saveBtn-wrap button.saveBtn img {
    width: 1.8rem;
    margin-right: 0.5rem;
}

/* switch */
.switch {
    margin-left: 1rem;
}
.switch input[type=checkbox] {
    height: 0;
    width: 0;
    visibility: hidden;
}
.switch label {
    cursor: pointer;
    width: 5rem;
    height: 2.5rem;
    border: 0.1rem solid #2ab2c8;
    display: block;
    border-radius: 10rem;
    position: relative;
    padding: 0 0.5rem;
}
.switch label .on-text,
.switch label .off-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #2ab2c8;
    font-weight: bold;
}
.switch label .on-text {
    left: 0.5rem;
    display: none;
}
.switch label .off-text {
    right: 0.5rem;
    display: block;
}
.switch input:checked + label .on-text {
    display: block;
}
.switch input:checked + label .off-text {
    display: none;
}
.switch label:after {
    content: '';
    position: absolute;
    top: 0;
    left: -1;
    width: 2.3rem;
    height: 2.3rem;
    background: #2ab2c8;
    border-radius: 50%;
    transition: 0.3s;
}
.switch input:checked + label:after {
    left: 103%;
    transform: translateX(-100%);
}
.switch label:active:after {
    width: 1.8rem;
}


/* modal-date */
.modal {
    padding: 0 2rem;
    border-radius: 1rem;
    min-height: 30rem;
    display: flex;
    flex-direction: column;
    z-index: 9999;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    background-color: #fff;
}
.modal .title.date {
    padding: 2rem 0;
    border-bottom: 0.2rem solid #b9b9b9;
}
.modal .title.date button.closeBtn {
    margin-left: auto;
}
.modal h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #003392;
    margin: 0;
}
.modal span {
    font-size: 1.8rem;
    font-weight: 700;
    /* margin-bottom: 1.5rem; */
}
.modal img {
    width: 2.7rem;
    margin-right: 1rem;
}
.modal img.cancel {
    width: 1.8rem;
}
.modal p.explain {
    text-align: left;
    color: #5b5b5b;
    font-size: 1.3rem;
    font-weight: 400;
}
.section.add p.warning,
.modal p.warning {
    display: none;
    font-size: 1.3rem;
    font-weight: 600;
    color: #ff242b;
}

.modal.date {
    display: none;
}
.modal.time {
    display: none;
}
/* .modal.date .inputDate {
    display: none;
} */


.modal.date .everyday {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    margin-bottom: 2rem;
}
.modal.date .everyday span {
    margin-bottom: 0.5rem;
}
.modal.date .inputDate span {
    display: inline-block;
    margin-bottom: 1.5rem;
}
.modal.date input {
    border-radius: 1rem;
    border: 0.1rem solid #f3f3f3 !important;
    border-bottom: 0;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.modal.time .inputTime {
    padding: 3rem 0;
}
.modal.time .timeSet {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 600;
    height: 4.3rem;
    margin: 1rem 0 2rem 0;
}
.modal.time .timeSet input {
    width: calc(100% / 4);
    border-radius: 0.5rem;
    border: 0.1rem solid #f3f3f3;
    padding: 1rem;
    text-align: center;
}
.modal.time .timeSet span {
    padding: 1rem;
    height: 100%;
    border: 0.1rem solid #f3f3f3;
    border-radius: 0.5rem;
    font-weight: 500;
    color: #e7e7e7;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal.time .timeSet span.active {
    border: 0;
    color: #fff;
    background-color: #2ab2c8;
}






/* qna */
.qna-wrapper {
    border-radius: 1rem;
    border: 0.1rem solid #cacacb;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.qna-wrapper h3 {
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    margin: 0;
}
.qna-wrapper h3 img {
    width: 1.8rem;
    margin-left: 0.5rem;
}
.qna-wrapper pre {
    font-size: 1.6rem;
    line-height: 1.5;
    padding: 1.5rem;
    background-color: #e9f7f9;
    margin: 0;
}
