/* header.php */

header {
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    padding: 0 1.5rem;
    z-index: 10000;
    background: #fff;
}
header h1 {
    width: 12rem;
}
header h1 a {
    width: 100%;
}
header h1 a img {
    width: 100%;
    
}
header #menuBtn {
    width: 3rem;
    position: absolute;
    right: 1.5rem;
}
header #menuBtn img {
    width: 100%;
}

.navBg {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    z-index: 8888;
}
.popupBg {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    z-index: 11000;
    display: none;
}
nav {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 70%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    border-top: 1px solid #e1e1e1;
    border: 0;
    padding: 6rem 0;
}

nav a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem;
    height: 5rem;
    color: #000000;
    text-align: left;
}


nav a span {
    font-size: 1.6rem;
    font-family: 'KBO-Dia-Gothic_medium';
}

/* common */
main {
    padding: 0 1.5rem 5rem;
}

main h1 {
    font-size: 2rem;
    font-family: 'KBO-Dia-Gothic_bold';
    margin: 2.5rem 0;
    letter-spacing: -1;
}

/* home.php */
.top-section {
    padding-top: 1rem;
}

.top-section a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 6rem;
    padding: 0 3rem;
}

.top-section span {
    color: #ffffff;
    font-size: 1.8rem;
    font-family: 'KBO-Dia-Gothic_medium';
    letter-spacing: -1;
}

.top-section img {
    width: 3rem;
}

.top-section .top-link1{
    background-color: #223757;
}
.top-section .top-link2 {
    background-color: #0088f7;
}

.middle-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 1rem;
}
.btn-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 0.1rem solid #f4f4f4;
    width: 100%;
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 1.1rem;
}
.btn-wrapper2 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border: 0.1rem solid #f4f4f4;
    width: 48.5%;
    height: 7.678rem;
    padding: 1.5rem;
    border-radius: 1rem;
}
.btn-wrapper span {
    font-size: 1.7rem;
    font-family: 'KBO-Dia-Gothic_medium';
    letter-spacing: -1;
    line-height: 1.4;
}
.btn-wrapper2 span {
    font-size: 1.6rem;
    font-family: 'KBO-Dia-Gothic_medium';
    letter-spacing: -1;
    line-height: 1.4;
}
.btn-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.arrow-img {
    width: 1.5rem;
}
.middle-section a:nth-of-type(1) .btn-item img {
    width: 4rem;
    margin-right: 0.5rem;
}
.middle-section a:nth-of-type(2) .btn-item img {
    width: 3rem;
    margin-right: 1.5rem;
}
.middle-section a:nth-of-type(3) .btn-item img {
    width: 2.7rem;
    margin-right: 1.8rem;
}
.middle-section a:nth-of-type(4) .btn-item img {
    width: 3.5rem;
    margin-right: 1rem;
}
.middle-section a:nth-of-type(5) img {
    width: 3.5rem;
    margin-right: 1rem;
}
.middle-section a:nth-of-type(6) img {
    width: 4rem;
    margin-right: 1rem;
}




.bottom-section {
    margin-top: 4rem;
}




/* home.php - qna */

.bottom-section .open {
    border: 0.1rem solid #f1f1f1;
    margin: 1rem 0;
    background-color: #ffffff;
    border-radius: 1.5rem;
}

.bottom-section span {
    position: relative;
    display: inline-block;
}

.bottom-section span::before {
    content: 'Q';
    width: 3rem;
    height: 3rem;
    background-color:#0088f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-family: 'KBO-Dia-Gothic_light';
    margin-left: 2rem;
}

.bottom-section .open h3 {
    font-size: 1.6rem;
    font-family: 'KBO-Dia-Gothic_medium';
    letter-spacing: -1;
    line-height: 1.4;
    padding: 1rem;
}

.bottom-section .open pre {
    font-size: 1.4rem;
    line-height: 1.5;
    margin: 1rem 2rem;
    padding-top: 2rem;
    border-top: 0.1rem solid #f1f1f1;
    white-space: pre-wrap;
}

.bottom-section pre span {
    position: relative;
    display: flex;
    margin-left: -2rem;
}

.bottom-section pre span::before {
    content: 'A';
    width: 3rem;
    height: 3rem;
    background-color:#223757;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-family: 'KBO-Dia-Gothic_light';
}

.bottom-section .open .qna-header img {
    margin: 1rem;
    width: 1.5rem;
}

