/* ========================================
   RAY Symposium 2026 — Landing Page
   ======================================== */

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans JP", "Jost", sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #3cb4e5;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #0069c5;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Layout --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: #f8fafb;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 16px;
    border-bottom: 3px solid #3cb4e5;
    display: inline-block;
    width: 100%;
}

/* ========================================
   1. Header
   ======================================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e8eef2;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.header-logo {
    font-family: "Jost", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.header-nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-nav a {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.header-nav a:hover {
    color: #3cb4e5;
}

.btn-header-cta {
    background: #3cb4e5;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
}

.btn-header-cta:hover {
    background: #0069c5;
    color: #fff !important;
}

/* ========================================
   2. Hero
   ======================================== */
.hero {
    position: relative;
    padding-top: 64px; /* header offset */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 100%);
    color: #fff;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    padding: 60px 20px;
}

.hero-logo,
.hero-sub,
.hero-title,
.hero-tagline,
.hero-info,
.hero-actions {
    will-change: transform, opacity;
    transition: none;
}


.hero-logo img {
    height: 78px;
    width: auto;
    display: inline-block;
}

.hero-title {
    font-family: "Jost", sans-serif;
    font-size: 77px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.hero-sub {
    font-family: "Jost", sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #3cb4e5;
    margin-bottom: 20px;
}

.hero-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-info {
    margin-bottom: 40px;
}

.hero-date {
    font-family: "Jost", sans-serif;
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 8px;
}

.hero-date span {
    font-size: 16px;
    margin-left: 8px;
    color: #3cb4e5;
}

.hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 12px;
}

.hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.hero-icon {
    color: #3cb4e5;
    flex-shrink: 0;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-line {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.hero-line-qr {
    width: 80px;
    height: 80px;
    background: #fff;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    border-radius: 4px;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-block;
    padding: 14px 48px;
    background: #3cb4e5;
    color: #fff !important;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #0069c5;
}

.btn-large {
    padding: 18px 64px;
    font-size: 18px;
}

/* ========================================
   3. About
   ======================================== */
.about-eyebrow {
    font-family: "Jost", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: #3cb4e5;
    margin-bottom: 16px;
}

.about-title {
    font-size: 30px;
    font-weight: 700;
    color: #1a3a5c;
    line-height: 1.6;
    margin-bottom: 36px;
}

.about-body p {
    margin-bottom: 1.5em;
    font-size: 15px;
    line-height: 2;
    color: #333;
}

.about-body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about-title {
        font-size: 22px;
    }
}

/* --- Fee block --- */
.fee-block {
    background: #e4f2fb;
    padding: 56px 0;
    margin-top: 64px;
}

.fee-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 28px;
}

.fee-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 560px;
    margin: 0 auto;
}

.fee-card {
    background: #fff;
    border: 2px solid;
    border-radius: 6px;
    padding: 24px 16px;
    text-align: center;
}

.fee-card-primary {
    border-color: #3cb4e5;
}

.fee-card-accent {
    border-color: #e8853d;
}

/* --- Optional add-on (懇親会) --- */
.fee-optional {
    display: flex;
    align-items: center;
    gap: 28px;
    width: fit-content;
    margin: 24px auto 0;
    padding: 14px 28px;
    background: #fff;
    border-radius: 6px;
}

.fee-optional-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.fee-optional-price {
    font-family: "Jost", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a3a5c;
    white-space: nowrap;
}

.fee-label {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.fee-card-primary .fee-label {
    color: #3cb4e5;
}

.fee-card-accent .fee-label {
    color: #e8853d;
}

.fee-price {
    font-family: "Jost", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a3a5c;
}

.fee-note {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .fee-cards {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 360px;
    }

    .fee-price {
        font-size: 24px;
    }

    .fee-optional {
        max-width: 360px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        padding: 16px;
    }

    .fee-optional-name {
        text-align: center;
    }
}

/* ========================================
   4. Program
   ======================================== */
.program-note {
    font-size: 13px;
    color: #888;
    margin-top: 12px;
}

/* --- Schedule table --- */
.schedule-wrap {
    margin-bottom: 64px;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    border-radius: 6px;
    overflow: hidden;
}

.schedule-table thead th {
    background: #1a3a5c;
    color: #fff;
    text-align: left;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.schedule-table tbody tr {
    border-bottom: 1px solid #eef2f5;
}

.schedule-table tbody tr:nth-child(odd) {
    background: #f6f9fb;
}

.schedule-table tbody tr:last-child {
    border-bottom: none;
}

.schedule-table td {
    padding: 16px 24px;
    font-size: 14px;
    vertical-align: middle;
}

.schedule-time-col {
    width: 200px;
}

.schedule-time {
    font-family: "Jost", sans-serif;
    font-weight: 700;
    color: #1a3a5c;
    white-space: nowrap;
}

.schedule-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 12px;
    border-radius: 4px;
    font-family: "Jost", sans-serif;
    font-size: 12px;
    font-weight: 500;
}

.badge-morning {
    background: #fff2cc;
    color: #a07a00;
}

.badge-afternoon {
    background: #d4eecf;
    color: #3a7a2b;
}

.badge-evening {
    background: #d6e6fa;
    color: #1a4a8c;
}

.badge-break {
    background: #e6e9ec;
    color: #555;
}

@media (max-width: 768px) {
    .schedule-table thead th,
    .schedule-table td {
        padding: 12px 14px;
        font-size: 13px;
    }

    .schedule-time-col {
        width: 110px;
    }

    .schedule-time {
        font-size: 12px;
    }
}

.session {
    margin-bottom: 72px;
}

.session:last-child {
    margin-bottom: 0;
}

/* --- Session header --- */
.session-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #d8e3ea;
}

