/* ==========================
   WONEUM 기본 테마 정의
   ========================== */

:root {
  --color-main: #146EA6;
  --color-main-hover: #0E5A87;
  --color-sub-1: #2BA8D9;
  --color-sub-2: #5FAFCF;
  --color-sub-3: #9ABF75;
  --color-footer: #ddd;

  --color-text: #222;
  --color-muted: #999;
  --color-bg: #fff;
  --color-bg2: #EEF7FB;
  --color-bg3: #E5F2F7;
  --basic-bg: #f6f6f6;

  /* 표 전용 (게시판 list 전용) 삼동회 파스텔톤 색상 */
  --color-table-main: #D9ECF5;
  /* 주색상 파스텔 블루 */
  --color-table-hover: #EEF7FB;
  /* hover 시 배경색 */
  --color-table-border: #BBD8E6;
  /* 테두리 */
  --color-table-accent: #EDF5E6;
  /* 강조용 배경 (예: 공지) */
  --color-table-muted: #6D8796;
  /* 연한 텍스트 */

  /* 메인/카드 공통 테마 */
  --color-title-line: linear-gradient(90deg, var(--color-sub-1), var(--color-main), var(--color-sub-3));
  --color-divider-line: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(20, 110, 166, .14) 20%, rgba(43, 168, 217, .14) 80%, rgba(0, 0, 0, 0) 100%);
  --color-surface-soft: #EEF7FB;
  --color-surface-soft-2: #F7FBFD;
  --color-surface-accent: #EDF5E6;
  --color-border-soft: rgba(20, 110, 166, .14);
  --color-border-softer: rgba(43, 168, 217, .10);
  --color-shadow-soft: rgba(23, 50, 72, .08);
  --color-text-soft: rgba(23, 50, 72, .68);

  /* Content 상단 사진형 Hero 오버레이 */
  --content-hero-overlay: linear-gradient(90deg,
    rgba(255, 255, 255, .92) 0%,
    rgba(255, 255, 255, .76) 44%,
    rgba(255, 255, 255, .24) 72%,
    rgba(255, 255, 255, .06) 100%);
  --content-hero-eyebrow-color: var(--color-main);
  --content-hero-eyebrow-size: 13px;
  --content-hero-title-size: clamp(24px, 2vw + 12px, 34px);
  --content-hero-title-color: var(--color-text);
  --content-hero-desc-size: 15px;
  --content-hero-desc-color: rgba(23, 50, 72, .74);
  --content-page-title-size: clamp(20px, 1.6vw + 12px, 26px);

  /* 게시판용 색상 */
  --color-notice: #f23827;

  --head-width: 1920px;
  /* 기본 콘텐츠 최대 너비 */
  --header-height: 90px;
  --slide-height: 600px;
  --content-width: 900px;
  --layout-width: 1200px;
  /* 기본 콘텐츠 최대 너비 */
  --layout-padding: 20px;
  /* 좌우 여백 (반응형용) */

  --font-main: "S-CoreDream", "Malgun Gothic", sans-serif;
  --font-content: "S-CoreDream", "Malgun Gothic", sans-serif;
  --font-menu: "S-CoreDream", "Malgun Gothic", sans-serif;
  --font-title: "S-CoreDream", "Malgun Gothic", sans-serif;
  --font-subtitle: "S-CoreDream", "Malgun Gothic", sans-serif;
  --font-subpagetitle: "Paperlogy-8ExtraBold", sans-serif;

  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  --font-title-weight: var(--font-weight-bold);
  --font-card-title-weight: var(--font-weight-semibold);
  --font-menu-weight: var(--font-weight-semibold);

  --vig-edge: .35;
  /* 가장자리 어둡기(0~0.6 추천) */
  --vig-bottom: .45;
  /* 하단 어둡기(0~0.6 추천) */

  --menu-item-w: 140px;

  --nav-t: .32s;
  /* 전체 기본 지속시간 */
  --nav-ease: cubic-bezier(0.25, 1, 0.3, 1);
  --nav-fade: .28s;
  /* 로고/컬러 페이드용 */
  --sb-ease: cubic-bezier(0.25, 1, 0.3, 1);
  --sb-t: .32s;


  --space-section: clamp(40px, 6vw, 72px);
  /* 섹션 간 기본 여백 */
  --space-block: clamp(16px, 3vw, 32px);
  /* 요소 간 여백 */
}




.flex {
  display: flex;
}

.ctt_admin {
  max-width: var(--layout-width);
  margin: 0 auto;
}

@font-face {
  font-family: "S-CoreDream";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-1Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Paperlogy-8ExtraBold";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "S-CoreDream";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-2ExtraLight.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "S-CoreDream";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-3Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "S-CoreDream";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-4Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "S-CoreDream";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-5Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "S-CoreDream";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-6Bold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "S-CoreDream";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-7ExtraBold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "S-CoreDream";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-8Heavy.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "S-CoreDream";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-9Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BMJUA";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/BMJUA.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'WONbatang';
  font-style: normal;
  font-weight: 400;
  src: url('../font/WONbatangR.eot');
  src: url('../font/WONbatangR.eot?#iefix') format('embedded-opentype'),
    url('../font/WONbatangR.woff') format('woff');
}

@font-face {
  font-family: 'WONbatang';
  font-style: normal;
  font-weight: 700;
  src: url('../font/WONbatangB.eot');
  src: url('../font/WONbatangB.eot?#iefix') format('embedded-opentype'),
    url('../font/WONbatangB.woff') format('woff');
}

@font-face {
  font-family: 'WONdotum';
  font-style: normal;
  font-weight: 400;
  src: url('../font/WONdotumR.eot');
  src: url('../font/WONdotumR.eot?#iefix') format('embedded-opentype'),
    url('../font/WONdotumR.woff') format('woff');
}

@font-face {
  font-family: 'WONdotum';
  font-style: normal;
  font-weight: 700;
  src: url('../font/WONdotumB.eot');
  src: url('../font/WONdotumB.eot?#iefix') format('embedded-opentype'),
    url('../font/WONdotumB.woff') format('woff');
}

@font-face {
  font-family: 'WONtitle';
  font-style: normal;
  font-weight: 700;
  src: url('../font/WONtitle.eot');
  src: url('../font/WONtitle.eot?#iefix') format('embedded-opentype'),
    url('../font/WONtitle.woff') format('woff');
}

#hd {}

#ctt_con {
  --font-main: var(--font-content);
  max-width: var(--layout-width);
  padding: 0 20px;
  margin: 0 auto;
  font-family: var(--font-content);
}

/* Content Hero 타이포그래피 공통 기준 */
body #ctt_con .c-autonomyHero__eyebrow,
body #ctt_con .c-pageHero__eyebrow,
body #ctt_con .c-businessHero__eyebrow,
body #ctt_con .c-introHero__eyebrow,
body #ctt_con .c-guideHero__eyebrow,
body #ctt_con .c-missionHero__eyebrow,
body #ctt_con .c-rightsHero__eyebrow,
body #ctt_con .c-supportHero__eyebrow,
body #ctt_con .c-talentHero__eyebrow,
body #ctt_con .c-volunteerHero__eyebrow {
  margin-bottom: 8px;
  color: var(--content-hero-eyebrow-color);
  font-size: var(--content-hero-eyebrow-size);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body #ctt_con .c-autonomyHero__title,
body #ctt_con .c-pageHero__title,
body #ctt_con .c-businessHero__title,
body #ctt_con .c-introHero__title,
body #ctt_con .c-guideHero__title,
body #ctt_con .c-missionHero__title,
body #ctt_con .c-rightsHero__title,
body #ctt_con .c-supportHero__title,
body #ctt_con .c-talentHero__title,
body #ctt_con .c-volunteerHero__title {
  color: var(--content-hero-title-color);
  font-family: var(--font-title);
  font-size: var(--content-hero-title-size);
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: -.03em;
}

