@charset "utf-8";
:root {
  --color: #5129C5;
  --sub: url(../img/sub/sub.svg) no-repeat 0 0 / 28.8rem;
}

.dp_m_mb {
  display: none;
}

body::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 20rem;
  background: url(../img/sub/sub-bg.png) no-repeat center top / 160rem, linear-gradient(90deg, #F1ECFF 42.92%, #FFECFC 57.4%);
  z-index: -1;
}

#contents {
  width: 100%;
}

#con-tit {
  padding-top: 3.6rem;
  padding-bottom: 3rem;
  border-bottom: 2px dashed rgba(190, 190, 190, 0.50);
}

#con-tit h3 {
  margin-bottom: 1rem;
  font-size: 3.6rem;
  font-weight: 700;
  line-height: normal;
}

#con-tit>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

#location {
  display: flex;
  align-items: center;
  gap: 0.5rem 3.6rem;
}

#location>li {
  position: relative;
  color: #444;
  font-size: 1.8rem;
  line-height: normal;
}

#location>li::before {
  content: '';
  position: absolute;
  right: -2.4rem;
  top: calc(50% - 0.6rem);
  width: 1.2rem;
  height: 1.2rem;
  background: var(--sub);
  background-position: -8.9rem 0;
}

#location>li:first-child {
  display: flex;
  width: 2.1rem;
  height: 2.1rem;
  font-size: 0;
  text-indent: -5000px;
  background: var(--sub);
  background-position: -6.8rem 0;
}

#location>li:nth-last-child(1) {
  font-weight: 600;
}

#location>li:nth-last-child(1)::before {
  display: none;
}

#shareSns {
  position: relative;
  display: flex;
  gap: 0.6rem;
}

#shareSns a {
  position: relative;
  display: block;
  margin: 0;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
}

#shareSns>li>a {
  background: #F5F5F5 var(--sub);
}

#shareSns .print {
  background-position: -3.6rem -2.4rem;
}

#shareSns .share {
  background-position: 0 -2.4rem;
}

#shareSns .share.on {
  background-position: calc(-3.6rem * 2) -2.4rem;
}

#shareSns li>ul {
  display: none;
}

#shareSns .on+ul {
  display: flex;
  position: absolute;
  right: 8.4rem;
  top: 0;
  gap: 0.4rem;
  z-index: 1;
}

#shareSns li>ul>li>a {
  border: none;
  width: 3.6rem;
  height: 3.6rem;
}

#shareSns li>ul>li>a.blog {
  background: #59C843 var(--sub);
  background-position: calc(-3.6rem * 3) -2.4rem;
}

#shareSns li>ul>li>a.kakaotalk {
  background: #FFDC50 var(--sub);
  background-position: calc(-3.6rem * 4) -2.4rem;
}

#shareSns li>ul>li>a.facebook {
  background: #4868AC var(--sub);
  background-position: calc(-3.6rem * 5) -2.4rem;
}

#shareSns li>ul>li>a.twitter {
  background: #222 var(--sub);
  background-position: calc(-3.6rem * 6) -2.4rem;
}

#shareSns li>ul>li>a.link {
  background: #666 var(--sub);
  background-position: calc(-3.6rem * 7) -2.4rem;
}

#detail_con {
  padding: 6rem 2rem 16rem;
  word-break: keep-all;
}

#tab {
  display: flex;
  padding-bottom: 6rem;
  gap: 0.4rem;
}

#tab>li {
  flex: 1 1 auto;
  text-align: center;
}

#tab>li>a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.8rem;
  height: 100%;
  color: #666;
  font-size: 1.9rem;
  font-weight: 600;
  line-height: normal;
  border-radius: 0.8rem;
  background: #F5F5F5;
}

#tab>li.select>a {
  color: #222;
  font-weight: 700;
  background: #FFDA00;
}

#tab>li.select>a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.8rem;  
  margin: 0 auto;
  width: 3.6rem;
  height: 1.8rem;
  background: var(--sub);
  background-position: 0 -6rem;
}

.tbox {
  position: relative;
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
  padding: 3.6rem 4rem;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 2.35rem;
  border-right: 0.2rem solid var(--color);
  border-left: 0.2rem solid var(--color);
  background: #fff;
}

