@charset "utf-8";

/*
Theme Name: BNI
*/


/*!
 * ress.css • v1.2.2
 * MIT License
 * github.com/filipelinhares/ress
 */

.spOnly {
    display: none;
}

@media screen and (max-width: 640px) {
    .pcOnly {
        display: none;
    }
    .spOnly {
        display: block;
    }
}


/* ----------------------------------------------------------------------------------------------------
*  main common
* --------------------------------------------------------------------------------------------------*/


/* ----------------------------------------------------------------------------------------------------
*  blog
* --------------------------------------------------------------------------------------------------*/

.main-bloglist {
    float: right;
    width: 737px;
}

.main-bloglist ul.blog-list-wrap {
    width: 100%;
}

.main-bloglist ul.blog-list-wrap li {
    margin-right: 43px;
    margin-bottom: 30px;
    vertical-align: top;
}

.main-bloglist ul.blog-list-wrap li:nth-child(3n) {
    margin-right: 0;
}


/*
.main-bloglist ul.blog-list-wrap li:nth-child(4n) {
  margin-right: 43px;
}
*/

@media screen and (max-width: 640px) {
    .main-bloglist {
        float: none;
        width: 90%;
        margin: auto;
    }
    .main-bloglist ul.blog-list-wrap li {
        display: inline-block;
        width: 48%;
        margin-right: 4%;
    }
    .main-bloglist ul.blog-list-wrap li:nth-child(3n) {
        margin-right: 4%;
    }
    .main-bloglist ul.blog-list-wrap li:nth-child(2n) {
        margin-right: 0;
    }
}


/* ----------------------------------------------------------------------------------------------------
*  toppage
* --------------------------------------------------------------------------------------------------*/

ul.bni-banner {
    font-size: 0;
    height: 100%;
}

ul.bni-banner img {
    width: 100%;
}

ul.bni-banner>li {
    display: inline-block;
    vertical-align: middle;
}

ul.bni-banner>li:first-child {
    width: 45%;
}

ul.bni-banner>li:first-child img {
    min-height: 100%;
}

ul.bni-banner>li:last-child {
    width: 55%;
}

@media screen and (max-width: 640px) {
    ul.bni-banner {
        height: auto;
    }
    ul.bni-banner>li {
        display: block;
        width: 100% !important;
    }
    ul.bni-banner>li:first-child img {
        min-height: 10%;
        height: auto !important;
    }
}


/* ----------------------------------------------------------------------------------------------------
*  BNI
* --------------------------------------------------------------------------------------------------*/

#bni-intro-area p {
    line-height: 1.8;
    margin: auto;
    width: 1000px;
}

@media screen and (max-width: 640px) {
    #bni-intro-area p {
        width: 100%;
        text-align: left;
    }
}

section.about-bni {
    text-align: center;
}

section.about-bni>h3 {
    position: relative;
    z-index: 200;
}

section.about-bni>h3:before {
    background: #40220f;
    bottom: 13px;
    content: "";
    display: block;
    height: 1px;
    left: 50%;
    margin-left: -210px;
    position: absolute;
    width: 420px;
    z-index: -1;
}

section.about-bni>h3:after {
    background: #fff;
    bottom: 13px;
    content: "";
    display: block;
    height: 3px;
    left: 50%;
    margin-left: -100px;
    position: absolute;
    width: 200px;
    z-index: -1;
}

section.about-bni h4 {
    color: #C10D23;
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-size: 27px;
    font-size: 2.7rem;
    margin-bottom: 30px;
    text-align: center;
}

#philosophy-area p {
    line-height: 1.8;
}

#feature-area li,
#feature-area li h4 {
    text-align: left;
}

#feature-area ul {
    margin: auto;
    width: 1000px;
}

@media screen and (max-width: 640px) {
    #philosophy-area p {
        text-align: left;
    }
    #feature-area ul {
        width: 100%;
    }
}

#feature-area li {
    border-bottom: 1px dashed #777;
    margin-bottom: 30px;
    padding: 0 0 30px 80px;
}

#feature-area li h4 {
    position: relative;
}

#feature-area li h4:before {
    background: #C10D23;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    color: #FFF;
    content: "";
    height: 64px;
    font-size: 30px;
    font-size: 3.0rem;
    font-style: italic;
    font-weight: bold;
    left: -80px;
    line-height: 64px;
    text-align: center;
    top: -20px;
    position: absolute;
    width: 64px;
}

#feature-area li:first-child h4:before {
    content: "1";
}

#feature-area li:nth-child(2) h4:before {
    content: "2";
}

#feature-area li:last-child h4:before {
    content: "3";
}

#merit-area>p:nth-of-type(1) {
    border: 1px solid #777;
    display: inline-block;
    text-align: center;
    padding: 20px;
}

#merit-area ul {
    margin: 30px auto;
    width: 694px;
}