.bottom-section .open .qna-header {
    display: flex;
    justify-content: space-between;
    align-items: center;    
}

.bottom-section .btn-more {
    font-size: 1.8rem;
    font-family: 'KBO-Dia-Gothic_medium';
    letter-spacing: 0.5;
    width: 100%;
    padding: 2rem;
    color: #ffffff;
    background-color: #0088f7;
    border-radius: 1.5rem;
}

.bottom-section .under-arrow {
    width: 2rem;
    height: auto;
}



/* sub_a.php */

.sub-category {
    margin: 0rem 0 1rem 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sub-category a {
    font-size: 1.6rem;
    font-family: 'KBO-Dia-Gothic_medium';
    color: #ffffff;
    background-color: #cccccc;
    padding: 1.5rem;
    text-align: center;
    width: 45%;
    height: 10%;
}

.sub-category .btn-category1 {
    margin-top: 1rem;
    border-top-left-radius: 2.5rem;
    border-bottom-left-radius: 2.5rem;
}
.sub-category .btn-category2 {
    margin-top: 1rem;
    border-top-right-radius: 2.5rem;
    border-bottom-right-radius: 2.5rem;
}

.sub-container {
    margin: 2.5rem 0;
}

.sub-container h3 {
    font-family: 'KBO-Dia-Gothic_medium';
    letter-spacing: -1;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    line-height: 1.5;
}


.sub-section em {
    color: #0083f7;
    font-size: 1.8rem;
    font-family: 'KBO-Dia-Gothic_medium';
    letter-spacing: -1;
    line-height: 1.5;
}

.sub-container pre {
    font-size: 1.6rem;
    line-height: 1.5;
    font-family: 'KBO-Dia-Gothic_light';
    border: 1px solid #f1f1f1;
    padding: 2rem;
    border-radius: 1.5rem;
}


.sub-container pre b{
    font-size: 1.6rem;
    line-height: 1.5;
    font-family: 'KBO-Dia-Gothic_medium';
}


/* infomation.php */
.service-content {
    margin-bottom: 3rem;
}

.service-content pre {
    font-size: 1.6rem;
    line-height: 1.4;
}

.service-img {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5em;
}

.img-wrapper {
    flex: 1 1 30%;
    height: 11.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 1rem;
    text-align: center;
    gap: 0.5rem;
    border-radius: 1.5rem;
}

.img-wrapper img {
    /* max-width: 100%; */
    width: 10rem;
    height: auto;
    align-self: center;
}

.service-img .img-wrapper:nth-child(1) {
    background-color: #0088f7;
}
.service-img .img-wrapper:nth-child(2) {
    background-color: #3b5596;
}
.service-img .img-wrapper:nth-child(3) {
    background-color: #3a5eb5;
}

/* 첫 번째 이미지 크기 */
.service-img .img-wrapper:nth-child(1) img {
    width: 8rem;
    height: auto;
    margin-bottom: 0.5rem;
}

/* 두 번째 이미지 크기 */
.service-img .img-wrapper:nth-child(2) img {
    width: 4rem;
    height: auto;
    margin-bottom: 0.5rem;
}

/* 세 번째 이미지 크기 */
.service-img .img-wrapper:nth-child(3) img {
    width: 5rem;
    height: auto;
}

.img-wrapper p {
    font-size: 1.4rem;
    line-height: 1.4;
    color: #ffffff;
    align-self: center;
    font-family: 'KBO-Dia-Gothic_medium';
}

.service-bottom-section .info-middle-section {
    padding-bottom: 3rem;
    border-bottom: 1px solid #dedede;
}

.service-point {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    height: auto;
}

.service-point p {
    flex: 1 0 48%; 
    height: 10rem;           
    display: flex;           
    align-items: center;      
    justify-content: center;  
    padding: 1rem;            
    text-align: center;       
    border-radius: 1.5rem;    
    background-color: #f3f9ff;
    color: #000000;          
    font-family: 'KBO-Dia-Gothic_medium'; 
    font-size: 1.6rem;        
    line-height: 1.4;               
}


/* caution.php */
.caution-top-section h1 {
    margin-top: 1rem;
}
.caution-top-section b {
    line-height: 1.5;
    font-size: 1.4rem;
    font-family: 'KBO-Dia-Gothic_medium';
}
.caution-top-section pre{
    background-color: #f3f9ff;
    font-size: 1.4rem;
    line-height: 1.5;
    padding: 1rem 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
}


.caution-middle-section .open {
    border: 0.1rem solid #f1f1f1;
    border-radius: 1rem;
    margin: 1rem 0;
}
.caution-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.caution-header h3 {
    font-size: 1.6rem;
    font-family: 'KBO-Dia-Gothic_medium';
    padding: 2rem 2rem;
}

.caution-header img {
    width: 3rem;
    margin-right: 2rem;
}
.caution-middle-section pre {
    font-size: 1.4rem;
    line-height: 1.5;
    margin: 0 2rem;
    padding: 2rem 0;
    border-top: 0.1rem solid #f1f1f1;
}
.caution-middle-section b {
    line-height: 1.5;
    font-size: 1.4rem;
    font-family: 'KBO-Dia-Gothic_medium';
    
}

.caution-bottom-section {
    display: flex;
    justify-content: center;
    align-items: center; 
}

.caution-bottom-section pre {
    width: 90%;
    font-size: 1.2rem;
    line-height: 1.4;
    text-align: center;
    color: #b4b4b4;
    margin-top: 1rem;
}


/* qna.php */
.qna-section .open .qna-header {
    display: flex;
    /* justify-content: space-between; */
    align-items: center; 
    padding: 1rem 0;
}

.qna-section h1 {
    margin-top: 1rem;
}

.qna-section .open {
    border: 0.1rem solid #f1f1f1;
    margin: 1rem 0 1.5rem 0;
    background-color: #ffffff;
    border-radius: 1.5rem;
}

.qna-section span {
    position: relative;
    display: inline-block;
}

.qna-section span::before {
    content: 'Q';
    width: 3rem;
    height: 3rem;
    background-color:#0088f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-left: 2rem;
}

.qna-section .open h3 {
    font-size: 1.6rem;
    font-family: 'KBO-Dia-Gothic_medium';
    line-height: 1.4;
    padding: 1rem;
    
}

.qna-section .open pre {
    font-size: 1.4rem;
    line-height: 1.5;
    margin: 0.5rem 2rem 2rem 2rem;
    padding-top: 2rem;
    border-top: 0.1rem solid #f1f1f1;
    white-space: pre-wrap;
}

.qna-section pre span {
    position: relative;
    display: flex;
    margin-left: -2rem;
}

.qna-section pre span::before {
    content: 'A';
    width: 3rem;
    height: 3rem;
    background-color:#223757;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.qna-section .open .qna-header img {
    margin: 1rem;
    width: 1.5rem;
    margin-left: auto;
}




/* fine.php */
.fine-category {
    margin: 0rem 0 1rem 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fine-category a {
    font-size: 1.6rem;
    font-family: 'KBO-Dia-Gothic_medium';
    color: #ffffff;
    background-color: #cccccc;
    padding: 1.5rem;
    text-align: center;
    width: 45%;
    height: 10%;
}

.fine-category .btn-category1 {
    margin-top: 1rem;
    border-top-left-radius: 2.5rem;
    border-bottom-left-radius: 2.5rem;
}
.fine-category .btn-category2 {
    margin-top: 1rem;
    border-top-right-radius: 2.5rem;
    border-bottom-right-radius: 2.5rem;
}

.fine-section em {
    color: #0083f7;
    font-size: 1.8rem;
    font-family: 'KBO-Dia-Gothic_medium';
    line-height: 1.5;
}

.fine-section b {
    line-height: 1.5;
    font-size: 1.5rem;
    font-family: 'KBO-Dia-Gothic_medium';
}

.fine-section h3 {
    font-size: 1.8rem;
    line-height: 1.5;
}

.fine-wrapper {
    border: 0.1rem solid #f1f1f1;
    padding: 2rem;
    margin-top: 1rem;
    margin-bottom: 4rem;
    border-radius: 1.5rem;
}

.fine-container h4 {
    font-family: 'KBO-Dia-Gothic_medium';
    font-size: 1.6rem;
    line-height: 1.5;
}
.fine-container a {
    display: block;
    background-color: #0083f7;
    padding: 1.5rem 3rem;
    font-size: 1.4rem;
    font-family: 'KBO-Dia-Gothic_light';
    color: #ffffff;
    border-radius: 3rem;
    margin: 1rem 0 1.5rem 0;
    width: fit-content;
}

.fine-container pre:nth-of-type(1) {
    font-size: 1.6rem;
    line-height: 1.5;
}

.fine-container pre:nth-of-type(2) {
    font-size: 1.6rem;
    line-height: 1.5;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 0.1rem solid #f1f1f1;
}

.fine-section .open {
    border: 0.1rem solid #f1f1f1;
    border-radius: 1rem;
    margin: 1rem 0;
}
.fine-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fine-header h3 {
    font-size: 1.6rem;
    font-family: 'KBO-Dia-Gothic_medium';
    padding: 2rem 2rem;
}

.fine-header img {
    width: 8%;
    margin-right: 2rem;
}

.fine-section .open pre {
    font-size: 1.4rem;
    line-height: 2;
    margin: 0 2rem;
    padding: 2rem 0;
    border-top: 0.1rem solid #f1f1f1;
}
.fine-header b {
    line-height: 1.4;
    font-size: 1.4rem;
    font-family: 'KBO-Dia-Gothic_medium';
    
}


/* popup */
.popup {
    display: none;
    position: fixed;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 12000;
    padding: 1rem;
    border-radius: 1.5rem;
    background-color: #ffffff;
}
.service-bottom-section .popup-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.service-bottom-section .info.first{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem;
}
.service-bottom-section .info.second {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem 0.4rem;
}

.service-bottom-section .info a {
    font-size: 1.6rem;
    margin-left: 0.5rem;
    font-family: 'KBO-Dia-Gothic_medium';
}
.service-bottom-section .info h3 {
    font-size: 1.6rem;
    font-family: 'KBO-Dia-Gothic_medium';
    margin-left: 1rem;
}
.service-bottom-section .info h5 {
    font-size: 1.5rem;
    font-family: 'KBO-Dia-Gothic_medium';
    margin: 0 1rem;
}
.service-bottom-section .info p {
    font-size: 1.5rem;
    font-family: 'KBO-Dia-Gothic_medium';
}

.service-bottom-section .left img {
    width: 2rem;
}
.service-bottom-section .left span {
    display: inline-block;
    width: 3.3rem;
    height: 3.3rem;
    background-color: #f2f2f2;
    border-radius: 50%;
    background-image: url(../img/icon7.png);
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
}
.service-bottom-section .right span {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #484a49;
    border-radius: 50%;
    background-image: url(../img/icon10.png);
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
}



/* service.php */
.service-top-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: #e1f0ff;
    border-radius: 1rem;
    margin-top: 1rem;
}

.service-top-section span {
    font-size: 1.4rem;
    line-height: 1.5;
}
.service-top-section span b {
    font-size: 1.6rem;
    line-height: 1.5;
    font-family: 'KBO-Dia-Gothic_medium';
}

.service-top-section button {
    font-size: 1.5rem;
    font-family: 'KBO-Dia-Gothic_medium';
    padding: 1.5rem 3rem;
    background-color: #0088f7;
    border-radius: 0.5rem;
    color: #ffffff;
}


.service-middle-section {
    margin: 2rem 0;
    width: 100%;
}
.service-middle-section .form-item {
    border: 0.1rem solid #f1f1f1;
    border-radius: 1rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 5rem;
    width: 100%;
}
.service-middle-section form {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    height: 5rem;
    
}
.service-middle-section input {
    height: 100%;
    width: 100%;
    font-size: 1.4rem;
    padding-left: 0.5rem;
    /* color: #a5a5a5; */
}
.service-middle-section img {
    width: 2.5rem;
    margin: 1rem 1.5rem;
}
.service-middle-section button {
    height: 100%;
    padding: 1.5rem 2.5rem;
    background-color: #0088f7;
    border-radius: 1rem;
    font-size: 1.5rem;
    font-family: 'KBO-Dia-Gothic_medium';
    color: #ffffff;
}



.service-bottom-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 1rem 0; 
}

