/* ================================================================== */
/* 会員名簿ページ専用CSS */
/* ================================================================== */

/* ナビゲーション */
.member-nav {
  padding: 8px 0;
  margin: 10px 0;
  font-size: 0.9em;
}

.member-nav a {
  text-decoration: none;
}

.member-nav a:hover {
  text-decoration: underline;
}

/* 会員名簿セクション */
.member-section {
  margin-bottom: 30px;
}

/* ヘッダー */
.member-header {
  color: #FFFFFF;
  padding: 10px 15px;
  margin-bottom: 0;
}

.member-header.ssl {
  background-color: #065B95;
}

.member-header.qs {
  background-color: #2D9379;
}

.member-header h1 {
  font-size: 1.1em;
  font-weight: bold;
  margin: 0;
}

/* コンテンツ */
.member-content {
  padding: 20px 15px;
}

/* 日付表示 */
.member-date {
  text-align: right;
  font-size: 0.85em;
  color: #666;
  margin-bottom: 15px;
}

/* カテゴリー */
.member-category {
  margin-bottom: 25px;
}

.category-title {
  padding: 8px 10px;
  margin: 15px 0 10px;
  font-size: 1em;
  font-weight: bold;
}

.category-title.ssl {
  background-color: #C1E6FD;
  color: #065B95;
}

.category-title.qs {
  background-color: #DBF4EE;
  color: #2D9379;
}

/* 会員リスト */
.member-list-wrapper {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.member-list-column {
  flex: 1;
  min-width: 280px;
}

.member-list-column:first-child {
  border-right: 1px solid #666;
  padding-right: 10px;
}

/* 会員テーブル */
.member-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1em;
  line-height: 1.4;
}

.member-table.small {
  font-size: 0.9em;
}

.member-table tr:last-child {
  border-bottom: none;
}

.member-table td {
  padding: 8px 5px;
  vertical-align: middle;
}

.member-table td:first-child {
  padding-left: 0;
}

.member-table .tel {
  text-align: right;
  white-space: nowrap;
  width: 100px;
  color: #666;
}

/* お問い合わせセクション */
.contact-section {
  border: 2px solid;
  padding: 15px;
  margin: 20px 0;
}

.contact-section.ssl {
  border-color: #065B95;
}

.contact-section.qs {
  border-color: #15604F;
}

.contact-inner {
  text-align: center;
}

.contact-title {
  font-size: 1.1em;
  font-weight: bold;
  color: #0000A0;
  margin-bottom: 10px;
}

.contact-subtitle {
  font-size: 0.9em;
  font-weight: normal;
  color: #333;
}

.contact-logo img {
  max-width: 100%;
  height: auto;
}

.contact-info {
  font-size: 0.9em;
  line-height: 1.6;
  color: #333;
}

/* ================================================================== */
/* レスポンシブ対応 */
/* ================================================================== */

@media screen and (max-width: 768px) {
  .member-list-wrapper {
    flex-direction: column;
  }

  .member-list-column {
    min-width: 100%;
  }

  .member-list-column:first-child {
    border-right: none;
    padding-right: 0;
  }

  .member-table {
    font-size: 0.9em;
  }

  .member-table.small {
    font-size: 0.85em;
  }

  .member-table .tel {
    width: 90px;
    font-size: 0.9em;
  }

  .contact-section {
    padding: 10px;
  }
}

@media screen and (max-width: 480px) {
  .member-header h1 {
    font-size: 1em;
  }

  .member-table {
    font-size: 0.85em;
  }

  .member-table td {
    padding: 6px 3px;
  }

  .member-table .tel {
    width: 85px;
    font-size: 0.85em;
  }

  .category-title {
    font-size: 0.95em;
    padding: 6px 8px;
  }

  .contact-title {
    font-size: 1em;
  }

  .contact-info {
    font-size: 0.85em;
  }
}

/* 印刷対応 */
@media print {
  .member-header {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .category-title {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .member-nav,
  .bottom-nav {
    display: none;
  }

  .member-table tr {
    page-break-inside: avoid;
  }
}