/*==============================
　デバイス画面サイズによる表示／非表示
===============================*/

.pc {
    display: block!important;
}

.pc-ib {
    display: inline-block!important;
}

.pc-fl {
    display: flex!important;
}

.tab {
    display: none!important;
}

.tab-ib {
    display: none!important;
}

.tab-fl {
    display: none!important;
}

.sp {
    display: none!important;
}

.sp-ib {
    display: none!important;
}

.sp-fl {
    display: none!important;
}


@media all and (max-width: 768px) {
    .pc {
        display: none!important;
    }

    .pc-ib {
        display: none!important;
    }

    .pc-fl {
        display: none!important;
    }

    .tab {
        display: none!important;
    }

    .tab-ib {
        display: none!important;
    }

    .tab-fl {
        display: none!important;
    }

    .sp {
        display: block!important;
    }

    .sp-ib {
        display: inline-block!important;
    }

    .sp-fl {
        display: flex!important;
    }
}


/*==============================
　flex box
===============================*/

.flex {
    display: flex;
}

.flex-jc-sb {
    justify-content: space-between;
}

.flex-jc-se {
    justify-content: space-evenly;
}

.flex-jc-ar {
    justify-content: space-around;
}

.flex-jc-c {
    justify-content: center;
}

.flex-jc-st {
    justify-content: flex-start;
}

.flex-jc-en {
    justify-content: flex-end;
}

.flex-ac-c {
    align-content: center;
}

.flex-ac-s {
    align-content: stretch;
}

.flex-ac-st {
    align-items: flex-start;
}

.flex-ac-en {
    align-items: flex-end;
}

.flex-ai-c {
    align-items: center;
}

.flex-ac-s {
    align-items: stretch;
}

.flex-ai-st {
    align-items: flex-start
}

.flex-ai-en {
    align-items: flex-end;
}

.flex-di-cr {
    flex-direction: column-reverse;
}

.flex-di-rr {
    flex-direction: row-reverse;
}

ul.table {
    width: 100%;
    display: table;
}

ul.table li{
    display: table-cell;
}


/*==============================
　その他機能
===============================*/
.center {
    margin-left: auto!important;
    margin-right: auto!important;
}

.tx-center {
    text-align: center;
}

a {
    color: #5b9b3b;
}

a:hover {
    color: #5A9A3A;
    text-decoration: underline;
}

.btn {
    cursor: pointer;
    position: relative;
    display: inline-block;
    background: #5b9b3b;
    color: #FFF;
    font-weight: bold;
    border-radius: 4px;
}

.btn:hover{
    color: #FFF;
    text-decoration: none;
    background: #64aa41;
}

.btn::before {
    content: ">";
    display: inline-block;
    margin-right: 0.5em;
    vertical-align: text-bottom;
}


/*==============================
　基本レイアウト
===============================*/

/* #header
---------------------------*/
header {
    position: relative;
    width: 100%;
}

.header-upper {
    position: relative;
    width: 1060px;
    max-width: 100%;
    height: 85px;
    padding-top: 14px;
}

.header-lower {
    width: 100%;
    background: #fdf9ee;
    border-top: 4px solid #5b9b3b;
    border-bottom: 4px solid #5b9b3b;
}

