/* 憲フェス カスタムスタイル */

/* 共通スタイル */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'BIZ UDPGothic', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
}

/* ナビゲーション */
.navbar-brand {
    font-size: 1.5rem;
}

/* ヒーローセクション */
.hero-section {
    padding: 100px 0;
}

/* ヒーローセクション カスタム配色 */
.hero-custom {
    background-color: #F5F6F7 !important;
}

.hero-title {
    color: #1F4F59 !important;
    position: relative;
}

/* CTAアクセント線 */
.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: #C89B3C;
}

.hero-subtitle {
    color: #222222 !important;
}

/* CTAボタン */
.hero-btn {
    background-color: #1F4F59 !important;
    border-color: #1F4F59 !important;
    color: white !important;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background-color: #164048 !important;
    border-color: #164048 !important;
    transform: translateY(-2px);
}

.hero-section h1 {
    color: #1F4F59;
}

/* ヒーロー画像 */
.hero-image {
    border-radius: 12px;
    max-width: 100%;
    height: auto;
}

/* セクション共通 */
section {
    min-height: 400px;
}

/* 段落の字下げ（ヒーローセクション以外） */
section:not(.hero-section) p:not(.lead) {
    text-indent: 1em;
}

/* カードセクション */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* クリッカブルカード */
.clickable-card {
    cursor: pointer;
}

.clickable-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    border-radius: 0.375rem 0.375rem 0 0;
}

.card-title {
    color: #1F4F59;
    font-weight: bold;
}

.btn-outline-primary {
    border-color: #1F4F59;
    color: #1F4F59;
}

.btn-outline-primary:hover {
    background-color: #1F4F59;
    border-color: #1F4F59;
}

/* 問い合わせカード配色 */
.contact-card-main {
    background: linear-gradient(135deg, #1F4F59 0%, #2A5F6A 100%);
    color: white;
}

.contact-card-main .card-title {
    color: white;
    font-weight: bold;
}

.contact-card-main .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.contact-card-accent {
    background-color: #C89B3C;
    color: white;
}

.contact-card-accent .card-title {
    color: white;
    font-weight: bold;
}

.contact-card-accent .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.contact-card-sub {
    background: linear-gradient(135deg, #F5F6F7 0%, #E8E9EA 100%);
    color: #222222;
}

.contact-card-sub .card-title {
    color: #1F4F59;
    font-weight: bold;
}

.contact-card-main:hover,
.contact-card-accent:hover,
.contact-card-sub:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

/* ボタン */
.btn-primary {
    background-color: #1976d2;
    border-color: #1976d2;
}

.btn-primary:hover {
    background-color: #0d47a1;
    border-color: #0d47a1;
}

/* フッター */
footer {
    margin-top: 50px;
}

footer a:hover {
    text-decoration: underline !important;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}