@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Play:wght@400;700&display=swap');
:root {
  /* ---------------------------- global settings ---------------------------- */
  --global-font-family: "Play", "Pretendard Variable", "notokr", sans-serif;
  --global-font-size: 16px;
  /* ---------------------------- color ---------------------------- */
  --primary-color: #6f767d;
  --primary-color-light: #f3f4f5;
  --primary-color-dark: #3f454a;
  --primary-color-hover: var(--primary-color-dark);
  --danger-color: #d42828;
  --danger-color-hover: #cc0a0a;
  --dark-color: #4f5356;
  --dark-color-hover: #333;
  --grey-color: #d5d5d5;
  --grey-color-hover: #c4c4c4;
  /* ---------------------------- style ---------------------------- */
  --minmax-1fr: minmax(0, 1fr);
  --gap-1: 1rem;
  --gap-2: 1.5rem;
  --gap-3: 2rem;
  --radius-xs: 0.3rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.8rem;
  --radius-1: 1rem;
  --radius-2: 1.5rem;
  --radius-3: 2rem;
  --radius-full: 9999px;
  --duration-1: 0.1s;
  --duration-2: 0.2s;
  --duration-3: 0.3s;
  --svh100: 100svh;
  /* ---------------------------- font-size ---------------------------- */
  --fs-xs: 0.6rem;
  --fs-sm: 0.7rem;
  --fs-md: 0.875rem;
  --fs-1: 1rem;
  --fs-2: 1.125rem;
  --fs-3: 1.25rem;
  --fs-4: 1.5rem;
  --fs-5: 1.75rem;
  --fs-6: 2rem;
  --fs-7: 2.5rem;
  --fs-8: 3rem;
  --fs-9: 3.5rem;
  --fs-10: 4rem;
  /* ---------------------------- layout ---------------------------- */
  --container-max-width: 1300px;
  --container-padding-inline: 0.938rem;
  /* ---------------------------- button ---------------------------- */
  --button-height-1: 2.9375rem;
  --button-height-2: 3.75rem;
  --button-font-size-1: clamp(0.875rem, 2vw, 1rem);
  --button-font-size-2: clamp(0.9375rem, 2vw, 1.125rem);
  /* ---------------------------- swiper ---------------------------- */
  /* api settings */
  --swiper-theme-color: var(--primary-color) !important;
  /* main slide caption settings */
  --swiper-caption-color: #fff;
  --swiper-caption-header-font: 700 5rem / 1.2 var(--global-font-family);
  --swiper-caption-header-margin-block: 0 1.5rem;
  --swiper-caption-paragraph-font: 400 2.5rem / 1.5 var(--global-font-family);
  --swiper-caption-paragraph-margin-block: 1.75rem 1rem;
  --swiper-caption-margin-block: 0 0 1.5rem;
  --swiper-caption-arrow-size: 64px;
  --swiper-caption-arrow-color: rgba(255, 255, 255, 1);
  --swiper-caption-arrow-next-img: url(/public/img/icons/SVG/arrow/arrow@25.04/arrow_next.svg);
  --swiper-caption-arrow-prev-img: url(/public/img/icons/SVG/arrow/arrow@25.04/arrow_prev.svg);
  --swiper-bullets-size: 0.625rem;
  --swiper-bullets-gap: 0.58rem;
  --swiper-bullets-color: #fff;
  /* ---------------------------- navbar ---------------------------- */
  --navbar-height: clamp(3.75rem, 10vw, 6.25rem);
  /* navbar logo settings */
  --navbar-logo-width: clamp(3.125rem, 15vw, 11rem);
  --navbar-logo-font: 700 clamp(1.25rem, 3vw, 2rem);
  /* navbar menu settings */
  --navbar-menu-padding-inline: clamp(0.9375rem, 3vw, 3rem);
  --navbar-menu-font: 600 clamp(0.9375rem, 2vw, 1.25rem);
  --navbar-menu-letter-spacing: -0rem;
  /* navbar dropmenu settings */
  --navbar-dropmenu-font: 500 clamp(0.875rem, 2vw, 1rem);
  /* navbar dropmenu settings */
  --navbar-dropmenu-width: 11.25rem;
  --navbar-dropmenu-padding: 1.5625rem;
  --navbar-dropmenu-gap: 0.9375rem;
  --navbar-dropmenu-position-x: 50%;
  --navbar-dropmenu-position-y: calc(100% + 0.75rem);
  --navbar-dropmenu-background-color: #fff;
  --navbar-dropmenu-color: #333;
  --navbar-dropmenu-hover-color: var(--primary-color);
  /* ---------------------------- subpage header ---------------------------- */
  --subpage-header-height: 32rem;
  /* subpage header title settings */
  --subpage-header-title-font: 700 3.5rem / 1.3 var(--global-font-family);
  --subpage-header-paragraph-font: 400 1.5rem / 1.55 var(--global-font-family);
  --subpage-header-title-margin-block: 0 1rem;
  /* subpage header background image settings */
  --subpage-header-bg-url-1: url(/public/img/sub/);
  --subpage-header-bg-url-2: url(/public/img/sub/sub-top02.jpg);
  --subpage-header-bg-url-3: url(/public/img/sub/sub-top03.jpg);
  --subpage-header-bg-url-4: url(/public/img/sub/sub-top04.jpg);
  --subpage-header-bg-url-5: url(/public/img/sub/sub-top05.jpg);
  --subpage-header-bg-url-6: url(/public/img/sub/sub-top06.jpg);
  /* ---------------------------- snb ---------------------------- */
  --subpage-navbar-flex: 0 1 11.25rem;
  --subpage-navbar-height: 3.5rem;
  --subpage-navbar-font: 500 1.063rem / 1.5;
  --subpage-navbar-color: #999;
  --subpage-navbar-active-color: var(--primary-color);
  /* ---------------------------- subpage content ---------------------------- */
  --subpage-section-padding-block: 7.5rem;
  /* main title settings */
  /* font */
  --main-title-header-1-font: 700 2.875rem / 1.5;
  --main-title-header-2-font: 600 2.5rem / 1.5;
  --main-title-header-3-font: 700 3.125rem / 1.35;
  --main-title-header-4-font: 600 2.5rem / 1.5;
  --main-title-header-5-font: 700 1.75rem / 1.5;
  --main-title-header-6-font: 700 1.375rem / 1.5;
  --main-title-header-letter-spacing: -0.03rem;
  /* color */
  --main-title-header-1-color: #000;
  --main-title-header-2-color: #000;
  --main-title-header-3-color: #000;
  --main-title-header-4-color: #000;
  --main-title-header-5-color: #000;
  --main-title-header-6-color: #000;
  /* gap */
  --main-title-header-3-gap: 1.88rem;
  --main-title-header-4-gap: 1.88rem;
  --main-title-header-5-gap: 0.94rem;
  --main-title-header-6-gap: 0.94rem;
  /* my */
  --main-title-header-1-margin-block: 0rem 0rem;
  --main-title-header-2-margin-block: 0rem 0rem;
  --main-title-header-3-margin-block: 0rem 5rem;
  --main-title-header-4-margin-block: 5rem 3rem;
  --main-title-header-5-margin-block: 3.5rem 2rem;
  --main-title-header-6-margin-block: 3rem 1rem;
  /* main title paragraph settings */
  /* font */
  --main-title-paragraph-lg-font: 400 1.125rem / 1.5;
  --main-title-paragraph-1-font: 400 1.5rem / 1.5;
  --main-title-paragraph-2-font: 400 1.2rem / 1.5;
  --main-title-paragraph-3-font: 400 1.25rem / 1.6;
  --main-title-paragraph-4-font: 400 1.125rem / 1.6;
  --main-title-paragraph-5-font: 400 1.125rem / 1.6;
  --main-title-paragraph-6-font: 400 1.125rem / 1.6;
  /* color*/
  --main-title-paragraph-1-color: #000;
  --main-title-paragraph-2-color: #000;
  --main-title-paragraph-3-color: #333;
  --main-title-paragraph-4-color: #333;
  --main-title-paragraph-5-color: #333;
  --main-title-paragraph-6-color: #555;
  /* sub title settings */
  /* font */
  --sub-title-header-xl-font: 700 4rem / 1.5;
  --sub-title-header-lg-font: 700 3.25rem / 1.5;
  --sub-title-header-1-font: 700 2.875rem / 1.5;
  --sub-title-header-2-font: 600 2.5rem / 1.5;
  --sub-title-header-3-font: 700 2.625rem / 1.3;
  --sub-title-header-4-font: 600 1.5rem / 1.5;
  --sub-title-header-5-font: 600 1.25rem / 1.5;
  --sub-title-header-6-font: 500 1.375rem / 1.5;
  --sub-title-header-letter-spacing: -0.03rem;
  /* color */
  --sub-title-header-1-color: #000;
  --sub-title-header-2-color: #000;
  --sub-title-header-3-color: #000;
  --sub-title-header-4-color: #333;
  --sub-title-header-5-color: #333;
  --sub-title-header-6-color: #333;
  /* my */
  --sub-title-header-1-margin-block: 0rem 0rem;
  --sub-title-header-2-margin-block: 0rem 0rem;
  --sub-title-header-3-margin-block: 0rem 5.625rem;
  --sub-title-header-4-margin-block: 5rem 1.5rem;
  --sub-title-header-5-margin-block: 3.1rem 0.9rem;
  --sub-title-header-6-margin-block: 1.9rem 0.6rem;
  /* sub title paragraph settings */
  /* font */
  --sub-title-paragraph-lg-font: 400 1.125rem / 1.5;
  --sub-title-paragraph-1-font: 400 1.5rem / 1.5;
  --sub-title-paragraph-2-font: 400 1.125rem / 1.5;
  --sub-title-paragraph-3-font: 400 1.25rem / 1.55;
  --sub-title-paragraph-4-font: 400 0.8rem / 1.5;
  --sub-title-paragraph-5-font: 400 0.6rem / 1.5;
  --sub-title-paragraph-6-font: 400 0.4rem / 1.5;
  /* color */
  --sub-title-paragraph-1-color: #000;
  --sub-title-paragraph-2-color: #000;
  --sub-title-paragraph-3-color: #333;
  --sub-title-paragraph-4-color: #333;
  --sub-title-paragraph-5-color: #333;
  --sub-title-paragraph-6-color: #333;
  /* ---------------------------- board ---------------------------- */
  --form-font: 400 1rem / 1.5 var(--global-font-family);
  --form-color: #333;
  --form-placeholder-color: #aaa;
  --form-required-color: #f00;
  --form-height: 2.9375rem;
  --form-padding: 0.6rem 0.85rem;
  --form-radius: 0.375rem;
  --form-space-block: 0.88rem;
  --form-border-color: #ddd;
  --form-border-focus-color: #888;
  --form-check-icon: "check_circle";
  /* ---------------------------- footer ---------------------------- */
  --footer-background-color: #292e34;
  --footer-padding-block: 4rem;
  --footer-font: 400 0.9375rem / 1.8;
  --footer-color: rgba(255, 255, 255, 0.6);
  --footer-b-color: rgba(255, 255, 255, 0.5);
  --footer-copyright-font: 400 0.7125rem / 1;
  --footer-copyright-color: rgba(255, 255, 255, 0.4);
  /* ---------------------------- google-material-symbols ---------------------------- */
  --gms: "Material Symbols Outlined";
  --gms-grad-low: "GRAD" -25;
  --gms-grad-zero: "GRAD" 0;
  --gms-grad-high: "GRAD" 200;
  --gms-opsz: "opsz" 48;
  /* google-material-symbols fill settings */
  --gms-100-fill: "FILL" 1, "wght" 100, var(--gms-opsz);
  --gms-200-fill: "FILL" 1, "wght" 200, var(--gms-opsz);
  --gms-300-fill: "FILL" 1, "wght" 300, var(--gms-opsz);
  --gms-400-fill: "FILL" 1, "wght" 400, var(--gms-opsz);
  --gms-500-fill: "FILL" 1, "wght" 500, var(--gms-opsz);
  --gms-600-fill: "FILL" 1, "wght" 600, var(--gms-opsz);
  --gms-700-fill: "FILL" 1, "wght" 700, var(--gms-opsz);
  /* google-material-symbols outlined settings */
  --gms-100-out: "FILL" 0, "wght" 100, var(--gms-opsz);
  --gms-200-out: "FILL" 0, "wght" 200, var(--gms-opsz);
  --gms-300-out: "FILL" 0, "wght" 300, var(--gms-opsz);
  --gms-400-out: "FILL" 0, "wght" 400, var(--gms-opsz);
  --gms-500-out: "FILL" 0, "wght" 500, var(--gms-opsz);
  --gms-600-out: "FILL" 0, "wght" 600, var(--gms-opsz);
  --gms-700-out: "FILL" 0, "wght" 700, var(--gms-opsz);
}

/* svh 미지원 */
@supports not (max-height: 100svh) {
  :root {
    --svh100: 100vh;
  }
}

@media (max-width: 991.98px) {
  :root {
    --container-padding-inline: 30px;
  }
}

@media (max-width: 767.98px) {
  :root {
    --navbar-dropmenu-background-color: #eee;
    --navbar-dropmenu-color: #555;
  }
}

/* ---------------------------- Reset ---------------------------- */
* {
  box-sizing: border-box;
  word-break: keep-all;
  float: unset;
  -webkit-tap-highlight-color: transparent;

  &::before,
  &::after {
    content: none;
  }
}

html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  font-size: var(--global-font-size);
}

#site {
  margin: 0;
  padding: 0;
  font-family: var(--global-font-family);
  /* display: none; */
  opacity: 0;

  > .container {
    max-width: inherit;
    width: 100%;
    padding: 0;
  }

  /* FOUC */
  > *:not(#force__wrapper) {
    visibility: hidden;
  }

  &.loaded {
    /* display: block; */
    opacity: 1;

    > *:not(#force__wrapper) {
      visibility: visible;
    }
  }

  .hide {
    /* display: none !important; */
    opacity: 1 !important;
  }
}

::selection {
  background-color: var(--primary-color);
  color: #fff;
}

select::-ms-expand {
  display: none;
}

form,
fieldset {
  all: unset;
  box-sizing: border-box;
  display: block;
}

/* input 색상 초기화 */
input:where(:-webkit-autofill, :-webkit-autofill:hover, :-webkit-autofill:focus, :-webkit-autofill:active) {
  -webkit-box-shadow: 0 0 0 30px white inset;
}

.cke_screen_reader_only {
  bottom: 0;
}

.cke_resizer_ltr {
  float: right;
}

.cke_reset_all {
  *,
  a,
  textarea {
    white-space: wrap !important;
  }
}

.caret {
  display: none;
}

/* material-symbols */
.material-symbols-outlined {
  font-family: var(--gms) !important;
  overflow: hidden;
  display: inline-flex;
  line-height: 1;
  font-variation-settings: var(--gms-300-out), var(--gms-grad-zero);
  user-select: none;
}

figure {
  margin: 0;
}

/* ---------------------------- Paragraph ---------------------------- */
:is(ol, ul, li, dl) {
  all: unset;
  box-sizing: border-box;
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
}

:is(p, h1, h2, h3, h4, h5, h6, dt, dd) {
  all: unset;
  box-sizing: border-box;
  display: block;
}

:is(p, h1, h2, h3, h4, h5, h6, dt, dd, th, td, li) {
  position: relative;
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  padding: 0;
  line-height: 1.5;
}

:is(h1, h2, h3, h4, h5, h6, dt, b, strong) {
  color: #000;
}

:is(p, li, dd, small) {
  color: #555;
}

:is(small, .small) {
  font-size: 0.8em;
}

br {
  visibility: visible;
  opacity: 0;
}

.big {
  font-size: 1.2em;
}

a:not(.btn) {
  text-decoration: none;
  color: inherit;
}

a:not(.btn):where(:focus, :hover) {
  text-decoration: unset;
  color: unset;
}

.text-danger {
  color: var(--danger-color);
}

/* ---------------------------- Button ---------------------------- */
.btn {
  all: unset;
  will-change: transform;
  cursor: pointer;
  box-sizing: border-box;
  display: inline-flex;
  place-content: center;
  place-items: center;
  font-size: var(--button-font-size-1);
  height: var(--button-height-1);
  line-height: 1;
  padding: 0 1.2rem;
  border-radius: 2px;
  outline: none;
  white-space: nowrap;
  
  
  
  
  
  &.btn-tp {
    --color: var(--primary-color);
    transition: 0.2s;
    display: inline-flex;
    width: 11.875rem;
    height: 3.75rem;
    padding-inline: 1.3rem;
    align-items: center;
    border-radius: var(--radius-full);
    background-color: var(--color);
    color: #fff;
    font-size: 1.0625rem;
    font-style: normal;
    font-weight: 600;
    justify-content: center;

    &:hover {
      background-color: var(--primary-color-dark);
      scale: 0.97;
    }
    & + .btn {
      margin-left: 1rem;
    }
    &.btn-sm {
      width: auto;
      height: 3.2rem;
      font-size: 0.9rem;
      gap: 1rem;
      &.btn-outline-arrow {
        padding-left: 1rem;
        span.material-symbols-outlined {
          width: 2.1rem;
          font-size: 1.4rem;
        }
      }
    }
    &.btn-lg {
      width: 15rem;
      height: 4.375rem;
      font-size: 1.125rem;
    }
    &.btn-arrow {
      justify-content: space-between;
      padding-inline: 1.56rem 1.25rem;
    }
    &.btn-outline-arrow {
      justify-content: space-between;
      border-color: var(--color);
      padding-inline: 1.56em 0.62em;
      span.material-symbols-outlined {
        transition: 0.3s;
        background-color: var(--color);
        width: 2.5rem;
        aspect-ratio: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
        border-radius: var(--radius-full);
        color: #fff;
      }
      &:hover {
        span.material-symbols-outlined {
          color: var(--color);
          background-color: #fff;
          font-variation-settings: var(--gms-600-out);
        }
      }
    }
  }

  &:is(.btn-primary, #btn_modify) {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #fff;

    &:is(:hover, :focus) {
      background-color: var(--primary-color-hover);
    }
  }

  &.btn-dark {
    background-color: var(--dark-color);
    border: 1px solid var(--dark-color);
    color: #fff;

    &:is(:hover, :focus) {
      background-color: var(--dark-color-hover);
    }
  }

  &.btn-outline-dark {
    border: 1px solid var(--dark-color);
    color: var(--dark-color);

    &:is(:hover, :focus) {
      background-color: var(--dark-color);
      color: #fff;
    }
  }

  &:is(#btn_delete, .btn-danger) {
    background-color: var(--danger-color);
    border: 1px solid var(--danger-color);
    color: #fff;
    height: 40px;
    font-size: 15px;

    &:is(:hover, :focus) {
      background-color: var(--danger-color-hover);
    }
  }

  &[class*="btn-outline"] {
    background: none;
    border: 1px solid var(--color);
    color: var(--color);

    &:is(:hover, :focus) {
      background-color: var(--color);
      color: #fff;
    }
  }

  &.btn-outline-primary {
    --color: var(--primary-color);
  }

  &.btn-outline-danger {
    --color: var(--danger-color);
  }

  &.btn-outline-dark {
    --color: var(--dark-color);
  }

  &:is(.btn-secondary, .btn-default) {
    background-color: var(--grey-color);
    border: 1px solid var(--grey-color);
    color: #000;

    &:is(:hover, :focus) {
      background-color: var(--grey-color-hover);
    }
  }

  &.btn-lg {
    font-size: var(--button-font-size-2);
    height: var(--button-height-2);
  }

  /* [hover] PC 환경에서만 :hover 효과 적용  */
  @media (hover: hover) {
    &.btn-primary:where(:hover, :focus) {
      background-color: var(--primary-color-hover);
      border-color: var(--primary-color-hover);
    }

    &.btn-secondary:where(:hover, :focus) {
      color: #000;
      background-color: var(--grey-color-hover);
      border-color: var(--grey-color);
    }
  }
}

/* 버튼 비활성화 */
button[disabled] {
  pointer-events: none;
  user-select: none;
  opacity: 0.5;
  filter: grayscale(1);
}

/* ---------------------------- Image ---------------------------- */
.img-box {
  position: relative;
  display: flex;
}

.img-responsive {
  display: flex;
  max-width: 100%;
  height: auto;
}

img {
  user-select: none;
  flex-shrink: 0;
  image-orientation: from-image;
}

.bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

*:has(> .bg) {
  position: relative;
}

/* ---------------------------- Layout ---------------------------- */
:where(.container, .row) {
  position: relative;
}

/* container */
[class*="container"] {
  width: 100%;
  max-width: var(--container-max-width);
  padding: unset;
  margin-inline: auto;
  padding-inline: var(--container-padding-inline);

  &::before,
  &::after {
    content: none;
  }
}

.row {
  margin: 0;

  &::before,
  &::after {
    content: none;
  }
}

.clearfix {
  width: 100%;
}

.col {
  flex: 1;
  padding: 0;

  &.auto {
    flex: 0 1 auto;
  }
}

.flex {
  display: flex;

  &.row {
    --row-gap: var(--gap-1);
    gap: var(--row-gap);
    flex-wrap: wrap;
    margin-inline: 0 calc(var(--row-gap) * -1);
  }

  [class^="col-"] {
    flex: 0 1 calc(var(--flex-basis) - var(--row-gap));
  }

  .col-1 {
    --flex-basis: 8.333333333333332%;
  }

  .col-2 {
    --flex-basis: 16.666666666666664%;
  }

  .col-3 {
    --flex-basis: 25%;
  }

  .col-4 {
    --flex-basis: 33.33333333333333%;
  }

  .col-5 {
    --flex-basis: 41.666666666666664%;
  }

  .col-6 {
    --flex-basis: 50%;
  }

  .col-7 {
    --flex-basis: 58.333333333333336%;
  }

  .col-8 {
    --flex-basis: 66.66666666666666%;
  }

  .col-9 {
    --flex-basis: 75%;
  }

  .col-10 {
    --flex-basis: 83.33333333333333%;
  }

  .col-11 {
    --flex-basis: 91.66666666666666%;
  }

  .col-12 {
    --flex-basis: 100%;
  }
}

/* 그리드 행 */
.grid {
  display: grid;
  grid-template-columns: repeat(12, var(--grid-column));
  gap: var(--row-gap);

  &.col-temp-1 {
    --grid-column: 1;
  }

  &.col-temp-2 {
    --grid-column: 2;
  }

  &.col-temp-3 {
    --grid-column: 3;
  }

  &.col-temp-4 {
    --grid-column: 4;
  }

  &.col-temp-5 {
    --grid-column: 5;
  }

  &.col-temp-6 {
    --grid-column: 6;
  }

  &.col-temp-7 {
    --grid-column: 7;
  }

  &.col-temp-8 {
    --grid-column: 8;
  }

  &.col-temp-9 {
    --grid-column: 9;
  }

  &.col-temp-10 {
    --grid-column: 10;
  }

  &.col-temp-11 {
    --grid-column: 11;
  }

  &.col-temp-12 {
    --grid-column: 12;
  }

  [rowspan="1"] {
    grid-row: span 1;
  }

  [rowspan="2"] {
    grid-row: span 2;
  }

  [rowspan="3"] {
    grid-row: span 3;
  }

  [rowspan="4"] {
    grid-row: span 4;
  }

  [rowspan="5"] {
    grid-row: span 5;
  }

  [rowspan="6"] {
    grid-row: span 6;
  }

  [rowspan="7"] {
    grid-row: span 7;
  }

  [rowspan="8"] {
    grid-row: span 8;
  }

  [rowspan="9"] {
    grid-row: span 9;
  }

  [rowspan="10"] {
    grid-row: span 10;
  }

  [rowspan="11"] {
    grid-row: span 11;
  }

  [rowspan="12"] {
    grid-row: span 12;
  }

  /* 그리드 열 */
  [colspan="1"] {
    grid-column: span 1;
  }

  [colspan="2"] {
    grid-column: span 2;
  }

  [colspan="3"] {
    grid-column: span 3;
  }

  [colspan="4"] {
    grid-column: span 4;
  }

  [colspan="5"] {
    grid-column: span 5;
  }

  [colspan="6"] {
    grid-column: span 6;
  }

  [colspan="7"] {
    grid-column: span 7;
  }

  [colspan="8"] {
    grid-column: span 8;
  }

  [colspan="9"] {
    grid-column: span 9;
  }

  [colspan="10"] {
    grid-column: span 10;
  }

  [colspan="11"] {
    grid-column: span 11;
  }

  [colspan="12"] {
    grid-column: span 12;
  }
}

:is([class*="hidden"]) {
  display: none;

  @media (min-width: 320px) {
    &[class*="-xs"] {
      display: inherit;
    }
  }

  /* // Small devices (landscape phones, 576px and up) */
  @media (min-width: 576px) {
    &[class*="-sm"] {
      display: inherit;
    }
  }

  /* // Medium devices (tablets, 768px and up) */
  @media (min-width: 768px) {
    &[class*="-md"] {
      display: inherit;
    }
  }

  /* // Large devices (desktops, 992px and up) */
  @media (min-width: 992px) {
    &[class*="-lg"] {
      display: inherit;
    }
  }

  /* // X-Large devices (large desktops, 1200px and up) */
  @media (min-width: 1200px) {
    &[class*="-xl"] {
      display: inherit;
    }
  }

  /* // XX-Large devices (larger desktops, 1400px and up) */
  @media (min-width: 1400px) {
    &[class*="-xxl"] {
      display: inherit;
    }
  }
}

:is([class*="visible"]) {
  display: none;

  @media (max-width: 319.98px) {
    &[class*="-xs"] {
      display: inherit;
    }
  }

  /* [max-small / portrait phones] 모바일, 576px 미만 ▼  */
  @media (max-width: 575.98px) {
    &[class*="-sm"] {
      display: inherit;
    }
  }

  /* [max-medium / landscape phones]  태블릿/모바일, 768px 미만 ▼ */
  @media (max-width: 767.98px) {
    &[class*="-md"] {
      display: inherit;
    }
  }

  /* [max-lager / tablet] 태블릿, 992px 미만 ▼ */
  @media (max-width: 991.98px) {
    &[class*="-lg"] {
      display: inherit;
    }
  }

  /* [max-x-lager / labtop] 노트북, 1200px 미만 ▼ */
  @media (max-width: 1199.98px) {
    &[class*="-xl"] {
      display: inherit;
    }
  }

  /* [max-xx-lager / desktop] 데스크탑, 1400px 미만 ▼ */
  @media (max-width: 1399.98px) {
    &[class*="-xxl"] {
      display: inherit;
    }
  }
}

#site .center-block {
  display: block;
  margin-inline: auto;
}

#site .center-flex {
  display: flex;
  margin-inline: auto;
}

#site .text-center {
  text-align: center;
}

#site .text-left {
  text-align: left;
}

#site .text-right {
  text-align: right;
}

#site .text-justify {
  text-align: justify;
}

#site .color-white * {
  color: #fff;
}

#site .mt-0 {
  margin-top: 0;
}
#site .mt-1 {
  margin-top: 1rem;
}
#site .mt-2 {
  margin-top: 2rem;
}
#site .mt-3 {
  margin-top: 3rem;
}
#site .mt-4 {
  margin-top: 4rem;
}
#site .mt-5 {
  margin-top: 5rem;
}
#site .mb-0 {
  margin-bottom: 0;
}
#site .mb-1 {
  margin-bottom: 1rem;
}
#site .mb-2 {
  margin-bottom: 2rem;
}
#site .mb-3 {
  margin-bottom: 3rem;
}
#site .mb-4 {
  margin-bottom: 4rem;
}
#site .mb-5 {
  margin-bottom: 5rem;
}

/* ---------------------------- Modal, Jquery Ui ---------------------------- */
#site .ui-widget {
  font-family: inherit;
  z-index: 10000;

  :is(input, select, textarea, button) {
    font-family: inherit;
  }

  .ui-datepicker select:is(.ui-datepicker-month, .ui-datepicker-year) {
    -webkit-appearance: none;
    background: none;
    border: 0;
    width: auto;
  }
}

#site {
  &.modal-open {
    overflow: unset;
    padding-right: 0;

    .navbar {
      padding-right: 0;
    }
  }
}

#site .modal-backdrop {
  display: none;
}

