@charset "utf-8";
@import url(font-awesome.min.css);
@import url("https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700");

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

a {
    display: block;
    color: inherit;
    text-decoration: none;
}

::-webkit-scrollbar {
    width: 1px;
}

html,
body {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    min-width: 390px;
    /* 모바일 넓이 390px를 최소값으로 제한 */
}

.gnb li {
    list-style: none;
}

#tab li {
    list-style: none;
}


@media only screen and (min-width: 2500px){
    .recent, .says{
        height: 1000px !important;
    }

    .display-title, .display-title2{
        height: 1000px !important;
    }
    
    .prevent{
        height: 1000px !important;
    }
    
    .introduce, .introbox{
        height: 1000px !important;

    }

    #gallsns{
        height: 1400px !important;
    }

    .introbox2{
        padding-top: 8% !important;
    }
    
}


@media only screen and (max-width: 500px){
    header>a[href="#submenu"] {
        right: 7% !important;

    }
}


@media only screen and (max-width: 768px) {
    #wrap {
        flex-direction: column;
        align-items: center;
        width: 100%;
        overflow: hidden !important;
    }

    .number {
        width: 30px !important;
        height: 30px !important;
        font-size: 18px !important;
    }

    
    .down{
        flex-direction: column;
        align-items: center;
        width: 100%;
        overflow: hidden !important;
    }

    .cooper{
        height: 100px !important;
        width: 300% !important;
    } 
    
    .cooper-inner{
        flex-wrap: nowrap !important;
        justify-content: flex-start; /* a 태그들을 왼쪽부터 정렬 */
    }

    .cooper-inner a{
        width: 15%  !important;
        height: auto;
        flex: 0 0 auto !important;
    }
    
    header>a[href="#submenu"] {
        padding: 0 0.5em;
        display: inline-block !important;

    }

    header>a+a[href="#submenu"]:last-child {
        padding-left: 1em;
        margin-left: 0.25em;
    }

    header>a:last-child {
        padding-right: 1em;
    }

    .last {
        font-size: 16px;
    }

    .inner {
        min-width: 90%;
    }

    .inner p {
        font-size: 14px !important;
    }

    .inner h2{
        font-size: 32px !important;
    }


    /* gnb메뉴 사라지게 하기 */

    header {
        max-height: 50px;
    }

    header i {
        visibility: hidden;
    }

    .ID li {
        display: none;
    }

    .gnb>li {
        display: none;
    }

    .indi>div {
        max-width: 50px;
    }

    #gallsns {
        min-width: 100%;
    }

    /* ----------------------------------- */

    .bar {
        max-height: 105px;
    }

    /* ---------------------------------------------------------------- */

    .call {
        font-size: 11px;
    }


    .calltext i {
        scale: 0.7;
    }

    .call-inner {
        min-width: 30%;
        scale: 0.7;
    }

    .calllink {
        min-width: 50%;
    }

    .calllink a {
        scale: 0.5;
    }

    .says {
        min-width: 100%;
    }

    footer {
        min-height: 450px;
        padding: 20px 5%;
    }

    .footer-container {
        min-width: 100%;
        text-align: center;
        padding: 0 auto;
    }

    .frbox,
    .site {
        float: none;
        width: 100%;
        margin: 0 auto;
    }

    select {
        margin-bottom: 20px;
        width: 100%;
        text-align: center;
    }

    .site {
        min-width: 50%;
        margin: 0 auto;
    }

    .footer-container {
        display: flex;
        flex-direction: column-reverse;
        /* 보통 아래로 쌓이는 것을 거꾸로 위로 자동으로 올라오도록 함 */
    }

    .flogo {
        scale: 0.8;
        margin-top: 20px;
        margin: 0 auto;
    }

    .sopt a {
        display: block;
        margin-bottom: 10px;
    }

    .spot,
    .copy {
        font-size: 14px;
    }

    .logo {
        min-width: 30%;
    }

    .IDbox {
        min-width: 50%;
    }

    .ID {
        scale: 0.7;
    }


    .time {
        display: none;
    }

    #slide,
    #headerbox {
        max-height: 450px;
    }

    .link a {
        display: none;
    }

    .linkbox a {
        display: none;
    }


    /* ---------------------------------------------- */

    .mainbox {
        max-height: 450px;
    }

    .introduce {
        min-width: 100%;
        max-height: 450px;
    }

    .introbox2 {
        min-width: 100%;
    }

    .introbox2 h1 {
        font-size: 24px !important;

    }

    /* 글씨 크기 속성 겹칠 때 important로 해결 */

    .introbox2 h3 {
        font-size: 20px !important;
    }


    .introbox2 p,
    .introbox2 span {
        font-size: 14px !important;
    }


    .detail>a {
        min-width: 30%;
    }



    /* ----------------------------------------------- */

    .display-title {
        min-width: 100%;
    }

    .display-title2 {
        min-width: 100%;
    }


    .disbox {
        min-width: 100%;
        max-height: 50%;
    }

    .disimage {
        min-width: 100%;
        max-height: 50%;
    }

    .display-title h3,
    .display-title2 h3 {
        font-size: 20px !important;
    }

    .display-title span,
    .display-title2 span {
        font-size: 30px !important;
    }

    .display-title p,
    .display-title2 p {
        font-size: 14px !important;
    }


    .sns {
        min-width: 100%;
        height: 50%;
    }

    .sns-title {
        max-height: 10%;
        font-size: 32px !important;
    }

    .sns-inner a {
        flex-basis: calc(50% - 30px);
        scale: 0.8;
    }

    .gallery-title {
        max-height: 10%;
        font-size: 32px !important;
        margin-bottom: 1%;
    }

    .gallery {
        max-height: 600px;
        /* 내부 그림자 */
    }

    /* gallery-title이 높이 20% */

    .gallery-inner {
        flex-direction: column;
    }

    .gallery-inner2 {
        flex-direction: column;
    }

    .gallery-inner a {
        min-width: 40%;
        max-height: 31%;
    }

    .gallery-inner2 a {
        min-width: 40%;
        max-height: 31%;
    }

    .gallbox-title h4 {
        font-size: 14px !important;
        padding: 2% !important;
    }
    
    .gallbox p {
        font-size: 10px !important;
    }

    /* -------------------------------------------------------------------- */

    .prevent-inner {
        min-width: 100%;
        max-height: 100%;
    }

    .preventbox2 {
        flex-direction: column;
    }

    .prevent1,
    .prevent2,
    .prevent3,
    .prevent4 {
        min-width: 100%;
        max-height: 25%;
    }

    .rec {
        min-width: 100%;
        max-height: 100%;
        display: flex;
        position: relative;
    }
    
    .rec1 {
        position: absolute;
        transform: translateY(-100%);
        aspect-ratio: 1;
        width: 3rem !important;
        height: 3rem !important;
        /* 정사각형 */
    }

    .rec1>i {
        font-size: 28px !important; 
    }

    /* .pretitle {
    } */

    .pretitle h4 {
        font-size: 18px !important;
    }

    .pretitle p {
        font-size: 14px !important;
    }

    /* ------------------------------------------------------- */

    .recent {
        min-width: 100%;
        max-height: 400px;
    }

    #tab {
        font-size: 12px;
    }

    .notice ul li,
    .news ul li,
    .danger ul li {
        font-size: 9px;
        font-weight: bold;
        letter-spacing: -1px;
        /* 자간 조절해 한줄로 만듦 */
    }

    .notice span,
    .news span,
    .danger span {
        font-size: 12px;
    }


    /* ---------------------------------------------------------- */


    .says {
        min-width: 100%;
        max-height: 450px;
    }


    .accordion {
        max-width: 100%;
    }

    
    
    .accordion li>label::after {
        font-size: 24px !important;
    }
    
    .content label::after {
        font-size: 24px !important;
        right: 20px;
    }

    .accordion li>label {
        font-size: 10px;
    }

    .accordion .content p {
        font-size: 10px !important;
    }


    .contact {
        min-height: 450px;
        flex-direction: column;
    }

    .contact a {
        min-width: 100%;
        max-height: 33.33%;
    }

}