.service-bottom-section img {
    width: 2.5rem;
}

.service-bottom-section .tel-wrapper span {
    display: inline-block;
    width: 3.5rem; /* 기본 크기 */
    height: 3.5rem; /* 기본 크기 */
    background-color: #f2f2f2;
    border-radius: 50%;
    background-image: url(../img/icon7.png);
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2rem;
}

.tel-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    flex-grow: 1;
    margin-top: 1rem;
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
    border: 0.1rem solid #f1f1f1;
}

.tel-wrapper span {
    margin-left: auto;
}


.tel-title {
    padding: 0 2rem;
}

.tel-title h3 {
    font-size: 1.6rem;
    font-family: 'KBO-Dia-Gothic_medium';
    line-height: 1.4;
}

.tel-title p {
    font-size: 1.45rem;
    font-family: 'KBO-Dia-Gothic_medium';
    line-height: 1.4;
}


.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination a {
    display: flex;
    align-items: center;
    padding: 1rem 0.6rem;
    text-decoration: none;
    color: #808080;
    font-size: 1.6rem;
    font-family: 'KBO-Dia-Gothic_medium';
}

.pagination .current {
    padding: 1rem 0.5rem;
    color: #0087f7;
    font-size: 1.6rem;
    font-family: 'KBO-Dia-Gothic_medium';
}