/* Content Hero 설명문 공통 기준 */
body #ctt_con .c-autonomyHero__desc,
body #ctt_con .c-pageHero__desc,
body #ctt_con .c-businessHero__desc,
body #ctt_con .c-introHero__desc,
body #ctt_con .c-guideHero__desc,
body #ctt_con .c-missionHero__desc,
body #ctt_con .c-rightsHero__desc,
body #ctt_con .c-supportHero__desc,
body #ctt_con .c-talentHero__desc,
body #ctt_con .c-volunteerHero__desc {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--content-hero-desc-color);
  font-size: var(--content-hero-desc-size);
  line-height: 1.75;
  font-weight: 600;
  letter-spacing: -.01em;
}

body #ctt_con .c-autonomyIntro > h2,
body #ctt_con .c-businessIntro > h2,
body #ctt_con .c-introPage > h2,
body #ctt_con .c-guideIntro > h2,
body #ctt_con .c-missionPageIntro > h2,
body #ctt_con .c-rightsIntro > h2,
body #ctt_con .c-supportIntro > h2,
body #ctt_con .c-talentPageIntro > h2,
body #ctt_con .c-volunteerIntro > h2,
body #ctt.ctt_bupin #ctt_con > h2 {
  margin: 24px 0 14px;
  padding-bottom: 12px;
  color: var(--color-text);
  font-size: var(--content-page-title-size);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.4px;
}

body #ctt_con .c-autonomyIntro > h2::after,
body #ctt_con .c-businessIntro > h2::after,
body #ctt_con .c-introPage > h2::after,
body #ctt_con .c-guideIntro > h2::after,
body #ctt_con .c-missionPageIntro > h2::after,
body #ctt_con .c-rightsIntro > h2::after,
body #ctt_con .c-supportIntro > h2::after,
body #ctt_con .c-talentPageIntro > h2::after,
body #ctt_con .c-volunteerIntro > h2::after,
body #ctt.ctt_bupin #ctt_con > h2::after {
  height: 4px;
  border-radius: 999px;
  background: var(--color-title-line);
  opacity: .95;
}

@media (max-width: 768px) {
  #ctt_con {
    --content-hero-desc-size: 14px;
    --content-hero-overlay: linear-gradient(90deg,
      rgba(255, 255, 255, .92) 0%,
      rgba(255, 255, 255, .78) 58%,
      rgba(255, 255, 255, .42) 100%);
  }
}

body {
  font-family: var(--font-main);
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
  background-color: var(--color-bg);
}

:where(
  [class$="__title"],
  [class*="__title "],
  [class$="-title"],
  [class*="-title "]
) {
  font-family: var(--font-title);
  font-weight: var(--font-card-title-weight);
}

h1,
h2 {
  font-family: var(--font-title);
  font-weight: var(--font-title-weight);
}

h3,
h4 {
  font-family: var(--font-title);
  font-weight: var(--font-weight-semibold);
}

h5,
h6 {
  font-family: var(--font-title);
  font-weight: var(--font-weight-medium);
}

#lnb .lnb_1da,
#lnb .lnb_2da,
#DB_navi42 .DB_1D > a,
#DB_navi42 .DB_2D > a,
#gnb .gnb_1da,
#gnb .gnb_2da {
  font-family: var(--font-menu);
  font-weight: var(--font-menu-weight);
}



#lnb #logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#logo img {
  max-width: 220px;
  max-height: 60px;
}

.container {
  max-width: var(--layout-width);
  margin: 0 auto;
  padding: 30px 10px;
}

.container_wide {
  width: 100%;
  margin: 0 auto;
}

.main-title {
  font-size: 2em;
  font-weight: bold;
  position: relative;
  z-index: 1;
}

.main-sub {
  font-size: 1.3em;
  margin-top: 20px;
}

.tnb_admin {
  display: flex;
  text-align: center;
  gap: 10px;
  margin: 0 30px;
}

.tnb_admin li {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hd_right {
  display: flex;
  list-style: none;
}

/* SNS 아이콘 스타일 */
.hd_sns {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hd_sns a img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
  display: block;
  border-radius: 8px;
}

.hd_sns a:hover img {
  transform: scale(1.1);
}

.hd_login {
  display: none;
}

/* 메뉴바 */
/* 기본: 데스크탑에서는 데스크탑 메뉴만 */
.nav-mobile {
  display: none;
}

.wide-decorated {
  position: relative;
  overflow: hidden;
  z-index: 0;
}

/* 공통 원 스타일 */
.wide-decorated .circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  z-index: 0;
}

/* 각각 다른 원 */
.circle-1 {
  width: 200px;
  height: 200px;
  background-color: var(--color-main);
  top: -80px;
  left: -80px;

  animation: float 6s ease-in-out infinite;
}

.circle-2 {
  width: 520px;
  height: 520px;
  background-color: var(--color-sub-3);
  bottom: 50px;
  right: -100px;

  animation: pulse 5s ease-in-out infinite;
}

.circle-3 {
  width: 300px;
  height: 300px;
  background-color: var(--color-sub-2);
  top: -100px;
  right: 45%;

  animation: float 7s ease-in-out infinite;
  animation-delay: 1s;
}

.circle-4 {
  width: 500px;
  height: 500px;
  background-color: var(--color-sub-3);
  bottom: -200px;
  left: 10%;

  animation: pulse 4s ease-in-out infinite;
  animation-delay: 2s;
}

.circle-5 {
  width: 200px;
  height: 200px;
  background-color: var(--color-main);
  top: 40%;
  left: 60%;
  animation: float 5s ease-in-out infinite;
  animation-delay: 0.5s;
}

#bo_v,
#bo_w,
#bo_gall,
#bo_list {
  max-width: var(--layout-width);
  margin: 0 auto;
  /* margin-top: calc(var(--header-height) + 20px); */
  padding: 0 10px;
}

.frm_input2 {
  height: auto;
  font-size: 1.2em;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-50px);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

@keyframes slow-rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* 서브 비주얼 */
.sub-visual {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.sub-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 2차 메뉴 */
.sub-menu {
  background: #f7f7f7;
  border-bottom: 1px solid #ddd;
}

.sub-menu ul {
  display: flex;
  justify-content: center;
  padding: 10px 0;
  margin: 0;
  list-style: none;
}

.sub-menu ul li {
  margin: 0 15px;
}

.sub-menu ul li a {
  padding: 8px 16px;
  background: #3981bf;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s;
}

.sub-menu ul li a:hover {
  background: #2c6a9e;
}

/* Sub Visual: 1920×280 전체 이미지 보존 */
.sub_visual {
  width: 100%;
  height: auto;
  max-height: 280px;
  aspect-ratio: 1920 / 280;
  overflow: hidden;
  position: relative;
  margin-top: var(--header-height);
  background: #7d786d;
}

.sub_visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transform: none;
  animation: subVisualFadeIn .8s ease-out both;
}

@keyframes subVisualFadeIn {
  from { opacity: .82; }
  to { opacity: 1; }
}

#depth2_title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) !important;
  display: inline-block;
  /* nowrap 적용을 위해 inline-block */
  white-space: nowrap;
  /* 한 글자씩 줄바꿈 방지 */
  text-align: center;
  z-index: 1;
  color: #fff;
  font-family: var(--font-subpagetitle);
  font-size: 40px;
  letter-spacing: 3px;
  text-shadow: 5px 5px 5px #333;
}

/* 3) keyframes 정의: 1.2배 → 1배 */
@keyframes zoomOutImg {
  from {
    transform: scale(1.3);
  }

  to {
    transform: scale(1);
  }
}

/* 태블릿/모바일 공통 (<=1024px) */
@media (max-width: 1024px) {
  #depth2_title {
    font-size: 30px;
  }
}