@media only screen and (min-width: 768px) and (max-width: 1200px) {

    .link a {
        display: none;
    }

    .linkmenu {
        flex-wrap: wrap;
    }

    .linkmenu a {
        flex-basis: calc(50% - 2%);
        padding: 25px;
        height: auto;
        margin-bottom: 20px;
    }

    .time {
        display: none;
    }

    .gnb>li {
        display: none;
    }

    .inner {
        display: none;
    }

    .sns {
        min-width: 100%;
        height: 50%;
    }

    .sns-title {
        max-height: 10%;
        font-size: 32px !important;
    }

    .sns-inner{
        min-height: 80%;
    }

    .sns-inner a {
        flex-basis: calc(20% - 15px);
    }

    .notice ul li,
    .news ul li,
    .danger ul li {
        font-size: 11px;
        font-weight: bold;
        letter-spacing: -1px;
        /* 자간 조절해 한줄로 만듦 */
    }

    .notice span,
    .news span,
    .danger span {
        font-size: 11px;
    }


    .accordion li>label {
        font-size: 11px !important;
    }

    .accordion .content p {
        font-size: 11px !important;
    }

    .accordion li>label::after {
        font-size: 24px !important;
    }
    
    .content label::after {
        font-size: 24px !important;
        right: 20px;
    }

}


