/* ==========================================================================
   footer
   ========================================================================== */
/* Footer
   ----------------------------------------------------------------- */
/* p-footer
   ----------------------------------------------------------------- */
.p-footer
{
    position: relative;

    margin-top: -1px; 

    background: #0059a6;
}

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

.p-footer__grid
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    padding: 90px 0 60px; 

    -webkit-box-pack: center; 

        -ms-flex-pack: center; 

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

.p-footer__heading
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    margin-right: 30px; 

    -webkit-box-pack: center; 

        -ms-flex-pack: center; 

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

.p-footer__logo
{
    width: 710px;
}

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

.p-footer__body
{
    color: #fff;
}

@media screen and (min-width: 768px)
{
    .p-footer__body .c-headline__en
    {
        margin-top: 30px;
    }
}

.p-footer__copyright
{
    text-align: center;

    color: #fff;
    background: #0059a6;
}

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

        padding: 2em 0;
    }
}

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

        height: 40px;
    }
}

.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: 15px;
    }
}

@media screen and (max-width: 767px)
{
    .p-footer__item
    {
        margin-right: 5.33vw; 

        -webkit-box-flex: 1; 

            -ms-flex: 1; 

                flex: 1;
    }
}

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

.p-footer__link
{
    font-family: 'KoHo', sans-serif;
    font-weight: 700;

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;

    text-align: center;
    text-decoration: none; 

    color: #fff;

    -webkit-box-align: center;

        -ms-flex-align: center;

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

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

        padding: 2vw 0vw 2vw 0vw;

        border: .53333vw solid #fff;
    }
}

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

        width: 170px;
        height: 60px;

        border: 2px solid #fff;
    }
}

.p-footer__menu
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    width: 750px;
    margin: 60px auto 60px; 

    -webkit-box-pack: justify; 

        -ms-flex-pack: justify; 

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

.p-footer__menuItem
{
    font-size: 22px;
    font-size: 2.2rem;
    line-height: .8;

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;

    width: 160px;
    height: 37px;

    -webkit-transition: all .3s;

    transition: all .3s; 
    text-decoration: none;

    color: #fff;
    border: solid 1px #fff;

    -webkit-box-pack: center;

        -ms-flex-pack: center;

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

.p-footer__menuItem:hover
{
    opacity: 1; 
    color: #0096d1;
    border: solid 1px #fff;
    background: #fff;
}

.p-footer__menuItem.color
{
    color: #0096d1; 
    border: solid 1px #fff;
    background: #fff;
}

.p-footer__menuItem.color:hover
{
    opacity: 1; 
    color: #fff;
    border: solid 1px #fff;
    background: #0096d1;
}

.p-footer__blogmenu
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    width: 960px;
    margin: 60px auto 60px; 

    -webkit-box-pack: justify; 

        -ms-flex-pack: justify; 

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

.p-footer__blogmenuItem
{
    font-size: 22px;
    font-size: 2.2rem;
    line-height: .8;

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;

    width: 160px;
    height: 37px;

    -webkit-transition: all .3s;

    transition: all .3s; 
    text-decoration: none;

    color: #fff;
    border: solid 1px #fff;

    -webkit-box-pack: center;

        -ms-flex-pack: center;

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

.p-footer__blogmenuItem:hover
{
    opacity: 1; 
    color: #0096d1;
    border: solid 1px #fff;
    background: #fff;
}

.p-footer__blogmenuItem.color
{
    color: #0096d1; 
    border: solid 1px #fff;
    background: #fff;
}

.p-footer__blogmenuItem.color:hover
{
    opacity: 1; 
    color: #fff;
    border: solid 1px #fff;
    background: #0096d1;
}

/* 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;
}

@media screen and (min-width: 1280px)
{
    .p-sitemap
    {
        width: 63%;
        padding-left: 40px;
    }
}

.p-sitemap__label
{
    font-family: 'KoHo', sans-serif;
    font-weight: 700;
    line-height: 1;
    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;
    }
}

@media screen and (max-width: 1023px)
{
    .p-sitemap__label
    {
        text-align: center;
    }
}

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

        margin-bottom: 20px;
    }
}

.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
    {
        margin: 0 auto 25px;
    }
}

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

@media screen and (max-width: 1023px)
{
    .p-sitemap__list
    {
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }
}

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

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

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

        text-align: center;
    }
}

@media screen and (min-width: 768px)
{
    .p-sitemap__item
    {
        margin-right: 10px;
        margin-bottom: 12px;
        padding-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 (min-width: 768px)
{
    .p-sitemap__item:last-child
    {
        border-right: none;
    }
}

.p-sitemap__link
{
    text-decoration: none; 

    color: #000;
}

.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: 9.33vw;
    }
}

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

.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: 8vw;
        height: 8vw;
    }
}

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

.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 #0096d1;
        border-right: 3px solid #0096d1;
    }
}

@media screen and (min-width: 768px)
{
    .p-pageTop__icon
    {
        width: 24px;
        height: 24px;

        border-top: 4px solid #0096d1;
        border-right: 4px solid #0096d1;
    }
}
