/* ==========================================================================
   footer
   ========================================================================== */
/* Footer
   ----------------------------------------------------------------- */
/* p-footer
   ----------------------------------------------------------------- */
.p-footer
{
    color: #fff;
    background: #006bbb;
}

@media screen and (min-width: 768px)
{
    .p-footer
    {
        padding: 55px 0 45px;
    }
}

@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: 1120px;
        margin-right: auto;
        margin-left: auto;
        padding-right: 20px; 
        padding-left: 20px;
    }
}

@media screen and (min-width: 768px)
{
    .p-footer__grid
    {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;

        padding-bottom: 20px;
    }
}

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

@media screen and (min-width: 768px)
{
    .p-footer__heading
    {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;

        padding: 0 60px; 

        -webkit-box-pack: center; 

            -ms-flex-pack: center; 

                justify-content: center;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }
}

@media screen and (min-width: 1024px)
{
    .p-footer__heading
    {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;

        -webkit-box-align: start;

            -ms-flex-align: start;

                align-items: flex-start;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
    }
}

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

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

@media screen and (min-width: 768px) and (max-width: 1239px)
{
    .p-footer__body
    {
        padding: 45px 85px 25px;  
    }
}

@media screen and (min-width: 1240px)
{
    .p-footer__body
    {
        padding-right: 0;
        padding: 45px 85px 25px;  
    }
}

.p-footer__information
{
    text-align: center;
}

@media screen and (max-width: 767px)
{
    .p-footer__information
    {
        margin-bottom: 1em;
    }
}

@media screen and (min-width: 768px)
{
    .p-footer__information
    {
        font-size: 16px;
        font-size: 1.6rem; 

        margin-bottom: 1em;
    }
}

.p-footer__fax,
.p-footer__address
{
    line-height: 1.8;
}

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

@media screen and (min-width: 768px)
{
    .p-footer__fax
    {
        margin-left: 1em;
    }
}

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

.p-footer__link{
    text-align:center;
    display:block;
    width:fit-content;
    margin:30px auto;
    overflow:hidden;
    color:#fff;
    text-decoration:underline;
    line-height:1.6;
}

@media screen and (min-width: 1240px)
{
    .p-footer__desc
    {
        margin-bottom: 60px;
        text-align: center;
        line-height: 1.6;
    }

}

@media screen and (max-width: 1239px) and (min-width: 768px){
    .p-footer__desc
    {
        margin-bottom: 60px; 
    }
}

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

@media screen and (max-width: 767px)
{
    .p-footer__text
    {
        line-height: 2; 

        margin-bottom: 2em;
    }
}

.p-footer__copyright
{
    line-height: 1;

    text-align: center;
}

@media screen and (max-width: 767px)
{
    .p-footer__copyright
    {
        font-size: 20px;
        font-size: 2.67vw;

        padding: 2em 0;
    }
}

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

/* p-sitemap
   ----------------------------------------------------------------- */
.p-sitemap
{
    color: #fff;
}

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

@media screen and (max-width: 767px)
{
    .p-sitemap__label
    {
        font-size: 36px;
        font-size: 4.8vw;

        margin-top: .75em;
        margin-bottom: .75em;
        margin-bottom: 1em;

        text-align: center;
    }
}

@media screen and (min-width: 768px)
{
    .p-sitemap__label
    {
        font-size: 30px;
        font-size: 3rem;

        margin-bottom: 30px;

        text-align: center;
    }
}

@media screen and (min-width: 1024px)
{
    .p-sitemap__label
    {
        text-align: left;
    }
}

.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;
    }
}

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

        -webkit-box-pack: center;

            -ms-flex-pack: center;

                justify-content: center;
    }
}

.p-sitemap__item
{
    line-height: 1.2; 

    margin-bottom: 1em;
}

@media screen and (max-width: 767px)
{
    .p-sitemap__item
    {
        width: 50%;
        padding-left: 1em;
    }
}

@media screen and (min-width: 768px)
{
    .p-sitemap__item
    {
        margin: 0 1.5em 20px;
    }
}

.p-sitemap__link
{
    text-decoration: none; 

    color: #fff;
}

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

/* p-pageTop
   ----------------------------------------------------------------- */
.p-pageTop
{
    position: fixed;
    z-index: 98; 

    display: block;
    visibility: hidden;

    -webkit-transition: .3s ease;

    transition: .3s ease;

    opacity: 0;
}

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

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

.p-pageTop.is-show
{
    visibility: visible; 

    -webkit-transition: .3s ease; 

    transition: .3s ease;

    opacity: 1;
}

.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;
    top: 40%;
    left: 50%;

    display: block;

    content: '';
    -webkit-transform: translate(-50%) rotate(-45deg);
            transform: translate(-50%) rotate(-45deg); 
    -webkit-transform-origin: center; 
            transform-origin: center;
}

@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;
    }
}