/* PC 브라우저 --------------------------------------------------- */

header {
    width: 100%;
    height: 80px;
    display: flex;
    position: fixed;
    z-index: 9;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition-duration: .4s;
    align-items: center;
}


.logo {
    height: auto;
    /* 부모요소 높이에 자동으로 맞춰짐 */
    padding: 0;
    cursor: pointer;
    flex: 1;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
    margin-left: 1%;
}

.logo img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    object-position: center;
}

.header-inner {
    display: flex;
    justify-content: center;
    width: calc(100% - 500px);
}

header i {
    color: #fff;
    display: inline-flex;
}

.IDbox {
    display: inline-flex;
    width: 10%;
    justify-content: center;
    display: flex;
    align-items: center;
    list-style: none;
    flex: 1;
}

.ID {
    justify-content: center;
    display: flex;
    width: 100%;
    height: 30px;
    color: #fff;
    border-radius: 32px;
    align-items: center;
}

.ID li {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0 5%;
}

.ID li:last-child {
    border: 0;
}

.ID li:hover {
    font-weight: bold;
}

.gnb {
    width: 900px;
    height: 200px;
    display: flex;
    line-height: 50px;
    position: absolute;
    top: 15px;
}

.gnb>li {
    height: 50px;
    text-align: center;
    font-weight: 300;
}

.gnb>li>a {
    height: 65px;
    font-size: 18px;
    width: 150px;
    color: #fff;
}

.gnb>li>a:hover {
    border-bottom: 3px solid #ffffff;
    opacity: 0.5;
}

.submenu {
    width: 150px;
    height: 150px;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    font-weight: 400;
}

.menu,
.submenu {
    display: none;
}

.submenu>li>a {
    transition-duration: .4s;
}

.submenu>li:hover>a {
    font-weight: 500;
    background-color: #fff;
}

/* ----------------------------------- */

#slide {
    width: 100%;
    height: 100vh;
    position: relative;
    top: 0;
    z-index: 1;
    padding-top: 46.875%;
}


.indi {
    position: absolute;
    z-index: 5;
    top: 95%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
}

.indi>div {
    width: 150px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.3);
    transition-duration: .4s;
}

.indi>.current {
    background-color: #fff;
}

#slide>a {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    display: none;
}

#slidemain {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.inner {
    position: absolute;
    color: #fff;
    z-index: 9;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* display: inline-block;
    vertical-align: middle; */
}

