/* イベントページ専用スタイル: AI × モデルベース開発の実践セミナー&実演デモ (2026/06/04) */

/* ============== 共通 ============== */
.section-title {
    font-size: 2rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

/* パンくず */
.breadcrumb {
    background-color: var(--bg-light);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-light);
}

/* ============== イベントヒーロー ============== */
.event-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 50%, #4c1d95 100%);
    color: white;
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.event-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(96, 165, 250, 0.25), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(167, 139, 250, 0.25), transparent 40%);
    pointer-events: none;
}

.event-hero > .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.event-date-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 1rem 2.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.event-month {
    font-size: 0.95rem;
    letter-spacing: 0.2em;
    color: #fde68a;
    font-weight: 600;
}

.event-day {
    font-size: 4rem;
    font-weight: 800;
    margin: 0.25rem 0;
}

.event-year {
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.8);
}

.event-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.event-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

.event-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto 2.5rem;
}

.event-meta-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.meta-icon {
    font-size: 1.5rem;
}

.meta-label {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

.meta-value {
    font-weight: 600;
    font-size: 1rem;
}

.event-cta {
    margin-top: 1rem;
}

/* ============== ボタン ============== */
.btn-event-primary {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35);
}

.btn-event-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.45);
}

.btn-event-secondary {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.9rem 2rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-event-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 1.15rem 3rem;
    font-size: 1.1rem;
}

/* ============== メッセージカード ============== */
.event-message {
    padding: 4rem 0;
    background: var(--bg-light);
}

.message-card {
    background: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border-left: 6px solid #f59e0b;
}

.message-quote {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.message-quote-en {
    font-size: 1.1rem;
    color: var(--text-light);
    font-style: italic;
    letter-spacing: 0.02em;
}

/* ============== 説明セクション ============== */
.event-description {
    padding: 5rem 0;
    background: white;
}

.description-content {
    max-width: 880px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 2;
}

.description-content p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.description-content strong {
    color: var(--primary-color);
    font-weight: 700;
}

.description-highlight {
    background: linear-gradient(135deg, #eff6ff 0%, #ede9fe 100%);
    border-left: 4px solid var(--primary-color);
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    margin-top: 2rem !important;
}

/* ============== 得られること ============== */
.event-benefits {
    padding: 5rem 0;
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.benefit-card {
    background: white;
    padding: 2rem 1.75rem;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.benefit-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.4;
    margin-bottom: 0.5rem;
    font-family: 'Helvetica Neue', sans-serif;
}

.benefit-card h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============== こんな方におすすめ ============== */
.event-target {
    padding: 5rem 0;
    background: white;
}

.target-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.target-item {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 1.5rem 1.75rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.target-item h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.target-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ============== 主催・講師紹介 ============== */
.event-organizer {
    padding: 5rem 0;
    background: var(--bg-light);
}

.organizer-info {
    max-width: 900px;
    margin: 0 auto 3rem;
    background: white;
    padding: 2rem;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
}

.organizer-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.organizer-info p {
    color: var(--text-dark);
    line-height: 1.9;
}

.speakers-title {
    text-align: center;
    font-size: 1.6rem;
    color: var(--text-dark);
    margin: 3rem 0 2rem;
}

.speaker-card {
    background: white;
    max-width: 900px;
    margin: 0 auto 2rem;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.speaker-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #4c1d95 100%);
    color: white;
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.speaker-avatar {
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.15);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.speaker-name-block h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.speaker-reading {
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
}

.speaker-affiliation {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.5;
}

.speaker-body {
    padding: 2rem;
}

.speaker-section {
    margin-bottom: 1.75rem;
}

.speaker-section:last-child {
    margin-bottom: 0;
}

.speaker-section h4 {
    font-size: 1.05rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.speaker-section ul {
    list-style: none;
    padding: 0;
}

.speaker-section ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.speaker-section ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.speaker-section ul li strong {
    color: var(--primary-color);
}

.speaker-section p {
    color: var(--text-dark);
    line-height: 1.8;
}

/* ============== 申込CTA ============== */
.event-apply-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #4c1d95 100%);
    color: white;
    text-align: center;
}

.event-apply-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.event-apply-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* =================================================================
   申し込みフォームページ
   ================================================================= */

/* フォームヒーロー */
.form-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #4c1d95 100%);
    color: white;
    padding: 3.5rem 0;
    text-align: center;
}

.form-title {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.form-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.form-event-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
}

.form-event-meta span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* フォーム本体 */
.form-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.form-wrapper {
    max-width: 820px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.form-intro {
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    line-height: 1.8;
}

.required-note {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.required-mark {
    color: #ef4444;
    font-weight: 700;
}

/* フィールドセット */
.form-fieldset {
    border: none;
    border-top: 2px solid var(--border-color);
    padding: 2rem 0;
    margin: 0;
}

.form-fieldset:first-of-type {
    border-top: none;
    padding-top: 0;
}

.form-legend {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding: 0;
}

/* フォームグループ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group label:not(.checkbox-label) {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-dark);
    background: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-group textarea {
    resize: vertical;
    line-height: 1.7;
}

.form-help {
    display: block;
    margin-top: 0.4rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* チェックボックス */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    cursor: pointer;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0.4rem 0;
}

.checkbox-label input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.2rem;
    accent-color: var(--primary-color);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label span {
    flex: 1;
}

.required-checkbox {
    font-weight: 600;
}

/* 同意ボックス */
.agreement-box {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
}

.agreement-box h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.agreement-box p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* 送信ボタン */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    flex-wrap: wrap;
}

.form-actions button {
    cursor: pointer;
    font-family: inherit;
}

/* 送信完了 */
.form-success {
    text-align: center;
    padding: 3rem 1rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

.form-success h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.form-success p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.success-note {
    font-size: 0.9rem;
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem auto;
    max-width: 600px;
}

/* PHP 結果ページ用アイコン */
.result-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    color: white;
    font-size: 2.75rem;
    line-height: 80px;
    text-align: center;
    margin: 0 auto 1.5rem;
}

.result-icon.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

.result-icon.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35);
}

.result-note {
    font-size: 0.9rem;
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem auto;
    max-width: 600px;
}

/* ============== レスポンシブ ============== */
@media (max-width: 768px) {
    .event-title {
        font-size: 1.75rem;
    }

    .event-subtitle {
        font-size: 1.05rem;
    }

    .event-day {
        font-size: 3rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .message-quote {
        font-size: 1.35rem;
    }

    .form-wrapper {
        padding: 1.75rem 1.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .form-actions .btn {
        width: 100%;
        text-align: center;
    }

    .speaker-header {
        flex-direction: column;
        text-align: center;
    }

    .speaker-body {
        padding: 1.5rem 1.25rem;
    }

    .form-title {
        font-size: 1.6rem;
    }

    .form-event-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}