@media all and (min-width: 769px) and (max-width: 1080px){
    .header-upper {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media all and (max-width: 768px) {
    .header-upper {
        height: 11.333vw;
        padding-top: 3.067vw;
        padding-left: 0;
        padding-right: 0;
    }
    .header-lower {
        border-bottom: none;
    }
    .header-lower.open {
        border-bottom: 4px solid #5b9b3b;
    }
}


/* main
---------------------------*/
main .content-inner {
    width: 1060px;
    max-width: 100%;
}

main .main-inner {
    width: 1060px;
    max-width: 100%;
    padding-top: 30px;
    padding-bottom: 140px;
}

.home main .main-inner {
    width: 100%;
    max-width: 100%;
    padding-top: 0;
    padding-bottom: 0;
}

@media all and (min-width: 769px) and (max-width: 1080px){
    main .content-inner {
        padding-left: 15px;
        padding-right: 15px;
    }
    main .main-inner {
        padding-left: 15px;
        padding-right: 15px;
    }
    .home main .main-inner {
        padding-left: 0;
        padding-right: 0;
    }
}

@media all and (max-width: 768px) {
    main .content-inner {
        padding-left: 5%;
        padding-right: 5%;
    }
    main .main-inner {
        padding-top: 4vw;
        padding-bottom: 10.667vw;
        padding-left: 0;
        padding-right: 0;
    }
}


/* footer
---------------------------*/
footer {
    padding-top: 40px;
    padding-bottom: 40px;
    background: #666666;
}

.footer-inner {
    position: relative;
    width: 1060px;
    max-width: 100%;
}

.footer-link .btn {
    width: 158px;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 13px;
}

.footer-logo {
    margin-top: 40px;
}

.footer-copy {
    margin-top: 15px;
    font-size: 10px;
    color: #FFF;
}

@media all and (max-width: 768px) {
    footer {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .footer-logo {
        margin-top: 6vw;
    }
    .footer-copy {
        margin-top: 10px;
        font-size: 10px;
    }
}


/*==============================
　#logo ロゴ
===============================*/
#logo {
    width: 350px;
    height: auto;
    margin-top: 4px;
}

#logo img {
    width: 100%;
}

@media all and (max-width: 768px) {
    #logo {
        width: 41.6vw;
        margin-top: 0.667vw;
        margin-left: 2.667vw;
    }
}


/*==============================
　#header-function ヘッダーメニュー
===============================*/
#header-function {
    position: absolute;
    top: 15px;
    right: 0;
}

#header-function .header-function-fb {
    margin-right: 20px;
}

#header-function .header-function-fb img {
    width: 31px;
    height: 31px;
}

#header-function .header-nav{
    border: 1px solid #5A9A3A;
    border-radius: 4px;
}

#header-function .header-nav li {
    display: inline-block;
    padding-top: 10px;
    padding-bottom: 10px;
}

#header-function .header-nav li a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-right: 15px;
    padding-left: 15px;
    font-size: 13px;
    font-weight: bold;
    line-height: 1;
}

#header-function .header-nav li a:before {
    content: "";
    background: #CCC;
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

#header-function .header-nav li:nth-of-type(1) a:before {
    background: url(../common_images/header_function_member.png) no-repeat center center;
    background-size: cover;
}

#header-function .header-nav li:nth-of-type(2) a:before {
    background: url(../common_images/header_function_mailmagazine.png) no-repeat center center;
    background-size: cover;
}

#header-function .header-nav li:nth-of-type(2) a{
    border-left: 1px solid #5A9A3A;
}

@media all and (min-width: 769px) and (max-width: 1080px){
    #header-function {
        position: absolute;
        top: 15px;
        right: 15px;
    }
}

@media all and (max-width: 768px) {
    #header-function {
        top: 3.067vw;
        right: 12vw;
    }
    #header-function .header-nav ul{
        display: flex;
        align-items: center;
        height: 6vw;
    }
    #header-function .header-nav li {
        padding-top: 1vw;
        padding-bottom: 1.333vw;
    }
    #header-function .header-nav li a {
        padding-right: 2vw;
        padding-left: 2vw;
        font-size: 1.733vw;
    }
    #header-function .header-nav li a:before {
        width: 2.4vw;
        height: 2.4vw;
        margin-right: 1.333vw;
    }
    .global-nav-toggle {
        cursor: pointer;
        width: auto;
        height: auto;
        margin-right: 1.333vw;
        color: #FFF;
        border-radius: 2px;
    }
    .global-nav-toggle img {
        width: auto;
        height: calc(6vw + 2px);
    }
}

@media all and (max-width: 375px) {
    #header-function .header-nav li {
        padding-top: 0;
        padding-bottom: 0;
    }
}


/*==============================
　#global-nav グローバルナビ
===============================*/
#global-nav {
    width: 1060px;
    max-width: 100%;
}