.inner>section {
    width: 100%;
    height: 100%;
}

.inner p,
.inner h2 {
    padding: 10px 0;
    width: 100%;
    height: 50%;
}

.section-bar {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.65);
}

.inner p {
    font-weight: 300;
}

.inner h2 {
    font-size: 56px;
    font-weight: 500;
}





#slide>a:first-child {
    display: block;
}

#slide img {
    width: 100%;
    height: 100%;
    background-size: cover;
}


.link {
    width: 150px;
    height: 450px;
    right: 2%;
    position: absolute;
    top: 15%;
    z-index: 5;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.link i {
    font-size: 48px;
    color: #fff;
    margin-bottom: 1rem;
}


.link>a {
    text-align: center;
    width: 90%;
    height: 30%;
    border-radius: 0 16px;
    transition-duration: .4s;
    border: 1px solid rgba(255, 255, 255);
    color: #fff;
    font-weight: bold;
    position: relative;
    padding-top: 0.5rem;
}

.link>a:hover {
    background-color: rgba(30, 144, 255, 0.5)
}

/* ------------------------------ */

.linkbox {
    position: absolute;
    bottom: 10%;
    z-index: 6;
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    padding: 30px 0;
    height: auto;
}

.linkmenu {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    gap: 2%;
}

.linkmenu a {
    width: 20%;
    height: 180px;
    transition-duration: .4s;
    border: 1px solid rgba(255, 255, 255);
    border-radius: 0 16px;
    color: #fff;
    position: relative;
    /* flex: 1; -> 오류 유발?*/
}

.linkbox a:hover {
    font-weight: bold;
    background-color: rgba(30, 144, 255, 0.3);
}


.linkmenu>a i {
    font-size: 60px;
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    /* 한 가운데 */
}

.link-text {
    width: 40%;
    height: 100%;
    float: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.linkmenu p {
    margin: 0;
    align-items: center;
}

/* ---------------------------------------------------------------------------------------------- */

/* slide하고 header를 감싼 상자 */

.time {
    position: absolute;
    margin-top: 8%;
    width: 15%;
    height: 15%;
    z-index: 8;
    color: #fff;
}

.time i {
    font-size: 24px;
}

.time p {
    display: inline;
}

.time1 {
    width: 100%;
    height: 50%;
    display: flex;
    align-items: center;
    gap: 5%;
    justify-content: center;
}

.time2 {
    gap: 5%;
    justify-content: center;
    width: 100%;
    height: 50%;
    display: flex;
    align-items: center;
}

#wrap {
    max-width: 100%;
    min-width: 390px;
    margin: 0 auto;
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.down{
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}


.introduce {
    width: 100%;
    height: 800px;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.introbox {
    width: 100%;
    height: 800px;
    background-color: #000;
    opacity: 0.4;
    position: absolute;
    top: 0;
}

.introduce>a {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.introduce img {
    width: 100%;
    height: 100%;
    background-size: cover;
}

.introbox2 {
    position: relative;
    top: 0;
    height: 100%;
    width: 100%;
    color: #fff;
    padding: 5%;
}

.text-intro {
    height: auto;
    position: absolute;

}

.introbox2 h1 {
    font-size: 50px;
    font-weight: 600;
    padding: 1% 0;
}

.introbox2 h3 {
    font-size: 32px;
    font-weight: 500;
    padding: 2% 0;
}


.introbox2 p {
    font-size: 24px;
    font-weight: 300;
    line-height: 2.5;
}

.introbox2 span {
    font-weight: 500;
    font-size: 24px;
}

.detail {
    text-align: center;
    margin-top: 5%;
}

.detail>a {
    border: 1px solid #fff;
    padding: 10px;
    width: 10%;
}

.detail>a:hover {
    background-color: rgba(255, 255, 255, 0.5);
    color: #000;
    cursor: pointer;
}

/* ---------------------------------------------------------------- */

.display-title {
    width: 100%;
    height: 800px;
    background-color: dodgerblue;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
}

.display-title2 {
    width: 100%;
    height: 800px;
    display: flex;
    flex-wrap: wrap;
}


.disbox {
    line-height: 2;
    text-align: left;
    padding-left: 4%;
    padding-bottom: 5%;
    padding-top: 10%;
    width: 50%;
    height: 100%;
}

.disimage {
    width: 50%;
    height: 100%;
    box-shadow: -5px 0 8px -5px #333;
}

.disimage img {
    width: 100%;
    height: 100%;
    background-size: cover;
}

.display-title h3,
.display-title2 h3 {
    font-size: 32px;
    font-weight: 500;
    padding: 2% 0;
}

.display-title span,
.display-title2 span {
    font-weight: 600;
    font-size: 50px;
    padding: 1% 0;
}

.display-title p,
.display-title2 p {
    padding: 2% 0;
    font-size: 24px;
    width: 90%;
    font-weight: 300;
    line-height: 2.5;
}



/* ---------------------------------------------------------------- */

.recent {
    /* 모바일 반응형 */
    width: 50%;
    height: 800px;
    background-color: rgb(87, 169, 252);
}

#tab {
    width: calc(100% - 120px);
    margin-top: 8%;
    margin-left: 7%;
    margin-bottom: 2%;
    display: flex;
    border-bottom: 3px solid dodgerblue;
    align-items: center;
}

#tab li {
    padding: 5px 10px;
}

.active {
    color: #000;
    font-weight: bold;
    border-bottom: 2px solid #fff;

}

#tab>li:hover {
    cursor: pointer;
}

.notice {
    margin-left: 7%;
    margin-right: 7%;
}

.notice ul .news ul,
.danger ul {
    width: 100%;
    height: 100%;
}

.notice ul li,
.news ul li,
.danger ul li {
    list-style-position: inside;
    background-color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2%;
    border-radius: 0 16px;
    padding: 3% 3% 3% 2%;
}

.notice li:hover,
.news li:hover,
.danger li:hover {
    font-weight: 500;
    cursor: pointer;
    color: dodgerblue;
    background-color: rgba(255, 255, 255, 0.7);
}

.notice a,
.news a,
.danger a {
    display: inline;
}

.notice span,
.news span,
.danger span {
    float: right;
}

.news {
    margin-left: 7%;
    margin-right: 7%;
    display: none;
}

.danger {
    margin-left: 7%;
    margin-right: 7%;
    display: none;
}

/* -------------------------------------- */



#gallsns {
    width: 100%;
    height: 1200px;
    justify-content: space-evenly;
}

