/* 공통CSS */

:root {
  --color-transparent: transparent;
  --color-white-alpha-80: rgba(255, 255, 255, 0.8);
  --color-white: rgba(255, 255, 255, 1);
  --color-black: #080808;
  --color-black-soft: #1b1b1b;
  --color-gray-600: #4B4B4B;
  --color-gray-500: #888888;
  --color-gray-400: #A8A8A8;
  --color-gray-300: #CECECE;
  --color-gray-200: #E3E3E3;
  --color-gray-100: #F7F7F7;  
  --color-pink-light: #F6DDE0;  
  --color-red-primary: #F10013;
  --color-red-accent: #E30012;
  --color-red-bright: #FF2E40;  
  --color-yellow-primary: #FECD2F;
  --color-yellow-light: #FFF9C4;

  --swiper-theme-color: var(--color-white);

  /* Gradient */
  /* --color-red-start: var(--color-red-bright);
  --color-red-end: var(--color-red-primary);
  --color-yellow-start: var(--color-yellow-light);
  --color-yellow-end: var(--color-yellow-primary); */

  /* Gradient */
    --gradient-red: linear-gradient(
        90deg,
        var(--color-red-bright) 0%,
        var(--color-red-primary) 100%
    );

    --gradient-yellow: linear-gradient(
        90deg,
        var(--color-yellow-light) 0%,
        var(--color-yellow-primary) 100%
    );

  /* Backgrounds */
  --color-bg-section-gray: var(--color-gray-100);
  --color-bg-section-red: var(--color-red-primary);
  --color-bg-section-black: var(--color-black);
  --color-bg-table-header: var(--color-pink-light);
  --color-bg-table-accent: var(--color-red-primary);
  --color-bg-form: var(--color-black-soft);
  --color-bg-form-toggle: var(--color-gray-600);
  --color-bg-card-black: var(--color-black);

  /* Borders */
  --color-border-form: var(--color-gray-300);
  --color-border-table: var(--color-gray-200);

  /* Radius */
  --radius-2: 2px;
  --radius-16: 16px;
  --radius-full: 9999px;

  /* Spacing */
  --spacing-0: 0px;
  --spacing-2: 2px;
  --spacing-4: 4px;
  --spacing-6: 6px;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-20: 20px;
  --spacing-24: 24px;
  --spacing-26: 26px;
}

html {
  font-size: 100%;
  /* 0703-수정 */
  overflow-x: clip;
}

body {
  color: var(--color-black);
  overflow-x: clip;
}

#wrap {
  min-width: 360px;
}

.heading {
  font-family: 'Paperozi', sans-serif;
}
.inner {
  max-width: 1600px;
  margin: 0 auto;
}

/* header */
header {
  position: relative;
  /* top: 0; */
  width: 100%;
  padding-left: 1.25rem;
  background-color: var(--color-bg-section-black);
}
.h-in {  
  height: 80px;
}
h1 {  
  position: relative;
  z-index: 99;
  display: flex;
  align-items: center;
}
.h-in,
nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav ul {
  /* column-gap: 10px;  */
  height: 100%;
}
nav a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 30px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-white);
}
nav a:hover {
  color: var(--color-red-primary);
}
.mo-navi {
  display: none;
}

@media (max-width: 1680px) {
  nav a {    
    padding: 0 22px;
    font-size: 1rem;
  }
}

@media (max-width: 820px) {
  nav,
  .mo-navi-box,
  .mo-navi ul {
    display: none;
  }
  .mo-navi {
    display: block;
  }

  .mo-navi-box.is-open {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    /* min-width: 360px; */
    height: 100dvh;    
    padding: 80px 20px;
    display: block;
    background-color: var(--color-bg-card-black);
    color: var(--color-white);
    z-index: 5;
  }

  .mo-navi h2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    /* background-color: #E30012; */
    cursor: pointer;
  }
  .mo-navi h2::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 9px;
    background: url(../img/menu_arrow.svg) no-repeat center / 100%;
    filter: brightness(0) invert(1);
    transform: rotateX(180deg);
  }

  .mo-navi-box:has(ul.is-open) h2::after {
    transform: rotateX(0);
  }
  /* :has()는 이걸 포함하고 있는 부모를 선택하는 거라서, 위로 거슬러 올라가는게 가능, .mo-navi의 자식요소 ul.is-open을 가지고 있는 경우 h2::after속성을 바꿔라 */

  .mo-navi ul.is-open {
    display: flex;
    flex-direction: column;
  }

  .mo-navi ul.is-open a {
    display: block;
    padding: 12px 0;
  }

  .menu-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 56px;
    height: 56px;
    z-index: 10;
  }
  .menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 4px;

    transform-origin: center;
    transition: transform 0.35s;
  }

  .menu-btn.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .menu-btn.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .menu-btn.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

