@charset "UTF-8";
@import url("css/reset.min.css");



/*
theme Name: ISHIBASHISEIMEN
Author: ISHIBASHISEIMEN
Description: ISHIBASHISEIMEN
*/

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
    /*pxだと10px;*/
}

@media screen and (min-width:901px) and (max-width:1300px) {

    /*　画面サイズが901pxから1300pxまではここを読み込む　*/
    html {
        font-size: 56.5%;
        /*pxだと9.04px;*/
    }
}

body {
    width: 100%;
    height: auto;
    background: #fff;
    color: #0D0C0C;
    font-family: 'Avenir', 'Helvetica Neue', 'Helvetica', 'Arial', 'Hiragino Sans', 'ヒラギノ角ゴシック', YuGothic, 'Yu Gothic', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic';
    position: relative;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    display: block;
    color: #000;
    text-decoration-line: none;
}

a:hover {
    opacity: 0.9;
    transition-duration: 0.8s;
}

a img:hover {
    opacity: 0.9;
    transition-duration: 0.8s;
}

a.anchor {
    display: block;
    margin-top: -80px;
    padding-top: 80px;
}

@media screen and (max-width: 900px) {
    a.anchor {
        margin-top: -40px;
        padding-top: 40px;
    }
}

.underline {
    border-bottom: 3px solid #000;
    padding-bottom: 1rem;
}

.pc-none {
    display: none;
}

.sp-none {
    display: block;
}

@media screen and (max-width: 900px) {
    .pc-none {
        display: block;
    }

    .sp-none {
        display: none;
    }

    a.anchor {
        margin-top: -40px;
        padding-top: 40px;
    }
}

.clear {
    clear: both;
}

.max-img {
    width: 100%;
}

/*ヘッダー
-------------------------------------*/
#header {
    position: fixed;
    width: 100%;
    background: #000;
    z-index: 3;
}

#header .header-inner {
    width: 97%;
    height: 80px;
    margin: 0 0 0 3%;
    color: #fff;
    display: flex;
    align-items: flex-end;
    transition-duration: 0.5s;
    box-sizing: border-box;
}

#header.change .header-inner {}

@media screen and (max-width: 900px) {
    #header .header-inner {
        height: 60px;
        align-items: center;
    }

    #header.change .header-inner {
        height: 40px;
    }
}



/*ロゴ*/
#header .logo-area {
    flex: 1;
    height: 48px;
    margin-bottom: 15px;
}

@media screen and (max-width: 900px) {
    #header .logo-area {
        height: auto;
        margin-bottom: 0
    }
}

#header .logo-area p {
    font-size: 1.2rem;
    padding-bottom: 1rem;
    white-space: nowrap;
    transition-duration: 0.5s;
}

@media screen and (max-width: 900px) {
    #header .logo-area p {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

    #header.change .logo-area p {
        display: none;
    }
}

#header h1 {
    display: block;
    width: 160px;
    height: 26.88px;
    transition-duration: 0.5s
}

@media screen and (max-width: 1142px) {
    #header h1 {
        width: 150px;
        height: 25.2px;
    }
}

@media screen and (max-width: 900px) {
    #header h1 {
        width: 130px;
        height: auto;
    }
}

#header.change h1 {}


/*メインナビゲーション*/
#header nav {
    flex: 1;
}

#header nav ul {
    display: flex;
    justify-content: center;
}

#header nav li a {
    display: block;
    height: 48px;
    line-height: 48px;
    padding: 0 2rem;
    box-sizing: border-box;
    color: #fff;
    letter-spacing: 0.05em;
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    transition-duration: 0.5s;
}

@media screen and (max-width: 1142px) {
    #header nav li a {
        padding: 0 1.5rem;
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 900px) {
    #header nav li a {
        padding: 0;
        font-size: 1.5rem;
        text-align: left;
        color: #000;
    }
}

#header nav li a:hover,
#header nav li a.current {
    color: #ebca40;
}

