/* 학과 공통 조직도 */
.organ-tree-wrap.depart .organ-tree-box .tree-top-box p {position: relative;margin: 0 auto;padding: 1.2rem 1rem;width: 28rem;border: 0;box-sizing: border-box;text-align: center;margin-bottom: 6rem;box-sizing: border-box;height: 7.6rem;align-content: center;}
.organ-tree-wrap.depart .organ-tree-box .tree-top-box p:after{content: '';background: url(../img/common/ico-bioethics-bottom-01.png) no-repeat center / contain;width: 2rem;height: 2rem;position: absolute;bottom: -4rem;left: 50%;transform: translateX(-50%);} 

.organ-tree-wrap.depart .organ-tree-box .tree-top-box p > span:not(.organ-position-txt) {display: inline-block;font-size: 1.8rem;font-weight: 700;}

.organ-tree-wrap.depart .organ-tree-box .tree-top-box .tree-group-box{position:relative;}
.organ-tree-wrap.depart .organ-tree-box .tree-top-box .tree-group-box > span{display:flex;justify-content:flex-end;position:absolute;top:50%;left:calc(50% - 38rem);width:28rem;font-size:1.6rem;font-weight:var(--font-weight-regular);color:#666;;line-height:2.4rem;transform:translate(-50%, -50%);}
.organ-tree-wrap.depart .organ-tree-box .tree-top-box .tree-group-box p:nth-of-type(1){background: #414F6C;color: #fff;}
.organ-tree-wrap.depart .organ-tree-box .tree-top-box .tree-group-box p:nth-of-type(2){background: #217EFF;color:#fff;}
.organ-tree-wrap.depart .organ-tree-box .tree-top-box .tree-group-box p:nth-of-type(3){background: #57B2FF;color:#fff;}
.organ-tree-wrap.depart .organ-tree-box .tree-top-box .tree-group-box p:nth-of-type(1)::before,
.organ-tree-wrap.depart .organ-tree-box .tree-top-box .tree-group-box p:nth-of-type(3)::before{content:'';position:absolute;top:50%;right:calc(100% + 2.5rem);width:4.5rem;height:2px;background-color:#ccc;transform:translateY(-50%);}
.organ-tree-wrap.depart .organ-tree-box .tree-top-box .tree-group-box p:nth-of-type(2)::before{content:'';position:absolute;top:50%;right:calc(100% + 6.8rem);width:2px;height:27rem;background-color:#ccc;transform:translateY(-50%);}
.organ-tree-wrap.depart .organ-tree-box .tree-top-box .tree-group-box p:nth-of-type(1) span::before{content:'';position:absolute;top:50%;right:calc(100% + 2.5rem);width:1.2rem;height:1.4rem;background:url(../img/common/ico-bioethics-bottom-02.png) no-repeat center/contain;transform:translateY(-50%) rotate(-90deg);}
.organ-tree-wrap.depart .organ-tree-box .tree-top-box > p:nth-of-type(1){background: #BDE1FF;color:#217EFF;}
.organ-tree-wrap.depart .organ-tree-box .tree-top-box > p:nth-of-type(2){margin-bottom:0;background: #EFF8FF;color:#217EFF;}
.organ-tree-wrap.depart .organ-tree-box .tree-top-box > p:nth-of-type(2)::before{content:'';position:absolute;top:50%;left:100%;width:9999px;height:2px;background:#ccc;transform:translateY(-50%);}
.organ-tree-wrap.depart .organ-tree-box .tree-top-box > p:nth-of-type(2)::after{display:none;}
.organ-tree-wrap.depart .organ-tree-box .tree-top-box > p span.organ-position-txt{display:flex;justify-content:flex-end;position:absolute;top:50%;right:calc(100% + 3rem);width:100%;font-size:1.6rem;font-weight:var(--font-weight-regular);color:#666;;line-height:2.4rem;transform:translateY(-50%);}

.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box{display:flex;position:relative;margin:7rem auto 0;max-width:1680px;}
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box:before{content: '';position:absolute;top:0;left:0;width:80%;height:2px;background-color:#ccc;}
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul { display: grid;gap:4rem 4.1rem;grid-template-columns:repeat(7, 1fr);margin:6rem 0 0;width:100%;}
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li {display: inline-block;position: relative;text-align: center;vertical-align: top;box-sizing: border-box;}
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(2):after, 
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(3):after,
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(4):after,
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(5):after{content: '';background: url(../img/common/ico-bioethics-bottom-02.png) no-repeat center / contain #fff;width: 1.2rem;height: 1.1rem;position: absolute;bottom:-15.6rem;left: 50%;transform: translateX(-50%);padding-top: 0.3rem;}
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(6)::after{content:'';position:absolute;top:-100%;left:51%;width:80%;height:100%;background-color:#fff;}
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(7)::after{content:'';position:absolute;top:-261%;left:51%;width:9999px;height:100%;background-color:#fff;}
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(1)::before{content:'';position:absolute;top:-100%;left:-50%;width:100%;height:100%;background-color:#fff;}
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(2):before, 
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(3):before,
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(4):before,
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(5):before{content: '';position: absolute;top:1.9rem;left: 50%;transform: translateX(-50%);width:0;height:24rem;background:unset;z-index: -1;border-left: 2px solid #CCCCCC;border-left-style: dashed;}
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(12):before,
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(13):before{content: '';background: url(../img/common/ico-bioethics-bottom-02.png) no-repeat center / contain #fff;width: 1.2rem;height: 1.1rem;position: absolute;bottom: -4rem;left: 50%;transform: translateX(-50%);padding-top: 0.3rem;}
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(9) {grid-column: span 3;}
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(14) {grid-column: span 4;}

.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li > span {display: block;padding: 0px 1rem;background: #fff;font-size: 1.6rem;line-height: 2.4rem;font-weight: 500;color: #121212;border: 1px solid #CCCCCC;height: 7.6rem;box-sizing: border-box;align-content: center;}
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li span:after {content: '';display: block;position: absolute;top:-6rem;left: 50%;width: 0.2rem;height:6rem;background: #ccc;z-index: -1;}
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul li:nth-child(n+8) span{background-color: #F5F5F5;border: unset; }
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(n+8) span:after{content: '';position: absolute;top: -5.1rem;left: 50%;transform: translateX(-50%);width: 0px;height: 5.1rem;background: unset;z-index: -1;border-left: 2px solid #CCCCCC;border-left-style: dashed;}
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(4) span:after{top: -13rem;height: 13rem;}
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(7) span:after {top: -16.8rem;height: 16.8rem;}
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(9) span::after,
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(10) span::after,
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(11) span::after,
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(14) span::after,
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(15) span::after,
.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(18) span::after{display:none;}

@media screen and (max-width: 1350px) {
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li > span {font-size: 1.3rem;line-height: 2.2rem;}
	.organ-tree-wrap.depart .organ-tree-box > p > span {font-size: 1.6rem;}
}

@media screen and (max-width: 1024px) {
	/* 학과 공통 조직도 */
	.organ-tree-wrap.depart .organ-tree-box{position:relative;padding:0 0 0 3rem;}
	.organ-tree-wrap.depart .organ-tree-box::before{content:'';position:absolute;top:0;left:1rem;width:2px;height:100%;background-color:#ccc;}
	.organ-tree-wrap.depart .organ-tree-box .tree-top-box p {padding:5px;width:100%;margin-bottom:3rem;min-height:5rem;height:auto;}
	.organ-tree-wrap.depart .organ-tree-box .tree-top-box p::after{width:1.2rem;height:1.2rem;bottom:-2.2rem;}
	.organ-tree-wrap.depart .organ-tree-box .tree-top-box p > span:not(.organ-position-txt){font-size:1.4rem;}	

	.organ-tree-wrap.depart .organ-tree-box .tree-top-box .tree-group-box > span{display:flex;justify-content:flex-start;position:static;padding:0 0 5px;font-size:1.4rem;line-height:2rem;transform:unset;}
	.organ-tree-wrap.depart .organ-tree-box .tree-top-box .tree-group-box > span br{display:none;}	
	.organ-tree-wrap.depart .organ-tree-box .tree-top-box .tree-group-box > span::before{content:'*';}
	.organ-tree-wrap.depart .organ-tree-box .tree-top-box .tree-group-box p:nth-of-type(1)::before,
	.organ-tree-wrap.depart .organ-tree-box .tree-top-box .tree-group-box p:nth-of-type(3)::before{display:none;}
	.organ-tree-wrap.depart .organ-tree-box .tree-top-box .tree-group-box p:nth-of-type(2)::before{display:none;}
	.organ-tree-wrap.depart .organ-tree-box .tree-top-box .tree-group-box p:nth-of-type(1) span::before{display:none;}
	.organ-tree-wrap.depart .organ-tree-box .tree-top-box .tree-group-box p:nth-of-type(n)::before{content:'';display:block;position:absolute;top:50%;left:-2rem;z-index:-1;width:10rem;height:2px;background-color:#ccc;transform:translateY(-50%);}
	.organ-tree-wrap.depart .organ-tree-box .tree-top-box > p:nth-of-type(2)::before{display:none;}
	.organ-tree-wrap.depart .organ-tree-box .tree-top-box > p:nth-of-type(n)::before{content:'';display:block;position:absolute;top:50%;left:-2rem;z-index:-1;width:10rem;height:2px;background-color:#ccc;transform:translateY(-50%);}
	.organ-tree-wrap.depart .organ-tree-box .tree-top-box > p span.organ-position-txt{justify-content:center;position:static;font-size:1.4rem;color:#217EFF;line-height:2rem;transform:unset;}

	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box{margin:1rem auto 0;}
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box:before{display:none;}
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul {position:relative;gap:2rem 0;grid-template-columns:100%;margin:1rem 0 0;width:100%;}
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-of-type(n) {grid-column:1;width:100%;}    
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(1){order:1;}
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(8){order:2;}
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(13){order:3;}
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(17){order:4;}
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(2){order:5;}
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(3){order:6;}
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(4){order:7;}
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(5){order:8;}
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(9){order:9;}
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(10){order:10;}
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(14){order:11;}
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(6){order:12;}
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(7){order:13;}
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(12){order:14;}
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(16){order:15;}
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(11),
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(15){display:none;}
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-of-type(n)::after{display:none;}
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-of-type(n)::before{display:none;}
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(1)::before,
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(2)::before,
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(3)::before,
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(4)::before,
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(5)::before,
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(6)::before,
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(7)::before{content:'';display:block;position:absolute;top:50%;left:-2rem;z-index:-1;width:10rem;height:2px;background-color:#ccc;transform:translateY(-50%);}

	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li > span {padding:1rem;font-size:1.4rem;line-height:2rem;min-height:5rem;height:auto;}
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li span:after {display:none;}
	.organ-tree-wrap.depart .organ-tree-box .tree-bottom-box > ul > li:nth-child(n+8) span:after{display:none;}
}