/*
Theme Name: EGO (GXA BASEBALL)
Theme URI:
Description:TCDテーマ「EGO for WooCommerce」のカスタマイズテーマ
Template:ego_woocommerce_tcd079
*/

.p-header__upper-search ul { display: flex; }
.p-header__upper-search ul li { border-left: 1px solid #FFF; }
.p-header__upper-search ul li.search_btn { position: relative; min-width: 55px; }
.p-header__upper-search ul li a { color: #fff; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; height: 100%; margin: 0 21px; }
.p-header__upper-search__button { position: absolute; top:38%; right: -3px; }

.p-global-nav > li > a { border-left: none; border-right: none;}

.p-megamenu02__list { border-left: 1px solid rgba(255, 255, 255, 0.3); display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; }
.p-megamenu02__list-item { border-right: 1px solid rgba(255, 255, 255, 0.3); -webkit-flex: 1 1 100%; -ms-flex: 1 1 100%; flex: 1 1 100%; padding: 31px 0; }
.p-megamenu02__list-item > a { color: #aaa; font-size: 16px; font-weight: 700; line-height: 1.8; padding: 10px 19px; }
.p-megamenu02__submenu { margin-top: 17px; }
.p-megamenu02__submenu-item a { color: #fff; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; font-size: 14px; line-height: 1.8; padding: 10px 19px; }
.p-megamenu02__submenu-item__thumbnail { border-radius: 50%; display: block; -webkit-flex: 0 0 40px; -ms-flex: 0 0 40px; flex: 0 0 40px; height: 40px; margin-right: 14px; overflow: hidden; width: 40px; /* old webkit bug fix */ -webkit-backface-visibility: hidden; -webkit-transform: translate3d(0, 0, 0); }
.p-megamenu02__submenu-item__thumbnail-image { height: 100%; width: 100%; }
.p-megamenu02__submenu-item__name { -webkit-flex: 1 1 auto; -ms-flex: 1 1 auto; flex: 1 1 auto; }


.p-megamenu02__archive-item { margin-left: 20px; margin-right: 20px; }
.p-megamenu02__archive-item__text { font-size: 14px; font-weight: 400; line-height: 1.8; max-height: 5.4em; overflow: hidden; }

.p-social-nav { margin-left: 20px; }
.p-social-nav__item{ margin-right: 10px; }


.p-footer-nav__area__inner { border-left: none; border-right: none; border-bottom: 1px solid #FFF; }
.p-footer-nav__container { padding: 0 14px 0 42px; margin: 90px 0 65px; }

.menu-footer-nav-container { padding: 20px 0 75px; }
.menu-footer-nav-container li { display: inline-block; margin-bottom: 10px; }
.menu-footer-nav-container li a { font-size: 12px; margin-right: 12.5px; color: #FFF; position: relative;}
.menu-footer-nav-container li a::after{
    content:"";
    width:1px;
    height:14px;
    background-color:#FFF;
    position:absolute;
    top:1px;
    right:-9px;
 }
.menu-footer-nav-container li:last-child { border: none; }
.menu-footer-nav-container li:last-child a { margin-left: 0; }
.menu-footer-nav-container li:last-child a::after{ content:none; }


.p-footer__inner .p-social-nav { margin-top: 30px; margin-left: 0; }

@media (min-width: 992px){
    .p-header__upper-search__form {
        margin-right: 50px;
    }
}

@media (max-width: 991px) {
    .p-header__upper-search ul li.search_btn { position: static; min-width: auto; width: 50px; }
    .p-header__upper-search__button { position: static; margin-top: 18px;}
    .p-header__upper-search__form { position: absolute; }

    .p-footer-nav__container { padding: 0 14px 0 0; margin: 20px 0 20px; }
    .menu-footer-nav-container { padding: 20px 0 20px; }
}