#global-nav ul{
    max-width: 100%;
}

#global-nav ul li {
    position: relative;
    padding-right: 15px;
    padding-left: 15px;
}

#global-nav ul li a{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: wrap;
    width: 100%;
    height: 111px;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 13px;
    font-weight: bold;
    color: #000;
    text-align: center;
}

#global-nav ul li a div:before{
    content: "";
    position: absolute;
    background: #FFF;
    width: 40px;
    height: 40px;
    top: 15px;
    left: 50%;
    transform: translate(-50% , 0);
}

#global-nav ul li.home a div:before {
    background: url(../common_images/global_nav_home.png) no-repeat center center;
    background-size: cover;
}
#global-nav ul li.news a div:before {
    background: url(../common_images/global_nav_news.png) no-repeat center center;
    background-size: cover;
}
#global-nav ul li.about a div:before {
    background: url(../common_images/global_nav_about.png) no-repeat center center;
    background-size: cover;
}
#global-nav ul li.join a div:before {
    background: url(../common_images/global_nav_join.png) no-repeat center center;
    background-size: cover;
}
#global-nav ul li.event a div:before {
    background: url(../common_images/global_nav_event.png) no-repeat center center;
    background-size: cover;
}
#global-nav ul li.seminar a div:before {
    background: url(../common_images/global_nav_seminar.png) no-repeat center center;
    background-size: cover;
}
#global-nav ul li.library a div:before {
    background: url(../common_images/global_nav_library.png) no-repeat center center;
    background-size: cover;
}
#global-nav ul li.related a div:before {
    background: url(../common_images/global_nav_related.png) no-repeat center center;
    background-size: cover;
}
#global-nav ul li.recruit a div:before {
    background: url(../common_images/global_nav_recruit.png) no-repeat center center;
    background-size: cover;
}
/* #global-nav ul li.fb a div:before {
    background: url(../common_images/global_nav_recruit.png) no-repeat center center;
    background-size: cover;
} */

#global-nav ul li.home a:hover div:before,
.home #global-nav ul li.home a div:before{
    background: url(../common_images/global_nav_home_on.png) no-repeat center center;
    background-size: cover;
}
#global-nav ul li.news a:hover div:before,
.news #global-nav ul li.news a div:before{
    background: url(../common_images/global_nav_news_on.png) no-repeat center center;
    background-size: cover;
}
#global-nav ul li.about a:hover div:before,
.about #global-nav ul li.about a div:before{
    background: url(../common_images/global_nav_about_on.png) no-repeat center center;
    background-size: cover;
}
#global-nav ul li.join a:hover div:before,
.join #global-nav ul li.join a div:before{
    background: url(../common_images/global_nav_join_on.png) no-repeat center center;
    background-size: cover;
}
#global-nav ul li.event a:hover div:before,
.event #global-nav ul li.event a div:before{
    background: url(../common_images/global_nav_event_on.png) no-repeat center center;
    background-size: cover;
}
#global-nav ul li.seminar a:hover div:before,
.seminar #global-nav ul li.seminar a div:before{
    background: url(../common_images/global_nav_seminar_on.png) no-repeat center center;
    background-size: cover;
}
#global-nav ul li.library a:hover div:before,
.library #global-nav ul li.library a div:before{
    background: url(../common_images/global_nav_library_on.png) no-repeat center center;
    background-size: cover;
}
#global-nav ul li.related a:hover div:before,
.kanrendantai #global-nav ul li.related a div:before{
    background: url(../common_images/global_nav_related_on.png) no-repeat center center;
    background-size: cover;
}
#global-nav ul li.recruit a:hover div:before,
.recruit #global-nav ul li.recruit a div:before{
    background: url(../common_images/global_nav_recruit_on.png) no-repeat center center;
    background-size: cover;
}
/* #global-nav ul li.fb a:hover div:before {
    background: url(../common_images/global_nav_recruit_on.png) no-repeat center center;
    background-size: cover;
} */


#global-nav ul li:before{
    content: "";
    position: absolute;
    left: 0;
    bottom: 17px;
    height: 25px;
    border-left: 1px solid #CBCBCB;
}