@media screen and (max-width: 900px) {
    #header nav {
        display: block;
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100vh;
        background: #fff;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: all .5s;
        z-index: 200;
        opacity: 0;
    }

    #header .open nav {
        right: 0;
        opacity: 1;
    }

    #header nav .inner {
        padding: 30px 0 25px 35px;
    }

    #header nav .navlogo {
        display: block;
        width: 80%;
        height: 30px;
        margin: 100px auto 0;
        background-image: url(img/common/h2.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center bottom;
        text-align: center;
        color: #000;
        font-size: 2.2rem;
        font-family: 'Shippori Mincho B1', serif;
    }

    #header nav .inner ul {
        display: block;
        list-style: none;
        margin: 0;
        padding: 0;
    }
}

/*電話*/
#header .contact-pc {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 400px;
    height: 80px;
    padding: 1.4rem 1.7rem;
    box-sizing: border-box;
}

@media screen and (max-width: 900px) {
    #header .contact-pc {
        display: none;
    }
}

#header .contact-pc p.left {
    display: flex;
    align-items: center;
    height: 51.18px;
    line-height: 1.5;
    border-right: 1px solid #fff;
    text-align: center;
    font-size: 1.6rem;
    padding-right: 1.3rem;
}

@media screen and (max-width: 1140px) {
    #header .contact-pc p.left {
        font-size: 1.2rem;
    }
}

#header .contact-pc .right {
    text-align: center;
    border-left: 1px solid #fff;
    padding-left: 1em;
}

#header .contact-pc .right p {
    font-size: 1.4rem;
    padding-bottom: 0.3rem;
    letter-spacing: 0.1rem;
}

@media screen and (max-width: 1142px) {
    #header .contact-pc .right p {
        font-size: 1.2rem;
    }
}

#header .contact-pc a {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

@media screen and (max-width: 1142px) {
    #header .contact-pc a {
        font-size: 1.5rem;
    }
}

#header a.contact-form-pc {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 144px;
    height: 80px;
    padding: 1.4rem 1.9rem;
    box-sizing: border-box;
    background-color: rgba(152, 128, 28, 1);
    font-size: 1.6rem;
    color: #fff
}

@media screen and (max-width: 1142px) {
    #header a.contact-form-pc {
        font-size: 1.4rem;
        padding: 1.4rem 1.4rem;
    }
}

@media screen and (max-width: 900px) {
    #header a.contact-form-pc {
        display: none;
    }
}

.contact-nav-sp {
    margin: 0 auto;
    padding: 25px 10px;
    text-align: center;
    color: #000;
    border-top: 1px solid #000;
}

.contact-nav-sp .top {
    font-size: 1.4rem;
    font-weight: 600;
    border-bottom: 1px solid #fff;
    padding-bottom: 17px;
    margin-bottom: 17px;
}

.contact-nav-sp .bottom p {
    font-size: 1.4rem;
    padding-bottom: 0.8rem;
}

.contact-nav-sp .bottom a {
    font-size: 2.2rem;
    font-weight: 600;
}

.contact-form-sp {
    display: none;
}

@media screen and (max-width: 900px) {
    .contact-form-sp {
        display: block;
        width: 163px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        font-size: 1.5rem;
        margin: 0 auto;
        background-color: rgba(152, 128, 28, 1);
        color: #fff;
    }
}

/*ハンバーガーボタン*/
@media screen and (min-width: 901px) {

    /* PC時はMENUボタンを非表示 */
    .toggle_btn {
        display: none !important;
    }

    #navi {
        display: block !important;
    }
}