.session-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.session-label {
    font-family: "Jost", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #3cb4e5;
}

.session-divider {
    color: #cbd5de;
    font-size: 14px;
}

.session-time {
    font-family: "Jost", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1a3a5c;
    letter-spacing: 0.05em;
}

.session-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a3a5c;
    line-height: 1.6;
}

.session-intro {
    max-width: 760px;
    margin: 0 auto 32px;
    font-size: 15px;
    color: #444;
    line-height: 2;
    text-align: center;
}

/* --- Chair + description (2 column) --- */
.session-chair {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 28px;
    background: #fff;
    padding: 32px 36px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    border-left: 3px solid #3cb4e5;
}

/* Evening session: description only, no chair column */
.session-chair-intro {
    grid-template-columns: 1fr;
}

.chair-profile {
    text-align: center;
}

.chair-photo {
    width: 110px;
    height: 110px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #f0f0f0;
    overflow: hidden;
    border: 3px solid #e4edf3;
}

.chair-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chair-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.chair-role {
    display: inline-block;
    font-size: 11px;
    color: #fff;
    background: #3cb4e5;
    padding: 3px 14px;
    border-radius: 3px;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.chair-affiliation {
    font-size: 12px;
    color: #888;
    line-height: 1.6;
}

/* --- Description text — readable typography --- */
.chair-desc {
    max-width: 720px;
}

.chair-desc p {
    font-size: 15px;
    color: #2d3a44;
    line-height: 2.05;
    margin-bottom: 1.6em;
    letter-spacing: 0.02em;
}

.chair-desc p:last-child {
    margin-bottom: 0;
}

/* Lead paragraph emphasis */
.chair-desc > p:first-of-type {
    font-size: 16px;
    color: #1a3a5c;
    font-weight: 500;
    line-height: 1.95;
}

/* Time badge (used in Evening speaker cards) */
.chair-desc .talk-time-badge {
    display: inline-block;
    font-family: "Jost", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #1a3a5c;
    background: #e4f2f9;
    padding: 5px 16px;
    border-radius: 3px;
    margin-bottom: 16px;
    line-height: 1.5;
    letter-spacing: 0.05em;
}

.chair-desc .talk-detail-title {
    font-size: 19px;
    font-weight: 700;
    color: #1a3a5c;
    line-height: 1.6;
    margin-bottom: 1.4em;
    padding-bottom: 0.8em;
    border-bottom: 1px solid #e4edf3;
}

/* Reset lead paragraph rule when detail-title is used (Evening) */
.chair-desc .talk-detail-title + p {
    font-size: 15px;
    color: #2d3a44;
    font-weight: 400;
    line-height: 2.05;
}

/* --- Talk cards (horizontal, photo-left) --- */
.session-speakers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.talk-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    padding: 22px 22px;
    border-radius: 6px;
    border: 1px solid #e4edf3;
    transition: box-shadow 0.3s, transform 0.3s;
}

.talk-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.talk-photo {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f0f0f0;
    overflow: hidden;
    margin-top: 2px;
}

.talk-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.talk-body {
    flex: 1;
    min-width: 0;
}