#site .modal {
  z-index: 10000;
  display: flex;
  width: 100%;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  padding-block: calc(var(--navbar-height) / 2);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  outline: 0;

  &.fade {
    opacity: 0;

    &.in {
      animation: modalFade 0.25s 0s forwards;

      .modal-dialog {
        animation: modalPop 0.35s 0.05s forwards;
      }
    }
  }

  &.in {
    z-index: 20000;
    scale: 1;
  }

  &:not(.in) {
    display: none;
    opacity: 0;
    scale: 0;
  }

  .modal-body {
    position: relative;
    padding: 30px;
  }

  .modal-header {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 30px;

    &::before,
    &::after {
      content: none;
    }

    .modal-title {
      font-size: clamp(17px, 3vw, 18px);
      line-height: 1;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      font-weight: 600;
    }

    .close {
      line-height: 0;
      margin-top: 0;
      opacity: 0.2;
      padding: 0;
      cursor: pointer;
      background: none;
      border: 0;
      appearance: none;
      font-size: 21px;
      font-weight: 700;
      color: #000;
      text-shadow: 0 1px 0 #fff;

      span {
        font-variation-settings: var(--gms-400-out);
        font-size: 32px;
      }

      &:hover {
        opacity: 1;
      }
    }
  }

  .modal-footer {
    display: flex;
    gap: 5px;
    padding: 25px 30px;
    text-align: right;
    border-top: 1px solid #e5e5e5;

    .btn {
      flex: 1;
    }
  }

  .modal-title {
    line-height: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 600;
  }

  .modal-content {
    position: relative;
    background-color: #fff;
    background-clip: padding-box;
    border: none;
    border-radius: 0;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    outline: 0;

    @media (min-width: 768px) {
      box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.125);
    }
  }

  .modal-dialog {
    position: relative;
    transform: translate(0, 0) !important;
    margin: 0;
    border-radius: 15px;
    overflow: hidden;
    height: fit-content;
    margin-block: auto;
    scale: 0.9;

    @media (min-width: 768px) {
      max-width: 600px;
      margin: 30px auto;
    }
  }

  .modal-sm {
    @media (min-width: 768px) {
      max-width: 300px;
    }
  }
}

.modal-open {
  .modal {
    z-index: 10000;
    display: flex !important;
    width: 100%;
    justify-content: center;
    overflow: auto;
  }
}

#site #delete_modal {
  &.in + .modal {
    display: none;
  }
}

@keyframes modalFade {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes modalPop {
  0% {
    scale: 0.9;
  }

  50% {
    scale: 1.015;
  }

  100% {
    scale: 1;
  }
}

/* 날짜 */
.bootstrap-timepicker {
  display: flex;
  gap: 10px;
  max-width: 300px;
}

#site .bootstrap-timepicker-widget {
  display: none !important;
}

/* ---------------------------- iframe ---------------------------- */
/* 구글맵 iframe*/
iframe[src*="https://www.google.com/"] {
  width: auto;
  height: auto;
  aspect-ratio: 5/3;
  margin-bottom: -6px;
  background-color: #e5e3df;
}

/* 외부동영상 */
iframe:where([src*="youtube"], [title*="YouTube"], [src*="player.vimeo.com"]) {
  width: auto;
  height: auto;
  aspect-ratio: 16/9;
  background-color: #000;
  border-radius: var(--radius-md);
}

#bbsArea .board_video_view iframe:where([src*="youtube"], [title*="YouTube"], [src*="player.vimeo.com"]) {
  width: 100%;
}

/* [ IFRAME END ] */

/* ---------------------------- common ---------------------------- */
/* list-style */
:where(ol, ul)[class*="li-"] {
  display: flex;
  flex-direction: column;

  > li {
    position: relative;
    padding-left: 0.8em;
  }

  :where(img) + & {
    margin-top: 20px;
  }

  small {
    font-size: 0.85em;
  }
}

/* circle */
.li-cir {
  > li::before {
    content: "";
    position: absolute;
    top: 0.6em;
    left: 0;
    display: block;
    width: 0.3em;
    aspect-ratio: 1;
    border-radius: 50%;
    background-color: var(--primary-color);
  }
}

/* dash */
.li-dash {
  > li::before {
    content: "-";
    position: absolute;
    top: 0.7em;
    left: 0;
    line-height: 0;
  }
}

/* number */
.li-num {
  > li {
    counter-increment: listNum;
    padding-left: 27px;

    &::before {
      content: counter(listNum, decimal-leading-) "";
      position: absolute;
      top: 0.25em;
      left: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      border: 1px solid var(--primary-color);
      border-radius: 50%;
      aspect-ratio: 1;
      width: 18px;
      padding-top: 2px;
      padding-right: 1px;
      line-height: 0;
      color: var(--primary-color);
      font-size: 11px;
      font-weight: 700;
    }
  }
}

/* check */
.li-check {
  > li {
    position: relative;
    padding-left: 1.3em;
    font-size: 15px;

    &::before {
      content: "\e5ca";
      font-family: var(--gms);
      position: absolute;
      top: 0.1em;
      font-size: 20px;
      line-height: 1;
      left: -0.2em;
      display: block;
      color: var(--primary-color);
      font-variation-settings: var(--gms-600-out);
    }
  }
}

/* ---------------------------- navbar ---------------------------- */
/* [ navbar 재작업 ] */
.navbar .navbar-header > .navbar-toggle {
  display: none !important;
}

.navbar {
  all: unset;
  box-sizing: border-box;
  z-index: 5000;
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  display: flex;
  height: var(--navbar-height);
  border-bottom: 1px solid transparent;
  background-color: transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;

  :is(ul, li, a) {
    all: unset;
    box-sizing: border-box;
  }

  a {
    cursor: pointer;
    gap: 0.8125rem;
  }

  :where(*):before,
  :where(*):after {
    content: none;
  }

  #gnbauth i {
    display: none;
  }

  .navbar-header {
    margin-inline: 0;
  }

  .container {
    display: flex;
    justify-content: space-between;
    height: 100%;
    align-items: center;
    gap: clamp(20px, 5vw, 60px);
  }
}

/* 로고 */
.navbar .navbar-brand {
  &,
  &:is(:hover, :focus) {
    display: inline-flex;
    align-items: center;
    width: auto;
    margin-left: 0;
  }

  img {
    flex: 0 0 auto;
    width: var(--navbar-logo-width);
  }

  /* 텍스트 로고 */
  span {
    position: relative;
    display: block;
    color: #000;
    white-space: nowrap;
    font: var(--navbar-logo-font) var(--global-font-family);
  }

  .navbar-brand-text {
    display: block;
    color: #000;
    font: 700 clamp(0.875rem, 1.25vw, 1.125rem) / 1.18 var(--global-font-family);
    white-space: nowrap;
    font-size: 1.8125rem;
  }
}

/* 메인메뉴 */
.navbar .navbar-right > li > a {
  z-index: 100;
  color: #000;
  white-space: nowrap;
  letter-spacing: var(--navbar-menu-letter-spacing);
  font: var(--navbar-menu-font) var(--global-font-family);
}

.navbar :is(.open > :is(a, a:focus, a:hover), li > a:is(:hover, :focus), li:is(:hover, :focus) > a) {
  position: relative;
  z-index: 100;
  color: var(--primary-color);
}

/* 서브 드롭다운메뉴 */
.navbar :is(.dropdown-menu) {
  z-index: 50;
  background-color: var(--navbar-dropmenu-background-color);

  a {
    all: unset;
    box-sizing: border-box;
    cursor: pointer;
    transition: none;
    width: 100%;
    font: var(--navbar-dropmenu-font) var(--global-font-family);
    color: var(--navbar-dropmenu-color);

    &:hover {
      color: var(--navbar-dropmenu-hover-color);
    }
  }
}

/*  [min-medium / landscape phones]  태블릿/모바일, 768px 이상 ▲ */
@media (min-width: 768px) {
  .navbar {
    overflow: visible;
  }

  .navbar::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    top: 100%;
    height: 0;
    border-top: 0;
    background: #fff;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transform-origin: center top;
    transition:
      height 0.34s ease,
      opacity 0.24s ease,
      box-shadow 0.34s ease,
      border-color 0.34s ease;
  }

  .navbar:hover::after,
  .navbar:has(.navbar-right > li.dropdown.open)::after {
    height: 15.75rem;
    border-top: 1px solid #eceff4;
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 18px 28px rgba(15, 23, 42, 0.08);
  }

  /* wide */
  .navbar {
    > .container {
      padding: 0;
    }

    /* 메인메뉴 */
    .navbar-collapse {
      display: flex;
      align-self: stretch;
      height: auto !important;
    }

    .navbar-toggle {
      display: none;
    }
  }

  .navbar .navbar-right {
    display: flex;
    align-self: stretch;
    position: relative;
    z-index: 3;

    > li {
      position: relative;
      display: flex;
      align-self: stretch;
      flex: 0 0 clamp(7.5rem, 8vw, 10rem);
      /* min-width: 7.5rem; */
      height: 100%;


      &.dropdown.open::after {
        content: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: 0.875rem;
      }

      > a {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        background-color: transparent;
        padding-block: 0;
        padding-inline: 2.8rem;
        width: 100%;
      }

      /* 데스크탑 서브 드롭다운메뉴 */
      .dropdown-menu {
        box-sizing: border-box;
        z-index: 4;
        overflow: visible;
        position: absolute;
        display: flex;
        flex-direction: column;
        box-shadow: none;
        margin-top: 0px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform-origin: center top;
        text-align: center;
        left: 0;
        top: 100%;
        width: 100%;
        min-width: 100%;
        height: calc(15.75rem - 1px);
        gap: 0;
        /* padding: 0.5rem 0 0; */
        border-radius: 0;
        border-left: 0;
        background: transparent;
        transform: translateY(-0.875rem);
        clip-path: inset(0 0 100% 0);
        animation: none;
        transition:
          opacity 0.24s ease 0.08s,
          visibility 0s linear 0.32s,
          transform 0.34s ease,
          clip-path 0.34s ease;
        padding-top: 1rem;
        
        
        
        
        a {
          display: flex;
          align-items: center;
          justify-content: center;
          min-height: 2.375rem;
          padding: 0 0.75rem;
          border-bottom: 1px solid transparent;
          border-radius: 0.25rem;
          color: #777;
          font-size: 1rem;
          font-weight: 400;
          line-height: 1.3;
          white-space: nowrap;
          text-align: center;
          /* transition:
            background-color 0.16s ease,
            color 0.16s ease; */
          transition: all 0.3s ease;
        }

        :is(li:hover, li:focus-within, li.active, li.on, li.current) > a,
        a:is(:hover, :focus, .active, .on, .current) {
          /* background-color: rgba(15, 43, 83, 0.075); */
          border-radius: 0px !important;
          color: #2b5caa;
        }
      }

      &:last-child .dropdown-menu {
        border-right: 0;
      }

      &:hover .dropdown-menu,
      .dropdown-menu:hover,
      .navbar:hover &.dropdown .dropdown-menu,
      .navbar:has(.navbar-right > li.dropdown.open) &.dropdown .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        clip-path: inset(0);
        border-left: 1px solid #eceff4;
        transition:
          opacity 0.22s ease 0.1s,
          visibility 0s linear,
          transform 0.34s ease,
          clip-path 0.34s ease;
      }

      &.open .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        clip-path: inset(0);
        border-left: 1px solid #eceff4;
        animation: none;
        transition:
          opacity 0.22s ease 0.1s,
          visibility 0s linear,
          transform 0.34s ease,
          clip-path 0.34s ease;
      }

      &:last-child:hover .dropdown-menu,
      .navbar:hover &:last-child.dropdown .dropdown-menu,
      .navbar:has(.navbar-right > li.dropdown.open) &:last-child.dropdown .dropdown-menu {
        border-right: 1px solid #eceff4;
      }
    }

    > :is(li:not(#gnbauth):last-child, li#gnbauth) {
      margin-right: calc(var(--navbar-menu-padding-inline) * -1);
    }
  }
  /* [  navbar-custom-scorll-change  ] */
  .navbar {
    &:is(.navTop) {
      /* --navbar-height: 80px; */
      --navbar-scroll-filter: grayscale(1) brightness(10) invert(0);
      --navbar-scroll-color: #fff;
      --navbar-scroll-color-hover: var(--primary-color);
      --navbar-scroll-font-weight: 700;
      --navbar-scroll-background-color: transparent;
      /* --navbar-logo-width: 170px; */
      background-color: var(--navbar-scroll-background-color);
      /* border-color: rgba(255, 255, 255, 0.25); */
    }

    &:not(.navScroll) {
      background-color: var(--navbar-scroll-background-color);
    }

    &:is(:hover, .navScroll) {
      /* --navbar-height: 100px; */
      --navbar-scroll-filter: unset;
      --navbar-scroll-color: #333;
      --navbar-scroll-color-hover: var(--primary-color);
      --navbar-scroll-font-weight: 700;
      --navbar-scroll-background-color: #fff;
      /* --navbar-logo-width: 150px; */
    }

    &:where(.navTop, .navScroll) {
      --navbar-transition: 0.3s;
      transition: var(--navbar-transition);
      height: var(--navbar-height);
      background-color: var(--navbar-scroll-background-color);

      .navbar-brand {
        img {
          transition: width 0.25s;
          filter: var(--navbar-scroll-filter);
        }

        span {
          color: var(--navbar-scroll-color);
        }

        .navbar-brand-text {
          color: var(--navbar-scroll-color);
        }
      }

      ul.navbar-right > li > a {
        font-weight: var(--navbar-scroll-font-weight);
        color: var(--navbar-scroll-color);
        
        

        &:where(:hover, :focus) {
          color: var(--navbar-scroll-color-hover) !important;
        }
      }

      ul.navbar-right > li:where(:hover, :focus) .dropdown-toggle {
        color: var(--navbar-scroll-color-hover) !important;
      }
    }
  }
}

.navbar.navTop:not(:hover) {
  border-bottom-color: transparent;
  box-shadow: none;
}

.navbar.navScroll,
.navbar:hover {
  border-bottom-color: transparent;
  background-color: #fff;
  box-shadow: 0 0.75rem 1.75rem rgba(15, 23, 42, 0.05);
}

/* [max-medium / landscape phones]  태블릿/모바일, 768px 미만 ▼ */
@media (max-width: 767.98px) {
  /* 배경 */
  body::before {
    transition: 0.35s;
    content: "";
    display: block;
    z-index: 1000;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    animation: menuHeight 0s 0.35s forwards;
  }

  body.menu-overlay::before {
    opacity: 1;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    background-color: rgba(0, 0, 0, 0.5);
    animation: none;
  }

  .navbar {
    overflow: hidden;
    animation: menuHidden 0s 0.4s forwards;

    .container {
      --container-padding-inline: 15px;
      max-width: 100%;
    }

    .navbar-header {
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .navbar-brand {
      order: 1;

      .navbar-brand-text {
        display: none;
      }
    }
  }

  .navbar .navbar-toggle {
    all: unset;
    box-sizing: border-box;
    order: 2;
    border: 0;
    padding: 9px 0;
    margin: 0;
    cursor: pointer;

    > * {
      display: none;
    }

    &::before {
      content: "\e5d2";
      font-family: var(--gms);
      font-size: 1.8em;
      font-variation-settings: var(--gms-500-out);
    }

    &:where(:hover, :focus) {
      background: none;
    }

    &.open::before {
      content: "\e5cd";
    }
  }

  .navbar .navbar-collapse {
    transition: 0.4s;
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border-top: 1px solid #eee;
    max-height: 0;
    height: auto !important;

    .navbar-right {
      display: flex;
      flex-direction: column;
      overflow: hidden auto;
      position: relative;
      width: 100%;
      padding-block: 0px;

      > li {
        transition: inherit;

        > a {
          display: flex;
          align-items: center;
          width: 100%;
          height: 55px;
          padding: 0 15px;
          background-color: #fff;
          border-bottom: 1px solid #ddd;
        }
      }
    }

    &.open {
      transition: all 0.5s;
      max-height: var(--svh100);
    }
  }

  .navbar .dropdown {
    .dropdown-menu {
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      padding: 0;
      max-height: 0;

      a {
        display: block;
        padding: 10px 15px;
      }
    }

    .dropdown-toggle::after {
      all: unset;
      box-sizing: border-box;
      content: "\e5cf";
      font-family: var(--gms);
      font-variation-settings: var(--gms-300-out);
      margin-left: auto;
      font-size: 1.5em;
    }

    &.open {
      .dropdown-menu {
        opacity: 1;
        max-height: var(--svh100);
      }

      .dropdown-toggle {
        color: var(--primary-color);
        font-weight: 600;

        &::after {
          content: "\e5ce";
          color: var(--primary-color);
          font-variation-settings: var(--gms-400-out);
        }
      }
    }
  }
}

@keyframes menuOpen {
  0% {
    opacity: 0;
    scale: 1 0.5;
  }

  100% {
    opacity: 1;
    scale: 1 1;
  }
}

@keyframes menuHeight {
  from {
    height: 100%;
  }

  to {
    height: 0;
  }
}

@keyframes menuHidden {
  from {
    overflow: hidden;
  }

  to {
    overflow: visible;
  }
}

/* 스크롤버튼 */
#scrollTop {
  --width: 3.5rem;
  --bottom: 2rem;
  all: unset;
  box-sizing: border-box;
  z-index: 1000;
  cursor: pointer;
  position: fixed;
  right: 2rem;
  bottom: var(--bottom);
  display: none;
  justify-content: center;
  align-items: center;
  width: var(--width);
  padding: 0;
  background: #54a76e;
  border-radius: 50%;
  aspect-ratio: 1;
  text-align: center;
  color: #fff;

  &::before {
    content: "\e5d8";
    font-family: var(--gms);
    font-variation-settings: var(--gms-300-out);
    font-size: 1.75rem;
  }
}

/* [max-medium / landscape phones]  태블릿/모바일, 768px 미만 ▼ */
@media (max-width: 767.98px) {
  #scrollTop {
    display: none !important;
  }
}

/* ---------------------------- footer ---------------------------- */
#site footer {
  margin-top: 0px;
  background-color: var(--footer-background-color);
  padding-block: var(--footer-padding-block);

  li {
    font: var(--footer-font) var(--global-font-family);
    color: var(--footer-color);
    letter-spacing: 0.015em;
    font-weight: 300;

    b {
      color: var(--footer-b-color);
      font-weight: 500;
    }

    &.corp {
      --footer-font: 400 1.125rem / 1;
      margin-bottom: 1rem;
      letter-spacing: 0;
  
      strong {
        color: rgba(255, 255, 255, 0.8);
        font-weight: 700;
        letter-spacing: 0.025em;
      }
    }

    &.copyright {
      color: var(--footer-copyright-color);
      font: var(--footer-copyright-font) var(--global-font-family);
      margin-top: 1.25rem;
      letter-spacing: 0.025em;
    }
  }

  .footer-info {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    color: #444;
    gap: 0 15px;
  }

  .footer-logo {
    flex-shrink: 0;
    width: 150px;
    display: none;

    img {
      filter: brightness(10);
    }
  }

  .footer-wrap {
    display: flex;
    gap: 80px;
  }

  .line {
    color: rgba(255, 255, 255, 0.3);
    font-family: Pretendard;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    transform: translateY(1px);
  }

  /* [max-medium / landscape phones]  태블릿/모바일, 768px 미만 ▼ */
  @media (max-width: 767.98px) {
    .footer-wrap {
      flex-direction: column;
      gap: 20px;
    }
  }
}

#loginBtn {
  /* mix-blend-mode: screen; */
  /* background-color: #f7f7f7; */

  a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 8px 13px;
    background: transparent;
    color: #7d7d7d;
    line-height: 1;
    border-radius: 0;
    border: none;
    border-radius: 0;
    font-size: clamp(11px, 2vw, 12px);
    background: rgba(255, 255, 255, 0.07);

    &:hover {
      background: #333;
      color: #fff;
      border-color: var(--backgorund-color);
    }

    span.material-symbols-outlined {
      font-size: 1rem;
      margin-right: 5px;
      font-variation-settings: var(--gms-500-out);
    }

    html.logined &[href="/member/login"] {
      display: none;
    }

    html:not(.logined) &[href="/member/logout"] {
      display: none;
    }
  }
}

/* [min-medium / landscape phones]  태블릿/모바일, 768px 이상 ▲ */
@media (min-width: 768px) {
  #loginBtn {
    margin-left: auto;
    align-self: flex-end;
  }
}

/* ---------------------------- subpage ---------------------------- */
/* [ subpage-header ] */
.subpage-header {
  position: relative;
  height: var(--subpage-header-height);

  &#visual1 {
    --background-image: var(--subpage-header-bg-url-1);
  }

  &#visual2 {
    --background-image: var(--subpage-header-bg-url-2);
  }

  &#visual3 {
    --background-image: var(--subpage-header-bg-url-3);
  }

  &#visual4 {
    --background-image: var(--subpage-header-bg-url-4);
  }

  &#visual5 {
    --background-image: var(--subpage-header-bg-url-5);
  }

  &#visual6 {
    --background-image: var(--subpage-header-bg-url-6);
  }

  .bg {
    position: absolute;
    left: 0;
    top: 0;
    background: var(--background-image) #000 no-repeat center / cover;
    /* filter: brightness(0.6); */
  }

  .subpage-title {
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;

    h2 {
      line-height: 1;
      text-align: center;
      color: #fff;
      font: var(--subpage-header-title-font);
      margin-block: var(--subpage-header-title-margin-block);
      /* + p,
            &::after {
                content: "고객과 함께하는 안정된 서비스";
                display: block;
                font: var(--subpage-header-paragraph-font);
                margin-top: 20px;
                opacity: 0.8;
            } */
    }
  }
}

.breadcrumb {
  margin-bottom: 2rem;
  ul {
    background: none;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    li {
      position: relative;
      font-size: 0.9rem;
      line-height: 1;
      color: rgba(255, 255, 255, 0.8);
      font-size: 13px;
      &.arrow {
        &:before {
          content: "\e5cc";
          font-family: var(--gms);
          font-weight: 200;
          display: block;
          font-size: 1.4rem;
          line-height: 0;
        }
      }

      &.active {
        font-weight: 700;
      }
    }

    a.home {
      line-height: 1;

      &::before {
        content: "\e88a";
        font-family: var(--gms);
        font-variation-settings: var(--gms-300-fill);
        font-weight: 200;
        display: block;
        font-size: 16px;
        line-height: 0;
      }
    }
  }
}

/* [ subpage-navbar ] */
.snb {
  position: relative;
  z-index: 10;
  /* background: rgba(0, 0, 0, 0.6); */
  backdrop-filter: blur(10px);
  /* margin-top: calc(var(--subpage-navbar-height) * -1); */
  margin-top: 0.875rem;
  border-bottom: 1px solid #e6e6e6;

  ul {
    position: relative;
    display: flex;
    margin: 0;
    justify-content: center;
    gap: 0;

    li {
      flex: var(--subpage-navbar-flex);
      a {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        font: var(--subpage-navbar-font) var(--global-font-family);
        height: var(--subpage-navbar-height);
        color: var(--subpage-navbar-color);
        transition: all 0.25s;

        &::after {
          content: "";
          display: block;
          height: 2px;
          background-color: var(--primary-color);
          position: absolute;
          bottom: -1px;
          transition: 0.35s;
          left: 0;
          width: 0%;
          opacity: 0;
        }

        &:hover {
          color: var(--primary-color);
          opacity: 1;

          &:after {
            width: 100%;
            opacity: 1;
          }
        }
      }

      &.active a {
        background: #fff;
        font-weight: 700;
        color: var(--subpage-navbar-active-color);
        transition: none;

        &:after {
          width: 100%;
          opacity: 1;
          transition: none;
        }
      }
    }
  }
}

/* [ subpage-title-template ] */
/* 타이틀 변수 설정*/
[class*="title-h"] {
  position: relative;
  text-align: center;

  &:only-child {
    margin-bottom: 0;
  }

  &:first-child {
    margin-top: 0;
  }

  /* 제목 */
  & > :is(h1, h2, h3, h4, h5, h6) {
    color: var(--h-color);
    letter-spacing: var(--sub-title-header-letter-spacing);
    font: var(--h-font) var(--global-font-family);
  }

  /* 본문 */
  & > :is(p, ul, ol) {
    color: var(--p-color);
    letter-spacing: var(--sub-title-paragraph-letter-spacing);
    font: var(--p-font) var(--global-font-family);
  }
  & > * + * {
    margin-top: var(--gap);
  }
  .color {
    color: var(--primary-color);
  }
  .cate {
    color: var(--primary-color);
    font: 700 1.125rem / 1.6 var(--global-font-family);
    letter-spacing: -0.00788rem;
    & + :is(h1, h2, h3, h4, h5, h6) {
      margin-top: 0.94rem;
    }
  }
}

.title-h3 {
  --h-font: var(--sub-title-header-3-font);
  --h-color: var(--sub-title-header-3-color);
  --p-font: var(--sub-title-paragraph-3-font);
  --p-color: var(--sub-title-paragraph-3-color);
  --gap: var(--sub-title-header-3-gap);
  margin-block: var(--sub-title-header-3-margin-block);
}

.m-title-h3 {
  --h-font: var(--main-title-header-3-font);
  --h-color: var(--main-title-header-3-color);
  --p-font: var(--main-title-paragraph-3-font);
  --p-color: var(--main-title-paragraph-3-color);
  --gap: var(--main-title-header-3-gap);
  margin-block: var(--main-title-header-3-margin-block);
}

.title-h4 {
  --h-font: var(--sub-title-header-4-font);
  --h-color: var(--sub-title-header-4-color);
  --p-font: var(--sub-title-paragraph-4-font);
  --p-color: var(--sub-title-paragraph-4-color);
  --gap: var(--sub-title-header-4-gap);
  margin-block: var(--sub-title-header-4-margin-block);
}

.m-title-h4 {
  --h-font: var(--main-title-header-4-font);
  --h-color: var(--main-title-header-4-color);
  --p-font: var(--main-title-paragraph-4-font);
  --p-color: var(--main-title-paragraph-4-color);
  --gap: var(--main-title-header-4-gap);
  margin-block: var(--main-title-header-4-margin-block);
}

.title-h5 {
  --h-font: var(--sub-title-header-5-font);
  --h-color: var(--sub-title-header-5-color);
  --p-font: var(--sub-title-paragraph-5-font);
  --p-color: var(--sub-title-paragraph-5-color);
  --gap: var(--sub-title-header-5-gap);
  margin-block: var(--sub-title-header-5-margin-block);
}

.m-title-h5 {
  --h-font: var(--main-title-header-5-font);
  --h-color: var(--main-title-header-5-color);
  --p-font: var(--main-title-paragraph-5-font);
  --p-color: var(--main-title-paragraph-5-color);
  --gap: var(--main-title-header-5-gap);
  margin-block: var(--main-title-header-5-margin-block);
}
.m-title-h6 {
  --h-font: var(--main-title-header-6-font);
  --h-color: var(--main-title-header-6-color);
  --p-font: var(--main-title-paragraph-6-font);
  --p-color: var(--main-title-paragraph-6-color);
  --gap: var(--main-title-header-6-gap);
  margin-block: var(--main-title-header-6-margin-block);
}
/* [ subpage-content ] */
.subpage-content {
  section {
    padding-block: var(--subpage-section-padding-block);

    &:only-child {
      padding-bottom: calc(var(--subpage-section-padding-block) + 50px);
    }

    &.bg-gray {
      background-color: #f7f7f7;
      padding-bottom: calc(var(--subpage-section-padding-block) + 30px);
    }
  }
}
.stack-widget {
  margin-top: 8rem;
  .page-header {
    display: none;
  }
}
.type_stack_widget {
  --repeat-count: 2;
  display: grid;
  padding: 0;
  margin-left: 0;
  margin-right: 0;
  gap: 10px;
  grid-template-columns: repeat(var(--repeat-count), minmax(0, 1fr));
  gap: var(--gap);

  @media (min-width: 992px) {
    --repeat-count: 3;
    --gap: 3rem 1.875rem;
  }

  > div {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .inner {
    margin-top: 0;
    margin-bottom: 0;
    border: 0;
    .top a {
      display: block;
      overflow: hidden;
      aspect-ratio: 5 / 3;
    }
  }

  img {
    aspect-ratio: 5/3;
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  a {
    display: block;
    span.subject {
      /* display: block; */
      font-size: 1.25rem;
      font-weight: 700;
      letter-spacing: -0.00963rem;
      margin-top: 1rem;
      text-overflow: ellipsis;
      white-space: nowrap;
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    span.info {
      /* display: none; */
      display: flex;
      margin-top: 1rem;
      gap: 0.5rem;
      font-size: 0.8rem;
      opacity: 0.5;
      span.hits {
        display: none;
      }
    }
  }
}

#site #bbsArea.box-wrap {
  .board_layout_box {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2rem 1rem;
    .board_layout_actions {
      z-index: 1000;
    }
    .item {
      img {
        width: 100%;
      }
      p {
        font-size: 1rem;
        font-weight: 700;
        text-align: center;
        margin-top: 5px;
      }
    }
  }
}
#site form[enctype="multipart/form-data"] {
  tr {
    grid-template-columns: minmax(0, 240px) minmax(0, auto);
    padding: 0;
    align-items: stretch;
    gap: 0;
    th,
    td {
      padding: 15px 20px;
    }
    th {
      background-color: #f8f8f8;
      align-items: center;
      flex-direction: row-reverse;
      justify-content: flex-end;
      gap: 2px;
      padding-inline: 30px;
      font-weight: 600;

      &:has(.required_text) > :where(span:first-child, span.required_text) {
        color: var(--form-required-color);
      }
    }
    .form-caption {
      /* display: none; */
    }
    .checkbox {
      margin-block: var(--form-space-block);
    }
    :is(.custom_radio, .custom_checkbox, .status_wrap input) + span {
      color: #666;
    }
    .custom_checkbox + span a {
      color: #333;
    }
    .custom_checkbox {
      + span {
        user-select: none;
        &::before {
          margin: 0;
          font-size: 1.4em;
          color: #555;
          content: var(--form-check-icon);
          font-family: var(--gms);
          font-weight: 300;
        }
      }
      &:checked + span::before {
        font-weight: 900;
        color: var(--primary-color);
      }

      &[disabled],
      &[disabled] + span {
        opacity: 0.5;
      }
    }
  }
}

/* ---------------------------- fullpage ---------------------------- */
#fullpage {
  .fp-section.main-visual .fp-tableCell {
    padding-top: var(--navbar-height);
    color: #fff;
  }

  .fp-section {
    overflow: hidden;
    position: relative;
    display: flex;
  }

  .fp-tableCell {
    position: relative;
    flex: 1 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    flex-direction: column;
  }

  .fp-scroll-overflow .fp-tableCell {
    justify-content: flex-start;
  }

  .fp-scrollable {
    width: 100%;
    overflow: hidden;
    position: relative;
  }

  .fp-scroller {
    overflow: hidden;
  }

  .iScrollIndicator {
    border: 0 !important;
  }

  .fp-notransition {
    -webkit-transition: none !important;
    transition: none !important;
  }

  .sub-visual .fp-tableCell,
  .pt-nav .fp-tableCell {
    padding-top: var(--navbar-height);
  }

  .fp-tableCell:has(footer) {
    padding-block: 0;
  }

  :is(.fp-auto-height, .fp-auto-height .fp-tableCell) {
    overflow: unset;
    height: unset !important;
    padding-top: unset;
  }

  .fp-tableCell footer {
    width: 100%;
  }

  .fp-responsive .fp-section.footer {
    overflow: hidden;
  }
}
.fp-right {
  position: fixed;
  z-index: 10000;
  transform: translateY(-50%);
  top: 55%;
  left: clamp(10px, 2.5vw, 60px);
}

