body {
    background-color: black;
    color: white;
    overflow-x: hidden;
    font-family: 'Zen Antique', serif;
}

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;
    /* 背景として表示 */
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.main-toppage {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main-text {
    color: white;
    font-weight: bold;
    font-size: 16px;
}

/* デバイス幅に応じてテキストサイズ＆高さ変更 */
@media (min-width: 450px) {
    .main-text {
        font-size: 24px;
    }
}

@media (min-width: 650px) {
    .main-toppage {
        height: 700px;
    }

    .main-text {
        font-size: 48px;
    }
}

.vision-section {
    width: 100%;
    height: 600px;
    background-image: url('assets/Vision.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 20px;
    color: white;
    position: relative;
    margin-top: 100px;
}

.vision-text-container {
    padding-left: 20px;
}

.vision-title {
    font-size: 16px;
    font-weight: bold;
}

.vision-subtitle {
    font-size: 12px;
    font-weight: bold;
    margin-top: 20px;
}

.vision-link {
    display: inline-block;
    margin-top: 20px;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}

.vision-link:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

@media (min-width: 650px) {
    .vision-text-container {
        padding-left: 60px;
    }
}

@media (min-width: 700px) {
    .vision-title {
        font-size: 32px;
    }

    .vision-subtitle {
        font-size: 24px;
    }

    .vision-link {
        font-size: 24px;
    }
}

.business-section {
    width: 100%;
    height: 600px;
    background-image: url('assets/Buisiness.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
    color: white;
    position: relative;
    margin-top: 100px;
}

.business-text-container {
    padding-right: 20px;
}

.business-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}

.business-subtitle {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 20px;
}

.business-link {
    display: inline-block;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}

.business-link:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

@media (min-width: 650px) {
    .business-text-container {
        padding-right: 60px;
    }
}

@media (min-width: 700px) {
    .business-title {
        font-size: 32px;
    }

    .business-subtitle {
        font-size: 24px;
    }

    .business-link {
        font-size: 24px;
    }
}

.employer-section {
    width: 100%;
    height: 600px;
    background-image: url('assets/Employer.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
    color: white;
    position: relative;
    margin-top: 100px;
}

.employer-text-container {
    padding-left: 20px;
}

.employer-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}

.employer-subtitle {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 20px;
}

.employer-link {
    display: inline-block;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}

.employer-link:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

@media (min-width: 650px) {
    .employer-text-container {
        padding-left: 60px;
    }
}

@media (min-width: 700px) {
    .employer-title {
        font-size: 32px;
    }

    .employer-subtitle {
        font-size: 24px;
    }

    .employer-link {
        font-size: 24px;
    }
}

.recruit-section {
    width: 100%;
    height: 650px;
    background-image: url('assets/Recruit.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    margin-top: 100px;
}

.recruit-card {
    width: 85%;
    max-width: 800px;
    background-color: rgba(255, 255, 255, 0.7);
    text-align: left;
}

.recruit-title {
    font-size: 16px;
    font-weight: 500;
    color: black;
}

.recruit-description {
    font-size: 10px;
    font-weight: 200;
    color: #343434;
    margin-top: 12px;
    margin-bottom: 12px;
}

.recruit-link {
    display: inline-block;
    color: black;
    font-size: 10px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}

.recruit-link:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

@media (min-width: 700px) {
    .recruit-title {
        font-size: 32px;
    }

    .recruit-description {
        font-size: 18px;
    }

    .recruit-link {
        font-size: 18px;
    }
}










.bordered-text {
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

.menu-link {
    display: block;
    margin: 10px 0;
    color: white;
    font-size: 18px;
    text-decoration: none;
}

.menu-link:hover {
    text-decoration: underline;
}

/* navbar */

/* ホバー時に下線を表示 */
.custom-hover:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.navbar-toggler {
    display: flex;
    justify-content: center;
    align-items: center;
}

.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;
}

.bordered-text {
    font-weight: bold;
    font-size: 20px;
    -webkit-text-stroke: 1px white;
    color: transparent;
}

.drawer-links a {
    color: white;
    display: block;
    margin: 5px 0;
}

.social-icons img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

/* フッターのスタイル */
.footer {
    background-color: white;
    border-top: 2px solid black;
    padding: 20px 0 100px;
    margin-top: 100px;

}

.footer-title {
    font-size: 28px;
    text-decoration: underline;
    color: black;
}

.footer-link {
    font-size: 16px;
    color: black;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}