.offcanvas {
    max-width: 300px;
}

.offcanvas-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-link {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
}

.btn-outline-dark {
    width: 40px;
    height: 40px;
    padding: 0;
    line-height: 40px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

@media (max-width: 991.98px) {
    .offcanvas {
        background-color: #fff;
    }

    .nav-link {
        color: #333;
        border-color: #eee;
    }

    .nav-link:hover {
        color: #000;
    }
}

.nav-link-small {
    font-size: 0.9rem;
}

/* ヘッダー固定用の追加スタイル */
header.navbar {
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bg-dark {
    top: 80px;
    left: 0;
    right: 0;
    z-index: 1029;
    background-color: #402625 !important;
}

/* メインビジュアルの高さ設定 */
#mainCarousel {
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
}

#mainCarousel .carousel-inner,
#mainCarousel .carousel-item {
    height: 100%;
}

#mainCarousel .carousel-item {
    background-color: #000;
}

#mainCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    z-index: 2;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-overlay h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.carousel-overlay .subtitle {
    font-size: 1.2rem;
}

@media (max-width: 767.98px) {

    #mainCarousel,
    #mainCarousel .carousel-item {
        height: 300px;
    }

    .carousel-overlay h2 {
        font-size: 2rem;
    }

    .carousel-overlay .subtitle {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    #mainCarousel .carousel-item img {
        width: 100%;
        max-width: none;
    }
}

/* ボタンのカスタムスタイル */
.btn-custom {
    background-color: #402625;
    color: #fff;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: #5a3a2e;
    color: #fff;
    transform: scale(1.05);
}