@media (max-width: 500px) {
  .h-in {
    height: 56px;
  }
  h1 img {
    width: 112px;
  }
  .close-btn span {
    width: 18px;
  }
}

/* ul.menu-wrap */
.menu-wrap {
  position: fixed;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  /* fiexd, absolute 중앙정렬 방법*/
  display: none;
  justify-content: space-between;
  width: calc(100% - 40px);
  max-width: 714px;
  /* margin: 0 auto; */
  /* fiexd, absolute는 margin으로 중앙정렬이 불가 */
  padding: 0 20px;
  border-radius: 2rem;
  background-color: var(--color-white-alpha-80);
  z-index: 99;
  box-shadow: 0 0 10px rgba(0,0,0,0.03);
}
.menu-wrap.show {
  display: flex;
}
.menu-wrap a {
  display: block;
  padding: 12px 20px;
  font-weight: 700;
}
.menu-wrap li.active a {
  color: var(--color-red-primary);
}

@media (max-width: 820px) {
  .menu-wrap a {    
    padding: 12px 0;
    font-size: 14px;
  }
}

@media (max-width: 500px) {
  .menu-wrap {
    padding: 0 12px;
  }
  .menu-wrap a {    
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .menu-wrap a {
    font-size: 10px;
  }
}


/* hero-sec */
.hero-wrap {
  height: 250dvh;
}
.hero-sec {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1rem;
  /* justify-content: center; */
  width: 100%;
  /* height: calc(145lvh- 80px); */
  padding-top: 120px;
  background: var(--color-black) url(../img/s1_bg.jpg) no-repeat center / cover;
  text-align: center;

  clip-path: inset(0 50%);
  transition: clip-path 1.2s ease-in-out;
}

.hero-sec.open {
  clip-path: inset(0 0);
}

.txt-ani {
  height: 170px;
  overflow: hidden;
}
.hero-sec strong,
.hero-sec h2 {
  font-size: 170px;
  font-weight: 750;
  color: var(--color-red-primary);
  line-height: 1;
}
/* .hero-sec.scroll .txt-ani > div {
  transform: translateY(0);
  transition: 0.5s;
}
.hero-sec.scroll .txt-ani > div {
  transform: translateY(-170px);
}  */

.hero-sec .txt-ani > div {
  transform: translateY(calc(var(--progress, 0) * -100%));
  transition: transform 0.15s ease-out;
}

.hero-sec p {
  margin-top: 1rem;
  font-size: 54px;
  font-weight: 800;
  color: var(--color-white);
  /* opacity: 0; */
  letter-spacing: -0.02em;
  /* transform: translateY(54px);
  transition: 0.5s 0.5s; */
  --p-local: clamp(0, (var(--progress, 0) - 0.5) * 2, 1);
  opacity: calc(var(--p-local) * 0.8);
  transform: translateY(calc((1 - var(--p-local)) * 54px));
  transition: transform 0.15s ease-out, opacity 0.15s ease-out;
}
/* .hero-sec.scroll p {
  opacity: 0.8;
  transform: translateY(0);
} */

@media (max-width: 1280px) {
  .hero-sec {
    row-gap: 8px;
    /* height: calc(100dvh - 80px); */
    padding-top: 80px;
  }
  .txt-ani {
    height: 106px;
  }
  /* .hero-sec.scroll .txt-ani > div {
    transform: translateY(-106px);
  } */
  .hero-sec strong,
  .hero-sec h2 {
    font-size: 106px;
  }
  .hero-sec p {
    font-size: 36px;
  }
}

@media (max-width: 820px) {
  .hero-sec {
    background-image: url(../img/s1_bg_mob.jpg);
    background-position: center -16px;
  }
  .txt-ani {
    height: 65px;
  }
  /* .hero-sec.scroll .txt-ani > div {
    transform: translateY(-65px);
  } */
  .hero-sec strong,
  .hero-sec h2 {
    font-size: 65px;
  }
  .hero-sec p {
    font-size: 24px;
  }
}

/* @media (max-width: 500px) {
  .hero-sec {
    height: calc(100dvh - 118px);
  }
} */

/* banner-wrap */
.banner-wrap {
  background-color: var(--color-bg-section-red);
  overflow: hidden;
  padding: 0.8rem 0;
  white-space: nowrap;
}
.banner-track {
  display: inline-flex;
  animation: scroll-left 30s linear infinite;
}
.banner-item {
  display: inline-flex;
  align-items: center;
}
.banner-text {
  font-size: 48px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 1.5rem;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* 애니메이션이 시작되는 시점0% 에는 banner-track을 원래 위치에 두고 애니메이션이 끝나는 시점100% 에는 banner-track을 자기 자신 너비의 50%만큼 왼쪽으로 이동시킨다는 뜻 banner-track안에 똑같은 텍스트세트가 2개들어있으므로 전체너비를 100%라고 하면 첫번째 세트는 0~50%구간을 차지, 트랙을 50%만큼 왼쪽으로 밀면 정확히 첫번째 세트가 화면밖으로 사라지는 동시에 두번째세트가 그자리를 대체함 */

@media (max-width: 1280px) {
  .banner-text {
    font-size: 40px;
  }
}
@media (max-width: 820px) {
  .banner-text {
    font-size: 24px;
  }
}


/* count-sec */
.count-sec {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 160dvh;
  padding: 60px 0;
  background: #1f1b18 url(../img/s2_bg.jpg) no-repeat center -60px / cover;
  color: var(--color-white);
}
.tit {
  font-size: 68px;
  font-weight: 800;
}
.count-sec h2 + p {
  font-size: 28px;
  font-weight: 600;
  text-align: center;
}
.count-sec .num {
  color: var(--color-red-primary);
  text-align: center;
}
.count-txt > p {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;  
  text-align: center;
}
.count-txt strong {
  font-size: 110px;
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 1280px) {
  .count-sec {
    height: 128dvh;
    background-position: center top;
  }
  .tit {
    font-size: 60px;
  }
  .count-sec h2 + p  {
    font-size: 20px;
  }
  .count-txt > p  {
    font-size: 36px;
  }
  .count-txt strong {
    font-size: 90px;
  }
}

@media (max-width: 820px) {
  .count-sec {
    height: 100dvh;
    padding: 20px 0;
  }
  .tit {
    font-size: 42px;
    line-height: 1.2;
  }
  .count-sec .tit {
    text-align: center;
  }
  .count-sec h2 > span {
    display: block;
  }
  .count-sec h2 + p {
    margin-top: 1rem;
    font-size: 16px;
    font-weight: 500;
  }
  .count-txt > p  {
    font-size: 28px;
    line-height: 1.5;
  }
  .count-txt strong {
    font-size: 72px;
  }
}

@media (max-width: 500px) {
  .count-txt strong {
    font-size: 44px;
  }
}

/* intro-sec - bg박스 추가 */
.sec-wrap {
  /* 0703-추가작업 */
  position: relative;
}
.bg {    
  position: sticky;
  top: 0; 
  z-index: 1;
  width: 100%;
  height: 150dvh;
  background: url(../img/s3_bg.jpg) no-repeat scroll center / cover;
  
}
@media (max-width: 820px) {
  .bg {
    height: 100dvh;
  }
}
.intro-sec {   
  /* 0703-추가작업 */
  position: absolute;
  top: 0;
  z-index: 1;
  width: 100%;

  padding: 140px 1.25rem 60px;
  background-color: var(--color-white);
}
.intro-sec > .inner {
  display: flex;
}
.intro-sec h2 {
  width: 100%;
  max-width: 750px;
  padding-right: 20px;
  font-size: 70px;
  font-weight: 900;
}
.intro-sec h2 span {
  display: block;
  line-height: 1.2;
  white-space: nowrap;
}
.intro-sec .txt-box {
  flex-basis: fit-content;
}
/* 
  max-content: 글자가 절대 줄바꿈되지 않게, 무조건 한줄로 
  min-content: 줄바꿈할수있는데까지 해서 최대한 좁게
  fit-content: 텍스트나 이미지의 크기만큼 딱 맞춰서 늘어남
*/

.intro-sec p:nth-child(1) {
  margin-bottom: 0.5rem;
  font-size: 24px;
  font-weight: 600;
  color: var(--color-gray-600);
}
.intro-sec p:nth-child(2) {
  font-size: 20px;
  color: var(--color-gray-600);  
  text-align: justify;
}

@media (max-width: 1280px) {
  .intro-sec h2 {
    width: 45%;
    font-size: 52px;
  }
  .intro-sec .txt-box {
    flex-basis: 55%;
  }
  .intro-sec p:nth-child(1) {
    font-size: 20px;
  }
  .intro-sec p:nth-child(2) {
    font-size: 1rem;
  }
}

@media (max-width: 820px) {
  .intro-sec {
    padding-top: 60px;
    padding-bottom: 40px;
  }
  .intro-sec .inner {
    flex-direction: column;
    gap: 20px;
  }
  .intro-sec h2 {
    width: 100%;
    font-size: 40px;
  }
  .intro-sec .txt-box {
    flex-basis: auto;
  }
  .intro-sec p:nth-child(1) {
    /* font-size: 18px; */
    margin-bottom: 0.2rem;
  }
}

@media (max-width: 500px) {
  .intro-sec .inner {
    gap: 16px;
  }
  .intro-sec p:nth-child(1) {
    font-size: 18px;
    font-weight: 500;
  }
  .intro-sec .mobile {
        display: none;
    }
}

/* interior-sec */
.pd {
  padding: 140px 0;
  position: relative;
  z-index: 1;
  background-color: #fff;
}
.interior-sec {  
  padding-bottom: 0;
}
.interior-sec h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  margin-bottom: 1em;
}
/* .interior-sec h2 > span {
  display: block;
} */
.interior-sec .mo-img {
  display: none;
}
@media (max-width: 820px) {
  .pd {
    padding: 60px 0;
  }
  .interior-sec .mo-img {
    display: block;
  }
  .interior-sec .pc-img {
    display: none;
  }
}
@media (max-width: 500px) {
  .tit {
    font-size: 32px;
  }
}


/* swiper */
.g-slider .swiper-button-next,
.g-slider .swiper-button-prev {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-white);
  background-repeat: no-repeat; 
  background-position: center;
}
.g-slider .swiper-button-next {
  right: 40px;
  background-image: url(../img/swiper_arrow_right.svg);
}
.g-slider .swiper-button-prev {
  left: 40px;
  background-image: url(../img/swiper_arrow_left.svg);
}
.g-slider .swiper-button-next svg,
.g-slider .swiper-button-prev svg {
  display: none;
}