/* (선택) 태블릿과 모바일을 구분하고 싶다면 추가 분기 */
@media (min-width: 768px) and (max-width: 1024px) {
  .swiper-container {
    margin-top: 0px;
    margin-bottom: 0px;
  }

  .tnb_admin {
    display: none;
  }

  .tnb_admin_mobile {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
  }

  .tnb_admin_mobile li {
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    font-size: 1.2em;
  }

  #tnb {
    position: sticky;
    top: 0;
    height: 70px;
    z-index: 999;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    background-color: #fff;
    transition: transform 0.3s ease-in-out;
    will-change: transform;
  }

  #tnb.hide {
    transform: translateY(-100%);
  }

  #tnb .inner {
    height: 70px;
  }

  .hd_sns_mobile {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .hd_sns_mobile a img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
    display: block;
    border-radius: 8px;
  }

  .sub_visual {
    height: auto;
    aspect-ratio: 1920 / 280;
  }
}

@media (max-width: 820px) {
  /* 모바일 전용 스타일이 필요하면 여기에… */

  #logo img {
    max-width: 200px;
  }

  .hd_sns {
    display: none;
  }

  .hd_sns_mobile {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .hd_sns_mobile a img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
    display: block;
    border-radius: 8px;
  }

  #tnb {
    position: sticky;
    top: 0;
    height: 70px;
    z-index: 999;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    background-color: #fff;
    transition: transform 0.3s ease-in-out;
    will-change: transform;
  }

  #tnb.hide {
    transform: translateY(-100%);
  }

  #tnb .inner {
    height: 70px;
  }

  .tnb_admin {
    display: none;
  }

  .tnb_admin_mobile {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
  }

  .tnb_admin_mobile li {
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    font-size: 1.2em;
  }

  .swiper-container {
    margin-top: 0px;
    margin-bottom: 0px;
  }

  .sub_visual {
    height: 170px;
    min-height: 170px;
    max-height: none;
    aspect-ratio: auto;
  }

  .sub_visual img {
    object-fit: cover;
    object-position: var(--sj-subvisual-mobile-x, 70%) center;
    filter: brightness(72%);
  }

  #depth2_title {
    width: calc(100% - 36px);
    font-size: clamp(23px, 6.2vw, 28px);
    line-height: 1.28;
    letter-spacing: -.035em;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: break-word;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .48);
  }

  .sub-menu ul {
    flex-wrap: wrap;
  }

  .sub-menu ul li {
    margin-bottom: 10px;
  }
}


/* style.css 에 추가 */

/* 1) 가로 스크롤 컨테이너 */
.basic-table-responsive {
  width: 100%;
  overflow-x: auto;
}

/* 2) 테이블 기본 스타일 */
.basic-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  color: #333;
}

.basic-table th,
.basic-table td {
  border: 1px solid #e0e0e0;
  padding: 10px 12px;
  vertical-align: middle;
}

.basic-table th {
  width: 30%;
  background-color: #f5f5f5;
  text-align: center;
  font-weight: 500;
}

.basic-table td {
  background-color: #fff;
}

.all_chk {
  padding: 10px 5px !important;
}

.button {
  padding: 15px 10px;
}

.button:hover {
  opacity: 0.8;
}

.page-title {
  text-align: center;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.3;
  color: var(--color-main, #146EA6);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-family: var(--font-title);
}

.page-subtitle {
  text-align: center;
  color: var(--color-muted);
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.6;
  margin-top: 4px;
  margin-bottom: 18px;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .4);
}




/* =============================
   📐 GRID UTILITY SYSTEM
   ============================= */
.grid {
  display: grid;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

.grid-center {
  max-width: var(--layout-width);
  margin: 0 auto;
}

.gap-10 {
  gap: 10px;
}

.gap-20 {
  gap: 20px;
}

.gap-30 {
  gap: 30px;
}

/* 자동 반응형(카드 최소폭 보장) */
.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* 고정 열수 프리셋(원하면 사용) */
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* 단계별 보정 (선택): 데스크탑 4, 태블릿 3, 작은 태블릿 2, 모바일 1 */
@media (min-width:1280px) {
  .grid-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width:1279px) and (min-width:992px) {
  .grid-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width:991px) and (min-width:640px) {
  .grid-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:639px) {
  .grid-steps {
    grid-template-columns: 1fr;
  }
}

/* (옵션) 특정 아이템을 넓게 쓰고 싶다면 */
.span-2 {
  grid-column: span 2;
}

@media (max-width:991px) {
  .span-2 {
    grid-column: auto;
  }
}

/* 태블릿 이하에서는 1칸 */

/* =============================
   CONTACT-US (uses :root tokens)
   ============================= */
.contact-us {
  box-sizing: border-box;
  width: 100%;
  background: var(--color-bg);
  border: 1px solid var(--color-table-border);
  border-radius: 12px;
  padding: 22px 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
  color: var(--color-text);
  font-family: var(--font-main);
}

.contact-title {
  margin: 0 0 16px;
  text-align: center;
  font-family: var(--font-title);
  font-size: clamp(1.4em, 1.5vw, 1.8em);
  font-weight: 700;
  color: var(--color-main);
  position: relative;
}

.contact-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--color-main);
  border-radius: 2px;
}

.contact-info {
  list-style: none;
  margin: 50px 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  font-size: clamp(.98rem, 1.6vw, 1.05rem);
}

.contact-info .icon {
  margin-right: 6px;
}

.contact-info a {
  color: var(--color-main);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--nav-t) var(--nav-ease);
}

.contact-info a:hover {
  color: var(--color-main-hover);
}

.contact-bank {
  background: var(--color-bg2);
  border: 1px solid var(--color-table-border);
  border-radius: 10px;
  padding: 14px;
}

.contact-bank h3 {
  margin: 0 0 8px;
  font-weight: 700;
  ;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-bank p {
  margin: 2px 0;
}


/* ==========================================================================
   WONEUM — Global Page Pack (append-only)
   ========================================================================== */

/* 0) Reset-ish 보강 */
*,
*::before,
*::after {
  box-sizing: border-box;
}


a {
  color: inherit;
  text-decoration: none;
}


:focus-visible {
  outline: 2px solid var(--color-main);
  outline-offset: 2px;
}

/* 1) Layout primitives */
.container {
  max-width: var(--layout-width);
  margin-inline: auto;
  padding-inline: var(--layout-padding);
}

.container-wide {
  width: 100%;
  margin: 0 auto;
}

.stack>*+* {
  margin-top: var(--stack-gap, 16px);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cluster-gap, 12px);
  align-items: center;
}

.center {
  box-sizing: content-box;
  max-width: var(--layout-width);
  margin-inline: auto;
  padding-inline: var(--layout-padding);
}

.bleed {
  margin-inline: calc(50% - 50vw);
}

/* 2) Grid utilities (보강) */
.grid {
  display: grid;
  gap: 20px;
}

