/*
Theme Name: optimized1
Theme URI: https://doorweb.net/
Author: Oh Hyun
Author URI: https://doorweb.net/
Description: A basic WordPress theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: optimized1
*/

/** Common START **/
body, p, h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dt, dd, table, th, td, form, fieldset, legend, input, textarea, button, select {
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: none
}
body, html {
    width: 100%;
    height: 100%;
    background:#fff;
}
body, input, textarea, select, button, table {
    font-family: 'Pretendard Variable', Open Sans, NanumBarunGothic, Malgun Gothic, Dotum, Apple SD Gothic Neo, AppleGothic, Helvetica, sans-serif;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    color:#555;
}
img, fieldset, button {
    border: 0
}
img{
    max-width:100%;
    vertical-align: middle;
}
ul, ol {
    list-style: none
}
em, address {
    font-style: normal
}
a {
    text-decoration: none;
    color:#555;
}
a:hover, a:active, a:focus {
    text-decoration: none
}
.root-container{
    max-width:1270px;
    width:100%;
    margin:0 auto;
    padding:0 15px;
    box-sizing: border-box;
}
main{
    padding-top:100px;
}
h2{
    font-size:28px;
}
/** Common END **/
/** HEADER STRAT **/
.main-header {
    position: fixed;
    z-index: 999;
    top: 0;
    width: 100%;
    transition: all .3s;
    box-sizing: border-box;
    background: #fff;;
    border-bottom:1px solid rgb(0 0 0 / 12%);
    box-shadow: 0px 1px 6px 0px rgb(0 0 0 / 9%);
}
.admin-bar .main-header{
    top:32px;
}
.main-header *{
    box-sizing: border-box;
    vertical-align: middle;
}
.main-header .header-inner{
    display:flex;
    justify-content: flex-end;
    height: 100px;
    align-items: center;
    
}
.site-logo{
    margin-right: auto;
}
.main-header .header-inner .nav-menu{
    display:flex;
}
.main-header .header-inner .nav-menu li{
    position: relative;
}
.main-header .header-inner .nav-menu > li > a{
    padding:15px 20px;
    font-size:16px;
    line-height: 70px;
    display:block;
}
.main-header .header-inner .nav-menu .sub-menu{
    position: absolute;
    top:100%;
    width: 200px;
    left: 50%;
    padding: 15px 10px;
    background: #fff;
    border-radius:2px 2px 8px 8px;
    border: 1px solid rgb(0 0 0 / 12%);
    border-top: 0;
    box-shadow: 0px 3px 6px 0px rgb(0 0 0 / 8%);
    visibility: hidden;
    opacity: 0;
    transform: translate(-50%, 20px);
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
}
.main-header .header-inner .nav-menu .sub-menu li{
    margin:8px 10px;
    line-height:24px;
}
.main-header .header-inner .nav-menu li:hover .sub-menu {
    visibility: visible;
    opacity: 1;
    left: 50%;
    transform: translate(-50%, 0px);
}
#mobile-header{
    display:none;
}
.mobile-top{
    display:flex;
    justify-content: space-between;
    align-items: center;
}
.mobile-top .site-logo{
    padding:15px 0; 
    height:70px;
    display: flex;
    align-items: center;
}
.mobile-top .site-logo img{
    max-height:40px;
}
.bg-mobile-bottom{
    box-sizing: border-box;
    padding:20px;
    position: fixed;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.85);
    top:0;
    z-index:1;
    left:0;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
}
.on-mobile-header .bg-mobile-bottom{
    visibility: visible;
    opacity: 1;
}
.mobile-bottom{
    height:calc(100vh - 68px);
    box-sizing: border-box;
    padding:0;
    position: fixed;
    z-index:2;
    top: 69px;
    border-top: 1px solid rgb(0 0 0 / 10%);
    bottom:0;
    width: 100%;
    transition: all .3s;
    box-sizing: border-box;
    background: #222;
    visibility: hidden;
    opacity: 0;
   
}
.mobile-bottom .wrap-mobile-menu{
    overflow-y: auto;
    height:calc(100vh - 70px);
    box-sizing: border-box;
    padding:20px 15px 40px;
}
.on-mobile-header .mobile-bottom{
    visibility: visible;
    opacity: 1;
    
}
.mobile-bottom .site-logo{
    display: flex;
    align-items: center;
    height: 70px;
    padding:0 10px 0 15px;
    justify-content: space-between;
    border-bottom: 1px solid rgb(0 0 0 / 12%);
    box-shadow: 0px 1px 6px 0px rgb(0 0 0 / 9%);
}
.mobile-bottom-toggle{
    position: relative;
    display: inline-block;
    width: 34px;
    height: 40px;
}
.mobile-top a.hamburger {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 24px;
    font-size: 15px;
    font-weight: 600;
    line-height: 24px;
    vertical-align: middle;
}
a.hamburger span {
    width: 16px;
    height: 2px;
    position: absolute;
    display: block;
    left: 4px;
    top: 50%;
    margin-top: -1px;
    background: #000;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
  }
  
  a.hamburger span::after,
  a.hamburger span::before {
    content: "";
    display: block;
    width: 16px;
    height: 2px;
    position: absolute;
    background: #000;
    transition: all 0.6s;
    -webkit-transition: all 0.6s;
    -o-transition: all 0.6s;
    -moz-transition: all 0.6s;
    -ms-transition: all 0.6s;
  }
  
  a.hamburger span::after {
    top: -6px;
  }
  
  a.hamburger span::before {
    top: 6px;
  }
  .on-mobile-header a.hamburger span {
    background: none;
  }
  
  .on-mobile-header a.hamburger span::after {
    top: 0;
    width: 18px;
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
  }
  
  .on-mobile-header a.hamburger span::before {
    top: 0;
    width: 18px;
    -webkit-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    transform: rotate(-135deg);
  }
