:root {
    --main-color: #f8afad;
    --sub-color : var(--main-color);
}


body{
    margin: 0;
    padding: 0;
    background:#ccc;
    -ms-overflow-style: none;
    font-family: "Nanum Gothic", serif;
    font-weight: 400;
    font-style: normal;
}
::-webkit-scrollbar {
    display: none;
  }

  /* iOS 기본 스타일 제거 */
input[type="date"],
select {
    appearance: none; /* 기본 스타일 제거 */
    -webkit-appearance: none; /* iOS Safari 기본 스타일 제거 */
    -moz-appearance: none; /* Firefox 기본 스타일 제거 */
    background: #eee9e5;
    border: 0px solid #ccc;
    color: inherit; /* 텍스트 색상을 상속받아 iOS 파란색 제거 */
    padding: 8px; /* 여백 추가 */
    font-size: 16px; /* 폰트 크기 설정 */
}

/* iOS에서 나타나는 화살표 아이콘 제거 */
select::-ms-expand {
    display: none;
}
select::-webkit-inner-spin-button,
select::-webkit-calendar-picker-indicator {
    display: none;
}
app{
    width:100%;
    max-width : 600px;
    height:100%;
    position: absolute;
    overflow: hidden;
    top: 0;
    left:50%;
    transform: translate(-50%, 0);
    background:#fff;
}
.wrap{
    width:100%;
    height:100%;
}

.title-wrap{
    width:100%;
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    left:50%;
    top:50%;
    transform: translate(-50%, -50%);
}

.startBt{
    width:65%;
}
.center{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.page{
    width:100%;
    height:100%;
    position: absolute;
    overflow: scroll;
    display: none;
}

.page.active{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.q_title{
    font-size: 1em;
    font-weight: 700;
}

.buttons{
    width:59.583%;
    cursor: pointer;
}

.q_subtitle{
    font-size: 0.9em;
    font-weight: 600;
    width: 100%;
    padding:0;
    color:#836E57;
    display: flex;
    justify-content: start;
    align-items: center;
    line-height: 1;
    margin: 10px;
}



.check_label{
    margin-left : 10%;

}
.header{
    position:relative;
    color:#fff;
    width:100%;
    top:0;
    left:0;
}
.header img{
    width:100%;
}
.header-left{
    position: absolute;
    width:12%;
    height:100%;
    top:0;
    left:0;
    cursor: pointer;
}
#page0{
    background: #823F41;
}

#page0 img{
    position: absolute;
    width:100%;
}

#page1, #page2, #page4{
    background: #fff;
}


button{
    height:50px;
    width: 30%;
    border:0px;
    border-radius: 25px;
    margin: 5px;
    cursor: pointer;
}
.row{
    width:84%;
    padding-top: 30px;
    padding-left:8%;
    padding-right:8%;
    padding-bottom: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.dashed_bottom{
    border-bottom: 1px dashed #ccc;
}

.center_align{
  display: flex;   
  justify-content: center;

}

.bottom-dis{
    width:100%;
}

.titles{
    width:100%;
    max-width: 475px;
}
.titles.margin30{
    margin-top: 30px;
}

.numberImage{
    height: 40px;
}

input {
    width:calc(94% - 20px);
    max-width: 484px;
    height:20px;
    padding:10px;
    background: #eee9e5;
    border: 0px solid #ccc;
    border-radius: 50px;
    text-align: center;
}

select {
    width:calc(94% + 0px);
    max-width: 484px;
    border-radius: 50px;
    height:40px;
    padding:10px;
    text-align: center;
}

#page4LIst{
    width:100%;
    overflow-x: hidden;
    overflow-y: scroll;
    
}
#page4LIst li{
    margin-left: 10%;
    margin-top: 40px;
    width:80%;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.listDate{
    width:100%;
    height:50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border : 1px solid #FBB040;
    border-radius: 4px 4px 20px 20px;
}
.hiddenRow{
    width: 100%;
    height:40px;
    margin-top: 20px;
    display: none;
    justify-content: space-around;
    align-items: center;
    
}

