@charset "utf-8";
/* 통증완화시스템 */

/* ========== 페이지 전용 유틸 ========== */
html,
body,
main {
    margin: 0;
    padding: 0;
}
body {
    position: relative;
    overflow-x: hidden;
    font-family: 'Pretendard', sans-serif;
    -webkit-font-smoothing: antialiased;
    word-break: keep-all;
}
.section {
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* ========== nopain01 ========== */
.nopain01 {
    position: relative;
    overflow: hidden;
    color: #fff;
}
.nopain01_bg_video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.nopain01 .center,
.nopain01 [class^='nopain01_con'] {
    z-index: 1;
}
.nopain01 .center {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
}
.nopain01 h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 11px;
}
.nopain01 h2 {
    margin-bottom: 11px;
}
.nopain01 [class^='nopain01_con'] {
    position: absolute;
    color: #fff;
    font-size: 32px;
    font-weight: 200;
    line-height: 160%;
    text-transform: uppercase;
    display: inline-flex;
    padding: 10px 40px;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    border: 1px solid #fff;
    background: rgba(217, 217, 217, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.nopain01 .nopain01_con01 {
    bottom: 28%;
    right: 19%;
}
.nopain01 .nopain01_con02 {
    bottom: 52%;
    right: 11%;
}

/* ========== nopain02 ========== */
.nopain02 {
    background: url(/img/sub/nopain02_bg.jpg) center/cover no-repeat;
}
.nopain02 .center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 0 140px;
}
.nopain02 h2 {
    text-align: center;
    color: #323333;
    margin-bottom: 60px;
}

.bar_wrap {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin-bottom: 20px;
}
.bar_wrap ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
}
.bar_wrap ul::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 8px;
    opacity: 0.4;
    background: linear-gradient(90deg, rgba(188, 208, 188, 0.5) 0%, #ccc 100%);
    border-radius: 100px;
    transform: translateY(-50%);
    z-index: 0;
}
.bar_wrap ul::after {
    content: '';
    border-radius: 100px;
    background: linear-gradient(90deg, rgba(188, 208, 188, 0.5) 0%, #ccc 100%);
    display: inline-block;
    width: 0;
    left: 0;
    height: 8px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    transition: width 1.5s ease-in-out;
}
.bar_wrap.active ul::after {
    width: 100%;
}
.bar_wrap li {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    background: var(--warmgray);
    color: #fff;
    padding: 10px 20px;
    border-radius: 29px;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: scale(0.8);
    transition:
        opacity 0.4s,
        transform 0.4s,
        background 0.3s;
    transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}
.bar_wrap.active li {
    opacity: 1;
    transform: scale(1);
    background: var(--deepgreen);
}
.bar_wrap.active li:nth-child(1) { transition-delay: 0.15s; }
.bar_wrap.active li:nth-child(2) { transition-delay: 0.55s; }
.bar_wrap.active li:nth-child(3) { transition-delay: 0.95s; }
.bar_wrap.active li:nth-child(4) { transition-delay: 1.3s; }

.nopain02_con {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1680px;
}
.nopain02_con > div {
    position: relative;
    background: #fff;
    color: #323333;
    width: 350px;
    height: 400px;
    border-radius: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.8s ease 0.4s;
    filter: drop-shadow(9px 9px 20px rgba(0, 0, 0, 0.15));
}
.nopain02_con > div:nth-child(1) {
    z-index: 4;
    transform: translate(160%, 0);
}
.nopain02_con > div:nth-child(2) {
    z-index: 3;
    transform: translate(56%, 0);
}
.nopain02_con > div:nth-child(3) {
    z-index: 2;
    transform: translate(-45%, 0);
}
.nopain02_con > div:nth-child(4) {
    z-index: 1;
    transform: translate(-154%, 0);
}
.nopain02_con.active > div {
    transform: translate(0, 0);
}
.nopain02_con > div > img:nth-of-type(2) {
    position: absolute;
    right: -28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease 1.2s;
}
.nopain02_con.active > div > img:nth-of-type(2) {
    opacity: 1;
}

/* ========== nopain03 ========== */
.nopain03 {
    background: #403d33;
    color: #fff;
    overflow: visible !important;
}
.nopain03 .center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 140px 120px 0;
}
.nopain03 h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}
.nopain03_con {
    position: relative;
    width: 100%;
    max-width: 1682px;
    border-radius: 300px;
    overflow: hidden;
    margin: 0 auto;
}
[class^='nopain03_con0'] {
    position: relative;
    width: 100%;
}
.nopain03_con02 {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(100%);
}
[class^='nopain03_con0'] > img {
    width: 100%;
    display: block;
}
[class^='nopain03_con0'] h3 {
    position: absolute;
    bottom: 280px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    white-space: nowrap;
}
[class^='nopain03_con0'] p {
    position: absolute;
    bottom: 240px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    font-size: 18px;
    white-space: nowrap;
}
[class^='nopain03_con0'] > div {
    position: absolute;
    bottom: 165px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    white-space: nowrap;
}
[class^='nopain03_con0'] > div span {
    background: var(--warmgray);
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 18px;
    color: #fff;
    line-height: 180%;
}

/* ========== responsive ========== */
@media screen and (max-width: 1600px) {
    .nopain01 [class^='nopain01_con'] { font-size: 26px; padding: 8px 30px; }
    .nopain02 .center { padding: 0 60px; }
    .bar_wrap,
    .nopain02_con { transform: scale(0.82); transform-origin: top center; }
    .nopain02_con { margin-top: -20px; }
    .nopain03 .center { padding: 110px 60px 0; }
    .nopain03_con { border-radius: 200px; }
}
@media screen and (max-width: 1280px) {
    .nopain01 [class^='nopain01_con'] { font-size: 22px; padding: 6px 24px; }
    .nopain02 .center { padding: 0 40px; }
    .bar_wrap,
    .nopain02_con { transform: scale(0.66); }
    .nopain02_con { margin-top: -10px; }
    .nopain03 .center { padding: 96px 40px 0; }
    .nopain03_con { border-radius: 160px; }
}

