.modal-opened {
  overflow: hidden;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.4);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.modal.active,
.loading-modal.active {
  opacity: 1;
  visibility: visible;
  z-index: 99999;
}

.modal.front {
  z-index: 99998;
}

.modal .modal-inner {
  width: 100%;
  min-height: 100%;
  box-sizing: border-box;
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
}

.modal .modal-box {
  position: relative;
  margin: 0px auto;
  max-width: 460px;
  width: 100%;
  border-radius: 10px;
}

.modal .modal-box.max {
  max-width: 960px;
}

.modal .modal-box.large {
  max-width: 640px;
}

.modal .modal-box .btn-close {
  background: url(../img/icon/ic-bt-x.svg) 50% 50% no-repeat;
  background-size: contain;
  width: 24px;
  height: 24px;
  display: block;
  text-indent: -999em;
  overflow: hidden;
  position: absolute;
  right: 20px;
  top: 20px;
}

.modal .modal-box .modal-header {
  padding: 1.3rem 20px;
  background-color: #FFF;
  position: sticky;
  top: 0;
  z-index: 99999;
}

.modal .modal-box .modal-header.modal-header-bordered:after {
  border-bottom: 1px solid #e6e6e6;
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.modal .modal-box .modal-header .modal-header-inner {
  position: relative;
}

.modal .modal-box .modal-header .modal-header-inner button {
  position: absolute;
  top: 50%;
  margin-top: -9px;
  font-size: 16px;
  color: #363B41;
}

.modal .modal-box .modal-header .modal-header-inner button:first-child {
  left: 0;
}

.modal .modal-box .modal-header .modal-header-inner button:last-child {
  right: 0;
}

.modal .modal-box .modal-header .modal-title {
  font-size: 18px;
  font-weight: 700;
  flex-grow: 1;
  text-align: center;
}

.modal .modal-box .modal-body {
  background: #fff;
  padding: 20px;
}

.modal .modal-box .modal-body .table-title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  padding-bottom: 0.75rem;
}

.modal .modal-box .madal-top-bnr {
  display: flex;
}

.modal .modal-box .madal-top-bnr img {
  width: 100%;
  height: auto;
}

.modal .modal-box .modal-body .table th,
.modal .modal-box .modal-body .table td,
.modal .modal-box .modal-body .form-input {
  font-size: 15px;
}

.modal .modal-box .modal-body .form-block .form-input {
  max-width: 100%;
}

.modal .modal-box .modal-body .img-area {
  margin: 0 auto;
  margin-top: 1rem;
}

.modal .modal-box .modal-footer {
  background: #FFF;
  padding: 0 20px 20px;
  display: flex;
  justify-content: center;
}

.modal .modal-box .modal-footer .btn {
  flex: 1;
  margin: 0 5px;
}

.modal .modal-box .modal-bottom {
  background: #e3e3e6;
  text-align: center;
  font-size: 13px;
  padding: 10px 0;
}

.loading-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  background: rgba(255, 255, 255, 0.6);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.loading-modal .modal-inner {
  width: 100%;
  min-height: 100%;
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
}

.loading-modal .modal-box {
  position: relative;
  margin: 0px auto;
  max-width: 80px;
  width: 100%;
}

.loading-modal .modal-box img {
  width: 100%;
}

.modal-sub-title {
  font-size: 22px;
  font-weight: 700;
}

.modal-body .textarea {
  background: #f8f8f9;
  border: 1px solid #e6e9f3;
  padding: 12px 20px;
  font-size: 14px;
  line-height: 1.4rem;
  max-height: 200px;
  overflow-y: auto;
}

.alert-modal .modal-box .modal-body .msg {
  text-align: center;
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.alert-modal .modal-box .modal-body .msg::before {
  content: '';
  background: url(../img/icon/confirm.svg) no-repeat 50% 0% / auto 100%;
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
}

/*공유하기*/
.sharer .platforms {
  display: flex;
  gap: 20px;
}

.sharer .platforms a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px 0;
  flex: 1 0;
  border-radius: 10px;
  gap: 5px;
}

.sharer .platforms a .title {
  font-weight: 700;
}

.sharer .platforms a .desc {
  font-size: .85em;
}

.sharer .platforms a.kakao {
  background-color: #FFE600;
}

.sharer .platforms a.kakao i {
  display: block;
  background: url(../img/icon/sns-kakao.svg) no-repeat 50% 50% / 24px auto;
  width: 30px;
  height: 30px;
}

.sharer .platforms a.clipboard {
  background-color: #D9F0FF;
  color: #2CABFF;
}

.sharer .platforms a.clipboard i {
  display: block;
  background: url(../img/icon/icon-clipboard.svg) no-repeat 50% 50% / 24px auto;
  width: 30px;
  height: 30px;
}

.sharer .platforms a.clipboard.copyed {
  background-color: #4CB7FF;
  color: #FFF;
}

.sharer .platforms a.clipboard.copyed i {
  display: block;
  background: url(../img/icon/icon-clipboard-ok.svg) no-repeat 50% 50% / 24px auto;
  width: 30px;
  height: 30px;
}