.grid.auto {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .grid.cols-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {

  .grid.cols-3,
  .grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {

  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4 {
    grid-template-columns: 1fr;
  }
}

.span-2 {
  grid-column: span 2;
}

@media (max-width: 991px) {
  .span-2 {
    grid-column: auto;
  }
}

/* 3) Typography scale (에디터/페이지 공통) */
.page__title,
.h1 {
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.02em;
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1.25;
}

.h2 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.35;
}

.h3 {
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.4;
}

.lead {
  color: var(--color-muted);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
}

/* 4) Content-rich editor styling (내용관리 본문용) */
.c-editor {
  --c-gap: 14px;
}

.c-editor>*+* {
  margin-top: var(--c-gap);
}

.c-editor h1,
.c-editor h2,
.c-editor h3 {
  font-family: var(--font-title);
  margin: 28px 0 10px;
  line-height: 1.25;
}

.c-editor h1 {
  font-size: clamp(24px, 2.8vw, 36px);
}

.c-editor h2 {
  font-size: clamp(20px, 2.2vw, 28px);
}

.c-editor h3 {
  font-size: clamp(18px, 1.8vw, 22px);
}

.c-editor p {
  line-height: 1.8;
  color: var(--color-text);
}

.c-editor blockquote {
  margin: 18px 0;
  padding: 14px 16px;
  background: var(--color-bg2);
  border-left: 4px solid var(--color-main);
  border-radius: 6px;
}

.c-editor ul,
.c-editor ol {
  padding-left: 1.1em;
}

.c-editor li {
  margin: 6px 0;
}

.c-editor hr {
  border: 0;
  height: 1px;
  background: var(--color-table-border);
  margin: 24px 0;
}

/* 표: 에디터에서 만든 table도 통일 */
.c-editor table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.c-editor th,
.c-editor td {
  border: 1px solid var(--color-table-border);
  padding: 10px 12px;
  vertical-align: middle;
}

.c-editor th {
  background: var(--color-table-main);
  color: #1b3a57;
  font-weight: 600;
}

.c-editor tbody tr:hover {
  background: var(--color-table-hover);
}




/* 7) Badges/labels */
.badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 999px;
  background: var(--color-table-main);
  color: #1b3a57;
  border: 1px solid var(--color-table-border);
}

.badge--notice {
  background: var(--color-notice);
  color: #fff;
  border-color: var(--color-notice);
}

/* 8) Table system (전역 공용) */
.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: #333;
  margin: 16px 0;
  background: #fff;
  border: 1px solid var(--color-table-border);
}

.table th,
.table td {
  padding: 10px 12px;
  border: 1px solid var(--color-table-border);
}

.table thead th {
  background: var(--color-table-main);
  text-align: center;
  font-weight: 600;
}

.table tbody tr:hover {
  background: var(--color-table-hover);
}

.table .is-accent {
  background: var(--color-table-accent);
}

/* 9) Form controls (전역 폼 통일) */
.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 600;
  color: var(--color-text);
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  transition: border-color var(--nav-t), box-shadow var(--nav-t);
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--color-main);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-main) 25%, transparent);
}

.help {
  color: var(--color-muted);
  font-size: 12px;
}

/* 10) AOS: 동적 속성 적용 전 콘텐츠가 먼저 노출되는 현상 방지 */
html.woneum-aos-pending #ctt_con {
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* 11) Section patterns */
.section {
  padding: clamp(24px, 4vw, 56px) 0;
}

.section--alt {
  background: var(--color-bg2);
}

.section__head {
  margin-bottom: 14px;
}

.section__desc {
  color: var(--color-muted);
}

/* 12) Tabs (데이터-속성 훅 기반) */
.tabs {
  border-bottom: 1px solid var(--color-table-border);
  display: flex;
  gap: 8px;
}

.tab {
  padding: 10px 14px;
  border: 1px solid var(--color-table-border);
  border-bottom-color: transparent;
  background: #fff;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  cursor: pointer;
}

.tab.is-active {
  background: var(--color-bg);
  color: var(--color-main);
  border-color: var(--color-main);
  border-bottom-color: var(--color-bg);
}

.tabpanel {
  display: none;
  padding: 16px;
  border: 1px solid var(--color-table-border);
  border-top: 0;
}

.tabpanel.is-active {
  display: block;
}

/* 13) Accordion */
.accordion .acc__head {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid #eee;
  background: #fafafa;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.accordion .acc__panel {
  display: none;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.accordion .acc__head.is-open+.acc__panel {
  display: block;
}

/* 14) Alert/Callout */
.alert {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--color-table-border);
  background: var(--color-bg3);
}

.alert--warn {
  background: #fff6e6;
  border-color: #ffe1b2;
}

.alert--danger {
  background: #ffeaea;
  border-color: #ffc7c7;
}

/* 15) Contact-US polish (기존 클래스 보강) */
.contact-us {
  --cluster-gap: 10px;
}

