/* カラーパレット */
:root {
    --gradient-start: #EDD8F6;
    --gradient-end: #AEAAD8;
    --heading-text: #621E6D;
    --heading-bg: #9D43AD;
    --primary: #9D43AD;
}

/* 基本スタイル */
body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    min-height: 100vh;
}

/* ヘッダー */
header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    color: var(--heading-text) !important;
    font-size: 1.2rem;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--primary) !important;
}

/* セクションタイトル */
.section-title {
    color: var(--heading-text);
    font-weight: bold;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

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

/* ヒーローセクション */
.hero-section {
    padding: 4rem 0;
    color: #333;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--heading-text);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--heading-text);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-section img {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

/* セミナーカード */
.seminar-card {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.seminar-card .card-title {
    color: var(--heading-text);
    font-weight: bold;
    margin-bottom: 1rem;
}

/* 講師セクション */
.instructor-section {
    background: rgba(255, 255, 255, 0.7);
}

.instructor-photo-placeholder {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* おすすめセクション */
.recommended-section {
    background: rgba(255, 255, 255, 0.5);
}

.recommended-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 安心ポイントセクション */
.safety-section {
    background: rgba(255, 255, 255, 0.7);
}

.safety-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.safety-item h4 {
    color: var(--heading-text);
    margin-bottom: 1rem;
}

/* FAQセクション */
.faq-section {
    background: rgba(255, 255, 255, 0.5);
}

.accordion-button {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--heading-text);
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background-color: var(--heading-bg);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--heading-bg);
}

/* 参加者の声セクション */
.testimonials-section {
    background: rgba(255, 255, 255, 0.7);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.testimonial-comment {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-name {
    text-align: right;
    color: var(--heading-text);
    font-weight: 500;
}

/* お問い合わせセクション */
.contact-section {
    background: rgba(255, 255, 255, 0.5);
}

/* ボタン */
.btn-primary {
    background-color: var(--heading-bg);
    border-color: var(--heading-bg);
    color: white;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--heading-text);
    border-color: var(--heading-text);
}

/* フッター */
.footer {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer a {
    color: var(--heading-text);
}

.footer a:hover {
    color: var(--heading-bg);
}

/* マークダウンコンテンツ */
.markdown-content {
    line-height: 1.8;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4 {
    color: var(--heading-text);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.markdown-content h1 {
    font-size: 2rem;
    border-bottom: 2px solid var(--heading-bg);
    padding-bottom: 0.5rem;
}

.markdown-content h2 {
    font-size: 1.75rem;
    border-bottom: 1px solid var(--heading-bg);
    padding-bottom: 0.5rem;
}

.markdown-content h3 {
    font-size: 1.5rem;
}

.markdown-content h4 {
    font-size: 1.25rem;
}

.markdown-content ul,
.markdown-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.markdown-content li {
    margin-bottom: 0.5rem;
}

.markdown-content p {
    margin-bottom: 1rem;
}

.markdown-content strong {
    color: var(--heading-text);
    font-weight: bold;
}

.markdown-content em {
    font-style: italic;
}

.markdown-content code {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.markdown-content pre {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.markdown-content pre code {
    background-color: transparent;
    padding: 0;
}

.markdown-content blockquote {
    border-left: 4px solid var(--heading-bg);
    padding-left: 1rem;
    margin-left: 0;
    margin-bottom: 1rem;
    color: #666;
    font-style: italic;
}

.markdown-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.markdown-content table th,
.markdown-content table td {
    border: 1px solid #ddd;
    padding: 0.5rem;
    text-align: left;
}

.markdown-content table th {
    background-color: var(--heading-bg);
    color: white;
    font-weight: bold;
}

.markdown-content a {
    color: var(--heading-bg);
    text-decoration: none;
}

.markdown-content a:hover {
    color: var(--heading-text);
    text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .markdown-content h1 {
        font-size: 1.75rem;
    }
    
    .markdown-content h2 {
        font-size: 1.5rem;
    }
    
    .markdown-content h3 {
        font-size: 1.25rem;
    }
    
    .markdown-content h4 {
        font-size: 1.1rem;
    }
}

