.member-page { width: min(100%, 800px); box-sizing: border-box; text-align: left; font-family: 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif; font-weight: normal; }
.member-page #index-top-main { display: block; float: none; clear: both; width: 100%; min-height: 23px; margin: 0; padding: 0 5px; box-sizing: border-box; background: #D1E8FF; }
.member-page #index-top-right { float: none; clear: both; width: 100%; min-height: 23px; margin: 0; padding: 0; text-align: right; box-sizing: border-box; }
.member-page #index-top-right ul { margin: 0; padding: 0; line-height: 20px; }
.member-page #index-top-right li { display: inline-block; margin: 0 2px; vertical-align: top; }
.member-page .common-header { display: flex; min-height: 100px; padding: 12px 24px; align-items: center; justify-content: center; background-color: #78c7ec; background-image: url("../images/common-header.png"); background-position: center; background-repeat: repeat-x; background-size: auto 100%; box-sizing: border-box; text-align: center; }
.member-page .common-header .page-title { width: 100%; margin: 0; text-align: center; }
.member-page .common-navigation { padding: 9px 14px; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; text-align: left; color: #000; background-color: #A3D1FF; }
.member-page .common-navigation a { color: #000; }
.member-page .common-main { padding: 16px 20px; }
.member-page .memberbox { clear: both; overflow: auto; padding: 14px 8px; border: 0; }
.member-page .memberbox ul { margin: 7px 0; }
.member-page .member-photo-stack { float: right; display: flex; flex-direction: column; align-items: center; width: 150px; max-width: 40%; margin: 5px 8px 8px 18px; }
.member-page .member-photo { float: right; display: block; width: auto; max-width: min(40%, 150px); height: auto; max-height: 200px; object-fit: contain; box-sizing: border-box; border: 1px solid #33cc99; padding: 3px; margin: 5px 8px 8px 18px; }
.member-page .member-photo-stack .member-photo { float: none; width: 100%; max-width: 150px; height: auto; max-height: 200px; object-fit: contain; margin: 0; }
.member-page .mail-image { display: block; float: none; max-width: min(150px, 45%); height: auto; border: 0; padding: 0; margin: 8px 0; }
.member-page .member-photo-stack .mail-image { width: 100%; max-width: 100%; box-sizing: border-box; border: 1px solid #33cc99; padding: 3px; margin: 8px 0 0; }
.member-page .memberbox img.country { display: inline-block; float: none; width: 32px; height: auto; margin: 0 7px 0 0; vertical-align: middle; }
.member-page .membergroup-student { clear: both; }
.member-page .past-members { padding: 10px; }
.member-page .ob-table { width: min(100%, 560px); border-collapse: collapse; background: white; }
.member-page .ob-table th, .member-page .ob-table td { padding: 7px 10px; border: 1px solid #c5c5ff; text-align: left; }
.member-page .ob-table thead th { background: #DEDEFF; text-align: center; }
.member-page .ob-table tbody tr:nth-child(odd) > * { background: #F1F1FF; }
.member-page .ob-table tbody tr:nth-child(even) > * { background: #FFFFFF; }
.member-page .ob-table th:first-child, .member-page .ob-table td:first-child { text-align: center; }
.member-page .ob-table th:last-child, .member-page .ob-table td:last-child { width: 300px; text-align: center; }
.member-page .common-footer { display: flex; justify-content: center; align-items: center; height: auto; min-height: 100px; margin-top: 50px; padding: 20px; box-sizing: border-box; background-color: #A3D1FF; text-align: center; }
@media (max-width: 640px) {
  .member-page .common-header { min-height: 86px; padding: 12px 16px; }
  .member-page .common-main { padding: 10px; }
  .member-page .memberbox { padding: 12px 4px; }
}

/* Two-column static member directory: edit the HTML roster directly. */
.member-page .member-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.member-page .member-column { min-width: 0; }
.member-page .member-column-title { margin: 0 0 12px; padding: 8px 10px; color: #17365d; background: #d1e8ff; border-bottom: 2px solid #6699cc; font-size: 1.25rem; }
.member-page .membergroup-prof .memberbox, .member-page .membergroup-student .memberbox { clear: both; margin-bottom: 6px; padding: 6px 10px; border: 0; background: transparent; }
.member-page .membergroup-prof .memberbox .titlebar, .member-page .membergroup-student .memberbox .titlebar { border: 0; }
.member-page .membergroup-prof .memberbox ul, .member-page .membergroup-student .memberbox ul { margin: 4px 0 0; padding: 0; list-style: none; }
.member-page .membergroup-prof .memberbox li, .member-page .membergroup-student .memberbox li { margin: 2px 0; line-height: 1.4; font-weight: normal; }
.member-page .memberbox li.flagged-name { display: flex; align-items: flex-start; gap: 7px; }
.member-page .memberbox li.flagged-name .country { flex: 0 0 32px; }
.member-page .memberbox li.flagged-name span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .member-page .member-columns { grid-template-columns: 1fr; }
}
