/* =====================================
   共通テンプレート用 CSS
   ===================================== */

.common-header{
    border-top: 2px solid #E0481D;
    background-color: #fff;
}
.common-header__logo{
    display: flex;
    justify-content: flex-end;
    margin-right: 20px;
}
.common-footer{
    border-top: 2px solid #E0481D;
    display: flex;
    justify-content: space-between;
    padding: 8px 40px;
}
.common-footer__nav ul{
    display: flex;
}
.common-footer__nav ul li{
    position: relative;
    padding: 0 8px;
    list-style: none;
}
.common-footer__nav ul li:not(:last-child)::after{
    content: "";
    position: absolute;
    right: 0;
    top: 55%;
    transform: translateY(-50%);
    height: 20px;
    border-left: 1px solid #333;
}
.common-footer__nav ul li a{
    font-size: 14px;
    text-decoration: underline;
}


.smrg-inside {
  border-top: 2px solid #E0481D;
}
    
@media screen and (max-width: 767px) {
    .common-header__logo{
        padding: 7px 0;
    }
    .common-header__logo img{
        display: none;
    }
    .common-header__logo span{
        font-size: 14px;
    }
    .common-footer{
        display: block;
        padding: 20px 25px;
    }
    .common-footer__nav ul{
        display: flex;
        flex-wrap: wrap;
        row-gap: 10px;
    }
    .common-footer__logo{
        display: flex !important;;
        justify-content: center;
    }
    .common-footer__logo img{
        width: 108px;
        height: auto;
        margin-top: 20px;
    }
    .common-footer__copyright{
        margin-top: 10px;
        display: block;
        text-align: center;
        letter-spacing: 1px;
    }
    .common-footer__nav ul li a{
        font-size: 14px;
    }
    .link-icon--out {
        width: 12px;
        height: 12px;
        margin-bottom: -1px;
    }
}

@media screen and (min-width: 768px) {
    .common-header__logo{
        margin-right: 14px;
    }
    .common-header__logo a{
        padding: 5px;
        position: relative;
    }
    .common-header__logo a::after{
        content: "";
        display: block;
        width: 100%;
        height: 100%;
        border: 2px solid transparent;
        position: absolute;
        top: 0;
        left: 0;
        pointer-events: none;
        transition-duration: 300ms;
    }
    .common-header__logo a:hover,
    .common-header__logo a:focus-visible{
        outline: none;
    }
    .common-header__logo a:hover::after,
    .common-header__logo a:focus-visible::after{
        border-color: #757575;
    }
/* d-lg-none で非表示
    .common-header__logo span{
        display: none;
*/
    }
    .common-footer__nav ul li a:hover,
    .common-footer__nav ul li a:focus-visible{
        text-decoration: none;
    }
    .link-icon--out {
        width: 15px;
        height: 15px;
        margin-bottom: -2px;
    }
    .common-footer__logo{
        display: none;
    }
    .common-header.inside{
        display: none;
    }

@media screen and (max-width: 480px) {
    .common-footer__nav ul{
        justify-content: flex-start;
    }
    .common-footer__nav ul li{
        padding: 0 7px;
    }
}