.g-slider .swiper-pagination {
  bottom: 30px;
}

.g-slider .swiper-pagination-bullet {
  border: 1px solid var(--color-white);
  background-color: var(--color-white);
  opacity: 1;
}
.g-slider .swiper-pagination-bullet-active {
  /* border-color: var(--color-white); */
  background-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 820px) {
  .g-slider .swiper-button-next,
  .g-slider .swiper-button-prev {
    opacity: 0;
  }
}


/* merit-sec */
.merit-sec {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.merit-sec span {
  display: block;
  text-align: center;
  line-height: 1.2;
}
.pd h2 + p {
  margin-top: 0.5em;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  color: var(--color-gray-600);
  margin-bottom: 3em;
}
.merit-sec ul {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  /* margin-top: 80px; */
  text-align: center;
}
.merit-sec .sub-box {
  margin-top: 1em;
}
.merit-sec h3 {
  font-size: 24px;
}
.merit-sec h3 + p {
  font-size: 18px;
  color: var(--color-gray-500);
}

.merit-sec .img-box {
  position: relative;
  overflow: hidden;
}
.merit-sec .img-box::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  transform: translateY(70%);
  opacity: 0;
  transition: 0.5s;
}
.merit-sec .img-box:hover::after {
  transform: translateY(0);
  opacity: 1;
}
.merit-sec strong {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  color: var(--color-white);
  font-size: 80px;
  font-weight: 900;
  transition: 0.5s;
  cursor: pointer;
  visibility: hidden;
  opacity: 0;
}
.merit-sec .img-box:hover strong {
  visibility: visible;
  opacity: 1;
}
.merit-sec strong:hover {
  color: var(--color-red-primary);
}