.pagination img {
    width: 1.2rem;
}

.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 45rem;
    width: 100%;
    margin: 0;
}

.no-results img {
    width: 10rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.no-results p {
    font-size: 2rem;
    color: #dfdfdf;
}


/* shortcut.php */
.shortcut-top-section {
    margin-top: 1rem;
}
.shortcut-top-section .form-item {
    border: 0.1rem solid #f1f1f1;
    border-radius: 1rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 5rem;
    width: 30rem;
}
.shortcut-top-section form {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    height: 5rem;
}
.shortcut-top-section input {
    height: 100%;
    width: 100%;
    font-size: 1.4rem;
    padding-left: 0.5rem;
    /* color: #a5a5a5; */
}
.shortcut-top-section img {
    width: 2.5rem;
    margin: 1rem 1.5rem;
}
.shortcut-top-section button {
    height: 100%;
    padding: 1.5rem 2.5rem;
    background-color: #0088f7;
    border-radius: 1rem;
    font-size: 1.5rem;
    font-family: 'KBO-Dia-Gothic_medium';
    color: #ffffff;
}

/* .shortcut-bottom-section {

} */

.shortcut-wrapper {
    border-bottom: 0.1rem solid #ececec;
    padding: 2.5rem 0;
}

.shortcut-title {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.shortcut-title h4 {
    font-size: 1.6rem;
    font-family: 'KBO-Dia-Gothic_medium';
}
.shortcut-title span {
    font-size: 1.6rem;
    font-family: 'KBO-Dia-Gothic_medium';
    color: #0085f7;
}

.shortcut-item-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.shortcut-item {
    width: calc(100% / 3 - 0.5rem);
}

.shortcut-item a {
    display: block;
    text-align: center;
    border: 0.1rem solid #f1f1f1;
    border-radius: 1.5rem;
    padding: 2rem 0;
    font-size: 1.6rem;
    font-family: 'KBO-Dia-Gothic_medium';
    margin-bottom: 1rem;
}


.top-btn {
    position: fixed;
    bottom: 4rem;
    right: 2rem;
    width: 5rem;
    height: 5rem;
    background-color: #223757;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-btn img {
    width: 55%;
    height: 30%;
    margin-bottom: 0.3rem;
}



/* calc.php */
#calcMain {
    padding-top: 3rem;
    background-color: #f2f5f7;
}
main .tabs {
    position: relative;
    height: 5rem;
    display: flex;
    padding: .5rem;
    border-radius: 1rem;
    margin: 0 1.5rem 3rem;
    background: #d2d2d2;
}
main .tab {
    width: 50%;
    z-index: 11;
    color: #fff;
    cursor: pointer;
    font-weight: 300;
    font-size: 1.8rem;
    display: flex;justify-content: center;align-items: center;
}
main .slide {
    border-radius: .5rem;
    background-color: #fff;
    width: calc(50% - .5rem);
    height: calc(100% - 1rem);
    position: absolute;
    left: .5rem;
    top: .5rem;
    transition: .3s cubic-bezier(0.075, 0.82, 0.165, 1);
}
main .tab.move {
    color: #1f85ff;
    font-weight: 800;
}
main .slide.move {
    left: 50%;
}

.calc_wrap {
    margin: 1.5rem 1.5rem 3rem;
}
.calc_wrap h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1d3651;
}
.calc_wrap .grid {
    display: grid;
    margin: 1.5rem 0 3rem;
    border: 1px solid #a9b4c4;
    grid-template-columns: repeat(2, 1fr);
}
.calc_wrap .grid .inputname {
    padding: 1.5rem;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.2;
    color: #646b71;
    text-align: center;
    border-right: 1px solid #a9b4c4;
    border-bottom: 1px solid #a9b4c4;
    background-color: #e7f1f7;
}
.calc_wrap .grid .inputname:last-of-type {
    border-bottom: none;
}
.calc_wrap .grid span {
    position: relative;
    display: flex;gap: .5rem;align-items: center;
    border-bottom: 1px solid #a9b4c4;
}
.calc_wrap .grid span:last-of-type {
    border-bottom: none;
}
.calc_wrap .grid span p {
    font-size: 1.4rem;
    color: #aaa;
    position: absolute;
    top: 50%;right: 1rem;
    transform: translateY(-50%);
}
.calc_wrap .grid input[type="text"] {
    border-bottom: 1px solid #a9b4c4;
    font-size: 1.4rem;
    width: 100%;height: 100%;
    padding: 1.5rem 3rem 1.5rem 1.5rem;
    color: #758190;
}
.calc_wrap .grid input[type="text"]:last-of-type {
    border-bottom: none;
}
.calc_wrap .grid input[type="text"]::placeholder {
    color: #d2d2d2;
}