#global-nav ul li:last-of-type:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 17px;
    height: 25px;
    border-left: 1px solid #CBCBCB;
}

#global-nav ul li a:hover,
.home #global-nav ul li:first-of-type a,
.news #global-nav ul li:nth-of-type(2) a,
.about #global-nav ul li:nth-of-type(3) a,
.join #global-nav ul li:nth-of-type(4) a,
.event #global-nav ul li:nth-of-type(5) a,
.seminar #global-nav ul li:nth-of-type(6) a,
.library #global-nav ul li:nth-of-type(7) a,
.kanrendantai #global-nav ul li:nth-of-type(8) a,
.recruit #global-nav ul li:nth-of-type(9) a{
    color: #5b9b3b;
    text-decoration: none;
}


#global-nav ul li a span {
    display: block;
    margin-top: 5px;
    width: 100%;
    color: #979797;
    font-size: 9px;
    font-weight: normal;
    text-align: center;
}

#global-nav ul li a:hover span,
.home #global-nav ul li:first-of-type a span,
.news #global-nav ul li:nth-of-type(2) a span,
.about #global-nav ul li:nth-of-type(3) a span,
.join #global-nav ul li:nth-of-type(4) a span,
.event #global-nav ul li:nth-of-type(5) a span,
.seminar #global-nav ul li:nth-of-type(6) a span,
.library #global-nav ul li:nth-of-type(7) a span,
.kanrendantai #global-nav ul li:nth-of-type(8) a span,
.recruit #global-nav ul li:nth-of-type(9) a span {
    color: #5b9b3b;
}


@media all and (min-width: 769px) and (max-width: 1080px){
    #global-nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    #global-nav ul li:first-of-type:before {
        border-left: none;
    }
}

@media all and (max-width: 768px) {
    #global-nav {
        display: none;
    }
    #global-nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding-bottom: 6.667vw;
    }
    #global-nav ul li {
        display: block;
        width: 18.6vw;
        padding-right: 2.4vw;
        padding-left: 2.4vw;
    }
    #global-nav ul li a{
        padding-top: 0;
        padding-bottom: 0;
        height: 15.333vw;
        font-size: 1.733vw;
    }
    #global-nav ul li:before {
        height: 3.6vw;
        bottom: 0;
    }
    #global-nav ul li:first-of-type:before {
        border-left: none;
    }
    #global-nav ul li a div:before {
        top: 4vw;
        width: 5.333vw;
        height: 5.333vw;
    }
    #global-nav ul li a span {
        margin-top: 0.667vw;
        font-size: 1.2vw;
    }
    #global-nav ul li:last-of-type:after {
        display: none;
    }

    #global-nav .fb img {
        width: 4.133vw;
        height: 4.133vw;
    }
}


/*==============================
　パンくず
===============================*/
@media all and (max-width: 768px) {
}


/*==============================
　スクロールトップ
===============================*/
#anchor {
    cursor: pointer;
    position: fixed;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
}

#anchor i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border: 1px solid #000;
}

#anchor .arrow::after {
    content: '';
    display: block;
    width: 20px;
    /* 矢印の大きさの指定 */
    height: 20px;
    /* 矢印の大きさの指定 */
    border-top: 2px solid #333;
    /* 矢印の太さの指定 */
    border-left: 2px solid #333;
    /* 矢印の太さの指定 */
    transform: translate(0 , 5px) rotate(45deg);
}

@media all and (max-width: 768px) {
    #anchor i {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 10.667vw;
        height: 10.667vw;
        border: 1px solid #000;
    }
    #anchor .arrow::after {
        content: '';
        display: block;
        width: 5.333vw;
        /* 矢印の大きさの指定 */
        height: 5.333vw;
        /* 矢印の大きさの指定 */
        border-top: 2px solid #333;
        /* 矢印の太さの指定 */
        border-left: 2px solid #333;
        /* 矢印の太さの指定 */
        transform: translate(0 , 1.333vw) rotate(45deg);
    }
}