/* フォント設定 */
body {
    font-family: "Noto Sans JP", "Meiryo", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    line-height: 1.7;
    color: #333;
    padding-top: 76px;
}

/* ヘッダー */
.navbar {
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    color: #6B5B47 !important;
}

.nav-link {
    color: #6B5B47 !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #A0826D !important;
}

/* ヒーローセクション */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #D4C4A8 0%, #B8A082 100%);
    background-image: url('./images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(50, 45, 35, 0.75);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    text-align: center;
    margin: 0 auto;
    max-width: 600px;
    line-height: 0.85;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-section h1 .hero-line {
    display: block;
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
    line-height: 0.9;
    margin-bottom: -0.3em;
}

.hero-section h1 .hero-line:last-child {
    margin-bottom: 0;
}

.hero-section p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.2s ease;
}

.hero-section .btn {
    animation: fadeInUp 1.4s ease;
    min-height: 44px;
    font-weight: 600;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* セクション共通 */
section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #6B5B47;
    margin-bottom: 3rem;
}

h3 {
    color: #8B7355;
    font-weight: 600;
}

/* カード */
.card {
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.badge {
    font-size: 0.85rem;
    padding: 0.5em 0.75em;
    font-weight: 500;
}

/* テーブル */
.table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.table th {
    background-color: #F7F3EA;
    font-weight: 600;
    width: 30%;
    vertical-align: middle;
    padding: 1rem;
}

.table td {
    padding: 1rem;
    vertical-align: middle;
}

.table a {
    color: #A0826D;
    text-decoration: none;
    transition: color 0.3s ease;
}

.table a:hover {
    color: #8B7355;
    text-decoration: underline;
}

/* アクセスセクション */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    border-radius: 12px;
}

/* お問い合わせセクション */
#contact .card {
    border-radius: 12px;
}

#contact a {
    color: #A0826D;
    text-decoration: none;
    transition: color 0.3s ease;
}

#contact a:hover {
    color: #8B7355;
    text-decoration: underline;
}

/* フッター */
footer {
    background-color: #6B5B47 !important;
}

footer a {
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
}

/* ボタン */
.btn-primary {
    background-color: #A0826D;
    border-color: #A0826D;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #8B7355;
    border-color: #8B7355;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(160, 130, 109, 0.4);
}

.btn-outline-primary {
    color: #A0826D;
    border-color: #A0826D;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #A0826D;
    border-color: #A0826D;
    transform: translateY(-2px);
}

/* レスポンシブ */
@media (max-width: 768px) {
    body {
        padding-top: 56px;
    }

    .hero-section {
        background-image: url('./images/hero2.jpg');
        background-attachment: scroll;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .card-img-top {
        height: 200px;
    }

    .table th,
    .table td {
        display: block;
        width: 100%;
    }

    .table th {
        border-bottom: none;
        padding-bottom: 0.5rem;
    }

    .table td {
        border-top: none;
        padding-top: 0.5rem;
        padding-bottom: 1rem;
    }

    section {
        padding: 60px 0;
    }
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}

/* アクセシビリティ */
:focus {
    outline: 2px solid #A0826D;
    outline-offset: 2px;
}

/* 背景色 */
.bg-light {
    background-color: #F5F1E8 !important;
}

