body {
  overflow-x: hidden;
}
body * {
  font-family: 'Pretendard';
}
.wrapper {
  background-color: #f2f2f2;
  min-height: 100vh;
}
.header {
  background-color: #f2f2f2;
  &__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1200px;
    height: 70px;
    margin: 0 auto;
    font-size: 15px;
    &__logo {
      display: flex;
      align-items: center;
      h3 {
        margin-left: 10px;
        font-size: 15px;
        font-weight: 700;
        color: #222222;
      }
    }
    &__session {
      color: #666666;

      .team {
        display: inline;
        margin-right: 8px;
        padding: 4px 11px;
        color: #fff;
        font-size: 14px;
        font-weight: bold;
        background-color: #b7014d;
        border-radius: 2px;
      }

      span {
        color: #333333;
        font-weight: bold;
      }
    }
  }
  &__nav {
    background-color: #b7014d;

    ul {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 1200px;
      height: 60px;
      margin: 0 auto;
      li {
        a {
          color: #fff;
          font-size: 17px;
          font-weight: 700;
          letter-spacing: -0.425px;
          text-decoration: none;
        }
      }
    }
  }
}
.content-wrapper {
  width: 1200px;
  margin: 0 auto;
  padding: 32px 0;

  section {
    .article-group {
      display: flex;
      gap: 32px;
      .full-article {
        flex: 1 1 0;
      }

      article {
        margin: 0;
      }
    }
    article {
      background-color: #ffffff;
      padding: 32px;
      box-sizing: border-box;

      &.em {
        background-color: #fff5f8;
      }
    }
    article + article {
      margin-top: 32px;
    }
  }

  .content-header {
    &__title {
      h1 {
        font-size: 32px;
        font-weight: 900;
        letter-spacing: -0.8px;
      }
    }
    &__nav {
      margin-top: 24px;
      ul {
        display: flex;
        gap: -4px;
        li {
          position: relative;
          display: flex;
          justify-content: center;
          align-items: center;
          width: 231px;
          height: 40px;
          margin-left: -4px;
          background-image: url('/resources/common_pub/images/content-nav_middle_off.svg');
          background-size: cover;
          background-position: center;
          background-repeat: no-repeat;

          &:first-of-type {
            margin-left: 0;
            background-image: url('/resources/common_pub/images/content-nav_start_off.svg');
          }
          &:last-of-type {
            background-image: url('/resources/common_pub/images/content-nav_end_off.svg');
          }

          &.on {
            background-image: url('/resources/common_pub/images/content-nav_middle_on.svg');

            &:first-of-type {
              background-image: url('/resources/common_pub/images/content-nav_start_on.svg');
            }
            &:last-of-type {
              background-image: url('/resources/common_pub/images/content-nav_end_on.svg');
            }

            a {
              font-weight: 700;
            }
          }

          a {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 100%;
            color: #fff;
            font-size: 17px;
            text-decoration: none;
            letter-spacing: -0.425px;

            b {
              margin-right: 8px;
              font-size: 15px;
              font-weight: 700;
              letter-spacing: -0.15px;
            }
          }
        }
      }
    }
  }
  .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    margin-bottom: 24px;

    &__title {
      h2 {
        color: #b7014d;
        font-size: 24px;
        font-weight: 700;
        letter-spacing: -0.6px;
      }
    }
    &__button {
      display: flex;
      gap: 10px;
    }
  }
}

button {
  border: none;
  outline: none;
  cursor: pointer;
}

i[class^='icon'] {
  display: inline-block;
  background-size: cover;
  background-repeat: no-repeat;
  background-repeat: no-repeat;
}

i.icon {
}

.mg {
  &t {
    &-16 {
      margin-top: 16px !important;
    }
    &-24 {
      margin-top: 24px !important;
    }
    &-32 {
      margin-top: 32px !important;
    }
  }
  &b {
    &-24 {
      margin-bottom: 24px !important;
    }
  }
}
.text-center {
  text-align: center;
}