@media (max-width: 980px) {
  .merit-sec strong {
    font-size: 48px;
  }
}

@media (max-width: 820px) {
  .pd h2 + p {
    font-size: 20px;
    letter-spacing: -0.02em;
  }
  .merit-sec ul {
    flex-direction: column;
    align-items: center;
    /* margin-top: 30px; */
  }
  .merit-sec h3 {
    font-size: 20px;
  }
  .merit-sec h3 + p {
    font-size: 16px;
  }
}

@media (max-width: 500px) {
  .pd h2 + p {
    font-size: 16px;
  }
  .merit-sec ul {
    gap: 16px;
  }
  .merit-sec h3 {
    font-size: 16px;
  }
  .merit-sec h3 + p {
    font-size: 14px;
  }
}

/* youtube-sec */
.youtube-sec {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.youtube-sec .tit {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  margin-bottom: 1em;
  text-align: center;
}
.youtube-sec .media {
  width: 100%;
  max-width: 1600px;
  /* height: 84dvh; */
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  /* aspect-ratio사용시 높이 적용 안함 */
  /* 
  padding-bottom: 56.25% (16:9 비율), height: 0 - 부모요소에 relative
  iframe요소에 absolute
  */
}

.youtube-sec .sub-tit {  
  margin-top: 1em;
  display: flex;
  justify-content: center;
  gap: 14px;  
  font-size: 48px;
}
.youtube-sec .sub-tit > p {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
  line-height: 1.2;
}
.youtube-sec .sub-tit span {
  color: var(--color-red-primary);
}
.youtube-sec .sub-tit p:last-child::after {
  content: "";
  display: inline-block;
  width: 48px;
  height: 48px;
  background: url(../img/clock-icon.png) no-repeat center / 100%;
}

@media (max-width: 1280px) {
  .youtube-sec .sub-tit {
    font-size: 36px;
  }
  .youtube-sec .sub-tit p:last-child::after {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 1024px) {
  .youtube-sec .media {
    height: 54dvh;
  }
  .youtube-sec .sub-tit {
    font-size: 32px;
  }
  .youtube-sec .sub-tit p:last-child::after {
    width: 32px;
    height: 32px;
  }
}
@media (max-width: 820px) {
  .youtube-sec .media {
    /* height: 40dvh; */
    aspect-ratio: 4 / 3;
  }
  .youtube-sec .sub-tit  {
    flex-direction: column;
    align-items: center;
    gap: 0;
    font-size: 24px;
  }
  .youtube-sec .sub-tit p:last-child::after {
    width: 24px;
    height: 24px;
  }
}


/* benefit-sec */
.benefit-sec {
  background-color: var(--color-bg-section-red);
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.benefit-sec h2 {
  text-align: center;
}
.benefit-sec h2 + p {
  color: var(--color-black);
}
.benefit-sec ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit-sec li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background-color: var(--color-bg-card-black);
  height: 264px;
  color: var(--color-white);
}
.benefit-sec li::before {
  content: "";
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 109px;
  max-height: 44px;
  padding: 1em 0.8em;
  border-radius: 2px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-black);
}
.benefit-sec .r-badge::before {  
  content: "한정혜택";
  background: var(--gradient-red);
}
.benefit-sec .y-badge::before {  
  content: "특별혜택";
  background: var(--gradient-yellow);
}
.benefit-sec strong {
  font-size: 48px;
  font-weight: 900;
}
.benefit-sec span:nth-child(2) {
  font-size: 24px;
  font-weight: 500;
  color: var(--color-gray-300);
}

@media (max-width: 1280px) {
  .benefit-sec li {
    height: 190px;
    gap: 0;
  }
  .benefit-sec li::before {    
    margin-bottom: 0.4em;
    padding-left: 1.4em;
    padding-right: 1.4em;
    font-size: 16px;
  }
  .benefit-sec strong {
    font-size: 30px;
  }
  .benefit-sec span:nth-child(2) {
    font-size: 18px;
  }
}

@media (max-width: 1024px) {
  .benefit-sec ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
.benefit-sec ul {
    grid-template-columns: repeat(1, 1fr);
    max-width: 350px;
    margin: 0 auto;
  }
  .benefit-sec li::before {
    padding: 0.6em 1em;
    font-size: 14px;
  }
}



/* franc-sec */
.franc-sec {
  /* padding: 0 20px; */
  padding-left: 20px;
  padding-right: 20px;
}
.franc-sec h2 {
  text-align: center;
}

/* table */
table {
  width: 100%;
  font-size: 20px;
  color: var(--color-black-soft);
}
col:nth-child(1) {
  width: 300px;
}
col:nth-child(2) {
  width: calc(100% - 640px);
}
col:nth-child(3) {
  width: 175px;
}
col:nth-child(4) {
  width: 165px;
}
thead {
  background-color: var(--color-bg-table-header);
}
tfoot {
  background-color: var(--color-bg-table-accent);
  color: var(--color-white);
}
tfoot div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
tfoot strong {
  font-size: 32px;
  font-weight: 800;
}
tfoot span {
  text-decoration: line-through;
}
tbody tr {
  border-top: 1px solid var(--color-border-table);
}
th, td {
  padding: 1em 0;
  text-align: center;
  word-break: keep-all;
}
table em {
  font-weight: 800;
  font-style: normal;
}
tbody span {
  display: block;
  font-size: 14px;
}
tbody .arrow {
  color: var(--color-gray-400);
}
tbody .arrow > b {
  position: relative;
}
tbody .arrow > b::before {
  content: "";
  position: absolute;
  width: 90px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-46%, -50%);
  background: url(../img/s19_table_cancleline06.png) no-repeat center / 100%;
}
tbody .big > b::before {
  width: 110px;
}

