.footer-menu ul {
  list-style: none; /* ドット（黒丸）を消す場合 */
  padding: 0;
}
.footer-menu a {
  color: #ffffff;          /* 文字色を白に設定 */
  text-decoration: none;   /* 下線を消す（お好みで） */
  transition: opacity 0.2s ease; /* マウスオーバー時の変化を滑らかに */
}
.footer-menu a:hover {
  opacity: 0.7;            /* マウスオーバーで透過70% */
}

#newgroupftr .u-layout {
    margin: 0 auto !important;
    max-width: calc(970px + 8rem) !important;
    padding: 0 4rem 5rem !important;
    text-align: left;
    font: 10px / 1.7 "Zen Kaku Gothic Antique", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Verdana, sans-serif;
}
#newgroupftr .l-footer__head {
    font-weight: 300;
    margin: 6rem 0 2rem;
}
#newgroupftr .l-footer__inner__content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10.5rem;
}
#newgroupftr .l-footer__links:not(:last-child) {
    margin-bottom: 4rem;
}
#newgroupftr .l-footer__links__head {
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid #f0f3f5;
    display: block;
}
#newgroupftr .l-footer__links__sub {
    font-weight: 700;
    font-size: 12px;
    display: inline-block;
    padding: 1.4rem 0;
    position: relative;
}
#newgroupftr .l-footer__links__ul{ list-style: none; padding: 0; margin: 0; }
#newgroupftr .l-footer__links__item:not(:last-child) {
    margin-bottom: 1.4rem;
}
#newgroupftr .l-footer__links__item__anchor {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    display: block;
    text-decoration: none;
    position: relative;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
}
#newgroupftr .l-footer__links__item__anchor::after {
    content: "";
    -webkit-mask: url(https://tomio.co.jp/wp-content/themes/tomio/assets/images/icon-footer-external.svg) no-repeat center center / contain;
    mask: url(https://tomio.co.jp/wp-content/themes/tomio/assets/images/icon-footer-external.svg) no-repeat center center / contain;
    position: absolute;
    right: -2rem;
    top: 0;
    bottom: 0;
    margin: auto 0;
    width: 1rem;
    height: 1rem;
    background-color: #000;
    -webkit-transform: translateX(0.001rem);
    transform: translateX(0.001rem);
    -webkit-transition: -webkit-transform .3s ease;
    transition: -webkit-transform .3s ease;
    transition: transform .3s ease;
    transition: transform .3s ease, -webkit-transform .3s ease;
}
#newgroupftr .l-footer__links__sub.has-icon {
    text-decoration: none;
    color: #000;
}
#newgroupftr .l-footer__links__sub.has-icon::after {
    content: "";
    -webkit-mask-size: 100%;
    mask-size: 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-image: url(https://tomio.co.jp/wp-content/themes/tomio/assets/images/icon-footer-external.svg);
    mask-image: url(https://tomio.co.jp/wp-content/themes/tomio/assets/images/icon-footer-external.svg);
    background-color: #000;
    position: absolute;
    right: -2rem;
    top: 0;
    bottom: 0;
    margin: auto 0;
    width: 1rem;
    height: 1rem;
    -webkit-transform: translateX(0.001rem);
    transform: translateX(0.001rem);
    -webkit-transition: -webkit-transform .3s ease;
    transition: -webkit-transform .3s ease;
    transition: transform .3s ease;
    transition: transform .3s ease, -webkit-transform .3s ease;
}
#newgroupftr .l-footer__links__item__anchor.has-no-icon::after {
    display: none
}

@media screen and (max-width: 970px) {
    #newgroupftr .l-footer__inner__content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media screen and (min-width: 751px) {
    #newgroupftr .u-sp-only {
        display: none !important;
    }
}

@media screen and (max-width: 750px) {
    #newgroupftr .u-layout {
        margin: 0 !important;
        max-width: none !important;
        padding: 0 2rem 1rem !important;
    }
    #newgroupftr .l-footer__head img.sp{ width: 60%; }
        #newgroupftr .l-footer__head {
        margin: 4rem 0 2rem;
    }
        #newgroupftr .l-footer__inner__content {
        display: block;
    }
    #newgroupftr .l-footer__links__head {
        font-size: 18px;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }
        #newgroupftr .l-footer__links__sub {
        padding: 0 0 1rem;
            font-size: 12px;
    }
        #newgroupftr .l-footer__links__ul {
        margin-bottom: 2rem;
    }
        #newgroupftr .l-footer__links__item:not(:last-child) {
        margin-bottom: 1rem;
    }
        #newgroupftr .l-footer__links__item__anchor {
        line-height: 1.7142857143;
            font-size: 14px;
    }

    #newgroupftr .l-footer__links__item__anchor::after {
        -webkit-mask: none;
        mask: none;
        background: url(https://tomio.co.jp/wp-content/themes/tomio/assets/images/icon-footer-external.svg) no-repeat center center / contain;
    }
        #newgroupftr .l-footer__links__sub.has-icon::after {
        bottom: 1rem;
        -webkit-mask: none;
        mask: none;
        background: url(https://tomio.co.jp/wp-content/themes/tomio/assets/images/icon-footer-external.svg) no-repeat center center / contain;
    }

}
#newgroupftr .u-layout.ftrbnrflx {
    margin: 5rem  auto 0 !important;
    max-width: calc(970px + 8rem) !important;
    padding: 0 4rem !important
}
        #newgroupftr .u-layout.ftrbnrflx .c-contact-banner__anchor:hover{ opacity: 0.8; }

@media screen and (max-width: 750px) {
    #newgroupftr .u-layout.ftrbnrflx {
        margin:3rem  auto 0 !important;
        max-width: none !important;
        padding: 0 2rem !important
    }

    #newgroupftr .u-layout.ftrbnrflx.has-no-padding {
        margin: 0 !important;
        padding: 0 !important
    }
}

#newgroupftr .c-contact-banner__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 5rem
}

@media screen and (max-width: 750px) {
    #newgroupftr .c-contact-banner__inner {
        display:block
    }
}

#newgroupftr .c-contact-banner__anchor {
    display: block;
    width: 46rem;
    position: relative
}

@media screen and (max-width: 750px) {
    #newgroupftr .c-contact-banner__anchor {
        width:100%
    }

    #newgroupftr .c-contact-banner__anchor:not(:last-child) {
        margin-bottom: 2rem
    }
}

#newgroupftr .c-contact-banner__anchor__image {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}
