@charset "utf-8";
*{margin: 0; padding: 0;}
ul{list-style: none;}
a{text-decoration: none; color: #000;}

body{background-color: rgba(0,0,0,0.05);}

/* 소개이미지 */
.main{width: 100%;}
.main-wrap img{
    width: 100%; position: relative; z-index: -4;
    margin-top: 80px;
}

.main-wrap .black{
    width: 100%; height: 290px; position: absolute;
    z-index: -3; background-color: rgba(0,0,0,0.5);
    margin-top: 80px;
}
.main-wrap h3{
    z-index: -2; left: 50%; top: 200px;
    transform: translateX(-50%);
    font-size: 32px; color: aliceblue;
    position: absolute;
}

/* 퀵메뉴 */
.quickmenu{
    width: 1100px; height: 50px; margin: 0 auto;
    background-color: rgb(30, 55, 94);
    padding: 13px 0; box-sizing: border-box;
    position: absolute;
    left: 50%; top: 345px;
    transform: translateX(-50%);
}
.quickmenu-wrap{
    width: 900px; height: 100%; margin: 0 auto;
}

.quickmenu-wrap ul{
    display: flex; justify-content: space-around;
    flex-wrap: wrap; width: 900px;
}
.quickmenu-wrap ul li a{color: aliceblue;}
.quickmenu-wrap ul li:nth-child(1)::after{
    content: ''; display: block;
    position: absolute; width: 1px; height: 10px;
    background-color: aliceblue;
    transform: translate(188px, -13px);
}
.quickmenu-wrap ul li:nth-child(2)::after{
    content: ''; display: block;
    position: absolute; width: 1px; height: 10px;
    background-color: aliceblue;
    transform: translate(135px, -13px);
}
.quickmenu-wrap ul li:nth-child(3)::after{
    content: ''; display: block;
    position: absolute; width: 1px; height: 10px;
    background-color: aliceblue;
    transform: translate(93px, -13px);
}
.quickmenu-wrap ul li:nth-child(4)::after{
    content: ''; display: block;
    position: absolute; width: 1px; height: 10px;
    background-color: aliceblue;
    transform: translate(165px, -13px);
}
/* .quickmenu-wrap ul li:nth-child(5)::after{
    content: ''; display: block;
    position: absolute; width: 1px; height: 10px;
    background-color: aliceblue;
    transform: translate(73px, -13px);
} */
.quickmenu-wrap ul li.on a{
    font-weight: bold;
}

.quickmenu2-wrap{
    width: 300px; height: 100%; margin: 0 auto;
    background-color: rgb(30, 55, 94);
    position: relative; top: -50px;
}
.quickmenu2-wrap ul{
    text-align: center; padding: 8px;
}
.quickmenu2-wrap ul li{
    margin: 10px; padding: 10px 0;
    border-bottom: 1px solid rgb(145, 170, 211);
}
.quickmenu2-wrap ul li a{
    color: aliceblue;
}
.quickmenu2-wrap ul li.on a{
    font-weight: bold;
}


/* 묘지작업 */
.content{width: 100%; margin-top: 80px;}
.content-wrap{width: 1200px; margin: 0 auto;}

.content-wrap .top h3{
    font-size: 32px; text-align: center;
}
.content-wrap .center{
    display: flex; justify-content: space-between;
    margin-top: 50px;
}
.content-wrap .center .txt p span{
    color: cadetblue;
}
.content-wrap .center .txt .txt-top{
    display: flex;
}
.content-wrap .center .txt .txt-top .box{
    width: 5px; height: 32px;
    background-color: rgb(30, 55, 94);
    margin-top: 5px;
}
.content-wrap .center .txt .txt-top p{
    font-size: 32px; margin-left: 15px;
}
.content-wrap .center .txt > p:nth-of-type(1){font-size: 24px; margin-top: 50px;}
.content-wrap .center .txt > p:nth-of-type(2){font-size: 24px;}
.content-wrap .center .txt .txt-bottom{margin-top: 50px;}
.content-wrap .center .txt .txt-bottom p:nth-child(3),
.content-wrap .center .txt .txt-bottom p:nth-child(4){
    margin-top: 20px;
}
.content-wrap .center .txt .txt-bottom p:nth-child(1){letter-spacing: -0.6px;}
.content-wrap .center .txt .txt-bottom p:nth-child(3){letter-spacing: -0.45px;}
.content-wrap .center .img{
    transform: translateY(13%);
}

.content2{width: 100%; margin-top: 0px; display: none;}
.content2-wrap{width: 300px; margin: 0 auto;}
.content2-wrap .top h3{
    text-align: center; font-size: 22px;
}
.content2-wrap .center .txt{margin-top: 30px;}
.content2-wrap .center .txt .txt-top{display: flex;}
.content2-wrap .center .txt .txt-top .box{
    width: 5px; height: 28px;
    background-color: rgb(30, 55, 94);
    margin-top: 7px;
}
.content2-wrap .center .txt .txt-top p{
    font-size: 20px; margin-left: 15px; margin-top: 7px;
}
.content2-wrap .center .txt > p:nth-of-type(1){
    margin-top: 30px;
}
.content2-wrap .center .txt > p{
    font-size: 20px;
}
.content2-wrap .center .txt > p span{
    color: cadetblue;
}
.content2-wrap .center .txt img{
    margin-top: 30px;
    position: relative; left: 50%;
    transform: translateX(-50%);
}
.content2-wrap .center .txt-bottom{
    margin-top: 30px; font-size: 14px;
}
.content2-wrap .center .txt-bottom p:nth-child(1){
    letter-spacing: -0.5px;
}
.content2-wrap .center .txt-bottom p:nth-child(2){
    letter-spacing: -0.5px; margin-top: 20px;
}
.content2-wrap .center .txt-bottom p:nth-child(3){
    letter-spacing: -0.5px; margin-top: 20px;
}

/* 절차 */
.img2{width: 100%; margin-top: 130px;}
.img2-wrap{width: 1200px; margin: 0 auto;}
.img2-wrap .txt{display: flex;}
.img2-wrap .txt .box{
    width: 5px; height: 32px;
    background-color: rgb(30, 55, 94);
    margin-top: 5px;
}
.img2-wrap .txt p{font-size: 32px; margin-left: 15px;}
.img2-wrap img{
    width: 90%; margin-top: 50px;
    position: relative; left: 50%;
    transform: translateX(-50%);
}
.img2-wrap .txt:nth-of-type(2){margin-top: 80px;}

.img22{width: 100%; margin-top: 30px;}
.img22-wrap{width: 300px; margin: 0 auto;}

.img22-wrap .txt{display: flex;}
.img22-wrap .txt .box{
    width: 5px; height: 28px;
    background-color: rgb(30, 55, 94);
    margin-top: 7px;
}
.img22-wrap .txt p{
    font-size: 20px; margin-left: 15px; margin-top: 7px;
}
.img22-wrap img{
    margin-top: 30px;
    width: 100%;
}

/* 필요서류 */
.table{width: 100%; margin-top: 80px;}
.table-wrap{width: 1200px; margin: 0 auto;}

.table-wrap .line{
    width: 1100px; height: 1px;
    background-color: gray;
    position: relative; left: 50%;
    transform: translateX(-50%);
}

.table-wrap .txtbox{
    margin-top: 30px;
    display: flex; width: 1000px;
    justify-content: space-around;
    position: relative; left: 50%;
    transform: translateX(-50%);
}
.table-wrap .txtbox .left h3{font-size: 20px;}
.table-wrap .txtbox .left p{color: crimson;}
.table-wrap .txtbox .right .txt{display: flex; margin-bottom: 15px;}
.table-wrap .txtbox .right .txt:nth-of-type(1) > p{margin-left: 15px;}
.table-wrap .txtbox .right .txt:nth-of-type(2) > p{margin-left: 13px;}
.table-wrap .txtbox .right .txt:nth-of-type(3) > p{margin-left: 12px;}
.table-wrap .txtbox .right .txt:nth-of-type(4) > p{margin-left: 12px;}
.table-wrap .txtbox .right .txt:nth-of-type(5) > p{margin-left: 13px;}

.table2{width: 100%; margin-top: 30px;}
.table2-wrap{width: 300px; margin: 0 auto;}

.table2-wrap > .line{
    width: 250px; height: 1px;
    background-color: gray;
    position: relative; left: 50%;
    transform: translateX(-50%);
}
.table2-wrap .txtbox{margin-top: 30px;}
.table2-wrap .txtbox .left{text-align: center;}
.table2-wrap .txtbox .left h3{font-size: 18px;}
.table2-wrap .txtbox .left p{
    color: crimson; font-size: 14px;
}
.table2-wrap .txtbox > .line{
    margin-top: 30px;
    width: 250px; height: 1px;
    background-color: gray;
    position: relative; left: 50%;
    transform: translateX(-50%);
}
.table2-wrap .txtbox .right{margin: 30px 0;}
.table2-wrap .txtbox .right .txt{display: flex; margin: 20px;}
.table2-wrap .txtbox .right .txt:nth-of-type(1) > p{margin-left: 15px;}
.table2-wrap .txtbox .right .txt:nth-of-type(2) > p{margin-left: 13px;}
.table2-wrap .txtbox .right .txt:nth-of-type(3) > p{margin-left: 12px;}
.table2-wrap .txtbox .right .txt:nth-of-type(4) > p{margin-left: 12px;}
.table2-wrap .txtbox .right .txt:nth-of-type(5) > p{margin-left: 13px;}

@media screen and (min-width: 1001px) {
    .main-wrap img{
        width: 100%; height: 290px;
    }
    .main-wrap img:nth-of-type(2){display: none;}
    .img2-wrap img:nth-of-type(2){display: none;}
    .quickmenu2{display: none;}
    .content2{display: none;}
    .img22{display: none;}
    .table2{display: none;}
    .main-wrap h3:nth-of-type(1){display: block;}
    .main-wrap h3:nth-of-type(2){display: none;}
}
@media screen and (min-width: 326px) and (max-width: 1000px) {
    .main-wrap img:nth-of-type(1){display: none;}
    .main-wrap img:nth-of-type(2){
        width: 100%; height: 290px;
    }
    .quickmenu{display: none;}
    .quickmenu2{display: block;}
    .img2-wrap img:nth-of-type(1){display: none;}
    .img2-wrap img:nth-of-type(2){display: none;}
    .content{display: none;}
    .content2{display: block;}
    .img2{display: none;}
    .img22{display: block;}
    .table{display: none;}
    .table2{display: block;}
    .main-wrap h3:nth-of-type(1){display: none;}
    .main-wrap h3:nth-of-type(2){display: block;}
}
@media screen and (max-width: 325px){
    .main-wrap img:nth-of-type(1){display: none;}
    .main-wrap .black{height: 250px;}
    .main-wrap img:nth-of-type(2){
        width: 100%; height: 250px;
    }
    .quickmenu{display: none;}
    .quickmenu2{display: block;}
    .img2-wrap img:nth-of-type(1){display: none;}
    .img2-wrap img:nth-of-type(2){display: block;}
    .content{display: none;}
    .content2{display: block;}
    .img2{display: none;}
    .img22{display: block;}
    .table{display: none;}
    .table2{display: block;}
    .main-wrap h3:nth-of-type(1){display: none;}
    .main-wrap h3:nth-of-type(2){display: block;}
}