/**
 * V-SEP Custom Blocks - フロントエンドスタイル
 */

/* ====================================
   締め切りバッジ
   ==================================== */
.course-deadline {
    display: inline-block;
    background-color: #6b5b7a;
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    margin: 15px 0;
}

/* ====================================
   コース詳細
   ==================================== */
.course-details-wrapper {
    margin: 20px 0;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
}

.course-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.course-detail-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.detail-label {
    flex: 0 0 100px;
    padding: 8px 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    margin-right: 15px;
}

.detail-content {
    flex: 1;
    padding: 8px 0;
    line-height: 1.6;
}

/* ====================================
   申し込みボタン
   ==================================== */
.course-apply-button {
    text-align: center;
    margin: 30px 0;
}

.course-apply-button a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #6b5b7a;
    color: #fff;
    padding: 15px 50px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    min-width: 250px;
}

.course-apply-button a:hover {
    background-color: #5a4a69;
    color: #fff;
}

.course-apply-button .arrow {
    margin-left: 10px;
    font-weight: bold;
}

/* ====================================
   Voiceカード
   ==================================== */
.voice-card-container {
    margin: 20px 0;
}

.voice-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.voice-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 400px;
    margin: 0 auto;
}

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

.voice-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.voice-category {
    display: inline-block;
    background-color: #6b5b7a;
    color: #fff;
    padding: 5px 15px;
    font-size: 12px;
    margin: 15px 20px 10px;
    border-radius: 3px;
}

.voice-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 20px 15px;
    color: #333;
    line-height: 1.5;
}

.voice-organization {
    font-size: 13px;
    color: #666;
    margin: 0 20px 5px;
}

.voice-name {
    font-size: 14px;
    font-weight: 500;
    margin: 0 20px 20px;
    color: #333;
}

/* ====================================
   FAQアイテム
   ==================================== */
.faq-question-box {
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.faq-q,
.faq-a {
    display: flex;
    padding: 20px;
}

.faq-q {
    background: #f8f5fa;
    border-bottom: 1px solid #e8e0ed;
}

.faq-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    background: #6b5b7a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-right: 15px;
}

.faq-icon-a {
    background: #8b7b9a;
}

.faq-question-text {
    flex: 1;
    font-weight: 600;
    font-size: 16px;
    line-height: 40px;
    color: #333;
}

.faq-answer-text {
    flex: 1;
    line-height: 1.8;
    color: #555;
}

/* ====================================
   セクションヘッダー
   ==================================== */
.section-header {
    text-align: center;
    margin: 60px 0 40px;
}

.section-title-container {
    display: inline-block;
}

.section-title-en {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px;
    letter-spacing: 0.05em;
}

.section-title-ja {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.section-divider {
    border: none;
    border-top: 3px solid #6b5b7a;
    width: 80px;
    margin: 20px auto 0;
}

/* ====================================
   Newsカルーセル
   ==================================== */
.news-carousel-container {
    margin: 30px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.news-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
}

.news-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.news-nav {
    background: #6b5b7a;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.news-nav:hover {
    background: #5a4a69;
}

.news-indicators {
    display: flex;
    gap: 8px;
}

/* ====================================
   コンテンツボックス
   ==================================== */
.course-detail-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin: 20px 0;
    overflow: hidden;
}

.course-detail-content {
    padding: 25px 30px;
    line-height: 1.8;
    color: #333;
}

.course-detail-content p {
    margin: 0 0 15px;
}

.course-detail-content p:last-child {
    margin-bottom: 0;
}

.course-detail-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #6b5b7a;
    margin: 20px 0 10px;
}

.course-detail-content h4:first-child {
    margin-top: 0;
}

.course-detail-content ul,
.course-detail-content ol {
    margin: 10px 0;
    padding-left: 25px;
}

.course-detail-content li {
    margin-bottom: 8px;
}
