@charset "utf-8";

/*
======== context ======================================

Last Updated:20210217
Summary:FooterCSS

1.common
2.PC/TB Style
3.SP Style

=======================================================

/* ---------------------    
footer
---------------------- */
/* ---------------------    
common
---------------------- */
#footerBlock .container {
    background-color: #F4FFDF;
    position: relative;
    font-weight: bold;
}

/* footerNaviBlock */
#footerBlock #footerNaviBlock    {
    width: 100%;
}


footer{
    position: absolute;/* ←絶対位置 */
    bottom: 0;
}


/* ---------------------    
PC/TB Style
---------------------- */
@media print, screen and (min-width: 768px) {

    #footerBlock {
        background-color: #F4FFDF;
    }

    .footerForSP {
        display: none;
    }
    #footerBlock {
        margin-top: 40px;
    }

    /* footerTopBlock */
    .footerTopBlock {
        padding: 15px 40px;
    }

    /* footerPageTop */
    .footerPageTop {
        position: relative;
        text-indent: -9999px;
    }
    .footerPageTop a {
        content: "";
        display: block;
        width: 50px;
        height: 50px;
        background: #a62e29;
        border-radius: 50px;
        margin-right: 5px;
        position: absolute;
        right: 0;
        top: -40px;
    }
    .footerPageTop a:after {
        content: "";
        display: inline-block;
        border-right: 12px solid transparent;
        border-bottom: 22px solid #ffffff;
        border-left: 12px solid transparent;
        position: absolute;
        right: 12px;
        top: 12px;
    }

    /* footerAdrBox */
    .footerAdrBox .footerOwnerName  {
        font-size: 16px;
    }

    /* footerLink */
    .footerLink {
        font-size: 14px;
        margin-top: auto;
        padding-bottom: 20px;
        height: 80%;
    }
    
    .footerLink div {
        margin: 0;
    }

    /* footerCopyrightBlock */
    .footerCopyrightBlock   {
        font-size: 12px;
        color: #000000;
        padding: 20px 0; 
        text-align: left !important;
    }
    .footerCopyrightBlockForSP {
        display: none;
    }

}

/* ---------------------    
SP Style
---------------------- */
@media screen and (max-width: 767px) {
    #footerBlock .container {
        padding: 0;
        margin: 0;
        max-width: 100%;
    }

    .footerPageTop {
        display: none;
    }

    .footerTopBlock {
        padding: 15px 10px;
    }

    /* footerLink */
    .footerLink {
        width: 100%;
        font-size: 0.8em;
    }
    .footerLink .webaccessibility {
        display: none;
    }

    /* footerCopyrightBlock */
    .footerCopyrightBlock {
        display: none;
    }
    .footerCopyrightBlockForSP {
        font-size: 10px;
        text-align: center;
    }

    /* footerForSP */
    .footerForSP {
        background-color: rgb(221, 221, 221);
        font-weight: bold;
    }
    .footerLeftBlock  {
        margin: auto 0;
    }
    .footerLeftBlock .footerLogoBox {
        width: 90%;
        margin: 0 auto;
    }
    .footerForSP .footerLogo img {
        width: 80%;
    }
    .footerForSP .footerLinkBox {
        border-left: 1px dotted #000000;
    }
    .footerForSP .footerLinkForSP {
        line-height: 28px;
        font-size: 0.8em;
        padding-left: 20%;
    }
    .footerForSP .footerLinkForSP:nth-child(1) {
        border-bottom: 1px dotted #000000;
    }
    .footerForSP .footerLinkForSP img {
        width: 15%;
        margin-right: 12px;
    }

}