@charset "utf-8";
/* CSS Document */

/* ==========================================
    common
========================================== */

.sp {
    display: none;
}

@media screen and (min-width: 768px) {
    a[href^="tel:"] {
        pointer-events: none;
    }
}
@media screen and (max-width: 767px) {
    .sp {
        display: block !important;
    }

    .pc {
        display: none !important;
    }
}

body {
    position: relative;
}

.wrap {
    max-width: 1160px;
    padding: 0 20px;
    margin: 0 auto;
}

h2,
h3 {
    color: #3f1b03;
    font-size: 40px;
    text-align: center;
    letter-spacing: 0.1em;
}

a.link-btn {
    color: #fff;
    font-weight: 700;
    display: block;
    margin: 20px auto;
    padding: 0.5em 0;
    text-align: center;
    background: #ca1c1c;
    max-width: 320px;
    border-radius: 10px;
}

.page-top {
    position: relative;
    height: 380px;
}

.page-top h2 {
    width: 100%;
    font-size: 48px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.page-top h2 small {
    display: block;
    margin: 0 auto;
    font-size: 30px;
    letter-spacing: 0;
}

.flex {
    display: flex;
    width: 100%;
}

.flex.w100p {
    width: 100%;
}

.flex.fw {
    flex-wrap: wrap;
}

.flex.jcc {
    justify-content: center;
}

.flex.jcsb {
    justify-content: space-between;
}

.flex.aic {
    align-items: center;
}

@media screen and (max-width: 767px) {
    body {
        font-size: 14px;
    }

    .wrap {
        padding: 0 10px;
    }

    h2,
    h3 {
        font-size: 28px;
    }

    .page-top {
        height: 250px;
        margin-top: 60px;
    }

    .page-top h2 {
        font-size: 32px;
    }

    .page-top h2 small {
        font-size: 20px;
    }
}

@media screen and (max-width: 500px) {

    h2,
    h3 {
        font-size: 24px;
    }

    .page-top {
        height: 140px;
    }

    .page-top h2 {
        font-size: 24px;
    }

    .page-top h2 small {
        font-size: 16px;
    }
}

/* ==========================================
    header
========================================== */

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
    padding: 12px 20px;
    transition: all ease .5s;
}

header ul li {
    padding-left: 2em;
}

header ul li a {
    font-weight: 700;
}