.btn-prm {
  input[type='button'],
  input[type='submit'],
  button,
  a {
    height: 40px;
    min-width: 80px;
    padding: 0 25px;
    color: #ffffff;
    font-size: 17px;
    font-weight: bold;
    letter-spacing: -0.17px;
    border: none;
    border-radius: 4px;
    background-color: #b7014d;
    box-sizing: border-box;
    text-decoration: none;
  }
}
.btn-sec {
  input[type='button'],
  input[type='submit'],
  button,
  a {
    height: 40px;
    min-width: 80px;
    padding: 0 25px;
    color: #ffffff;
    font-size: 17px;
    font-weight: bold;
    letter-spacing: -0.17px;
    border: none;
    border-radius: 4px;
    background-color: #312f34;
    box-sizing: border-box;
    text-decoration: none;
  }
}
.btn-round {
  input[type='button'],
  input[type='submit'],
  button,
  a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    min-width: 239px;
    padding: 0 25px;
    color: #ffffff;
    font-size: 17px;
    font-weight: bold;
    letter-spacing: -0.17px;
    border: none;
    border-radius: 24px;
    background-color: #b7014d;
    box-sizing: border-box;
    text-decoration: none;
  }
}
.tips {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0 18px;
  height: 40px;
  color: #312f34;
  font-size: 16px;
  letter-spacing: -0.16px;
  border: 1px solid #b7014d;
  background-color: #fff5f8;
  border-radius: 25px;

  span {
    color: #b7014d;
    font-weight: 700;
  }
}

