﻿@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap');

/**************************************************

RESET

****************************************************/

* {
    margin: 0;
    padding: 0;
}

*:focus {
    outline: none !important;
}

a {
    display: inline-block;
}

div {
    box-sizing: border-box;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
}

/**************************************************

COMMON

****************************************************/

html {
    font-size: 62.5%;
}

body {
    color: #666;
    background:url("../images/common/main_bg.jpg");
    background-size: 50% auto;
    font-family: "游ゴシック", YuGothic, Verdana, "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", sans-serif;
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: unset;
    @media only screen and(-webkit-min-device-pixel-ratio: 2),(min-resolution: 2dppx) {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

@media all and (-ms-high-contrast: none) {
    body{
        font-family: "メイリオ", Meiryo, Verdana,"ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", sans-serif;
    }
}

@media screen and (max-width: 1200px) {
    body {
        -webkit-text-size-adjust: 100%;
    }
    
}

/* link */

a{
    color:#666666;
}

a:hover {
    opacity: 0.6;
    transition: all 0.3s;
}

a.button{
    padding:10px 20px;
    border:0.5px solid #595757;
    text-decoration: none;
    font-size:1.8rem;
    font-weight: bold;
    letter-spacing: 0.04em;
    line-height: 1.1;
}

@media screen and (max-width: 828px) {
    a.button{
        background: #595757;
        border-color: #595757;
        color:#fff;
        font-size: 1.3rem;
    }
}

/* layout */

.container {
    position: relative;
    width: 100%;
    max-width: 1130px;
    margin: auto;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
    box-sizing: border-box;
}

.columns {
    display: flex;
    justify-content: space-between;
}

.colum--reverse {
    flex-direction: row-reverse;
}

.colum--center {
    align-items: center;
}

.colum--left {
    justify-content: flex-start;
}

/* img */

figure {
    margin: 0;
}

.image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.image--inline {
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}

.svg{
    width: 100%;
}

/* text */

p {
    font-size: 1.6rem;
    line-height: 1.7;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* tel link */

a[href^="tel"] {
    color: inherit;
    text-decoration: none;
    cursor: default;
    pointer-events: none;
}

a[href^="tel"]:hover {
    opacity: 1;
}

@media screen and (max-width: 1200px) {
    a[href*="tel"] {
        pointer-events: auto;
    }
}

/* sp contents */

.spOn{
    display: none!important;
}

@media screen and (max-width: 415px) {
    .spOn{
        display: block!important;
    }

    .spOff{
        display: none!important;
    }
}

/**************************************************

HEADER

****************************************************/

header{
    position: relative;
}

header::before{
    content:'';
    display: block;
    position: absolute;
    top:0;
    left:0;
    right:0;
    height:492px;
    background: url("../images/common/head_bg.jpg") no-repeat top center / auto 100%;
}

header::after{
    content:'';
    display: block;
    position: absolute;
    top:477px;
    left:0;
    right:0;
    height:15px;
    background: linear-gradient(rgba(248,244,235,0), rgba(248,244,235,1));
}

#header{
    max-width: 1100px;
    margin:0 auto;
    box-sizing: border-box;
    position: relative;
    padding:20px 0 30px;
}

/* logo */
#logo {
    max-width: 208px;
    margin:0 auto 60px;
    line-height: 1.1;
}

/* header__catch */
.header__catch{
    position: absolute;
    left:20px;
    top:40px;
    max-width: 212px;
}

/* header__subNavi */
.header__subNavi{
    background: rgba(255, 255, 255, 0.7);
    padding:8px 13px 0;
    border-radius: 0 0 5px 5px;
    display: inline-block;
    position: absolute;
    top:0;
    right:0;
}

.header__subNavi img{
    width: 22px;
    margin-right: 5px;
}

.header__subNavi ul{
    display: flex;
    align-items: center;
    max-width: 200px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.header__subNavi ul li{
    margin-bottom: 8px;
}

.header__subNavi ul li a{
    text-decoration: none;
    font-size:1rem;
    color:#e6002d;
    font-weight: 500;
}

/* firefox*/
@-moz-document url-prefix() {
    #logo a img{
        width: 280px;
    }

    .header__catch img{
        width: 212px;
    }
}

@media screen and (max-width: 828px) {
    header::before,
    .header__subNavi,
    .header__catch,
    body header::after{
        display: none;
    }

    #header{
        background: url("../images/common/head_bg_sp.jpg") no-repeat top center / cover;
        padding:8px 0 0 0;
    }

    #logo {
        max-width: 208px;
        margin: 0 auto 20px;
    }

    #logo a{
        display: block;
    }
}

@media screen and (max-width: 415px) {
    #logo {
        max-width: 140px;
        margin: 0 auto 13px;
    }
}

