/* 웹에디터 위젯: 방문자 화면에도 쓰이는 최소 스타일 */
.one-w { box-sizing: border-box; width: 100%; max-width: 1200px; margin: 28px auto; padding: 0 16px; }
.one-w img { display: block; width: 100%; height: auto; border-radius: 10px; }
.one-w a { text-decoration: none; }
.one-w__row { display: flex; gap: 16px; }
.one-w__cell { flex: 1 1 0; min-width: 0; }
.one-w__cell > a, .one-w__cell > span { display: block; }
.one-w__ph { display: flex; align-items: center; justify-content: center; min-height: 140px; border: 1px dashed #c4c4cb; border-radius: 10px; color: #8a8a92; font-size: 14px; background: #f6f6f8; }
.one-w__title { margin: 0 0 8px; font-size: 1.5rem; font-weight: 700; }
.one-w__body { margin: 0; white-space: pre-line; color: inherit; opacity: .8; }
.one-w__btn { display: inline-block; padding: 12px 28px; border-radius: 999px; background: var(--okc-primary, var(--kc-primary, #1f5eff)); color: #fff !important; font-weight: 600; }
.one-w__hr { border: 0; border-top: 1px solid rgba(128, 128, 128, .35); margin: 8px 0; }
.one-w--text { padding-top: 12px; padding-bottom: 12px; }
@media (max-width: 767.98px) { .one-w__row { flex-direction: column; } .one-w { margin: 20px auto; } }

/* 열 수 조절 (섹션 자세히 고치기 > 디자인): 항목 묶음을 지정한 열 수의 격자로 바꾼다 */
[style*="--one-cols"] { display: grid !important; grid-template-columns: repeat(var(--one-cols), minmax(0, 1fr)) !important; gap: 16px !important; }
[style*="--one-cols"] > * { width: auto !important; max-width: none !important; flex: none !important; margin-left: 0 !important; margin-right: 0 !important; }
@media (max-width: 767.98px) { [style*="--one-cols"] { grid-template-columns: repeat(min(var(--one-cols), 2), minmax(0, 1fr)) !important; } }

/* 동영상 · 쇼츠 · 2단 텍스트 · 상품 진열 · 상담 버튼 */
.one-w__vid { position: relative; aspect-ratio: 16 / 9; }
.one-w__short { position: relative; aspect-ratio: 9 / 16; }
.one-w__vid iframe, .one-w__short iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
.one-w__row--shorts { justify-content: center; }
.one-w__row--shorts .one-w__cell { max-width: 300px; }
.one-w__cols .one-w__cell { padding: 0 8px; }
.one-w--consult { position: fixed; bottom: 20px; z-index: 1030; width: auto; max-width: none; margin: 0; padding: 0; }
.one-w--consult-right { right: 20px; }
.one-w--consult-left { left: 20px; }
.one-w__consult { display: inline-block; padding: 14px 22px; border-radius: 999px; background: var(--okc-primary, var(--kc-primary, #1f5eff)); color: #fff !important; font-weight: 700; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }

/* 바탕 · 사진 붙이기 */
.one-w--bg-gray { background: #f3f4f6; border-radius: 12px; }
.one-w--bg-black { background: #111; color: #fff; border-radius: 12px; }
.one-w--bg-black .one-w__body { color: #ddd; }
.one-w--tight .one-w__row { gap: 0; }
.one-w--tight img { border-radius: 0; }
.one-sk { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 16px 14px; }
.one-sk__t { font-size: 12px; font-weight: 700; opacity: .6; margin-right: 4px; }
.one-sk__c { padding: 5px 12px; border-radius: 999px; background: rgba(128, 128, 128, .15); color: inherit; font-size: 13px; text-decoration: none; }

/* 상담 버튼: 아이콘형 */
.one-w--consult-icon .one-w__consult { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; padding: 0; border-radius: 50%; border: 1px solid transparent; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); }
.one-w--consult-yellow .one-w__consult { background: #fee500; color: #191919 !important; }
.one-w--consult-dark .one-w__consult { background: #2b2f36; color: #fff !important; }
.one-w--consult-white .one-w__consult { background: #fff; color: #374151 !important; border-color: #d5d9df; }
.one-w--gone { display: none !important; }
.one-w--off { opacity: .45; }
@media (max-width: 767.98px) { .one-w--nomobile { display: none !important; } }

/* 상담 버튼: 효과 */
.one-w--consult-icon .one-w__consult { position: relative; }
.one-fx-pulse .one-w__consult { animation: one-fx-pulse 1.8s ease-in-out infinite; }
.one-fx-bounce .one-w__consult { animation: one-fx-bounce 2.2s ease-in-out infinite; }
.one-fx-shake .one-w__consult { animation: one-fx-shake 3s ease-in-out infinite; }
.one-fx-ripple .one-w__consult::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: one-fx-ripple 2s ease-out infinite; pointer-events: none; }
@keyframes one-fx-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes one-fx-bounce { 0%, 60%, 100% { transform: translateY(0); } 70% { transform: translateY(-12px); } 80% { transform: translateY(0); } 90% { transform: translateY(-5px); } }
@keyframes one-fx-shake { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-12deg); } 80% { transform: rotate(10deg); } 85% { transform: rotate(-8deg); } 90% { transform: rotate(6deg); } }
@keyframes one-fx-ripple { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .one-fx-pulse .one-w__consult, .one-fx-bounce .one-w__consult, .one-fx-shake .one-w__consult, .one-fx-ripple .one-w__consult::after { animation: none; } }

/* 매거진 */
.one-mg__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.one-mg__head .one-w__title { margin: 0; }
.one-mg__more { font-size: .875rem; opacity: .7; color: inherit; white-space: nowrap; }
.one-mg__list { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.one-mg--c2 .one-mg__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.one-mg--c3 .one-mg__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.one-mg--cscroll .one-mg__list { display: flex; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; }
.one-mg--cscroll .one-mg__card { flex: none; width: 220px; scroll-snap-align: start; }
.one-mg__list > .one-w__ph { grid-column: 1 / -1; }
.one-mg__card { display: block; min-width: 0; color: inherit; }
.one-mg__img { display: block; width: 100%; aspect-ratio: 1 / 1; background: #eceef1; overflow: hidden; }
.one-mg--pt .one-mg__img { aspect-ratio: 4 / 5; }
.one-mg--ls .one-mg__img { aspect-ratio: 16 / 9; }
.one-mg--round .one-mg__img { border-radius: 14px; }
.one-mg__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.one-mg__t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 12px; font-size: .9375rem; font-weight: 500; line-height: 1.45; }
.one-mg__d { display: block; margin-top: 6px; font-size: .75rem; opacity: .65; }
@media (max-width: 767.98px) { .one-mg__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .one-mg--cscroll .one-mg__card { width: 160px; } }



/* 여러 장 사진 · 지도 · 숫자 4칸 · 맺음 + 버튼 */
.one-w__gal { display: grid; gap: 16px; }
.one-w__gal--c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.one-w__gal--c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.one-w__gal--c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.one-w--tight .one-w__gal { gap: 0; }
.one-w--tight .one-w__gal img, .one-w--tight .one-w__gal .one-w__ph { border-radius: 0; }
.one-w__gal img { aspect-ratio: 1 / 1; object-fit: cover; }
.one-w__gal--ls img { aspect-ratio: 4 / 3; }
.one-w__gal--pt img { aspect-ratio: 3 / 4; }
.one-w__gal .one-w__ph { min-height: 0; aspect-ratio: 1 / 1; }
.one-w__gal--ls .one-w__ph { aspect-ratio: 4 / 3; }
.one-w__gal--pt .one-w__ph { aspect-ratio: 3 / 4; }
.one-w__gal a img { transition: opacity .2s; }
.one-w__gal a:hover img { opacity: .85; }
@media (max-width: 767.98px) { .one-w__gal--c3, .one-w__gal--c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .one-w__gal { gap: 10px; } }

.one-w__map { position: relative; overflow: hidden; border-radius: 10px; background: #eef0f3; }
.one-w__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.one-w__map .one-w__ph { height: 100%; min-height: 0; }
.one-w__mapf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 12px; font-size: 14px; }
.one-w__addr { opacity: .8; }
.one-w__maplink { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid rgba(128, 128, 128, .35); border-radius: 999px; color: inherit !important; font-size: 13px; font-weight: 600; }
.one-w__maplink:hover { border-color: currentColor; }

.one-w--stats { text-align: center; }
.one-w--stats > .one-w__title { margin-bottom: 24px; }
.one-w__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.one-w__stat { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 10px; }
.one-w__stat + .one-w__stat { border-left: 1px solid rgba(128, 128, 128, .25); }
.one-w__num { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--okc-primary, var(--kc-primary, #1f5eff)); font-variant-numeric: tabular-nums; }
.one-w__lbl { font-size: 14px; opacity: .75; }
@media (max-width: 767.98px) {
  .one-w__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .one-w__stat:nth-child(3) { border-left: 0; }
  .one-w__stat:nth-child(n+3) { border-top: 1px solid rgba(128, 128, 128, .25); }
}

.one-w--cta { text-align: center; }
.one-w__cta { padding: 56px 24px; border-radius: 16px; background: #f3f4f6; color: #1b1b1e; }
.one-w__cta .one-w__title { font-size: clamp(1.35rem, 2.6vw, 1.85rem); }
.one-w__cta .one-w__body { max-width: 560px; margin: 0 auto 24px; }
.one-w__cta .one-w__ph { min-height: 60px; margin-bottom: 20px; }
.one-w--cta-point .one-w__cta { background: var(--okc-primary, var(--kc-primary, #1f5eff)); color: #fff; }
.one-w--cta-point .one-w__btn { background: #fff; color: var(--okc-primary, var(--kc-primary, #1f5eff)) !important; }
.one-w--cta-dark .one-w__cta { background: #17171a; color: #fff; }
.one-w--cta-dark .one-w__btn { background: #fff; color: #17171a !important; }
@media (max-width: 767.98px) { .one-w__cta { padding: 40px 18px; } }

/* 배너 · 안내 글 · 혜택 3칸 */
.one-w__band { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 34px 40px; border-radius: 14px; overflow: hidden; background: var(--okc-primary, var(--kc-primary, #1f5eff)); color: #fff; }
.one-w--band-dark .one-w__band { background: #17171a; }
.one-w--band-soft .one-w__band { background: #f1f3f6; color: #1b1b1e; }
.one-w__band.has-img { min-height: 180px; }
.one-w__bandbg { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; border-radius: 0 !important; }
.one-w__band.has-img::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .15)); }
.one-w__band.has-img { color: #fff; }
.one-w__bandtx, .one-w__bandb { position: relative; z-index: 2; }
.one-w__bandtx { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.one-w__bandt { font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
.one-w__bands { font-size: 15px; opacity: .85; }
.one-w__bandb { flex: none; display: inline-block; padding: 12px 24px; border-radius: 999px; background: #fff; color: #1b1b1e !important; font-weight: 700; font-size: 14px; }
.one-w--band-soft .one-w__band:not(.has-img) .one-w__bandb { background: #1b1b1e; color: #fff !important; }
.one-w__band.is-center { flex-direction: column; justify-content: center; text-align: center; }
.one-w__band.is-center .one-w__bandtx { align-items: center; }
@media (max-width: 767.98px) { .one-w__band { padding: 26px 22px; } }

.one-w__notice { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 14px 18px; font-size: 14.5px; line-height: 1.6; color: inherit !important; text-align: center; white-space: pre-line; }
.one-w__notice svg { flex: none; opacity: .7; }
.one-w--notice-box .one-w__notice { background: #f3f4f6; border-radius: 10px; }
.one-w--notice-line .one-w__notice { border-top: 1px solid rgba(128, 128, 128, .3); border-bottom: 1px solid rgba(128, 128, 128, .3); }
a.one-w__notice:hover span { text-decoration: underline; }

.one-w--benefits { text-align: center; }
.one-w--benefits > .one-w__title { margin-bottom: 22px; }
.one-w__bens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.one-w__ben { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 16px; }
.one-w--card .one-w__ben { background: #f6f7f9; border-radius: 14px; }
.one-w__benic { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(31, 94, 255, .08); color: var(--okc-primary, var(--kc-primary, #1f5eff)); }
.one-w__bent { font-size: 16px; font-weight: 700; }
.one-w__bend { font-size: 13.5px; opacity: .7; line-height: 1.6; }
@media (max-width: 767.98px) { .one-w__bens { grid-template-columns: minmax(0, 1fr); gap: 10px; } .one-w__ben { padding: 18px 16px; } }

/* 조직도 */
.one-w--org { text-align: center; }
.one-w--org > .one-w__title { margin-bottom: 26px; }
.one-w__org { display: flex; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
.one-w__orgl { position: relative; display: flex; justify-content: center; margin: 0; padding: 20px 0 0; list-style: none; }
.one-w__orgl--root { min-width: max-content; margin: 0 auto; padding: 0; }
.one-w__orgl:not(.one-w__orgl--root)::before { content: ''; position: absolute; top: 0; left: 50%; height: 20px; border-left: 1px solid rgba(128, 128, 128, .45); }
.one-w__orgi { position: relative; display: flex; flex-direction: column; align-items: center; margin: 0; padding: 20px 8px 0; }
.one-w__orgi::before, .one-w__orgi::after { content: ''; position: absolute; top: 0; right: 50%; width: 50%; height: 20px; border-top: 1px solid rgba(128, 128, 128, .45); }
.one-w__orgi::after { right: auto; left: 50%; border-left: 1px solid rgba(128, 128, 128, .45); }
.one-w__orgi:first-child::before, .one-w__orgi:last-child::after { border-top: 0; }
.one-w__orgi:only-child::before { display: none; }
.one-w__orgi:last-child:not(:only-child)::before { border-right: 1px solid rgba(128, 128, 128, .45); border-radius: 0 8px 0 0; }
.one-w__orgi:first-child:not(:only-child)::after { border-radius: 8px 0 0 0; }
.one-w__orgl--root > .one-w__orgi { padding-top: 0; }
.one-w__orgl--root > .one-w__orgi::before, .one-w__orgl--root > .one-w__orgi::after { display: none; }
.one-w__orgc { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 112px; max-width: 180px; padding: 12px 14px; border: 1px solid rgba(128, 128, 128, .3); border-radius: 10px; background: #fff; color: #1b1b1e; line-height: 1.4; box-sizing: border-box; }
.one-w__orgc.is-top { border-color: var(--okc-primary, var(--kc-primary, #1f5eff)); background: var(--okc-primary, var(--kc-primary, #1f5eff)); color: #fff; }
.one-w__orgimg { width: 56px; height: 56px !important; margin-bottom: 4px; border-radius: 50% !important; object-fit: cover; }
.one-w__orgn { font-size: 15px; font-weight: 700; word-break: keep-all; }
.one-w__orgr { font-size: 12.5px; opacity: .7; word-break: keep-all; }

/* 조직도 · 세로 목록 */
.one-w--org-list { text-align: left; }
.one-w--org-list .one-w__org { display: block; overflow: visible; }
.one-w--org-list .one-w__orgl { display: block; padding: 0 0 0 20px; }
.one-w--org-list .one-w__orgl--root { min-width: 0; padding: 0; }
.one-w--org-list .one-w__orgl:not(.one-w__orgl--root)::before { display: none; }
.one-w--org-list .one-w__orgi { display: block; padding: 8px 0 0 22px; text-align: left; }
.one-w--org-list .one-w__orgi::before { display: block; top: 0; right: auto; left: 0; width: 18px; height: 31px; border: 0; border-left: 1px solid rgba(128, 128, 128, .45); border-bottom: 1px solid rgba(128, 128, 128, .45); border-radius: 0 0 0 8px; }
.one-w--org-list .one-w__orgi::after { top: 0; right: auto; bottom: 0; left: 0; width: 0; height: auto; border-top: 0; border-radius: 0; }
.one-w--org-list .one-w__orgi:last-child::after { display: none; }
.one-w--org-list .one-w__orgl--root > .one-w__orgi { padding: 0; }
.one-w--org-list .one-w__orgc { display: inline-flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px 10px; min-width: 0; max-width: 100%; padding: 10px 14px; text-align: left; }
.one-w--org-list .one-w__orgimg { width: 36px; height: 36px !important; margin: 0; }
.one-w--org-list .one-w__orgi:last-child:not(:only-child)::before { border-right: 0; border-radius: 0 0 0 8px; }
.one-w--org-list .one-w__orgl--root > .one-w__orgi::before, .one-w--org-list .one-w__orgl--root > .one-w__orgi::after { display: none; }
@media (max-width: 767.98px) {
  .one-w--org-tree { text-align: left; }
  .one-w--org-tree .one-w__org { display: block; overflow: visible; }
  .one-w--org-tree .one-w__orgl { display: block; padding: 0 0 0 20px; }
  .one-w--org-tree .one-w__orgl--root { min-width: 0; padding: 0; }
  .one-w--org-tree .one-w__orgl:not(.one-w__orgl--root)::before { display: none; }
  .one-w--org-tree .one-w__orgi { display: block; padding: 8px 0 0 22px; text-align: left; }
  .one-w--org-tree .one-w__orgi::before { display: block; top: 0; right: auto; left: 0; width: 18px; height: 31px; border: 0; border-left: 1px solid rgba(128, 128, 128, .45); border-bottom: 1px solid rgba(128, 128, 128, .45); border-radius: 0 0 0 8px; }
  .one-w--org-tree .one-w__orgi::after { top: 0; right: auto; bottom: 0; left: 0; width: 0; height: auto; border-top: 0; border-radius: 0; }
  .one-w--org-tree .one-w__orgi:last-child::after { display: none; }
  .one-w--org-tree .one-w__orgl--root > .one-w__orgi { padding: 0; }
  .one-w--org-tree .one-w__orgc { display: inline-flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px 10px; min-width: 0; max-width: 100%; padding: 10px 14px; text-align: left; }
  .one-w--org-tree .one-w__orgimg { width: 36px; height: 36px !important; margin: 0; }
  .one-w--org-tree .one-w__orgi:last-child:not(:only-child)::before { border-right: 0; border-radius: 0 0 0 8px; }
  .one-w--org-tree .one-w__orgl--root > .one-w__orgi::before, .one-w--org-tree .one-w__orgl--root > .one-w__orgi::after { display: none; }
}