.tbox::before {
  content: '';
  position: absolute;
  left: -0.2rem;
  top: -0.2rem;
  width: 3.2rem;
  height: calc(100% + 0.4rem);
  background: var(--color);
  z-index: -1;
}

.tbox::after {
  content: '';
  position: absolute;
  right: -0.2rem;
  top: -0.2rem;
  width: 3.2rem;
  height: calc(100% + 0.4rem);
  background: var(--color);
  z-index: -1;
}

.tbox ul>li {
  position: relative;
  margin-top: 1.2rem;
  padding-left: 3.2rem;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 2.35rem;
}

.tbox ul>li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2.4rem;
  height: 2.4rem;
  background: var(--sub);
  background-position: -3.6rem -6rem;
}

.tbox ul>li:first-child {
  margin-top: 0;
}

.conbox {
  padding: 2.4rem 2.8rem;
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2.4rem;
  border-radius: 0.8rem;
  border: 1px solid #5129C5;
  background: #F9F8FF;
}

.conbox p {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2.4rem;
}

.photoBox {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.photoBox .photo {
  flex-basis: 50%;
  line-height: 0;
  overflow: hidden;
}

.photoBox .photo img {
  border-radius: 1.6rem;
}

.conbtnBox {
  text-align: center;
  margin-top: 2rem;
}

.conbtn {
  display: inline-block;
  text-align: center;
  min-width: 14.8rem;
  padding: 1.2rem 2rem;
  color: #FFF;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: normal;
  border-radius: 4.7rem;
  background: var(--color);
}

.para01 {
  margin-top: 3.6rem;
  margin-left: 2rem;
}

h4 {
  margin-top: 6rem;
  color: var(--charcoal);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: normal;
}

#detail_con>h4:first-child {
  margin-top: 0;
}

.bl02 {
  position: relative;
  padding-left: 2rem;
  color: var(--color);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: normal;
}

.bl02::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  border: 0.4rem solid var(--color);
  box-sizing: border-box;
}

.bl03 {
  margin-top: 1.2rem;
  margin-left: 2rem;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 160%;
}

.bl03>li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 2.4rem;
}

.bl03>li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--color);
}

.bl04 {
  margin-top: 0.4rem;
}

p.bl04,
.bl04>li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.2rem;
  color: #444;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2.4rem;
}

.bl04::before,
.bl04>li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 0.7rem;
  height: 0.1rem;
  background: #000;
}

ul.bl04::before {
  display: none;
}

.nobl,
.nobl>li {
  padding-left: 0;
}

.nobl::before, 
.nobl>li::before {
  display: none;
}

h4+table.data {
  margin-top: 2rem;
  margin-left: 1rem;
}

table.data { 
  text-align: center;
  margin-top: 1rem;
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
}

table.data thead th {
  padding: 1.6rem;
  color: var(--color);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: normal;
  border: 1px solid var(--color);
  border-left: 0;
  background: #F9F8FF;
}

table.data thead tr:first-child th:nth-child(1) {
  border-left: 1px solid var(--color);
}

table.data thead tr:first-child th:nth-last-child(1) {
  border-radius: 0 0.8rem 0 0;
}

table.data thead tr:first-child th:nth-child(1) {
  border-radius: 0.8rem 0 0 0;
}

table.data thead tr:not(:first-child) th {
  border-top: 0;
}

table.data thead tr:not(:first-child) th:nth-child(1) {
  border-left: 1px solid var(--color);
}

table.data tbody th,
table.data tbody td {
  padding: 2rem;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: normal;
  border-bottom: 1px solid #CCC;
  border-right: 1px solid #CCC;
}

table.data tbody td:nth-child(1) {
  border-left: 1px solid #ccc;
}

table.data .bdl0 {
  border-left: 0 !important;
}

