body {
    background-color: #000;
    color: #fff;
    font-family: 'Zen Antique', serif;
    padding-top: 70px;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/background.webp');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    /* 透明度を設定 */
    z-index: -1;
    /* 背景として表示 */
}

h1,
h2,
p {
    color: white;
}

.underline-title {
    text-decoration: underline;
    text-decoration-color: white;
}

.hover-underline:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: white;
}

.section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
}

/*header navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    /* 他の要素より前面に表示 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* 必要に応じて影を追加 */
}

.navbar-brand .logo-text {
    position: relative;
    left: -100px;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    font-size: 14px;
}

.navbar-brand.animated .logo-text {
    left: 0;
    opacity: 1;
}

.nav-link {
    font-size: 1rem;
    transition: all 0.2s;
}

.nav-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
}

/*toggle:*/
#customDrawer {
    position: fixed;
    top: 60px;
    bottom: 0;
    right: -300px;
    /* 初期状態で画面外に配置 */
    width: 300px;
    max-width: 90%;
    background-color: rgba(0, 28, 65, 0.9);
    color: white;
    transition: right 0.3s ease-in-out;
    /* スライドインのアニメーション */
    z-index: 1050;
    overflow-y: auto;
}

#customDrawer.open {
    right: 0;
}

.bordered-title {
    -webkit-text-stroke: 1px white;
    color: black;
    font-weight: bold;
    font-size: 20px;
    padding-left: 10px;
    margin-top: 8px;
}

.drawer-link {
    color: white;
    text-decoration: none;
    display: block;
    padding: 6px 16px;
}

.drawer-link:hover {
    text-decoration: underline;
}

.drawer-icons img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.navbar-toggler {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
}

.navbar-toggler-icon {
    width: 20px;
    /* アイコンの幅 */
    height: 20px;
    /* アイコンの高さ */
    margin: 0;

}

.custom-drawer {
    position: fixed;
    top: 60px;
    /* ナビバーの高さ分だけ下に配置 */
    right: -300px;
    /* 初期状態で画面外に配置 */
    width: 300px;
    height: calc(100% - 60px);
    /* ナビバーの高さを引いた残りの高さ */
    background-color: rgba(0, 28, 65, 0.9);
    color: white;
    transition: right 0.3s ease-in-out;
    /* スライドアニメーション */
    z-index: 1050;
    overflow-y: auto;
}

.custom-drawer.open {
    right: 0;
}

.btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* footer */


.footer-font-color {
    color: black;
}

@media (max-width: 650px) {
    .footer-font-color {
        color: black;
        font-size: 12px;
    }
}

.footer-font-color-p {
    color: black;
}

@media (max-width: 650px) {
    .footer-font-color-p {
        color: black;
        font-size: 12px;
    }
}

.list-line {
    white-space: pre-line;
}

.list-line li:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: black;
}

#contact-link:hover,
#contact-link-mobile:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: black;
}