/* ===================================================================================================================== */
/* ======================================================= sub2 코드 ==================================================== */
/* ===================================================================================================================== */

.special01-bg {
    background: url(../img/custom/special01_bg.jpg) center/cover no-repeat;
}
.special01-area1 {
    background: url(../img/custom/special01_bg1.jpg) center/cover no-repeat;
    color: #fff;
}
.special01-area2 article {
    position: relative;
}
.special01-area2 article::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 260px;
    background: #f7f7f7;
}
.special01-area2 ul.flex {
    flex-wrap: nowrap;
}
.special01-area3 .tit {
    display: inline-block;
    padding: 10px 42px;
    border-radius: 40px;
    color: #fff;
    background: #969696;
}
.special01-area3 .sub {
    padding: 8px 10px;
    color: #fff;
    background: #969696;
}
.special01-area3 ul.flex > li:last-child .tit,
.special01-area3 ul.flex > li:last-child article .sub {
    background: linear-gradient(to right, #1f3d74, #4067aa);
}
.special01-area3 .emphasis {
    padding: 5px 10px;
    max-width: 220px;
    width: 100%;
    margin: 20px auto 0;
    background: #fbfbfb;
    border: 1px solid #ddd;
}
.special01-area3 .emphasis span {
    color: #ff3535;
}
.special01-area4 ul.flex p {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    font-weight: 800;
    line-height: 1.5;
    color: #fff;
    background: linear-gradient(to right, #1f3d74, #4067aa);
}
.special01-area5 {
    background: url(../img/custom/special01_bg2.jpg) center/cover no-repeat;
    color: #fff;
}

.special02-area1 {
    padding: 80px 0 !important;
}
.special02-area2 ul > li p {
    position: relative;
    padding: 10px 20px;
    text-align: center;
    color: #fff;
}
.special02-area2 ul > li p::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(to right, #1f3d74, #4067aa);
    transform: skew(-15deg);
}
.special02-area2 ul > li:not(:first-child) {
    margin-top: 10px;
}
.special02-area2 article {
    padding: 25px 20px;
    text-align: center;
    border: 1px solid #ccc;
}
.special02-area3 {
    background: url(../img/custom/special02_bg1.jpg) center/cover no-repeat;
}
.special02-area3 ul.flex > li > div {
    padding: 8px 10px;
    border-left: 3px solid #1f3d74;
    border-right: 3px solid #1f3d74;
    background: rgba(255, 255, 255, 0.9);
}

/*================================================================ 1500px 이하 ================================================================= */
@media screen and (max-width: 1500px) {
}

/*================================================================ 1200px 이하 ================================================================= */
@media screen and (max-width: 1200px) {
    .special01-area2 article::before {
        display: none;
    }
    .special01-area2 ul.flex {
        flex-direction: column-reverse;
        text-align: center;
        padding: 30px 20px;
        max-width: 600px;
        border-radius: 20px;
        border: 1px solid #ccc;
        background: #ebf0f2;
    }
    .special01-area2 article:last-of-type ul.flex {
        flex-direction: column;
    }
    .special01-area2 ul.flex .txt {
        margin: 30px 0 20px;
    }
}

/*================================================================ 1025px 이하 ================================================================= */
@media screen and (max-width: 1025px) {
}

/*================================================================ 900px 이하 ================================================================= */
@media screen and (max-width: 900px) {
}

/*================================================================ 769px 이하 ================================================================= */
@media screen and (max-width: 769px) {
    .special01-area2 article {
        padding: 0 10px;
    }
    .special01-area2 ul.flex {
        max-width: 100%;
    }
    .special01-area3 ul.flex img {
        width: 100%;
    }
    .special01-area3 .inner > ul.flex > li:last-child {
        margin-top: 40px;
    }
    .special01-area4 ul.flex img {
        width: 100%;
    }

    .denture-area1 .inner {
        overflow-x: scroll;
    }
    .denture-area1 table {
        min-width: 900px;
    }
}

/*================================================================ 600px 이하 ================================================================= */
@media screen and (max-width: 600px) {
    .denture-area1 table {
        min-width: 800px;
    }
}

/*================================================================ 425px 이하 ================================================================= */
@media screen and (max-width: 425px) {
    .special01-area2 ul.flex .img {
        max-width: 220px;
    }
    .special01-area3 .inner > ul.flex > li:last-child {
        margin-top: 20px;
    }
    .special01-area3 .tit {
        padding: 5px 30px;
    }
    .special01-area3 .sub {
        padding: 4px 10px;
    }
    .special01-area3 .emphasis {
        max-width: 160px;
        margin: 10px auto 0;
    }
    .special01-area4 ul.flex p {
        height: 50px;
    }
    .special01-area5 .middle-title h6 .x1_5 {
        font-size: 1.4em;
    }

    .special02-area1 {
        padding: 60px 0 !important;
    }

    .denture-area1 table {
        min-width: 620px;
    }
}

/* ===================================================================================================================== */
/* ======================================================= sub2 코드 ==================================================== */
/* ===================================================================================================================== */

/* ===================================================================================================================== */
/* ======================================================= sub3 코드 ==================================================== */
/* ===================================================================================================================== */

.imp-sp01-area1 .basic-box::before {
    position: absolute;
    content: '';
    right: 0;
    bottom: 0;
    width: 250px;
    height: 250px;
    background: url(../img/custom/logo.png) center/cover no-repeat;
}
.imp-sp01-area3 {
    background: url(../img/custom/imp_special01_bg1.jpg) center/cover no-repeat;
}
.imp-sp01-area3 article {
    position: relative;
    display: inline-block;
    margin-top: 120px;
}
.imp-sp01-area3 article::before {
    position: absolute;
    content: '';
    right: -100px;
    top: -110px;
    width: 230px;
    height: 230px;
    background: url(../img/custom/imp_special01_13.png) center/cover no-repeat;
}
.imp-sp01-area4 {
    padding: 80px 0 !important;
}

.imp-sp02-area1 article {
    background: linear-gradient(to top, #fbfbfb 240px, transparent 240px);
}
.imp-sp02-area1 article ul.flex {
    align-items: flex-end;
}
.imp-sp02-area1 article ul.flex > li:first-child {
    padding-bottom: 60px;
}
.imp-sp02-area1 article ul.flex > li:last-child > div::after {
    position: absolute;
    content: '';
    right: -120px;
    bottom: 30px;
    width: 180px;
    height: 180px;
    background: url(../img/custom/logo.png) center/cover no-repeat;
}
.imp-sp02-area1 article ul.flex p {
    line-height: 2;
}
.imp-sp02-area2 {
    color: #fff;
}
.imp-sp02-area2 ul.flex > li > div {
    display: flex;
    align-items: center;
    padding: 30px 60px;
    height: 500px;
    background: url(../img/custom/imp_special02_03.jpg) center/cover no-repeat;
}
.imp-sp02-area2 ul.flex > li:last-child > div {
    background: url(../img/custom/imp_special02_04.jpg) center/cover no-repeat;
}
.imp-sp02-area2 ul.flex .noto {
    position: relative;
    top: 20px;
}
.imp-sp02-area3 ul.flex img {
    width: 100%;
}
.imp-sp02-area3 article {
    border: 1px solid #ccc;
    border-top: 0;
}
.imp-sp02-area3 article h5 {
    padding: 8px 10px;
    color: #fff;
    background: #969696;
}
.imp-sp02-area3 article p {
    padding: 20px 10px;
}
.imp-sp02-area3 ul.flex > li:last-child article h5 {
    background: linear-gradient(to right, #1f3d74, #4067aa);
}
.imp-sp02-area4 ul.flex {
    position: relative;
    display: flex;
    justify-content: center;
}
.imp-sp02-area4 ul.flex::after {
    position: absolute;
    content: '';
    display: block;
    top: 10px;
    width: calc(100% - 25%);
    height: 2px;
    background-color: #b6b6b6;
    z-index: 0;
}
.imp-sp02-area4 ul.flex > li::before {
    position: relative;
    content: attr(data-number);
    display: flex;
    justify-content: center;
    align-items: center;
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: #244683;
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    z-index: 1;
    font-weight: 500;
}
.imp-sp02-area4 ul.flex p {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
    background: #333;
}
.imp-sp02-area5 {
    background: url(../img/custom/imp_special02_bg1.jpg) center/cover no-repeat;
    color: #fff;
}
.imp-sp02-area6.photo-table table thead tr:last-of-type td:last-child {
    background: linear-gradient(to right, #1f3d74, #4067aa);
}
.imp-sp02-area6.photo-table table tbody td:last-child {
    color: #2a5297;
    font-weight: 900;
}

/*================================================================ 1500px 이하 ================================================================= */
@media screen and (max-width: 1500px) {
}

/*================================================================ 1200px 이하 ================================================================= */
@media screen and (max-width: 1200px) {
}

/*================================================================ 1025px 이하 ================================================================= */
@media screen and (max-width: 1025px) {
}

/*================================================================ 900px 이하 ================================================================= */
@media screen and (max-width: 900px) {
    .imp-sp01-area3 article {
        margin-top: 60px;
    }
    .imp-sp01-area3 article::before {
        right: 0;
        top: -50px;
        width: 210px;
        height: 210px;
    }

    .imp-sp02-area1 article ul.flex img {
        max-width: 200px;
    }
    .imp-sp02-area2 ul.flex > li {
        width: 100%;
    }
    .imp-sp02-area2 ul.flex > li > div {
        height: 380px;
    }
}

/*================================================================ 769px 이하 ================================================================= */
@media screen and (max-width: 769px) {
    .imp-sp02-area1 {
        margin-bottom: 80px;
    }
    .imp-sp02-area1 article {
        margin-top: 60px;
        background: none;
    }
    .imp-sp02-area1 article ul.flex {
        padding: 30px 20px;
        border-radius: 40px;
        text-align: center;
        flex-direction: column-reverse;
        border: 1px solid #ccc;
        background: #ebf0f2;
    }
    .imp-sp02-area1 article ul.flex > li:first-child {
        padding: 0;
        margin-top: 20px;
    }
    .imp-sp02-area1 article ul.flex > li:last-child > div::after {
        right: 0;
    }
    .imp-sp02-area3 ul.flex {
        max-width: 400px;
    }
    .imp-sp02-area4 ul.flex::after {
        display: none;
    }
    .imp-sp02-area4 ul.flex > li {
        max-width: 300px;
    }
    .imp-sp02-area4 ul.flex > li:nth-child(n + 3):nth-child(-n + 4) {
        margin-top: 40px;
    }
}

/*================================================================ 600px 이하 ================================================================= */
@media screen and (max-width: 600px) {
    .imp-sp02-area2 ul.flex > li > div {
        padding: 20px 40px;
    }
}

/*================================================================ 425px 이하 ================================================================= */
@media screen and (max-width: 425px) {
    .imp-sp01-area3 article::before {
        top: -65px;
        width: 130px;
        height: 130px;
    }
    .imp-sp01-area4 {
        padding: 60px 0 !important;
    }

    .imp-sp02-area1 {
        margin-bottom: 60px;
    }
    .imp-sp02-area2 ul.flex > li > div {
        padding: 20px 30px;
        height: 190px;
    }
    .imp-sp02-area2 ul.flex > li:last-child > div {
        height: 330px;
    }
    .imp-sp02-area4 ul.flex > li::before {
        top: -5px;
        width: 30px;
        height: 30px;
        font-size: 15px;
    }
    .imp-sp02-area4 ul.flex > li:nth-child(n + 3):nth-child(-n + 4) {
        margin-top: 30px;
    }
    .imp-sp02-area4 ul.flex p {
        height: 50px;
    }
    .imp-sp02-area5 {
        background-position-x: -950px;
    }
    .imp-sp02-area6.photo-table table thead tr:last-of-type td {
        font-size: 13px;
    }
}

/* ===================================================================================================================== */
/* ======================================================= sub3 코드 ==================================================== */
/* ===================================================================================================================== */

.aes01bg.banner-bg {
    background: url(../img/custom/aes01_bg.jpg) center/cover no-repeat;
}
.aes02bg.banner-bg {
    background: url(../img/custom/aes02_bg.jpg) center/cover no-repeat;
}
.aes03bg.banner-bg {
    background: url(../img/custom/aes03_bg.jpg) center/cover no-repeat;
}
.aes04bg.banner-bg {
    background: url(../img/custom/aes04_bg.jpg) center/cover no-repeat;
}
.aes05bg.banner-bg {
    background: url(../img/custom/aes05_bg.jpg) center/cover no-repeat;
}

.aes01-area1.bg-gray {
    padding: 200px 0;
    color: #fff;
}
.aes01-area1 .bg-animation {
    background: url(../img/custom/aes01_bg1.jpg) center/cover no-repeat;
}
.aes01-area2.bg-gray {
    padding: 80px 0;
}
.aes01-area2 .bg-animation {
    background: url(../img/custom/aes01_bg2.jpg) center/cover no-repeat;
}
.aes01-area3 .link-btn {
    position: relative;
    display: inline-block;
    margin-top: 40px;
    padding: 10px;
    width: 280px;
    text-align: center;
    font-size: 22px;
    border: 1px solid #333;
    transition: 0.2s ease-in;
}
.aes01-area3 .link-btn::before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    transition: width 0.3s ease-in;
    background: #00a6b2;
    z-index: -1;
}
.aes01-area3 .link-btn:hover {
    color: #fff;
    border: 1px solid #00a6b2;
    font-weight: 700;
}
.aes01-area3 .link-btn:hover::before {
    width: 100%;
}
.aes01-area4 .notice {
    max-width: 540px;
}

.aes02-area1 .basic-box {
    margin-top: 40px;
}
.aes02-area1 .basic-box h3 {
    margin-bottom: 20px;
    color: #f1f1f1;
}
.aes02-area1 .basic-box .img {
    display: inline-block;
    position: relative;
}
.aes02-area1 .basic-box .img::before {
    position: absolute;
    content: '';
    left: -20px;
    top: -20px;
    width: 100%;
    height: 100%;
    background: #314e42;
    z-index: -1;
}
.aes02-area2.bg-gray {
    padding: 100px 0;
}
.aes02-area2 .bg-animation {
    background: url(../img/custom/aes02_bg1.jpg) center/cover no-repeat;
}
.aes02-area3 ul.flex > li > div {
    border: 1px solid #c3c2c2;
}
.aes02-area3 ul.flex .img {
    position: relative;
}
.aes02-area3 ul.flex .img .tit {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 50%;
    bottom: -40px;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-size: 40px;
    background: #314e42;
    color: #fff;
}
.aes02-area3 ul.flex .txt {
    display: flex;
    justify-content: center;
    padding: 60px 10px;
    height: 200px;
}
.aes02-area4 ul.flex .img img {
    width: 100%;
}
.aes02-area4 ul.flex .txt .top,
.aes02-area4 ul.flex .txt .btm {
    color: #fff;
    font-family: 'NanumSquare', san-serif;
}
.aes02-area4 ul.flex .txt .top {
    padding: 5px 10px;
    font-weight: 800;
    background: #828282;
}
.aes02-area4 ul.flex .txt .mid {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 10px;
    height: 175px;
    background: #ededed;
}
.aes02-area4 ul.flex .txt .btm {
    padding: 10px;
    font-weight: 600;
    background: #314e42;
}
.aes02-area5 table {
    width: 100%;
}
.aes02-area5 table td {
    padding: 30px 10px;
    text-align: center;
    border: 1px solid #828282;
    vertical-align: middle;
}
.aes02-area5 table thead td {
    background: #314e42;
    border: 1px solid #fff;
    border-top: 1px solid #828282;
}
.aes02-area5 table thead td:first-child {
    border-left: 1px solid #828282;
}
.aes02-area5 table thead td:last-child {
    border-right: 1px solid #828282;
}
.aes02-area5 table tbody td:first-child {
    background: #e2e2e2;
}
.aes02-area5 table td p {
    white-space: pre-line;
}
.aes02-area5 table thead td p {
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    line-height: 1.5;
}
.aes02-area5 table tbody td:first-child p {
    font-weight: 900;
}
.aes02-area6.bg-gray {
    padding: 80px 0;
}
.aes02-area6 ul.flex .tit {
    color: #314e42;
}
.aes02-area6 ul.flex .sub {
    font-weight: 900;
}

.aes03-area1 ul.flex .txt .mid {
    padding: 20px 10px;
    height: auto !important;
}

.aes04-area1 ul.flex .txt .btm {
    font-size: 19px;
}
.aes04-area2.bg-gray {
    padding: 80px 0;
}
.aes04-area2 img {
    border-radius: 0 !important;
}
.aes04-area3 .num-list {
    max-width: 515px;
    margin: 0 auto;
}
.aes04-area3 .num-list .num {
    white-space: pre-line;
}
.aes04-area3 .num-list .num::before {
    top: -3px;
}
.aes04-area3 .num-list .num:nth-child(2n)::before {
    background: #314e42;
}

.aes05-area1.bg-gray {
    background: url(../img/custom/aes05_bg1.jpg) center/cover no-repeat;
    color: #fff;
}
.aes05-area1 .list {
    max-width: 800px;
    margin: 0 auto;
}
.aes05-area1 .list li {
    padding: 20px 10px;
    border: 1px solid #fff;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    text-align: center;
}
.aes05-area1 .list li:not(:first-child) {
    margin-top: 20px;
}
.aes05-area2.bg-gray {
    margin-top: 80px;
    padding: 80px 0;
    background: #314e42;
    color: #fff;
}

/*================================================================ 1500px 이하 ================================================================= */
@media screen and (max-width: 1500px) {
}

/*================================================================ 1200px 이하 ================================================================= */
@media screen and (max-width: 1200px) {
    .aes02-area2 .bg-animation {
        background-position-x: -150px;
    }
}

/*================================================================ 1025px 이하 ================================================================= */
@media screen and (max-width: 1025px) {
    .aes02-area2 .bg-animation {
        background-position-x: -200px;
    }
    .aes02-area3 ul.flex .img .tit {
        bottom: -32px;
        width: 65px;
        height: 65px;
        font-size: 30px;
    }
    .aes02-area3 ul.flex .txt {
        padding: 50px 10px;
        height: 170px;
    }
    .aes02-area5 table thead td p {
        font-size: 18px;
    }

    .aes04-area3 .num-list {
        max-width: 460px;
    }
}

/*================================================================ 900px 이하 ================================================================= */
@media screen and (max-width: 900px) {
    .aes02-area4 ul.flex {
        max-width: 600px;
        margin: 0 auto;
    }
    .aes02-area4 ul.flex > li {
        width: 50%;
    }
    .aes02-area4 ul.flex .txt .mid {
        height: 160px;
    }
    .aes02-area5 table {
        min-width: 800px;
    }

    .aes05-area1 ul.flex > li:nth-child(n + 3):nth-child(-n + 4) {
        margin-top: 20px;
    }
}

/*================================================================ 769px 이하 ================================================================= */
@media screen and (max-width: 769px) {
    .aes01-area1.bg-gray {
        padding: 140px 0;
    }
    .aes01-area1 .bg-animation {
        background-position-x: -350px;
    }
    .aes01-area2.bg-gray {
        padding: 60px 0;
    }
    .aes01-area2 .bg-animation {
        background-position-x: -120px;
    }
    .aes01-area3 .link-btn {
        margin-top: 30px;
        font-size: 20px;
        width: 250px;
        padding: 8px 10px;
    }

    .aes02-area1 .basic-box h3 {
        margin-bottom: 0;
    }
    .aes02-area1 .basic-box .img::before {
        left: -10px;
        top: -10px;
        border-radius: 20px;
    }
    .aes02-area2.bg-gray {
        padding: 80px 0;
    }
    .aes02-area2 .bg-animation {
        background-position-x: -250px;
    }
    .aes02-area3 ul.flex > li > div {
        margin: 5px;
    }
    .aes02-area5 table thead td {
        padding: 20px 10px;
    }
    .aes02-area5 table {
        min-width: 700px;
    }
    .aes02-area6.bg-gray {
        padding: 60px 0;
    }

    .aes04-area2.bg-gray {
        padding: 60px 0;
    }
    .aes04-area3 .num-list {
        max-width: 430px;
    }

    .aes05-area2.bg-gray {
        padding: 60px 0;
        margin-top: 60px;
    }
}

/*================================================================ 600px 이하 ================================================================= */
@media screen and (max-width: 600px) {
    .aes01-area2 ul.flex > li:last-child {
        height: 250px;
    }
    .aes01-area2 .bg-animation {
        background: url(../img/custom/aes01_bg2m.jpg) center/cover no-repeat;
    }

    .aes02-area2 ul.flex > li:last-child {
        height: 300px;
    }
    .aes02-area2 .bg-animation {
        background: url(../img/custom/aes02_bg1m.jpg) center/cover no-repeat;
    }
    .aes02-area3 ul.flex > li {
        width: 50%;
    }

    .aes05-area1 .list li:not(:first-child) {
        margin-top: 10px;
    }
}

/*================================================================ 425px 이하 ================================================================= */
@media screen and (max-width: 480px) {
    .aes01-area1.bg-gray {
        padding: 100px 0;
    }
    .aes01-area3 .link-btn {
        margin-top: 20px;
        font-size: 16px;
        width: 200px;
        padding: 6px;
    }
    .aes01-area4 .notice {
        max-width: 265px;
    }

    .aes02-area1 .basic-box {
        margin-top: 20px;
    }
    .aes02-area1 .basic-box .img {
        max-width: 300px;
    }
    .aes02-area1 .basic-box .img::before {
        left: -8px;
        top: -8px;
        border-radius: 10px;
    }
    .aes02-area1 .basic-box .img img {
        max-width: 100%;
    }
    .aes02-area2.bg-gray {
        padding: 60px 0;
    }
    .aes02-area2 ul.flex > li:last-child {
        height: 180px;
    }
    .aes02-area3 ul.flex > li {
        width: 100%;
    }
    .aes02-area3 ul.flex > li > div {
        max-width: 320px;
        margin: 10px auto;
    }
    .aes02-area3 ul.flex .img .tit {
        bottom: -25px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    .aes02-area3 ul.flex .txt {
        padding: 40px 10px 30px;
        height: auto;
    }
    .aes02-area4 ul.flex .txt .mid {
        height: 150px;
        padding: 20px 10px;
    }
    .aes02-area5 table {
        min-width: 500px;
    }
    .aes02-area5 table thead td p {
        font-size: 16px;
    }

    .aes04-area1 ul.flex .txt .btm {
        font-size: 15px;
    }
    .aes04-area3 .num-list {
        max-width: 290px;
    }

    .aes05-area2.bg-gray {
        padding: 40px 0;
        margin-top: 40px;
    }
}