.fp-right ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.fp-right li {
  display: block;
}

.fp-right a {
  all: unset;
  display: block;
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.fp-right span {
  z-index: 1;
  display: block;
  width: 8px;
  border-radius: 50%;
  aspect-ratio: 1;
  background: #ccc;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

.fp-right :is(a.active, li:hover) span {
  background-color: var(--mw-color-magenta);
}

.fp-right .fp-sr-only {
  display: none;
}

@media (min-height: 800px) {
  .fp-responsive :is(.fp-section) {
    height: auto !important;
  }
}

@media (max-height: 799.98px) or (max-width: 767.98px) {
  .fp-responsive :is(.fp-section:not(.fp-auto-height), .fp-section:not(.fp-auto-height) .fp-tableCell) {
    height: auto !important;
    padding-top: 0;
    min-height: 900px;
  }

  .fp-responsive :is(.pt-nav) {
    padding-top: 0;
  }
}

/* 모바일 */
@media (max-width: 767.98px) {
  .fp-responsive :is(.fp-section:not(.fp-auto-height), .fp-section:not(.fp-auto-height) .fp-tableCell) {
    min-height: 100%;
  }

  .fp-tableCell {
    align-items: flex-start;
  }
}
/* ---------------------------- mainpage ---------------------------- */
#mainCarouselSwiper {
  position: relative;
  width: 100%;

  .swiper {
    display: block !important;

    .swiper-slide {
      display: flex;
      justify-content: center;
      align-items: center;

      /* height: max(clamp(600px, 70vw, 750px), calc(var(--svh100) - var(--navbar-height))); */
      /* 뷰포트가 작을 때 (최소 높이) */
      @media (max-width: 767.98px) {
        height: 500px;
      }

      /* 중간 크기일 때 (중간 높이) */
      @media (min-width: 768px) {
        height: var(--svh100);

        @media (max-height: 900px) {
          height: 700px;
        }
      }

      .swiper-bg {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        filter: brightness(0.5);

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          object-position: center;
        }
      }

      .swiper-caption {
        position: relative;
        z-index: 10;
        text-align: center;
        color: var(--swiper-caption-color);

        .swiper-link {
          position: absolute;
          left: 0;
          top: 0;
          width: 100%;
          height: 100%;
        }

        .swiper-link-btn {
          display: none;

          span::before {
            content: "더보기";
          }
        }

        h1 {
          font: var(--swiper-caption-header-font);
          margin-block: var(--swiper-caption-header-margin-block);
          color: inherit;
        }

        p {
          font: var(--swiper-caption-paragraph-font);
          margin-block: var(--swiper-caption-paragraph-margin-block);
          color: inherit;
          letter-spacing: -0.015em;
        }
      }
    }
  }
}

/* 인디케이터 */
#site {
  #mainCarouselSwiper .swiper-pagination-container {
    z-index: 10;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 40px;
    .swiper-pagination {
      position: static;
      display: flex;
      justify-content: center;
      height: auto;
      line-height: 1;
      gap: var(--swiper-bullets-gap);
      span {
        width: var(--swiper-bullets-size);
        height: var(--swiper-bullets-size);
        border: 0;
        border-radius: 1rem;
        backdrop-filter: blur(10px);
        &.swiper-pagination-bullet {
          border: 1px solid var(--swiper-bullets-color);
          background-color: transparent;
          transition: ease-in-out 0.2s all;
          margin: 0;
          opacity: 0.75;
        }
        &.swiper-pagination-bullet-active {
          background: var(--swiper-bullets-color);
          box-shadow: none;
          opacity: 1;
        }
      }
    }
  }
}

/* 구글아이콘 ver */
#site {
  #mainCarouselSwiper [class*="swiper-button"] {
    display: flex;
    align-items: center;
    top: 0;
    margin: 0;
    opacity: 1;
    width: 10%;
    height: 100%;

    &::after {
      content: none;
    }

    &::before {
      position: relative;
      right: auto;
      top: 0;
      font-family: var(--gms);
      font-variation-settings: var(--gms-100-out);
      font-size: 64px;
      line-height: 1;
      font-weight: 900;
      color: rgba(255, 255, 255, 0.5);
    }

    &:hover::before {
      color: rgb(255, 255, 255, 1);
    }

    &.swiper-button-next {
      right: 0;

      &::before {
        content: "\e5e1";
      }
    }

    &.swiper-button-prev {
      &::before {
        content: "\e2ea";
      }
    }

    @media (max-width: 767.98px) {
      & {
        display: none;
      }
    }
  }
}

/* 이미지 arrow ver */
#site_type2 {
  #mainCarouselSwiper [class*="swiper-button"] {
    display: flex;
    align-items: center;
    top: 0;
    margin: 0;
    opacity: 1;
    width: 10%;
    height: 100%;

    &::after {
      content: none;
    }

    &::before {
      position: relative;
      right: auto;
      top: 0;
      font-family: var(--gms);
      font-variation-settings: var(--gms-100-out);
      font-size: 64px;
      line-height: 1;
      font-weight: 900;
      color: rgba(255, 255, 255, 0.5);
      width: 40px;
      aspect-ratio: 80/150;
      background-repeat: no-repeat;
      background-size: contain;
      background-position: center;
      opacity: 0.5;
    }

    &:hover::before {
      color: rgb(255, 255, 255, 1);
      opacity: 1;
    }

    &.swiper-button-next {
      right: 0;

      &::before {
        content: "";
        background-image: url(/public/img/icons/SVG/arrow/arrow@25.04/arrow_next.svg);
      }
    }

    &.swiper-button-prev {
      &::before {
        content: "";
        background-image: url(/public/img/icons/SVG/arrow/arrow@25.04/arrow_prev.svg);
      }
    }
  }
}

#site_type3 {
  #mainCarouselSwiper [class*="swiper-button"] {
    display: flex;
    align-items: center;
    top: 0;
    margin: 0;
    opacity: 1;
    width: fit-content;
    height: 100%;
    position: static;

    &::after {
      content: none;
    }

    &::before {
      position: relative;
      right: auto;
      top: 0;
      font-family: var(--gms);
      font-variation-settings: var(--gms-100-out);
      font-size: 20px;
      line-height: 1;
      font-weight: 900;
      color: rgba(255, 255, 255, 15);
    }

    &:hover::before {
      color: rgb(255, 255, 255, 1);
    }

    &.swiper-button-next {
      right: 0;
      order: 3;

      &::before {
        content: "\e5e1";
      }
    }

    &.swiper-button-prev {
      order: 1;

      &::before {
        content: "\e2ea";
      }
    }

    @media (max-width: 767.98px) {
      & {
        display: none;
      }
    }
  }

  #mainCarouselSwiper .swiper-indicators-wrap {
    position: absolute;
    bottom: 0;
    z-index: 10;
    max-width: var(--container-max-width);
    margin-inline: auto;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    bottom: 130px;
    justify-content: center;
  }

  #mainCarouselSwiper .swiper-pagination-container {
    z-index: 10;
    position: static;
    width: fit-content;
    margin: 0;
    left: 50%;
    bottom: 40px;
    order: 2;
    padding: 0;
  }

  #mainCarouselSwiper .swiper-pagination-container .swiper-pagination {
    position: static;
    display: flex;
    justify-content: center;
    height: auto;
    line-height: 1;
    gap: 12px;
  }
}

/* [ mainpage ] */
.mainpage {
  :is(.bg) {
    position: absolute;
    left: 0;
    top: 0;
    background-color: #fff;
  }
  section {
    position: relative;
    padding-block: 9.375rem;
    &.bg-img {
      padding-block: 6.25rem;
    }
    &.bg-gray {
      background-color: #f7f7f7;
    }
  }
}

/* [ main-widget ] */
.mainpage [class^="board_box"] {
  margin-bottom: 0;
}

.mainpage .page-header {
  margin-block: 0 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid #000;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;

  h4 {
    display: inline-block;
    font-size: clamp(1.2rem, 3vw, 1.75rem);
    font-weight: 700;
  }

  i::before {
    position: relative;
    display: block;
    content: "\e145";
    translate: 0 2px;
    font-family: var(--gms);
    font-variation-settings: var(--gms-300-out);
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 500;
    color: #000;
  }
}

.mainpage .board_box_list .page-header {
  margin-bottom: 0;
}
.mainpage .type_list {
  display: flex;
  flex-direction: column;
  /* gap: 15px; */

  li {
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    padding-block: 1.25rem;
    /* justify-content: space-between; */
    gap: 1rem;
    border-bottom: 1px solid #ddd;

    .badge {
      background-color: var(--primary-color);
      color: #fff;
      font-size: 0.8rem;
      padding: 0.3rem 0.5rem;
    }

    &:hover {
      a {
        text-decoration: underline;
      }
    }
    &.no_bd_text {
      justify-content: center;
    }

    .info {
      color: #999;
      font-size: 0.9375rem;
      font-style: normal;
      font-weight: 400;
      line-height: normal;
      margin-left: auto;
      order: 5;

      span:not(.regdate) {
        display: none;
      }
    }

    .board_status_badge {
      order: 2;
      display: flex;
      line-height: 1;
      margin-right: auto;
      margin-left: 10px;
      background-color: var(--primary-color) !important;
      color: #fff;
      padding: 5px 8px;
      align-items: center;
      font-size: 12px;
      margin-block: -5px;
      align-self: center;

      &.badge_wait {
        background-color: #a0a1a3 !important;
      }

      &.badge_progress {
      }

      &.badge_complete {
        background-color: #e40000 !important;
      }
    }

    span.subject {
      width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      color: #222;
      font-size: 1.125rem;
      font-style: normal;
      font-weight: 400;
      line-height: 1.6;
    }

    a:hover {
      /* text-decoration: underline; */
    }

    :where(li, a) {
      line-height: 1;
      font-size: clamp(14px, 3vw, 16px);
      color: #000;
    }
  }
}

.mainpage .type_thumb {
  --repeat-count: 2;
  display: grid;
  padding: 0;
  margin-left: 0;
  margin-right: 0;
  gap: 10px;
  grid-template-columns: repeat(var(--repeat-count), minmax(0, 1fr));
  gap: var(--gap);

  @media (min-width: 992px) {
    --repeat-count: 3;
    --gap: 3rem 1.875rem;
  }

  > div {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .inner {
    margin-top: 0;
    margin-bottom: 0;
    border: 0;
    .top a {
      display: block;
      overflow: hidden;
      aspect-ratio: 5 / 3;
    }
  }

  .thumb {
    /* aspect-ratio: 5/3; */
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transform-origin: center;
    transition: transform 0.35s ease;
  }

  .bottom {
    padding: 0;
    padding-top: 1.5rem;

    .title {
      padding: 0;
      margin-top: 5px;

      a {
        font-size: 1.25rem;
        font-weight: 700;
        letter-spacing: -0.00963rem;
      }
    }
  }

  .info {
    display: none;
  }
}

.mainpage :where(.type_video, [data-board-option="video"]) {
  .top a::before {
    content: "\f144";
    font-family: "font awesome 6 free";
    font-weight: 400;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: #fff;
    opacity: 0.7;
    cursor: pointer;
  }

  .inner:hover .top a::before {
    opacity: 1;
  }
}

/* 게시판 스와이퍼 */
.mainpage .type_swiper_s1 {
  position: relative;
  padding-bottom: 50px;

  .top {
    position: relative;
    display: block;
    aspect-ratio: 5/3;
    overflow: hidden;
  }

  &[data-board-option="goods"] {
    .top {
      aspect-ratio: 1;
    }
  }

  .thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transform-origin: center;
    transition: transform 0.35s ease;
  }

  .bottom {
    padding-top: 15px;

    &[data-bottom="list"] {
      padding: 0;
    }

    .title {
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap;

      a {
        font-size: 18px;
        font-weight: 500;
        color: #222;
      }
    }

    .info {
      margin-top: 5px;
      display: flex;
      gap: 10px;
      opacity: 0.7;
      font-size: 12px;
    }
  }

  .cate {
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    width: fit-content;
    padding-inline: 5px;
    height: 20px;
    font-size: 12px;
    line-height: 1;
    margin-bottom: 5px;
  }

  .swiper:not(.swiper-initialized) {
    .swiper-wrapper {
      display: flex;
      overflow: hidden;
      gap: 30px;
      pointer-events: none;
      user-select: none;
    }

    .swiper-slide {
      width: 300px;
      flex-shrink: 0;
    }

    &::before {
      content: '게시판 위젯 [data-swiper-id="' var(--board-option) '"]에 Swiper가 적용되지 않았습니다.';
      z-index: 100;
      position: absolute;
      width: 100%;
      height: 100%;
      left: 0;
      top: 0;
      background-color: rgba(255, 255, 255, 0.9);
      color: #000;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 18px;
      font-weight: 500;
    }
  }

  [class*="swiper-button"] {
    display: flex;
    align-items: center;
    top: 0;
    margin: 0;
    opacity: 1;
    width: fit-content;
    height: 100%;

    &::after {
      content: none;
    }

    &::before {
      position: relative;
      font-family: "Font Awesome 5 Free";
      right: auto;
      top: 0;
      width: auto;
      line-height: 1;
      font-size: 32px;
      font-weight: 900;
      color: var(--primary-color);
      opacity: 0.5;
    }

    &:hover::before {
      opacity: 1;
    }

    &.swiper-button-next {
      right: -50px;

      &::before {
        content: "\f054";
      }
    }

    &.swiper-button-prev {
      left: -50px;

      &::before {
        content: "\f053";
      }
    }
  }

  .contents_preview {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    padding: 0 1px;
    height: 40px;
    margin-top: 5px;
  }
}

/* [ main-popup ] */
#site #mainPopup {
  position: relative;
  top: 50px;

  .main_popup {
    display: none;
    position: absolute;
    top: 100px !important;
    min-width: 300px;
    z-index: 900;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background-color: transparent;

    &.show {
      display: flex;
      flex-direction: column;
      overflow: hidden;
      border-radius: var(--radius-sm);
    }

    button.close {
      all: unset;
      cursor: pointer;
      opacity: 1;
      margin: 0;
      height: auto;
      color: inherit;
      font-size: 1.75rem;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    span.material-symbols-outlined {
      line-height: 0.8;
      font-variation-settings: var(--gms-200-out);
      font-size: inherit;
    }

    .main_popup_contents {
      overflow: hidden;
      /* padding: 10px; */
      background: #fff;

      video {
        display: block;
      }

      img {
        display: block;
        max-width: 100%;
        height: auto;
      }
    }

    .main_popup_optional {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border: 0;
      padding-inline: 7px 10px;
      background-color: rgba(0, 0, 0, 0.7);
      color: #fff;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      height: 40px;

      label {
        font-weight: 400;
        margin: 0;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        font-size: clamp(0.7rem, 2vw, 0.8rem);
        font-weight: 400;

        input[type="checkbox"] {
          display: none;
        }

        span {
          padding-left: 3px;
          display: flex;
          gap: 5px;
          align-items: center;

          &::before {
            content: "\e8b5";
            display: inline-block;
            font-family: var(--gms);
            font-variation-settings: var(--gms-300-out);
            font-size: clamp(1rem, 2vw, 1.125rem);
            /* transform: translateY(3px); */
          }
        }

        :where(label, div) {
          opacity: 0.8;

          &:where(:hover, :focus) {
            opacity: 1;
          }
        }

        :where(label, div, span) {
          line-height: 1;
        }
      }
    }

    &.main_popup_left {
      left: 50px;
    }

    &.main_popup_center {
      left: 50%;
      transform: translate(-50%);
    }

    &.main_popup_right {
      right: 50px;
    }

    @media (max-width: 767.98px) {
      &[class*="main_popup_"] {
        left: 15px;
        right: 15px;
        transform: none;
        width: fit-content;
        margin-inline: auto;
      }
    }
  }
}

/* ---------------------------- table ---------------------------- */
.table-responsive {
  min-height: 0.01%;
  overflow-x: auto;
}

/* [max-medium / landscape phones]  태블릿/모바일, 768px 미만 ▼ */
@media (max-width: 767.98px) {
  .table-responsive {
    width: 100%;
    margin-bottom: 15px;
    overflow-y: hidden;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    border: 1px solid #ddd;
  }
}

:where(.table) {
  width: 100%;
  max-width: 100%;
  background-color: transparent;
  border-collapse: collapse;
  table-layout: fixed;
  text-size-adjust: none;
  -webkit-text-size-adjust: none;
  border-spacing: 0;
}

:where(.table) :where(th, td) {
  vertical-align: top;
  line-height: 1.5;
}

.table-style {
  --border-color: #ccc;
  border: 1px solid var(--border-color);
  border-top: 2px solid #222;
  background-color: #fff;
  margin: 0;
}

.table-style :is(th, td) {
  padding: 0.9375rem 1.1875rem;
  font-size: 1rem;
  vertical-align: middle;
  border: 1px solid var(--border-color);
  text-align: center;
}

.table-style td {
  color: #444;
}

.table-style thead th {
  border-bottom: 0;
  background-color: #eee;
  border: 1px solid var(--border-color);
  color: #222;
  font-weight: 600;
}

.table-style thead,
.table-style tbody:only-child {
  border-top: 1px solid var(--primary-color);
}

.table-style tbody th {
  background-color: #f7f7f7;
  font-weight: 600;
}

/* ---------------------------- board ---------------------------- */
/* 게시판 숨김 */
.board_wrapper {
  margin-block: 0;
  /* 게시글 상단 고정 */
  tr.fixed {
    background-color: var(--primary-color-light);
  }
  /* 게시글 공지사항 */
  tr.notice {
    background-color: #f8f8f8;

    th.num {
      &::before {
        content: "공지사항";
        display: flex;
        padding: 0.3125rem 0.9375rem;
        justify-content: center;
        align-items: center;
        gap: 10px;
        border-radius: 2px;
        background: var(--primary-color);
        color: #fff;
        position: absolute;
        width: fit-content;
        margin-inline: auto;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.8rem;
      }
    }

    td.subject {
      a {
        font-weight: 500;
        color: #000;
      }

      /* 게시글 아이콘 */
      .is_secret {
        order: 5;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      span {
        flex-shrink: 0;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        text-align: left;
        gap: 0.4375rem;

        .badge {
          display: none !important;
        }
      }

      small {
        margin-top: 0;

        /* 잠금 아이콘 */
        &.lock {
          order: 0;
          translate: 0 -1px;
          font-size: 0.9375rem;
        }

        /* 댓글 아이콘*/
        &.comment {
          opacity: 0.8;
          order: 1000;
          translate: 0 -1px;
          font-size: 0.875rem;
          display: flex;
          align-items: center;
          gap: 1px;
          color: var(--primary-color-dark);
          font-weight: 700;

          &::before {
            content: "[";
          }

          &::after {
            content: "]";
          }

          & i {
            display: none;
          }
        }
      }
    }

    td.cate {
      &::before {
        content: "공지";
        color: #222;
      }

      span {
        display: none;
      }
    }
  }
}

/* 게시글 수정/삭제/목록/댓글 등록 버튼 */
.board_wrapper {
  &[id$="_view"] .btn {
    min-width: 3.75rem;
    padding-inline: 10px;
    justify-content: center;
    align-items: center;
  }

  :is(.form-caption, .wr_caution) i {
    color: var(--primary-color);
  }

  .wr_caution {
    padding-left: 18px;
  }
}

#site :where(.member_wrapper, .board_wrapper) {
  .text-center:not(td) {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 3.125rem;

    & .btn + .btn {
      margin: 0;
    }
  }

  /* 게시판/주문폼/회원가입 버튼 */
  .btn.btn-lg,
  .btn + .btn:not(.btn-outline-danger) {
    min-width: 180px;
  }

  /* checkbox, radio */
  tbody td:has(.radio-inline, .checkbox-inline) {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.3125rem, 2vw, 0.625rem) clamp(0.9375rem, 3vw, 1.25rem);
    font-size: clamp(0.875rem, 2vw, 1rem);
  }

  .checkbox {
    margin: 0;

    label {
      cursor: pointer;
      width: fit-content;
    }
  }

  :where(.checkbox label, .radio label) {
    letter-spacing: -0.06em;
  }

  .custom_checkbox + span a {
    font-weight: 500;
    color: var(--primary-color-dark);
    text-decoration: underline;
  }

  :where(.checkbox-inline, .checkbox, .radio-inline, .radio) :where(input[type="checkbox"], input[type="radio"]) {
    position: static;
    margin: 0 5px 0 0;
  }

  :where(.checkbox, .radio) label {
    padding-left: 0;
    display: flex;
    align-items: center;
  }

  :where(.checkbox-inline, .radio-inline) {
    margin-block: 0;
    padding-left: 0;
    margin-left: 0;
    margin-top: 0;
  }

  /* [max-medium / landscape phones]  태블릿/모바일, 768px 미만 ▼ */
  @media (max-width: 767.98px) {
    div.text-center {
      margin-top: 1.25rem;
      /* margin-bottom: 50px; */
      /* padding-top: 30px; */
      display: flex;
      justify-content: center;
      width: 100%;
    }

    .text-center {
      .btn + .btn {
        margin-left: 0;
      }

      .btn.btn-lg {
        padding: 0;
        height: 3.125rem;
        font-size: 0.875rem;
      }

      :where(.btn.btn-lg, .btn + .btn) {
        flex: 1;
        min-width: inherit;
      }
    }
  }
}

/* 카테고리 / 분류 */
#bbsArea .category_wrap {
  margin-bottom: 50px;

  ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 1.25rem;
    margin-bottom: 3.125rem;

    li {
      margin: 0;

      a {
        color: #888;
        font-weight: 500;
        padding-bottom: 0;
        border-bottom: 0;

        &:hover {
          color: #111;
        }
      }

      &.on :where(a, a:hover, a:focus) {
        color: #000;
        font-weight: 600;
      }
    }
  }
}

#site .list-wrap {
  colgroup {
    .regdate_col,
    .num_col {
      width: 9.375rem;
    }

    .hits_col,
    .writer_col {
      width: 8.125rem;
    }
  }
  .form-caption {
    display: block !important;
  }
}

/* 게시판 노출 */
#bbsArea {
  position: relative;

  .board_data_view {
    border-top: 1px solid #333;
    border-bottom: 1px solid #aaa;
  }

  .write_btn_wrap {
    position: absolute;
    right: 0;
    bottom: 0;
  }

  .btn-lg {
    width: 12.5rem;
  }

  :is(.board_wrapper, .pagination_wrap, .search_wrap) {
    display: block;
    margin-top: 0;
  }

  .board_wrapper + .search_wrap {
    margin-top: 3.125rem;
  }

  .board_wrapper + .pagination_wrap {
    margin-block: 3.125rem;
  }
}

#bbsArea .pagination_wrap {
  & + .search_wrap {
    margin-top: 0px;
  }

  ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4375rem;

    li {
      a {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 2rem;
        aspect-ratio: 1;
        font-size: 0.9375rem;
        border-radius: 9999px;
      }

      &:not(.active) a:hover {
        background-color: #eee;
      }

      &.active a {
        width: 1.75rem;
        background-color: var(--primary-color);
        color: #fff;
        font-weight: 700;
      }

      & + & {
        margin-left: -1px;
      }
    }
  }

  .box a {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
  }
}

/* 게시판 목록 하단 */
#bbsArea .search_wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.3125rem;
  margin-bottom: 0;

  #search_kind {
    cursor: pointer;
    line-height: 1;
  }

  .write_btn_wrap {
    margin-top: 0;
  }

  /* [max-medium / landscape phones]  태블릿/모바일, 768px 미만 ▼ */
  @media (max-width: 767.98px) {
    & {
      flex-direction: column;
      max-width: 300px;
      margin-inline: auto;
    }

    .write_btn_wrap {
      position: static;
      display: flex;
      gap: 0.3125rem;
      width: 100%;

      > .btn {
        width: 100%;
        min-width: auto;
        flex: 1;
      }
    }

    select.form-control {
      max-width: 100% !important;
    }
  }
}

#bbsArea .badge {
  display: inline-flex;
  background-color: var(--primary-color);
  border-radius: 3px;
  padding: 3px 7px;
  margin-block: -0.1875rem;
  margin-right: 0px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

#bbsArea .option_wrap {
  margin-top: 1.875rem;
  display: flex;
  justify-content: space-between;

  .list_btn_wrap {
    position: static;
  }
}

/* 게시글 헤더 */
#bbsArea .header_wrap {
  text-align: center;
  padding: 2.5rem var(--container-padding-inline) 3.4375rem;
  border-bottom: 1px solid #aaa;

  h4.title {
    font-size: 1.625rem;
    font-weight: 500;
    color: #000;
  }

  span {
    color: #666;
  }

  strong {
    color: #000;
    font-weight: 600;
  }

  .title {
    margin: 0;
    font-size: 1.5rem;
  }

  .info {
    margin-top: 0.9375rem;
    opacity: 0.7;

    span {
      font-size: 0.875rem;
      color: #000;

      & + & {
        margin-left: 0.5625rem;
      }
    }
  }
}

/* 게시글 콘텐츠 */
#bbsArea .contents_wrap {
  padding: 3.125rem 0px;

  .contents_inner {
    font-size: 0.875rem;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  p {
    font-size: inherit;
    line-height: 1.6;
    margin: 1em 0;
  }

  a {
    color: var(--primary-color-dark);

    &:hover {
      color: var(--primary-color);
      text-decoration: underline;
    }

    &:visited {
      color: #6c368b;
    }

    &:visited:hover {
      color: #461b5f;
      text-decoration: underline;
    }
  }

  :is(.h1, h1) {
    font-size: 2.25rem;
  }

  :is(.h2, h2) {
    font-size: 1.875rem;
  }

  :is(.h3, h3) {
    font-size: 1.5rem;
  }

  :is(.h4, h4) {
    font-size: 1.125rem;
  }

  :is(.h5, h5) {
    font-size: 0.875rem;
  }

  :is(.h6, h6) {
    font-size: 0.75rem;
  }

  :is(.h1, .h2, .h3, h1, h2, h3) {
    margin-top: 1.25rem;
    margin-bottom: 0.625rem;
    line-height: 1.2;
    font-weight: 500;
    color: inherit;
  }

  :where(li, dl) {
    margin: inherit;
    padding: inherit;
    list-style-position: inside;
  }

  ul li {
    list-style-type: disc;
  }

  ol li {
    list-style-type: decimal;
  }
}

/* 게시글 다운로드 */
#bbsArea :is(.download_wrap, .status_wrap) {
  padding: 0.9375rem;
  border-top: 1px solid #ddd;

  th {
    text-align: left;
    vertical-align: top;
    width: 6.25rem;
  }

  ul {
    display: flex;
    flex-direction: column;
    gap: 0.3125rem 0.625rem;
    flex-wrap: wrap;

    a {
      color: #000;

      &:hover {
        text-decoration: underline;
      }
    }
  }

  /* [max-medium / landscape phones]  태블릿/모바일, 768px 미만 ▼ */
  @media (max-width: 767.98px) {
    ul {
      flex-direction: column;
    }

    tr {
      display: flex;
      flex-direction: column;

      > * {
        width: 100%;
      }

      th {
        padding-bottom: 0.625rem;
      }

      a {
        word-break: break-all;
      }
    }
  }
}

/* 게시글 상세 */
#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) {
  /* width: calc(100% - 3rem);
  max-width: var(--container-max-width); */
  margin: clamp(4rem, 8vw, 7.5rem) auto;
  color: var(--text-color);
}

#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .board_data_view {
  overflow: hidden;
  border-top: 2px solid var(--text-color);
  border-bottom: 1px solid rgba(63, 69, 74, 0.18);
  background: #fff;
}

#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .header_wrap {
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(63, 69, 74, 0.16);
  text-align: center;
}