header.bg,
header.open {
    background: linear-gradient(to top, #000, #000 1px, #fff 1px, #fff 2px, #000 2px, #000 4px, #fff 4px, #fff), #fff;
}

.spmenu_b,
.spmenu {
    display: none;
}

@media screen and (max-width: 1279px) {
    header ul li {
        padding-left: 1em;
    }
}

@media screen and (max-width: 1023px) {
    header {
        padding: 12px 10px;
    }

    header ul li {
        padding-left: 0.5em;
    }

    header ul li a {
        font-size: 14px;
    }

    header h1 {
        height: 36px;
        z-index: 100;
    }

    header h1 a {
        display: inline-block;
        height: 100%;
    }

    header h1 img {
        height: 100%;
        width: auto;
        vertical-align: inherit;
    }
}

@media screen and (max-width: 767px) {
    .spmenu_b {
        display: block;
        background: transparent;
        height: 60px;
        width: 60px;
        cursor: pointer;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 100;
        transition: all ease 0.5s;
    }

    .spmenu_line {
        display: block;
        background: #000;
        width: 36px;
        height: 2px;
        position: absolute;
        top: 28px;
        right: 12px;
        cursor: pointer;
        transition: all ease 0.5s;
    }

    .spmenu_line:before {
        content: '';
        display: block;
        background: #000;
        width: 36px;
        height: 2px;
        position: absolute;
        top: -13px;
        right: 0;
        cursor: pointer;
        transform-origin: 0 2px;
        transition: all ease 0.5s;
    }

    .spmenu_line:after {
        content: '';
        display: block;
        background: #000;
        width: 36px;
        height: 2px;
        position: absolute;
        top: 13px;
        right: 0;
        cursor: pointer;
        transform-origin: 0 0;
        transition: all ease 0.5s;
    }

    .spmenu_b.open .spmenu_line {
        background: transparent;
        transition: all ease 0.5s;
    }

    .spmenu_b.open .spmenu_line:before {
        right: -4px;
        transform: rotate(45deg);
        transform-origin: 0 4px;
        transition: all ease 0.5s;
    }

    .spmenu_b.open .spmenu_line:after {
        right: -4px;
        top: 14px;
        transform: rotate(-45deg);
        transform-origin: 0 0;
        transition: all ease 0.5s;
    }

    .spmenu {
        display: block;
        position: fixed;
        top: 0;
        left: 100%;
        width: 100vw;
        height: 100vh;
        overflow: hidden;
        padding-top: 60px;
        background: #fff;
        transition: all ease 0.5s;
        z-index: 98;
        background: #fffcf0;
    }

    .spmenu .inner {
        overflow-y: scroll;
    }

    .spmenu.open {
        transform: translateX(-100%);
        transition: all ease 0.5s;
    }

    .spmenu ul.sp-link {
        padding-bottom: 4px;
        background: linear-gradient(to top, #000, #000 1px, transparent 1px, transparent 2px, #000 2px, #000 4px, transparent 4px, transparent);
    }

    .spmenu ul.sp-link li {
        border-bottom: 1px dashed #bf9b84;
        text-align: center;
    }

    .spmenu ul.sp-link li:last-of-type {
        border-bottom: 0;
    }

    .spmenu ul.sp-link a {
        color: #3f1b03;
        display: block;
        padding: 10px;
        font-weight: 700;
    }

    .spmenu address {
        padding-top: 20px;
        color: #000;
    }

    .spmenu address h3 {
        font-size: 24px;
        color: #000;
    }

    .spmenu address p {
        font-size: 18px;
        text-align: center;
        padding: 10px 0;
    }

    .spmenu .policy.sp {
        padding-bottom: 24px;
        background: linear-gradient(to top, #000, #000 1px, transparent 1px, transparent 2px, #000 2px, #000 4px, transparent 4px, transparent);
    }

    .spmenu .policy {
        margin-top: 20px;
        padding-bottom: 30px;
    }

    .spmenu .policy a {
        font-weight: 700;
    }

    .spmenu .policy li {
        font-size: 12px;
        letter-spacing: -1px;
        padding: 0 0.5em;
        line-height: 1em;
        border-right: 1px solid #000;
    }

    .spmenu .policy li:last-of-type {
        border-right: 0;
    }
}


@media screen and (max-width: 500px) {
    .spmenu address h3 {
        font-size: 20px;
    }

    .spmenu address p {
        font-size: 12px;
    }
}

/* ==========================================
    footer
========================================== */

footer .inner {
    padding-top: 30px;
    background: center center / cover no-repeat url(../img/footbg.jpg);
}

footer .foot-nav li {
    width: 33%;
    text-align: center;
    padding: 50px 0;
}

footer .foot-nav li a {
    display: inline-block;
    text-align: left;
    font-size: 18px;
    width: 12em;
    font-weight: 700;
    padding: 0.5em 0;
    border-bottom: 1px solid #000;
}

footer .foot-nav li a:before {
    content: "\25B6";
    color: #ca1c1c;
    font-size: 0.8em;
    padding-right: 0.2em;
    vertical-align: text-top;
}

footer address {
    text-align: center;
}

footer address h3 {
    font-size: 24px;
    padding: 50px 0 10px;
}

footer address p {
    line-height: 2em;
}

footer address+a {
    color: #fff;
    font-weight: 700;
    display: block;
    margin: 20px auto;
    padding: 0.5em 0;
    text-align: center;
    background: #ca1c1c;
    max-width: 320px;
    border-radius: 10px;
}

footer nav.policy {
    margin-top: 100px;
    padding-bottom: 30px;
}

footer nav.policy a {
    font-weight: 700;
}

footer nav.policy li {
    padding: 0 1.5em;
    line-height: 1em;
    border-right: 1px solid #000;
}

footer nav.policy li:last-of-type {
    border-right: 0;
}

footer p.copy {
    text-align: center;
    background: #fff;
    padding: 1em 0;
}

@media screen and (max-width: 767px) {
    footer .foot-nav ul li {
        width: 50%;
        padding: 20px 0;
    }

    footer .foot-nav li a {
        width: 10em;
        font-size: 14px;
    }

    footer address h3 {
        padding-top: 30px;
    }

    footer nav.policy {
        margin-top: 60px;
    }
}

@media screen and (max-width: 500px) {
    footer address h3 {
        font-size: 18px;
    }

    footer address p,
    footer p.copy {
        font-size: 12px;
    }

    footer nav.policy li {
        font-size: 12px;
        letter-spacing: -1px;
        padding: 0 0.5em;
    }
    
}