.callout {
  position: relative;
  padding: 32px;
  background-color: #f4f4f4;
  border-radius: 4px;
  box-sizing: border-box;

  &.em {
    background-color: #fff5f8;
  }

  &__title {
    margin-bottom: 16px;

    h3 {
      color: #312f34;
      font-size: 22px;
      font-weight: 700;
      letter-spacing: -0.55px;
    }
  }
  &__header {
    &.type1 {
      position: absolute;
      top: 0;
      left: 0;
      h3 {
        display: inline-flex;
        align-items: center;
        width: 226.782px;
        height: 50px;
        padding: 0 16px;
        color: #fff;
        font-size: 17px;
        letter-spacing: -0.425px;
        background-image: url('/resources/common_pub/images/callout-header.svg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        box-sizing: border-box;
      }
    }
    &.type2 {
      position: relative;
      margin-bottom: 24px;
      h3 {
        display: flex;
        align-items: center;
        height: 50px;
        padding: 0 16px;
        color: #c15d87;
        font-size: 17px;
        letter-spacing: -0.425px;
        border: 1px solid #b7014d;
        border-radius: 4px;
        background-color: #ffffff;
        box-sizing: border-box;
      }

      &::after {
        position: absolute;
        display: inline-block;
        top: 50%;
        right: -32px;
        width: 10px;
        height: 14px;
        transform: translate(100%, -50%);
        background-image: url('/resources/common_pub/images/callout-header-arrow.svg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        content: '';
      }
    }
  }
  &:has(.callout__header.type1) {
    padding-top: 73px;
  }
  &__content {
    p {
      color: #727379;
      font-size: 18px;
      line-height: 30px;
    }
    p + .textarea {
      margin-top: 24px;
    }
    .textarea + .textarea {
      margin-top: 16px;
    }
  }

  & + .callout {
    margin-top: 32px;
  }
  &:last-of-type {
    .callout__header {
      &.type1 {
        h3 {
          width: 208.14px;
          background-image: url('/resources/common_pub/images/callout-header-end.svg');
        }
      }
      &.type2 {
        &::after {
          display: none;
        }
      }
    }
  }
}
.callout-group {
  display: flex;
  gap: 29px;
  margin-top: 32px;
  .callout {
    flex: 1 1 0;
    margin-top: 0;
  }
}

input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  color: #312f34;
  font-size: 17px;
  line-height: 28px;
  letter-spacing: -0.425px;
  border: 1px solid #bebfcb;
  background-color: #fff;
  border-radius: 4px;
  box-sizing: border-box;
  resize: none;

  &:focus {
    border-color: #ef0064;
    outline: none;
  }

  &::placeholder {
    color: #bebfcb;
  }

  &:disabled {
    background-color: #efeff0;
  }

  &.em {
    color: #b7014d;
  }
}
.input-form {
  > * {
    &:first-of-type {
      margin-top: 0 !important;
    }
    &:not(:first-of-type) {
      margin-top: 24px;
    }
    &:not(:has(label)) {
      margin-top: 16px !important;
    }
  }
  label {
    color: #312f34;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.425px;

    & + input,
    & + textarea {
      margin-top: 8px;
    }
  }
}

.textarea {
  textarea {
    width: 100%;
    padding: 16px;
    color: #312f34;
    font-size: 17px;
    line-height: 28px;
    letter-spacing: -0.425px;
    border: 1px solid #bebfcb;
    background-color: #fff;
    border-radius: 4px;
    box-sizing: border-box;
    resize: none;

    &:focus {
      border-color: #ef0064;
      outline: none;
    }

    &::placeholder {
      color: #bebfcb;
    }
  }

  &.red {
    textarea {
      background-color: #fff8f5;
    }
  }
  &.blue {
    textarea {
      background-color: #f8fdff;
    }
  }
  &.no-border {
    textarea {
      border: none;
      outline: none;
    }
  }
}

.ai-fixed {
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  bottom: 40px;
  left: 50%;
  margin: 0 auto;
  transform: translateX(640px);
  cursor: pointer;

  &::before {
    position: absolute;
    display: inline-block;
    top: -82px;
    left: 50%;
    width: 317px;
    height: 201px;
    background-image: url('/resources/common_pub/images/ai-balloon.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateX(-50%);
    content: '';
  }
  span {
    position: relative;
    display: inline-flex;
    justify-content: center;
    width: 152px;
    height: 47px;
    color: #fff;
    font-size: 14px;
    line-height: 36px;
    user-select: none;
  }
  img {
    position: relative;
    width: 112px;
  }
}

.flex-box {
  display: flex;
  .flex-item {
    flex: 1 1 0;
  }
  &.flex-column {
    flex-direction: column;
  }
  &.justify {
    &-center {
      justify-content: center;
    }
    &-between {
      justify-content: space-between;
    }
    &-end {
      justify-content: flex-end;
    }
  }
  &.align {
    &-center {
      align-items: center;
    }
    &-end {
      align-items: flex-end;
    }
  }
  &.gap {
    &-10 {
      gap: 10px;
    }
    &-24 {
      gap: 24px;
    }
    &-25 {
      gap: 25px;
    }
    &-32 {
      gap: 32px;
    }
  }

  .callout + .callout {
    margin-top: 0;
  }
}

.input-file {
  width: 100%;
  input[type='file'] {
    display: none;
  }
  label {
    .label-round {
      display: inline-flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 4px;
      width: 100px;
      height: 100px;
      border-radius: 50%;
      color: #312f34;
      font-size: 15px;
      font-weight: 400;
      letter-spacing: -0.375px;
      background-color: #ffffff;
      cursor: pointer;
      &::before {
        color: #8e8f96;
        font-size: 24px;
        font-weight: 900;
        content: '+';
      }
    }

    .label-button {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 8px;
      width: 100%;
      height: 96px;
      border: 1px solid #bebfcb;
      border-radius: 4px;
      cursor: pointer;

      span {
        color: #8e8f96;
        font-size: 17px;
        font-weight: 400;
      }
      a {
        padding: 6px 17px;
        color: #fff;
        font-size: 15px;
        font-weight: 500;
        line-height: 18px;
        background-color: #727379;
        border-radius: 4px;
      }
    }
  }

  &:has(.label-round) {
    display: flex;
    flex-direction: column;
    gap: 24px;

    > label:not(.label-round) {
      font-size: 22px;
      text-align: center;
    }
  }
  &:has(.label-button) {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
}

.range-list {
  height: fit-content;
  .range-item {
    margin-top: 16px;

    .title {
      display: flex;
      justify-content: space-between;
      color: #312f34;
      font-size: 16px;
      font-weight: 500;
      letter-spacing: -0.4px;
    }
    .input-range {
      margin-top: 8px;
    }
  }
}
.input-range {
  input[type='range'] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 16px;
    padding: 0;
    background: #efeff0;
    outline: none;
    border-radius: 8px;
    border: none;
  }

  input[type='range']::-webkit-slider-runnable-track {
    width: 100%;
    height: 16px;
    cursor: pointer;
    background: transparent;
  }

  input[type='range']::-moz-range-track {
    width: 100%;
    height: 16px;
    cursor: pointer;
    background: transparent;
  }

  input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #b7014d;
    cursor: pointer;
    border-radius: 50%;
    box-sizing: border-box;
    background-image: url('/resources/common_pub/images/gauge-pin_type1.svg');
    background-size: 12px 12px;
    background-position: 1px 2px;
    background-repeat: no-repeat;
  }

  input[type='range']::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #b7014d;
    cursor: pointer;
    border-radius: 50%;
  }

  &.center-range {
    input[type='range'] {
      position: relative;
      -webkit-appearance: none;
      appearance: none;
      width: 100%;
      height: 16px;
      padding: 0;
      background: #f5d6df;
      outline: none;
      border-radius: 8px;
      border: none;

      &::before,
      &::after {
        position: absolute;
        top: 50%;
        left: 8px;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: #fff;
        transform: translate(-50%, -50%);
        content: '';
      }
      &::after {
        left: initial;
        right: 4px;
      }
    }

    input[type='range']::-webkit-slider-runnable-track {
      width: 100%;
      height: 16px;
      cursor: pointer;
      background: transparent;
    }

    input[type='range']::-moz-range-track {
      width: 100%;
      height: 16px;
      cursor: pointer;
      background: transparent;
    }

    input[type='range']::-webkit-slider-thumb {
      position: relative;
      -webkit-appearance: none;
      appearance: none;
      width: 16px;
      height: 16px;
      background: transparent;
      cursor: pointer;
      border-radius: 50%;
      box-sizing: border-box;
      background-image: url('/resources/common_pub/images/gauge-pin_type2.svg');
      background-size: 12px 12px;
      background-position: 0px 2px;
      background-repeat: no-repeat;
      z-index: 9;
    }

    input[type='range']::-moz-range-thumb {
      width: 16px;
      height: 16px;
      background: #f5d6df;
      cursor: pointer;
      border-radius: 50%;
    }
  }
}
.form-list {
  display: flex;
  gap: 24px;

  .callout {
    margin-top: 0;
    padding: 24px;
  }
}