@media screen and (max-width: 900px) {
    #header .toggle_btn {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 60px;
        height: 60px;
        background: #98801C;
        transition: all .5s;
        cursor: pointer;
        z-index: 3;
    }

    #header.change .toggle_btn {
        width: 40px;
        height: 40px;
    }

    #header .toggle_btn span {
        display: block;
        position: absolute;
        right: 20px;
        width: 18px;
        height: 2px;
        background-color: #fff;
        border-radius: 4px;
        transition: all .5s;
    }

    #header.change .toggle_btn span {
        right: 11px;
    }

    #header .toggle_btn span:nth-child(1) {
        top: 24px;
    }

    #header.change .toggle_btn span:nth-child(1) {
        top: 14px;
    }

    #header .toggle_btn span:nth-child(2) {
        top: 30px;
    }

    #header.change .toggle_btn span:nth-child(2) {
        top: 20px;
    }

    #header .toggle_btn span:nth-child(3) {
        top: 36px;
    }

    #header.change .toggle_btn span:nth-child(3) {
        top: 26px;
    }

    #header .open .toggle_btn {
        z-index: 300;
        background-color: #fff;
    }


    #header .open .toggle_btn span:nth-child(1) {
        -webkit-transform: translateY(10px) rotate(-315deg);
        transform: translateY(10px) rotate(-315deg);
        top: 18px;
        background: #98801C;
    }

    #header .open .toggle_btn span:nth-child(2) {
        opacity: 0;
        background: #98801C;
    }

    #header .open .toggle_btn span:nth-child(3) {
        -webkit-transform: translateY(-10px) rotate(315deg);
        transform: translateY(-10px) rotate(315deg);
        top: 38px;
        background: #98801C;
    }


    #header #mask {
        display: none;
        transition: all .5s;
    }

    #header .open #mask {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.5);
        opacity: .8;
        z-index: 2;
        cursor: pointer;
    }

}


/*コンテナ
-------------------------------------*/
.wrap {
    padding-top: 80px;
}

@media screen and (max-width: 900px) {
    .wrap {
        padding-top: 60px;
    }
}

.container {
    max-width: 960px;
    width: 85%;
    margin: 0 auto;
}


.container-full {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: absolute;
    bottom: 190px;
    right: 5%;
    width: 60px;
    height: 60px;
    background-image: url(img/common/page-top.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin: 0;
}

@media screen and (max-width: 1325px) {
    #pagetop {
        bottom: 170px;
    }
}

@media screen and (max-width: 900px) {
    #pagetop {
        bottom: 350px;
        width: 30px;
        height: 43px;
    }
}

/*フッター
-------------------------------------*/
footer {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 33px 0 0;
}

.row {
    display: flex;
    justify-content: space-between
}

@media screen and (max-width: 900px) {
    .row {
        display: block;
    }
}

footer .name {
    font-size: 1.6rem;
    display: block;
    margin-right: 2.6rem;
}

@media screen and (max-width: 900px) {
    footer .name {
        margin-right: 0;
        margin-bottom: 2rem;
    }
}

footer .adress {
    font-size: 1.4rem;
    line-height: 1.3;
}

@media screen and (max-width: 900px) {
    footer .adress {
        line-height: 1.6;
    }
}

footer .adress p {
    display: flex;
    padding-top: 1rem;
}

footer .adress p:last-child {
    padding-top: 0.3rem;
}

footer .adress p a {
    color: #fff;
}

.footer-nav-wrap {}

@media screen and (max-width: 900px) {
    .footer-nav-wrap {
        margin-top: 3rem;
    }
}

footer ul li {
    position: relative;
    padding-bottom: 1rem;
    padding-left: 1.5rem;
}

footer ul li:before {
    position: absolute;
    content: '';
    top: 5px;
    left: 0;
    background-image: url(img/common/footer-arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 14.2px;
    height: 8.01px;
}

footer ul li a {
    color: #fff;
    font-size: 1.4rem;
}

@media screen and (max-width: 900px) {
    footer ul li a {
        font-size: 1.4rem;
    }
}

footer ul li a:hover {
    text-decoration: underline;
}

.copyright {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

@media screen and (max-width: 900px) {
    .copyright {
        padding-left: 8%;
        text-align: left;
    }
}


/*フロート
-------------------------------------*/
.contact-sp {
    display: none;
}

@media screen and (max-width: 900px) {
    .contact-sp {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 60px;
        padding: 10px 0;
        box-sizing: border-box;
        background: #98801C;
        color: #fff;
        display: flex;
    }

    .contact-sp .left {
        width: 50%;
        box-sizing: border-box;
        border-right: 1px solid #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.2rem;
        color: #fff;
    }

    .contact-sp .right {
        width: 50%;
        text-align: center;
        padding-top: 5px;
    }

    .contact-sp .right p {
        font-size: 1.0rem;
        padding-bottom: 0.2rem;
    }

    .contact-sp .right a {
        font-size: 1.6rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        color: #fff;
    }
}