@charset "utf-8";

@font-face {
    font-family: 'Pretendard';
    font-weight: 900;
    font-display: swap;
    src: local('Pretendard Black'), url(/common/fonts_pretendard/Pretendard-Black.woff2) format('woff2'), url(/common/fonts_pretendard/Pretendard-Black.woff) format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 800;
    font-display: swap;
    src: local('Pretendard ExtraBold'), url(/common/fonts_pretendard/Pretendard-ExtraBold.woff2) format('woff2'), url(/common/fonts_pretendard/Pretendard-ExtraBold.woff) format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 700;
    font-display: swap;
    src: local('Pretendard Bold'), url(/common/fonts_pretendard/Pretendard-Bold.woff2) format('woff2'), url(/common/fonts_pretendard/Pretendard-Bold.woff) format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 600;
    font-display: swap;
    src: local('Pretendard SemiBold'), url(/common/fonts_pretendard/Pretendard-SemiBold.woff2) format('woff2'), url(/common/fonts_pretendard/Pretendard-SemiBold.woff) format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 500;
    font-display: swap;
    src: local('Pretendard Medium'), url(/common/fonts_pretendard/Pretendard-Medium.woff2) format('woff2'), url(/common/fonts_pretendard/Pretendard-Medium.woff) format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 400;
    font-display: swap;
    src: local('Pretendard Regular'), url(/common/fonts_pretendard/Pretendard-Regular.woff2) format('woff2'), url(/common/fonts_pretendard/Pretendard-Regular.woff) format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 300;
    font-display: swap;
    src: local('Pretendard Light'), url(/common/fonts_pretendard/Pretendard-Light.woff2) format('woff2'), url(/common/fonts_pretendard/Pretendard-Light.woff) format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 200;
    font-display: swap;
    src: local('Pretendard ExtraLight'), url(/common/fonts_pretendard/Pretendard-ExtraLight.woff2) format('woff2'), url(/common/fonts_pretendard/Pretendard-ExtraLight.woff) format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 100;
    font-display: swap;
    src: local('Pretendard Thin'), url(/common/fonts_pretendard/Pretendard-Thin.woff2) format('woff2'), url(/common/fonts_pretendard/Pretendard-Thin.woff) format('woff');
}

:root {
    --main-color: #8148E9;
    --main-color-02: #331C76;
    --nav-color: #170B3A;
    --yellow-color: #FDD477;
    --green-color: #62D78A;
    --red-color: #EA666F;
    --bg-black-op-5: #00000080;
    --shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
}


