body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.8;
}

h1, h2, h3, .navbar-brand {
    font-family: 'Noto Serif JP', serif;
}

/* ヒーローセクションのコンテナ */
.hero-section {
    position: relative;
    height: 70vh; /* 高さは自由に調整可能 */
    width: 100%;
    overflow: hidden;
}

/* スライドショー全体のベース */
.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* 各スライドの設定 */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: fadeAnimation 15s infinite; /* 15秒で1ループ */
}

/* 暗めのオーバーレイ（文字を読みやすくするため） */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 黒の50%透過 */
}

/* 各スライドのディレイ設定（重ならないように調整） */
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }

/* フェードアニメーションの定義 */
@keyframes fadeAnimation {
    0% { opacity: 0; }
    10% { opacity: 1; }  /* 10%の地点で完全に表示 */
    33% { opacity: 1; }  /* 33%まで表示を維持 */
    43% { opacity: 0; }  /* 次のスライドへ消えていく */
    100% { opacity: 0; }
}

/* テキストコンテンツをスライドの上に配置 */
.hero-content {
    position: relative;
    z-index: 2; /* スライド(z-index: 1)より上 */
    height: 100%;
    width: 100%;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #8E354A;
}

.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.btn-primary {
    background-color: #8E354A;
    border: none;
}

.btn-primary:hover {
    background-color: #A6445D;
}

/* お問い合わせボタンのホバー設定 */
.nav-link.btn-outline-light:hover {
    color: #1a1a1a !important; /* ホバー時にテキストを背景色（ダーク）に変更 */
    background-color: #f8f9fa; /* ホバー時の背景を少し明るい白に */
    border-color: #f8f9fa;
}

/* モバイル表示時の微調整 */
@media (max-width: 991.98px) {
    .nav-link.btn-outline-light {
        margin-top: 10px;
        display: inline-block; /* モバイルメニュー内でボタンらしく表示 */
    }
}

.bg-dark {
    background-color: #1a1a1a !important;
}

.table-primary {
    --bs-table-bg: rgba(142, 53, 74, 0.1); /* 茜色の薄い背景 */
    color: #A6445D;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
    height: 100%;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-img {
    width: 100%;
    height: 220px; /* Base height for all images */
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-color: #eee;
}

.img-container img {
    border: 1px solid #ddd;
}