/*
Theme Name: irpa
Author: hwpl
Author URI: https://hwpl.kr
Description: IRPA first theme
Version: 3.3
License: 00
License URI: 00
Text Domain: irpa
Tags: blog, portfolio, news

*/


@import "assets/css/reset.css";


body {
    font-family: 'pretendard', 'Arial',  sans-serif;
    line-height: 1.4;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

img {
    width: 100%;
}

.header-inner{
    margin: 0 auto;
    max-width: 1000px;
}

.inner {
    margin: 0 auto;
    max-width: 1000px;
}

h4 {
    font-size: 1.3em;
    margin: 3% 0;
}

/*    메뉴    */

a {
    text-decoration: none;
    color: inherit;
}

.art_button{
    display: flex;
    justify-content: center;
    align-items: center;

    max-width: 100px;

    padding: 5px 10px;
    color: #ffffff;
    background-color: #29ad36;
    font-size: 12px;
    border-radius: 5px;
}

.nav {
    width: 100vw;
    display: flex;
    justify-content: center;
}

.nav .header {
    position: relative;

    width: 100%;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 20px;

}

.nav .header > h1 {
    /*border: 1px solid red;*/
    width: 200px;
}



nav .menu-irpa-menu-container {

}

nav .menu-irpa-menu-container ul {
    display: flex;
    font-family: 'NanumSquareRound', sans-serif;
    font-weight: 500;
    font-size: 1rem;

}

nav .menu-irpa-menu-container ul > li {
    display: flex;
    align-items: center;
    margin-left: 15px;
    height: 60px;
}

nav .menu-irpa-menu-container ul > li:hover {
    color: #005d24;
}

.menu-item-has-children {
    /*border: 1px solid red;*/
    position: relative;
}
.sub-menu {
    width: 0;
    height: 0;
    overflow: hidden;
}

.menu-item-has-children:hover .sub-menu,
.menu-item-has-children .sub-menu:hover {
    min-width: 200px;
    height: 120px;

    position: absolute;
    left: 0;
    top: 50px;

    background-color: #fff;
    display: block;
}
.menu-item-has-children:hover .sub-menu > li {
    height: 40px;
}



/*    풋터     */

.footer {
    background-color: #333333;
}

.footer-inner {
    margin: 0 auto;
    padding: 3%;
    display: flex;
    justify-content: space-between;
    align-items: stretch;

    color: #9E9E9E;
}

.footer-inner .footer-logo {
    width: 200px;
}

.footer-inner .sns {
    /*border: 1px solid red;*/
    display: flex;
    justify-content: end;
    align-items: center;
    flex: 3;
}

.footer-inner .sns > a {
    /*border: 1px solid red;*/
    margin: 0 5px;
    width: 30px;
    height: 30px;
    display: block;

    position: relative;

    overflow: hidden;
}

.footer-inner .sns > a:after {
    content: "";
    background: url("./assets/images/icons.png") no-repeat 0 0;
    background-size: cover;
    width: 206px;
    height: 28px;
}

.footer-inner .sns > a:nth-child(1):after {
    position: absolute;
    left: -2px;
    top: 0;
}
.footer-inner .sns > a:nth-child(2):after {
    position: absolute;
    left: -45px;
    top: 0;
}
.footer-inner .sns > a:nth-child(3):after {
    position: absolute;
    left: -130px;
    top: 0;
}


/* 탑배너 스타일 */
.title{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    margin: 7% 0;

    color: #fff;
}
.title h3{
    font-size: 2em;
    margin: 2% 0;
}


.impact {
    font-weight: bold;
    color: #be7e00;
}

.impact2 {
    font-weight: bold;
    color: #fc9a00;
}

.block {
    display: block;
}


/* 스마트폰 세로 */
@media only screen and (max-width : 768px) {

    .header-inner{
        margin: 0;
    }

    .inner {
        margin: 0 20px;
    }


    /*.nav .header > ul {*/
    /*    font-size: 0.7rem;*/
    /*}*/

    .footer .logo-black {
        display: none;
    }

    .slide-open{
        position:absolute;
        top:0;
        right:0;
        width:80px;
        height:80px;
        cursor:pointer;
    }

    .burgur{
        right: 15px;
        top: 34px;
        position: absolute;
        width: 20px;
        height: 2px;
        background: #000000;

        z-index: 2;
    }

    .burgur .top-line{
        width: 20px;
        height: 2px;
        background-color: #000000;
        bottom: -5px;
        content: '';
        position: absolute;
        right: 0;
        -webkit-transition:  -webkit-transform .3s;
        transition: transform .3s;

    }
    .burgur .bot-line {
        width: 20px;
        height: 2px;
        background-color: #000000;
        top: -5px;
        content: '';
        position: absolute;
        right: 0;
        -webkit-transition:  -webkit-transform .3s;
        transition: transform .3s;
    }

    .burgur.on {
        width: 0;
    }
    .burgur.on .bot-line {
        -webkit-transform: translateY(5px) rotate(135deg);
        transform: translateY(5px) rotate(135deg);
    }
    .burgur.on .top-line{
        -webkit-transform: translateY(-5px) rotate(-135deg);
        transform: translateY(-5px) rotate(-135deg);
    }


    .menu-irpa-menu-container {
        width:100%;
        /*height: 100%;*/
        position:absolute;
        left:-100%;
        top: 0;
        right:0;
        bottom:0;
        -webkit-transition: left .3s;
        -moz-transition: left .3s;
        -ms-transition: left .3s;
        -o-transition: left .3s;
        transition: left .3s;

        background-color:#fff;
        padding-top: 80px;

    }

    #menu-irpa-menu {
        /*display: none;*/
    }

    .menu-irpa-menu-container.on{
        left:0;
    }

    .menu-irpa-menu-container.on ul {
        display: flex;
        flex-wrap: wrap;
        background-color:#fff;
    }

    .menu-irpa-menu-container ul li{
        display:inline-block;
        width:100%;
        padding:10px 0;

        margin: 0;
    }



    /*서브메뉴*/
    nav .menu-irpa-menu-container {

    }
    nav .menu-irpa-menu-container ul {
        display: block;
    }

    nav .menu-irpa-menu-container ul > li {
        display: block;
        position: inherit;
        height: auto;
        padding: 0;
        margin-left: 0;
        border-bottom:1px solid #e1e1e1;
    }

    nav .menu-irpa-menu-container ul > li > a {
        display: block;
        width: 95%;
        padding: 10px 0 10px 5%;

    }
    .menu-item-has-children {
        display: block;

    }

    .sub-menu {

        width: auto;
        height: auto;
        position: inherit;
    }

    .menu-item-has-children .sub-menu > li {
        border-bottom: 0px;
        height: auto;
        width: 90%;
        padding-left: 10%;
        background-color: #f5f5f5;
    }

    .menu-item-has-children:hover .sub-menu,
    .menu-item-has-children .sub-menu:hover {
        width: 100%;
        height: auto;

        position: inherit;
        display: block;
    }
    .menu-item-has-children:hover .sub-menu > li {

    }



}

/* iPad 세로 */
@media only screen and (min-width : 768px) and (max-device-width: 1024px) and (orientation: landscape) {

}
