footer {
    --sns-gap: 13px;
    --sns-fs: 15px;
    --footer-gap: 93px;
    --footer-mb: 66px;
    --footer-bottom: 18px;
    --footer-fs: 13px;

    /*フッターリンク*/
    --nav-footer-col1:1;
    --nav-footer-col2:2;
    --nav-footer-col3:3;
    --nav-footer-col4:4;
    --nav-footer-col5:5;
}

footer .bgc-main {
    padding-top: calc(var(--section-space) + 4px);
    padding-bottom: var(--footer-bottom);
    background-color: var(--main-color);
}
/* == SNS == */
footer .nav.nav--sns {
    max-width: 756px;
    margin-inline: auto;
}
footer .nav.nav--sns li {
    flex: 0 0;
    font-size: var(--sns-fs);
    font-weight: bold;
    line-height: 1;
    text-align: center;
    padding-block: 1rem;
    margin-bottom: 28px;
    position: relative;
    min-width: 105px;
}
footer .nav.nav--sns li:not(:last-child) { 
    border-right: 1px solid #d3d3d3; 
}
footer .nav.nav--sns li a {
    position: static;
    display: flex;
    flex-direction: column;
}
footer .nav.nav--sns li figure {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

/* == footer 青背景から〜 == */
footer .bgc-main .width-limiter > .width-limiter { padding-inline: calc(var(--padding) * 2.25); }
footer .footer-top { margin-bottom: 47px; }

footer .nav.nav--utility {
    display: flex;
    justify-content: center;
    gap: 1em;
    font-size: 1em;
}
footer .nav.nav--utility li {
    max-width: 245px;
    width: 100%;
    height: 153px;
    font-weight: bold;
    background-color: var(--color-white);
    border-radius: 50rem;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
}
footer .nav.nav--utility li > a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    width: 100%;
    height: 100%;
    align-items: center;
}
footer .nav.nav--utility li >  a::before {
    --size: 68px;
    content: '';
    display: flex;
    justify-content: center;
    align-items: center;
    width: var(--size);
    height: var(--size);
    border-radius: 50rem;
    padding-left: 4px;/*位置調整*/
}

/*資料請求*/
footer .nav.nav--utility .request { color: var(--main-color); }
footer .nav.nav--utility .request > a::before {
    color: var(--color-white);
    background-color: var(--main-color);
}
/*無料体験*/
footer .nav.nav--utility .trial { color: var(--color-trial); }
footer .nav.nav--utility .trial > a::before {
    color: var(--color-white);
    background-color: var(--color-trial);
}
/*お問い合わせ*/
footer .nav.nav--utility .contact { color: var(--color-contact); }
footer .nav.nav--utility .contact > a::before {
    color: var(--color-white);
    background-color: var(--color-contact);
}

.footer-bottom {
    gap: var(--footer-gap); 
    margin-bottom: var(--footer-mb);
}
.footer-bottom .footer-info {
    min-width:210px;
}
.footer-bottom .footer-info h2 {
    width: 113px;
    height: 52px;
    margin-bottom: 1rem;
}

.footer-bottom .footer-info p.tel {
    font-family: "Roboto", sans-serif;
    font-size:  1.7em;
    line-height: 1;
    font-weight: 700;
}
.footer-bottom .footer-info p.date {
    font-size: var(--footer-fs);
    font-weight: bold;
    letter-spacing: 0;
}

/* フッターリンク */
footer nav {
    width: 100%;
    font-size: var(--footer-fs);
}
footer nav li {
    line-height:2.4;
}

footer .copyright {
    text-align: center;
    font-size: 0.47em;
}

body > footer a:hover {
    text-decoration: underline;
    text-underline-offset: .5em;
}

footer .nav.nav--utility a:hover { text-decoration: none; }
    
@media (min-width: 920.1px) {
    footer .nav.nav--utility li:hover {
        transform: translate(1px, 1px);
        box-shadow: none;
    }
}
@media (max-width: 920px){
    footer{
      --sns-size: 9vw;        /* 108 */
      --sns-gap: 1.083vw;     /* 13 */
      --sns-fs: 15px;
      --footer-gap: 7.75vw;   /* 93 */
      --footer-mb: 5.5vw;     /* 66 */
      --footer-fs: 14px;
    }

    footer .nav.nav--utility { font-size: 1rem; }

    .footer-bottom { flex-direction: column-reverse; }
}
@media (max-width: 720px) {
    .footer-bottom nav.flex {
        justify-content: flex-start;
    }
    .footer-bottom nav ul {
        min-width:180px;
        flex:1 !important;
    }
}
  
  @media (max-width: 520px){
    footer{
      --sns-size: 15.34vw;    /* 108 × 0.1418 */
      --sns-gap: 1.84vw;      /* 13  × 0.1418 */
      --sns-fs: 14px;
      --footer-gap: var(--gap-1);
      --footer-mb: 9.36vw;    /* 66  × 0.1418 */
      --footer-bottom: 100px;

      /*フッターリンク*/
      --nav-footer-col1:1;
      --nav-footer-col2:1;
      --nav-footer-col3:2;
      --nav-footer-col4:2;
      --nav-footer-col5:2;
    }
    footer .grid.grid-column-n { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); }
    footer .nav.nav--utility {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        z-index: 5;
        gap: 0;
        font-size: 0.7em;
    }
    footer .nav.nav--utility > li {
        height: 70px;
        border-radius: 0;     
    }
    footer .nav.nav--utility li >  a { gap: 0; }
    footer .nav.nav--utility li >  a::before { --size: calc(68px / 2); }
    /* 資料請求 */
    footer .nav.nav--utility .request {
        color: var(--color-white);
        background-color: var(--color-request);
    }
    footer .nav.nav--utility .request > a::before {
        background-color: var(--color-request);
    }
    /* 無料体験 */
    footer .nav.nav--utility .trial {
        color: var(--color-white);
        background-color: var(--color-trial);
    }
    /* お問い合わせ */
    footer .nav.nav--utility .contact {
        color: var(--color-white);
        background-color: var(--color-contact);
    }

    .footer-bottom nav ul {
        width:40%;
        min-width:40%;
    }
 
 
    /* == フッターリンク == */
    footer .bgc-main { padding-top: var(--section-space); }
    .nav.nav--footer {
        --col: 3;
        --row: auto;
    }
}