#beforeOnlyCheck label {
    display: flex;justify-content: end;align-items: center;gap: .5rem;
    font-size: 1.6rem;
    font-weight: bold;
    color: #707d8c;
    cursor: pointer;
}
.commonBtn {
    color: #fff;
    display: block;
    margin: 1.5rem;
    padding: 1.7rem;
    font-weight: bold;
    font-size: 1.6rem;
    border-radius: 1rem;
    width: calc(100% - 3rem);
    background-color: #1f85ff;
}

@supports (-webkit-appearance: none) or (-moz-appearance: none) {
    input[type='checkbox'] {
        --active: #798593;
        --active-inner: #fff;
        --focus: 2px rgba(39, 94, 254, .3);
        --border: #798593;
        --background: #fff;
        --disabled: #F6F8FF;
        --disabled-inner: #798593;
        -webkit-appearance: none;
        -moz-appearance: none;
        height: 15px;
        outline: none;
        display: inline-block;
        vertical-align: top;
        position: relative;
        margin: 0;
        cursor: pointer;
        border: 1px solid #798593;
        background: var(--b, var(--background));
        transition: background .3s, border-color .3s, box-shadow .2s;
    }
    input[type='checkbox']:after {
        content: '';
        display: block;
        left: 0;
        top: 0;
        position: absolute;
        transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
    }
    input[type='checkbox']:checked {
        --b: var(--active);
        --bc: var(--active);
        --d-o: .3s;
        --d-t: .6s;
        --d-t-e: cubic-bezier(.2, .85, .32, 1.2);
    }
    input[type='checkbox']:disabled {
        --b: var(--disabled);
        cursor: not-allowed;
        opacity: .9;
    }
    input[type='checkbox']:disabled:checked {
        --b: var(--disabled-inner);
        --bc: var(--border);
    }
    input[type='checkbox']:disabled + label {
        cursor: not-allowed;
    }
    input[type='checkbox']:hover:not(:checked):not(:disabled) {
        --bc: var(--border-hover);
    }
    input[type='checkbox']:focus {
        box-shadow: 0 0 0 var(--focus);
    }
    input[type='checkbox']:not(.switch) {
        width: 15px;
    }
    input[type='checkbox']:not(.switch):after {
        opacity: var(--o, 0);
    }
    input[type='checkbox']:not(.switch):checked {
        --o: 1;
    }
    input[type='checkbox'] + label {
        font-size: 1.4rem;
        line-height: 15px;
        display: inline-block;
        vertical-align: top;
        cursor: pointer;
        color: #727f8d;
        margin-left: 4px;
    }
    input[type='checkbox']:not(.switch) {
        border-radius: 7px;
    }
    input[type='checkbox']:not(.switch):after {
        width: 5px;
        height: 9px;
        border: 2px solid var(--active-inner);
        border-top: 0;
        border-left: 0;
        left: 7px;
        top: 4px;
        transform: rotate(var(--r, 20deg));
    }
    input[type='checkbox']:not(.switch):checked {
        --r: 43deg;
    }
    input[type='checkbox'].switch {
        width: 32px;
        border-radius: 11px;
    }
    input[type='checkbox'].switch:after {
        left: 1px;
        top: 1px;
        border-radius: 50%;
        width: 11px;
        height: 11px;
        background: var(--ab, var(--border));
        transform: translateX(var(--x, 0));
    }
    input[type='checkbox'].switch:checked {
        --ab: var(--active-inner);
        --x: 17px;
    }
    input[type='checkbox'].switch:disabled:not(:checked):after {
        opacity: .6;
    }
    
    
}