/**************************************************

GLOBAL NAVI

****************************************************/

#gNavi{
    max-width: 560px;
    margin:0 auto;
    box-shadow: 0 0 10px 0 rgb(112 63 5 / 8%);
}

#gNavi ul{
    display: flex;
}

#gNavi ul li{
    width: 100%;
    position: relative;
    z-index: 1;
}

#gNavi ul li a{
    display: block;
    line-height:46px;
    text-align: center;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 0.08em;
    color:#595757;
    background-color: #fffacb;
}

#gNavi ul li a:hover{
    opacity: 1;
}

#gNavi ul li:nth-child(even) a{
    background-color: #fff697;
}

#gNavi ul li:first-child a{
    border-radius: 5px 0 0 5px;
}

#gNavi ul li:last-child a{
    border-radius: 0 5px 5px 0;
}

#gNavi .gNavi__decoration{
    display: inline-block;
    position: relative;
    line-height: 1.7;
}

#gNavi .over .gNavi__decoration::before{
    content:'';
    width: 100%;
    height:1px;
    background: #595757;
    position: absolute;
    left:50%;
    bottom:0;
    transform: translateX(-50%);
}

/* gNavi__sub */

#gNavi .gNavi__sub{
    display: none;
    background: #fff;
    position: absolute;
    left:50%;
    top:46px;
    transform: translateX(-50%);
    padding:25px 35px 0;
}

#gNavi .gNavi__sub ul{
    display: flex;
    flex-wrap: wrap;
    width: 530px;
}

#gNavi .gNavi__sub li{
    width: 50%;
    margin-bottom: 25px;
}

#gNavi ul li .gNavi__sub li a{
    display: flex;
    font-weight: normal;
    align-items: center;
    background: none;
    line-height: 1.6;
    color: #000;
    text-align: left;
}

#gNavi ul li .gNavi__sub li a:hover{
    opacity: 0.6;
}

#gNavi .gNavi__sub li a img{
    width: 62px;
    margin-right: 10px;
}

@media screen and (max-width: 828px) {
    #gNavi .gNavi__sub{
        display: none;
    }

    #gNavi{
        max-width: none;
    }
    
    #gNavi ul li:first-child a,
    #gNavi ul li:last-child a {
        border-radius: 0;
    }
}

@media screen and (max-width: 415px) {
    #gNavi ul li a{
        font-size: 1.1rem;
        line-height: 25px;
    }
}

/**************************************************

SP NAVI

****************************************************/

#spNavi,
#spNavi__sub,
#spNaviOverlay{
    display: none;
}

@media screen and (max-width: 828px) {
    #spNaviOverlay{
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: rgba(171, 168, 166, 0.9);
        z-index: 50;
    }

    #spNaviOverlay.set {
        opacity: 0;
        display: block;
        animation-name: fadein;
        animation-duration: 0.5s;
        animation-timing-function: ease-out;
        animation-iteration-count: 1;
        animation-direction: normal;
        animation-fill-mode: forwards;
    }

    @keyframes fadein {
        0% {
            opacity: 0;
        }
    
        100% {
            opacity: 1;
        }
    }

    #spNaviOverlay.off {
        opacity: 1;
        display: block;
        animation-name: fadeout;
        animation-duration: 0.5s;
        animation-timing-function: ease-out;
        animation-iteration-count: 1;
        animation-direction: normal;
        animation-fill-mode: forwards;
    }

    @keyframes fadeout {
        0% {
            opacity: 1;
        }
    
        100% {
            opacity: 0;
        }
    }
    
    #spNavi{
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff697;
        height: 50px;
        z-index: 100;
    }

    #spNavi .spNavi__base{
        display: flex;
    }

    #spNavi .spNavi__base li.spNaviSub > a{
        position: relative;
    }

    #spNavi .spNavi__base li.spNaviSub > a::before{
        content: '';
        width: 10px;
        height: 1px;
        display: block;
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        background: #000;
    }

    #spNavi .spNavi__base li.spNaviSub > a::after{
        content: '';
        width: 1px;
        height: 10px;
        display: block;
        position: absolute;
        right: 34px;
        top: 50%;
        transform: translateY(-50%);
        background: #000;
    }

    #spNavi .spNavi__base li.spNaviSub > a.on::after{
        display: none;
    }

    #spNavi .spNavi__base li{
        flex-basis: 25%;
    }

    #spNavi .spNavi__base li a{
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 50px;
        text-decoration: none;
        text-align: center;
        font-size: 1.2rem;
        font-weight: 500;
        box-sizing: border-box;
    }

    #spNavi .spNavi__base .svg{
        height: 20px;
        margin-bottom: 5px;
    }

    #spNavi .spNavi__base li a span{
        display: block;
        line-height: 1.1;
    }

    #spNavi__sub{
        position: fixed;
        left: 0;
        right: 0;
        bottom: 50px;
        background: #fff;
        max-height: calc(100% - 50px);
        overflow: auto;
    }

    #spNavi__sub li + li{
        border-top: 1px solid rgba(0, 0, 0, 0.3);
    }

    #spNavi #spNavi__sub li a{
        text-align: left;
        padding:17px;
        height: auto;
    }

    #spNavi .spNavi__base .spNaviSub__items li + li{
        border:none;
        margin-top:20px;
    }

    #spNavi .spNavi__base .spNaviSub__items{
        padding:0 25px 20px;
        display: none;
    }

    #spNavi #spNavi__sub .spNaviSub__items li a{
        padding:0;
        display: flex;
        align-items: center;
        flex-direction: inherit;
        justify-content: flex-start;
    }

    #spNavi #spNavi__sub .spNaviSub__items li a img{
        width: 50px;
        margin-right: 20px;
    }
}