.arrow-callout {
  > * {
    margin-top: 23px;
    &:first-of-type {
      margin-bottom: 41px;

      &::after {
        position: absolute;
        display: inline-block;
        width: 812.414px;
        height: 39.414px;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 100%);
        background-image: url('/resources/common_pub/images/arrow-callout_top.svg');
        content: '';
      }
    }
    &:nth-of-type(2) {
      > * {
        &:first-of-type,
        &:last-of-type {
          &::after {
            position: absolute;
            display: inline-block;
            width: 13.414px;
            height: 24.414px;
            bottom: 1px;
            left: 50%;
            transform: translate(-50%, 100%);
            background-image: url('/resources/common_pub/images/arrow-callout_middle.svg');
            content: '';
          }
        }
      }
    }
    &:nth-last-of-type(2) {
      position: relative;
      &::after {
        position: absolute;
        display: inline-block;
        width: 812.414px;
        height: 41.414px;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 100%);
        background-image: url('/resources/common_pub/images/arrow-callout_top.svg');
        content: '';
      }
    }
    &:last-of-type {
      margin-top: 57px;
    }
  }
}

.input-text {
  &.red {
    label {
      color: #b7014d;
    }
    input[type='text'] {
      background-color: #fff5f8;
      border: 1px solid #b7014d;
    }
  }
  &.horizontal {
    display: flex;
    align-items: center;
    gap: 16px;
    label {
      width: 58px;
    }
    input {
      margin: 0;
      flex: 1 1 0;
    }
  }
  &.label {
    label {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 58px;
      height: 50px;
      color: #fff;
      font-size: 17px;
      font-weight: 700;
      letter-spacing: -0.425px;
      background-color: #b7014d;
      border-radius: 4px;
      vertical-align: middle;
    }
  }
}
.input-button {
  position: relative;
  input[type='text'] {
  }
  button {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 28px;
    height: 28px;
    background-color: #b7014d;
    border-radius: 4px;
    background-image: url('/resources/common_pub/images/arrow-button.svg');
    background-size: 10px 10px;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateY(-50%);
  }
}
.label-title {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  margin-bottom: 14px;

  &:first-child {
    margin-top: 0;
  }
  h3 {
    color: #312f34;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.425px;

    span {
      display: inline-flex;
      align-items: center;
      height: 24px;
      padding: 0 12px;
      margin-right: 8px;
      color: #fff;
      font-size: 14px;
      font-weight: 500;
      background-color: #727379;
      border-radius: 4px;
    }
  }
  &__button {
    display: flex;
    gap: 8px;
    button {
      padding: 6px 8px;
      color: #fff;
      font-size: 15px;
      font-weight: 500;
      box-sizing: border-box;
      background-color: #312f34;
      border-radius: 4px;
    }

    a {
      color: #7c7c7c;
      font-size: 16px;
      font-weight: 500;
      cursor: pointer;
    }
  }

  &.huge {
    height: 50px;
    background-color: #f4f4f4;

    h3 {
      font-size: 18px;
      font-weight: 600;
      span {
        height: 100%;
        margin-right: 16px;
        font-size: 16px;
        background-color: #b7014d;
      }
    }
  }
}
.basic-table {
  &:has(.basic-table__top) {
    margin-top: 24px;
  }
  &__top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    .total-cnt {
      display: flex;
      align-content: center;
      font-size: 16px;
      font-weight: 700;
      span {
        margin-left: 16px;
        color: #b7014d;
        font-size: 18px;
        font-weight: 700;
        letter-spacing: -0.45px;
      }
    }
  }
  table {
    width: 100%;
    border-collapse: collapse;
    th,
    td {
      padding: 0 10px;
      vertical-align: middle;
      border: 1px solid #fff;
      height: 40px;
    }
    thead {
      tr {
        th {
          color: #fff;
          font-size: 14px;
          font-weight: 700;
          background-color: #434343;
          letter-spacing: -0.35px;
          white-space: nowrap;
        }
        &:first-of-type {
          th {
            &:first-of-type {
              border-top-left-radius: 4px;
            }
            &:last-of-type {
              border-top-right-radius: 4px;
            }
          }
        }
      }
    }
    tbody {
      tr {
        th,
        td {
          position: relative;
          color: #312f34;
          font-size: 16px;
          letter-spacing: -0.4px;

          input {
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 0;
            background-color: transparent;
          }
          label {
            position: absolute;
            display: inline-block;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
          }
          input[type='checkbox'] {
            display: none;
          }
          &:has(input[type='checkbox']:checked) {
            background-color: #8e8f96;
          }
        }
        th {
          color: #fff;
          font-size: 14px;
          font-weight: 700;
          letter-spacing: -0.35px;
          background-color: #5c5c5c;
          white-space: nowrap;
        }
        td {
          background-color: #efeff0;

          &.em {
            background-color: #f1e1e7;
          }
        }
      }
    }
    tfoot {
      tr {
        th,
        td {
          font-weight: 700;
        }
        th {
          color: #fff;
          background-color: #312f34;
          text-align: center;
        }
        td {
          background-color: #434343;
          text-align: right;

          &.light {
            background-color: #8e8f96;
          }
        }
      }
    }
  }
  &.round {
    table {
      tbody {
        tr {
          &:first-of-type {
            > * {
              &:first-child {
                border-top-left-radius: 4px;
              }
              &:last-child {
                border-top-right-radius: 4px;
              }
            }
          }
          &:last-of-type {
            > * {
              &:first-child {
                border-bottom-left-radius: 4px;
              }
              &:last-child {
                border-bottom-right-radius: 4px;
              }
            }
          }
        }
      }
    }
  }
}

