/** @format */

/* 폰트관련 */
@font-face {
  font-family: 'Paperlogy';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2')
    format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Paperlogy';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2')
    format('woff2');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Paperlogy';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2')
    format('woff2');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Paperlogy';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-9Black.woff2')
    format('woff2');
  font-weight: 900;
  font-style: normal;
}

:root {
  /* Color styles */
  --primary-light: var(--pink-light);
  --primary-light-hover: var(--pink-light-hover);
  --primary-light-active: var(--pink-light-active);
  --primary-normal: var(--pink-normal);
  --primary-normal-hover: var(--pink-normal-hover);
  --primary-normal-active: var(--pink-normal-active);
  --primary-dark: var(--pink-dark);
  --primary-dark-hover: var(--pink-dark-hover);
  --primary-dark-active: var(--pink-dark-active);
  --primary-darker: var(--pink-darker);

  --primary-03-light: rgba(235, 243, 250, 1);
  --primary-03-light-hover: rgba(225, 236, 248, 1);
  --primary-03-light-active: rgba(194, 217, 240, 1);
  --primary-03-normal: rgba(57, 131, 206, 1);
  --primary-03-normal-hover: rgba(51, 118, 185, 1);
  --primary-03-normal-active: rgba(46, 105, 165, 1);
  --primary-03-dark: rgba(43, 98, 155, 1);
  --primary-03-dark-hover: rgba(34, 79, 124, 1);
  --primary-03-dark-active: rgba(26, 59, 93, 1);
  --primary-03-darker: rgba(20, 46, 72, 1);

  --theme-color: #ac0060;
  --theme-color--60: rgba(228, 0, 127, 0.6);
  --light-normal: rgba(237, 237, 237, 1);
  --basic-box-gap: 40px;
  --basic-gap: 40px;

  --ai_primary-50: #fce6f2;
  --ai_primary-100: #f7b0d7;
  --ai_primary-200: #f38ac4;
  --ai_primary-300: #ed54a9;
  --ai_primary-400: #e93399;
  --ai_primary-500: #e4007f;
  --ai_primary-600: #cf0074;
  --ai_primary-700: #a2005a;
  --ai_primary-800: #7d0046;
  --ai_primary-900: #600035;
  --ai_secondary-50: #f4e9ec;
  --ai_secondary-100: #ddb9c4;
  --ai_secondary-200: #cc98a7;
  --ai_secondary-300: #b5687f;
  --ai_secondary-400: #a74b66;
  --ai_secondary-500: #911e40;
  --ai_secondary-600: #841b3a;
  --ai_secondary-700: #67152d;
  --ai_secondary-800: #501123;
  --ai_secondary-900: #3d0d1b;
  --ai_02-50: #f7e6ef;
  --ai_02-100: #e5b0ce;
  --ai_02-200: #d98ab6;
  --ai_02-300: #c75494;
  --ai_02-400: #bd3380;
  --ai_02-500: #ac0060;
  --ai_02-600: #9d0057;
  --ai_02-700: #7a0044;
  --ai_02-800: #5f0035;
  --ai_02-900: #480028;
}

body {
  font-size: 18px;
}

.f-pl_4 {
  font-family: 'Paperlogy';
  font-weight: 400;
}
.f-pl_5 {
  font-family: 'Paperlogy';
  font-weight: 500;
}
.f-pl_7 {
  font-family: 'Paperlogy';
  font-weight: 700;
}
.f-pl_9 {
  font-family: 'Paperlogy';
  font-weight: 900;
}

* {
  font-family: 'Paperlogy';
}

a {
  color: var(--ai_02-500);
}
a:focus,
a:hover {
  color: var(--ai_primary-500);
}

a {
  text-decoration: none;
}

ol,
ul {
  list-style: none;
  padding-left: 0;
}
p,
li {
  line-height: 1.5;
}

dl,
ol,
ul {
  margin-bottom: 0;
}

dd {
  margin-bottom: 0;
}

.inner {
  max-width: 1310px;
  padding: 0 15px;
  margin: 0 auto;
}

.img_bx {
  display: inline-block;

  & img {
    object-fit: fill;
    width: 100%;
    height: 100%;
  }
}
hr,
caption,
.blind {
  position: absolute;
  top: -9999rem;
  left: -9999rem;
  width: 0;
  height: 0;
  font-size: 0;
  z-index: -1;
}

/* 말줄임 */
.ellipsis {
  display: block;
  width: calc(100% - 0.5rem) !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap;
}
.ellipsis.rows {
  display: -webkit-box !important;
  text-align: left;
  white-space: normal;
  word-wrap: break-word;
  -webkit-box-orient: vertical;
  /* 아래는 상황에 따라 작성 */
  max-height: calc(1.5em * 2px) !important;
  line-height: 1.5 !important;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

/* 컨텐츠 - 공통*/
.sub_content {
  width: 100%;
  padding: var(--basic-box-gap) 0 0;
}

/* 컨텐츠 타이틀 */
.tab-content .ai_sub_tit {
  margin-top: calc(80px * 0.75);
}

.ai_sub_tit {
  display: grid;
  gap: var(--basic-gap) 0;
  justify-content: center;
  text-align: center;
  margin-top: 80px;
  margin-bottom: var(--basic-gap);

  &.first {
    margin-top: 0;
  }

  & > h3::after {
    display: none;
  }
}
.ai_sub_tit h3 {
  margin-bottom: 0;
  font-weight: 900;
  font-size: 2rem;
}
.ai_sub_tit p {
  padding: 12px 20px;
  margin-bottom: 0;
  color: #fff;
  font-weight: 500;
  font-size: 1.25rem;
  background-color: var(--theme-color);
  border-radius: 10px;
}

.sub_content .tit_s {
  font-size: 1.5rem;
  margin-top: var(--basic-gap);
  margin-bottom: 1.25rem;
}

@media screen and (max-width: 500px) {
  /* 컨텐츠 타이틀 */
  .ai_sub_tit {
    gap: 20px 0;

    & p {
      word-break: keep-all;
    }
  }
}

@media (min-width: 768px) {
  .container,
  .container-md,
  .container-sm {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1320px;
  }
}

.sub_content .tab_bx {
  display: flex;
  gap: 0 10px;
}
.sub_content .tab_bx button {
  height: 44px;
  padding: 0 20px;
  color: #babbbd;
  font-size: calc(1rem + 2px);
  background-color: #ededed;
  border: 0 none;
  border-radius: 9999px;
}
.sub_content .tab_bx button.active {
  color: #fff;
  background-color: var(--ai_primary-500);
}
.nav-tabs {
  border-bottom: 0;
}

.sub_content .titleGroup h3 {
  display: flex;
  flex-direction: column-reverse;
  font-weight: 900;
  font-size: 1.25rem;
}

.sub_content .titleGroup h3 {
  & em {
    display: block;
    margin-top: 10px;
    font-size: 2rem;
    font-style: normal;
  }
}

ul.type_basic li {
  position: relative;
  font-size: calc(1rem + 2px);
  padding-left: 20px;

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2px;
    width: 8px;
    height: 0;
    margin-top: 12px;
    border-top: 1px solid var(--ai_primary-500);
  }

  & + li {
    margin-top: 10px;
  }
}
