/* ヒーローセクションの背景画像 */
.hero {
    position: relative;
    background-image: linear-gradient(135deg, rgba(232, 245, 233, 0.95) 0%, rgba(200, 230, 201, 0.9) 50%, rgba(165, 214, 167, 0.85) 100%), url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0 100px;
    overflow: hidden;
}

/* ===========================================
   新しいスケジュールレイアウト
   =========================================== */
.schedule-sessions {
    max-width: 1400px;
    margin: 0 auto;
}

.session-day {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    border-top: 6px solid #66bb6a;
    position: relative;
    overflow: hidden;
}

/* 終了したセッションの網掛け */
.session-ended::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(128, 128, 128, 0.3) !important;
    border-radius: 20px !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

.session-ended .session-day-header,
.session-ended .speakers-row {
    position: relative;
    z-index: auto;
}

.session-day-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid #e8f5e9;
    flex-wrap: wrap;
}

.session-date {
    background: #ff9800;
    color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    text-align: center;
    min-width: 180px;
}

.date-large {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 5px;
}

.date-weekday {
    font-size: 1.25rem;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.date-time {
    font-size: 1.125rem;
    font-weight: 500;
    display: block;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 8px;
    margin-top: 5px;
}

.session-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #2e7d32;
    line-height: 1.4;
    flex: 1;
    min-width: 300px;
}

/* 講師ブロック（1日3コマ） */
.speakers-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.speaker-block {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8f5e9 100%);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.speaker-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #66bb6a;
    background: #fff;
}

.speaker-header {
    margin-bottom: 20px;
    text-align: center;
}

.speaker-office {
    font-size: 1.1rem;
    font-weight: 900;
    color: #2e7d32;
    margin-bottom: 8px;
    line-height: 1.4;
}

.speaker-role {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ff9800;
}

.speaker-body {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.speaker-qr {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 事務所サイトへのボタン */
.office-button {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #81c784 0%, #66bb6a 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 187, 106, 0.3);
    border: none;
    cursor: pointer;
}

.office-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 187, 106, 0.5);
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%);
    opacity: 1;
}

.office-button span {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    padding: 0 10px;
}

.qr-placeholder {
    width: 100px;
    height: 100px;
    background: #fff;
    border: 2px dashed #c8e6c9;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.qr-placeholder:hover {
    border-color: #66bb6a;
    border-style: solid;
}

.qr-placeholder i {
    font-size: 2.5rem;
    color: #66bb6a;
    margin-bottom: 5px;
}

.qr-placeholder p {
    font-size: 0.75rem;
    color: #666;
    font-weight: 600;
}

.speaker-photo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-placeholder {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.photo-placeholder i {
    font-size: 3.5rem;
    color: #66bb6a;
}

.speaker-content {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.speaker-catchcopy {
    font-size: 1.05rem;
    font-weight: 900;
    color: #2e7d32;
    margin-bottom: 12px;
    line-height: 1.4;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8f5e9;
}

.speaker-message {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
    flex: 1;
}

/* 追加セッション情報 */
.more-sessions-note {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-radius: 15px;
    margin-top: 40px;
    border-left: 6px solid #ffa726;
}

.more-sessions-note p {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e65100;
}

.more-sessions-note i {
    margin-right: 10px;
    color: #ff9800;
}

/* 画像スタイル */
.qr-image,
.photo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.photo-image {
    border-radius: 50%;
}

.speaker-qr {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.speaker-qr img.qr-image {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.speaker-photo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.speaker-photo img.photo-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

/* 特別セッション（経営者向け）のスタイル */
.session-special {
    border-top-color: #ffa726;
    background: linear-gradient(135deg, #fff 0%, #fff8e1 100%);
}

.session-badge-special {
    display: inline-block;
    background: #ffa726;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-left: 15px;
}

/* ===========================================
   レスポンシブデザイン（新しいレイアウト）
   =========================================== */
@media (max-width: 1024px) {
    .speakers-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .speaker-block {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .session-day {
        padding: 25px;
    }
    
    .session-day-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .session-date {
        width: 100%;
    }
    
    .session-title {
        font-size: 1.5rem;
    }
    
    .speaker-body {
        flex-direction: column;
        align-items: center;
    }
    
    .speaker-qr,
    .speaker-photo {
        width: 100%;
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .session-title {
        font-size: 1.3rem;
    }
    
    .date-large {
        font-size: 1.7rem;
    }
    
    .speaker-office {
        font-size: 1rem;
    }
    
    .speaker-catchcopy {
        font-size: 1rem;
    }
    
    .speaker-message {
        font-size: 0.85rem;
    }
    
    .office-button {
        width: 100px;
        height: 100px;
    }
    
    .office-button span {
        font-size: 0.8rem;
    }
}