sup{
    transform: translate(0, -4px);
}
.hiddenRow.active{
    display: flex;
}
.hiddenRow button{
    background: lightblue;
    width:20%;
    height:30px;
    border-radius: 0;
}



input[type="checkbox"] {
    width: 25px;
    height: 25px;
    margin-right: 15px;
}
label{
    display: flex;
    align-items: center;
}


.remarks{
    position: relative; /* 부모 요소에 relative 추가 */
    font-size: 0.7em;
    text-align: left;
    width:90%;
    margin-left: 5%;
    margin-top: 10px;
    color:#555;
    list-style: none;
}

.remarks::before {
    content: "※"; /* 원하는 기호 */
    position: absolute;
    left: -12px;
  }

.point_color{
    background: var(--main-color);
    color:#fff;
}



.report-table{
    margin-left: 3%;
    width:94%;
    border-collapse: collapse; 
    margin-bottom: 20px;
}

.report-table td{
    
    height: 35px;
   
}

.mainColorBt{
    background: var(--main-color);
    color:#fff;
}

.subColorBt{   
    background: var(--sub-color);
    color:#fff;
}
.table-key{
    text-align: center;
}

.oliveFont{
    color:#836E57;
}
.table-title{
    width:100%;
    text-align: center;
    height: 35px;
    border-radius: 25px;
    background: var(--main-color);
    color:#fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    margin-bottom: 20px;


}

.dashed-table td {
    border-top: 1px solid #000;   /* 상단 테두리 */
    border-bottom: 1px solid #000;   /* 하단 테두리 */
    border-left: none;    /* 왼쪽 테두리 없음 */
    border-right: none;   /* 오른쪽 테두리 없음 */
}

/* 안쪽 셀의 테두리는 대시선으로 설정 */
.dashed-table tr td{
    border-left: none;  /* 왼쪽 테두리 없음 */
    border-right: none; /* 오른쪽 테두리 없음 */
    border-top: 1px solid #aaa;   /* 상단 안쪽 테두리는 대시선 */
    border-bottom: 1px solid #aaa;   /* 하단 안쪽 테두리는 대시선 */
}

.dashed-table .table-key{
    background:#ede9e5;
    text-align: center;
    color: #2a2a2a;
}

.table-value{
    text-align: center;
}


.border-radius-left{
    width:100%;
    height:100%;
    border-radius: 5px 0px 0px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #FBB040;
    font-weight: bold;
    background: #FBB040;
    color: #72313B;
}

.border-radius-right{
    width:100%;
    height:100%;
    border-radius: 0 5px 25px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #FBB040;
    
}
.border-radius-full{
    border-radius: 25px;
}

.table-value.risk.모름{
    background: #fff;
}
.hidden{
    display: none;
}

.essential::before {
    padding-left: 5px;
    content: "*";
    font-size: 10px;
    color: rgb(255, 57, 57);
}

#popup{
    position: absolute;
    width:100%;
    height:100%;
    left:0;
    top:0;
    z-index:50;
}
.back {
    background:#ccc;
}

.backBt{
    width:60px;
    height:60px;
    background: #ccc;
    color: #000;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding:10px;
    border-radius: 10px;
}
.popup-inner{
    position: absolute;
    left:50%;
    top:50%;
    background: #EDE8E5;
    transform: translate(-50%, -50%);
    width:100%;
    z-index:2;
    display: none;
}

.popup-inner.active{
    display: block;
}

.popup-back{
    position: absolute;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.5);
    z-index:1;
}
.tapwrap{
    position:absolute;
    width:100%;
    height:75%;
    top:25%;
    left:0;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;

}
.tap{
    width: 49.5%;
    height:22.5%;
    cursor: pointer;
}
.tapTitle{
    width:100%;
    height:30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size:12px;
    background: var(--main-color);
    color: #fff;
}

.모름::after {
    content: "모름";
    font-size: 12px;
    color: #6a6a6a;
}
.kakao_bt{
    background:#ffe031;
}
.optional{
    margin-left: 20px;
    width:18px;
    height:18px;
}