.summary-box {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 18px;
  color: var(--color-gray-500);
}
.summary-box .star {
  font-weight: 500;
}
.star::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 4px;
  background: url(../img/word-icon.svg) no-repeat 0 0 / 100%;
}

@media (max-width: 1024px) {
  /* .franc-sec .inner {
    overflow-x: auto;
  } */
   .scroll-box {
    overflow-x: auto;
   }
  table {
    min-width: 765px;
    font-size: 16px;
  }
  col:nth-child(1) {
    width: 180px;
  }
  col:nth-child(2) {
    width: calc(100% - 480px);
  }
  col:nth-child(3) {
    width: 145px;
  }
  col:nth-child(4) {
    width: 155px;
  }
  tfoot strong {
    font-size: 24px;
  }
  .summary-box {
    min-width: 765px;
    flex-direction: column;
    font-size: 14px;
  }
  .summary-box .star {
    order: -1;
  }
}

/* lnq-sec */
.lnq-sec {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  background-color: var(--color-black);
  color: var(--color-white);
}
.lnq-sec h2 {
  text-align: center;
}
.lnq-sec h2 + p {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-white);
}
.form-container {
  padding: 80px 132px;
  background-color: var(--color-bg-form);
  /* font-size: 24px; */
}
.form-container h3 {
  font-size: 24px;
  font-weight: 800;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}
