/* Figma: Kumamoto EMF footer */
.footer-link-nav {
    box-sizing: border-box;
    min-height: 44px;
    background: var(--background-color, #fff);
}

.footer-link-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    max-width: 680px;
    min-height: 44px;
    margin: 0 auto;
    padding: 0 100px;
    list-style: none;
}

.footer-link-nav__inner a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-color, #0099c2);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.footer-link-nav__inner a:hover,
.footer-link-nav__inner a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3.2px;
}

.footer-link-nav__inner img {
    display: block;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
}

.siteinfo-area {
    background: var(--background-color, linear-gradient(to right, #0083B3 0%, #0083B3 50%, #0F5B77 50%, #0F5B77 100%));
    /*    background-color: var(--background-color,#2D4E87);
*/
}

@media screen and (max-width:959px) {
    .siteinfo-area {
        background: var(--background-color, linear-gradient(to bottom, #0083B3 0%, #0083B3 50%, #0F5B77 50%, #0F5B77 100%));
    }

}

.siteinfo-area__inner {
    max-width: 1100px;
    margin-inline: auto;
    padding:40px 0px;
}

@media screen and (max-width:959px) {
    .siteinfo-area__inner {
        padding: 40px 0px 40px 10px;
    }
}

.siteinfo-area__add-inner {
    width: 100%;

}

.siteinfo-area__wrap {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    line-height: 32px;
    padding: 4px 0px 0px;
    color: var(--text-color,#ffffff)
}

.siteinfo-area__map {
    background-color: var(--background-color,#ffffff);
    border-radius: 4px;
    text-align: center;
    padding: 0px 12px;
    fill: var(--text-color, #007BA8);
}

    .siteinfo-area__map a {
        color: var(--text-color,#0083B3);
    }

    .siteinfo-area__map a:visited {
        color: var(--text-color,#0083B3);
    }



    .siteinfo-area__map svg {
    position:relative;
    top:5px;
    }

    .siteinfo-area__item-title {
        border-bottom: 1px solid var(--text-color, #ffffff);
        max-width: 500px;
        line-height: 32px;
        font-size: 1.2rem;
        color: var(--text-color,#ffffff)
    }

.siteinfo-area__content-wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.siteinfo-area__item-wrap {
    max-width: 480px;
    width: 100%;
}

@media screen and (max-width:959px) {
    .siteinfo-area__item-wrap {
        padding: 40px 0px 80px;
    }}


.siteinfo-area__items-name {
    max-width: 160px;
    width: 100%;
    text-indent: 16px;
}

.siteinfo-area__items-name--right {
    max-width: 100px;
    width: 100%;
    text-indent: 16px;
}

.siteinfo-area__items-num {
    text-indent: 16px;
}


.cp {
    background: var(--background-color, linear-gradient(to right, #0083B3 0%, #0083B3 50%, #0F5B77 50%, #0F5B77 100%));
    color: var(--text-color, #ffffff);
    text-align: right;
    font-size: 0.9rem;
    padding: 0px 10px 0px 0px;
}

.siteinfo-area {
    min-height: 510px;
    background: var(--background-color, linear-gradient(132deg, #0084b2 0%, #0095a7 33%, #01c0b4 100%));
}

.siteinfo-area__inner {
    box-sizing: border-box;
    max-width: 1100px;
    min-height: 485px;
    margin: 0 auto;
    padding: 76px 0 0;
}

.footer-siteinfo {
    display: grid;
    grid-template-columns: minmax(0, 440px) 612px;
    column-gap: 48px;
    align-items: start;
}

.footer-siteinfo__details {
    box-sizing: border-box;
    padding-top: 10px;
    color: var(--text-color, #fff);
}

.footer-siteinfo__logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 276px;
}

.footer-siteinfo__logo-subtitle {
    display: block;
    flex: 0 0 auto;
    width: 275px;
    height: 13.2048px;
    object-fit: contain;
}

.footer-siteinfo__logo-main {
    display: block;
    flex: 0 0 auto;
    width: 272.9344px;
    height: 32.1952px;
    margin-top: 15px;
    object-fit: contain;
}

/* SVGのpreserveAspectRatio指定によるChromeでの縦伸びを防ぐ */
.footer-siteinfo__logo-subtitle {
    aspect-ratio: 274.986 / 13.2043;
    height: auto;
}

.footer-siteinfo__logo-main {
    aspect-ratio: 272.934 / 32.1944;
    height: auto;
}

.footer-siteinfo__logo span {
    margin-top: 18px;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
}

.footer-siteinfo__logo strong {
    margin-top: 6px;
    font-size: 1.5625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.1;
    /* 団体名は文字単位で折り返さない。 */
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
}

/* Google 翻訳時だけ、長くなる法人名を折り返して地図との重なりを防ぐ。 */
body.translated-ltr .footer-siteinfo__logo strong,
body.translated-rtl .footer-siteinfo__logo strong,
html.translated-ltr .footer-siteinfo__logo strong,
html.translated-rtl .footer-siteinfo__logo strong,
.footer-siteinfo__logo strong:has(font) {
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.footer-siteinfo__address {
    margin-top: 13px;
    font-size: 1.0625rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
    white-space: nowrap;
}

/* Google 翻訳時だけ、長くなる英字住所を折り返して地図との重なりを防ぐ。 */
body.translated-ltr .footer-siteinfo__address,
body.translated-rtl .footer-siteinfo__address,
html.translated-ltr .footer-siteinfo__address,
html.translated-rtl .footer-siteinfo__address,
.footer-siteinfo__address:has(font) {
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.footer-siteinfo__divider {
    width: 442px;
    margin-top: 16px;
    border-top: 1px solid var(--text-color, rgb(255 255 255 / 80%));
}

.footer-siteinfo__tel {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 10px;
    color: var(--text-color, #fff) !important;
    font-family: Arial, sans-serif;
    font-size: 2.0625rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    line-height: 1;
    text-decoration: none;
}

.footer-siteinfo__tel:hover,
.footer-siteinfo__tel:focus-visible {
    color: var(--text-color, #fff) !important;
    text-decoration: underline;
    text-underline-offset: 3.2px;
}

.footer-siteinfo__tel img {
    display: block;
    width: 27px;
    height: 35px;
}

.footer-siteinfo__hours {
    margin: 10px 0 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.footer-siteinfo__map,
.footer-siteinfo__map iframe {
    display: block;
    width: 612px;
    height: 358px;
}

.cp {
    min-height: 25px;
    margin: 0;
    padding: 0 0 8px;
    background: transparent;
    color: var(--text-color, #fff);
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

@media screen and (max-width: 1150px) {
    

    .footer-siteinfo {
        grid-template-columns: 440px minmax(0, 1fr);
        column-gap: 32px;
    }

    .footer-siteinfo__map,
    .footer-siteinfo__map iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 612 / 358;
    }
}

@media screen and (max-width: 1040px) {
    .footer-siteinfo {
        grid-template-columns: 1fr;
        gap: 40px;
        justify-items: center;
    }

    .footer-siteinfo__details {
        width: min(100%, 442px);
        padding-top: 0;
    }

    .footer-siteinfo__map,
    .footer-siteinfo__map iframe {
        max-width: 612px;
    }

    .footer-siteinfo__map {
        justify-self: center;
    }
}

@media screen and (max-width: 1000px) {
    .siteinfo-area {
        padding-bottom: 70px;
    }
}

@media screen and (min-width: 768px) {
    .footer-link-nav__inner {
        justify-content: center;
        gap: 96px;
        max-width: none;
        padding-right: 16px;
        padding-left: 16px;
    }
}

@media screen and (max-width: 767px) {
    .footer-link-nav__inner {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 12px;
        padding: 12px 16px;
    }

    .footer-link-nav__inner a {
        font-size: 1rem;
    }

    .siteinfo-area {
        min-height: 0;
    }

    .siteinfo-area__inner {
        min-height: 0;
        margin-right: 0;
        margin-left: 0;
        padding: 50px 10px 0;
    }

    .footer-siteinfo {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-siteinfo__details {
        padding-top: 10px;
    }

    .footer-siteinfo__divider {
        width: 100%;
        max-width: 372px;
    }

    .footer-siteinfo__address {
        white-space: normal;
    }

    .footer-siteinfo__logo {
        width: 230px;
    }

    html[data-fontsize="default"] .footer-siteinfo__logo strong {
        margin-bottom: 16px;
    }

    .footer-siteinfo__logo-subtitle {
        width: 230px;
        height: 11px;
    }

    .footer-siteinfo__logo-main {
        width: 228px;
        height: 27px;
        margin-top: 12px;
    }

    .footer-siteinfo__logo span {
        margin-top: 14px;
        font-size: 0.9375rem;
    }

    .footer-siteinfo__logo strong {
        font-size: 1.25rem;
    }

    .footer-siteinfo__address {
        font-size: 0.875rem;
    }

    .footer-siteinfo__tel {
        font-size: 1.75rem;
    }

    .footer-siteinfo__tel img {
        width: 23px;
        height: 30px;
    }

    .footer-siteinfo__hours {
        font-size: 0.875rem;
    }

    .cp {
        padding: 15px 10px 16px;
        font-size: 0.5625rem;
    }
}

/* TOPへボタン */
#topbtn {
    position: fixed;
    right: 16px;
    z-index: 1200;
}

html[data-fontsize="fontSizeB"] .footer-siteinfo__address {
    white-space: normal;
    overflow-wrap: anywhere;
}

html[data-fontsize="fontSizeB"] .footer-siteinfo__logo strong {
    margin-bottom: 26px;
}

@media screen and (max-width:1000px) {
    #topbtn {
        display:none;
    }

}

/* 背景色変更モード：フッター */
