#siteinfo {
    width: 100%;
    background-color: var(--background-color,#ededed);
}

#toiawase {
    display: flex;
    min-height: 410px;
}

.toiawase_left,
.toiawase_right {
    box-sizing: border-box;
}

.toiawase_left {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    padding: 44px 0px 34px;
}

.toiawase_right {
    flex: 0 0 42%;
    max-width: 890px;
    padding: 44px max(40px, calc((95vw - 1080px) / 2 + 24px)) 34px 32px;
    background: var(--background-color, linear-gradient(180deg, #fed95f 0%, #f8cf4d 100%));
}

.occm-footer__left-inner {
    width: 100%;
    max-width: 660px;
    /* 大画面では 340px の左オフセット、1200px 以下では自動的に縮小して 0 に */
    margin-left: clamp(0px, calc(58vw - 680px), 340px);
}

.occm-footer__heading {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 28px;
}

.occm-footer__logo {
    display: block;
    width: min(100%, 316px);
    height: auto;
    background-color: #ededed;
    border: solid 1px var(--text-color, #ededed);
}

.occm-footer__status {
    display: block;
    width: 160px;
    height: 63px;
    object-fit: contain;
    flex: 0 0 auto;
}

/* フッター見出し内の開館状態ラッパー */
.occm-footer__heading .occm-status-wrap {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 185px;
    min-height: 88px;
    background-color: #ffffff;
    padding: 13px;
    box-sizing: border-box;
    margin-right: 0;
    margin-top: 0;
}

.occm-footer__heading .occm-status-text {
    font-size: 0.7rem;
    color: var(--text-color,#333);
    text-align: center;
    margin-top: 4px;
    line-height: 1.3;
}

.occm-footer__info-list {
    margin: 30px 0 0;
}

.occm-footer__info-row {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 14px;
    align-items: center;
    margin-bottom: 8px;
}

.occm-footer__info-row dt,
.occm-footer__info-row dd {
    margin: 0;
}

.occm-footer__info-row dt {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 4px 8px;
    background-color: var(--background-color,#ffffff);
    color: var(--text-color,#1e1e1e);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
}

.occm-footer__info-row dd {
    color: var(--text-color,#1e1e1e);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.55;
}

.occm-footer__tel,
.occm-footer__tel:visited {
    color: inherit !important;
    text-decoration: none;
}

.occm-footer__mainsite {
    margin-top: 20px;
}

.occm-footer__mainsite-link,
.occm-footer__mainsite-link:visited {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px 11px 18px;
    border-radius: 999px;
    background-color: var(--background-color,#ffffff);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.14);
    color: var(--text-color,#1e1e1e);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.occm-footer__mainsite-link::after {
    content: "";
    width: 24px;
    height: 24px;
    background-image: url("../../images/occm/arrow.svg");
    background-repeat: no-repeat;
}

.occm-footer__right-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    height: 100%;
    min-height: 332px;
}

.occm-footer__links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
    width: 100%;
    max-width: 220px;
    margin: 0;
    padding: 28px 0 0;
    list-style: none;
    text-align: right;
}

.occm-footer__links li {
    width: 100%;
}

.occm-footer__link,
.occm-footer__link:visited {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-right: 26px;
    color: var(--text-color,#111111)!important;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.occm-footer__link::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 14px;
    height: 14px;
    background-image: url("../../images/occm/arrow_right.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
    transform: translateY(-50%);
}

.occm-footer__link--disabled {
    opacity: 0.8;
}

.occm-footer__sns-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    width: 100%;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.occm-footer__sns-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.occm-footer__sns-icon {
    display: block;
    width: 36px;
    height: 36px;
}

.occm-footer__sns-icon--line,
.occm-footer__sns-icon--youtube {
    width: 38px;
}

#cp {
    background-color: var(--background-color,#ffffff);
}

/* 1000pxで#cpはmargin-bottom: 50px;height: 90px;padding-top: 30px;padding-bottom: 30px;のスタイルを適用 */
@media screen and (max-width: 1000px) {
    #cp {
        margin-bottom: 50px;
        height: 90px;
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

.occm-footer__copyright-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 3px 18px 5px;
}

#cp p {
    margin: 0;
    text-align: right;
    color: var(--text-color,#111111);
    font-size: 0.75rem;
    line-height: 1.4;
}

.btn_pagetop {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 999;
}

.btn_pagetop img {
    display: block;
    width: 64px;
    height: auto;
    transition: transform 0.25s ease;
}

.btn_pagetop img:hover {
    transform: translateY(-4px);
}

@media screen and (min-width: 901px) {
    .occm-footer__tel {
        pointer-events: none;
    }
}

@media screen and (max-width: 1180px) {
    .toiawase_left {
        padding: 40px 28px 32px;
    }

    .toiawase_right {
        flex-basis: 40%;
        padding: 40px max(32px, calc((100vw - 1000px) / 2 + 20px)) 32px 28px;
    }

    .occm-footer__left-inner {
        max-width: 600px;
    }

    .occm-footer__right-inner {
        max-width: 332px;
    }

    .occm-footer__link,
    .occm-footer__link:visited {
        font-size: 1rem;
    }
}

@media screen and (max-width: 900px) {
    #toiawase {
        display: block;
    }

    .toiawase_left,
    .toiawase_right {
        width: 100%;
        max-width: none;
    }

    .toiawase_left {
        padding: 32px 20px 28px;
        display: block;
    }

    .toiawase_right {
        padding: 32px 20px 28px;
    }

    .occm-footer__left-inner {
        max-width: none;
        margin-left: 0;
    }

    .occm-footer__heading {
        display: block;
    }

    .occm-footer__heading .occm-status-wrap {
        width: 185px;
        min-height: 88px;
        margin-top: 16px;
    }

    .occm-footer__status {
        width: 100%;
        height: 76px;
    }

    .occm-footer__info-list {
        margin-top: 24px;
    }

    .occm-footer__info-row {
        grid-template-columns: 66px 1fr;
        gap: 10px;
        align-items: start;
    }

    .occm-footer__right-inner {
        min-height: 0;
        gap: 28px;
        max-width: 220px;
        margin-left: 0;
        align-items: flex-start;
    }

    .occm-footer__links {
        width: 100%;
        padding-top: 0;
        gap: 16px;
        max-width: 220px;
        align-items: flex-start;
        text-align: left;
    }

    .occm-footer__link,
    .occm-footer__link:visited {
        display: flex;
        width: 100%;
        font-size: 1.0625rem;
    }

    .occm-footer__sns-list {
        /* flex-wrap: wrap; */
        gap: 16px;
        justify-content: flex-start;
        margin-top: 0;
    }

    .occm-footer__copyright-inner {
        padding: 8px 14px 10px;
    }

    #cp p {
        text-align: center;
    }
}

@media screen and (max-width: 600px) {
    .toiawase_left {
        padding: 28px 16px 24px;
    }

    .toiawase_right {
        padding: 28px 16px 24px;
    }

    .occm-footer__logo {
        width: 100%;
        max-width: 286px;
    }

    .occm-footer__info-row dt {
        font-size: 0.75rem;
    }

    .occm-footer__info-row dd {
        font-size: 0.75rem;
    }

    .occm-footer__mainsite-link,
    .occm-footer__mainsite-link:visited {
        font-size: 0.875rem;
    }

    .occm-footer__link,
    .occm-footer__link:visited {
        font-size: 1rem;
    }

    .occm-footer__sns-icon {
        width: 32px;
        height: 32px;
    }

    .occm-footer__sns-icon--line,
    .occm-footer__sns-icon--youtube {
        width: 34px;
    }

    #topbtn {
        display: none;
    }
}

.onsei_SP {
    display: flex;
}

    .onsei_SP .easyJapaneseVoiceReadingButton {
        position: absolute;
        top: 317px;
        left: 50%;
        transform: translateX(-50%);
        right: unset;
    }

    .onsei_SP .yasashii_wp:hover {
        border: 1px solid var(--text-color, #ffd55b);
        background-color: var(--background-color, #FFDA61);
    }

#areabtm_sagasu {
    margin-top:40px !important;
}

#areabtm_visualaids {
    margin-top:20px !important;
}

#areabtm_languages {
    margin-top:20px !important;
}


/* フッターメニュー内トップボタンここから */
/* 親要素：ボタンを画面中央に配置 */
.footer-btn-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    margin-bottom: 20px;
}

/* ボタン本体 */
.footer-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 50px;
    background-color: var(--background-color,#fff);
    color: var(--text-color,#43290F) !important;
    border: 2px solid var(--text-color,#cccccc);
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    box-sizing: border-box;
    transition: opacity 0.2s;
}

    /* 左側の「＞」ビュレット */
    .footer-top-btn::before {
        content: "‹";
        color: #D77619;
        font-size: 26px;
        left: -16px;
        position: relative;
    }

/* フッターメニュー内トップボタン ここまで*/