/* =========================================================
   participation.css
   第67回日本母性衛生学会 - 参加登録ページ専用
   ========================================================= */


/* =========================================================
   1. Page Layout
   ========================================================= */

.page-registration .page-content {
    width: 100%;
    max-width: 100%;
}

.page-registration .content-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.page-registration .content-section h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.page-registration p,
.page-registration li {
    line-height: 1.9;
}

.page-registration ul {
    margin-top: 0.8rem;
    padding-left: 1.3rem;
}

.page-registration ul li {
    margin-bottom: 0.55rem;
}


/* =========================================================
   2. Highlight / Box Sections
   ========================================================= */

.page-registration .highlight-section {
    background: #fffdfc;
    border: 1px solid #ead8d2;
    border-radius: 8px;
    padding: 1.8rem;
    margin-top: 2.2rem;
    margin-bottom: 2.2rem;
}

.page-registration .highlight-text,
.page-registration .important-text {
    color: #b00020;
    font-weight: 700;
}


/* =========================================================
   3. Tables
   ========================================================= */

.participation-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: 1.2rem 0 1.8rem;
}

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

.participation-table th,
.participation-table td {
    border: 1px solid #e4e4e4;
    padding: 1rem 1.1rem;
    vertical-align: middle;
    line-height: 1.75;
}

.participation-table th {
    background: #f3f5fa;
    color: #1e2d55;
    font-weight: 700;
    text-align: center;
}

.participation-table td {
    color: #333;
    text-align: left;
}

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

.participation-table .table-label {
    width: 24%;
    background: #f7f8fb;
    color: #1e2d55;
    font-weight: 700;
    text-align: center;
}

.participation-table td[rowspan] {
    vertical-align: middle;
}


/* Fee table */
.participation-table.is-fee th,
.participation-table.is-fee td {
    text-align: center;
}

.participation-table.is-fee .table-label {
    width: 22%;
}

.participation-table.is-fee td:not(.table-label) {
    font-weight: 600;
}


/* Schedule table */
.participation-table.is-schedule .table-label {
    width: 28%;
    text-align: center;
}

/* Default schedule data cells centered */
.participation-table.is-schedule td {
    text-align: center;
}

/* Only long-detail cells should be left-aligned */
.participation-table.is-schedule td.table-detail {
    text-align: left;
}

.participation-table.is-schedule td:last-child {
    text-align: left;
}


/* Notes under tables */
.page-registration .table-notes {
    margin-top: 0.8rem;
    padding-left: 1.2rem;
    font-size: 0.95rem;
}

.page-registration .table-notes li {
    margin-bottom: 0.45rem;
}


/* =========================================================
   4. Ordered Lists
   ========================================================= */

.page-registration .content-section ol {
    margin-top: 1rem;
}

.page-registration .content-section ol li {
    padding-left: 3.2rem;
    margin-bottom: 1.7rem;
}


/* =========================================================
   5. Buttons / CTA
   ========================================================= */

.page-registration .button-center {
    margin: 1.5rem 0;
}

.cta-dual {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.cta-dual .btn-abstract-action {
    min-width: 260px;
    padding: 1.2em 2.5em;
    font-size: 1.05rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.btn-abstract-action.is-disabled {
    background-color: #e67c2f;
    border-color: #1e2d55;
    color: #fff;
    cursor: default;
}

.btn-abstract-action.is-disabled:hover {
    background-color: #e67c2f;
    color: #fff;
}


/* =========================================================
   6. File / Download Links
   ========================================================= */

.file-link {
    margin: 1rem 0 1.5rem;
}

.file-link a {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: #1e2d55;
    text-decoration: none;
    border-bottom: 2px solid #d94b71;
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.file-link a:hover {
    color: #d94b71;
    border-bottom-color: #1e2d55;
}


/* =========================================================
   7. Registration / Service Counter Block
   ========================================================= */

.registration-service-section .section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.registration-service-section .section-title-row h2 {
    margin-bottom: 0;
}

.section-side-note {
    margin: 0;
    padding: 0.5rem 1rem;
    border: 2px solid #ff0000;
    background: #fff;
    color: #333;
    font-weight: 600;
    white-space: nowrap;
}

.registration-service-box {
    margin-top: 0;
}


/* =========================================================
   8. Student Registration Block
   ========================================================= */

.registration-section .section-header {
    margin-bottom: 1rem;
}

.registration-section .section-header h2 {
    margin-bottom: 0;
}


/* =========================================================
   9. Responsive
   ========================================================= */

@media (max-width: 768px) {
    .page-registration .highlight-section {
        padding: 1.2rem;
    }

    .participation-table {
        min-width: 640px;
        font-size: 0.9rem;
    }

    .participation-table th,
    .participation-table td {
        padding: 0.8rem;
    }

    .page-registration .content-section ol li {
        padding-left: 2.6rem;
    }

    .cta-dual {
        flex-direction: column;
        align-items: center;
    }

    .cta-dual .btn-abstract-action {
        width: 100%;
        max-width: 320px;
    }

    .registration-service-section .section-title-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-side-note {
        white-space: normal;
    }
}