#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .header_wrap .title {
  margin: 0;
  color: var(--text-color);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.034em;
}

#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .header_wrap .info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.25rem;
  color: var(--text-color-muted);
  font-size: 0.9375rem;
}

#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .header_wrap .info strong {
  margin-right: 0.25rem;
  color: var(--text-color);
  font-weight: 700;
}

#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .contents_wrap {
  padding: clamp(2.5rem, 5vw, 5rem) clamp(1rem, 4vw, 3rem);
}

#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .contents_inner {
  min-height: 12rem;
  color: var(--text-color);
  font-size: 1.0625rem;
  line-height: 1.8;
}

#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .contents_inner > :first-child {
  margin-top: 0;
}

#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .contents_inner > :last-child {
  margin-bottom: 0;
}

#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .contents_inner img {
  max-width: 100%;
  height: auto;
}

#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .download_wrap {
  padding: 1.25rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid rgba(63, 69, 74, 0.16);
  background: #f7f8f9;
}

#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .download_wrap table {
  width: 100%;
  margin: 0;
}

#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .download_wrap tr {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .download_wrap th,
#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .download_wrap td {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-color);
  font-size: 0.9375rem;
  line-height: 1.6;
  text-align: left;
}

#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .download_wrap ul {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin: 0;
  padding: 0;
}

#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .download_wrap li {
  list-style: none;
}

#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .download_wrap a {
  color: var(--text-color);
}

#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .download_wrap a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .option_wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .btn_wrap,
#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .list_btn_wrap {
  display: flex;
  gap: 0.5rem;
}

#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .btn {
  display: inline-flex;
  min-width: 5rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
}

#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .btn-dark {
  border-color: var(--text-color);
  background: var(--text-color);
  color: #111;
}

@media (max-width: 767.98px) {
  #site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) {
    width: calc(100% - 2rem);
    margin-block: 3rem;
  }

  #site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .header_wrap {
    text-align: left;
  }

  #site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .header_wrap .info {
    justify-content: flex-start;
    flex-direction: column;
  }

  #site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .download_wrap tr {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  #site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .option_wrap {
    flex-direction: column;
  }

  #site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .btn_wrap,
  #site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .list_btn_wrap {
    width: 100%;
  }

  #site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .btn {
    flex: 1 1 0;
  }
}

/* 게시글 댓글 */
#bbsArea .reply_wrap {
  margin-top: 3.125rem;
  display: flex;
  flex-direction: column;

  /* gap: 20px; */
  h4 {
    position: static;
    text-align: left;
    font-size: clamp(0.875rem, 3vw, 1rem);
    font-weight: 700;
    margin-bottom: 0.625rem;
    line-height: 1;
  }

  > h4 {
    /* order: 1; */
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0px;
  }

  .btn_wrap {
    margin-top: 0.75em;
    display: flex;

    .pull-left {
      display: flex;
      gap: 0.3125rem;
    }
  }

  :is(#bbsArea .reply_wrap #reply_modify_btn, #bbsArea .reply_wrap .text-left + button) {
    margin-left: auto;
  }

  #reply_btn {
    cursor: pointer;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
  }

  #reply_list {
    /* order: 3; */
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ccc;
    margin-block: 1.25rem;

    .info {
      display: flex;
      gap: 0.4375rem;
      /* height: 40px; */
    }

    :is([id*="reply_modify"], [id*="reply_delete"]) {
      min-width: unset;
      padding: 0;

      &:focus {
        border: 0;
      }
    }

    .media {
      position: relative;
      margin: 0;
      padding: 1.25rem 0.3125rem 2.5rem;

      & + & {
        border-top: 1px solid #ddd;
      }

      .media-left,
      > .pull-left {
        padding-right: 1.25rem;
      }

      .media .media-left img {
        border-radius: 100%;
      }

      .media .media-body {
        .media .media-body {
          position: static;
        }

        .info {
          position: absolute;
          /* right: 0; */
          left: 8.125rem;
          bottom: 0.9375rem;
        }

        .info .btn {
          display: inline-block;
          font-weight: 500;
          /* padding: 0 5px; */
          line-height: 1;
          font-size: 0.75rem;
          vertical-align: middle;
          color: #333;
          height: auto;
          max-width: unset;
        }

        .info span {
          color: #aaa;
          font-size: 0.8125rem;
          margin-left: 6px;
          vertical-align: middle;
        }

        p {
          color: #333;
          font-size: 0.9375rem;
          line-height: 1.5;
          word-break: break-all;
        }
      }

      .media-heading .text-muted {
        color: #aaa;
        font-weight: 400;
        font-size: 0.75rem;
        position: absolute;
        bottom: 0.9375rem;
        left: 5px;
        margin-left: 0 !important;
      }
    }
  }

  #reply_write {
    .info {
      .form-control {
        display: inline-block;
        width: 7.5rem;

        & + & {
          margin-left: 2px;
        }
      }
    }

    .contents {
      margin-top: 0.3125rem;

      .form-control {
        height: 100px;
        width: 100%;
        min-height: 100px;
        max-height: 18.75rem;
        resize: vertical;
        padding: 10px 15px;
      }
    }

    .btn_wrap {
      margin-top: 5px;
      text-align: right;

      .btn {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
      }
    }
  }

  @media (max-width: 539px) {
    .info .form-control {
      display: block;
      width: 100%;
      margin-bottom: 5px;

      & + & {
        margin-left: 0;
      }
    }
  }
}

/* 게시글 작성 */
#bbsArea .table.board_write_table {
  border-top: 1px solid #333;
  border-collapse: inherit;

  tbody td {
    border: 0;
  }

  .text-muted i {
    color: var(--primary-color);
  }

  .files {
    /* 파일 추가 버튼 */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3125rem 0.9375rem;
    flex: 1;

    #File_add {
      aspect-ratio: 1;
      width: auto;
      padding: 0.5625rem 0.75rem;
      margin: 0;
    }

    & + #File_add {
      padding: 0;
      padding-left: 0;
      padding-right: 0;

      .fa-plus {
        line-height: 0;
      }
    }

    .fileInput {
      display: grid;
      grid-template-columns: minmax(0, auto) minmax(0, min-content);
      align-self: stretch;

      .file_add {
        padding: 0.375rem 0.4375rem 0.3125rem;
      }

      .tempChk {
        text-align: right;
        font-size: 0.75rem;
        margin-top: 0.3125rem;
        color: #555;
      }
    }

    & + .sumChk {
      padding-bottom: 0;
      margin-bottom: 0;
      border: 0;
    }
  }

  /* [max-medium / landscape phones]  태블릿/모바일, 768px 미만 ▼ */
  @media (max-width: 767.98px) {
    .text-muted {
      width: 100%;
    }
  }

  /* 휴지통 버튼 */
  :is(.refresh, .delete_attach) {
    display: inline-block;
    color: #999;
    line-height: 40px;
    margin-left: 7px;
    margin-right: 7px;
    cursor: pointer;

    &:hover {
      color: #ec0909;
    }
  }

  /* 필수 입력 항목 */
  th:has(.required_text) > :where(span:first-child, span.required_text) {
    position: static;
    margin-right: 2px;
    color: var(--primary-color);
  }
  code {
    color: var(--danger-color);
    font-size: 0.7rem;
    margin-left: 10px;
    display: none;
  }
  /* textarea 글자수 */
  .frm_textarea_cnt {
    display: none;
  }

  /* [min-medium / landscape phones]  태블릿/모바일, 768px 이상 ▲ */
  @media (min-width: 768px) {
    .files_upload_wrap,
    #files {
      gap: 0.9375rem;
      display: flex;

      .btn {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        aspect-ratio: 1;
        height: 2.5rem;
      }
    }
  }

  /* [max-medium / landscape phones]  태블릿/모바일, 768px 미만 ▼ */
  @media (max-width: 767.98px) {
    .files {
      display: flex;
      flex-direction: column;
      gap: 0.625rem;
    }

    img[alt*="현재 대표 이미지"] {
      max-width: 100%;
    }

    #delete_thumb {
      width: 100%;
    }

    .files_upload_wrap,
    #files {
      display: flex;
      flex-direction: column;

      .btn {
        width: 100%;
        aspect-ratio: inherit;
        margin-top: 0.9375rem;
      }

      .files .fileInput .file_add {
        position: relative;
        right: auto;
      }
    }
  }
}
.board_layout_write textarea {
  width: 100%;
  height: 100px;
  resize: none;
}

/* input */
.form-control {
  width: 100%;
  padding: var(--form-padding);
  height: var(--form-height);
  border: 1px solid var(--form-border-color);
  /* border-radius: var(--form-radius); */
  box-shadow: none;
  -webkit-box-shadow: none;
  color: var(--form-color);
  font: var(--form-font);
  &:not(:placeholder-shown) {
    border-color: var(--form-border-focus-color);
  }
  &:placeholder-shown,
  &::placeholder {
    color: var(--form-placeholder-color);
  }
  &:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
    border-color: var(--form-border-color);
  }
  &:not([readonly]):focus {
    border-color: var(--form-border-focus-color);
  }

  &[type="file"] {
    position: relative;
    width: 100%;
    cursor: pointer;
    padding: var(--form-padding);
    padding-left: 0;
    line-height: calc(var(--form-height) - 2px);
    border-color: var(--form-border-color);
    height: auto;
    margin: 0;
    padding: 0;
    &::file-selector-button {
      width: 5rem;
      margin-right: 10px;
      font-family: inherit;
      position: relative;
      left: 0;
      height: 100%;
      pointer-events: none;
      border-color: inherit;
      border-style: solid;
      border-width: 0;
      border-radius: 0;
    }
    &:hover:not(:disabled):not([readonly])::file-selector-button {
      background-color: #e5e5e5;
    }
  }
}

#search_query.form-control {
  width: 100%;
  max-width: 320px;
  border: 1px solid var(--grey-color);

  &:focus {
    background-color: #fff;
    border-color: var(--primary-color);
  }
}

textarea.form-control {
  padding-block: 0.9rem;
  line-height: 1.5;
}

#site select.form-control {
  -webkit-appearance: none;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjBweCIgdmlld0JveD0iMCAtOTYwIDk2MCA5NjAiIHdpZHRoPSIyMHB4IiBmaWxsPSIjMDAwIj48cGF0aCBkPSJNNDgwLTMzMyAyNDAtNTczbDUxLTUxIDE4OSAxODkgMTg5LTE4OSA1MSA1MS0yNDAgMjQwWiIvPjwvc3ZnPg==);
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: calc(100% - 0.5rem) 0.8rem;
  background-origin: border-box;
  padding-right: 23px;
  border-color: var(--form-border-color);
  max-width: 100px;
}

.wr_add_button select.form-control {
  max-width: 100%;
}

select.form-control#wr_cate {
  max-width: 200px;
}

input.form-control {
  -webkit-appearance: none;
  padding-right: 20px;

  &#wr_reply_captcha {
    max-width: 130px;
    width: 100% !important;
  }

  & + .clear-input {
    display: none;
    border: 0;
    background-color: transparent;
  }

  &.vaild-text {
    & + .clear-input {
      position: absolute;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 40px;
      height: 100%;
      color: #bbb;
      top: 0;
      right: 0;
      border: 1px solid transparent;

      &::before {
        content: "\f00d";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 16px;
        line-height: 1;
      }
    }
  }

  & + .clear-input {
    display: none;
    border: 0;
    background-color: transparent;

    &:hover {
      color: var(--primary-color);
    }
  }
}

/* [max-medium / landscape phones]  태블릿/모바일, 768px 미만 ▼ */
@media (max-width: 767.98px) {
  .form-control {
    width: 100%;
  }
}

.wr_form_wrap {
  display: grid;
  grid-template-columns: 1fr 0.5fr 2fr;
  gap: 0.625rem;
  padding: 3px 0 0;

  label {
    font-size: 0.8125rem;
  }

  @media (max-width: 768px) {
    & {
      display: flex;
      flex-direction: column;
    }
  }
}

.wr_form_item {
  position: relative;

  input.form-control {
    padding-right: 2.5rem;
    background-color: transparent;
    padding-right: 2.1875rem;
  }

  :where(.input-group, .form-control) {
    width: 100%;
  }
}

.custom_file {
  width: 1px;
  height: 1px;
  opacity: 0;
  visibility: hidden;
  display: none;
  position: absolute;
}

.checkbox-inline + .checkbox-inline {
  margin-left: 1.25rem;
}

:is(.custom_radio, .custom_checkbox) {
  width: 1px;
  height: 1px;
  opacity: 0;
  visibility: hidden;
  display: none;
  position: absolute;
}

:is(.custom_radio, .custom_checkbox, .status_wrap input) + span {
  user-select: none;
  display: flex;
  align-items: center;
  gap: 0.3125rem;
}

.custom_checkbox {
  + span {
    user-select: none;

    &::before {
      margin: 0;
      font-size: 1.25rem;
      color: #555;
      content: "\e835";
      font-family: var(--gms);
      font-weight: 300;
      transform: translateY(-1px);
    }
  }

  &:checked + span::before {
    content: "\e834";
    font-weight: 900;
    color: var(--primary-color);
  }

  &[disabled],
  &[disabled] + span {
    opacity: 0.5;
  }
}

.custom_radio {
  &[disabled],
  &[disabled] + span {
    opacity: 0.5;
  }

  &:checked + span::before {
    content: "";
    font-weight: 900;
    border-color: var(--primary-color);
    border-width: 4px;
  }

  + span::before {
    box-sizing: border-box;
    content: "";
    width: 1rem;
    height: 1rem;
    aspect-ratio: 1;
    border: 1px solid #aaa;
    border-radius: var(--radius-full);
  }
}

.radio-inline {
  cursor: pointer;
  align-self: center;
  margin-top: 0 !important;
}

.status_wrap {
  [name="wr_status"] {
    display: none;

    &[disabled],
    &[disabled] + span {
      opacity: 0.5;
    }

    + span::before {
      margin: 0;
      font-size: 1.25em;
      color: #555;
      content: "\e836";
      font-family: var(--gms);
      font-weight: 300;
      transform: translateY(-1px);
    }

    &:checked + span::before {
      content: "\e837";
      font-weight: 900;
      color: var(--primary-color);
    }
  }
}

/* 자동입력방지 */
#wr_captcha {
  margin-top: 0;
  width: 100%;
  max-width: 220px;
}

#captcha {
  z-index: 10;
  cursor: pointer;
  position: relative;
  filter: brightness(0.62) contrast(4.5) opacity(0.7);
  height: var(--form-height) !important;
  margin: 0;
  border: 1px solid transparent;

  &:hover {
    border-color: #222 !important;
  }

  + br {
    display: none;

    + input {
      margin: 0 0 0 -1px !important;
      border-radius: 0;
      margin-left: -1px;

      &:focus {
        z-index: 15;
      }
    }
  }
}

td:has(#captcha) {
  display: flex;
  gap: 0;
}

/* [ board-columns ] */
:is(.table_video, .table_blog2, .table_pd) {
  --board-template-columns: 1;
  display: grid;
  grid-template-columns: repeat(var(--board-template-columns), minmax(0, 1fr));
  margin-inline: 0;
  gap: clamp(40px, 3vw, 70px) clamp(20px, 3vw, 30px);

  &::before,
  &::after {
    content: none;
  }

  > dd {
    width: 100%;
    padding: 0;

    &:not([class]) {
      grid-column: span var(--board-template-columns);
    }

    &.no_content {
      grid-column: span var(--board-template-columns);
    }
  }
}

@media (min-width: 576px) {
  :is(.table_video, .table_blog2, .table_pd) {
    --board-template-columns: 2;
  }
}

@media (min-width: 768px) {
  :is(.table_video, .table_blog2, .table_pd) {
    --board-template-columns: 3;
  }
}

/* [ board-video ] */
.table_video {
  .top a::before {
    content: "\e1c4";
    font-family: var(--gms);
    font-weight: 400;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: #fff;
    opacity: 0.7;
    cursor: pointer;
  }

  .inner:hover .top a::before {
    opacity: 1;
  }
}

.type_video {
  .thumb {
    background-color: #000;
  }
}

/* [ board-list ] */
/* 게시판 리스트, 현황 */
.board_status_list {
  .status_badge {
    padding: 0.25rem 0.625rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
  }

  .status_badge_1 {
    background: #a0a1a3;
    color: #fff;
  }

  .status_badge_2 {
    background: var(--primary-color);
    color: #fff;
  }

  .status_badge_3 {
    background: #e1e1e1;
    color: #888;
  }
}

:is(.board_list_list, .board_status_list, .cs_bd_wrapper) {
  .table_default {
    border: 0;
    border-spacing: 0;
    border-top: 1px solid #333;
    margin-bottom: 0;
    width: 100%;

    thead {
      th {
        background: #fff;
        border-bottom: 1px solid #ccc;
        color: #222;
        text-align: center;

        font-size: 1.0625rem;
        font-style: normal;
        font-weight: 600;
        line-height: 140%;
        /* 23.8px */
        letter-spacing: -0.17px;
      }
    }

    tbody {
      th.num {
        font-weight: normal;
        vertical-align: middle;
      }

      td {
        padding-block: 1.6875rem;
        vertical-align: middle;
      }

      .subject a {
        /* width: 100%; */
        overflow: hidden;
        color: #333;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        color: #222;

        font-style: normal;
        font-weight: 500;
        line-height: 140%;
        /* 25.2px */
        letter-spacing: -0.5px;
        font-size: clamp(0.9375rem, 3vw, 1.125rem);
      }

      &.table_responsive th {
        margin-bottom: 0;
        border: 0;
      }
    }
  }

  :is(th, td) {
    padding: 20px 15px;
    font-size: clamp(0.9375rem, 3vw, 1.0625rem);
    border-bottom: 1px solid #eaeaea;
    text-align: center;
    font-style: normal;
    color: #777;
    text-align: center;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    /* 21px */
    letter-spacing: -0.15px;
  }

  td {
    color: #777;
    text-align: center;

    &.subject {
      text-align: left;

      &.subject_secret {
        > span {
          display: flex;
          align-items: center;
          gap: 0.625rem;
        }
      }
    }

    &.text-center {
      display: table-cell;
      text-align: center;
    }
  }
}

#site .container > .board_wrapper.board_list_list,
#site .container > .board_wrapper.board_blog_list
#site .container > .board_wrapper.board_blog2_list {
  padding-top: calc(var(--navbar-height) + clamp(3rem, 6vw, 6rem));
  padding-bottom: clamp(4rem, 8vw, 7.5rem);
}

#site .container > .board_wrapper.board_list_list,
#site .container > .board_wrapper.board_blog_list {
  width: 100%;
  margin: 0 auto;
}

#site .container > .board_wrapper.board_list_list .table_default {
  width: 100%;
  table-layout: fixed;
  border-top: 2px solid var(--text-color);
}

#site .container > .board_wrapper.board_list_list .table_default thead th {
  height: 4rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(63, 69, 74, 0.2);
  background: #f7f8f9;
  color: var(--text-color);
  font-size: 0.9375rem;
  font-weight: 700;
}

#site .container > .board_wrapper.board_list_list .table_default tbody th,
#site .container > .board_wrapper.board_list_list .table_default tbody td {
  height: 5rem;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid rgba(63, 69, 74, 0.16);
  vertical-align: middle;
  color: var(--text-color-muted);
  font-size: 1rem;
}

#site .container > .board_wrapper.board_list_list .table_default tbody .subject {
  text-align: left;
}

#site .container > .board_wrapper.board_list_list .table_default tbody .subject span {
  display: block;
  min-width: 0;
}

#site .container > .board_wrapper.board_list_list .table_default tbody .subject a {
  display: block;
  overflow: hidden;
  color: var(--text-color);
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#site .container > .board_wrapper.board_list_list .table_default tbody .subject a:hover {
  color: var(--primary-color);
}

#site .container > .search_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

#site .container > .search_wrap .form-control {
  width: auto;
  height: 3rem;
  border: 1px solid rgba(63, 69, 74, 0.22);
  border-radius: 0;
  box-shadow: none;
}

#site .container > .search_wrap #search_kind {
  min-width: 8rem;
}

#site .container > .search_wrap #search_query {
  width: min(24rem, 100%);
}

#site .container > .search_wrap .btn {
  min-width: 5rem;
  height: 3rem;
  border-radius: 0;
  font-weight: 600;
}

#site .container > .search_wrap .write_btn_wrap {
  margin: 0 0 0 auto;
}

#site .container > .search_wrap #write_btn {
  background: var(--text-color);
  border-color: var(--text-color);
  color: #111;
}

#site .container > .board_wrapper.board_blog_list .table_blog {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  border-top: 2px solid var(--text-color);
}

#site .container > .board_wrapper.board_blog_list .table_blog dd {
  display: grid;
  grid-template-columns: minmax(14rem, 22rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin: 0;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-bottom: 1px solid rgba(63, 69, 74, 0.16);
}

#site .container > .board_wrapper.board_blog_list .table_blog .left a {
  display: block;
  overflow: hidden;
}

#site .container > .board_wrapper.board_blog_list .table_blog img.thumb {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  height: auto;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center;
  transition: transform 0.35s ease;
}

#site .container > .board_wrapper.board_blog_list .table_blog .right {
  min-width: 0;
  padding-right: 0;
}

#site .container > .board_wrapper.board_blog_list .table_blog .title a {
  display: block;
  overflow: hidden;
  color: var(--text-color);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#site .container > .board_wrapper.board_blog_list .table_blog .title a:hover {
  color: var(--primary-color);
}

#site .container > .board_wrapper.board_blog_list .table_blog .info {
  display: flex;
  gap: 0.875rem;
  margin-top: 1rem;
  color: var(--text-color-muted);
  font-size: 0.9375rem;
  opacity: 1;
}

#site .container > .board_wrapper.board_blog_list .table_blog .hits {
  display: none;
}

#site .container > .board_wrapper.board_blog_list .table_blog .text {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 1.25rem;
  color: #4f565c;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#site .container > .board_wrapper.board_blog_list .table_blog .text p {
  margin: 0;
}

/* 반응형 스타일 */
@media (max-width: 767.98px) {
  :is(.board_list_list, .board_status_list, .cs_bd_wrapper) {
    :is(colgroup, .num, .regdate, .hits, .writer) {
      display: none;
    }

    .subject {
      width: 100%;
    }

    .status {
      width: 35%;
    }
  }

  #site .container > .board_wrapper.board_list_list,
  #site .container > .board_wrapper.board_blog_list {
    padding-top: calc(var(--navbar-height) + 2.5rem);
  }

  #site .container > .board_wrapper.board_list_list .table_default,
  #site .container > .board_wrapper.board_list_list .table_default tbody,
  #site .container > .board_wrapper.board_list_list .table_default tr,
  #site .container > .board_wrapper.board_list_list .table_default th,
  #site .container > .board_wrapper.board_list_list .table_default td {
    display: block;
    width: 100%;
  }

  #site .container > .board_wrapper.board_list_list .table_default thead {
    display: none;
  }

  #site .container > .board_wrapper.board_list_list .table_default tbody tr {
    position: relative;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(63, 69, 74, 0.16);
  }

  #site .container > .board_wrapper.board_list_list .table_default tbody th,
  #site .container > .board_wrapper.board_list_list .table_default tbody td {
    height: auto;
    padding: 0;
    border-bottom: 0;
    text-align: left;
  }

  #site .container > .board_wrapper.board_list_list .table_default tbody .num {
    display: none;
  }

  #site .container > .board_wrapper.board_list_list .table_default tbody .subject {
    margin-bottom: 0.75rem;
  }

  #site .container > .board_wrapper.board_list_list .table_default tbody .writer,
  #site .container > .board_wrapper.board_list_list .table_default tbody .regdate,
  #site .container > .board_wrapper.board_list_list .table_default tbody .hits {
    display: inline-block;
    width: auto;
    margin-right: 0.75rem;
    font-size: 0.875rem;
  }

  #site .container > .search_wrap {
    align-items: stretch;
    flex-direction: column;
  }

  #site .container > .search_wrap .form-control,
  #site .container > .search_wrap #search_kind,
  #site .container > .search_wrap #search_query,
  #site .container > .search_wrap .btn,
  #site .container > .search_wrap .write_btn_wrap {
    width: 100%;
  }

  #site .container > .search_wrap .write_btn_wrap {
    margin-left: 0;
  }

  #site .container > .board_wrapper.board_blog_list .table_blog dd {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  #site .container > .board_wrapper.board_blog_list .table_blog .title a {
    white-space: normal;
  }
}

/* [ board-blog A ] */
.table_blog {
  /* border-top: 2px solid #222; */

  .info {
    display: none;
  }

  dd {
    display: grid;
    grid-template-columns: minmax(0, 18.75rem) minmax(0, auto);
    align-items: flex-start;
    gap: 2.5rem;
    padding-block: 2.5rem;
    border-bottom: 1px solid #ddd;
  }

  .no_post {
    grid-column: span 2;
  }

  .right {
    display: flex;
    flex-direction: column;
    gap: 0.9375rem 0.9375rem;
    align-items: flex-start;
    padding-right: 1.875rem;

    .info {
      /* justify-content: flex-end;
      align-items: center;
      align-self: center; */
      grid-column: 2;
      grid-row: span 2;
      margin-bottom: 0;
    }

    :where(.writer, .hits) {
      display: none;
    }

    a {
      width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      font-size: 1.375rem;
      font-weight: 700;
      color: #333;

      &:has(.badge) {
        padding-top: 1.75rem;
        margin-top: 0.3125rem;
      }
    }

    .text {
      width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
    }

    p {
      padding: 0;
      font-size: clamp(0.875rem, 3vw, 1.0625rem);
      line-height: 1.7;
    }
  }

  .badge {
    position: absolute;
    top: 0.3125rem;
    left: 0;
    display: flex;
  }
}

@media (max-width: 767.98px) {
  .table_blog {
    dd {
      display: flex;
      flex-direction: column;
    }

    .right {
      padding-right: 0;
    }
  }
}

#bbsArea {
  :where(.table_video, .table_blog2, .table_pd) {
    .badge {
      margin-top: 0px;
    }

    .inner {
      border: 0;
    }

    .top {
      position: relative;
    }

    dd {
      margin-bottom: 0;
    }

    .bottom {
      margin-top: 0.9375rem;
      padding: 0;
    }

    :where(.inner .bottom) a {
      display: block;
      width: 100%;
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap;
      font-weight: 600;
      font-size: 1.125rem;
    }
  }
}

:is(.table_video, .table_blog, .table_blog2, .table_pd) {
  a {
    span.thumb {
      display: none;
    }

    span.thumb + img.thumb {
      display: block;
      aspect-ratio: 5 / 3;
      object-fit: cover;
      width: 100%;
      height: auto;
      background-color: #ccc;
    }
  }

  &.table_pd a span.thumb + img.thumb {
    aspect-ratio: 1;
  }
}

:where(.table_video, .table_blog2, .table_pd, .table_blog) {
  .title {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem 0;
    padding: 0;

    + .pd_preview {
      margin-top: 0.625rem;

      * {
        all: unset;
      }
    }
  }

  .info {
    display: flex;
    gap: 0.625rem;
    margin-top: 10px;
    opacity: 0.7;

    span {
      padding: 0;
      font-size: 15px;
      line-height: 1;
    }
  }
}

/* [ board-form ] */
:is(#form_history_list, #form_history_nologin) {
  .board_wrapper {
    padding: 0;
    background: transparent;
    min-height: auto;
  }
}

.board_wrapper {
  :where(form[id*="form"]) {
    :where(th, td, table.table) {
      border: 0;
      line-height: 1;
    }
    table {
        width: 100%;
        display: flex;
        border-top: 0;
      }
    th {
        padding: 0;
        font-weight: 700;
        display: flex;
        background-color: transparent;
        width: auto;
        border-top: 0;
      }
      :where(th, td) {
        font-size: 1rem;
      }
    tbody {
          display: flex;
          flex-direction: column;
          align-items: stretch;
          width: 100%;
      
        tr {
            display: grid;
            grid-template-columns: minmax(0, 2fr) minmax(0, 10fr);
            align-items: flex-start;
            gap: 0.9375rem;
            padding: 1.5625rem 0.625rem;
            border-bottom: 1px solid #ccc;
          }
    }

    #item_agree {
      .checkbox {
        margin-top: 0;
      }
      label {
        font-size: clamp(0.8125rem, 2vw, 0.9375rem);
      }
    }

    #item_email {
      .text-muted {
        font-size: clamp(0.8125rem, 2vw, 0.9375rem);
      }
    }
  }
}

:where(.form-wrap, form) {
  #list_btn {
    display: none;
  }
}

/* [max-medium / landscape phones]  태블릿/모바일, 768px 미만 ▼ */
@media (max-width: 767.98px) {
  .board_wrapper {
    :where(form[id*="form"]) {
      th {
        margin-bottom: 0.9375rem;
      }

      table.table tbody tr {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
      }
    }
  }
}