.sns {
    width: 100%;
    height: 40%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8)),
        url(../img/contactimg.jpg) center no-repeat;
    background-size: cover;
    position: relative;
}

.sns-title>p {
    padding: 0.5% 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
}

.sns-title {
    width: 100%;
    height: 25%;
    color: #fff;
    text-align: center;
    font-size: 36px;
    display: flex;
    justify-content: center;
    gap: 3%;
    align-items: center;
    font-weight: bold;
    margin-bottom: 1%;
}

.sns-inner {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5%;
}

.sns-inner a {
    width: 13%;
    aspect-ratio: 1;
    /* 원형 */
    text-align: center;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition-duration: .4s;
}


.sns-inner a:hover {
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.1);
}

.sns-inner p {
    font-weight: 300;
    margin-top: 5%;
}

.sns img {
    width: 50%;
    height: 50%;
    object-fit: contain;
    object-position: center;
}

/* ------------------------------------- */


.gallery-title {
    width: 100%;
    height: 20%;
    color: dodgerblue;
    text-align: center;
    font-size: 36px;
    display: flex;
    justify-content: center;
    gap: 3%;
    align-items: center;
    font-weight: bold;
    position: relative;
}

.gallery-title>p {
    padding: 0.5% 0;
    border-bottom: 1px solid dodgerblue;
}

.gallery-title i {
    position: absolute;
    right: 23%;
}

