/* =========================================================
   chair.css
   座長・演者の皆様へ ページ専用CSS
   ========================================================= */

/* Page content */
.page-chair .chair-content {
    width: 100%;
    max-width: 100%;
    color: #333;
    font-size: 1rem;
    line-height: 1.9;
}

/* Main sections */
.page-chair .chair-section {
    margin: 2.5rem 0 3.5rem;
}

.page-chair .chair-section > h2 {
    position: relative;
    margin: 0 0 1.4rem;
    padding-left: 14px;
    color: #1e2d55;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.5;
}

.page-chair .chair-section > h2::before {
    content: "";
    position: absolute;
    top: 0.25em;
    left: 0;
    width: 4px;
    height: 1.2em;
    border-radius: 2px;
    background: linear-gradient(to bottom, #d94b71, #f0a6b8);
}

/* Subsections */
.page-chair .chair-subsection {
    margin: 2rem 0;
}

.page-chair .chair-subsection h3 {
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    background: #f7f8fb;
    border-left: 4px solid #1e2d55;
    color: #1e2d55;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.6;
}

.page-chair p {
    margin: 0 0 1rem;
}

.page-chair a {
    color: #1e2d55;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid #d94b71;
}

.page-chair a:hover {
    color: #d94b71;
    border-bottom-color: #1e2d55;
}

/* Presentation times */
.presentation-time-box {
    margin: 1.2rem 0 2rem;
    padding: 1.4rem 1.5rem;
    background: #fffdfc;
    border: 1px solid #ead8d2;
    border-radius: 8px;
}

.presentation-time-box dl {
    margin: 0;
}

.presentation-time-box dl > div {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(230px, 1fr);
    gap: 1rem;
    padding: 0.35rem 0;
}

.presentation-time-box dt {
    font-weight: 700;
    color: #1e2d55;
}

.presentation-time-box dd {
    margin: 0;
}

/* Lists */
.chair-number-list {
    counter-reset: chair-step;
    margin: 1.2rem 0 0;
    padding: 0;
}

.chair-number-list > li {
    counter-increment: chair-step;
    position: relative;
    list-style: none;
    margin: 0 0 1.3rem;
    padding-left: 2.8rem;
    line-height: 1.9;
}

.chair-number-list > li::before {
    content: counter(chair-step);
    position: absolute;
    top: 0.15rem;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    background: #1e2d55;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}

.chair-bullet-list {
    margin: 1rem 0 1.5rem;
    padding-left: 1.4rem;
}

.chair-bullet-list li {
    margin-bottom: 0.6rem;
    line-height: 1.8;
}

.important-note {
    color: #b00020;
    font-weight: 700;
}

.software-name {
    display: inline-block;
    margin: 0.2rem 0;
    font-weight: 700;
    color: #1e2d55;
}

.sub-label {
    margin-bottom: 0.75rem;
    color: #1e2d55;
    font-weight: 700;
}

/* Tables */
.chair-table-wrap {
    width: 100%;
    margin: 1rem 0 1.4rem;
    overflow-x: auto;
}

.chair-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
    border: 1px solid #dcdcdc;
    color: #333;
    font-size: 0.95rem;
}

.chair-table th,
.chair-table td {
    padding: 0.9rem 1rem;
    border: 1px solid #dfdfdf;
    line-height: 1.7;
    text-align: center;
    vertical-align: middle;
}

.chair-table th {
    background: #f3f5fa;
    color: #1e2d55;
    font-weight: 700;
}

.chair-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.chair-time-table {
    max-width: 560px;
}

.chair-time-table th {
    width: 45%;
}

.poster-schedule-table th:first-child {
    width: 26%;
}

/* File link */
.file-link {
    margin: 1rem 0;
}

.file-link a {
    display: inline-block;
}

/* Poster image */
.poster-layout-figure {
    margin: 1.5rem auto 0;
    text-align: center;
}

.poster-layout-figure img {
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.08);
}

/* Responsive */
@media (max-width: 768px) {
    .page-chair .chair-section {
        margin: 2rem 0 3rem;
    }

    .page-chair .chair-section > h2 {
        font-size: 1.2rem;
    }

    .page-chair .chair-subsection h3 {
        font-size: 1rem;
    }

    .presentation-time-box {
        padding: 1.1rem;
    }

    .presentation-time-box dl > div {
        grid-template-columns: 1fr;
        gap: 0.15rem;
        padding: 0.55rem 0;
        border-bottom: 1px solid #eee;
    }

    .presentation-time-box dl > div:last-child {
        border-bottom: 0;
    }

    .chair-number-list > li {
        padding-left: 2.5rem;
    }

    .chair-table {
        min-width: 680px;
        font-size: 0.9rem;
    }

    .chair-time-table {
        min-width: 520px;
    }
}