.form-container label {
  font-size: 18px;
  font-weight: 700;
}
.form-header,
.form-group, 
.form-footer,
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.form-group:has(textarea) {
  align-items: flex-start;
}
.form-footer {
  justify-content: center;
}
.form-container label {
  width: 165px;
  flex-shrink: 0;
}
.form-footer label {
  width: auto;
}
.form-group:has(textarea) label {
  padding-top: 10px;
}
label .required {
  width: 10px;
  color: var(--color-red-primary);
}
label:not(:has(span.required)) {
  padding-left: 10px;
}
/* label요소 중에서 span.required를 자식으로 가지지 않는 것을 선택 */
.form-container .gray {
  color: var(--color-gray-500);
  font-size: 16px;
}
.form-container h3 + p {
  font-size: 14px;
}
.form-container input[type="text"],
.form-container input[type="tel"],
.form-container select {
  width: 100%;
  max-width: 380px;
  border: 1px solid var(--color-border-form);
  padding: 1em;
  background-color: var(--color-white);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-black-soft);
}
.form-container select {
  background: var(--color-white) url(../img/selectarrow.png) no-repeat right 8px center / 24px;
}
/* 
  appearance:none을 하는 이유
 - 브라우저마다 자동으로 그린 화살표가 모두 다름, 디자인통일 불가, 기본스타일로 디자인가이드 못맞춤, 색상, 크기, 위치 조정불가

 - select에 직접 화살표 이미지를 넣거나
 - select를 div로 감싸서 div에 가상요소를 이용하여 이미지나, 아이콘을 넣는 방법으로 사용
*/
.form-container textarea {
  background-color: var(--color-white);
  color: var(--color-black-soft);
  padding: 1em;
  width: 100%;
}
.form-container input[type="checkbox"] {
  width: 32px;
  height: 32px;
  background: var(--color-black-soft) url(../img/check.png) no-repeat center / 24px;
  filter: invert(1);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}