.optional_input:disabled {
    background-color: #ccc; /* 회색 배경 */
    color: #eee; /* 회색 텍스트 */
    cursor: not-allowed; /* 클릭 불가 표시 */
    opacity: 0.5; /* 비활성화된 느낌 */
}
.historic-button{
    font-size: 1.2em;
    width: 25%;
    height:100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    opacity: 1;
    border-radius:  4px;

}


.view-button{
    background:#71A543;
    /* border: 2px solid #198754; */
    
}
.edit-button{
    background:#FBB040;
    /* border: 2px solid #ffc107; */

}
.delete-button{
    background:#EC6010;
    /* border: 2px solid #dc3545; */
}

.historic:hover{
    opacity: 1;
}

.card{
    position: relative;
    width:100%;
    border-radius: 0px;
    display: none;
    margin-top: 20px;
    /* 우측 하단 20px 잘라내기 */

}


#간수치_표시{
    width:100%;
    display: block;
}


.card.risk{
    display : block;
}


.new-risk{
    width:31.33333333%;
    height:75px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7em;
    margin: 1%;
}

#risk_factor_result{
    width:100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.popup-left{
    position: absolute;
    top:0%;
    left:0%;
    width:11.666%;
    height:15%;
    cursor: pointer;
    
}

.popup-close{
    position: absolute;
    top:4%;
    right:2%;
    font-size:1.5em;
    cursor: pointer;
    color:#fff;
}

#landing-wrap{
    position: relative;
    width: 100%;
    height: 0; /* 높이를 초기화 */
    padding-top: 166.6666%; 
}

.main-img{
    z-index: 1;
    width:100%;
    top:0;
    left:0;
}

.main-start-button{
    position: absolute;
    z-index: 2;
    left:9.8333333%;
    top:45.5%;
    cursor: pointer;
}

.main-start-button2{
    position: absolute;
    z-index: 2;
    left:9.8333333%;
    top:57.75%;
    cursor: pointer;
}

.main-dis{
    position: absolute;
    z-index: 2;
    width:100%;
    bottom:0%;
  
}

#checkIcon{
    transform: scale(0);
    animation-name:  scaleUP;
    animation-duration: 0.3s;
    animation-delay: 0.8s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
    transform-origin: 56.333% 24.625% ;
}

#mainTitle{
    opacity: 0;
    animation-name:  fadein;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
}

.rateFadeIn{
    opacity: 0;
    animation-name:  fadein;
    animation-duration: 1s;
    animation-delay: 0.7s;
    animation-fill-mode: forwards;
}

#mainLiver{
    animation-name:  upndown;
    animation-duration: 3s;
    transform: translate(0, 5%);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}


@keyframes scaleUP {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadein {
    0% {
       opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


@keyframes upndown {
    0% {
        transform: translate(0, 1%);
    }
    50% {
        transform: translate(0, -1%);
    }
    100% {
        transform: translate(0, 1%);
    }
}


.beigeBG{
    width:100%;
    background:#EEE9E5;

}

.필수입력_텍스트{
    margin-top: 30px;
    margin-bottom: 0px;
    width:calc(96% - 10px);
    max-width: 500px;
    padding: 0px;
    padding-right:10px;
    text-align: right;
}


.필수입력_텍스트::before {
    content: "* 필수입력사항"; /* 원하는 기호 */
    text-align: right;
    font-size: 0.8em;
    color: #ff0000;
    
  }

  .astalttap {
    background: url('../img/taps-01.png') no-repeat center;
    background-size: 100%;
  }

  .astalttap.active {
    background: url('../img/taps-02.png') no-repeat center;
    background-size: 100%;
  }

  .ggttap {
    background: url('../img/taps-03.png') no-repeat center;
    background-size: 100%;
  }

  .ggttap.active {
    background: url('../img/taps-04.png') no-repeat center;
    background-size: 100%;
  }

  .bilitap {
    background: url('../img/taps-05.png') no-repeat center;
    background-size: 100%;
  }

  .bilitap.active {
    background: url('../img/taps-06.png') no-repeat center;
    background-size: 100%;
  }