/* ==========================================================================
   footer
   ========================================================================== */
/* Footer
   ----------------------------------------------------------------- */
/* p-footer
   ----------------------------------------------------------------- */
.p-footer {
    border-top: solid 15px #c3ecfa;
    position: relative;
}

.p-footer:after {
    content: '';
    display: block;
    line-height: 0;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: -15px;
    width: 50%;
    border-bottom: 15px solid #b9f2d4;
}

@media screen and (max-width: 767px) {
    .p-footer__inner {
        padding: 0vw 8vw 0vw 8vw;
    }
}

@media screen and (min-width: 768px) {
    .p-footer__inner {
        max-width: 1240px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (max-width: 767px) {
    .p-footer__grid {
        padding-bottom: 8vw;
    }
}

@media screen and (min-width: 768px) {
    .p-footer__grid {
        padding: 60px 0;
    }
}

@media screen and (min-width: 1024px) {
    .p-footer__grid {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
    }
}

@media screen and (max-width: 767px) {
    .p-footer__heading {
        margin-bottom: 5.33vw;
        padding: 10.67vw 0vw 5.33vw 0vw;
    }
}

@media screen and (min-width: 768px) {
    .p-footer__heading {
        width: 370px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 40px;
    }
}

@media screen and (min-width: 1024px) {
    .p-footer__heading {
        -webkit-box-align: start;
            -ms-flex-align: start;
                align-items: flex-start;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
        margin: 0;
    }
}

@media screen and (max-width: 767px) {
    .p-footer__logo {
        width: 50.66667vw;
        margin: 0vw auto 5.33vw auto;
    }
}

@media screen and (min-width: 768px) {
    .p-footer__logo {
        width: 312px;
    }
}

@media screen and (min-width: 768px) {
    .p-footer__body {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (min-width: 1024px) {
    .p-footer__body {
        margin: 0;
        max-width: none;
        width: 61.25%;
    }
}

.p-footer__copyright {
    color: #fff;
    text-align: center;
    background-color: #000;
}

@media screen and (max-width: 767px) {
    .p-footer__copyright {
        font-size: 20px;
        font-size: 2.67vw;
        padding: 2em 0;
        line-height: 1;
    }
}

@media screen and (min-width: 768px) {
    .p-footer__copyright {
        height: 40px;
        line-height: 40px;
        font-size: 14px;
        font-size: 1.4rem;
    }
}

.p-footer__menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

@media screen and (max-width: 767px) {
    .p-footer__menu {
        margin-bottom: 5.33vw;
    }
}

@media screen and (min-width: 768px) {
    .p-footer__menu {
        margin-top: 40px;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 767px) {
    .p-footer__item {
        -webkit-box-flex: 1;
            -ms-flex: 1;
                flex: 1;
        margin-right: 5.33vw;
    }
}

@media screen and (max-width: 767px) {
    .p-footer__item:last-child {
        margin-right: 0;
    }
}

.p-footer__link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    text-decoration: none;
}

@media screen and (max-width: 767px) {
    .p-footer__link {
        padding: 2vw 0vw 2vw 0vw;
        line-height: 1.2;
        border: .53333vw solid #fff;
    }
}

@media screen and (min-width: 768px) {
    .p-footer__link {
        width: 170px;
        height: 60px;
        font-size: 20px;
        font-size: 2rem;
        border: 2px solid #fff;
    }
}

/* p-summary
   ----------------------------------------------------------------- */
@media screen and (max-width: 767px) {
    .p-summary {
        margin-bottom: 10.67vw;
    }
}

@media screen and (min-width: 768px) {
    .p-summary {
        margin-bottom: 30px;
        max-width: 600px;
    }
}

@media screen and (max-width: 767px) {
    .p-summary__heading {
        border-bottom: .53333vw solid #fff;
        margin-bottom: 4vw;
        padding-bottom: 4vw;
    }
}

@media screen and (min-width: 768px) {
    .p-summary__heading {
        border-bottom: 2px solid #000;
        padding-bottom: 20px;
    }
}

.p-summary__name {
    line-height: 1;
    font-weight: bold;
}

@media screen and (max-width: 767px) {
    .p-summary__name {
        margin-bottom: 1.33vw;
        font-size: 38px;
        font-size: 5.07vw;
    }
}

@media screen and (min-width: 768px) {
    .p-summary__name {
        margin-bottom: 8px;
        font-size: 20px;
        font-size: 2rem;
    }
}

@media screen and (min-width: 768px) {
    .p-summary__information {
        font-size: 16px;
        font-size: 1.6rem;
        line-height: 1.8;
    }
}

.p-summary__number, .p-summary__address {
    display: block;
}

@media screen and (max-width: 767px) {
    .p-summary__number, .p-summary__address {
        display: block;
    }
}

.p-summary__desc {
    line-height: 1.8;
}

@media screen and (min-width: 768px) {
    .p-summary__body {
        padding-top: 20px;
    }
}

.p-summary__text {
    line-height: 1.2;
}

@media screen and (max-width: 767px) {
    .p-summary__text {
        margin-bottom: 2em;
        line-height: 2;
    }
}

/* p-sitemap
   ----------------------------------------------------------------- */
.p-subPage .p-gnav__link {
    color: #000;
}

.p-subPage .p-gnav__menu {
    margin-bottom: 60px;
}

.p-subPage .p-gnav__title {
    color: #5a2f00;
}

.p-sitemap {
    color: #000;
}

.p-sitemap__label {
    line-height: 1;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    line-height: 1;
}

@media screen and (max-width: 767px) {
    .p-sitemap__label {
        margin-top: .75em;
        margin-bottom: .75em;
        margin-bottom: 1em;
        font-size: 36px;
        font-size: 4.8vw;
        text-align: center;
    }
}

@media screen and (min-width: 768px) {
    .p-sitemap__label {
        margin-bottom: 20px;
        font-size: 20px;
        font-size: 2rem;
    }
}

.p-sitemap__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

@media screen and (max-width: 767px) {
    .p-sitemap__list {
        font-size: 30px;
        font-size: 4vw;
        margin-left: 4vw;
    }
}

@media screen and (min-width: 768px) {
    .p-sitemap__list {
        max-width: 850px;
        margin: 0 auto;
    }
}

.p-sitemap__item {
    line-height: 1;
}

@media screen and (max-width: 767px) {
    .p-sitemap__item {
        width: 50%;
        margin-bottom: 4vw;
    }
}

@media screen and (min-width: 768px) {
    .p-sitemap__item {
        margin-bottom: 12px;
        padding-right: 10px;
        margin-right: 10px;
        border-right: 1px solid #fff;
    }
}

@media screen and (min-width: 1024px) {
    .p-sitemap__item:nth-child(6n) {
        border-right: none;
    }
}

@media screen and (max-width: 767px) {
    .p-sitemap__item:nth-child(2n) {
        padding-left: 1em;
    }
}

@media screen and (min-width: 768px) {
    .p-sitemap__item:last-child {
        border-right: none;
    }
}

.p-sitemap__link {
    color: #000;
    text-decoration: none;
}

.p-sitemap__link:hover {
    text-decoration: underline;
}

/* p-pageTop
   ----------------------------------------------------------------- */
.p-pageTop {
    display: block;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    -webkit-transition: .3s ease;
    transition: .3s ease;
    z-index: 98;
}

@media screen and (max-width: 767px) {
    .p-pageTop {
        right: 4vw;
        bottom: 9.33vw;
    }
}

@media screen and (min-width: 768px) {
    .p-pageTop {
        right: 20px;
        bottom: 20px;
    }
}

.p-pageTop.is-show {
    opacity: 1;
    -webkit-transition: .3s ease;
    transition: .3s ease;
    visibility: visible;
}

.p-pageTop__link {
    position: relative;
    display: block;
    border-radius: 50%;
    background: #fff;
}

@media screen and (max-width: 767px) {
    .p-pageTop__link {
        width: 10.66667vw;
        height: 10.66667vw;
    }
}

@media screen and (min-width: 768px) {
    .p-pageTop__link {
        width: 60px;
        height: 60px;
    }
}

.p-pageTop__icon {
    position: absolute;
    content: '';
    display: block;
    top: 40%;
    left: 50%;
    -webkit-transform-origin: center;
            transform-origin: center;
    -webkit-transform: translate(-50%) rotate(-45deg);
            transform: translate(-50%) rotate(-45deg);
}

@media screen and (max-width: 767px) {
    .p-pageTop__icon {
        width: 3.33333vw;
        height: 3.33333vw;
        border-top: 3px solid #006bbb;
        border-right: 3px solid #006bbb;
    }
}

@media screen and (min-width: 768px) {
    .p-pageTop__icon {
        width: 24px;
        height: 24px;
        border-top: 4px solid #006bbb;
        border-right: 4px solid #006bbb;
    }
}