.form-container input[type="checkbox"]:checked {
  filter: invert(0);
  background-color: var(--color-red-primary);
}
.select-toggle > .business-box {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 380px;
  background-color: lightsalmon;
}
.business-select {
  display: none;
  position: absolute;
  width: 100%;
  left: 0;
  top: 100%;
  background-color: var(--color-gray-600);
  color: var(--color-gray-400);
  font-size: 16px;
  cursor: pointer;
}
.business-select li {
  padding: 1em;
}
.business-select li:hover {
  background-color: var(--color-red-primary);
  color: var(--color-white);
}
.business-box.active .business-select {
  display: flex;
  flex-direction: column;
}
.select-toggle img,
.select-toggle ul {
  position: absolute;
}
.select-toggle img {
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
}
.toggle-group {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 380px;
}
.toggle-btn {
  width: 100%;
  max-width: 380px;
  padding: 0.7em 1em;
  font-size: 16px;
  font-weight: 500;
  background-color: var(--color-white);
  color: var(--color-gray-400);
}
.toggle-btn.active {
  background-color: var(--color-gray-600);
  color: var(--color-white);
}
.submit-btn {
  background-color: var(--color-red-primary);
  max-width: 416px;
  margin: 0 auto;
  font-weight: 800;
  color: var(--color-pink-light);
  width: 100%;
  padding: 0.7em 1em;
  font-size: 18px;
}
.terms-link {
  text-decoration: underline;
}

@media (max-width: 820px) {
  .form-container {
    padding: 40px;
  }
  .form-header, 
  .form-group, 
  .form-footer {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }  
  .form-footer {
    align-items: center;
  }
  .form-container input[type="text"], 
  .form-container input[type="tel"], 
  .form-container select,
  .select-toggle > .business-box,
  .toggle-group {
    max-width: 100%;
  }
}

@media (max-width: 500px) {
  .form-container {
    padding: 20px;
  }
  .form-header, 
  .form-group, 
  .form-footer, 
  .checkbox-group {
    gap: 4px;
  }
  .form-container h3 {
    font-size: 20px;
  }
  .form-container label,
  .submit-btn {
    font-size: 16px;
  }
  .form-container .gray,
  .form-container input[type="text"], 
  .form-container input[type="tel"], 
  .form-container select,
  .toggle-btn,
  .form-container textarea,
  .business-select li {
    font-size: 14px;
  }
  .form-container input[type="checkbox"] {
    width: 24px;
    height: 24px;
    background-size: 16px;
  }
}

footer {
  padding: 100px 20px;
  text-align: center;
  background-color: var(--color-black-soft);
  color: var(--color-white);
}
footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
footer li {
  flex-shrink: 0;
  word-break: keep-all;
  position: relative;
}
footer li::after {
  content: "";
  display: block;
  width: 1px;
  height: 12px;
  background-color: var(--color-gray-400);
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
}
footer li:last-child::after {
  display: none;
}
footer .line2 {
  margin: 1em 0;
}
footer strong {
  font-weight: 700;
}
footer p {
  font-weight: 300;
  font-size: 14px;
}

@media (max-width: 500px) {
  footer {
    padding: 60px 20px 80px;
    font-size: 14px;
  }
  footer ul {
    gap: 10px;
  }
  footer p {
    font-size: 12px;
  }
}