.text {
  &-left {
    text-align: left !important;

    input {
      text-align: left !important;
    }
  }
  &-center {
    text-align: center;

    input {
      text-align: center;
    }
  }
  &-right {
    text-align: right;

    input {
      text-align: right;
    }
  }

  &-yellow {
    color: #ffeb00 !important;
  }
  &-red {
    color: #ff0062 !important;
  }
  &-red2 {
    color: #b7014d !important;
  }
}

.hr {
  width: 100%;
  height: 1px;
  background-color: #707070;
  &.dashed {
    margin-top: 52px;
    margin-bottom: 40px;
    height: 0;
    background-color: initial;
    border-bottom: 1px dashed #707070;
  }
}

.article-title {
  margin-bottom: 40px;
  h2 {
    color: #222222;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.55px;
    text-align: center;
  }
}

.round-table {
  &__grid {
    display: grid;
    grid-template-columns: 230px 110px 1fr;
    gap: 8px 12px;

    > * {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      height: 40px;
      padding: 0 16px;
      color: #222222;
      font-size: 16px;
      letter-spacing: -0.4px;
      background-color: #efeff0;
      border-radius: 4px;

      input {
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 0;
        background-color: transparent;
      }

      &.em {
        background-color: #f1e0e7 !important;
      }
    }

    .header {
      background-color: initial;
      justify-content: flex-start;
      height: 24px;
      padding: 0;
      font-size: 16px;
      font-weight: 700;
    }
    .footer {
      color: #fff;
      background-color: #434343;
      font-weight: 700;
    }
  }
}