#gall-tab{
    /* height: 20%; */
    justify-content: center;
    display: flex;
    padding: 1% 0;
}

#gall-tab li{
    padding: 10px 5%;
    list-style: none;
    border: 1px solid #a6a6a6;
    background-color: transparent;
    color: dodgerblue;
    cursor: pointer;
}

.active2{
    background-color: dodgerblue !important;
    color: #fff !important;
}

#gall-tab li:first-child{
    border-right: none;
}


.title-bar {
    width: 5px;
    height: 50%;
    background-color: #fff;
    transform: rotate(45deg);
}

.title-bar2 {
    width: 5px;
    height: 50%;
    background-color: dodgerblue;
    transform: rotate(45deg);
}



.gallery {
    width: 100%;
    height: 60%;
    box-shadow: inset 0 0 10px;
    /* 내부 그림자 */
}

/* gallery-title이 높이 20% */

.gallery-inner{
    height: 70%;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3%;
    visibility: visible;
}

.gallery-inner2{
    height: 70%;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3%;
    visibility: hidden;
    transition: opacity 0.3s ease;
}


.show{
    visibility: visible;
}

.gallery-inner a, .gallery-inner2 a {
    width: 20%;
    height: 80%;
    position: relative;
    overflow: hidden;
}

.gallery-inner a:hover, .gallery-inner2 a:hover {
    border: 2px solid dodgerblue;
}

.number {
    position: absolute;
    width: 50px;
    height: 50px;
    font-size: 24px;
    font-weight: bold;
    justify-content: center;
    align-items: center;
    display: flex;
    background-color: dodgerblue;
    color: #fff;
}

.gall {
    height: 60%;
}

.gallbox {
    height: 40%;
    border: 1px solid #999;
    color: #000;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallbox-title h4 {
    width: 100%;
    padding: 10% 0;
    color: #000;
    font-size: 20px;
    font-weight: 400;
}

.gallbox p {
    width: 100%;
    color: #a6a6a6;
}

.gallery-inner img, .gallery-inner2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ------------------------------------------- */

.prevent {
    width: 100%;
    height: 800px;
}

.prevent-inner {
    width: 100%;
    height: 100%;
}

.prevent-inner>a {
    width: 100%;
    height: 100%;
    position: relative;
}

.prevent-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.preventbox {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}

.preventbox2 {
    position: relative;
    /* 자기 기준 */
    top: -100%;
    width: 100%;
    height: 100%;
    display: flex;
    text-align: center;
}

.prevent1,
.prevent2,
.prevent3,
.prevent4 {
    width: 25%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    transition-duration: .4s;
    border-right: 1px solid #fff;
    position: relative;
    align-items: center;
    justify-content: center;
    display: flex;
}

.prevent1:hover,
.prevent2:hover,
.prevent3:hover,
.prevent4:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.rec {
    position: relative;
    width: 100%;
    height: auto;
}

/* 1rem = 16px */

.rec1 {
    width: 8rem;
    height: 8rem;
    border: 5px solid #fff;
    rotate: calc(45deg);
    margin: 20% auto;
    justify-content: center;
    display: flex;
    align-items: center;
}

.rec1>i {
    font-size: 64px;
    rotate: calc(-45deg);
    color: #fff;
}

.pretitle {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #fff;
}

.pretitle-inner {
    width: 100%;
}


.pretitle h4 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 8%;
    padding: 5px;
    border-top: 3px solid #fff;
    border-bottom: 3px solid #fff;
}

.pretitle p {
    font-weight: 300;
    font-size: 20px;
    text-align: center;
    margin: 1% 0;
    /* 원하는 간격으로 조절 */
}

/* ------------------------------------------------------------------------------ */


.contact {
    width: 100%;
    height: 200px;
    display: flex;
    color: #fff;
}

.contact h3 {
    margin-right: 1rem;
    margin-bottom: 5px;
}

.contact a {
    width: 33.33%;
    height: 100%;
    position: relative;
}

