/*
Theme Name:   株式会社ネオジャパン英語サイト
Template:     solaris_tcd088
Author:       U's 企画
Description:  株式会社ネオジャパン英語サイトの小テーマです。「SOLARIS（ソラリス）」を親テーマにしています。
Version:      2.8
*/


/* スライダーのキャプション */
#header_slider .caption {
    width: 1150px;
    z-index: 100;
    text-align: center;
    color: #fff;
    width: 1150px;
    z-index: 100;
    text-align: center;
    color: #000;
    position: absolute;
    left: 50%;
    top: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: left;
    /* キャッチフレーズを左寄せ */
}

/* グローバルメニュー */
#global_menu>ul>li>a {
    color: #D22027;
    font-weight: 600;
    text-decoration: none;
    height: 80px;
    line-height: 80px;
    padding: 0 20px;
    display: block;
    position: relative;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#header.active #global_menu>ul>li>a,
body.header_fix #global_menu>ul>li>a,
body.single #global_menu>ul>li>a {
    color: #D22027;
}

body.hide_header_image #global_menu>ul>li>a,
body.no_index_header_content #global_menu>ul>li>a {
    color: #D22027;
}




/* ----------------------------------------------------------------------
 IRアーカイブページ
---------------------------------------------------------------------- */
#ir_archive_top {
    padding: 0 0 1px 0;
    width: 1150px;
    margin: 0 auto;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#ir_archive_bottom {
    background: #f6f6f6;
}

#ir_archive_bottom_inner {
    padding: 70px 0 150px 0;
    width: 1150px;
    margin: 0 auto;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#ir_archive_bottom .top_catch {
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    font-size: 28px;
    margin: -5px 0 63px;
}


/* IR一覧 */
#ir_list {
    margin: 0 60px -40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#ir_list .item {
    width: calc(50% - 1px);
    margin: 0 2px 0 0;
    position: relative;
}

#ir_list .item:nth-child(2n) {
    margin-right: 0;
}

#ir_list a {
    display: block;
    width: 100%;
    height: 100%;
}

#ir_list .image_wrap {
    display: block;
    width: 100%;
    height: 260px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

#ir_list .image {
    width: 100%;
    height: 100% !important;
    display: block;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

#ir_list .title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    color: #fff;
    padding: 0 60px;
    position: absolute;
    z-index: 3;
    left: 0;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
}

#ir_list .title span {
    display: block;
}

#ir_list .title .main_title {
    font-size: 24px;
}

#ir_list .title .sub_title {
    font-size: 14px;
    font-weight: 500;
}

#ir_list a:hover .title {
    left: 10px;
}

#ir_list .catch {
    line-height: 1.8;
    padding: 35px 50px;
    font-size: 18px;
    font-weight: 600;
}

#ir_list .image:after {
    content: '';
    display: block;
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 2;
    background: -moz-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
}

#project_archive .page_navi {
    margin-top: 0;
}


/* アニメーション */
#ir_archive.inview {
    opacity: 0;
    position: relative;
    top: 40px;
    z-index: 100;
    -webkit-transition: all 1.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0.3s, opacity 1.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0.3s;
    transition: all 1.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0.3s, opacity 1.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0.3s;
}

#ir_archive.inview.animate {
    opacity: 1;
    top: 0;
}




/* ----------------------------------------------------------------------
   Sustainabilityアーカイブページ
  ---------------------------------------------------------------------- */
#sustainability_archive_top {
    padding: 0 0 1px 0;
    width: 1150px;
    margin: 0 auto;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#sustainability_archive_bottom {
    background: #f6f6f6;
}

#sustainability_archive_bottom_inner {
    padding: 70px 0 150px 0;
    width: 1150px;
    margin: 0 auto;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#sustainability_archive_bottom .top_catch {
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    font-size: 28px;
    margin: -5px 0 63px;
}


/* IR一覧 */
#sustainability_list {
    margin: 0 60px -40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#sustainability_list .item {
    width: calc(50% - 1px);
    margin: 0 2px 0 0;
    position: relative;
}

#sustainability_list .item:nth-child(2n) {
    margin-right: 0;
}

#sustainability_list a {
    display: block;
    width: 100%;
    height: 100%;
}

#sustainability_list .image_wrap {
    display: block;
    width: 100%;
    height: 260px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

#sustainability_list .image {
    width: 100%;
    height: 100% !important;
    display: block;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

#sustainability_list .title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    color: #fff;
    padding: 0 60px;
    position: absolute;
    z-index: 3;
    left: 0;
    top: 50%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
}

#sustainability_list .title span {
    display: block;
}

#sustainability_list .title .main_title {
    font-size: 24px;
}

#sustainability_list .title .sub_title {
    font-size: 14px;
    font-weight: 500;
}

#sustainability_list a:hover .title {
    left: 10px;
}

#sustainability_list .catch {
    line-height: 1.8;
    padding: 35px 50px;
    font-size: 18px;
    font-weight: 600;
}

#sustainability_list .image:after {
    content: '';
    display: block;
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 2;
    background: -moz-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
}

#project_archive .page_navi {
    margin-top: 0;
}


/* アニメーション */
#sustainability_archive.inview {
    opacity: 0;
    position: relative;
    top: 40px;
    z-index: 100;
    -webkit-transition: all 1.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0.3s, opacity 1.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0.3s;
    transition: all 1.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0.3s, opacity 1.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0.3s;
}

#sustainability_archive.inview.animate {
    opacity: 1;
    top: 0;
}
@media (min-width: 1200px) {
    .jp_icon {
        display: inline-flex !important;
        align-items: center; 
        position: absolute;
        cursor: pointer;
    }

    .jp_icon::before {
        display: inline-block;
        content: ""; 
        background-size: contain;
        width: 16px; 
        height: 16px;
        margin-right: 5px; 
        content: url('https://www.neo.co.jp/wp-content/themes/neojapan/static/images/menu-lang-icon-red.svg');
    }

    .jp_icon > a {
        padding: 0px !important;
    }
}



#global_menu > ul > li.current-menu-item > a { color:#000 !important; }
