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;
    /* 背景として表示 */
}

.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);
}

.recruit-section {
    background-image: url('assets/Recruit/Recruit.webp');
    background-size: cover;
    background-position: center;
    height: 600px;
    position: relative;
}

.recruit-overlay {
    background-color: rgba(255, 255, 255, 0.8);
    height: 500px;
    margin: auto;
    padding: 30px;
}

.hover-underline:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: black;
}

@media (max-width: 650px) {
    .recruit-text {
        color: black;
        font-size: 12px;
    }
}

@media (min-width: 651px) {
    .recruit-text {
        color: black;
        font-size: 16px;
    }
}

.custom-font-size {
    font-size: 14px;
    /* 必要に応じて値を調整 */
}

.col-md-6 {
    display: flex;
    justify-content: center;
    /* 水平方向の中央揃え */
    align-items: center;
    /* 垂直方向の中央揃え */
    text-align: center;
    /* テキストを中央揃え */
}

.hover-underline:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: white;
}

.case-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.corporation-text {
    font-weight: 200;
    font-size: 20px;
    padding-left: 8px;
}

@media (max-width: 1004px) {
    .corporation-text {
        font-size: 14px;
        text-align: left;
    }
}

.google-map-img {
    object-fit: cover;
    width: 100%;
}

.content-card {
    width: 230px;
    height: 400px;
    background-color: rgba(233, 233, 233, 0.6);
    color: white;
    text-align: center;
    padding: 10px;
    transition: transform 0.2s;
}

.content-card img {
    width: 180px;
    height: 180px;
    object-fit: cover;
}

.content-card:hover {
    transform: scale(1.02);
}

.hover-underline:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.section-number {
    font-weight: 900;
}

.section-title-jp {
    font-size: 0.8rem;
}

.section-title-en {
    font-weight: 400;
}

.headinterview {
    background: url('assets/headinterview/Frame9.webp') no-repeat center center / cover;
    height: 500px;
    display: flex;
    justify-content: flex-end;
    align-items: start;
    padding: 1rem;
}

.headinterview-text {
    max-width: 600px;
    font-weight: 100;
    white-space: line;
    font-size: 1.1rem;
    /* デフォルトのフォントサイズ */
}

@media (max-width: 768px) {
    .headinterview-text {
        font-size: 0.9rem;
        /* タブレットサイズ以下の場合 */
    }
}

@media (max-width: 480px) {
    .headinterview-text {
        font-size: 0.7rem;
        /* スマートフォンサイズの場合 */
    }
}

.section-block {
    margin-top: 60px;
    margin-bottom: 20px;
}


.top-section {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 100vh;
    color: white;
    text-align: center;
}

.main-title {
    font-size: 3rem;
    font-weight: bold;
    margin-top: 10%;
    transition: all 0.3s;
    opacity: 0.9;
}

.main-title:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.service-icon {
    transition: transform 0.3s;
}

.service-icon:hover {
    transform: scale(1.1);
}

.service-label {
    font-weight: bold;
    color: white;
    margin-top: 0.5rem;
}

.sns-icons img {
    width: 32px;
    margin: 0 10px;
}

@media (max-width: 650px) {
    .main-title {
        font-size: 2rem;
    }
}

/*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;
    }
}

.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;
}

.map-mobile {
    width: 90%;
    /* 横幅を親要素に合わせる */
    height: 400px;
    /* 高さを固定値に設定 */
    margin: 0 auto 20px;
    /* 中央揃え */
    border-radius: 8px;
    /* 角を丸める（任意） */
}