/* common */
body {
    font-size: 15px;
    font-family: 'Pretendard Regular', sans-serif;
    font-weight: normal;
    line-height: 1.5;
    letter-spacing: -0.5px;
    -ms-overflow-style: none;
    height: 100vh;
}
.body {
    min-height: 100%;
}
.wrap {
    max-width: 768px;
    width: 100%;
    min-height: 100%;
    margin: 0 auto;
    background: url(https://s3.unipware.com/zamkorea_m/images/img_bg.jpg) 0 0 no-repeat;
    background-size: cover;
    padding:0 40px 90px;
}
.wrap.info{
    padding:0 20px 90px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.wrap.statistics{
    padding:0 0px 90px;
    display: flex;
    justify-content: center;
}
.text {
    color: #fff;
}
.bg_header{
    width: 100%;
    max-width: 768px;
    position: fixed;
    height: 145px;
    background-image: linear-gradient(to bottom, #070216, #090322);   
    z-index: 11;
}
div, button, input{
    font-family: 'Pretendard';
}
hr{
    border: 0;
}


/* modal */
.modal_popup {
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: fixed;
    max-width: 768px;
    width: 100%;
    min-height: 100%;
    overflow: hidden;
    background: var(--bg-black-op-5);
    z-index: 201;
}
.modal_wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    padding: 30px 16px 20px 16px;
    background: #fff;
    z-index: 101;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0px 3px 9px rgba(0, 0, 0, .5);
}
.modal_content {
    font-size: clamp(15px, 3vw, 17px);
}
.modal_btn_w {
    margin-top: 30px;
}
.modal_btn {
    border-radius: 10px;
    font-weight: 300;
    padding: 3px 15px;
    background: var(--main-color);
    color: #fff;
}
.modal_btn.cancle {
    margin-left: 15px;
}



/* splash screen */
.splash_w {
    position: absolute;
    max-width: 170px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.splash_text {
    text-align: center;
    color: #fff;
    margin-top: 15px;
    font-size: 23px;
}





/* header */
header {
    max-width: 768px;
    position: fixed;
    top: 50px;
    transform: translate(-50%, -50%);
    left: 50%;
    width: 100%;
    z-index: 200;
    display: flex;
    justify-content: center;
}
header div {
    color: #fff;
    padding: 13px;
    text-align: center;
}
header .title {
    width: 60%;
    font-size: clamp(20px, 7vw, 27px);
    font-family: 'Pretendard SemiBold';
}
header .back {
    width: 20%;
    background: url(https://s3.unipware.com/zamkorea_m/images/ico_back.svg) 50% no-repeat;
}
header .ok {
    display: grid;
    width: 20%;
    font-size: 17px;
    align-items: center;
}
header+.content_w{
    padding-top: 80px;
}
.loading_wrap{
    max-width: 768px;
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    background-size: cover;
    padding: 0 40px 90px;
}


/* navigation */
nav {
    max-width: 768px;
    margin: 0 auto;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 70px;
    z-index: 100;
    background: var(--nav-color);
}
nav ul {
    display: flex;
    justify-content: space-evenly;
    margin-top: 9px;
}
nav ul li {
    width: 25%;
    color: #fff;
    font-size: 13px;
    text-align: center;
    font-weight: 500;
}
nav ul li p {
    opacity: 0.3;
}
nav ul li img {
    width: 30px;
    height: 30px;
    opacity: 0.3;
}
nav ul li.active p {
    opacity: 1;
}
nav ul li.active img {
    opacity: 1;
}



/* index */
.moon_w {
    display: block;
    width: 50%;
    height: 200px;
    margin: 0 auto;
}
.moon_line {
    height: 80px;
    background: url(https://s3.unipware.com/zamkorea_m/images/ico_dashed.svg) 50% no-repeat;
}
.half_moon {
    margin-top: -20px;
    height: 100px;
    background: url(https://s3.unipware.com/zamkorea_m/images/ico_halfmoon.svg) 50% no-repeat;
    background-size: contain;
}
.full_moon {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    background: var(--yellow-color);
    margin: 0 auto;
    box-shadow: 0 0 8px 8px rgba(255, 255, 255, 0.41);
}
.full_moon div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-weight: 700;
    font-size: 25px;
    color: #B55D41;
}
.main.text {
    padding: 35px 0 75px 0;
    font-weight: 700;
    font-size: clamp(18px, 6vw, 35px);
    text-align: center;
}
.btn_measure_w {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}
.btn_measure {
    position: relative;
    width: 260px;
    aspect-ratio: 1/1;
    border: 1px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px 15px rgba(255, 255, 255, 0.2);
}
.btn_measure div:first-child {
    height: 100%;
    font-weight: 500;
    font-size: clamp(24px, 6vw, 35px);
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.zz {
    position: absolute;
    font-size: 25px;
    color: #fff;
    top: 40px;
    right: 70px;
}







/* survey */
.question {
    color: #fff;
    font-size: clamp(18px, 3vw, 23px);
    padding: 20px 0px;
    font-family: 'Pretendard SemiBold';
}
.answer_w {
    display: grid;
    padding: 20px 0px;
}
.answer_w span {
    width: 100%;
    text-align: left;
    padding: 15px 25px;
    margin: 0 auto;
    margin-bottom: 20px;
    border: 2px solid var(--main-color);
    border-radius: 35px;
    color: #fff;
    font-size: clamp(18px, 3vw, 20px);
    font-weight: 500;
}
.answer_w span.active {
    background: var(--main-color);
}
.survey_state {
    display: flex;
    padding: 20px 0px;
    color: #fff;
    text-align: center;
    font-size: clamp(18px, 3vw, 20px);
    justify-content: space-between;
    align-items: center;
}

.survey_state .pre,
.survey_state .next {
    display: flex;
    align-items: center;
}
.pre img {
    transform: rotate(180deg);
}
.pre img,
.next img {
    width: 40px;
    padding: 8px;
}


/* measure */
.wrap.loading{
    display: flex;
    justify-content: center;
    align-items: center;
}
.loading.content_w .text {
    padding: 35px 0 50px 0;
    font-weight: 700;
    font-size: clamp(25px, 3vw, 30px);
    text-align: center;
    width: 100%;
}
.loading.content_w .img{
    width: 100%;
    display: flex;
    justify-content: center;
}
.loading.content_w .img img {
    max-width: 250px;
    padding: 20px 0;
}
.loading.content_w .switch_w{
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 30px 0 0 0;
}
.loading.content_w .switch_w>div{
    width: 100%;
    max-width: 120px;
    color: #fff;
    text-align: center;
    aspect-ratio: auto 1 / 1;
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 0 5px 5px rgba(255, 255, 255, 0.2);
}
.loading.content_w .switch_w img{
    width: 50px;
}
.switch_w>div>div{
    margin-top: 15px;
}
.loading.content_w input{
    width: 180px;
    height: 50px;
}
#switch {
    position: absolute;
    /* hidden */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
/* .switch_label {
    position: relative;
    width: 65px;
    height: 30px;
    background: var(--main-color);
    border-radius: 20px;
    transition: 0.2s;
}
.onf_btn {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transition: 0.2s;
    box-shadow: 0 0 0 5px rgba(128, 128, 128, 0.2);
}
#switch:checked+.switch_label {
    background: var(--main-color);
}
#switch:checked+.switch_label .onf_btn {
    left: 40px;
} */



/* result good */

.select_date_w.result {
    max-width: 330px;
    width: 100%;
    padding-top: 60px;
    margin: 0 auto;
}

.result_top {
    text-align: center;
    padding: 40px 10px 20px 6px;
}
.sleep_time {
    display: flex;
    justify-content: center;
    font-size: 20px;
    align-items: baseline;
}
.sleep_time>div {
    margin-right: 10px;
}
.sleep_time.text>.p-5 {
    margin-right: 0px;
    font-size: clamp(15px, 1vw, 17px);
}
.sleep_time div:nth-child(2) {
    font-size: 25px;
    font-weight: 700;
}
.snoring_index {
    text-align: center;
    font-size: 55px;
    font-weight: 900;
    font-family: 'Pretendard ExtraBold';
}
.snoring_index.good{
    color: var(--green-color);
}
.snoring_index.warning{
    color: var(--yellow-color);
}
.snoring_index.danger{
    color: var(--red-color);
}
.progress_w{
    padding: 24px 0 15px 0;
    display: grid;
    justify-content: center;
}
.progress_w div{
    width: 280px;
    display: flex;
    position: relative;
}
.img_gauge{
    position: absolute;
    margin-top: -7px;
    width: 20px;
}
.img_gauge.good{
    left: 20%;
}
.img_gauge.warning{
    left: 50%;
}
.img_gauge.danger{
    left: 70%;
}
hr {
    width: 33.3%;
    height: 8px;
}
hr.green {
    background-color: var(--green-color);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
hr.yellow {
    background-color: var(--yellow-color);
}
hr.red {
    background-color: var(--red-color);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.progress_text div{
    justify-content: center;
    font-size: 20px;
    padding: 12px;
}
.progress_text .good{
    color: var(--green-color);
}
.progress_text .warning{
    color: var(--yellow-color);
}
.progress_text .danger{
    color: var(--red-color);
}
.result_img{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}
.result_img img{
    max-width: 120px;
}
.result.text{
    text-align: center;
    margin-bottom: 24px;
    font-size: 20px;
}
.result_box{
    max-width: 300px;
    background: var(--main-color-02);
    margin: 0 auto;
    border-radius: 12px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.result_box div{
    width: 100%;
    text-align: center;
    color: #fff;
    display: grid;
    align-items: center;
    
}
.result_box>div{
    padding: 20px 10px;
}
.audio_container {
    display: flex;
    justify-content: center;
}

.audio_container {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.audio_container p {
    margin: 12px 0 16px ;
    width: 100%;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    text-align: center;
}

.audio_container span.no_audio_txt {
    display: block;
    margin-bottom: 12px;
    width: 100%;
    font-size: 14px;
    color: #fff;
    text-align: center; 
    word-break: keep-all ;
}

.audio_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 300px;
    padding: 20px;
    background: var(--main-color-02);
    border-radius: 12px;
}

.audio_wrap .audio_player {
    display: none; /* 숨김 (기본 오디오 컨트롤 숨김) */
}

.audio_wrap .audio_PlayPause {
    cursor: pointer;
    display: flex;
    justify-content: center;
    margin-right: 8px;
    background-color: transparent;
    border: none;
}

.audio_wrap .audio_PlayPause .audio_PlayPause_img {
    width: 18px;
}

.audio_wrap .progress_wrap {
    width: 90%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    position: relative;
}

.audio_wrap .progress_wrap .progress_bar {
    height: 100%;
    width: 0;
    background-color: var(--green-color);
    transition: width 0.1s;
}

.audio_wrap .time_display {
    display: flex;
    margin-left: 12px;
    color: #fff;
}

.audio_wrap .volume_wrap .volume_toggle img {
    margin-left: 8px;
    width: 24px;
    display: flex;
}

.audio_wrap .volume_wrap .volume_control {
    cursor: pointer;
    position: absolute;
    top: 48px;
    right: -60px;
    max-width: 100px;
    padding: 20px 20px;
    -webkit-appearance: none; /* 기본 브라우저 스타일 제거 */
    appearance: none;
    outline: none;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 5px 7px 4px #000000a6;;
}

.audio_wrap .volume_wrap .volume_control::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    background: #dedede; /* 슬라이더의 트랙 배경색 */
    border-radius: 5px;
}


/* 오디오 파일 없을 때 loading */
.audio_wrap.no_audio {
    flex-direction: column;
}

.audio_wrap .color-range_wrap {
    width: 92px;
    height: 92px;
    background-color: #241455;
    border-radius: 50px;
}

.audio_wrap .color-range_wrap .color-range {
    position: relative;
}

@-webkit-keyframes whirl-color-range {
    0% {
      -webkit-box-shadow: 0px 20px 0 0 #5012b3, 15px 20px 0 0 #603ae9, 30px 20px 0 0 #a59cf5, 45px 20px 0 0 #faf9fe, 60px 20px 0 0 white;
              box-shadow: 0px 20px 0 0 #5012b3, 15px 20px 0 0 #603ae9, 30px 20px 0 0 #a59cf5, 45px 20px 0 0 #faf9fe, 60px 20px 0 0 white; }
    20% {
      -webkit-box-shadow: 0px 20px 0 0 #603ae9, 15px 20px 0 0 #a59cf5, 30px 20px 0 0 #faf9fe, 45px 20px 0 0 white, 60px 20px 0 0 #5012b3;
              box-shadow: 0px 20px 0 0 #603ae9, 15px 20px 0 0 #a59cf5, 30px 20px 0 0 #faf9fe, 45px 20px 0 0 white, 60px 20px 0 0 #5012b3; }
    40% {
      -webkit-box-shadow: 0px 20px 0 0 #a59cf5, 15px 20px 0 0 #faf9fe, 30px 20px 0 0 white, 45px 20px 0 0 #5012b3, 60px 20px 0 0 #6d3fec;
              box-shadow: 0px 20px 0 0 #a59cf5, 15px 20px 0 0 #faf9fe, 30px 20px 0 0 white, 45px 20px 0 0 #5012b3, 60px 20px 0 0 #6d3fec; }
    100% {
      -webkit-box-shadow: 0px 20px 0 0 #faf9fe, 15px 20px 0 0 white, 30px 20px 0 0 #5012b3, 45px 20px 0 0 #603ae9, 60px 20px 0 0 #b49cf5;
              box-shadow: 0px 20px 0 0 #faf9fe, 15px 20px 0 0 white, 30px 20px 0 0 #5012b3, 45px 20px 0 0 #603ae9, 60px 20px 0 0 #b49cf5; }
    80% {
      -webkit-box-shadow: 0px 20px 0 0 white, 15px 20px 0 0 #5012b3, 30px 20px 0 0 #603ae9, 45px 20px 0 0 #a59cf5, 60px 20px 0 0 #faf9fe;
              box-shadow: 0px 20px 0 0 white, 15px 20px 0 0 #5012b3, 30px 20px 0 0 #603ae9, 45px 20px 0 0 #a59cf5, 60px 20px 0 0 #faf9fe; }
    100% {
      -webkit-box-shadow: 0px 20px 0 0 #5012b3, 15px 20px 0 0 #603ae9, 30px 20px 0 0 #a59cf5, 45px 20px 0 0 #faf9fe, 60px 20px 0 0 white;
              box-shadow: 0px 20px 0 0 #5012b3, 15px 20px 0 0 #603ae9, 30px 20px 0 0 #a59cf5, 45px 20px 0 0 #faf9fe, 60px 20px 0 0 white; } }

    @keyframes whirl-color-range {
    0% {
        -webkit-box-shadow: 0px 20px 0 0 #5012b3, 15px 20px 0 0 #603ae9, 30px 20px 0 0 #a59cf5, 45px 20px 0 0 #faf9fe, 60px 20px 0 0 white;
                box-shadow: 0px 20px 0 0 #5012b3, 15px 20px 0 0 #603ae9, 30px 20px 0 0 #a59cf5, 45px 20px 0 0 #faf9fe, 60px 20px 0 0 white; }
    20% {
        -webkit-box-shadow: 0px 20px 0 0 #603ae9, 15px 20px 0 0 #a59cf5, 30px 20px 0 0 #faf9fe, 45px 20px 0 0 white, 60px 20px 0 0 #5012b3;
                box-shadow: 0px 20px 0 0 #603ae9, 15px 20px 0 0 #a59cf5, 30px 20px 0 0 #faf9fe, 45px 20px 0 0 white, 60px 20px 0 0 #5012b3; }
    40% {
        -webkit-box-shadow: 0px 20px 0 0 #a59cf5, 15px 20px 0 0 #faf9fe, 30px 20px 0 0 white, 45px 20px 0 0 #5012b3, 60px 20px 0 0 #6d3fec;
                box-shadow: 0px 20px 0 0 #a59cf5, 15px 20px 0 0 #faf9fe, 30px 20px 0 0 white, 45px 20px 0 0 #5012b3, 60px 20px 0 0 #6d3fec; }
    100% {
        -webkit-box-shadow: 0px 20px 0 0 #faf9fe, 15px 20px 0 0 white, 30px 20px 0 0 #5012b3, 45px 20px 0 0 #603ae9, 60px 20px 0 0 #b49cf5;
                box-shadow: 0px 20px 0 0 #faf9fe, 15px 20px 0 0 white, 30px 20px 0 0 #5012b3, 45px 20px 0 0 #603ae9, 60px 20px 0 0 #b49cf5; }
    80% {
        -webkit-box-shadow: 0px 20px 0 0 white, 15px 20px 0 0 #5012b3, 30px 20px 0 0 #603ae9, 45px 20px 0 0 #a59cf5, 60px 20px 0 0 #faf9fe;
                box-shadow: 0px 20px 0 0 white, 15px 20px 0 0 #5012b3, 30px 20px 0 0 #603ae9, 45px 20px 0 0 #a59cf5, 60px 20px 0 0 #faf9fe; }
    100% {
        -webkit-box-shadow: 0px 20px 0 0 #5012b3, 15px 20px 0 0 #603ae9, 30px 20px 0 0 #a59cf5, 45px 20px 0 0 #faf9fe, 60px 20px 0 0 white;
                box-shadow: 0px 20px 0 0 #5012b3, 15px 20px 0 0 #603ae9, 30px 20px 0 0 #a59cf5, 45px 20px 0 0 #faf9fe, 60px 20px 0 0 white; } }

.audio_wrap .color-range:before {
    display: block;
    -webkit-animation: whirl-color-range .6s infinite ease;
            animation: whirl-color-range .6s infinite ease;
    content: '';
    height: 10px;
    -webkit-transform: translate(10px, 22px);
            transform: translate(10px, 22px);
    width: 10px; 
} 



/* 슬라이더 핸들 스타일 */
.volume_control::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #fff; /* 슬라이더 핸들 색상 */
    border: 2px solid var(--main-color); /* 핸들 테두리 색상 */
    border-radius: 50%;
    cursor: pointer;
    margin-top: -5.5px; /* 핸들의 위치 조정 */
}

/* 파이어폭스용 슬라이더 스타일 */
.volume_control::-moz-range-track {
    width: 100%;
    height: 8px;
    background: #dedede;
    border-radius: 5px;
}

.volume_control::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #fff;
    border: 2px solid var(--main-color);;
    border-radius: 50%;
    cursor: pointer;
}

/* 인터넷 익스플로러용 슬라이더 스타일 */
.volume_control::-ms-track {
    width: 100%;
    height: 8px;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

.volume_control::-ms-fill-lower {
    background: var(--main-color);
}

.volume_control::-ms-fill-upper {
    background: #e0e0e0;
}

.volume_control::-ms-thumb {
    width: 15px;
    height: 15px;
    background: #fff;
    border: 2px solid var(--main-color);
    border-radius: 50%;
    cursor: pointer;
}

/* 기본적으로 볼륨 컨트롤을 숨김 */
.audio_wrap .hidden {
    display: none !important;
}

.result_time, .result_rate{
    font-size: clamp(20px, 3vw, 27px);
    font-weight: 700;
}
.result_detail{
    display: flex;
    justify-content: center;
    padding: 30px 0;
}
.result_detail div{
    color: #fff;
    font-size: clamp(18px, 3vw, 24px);
    margin-right: 20px;
}
.result_detail img{
    width: 35px;
}
.result_graph_w{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.result_graph{
    position: relative;
    margin: 60px 0 50px;
    max-width: 300px;
}
.result_graph canvas{
    min-height: 200px;
}
.result_graph .snoring_index_text.result{
    top:-25px;
    left: 0px;
}
.result_graph .snoring_index_text.danger.result{
    top: 20px;
    right: 0px;
    left: auto;
}


/* statistics_main */
.wrap.statistics_main{
    padding: 0 20px 90px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contant_w.statistics_main {
    max-width: 330px;
    padding-top: 30px;
}
.contant_w{
    width: 100%;
    padding-top: 60px;
}
.main_text_w{
    font-size: 16px;
    margin:  0 0 20px 10px;
}
.main_text_w .main_text{
    display: flex;
    align-items: baseline;
}
.main_text .state{
    font-size: 25px;
    font-weight: 700;
    margin-right: 5px;
}
.statistics_box01{
    background-image: linear-gradient(to right, var(--main-color), #5F1572);    
    height: 200px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 20px;
    position: relative;
    justify-content: space-between;
    width: 100%;
}
.img_sleep_girl{
    position: absolute;
    z-index: 1;
    max-width: 150px;
    right: 0;
    top: -70px;
}
.ico_graph_line{
    position: absolute;
    z-index: 1;
    width: 100px;
    left: 170px;
    top: 100px;
    transform: translate(-50%, -50%);
}
.statistics_box01 .text_area{
    width: 30%;
    text-align: center;
}
.statistics_box01 .text_area>div:first-child{
    margin-bottom: 20px;
}
.statistics_box01 .bold{
    font-size: 27px;
    font-weight: 700;
}
.statistics_box01 .btn_area{
    text-align: center;
    display: flex;
    height: 100%;
    justify-content: end;
    align-items: flex-end;
}
.statistics_box01 .btn_area>div{
    background:  #9767BA;
    border-radius: 20px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    font-size: clamp(13px, 3vw, 15px);
}
.statistics_box01 .btn_area>div::after{
    content: "";
    background: url(https://s3.unipware.com/zamkorea_m/images/ico_arrow.svg) 50% 50% no-repeat;
    width: 20px;
    height: 20px;
    background-size: contain;
    margin-left: 5px;
}
.index_arrow{
    display: flex;
    align-items: center;
    justify-content: center;
}
.index_arrow::after{
    content: "";
    background: url(https://s3.unipware.com/zamkorea_m/images/ico_down_arrow.svg) 50% 50% no-repeat;
    width: 20px;
    height: 20px;
}
.statistics_box02_w{
    margin-top: 50px;
}
.statistics_box02_w .text{
    margin-bottom: 20px;
    font-size: 13px;
}
.statistics_box02{
    width: 100%;
    background: var(--main-color-02);
    border-radius: 30px;
    margin-bottom: 20px;
    padding: 15px 30px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    align-items: center;
    font-weight: 300;
}
.statistics_box02>div:last-child{
    font-size: clamp(18px, 3vw, 23px);
    font-family: 'Pretendard SemiBold';
}



/* statistics */

.contant_w.statistics{
    max-width: 330px;
    padding-top: 0px;
    padding-top: 100px;
}
.select_date{
    text-align: center;
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 600;
    color: #fff;
}
.select_date.year{
    text-align: center;
    font-size: 15px;
    font-family: 'Pretendard Light';
    color: #848191;
    padding: 5px;
}
.graph_w{
    position: relative;
}
.graph_w canvas{
    width: 100%;
    min-height: 230px;
    padding-top: 30px;
}
.snoring_index_text{
    position: absolute;
    color: #fff;
    font-size: 13px;
    top: 0;
}
.snoring_index_text.danger{
    position: absolute;
    color: var(--red-color);
    font-size: 13px;
    top: 55px;
    right: 0;
    font-weight: 500;
}
.snoring_index_text.sleep_time{
    right: 0;
}
.swiper{
    max-width: 330px;
    overflow: hidden;
    padding-top: 70px;
}
.swiper-pagination {
    position: fixed;
    max-width: 330px;
    width: 100%;
    display: flex;
    color: #fff;
    justify-content: space-between;
    height: 10px;
    border: 1px solid #fff;
    border-radius: 20px;
    height: 40px;
    z-index: 12;
}
.swiper-pagination-bullets .swiper-pagination-bullet {
    position: relative;
    -webkit-flex: 1;
    flex: 1;
    background-color: transparent;
    opacity: 1;
    display: inline-block;
    font-family: "Pretendard";
    font-size: 16px;
    font-weight: 500;
    padding: 0 12px;
    width: auto;
    height: 100%;
}
.swiper-pagination-bullets .swiper-pagination-bullet-active {
    height: 30px;
    background: var(--main-color);
    border-radius: 20px;
    padding: 10px;
    margin: 4px 4px 0 4px;
}
.swiper-pagination-bullets .swiper-pagination-bullet span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    text-align: center;
    line-height: 38px;
    height: 38px;
    transform: translate(-50%, -50%);
}
.select_date_w{
    margin: 0 auto;
    width: 90%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.select_date_w img{
    width: 15px; 
}
.select_date_w img:last-child{
    transform: rotate(180deg);
}
.snoring_play_w{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}
.snoring_play_w img{
    width: 40px;
    margin-right: 10px;
}
.snoring_play_w div{
    color: #fff;
    font-size: clamp(16px, 3vw, 20px);
}
.snoring_spectrum_chart, .snoring_spectrum_chart02{
    display: none;
}
.chart_w.active{
    display: block;
}
.chart_w{
    display: none;
}
header .period{
    min-width: 100px;
    background: var(--main-color);
    height: 30px;
    color: #fff;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    font-size: clamp(13px, 3vw, 16px);
}
header .period::after{
    content: "";
    background: url(https://s3.unipware.com/zamkorea_m/images/ico_back.svg) 50% 50% no-repeat;
    width: 20px;
    height: 10px;
    transition: all 0.4s 0s;
    transform: rotate(-90deg);
    background-size:contain;
}
.selete_category.active .period::after{
    transform: rotate(90deg);
}
header.statistics {
    max-width: 768px;
    position: fixed;
    top: 50px;
    transform: translate(-50%, -50%);
    left: 50%;
    width: 100%;
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center;
}.selete_category{
    width: 35%;
    height: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}
.statistics .title{
    width: 45%;
    text-align: left;
}
.selete_category .sel{
    display: none;
    position: absolute;
    width: 98px;
    top: 85px;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 10px;
    padding: 7px;
    text-align: left;
}
.selete_category.active .sel{
    display: block;
}
.selete_category .sel button{
    width: 100%;
    background: #fff;
    text-align: left;
    color: var(--main-color);
    font-weight: 600;
}
.selete_category .sel button.active{
    background: var(--main-color);
    color: #fff;
    border-radius: 5px;
    font-weight: 500;
}




/* information */
.contant_w.info{
    padding-top: 0px;
    max-width: 330px;
}
header .title.center{
    text-align: center;
}

.info_contents{
    background: var(--main-color-02);
    border-radius: 30px;
    padding: 25px;
    color: #fff;
}
.info_contents .title{
    width: 100%;
    font-size: 20px;
    margin-bottom: 5px;
    font-family: 'Pretendard SemiBold';
}
.info_contents .date{
    font-size: 13px;
    margin-bottom: 10px;
}
.info_contents .under_bar{
    height: 0.5px;
    width: 100%;
    background: #fff;
    margin-bottom: 15px;    
}
.info_contents .img{
    margin-bottom: 15px;    
}
.info_contents .content{
    margin-bottom: 15px;    
}
.date_link_w{
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center;
}
.date_link_w .date{
    margin-bottom: 0;
}
.date_link_w button{
    font-size: 13px;
    background: var(--main-color);
    color: #fff;
    border-radius: 20px;
    display: flex;
    padding: 3px 10px;
}
.date_link_w button::after {
    content: "";
    display: block;
    width: 15px;
    height: 12px;
    background: url(https://s3.unipware.com/zamkorea_m/images/img_link.svg) 50% 50% no-repeat;
    background-size: contain;
    margin: 2px 0 0 5px;
}



/* my_setting */
.my_info_box {
    width: 100%;
    color: #fff;
    background: var(--main-color-02);
    border-radius: 30px;
    margin: 30px 0;
    padding: 25px 30px;
    font-size: clamp(13px, 6vw, 30px);
}
.my_info_box .name{
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}
.my_info_box .name b{
    font-size: clamp(13px, 8vw, 35px);
    font-family: 'Pretendard SemiBold';
}
.my_info_box .name img{
    width: 25px;
}
.btn_logout_w{
    display: flex;
    justify-content: center;
}
.button{
    background: var(--main-color);
    color: #fff;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: clamp(13px, 4vw, 17px);
}
.button.join{
    margin-right: 15px;
}
.login_area{
    color: #fff;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 17px;
}
.login_w{
    text-align: center;
}
.login_w .text{
    margin-bottom: 40px;
}
.login_area input{
    display: block;
    margin-bottom: 20px;
    padding: 10px 15px;
    border-radius: 30px;
    border: 0;
    background: #9F9BAE;
    color: #000000;
}
.login_fail{
    color: var(--red-color);
    font-size: 14px;
    visibility: hidden;
    margin-bottom: 10px;
}

/* 회원가입 */
.login_w{
    color: #fff;
    text-align: left;
    padding: 15px 0;
    font-size: 16px;
}
input.join{
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #fff;
    padding: 5px 5px;
    color: #fff;
    margin-top: 10px;
    font-size: clamp(12px, 3vw, 16px);
    font-weight: 500;
}
input.join::placeholder{
    font-size: 12px;
}
.address input{
    width: 70%;
}
.address button{
    width: 30%;
    font-size: clamp(13px, 3vw, 14px);
    max-height: 35px;
    margin-top: 10px;
    margin-left: 10px;
}
.login_w.d-flex{
    align-items: center;
    width: 100%;
}
.login_w.d-flex .title{
    width: 30%;
}
.login_w.d-flex .content{
    display: flex;
    width: 70%;
}
.login_w.d-flex .box{
    border: 1px solid #fff;
    margin-top: 0px;
}
.join.box.height, .join.box.weight{
    margin-right: 10px;
}
.radio_w input+label{
    margin-right: 20px;
}
.gender{
    width: 30% ;
}
.sleep_time_w{
    display: flex;
    align-items: center;
}
.sleep_time_w .middle{
    margin: 0 10px;
}
.btn_select{
    background: transparent;
    border: 1px solid#fff;
    color: #fff;
    padding: 3px 3px 3px 8px;
    margin-right: 5px;
    display: flex;
    align-items: center;
}
.btn_select::after{
    display: block;
    content: "";
    background: url(https://s3.unipware.com/zamkorea_m/images/ico_arrow_w.svg) 50% 50% no-repeat;
    width: 13px;
    height: 15px;
    transition: all 0.4s 0s;
    background-size: contain;
    margin: 0 6px;
}
.select_w{
    position: relative;
}
.select_item{
    display: none;
    position: absolute;
    box-shadow: 0px 3px 9px rgba(0, 0, 0, .5);
    background: #fff;
    top: 29px;
    width: 73px;
    padding: 5px 0;
    max-height: 150px;
    overflow-y: scroll;
    overflow-x: hidden;
    z-index: 1;
}
.select_w.active .select_item{
    display: block;
}
.select_item button{
    background: #fff;
    width: 100%;
    text-align: left;
    margin-left: 5px;
}
.checkbox input {
    position: absolute;
    opacity: 0;
}
.checkbox .label {
    display: inline-block;
    position: relative;
    padding: 0 0 0 25px;
    line-height: 18px;
    cursor: pointer;
}
.checkbox input+.label:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid #fff;
    width: 16px;
    height: 16px;
    overflow: hidden;
}
.checkbox input:checked+.label:before {
    background: url(../images/ico_checkbox.svg) 50% 50% no-repeat var(--main-color);
    border-color: var(--main-color);
    background-size: 10px auto;
}
.checkbox_w{
    padding: 15px;
    font-size: 13px;
    font-weight: 200;
}
.bg_header.join{
    height: 80px;
    width: 100%;
    margin-left: -40px;
}
.withdrawal{
    width: 100%;
    margin-top: 100px;
    display: flex;
    justify-content: end;
}
.withdrawal button{
    font-size: 13px;
}
.modal_content.warning{
    color: var(--red-color);
    font-size: 14px;
}
.modal_wrap input{
    margin-top: 30px;
    text-align: center;
    border: 0;
    border-bottom: 1px solid #000000;
    padding: 5px;
}


/* 개인정보처리방침 */
pre{
    padding: 0px 50px;
}
.privacy_policy{
    text-align: center;
    line-height: 2;
}
.privacy_policy .title{
    font-size: 25px;
    font-weight: 800;
    text-align: center;
}
.privacy_policy .sub{
    font-size: 20px;
    font-weight: 700;
}
.loading_circle .img img{
    max-width: 50px;
}
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.rotate {
    animation: rotate 4s linear infinite;
    max-width: 50px;
}

/* 미디어쿼리 */
@media (max-width:620px) {
    .select_date_w.result {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width:480px) {
    .audio_wrap .volume_wrap .volume_control {
        padding: 16px 12px;
        right: -30px;
        max-width: 88px;
    }
}

@media (max-width:375px) {
    .img_sleep_girl {
        position: absolute;
        z-index: 1;
        max-width: 150px;
        left: 73%;
        top: 30px;
        transform: translate(-50%, -50%);
    }
    .ico_graph_line {
        position: absolute;
        z-index: 1;
        width: 80px;
        left: 150px;
        top: 100px;
        transform: translate(-50%, -50%);
    }
    .contant_w.statistics {
        padding: 100px 20px 0 20px;
    }
    .swiper-pagination, .select_date_w  {
        max-width: 280px;
    }
    
    header{
        padding-right: 15px;
    }
    header.info{
        padding-right: 0px;
    }
    .address button{
        padding: 3px;
    }
}
@media (max-width:320px) {}