/* [ board-goods ] */
.board_pd_view {
  position: relative;

  .pd_top_wrap {
    margin-bottom: 6.25rem;

    .row {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      margin: 0;

      &::before,
      &::after {
        content: none;
      }
    }

    :where(.pd_col_lft, .pd_col_rgt) {
      padding-left: 0;
      padding-right: 0;
    }
  }

  .pd_slider_wrap {
    :where(.pd_img_main, .pd_img_main .thumb, .pd_img_sub .thumb) {
      aspect-ratio: 1/1;
    }

    .pd_img_sub {
      min-height: 5.125rem;
      margin-top: 25px;

      > [class^="pd_thumb"] {
        display: none;
      }

      .slick-list {
        padding: 0 !important;
      }

      .slick-slide {
        overflow: hidden;
        aspect-ratio: 1;
        height: 100%;
        flex: 1;
        max-width: 90px;
        border-radius: var(--radius-md);

        .thumb {
          cursor: pointer;
          opacity: 0.35;
        }
      }

      .slick-current .thumb,
      .slick-slide:where(:hover) .thumb {
        opacity: 1;
        border-color: #ccc;
      }

      .slick-track {
        width: inherit !important;
        transform: none !important;
        display: flex;
        justify-content: center;
        gap: 4px 5px;
        width: 100%;
      }
    }

    :where(.pd_img_main) .slick-track {
      display: flex;
    }

    :where(.pd_img_main, .pd_img_sub) {
      .slick-slide {
        width: inherit !important;
        background: #f7f7f7;
      }

      .thumb {
        display: block;
        margin: 0;
        padding: 0;
        position: static;
        height: 100%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover !important;
      }
    }
  }

  .pd_img_main {
    overflow: hidden;
    position: relative;
    margin: 0;
    border-radius: var(--radius-md);

    :where(.next-btn, .prev-btn) {
      z-index: 1010;
      position: absolute;
      top: 0;
      border: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      background: transparent;
      width: 50px;
      height: 100%;
      padding: 0;
      cursor: pointer;

      &::before {
        transition: opacity 0.3s;
        opacity: 0.35;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 16px;
        color: #fff;
        aspect-ratio: 1/1;
        width: 30px;
        border-radius: 50%;
        background: #000;
      }

      &:hover::before {
        opacity: 1;
      }
    }

    .next-btn {
      right: 0px;

      &::before {
        content: "\f105";
      }
    }

    .prev-btn {
      left: 0px;

      &::before {
        content: "\f104";
      }
    }

    .slick-dots {
      z-index: 1500;
      left: 50%;
      transform: translateX(-50%);
      display: inline-flex !important;
      justify-content: center;
      gap: 0 10px;
      width: auto;
      padding: 7px 12px;
      border-radius: 50px;
      bottom: 15px;
      background-color: rgba(0, 0, 0, 0.35);

      li {
        opacity: 0.65;
        width: auto;
        height: auto;
        margin: 0;

        &.slick-active {
          opacity: 1;
        }

        button {
          width: 8px;
          height: auto;
          aspect-ratio: 1;
          margin: 0;
          padding: 0;
          border-radius: 50%;
          background-color: #fff;

          &:before {
            content: none;
          }
        }
      }
    }
  }

  /* 상품게시판 상세페이지 상품 제목 */
  .pd_info_wrap {
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .pd_title_wrap {
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #333;

    .badge {
      font-size: 0.8125rem;
      padding: 0.4375rem 0.625rem 0.375rem;

      & + .title {
        margin-top: 0.9375rem;
      }
    }

    .title {
      margin: 0;
      letter-spacing: -0.034em;
      line-height: 4rem;
      word-break: break-all;
      font-size: clamp(1.75rem, 3vw, 2.25rem);
      font-weight: 600;
      color: #111;
    }

    .info {
      display: none !important;
    }

    .info {
      display: flex;
      flex-wrap: wrap;
      gap: 0 15px;
      padding-left: 3px;
      font-size: 0.8125rem;
      color: #888;
      margin-top: 1.25rem;

      strong {
        margin-right: 0.3125rem;
      }
    }
  }

  .pd_preview_wrap {
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 max(250px, 0px);
    padding-right: 15px;
    margin-right: 2px;
    margin-bottom: 25px;
    /* -moz- */
    scrollbar-width: thin;

    #pd_preview_text {
      margin: 0;
      font-size: 1rem;
      line-height: 2.45rem;
      white-space: pre-line;
      word-break: break-all;
      padding-top: clamp(1.875rem, 5vw, 3.125rem);

      * {
        margin: 0;
        padding: 0;
      }

      :where(div, section, embed, iframe, img, video, table) {
        max-width: 100%;
        height: auto;
      }

      :where(iframe, video) {
        aspect-ratio: 16/9;
      }

      :where(table) {
        width: 100%;
      }
    }

    &::-webkit-scrollbar {
      -webkit-appearance: none;
      width: 0.3125rem;
      background: #ddd;
      border-radius: 50px;
    }

    &::-webkit-scrollbar-thumb {
      background: #999;
      border-radius: 50px;
    }

    &::-webkit-scrollbar-track {
      border-radius: var(--radius-md);
      background-color: #eee;
    }

    &::-webkit-scrollbar:vertical {
      width: 0.3125rem;
    }

    &::-webkit-scrollbar:horizontal {
      height: 0.75rem;
    }
  }

  .none_button .pd_preview_wrap {
    margin-bottom: 3px;
  }

  /* 상품게시판 상세페이지 버튼 */
  .pd_btn_wrap {
    padding-top: 1.5625rem;
    border-top: 1px solid #ddd;
    margin-top: auto;

    ul {
      display: flex;
      flex-wrap: wrap;
      gap: 0.3125rem;
      margin: 0;
      padding: 0;
      text-decoration: none;
      list-style: none;
    }

    li[class^="pd_btn_item"] {
      flex-grow: 1;
      flex-basis: 0;
      min-height: 3.75rem;

      a {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        padding: 0.625rem 0.9375rem;
        background: #333;
        color: #fff;
        white-space: normal;
        border-radius: var(--radius-sm);

        span {
          text-align: center;
        }

        &:where(:hover, :focus) {
          background: #111;
        }
      }
    }
  }

  /* 상품게시판 상세페이지 탭 */
  .pd_tabs_nav_wrap {
    ul.nav-tabs {
      display: flex;
      width: 100%;

      li {
        flex: 1 25%;

        & + li {
          margin-left: -1px;
        }

        a {
          display: inline-flex;
          justify-content: center;
          align-items: center;
          width: 100%;
          height: 3.75rem;
          margin: 0;
          padding: 0px 1.25rem;
          border: 1px solid #ddd;
          border-bottom-color: #888;
          border-radius: 0;
          color: #888;
          font-size: 0.9375rem;
          font-weight: 400;
          letter-spacing: -0.02em;

          span {
            overflow: hidden;
            position: relative;
            display: block;
            text-align: center;
            white-space: nowrap;
            text-overflow: ellipsis;
          }
        }

        &.active {
          z-index: 50;

          a {
            z-index: 5;
            border-color: #888;
            border-bottom-color: transparent;
            background-color: #fff;
            color: #333;
            font-weight: 700;
            font-size: 16px;
          }
        }

        &:not(.active) a:where(:hover, :focus) {
          background: #f7f7f7;
        }
      }
    }
  }

  .contents_wrap {
    padding: 5rem 0px;
    border-bottom: 1px solid #ccc;

    img {
      max-width: 100%;
      height: auto;
    }
  }

  @media (max-width: 767px) {
    & {
      .pd_title_wrap {
        padding-bottom: 1.25rem;
        margin-bottom: 1.25rem;
      }

      .pd_tabs_nav_wrap {
        display: none;
      }

      .option_wrap:not(.mobile) {
        order: 3;

        .move_btn_wrap {
          display: none !important;
        }
      }

      .pd_preview_wrap {
        #pd_preview_text {
          line-height: 2rem;
          font-size: 15px;
        }
      }

      .pd_title_wrap .title {
        font-size: 24px;
        line-height: 3.5rem;
        font-weight: 600;
      }

      .pd_preview_wrap {
        flex: auto;
        max-height: 12.5rem;
      }

      .pd_slider_wrap :where(.pd_img_main, .pd_img_sub) .thumb {
        width: 100% !important;
      }

      .pd_btn_wrap li.pd_btn_item {
        flex: 1 49%;
      }

      .tab-content > .tab-pane {
        display: block;

        & + .tab-pane {
          margin-top: 4.375rem;
          display: flex;
        }
      }

      .contents_wrap {
        padding-block: 0 !important;
        border: 0;

        .pd_tabs_tp_title {
          display: flex;
          border-bottom: 1px solid #ccc;
          margin: 0 0 1.875rem;
          padding: 0px 0px 0.9375rem;
          font-size: 1.25rem;
          font-weight: 600;
        }
      }

      .pd_btn_wrap {
        li[class^="pd_btn_item"] {
          flex-grow: 0;
          flex: 1;
          min-height: 3.4375rem;

          &:only-child {
            flex-grow: 1;
            min-height: 3.75rem;
          }
        }
      }
    }
  }
}

@media (min-width: 768px) {
  .board_pd_view .pd_top_wrap {
    .row {
      gap: 2.5rem;
    }

    .pd_col_rgt {
      padding-top: 0;
    }
  }
}

@media (min-width: 992px) {
  .board_pd_view .pd_top_wrap {
    .row {
      gap: 3.75rem;
    }

    :where(.pd_col_lft, .pd_col_rgt) {
      width: 100%;
      overflow: hidden;
    }

    .pd_col_rgt {
      width: inherit;
      padding-top: 1.875rem;
    }
  }
}

@media (min-width: 1200px) {
  .board_pd_view .pd_top_wrap .row {
    gap: 5.625rem;
  }
}

@media (max-width: 767.98px) {
  .board_pd_view {
    .pd_top_wrap {
      margin-bottom: 5rem;

      .row {
        gap: 2.5rem;
      }
    }

    .pd_slider_wrap .pd_img_sub {
      margin-top: var(--container-padding-inline);
      min-height: auto;
    }
  }
}

@media (max-width: 991px) {
  .board_pd_view .pd_top_wrap .row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* * 상품 게시판: 작성 */
.board_wrapper.pd_bd_wrapper {
  th {
    flex-wrap: wrap;
  }

  .wr_caution {
    position: relative;
    margin-top: 0.4375rem;
    margin-bottom: 0;
    padding-left: 1.125rem;
    font-size: 0.875rem;
    font-weight: 400;
    /* color: #456e98; */
    word-break: keep-all;
    letter-spacing: -0.02em;
    text-align: left;

    i {
      position: absolute;
      left: -0.125rem;
      top: 0.1875rem;
      font-size: 0.8125rem;
      /* color: #77a9db; */
    }
  }

  #storage-size {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.625rem auto 0.1875rem;

    .info {
      padding: 0.125rem 0.625rem;
      line-height: 1;

      &:is(:hover, :focus) {
        cursor: help;

        span {
          &.min {
            color: var(--primary-color);
            font-weight: 700;
            text-decoration: underline;
          }

          &.quest {
            i {
              color: var(--primary-color);
            }

            small {
              display: block;
            }
          }
        }
      }

      &.over {
        span {
          &.min {
            color: var(--danger-color);
            font-weight: 700;
            text-decoration: underline;
          }

          &.quest {
            i {
              color: var(--danger-color);
            }

            small {
              background-color: var(--danger-color);

              &::before {
                background-color: var(--danger-color);
              }
            }

            &::after {
              content: "파일 용량이 최대치에 도달했습니다.";
              margin-left: 3px;
              margin-bottom: 1px;
              line-height: 1;
              font-weight: 700;
              color: #e92424;
            }
          }
        }
      }
    }

    span {
      font-size: 0.75rem;
      color: #888;
      font-weight: 400;

      &.min {
        text-align: right;
        font-weight: 500;
        color: #222;
      }

      &.max::before {
        content: "/";
        opacity: 0.75;
        margin-right: 2px;
        margin-left: 0.25rem;
      }

      &:where(.min, .max) {
        display: inline-block;
        min-width: 2.8125rem;
      }

      &.quest {
        margin-left: 0.3125rem;

        i {
          font-size: 0.875rem;
          color: #bbb;
        }

        small {
          z-index: 100;
          position: absolute;
          top: 1.875rem;
          left: 0;
          width: 100%;
          display: none;
          justify-content: center;
          align-items: center;
          padding: 0.625rem;
          background: var(--primary-color);
          box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
          border-radius: 3px;
          font-size: 0.8125rem;
          line-height: 1.5;
          font-weight: 400;
          text-align: center;
          color: rgba(255, 255, 255, 0.9);

          b {
            color: #fff;
          }

          &::before {
            content: "";
            position: absolute;
            top: -5px;
            left: 50%;
            transform: translateX(-50%);
            display: block;
            width: 0.8125rem;
            height: 6px;
            background: var(--primary-color);
            -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
            clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
          }
        }
      }
    }
  }

  .wr_upload_img {
    overflow: hidden;
    position: relative;
    display: flex;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.3125rem;

    .wr_upload_img_item {
      display: flex;
      aspect-ratio: 1/1;
      cursor: move;

      &:first-child .wr_upload_img_thumb::after {
        animation: 0.5s ease-in upload_img_mian_up;
        content: "대표 이미지";
        position: absolute;
        right: 0;
        bottom: 0;
        display: block;
        bottom: 0;
        width: 100%;
        background: #222;
        text-align: center;
        font-size: 0.8125rem;
        color: #fff;
        padding: 0.625rem 0;
      }
    }

    .wr_upload_img_thumb {
      position: relative;
      overflow: hidden;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      background-color: #ccc;
      border: 1px solid #fff;
      border-radius: var(--radius-sm);

      &::before {
        opacity: 0;
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        display: block;
        width: 100%;
        height: 100%;
        background: #000;
      }

      &:hover {
        border-color: var(--primary-color);

        &::before {
          opacity: 0.5;
        }
      }

      .wr_upload_img_btn_re {
        opacity: 0;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: transparent;
        position: absolute;
        transform: translate(-50%, -50%);
        left: 50%;
        top: 49.5%;
        border: 0;
        font-weight: 400;
        font-size: 0.875rem;
        color: #fff;
        white-space: nowrap;
        cursor: pointer;

        i {
          margin: 4px 0 6px;
          font-size: 1.4375rem;
        }
      }

      &:where(:hover, :focus) .wr_upload_img_btn_re {
        opacity: 0.75;

        &:hover {
          opacity: 1;
        }
      }
    }
  }

  .wr_add_button {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.75rem 0;

    :is(section, .container, .row, #bbsArea, td):has(&) {
      position: static;
    }

    .wr_add_button_item {
      width: 100%;
      height: 6.5625rem;
      cursor: move;
    }

    .wr_add_button_info {
      align-items: center;
      height: 100%;
      gap: 0.9375rem;
      padding: 0px 2.5rem 0.25rem 1.5625rem;
    }
  }

  /* 상품 게시판 작성 설명 탭 */
  .wr_tabs_contents {
    display: flex;
    flex-direction: column;

    .wr_tabs_contents_nav {
      display: flex;
      border-bottom: 0;
      margin-bottom: 1px;

      > li {
        z-index: 10;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 25%;
        padding-bottom: 1px;
        border: 1px solid #ddd;
        border-radius: 0;
        border-bottom: 0;
        background: #f7f7f7;
        font-size: 0.875rem;
        color: #999;

        + li {
          margin-left: -1px;
          width: calc(25% + 1px);
        }

        &:hover {
          color: #222;
          background: #fff;
        }

        &.active {
          z-index: 20;
          margin-bottom: -2px;
          padding-bottom: 2px;
          border-color: #ccc;
          background: #fff;
          font-weight: 600;
          color: #333;
        }

        > a {
          display: inline-flex;
          align-items: center;
          flex-grow: 1;
          width: 0px;
          padding: 0;
          border: 0 !important;
          background: transparent;
          line-height: 1;
          padding-left: 1.25rem;
          margin: 0;
          min-height: 2.8125rem;
          color: inherit;
          font-size: inherit;
          cursor: pointer;

          @media (hover: hover) {
            &:hover {
              border: 0;
              background: transparent;
              color: #222;
              font-weight: 600;
            }
          }

          span {
            display: block;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            position: relative;
            min-width: 0;
          }
        }
      }
    }

    .wr_tabs_contents_nav_plus {
      padding: 0 !important;

      &.only_visible:only-child {
        width: 100%;
        border: 0;

        .wr_add_button_btn {
          flex-direction: column;
          height: 6.5625rem;
        }
      }

      &:not(.only_visible) {
        flex: 0;
        width: 3.4375rem;

        &:hover {
          border-color: var(--primary-color);
        }

        .wr_add_button_btn {
          border: 0;
          padding: 0 0.875rem;

          span {
            display: none;
          }

          i {
            width: auto;
            font-size: 19px;
            color: inherit;
          }

          &:hover {
            color: var(--primary-color);
          }
        }
      }
    }

    .wr_tabs_contents_item {
      width: 100%;

      [role="presentation"] + [role="presentation"] {
        margin-left: 0;
      }
    }

    .wr_tabs_contents_info {
      .title_group {
        width: 100%;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0 15px;
      }
    }
  }

  :where(.wr_upload_img_btn, .wr_add_button_btn) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 1px dashed #678eb7;
    color: #9db5cd;
    background: #fff;
    font-weight: 500;
    cursor: pointer;
    border-radius: var(--radius-sm);

    span {
      font-size: 15px;
    }

    &:hover {
      border-color: var(--primary-color) !important;
      border-style: solid;
      color: var(--primary-color);
    }
  }

  :where(.wr_upload_img_btn, .wr_add_button_btn, .wr_tabs_contents_nav_plus:only-child) i {
    font-size: 1.5rem;
    margin: 5px 0 5px;
  }

  .wr_pd_delete_btn {
    z-index: 200;
    opacity: 0.5;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    width: 1.375rem;
    border-radius: 50%;
    font-size: 0.9375rem;
    line-height: 1;
    color: #000;

    &:hover {
      opacity: 1;
    }
  }

  .wr_upload_img .wr_pd_delete_btn {
    position: absolute;
    opacity: 0.7;
    right: 0.1875rem;
    top: 0.1875rem;
    font-size: 16px;
    color: #fff;
    background: transparent;
  }

  .wr_add_button .wr_pd_delete_btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
  }

  .wr_tabs_contents .wr_pd_delete_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.5625rem;
    margin-right: 0.3125rem;
    margin-left: 0.1875rem;
    height: auto;
  }

  :where(.wr_add_button, .wr_tabs_contents) .wr_pd_delete_btn:hover {
    background: #eee;
    color: var(--primary-color);
    transition: 0.2s;
  }

  :where(.wr_pd_form_group, .wr_pd_form_group_item) {
    width: 100%;
    display: flex;
    flex-wrap: wrap;

    textarea + div {
      width: 100%;
    }
  }

  .wr_pd_form_group {
    label {
      width: 100%;
      margin: 0;
      padding-bottom: 5px;
      font-size: 0.8125rem;
      font-weight: 500;
    }

    &.name_group {
      width: 25%;
    }

    &.type_group {
      width: 15%;
    }
  }

  .table.board_write_table :is(.wr_pd_form_group, .wr_pd_form_group_item) .form-control {
    width: 100%;
  }

  #wr_pd_form_type {
    --deleteWidth: 2.5rem;
    width: 60%;

    div[id^="bd_button"] {
      position: absolute;
      display: flex;
      gap: 0 5px;
      align-items: center;
      top: 1.1875rem;
      right: 2.5rem;
      font-size: 0.75rem;
      color: #555;

      span.name {
        display: inline-block;
        max-width: 21.875rem;
        overflow: hidden;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
      }
    }

    input[id^="wr_add_button_download"] {
      width: calc(100% - var(--deleteWidth));
      border-right: 0;
    }

    button[id^="wr_add_button_delete_btn"] {
      display: flex;
      justify-content: center;
      align-items: center;
      aspect-ratio: 1;
      width: var(--deleteWidth);
      border: 1px solid var(--grey-color);
      border-left: 0;
      border-radius: 0;
      background: transparent;

      &::after {
        content: "\f056";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 1rem;
        color: #bbb;
      }

      &:hover::after {
        color: var(--danger-color);
      }
    }
  }

  .wr_tabs_contents .wr_pd_form_group.title_group {
    > div:nth-child(1) {
      width: 90%;
    }

    > div:nth-child(2) {
      width: 10%;
    }
  }

  :where(.wr_add_button_info, .wr_tabs_contents_info) {
    position: relative;
    overflow: hidden;
    display: flex;
    border: 1px solid var(--grey-color);
    background: #fff;
  }

  .wr_tabs_contents_info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9375rem 0;
    min-height: 36.875rem;
    padding: 1.25rem 1.5625rem 1.8125rem;
  }

  @media (hover: hover) {
    .wr_add_button_info:where(:hover, :focus, :focus-within),
    .wr_tabs_contents:is(:hover, :focus, :focus-within) .nav-tabs > li.active,
    .wr_tabs_contents:is(:hover, :focus, :focus-within) .wr_tabs_contents_info {
      border-color: var(--primary-color);
    }

    .wr_add_button_info:is(:hover, :focus, :focus-within),
    .wr_tabs_contents:is(:hover, :focus, :focus-within) .wr_tabs_contents_info {
      transition: 0.25s;
      box-shadow: 4px 4px 0 rgba(115, 139, 166, 0.1);
    }
  }

  @media (max-width: 767px) {
    .wr_upload_img {
      flex-wrap: wrap;

      .wr_upload_img_item {
        width: calc((100% - 21px) / 3);
      }
    }

    .wr_add_button {
      min-height: auto;

      .wr_add_button_info {
        flex-wrap: wrap;
        padding: 0.9375rem 1.25rem;
        gap: 10px;
      }

      .wr_add_button_item {
        &:not(.wr_add_button_item_plus) {
          height: auto;
        }
      }
    }

    .wr_pd_form_group {
      width: 100%;

      &.name_group {
        width: calc((100% - 0.625rem) / 3 * 2);
      }

      &.type_group {
        width: calc((100% - 0.625rem) / 3 * 1);
      }
    }

    :where(.wr_upload_img_btn, .wr_add_button_btn) span {
      font-size: 0.8125rem;
    }

    .table.board_write_table #wr_pd_form_type {
      width: 100%;
    }

    #wr_pd_form_type div[id^="bd_button"] {
      position: static;
    }

    .wr_tabs_contents {
      .wr_tabs_contents_nav {
        margin-bottom: -0.0625rem;

        > li {
          flex: 1;
          height: 3rem;
          border-bottom: 0;

          > a {
            height: 100%;
            min-height: auto;
            padding-left: 0.9375rem;
            font-size: 0.8125rem;
          }

          .wr_pd_delete_btn {
            display: none;
          }

          &.active {
            flex: inherit;
            margin-bottom: 0rem;
            width: 50%;

            .wr_pd_delete_btn {
              display: flex;
            }
          }
        }
      }

      .wr_tabs_contents_nav_plus {
        &:not(.only_visible) {
          width: 100%;
          z-index: 1;
          border: 1px dashed #aaa;
          border-bottom: 0;

          .wr_add_button_btn {
            width: 100%;
            height: 100%;
          }
        }

        &.only_visible:only-child {
          height: auto;

          .wr_add_button_btn {
            height: 5.9375rem;
          }
        }
      }

      .wr_tabs_contents_item {
        overflow: hidden;

        &.active {
          height: 100%;
        }
      }

      .wr_tabs_contents_info {
        padding: 0.9375rem 1.25rem;

        .title_group {
          flex-direction: column;
          gap: 0.625rem;
        }
      }
    }

    .wr_pd_form_group.title_group .wr_pd_form_group_item {
      width: 100%;
    }
  }
}

@keyframes upload_img_mian_up {
  from {
    bottom: -50px;
  }

  to {
    bottom: 0;
  }
}

/* [ board-custom ]*/
.table_custom {
  :where(thead, tbody) {
    /* 번호 */
    --wr_id: 5rem;
    /* 제목 */
    --wr_subject: 30%;
    /* 작성자 */
    --wr_name: 5.625rem;
    /* 날짜 */
    --wr_regdate: 8.4375rem;
    /* 조회수 */
    --wr_hits: 5rem;
    /* 다운로드 */
    --wr_attach: 5.625rem;
    /* 추가 항목 기본 */
    --wr_default: 10%;

    tr {
      display: flex;
      position: relative;
    }

    :where(th, td) {
      display: block;
      padding: 1.875rem;
    }

    [class*="wr_"] {
      flex: 0 0 auto;
      width: var(--wr_default);
      white-space: nowrap;
    }

    .wr_id {
      width: var(--wr_id);
    }

    .wr_subject {
      flex-grow: 1;
      width: var(--wr_subject);
    }

    .wr_name {
      width: var(--wr_name);
    }

    .wr_regdate {
      width: var(--wr_regdate);
    }

    .wr_hits {
      width: var(--wr_hits);
    }

    .wr_attach {
      width: var(--wr_attach);
    }
  }

  .no_post {
    width: 100%;
    text-align: center;
    border-top: 0;
  }
}

html:not(.is_adm) {
  .cs_bd_wrapper + .search_wrap .btn-mag {
    display: none;
  }
}

.contents_view_col {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.875rem;

  .item {
    flex: 1 0 20%;

    dt {
      margin-bottom: 0.3125rem;
    }
  }
}

@media (max-width: 767.98px) {
  .table.table_custom {
    display: block;
    width: 100%;
    overflow: auto;
    table-layout: inherit;
  }

  .contents_view_col {
    flex-direction: column;
    gap: 1.25rem;
  }
}

/* ---------------------------- member ---------------------------- */
:is(.find_container, .login_container, .mypage_container) .member_wrapper .form-group {
  height: 3.25rem;

  input {
    border: 0;
    padding-left: 0;
  }
}

:is(.find_container, .join_container, .join_write_container, .login_container, .mypage_container) {
  .form-group {
    height: 2.8125rem;
  }

  .member_wrapper {
    padding: clamp(1.875rem, 4vw, 3.75rem) clamp(1.25rem, 10vw, 3.75rem);
    border-radius: 1.875rem;
    background: #fff;
  }
}

:is(.find_container, .login_container) :is(.member_wrapper) {
  max-width: 31.25rem;
}

/* [max-medium / landscape phones]  태블릿/모바일, 768px 미만 ▼ */
@media (max-width: 767.98px) {
  :is(.find_container, .join_container, .join_write_container, .login_container, .mypage_container) {
    width: 100%;

    .member_wrapper {
      width: 100%;
      margin: 0 auto;
    }
  }
}

#find_idpw,
.mypage_container,
.join_wrapper,
.login_wrapper {
  background-color: #f7f7f7;
  display: flex;
  align-items: center;

  @media (max-width: 767.98px) {
    align-items: flex-start;
    padding-block: calc(var(--navbar-height) / 1.5) calc(var(--navbar-height) * 1.5);
  }
}

#find_idpw,
.login_wrapper {
  /* height: max(clamp(600px, 70vw, 750px), calc(var(--svh100) - var(--navbar-height))); */
  /* 뷰포트가 작을 때 (최소 높이) */
  @media (max-width: 767.98px) {
    height: auto;
  }

  /* 중간 크기일 때 (중간 높이) */
  @media (min-width: 768px) {
    height: calc(var(--svh100) - var(--navbar-height));

    @media (max-height: 900px) {
      height: 700px;
    }
  }
}