/**************************************************

FOOTER

****************************************************/
#footer{
    background: url("../images/common/footer_bg.jpg") no-repeat bottom center / cover;
    text-align: center;
    padding:60px 0 55px;
    color:#000;
}

/* footer__snsNav */
.footer__snsNav{
    display: inline-block;
    margin-bottom: 55px;
}

.footer__snsNav li{
    display: inline-block;
}

.footer__snsNav li + li{
    margin-left: 25px;
}

.footer__snsNav li img{
    max-width: 50px;
}

/* footer__info */
.footer__info{
    max-width: 580px;
    margin:0 auto 55px;
    display: flex;
    align-items: center;
    color:#333;
}

.footer__info .footer__logo{
    max-width: 237px;
}

.footer__info .footer__logo{
    max-width: 237px;
    margin-right: 20px;
}

.footer__info .footer__cta{
    max-width: 248px;
}

.footer__info .footer__cta h3{
    font-size:1.4rem;
    margin-bottom: 20px;
    color: #000;
}

.footer__info .footer__cta strong{
    font-size:1.2rem;
    display: block;
    margin-bottom: 10px;
    color: #000;
}

.footer__info .footer__cta .link-tel{
    max-width: 219px;
    margin-bottom: 10px;
}

.footer__info .footer__cta p{
    font-size:1.2rem;
    font-weight: bold;
    color: #000;
}

/* footer__nav */
.footer__nav{
    max-width: 660px;
    margin:0 auto 40px;
}

.footer__nav li{
    display: inline-block;
    margin:0 20px 17px;
}

.footer__nav li a{
    font-weight: bold;
    font-size: 1.4rem;
    text-decoration: none;
    color:#000;
}

/* footer__bnr */
.footer__bnr{
    max-width: 548px;
    margin:0 auto;
}

.footer__bnr a{
    text-decoration: none;
}

.footer__bnr div{
    cursor: pointer;
    flex-basis: 20%;
}

.footer__bnr div dt{
    margin-bottom: 10px;
}

.footer__bnr div dd{
    text-align: left;
    font-size:1rem;
    font-family: '小塚ゴシック Pr6N','小塚ゴシック Pro',sans-serif;
    line-height: 1.5;
    color: #000;
}

/* copyright */
#copyright{
    text-align: center;
    font-size:0.8rem;
    font-weight: bold;
    padding:20px 15px;
    color:#333;
}

/* firefox*/
@-moz-document url-prefix() {
    .footer__snsNav li img{
        width: 50px;
    }
    .footer__info .footer__logo img{
        width: 237px;
    }
    .footer__info .footer__cta .link-tel img{
        width: 219px;
    }
}

@media screen and (max-width: 828px) {
    footer {
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 415px) {
    footer{
        background: url("../images/common/footer_bg_sp.jpg") no-repeat 50% 50% / cover;
    }

    #footer{
        background: none;
        padding:30px 0;
    }

    .footer__info {
        margin: 0 auto 30px;
        flex-direction: column;
    }

    .footer__snsNav li img {
        max-width: 40px;
    }

    .footer__snsNav{
        margin-bottom: 30px;
    }

    .footer__info .footer__logo {
        max-width: 150px;
        margin: 0 0 20px;
    }

    .footer__nav{
        border-top: 1px solid #595757;
        border-bottom: 1px solid #595757;
        padding:30px 0;
        margin: 0 auto 30px;
    }

    .footer__nav li {
        display: block;
        margin: 0;
    }

    .footer__nav li + li{
        margin-top:20px;
    }

    .footer__bnr div dd{
        display: none;
    }

    .footer__bnr div dt {
        margin-bottom: 0;
    }

    #copyright{
        padding: 0 15px 20px;
    }
}