.contact-us .list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-us .list li {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.contact-us .icon {
  width: 1.3em;
  height: 1.3em;
  display: inline-block;
}

.contact-us .cta {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

/* 16) Helpers */
.muted {
  color: var(--color-muted);
}

.dimmed {
  opacity: .6;
}

.hide {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 17) Print */
@media print {
  .hide-print {
    display: none !important;
  }

  .container {
    max-width: none;
    padding: 0;
  }

  a::after {
    content: " (" attr(href) ")";
    font-size: 12px;
    color: #666;
  }
}

/* 18) Dark (선택: body[data-theme="dark"]) */
body[data-theme="dark"] {
  --color-bg: #0f1115;
  --color-text: #e9edf2;
  --color-muted: #9aa4b2;
  --color-table-border: #283040;
  --color-table-main: #172030;
  --color-table-hover: #121a28;
  background: var(--color-bg);
  color: var(--color-text);
}

body[data-theme="dark"] .card,
body[data-theme="dark"] .table,
body[data-theme="dark"] .accordion .acc__panel {
  background: #101826;
  border-color: var(--color-table-border);
}

body[data-theme="dark"] .tab {
  background: #101826;
  border-color: var(--color-table-border);
}

body[data-theme="dark"] .tab.is-active {
  color: var(--color-main);
  border-color: var(--color-main);
}


/* ================================
   Membership Section (replaces .card)
   ================================ */

/* =======================================================
   MEMBERSHIP — NEW DESIGN (Full Refresh, same markup)
   ======================================================= */

/* =======================================================
   MEMBERSHIP — 일반 페이지형 (전체 새 디자인)
   ======================================================= */

.membership {
  max-width: min(var(--layout-width, 1200px), 100%);
  margin: 0 auto;
  color: var(--color-text, #222);
  font-family: var(--font-main, "S-CoreDream", sans-serif);
  line-height: 1.9;
  background: var(--color-bg, #fff);
}

/* ───────────── 헤더 ───────────── */
.membership .membership-head {
  text-align: left;
  margin-bottom: clamp(20px, 4vw, 36px);
}

.membership .membership-title {
  margin: 0;
  font-family: var(--font-title, "S-CoreDream", sans-serif);
  font-weight: 800;
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  line-height: 1.25;
  color: var(--color-sub-1, #2c2c2c);
  background: linear-gradient(
    transparent 70%,
    color-mix(in oklab, var(--color-main, #146EA6) 25%, transparent) 0
  );
  display: inline-block;
}

.membership .membership-sub {
  margin-top: 6px;
  color: var(--color-muted, #777);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
}

/* ───────────── 본문 ───────────── */
.membership .membership-body {
  margin: 0 auto;
}

.membership .membership-body > * + * {
  margin-top: clamp(14px, 2.5vw, 24px);
}

.membership .membership-body p {
  margin: 0;
  text-align: justify;
}

/* 강조문단 */
.membership .membership-body .muted {
  background: var(--color-bg2, #EEF7FB);
  border-left: 4px solid var(--color-main, #146EA6);
  padding: 12px 16px;
  border-radius: 6px;
  color: color-mix(in oklab, var(--color-text, #222) 85%, #000);
}

/* 소제목 (h6 등) */
.membership .membership-body .h6 {
  font-weight: 800;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--color-sub-1, #2c2c2c);
  margin: clamp(18px, 3vw, 24px) 0 clamp(6px, 1.4vw, 10px);
}

/* 조항 리스트 */
.membership .membership-body .terms-list {
  margin: 6px 0 0 1.2em;
  padding: 0;
}

.membership .membership-body .terms-list > li {
  margin: 6px 0;
  line-height: 1.8;
}

.membership .membership-body .terms-list > li::marker {
  color: var(--color-main, #146EA6);
  font-weight: 800;
}

.membership .membership-body .terms-list strong {
  color: var(--color-sub-1, #2c2c2c);
  font-weight: 800;
}

.membership .membership-body .terms-list u {
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in oklab, var(--color-main, #146EA6) 70%, #000);
}

/* ───────────── 푸터 ───────────── */
.membership .membership-foot {
  max-width: var(--measure);
  margin: clamp(28px, 4vw, 40px) auto 0;
  padding-top: clamp(14px, 2vw, 20px);
  border-top: 1px solid var(--color-table-border, #BBD8E6);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.membership .membership-foot .help {
  color: var(--color-muted, #777);
  font-size: 0.95rem;
  text-align: right;
}

/* 버튼 */
.membership .membership-foot .btn-primary {
  background: var(--color-main, #146EA6);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.membership .membership-foot .btn-primary:hover {
  background: var(--color-main-hover, #0E5A87);
  transform: translateY(-1px);
}

/* ───────────── 반응형 ───────────── */
@media (max-width: 768px) {

  .membership .membership-foot {
    align-items: stretch;
  }

  .membership .membership-foot .help {
    text-align: left;
  }

  .membership .membership-foot .btn-primary {
    width: 100%;
    text-align: center;
  }
}

/* membership 섹션 간 기본 여백 추가 */
.membership + .membership {
  margin-top: clamp(40px, 6vw, 72px);
}

/* 7) Optional dark harmony (if you toggle body[data-theme="dark"]) */
body[data-theme="dark"] .membership{
  --panel-bg: #0f1117;
  --bd: #253046;
  box-shadow: 0 18px 50px -24px rgba(0,0,0,.6);
}
body[data-theme="dark"] .membership-head{ background: #0f1117; }
body[data-theme="dark"] .membership-body .terms-list > li{ background: #0f1117; }
body[data-theme="dark"] .membership-body .muted{
  background: #0d141d;
  border-color: #223044;
}
body[data-theme="dark"] .membership-foot{
  background: #0f1117;
  border-top-color: #253046;
}



.terms-list {
  margin: 6px 0 12px 20px;
}

.terms-list li {
  margin: 6px 0;
  line-height: 1.6;
}

.muted {
  color: var(--color-muted);
}

.agree-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}


.help {
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: .92rem;
}

@media (max-width:768px) {

  .card-head,
  .card-body,
  .card-foot {
    padding: 16px;
  }
}

/* 학회 인사말 섹션 */
.greeting {
  max-width: var(--layout-width);
  margin: 0 auto;
  padding: var(--space-outer) var(--layout-padding);
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  line-height: 1.9;
}

/* 상하 섹션간 균일한 간격 */
.greeting > * + * { margin-top: var(--space-section); }

/* ─────────────────────────
   Head (타이틀 강조)
────────────────────────── */
.greeting-head {
  text-align: center;
  padding: 0;
  position: relative;
}
.greeting-title {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  color: var(--color-sub-1);
  display: inline-block;
  line-height: 1.3;
  padding: 8px 6px;
  background:
    linear-gradient(transparent 60%, color-mix(in oklab, var(--color-main) 22%, transparent) 0);
}

/* ─────────────────────────
   Body (신문형 2단 옵션)
────────────────────────── */
/* 기본 단락 간 여백 */
.greeting-body > * + * { margin-top: var(--space-block); }

/* 2단 레이아웃 (데스크탑에서만) */
.greeting-body.is-two-col {
  /* 멀티컬럼은 요소 분할 이슈가 있어 바운더리 보호 필요 */
  column-gap: 40px;
}
@media (min-width: 1024px) {
  .greeting-body.is-two-col {
    column-count: 2;
  }
  /* 제목/리스트가 단 나뉘어 찢어지지 않도록 보호 */
  .greeting-body h3,
  .greeting-body ol,
  .greeting-body ul,
  .greeting-body p {
    break-inside: avoid-column;
  }
}

/* 서브타이틀(비전 안내) */
.greeting-subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 800;
  margin: var(--space-section) 0 var(--space-block);
  color: var(--color-sub-1);
  padding-left: 12px;
  position: relative;
}
.greeting-subtitle::before {
  content: "";
  position: absolute; left: 0; top: .65em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-main);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-main) 18%, transparent);
}

/* ─────────────────────────
   Vision list (번호형 리스트)
────────────────────────── */
.vision-list {
  list-style: none;
  counter-reset: vision;
  padding: 0;
  margin: var(--space-block) 0;
  display: grid;
  gap: 28px;
  position: relative;
}


.vision-list > li {
  counter-increment: vision;
  position: relative;
  background: linear-gradient(180deg, #fff, var(--color-bg2));
  border: 1px solid var(--color-table-border);
  border-radius: 12px;
  padding: 20px 20px 20px 80px;
  line-height: 1.8;
  box-shadow: 0 6px 20px -10px rgba(0, 0, 0, 0.15);
}

/* 번호 디자인 */
.vision-list > li::before {
  content: counter(vision, decimal-leading-zero);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10em;
  font-weight: 900;
  color: color-mix(in oklab, var(--color-main) 80%, #000);
  opacity: 0.07;
  line-height: 1;
  pointer-events: none;
}

/* hover 효과 */
.vision-list > li:hover {
  background: #fff;
  transform: translateY(-2px);
  transition: all 0.25s var(--sb-ease);
  box-shadow: 0 10px 24px -12px color-mix(in oklab, var(--color-main) 40%, transparent);
}

/* 제목(첫 줄) 강조 */
.vision-list > li > strong {
  display: block;
  font-weight: 800;
  color: var(--color-sub-1);
  margin-bottom: 4px;
}


/* ─────────────────────────
   Foot (서명 정렬)
────────────────────────── */
.greeting-foot { display: flex; justify-content: flex-end; }
/* 모드: sign--gold */
.greeting-foot .sign.sign--gold{
  border:0;
  position:relative;
  padding-top:18px;
}
.greeting-foot .sign.sign--gold::before{
  content:"";
  position:absolute; right:0; left:auto; top:0;
  width:100%; height:2px;
  background: linear-gradient(90deg,
    color-mix(in oklab, var(--color-main) 60%, #000),
    color-mix(in oklab, var(--color-main) 20%, #fff));
  opacity:.9;
}
.greeting-foot .sign.sign--gold::after{
  content:"";
  position:absolute; right:0; top:-4px;
  width:8px; height:8px; border-radius:50%;
  background: var(--color-main);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-main) 25%, transparent);
}


/* ─────────────────────────
   Optional: 첫 문단 리드/드롭캡 (원하면 활성화)
────────────────────────── */
/* 큰 리드문 */
.greeting-body > p:first-of-type {
  font-size: clamp(1.02rem, 2.1vw, 1.12rem);
  color: color-mix(in oklab, var(--color-sub-1) 85%, #000);
}

/* 드롭캡을 쓰고 싶으면 아래 주석 해제 (한글은 상황에 따라 어색할 수 있어 옵션) */
/*
.greeting-body > p:first-of-type::first-letter {
  float: left;
  font-size: 2.6em;
  line-height: .9;
  padding-right: .06em;
  font-weight: 800;
  color: var(--color-main);
}
*/

/* 모션 최소화 환경 배려 */
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}


/* ====================================
   한국원불교학회 소개 (About Section)
   ==================================== */
/* ===== About Base ===== */
.about-association {
  max-width: var(--layout-width);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--layout-padding);
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  line-height: 1.85;
}

/* Hero */
.about-title {
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: -0.01em;
  /* 유연한 반응형 타이포 */
  font-size: clamp(1.6rem, 3.6vw, 2.25rem);
  text-align: center;
  margin: 0 0 8px;
  background:
    linear-gradient(transparent 60%, color-mix(in oklab, var(--color-main) 30%, transparent) 0);
  display: inline-block;
  color: var(--color-main);
}

.about-hero {
  text-align: center;
  margin-bottom: 28px;
}

.about-sub {
  text-align: center;
  color: var(--color-muted);
  font-size: clamp(.95rem, 1.8vw, 1.05rem);
  margin: 0 auto 36px;
}

/* Section spacing */
.about-section {
  margin-bottom: clamp(28px, 5vw, 44px);
}

/* ===== Headings ===== */
.about-heading {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 800;
  color: var(--color-sub-1);
  margin: 0 0 12px;
  position: relative;
  padding-left: 14px;
}

.about-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: .4em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-main);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-main) 18%, transparent);
}

/* ===== Two-Column Intro ===== */
.about-intro {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(18px, 3.5vw, 28px);
  align-items: start;
}

@media (max-width: 920px) {
  .about-intro {
    grid-template-columns: 1fr;
  }
}

/* Body text */
.about-body p {
  margin: 10px 0;
  text-align: justify;
  text-justify: auto;
}

/* ===== Numbered Feature List (자동 넘버링) ===== */
.about-features {
  --badge: var(--color-main);
  list-style: none;
  padding: 0;
  margin: 14px 0 50px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  counter-reset: feat;
}

.about-features li {
  counter-increment: feat;
  position: relative;
  padding: 10px 12px 10px 44px;
  border: 1px solid var(--color-table-border);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, color-mix(in oklab, var(--color-table-hover) 45%, #fff));
  box-shadow: 0 1px 0 rgba(0, 0, 0, .02);
}

.about-features li::before {
  content: counter(feat, decimal-leading-zero);
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--badge);
  box-shadow: 0 6px 16px -6px color-mix(in oklab, var(--badge) 60%, transparent);
}

/* ===== Stat Card (오른쪽 정보 카드) ===== */
.about-aside {
  position: relative;
}

.stat-card {
  border: 1px solid var(--color-table-border);
  background: linear-gradient(180deg, #fff, var(--color-bg2));
  padding: 18px 18px 16px;
  border-radius: 16px;
  box-shadow:
    0 10px 24px -14px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .6);
  margin: 20px 0;
}

.stat-title {
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -.01em;
  font-size: 1rem;
  color: var(--color-sub-1);
}

.stat-grid {
  display: grid;
  gap: 10px;
  margin: 0 0 8px;
}

.stat-grid dt {
  font-size: .82rem;
  color: var(--color-muted);
}

.stat-grid dd {
  margin: 2px 0 0;
  font-weight: 700;
}

.stat-foot {
  margin: 6px 0 0;
  font-size: .9rem;
  color: var(--color-muted);
}

/* ===== Timeline ===== */
.about-timeline {
  position: relative;
  list-style: none;
  margin: 18px 0 0;
  padding-left: 0;
}

.about-timeline>li {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  padding: 10px 0 10px 0;
}

.about-timeline>li:not(:last-child) {
  margin-bottom: 6px;
}

.about-timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 20px;
  bottom: 0;
  width: 2px;
  background: color-mix(in oklab, var(--color-main) 35%, #e8e8e8);
}

.tl-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
      color-mix(in oklab, #fff 80%, var(--color-main)),
      var(--color-main) 70%);
  box-shadow:
    0 0 0 4px color-mix(in oklab, var(--color-main) 30%, transparent),
    0 6px 12px -4px color-mix(in oklab, var(--color-main) 60%, #000);
  margin-top: 4px;
}

.tl-body {
  margin-top: 2px;
}

.tl-title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-sub-1);
}

.tl-body p {
  margin: 0;
}

/* ===== 3-Column Info Cards ===== */
.about-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2.6vw, 20px);
  margin-top: 20px;
}

@media (max-width: 980px) {
  .about-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .about-grid-3 {
    grid-template-columns: 1fr;
  }
}

.info-card {
  border: 1px solid var(--color-table-border);
  border-radius: 16px;
  padding: 18px 18px 14px;
  background:
    radial-gradient(120% 120% at 0% 0%, color-mix(in oklab, var(--color-table-accent) 24%, #fff), #fff 40%),
    #fff;
  box-shadow: 0 8px 22px -16px rgba(0, 0, 0, .22);
}

.info-card .about-heading {
  margin-bottom: 8px;
}

/* ===== Motion Safety ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* =========================
   Button Lite (Neutral-first)
   ========================= */
/* 공통 베이스: 기본은 뉴트럴(회색) */
.btn,
.btn-primary,
.button,
.btn_b01,        /* 그누 기본 보조버튼 */
.btn_admin       /* 관리자 버튼(보조 톤 유지) */
{
  /* 기본(뉴트럴) 팔레트 */
  --btn-bg: #f3f4f6;           /* bg-neutral */
  --btn-fg: #374151;           /* fg-neutral */
  --btn-bd: #d1d5db;           /* border-neutral */

  /* 브랜드 팔레트 (호버용/프라이머리용) */
  --btn-brand: var(--color-main, #146EA6);
  --btn-brand-hover: var(--color-main-hover, #0E5A87);

  /* 공통 치수 */
  --btn-r: 10px;
  --btn-h: 40px;
  --btn-px: 10px;

  font-size: 15px;
  display: inline-flex ;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-height: var(--btn-h);
  padding-inline: var(--btn-px);
  border-radius: var(--btn-r);
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;

  transition:
    background var(--nav-t, .18s) var(--nav-ease, ease),
    color var(--nav-t, .18s) var(--nav-ease, ease),
    border-color var(--nav-t, .18s) var(--nav-ease, ease),
    transform var(--nav-t, .18s) var(--nav-ease, ease);
}

/* 뉴트럴 → 브랜드 컬러로 인버트 전환 */
.btn:hover,
.button:hover,
.btn_b01:hover,
.btn_admin:hover {
  background: var(--btn-brand);
  color: #fff;
  border-color: var(--btn-brand);
}
.btn:active,
.button:active,
.btn_b01:active,
.btn_admin:active { transform: translateY(1px); }

/* 프라이머리: 항상 브랜드 컬러(글쓰기 등) */
.btn-primary,
.btn_b02 {
  --btn-bg: var(--btn-brand);
  --btn-fg: #fff;
  --btn-bd: var(--btn-brand);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-color: var(--btn-bd);
}
.btn-primary:hover,
.btn_b02:hover {
  background: var(--btn-brand-hover);
  border-color: var(--btn-brand-hover);
}

/* 상태 */
.btn[disabled],
.button[disabled],
.btn.is-disabled,
.btn[aria-disabled="true"] {
  opacity: .5;
  pointer-events: none;
}

/* Variants (데이터 속성) */
.btn[data-variant="ghost"] {
  --btn-bg: #fff;
  --btn-fg: #374151;
  --btn-bd: #e5e7eb;
}
.btn[data-variant="muted"] {
  --btn-bg: #eceff3;
  --btn-fg: #374151;
  --btn-bd: #dee2e7;
}

/* Sizes */
.btn[data-size="sm"] { --btn-h: 34px; --btn-px: 12px; --btn-r: 8px; font-weight: 600; }
.btn[data-size="xl"] { --btn-h: 48px; --btn-px: 18px; --btn-r: 12px; }

/* 아이콘 정렬 */
.btn i, .btn_b01 i, .btn_b02 i, .btn_admin i {
  line-height: 0;
  font-size: 1.05em;
}

/* 포커스 접근성 */
.btn:focus-visible,
.button:focus-visible,
.btn_b01:focus-visible,
.btn_b02:focus-visible,
.btn_admin:focus-visible{
  outline: 2px solid var(--btn-brand-hover);
  outline-offset: 2px;
  border-radius: calc(var(--btn-r) + 2px);
}

/* 아이콘 전용 버튼 */
.btn--icon-only { width: var(--btn-h); padding: 0; gap: 0 !important; }

/* 레거시 호환 (.btn-easypay 등) */
.btn-easypay{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height: var(--btn-h,40px); padding-inline: var(--btn-px,10px);
  border-radius: var(--btn-r,10px); border:1px solid var(--btn-bd,#d1d5db);
  background: var(--btn-bg,#f3f4f6); color: var(--btn-fg,#374151); font-weight:700;
  text-decoration:none; cursor:pointer; transition:.18s ease;
}
.btn-easypay:hover{ background: var(--btn-brand, var(--color-main,#146EA6)); color:#fff; border-color: var(--btn-brand, var(--color-main,#146EA6)); }

/* =========================
   Danger Button (삭제 전용)
   ========================= */

/* 삭제 버튼 기본 상태 */
button[value="선택삭제"],
a[title="삭제"],
.btn--danger {
  --btn-bg: #fef2f2;          /* 아주 연한 빨강 배경 */
  --btn-fg: #b91c1c;          /* 진한 빨강 텍스트 */
  --btn-bd: #fca5a5;          /* 연한 빨강 테두리 */
}

/* hover 시 진한 붉은색 강조 */
button[value="선택삭제"]:hover,
a[title="삭제"]:hover,
.btn--danger:hover {
  background: #dc2626;        /* 강한 빨강 */
  color: #fff;
  border-color: #dc2626;
  transform: translateY(-1px);
}

/* active(눌렀을 때) */
button[value="선택삭제"]:active,
a[title="삭제"]:active,
.btn--danger:active {
  background: #b91c1c;
  border-color: #b91c1c;
  transform: translateY(0);
}


/* ================================
   Bylaws — 일반 페이지 스타일
   ================================ */
.bylaws {
  margin: 0 auto;
  color: var(--color-text, #222);
  background: var(--color-bg, #fff);
  font-family: var(--font-main, "S-CoreDream", sans-serif);
  line-height: 1.9;
}

/* 섹션 간격 (상위끼리 붙지 않게) */
.bylaws + .bylaws { 
  margin-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--color-table-border, #BBD8E6);
  padding-top: clamp(24px, 4vw, 40px);
}

/* Head */
.bylaws-head{ 
  text-align:left; 
  margin-bottom: clamp(18px, 3vw, 28px);
}
.bylaws-title{
  margin:0;
  font-family: var(--font-title, "S-CoreDream", sans-serif);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--color-sub-1, #2c2c2c);
  line-height: 1.25;
  display:inline-block;
  background: linear-gradient(transparent 70%, color-mix(in oklab, var(--color-main, #146EA6) 24%, transparent) 0);
}
.bylaws-sub{
  margin:6px 0 0;
  color: var(--color-muted, #777);
  font-size: clamp(.95rem, 1.6vw, 1.05rem);
}

/* Body / measure */
.bylaws-body{
  max-width: var(--measure);
  margin: 0 auto;
  
}
.bylaws-body > * + *{ margin-top: clamp(14px, 2.2vw, 22px); }
.bylaws-body p{ margin:0; text-align: justify; }

/* Article list (조문 목록) */
.article-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(14px, 2.2vw, 22px);
}

/* Article block */
.article-list > li{
  position: relative;
  padding-left: 14px; /* 왼쪽 라인 여백 */
}
.article-list > li::before{
  content:"";
  position: absolute; left: 0; top: .6em; bottom: .6em; width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--color-main, #146EA6), color-mix(in oklab, var(--color-main, #146EA6) 55%, #000));
  opacity: .25;
}

/* Article title line */
.article-title{
  margin: 0 0 6px;
  font-weight: 800;
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: var(--color-sub-1, #2c2c2c);
  display: flex; align-items: baseline; gap: 8px;
}

/* "제N조" 배지 */
.art-no{
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 52px; height: 28px; padding: 0 10px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--color-main, #146EA6) 88%, #000);
  color: #fff; font-weight: 900; font-size: .9rem; letter-spacing: .3px;
  box-shadow: 0 10px 20px -14px color-mix(in oklab, var(--color-main, #146EA6) 65%, #000);
}

/* 하위 조항 목록 */
.clause-list{
  margin: 8px 0 0 1.2em;
  padding: 0;
}
.clause-list > li{
  margin: 6px 0;
  line-height: 1.8;
}
.clause-list > li::marker{
  font-weight: 800;
  color: var(--color-main, #146EA6);
}
.clause-list strong{ color: var(--color-sub-1, #2c2c2c); font-weight: 800; }
.clause-list u{
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in oklab, var(--color-main, #146EA6) 70%, #000);
}

/* 반응형 */
@media (max-width: 640px){
  .art-no{ min-width: 46px; height: 26px; font-size: .86rem; }
}


.page-ready {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg, #fff);
  color: var(--color-text, #222);
  text-align: center;
  font-family: var(--font-main, "S-CoreDream", sans-serif);
  padding: 40px 20px;
}

.ready-inner {
  max-width: 600px;
  margin: 0 auto;
  animation: fadeIn 0.8s ease forwards;
}

.ready-icon {
  font-size: 3rem;
  margin-top: 50px;
  animation: pulse 1.8s infinite ease-in-out;
}

.ready-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--color-main, #146EA6);
  margin-bottom: 10px;
}

.ready-text {
  font-size: 1rem;
  color: var(--color-muted, #777);
  line-height: 1.8;
  margin-bottom: 24px;
}

.btn-home {
  display: inline-block;
  background: var(--color-main, #146EA6);
  color: #fff;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-home:hover {
  background: var(--color-main-hover, #0E5A87);
  transform: translateY(-2px);
}

/* 부드러운 등장 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* 아이콘 점멸 */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}


#ft_wr {
  align-items: center;
}

#ft_header {
  position: relative;
  width: 100%;
  min-height: 64px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(23, 50, 72, .12);
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
}

#ft_logo,
#ft_logo #logo {
  justify-content: center;
  text-align: center;
}

#ft_header .family-site-popup {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 0;
  text-align: right;
  transform: translateY(calc(-50% - 11px));
}

#ft_tail {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  text-align: center;
}

#ft_company {
  flex: 1 1 100%;
  min-width: 280px;
  justify-content: center;
  text-align: center;
}

#ft_company .ft_info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 0;
  margin: 0;
  padding: 0;
  line-height: 1.7;
  text-align: center;
}

#ft_company .ft_info_item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  padding-right: 0;
  font-size: 15px;
  color: var(--color-text);
}

#ft_company .ft_info_item::after {
  content: "|";
  margin: 0 16px;
  color: rgba(23, 50, 72, .34);
  font-weight: 400;
}

#ft_company .ft_info_item strong {
  color: #000;
  font-weight: 600;
  white-space: nowrap;
}

#ft_company .ft_info_item > span {
  color: var(--color-text);
}


#ft_company .ft_info_item:last-child::after {
  display: none;
}

@media (max-width: 768px) {
  #ft_wr {
    gap: 18px;
    padding: 28px 18px;
  }

  #ft_header {
    min-height: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 20px;
    text-align: left;
  }

  #ft_logo {
    flex: 0 1 138px;
    min-width: 0;
    justify-content: flex-start;
  }

  #ft_logo #logo,
  #ft_logo #logo a {
    width: 100%;
    justify-content: flex-start;
  }

  #ft_logo #logo img {
    display: block;
    width: clamp(108px, 32vw, 138px);
    max-width: 100%;
    max-height: none;
    height: auto;
  }

  #ft_header .family-site-popup {
    position: relative;
    flex: 0 0 auto;
    top: auto;
    right: auto;
    text-align: right;
    transform: none;
  }

  #ft_header .family-site-popup button {
    padding: 9px 12px;
    font-size: 14px;
    white-space: nowrap;
  }

  #ft_header .family-hidden-list {
    right: 0;
    min-width: min(250px, calc(100vw - 36px));
    text-align: left;
  }

  #ft_tail,
  #ft_company {
    min-width: 0;
    align-items: stretch;
    text-align: left;
  }

  #ft_company .ft_info {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    text-align: left;
  }

  #ft_company .ft_info_item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding-right: 0;
    line-height: 1.65;
    text-align: left;
  }

  #ft_company .ft_info_item > span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  #ft_company .ft_info_item::after {
    display: none;
  }

  #ft_copy {
    padding: 16px 54px 16px 16px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
}


.pg_wrap {
  margin-top: 24px;
  text-align: center;
}

.pg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  align-items: center;
}

.pg_page,
.pg_current {
  min-width: 38px;
  height: 38px;
  line-height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  text-align: center;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .pg_page,
  .pg_current {
    min-width: 34px;
    height: 34px;
    line-height: 34px;
    padding: 0 8px;
    font-size: 13px;
  }
}

/* =========================================
   서브 비주얼 하단 2차 메뉴
   ========================================= */
.woneum-subnav {
  position: relative;
  z-index: 20;
  width: 100%;
  background: #fff;
  box-shadow: 0 7px 22px rgba(23, 50, 72, .045);
}

.woneum-subnav__mobile-controls,
.woneum-subnav__toggle,
.woneum-subnav__top-panel {
  display: none;
}

.woneum-subnav__scroll {
  width: 100%;
  max-width: var(--layout-width);
  margin: 0 auto;
  padding: 0 var(--layout-padding);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.woneum-subnav__scroll::-webkit-scrollbar {
  display: none;
}

.woneum-subnav__list {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woneum-subnav__item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}

.woneum-subnav__item + .woneum-subnav__item::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  top: 50%;
  width: 1px;
  height: 22px;
  background: rgba(20, 110, 166, .12);
  transform: translateY(-50%);
  pointer-events: none;
}

.woneum-subnav__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 66px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #465563;
  font-family: var(--font-menu);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.025em;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  transition: color .22s ease, background-color .22s ease;
}

.woneum-subnav__link::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  background: var(--color-main);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}

.woneum-subnav__link:hover,
.woneum-subnav__link:focus-visible {
  color: var(--color-main);
  background: var(--color-surface-soft-2);
  outline: none;
}

.woneum-subnav__link:hover::after,
.woneum-subnav__link:focus-visible::after {
  transform: scaleX(.42);
}

.woneum-subnav__item.is-active .woneum-subnav__link,
.woneum-subnav__item.is-active .woneum-subnav__link:hover,
.woneum-subnav__item.is-active .woneum-subnav__link:focus-visible {
  color: #fff;
  background: var(--color-main);
  font-weight: 700;
}

.woneum-subnav__item.is-active::before,
.woneum-subnav__item.is-active + .woneum-subnav__item::before {
  opacity: 0;
}

@media (max-width: 1024px) and (min-width: 821px) {
  .woneum-subnav__scroll {
    padding: 0 18px;
  }

  .woneum-subnav__link {
    min-height: 60px;
    padding: 11px 14px;
    font-size: 14.5px;
  }
}

@media (max-width: 820px) {
  .woneum-subnav {
    z-index: 40;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(23, 50, 72, .07);
    box-shadow: 0 6px 18px rgba(23, 50, 72, .045);
  }

  .woneum-subnav__mobile-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .woneum-subnav__toggle {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 0 10px 0 13px;
    border: 1px solid rgba(20, 110, 166, .18);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(23, 50, 72, .045);
    color: #243b4b;
    font-family: var(--font-menu);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -.025em;
    text-align: left;
    cursor: pointer;
  }

  .woneum-subnav__toggle:focus-visible {
    border-color: var(--color-main);
    box-shadow: 0 0 0 3px rgba(20, 110, 166, .12);
    outline: none;
  }

  .woneum-subnav__current {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .woneum-subnav__toggle-icon {
    position: relative;
    flex: 0 0 auto;
    width: 27px;
    height: 27px;
    border-radius: 9px;
    background: rgba(20, 110, 166, .08);
  }

  .woneum-subnav__toggle-icon::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 47%;
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--color-main);
    border-bottom: 2px solid var(--color-main);
    transform: translate(-50%, -58%) rotate(45deg);
    transform-origin: 50% 50%;
    transition: transform .22s ease, top .22s ease;
  }

  .woneum-subnav__toggle[aria-expanded="true"] .woneum-subnav__toggle-icon::before {
    top: 54%;
    transform: translate(-50%, -50%) rotate(225deg);
  }

  .woneum-subnav__top-panel,
  .woneum-subnav__scroll {
    display: none;
    width: 100%;
    max-width: none;
    margin: 8px 0 0;
    padding: 5px;
    overflow: visible;
    border: 1px solid rgba(20, 110, 166, .14);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(23, 50, 72, .10);
  }

  .woneum-subnav__top-panel {
    max-height: min(52vh, 420px);
    overflow-x: hidden;
    overflow-y: auto;
  }

  .woneum-subnav.is-primary-open .woneum-subnav__top-panel,
  .woneum-subnav.is-secondary-open .woneum-subnav__scroll,
  .woneum-subnav__top-panel.is-open,
  .woneum-subnav__scroll.is-open {
    display: block;
    animation: woneumSubnavOpen .18s ease both;
  }

  @keyframes woneumSubnavOpen {
    from {
      opacity: 0;
      transform: translateY(-4px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .woneum-subnav__top-list,
  .woneum-subnav__list {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .woneum-subnav__top-item,
  .woneum-subnav__item {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .woneum-subnav__item + .woneum-subnav__item::before {
    display: none;
  }

  .woneum-subnav__top-link,
  .woneum-subnav__link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-width: auto;
    min-height: 45px;
    padding: 10px 42px 10px 14px;
    border-radius: 9px;
    color: #52636f;
    font-size: 14px;
    text-align: left;
    text-decoration: none;
  }

  .woneum-subnav__top-link:hover,
  .woneum-subnav__top-link:focus-visible {
    outline: none;
  }

  .woneum-subnav__link::after {
    display: none;
  }

  .woneum-subnav__top-link:hover,
  .woneum-subnav__top-link:focus-visible {
    color: var(--color-main);
    background: rgba(20, 110, 166, .055);
  }

  .woneum-subnav__item.is-active .woneum-subnav__link,
  .woneum-subnav__item.is-active .woneum-subnav__link:hover,
  .woneum-subnav__item.is-active .woneum-subnav__link:focus-visible {
    color: var(--color-main);
    background: rgba(20, 110, 166, .09);
  }

  .woneum-subnav__item.is-active .woneum-subnav__link::before {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 7px;
    height: 12px;
    border-right: 2px solid var(--color-main);
    border-bottom: 2px solid var(--color-main);
    transform: translateY(-62%) rotate(45deg);
  }

  .woneum-subnav__top-item.is-active .woneum-subnav__top-link {
    color: var(--color-main);
    background: rgba(20, 110, 166, .09);
    font-weight: 700;
  }

  .woneum-subnav__top-item.is-active .woneum-subnav__top-link::before {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 7px;
    height: 12px;
    border-right: 2px solid var(--color-main);
    border-bottom: 2px solid var(--color-main);
    transform: translateY(-62%) rotate(45deg);
  }
}

@media (max-width: 420px) {
  .woneum-subnav {
    padding: 9px 12px;
  }

  .woneum-subnav__toggle {
    min-height: 48px;
    padding: 0 8px 0 11px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .woneum-subnav__toggle-icon::before {
    transition: none;
  }

  .woneum-subnav.is-primary-open .woneum-subnav__top-panel,
  .woneum-subnav.is-secondary-open .woneum-subnav__scroll,
  .woneum-subnav__top-panel.is-open,
  .woneum-subnav__scroll.is-open {
    animation: none;
  }
}


#ft_policy {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    font-size: 14px;
}

#ft_policy a {
    color: #777;
    text-decoration: none;
}

#ft_policy a:hover {
    color: #333;
    text-decoration: underline;
}

#ft_policy .ft_policy_divider {
    color: #ccc;
}