@charset "utf-8";

a {
    text-decoration: none!important;
}

.sub_header { width: 100%; margin: 0 0 5%;padding: 3% 0; background-color: #246fca;  text-align: right; }
.sub_header > span { display: block; color: #fff; font-size: 14px; width: 90%; }

.tit { font-size: 36px; margin: 0 0 5%}
.c_box {width: 80%; margin: 0 auto; text-align: center;}
.f_box {width: 80%; margin: 0 auto; text-align: left;}
span { font-weight: bold; font-size: 12px;}
.s_tit {
	width: 60%;
}
.s_tit h1 {
    font-size: 28px;
}
.s_g_con {
	width:100%;
}
.s_gnb {
	font-size: 18px;
    width: 100%;
    height: 100%;
    margin: 50px auto;
}
.s_gnb > li {
	width: 80%;
    margin: 1% auto;
    text-align: center;
    border: 1px solid #666;
    border-radius: 10px;
}
.s_gnb > li > a {
    letter-spacing: 1.4px;
    color: #333;
	font-weight: bold;
    text-decoration: none;
    font-size: 16px;
    display: block;
    height: 100%;
    padding: 10px 0;
}




.p1_2_ul {
    display: flex;
    padding: 0 150px 20px 150px;
    box-sizing: border-box;
    justify-content: space-around;
}

.p1_2_ul > li {
    text-align: left;
    position: relative;
}

.p1_2_ul > li > ul > li {
    line-height: 1.7;
    margin-top: 20px;
}

.p1_2_ul > li > ul span {
    font-weight: bold;
    font-size: 20px;
}


.p1_2_ul > li > ul p {
    font-size: 18px;
}

.text_rainbow {
    background-image: linear-gradient(90deg, red, green, blue, navy, purple);
  -webkit-background-clip: text;
  color: transparent;
}

.p1_2_text {
    padding: 30px;
    box-sizing: border-box;
    border: 1px solid #ddd;
}

.img_y_flex {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.img_y_center {
    position: relative;
    transform: translateY(-50%);
    top: 50%;
}


.p1_3_text {
    display: flex;
    font-size: 40px;
    font-weight: bold;
    justify-content: center;
}

.p1_3_text > li {
    width: 150px;
    height: 150px;
    position: relative;
    cursor: pointer;
}

.p1_3_text > li:nth-child(1) {
    background-color: #3777ad;
}

.p1_3_text > li:nth-child(2) {
    background-color: #45ad37;
    margin: 0 50px;
}

.p1_3_text > li:nth-child(3) {
    background-color: #ad7f37;
}

.p1_3_text > li > p {
    position: relative;
    transform: translateY(-50%);
    top: 50%;
    color: #fff;
}

.p1_3_ul {
    display: grid;
    grid-template-columns: repeat(1,1fr);
}

.p2_1_ul {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    margin: 0 auto;
    width: 30%;
    grid-gap: 10px;
    margin-bottom:50px
}

.p2_1_ul > li > a {
    font-size: 20px;
    font-weight: bold;
    padding: 10px 20px;
    box-sizing: border-box;
    text-align: center;
    line-height: 20px;
    display: block;
}

.p3_ul {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    width: 70%;
    position: relative;
    transform: translateX(-50%);
    left: 50%;
    grid-gap: 50px;
}

.p3_ul a {
    display: block;
}

.p3_ul img {
    width: 100%;
}

.p4_1 {
    display: grid;
    grid-template-columns: repeat(2,auto);
    width: 70%;
    margin: 0 auto;
    grid-gap: 50px;
}

.p4_1 img {
    width: 100%;
}

.p4_1 p {
    margin-top: 15px;
    font-size: 14px;
}

.p4_1 > li:hover img {
    filter: contrast(0.7);
}

.p7_2_div {
    border: 1px solid #ddd;
    margin: 50px auto;
    width: 50%;
    padding: 30px;
    position: relative;
    box-sizing: border-box;
    border-radius: 10px;

}

.p7_2_div > h2 {
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    top: -15px;
    background-color: #fff;
    padding: 0 20px;
}

.p7_2_div > p {
    font-size: 18px;
}

.font_bold {
    font-weight: bold;
}

.p7_2_p {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    box-sizing: border-box;
}

.p7_2_div button {
    padding: 5px;
    background-color: #00b6bd;
    border-radius: 5px;
    color: #fff;
    border-bottom: 2px solid #aaa;
    border-right: 2px solid #aaa;
}

@media all and (max-width:1200px) {
    .s_tit { width:100%; }
    
    .s_gnb > li { width:95%; }
}
