/* Typography */
.typo-headline {
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 140%;
    letter-spacing: -10;
}
.typo-title {
    font-weight: 800;
    font-size: 1.125rem;
    line-height: 140%;
}
.typo-body {
    font-weight: 500;
    font-size: 1rem;
    line-height: 150%;
}
.typo-label {
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 150%;
}

/* Colors */
.color-gray--10 { color: #f9f9f9; }
.color-gray--20 { color: #e9e9e9; }
.color-gray--30 { color: #D4D4D4; }
.color-gray--50 { color: #707070; }
.color-gray--70 { color: #4E4E4E; }
.color-gray--100 { color: #303030; }
.color-error--10 { color: #FFF2F2; }
.color-error--100 { color: #FF0000; }
.color-primary { color: #1C873B; }

/* Spacing */
.row-gap--96 { row-gap: 6rem; }
.row-gap--80 { row-gap: 5rem; }
.row-gap--64 { row-gap: 4rem; }
.row-gap--40 { row-gap: 2.5rem; }
.row-gap--32 { row-gap: 2rem; }
.row-gap--24 { row-gap: 1.5rem; }
.row-gap--20 { row-gap: 1.25rem; }
.row-gap--16 { row-gap: 1rem; }
.row-gap--12 { row-gap: 0.75rem; }
.row-gap--10 { row-gap: 0.625rem; }
.row-gap--8 { row-gap: 0.5rem; }
.row-gap--4 { row-gap: 0.25rem; }

.col-gap--96 { column-gap: 6rem; }
.col-gap--80 { column-gap: 5rem; }
.col-gap--64 { column-gap: 4rem; }
.col-gap--40 { column-gap: 2.5rem; }
.col-gap--32 { column-gap: 2rem; }
.col-gap--24 { column-gap: 1.5rem; }
.col-gap--20 { column-gap: 1.25rem; }
.col-gap--16 { column-gap: 1rem; }
.col-gap--12 { column-gap: 0.75rem; }
.col-gap--10 { column-gap: 0.625rem; }
.col-gap--8 { column-gap: 0.5rem; }
.col-gap--4 { column-gap: 0.25rem; }

/* Layout */
header,
main {
    width: 656px;
    background-color: #fff;
    margin: 0 auto;
    border-radius: 0.5rem;
}
header {
    margin-top: 7.5rem;
}
#footer {
    width: 656px;
    background-color: #D4D4D4;
    color: #303030;
    margin: 0 auto;
    border-radius: 0.5rem;
}
section {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    padding: 2.5rem;
}
article { 
    width: 100%; 
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
}    
.item {
    width: 100%;
    display: grid;
    position: relative;
}
.col-merge {
    grid-column: 1 / 3;
}
#regi-container {    
    width: 100%;
	display: grid;
	grid-template-columns: 1fr;
    background-color: #fff;
    color: #303030; 
    word-break: keep-all; 
    font-family: 'basic font', sans-serif;
    font-weight: 500;
}
form {
	display: grid;
	grid-template-columns: 1fr;
}

/* input 기본 스타일 초기화 */
input, textarea, button { 
-webkit-appearance : none;
-moz-appearance:none;
appearance:none;
border: none;
}
input:focus, textarea:focus, button:focus { 
-webkit-appearance : none;
-moz-appearance:none;
appearance:none;
outline: none;
}

input[type="radio"],
input[type="checkbox"]{ 
    display: none; 
}
p {
	display: block; 
	width: 100%;
}
input::placeholder,
textarea::placeholder {
	color: #848484;
}
/* Header */
.header__img { 
    width: 100%;
    display: block;
    border-radius: 0.5rem 0.5rem 0 0; 
}
.header__title { 
    font-weight: 600; 
    font-size: 1.5rem; 
    line-height: 140%; 
    letter-spacing: -10; 
}
.header__description { 
    font-weight: 400; 
    font-size: 1rem; 
    line-height: 150%; 
}
.header__img--only { 
    border-radius: 0.5rem; 
}

/* Group Label */
.group-label { 
    padding-bottom: 0.625rem; 
    border-bottom: 1px solid #303030; 
    font-weight: 600; 
    font-size: 1.125rem; 
    line-height: 140%; 
}

/* Label */
.label--require,
.label--option {
    display: flex;
    align-items: flex-start;
    word-break: break-all;
    line-height: 150%;
    gap: 0.25rem;
}
.label--require::before {
    content: '(필수)';
    color: #FF0000;
    font-size: 0.875rem;
    font-weight: 500;
    word-break: keep-all;
}
.label--option::before {
    content: '(선택)';
    color: #848484;
    font-size: 0.875rem;
    font-weight: 500;
    word-break: keep-all;
}

/* Text field */
.text-field {
    display: block;
    width: 100%;
    height: 3.25rem;
    padding: 1rem;
    border: 1px solid #D4D4D4;
    background-color: #f9f9f9;
    border-radius: 0.5rem;
    font-family: 'basic font', sans-serif;
    font-weight: 500;   
    font-size: 1rem;
    transition: all 0.2s ease-in-out;
}

/* Text area */
.text-area {
    display: block;
    width: 100%;
    height: 9.75rem;
    resize: none;
    padding: 1rem;
    border: 1px solid #D4D4D4;
    background-color: #f9f9f9;
    border-radius: 0.5rem;
    font-family: 'basic font', sans-serif;
    font-weight: 500;   
    font-size: 1rem;
    line-height: 150%;
    transition: all 0.2s ease-in-out;
}

/* Drop down */
.drop-down {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 3.25rem;
    padding: 1rem 4.25rem 1rem 1rem;
    border: 1px solid #D4D4D4;
    background-color: #f9f9f9;
    background-image: url(https://www.webusiness.co.kr/assets/img/arrow_down.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 1rem) center;
    background-size: 2rem;
    border-radius: 0.5rem;
    font-family: 'basic font', sans-serif;
    font-weight: 500;   
    font-size: 1rem;
    color: #808080;
    cursor: pointer;
    transition: border 0.2s ease-in-out;
    text-overflow: ellipsis;
}
.drop-down--disabled {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 3.25rem;
    padding: 1rem;
    border: 1px solid #D4D4D4;
    background-color: #D4D4D4;
    background-image: url(https://www.webusiness.co.kr/assets/img/arrow_down.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 1rem) center;
    background-size: 2rem;
    border-radius: 0.5rem;
    font-family: 'basic font', sans-serif;
    font-weight: 500;   
    font-size: 1rem;
}
.drop-list {
    display: none;
}
.drop-list--show {
    display: flex;
    position: absolute;
    flex-direction: column;
    width: 100%;
    height: auto;
    max-height: 15.25rem;
    overflow-y: scroll;
    padding: 1rem;
    border: 1px solid #D4D4D4;
    background-color: #f9f9f9;
    border-radius: 0.5rem;
    box-shadow: 0px 4px 8px #0000001A;
    z-index: 111;
}
.drop-list--show::-webkit-scrollbar {
    width: 0.625rem;
}
.drop-list--show::-webkit-scrollbar-thumb {
background-color: #848484;
border-radius: 0.625rem;
background-clip: padding-box;
border: 2px solid transparent;
}
.drop-list--show::-webkit-scrollbar-track {
background-color: transparent;
border-radius: 0.625rem;
}
.drop-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    line-height: 150%;
    background-color: transparent;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

/* Radio button */
.radio--left,
.radio--right {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    border: 1px solid #D4D4D4;
    background-color: #f9f9f9;
    padding: 0.813rem 1rem;
    border-radius: 0.5em;
    margin: 0;
    transition: all 0.2s ease-in-out;
    vertical-align: baseline;
    line-height: 150%;
}
.radio--left::before,
.radio--left::before,
.radio--right::after,
.radio--right::after {
    display: block;
    height: 1.125rem;
    width: 1.14rem;
    content: "";
    background-color: #fff;
    border: 1px solid #303030; 
    border-radius: 50%;
}
.radio--left > span,
.radio--right > span,
.radio--left > span,
.radio--right > span {
    display: block;
    width: calc(100% - 2.125rem);
    line-height: 150%;
    word-break: break-all;
}
input[type="radio"]:checked + .radio--left::before,
input[type="radio"]:checked + .radio--left::before,
input[type="radio"]:checked + .radio--right::after,
input[type="radio"]:checked + .radio--right::after {
    height: 1.125rem;
    width: 1.14rem;
    box-shadow: 0 0 0 0.25rem #fff inset;
    background-color: #303030;
}
.radio-label--whole {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    cursor: pointer;
}
.radio-label--left {
    position: absolute;
    width: 3.375rem;
    height: 100%;
    left: 0;
    top: 0;
    cursor: pointer;
}
.radio-label--right {
    position: absolute;
    width: 3.375rem;
    height: 100%;
    right: 0;
    top: 0;
    cursor: pointer;
}

/* Checkbox */
.checkbox--left,
.checkbox--right {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    border: 1px solid #D4D4D4;
    background-color: #f9f9f9;
    padding: 0.813rem 1rem;
    border-radius: 0.5em;
    margin: 0;
    transition: all 0.2s ease-in-out;
    vertical-align: baseline;
    line-height: 150%;
}
.checkbox--left::before,
.checkbox--left::before,
.checkbox--right::after,
.checkbox--right::after {
    display: block;
    height: 1.125rem;
    width: 1.125rem;
    cursor: pointer;
    content: "";
    background-color: #fff;
    border: 1px solid #303030; 
}
.checkbox--left > span,
.checkbox--right > span,
.checkbox--left > span,
.checkbox--right > span {
    display: block;
    width: calc(100% - 2.125rem);
    line-height: 150%;
    word-break: break-all;
}
input[type="checkbox"]:checked + .checkbox--left::before,
input[type="checkbox"]:checked + .checkbox--left::before,
input[type="checkbox"]:checked + .checkbox--right::after,
input[type="checkbox"]:checked + .checkbox--right::after {
    height: 1.125rem;
    width: 1.125rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23fff' transform='translate%28-2657.303 -3568.456%29' d='M2661.076,3574.456a1,1,0,0,1-.714-.3l-2.772-2.824a1,1,0,1,1,1.427-1.4l2.153,2.193,4.526-3.463a1,1,0,0,1,1.215,1.588l-5.228,4A1,1,0,0,1,2661.076,3574.456Z'%3E%3C/path%3E%3C/svg%3E");
    background-color: #303030;
}
.checkbox-label--whole {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    cursor: pointer;
}
.checkbox-label--left {
    position: absolute;
    width: 3.375rem;
    height: 100%;
    left: 0;
    top: 0;
    cursor: pointer;
}
.checkbox-label--right {
    position: absolute;
    width: 3.375rem;
    height: 100%;
    right: 0;
    top: 0;
    cursor: pointer;
}

/* Button */
.button--big {
    width: 100%;
    height: 5rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-family: 'basic font', sans-serif;
    font-weight: 500;   
    font-size: 1.5rem;
    color: #fff;
    background-color: #303030;
    border-radius: 0.5em;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    grid-column: 1 / 3;
}
.button--small {
    width: 7.5rem;
    height: 3.25rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-weight: 500;   
    font-size: 1rem;
    color: #fff;
    background-color: #303030;
    border-radius: 0.5em;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.button-text--big {
    font-weight: 500;
    font-size: 1rem;
    line-height: 150%;
    text-decoration: underline;
    cursor: pointer;
}
.button-text--small {
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 150%;
    text-decoration: underline;
    cursor: pointer;
}

/* Error message */
.error-message {
    width: 100%;
    background-color: #FFF2F2;
    font-weight: 500;
    font-size: 0.875rem;
    color: #ff0000;
    padding: 0.5rem 1rem;
    border-radius: 0.5em;
}

/* Media */
.media-youtube {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
    grid-column: 1 / 3;
}
.media-youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Modal */
.modal__wrapper {
    position: fixed;
    justify-content: center;
    align-items: center;
    background-color: #303030CC;
    backdrop-filter: blur(3px);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.modal__container {
    width: 656px;
    background-color: #fff;
    border-radius: 0.5rem;
    display: grid;
    grid-template-columns: 1fr;
    padding: 2.5rem; 
    z-index: 2;
}
.modal__title {
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 140%;
    letter-spacing: -10;
}
.modal__description {
    width: 100%;
    height: 10rem;
    overflow: scroll;
    font-weight: 500;
    font-size: 1rem;
    line-height: 150%;
}
.modal__description::-webkit-scrollbar {
    width: 0.625rem;
}
.modal__description::-webkit-scrollbar-thumb {
background-color: #30303080;
border-radius: 0.625rem;
background-clip: padding-box;
border: 2px solid transparent;
}
.modal__description::-webkit-scrollbar-track {
background-color: transparent;
border-radius: 0.625rem;
}

/* Emphasis */
.emphasis {
    padding: 46px 0 38px 0;
    background-image: url(https://www.webusiness.co.kr/assets/img/v_dash.svg), url(https://www.webusiness.co.kr/assets/img/h_dash.svg);
    background-repeat: no-repeat;
    background-position: top center, bottom center;
}

/* File upload */
.file_wrap {
    display: flex;
    gap: 1rem;
}
.file-field {
    display: block;
    width: calc(100% - 7.5rem);
    height: 3.25rem;
    padding: 1rem;
    border: 1px solid #D4D4D4;
    background-color: #f9f9f9;
    border-radius: 0.5rem;
    font-family: 'basic font', sans-serif;
    font-weight: 500;   
    font-size: 1rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
input[type="file"] {
    display: none;
}

/* State */
.text-field:hover,
.text-area:hover,
.drop-down:hover,
.radio--left:hover,
.radio--left:hover,
.radio--right:hover,
.radio--right:hover,
.checkbox--left:hover,
.checkbox--left:hover,
.checkbox--right:hover,
.checkbox--right:hover { 
    border: 1.5px solid #848484; 
}

.drop-option:hover {
    background-color: #E9E9E9;
}

.button--big:hover, 
.button--small:hover {
    background-color: #4A4A4A;
}

.text-field:focus,
.text-area:focus { 
    border: 1.5px solid #848484; 
}

.text-field:disabled,
.text-area:disabled { 
    background-color: #D4D4D4; border: 1px solid #D4D4D4; 
}

.error,
.error:hover,
.error:focus {
    border: 1.5px solid #ff0000;
}

@media screen and (max-width: 655px) {
    /* Layout */
    #regi-container {
        padding: 2.5rem 1.25rem;
    }
    header,
    main {
        width: 100%;
        background-color: #fff;
        margin: 0;
        border-radius: 0.5rem;
    }
    header {
        margin-top: 0rem;
    }
    #footer {
        width: 100%;
        background-color: #D4D4D4;
        color: #303030;
        margin: 0;
        border-radius: 0.5rem;
    }
    section {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        padding: 1.25rem;
    }
    article { 
        width: 100%; 
        display: grid;
        grid-template-columns: 1fr;
        align-items: start;
    }    
    .item {
        width: 100%;
        display: grid;
        position: relative;
        grid-column: 1 / 3;
    }

    /* Modal */
    .modal__container {
        width: 80%;
        padding: 1.5rem;
    }

    /* State */
    .text-field:hover,
    .text-area:hover,
    .drop-down:hover,
    .radio--left:hover,
    .radio--left:hover,
    .radio--right:hover,
    .radio--right:hover,
    .checkbox--left:hover,
    .checkbox--left:hover,
    .checkbox--right:hover,
    .checkbox--right:hover { 
        border: 1px solid #D4D4D4; 
    }
    
    .drop-option:hover {
        background-color: none;
    }
    
    .button--big:hover, 
    .button--small:hover {
        background-color: none;
    }

    .text-field:focus,
    .text-area:focus { 
        border: 1.5px solid #848484; 
    }
    
    .text-field:disabled,
    .text-area:disabled { 
        background-color: #D4D4D4; border: 1px solid #D4D4D4; 
    }

    .error,
    .error:hover,
    .error:focus {
        border: 1.5px solid #ff0000;
    }
}

/*-----------------------------------------------------------*/
/*   PC Device   */
/*  타이틀 영역  */
.title_container {
    width: 100%;
    height: 12rem;
    margin-top: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(../img/bg-sub-title.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.title_container > h1 {
    width: 97.5rem;
    font-size: 5.625rem;
    font-weight: 700;
    color: #4D144A;
}

/*   Tablet Device   */
@media all and (min-width: 960px) and (max-width: 1730px) {
    /*  타이틀 영역  */
    .title_container {
        padding: 0rem 6.25rem;
    }
    .title_wrapper {
        width: 100%;
    }
    .title_container > h1 {
        width: 100%;
        font-size: 5rem;
    }
}

/*   Mobile Device   */
@media all and (min-width: 320px) and (max-width: 959px) {
    /*  타이틀 영역  */
    .title_container {
        width: 100%;
        height: 8rem;
        margin-top: 4rem;
        padding: 0rem 4vw ;
    }
    .title_container > h1 {
        font-size: 3rem;
    }
}