.sharer .copyurl {
  border: 1px solid #e6e6e6;
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 20px;
  padding: 10px 15px;
}

.sharer .copyurl .form-block {
  flex: 1 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sharer .copyurl .form-block label {
  font-size: 13px;
  color: #686B73;
}

.sharer .copyurl input {
  color: #346CE4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 10px;
}

.sharer .copyurl .btn-copy {
  font-size: .875em;
  padding: 0.7em 1.2em;
  background: #F5F5FA;
  border: 0;
}

.sharer .copyurl .btn-copyed {
  font-size: .875em;
  padding: 0.7em 1.2em;
  background: #AEB1B8;
  color: #FFF;
  border: 0;
}
/*공유하기*/


/*행복 꽃*/
.flower {
  margin: -20px;
}

.flower .flower-header {
  background: #568AF8;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flower .flower-header h5 {
  color: #FFF;
  font-size: 18px;
  padding: 1rem 2rem;
}

.flower .flower-header img {
  width: 196px;
  height: auto;
}

.flower .flower-conts-list {
  padding: 1.25rem;
}

.flower .flower-conts-list .title {
  font-size: 18px;
  font-weight: 700;
}

.flower .flower-conts-list .flower-theme-conts {
  margin: 10px -4px;
}

.flower-theme-conts ul {
  display: flex;
  flex-wrap: wrap;
}

.flower-conts-list .txts {
  font-size: 14px;
  color: #898A8E;
  font-weight: 300;
}

.theme-list {
  display: flex;
  width: calc(25%);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: .5rem 0;
}

.theme-list em {
  font-size: 14px;
  padding-top: .5em;
}

.theme-list .flower-item {
  background: #e6e9f3 url(../img/flower/flower.svg) 50% 50% no-repeat;
  background-size: 80%;
  display: block;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  border: 1px solid #e6e9f3;
  width: 64px;
  height: 64px;
}

.theme-list.complete .flower-item {
  background-color: #fff;
  background-size: 82%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.theme-list.complete:nth-child(1) .flower-item {
  background-image: url(../img/flower/flower_3.svg);
}

.theme-list.complete:nth-child(2) .flower-item {
  background-image: url(../img/flower/flower_4.svg);
}

.theme-list.complete:nth-child(3) .flower-item {
  background-image: url(../img/flower/flower_5.svg);
}

.theme-list.complete:nth-child(4) .flower-item {
  background-image: url(../img/flower/flower_6.svg);
}

.theme-list.complete:nth-child(5) .flower-item {
  background-image: url(../img/flower/flower_7.svg);
}

.theme-list.complete:nth-child(6) .flower-item {
  background-image: url(../img/flower/flower_8.svg);
}

.theme-list.complete:nth-child(7) .flower-item {
  background-image: url(../img/flower/flower_9.svg);
}

.theme-list.complete:nth-child(8) .flower-item {
  background-image: url(../img/flower/flower_10.svg);
}

.theme-list.complete:nth-child(9) .flower-item {
  background-image: url(../img/flower/flower_11.svg);
}

.theme-list.complete:nth-child(10) .flower-item {
  background-image: url(../img/flower/flower_12.svg);
}

.theme-list.complete:nth-child(11) .flower-item {
  background-image: url(../img/flower/flower_1.svg);
}

.theme-list.complete:nth-child(12) .flower-item {
  background-image: url(../img/flower/flower_2.svg);
}

.modal .modal-box .modal-body .modal-msg-xl {
  font-weight: 300;
  font-size: 20px;
  text-align: center;
  line-height: 1.5;
  margin: 10px auto;
}

.modal .modal-box .modal-body .modal-msg-xl.confirm {
  background: url(../img/icon/confirm.svg) 50% 0 no-repeat;
  background-size: 50px auto;
  padding-top: 64px;
}

.modal .modal-box .modal-body .modal-sns-img {
  margin: 1em auto 2em;
  width: 172px;
}

.alert-modal .modal-box .modal-body .imgArea {
  text-align: center;
  padding: 0.5rem 0;
}

.alert-modal .modal-box .modal-body .textArea {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
}

.alert-modal .modal-box .modal-body .textArea strong {
  padding-bottom: 15px;
  color: #F47836;
  font-weight: 500;
  font-size: 1.3rem;
}

.modal .post-list-item .post-item-info .title {
  padding-right: 0;
  margin-bottom: 5px;
}

.modal .post-list-item .post-item-info .date {
  font-size: 14px;
}

.modal .bottom p {
  font-size: 14px;
}

.modal .post-list-item.edu .post-item-info .title {
  font-size: 22px;
  font-weight: 700;
}

.modal .post-list-item.edu .post-item-info .date {
  font-size: 16px;
  color: #1B2242;
  font-weight: 500;
}

.modal .post-list-item .post-item-img {
  width: 152px;
  height: 100px;
}

.modal .post-list-item .bottom {
  margin-top: 10px;
  padding: 10px 0 0 0;
}

.modal .info-box.selected {
  border: 1px solid #e1e1e1;
  padding: 1.5em;
}

.modal .info-box .edu-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal .info-box .edu-list .edu-item {
  width: calc(20% - 8px);
}

.modal .info-box .edu-list .edu-item a {
  display: flex;
  position: relative;
}

.modal .info-box .edu-list .edu-item a::before {
  content: '';
  border: 1px solid rgba(0, 0, 0, .1);
  position: absolute;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.modal .info-box .edu-list .edu-item a.active::before {
  border: 2px solid #1F2022;
}

.modal .info-box .edu-list .edu-item a.active::after {
  content: '';
  background: #1F2022 url(../img/icon/checkbox-light.svg) no-repeat 50% 50% / 12px auto;
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 40px;
  top: -4px;
  right: -4px;
}

.modal .info-box .edu-list .edu-item .img-area {
  display: flex;
  margin-top: 0;
}

.modal .info-box .edu-list .edu-item .img-area img {
  width: 100%;
  height: auto;
}

.modal .info-box .edu-list .edu-item .btn-area {
  background-color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 10px 0;
  display: block;
}

.modal .info-box .edu-list .edu-item a.active .btn-area {
  background-color: #363B41;
  color: #fff;
}

.modal .info-box .edu-info dl {
  display: flex;
  align-items: center;
  text-align: left;
  padding: 5px 0;
  font-size: 15px;
  line-height: 1.35;
}

.modal .info-box .edu-info dl dt {
  width: 108px;
}

.modal .info-box .edu-info dl dd {
  flex: 1 1;
  font-weight: 700;
}

.modal .info-box .edu-info dl dd .form-time .form-input {
  flex: 1 1;
  padding: 0.85rem 2rem 0.85rem 1rem;
}

.modal .info-box .edu-info dl dd .form-time .form-input:last-child {
  margin-right: 0;
}

.modal .inquiry .info {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.modal .inquiry .info i {
  background: url(../img/icon/i.svg) 50% 50% no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

.modal .inquiry .form-block>* {
  margin-bottom: 5px;
}

.modal .agree-accordion .accordion-header {
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
}

.modal .agree-accordion .accordion-header .btn-more {
  background: url(../img/icon/arrow-down-b.svg) 50% 50% no-repeat;
  background-size: 16px auto;
  width: 16px;
  height: 14px;
  text-indent: -999em;
  overflow: hidden;
  display: block;
  transform: rotate(180deg);
}

.modal .agree-accordion .accordion.open .accordion-header .btn-more {
  transform: rotate(0deg);
}

.modal .agree-accordion .accordion-body {
  border-top: 1px solid #ccc;
  padding: 20px 0;
}

.modal .agree-accordion .accordion-body p.title {
  font-weight: 700;
  margin-bottom: 20px;
}

.modal .accordion-body.hide {
    display: none;
}

.modal.login-modal .modal-box .modal-body {
  padding: 2rem;
}

.modal .login-wrap .title {
  font-weight: 600;
  line-height: 1.4;
}

.modal .login-wrap .btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.modal .login-wrap .btns .btn {
  width: 360px;
  height: 52px;
}

.modal .login-wrap .btns .btn-line {
  color: #686B73;
  text-decoration: underline;
  font-size: 15px;
  padding-top: 10px;
}

.modal.login-modal .modal-box .modal-footer {
  padding: 0;
}

@media screen and (max-width: 540px) {
  .modal .modal-box .btn-close {
    width: 20px;
    height: 20px;
    right: 15px;
    top: 22px;
  }

  .modal .modal-box .modal-header {
    padding: 15px;
  }

  .modal .modal-box .modal-header .modal-title {
    font-size: 16px;
  }

  .modal .modal-box .modal-body {
    padding: 20px 15px;
  }

  .modal-sub-title {
    font-size: 19px;
  }

  .loading-modal .modal-box {
    max-width: 60px;
  }

  .modal-body .madal-top-bnr {
    margin: -20px -15px 20px -15px;
  }

  .modal .modal-box .modal-body .table th,
  .modal .modal-box .modal-body .table td,
  .modal .modal-box .modal-body .form-input {
    font-size: 14px;
  }

  .flower {
    margin: -20px -15px;
  }

  .flower .flower-header h5 {
    font-size: 16px;
    padding: 1rem 1.5rem;
  }

  .flower .flower-conts-list .title {
    font-size: 16px;
  }

  .modal .modal-box .modal-body .table-title {
    font-size: 16px;
  }

  .modal .post-list-item.edu .post-item-info .title {
    font-size: 20px;
    margin-bottom: 3px;
  }

  .modal .post-list-item.edu .post-item-info .date {
    font-size: 14px;
  }

  .modal .post-list-item .post-item-img {
    width: 116px;
    height: auto;
  }

  .modal .info-box.selected {
    padding: 1em;
  }

  .modal .info-box .edu-list .edu-item {
    width: calc(33.3333333333% - 8px);
  }

  .modal .info-box .edu-info dl {
    font-size: 14px;
  }

  .modal .login-wrap .btns .btn-line {
    font-size: 14px;
  }

}