html,
body {
    overscroll-behavior: none;
}

/* フッター直前の余白用 */
.container-large-bottom {
    margin-top: 48px;
}

/* 全ページ共通 ヘッダーのロゴ・メニューを小さめに統一 */
.header h1 {
    font-size: 1.0rem !important;
}

.header nav ul li a {
    font-size: 0.85rem !important;
}

@media (max-width: 767px) {
    main {
        margin-top: 0 !important;
    }
}

.footer {
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg, #07345c 0%, #005b96 100%);
    color: #fff;
    text-align: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-top: auto;
    position: static;
    left: unset;
    bottom: unset;
    z-index: 100;
}

.section-service {
    display: none;
}

.footer__copyright {
    font-size: 1.0rem;
    word-break: break-all;
    width: 100%;
    text-align: center;
    margin-bottom: 16px;
}

body {
    color: #333;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 2.4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 全ページでmain直下にフッター分の余白を確保 */
.main {
    margin-bottom: 16px;
}

h2 {
    font-size: 2.4rem;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

/*header*/

.header {
    height: 100px;
    width: 100%;
    background: linear-gradient(90deg, #07345c 0%, #005b96 100%);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1100;
}

main {
    margin-top: 120px;
}

.header h1 {
    color: #fff;
    text-align: left;
    margin: 0;
    padding: 0 24px 0 24px;
    font-size: 1.2rem;
    height: 100px;
    display: flex;
    align-items: center;
    line-height: 1;
}

.header h1 a {
    color: #fff;
    text-decoration: none;
    font-family: "Yu Gothic Medium", "游ゴシック Medium", "Yu Gothic", "游ゴシック体", YuGothic, "メイリオ", sans-serif;
    font-weight: 500;
}

/* navigation */

.header-content-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    height: 100px;
    padding-top: 0;
}

.open-button {
    display: none;
}

.close-button {
    display: none;
}

.header nav {
    margin-left: auto;
    padding-right: 24px;
}

.header nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
}

@media (max-width:1160px) {
    .open-button {
        display: block;
        position: absolute;
        right: 10px;
        top: 43px;
        width: 28px;
        height: 28px;
        cursor: pointer;
    }

    .open-button span,
    .open-button span::before,
    .open-button span::after {
        position: absolute;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        background-color: #fff;
        display: block;
        content: "";
    }

    .open-button span::before {
        bottom: -8px;
    }

    .open-button span::after {
        bottom: -16px;
    }

    .close-button {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 24px;
        right: 0;
        width: 40px;
        height: 40px;
        padding: 0;
        background: transparent;
        z-index: 1001;
    }

    .header nav {
        display: none;
        z-index: 1000;
        position: fixed;
        top: 0;
        left: 0;
        background-color: #222 !important;
        width: 232px;
        height: 100%;
        padding-top: 67px;
        box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.4);
    }

    .header nav ul {
        display: block;
        gap: 0;
    }

    .header nav.active {
        display: block !important;
        transform: translateX(0);
    }

    .header nav ul li {
        border-bottom: solid 1px rgba(255, 255, 255, 0.5);
    }

    .header nav ul li:first-child {
        border-top: solid 1px rgba(255, 255, 255, 0.5);
    }

    .header nav ul li a {
        display: block;
        padding: 0 16px;
        text-align: left;
        white-space: nowrap;
        font-weight: 600;
        line-height: 48px;
        text-decoration: none;
        color: #fff;
        font-size: 0.85rem;
    }
}

/* retun to top */
a.scroll-top {
    text-decoration: none;
    color: #333;
    display: none;
}

#scroll-top {
    background-color: #eee;
    opacity: 0.6;
    position: fixed;
    right: 20px;
    bottom: 20px;
    padding: 10px;
}

.welcome-between {
    width: 100%;
    text-align: center;
    font-size: 1.4rem;
    color: #fff !important;
    margin: 20px 0 0 0;
    margin-bottom: 40px;
    font-weight: 600;
}

.section-service__video {
    margin-top: 0;
    margin-bottom: 24px;
}

#spider-status-text .spider-toggle__label {
    color: #222 !important;
}