/* 공통 */
body{background:#F2F2F2; height:100vh; display:flex; justify-content:center; align-items:center;}
.wrap{width:100%; height:100vh;min-width:320px;max-width: 720px;}



/* header */
header{height:70px; background:#fff; padding:0 2rem; box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.1); position:fixed; top:0; left:0; right:0; display:flex; justify-content:start; z-index:10;}
header > .tit{font-size:2.5rem; display:inline-block; position:absolute; left:50%; top:0px; transform:translateX(-50%); height:100%; display:flex; align-items:center; justify-content:center;}
header > .logo{display:none;}
header > .icon{height:100%; max-height:70px; display:flex; align-items:center; justify-content:center; cursor:pointer;}
header > .icon::after{font-family:"xeicon"; display:inline-block; font-size:2.5rem;}
header > .icon.backBtn{cursor:pointer;}
header > .icon.backBtn::after{content: "\e93b";}
header > .icon.alamBtn{display:none; position: relative;}
header > .icon.alamBtn::after{content: "\e99d";}
header > .icon.alamBtn.none::after{content: "\e99f";}
header > .icon.chatBtn{display:none; position: relative;}
header > .icon.chatBtn::after{content: "\ea15";}


header > .icon.chatBtn > em {display: block; font-size: 11px; color: #fff; font-weight: 800; position: absolute; top: 16px; right: -3px; background: #f15c22; line-height: 18px; min-width: 18px; padding: 0px 3px; border-radius: 9px;	}
header > .icon.chatBtn > em::before {content: attr(data-cnt);}
header > .icon.chatBtn > em[data-cnt='0'] {display: none;}

header > .icon.navBtn::after{content: "\e91c";}

header.noNavi > .icon.navBtn{display:none;}

header.main{height:15rem; box-shadow:none;}
header.main > .icon.backBtn{display:none;}
header.main > .icon.chatBtn{display:flex; margin:0 5px 0 auto;}
header.main > .logo{display:inline-block; width:150px; position:absolute; left:2rem; top:50%; transform:translateY(-50%);}
header.main > .logo > img{width:100%; object-fit:cover;}

header.sub > .icon.navBtn{margin-left:auto;}


/* content */
header.main + main{padding-top:17rem;}
main{padding:9rem 2rem 2rem;}
main section + section{margin-top:3rem;} 
main section .tit{font-size:2rem; margin-bottom:15px;}

main:has(.fixedBtn){height:calc(100vh - 60px);}

.fixedBtn{position:fixed; bottom:0; left:0; right:0; display:flex; gap:5px; padding:10px 20px; background:#fff; box-shadow:0px 0px 4px 1px rgba(0, 0, 0, 0.1);}


/* navi */
.naviWrap{display:none; position:fixed; top:0; bottom:0; left:0; right:0; background:#fff; z-index:999;}
.naviWrap.view{display:block;}
.naviWrap > .header > div{padding:0 2rem;}
.naviWrap > .header > .topArea{display:flex; justify-content:end; height:15rem; position:relative;}
.naviWrap > .header > .topArea > .logo{display:inline-block; width:150px; position:absolute; left:2rem; top:50%; transform:translateY(-50%);}
.naviWrap > .header > .topArea > .logo img{width:100%; object-fit:cover;}
.naviWrap > .header > .topArea > .icon{height:100%; max-height:70px; display:flex; align-items:center; justify-content:center; cursor:pointer;}
.naviWrap > .header > .topArea > .icon::after{content: "\e921"; font-family:"xeicon"; display:inline-block; font-size:2.5rem;}

.naviWrap > .header > .bottomArea{display:block; padding-bottom:20px;}
.naviWrap > .header > .bottomArea > .name{margin-right:auto; font-size:2.5rem; font-weight:700; line-height:1;display: block;margin-bottom:10px;}
.naviWrap > .header > .bottomArea > .name > span{font-size:2rem; font-weight:300; color:#777; margin-left:5px;}
.naviWrap > .header > .bottomArea > .btn + .btn{margin-left:2px;}
.naviWrap > .header > .bottomArea > .btn { line-height: 30px;height: 30px;border-radius: 3px; }
.naviWrap > .header > .bottomArea > .btn .logout { height: 30px; line-height: 30px; border-radius: 3px; }

.customSel{position:relative;}
.customSel > .pickArea{background:#777; padding:1rem 2rem; position:relative; display:inline-block; width:100%; color:#fff; cursor:pointer;}
.customSel > .pickArea .t{font-size:2rem; font-weight:600; white-space: nowrap; text-overflow: ellipsis; width: 95%; overflow: hidden; }
.customSel > .pickArea .s{font-size:1.4rem; font-weight:300; color:#fff;}
.customSel > .pickArea .t > span{font-size:1.4rem; margin-left:5px; font-weight:300; color:#ddd;}
.customSel > .pickArea .s > span{font-size:12px; margin-left:5px; font-weight:300; color:#ddd;}
.customSel > .pickArea::after{content: "\e941"; font-family:xeicon; color:#fff; font-size:15px; display:inline-block; position:absolute; top:50%; right:15px; transform:translateY(-50%);}

.customSel > ul{display:none; border:1px solid #bbb; width:100%; max-height:200px; overflow-y:scroll; position:absolute; bottom:-54px; left:0; background:#fff; z-index:1;}
.customSel > ul.view{display:block;}
.customSel > ul > li{padding:1rem 2rem 0; cursor:pointer;}
.customSel > ul > li:last-of-type{padding-bottom:1rem;}
.customSel > ul > li > .t{font-size:15px; font-weight:600; white-space: nowrap; text-overflow: ellipsis; width: 95%; overflow: hidden; }
.customSel > ul > li > .s{font-size:13px; font-weight:300; color:#777;}
.customSel > ul > li > .t > span{font-size:12px; margin-left:5px; font-weight:300; color:#bbb;}
.customSel > ul > li > .s > span{font-size:12px; margin-left:5px; font-weight:300; color:#bbb;}

.nav{padding:0 2rem; height:calc(100vh - 186px - 60.73px); overflow-Y:auto;}
.nav > ul > li{padding:2.5rem 0; border-bottom:1px solid #bbb;}
.nav > ul > li:last-of-type{border-bottom:0px;}
.nav > ul > li > .t{color:#777; font-size:13px; margin-bottom:20px;}
.nav > ul > li > ul{display:flex; align-items:center;}
.nav > ul > li > ul + ul{margin-top:15px;}
.nav > ul > li > ul > li{font-size:15px; font-weight:600; width:50%;}

/* formArea */
.formArea > .itemArea{font-size:0px;}
.formArea > .itemArea div{font-size:14px;}
.formArea > .itemArea > label{font-size:13px; color:#777; display:block; margin-bottom:5px;}
.formArea > .itemArea + .itemArea{margin-top:20px;}
.formArea > .itemArea > .flex{display:flex; align-items:center; gap:10px;}
.formArea > .itemArea > .flex > .renewalInput{margin-top:0px;}
.formArea > .itemArea > .flex > .renewalInput > .txt { font-size:13px; }
.formArea > .itemArea > .txt{font-size:14px;}
.formArea > .itemArea > .checkbox {display: flex; flex-wrap: wrap; gap: 5px 15px; }
.formArea > .itemArea > .directInputReason{margin-top: 5px; border-bottom: 1px solid #ccc;}

.formArea > .itemArea .renewalInput,
.formArea > .itemArea .renewalInput > input{width:auto; display:inline-block;}