@media screen and (max-width: 640px) {
    #feature-area li {
        padding: 0 0 30px 0;
    }
    #feature-area li h4 {
        width: 90%;
        margin: 0 auto 18px;
        padding-left: 60px;
        line-height: 1.5;
    }
    #feature-area li h4:before {
        left: 0;
        font-size: 25px;
        font-size: 2.5rem;
        height: 50px;
        line-height: 50px;
        top: 50%;
        margin-top: -25px;
        width: 50px;
    }
    #feature-area li p {
        width: 90%;
        margin: auto;
        text-align: left;
    }
    #merit-area ul {
        width: 90%;
        margin: 26px auto;
    }
    #merit-area h4 {
        padding: 0 0 0 25px;
    }
    #merit-area p {
        text-align: left;
    }
}

#merit-area li h4 {
    background: url(http://millionaire-bni.jp/bwp/wp-content/themes/bni/img/merit-icon.png) no-repeat left center;
    border-bottom: 1px dashed #777;
    margin-bottom: 15px;
    text-align: left;
    padding: 0 0 15px 30px;
}

#access h3 {
    color: #C10D23;
}


/* ----------------------------------------------------------------------------------------------------
*  Member
* --------------------------------------------------------------------------------------------------*/


/* ----------------------------------------------------------------------------------------------------
*  News
* --------------------------------------------------------------------------------------------------*/

.news-hisotry ul {
    width: 640px;
}

@media screen and (max-width: 640px) {
    .news-hisotry ul {
        width: 100%;
    }
}

.news-hisotry li {
    border-bottom: 1px dashed #b5b5b5;
}

.news-hisotry li span {
    position: relative;
}

.news-hisotry li span:after {
    background: #b5b5b5;
    content: "";
    display: block;
    height: 15px;
    position: absolute;
    right: 36px;
    top: 0;
    width: 1px;
}

@media screen and (max-width: 640px) {
    .news-hisotry li span:after {
        content: none;
    }
}

.article-share {
    margin-top: 50px;
}

.article-share ul {
    text-align: center;
}

.article-share li {
    display: inline-block;
}

.article-share li:first-child {
    margin-right: 15px;
}

.press_slider li {
    vertical-align: middle;
}

.press_slider_cont>div {
    height: 230px;
    width: 170px;
    position: relative;
    margin-bottom: 14px;
}

.press_slider_cont>div>a {
    display: block;
}

.press_slider_cont>div img {
    bottom: 0;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
}

.press_slider_cont p {
    text-align: center;
    line-height: 1.7;
    font-size: 14px;
}

@media screen and (max-width: 640px) {
    .article-share {
        margin-top: 30px;
    }
    .press_slider ul {
        vertical-align: middle;
        text-align: center;
    }
    .press_slider li {
        margin-right: 12px !important;
    }
    .press_slider li img {}
    .press_slider_cont>div {
        width: 100%;
        position: relative;
        margin-bottom: 14px;
    }
    .press_slider_cont>div img {
        bottom: 0;
        left: 0;
        margin: auto;
        position: static;
        right: 0;
        top: 0;
    }
}

.pagenation {
    text-align: center;
    margin-top: 50px;
}

.pagenation span,
.pagenation a {
    display: inline-block;
    height: 28px;
    line-height: 28px;
    margin: 0 5px;
    width: 28px;
}

.pagenation .current {
    background: #FFA627;
    border: 1px solid #FFA627;
    color: #FFF;
}

.pagenation a.page-numbers {
    border: 1px solid #333;
    color: #333;
}

.pagenation a.next,
.pagenation a.prev {
    border: none;
    color: #f19600;
}


/* =======================================
ClearFixElements
======================================= */

#wideslider ul:after {
    content: ".";
    height: 0;
    clear: both;
    display: block;
    visibility: hidden;
}

#wideslider ul {
    display: inline-block;
    overflow: hidden;
}

.gmap {
    position: relative;
    height: 580px;
}

.gmap iframe {
    position: absolute;
    left: 50%;
    margin-left: -50%;
    width: 100%;
}

@media screen and (max-width: 640px) {
    .gmap {
        position: relative;
        padding-bottom: 56.25%;
        padding-top: 30px;
        height: 0;
        overflow: hidden;
    }
    .gmap iframe,
    .gmap object,
    .gmap embed {
        position: absolute;
        top: 0;
        left: 0;
        margin-left: 0;
        width: 100%;
        height: 100%;
    }
    .pagenation {
        margin-bottom: 50px;
        margin-top: 20px;
    }
}

nav>ul>li .txtNavi span {
    color: #40220F !important;
    font-size: 11px;
    border-bottom: 1px solid #40220F;
    display: block;
    width: 156px;
    display: inline-block;
    padding-bottom: 7px;
}

nav>ul>li .txtNavi strong {
    font-family: 'Times New Roman';
    display: block;
    font-weight: normal;
    font-size: 22px;
    line-height: 1;
    padding-bottom: 4px;
}

nav>ul>li .txtNavi:hover span {
    color: #F19600 !important;
    border-bottom-color: #F19600;
}