.admin-bar .mobile-bottom{
    top:116px;
    height:calc(100vh - 116px);
}
.mobile-menu > li > a{
    border-bottom:1px dotted #3a3a3a;
}
.mobile-bottom a{
    display:block;
    line-height:28px;
    padding:8px 5px;
    color:#e6e6e6;
    font-size:16px;
}
.mobile-bottom a + button{
    display:none;
}
.mobile-bottom .sub-menu{
    padding:10px 20px;
    border-bottom:1px dotted #3a3a3a;
}
.mobile-bottom .sub-menu a{
    line-height:20px;
    padding:8px 0;
    color:#cbcbcb;
    font-size:15px;
}
/* 1024px 이하 화면에서 적용할 스타일 */
@media screen and (max-width: 1024px) {
    #pc-header {
        display:none;
    }
    #mobile-header{
        display:block;
    }
    main{
        padding-top:70px;
    }
}
@media screen and (max-width: 782px) {
    html{
        margin-top:0 !important;
    }
    html #wpadminbar{
        display:none;
    }
    .admin-bar .main-header{
        top:0;
    }
}
/** HEADER END **/

/** CONTENT START **/
.single-post{
    margin:0 0 60px 0;
}
/** CONTENT END **/

/** SIBLING MENU START **/
.sibling-menu-items{
    position: relative;
    transform: translateY(-44px);
    margin-bottom:-44px;
}
.sibling-menu-items ul{
    display:flex;
    margin:0;
    padding:0;
    gap:1px;
}
.sibling-menu-items ul li{
    flex:1;
    text-align: center;
}
.sibling-menu-items a{
    display:block;
    line-height:24px;
    padding:10px 5px;
    background: #222;
    color: #fff;
    opacity: 0.9;
}
.sibling-menu-items .current-menu-item a{
    background:#000;
}
@media screen and (max-width: 1024px) {
    .sibling-menu-items {
        margin-left: -15px;
        margin-right: -15px;
    }
}
@media screen and (max-width: 640px) {
    .sibling-menu-items ul li {
       flex:auto;
    }
    .sibling-menu-items a{
        font-size:13px;
    }
}
/*
@media screen and (max-width: 420px) {
    .sibling-menu-items ul {
        flex-wrap: wrap;
    }
    .sibling-menu-items ul li {
        flex: auto;
        width: 33%;
    }
}
    */
/** SIBLING MENU END **/


/** FOOTER STRAT **/
footer{
    background:#eee;
    padding:60px 0;
}
.footer-logo img{
    height: auto;
    width: auto;
    max-width: 140px;
    max-height: 40px;
}
.footer-logo,
.wrap-footer-widget,
.footer-menu {
    margin-bottom: 20px;
}
.footer-nav-menu,
.footer-nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.footer-nav-menu li {
    margin-right: 31px;
    padding:7px 0;
    position: relative;
}
.footer-nav-menu li::after{
    content:"";
    position: absolute;
    right: -16px;
    top: 12px;
    width:1px;
    height:11px;
    background-color:#555;
}
.footer-nav-menu li:last-child::after{
    display:none;
}
.footer-nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight:600;
}
.wrap-footer-widget{
    display:flex;
    justify-content: space-between;
}
footer .icon-list{
    display:flex;
    gap:20px;
}
footer .icon-list a{
    color:#444;
    transition: color 0.3s ease; 
}
footer .icon-list a:hover{
    color:#000;
}
footer .icon-list i{
    font-size:24px;
}
@media (max-width: 780px) {
    .wrap-footer-widget {
        flex-direction: column-reverse;
    }
    .footer-widget-area{
        margin-top:20px;
    }
}
/** FOOTER END **/

/** PAGE TOP START **/
.page-top{
    background-size: cover;
    padding:0px 15px;
    color:#fff;
    display: flex;
    align-items: center;
    height:340px;
    background-position: 50% 70%;
}
.page-top > .root-container > h1{
    font-size:36px;
    margin:0 0 24px;
    color:#fff;
}
.page-top > .root-container > .category-description{
    font-size:16px;
    line-height:1.4em;
}

@media (max-width: 1024px) {
    
}
@media (max-width: 780px) {
    
}
@media (max-width: 680px) {
    
}
@media (max-width: 440px) {
    .page-top{
        padding: 0px 0;
        display: flex;
        align-items: center;
        height: 260px;
    }
    .page-top > .root-container > h1 {
        font-size: 26px;
        letter-spacing: 2px;
    }
   
    .page-top > .root-container > .category-description{
        font-size:14px;
    }
}
/** PAGE TOP START **/