font-face

@font-face {
    font-family: 'OneShinhan';
    font-style: normal;
    font-weight: 300;
    src: local('※'),
    url('/fonts/OneShinhan/OneShinhanLight.woff') format('woff');
}

@font-face {
    font-family: 'OneShinhan';
    font-style: normal;
    font-weight: 400;
    src: local('※'),
    url('/fonts/OneShinhan/OneShinhanMedium.woff') format('woff');
}

@font-face {
    font-family: 'OneShinhan';
    font-style: normal;
    font-weight: 600;
    src: local('※'),
    url('/fonts/OneShinhan/OneShinhanBold.woff') format('woff');
}

:root {
    --form-text-color: #999999;
    --form-bg-color: #f6f3f2;
    --form-border-color: #cccccc;
    --primary-color: #4848fe;
}

body {
    max-width: 640px;
    margin: 0 auto;
    font-family: 'OneShinhan', '원신한', 'Malgun Gothic', '맑은 고딕';
}

.container {
    max-width: 640px;
    position: relative;
    line-height: 0;
}

img {
    width: 100%;
}

button {
    border: 0;
    background: none;
    padding: 0;
    margin: 0;
}

.event-wrap {
    position: relative;
    line-height: 0;
}

.agree-div {
    display: none;
    max-width: 640px;
    margin: 0 auto;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.agree-modal {
    width: 100%;
    max-width: 640px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 6vh 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.agree-modal > .form-section {
    opacity: 0;
    transform: translateY(3rem) scale(0.98);
    animation: form-modal-in 0.45s ease forwards;
}

.agree-modal > section {
    opacity: 0;
    transform: translateY(2rem);
    animation: form-modal-in 0.5s ease forwards;
    animation-delay: 0.08s;
}

@keyframes form-modal-in {
    from {
        opacity: 0;
        transform: translateY(3rem) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

img {
    width: 100%;
}

.main-img-container {
    position: relative;
}

.main-submit-btn-container {
    width: 100%;
    position: absolute;
    bottom: 3%;
}

.main-submit-btn {
    padding-left: 8%;
    padding-right: 8%;

    margin-left: auto;
    margin-right: auto;

    border: none;
    outline: none;
    background-color: inherit;
    cursor: pointer;
}

.event-wrap {
    position: relative;
    line-height: 0;
}

.event-page {
    position: relative;
    background-color: #9A7DFA;
}

.s-rolling {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
    transition: left .5s;
}

.prev-bt,
.next-bt {
    position: absolute;
    top: 42%;
    width: 13%;
    z-index: 2;
}

.prev-bt img,
.next-bt img {
    width: 100%;
}

.prev-bt {
    left: 1%;
}

.next-bt {
    right: 1%;
}

.result-bt {
    margin-top: 3%;
}

.result-wrap {
    position: absolute;
    top: 0;
    background: rgba(0, 0, 0, 0.7);
    height: 100%;
    z-index: 3;
    padding-top: 87%;
}


.e-result {
    position: relative;
}

.close-bt {
    position: absolute;
    right: 3%;
    top: 5%;
    width: 9%;
    z-index: 2;
}

.close-bt img {
    width: 100%;
}

.er-img {
    width: 95%;
    margin: 0 auto;
}

.er-txt {
    position: absolute;
    bottom: 7.5%;
}

/* 동의페이지 */
.form-section {
    background-color: transparent;
    width: 100%;
    margin: auto 0;
}

.agree-wrap {
    position: relative;
    background-size: 100%;
    background-repeat: no-repeat;
    background-color: #fff;
    padding-top: 0;
    padding-bottom: 3rem;
}

.form {
    width: 100%;
}

.box {
    width: 95%;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 1rem;
    padding: 4%;
    margin-bottom: 2%;
}

.agree-wrap .tit {
    width: 35%;
    margin-bottom: 1rem;
}

.fd02 {
    display: grid;
    grid-template-columns: 68% 30%;
    column-gap: 2%;
}

.fd03 {
    display: grid;
    grid-template-columns: 49% 49%;
    column-gap: 2%;
}

.form-section input[type="text"] {
    width: 100%;
    height: 4.8rem;
    padding: 4.1% 0;
    text-align: center;
    font-size: 1.8rem;
    background-color: #f6f3f2;
    border: 1px solid #b8b8b8;
    border-radius: 0 !important;
}

.form-section input::placeholder {
    font-weight: 500;
    color: rgba(0, 0, 0, 0.5);
}

.phone-bt {
    width: 100%;
    height: 100%;
    background-color: var(--form-bg-color);
    border: 1px solid var(--form-border-color);
    color: var(--form-text-color);
    text-align: center;
    font-size: 1.15rem;
}

.form-div input[type="radio"] {
    display: none;
}

.form-div input::placeholder {
    color: var(--form-text-color);
}

.form-div input[type="radio"] + span {
    display: inline-block;
    width: 100%;
    background-color: #f6f3f2;
    border: 1px solid var(--form-border-color);
    text-align: center;
    height: 4.8rem;
    cursor: pointer;
    padding-top: 37%;
    color: var(--form-text-color);
}

.form-div input[type="radio"]:checked + span {
    background-color: #4848fe;
    color: #ffffff;
}

.form-div .gender-label {
    font-size: 1.7rem;
    width: 48%;
    padding: 0;
}

.form-select {
    width: 100%;
    height: 4.8rem;
    background-color: var(--form-bg-color);
    border: 1px solid #b8b8b8;
    font-size: 1.8rem;
    color: var(--form-text-color);
    text-align: center;
}

.dateicon {
    background-image: url('/img/6/icon.png');
    background-repeat: no-repeat;
    background-position: 95% 46%;
    background-size: 6%;
}

.form-checkbox {
    padding: 1rem 2.5rem 1rem 3.5rem;
    line-height: 1.1;
}

.form-checkbox ul li {
    margin-bottom: .8rem;
    vertical-align: top;
    font-size: 1.5rem;
    color: #333333;
    font-weight: normal;
    position: relative;
}

.form-checkbox ul li:first-child {
    font-weight: 600;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1rem;
}

.form-checkbox ul li.agree-sub {
    display: flex;
    gap: 1.6rem;
    padding-left: 2.1rem;
}

.form-checkbox ul li.agree-sub label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.form-checkbox ul li.agree-sub input[type="checkbox"] {
    float: none;
    margin-top: 0;
    margin-right: 0;
}

.form-checkbox input[type="checkbox"] {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0;
    float: left;
    margin-top: .2rem;
    margin-right: .5rem;
    background-color: #fff;
}

.agree-view-link {
    float: right;
    font-size: 1.5rem;
    color: #999999;
    text-decoration: underline;
}

.bottom {
    line-height: a;
}

.bottom-i {
    position: relative;
}

.aglink a {
    position: absolute;
    top: 4%;
    right: 5%;
    font-size: 1.5rem;
    color: #237bff;
}

.aglink a.abt1 {
    top: 20px;
}

.pb35 {
    padding-bottom: 3.5rem;
}

.mb10 {
    margin-bottom: 1rem;
}

.mb20 {
    margin-bottom: 2rem;
}

.mb25 {
    margin-bottom: 2.5rem;
}

.txt-red {
    color: red;
}

/* radio box */
.radio-sel {
    margin-top: 1rem;
}

.radio-sel img {
    width: 25%;
    justify-content: center;
}

.radio-sel label {
    line-height: 2rem;
    padding: 0.1rem 0.8rem;
}

.radio-sel span img {
    width: 10%;
}

.radio-sel input[type="radio"] {
    appearance: none;
    border: 1px solid gray;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
}

.radio-sel input[type="radio"]:checked {
    background-color: #715def;
    border: 0;
}

.radio-sel input[type="radio"]:focus-visible {
    outline-offset: max(2px, 0.1em);
    outline: max(2px, 0.1em) dotted #715def;
}


.radio-sel input[type="radio"]:disabled {
    background-color: lightgray;
    box-shadow: none;
    opacity: 0.7;
    cursor: not-allowed;
}

.radio-sel input[type="radio"]:disabled + span {
    opacity: 0.7;
    cursor: not-allowed;
}

/*FC 선택*/
.step02-div {
    background-color: #f5f4fe;
}

.FC-select {
    display: grid;
    grid-template-columns: 31.5% 31.5% 31.5%;
    column-gap: 2.6%;
    padding: 0 3%;
    margin-bottom: 3rem;
    cursor: pointer;
}

.fs-s01 {
    background-image: url('/img/7/select01-on.png');
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100%;
}

.step02-bt {
    width: 80%;
    margin: 0 auto;
}


/* 해상도 */
@media (max-width: 540px) {
    .form-div input[type="radio"] + span {
        padding-top: 47%;
    }

    .aglink a {
        font-size: 1.3rem;
    }

    .agree-view-link {
        font-size: 1.3rem;
    }
}

@media (max-width: 520px) {
    .radio-sel img {
        width: 27%;
    }

    .radio-sel span img {
        width: 11.6%;
    }
}

@media (max-width: 480px) {
    .agree-wrap {
        padding-bottom: 2rem;
    }

    .agree-wrap .tit {
        width: 39%;
        margin-bottom: .7rem;
    }

    .form-checkbox {
        padding-left: 1.2rem;
    }

    .form-checkbox ul li {
        font-size: 1.1rem;
        margin-bottom: .5rem;
    }

    .form-section input[type="text"],
    .form-div input[type="radio"] + span,
    .form-select {
        font-size: 1.4rem;
        height: 4.3rem;
    }

    .form-checkbox input[type="checkbox"] {
        width: 1.25rem;
        height: 1.25rem;
        margin-top: .1rem;
    }

    .mb10 {
        margin-bottom: .6rem;
    }

    .radio-sel img {
        width: 25%;
    }

    .radio-sel span img {
        width: 10%;
    }

    .radio-sel input[type="radio"] {
        width: 1.6rem;
        height: 1.6rem;
    }

    .aglink a {
        font-size: 1.15rem;
    }

    .dateicon {
        background-size: 8%;
    }

    .mb20 {
        margin-bottom: 1.3rem;
    }
}

@media (max-width: 420px) {

    .fd02 {
        grid-template-columns: 66% 32%;
    }

    .form-div {
        padding-bottom: .7rem;
    }

    .form-section input[type="text"],
    .form-div input[type="radio"] + span,
    .form-select {
        font-size: 1.1rem;
        height: 4.2rem;
    }

    .form-div input[type="radio"] + span {
        padding-top: 51%;
    }

    .form-checkbox input[type="checkbox"] {
        width: 1.25rem;
        height: 1.25rem;
        margin-top: .1rem;
    }

    .radio-sel input[type="radio"] {
        width: 1.3rem;
        height: 1.3rem;
    }


    .phone-bt {
        font-size: 1rem;
    }

    .form-checkbox ul li,
    .aglink a {
        font-size: 1rem;
    }

    .agree-view-link {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .form-section input[type="text"],
    .form-div input[type="radio"] + span,
    .form-select {
        font-size: 1.2rem;
        height: 4rem;
    }

}

/* popup */
.popup {
    padding: 0 4%;
}

.pp-w {
    position: relative;
}

.pp-t {
    padding: 4% 0;
    background-color: #fff;
    border-radius: 1rem;
}

.privacy-content {
    padding: 2.5rem 3rem 3rem;
    color: #222;
    line-height: 1.5;
}

.privacy-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.privacy-lead {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.privacy-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 1.6rem 0 .4rem 0;
}

.privacy-dl {
    margin: 0 0 1rem;
}

.privacy-item {
    margin-bottom: .4rem;
}

.privacy-item dt {
    font-size: 1.05rem;
}

.privacy-item dt::before {
    content: "○ ";
}

.privacy-item dd {
    font-size: 0.95rem;
    margin: 0;
    color: #333;
}

.privacy-emph {
    font-size: 1.1rem !important;
    font-weight: 700;
}

.privacy-list {
    margin: .6rem 0 0 1.2rem;
    padding: 0;
}

.privacy-list li {
    margin-bottom: .4rem;
}

.privacy-policy {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
}

.privacy-policy-label {
    font-weight: 700;
}

.privacy-policy-link {
    color: #1b64d1;
    text-decoration: underline;
    word-break: break-all;
}

.privacy-notes {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.95rem;
    color: #333;
}

.privacy-notes li {
    margin-bottom: .6rem;
}

.privacy-notes-bold li {
    font-size: 1.1rem;
    font-weight: 700;
}

@media (max-width: 420px) {
    .privacy-content {
        padding: 1.4rem 1.4rem 1.8rem;
    }

    .privacy-title {
        font-size: 1.1rem;
    }

    .privacy-lead {
        font-size: 0.95rem;
    }

    .privacy-section-title,
    .privacy-item dt {
        font-size: 1rem;
    }

    .privacy-item dd,
    .privacy-policy,
    .privacy-notes {
        font-size: 0.9rem;
    }
}

/* 슬라이드 css */
.trans_anim_all_class {
    -moz-transition: all 0.5s;
    -webkit-transition: all 0.35s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

/* datepicker Style */
.ui-datepicker {
    padding: 0;
    display: none;
    border: 0;
}

.ui-widget.ui-widget-content {
    border: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3)
}

.ui-datepicker .ui-widget-header {
    position: relative;
    padding: 6px 0 36px 0;
    border: 0;
    background: #705dcf;
    color: #fff;
    border-radius: 0;
}

.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
    width: 70px;
    height: 26px;
    line-height: 26px;
    background: rgba(0, 0, 0, 0.15) url(/img/6/arrow-button.png) 100% -27px no-repeat;
    margin: 0 4px;
    padding: 0 6px;
    border: 0;
    border-radius: 3px;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none; /* 화살표 없애기 */
}

.ui-datepicker select.ui-datepicker-month:hover, .ui-datepicker select.ui-datepicker-year:hover {
    background: rgba(0, 0, 0, 0.3) url(/img/6/arrow-button.png) 100% -27px no-repeat;
}

.ui-datepicker select::-ms-expand {
    display: none; /* 화살표 없애기 for IE10, 11*/
}

.ui-datepicker .ui-datepicker-title {
    line-height: 1.8em;
    text-align: center;
    margin: 0px 2.3em;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0;
}

.ui-datepicker-title .ui-datepicker-year option, .ui-datepicker-title .ui-datepicker-month option {
    background: #fff;
    color: #333;
}

.ui-datepicker .ui-datepicker-calendar {
    position: relative;
    margin: 0 auto;
}

.ui-datepicker-calendar thead tr {
    position: absolute;
    top: -24px;
    left: 5px;
    right: 5px;
}

.ui-datepicker-calendar thead th {
    float: left;
    display: block;
    padding: 0;
    width: 14.2857%;
    color: #fff;
    font-size: 11px;
    letter-spacing: 1px;
    opacity: 0.6
}

.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
    position: absolute;
    top: 5px;
    width: 1.8em;
    height: 1.8em;
    text-indent: -9999px;
    cursor: pointer
}

.ui-datepicker .ui-datepicker-prev {
    left: 5px;
}

.ui-datepicker .ui-datepicker-prev.ui-state-hover {
    background: rgba(0, 0, 0, 0.1);
    border: 0;
}

.ui-datepicker .ui-datepicker-prev .ui-icon {
    background: url(/img/6/arrow-button.png) 0 0 no-repeat;
}

.ui-datepicker .ui-datepicker-next {
    right: 5px;
}

.ui-datepicker .ui-datepicker-next.ui-state-hover {
    background: rgba(0, 0, 0, 0.1);
    border: 0;
}

.ui-datepicker .ui-datepicker-next .ui-icon {
    background: url(/img/6/arrow-button.png) -16px 0 no-repeat;
}

.ui-datepicker .ui-state-default {
    display: block;
    border: 0;
    border-radius: 15px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    padding: 0;
    margin: 2px auto;
    font-size: 14px;
    text-align: center;
    background: #fff;
    font-weight: bold;
    color: #333;
    box-sizing: border-box;
    text-decoration: none;
}

/* 선택 안되는 날짜 */
.ui-state-disabled .ui-state-default {
    color: #bababa;
    font-weight: normal;
}

/*.ui-datepicker .ui-state-default.ui-state-hover { background: rgba(0,0,0,0.05); }*/

.ui-datepicker-today .ui-state-default {
    color: #705dcf;
}

.ui-datepicker-today .ui-state-default::after {
    content: '오늘';
    display: block;
    line-height: 0;
    font-size: .85rem;
}

.ui-datepicker-current-day .ui-state-default {
    background: #705dcf !important;
    color: #fff;
    font-weight: bold;
}

.ui-datepicker-buttonpane {
    overflow: hidden;
    border-top: 1px solid #eee;
}

.ui-datepicker-buttonpane button[data-handler="today"] {
    color: #705dcf;
    opacity: 0.75;
}


/* ie add Style */
.ui-datepicker td, .ui-datepicker th {
    border: 0
}

.ui-datepicker .ui-datepicker-buttonpane button {
    float: right;
    cursor: pointer;
    width: auto;
    margin: 0.5em 0.2em 0.4em;
    padding: 0.2em 0.6em 0.3em;
    overflow: visible;
}

.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
    float: left;
}

.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span {
    display: block;
    position: absolute;
    left: 50%;
    margin-left: -8px;
    top: 50%;
    margin-top: -8px;
}

.ui-corner-all {
    border-radius: 3px;
}

.ui-icon {
    display: block;
    width: 16px;
    height: 16px;
}

/* mobile Responsive */
@media screen and (max-width: 480px) {
    .ui-datepicker {
        width: 270px !important;
        left: 50% !important;
        margin-left: -135px !important;
    }
}

.applicant-title {
    font-size: 1.7rem;
    font-weight: normal;
}

.survey-container {
    align-items: center;
    font-size: 1.2rem;
    font-weight: lighter;
}

.form-div .survey-label {
    font-size: 1.7rem;
    display: inline-block;
    width: 47%;
}

.form-radio {
    display: none;
}

.form-radio + span {
    display: inline-block;
    width: 100%;
    background-color: #f6f3f2;
    border: 1px solid var(--form-border-color);
    text-align: center;
    height: 4.8rem;
    cursor: pointer;
    padding-top: 37%;
    color: var(--form-text-color);
}

.form-submit {
    background-color: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    width: 90%;
    padding: 20px;
    border-radius: 10px;
}

.request-auth-number.active,
.confirm-auth-number.active {
    color: white;
    background-color: var(--primary-color);
}

.form-select {
    color: var(--form-text-color);
}
.form-select.active {
    color: black;
}