.contact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-inner {
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4);
}

.contact-inner img {
    width: 5%;
    object-fit: contain;
    object-position: center;
}

/* ---------------------------------------------------------------------------------------------- */


.says-title {
    width: 100%;
    height: 13%;
    color: dodgerblue;
    text-align: center;
    font-size: 36px;
    display: flex;
    justify-content: center;
    gap: 4%;
    align-items: center;
    font-weight: bold;
    position: relative;
}

.says-title>p {
    padding: 0.5% 0;
    border-bottom: 1px solid dodgerblue;
}

.says-title i {
    position: absolute;
    right: 7%;
}

.title-bar2 {
    width: 5px;
    height: 50%;
    background-color: dodgerblue;
    transform: rotate(45deg);
}

.says {
    width: 50%;
    height: 800px;
}

.says-inner {
    height: 80%;
}


.says h2 {
    margin-left: 40px;
}

.accordion {
    margin: 5% auto;
    width: 90%;
}

.accordion li {
    list-style: none;
    width: 100%;
    padding: 5px;
}

.accordion li>label {
    align-items: center;
    padding: 3%;
    display: flex;
    font-weight: 500;
    background-color: rgb(102, 170, 238);
    border-radius: 0 16px;
    margin-bottom: 2px;
    cursor: pointer;
    position: relative;
}

.accordion li>label::after {
    content: "\2b";
    font-size: 36px;
    position: absolute;
    right: 3%;
    transition: .5s;
}


.accordion input[type="radio"] {
    display: none;
}

.accordion input[type="radio"]:checked+label::after {
    transform: rotate(-135deg);
}

.accordion .content {
    background-color: rgb(80, 131, 182);
    color: #fff;
    text-align: left;
    max-height: 0;
    overflow: hidden;
    line-height: 1.6;
    position: relative;
    margin-bottom: 1%;
}


.content label {
    align-items: center;
    display: flex;
    cursor: pointer;
}

.content label::after {
    content: "\2b";
    font-size: 36px;
    position: absolute;
    right: 3%;
    transform: rotate(45deg);
    margin-bottom: 2%;
}

.accordion .content p {
    font-size: 16px;
}

.accordion .content p:first-child {
    margin-bottom: 3%;
}

.content p:nth-child(2) {
    margin-bottom: 3%;
}

.content p:nth-child(3) {
    margin-bottom: 3%;
}

.accordion input[type="radio"]:checked+label+.content {
    max-height: 600px;
    padding: 2% 3%;
}


/* ---------------------------------------------------------------------------------------------- */

.cooper-inner.original {
    animation: rollingleft 30s linear infinite;
}

.cooper-inner.clone {
    animation: rollingleft 30s linear infinite;
    transform: translateX(100%);
}

@keyframes rollingleft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.cooper {
    width: 100%;
    height: 150px;
    border-top: 1px solid #999;
    position: relative;
    overflow: hidden;
}

.cooper-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    white-space: nowrap;
    position: absolute;
}

.cooper-inner a {
    width: 15%;
    height: 60%;
    justify-content: center;
    display: flex;
    flex: 0 0 auto;
    border: 1px solid rgba(166, 166, 166, 0.5);
    align-items: center;
}

.cooper-inner img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    object-position: center;
}

footer {
    width: 100%;
    background-color: dodgerblue;
    color: #fff;
    padding-top: 1%;
}

.footer-container {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
}

.frbox {
    width: 70%;
    padding-bottom: 2%;
    float: left;
}

.site {
    text-align: center;
    float: right;
    width: 30%;
    padding-top: 4%;
}

select {
    padding: 15px 10px;
    border: 1px solid #fff;
    background-color: transparent;
    color: #fff;
}

select option {
    background-color: #fff;
    color: #000;
}

.flogo {
    margin-bottom: 20px;
    display: block;
}

.spot {
    margin-top: 20px;
}

.spot {
    width: 100%;
    gap: 2%;
}