.privacy_container,
.agreement_container,
#site .member_wrapper {
  max-width: var(--container-max-width);
  padding-top: 7.5rem;
  padding-bottom: 12.5rem;
  margin: calc(var(--navbar-height) / 1.5) auto calc(var(--navbar-height) * 1.5);
  background-color: #f7f7f7;

  h1 {
    margin-top: 0;
    font-size: clamp(1.75rem, 3vw, 2.375rem);
    line-height: 1;
    font-weight: 700;
    text-align: center;
    border: 0;
    margin-bottom: clamp(1.875rem, 5vw, 2.5rem);
    padding-bottom: 0px;
    letter-spacing: -0.03em;

    & + p {
      line-height: 1.4;
      font-size: clamp(0.8125rem, 3vw, 0.9375rem);
      max-height: 80px;
      /* max-height: 200px; */
      margin-bottom: 30px;
      text-align: center;
      color: #666;
    }
  }

  .text-center {
    margin-top: 2.5rem;

    .btn.btn-lg {
      padding-left: 2.5rem;
      padding-right: 2.5rem;
    }
  }

  #login_form {
    input {
      padding-left: 0.3125rem;
      font-size: 0.9375rem;
    }

    .form-group {
      overflow: hidden;
      border-radius: 9999px;

      &:focus-within label[class*="label-"]::before {
        color: #000;
      }

      label {
        position: relative;

        &[class*="label-"] {
          /* text-indent: -9999px; */
          /* aspect-ratio: 1; */
          display: flex;
          justify-content: flex-end;
          align-items: center;
          flex: 0 1 auto;
          padding-inline: 1.25rem 0.625rem;
        }

        &::before {
          /* position: absolute; */
          text-indent: 0;
          font-family: var(--gms);
          font-variation-settings: var(--gms-300-out);
          font-size: 1.375rem;
          color: #888;
          /* top: 60%; */
          /* left: 50%; */
          /* transform: translate(-50%, -50%); */
          line-height: 1;
        }

        &.label-id::before {
          content: "\e7fd";
        }

        &.label-pw::before {
          content: "\e897";
        }

        &.label-email::before {
          content: "\e0e6";
        }
      }
    }
  }

  @media (max-width: 767.98px) {
    & {
      padding: 3.75rem 1.875rem;

      :where(#login_form, fieldset) {
        display: flex;
        flex-direction: column;
      }

      :where(#login_form, #login_form input) {
        font-size: clamp(0.8125rem, 3vw, 0.875rem);
      }

      #login_form input {
        border: 0;
        /* padding-left: 0; */
        padding-right: 2.1875rem;
      }
    }
  }

  .join_agree {
    h4 {
      margin-top: 1.875rem;
      margin-bottom: 15px;
      font-size: 1.125rem;
      font-weight: 500;
    }

    .join_agree_box {
      width: auto;
      height: 15.625rem;
      border: 1px solid var(--grey-color);
      padding: 0.9375rem;
      overflow-y: scroll;
      line-height: 1.5;

      & + .checkbox {
        margin: 0;
        width: auto;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: 1em 1.25em;
        gap: 5px;
        background-color: #f7f7f7;
        font-size: clamp(0.75rem, 3vw, 0.9375rem);

        label {
          display: flex;
          align-items: center;
          padding-left: 0;
          font-size: clamp(0.8125rem, 2vw, 0.875rem);
        }

        input {
          position: static;
          margin: 0;
          margin-right: 0.4375rem;
        }

        > a {
          font-size: 0.875rem;
          color: var(--primary-color-dark);
          font-weight: 500;

          &:hover {
            text-decoration: underline;
          }

          @media (max-width: 767.98px) {
            & {
              font-size: 0.75rem;
            }
          }
        }
      }
    }
  }

  /* [ form ] */
  .form-group {
    position: relative;
    margin: 0;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;

    > * {
      width: auto;
      padding: 0;
    }

    &:focus-within {
      z-index: 100;
      border-color: var(--primary-color);

      span.material-symbols-outlined {
        opacity: 1;
        color: var(--primary-color);
      }
    }

    &:nth-of-type(1) {
      margin-bottom: -0.0625rem;
      margin-bottom: 0.4375rem !important;
    }

    &:nth-of-type(2) {
      margin-bottom: 0rem;
    }

    > div:nth-child(2) {
      flex: 1;
    }

    label {
      span.material-symbols-outlined {
        opacity: 0.5;
        translate: 0 1px;
        font-variation-settings: var(--gms-400-out);
        font-size: 0.78125rem;
        color: #000;

        &l:nth-child(1) {
          width: 3.125rem;
          display: inline-flex;
          justify-content: center;
          align-items: center;
          transform: translateY(-0.1875rem);
        }
      }
    }

    /* [max-medium / landscape phones]  태블릿/모바일, 768px 미만 ▼ */
    @media (max-width: 767.98px) {
      & {
        > div:last-child {
          width: 100%;
        }
      }
    }
  }

  /* [ member-login ] */
  :is(#find_btn, #login_btn) {
    margin-top: 25px;
    height: 3.125rem;
    width: 100%;
    border-radius: 9999px;
  }

  :is(#find_idpw, .join_wrapper, .login_wrapper, .mypage_container) {
    z-index: 10;
    width: 100%;
    padding-block: 6.25rem 7.5rem;
    background: #f7f7f7;
  }

  .mypage_container {
    padding-inline: 0.9375rem;
  }

  /* [max-medium / landscape phones]  태블릿/모바일, 768px 미만 ▼ */
  @media (max-width: 767.98px) {
    :is(#find_idpw, .join_wrapper, .login_wrapper, .mypage_container) {
      margin-top: 0;
      position: relative;
      padding-block: 1.875rem 6.25rem;
      height: auto;
    }
  }

  :where(#find_idpw, .login_wrapper, .mypage_container) {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* [min-lager / tablet] 태블릿, 992px 이상 ▲ */
  @media (min-width: 992px) {
    :where(#find_idpw, .login_wrapper) {
      padding: 0;
      height: calc(var(--svh100) - var(--navbar-height));
    }
  }

  /* [min-lager / tablet] 브라우저 높이 700 이하 */
  @media (min-height: 700px) {
    :where(#find_idpw, .login_wrapper, .mypage_container) {
      height: auto;
      min-height: 700px;
      align-items: flex-start;
    }
  }

  .login_extra {
    margin-top: 1.875rem;

    ul {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 0 0.9375rem;

      li {
        > a {
          font-size: clamp(0.8125rem, 3vw, 0.875rem);
        }

        & + & {
          margin-left: 0;

          &::before {
            content: none;
          }
        }
      }
    }

    /* [max-medium / landscape phones]  태블릿/모바일, 768px 미만 ▼ */
    @media (max-width: 767.98px) {
      ul {
        width: 100%;
        display: flex;
        justify-content: center;

        li + li::before {
          content: none;
        }
      }
    }
  }

  /* [max-medium / landscape phones]  태블릿/모바일, 768px 미만 ▼ */
  @media (max-width: 767.98px) {
    #join_form {
      tr {
        th {
          padding: 0px;
          margin-bottom: 0;
        }

        td {
          display: flex;
          padding-left: 0;
          padding-right: 0;
          padding-top: 0.625rem;
          padding-bottom: 0.625rem;
          gap: 0.3125rem;

          > div:has(textarea) {
            width: 100%;
          }

          &[style="vertical-align:middle"] {
            align-items: center;
            padding-inline: 0px;
          }

          &[style="vertical-align:middle"] span {
            margin-top: 0;
          }

          input:not(#mb_mailing) {
            width: 100%;
          }
        }
      }
    }
  }

  .table {
    width: 100%;

    tbody {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 1.875rem;

      tr {
        display: flex;
        flex-direction: column;
        gap: 10px;
        /* display: grid; */
        /* grid-template-columns: minmax(0, 1fr) minmax(0, 4fr); */
        margin-bottom: -1px;

        th {
          font-size: 1rem;
          text-align: left;
          width: auto;

          span {
            color: var(--primary-color);
          }
        }

        td {
          display: flex;
          gap: 0.625rem;
        }
      }

      tbody {
        tr {
          td {
            padding-inline: 0.9375rem;
            display: flex;
            gap: 0.3125rem;
          }

          :where(th, td) {
            display: block;
            font-size: clamp(0.8125rem, 3vw, 0.9375rem);
          }
        }
      }
    }

    /* [max-medium / landscape phones]  태블릿/모바일, 768px 미만 ▼ */
    @media (max-width: 767.98px) {
      &,
      & :where(tbody, tbody tr) {
        display: block;
        width: 100%;
        display: flex;
        flex-direction: column;
      }

      & {
        tbody tr :where(th, td) {
          display: block;
          width: 100%;
          font-size: clamp(0.9375rem, 2vw, 1.0625rem);
        }

        tbody tr th {
          padding: 0.625rem 1.875rem;
        }

        .files_upload_wrap,
        #files {
          display: flex;
          flex-direction: column;

          .files {
            display: flex;
            flex-direction: column;
            gap: 0.625rem;

            input {
              width: auto;

              .file_add {
                position: relative;
                right: auto;
              }

              .btn {
                width: 100%;
                aspect-ratio: inherit;
                margin-top: 0.9375rem;
              }
            }
          }
        }
      }
    }
  }
}

#site :is(#find_idpw, .login_wrapper) .member_wrapper {
  max-width: 500px;
  margin-block: 0;
}

#site
  :is(#find_idpw, .login_wrapper, .join_wrapper, .mypage_container, .privacy_container, .agreement_container)
  .member_wrapper {
  background-color: #fff;
  padding-block: 70px;
}

/* [ member-privacy ] */
:is(.privacy_container, .agreement_container) {
  display: flex;
  margin: 0;
  text-align: left;

  h1 {
    font-size: clamp(1.75rem, 3vw, 2.375rem);
    font-weight: 700;
    margin-bottom: 2.5rem;
  }

  .privacy_body {
    font-size: 1rem;
    line-height: 1.6em;
    padding-inline: clamp(1.25rem, 3vw, 3.125rem);
  }

  /* [max-medium / landscape phones]  태블릿/모바일, 768px 미만 ▼ */
  @media (max-width: 767.98px) {
    & .member_wrapper {
      padding: 3.125rem 1.875rem;
    }
  }
}

/* [ componets start ]*/
/* 페이지 준비중 */
.maintenance {
  background: #f4f4f4;
  padding: 7.5rem 1.5625rem;
  text-align: center;
  border-radius: 1.25rem;

  span.material-symbols-outlined {
    display: inline-block;
    line-height: 1;
    font-size: 4.625rem;
    margin-bottom: 20px;
  }

  .big-cont {
    display: block;
    line-height: 1;
    font-size: 1.375rem;
    font-weight: bold;
    letter-spacing: -0.05em;
    margin-bottom: 1.25rem;
  }

  .small-cont {
    display: block;
    line-height: 1.5;
    font-size: 0.875rem;
    letter-spacing: -0.03em;
    color: #818181;
    margin-bottom: 1.25rem;
  }
}

/* 모바일 이미지 확장 스크롤 */
/* [max-medium / landscape phones]  태블릿/모바일, 768px 미만 ▼ */
@media (max-width: 575.98px) {
  .scroll-box-xs {
    position: relative;

    &:not(.on)::before {
      cursor: pointer;
      box-sizing: content-box;
      content: "\e145";
      font-family: var(--gms);
      font-variation-settings: var(--gms-500-out);
      background-color: var(--primary-color);
      border: 3px solid #fff;
      border-top: 0;
      border-right: 0;
      color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 1.875rem;
      font-size: 1.375rem;
      aspect-ratio: 1/1.02;
      position: absolute;
      right: 0;
      top: 0;
      z-index: 100;
      line-height: 0;
    }

    &.on {
      position: relative;
      overflow-x: auto;

      img {
        max-width: 900px;
        width: auto;
        height: auto;
      }
    }
  }
}

/* tabs(상품 게시판, 일반 탭) */
[role="tabpanel"] {
  [role="tablist"] {
    display: flex;
    margin-bottom: 60px;
  }

  [role="presentation"] {
    flex: 1;

    & + & {
      margin-left: -1px;
    }

    [role="tab"] {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 3.875rem;
      font-size: 1.25rem;
      border: 1px solid #ccc;
      color: #666;
    }

    &.active [role="tab"] {
      z-index: 10;
      background-color: var(--primary-color);
      border-color: var(--primary-color);
      font-weight: 600;
      color: #fff;
    }
  }

  .tab-pane {
    opacity: 0;
    animation: tabShow 0.3s forwards;
  }

  .tab-content > :not(.active) {
    display: none;
  }
}

@keyframes tabShow {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* 캘린더 */
.calendar-wrap#bbsArea {
  [class*="container"] {
    padding: 0;
  }

  .fc .fc-toolbar > * > * {
    float: unset;
    margin: 0;
  }

  #fullcalendar {
    a {
      text-decoration: none !important;
    }
  }

  #calendar_loading {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
    z-index: 1000;
    font-size: 36px;
    text-align: center;
    padding-top: 10%;
  }

  .calendar_wrapper {
    position: relative;
    margin-block: 0;
    font-family: inherit;

    .fc-toolbar {
      h2 {
        font-size: 0.9375rem;
        font-weight: 700;
      }
    }
  }

  .fc-widget-header {
    thead > tr {
      background-color: #fafafa;
    }
  }

  .fc-day-number,
  .fc-ltr .fc-popover .fc-header .fc-title,
  .fc-rtl .fc-popover .fc-header .fc-close {
    /* font-family: "Open Sans", "notokr", sans-serif; */
  }

  .fc-day-header {
    span {
      font-size: 0.875rem;
    }
  }

  .fc-unthemed {
    td.fc-today {
      background-color: #e5f5fd;
    }
  }

  .fc {
    th.fc-day-header {
      padding-block: 0.3125rem;
    }
  }

  .fc-basic-view {
    .fc-day-number {
      font-weight: bold;
      padding: 0.3125rem 0.625rem;
    }
  }

  .fc-sat {
    color: #2151ff;

    .fc-day-number {
      color: #2151ff;
    }
  }

  .fc-sun {
    color: #ff0051;

    .fc-day-number {
      color: #ff0051;
    }
  }

  .fc-day-grid-event {
    /* margin: 2px 2px 0; */
    padding: 0.5rem 0.4375rem 0.3125rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 1.5625rem;
    box-sizing: border-box;
  }

  .fc-ltr .fc-h-event.fc-not-start,
  .fc-rtl .fc-h-event.fc-not-end {
    padding-left: 0.625rem;
  }

  .fc-event {
    cursor: pointer;
    border-color: var(--dark-color);
    max-width: 100%;
    /* display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis; */
    overflow: hidden;

    /* white-space: nowrap; */
    .fc-time {
      font-weight: 500;
    }

    &:focus {
      text-decoration: none !important;
    }

    &.fc-chk {
      .fc-title {
        text-decoration: line-through;
      }
    }
  }

  .fc-event,
  .fc-event-dot {
    cursor: pointer;
    /* background-color: var(--primary-color) !important */
    background-color: #fff !important;
    color: var(--primary-color) !important;
    font-weight: 700;
    border: 1px solid var(--primary-color) !important;

    &:hover {
      background-color: var(--primary-color) !important;
      color: #fff !important;
    }

    &.gcal-holiday-event {
      background-color: #fa1313 !important;
      color: #fff !important;
      border: 0 !important;
      pointer-events: none;
    }
  }

  .fc-button {
    outline: none !important;
  }

  .fc-more {
    color: var(--dark-color);

    &:hover,
    &:focus {
      color: #333;
    }
  }

  .fc-popover {
    .fc-header {
      padding: 0.5rem 0.625rem 0.3125rem;
      font-size: 0.875em;
      font-weight: 700;
    }
  }

  .fc-unthemed .fc-popover .fc-header .fc-close {
    margin-top: 3px;
  }

  .fc-toolbar {
    button {
      padding: 0 1em;
    }
  }

  .fc-state-default {
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: none;

    &:not([disabled]):hover {
      background: #ddd;
    }

    &.fc-state-active {
      background: var(--primary-color);
      border-color: var(--primary-color);
      color: #fff;

      &:hover,
      &:focus {
        background: #333;
        border-color: #333;
        color: #fff;
      }
    }
  }

  .fc-toolbar {
    &.fc-header-toolbar {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);

      > * {
        float: unset;
      }

      @media (max-width: 767.98px) {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
      }

      .fc-center {
        grid-row: 1;
        grid-column: 2;
        gap: 20px;
      }

      .fc-left {
        display: flex;
        gap: 10px;
      }

      .fc-right {
        grid-column: 3;
      }
    }

    .fc-center {
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }

  .form-horizontal {
    .control-label {
      padding-top: 12px;
    }
  }

  @media (max-width: 539px) {
    .fc-toolbar {
      .fc-left {
        width: 100%;
        text-align: center;

        > * {
          float: none;
          display: inline-block;
          vertical-align: top;
        }
      }

      .fc-center {
        float: left;
        display: block;
        width: 100%;
        margin: 10px 0 0;

        > * {
          float: none;
          display: inline-block;
          vertical-align: top;
        }
      }
    }
  }

  .writedata_start_time,
  .writedata_end_time {
    display: inline-block;

    &.hide {
      display: none;
    }
  }

  #calendarModal_view {
    .modal-body {
      padding: 0 15px;
    }

    @media (min-width: 768px) {
      .modal-body > .row > div[class^="col-"] {
        min-height: 400px;
      }
    }

    @media (max-width: 767.98px) {
      .modal-body {
        font-size: 0.8125rem;
      }
    }

    .view_left {
      text-shadow: 0 0 5px rgba(0, 0, 0, 0.125);
      padding: 1.25rem 2.5rem;
      font-family: "Open Sans", sans-serif;
      box-shadow: inset 0px 100px 100px -100px rgba(0, 0, 0, 0.75);
    }

    span[id^="viewdata_"] {
      display: block;
      margin: 1.25rem 0;

      .year {
        display: block;
        font-weight: 400;
        font-size: 0.78125rem;
      }

      .date {
        font-weight: 700;
        font-size: 1.25rem;
        margin-right: 0.5em;
      }

      .time {
        opacity: 0.75;
        font-size: 0.78125rem;
        font-weight: 700;
      }
    }

    #viewdata_end {
      &::before {
        content: "\f078";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        display: block;
        font-size: 1.5625rem;
        margin: 0 0 1.5625rem;
        opacity: 0.5;
        animation: fadeArrow 2s infinite;
      }

      @media (max-width: 767.98px) {
        &::before {
          content: "\f054";
          float: left;
          margin-top: 0.75rem;
          margin-left: -1.5625rem;
          margin-right: 1.5625rem;
        }
      }
    }

    .view_right {
      padding: 1.25rem 2.5rem;
      font-family: "Open Sans", "notokr", sans-serif;
    }

    #viewdata_title {
      font-size: 1.1875rem;
      font-weight: 700;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      user-select: none;

      .viewdata_status {
        margin-right: 0.2em;
        display: none;

        &::before {
          content: "\f0c8";
          font-family: "Font Awesome 6 Free";
          font-weight: 400;
          cursor: pointer;
        }

        &.chk::before {
          content: "\f14a";
          opacity: 0.5;
        }
      }

      &.chk {
        .viewdata_status {
          display: inline-block;
        }

        .text.chk {
          text-decoration: line-through;
          opacity: 0.5;
        }
      }
    }

    #viewdata_location {
      opacity: 0.5;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    #viewdata_description {
      margin-top: 0;
      position: relative;
      height: 180px;

      .inner {
        line-height: 1.6;
        color: #555;
        height: 11.25rem;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 1.25rem 1.25rem 1.25rem 0;
        word-break: keep-all;
        position: absolute;
        z-index: 100;
        width: 100%;
      }

      &::before {
        content: "";
        position: absolute;
        top: 0;
        right: 20px;
        left: 0;
        height: 20px;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
        z-index: 101;
      }

      &::after {
        content: "";
        position: absolute;
        bottom: 0;
        right: 20px;
        left: 0;
        height: 20px;
        background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
        z-index: 101;
      }
    }

    #viewdata_writer {
      opacity: 0.5;
      text-align: right;
      position: absolute;
      right: 40px;
      bottom: 12px;

      @media (max-width: 767.98px) {
        position: relative;
        bottom: 0;
        right: 0;
      }
    }

    #viewdata_option {
      text-align: right;
      position: absolute;
      right: 28px;
      bottom: 20px;

      .btn.btn-link {
        color: #fff;
        text-decoration: none !important;

        &:hover {
          background-color: rgba(255, 255, 255, 0.25);
        }
      }

      @media (max-width: 767.98px) {
        position: relative;
        bottom: 0;
        right: -12px;
      }
    }
  }
}

@keyframes fadeArrow {
  0% {
    opacity: 0.25;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 0.25;
  }
}

#calendarModal_write {
  display: flex;

  .hide {
    display: none;
  }

  .form-horizontal {
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .col-sm-2 {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5625rem;
  }

  .col-sm-9 {
    display: grid;
    /* grid-template-columns: minmax(0,150px) minmax(0,150px) minmax(0,150px) minmax(0,150px); */
    align-items: center;
    gap: 0.625rem;

    [for="writedata_start"] + & {
      grid-template-columns: minmax(0, 150px) minmax(0, min-content) minmax(0, 150px) minmax(0, 150px);
    }

    &:has(.hide) {
      /* .writedata_end_time + label{
                grid-column: 1;
                grid-row: 2;
        
    } */
    }

    label {
      font-size: 1rem;
      margin-right: 30px;
    }

    .hasDatepicker {
      max-width: 150px;
      width: 100% !important;
    }

    .writedata_end_time,
    .writedata_start_time {
      display: flex;
      gap: 5px;

      &.hide {
        display: none;
      }

      .form-control {
        flex: 1;
      }
    }

    .writedata_start_time {
      grid-column: 1;
      grid-row: 2;
    }

    .writedata_end_time {
      grid-column: 3;
      grid-row: 2;
    }
  }

  #writedata_description {
    width: 100% !important;
    height: 150px !important;
    resize: none;
  }

  .writedata_end_time + label {
    display: flex;
    gap: 5px;
    cursor: pointer;
  }

  #write_use_time + span {
    white-space: nowrap;
  }
}

#calendarModal_view {
  overflow-y: auto;

  .modal-dialog {
    @media (min-width: 768px) {
      max-width: 700px;
      width: 100%;
      margin: auto auto;
    }

    .modal-body {
      padding: 40px;
    }
  }

  .visible-xs {
    display: none !important;
  }

  .row {
    display: flex;
    flex-direction: column-reverse;
    position: static;
  }

  .view_left {
    background-color: transparent !important;
    display: flex;
    justify-content: flex-end;

    * {
      color: #000;
    }

    [data-dismiss] + .row {
      position: absolute;
      left: 40px;
      top: 40px;
      display: flex;
      flex-direction: row;

      > div {
        display: flex;
      }

      > div + div #viewdata_end {
        &::before {
          content: " ~ ";
          display: block;
          margin-inline: 10px 0;
        }
      }
    }

    .btn {
      flex: 1;
      color: #fff !important;

      i {
        display: none;
      }
    }
  }

  .view_right {
    display: flex;
    flex-direction: column;
    margin-top: 70px;

    .close {
      all: unset;
      aspect-ratio: 1;
      cursor: pointer;
      width: 40px;
      text-align: center;
      position: absolute;
      right: 25px;
      top: 30px;
      font-size: 2.375rem !important;
      line-height: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #000 !important;

      &::after {
        font-size: 1.5rem;
      }

      &:hover {
        opacity: 1 !important;
      }
    }

    #viewdata_title {
      font-size: 2rem;
      font-weight: 600;
      margin-bottom: 1.875rem;

      span.text {
        word-break: break-all;
      }

      & + #viewdata_description {
      }
    }

    #viewdata_location {
      font-size: 0.9375rem;
      padding: 0.375rem 0.9375rem 0.375rem 0.625rem;
      color: var(--primary-color);
      border: 1px solid var(--primary-color);
      /* background-color: var(--primary-color); */
      border-radius: 9999px;
      margin-block: -0.625rem 1.875rem;
      font-weight: 700;
      /* color: #fff; */
      width: fit-content;

      i {
        font-size: 0.5rem;
        transform: translateY(-1px);
      }
    }

    #viewdata_description {
      font-size: 1rem;
      line-height: 1.6;
      padding-block: 1.875rem;
      border-top: 1px solid #222;
      border-bottom: 1px solid #ccc;
      margin-bottom: 1.25rem;
    }

    #viewdata_writer {
      opacity: 0.7;
      display: flex;
      justify-content: flex-end;
      font-size: 0.8125rem;

      i {
        display: none;
      }
    }
  }

  #viewdata_end,
  #viewdata_start {
    display: flex;
    gap: 10px;
    left: 40px;
    top: 40px;
    font-size: 1.125rem;
    font-weight: 600;

    span {
      color: #444 !important;
    }
  }

  #viewdata_option {
    position: static;
    display: flex;
    gap: 5px;
    margin-top: 30px;
  }
}

/* -------------------------------------------------------- */
#site .main_login_other {
  margin-top: 15px;
}

#site .main_login_other .row {
  display: flex;
  justify-content: center;
  gap: 5px;
}

@media (max-width: 575.98px) {
  #site .main_login_other .row {
    /*sm*/
    flex-direction: column;
  }
}

#site .main_login_other .row > div {
  flex: 1;
}

#site .main_login_other .row .btn {
  min-width: 100%;
  width: 100%;
  gap: 10px;
  border-radius: 9999px;
  font-weight: 600;
}

#site .main_login_other .row .btn::before {
  content: "";
  display: block;
  width: 20px;
  aspect-ratio: 1;
}

#site .main_login_other #naver_login_btn {
  background-color: #03c75a;
  color: #fff;
}

#site .main_login_other #naver_login_btn::before {
  background: url("/public/img/icons/SVG/sns/naver_login_symbol_white.svg") no-repeat center / contain;
  width: 17px;
}

#site .main_login_other #kakao_login_btn {
  background-color: #fee500;
  color: #181600;
}

#site .main_login_other #kakao_login_btn::before {
  background: url("/public/img/icons/SVG/sns/kakao_login_symbol.svg") no-repeat center / contain;
}

/* 메인 화면 */
.research-field {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 8vw, 120px) 20px;
  color: #30363b;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.86)),
    url("/public/img/main/research-bg.jpg") left bottom / cover no-repeat;
}

.research-title {
  margin: 0 0 clamp(36px, 5vw, 56px);
  text-align: center;
  color: #252b30;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.research-list {
  display: grid;
  gap: clamp(38px, 5vw, 64px);
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.research-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(320px, 1fr);
  align-items: center;
  min-height: 210px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.research-card:is(:hover, :focus) {
  color: inherit;
  text-decoration: none;
}

.research-card:nth-child(even) {
  grid-template-columns: minmax(320px, 1fr) minmax(260px, 0.92fr);
}

.research-image {
  z-index: 2;
  position: relative;
  min-height: clamp(180px, 19vw, 230px);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 18px 32px rgba(40, 46, 51, 0.16);
}

.research-image.is-memory {
  background-image: url("/public/img/main/research-topic01.jpg");
}

.research-image.is-device {
  order: 2;
  background-image: url("/public/img/main/research-topic02.jpg");
}

.research-image.is-sensor {
  background-image: url("/public/img/main/research-topic03.jpg");
}

.research-panel {
  position: relative;
  min-height: 170px;
  margin-left: -40px;
  padding: clamp(30px, 4vw, 48px) clamp(34px, 5vw, 64px);
  border: 1px solid rgba(63, 69, 74, 0.22);
  background: rgba(255, 255, 255, 0.9);
}

.research-card:nth-child(even) .research-panel {
  margin-right: -40px;
  margin-left: 0;
  padding-left: clamp(34px, 5vw, 64px);
}

.research-icon {
  display: block;
  width: 30px;
  height: 29px;
  margin-bottom: 20px;
  color: #8190a4;
}

.research-panel h3 {
  margin: 0 0 8px;
  color: #2e3439;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.research-panel ul {
  display: grid;
  gap: 3px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  color: #555d64;
  line-height: 1.45;
}

.research-panel li::before {
  content: "- ";
}

.research-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 32px;
  padding: 0 16px;
  border-radius: 3px;
  background: #76869a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.research-panel::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 14px;
  width: 95px;
  height: 78px;
  opacity: 0.08;
  background:
    linear-gradient(90deg, #3f454a 12px, transparent 12px) 0 0 / 24px 24px,
    linear-gradient(#3f454a 12px, transparent 12px) 0 0 / 24px 24px;
}

@media (max-width: 860px) {
  .research-list {
    gap: 32px;
  }

  .research-card,
  .research-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .research-image.is-device {
    order: 0;
  }

  .research-panel,
  .research-card:nth-child(even) .research-panel {
    margin: -24px 18px 0;
    padding: 34px 28px;
  }
}

.research-main {
  background: #fff;
  padding: 7rem 0 10rem;
}

.research-main .research-title {
  margin-bottom: clamp(4rem, 7vw, 6rem);
}

.research-main .research-list {
  position: relative;
  gap: 6rem;
}

.research-main .research-card,
.research-main .research-card:nth-child(even) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
  /* min-height: clamp(22rem, 32vw, 30rem); */
}

.research-main .research-card > * {
  min-width: 0;
}

.research-main .research-image {
  display: block;
  width: 100%;
  height: clamp(16rem, 24vw, 22rem);
  max-width: 100%;
  min-width: 0;
  min-height: clamp(16rem, 24vw, 22rem);
  object-fit: cover;
  background: #f5f5f5;
  box-shadow: 0 1.5rem 3rem rgba(63, 69, 74, 0.16);
  transform: scale(1);
  transform-origin: center;
  transition: transform 0.35s ease;
  border-radius: 2px;
}

.research-main .research-image.is-memory,
.research-main .research-image.is-device,
.research-main .research-image.is-sensor {
  background-image: none;
}

.research-main .research-card:nth-child(even) .research-image {
  order: 2;
}

.research-main .research-panel,
.research-main .research-card:nth-child(even) .research-panel {
  z-index: 2;
  min-height: auto;
  margin: 0;
  padding: 2rem 0 0;
  border: 0;
  background: transparent;
}

.research-main .research-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  aspect-ratio: 1;
  border: 1px solid #b8c5df;
  color: #2b5caa;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 999px;
}

.research-main .research-panel h3 {
  max-width: 34rem;
  margin-bottom: 1.35rem;
  color: #252525;
  font-size: clamp(2rem, 3.4vw, 2.125rem);
  line-height: 1.4;
  letter-spacing: -0.035em;
}

.research-main .research-panel ul {
  max-width: 34rem;
  margin-bottom: 2.75rem;
  color: #333;
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.65;
}
.research-main .research-panel li{
    font-size: clamp(0.8125rem, 1.3vw, 1.0625rem);
}

.research-main .research-panel li::before {
  content: none;
}

.research-main .research-more {
  height: auto;
  min-width: 0;
  padding: 0 0 0.2rem;
  border-bottom: 1px solid #999;
  border-radius: 0;
  background: transparent;
  font-size: 0.925rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.034em;
  color: #777;
  transition: all 0.2s ease;
}

.research-main .research-more:hover {
    font-weight: 700;
    color: #2b5caa;
    border-color: #2b5caa;
}

.research-main .research-more::after {
  content: "→";
  margin-left: 0.5rem;
  font-size: 1.25rem;
  font-weight: 400;
}

.research-main .research-panel::after {
  content: none;
}

