@charset "UTF-8";

/* #wrapper */

#wrapper {
    position: relative;
}

/* header */

header {
    height: 60px;
}

.header-wrap{
    background:#FBFBEF;
}

.header-inner {
    position: relative;
    padding: 12px 0;
    height: 60px;
}

.logo {
    width: 120px;
    font-size: 0;
}

.site-name {
    margin-bottom: 0;
    padding: 0;
}

.navbar {
    z-index: 999;
    padding: 0 0;
}

.navbar-toggler {
    position: absolute;
    top: 12px;
    right: -4px;
    padding: 0 0;
    width: 36px;
    height: 36px;
    background: transparent url(../img/common/menu-open.png) no-repeat top center;
    background-size: cover;
}

.navbar-toggler.open {
    background: transparent url(../img/common/menu-close.png) no-repeat top center;
    background-size: cover;
}

.nav-link {
    font-weight: bold;
}

.nav-item {
    width: 100%;
    border-bottom: solid 1px #fff;
    background-color: #813B00;
    font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', 'Meiryo', serif;
}

.nav-item.active {
    color: #8D7842;
}

.nav-item:first-child {
    border-top: solid 1px #813B00;
}

.navbar-nav .nav-link {
    padding-right: 15px;
    padding-left: 15px;
    background: #813B00;
}

.ico-red {
    color: #D6024F;
}

.navbar a {
    color: #fff;
}

.navbar a:link {
    overflow: hidden;
    outline: none;
    color: #fff;
    text-decoration: none;
}

.navbar a:visited {
    color: #fff;
    opacity: 1;
}

.navbar a:hover {
    color: #fff;
    opacity: 1;
}

.navbar a:active {
    color: #fff;
    opacity: 1;
}


/* footer */

footer a {
    display: block;
    margin: 0 auto 10px;
    width: 230px;
}

footer a img {
    width: 100%;
}

.underlink-out {
    background: #8D7842;
}

#underlink {
    padding: 15px 0;
}

#underlink .row {
    margin-right: 0;
    margin-left: 0;
}

small {
    display: block;
    padding: 12px 0;
    text-align: center;
    font-size: 9px !important;
    font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', 'Meiryo', serif;
}


/* social */

.social-out {
    padding: 28px 0 0;
    background: #8D7842;
}

.social {
    text-align: center;
}

.social-out a {
    display: inline-block;
    margin: 0 10px;
    width: 60px;
}



@media (min-width: 768px) {

    /* header */
    header {
        height: 80px;
    }

    .header-inner {
        padding: 10px 0 0;
        height: 80px;
    }

    .site-name {
        padding-top: 5px;
    }

    .logo {
        width: 180px;
    }

    .navbar-toggler {
        position: absolute;
        top: 17px;
        right: 0;
        width: 50px;
        height: 50px;
    }

    /* footer */
    footer img {
        margin: 0 auto 14px;
    }

    #underlink {
        padding: 20px 0 5px;
    }

    small {
        font-size: 12px !important;
    }

    /* social */
    .social-out a {
        margin: 0 20px;
        width: 70px;
    }
}

@media (min-width: 992px) {

    /* header */
    header {
        position: relative;
        margin: 0 auto;
        width: 960px;
        height: 120px;
    }

    .header-inner {
        padding: 20px 0;
        height: 120px;
    }

    .logo {
        width: 240px;
        margin-left: 0;
    }

    .site-name {
        padding: 2px 0 0 0;
    }

    .navbar,
    .navbar-nav {
        margin-right: 10px;
    }

    .navbar {
        position: absolute;
        top: 62px;
        right: -15px;
    }

    .navbar-nav .nav-link {
        overflow: hidden;
        padding: 0 0 0 0;
        border: none;
        background-color: transparent;
        font-size: 14px;
    }

    .navbar-nav .nav-link:nth-child(1) {
        /*width: 124px;
        height:40px;*/
        margin-left: 0;
    }

    .navbar-nav .nav-link:nth-child(2),
    .navbar-nav .nav-link:nth-child(3),
    .navbar-nav .nav-link:nth-child(4) {
        /*width: 124px;*/
        height: 40px;
        margin-left: 24px;
    }

    .navbar-nav .nav-link:nth-child(4) {
        margin-left: 20px;
    }

    .circle{
        font-size:13px;
        display: inline-block;
        width: 26px;
        height: 26px;
        border:solid 2px #8D7842;
        border-radius: 50%;
        background-color: #fff;
        text-align:center;
        line-height: 22px;
        position:absolute;
        top:-4px;
    }
    .navbar-expand-lg .navbar-nav .nav-link:nth-child(3){
        position:relative;
    }

    .navbar-nav .nav-link.active {
        background-position: bottom center;
    }

    .navbar-nav .nav-link:hover {
        opacity: .8;
    }


    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0;
        padding-left: 0;
    }

    .navbar-toggler {
        display: none;
    }

    .navbar-nav a {
        display: block;
        width: auto;
        margin-left: 50px;
    }

    .navbar a {
        color: #8D7842;
    }
    
    .navbar a:link {
        overflow: hidden;
        outline: none;
        color: #8D7842;
        text-decoration: none;
    }
    
    .navbar a:visited {
        color: #8D7842;
        opacity: 1;
    }
    
    .navbar a:hover {
        color: #8D7842;
        opacity: 1;
    }
    
    .navbar a:active {
        color: #8D7842;
        opacity: 1;
    }
    

    /* footer */
    small {
        font-size: 12px !important;
    }

    /* social */
    .social-out {
        padding: 35px 0 0;
    }

    .social-out a.ico-line {
        display: none;
    }

    .social-out a {
        margin: 0 25px;
        width: 90px;
    }

    footer a {
        display: block;
        margin: 0 auto 10px;
        width: 100%;
    }

    #underlink {
        padding: 25px 0 20px;
    }

}

@media (min-width: 1200px) {

    /* header */
    header {
        width: 1200px;
    }

    .logo {
        margin-left: 0;
    }

    .navbar {
        position: absolute;
        top: 62px;
        right: -15px;
    }

    .navbar-nav .nav-link {
        overflow: hidden;
        padding: 0 0 0 0;
        border: none;
        background-color: transparent;
        font-size: 16px;
    }

    .navbar-nav .nav-link:nth-child(1) {
        /*width: 124px;
        height:40px;*/
        margin-left: 0;
    }

    .navbar-nav .nav-link:nth-child(2),
    .navbar-nav .nav-link:nth-child(3), 
    .navbar-nav .nav-link:nth-child(4) {
        /*width: 124px;*/
        height: 40px;
        margin-left: 40px;
    }

    .navbar-nav .nav-link:nth-child(4) {
        margin-left:30px;
    }

        .circle{
        font-size:14px;
        display: inline-block;
        width: 32px;
        height: 32px;
        border:solid 2px #8D7842;
        border-radius: 50%;
        background-color: #fff;
        text-align:center;
        line-height: 28px;
        position:absolute;
        top:-2px;
    }
}