.talk-name {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.talk-affiliation {
    font-size: 11px;
    color: #888;
    margin-bottom: 8px;
}

.talk-title {
    font-size: 12px;
    color: #333;
    line-height: 1.6;
}

/* ========================================
   5. Speakers
   ======================================== */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.speaker-card {
    text-align: center;
    background: #fff;
    border-radius: 6px;
    padding: 32px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.speaker-photo {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: #f0f0f0;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 12px;
    overflow: hidden;
}

.speaker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.speaker-affiliation {
    font-size: 13px;
    color: #666;
}

/* ========================================
   6. Venue
   ======================================== */
.venue-body {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.venue-info {
    flex: 1;
}

.venue-info dl {
    font-size: 15px;
}

.venue-info dt {
    font-weight: 700;
    color: #3cb4e5;
    margin-top: 16px;
}

.venue-info dt:first-child {
    margin-top: 0;
}

.venue-info dd {
    margin-top: 4px;
}

.venue-info dd ul {
    margin-top: 4px;
    padding-left: 1.2em;
    list-style: disc;
}

.venue-info dd li {
    font-size: 14px;
    color: #555;
    margin-bottom: 4px;
}

.venue-map {
    flex: 1;
    background: #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
}

.venue-map iframe {
    width: 100%;
    height: 240px;
    border: 0;
    display: block;
}

/* ========================================
   7. Entry (CTA)
   ======================================== */
.section-cta {
    position: relative;
    background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 100%);
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.section-cta .container {
    position: relative;
    z-index: 1;
}

#entry-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.entry-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.entry-message {
    font-size: 15px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.85);
}

.entry-cta-box {
    max-width: 720px;
    margin: 0 auto;
    padding: 36px 32px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
}

.entry-cta-btn {
    display: inline-block;
    width: 100%;
    max-width: 540px;
    padding: 18px 32px;
    background: #fff;
    color: #1a3a5c !important;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: background 0.3s, transform 0.3s;
}

.entry-cta-btn:hover {
    background: #e4f2fb;
    transform: translateY(-2px);
}

/* ========================================
   8. Disclaimer (薬機法表記)
   ======================================== */
.disclaimer-section {
    padding: 40px 0;
    background: #f8fafb;
}

.disclaimer-section p {
    font-size: 11px;
    color: #999;
    line-height: 1.8;
    margin-bottom: 0.8em;
}

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

@media (max-width: 768px) {
    .entry-title {
        font-size: 24px;
    }

    .entry-cta-box {
        padding: 24px 16px;
    }

    .entry-cta-btn {
        font-size: 14px;
        padding: 16px 20px;
    }

    .disclaimer-section p {
        font-size: 10px;
    }
}

/* ========================================
   9. Footer
   ======================================== */
#footer {
    background: #0a1628;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding: 36px 0;
    font-size: 13px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copyright {
    font-family: "Jost", sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
}

@media (max-width: 480px) {
    .footer-links {
        gap: 18px;
    }

    .footer-links a {
        font-size: 12px;
    }
}

/* ========================================
   Program disclaimer (演題注記)
   ======================================== */
.program-disclaimer {
    margin-top: 32px;
    text-align: center;
    font-size: 12px;
    color: #888;
}

/* ========================================
   On-site (展示エリア)
   ======================================== */
.onsite-eyebrow {
    text-align: center;
    font-family: "Jost", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: #3cb4e5;
    margin-bottom: 12px;
}

.onsite-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 12px;
}

.onsite-lead {
    text-align: center;
    font-size: 15px;
    color: #555;
    margin-bottom: 40px;
}

.onsite-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 48px;
}

.onsite-category {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #f6fafd;
    border: 1px solid #d8e8f1;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: #1a3a5c;
}

.onsite-icon {
    color: #3cb4e5;
    flex-shrink: 0;
}

.onsite-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.onsite-product {
    text-align: center;
}

.onsite-product-img {
    aspect-ratio: 4 / 3;
    background: #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
}

.onsite-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


@media (max-width: 768px) {
    .onsite-title {
        font-size: 22px;
    }

    .onsite-categories {
        gap: 12px;
    }

    .onsite-category {
        padding: 10px 18px;
        font-size: 13px;
    }

    .onsite-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

/* ========================================
   Scroll Reveal
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Smaller motion for table rows (to avoid layout jank) */
.reveal-row {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-row.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .header-inner {
        height: 56px;
    }

    .header-logo {
        font-size: 14px;
        white-space: nowrap;
    }

    .header-nav ul {
        gap: 16px;
    }

    /* Hide regular nav items, show only CTA on small screens */
    .header-nav ul li:not(:last-child) {
        display: none;
    }

    .header-nav a {
        font-size: 12px;
    }

    .btn-header-cta {
        padding: 7px 16px;
        font-size: 12px;
        white-space: nowrap;
    }

    .hero {
        padding-top: 56px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-date {
        font-size: 22px;
    }

    .hero-meta {
        flex-direction: column;
        gap: 8px;
    }

    .hero-meta-item {
        font-size: 13px;
    }

    .section {
        padding: 56px 0;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 32px;
    }

    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .session-title {
        font-size: 18px;
    }

    .session-chair {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 20px;
    }

    .chair-desc p {
        font-size: 14px;
        line-height: 1.95;
    }

    .chair-desc > p:first-of-type {
        font-size: 15px;
    }

    .chair-desc .talk-detail-title {
        font-size: 17px;
    }

    .session-speakers {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .venue-body {
        flex-direction: column;
    }

    .venue-map {
        width: 100%;
    }

    .venue-map iframe {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .header-nav ul {
        gap: 8px;
    }

    .hero-title {
        font-size: 28px;
    }

    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .session-speakers {
        grid-template-columns: 1fr;
    }
}