/*** pc ***/
@media all and (min-width:1025px) {
	header h1 a {
		background-position: -24rem 0;
		filter: none;
	}

	#lnb>ul>li {
		filter: none;
	}

  #lnb>ul>li>a,
	#gnb .main a {
		color: var(--charcoal);
	}

	#gnb .allmenu a::before {
		color: var(--charcoal);
		background-color: var(--charcoal);
	}

  .wrap {
    position: relative;
  }

  #container {
    display: flex;
    gap: 7.2rem;
    padding-top: 2rem;
  }
  
  #container::before {
    content: '우주로 한걸음 더 가까이 강화천문과학관 별빛 여행';
    position: absolute;
    right: 0;
    top: 0.2rem;
    font-family: var(--PyeongChang);
    color: #71688B;
    font-size: 2.4rem;
    line-height: 140%;
  }

  #lmenu {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 28rem;
    margin-bottom: 3rem;
  }
  
  #lmenu .lmenu-box {
    border-radius: 2.8rem;
    background: var(--color);
    box-shadow: 0 0.4rem 2rem 0 rgba(0, 0, 0, 0.10);
  }
  
  #lmenu .lmenu-box h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 13.2rem;
    padding: 4rem 0;
    color: #FFF;
    font-size: 3rem;
    font-weight: 800;
    line-height: normal;
  }

  #lmenu .sub-menu {
    padding: 2.4rem 2.8rem;
    border-radius: 2rem;
    background: #FFF;
  }

  #lmenu .sub-menu>li>a {
    position: relative;
    display: block;
    padding: 1.3rem 3.2rem 1.3rem 0.8rem;
    color: #444;
    font-size: 2rem;
    font-weight: 600;
    line-height: normal;
    border-top: 1px solid #ECECEC;
    word-break: keep-all;
  }
  
  #lmenu .sub-menu>li:first-child>a {
    border-top: none;
  }

  #lmenu .sub-menu>li>a::before {
    content: '';
    position: absolute;
    right: 0.8rem;
    top: 1.3rem;
    width: 2.4rem;
    height: 2.4rem;
    background: var(--sub);
  }

  #lmenu .sub-menu>li>a:hover,
  #lmenu .sub-menu>li.select>a {
    color: var(--color);
  }

  #lmenu .sub-menu>li>a:hover::before,
  #lmenu .sub-menu>li.select>a::before {
    background-position: -2.4rem 0;
  }

  #lmenu .reserve {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 3.6rem;
    height: 23.5rem;
    border-radius: 2.8rem;
    background: #EFF9F4 url(../img/sub/reserve-bg.png) no-repeat right 3rem bottom 5rem / 8rem;
  }
  
  #lmenu .reserve .stit {
    color: rgba(17, 17, 17, 0.21);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.056rem;
    text-transform: uppercase;
  }
  
  #lmenu .reserve .tit {
    margin-bottom: 2rem;
    color: #112637;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 140%;
  }
  
  #lmenu .reserve .tit span {
    display: block;
    color: #2EBD34;
  }
    
  #lmenu .reserve>a {
    position: relative;
    padding: 1rem 4.6rem 1rem 2rem;
    color: #FFF;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: normal;
    border-radius: 10rem;
    background: #2EBD34;
  }
    
  #lmenu .reserve>a::before {
    content: '';
    position: absolute;
    right: 2rem;
    top: 0.9rem;        
    width: 2rem;
    height: 2rem;
    background: var(--sub);
    background-position: -4.8rem 0;
    transition: .3s;
  }
  
  #lmenu .reserve>a:hover::before {
    right: 1.5rem;
  }

  #contents {
    margin-top: 6rem;
  }
}

@media screen and (max-width:1024px) {
  body::before {
    height: 75px;
  }

  #lmenu {
    display: none;
  }

  #detail_con {
    padding: 4rem 0;
  }
}

@media screen and (max-width:500px) {
  .dp_m_pc {
    display: none;
  }

  .dp_m_mb {
    display: block !important;
  }

  #con-tit {
    text-align: center;
  }

  #con-tit>div {
    flex-direction: column;
  }

  #location {
    gap: 0.5rem 2rem;
  }
  
  #location>li::before {
    right: -1.7rem;
  }
  
  #shareSns .on+ul {
    top: 4rem;
    right: 4rem;
    flex-direction: column;
  }

  #tab {
    flex-wrap: wrap;
  }

  #tab>li {
    flex: 1 1 calc(33.3% - (0.8rem / 3));
  }

  #tab>li.select>a::after {
    display: none;
  }

  .photoBox {
    flex-direction: column;
  }
}