/* ボタンを包むコンテナ（位置の基準） */
.pagetop-container {
    position: relative;
    width: 100%;
    height: 0;
    max-width: 100%;
    margin: 0 auto;
}

/* 横書きのボタン設定 */
.pagetop-horizontal {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    top: 0;
    z-index: 10;
    display: inline-block;
    background-color: #fff;
    color: #213244;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 30px; 
    border: 1px solid #213244;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    white-space: nowrap;
    transition: all 0.3s;
    width: 30%;
    text-align: center;
}

.pagetop-horizontal:hover {
    background-color: #f8f8f8;
    transform: translateX(-50%) translateY(-30px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* スマホ表示の調整 */
@media screen and (max-width: 890px) {
    .pagetop-horizontal {
        left: 50%;
        font-size: 12px;
        padding: 8px 20px;
        width: 90%;
    }
}
/*フッターサイトマップ*/
footer ul.footer_sitemap {
    width: 100%;
    display: flex;
    align-content: flex-start;
    justify-content: space-between;
    margin: auto;
    padding: 50px;
    min-height: 500px;
}
footer ul.footer_sitemap li{
    margin-right: 10px;
}
footer ul.footer_sitemap a{
    color: #fff;
    display: block;
    width: 100%;
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: 0.05em;
}
footer ul.footer_sitemap .sitemap-title h3 a{
    font-size: clamp(18px,2.5vw,22px);
}
footer ul.footer_sitemap a.links-child{
    font-size: 85%;
    font-weight: normal;
    line-height: 1.5em;
    margin-bottom: 8px;
    text-indent: -0.8em;
    padding-left: 0.8em;
}
footer ul.footer_sitemap a.links-child:before{
    content: "-";
    font-size: 100%;
    color: inherit;
    margin-right: 5px;
}
footer ul.footer_sitemap a.links-child:last-child{
    margin-bottom: 20px;
}
footer ul.footer_sitemap li h3 a img {
    max-width: 150px;
}

/*著作権表記*/
footer ul.footer_copy {
    width: 100%;
    padding: 30px 0;
    text-align: center;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
footer ul.footer_copy li {
    height: 16px;
    padding-right: 15px;
    border-right: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
footer ul.footer_copy li:last-child {
    padding-right: none;
    margin-right: none;
    border-right: none;
}
footer ul.footer_copy li a,footer ul.footer_copy li p {
    font-size: clamp(14px,2.5vw,16px);
    color: #5c636b;
}
footer ul.footer_copy li a img {
    max-width: 60px;
}

@media only screen and (max-width: 890px) {
    footer ul.footer_sitemap{
        display: block;
        padding: 50px 20px;
    }
    li.sitemap-title:first-child{
        width: 100%;
    }
    .sitemap-links > a:before{
        content: "●";
        font-size: 85%;
        margin-right: 4px;
        color: #1bb299;
    }
}
/*SP版 最下部コピーライト*/
@media only screen and (max-width: 890px) {
    footer ul.footer_copy {
        padding: 10px 0 30px;
    }
    footer ul.footer_copy li {
        padding-right: 0;
        margin-right: 0;
        padding-bottom: 30px;
        border-right: none;
        text-align: center;
        justify-content: center;
        width: 100%;
    }
    footer ul.footer_copy li a img {
    padding-top: 30px;
  }
 footer ul.footer_copy li a img {
    padding-top: 30px;
  }
}