.image-box {
  position: relative;
  width: 291px;
  background-color: #f7f7f7;
  border-radius: 4px;
  img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    &[src=''] {
      display: none;
    }
  }
  &::before {
    position: absolute;
    top: 50%;
    left: 50%;
    color: #bfbfbf;
    font-size: 15px;
    font-weight: 700;
    line-height: 22.5px;
    text-align: center;
    transform: translate(-50%, -50%);
    content: 'TAM-SAM-SOM\AImage';
  }
}
.chart-sample {
  text-align: center;
  img {
    width: 265px;
    margin: 0 auto;
  }
}
.chart-box {
  position: relative;
  width: 100%;
  background-color: #f7f7f7;
  border-radius: 4px;
  img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    &[src=''] {
      display: none;
    }
  }
  &::before {
    position: absolute;
    top: 50%;
    left: 50%;
    color: #bfbfbf;
    font-size: 15px;
    font-weight: 700;
    line-height: 22.5px;
    text-align: center;
    transform: translate(-50%, -50%);
    content: 'Chart Wrap';
  }
}
.input-multiple {
  display: flex;
  align-items: center;
  width: 100%;
  height: 50px;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #bebfcb;
  box-sizing: border-box;

  &.em {
    input {
      color: #b7014d;
      &.text {
        font-weight: 700;
      }
      &.value {
        font-weight: 500;
      }
    }
    border: 1px solid #b7014d;
  }

  &:has(input:focus) {
    border: 1px solid #b7014d;
  }

  input {
    border: none;
    height: 100%;

    &.text {
      &.em {
        color: #b7014d;
      }
    }
    &.value {
      padding: 0 8px;
      text-align: right;
    }
    &:last-child {
      padding-right: 16px;
    }
  }

  button {
    width: 16px;
    height: 16px;
    margin-right: 16px;
    background-color: initial;
    background-image: url('/resources/common_pub/images/icon-round-minus.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

.value-list {
  display: flex;
  flex-direction: column;
  gap: 8px;

  .label-title {
    margin-top: 16px;
    margin-bottom: 8px;
  }
}

.w {
  &100 {
    font-weight: 100 !important;
  }
  &200 {
    font-weight: 200 !important;
  }
  &300 {
    font-weight: 300 !important;
  }
  &400 {
    font-weight: 400 !important;
  }
  &500 {
    font-weight: 500 !important;
  }
  &600 {
    font-weight: 600 !important;
  }
  &700 {
    font-weight: 700 !important;
  }
  &800 {
    font-weight: 800 !important;
  }
  &900 {
    font-weight: 900 !important;
  }
}

.input-number {
  input {
    color: #b7014d;
    text-align: right;
    -moz-appearance: textfield;
    &::-webkit-outer-spin-button,
    &::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }
    /* Firefox */
  }
  label + .input {
    margin-top: 8px;
  }
  .input {
    position: relative;
    input {
      padding-right: 46px;

      &.text-black {
        color: #312f34;
      }
    }
    &__button {
      display: flex;
      position: absolute;
      flex-direction: column;
      top: 0;
      right: 0;
      width: 30px;
      height: 50px;
      border-left: 1px solid #bebfcb;
      span {
        display: inline-block;
        flex: 1 1 0;
        background-image: url('/resources/common_pub/images/icon-arrow-up.svg');
        background-size: 10px 6px;
        background-position: center;
        background-repeat: no-repeat;
        cursor: pointer;

        &:hover {
          background-color: #f4f4f4;
        }

        &:first-of-type {
          border-top: 1px solid #bebfcb;
          border-right: 1px solid #bebfcb;
          border-top-right-radius: 4px;
        }
        &:last-of-type {
          border-top: 1px solid #bebfcb;
          border-left: 1px solid #bebfcb;
          border-top-left-radius: 4px;
          transform: rotate(180deg);
        }
      }
    }
    .suffix {
      display: inline-block;
      position: absolute;
      top: 50%;
      right: 24px;
      transform: translateY(-50%);
      content: '';
    }
  }
}
.select-box {
  .select {
    position: relative;
    &::after {
      display: inline-block;
      position: absolute;
      top: 50%;
      right: 24px;
      width: 10px;
      height: 8px;
      background-image: url('/resources/common_pub/images/select-arrow.svg');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      transform: translateY(-50%);
      content: '';
    }
  }
  select {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    color: #312f34;
    font-size: 17px;
    line-height: 28px;
    letter-spacing: -0.425px;
    border: 1px solid #bebfcb;
    background-color: #fff;
    border-radius: 4px;
    box-sizing: border-box;
    resize: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    user-select: none;
    pointer-events: none;

    &:focus {
      border-color: #ef0064;
      outline: none;
    }

    &::placeholder {
      color: #bebfcb;
    }

    &:disabled {
      background-color: #efeff0;
    }

    &.em {
      color: #b7014d;
    }
  }
  label + .select {
    margin-top: 8px;
  }
}

.select-score-con {
  margin-top: 24px;
  .select-score-group {
    .select-score-title {
      display: flex;
      justify-content: space-between;
      h3 {
        color: #222222;
        font-size: 17px;
        font-weight: 700;
        letter-spacing: -0.425px;
      }
      p {
        color: #727379;
        font-size: 17px;
        font-weight: 500;
        letter-spacing: -0.425px;
      }
    }
    .select-score-content {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-top: 16px;
    }
    & + .select-score-group {
      margin-top: 32px;
    }
  }
}

.label-select {
  position: relative;
  display: flex;
  justify-content: space-between;
  border: 1px solid #bebfcb;
  border-radius: 4px;
  background-color: #fff;
  overflow: hidden;

  &::after {
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 16px;
    width: 10px;
    height: 8px;
    background-image: url('/resources/common_pub/images/select-arrow.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateY(-50%);
    user-select: none;
    pointer-events: none;
    content: '';
  }

  label {
    padding: 16px 15px;
    color: #222222;
    font-size: 17px;
    line-height: 23px;
    letter-spacing: -0.425px;
  }

  select {
    padding: 0 35px 0 20px;
    color: #222222;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.425px;
    background-color: #f4f4f4;
    border: none;
    border-left: 1px solid #bebfcb;
    -webkit-appearance: none;
    -moz-appearance: none;

    option {
      background-color: #fff;
    }

    &:focus {
      outline: none;
    }
  }
}

.data-label-con {
  .data-label-top {
    display: flex;
    justify-content: space-between;
    margin: 24px 0 8px;

    h3 {
      color: #222222;
      font-size: 17px;
      font-weight: 700;
      letter-spacing: -0.425px;
    }
  }

  .data-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 15px;
    background-color: #f4f4f4;
    border-radius: 4px;

    &.main {
      padding: 20px 15px;
      background-color: #fff5f8;
      .title {
        h5 {
          font-weight: 700;
        }
      }
      .value {
        span {
          color: #b7014d;
        }
      }
    }

    .title {
      h5 {
        color: #312f34;
        font-size: 17px;
        font-weight: 500;
      }
    }
    .value {
      color: #312f34;
      font-size: 17px;
      font-weight: 500;
      span {
        font-weight: 700;
      }
    }

    & + .data-label {
      margin-top: 8px;
    }
  }
}

.chart-con {
  padding: 24px 32px;
  border: 1px solid #bebfcb;
  border-radius: 4px;
  background-color: #ffffff;

  .title {
    margin-bottom: 32px;
    h3 {
      color: #222222;
      font-size: 17px;
      font-weight: 700;
      letter-spacing: -0.425px;
      text-align: center;
    }
  }
  .legend {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 8px;

    &__item {
      display: flex;
      align-items: center;
      gap: 8px;

      em {
        display: inline-block;
        width: 10px;
        height: 6px;
        border-radius: 2px;
        background-color: #b7014d;
      }
      span {
        color: #312f34;
        font-size: 15px;
      }

      &.c-1 {
        em {
          background-color: #b7014d;
        }
      }
      &.c-2 {
        em {
          background-color: #434343;
        }
      }
      &.c-3 {
        em {
          background-color: #5b42c6;
        }
      }
      &.c-4 {
        em {
          background-color: #46afc3;
        }
      }
    }
  }
}
.funding-list {
  display: flex;
  flex-flow: column;
  gap: 16px;
  margin-top: 32px;
  .funding-item {
    border: 1px solid #bebfcb;
    border-radius: 4px;
    background-color: #fff;
    overflow: hidden;

    &.em {
      .title {
        background-color: #b7014d;
      }
      .content {
        .total {
          background-color: #fff5f8;
        }
      }
    }

    .title {
      display: flex;
      align-items: center;
      height: 40px;
      padding: 0 24px;
      background-color: #727378;
      h5 {
        color: #fff;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: -0.4px;
      }
    }
    .content {
      display: flex;
      align-items: center;
      height: 49px;
      ul {
        display: flex;
        flex-grow: 1;
        li {
          position: relative;
          display: flex;
          justify-content: space-between;
          flex-grow: 1;
          padding: 0 24px;
          span {
            color: #312f34;
            font-size: 16px;
            font-weight: 500;
            letter-spacing: -0.4px;
            b {
              font-weight: 700;
            }
          }
          &:not(:last-of-type) {
            &::after {
              position: absolute;
              display: inline-block;
              top: 0;
              right: 0;
              width: 1px;
              height: 100%;
              background-color: #bebfcb;
              transform: translateX(50%);
              content: '';
            }
          }
        }
      }
      .total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 190px;
        height: 100%;
        padding: 0 24px;
        background-color: #f4f4f4;
        border-bottom-left-radius: 4px;
        box-sizing: border-box;
        span {
          color: #312f34;
          font-size: 16px;
          font-weight: 500;
          letter-spacing: -0.4px;
          &:first-of-type {
            font-weight: 700;
          }
          b {
            color: #b7014d;
            font-weight: 700;
          }
        }
      }
    }
  }
}

.tab-con {
  display: flex;
  flex-direction: column;
  align-items: center;
  .tab-controller {
    display: flex;
    gap: 16px;
    button {
      background-color: inherit;
      color: #8e8f96;
      font-size: 17px;
      font-weight: 700;
      letter-spacing: -0.425px;
      border: none;
      border-bottom: 3px solid #8e8f96;
      padding: 0 0 8px 0;
      outline: none;
      cursor: pointer;

      &:hover {
        color: #b7014d;
        border-color: #b7014d;
      }
      &.on {
        color: #b7014d;
        border-color: #b7014d;
      }
    }
  }
  .tab-content {
    display: none;
    width: 100%;
    padding-top: 24px;
    box-sizing: border-box;

    &.on {
      display: block;
    }
  }
}

.keyword-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
  .keyword-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    padding: 0 24px;
    border-radius: 4px;
    background-color: #ffffff;

    .rank {
      color: #222222;
      font-size: 15px;
      font-weight: 500;
      letter-spacing: -0.375;
    }
    .value {
      color: #222222;
      font-size: 15px;
      font-weight: 500;
      letter-spacing: -0.375;
    }

    &.em {
      border: 1px solid #b7014d;
      background-color: #fff5f8;

      .rank {
        font-weight: 700;
      }
      .value {
        color: #b7014d;
      }
    }
  }
}