@media (max-width: 860px) {
  .research-main .research-card,
  .research-main .research-card:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
  }

  .research-main .research-card:nth-child(even) .research-image {
    order: 0;
  }
}

/* news */
.news-section .wrap {
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
}

.news-section .board_swiper_list {
  width: 100%;
}

.news-section .board_box_blog {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: stretch;
}

.news-section .page-header {
  display: contents;
  margin-bottom: 30px;
}

.news-section .page-header h4 {
  order: 1;
  margin: 0 0 clamp(3rem, 6vw, 5rem);
  color: #111;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.news-section .page-header .pull-right {
  width: auto;
  border: 0;
  line-height: 1;
  text-decoration: none;
  height: auto;
  min-width: 0;
  padding: 0 0 0.25rem;
  border-bottom: 2px solid #fff;
  border-radius: 0;
  background: transparent;
  font-size: 1rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.034em;
  color: #fff;
  transition: all 0.2s ease;
}

.news-section .page-header .pull-right:hover {
    border-color: #bbe2ff;
    color: #bbe2ff;
}

.news-section .page-header .pull-right::after {
  content: "→";
  margin-left: 0.75rem;
}

.news-section .board_box_blog .table_blog {
  order: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  margin: 0;
  border-top: 0;
}

.news-section .board_box_blog .table_blog dd {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  border-bottom: 0;
}

.news-section .board_box_blog .table_blog .left a {
  display: block;
  overflow: hidden;
  background: #f3f4f5;
}

.news-section .board_box_blog .table_blog img.thumb {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  height: auto;
  object-fit: cover;
}

.news-section .board_box_blog .table_blog .right {
  min-width: 0;
  padding-right: 0;
}

.news-section .board_box_blog .table_blog .title a {
  display: block;
  overflow: hidden;
  color: var(--text-color);
  font-size: clamp(1.125rem, 1.7vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-section .board_box_blog .table_blog .info {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.85rem;
  color: var(--text-color-muted);
  font-size: 0.9rem;
  opacity: 1;
}

.news-section .board_box_blog .table_blog .hits {
  display: none;
}

.news-section .board_box_blog .table_blog .text {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 1rem;
  color: #4f565c;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-section .board_box_blog .table_blog .text p {
  margin: 0;
}

.news-section .type_swiper_s1 {
  padding-bottom: 0;
}

.news-section .type_swiper_s1 .swiper {
  overflow: visible;
}

.news-section .type_swiper_s1 .swiper-wrapper {
  display: flex;
  width: 100%;
  height: auto;
  flex-direction: column;
  transform: none !important;
}

.news-section .type_swiper_s1 .swiper-slide {
  width: 100% !important;
  height: auto;
  flex-shrink: 0;
}

.news-section .type_swiper_s1 .swiper-slide .inner {
  height: 100%;
  padding: 28px 0;
  border-top: 1px solid #e5e5e5;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background: #fff;
}

.news-section .type_swiper_s1 .swiper-slide:last-child .inner {
  border-bottom: 1px solid #e5e5e5;
}

.news-section .type_swiper_s1 .bottom[data-bottom="list"] {
  display: flex;
  align-items: center;
  gap: 24px;
}

.news-section .type_swiper_s1 .title {
  min-width: 0;
  flex: 1 1 auto;
}

.news-section .type_swiper_s1 .title a {
  display: block;
  color: #111;
  text-decoration: none;
}

.news-section .type_swiper_s1 .subject {
  display: block;
  overflow: hidden;
  color: #111;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-section .type_swiper_s1 .info {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
  margin-top: 0;
  color: #888;
  font-size: 14px;
}

.news-section .type_swiper_s1 .hits {
  display: none;
}

.news-section .swiper-indicators-wrap {
  display: none;
}

.news-section .swiper-button-prev,
.news-section .swiper-button-next {
  position: static;
  width: 36px;
  height: 36px;
  margin: 0;
}

.news-section .swiper-pagination {
  position: static;
  width: auto;
}

@media (max-width: 768px) {
  .news-section .page-header {
    margin-bottom: 24px;
  }

  .news-section .page-header h4 {
    font-size: 28px;
  }

  .news-section .type_swiper_s1 .swiper-slide .inner {
    padding: 22px 18px;
  }

  .news-section .type_swiper_s1 .bottom[data-bottom="list"] {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .news-section .type_swiper_s1 .subject {
    font-size: 18px;
  }

  .news-section .board_box_blog .table_blog {
    grid-template-columns: 1fr;
  }
}

/* Sub top */
.subpage {
  width: 100%;
}

.sub-top {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: var(--subpage-header-height);
  background: #24292d;
}

.sub-bg {
  position: absolute;
  inset: 0;
  background: var(--subpage-header-bg-url-1) center / cover no-repeat;
}

.sub-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(36, 41, 45, 0.78), rgba(36, 41, 45, 0.5));
}

.sub-title {
  position: absolute;
  z-index: 1;
  top: 46%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: calc(100% - 2rem);
  max-width: var(--container-max-width);
  color: #fff;
  text-align: center;
  transform: translate(-50%, -50%);
}

.sub-title h1 {
  margin: 0;
  color: #fff;
  font: var(--subpage-header-title-font);
  letter-spacing: -0.03em;
  padding-top: 6rem;
}

.sub-title p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font: var(--subpage-header-paragraph-font);
}

.sub-nav {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(14, 33, 50, 0.5);
  backdrop-filter: blur(10px);
}

.sub-nav ul {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  width: calc(100% - 2rem);
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  justify-content: center;
}

.sub-nav li {
  position: relative;
  flex: 0 0 25%;
  min-width: 0;
}

.field-page .sub-nav li {
  flex: 0 1 22.5rem;
}

.field-page .sub-nav ul {
  justify-content: center;
}

.sub-nav li + li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 1.125rem;
  background: rgba(255, 255, 255, 0.18);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.sub-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4rem;
  padding: 1.375rem 1rem;
  color: #fff !important;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  letter-spacing: -0.0125em;
}

.sub-nav li.is-active a {
  background: #fff;
  color: var(--primary-color-dark) !important;
  font-weight: 800;
}

@media (max-width: 767.98px) {
  .sub-top {
    min-height: 28rem;
  }

  .sub-title {
    top: 42%;
  }

  .sub-title h1 {
    font-size: clamp(2.75rem, 12vw, 4rem);
  }

  .sub-nav ul {
    width: 100%;
  }

  .sub-nav a {
    min-height: 3.5rem;
    padding: 1rem 0.75rem;
    font-size: 1rem;
  }
}

/* Member */
.member-page .sub-bg {
  background-image: var(--subpage-header-bg-url-2);
}

.research-page .sub-bg {
  background-image: var(--subpage-header-bg-url-3);
}

.publication-page .sub-bg {
  background-image: var(--subpage-header-bg-url-4);
}

#news01 .sub-bg {
  background-image: var(--subpage-header-bg-url-5);
}

.gallery-page .sub-bg {
  background-image: var(--subpage-header-bg-url-6);
}

:is([data-page-id="research02"], [data-page-id="research03"], [data-page-id="research04"], [data-page-id="research05"]) .sub-title h1 {
  padding-top: 7rem;
}

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 6rem);
  text-align: center;
  position: relative;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2.375rem, 5vw, 3.125rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045rem;
  color: #000;
}

.research-field-sub {
  padding-top: var(--subpage-section-padding-block);
}

.research-field-sub .research-image {
  display: block;
}

.field-detail-section {
  padding-block: var(--subpage-section-padding-block);
}

.field-detail-section .wrap {
  width: calc(100% - 3rem);
  max-width: var(--container-max-width);
  margin-inline: auto;
}

.field-detail-head {
  margin-bottom: 2rem;
  text-align: center;
}

.field-detail-head h2 {
  margin: 0;
  color: var(--text-color);
  font-size: clamp(2.375rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.field-nav {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.field-nav ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border: 1px solid rgba(15, 43, 83, 0.16);
  list-style: none;
}

.field-nav--overview ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.research-main .field-nav--overview,
.field-section .field-nav--overview,
.facility-section .field-nav--overview {
  /* width: calc(100% - 3rem); */
  max-width: var(--container-max-width);
  margin-inline: 0;
  margin: 0 auto 5rem;
}

.field-nav li + li {
  border-left: 1px solid rgba(15, 43, 83, 0.16);
}

.field-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4rem;
  padding: 1rem;
  color: var(--text-color);
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  background: #fff;
  color: #9b9b9b;
}

.field-nav li.is-active a {
  color: #1b4fa4;
  box-shadow: inset 0 0 0 1px #4879db;
}

.field-nav a:is(:hover, :focus) {
  color: var(--primary-color-dark);
  /* box-shadow: inset 0 0 0 1px var(--primary-color-dark); */
}

.field-detail-card {
  display: grid;
  grid-template-columns: minmax(20rem, 0.95fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 3rem);
  border: 1px solid rgba(15, 43, 83, 0.12);
  border-radius: var(--main-radius-lg);
  background: linear-gradient(135deg, rgba(245, 248, 255, 0.92), rgba(255, 255, 255, 1));
  box-shadow: 0 1.5rem 4rem rgba(13, 36, 72, 0.08);
}

.field-detail-visual {
  min-height: clamp(18rem, 30vw, 28rem);
  margin: 0;
  border-radius: var(--main-radius-md);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 1rem 2rem rgba(13, 36, 72, 0.14);
}

.field-detail-visual.is-memory {
  background-image: url("/public/img/main/research-topic01.jpg");
}

.field-detail-visual.is-device {
  background-image: url("/public/img/main/research-topic02.jpg");
}

.field-detail-visual.is-sensor {
  background-image: url("/public/img/main/research-topic03.jpg");
}

.field-detail-copy h3 {
  margin: 0 0 1.5rem;
  color: var(--primary-color-dark);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.06em;
}

.field-detail-copy ul {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  color: var(--text-color-light);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.65;
  list-style: none;
}

.field-detail-copy li {
  position: relative;
  padding-left: 1rem;
}

.field-detail-copy li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--primary-color);
}

.field-section {
  padding-block: var(--subpage-section-padding-block);
}

.field-section .wrap {
  width: calc(100% - 3rem);
  max-width: var(--container-max-width);
  margin-inline: auto;
}

.field-image-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.field-image-head p {
  margin: 0 0 0.6rem;
  color: var(--text-color);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  font-weight: 600;
}

.field-image-head h2 {
  margin: 0;
  color: var(--text-color);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.field-image-head mark {
  padding: 0 0.2rem;
  background: #fff200;
  color: inherit;
}

.field-figure {
  display: flex;
  justify-content: center;
  margin: 0;
}

.field-figure img {
  display: block;
  max-width: 100%;
  height: auto;
}

.facility-section {
  padding-block: var(--subpage-section-padding-block);
}

.facility-section .wrap {
  width: calc(100% - 3rem);
  max-width: var(--container-max-width);
  margin-inline: auto;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem 1.5rem;
}

.facility-card {
  overflow: hidden;
  /* border: 1px solid rgba(15, 43, 83, 0.12); */
  border-radius: var(--main-radius-lg);
  background: #fff;
  box-shadow: 0 1rem 3rem rgba(13, 36, 72, 0.06);
}

.card-wide {
  grid-column: span 2;
}

.facility-photo,
.photo-group {
  margin: 0;
}

.facility-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  /* background: linear-gradient(135deg, rgba(111, 118, 125, 0.12), rgba(63, 69, 74, 0.18)), var(--primary-color-light); */
}

.photo-empty {
    background: #eee;
    position: relative;
}

.photo-empty::before {
    content: '이미지 준비 중입니다';
    font-size: 1.25rem;
    letter-spacing: -0.034em;
    color: #c0c0c0;
    position: absolute;
    font-weight: 500;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.facility-photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.facility-info {
  padding: 1.6rem 1.5rem 1.8rem;
  display: flex;
  gap: 1.125rem;
  align-items: center;
}

.facility-info span {
  display: block;
  color: var(--primary-color);
  font-size: 1.25rem;
  font-weight: 900;
}

.facility-info h3 {
  margin: 0;
  color: var(--text-color);
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.publication-page .sub-bg {
  background-image: var(--subpage-header-bg-url-4);
}

.publication-section {
  padding-block: var(--subpage-section-padding-block);
}

.publication-page .publication-year-group {
  padding-top: 0 !important;
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem) !important;
}

.publication-page .publication-year-group + .publication-year-group {
  margin-top: 0;
}

.publication-page .publication-year-group:last-child {
  padding-bottom: 0 !important;
}

.publication-section .wrap {
  width: calc(100% - 3rem);
  max-width: var(--container-max-width);
  margin-inline: auto;
}

.publication-head {
  position: relative;
  margin-bottom: 6rem;
  text-align: left;
}

.publication-head h2 {
  margin: 0;
  color: var(--text-color);
  font-size: clamp(2.75rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.034em;
  text-align: center;
}

.publication-head .member-eyebrow {
  display: none;
}

.publication-year-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 1.7rem 0;
  border-top: 1px solid #333;
  border-bottom: 1px solid #ccc;
}

.publication-year-filter button {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: #bbb;
  font: 600 1.5rem / 1.35 var(--global-font-family);
  cursor: pointer;
  transition: color 0.2s ease;
  letter-spacing: -0.034em;
}

.publication-year-filter button:nth-child(1) {
    font-size: 1.25rem;
}

.publication-year-filter button:is(:hover, :focus, .is-active) {
  color: var(--text-color);
}

.publication-total {
  margin: 1.35rem 0 0;
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.6;
}

.publication-list {
  display: grid;
}

.publication-list > .publication-item:nth-child(1)::before,
.publication-list > .publication-item:nth-child(7)::before,
.publication-list > .publication-item:nth-child(10)::before,
.publication-list > .publication-item:nth-child(12)::before,
.publication-list > .publication-item:nth-child(14)::before,
.publication-list > .publication-item:nth-child(17)::before,
.publication-list > .publication-item:nth-child(19)::before,
.publication-list > .publication-item:nth-child(20)::before,
.publication-list > .publication-item:nth-child(22)::before,
.publication-list > .publication-item:nth-child(24)::before,
.publication-list > .publication-item:nth-child(26)::before,
.publication-list > .publication-item:nth-child(27)::before {
  grid-column: 1 / -1;
  display: block;
  margin-bottom: 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--text-color);
  color: #000;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 500;
  line-height: 1.25;
}

.publication-list > .publication-item:nth-child(1)::before {
  content: "2026";
}

.publication-list > .publication-item:nth-child(7)::before {
  content: "2025";
}

.publication-list > .publication-item:nth-child(10)::before {
  content: "2024";
}

.publication-list > .publication-item:nth-child(12)::before {
  content: "2023";
}

.publication-list > .publication-item:nth-child(14)::before {
  content: "2022";
}

.publication-list > .publication-item:nth-child(17)::before {
  content: "2021";
}

.publication-list > .publication-item:nth-child(19)::before {
  content: "2020";
}

.publication-list > .publication-item:nth-child(20)::before {
  content: "2019";
}

.publication-list > .publication-item:nth-child(22)::before {
  content: "2018";
}

.publication-list > .publication-item:nth-child(24)::before {
  content: "2017";
}

.publication-list > .publication-item:nth-child(26)::before {
  content: "2016";
}

.publication-list > .publication-item:nth-child(27)::before {
  content: "2013";
}

.publication-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.35rem;
  padding: clamp(1.5rem, 2.5vw, 2rem) 1.5rem;
  border-bottom: 1px solid #eee;
  background: #fff;
  box-shadow: none;
}

.publication-year-group[hidden] {
  display: none;
}

.publication-year-title {
  margin: 0;
  color: #000;
  font-size: clamp(1.45rem, 2.5vw, 2.625rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.034em;
  padding-left: 1.5rem;
  padding-bottom: 1rem;
}

.publication-year-title:first-child {
  padding-top: 4rem;
}

.publication-year-items {
  width: 100%;
}

.patent-list {
  width: 100%;
  border-top: 0;
  display: grid;
}

.patent-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.35rem;
  padding: clamp(1.5rem, 2.5vw, 2rem) 0;
  border-bottom: 1px solid #eee;
  padding: clamp(1.5rem, 2.5vw, 2rem) 1.5rem;
}

.patent-item:last-child, .publication-item:last-child {
    border-color: #bbb;
}

.patent-content {
  min-width: 0;
}

.patent-title {
  margin-bottom: 0.65rem;
  color: var(--text-color);
  font-size: clamp(1.35rem, 2vw, 1.375rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.025rem;
}

.patent-info {
  font-size: clamp(0.8125rem, 1.1vw, 0.9375rem);
  line-height: 1.65;
  color: #555;
}

.patent-info strong {
  font-weight: 700;
  color: #888;
}

.patent-note {
  margin-top: 0.25rem;
  color: var(--primary-color-dark);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.65;
}

.patent-note::before {
  content: "Note :";
  margin-right: 0.35rem;
  color: var(--text-color);
}

.patent-badges {
  display: none;
}

.patent-badges span {
  display: inline-flex;
  width: fit-content;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--primary-color-light);
  color: var(--primary-color-dark);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.publication-body h3 {
  margin: 0 0 0.65rem;
  color: var(--text-color);
  font-size: clamp(1.35rem, 2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.4;
}

.publication-authors,
.publication-journal {
  margin: 0;
  font-size: clamp(0.8125rem, 1.1vw, 0.9375rem);
  line-height: 1.6;
  color: #555;
}

.publication-journal {
  margin-top: 0;
  font-style: italic;
  font-weight: 400;
  color: #333;
}

.publication-doi {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.9rem;
  color: var(--primary-color-dark);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
  word-break: break-all;
}

.member-section {
  padding-block: var(--subpage-section-padding-block);
}

.member-section .wrap {
  width: calc(100% - 3rem);
  max-width: var(--container-max-width);
  margin-inline: auto;
}

.member-head {
  margin-bottom: 5rem;
  text-align: center;
}

.member-eyebrow {
  color: #000;
  font-size: clamp(0.875rem, 1vw, 1rem);
  font-weight: 400;
  /* text-transform: uppercase; */
  position: absolute;
  transform: translateX(-50%);
  top: -35px;
  letter-spacing: 0.1rem;
  display: none;
}

.member-head h2 {
  margin: 0;
  color: var(--text-color);
  font-size: clamp(2.375rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}

.professor-card {
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
}

.professor-profile {
  display: grid;
  grid-template-columns: 20rem minmax(0, 1fr);
  align-items: center;
  min-height: 20rem;
  padding: clamp(2rem, 4vw, 4rem) clamp(2rem, 5vw, 4.5rem);
  background: #f5f7f9;
  background-image: url(/public/img/sub/em.png);
  background-repeat: no-repeat;       /* 이미지가 바둑판처럼 반복되지 않도록 */
  background-position: right 40px bottom -40px;   /* 가로 방향은 오른쪽(right), 세로 방향은 가운데(center) */
  background-size: 240px;
  border-radius: 40px 20px 0 0;
}

.professor-photo {
  z-index: 1;
  overflow: hidden;
  width: 14rem;
  aspect-ratio: 3 / 4;
  margin: -7rem 0 0 0;
  background: #fff;
  box-shadow: 0 1rem 2.5rem rgba(63, 69, 74, 0.16);
  box-shadow: 0px 12px 30px 0px rgba(18, 26, 35, 0.2);
  border-radius: 5px;
}

.professor-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.professor-summary {
  min-width: 0;
}

.professor-summary h3 {
  margin: 0 0 0.75rem;
  color: #111;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.professor-summary h3 span {
  font-size: 0.75em;
  font-weight: 400;
}

.professor-role {
  margin: 0 0 1.75rem;
  color: #285398;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  font-weight: 800;
}

.professor-contact {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  color: #343052;
  font-size: clamp(0.92rem, 1.05vw, 1.0625rem);
  line-height: 1.65;
  list-style: none;
  letter-spacing: -0.015em;
}

.professor-contact a {
  color: inherit;
  text-decoration: none;
}

.professor-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(63, 69, 74, 0.18);
  border-top: 0;
}

.professor-tabs button {
  min-height: 3.75rem;
  padding: 0.75rem 1rem;
  border: 0;
  border-left: 1px solid rgba(63, 69, 74, 0.18);
  background: #fff;
  color: #777;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  border-top: 1px solid #ddd;
}

.professor-tabs button:first-child {
  border-left: 0;
}

.professor-tabs button.is-active {
  background: #285398;
  color: #fff;
}

.professor-tab-panels {
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
}

.professor-tab-panels section {
  padding-bottom: 0px !important;
  padding-top: 5rem;
}

.professor-tab-panel[hidden] {
  display: none;
}

.professor-tab-panel h3 {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.5rem;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.member-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.member-info-card,
.member-list-panel {
  padding: clamp(1.75rem, 3vw, 3rem);
  border: 1px solid rgba(15, 43, 83, 0.12);
  border-radius: var(--main-radius-lg);
  background: #fff;
  box-shadow: 0 1rem 3rem rgba(13, 36, 72, 0.06);
}

.member-info-card-wide {
  grid-column: 1 / -1;
}

.member-info-card h3,
.member-list-panel h3 {
  margin: 0 0 1.75rem;
  color: var(--text-color);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.member-list-panel {
  text-align: center;
}

.member-history {
  display: grid;
  gap: 1.5rem;
}

.member-history article {
  position: relative;
  padding-left: 0.9625rem;
}

.member-history article::before {
  content: "";
  position: absolute;
  top: 0.75rem;
  left: 0;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 999px;
  background: #333;
}

.member-history time {
  display: block;
  margin-bottom: 0.4rem;
  color: #333;
  font-weight: 900;
  font-size: 1.25rem;
}

.member-history p,
.member-list-panel p {
  margin: 0;
  color: var(--text-color-light);
  font-size: clamp(0.95rem, 1.15vw, 1.0625rem);
  line-height: 1.8;
}

.member-history .member-note {
  margin-top: 0.35rem;
  color: rgba(49, 57, 68, 0.72);
}

.student-section {
  padding: 0px !important;
}

.student-section > h3 {
  margin: 0 0 1rem;
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.student-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem 2rem;
}

.student-card {
  display: grid;
  grid-template-columns: 13.75rem minmax(0, 1fr);
  min-height: 15rem;
  overflow: hidden;
  /* border: 1px solid rgba(15, 43, 83, 0.1); */
  background: linear-gradient(135deg, rgb(251 252 255 / 78%), rgb(243 246 247));
  gap: 3rem;
}

.student-photo {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  /* background: linear-gradient(135deg, rgba(111, 118, 125, 0.12), rgba(63, 69, 74, 0.18)), var(--primary-color-light); */
}

.student-photo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  height: 300px;
}

.student-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(1.25rem, 2vw, 1.75rem) 0;
}

.student-info h4 {
  margin: 0 0 1rem;
  color: var(--text-color);
  font-size: clamp(1.25rem, 1.6vw, 1.625rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.student-info dl {
  display: grid;
  gap: 0.45rem;
  margin: 0;
}

.student-info dt {
  color: #285398;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.student-info dd {
  margin: 0 0 0.65rem;
  color: var(--text-color-light);
  font-size: 0.9375rem;
  line-height: 1.65;
  padding-right: 1.75rem;
}

.student-info dd:last-child {
  margin-bottom: 0;
}

.student-info a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 991px) {
  .facility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-nav ul,
  .field-detail-card {
    grid-template-columns: 1fr;
  }

  .field-nav li + li {
    border-top: 1px solid rgba(15, 43, 83, 0.16);
    border-left: 0;
  }

  .member-info-grid {
    grid-template-columns: 1fr;
  }

  .professor-profile {
    grid-template-columns: 10.5rem minmax(0, 1fr);
  }

  .professor-tabs {
    overflow-x: auto;
    grid-template-columns: repeat(3, minmax(10rem, 1fr));
  }

  .student-grid {
    grid-template-columns: 1fr;
  }

  .professor-photo {
    margin-top: 0;
  }
}

@media (max-width: 575px) {
  .publication-section .wrap {
    width: calc(100% - 2rem);
  }

  .publication-year-filter {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem 0.5rem;
    justify-content: stretch;
    align-items: center;
    padding: 1.25rem 0;
  }

  .publication-year-filter button,
  .publication-year-filter button:nth-child(1) {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    min-height: 1.875rem;
    font-size: clamp(1.0625rem, 5.2vw, 1.375rem);
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
  }

  .publication-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
  }

  .patent-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
  }

  .patent-badges {
    display: none;
  }

  .member-section .wrap {
    width: calc(100% - 2rem);
  }

  .professor-profile {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .professor-photo {
    width: min(12rem, 100%);
  }

  .student-section {
    padding: 1.25rem;
  }

  .student-card {
    grid-template-columns: 1fr;
  }

  .student-photo {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .facility-section .wrap {
    width: calc(100% - 2rem);
  }

  .facility-grid,
  .photo-group {
    grid-template-columns: 1fr;
  }

  .card-wide {
    grid-column: auto;
  }
}

/* Board reset */
.board-page .board-section {
  background: #fff;
}

.board-page .board-section .wrap {
  width: calc(100% - 3rem);
  max-width: var(--container-max-width);
  margin-inline: auto;
}

.board-page .board-section {
  /* padding-bottom: 0px !important; */
}

.board-head {
  margin-bottom: 6rem;
}

.board-head h2 {
  margin: 0;
  color: var(--text-color);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
}

.board-content-box,
.board-content-wrap,
.board-page #bbsArea {
  width: 100%;
}

#bbsArea,
#site .board_wrapper,
#site .pagination_wrap,
#site .search_wrap {
  position: relative;
}

#site .container > .board_wrapper,
#site .container > .pagination_wrap,
#site .container > .search_wrap {
  width: calc(100% - 3rem);
  max-width: var(--container-max-width);
  margin-inline: auto;
}

.sub-top ~ :is(#bbsArea, .board_wrapper) {
  margin-top: clamp(3rem, 6vw, 5rem);
}

.sub-top ~ #bbsArea > .board_wrapper:first-child {
  margin-top: 0;
}

#bbsArea :is(.board_wrapper, .pagination_wrap, .search_wrap),
#site .container > :is(.board_wrapper, .pagination_wrap, .search_wrap) {
  display: block;
  /* margin-top: 0; */
}

#bbsArea .board_wrapper + .search_wrap,
#site .container > .board_wrapper + .search_wrap,
.board-page #bbsArea .board_wrapper + .search_wrap {
  /* margin-top: 80px; */
  /* margin-bottom: 80px; */
}

#bbsArea .board_wrapper + .pagination_wrap,
#site .container > .board_wrapper + .pagination_wrap {
  margin-block: 3.125rem;
}

#bbsArea .pagination_wrap + .search_wrap,
#site .container > .pagination_wrap + .search_wrap {
  margin-top: 0;
}

#bbsArea .pagination_wrap ul,
#site .container > .pagination_wrap ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4375rem;
}

#bbsArea .pagination_wrap li a,
#site .container > .pagination_wrap li a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2rem;
  aspect-ratio: 1;
  border-radius: 9999px;
  font-size: 0.9375rem;
}

#bbsArea .pagination_wrap li:not(.active) a:hover,
#site .container > .pagination_wrap li:not(.active) a:hover {
  background-color: #eee;
}

#bbsArea .pagination_wrap li.active a,
#site .container > .pagination_wrap li.active a {
  width: 1.75rem;
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 700;
}

#bbsArea .pagination_wrap .box a,
#site .container > .pagination_wrap .box a {
  border: 1px solid #ccc;
  border-radius: 0.25rem;
}

#bbsArea .search_wrap,
#site .container > .search_wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.3125rem;
  margin-bottom: 0;
}

#bbsArea .search_wrap #search_kind,
#site .container > .search_wrap #search_kind {
  cursor: pointer;
  line-height: 1;
}

#bbsArea .search_wrap .btn {
  border-radius: 0;
}

#bbsArea .search_wrap .write_btn_wrap,
#site .container > .search_wrap .write_btn_wrap {
  margin-top: 0;
  margin-left: 0.5rem;
}

#bbsArea .write_btn_wrap {
  position: absolute;
  right: 0;
  bottom: 0;
}

#bbsArea .btn-lg {
  width: 12.5rem;
}

#bbsArea .badge,
#site .container > .board_wrapper .badge {
  display: inline-flex;
  margin-block: -0.1875rem;
  margin-right: 0;
  background: transparent;
  color: #777;
  font-size: 14px;
  font-weight: 400;
}

#bbsArea .option_wrap,
#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .option_wrap {
  display: flex;
  justify-content: space-between;
  margin-top: 1.875rem;
}

#bbsArea .option_wrap .list_btn_wrap,
#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .option_wrap .list_btn_wrap {
  position: static;
}

#bbsArea .board_data_view,
#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .board_data_view {
  border-top: 1px solid #333;
  border-bottom: 1px solid #aaa;
}

#bbsArea .header_wrap,
#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .header_wrap {
  padding: 2.5rem var(--container-padding-inline) 2.5rem;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

#bbsArea .header_wrap .title,
#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .header_wrap .title {
  margin: 0;
  color: #333;
  font-size: 1.75rem;
  font-weight: 700;
}

#bbsArea .header_wrap .info,
#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .header_wrap .info {
  margin-top: 1.5rem;
  opacity: 0.7;
}

#bbsArea .header_wrap .info span,
#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .header_wrap .info span {
  color: #000;
  font-size: 0.9375rem;
}