.spot a {
    display: inline-block;
    /* a태그 요소들을 화면이 줄어듦에 따라 줄바꿈이 일어나게 함 */
    margin-right: 10px;
}

.spot a:hover {
    color: blue;
    text-decoration: underline;
    font-weight: bold;
}

.copy {
    font-weight: bold;
    margin-top: 20px;
}

.copy {
    width: 100%;
}


/* x버튼 */
#menuToggle2 {
    text-decoration: none;
    -moz-transition: color 0.2s ease-in-out;
    -webkit-transition: color 0.2s ease-in-out;
    -ms-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
    -webkit-tap-highlight-color: transparent;
    border: 0;
    color: #999999;
    cursor: pointer;
    display: block;
    height: 3.25rem;
    line-height: 3.25rem;
    padding-right: 1.25rem;
    position: absolute;
    right: 0;
    text-align: right;
    top: 0;
    width: 7rem;
}

#menuToggle2:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-transform: none !important;
}

#menuToggle2:before {
    content: '\f00d';
    font-size: 1.25rem;
}

#menuToggle2:hover {
    color: #fff;
}

#sidemenu.visible2 {
    transform: translateX(20rem);
    -moz-transform: translateX(20rem);
    -webkit-transform: translateX(20rem);
    -ms-transform: translateX(20rem);
}



header>a[href="#submenu"] {
    -moz-transition: color 0.2s ease-in-out;
    -webkit-transition: color 0.2s ease-in-out;
    -ms-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
    padding: 0 0.75em;
    color: inherit;
    text-decoration: none;
    color: #fff;
    z-index: 1000;
    /* 높은 z-index 값 설정 */
    position: relative;
    display: none;
}

header>a[href="#submenu"] {
    color: #fff;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

header>a[href="#submenu"]:before {
    content: "";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-transform: none !important;
}

header>a[href="#submenu"]:before {
    margin: 0 0.5em 0 0;
}

header>a:last-child {
    padding-right: 1.25em;
}

#sidemenu>a:hover {
    color: #f2f2f2;
}


header>a+a[href="#submenu"]:last-child {
    border-left: solid 1px rgba(0, 0, 0, 0.15);
    padding-left: 1.25em;
    margin-left: 0.5em;
}

#sidemenu {
    -moz-transform: translateX(20rem);
    -webkit-transform: translateX(20rem);
    -ms-transform: translateX(20rem);
    transform: translateX(20rem);
    transition: transform 0.5s ease, box-shadow 0.5s ease, visibility 0.5s;
    background: rgba(0, 0, 0, 0.95);
    box-shadow: none;
    color: #fff;
    overflow-y: auto;

    width: 20rem;
    /* 화면 밖 */
    height: 100%;
    max-width: 80%;
    padding: 3rem 2rem;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9;
    visibility: visible;
}


#sidemenu.visible {
    transform: translateX(0);
    -moz-transform: translateX(0);
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    box-shadow: 0 0 1.5rem 0 rgba(0, 0, 0, 0.2);
}


#sidemenu>ul {
    margin: 0 0 1rem 0;
}

#sidemenu>ul.links {
    list-style: none;
    padding: 0;
}

#sidemenu>ul.links>li {
    padding: 0;
}

#sidemenu>ul.links>li:first-of-type>a:not(.button) {
    border-top: none;
}

.last {
    text-align: center;
    font-weight: 300;
}


#sidemenu>ul.links>li>a:not(.button) {
    border: 0;
    border-top: solid 1px rgba(255, 255, 255, 0.125);
    color: rgba(255, 255, 255, 0.5);
    display: block;
    line-height: 3.5rem;
    text-decoration: none;
    text-transform: uppercase;
}

#sidemenu>ul.links>li>a:not(.button):hover {
    color: #FFF;
}

#sidemenu>ul.links>li>.button {
    display: block;
    margin: 0.5rem 0 0 0;
}

#sidemenu>ul.links>li:first-child>a:not(.button) {
    border-top: 0 !important;
}