@charset "UTF-8";

/*==================================================================================================

       ヘッダー

===================================================================================================*/

/*=================================================
        iphone 自動電話番号リンク
==================================================*/

.mobile-link a {
    color:#131313;
    padding:.5rem 0;
    display: inline-block;
    text-decoration: underline;
    }
.gnav-address .mobile-link a {
    color:#FFF;
    }

/*=================================================
        fixed-header
==================================================*/

header.main-header {
	position: fixed;
	width:100%;
    height:100px;
    min-width:320px;
	z-index:9999;
	}
    .header-wrap {
        position: fixed;
        background: url("https://ubanoyu.com/images/parts/header-bg.jpg") center center repeat;
        width:100%;
        height:100px;
        -webkit-transition:  all .3s ease;
            -moz-transition: all .3s ease;
            -o-transition:   all .3s ease;
            -ms-transition : all .3s ease;
               transition  : all .3s ease;
        }
        .header-wrap:after {
        content:"";
        display: block;
        position: absolute;
        bottom:-3px;
        left:0;
        width:100%;
        height: 3px;
        background: url("https://ubanoyu.com/images/parts/border-b.png") center center repeat-x;
        z-index: 1;
        }
        .fixed-navigation-wrap {
                display: block;
                position: relative;
                width:100%;
                max-width:1240px;
                margin:0 auto;
                box-sizing: border-box;
                }
                .fixed-logo {
                    width:300px;
                    height:auto;
                    position: absolute;
                    top:25px;
                    left:20px;
                    opacity: 1;
                    z-index: 10;
                    -webkit-transition:  all .3s ease;
                        -moz-transition: all .3s ease;
                        -o-transition:   all .3s ease;
                        -ms-transition : all .3s ease;
                           transition  : all .3s ease;
                    }
                .fixed-navigation {
                        position:absolute;
                        width:79%;
                        top:66px;
                        right:20px;
                        -webkit-transition:  all .3s ease;
                            -moz-transition: all .3s ease;
                            -o-transition:   all .3s ease;
                            -ms-transition : all .3s ease;
                               transition  : all .3s ease;
                        }
                        .fixed-nav {
                            position:relative;
                            float: right;
                            box-sizing:border-box;
                            text-align: left;
                            }
                            .fixed-nav li {
                            float: left;
                            position: relative;
                            line-height:120%;
                            font-size:1rem;
                            font-weight:500;
                            letter-spacing: .05em;
                            text-align: center;
                            padding-right:30px;
                            z-index: 1;
                            -webkit-transition:  all .3s ease;
                                    -moz-transition: all .3s ease;
                                    -o-transition:   all .3s ease;
                                    -ms-transition : all .3s ease;
                                       transition  : all .3s ease;
                            }
                            .fixed-nav li:last-child { padding-right:0;}
                            .fixed-nav li a {
                                color:#F1F1F1;
                                display: block;
                                -webkit-transition:  all .3s ease;
                                    -moz-transition: all .3s ease;
                                    -o-transition:   all .3s ease;
                                    -ms-transition : all .3s ease;
                                       transition  : all .3s ease;
                                }
                            .fixed-nav li span {
                                font-weight:400;
                                letter-spacing: .05em;
                                font-size:14px;
                                opacity: .6;
                                }
                    .fixed-reservation {
                                position: absolute;
                                top:5px;
                                right:20px;
                                width:170px;
                                letter-spacing: 0.05em;
                                z-index: 99999;
                                font-weight:400;
                                font-size:16px;
                                -webkit-transition:  all 0.3s ease;
                                    -moz-transition: all 0.3s ease;
                                    -o-transition:   all 0.3s ease;
                                }
                                .fixed-reservation a {
                                width:100%;
                                height:48px;
                                padding-top:12px;
                                box-sizing: border-box;
                                text-align: center;
                                line-height:150%;
                                letter-spacing: 0;
                                display: inline-block;
                                color:#FFF;
                                font-weight: 500;
                                background: url("https://ubanoyu.com/images/parts/red.jpg") top center repeat;
                                white-space: nowrap;
                                text-decoration:none !important;
                                position: relative;
                                z-index: 1;
                                -webkit-transition:  all 0.3s ease;
                                    -moz-transition: all 0.3s ease;
                                    -o-transition:   all 0.3s ease;
                                }
                                .fixed-reservation a span {
                                    font-size:14px;
                                    }
                                .fixed-reservation a:after {
                                position: absolute;
                                content: "";
                                width: 0;
                                height: 100%;
                                top: 0;
                                right: 0;
                                z-index: -1;
                                -webkit-transition:  all 0.3s ease;
                                    -moz-transition: all 0.3s ease;
                                    -o-transition:   all 0.3s ease;
                                background: rgba(255,255,255,.25);
                                }
                                .fixed-reservation a:hover:after {
                                left: 0;
                                width: 100%;
                                }
                                .fixed-reservation a:hover {
                                opacity:1;
                                filter: alpha(opacity=100);
                                -ms-filter: "alpha( opacity=100 )";
                                }
                    .fixed-sub {
                            position: absolute;
                            right:430px;
                            top:20px;
                            line-height: 150%;
                            opacity: 1;
                            letter-spacing: 0;
                            text-align: right;
                            -webkit-transition:  all .3s ease;
                                -moz-transition: all .3s ease;
                                -o-transition:   all .3s ease;
                                -ms-transition : all .3s ease;
                                   transition  : all .3s ease;
                            }
                            .fixed-sub a { color:#F1F1F1; position:relative; padding-left:1.5rem; }
                            .fixed-sub a:before {
                                position: absolute;
                                content: '';
                                width: 6px;
                                height: 6px;
                                border: 0;
                                border-top: solid 1px #F1F1F1;
                                border-right: solid 1px #F1F1F1;
                                top: 40%;
                                left: 6px;
                                transform: rotate( 45deg );
                                }
                    .fixed-phone {
                            position: absolute;
                            right:230px;
                            top:18px;
                            line-height: 150%;
                            opacity: 1;
                            letter-spacing: 0;
                            text-align: right;
                            -webkit-transition:  all .3s ease;
                                -moz-transition: all .3s ease;
                                -o-transition:   all .3s ease;
                                -ms-transition : all .3s ease;
                                   transition  : all .3s ease;
                            }
                            .fixed-phone a { color:#F1F1F1; }

            /*=================================================
                    hover bar
            ==================================================*/

            .fixed-nav li a {
                position: relative;
                display: inline-block;
                transition: .3s;
                padding-bottom:4px;
                }
                .fixed-nav li a:after {
                position:absolute;
                bottom:0px;
                left:50%;
                content:'';
                width:0;
                height:2px;
                background-color:#C99C8F;
                transition:.3s;
                -webkit-transform: translateX(-50%);
                transform: translateX(-50%); 
                }
                .fixed-nav li a:hover:after {
                width:100%;
                }
                .fixed-nav li a:hover {
                color:#C99C8F;
                }

            /*=================================================
                    fixed
            ==================================================*/
                
                .header-wrap.fixed { height:70px; }
                
                .header-wrap.fixed .fixed-logo { top:8px; }
                .header-wrap.fixed .fixed-navigation { top:43px; }
                .header-wrap.fixed .fixed-reservation { top:0px; }
                .header-wrap.fixed .fixed-reservation a { height:36px; padding-top:7px; }
                .header-wrap.fixed .fixed-sub { top:9px; }
                .header-wrap.fixed .fixed-phone { top:7px; }

            @media screen and (max-width: 1220px) {
            .fixed-nav li:nth-child(1) { display:none; } 
            }
            @media screen and (max-width: 1170px) {
            
            .fixed-menu li { font-size:15px; letter-spacing: 0; width:150px;}
            }

    /*=================================================

        mobile navigation

    ==================================================*/

        .mobile-navigation-wrap { display: none; }
            .mobile-logo-wrap {
                position: relative;
                }
                .mobile-logo {
                    width:270px;
                    position: absolute;
                    top:16px;
                    left:15px;
                    opacity: 1;
                    z-index: 10;
                    line-height: 100%;
                    -webkit-transition:  all .3s ease;
                        -moz-transition: all .3s ease;
                        -o-transition:   all .3s ease;
                        -ms-transition : all .3s ease;
                           transition  : all .3s ease;
                    }
            
            .gnav {
                    }
                    .nav-toggle {
                            background: #171717;
                            display:block;
                            position:fixed;
                            right:0;
                            top:0;
                            padding:0;
                            width:80px;
                            height:80px;
                            text-align: center;
                            font-size: 0px;
                            letter-spacing: 0;
                            box-sizing: border-box;
                            pointer-events: auto;
                            cursor:pointer;
                            z-index:99999;
                            -webkit-transition:  all .3s ease;
                                -moz-transition: all .3s ease;
                                -o-transition:   all .3s ease;
                                -ms-transition : all .3s ease;
                                   transition  : all .3s ease;
                            }
                            .nav-toggle div { position:absolute; width:30px; height:20px; top:23px; right:25px; }
                            .nav-toggle span { display: block; position: absolute; height: 2px; width:30px; background: #ececec; -moz-border-radius:2px; -webkit-border-radius:2px; -o-border-radius:2px; -ms-border-radius:2px;
                            left: 0; -webkit-transition: .35s ease-in-out; -moz-transition: .35s ease-in-out; transition: .35s ease-in-out; }
                            .nav-toggle span:nth-child(1) { top: 0; }
                            .nav-toggle span:nth-child(2) { top: 9px; }
                            .nav-toggle span:nth-child(3) { top: 18px; }
                            .gnav .menu  { opacity:1; font-size:10px; position:absolute; width:30px; right:25px; top:49px; line-height:1; -webkit-transition:all 0.2s ease; -moz-transition:all 0.2s ease; -o-transition:all 0.2s ease; color:#ececec;}
                            .gnav .close { opacity:0; font-size:10px; position:absolute; width:30px; right:25px; top:49px; line-height:1; -webkit-transition:all 0.2s ease; -moz-transition:all 0.2s ease; -o-transition:all 0.2s ease; color:#ececec;}
                            .gnav.active .menu  { opacity: 0; }
                            .gnav.active .close { opacity: 1; }
                            .gnav.active .nav-toggle span { }
                            .gnav.active .nav-toggle span:nth-child(1) {top: 8px;-webkit-transform: rotate(315deg);-moz-transform: rotate(315deg);transform: rotate(315deg);}
                            .gnav.active .nav-toggle span:nth-child(2) {width: 0;left: 50%;}
                            .gnav.active .nav-toggle span:nth-child(3) {top: 8px;-webkit-transform: rotate(-315deg);-moz-transform: rotate(-315deg);transform: rotate(-315deg);}
                    .reservation {
                        position: fixed;/* fixedで追従 */
                        right:80px;
                        top:0;
                        width:110px;
                        height:80px;
                        text-align: center;
                        opacity: 1;
                        -webkit-transition:  all .3s ease;
                            -moz-transition: all .3s ease;
                            -o-transition:   all .3s ease;
                            -ms-transition : all .3s ease;
                               transition  : all .3s ease;
                        z-index:999999;/* 0でメニューOPEN時非表示　999999で表示 */
                        }
                        .reservation a {
                            position: relative;
                            color:#FFF;
                            display:block;
                            width:100%;
                            height:100%;
                            line-height: 1.15;
                            background:#B16E63;
                            font-size:15px;
                            padding-top:23px;
                            box-sizing: border-box;
                            z-index: 1;
                            }
                        .reservation a span { font-size:10px; }
                        .reservation a:after {
                            position: absolute;
                            content: "";
                            width: 0;
                            height: 100%;
                            top: 0;
                            right: 0;
                            z-index: -1;
                            -webkit-transition:  all .3s ease;
                                -moz-transition: all .3s ease;
                                -o-transition:   all .3s ease;
                                -ms-transition : all .3s ease;
                                   transition  : all .3s ease;
                            background:rgba(255,255,255,.2);
                            }
                            .reservation a:hover:after {
                            left: 0;
                            width: 100%;
                            }

            .gnav-content {
                    display: none;
                    position: fixed;
                    right: 0;
                    top: 0;
                    width: 100%;
                    height: 100%;
                    background:#171717;
                    color:#FFF;
                    overflow: auto;
                    z-index:9999;
                    text-align: center;
                    font-weight:bold;
                    }
                    .gnav-logo {
                    position: relative;
                    opacity: 1;
                    z-index: 10;
                    width:270px;
                    margin: 0 auto;
                    padding-top:110px;
                    padding-bottom:1em;
                    line-height: 100%;
                    -webkit-transition:  all .3s ease;
                        -moz-transition: all .3s ease;
                        -o-transition:   all .3s ease;
                        -ms-transition : all .3s ease;
                           transition  : all .3s ease;
                    }

            .mobile-menuwrap {
                            font-size:1rem;
                            position: relative;
                            line-height: 100%;
                            letter-spacing: 0;
                            text-align: right;
                            -webkit-transition:  all .3s ease;
                                -moz-transition: all .3s ease;
                                -o-transition:   all .3s ease;
                                -ms-transition : all .3s ease;
                                   transition  : all .3s ease;
                            }
                            .mobile-menu li {
                            float:left;
                            margin-right:.25%;
                            width:24.75%;
                            letter-spacing: 0.05em;
                            z-index: 99999;
                            font-weight:400;
                            font-size:16px;
                            -webkit-transition:  all 0.3s ease;
                                -moz-transition: all 0.3s ease;
                                -o-transition:   all 0.3s ease;
                            }
                            .mobile-menu li a {
                            width:100%;
                            height:52px;
                            padding-top:17px;
                            box-sizing: border-box;
                            text-align: center;
                            line-height:110%;
                            letter-spacing: 0;
                            display: inline-block;
                            color:#FFF;
                            white-space: nowrap;
                            text-decoration:none !important;
                            position: relative;
                            z-index: 1;
                            -webkit-transition:  all 0.3s ease;
                                -moz-transition: all 0.3s ease;
                                -o-transition:   all 0.3s ease;
                            }
                            .mobile-menu li:nth-child(1) a { background: #AD996F;}
                            .mobile-menu li:nth-child(2) a { background: #997F4B;}
                            .mobile-menu li:nth-child(3) a { background: #805F1E;}
                            .mobile-menu li:nth-child(4) a { background: #503823;}
                            .mobile-menu li a span {
                                font-size:10px;
                                color:#CCB56F;
                                }
                            .mobile-menu li a:after {
                            position: absolute;
                            content: "";
                            width: 0;
                            height: 100%;
                            top: 0;
                            right: 0;
                            z-index: -1;
                            -webkit-transition:  all 0.3s ease;
                                -moz-transition: all 0.3s ease;
                                -o-transition:   all 0.3s ease;
                            background: rgba(255,255,255,.25);
                            }
                            .mobile-menu li a:hover:after {
                            left: 0;
                            width: 100%;
                            }
                            .mobile-menu li a:hover {
                            opacity:1;
                            filter: alpha(opacity=100);
                            -ms-filter: "alpha( opacity=100 )";
                            }

                    .mobile-navigation { padding-top:15px; width:100%; }
                    .mobile-main-nav { position:relative; padding-bottom:1rem; border-top:2px dotted rgba(255,255,255,.3); }
                    .mobile-main-nav li { width:100%; text-align: center; font-size:15px; font-weight:900; border-bottom:2px dotted rgba(255,255,255,.3); }
                    .mobile-main-nav li a { letter-spacing: 0.01em; padding:12px 0 ; display:block; color:#FFF; font-size:1.2rem; }
            .gnav-address { color:rgba(255,255,255,.7); }

        /*=================================================
                SNS アイコン
        ==================================================*/

        .mobile-sns-nav {
            position: relative;
            padding:.75rem 0;
            }
            .mobile-sns-nav li {
            width:42px;
            height:42px;
            display: inline-block;
            margin:0 8px;
            }

    /*=================================================
            hover bar
    ==================================================*/

            .mobile-main-nav li a {
                position: relative;
                display: inline-block;
                transition: .3s;
                }
                .mobile-main-nav li a:after {
                position:absolute;
                bottom:6px;
                left:50%;
                content:'';
                width:0;
                height:2px;
                background-color:#C99C8F;
                transition:.3s;
                -webkit-transform: translateX(-50%);
                transform: translateX(-50%); 
                }
                .mobile-main-nav li a:hover:after {
                width:100%;
                }
                .mobile-main-nav li a:hover {
                color:#C99C8F;
                }

    @media screen and (max-width: 1087px) {
        header { height: 80px; }
        header.main-header { position: absolute; } /* LOGOだけ追従なし */
        .header-wrap { position: absolute; } /* LOGOだけ追従なし */
        .mobile-logo { position: absolute; } /* LOGOだけ追従なし */
        .header-wrap { display:block; height:80px;
            -moz-box-shadow:	0px 1px 4px rgba(0,0,0,0.2);
            -webkit-box-shadow: 0px 1px 4px rgba(0,0,0,0.2);
            -o-box-shadow:		0px 1px 4px rgba(0,0,0,0.2);
            -ms-box-shadow:		0px 1px 4px rgba(0,0,0,0.2);
            }
        .header-wrap.fixed { height:70px; }
        .fixed-navigation-wrap { display:none; }
        .mobile-navigation-wrap { display:block; }
        
        .reservation span { letter-spacing: 0;}
    }

    @media screen and (max-width: 767px) {
        .mobile-logo { width:174px; left:10px; top:24px; }

        .nav-toggle { width:60px; -webkit-transition:  all .3s ease;-moz-transition: all .3s ease; -o-transition:   all .3s ease;-ms-transition : all .3s ease; transition  : all .3s ease; }
        .nav-toggle div { right:15px; -webkit-transition:  all .3s ease;-moz-transition: all .3s ease; -o-transition:   all .3s ease;-ms-transition : all .3s ease; transition  : all .3s ease; }

        .gnav .menu  { right:15px; -webkit-transition:  all .3s ease;-moz-transition: all .3s ease; -o-transition:   all .3s ease;-ms-transition : all .3s ease; transition  : all .3s ease; }
        .gnav .close { right:15px; -webkit-transition:  all .3s ease;-moz-transition: all .3s ease; -o-transition:   all .3s ease;-ms-transition : all .3s ease; transition  : all .3s ease;  }
        
        .reservation { right:60px; width:70px; -webkit-transition:  all .3s ease;-moz-transition: all .3s ease; -o-transition:   all .3s ease;-ms-transition : all .3s ease; transition  : all .3s ease;  }
        .reservation a { font-size:14px; -webkit-transition:  all .3s ease;-moz-transition: all .3s ease; -o-transition:   all .3s ease;-ms-transition : all .3s ease; transition  : all .3s ease;  }
        .mobile-menu li { width:49%; margin-right:1%; margin-bottom:1px; }
        /*=================================================
                    fixed
        ==================================================*/
        .header-wrap.fixed .nav-toggle { height:60px; }
        .header-wrap.fixed .nav-toggle div { top:13px; }

        .header-wrap.fixed .gnav .menu  { top:37px; }
        .header-wrap.fixed .gnav .close { top:37px; }
        
        .header-wrap.fixed .reservation { height:60px; }/* 追従時は height:60px; を変える */
        .header-wrap.fixed .reservation a { padding-top: 14px; }/* 追従時は padding-top: 14px; を変える */
    }
    @media screen and (max-width: 450px) {
    .mobile-menu li { width:100%; margin-right:0; }
    }


/*==================================================================================================

       フッター

===================================================================================================*/

footer {
    width:100%;
    line-height: 180%;
    position: relative;
    overflow: hidden;
    color:#F1F1F1;
    font-weight:normal;
    background: url("https://ubanoyu.com/images/parts/footer-bg.jpg") center center / cover;
    }
    .footer-logo {
        width:300px;
        }

.footer-menu {
	width:100%;
	text-align:left;
    padding-top:1rem;
	}
	.footer-menu li {
        font-size:1rem;
        padding:.25rem 0;
        }
    .footer-menu li a {
        font-size:1rem;
        color:#FFF;
        position: relative;
        display: inline-block;
        text-decoration: none;
        }
        .footer-menu li a:hover {
        cursor: pointer;
        opacity: .6;
        text-decoration: none;
        }
        .footer-menu li a::after {
        position: absolute;
        bottom: 0px;
        left: 0;
        content: '';
        width: 100%;
        height: 1px;
        background: #FFF;
        transform: scale(0, 1);
        transform-origin: right top;
        transition: transform .3s;
        }
        .footer-menu li a:hover::after {
        transform-origin: left top;
        transform: scale(1, 1);
        }

    /*=================================================
                SNS アイコン リスト
    ==================================================*/
/*
        .footer-sns-nav {
            position: relative;
            padding:0 0 1rem;
            }
            .footer-sns-nav li {
            width:32px;
            height:32px;
            display: inline-block;
            margin:0 4px;
            }
*/

.copyright {
    position: relative;
    z-index: 100;
	letter-spacing:0;
	line-height:1;
    width:100%;
	font-size:12px;
	line-height:1;
	}

@media only screen and (max-width: 767px) {
    .footer-menu { padding:0; margin-left: 0;}
    .footer-menu li { display: block; width:100%; text-align: left; border-bottom:1px solid rgba(255,255,255,.6); padding:0; }
    .footer-menu li a { padding:.75rem 1rem; display: block; }

    .footer-logo { width:240px; margin-bottom:1rem; }
    
    .footer-sns-nav li { width:42px; height:42px; margin:0 8px 0 0; }
    }
/*=================================================

		ページトップ

 ==================================================*/

#totop {
	display:none;
	*display:block; /* IE 7 and below */
	position:fixed;
	bottom:0;
	right:0px;
	z-index:999;
	}
    :root *> #totop { display:none;	}
    #totop { display:block; }
    *+html #totop { display:block; }
    #totop.open { display:block; }
    a.totop{ background:#C77561; width:60px;height:60px; display:block; cursor:pointer; text-align: center; color:#FFF; font-size:13px; line-height: 125%; position: relative; }
        a.totop p { position: absolute; top:50%; left:50%; -webkit-transform: translate(-50%,-50%); transform: translate(-50%,-50%);}
    a.totop:hover{ background-position:center bottom;}
@media only screen and (max-width: 767px) {
    #totop { bottom:40px; right:0;}
	a.totop{ width:45px;height:45px; font-size:10px;
    border-radius:         50%;
    moz-border-radius:     50%;
    -webkit-border-radius: 50%;
    -o-border-radius:      50%;
    -ms-border-radius:     50%;
    }
}