#bbsArea .header_wrap .info span + span,
#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .header_wrap .info span + span {
  margin-left: 0.5625rem;
}

#bbsArea .header_wrap strong,
#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .header_wrap strong {
  color: #000;
  font-weight: 600;
}

#bbsArea .contents_wrap,
#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .contents_wrap {
  padding: 3.125rem 0;
}

#bbsArea .contents_inner,
#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .contents_inner {
  color: var(--text-color);
  font-size: 0.875rem;
  line-height: 1.6;
}

#bbsArea .contents_inner img,
#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .contents_inner img {
  max-width: 100%;
  height: auto;
}

#bbsArea .contents_inner p,
#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .contents_inner p {
  margin: 1em 0;
  font-size: inherit;
  line-height: 1.6;
}

#bbsArea .contents_inner a,
#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .contents_inner a {
  color: #337ab7;
}

#bbsArea .contents_inner a:hover,
#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) .contents_inner a:hover {
  color: #1b5a92;
  text-decoration: underline;
}

#bbsArea :is(.download_wrap, .status_wrap),
#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) :is(.download_wrap, .status_wrap) {
  padding: 0.9375rem;
  border-top: 1px solid #ddd;
  background: transparent;
}

#bbsArea :is(.download_wrap, .status_wrap) th,
#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) :is(.download_wrap, .status_wrap) th {
  width: 6.25rem;
  text-align: left;
  vertical-align: top;
}

#bbsArea :is(.download_wrap, .status_wrap) ul,
#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) :is(.download_wrap, .status_wrap) ul {
  display: flex;
  flex-direction: column;
  gap: 0.3125rem 0.625rem;
  flex-wrap: wrap;
}

#bbsArea :is(.download_wrap, .status_wrap) a,
#site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) :is(.download_wrap, .status_wrap) a {
  color: #000;
}

#bbsArea :is(.board_list_list, .board_status_list, .cs_bd_wrapper) .table_default,
#site .container > :is(.board_list_list, .board_status_list, .cs_bd_wrapper) .table_default {
  width: 100%;
  margin-bottom: 0;
  border: 0;
  border-spacing: 0;
  border-top: 1px solid #333;
}

#bbsArea :is(.board_list_list, .board_status_list, .cs_bd_wrapper) .table_default thead th,
#site .container > :is(.board_list_list, .board_status_list, .cs_bd_wrapper) .table_default thead th {
  border-bottom: 1px solid #ccc;
  background: #fff;
  color: #222;
  text-align: center;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
}

#bbsArea :is(.board_list_list, .board_status_list, .cs_bd_wrapper) :is(th, td),
#site .container > :is(.board_list_list, .board_status_list, .cs_bd_wrapper) :is(th, td) {
  padding: 20px 15px;
  border-bottom: 1px solid #eaeaea;
  color: #777;
  text-align: center;
  font-size: clamp(0.9375rem, 3vw, 1.0625rem);
  font-weight: 400;
  line-height: 1.4;
}

#bbsArea :is(.board_list_list, .board_status_list, .cs_bd_wrapper) td.subject,
#site .container > :is(.board_list_list, .board_status_list, .cs_bd_wrapper) td.subject {
  text-align: left;
}

#bbsArea :is(.board_list_list, .board_status_list, .cs_bd_wrapper) .subject a,
#site .container > :is(.board_list_list, .board_status_list, .cs_bd_wrapper) .subject a {
  display: -webkit-box;
  overflow: hidden;
  color: #222;
  font-size: clamp(0.9375rem, 3vw, 1.125rem);
  font-weight: 500;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

#bbsArea .table_blog,
#site .container > .board_blog_list .table_blog {
  margin: 0;
  border-top: 2px solid #333;
}

#bbsArea .table_blog dd,
#site .container > .board_blog_list .table_blog dd {
  display: grid;
  grid-template-columns: minmax(0, 18.75rem) minmax(0, 1fr);
  gap: 4rem;
  align-items: flex-start;
  padding-block: 2.5rem;
  border-bottom: 1px solid #ddd;
}

#bbsArea .table_blog .right,
#site .container > .board_blog_list .table_blog .right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  min-width: 0;
  padding-right: 1.875rem;
  padding-top: 1rem;
}

#bbsArea .table_blog .right a,
#site .container > .board_blog_list .table_blog .right a {
  display: -webkit-box;
  overflow: hidden;
  width: 100%;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

#bbsArea .table_blog .right .text,
#site .container > .board_blog_list .table_blog .right .text {
  display: -webkit-box;
  overflow: hidden;
  width: 100%;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

#bbsArea .table_blog .info,
#site .container > .board_blog_list .table_blog .info {
  display: none;
}

#bbsArea :is(.table_video, .table_blog, .table_blog2, .table_pd) a span.thumb,
#site .container > .board_wrapper :is(.table_video, .table_blog, .table_blog2, .table_pd) a span.thumb {
  display: none;
}

#bbsArea :is(.table_video, .table_blog, .table_blog2, .table_pd) a span.thumb + img.thumb,
#site .container > .board_wrapper :is(.table_video, .table_blog, .table_blog2, .table_pd) a span.thumb + img.thumb {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  height: auto;
  object-fit: cover;
  background-color: #ccc;
  transition: transform 0.35s ease;
}

/* Gallery board */
#gallery01.board_blog2_list {
  width: calc(100% - 3rem);
  max-width: var(--container-max-width);
  margin-inline: auto;
}

#gallery01 .table_blog2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0;
  padding-bottom: clamp(2rem, 4vw, 2.5rem);
  /* border-top: 2px solid #222; */
}

#gallery01 .table_blog2::before,
#gallery01 .table_blog2::after {
  content: none;
}

#gallery01 .table_blog2 > dd {
  width: 100%;
  padding: 0;
  margin: 0;
}

#gallery01 .inner {
  height: 100%;
  /* background: #fff; */
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

#gallery01 .inner:is(:hover, :focus-within) {
  transform: translateY(-0.35rem);
  /* box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.08); */
}

#gallery01 .top {
  overflow: hidden;
  background: #f3f4f5;
}

#gallery01 .top a {
  display: block;
  width: 100%;
}

#gallery01 .top img.thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.35s ease;
}

#gallery01 .inner:is(:hover, :focus-within) .top img.thumb {
  transform: scale(1.04);
}

#gallery01 .bottom {
  display: flex;
  min-height: 8rem;
  flex-direction: column;
  padding: 1.35rem 0;
  margin-top: 0;
}

#gallery01 .title {
  padding: 0;
}

#gallery01 .title a {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text-color);
  font-size: clamp(1.05rem, 1.4vw, 1.375rem);
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #333;
}

#gallery01 .info {
  display: flex;
  gap: 0.75rem;
  color: #909090;
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 1;
}

#gallery01 .info .writer,
#gallery01 .info .hits {
  display: none;
}

.board_wrapper.board_blog2_view {
  width: calc(100% - 3rem);
  max-width: var(--container-max-width);
  margin: clamp(3rem, 6vw, 5rem) auto;
  color: var(--text-color);
}

.board_wrapper.board_blog2_view .board_data_view {
  overflow: hidden;
  border-top: 2px solid var(--text-color);
  border-bottom: 1px solid rgba(63, 69, 74, 0.18);
  background: #fff;
}

.board_wrapper.board_blog2_view .header_wrap {
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(63, 69, 74, 0.16);
  text-align: center;
}

.board_wrapper.board_blog2_view .header_wrap .title {
  margin: 0;
  color: var(--text-color);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
}

.board_wrapper.board_blog2_view .header_wrap .info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1rem;
  color: var(--text-color-muted);
  font-size: 0.9375rem;
  opacity: 1;
}

.board_wrapper.board_blog2_view .contents_wrap {
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem);
}

.board_wrapper.board_blog2_view .contents_inner {
  min-height: 12rem;
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.8;
}

.board_wrapper.board_blog2_view .option_wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.board_wrapper.board_blog2_view :is(.btn_wrap, .list_btn_wrap) {
  display: flex;
  gap: 0.5rem;
}

.board_wrapper.board_blog2_view .btn {
  display: inline-flex;
  min-width: 4.5rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 0.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
}

.board_wrapper.board_blog2_view .btn-dark {
  border-color: var(--text-color);
  background: var(--text-color);
  color: #fff;
}

@media (max-width: 991.98px) {
  #gallery01 .table_blog2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  #gallery01.board_blog2_list {
    width: calc(100% - 2rem);
  }

  #gallery01 .table_blog2 {
    grid-template-columns: 1fr;
  }
}

#bbsArea .table.board_write_table,
#site .container > .board_wrapper .table.board_write_table {
  border-top: 1px solid #333;
  border-collapse: inherit;
}

#bbsArea .table.board_write_table tbody td,
#site .container > .board_wrapper .table.board_write_table tbody td {
  border: 0;
}

#bbsArea .board_wrapper[class*="_write"],
#site .container > .board_wrapper[class*="_write"] {
  /* padding-bottom: clamp(3rem, 6vw, 5rem); */
}

#bbsArea .board_wrapper[class*="_write"] .text-center,
#site .container > .board_wrapper[class*="_write"] .text-center {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  #site .container > .board_wrapper,
  #site .container > .pagination_wrap,
  #site .container > .search_wrap {
    width: calc(100% - 2rem);
  }

  #bbsArea .search_wrap,
  #site .container > .search_wrap {
    max-width: 300px;
    flex-direction: column;
    margin-inline: auto;
  }

  #bbsArea .search_wrap .write_btn_wrap,
  #site .container > .search_wrap .write_btn_wrap {
    position: static;
    display: flex;
    width: 100%;
    gap: 0.3125rem;
    margin-left: 0;
  }

  #bbsArea .search_wrap .write_btn_wrap > .btn,
  #site .container > .search_wrap .write_btn_wrap > .btn,
  #bbsArea .search_wrap .form-control,
  #site .container > .search_wrap .form-control {
    width: 100%;
    min-width: auto;
    max-width: 100% !important;
    flex: 1;
  }

  #bbsArea :is(.board_list_list, .board_status_list, .cs_bd_wrapper) :is(colgroup, .num, .regdate, .hits, .writer),
  #site .container > :is(.board_list_list, .board_status_list, .cs_bd_wrapper) :is(colgroup, .num, .regdate, .hits, .writer) {
    display: none;
  }

  #bbsArea .table_blog dd,
  #site .container > .board_blog_list .table_blog dd {
    display: flex;
    flex-direction: column;
    gap: 0px;
  }

  #bbsArea .table_blog .right,
  #site .container > .board_blog_list .table_blog .right {
    padding-right: 0;
  }

  #bbsArea :is(.download_wrap, .status_wrap) tr,
  #site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) :is(.download_wrap, .status_wrap) tr {
    display: flex;
    flex-direction: column;
  }

  #bbsArea :is(.download_wrap, .status_wrap) tr > *,
  #site .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view) :is(.download_wrap, .status_wrap) tr > * {
    width: 100%;
  }
}

/* Main updates board */
.news-section {
  background: linear-gradient(rgb(187 224 196 / 0%), rgb(39 71 131 / 45%)), url(/public/img/main/research-bg.jpg) center / cover no-repeat;
  /* background: #f9f9f9; */
  padding: 7rem 0 7rem;
}

.news-section .board_box_blog {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: stretch;
}

.news-section .board_box_blog .page-header {
  display: contents;
}

.news-section .board_box_blog .page-header h4 {
  order: 1;
  margin: 0 0 6rem;
  color: #111;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.news-section .board_box_blog .table_blog {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  /* max-width: 1030px; */
  /* margin: clamp(3.5rem, 6vw, 5.5rem) auto 0; */
  border-top: 1px solid rgba(63, 69, 74, 0.18);
  border-bottom: 1px solid rgba(63, 69, 74, 0.18);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(2px);
  box-shadow: 6px 8px 30px 0px rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}

.news-section .board_box_blog .table_blog dd {
  display: grid;
  grid-template-columns: minmax(7.5rem, 15rem) minmax(0, 1fr);
  min-width: 0;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin: 0;
  padding: clamp(1.75rem, 3vw, 2.25rem) clamp(1.25rem, 4vw, 2.25rem);
  /* box-shadow: 6px 8px 30px 0px rgba(0, 0, 0, 0.05); */
  border-bottom: 1px solid #fff;
}

.news-section .board_box_blog .table_blog dd:last-child {
  border-bottom: 0;
}

.news-section .board_box_blog .table_blog .left,
.news-section .board_box_blog .table_blog .left a {
  display: block;
  width: 100%;
}

.news-section .board_box_blog .table_blog .left a {
  overflow: hidden;
  aspect-ratio: 5 / 3;
  background: #f3f4f5;
}

.news-section .board_box_blog .table_blog a span.thumb {
  display: none;
}

.news-section .board_box_blog .table_blog img.thumb {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  transform: scale(1);
  transform-origin: center;
  transition: transform 0.35s ease;
}

.news-section .board_box_blog .table_blog .right {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding-right: 0;
}

.news-section .board_box_blog .table_blog .title {
  width: 100%;
  align-items: flex-start;
}

.news-section .board_box_blog .table_blog .title a {
  display: block;
  overflow: hidden;
  width: 100%;
  color: #333;
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-section .board_box_blog .table_blog .info {
  display: flex;
  order: 3;
  gap: 0.75rem;
  margin-top: 1.35rem;
  color: #a0a0a0;
  font-size: 0.9rem;
  opacity: 1;
}

.news-section .board_box_blog .table_blog .writer,
.news-section .board_box_blog .table_blog .hits {
  display: none;
}

.news-section .board_box_blog .table_blog .text {
  display: -webkit-box;
  overflow: hidden;
  width: 100%;
  margin-top: 1rem;
  color: #777;
  font-size: 1rem;
  line-height: 1.65;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-section .board_box_blog .table_blog .text p {
  margin: 0;
}

.news-section .board_box_blog .page-header .pull-right {
  order: 3;
  display: inline-flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 2rem);
}

@media (max-width: 900px) {
  .news-section .board_box_blog .table_blog {
    max-width: 100%;
  }

  .news-section .board_box_blog .table_blog dd {
    grid-template-columns: minmax(6rem, 9rem) minmax(0, 1fr);
  }
}

@media (max-width: 575px) {
  .news-section .board_box_blog .table_blog dd {
    grid-template-columns: 1fr;
  }
}

.news-section .board_box_blog .table_blog dd,
.publication-item,
.patent-item,
.field-nav a,
.publication-year-filter button,
.professor-tabs button {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .news-section .board_box_blog .table_blog dd:is(:hover, :focus-within),
  .mainpage .type_thumb .inner:is(:hover, :focus-within),
  .publication-item:hover,
  .patent-item:hover,
  .professor-card:hover {
    /* transform: translateY(-0.35rem); */
    background: #f5f7f9;
  }


  .research-main .research-card:is(:hover, :focus-within) .research-image,
  .mainpage .type_thumb .inner:is(:hover, :focus-within) .thumb,
  .mainpage .type_swiper_s1 .swiper-slide .top:is(:hover, :focus-within) .thumb,
  #bbsArea .table_blog dd:is(:hover, :focus-within) img.thumb,
  #site .container > .board_wrapper.board_blog_list .table_blog dd:is(:hover, :focus-within) img.thumb {
    transform: scale(1.04);
  }

  .news-section .board_box_blog .table_blog dd:is(:hover, :focus-within) .left a img.thumb,
  .news-section .board_box_blog .table_blog .left a:is(:hover, :focus-within) img.thumb,
  .professor-card:hover .professor-photo img {
    /* transform: scale(1.02); */
  }
}

/* Facility board layout */
.facility-page .facility-section .section-head {
  margin-bottom: clamp(1.5rem, 4vw, 4.5rem);
}

.facility-page:has(.board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view, [class*="_write"])) .facility-section .section-head,
.facility-page:has(+ .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view, [class*="_write"])) .facility-section .section-head {
  display: none;
}

/* .facility-page:has(.board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view, [class*="_write"])) .facility-section,
.facility-page:has(+ .board_wrapper:is(.board_list_view, .board_blog_view, .board_blog2_view, [class*="_write"])) .facility-section {
  padding:
} */

.facility-page .facility-section .wrap > .board_wrapper,
.facility-page .facility-section .wrap > .pagination_wrap,
.facility-page .facility-section .wrap > .search_wrap {
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
}

.facility-page .facility-section .wrap > .board_wrapper {
  margin-top: 0;
}

#site form[enctype="multipart/form-data"] .board_write_table tbody tr:first-child > * {
  border-top: 1px solid #ccc;
}

.facility-page .facility-section .wrap > .board_wrapper + .pagination_wrap {
  margin-block: 3.125rem;
}

.facility-page .facility-section .wrap > .pagination_wrap + .search_wrap {
  margin-top: 0;
}

.facility-page .facility-section .wrap > .pagination_wrap ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4375rem;
  margin: 0;
  padding: 0;
}

.facility-page .facility-section .wrap > .pagination_wrap li a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2rem;
  aspect-ratio: 1;
  border-radius: 9999px;
  font-size: 0.9375rem;
}

.facility-page .facility-section .wrap > .pagination_wrap li:not(.active) a:hover {
  background-color: #eee;
}

.facility-page .facility-section .wrap > .pagination_wrap li.active a {
  width: 1.75rem;
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 700;
}

.facility-page .facility-section .wrap > .pagination_wrap .box a {
  border: 1px solid #ccc;
  border-radius: 0.25rem;
}

.facility-page .facility-section .wrap > .search_wrap {
  display: flex;
  position: relative;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.3125rem;
  margin-bottom: 0;
}

.facility-page .facility-section .wrap > .search_wrap #search_kind {
  cursor: pointer;
  line-height: 1;
}

.facility-page .facility-section .wrap > .search_wrap .btn {
  border-radius: 0;
}

.facility-page .facility-section .wrap > .search_wrap .write_btn_wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  margin-top: 0;
  margin-left: 0.5rem;
}

.facility-page .facility-section .wrap > .board_wrapper.board_blog2_list .table_blog2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem 1.5rem;
  margin: 0;
}

.facility-page .facility-section .wrap > .board_wrapper.board_blog2_list .table_blog2 > dd {
  width: auto;
  max-width: none;
  padding: 0;
}

.facility-page .facility-section .wrap > .board_wrapper.board_blog2_list .table_blog2 > dd .inner {
  overflow: hidden;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 1rem 3rem rgba(13, 36, 72, 0.06);
}

.facility-page .facility-section .wrap > .board_wrapper.board_blog2_list .table_blog2 > dd .top {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f5f7f9;
}

.facility-page .facility-section .wrap > .board_wrapper.board_blog2_list .table_blog2 > dd .top a {
  display: block;
  width: 100%;
  height: 100%;
}

.facility-page .facility-section .wrap > .board_wrapper.board_blog2_list .table_blog2 > dd .top span.thumb {
  display: none;
}

.facility-page .facility-section .wrap > .board_wrapper.board_blog2_list .table_blog2 > dd .top img.thumb {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.facility-page .facility-section .wrap > .board_wrapper.board_blog2_list .table_blog2 > dd .bottom {
  display: flex;
  align-items: center;
  gap: 1.125rem;
  min-height: 5.75rem;
  padding: 1.6rem 1.5rem 1.8rem;
}

.facility-page .facility-section .wrap > .board_wrapper.board_blog2_list .table_blog2 > dd .blog2_num {
  display: flex !important;
  flex: 0 0 auto;
  width: 1.75rem;
  color: #6f767d;
  font-size: 1.25rem;
  align-items: center;
  justify-content: flex-start;
  font-weight: 900;
  line-height: 1;
}

.facility-page .facility-section .wrap > .board_wrapper.board_blog2_list .table_blog2 > dd .title {
  min-width: 0;
}

.facility-page .facility-section .wrap > .board_wrapper.board_blog2_list .table_blog2 > dd .title a {
  color: var(--text-color);
  text-decoration: none;
}

.facility-page .facility-section .wrap > .board_wrapper.board_blog2_list .table_blog2 > dd .title span {
  display: block;
  margin: 0;
  color: var(--text-color);
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.facility-page .facility-section .wrap > .board_wrapper.board_blog2_list .table_blog2 > dd .info {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .facility-page .facility-section .wrap > .board_wrapper.board_blog2_list .table_blog2 > dd .inner:is(:hover, :focus-within) img.thumb {
    transform: scale(1.04);
  }
}

@media (max-width: 991px) {
  .facility-page .facility-section .wrap > .board_wrapper.board_blog2_list .table_blog2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1rem;
  }
}

@media (max-width: 575px) {
  .facility-page .facility-section .section-head {
    margin-bottom: 1.5rem;
  }

  .facility-page .facility-section .wrap > .board_wrapper.board_blog2_list .table_blog2 {
    grid-template-columns: 1fr;
  }

  .facility-page .facility-section .wrap > .search_wrap {
    max-width: 300px;
    flex-direction: column;
    margin-inline: auto;
  }

  .facility-page .facility-section .wrap > .search_wrap .write_btn_wrap {
    position: static;
    display: flex;
    width: 100%;
    gap: 0.3125rem;
    margin-left: 0;
  }

  .facility-page .facility-section .wrap > .search_wrap .write_btn_wrap > .btn,
  .facility-page .facility-section .wrap > .search_wrap .form-control {
    width: 100%;
    min-width: auto;
    max-width: 100% !important;
    flex: 1;
  }
}

/* Professor page: show all panels at once */
.member-professor[data-page-id="member01"] .professor-tab-panels {
  display: grid;
  gap: clamp(3rem, 5vw, 5rem);
  margin-top: clamp(3rem, 5vw, 5rem);
}

.member-professor[data-page-id="member01"] .professor-tab-panels section {
  padding-top: 0;
  padding-bottom: 0 !important;
}

/* Responsive stabilization */
html,
body {
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
}

@media (max-width: 991.98px) {
  :root {
    --container-padding-inline: 1.5rem;
    --swiper-caption-header-font: 700 clamp(2.75rem, 8vw, 4rem) / 1.15 var(--global-font-family);
    --swiper-caption-paragraph-font: 400 clamp(1.25rem, 4vw, 2rem) / 1.45 var(--global-font-family);
    --swiper-caption-header-margin-block: 0 0 1rem;
    --swiper-caption-paragraph-margin-block: 1rem 0 0;
    --subpage-section-padding-block: 5.5rem;
    --subpage-header-height: 26rem;
    --subpage-header-title-font: 700 clamp(2.25rem, 7vw, 3.25rem) / 1.25 var(--global-font-family);
    --subpage-header-paragraph-font: 400 clamp(1rem, 3vw, 1.25rem) / 1.55 var(--global-font-family);
  }

  .navbar .container,
  .wrap,
  .subpage-content .wrap,
  .board-page .board-section .wrap,
  .facility-section .wrap,
  .member-section .wrap,
  .publication-section .wrap,
  .news-section .wrap {
    width: min(100% - 3rem, var(--container-max-width));
    max-width: var(--container-max-width);
  }

  .research-main {
    padding-block: 5.5rem 6.5rem;
    padding-inline: var(--container-padding-inline);
  }

  .research-main .section-head,
  .research-main .research-list {
    width: 100%;
    max-width: var(--container-max-width);
    margin-inline: auto;
  }

  .news-section .board_box_blog .table_blog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  :root {
    --container-padding-inline: 1.125rem;
    --navbar-height: 4.25rem;
    --navbar-logo-width: clamp(7.5rem, 34vw, 10rem);
    --swiper-caption-header-font: 700 clamp(2rem, 10vw, 3rem) / 1.12 var(--global-font-family);
    --swiper-caption-paragraph-font: 400 clamp(1rem, 4.5vw, 1.35rem) / 1.45 var(--global-font-family);
    --swiper-caption-header-margin-block: 0 0 0.875rem;
    --swiper-caption-paragraph-margin-block: 0.875rem 0 0;
    --swiper-caption-margin-block: 0;
    --subpage-section-padding-block: 4rem;
    --subpage-header-height: 21rem;
    --subpage-header-title-font: 700 clamp(2rem, 8vw, 2.75rem) / 1.2 var(--global-font-family);
  }

  .navbar {
    min-height: var(--navbar-height);
    overflow: visible;
    background-color: #fff;
    border-bottom-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.06);
    animation: none;
  }

  .navbar .container {
    width: 100%;
    padding-inline: var(--container-padding-inline);
  }

  .navbar .navbar-header > .navbar-toggle,
  .navbar .navbar-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    color: #111;
    line-height: 1;
  }

  .navbar .navbar-toggle::before {
    display: block;
    color: currentColor;
    line-height: 1;
  }

  .navbar .navbar-brand img {
    width: var(--navbar-logo-width);
    filter: none !important;
  }

  .navbar .navbar-collapse {
    z-index: 5001;
    overflow: hidden;
    top: var(--navbar-height);
    max-height: 0;
    background-color: #fff;
    box-shadow: 0 1rem 1.75rem rgba(15, 23, 42, 0.12);
  }

  .navbar .navbar-collapse.open {
    max-height: calc(100vh - var(--navbar-height));
    overflow-y: auto;
  }

  .navbar .navbar-collapse .navbar-right {
    max-height: calc(100vh - var(--navbar-height));
  }

  .navbar .navbar-collapse .navbar-right > li > a {
    min-height: 3.5rem;
    color: #222;
    font-size: 1rem;
    font-weight: 600;
  }

  .navbar .dropdown .dropdown-menu {
    background-color: #f7f8fa;
  }

  .navbar .dropdown .dropdown-menu a {
    min-height: 2.875rem;
    padding-inline: 1.75rem;
    color: #555;
    font-size: 0.9375rem;
    line-height: 2;
  }

  .wrap,
  .subpage-content .wrap,
  .board-page .board-section .wrap,
  .facility-section .wrap,
  .member-section .wrap,
  .publication-section .wrap,
  .news-section .wrap {
    width: min(100% - 2rem, var(--container-max-width));
  }

  .subpage-content section {
    padding-block: var(--subpage-section-padding-block);
  }

  #mainCarouselSwiper .swiper-caption {
    width: min(100% - 2rem, var(--container-max-width));
    max-width: var(--container-max-width);
  }

  .publication-page .sub-nav ul {
    align-items: stretch;
  }

  .publication-page .sub-nav li {
    display: flex;
  }

  .publication-page .sub-nav a {
    width: 100%;
    min-height: 3.75rem;
    padding: 0.75rem 0.625rem;
    align-items: center;
    justify-content: center;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
  }

  .publication-page .sub-nav li.is-active a {
    min-height: 3.75rem;
    padding-block: 0.75rem;
  }

  .research-main {
    padding: 4rem var(--container-padding-inline) 5rem;
  }

  .research-main .section-head,
  .research-title,
  .board-head,
  .publication-head,
  .member-head,
  .field-detail-head,
  .field-image-head {
    margin-bottom: 2.5rem;
  }

  .research-main .research-list {
    gap: 3.5rem;
  }

  .research-main .research-card,
  .research-main .research-card:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }

  .research-main .research-image {
    order: 2 !important;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .research-main .research-panel,
  .research-main .research-card:nth-child(even) .research-panel {
    order: 1 !important;
  }

  .research-main .research-panel h3,
  .research-main .research-panel ul {
    max-width: 100%;
   }

  .research-main .research-panel,
  .research-main .research-card:nth-child(even) .research-panel {
    padding-top: 0;
  }

  .news-section .board_box_blog .table_blog {
    grid-template-columns: 1fr;
  }

  .news-section .type_swiper_s1 .bottom[data-bottom="list"] {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .news-section .type_swiper_s1 .subject {
    white-space: normal;
  }

  .news-section .type_swiper_s1 .info {
    width: 100%;
    justify-content: flex-start;
  }

  .field-overview-grid,
  .field-detail-card,
  .facility-grid,
  .member-info-grid,
  .student-grid,
  .publication-item,
  .patent-item {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .card-wide,
  .facility-grid > *,
  .member-info-grid > *,
  .student-grid > *,
  .publication-item > *,
  .patent-item > * {
    grid-column: auto !important;
  }
}

@media (max-width: 575.98px) {
  :root {
    --container-padding-inline: 1rem;
    --swiper-caption-header-font: 700 clamp(1.875rem, 10vw, 2.5rem) / 1.12 var(--global-font-family);
    --swiper-caption-paragraph-font: 400 clamp(0.9375rem, 4.5vw, 1.125rem) / 1.45 var(--global-font-family);
    --subpage-section-padding-block: 3.5rem;
    --subpage-header-height: 18rem;
  }

  #mainCarouselSwiper .swiper-caption {
    width: min(100% - 1.5rem, var(--container-max-width));
  }

  .navbar .navbar-brand img {
    max-width: 8.75rem;
  }

  .research-main {
    padding-inline: var(--container-padding-inline);
  }

  .wrap,
  .subpage-content .wrap,
  .board-page .board-section .wrap,
  .facility-section .wrap,
  .member-section .wrap,
  .publication-section .wrap,
  .news-section .wrap {
    width: min(100% - 1.5rem, var(--container-max-width));
  }

  .research-main .research-panel h3 {
    font-size: clamp(1.625rem, 8vw, 2rem);
  }

  .research-main .research-panel ul {
    margin-bottom: 1.75rem;
  }

  .news-section .page-header h4 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .professor-profile,
  .student-section {
    padding: 1.25rem;
  }
}
