@charset "utf-8";
/* CSS Document */
/* =========================
   ご挨拶ブロック
   ========================= */

.c1 {
  padding: 120px 0 20px;
}

/* 本文全体 */
.c1 .greeting {
  margin-top: 40px;
  line-height: 2.0;
}

/* 写真を左上に固定＆テキストを回り込ませる */
.c1 .greeting-photo {
  float: left;
	width: 120px;
  margin: 0 30px 16px 0;  /* 右と下に余白 */
}

.c1 .greeting-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* 残りのテキスト部分 */
.c1 .greeting-body p {
  margin: 0 0 1.2em;
	font-size: 18px;
}

/* サインだけ少し右寄せ */
.c1 .greeting-body .greeting-sign {
  text-align: right;
}

/* float をクリアして次の要素に影響が出ないように */
.c1 .greeting::after {
  content: "";
  display: block;
  clear: both;
}

/* ------- スマホ用調整 ------- */
@media (max-width: 768px) {
  .c1 {
    padding: 60px 0 80px;
  }

  .c1 .greeting-photo {
    float: none;
    width: 220px;
    margin: 0 auto 20px;   /* 中央寄せ＆下だけ余白 */
  }

  .c1 .greeting {
    line-height: 1.9;
  }
	
  .c1 .greeting-body p {
    font-size: 14px;  /* ←ここを追加するとSPだけ小さくなる */
  }

  .c1 .greeting-body .greeting-sign {
    text-align: right;
    margin-top: 8px;
  }
}

/* =========================
   概要ブロック（c2）
   ========================= */

.c2 {
  padding: 80px 0 20px;
}

/* 本文ラッパー */
.c2 .overview {
  margin-top: 40px;
  font-size: 18px;
  line-height: 2.2;
}

/* 「【この会の目的】」の見出し */
.c2 .overview-title {
  font-weight: 600;
  margin: 0 0 0.8em;
}

/* スマホ用調整 */
@media (max-width: 768px) {
  .c2 {
    padding: 60px 0 80px;
  }

  .c2 .overview {
    margin-top: 28px;
    font-size: 14px;
    line-height: 2.0;
  }
}

/* =========================
   岡山県人会史ブロック（c3）
   ========================= */

.c3 {
  padding: 80px 0 20px;
}

/* 破線の枠＋上下 1px 余白 */
.history-frame {
  border-top: 1px dashed #666666;
  border-bottom: 1px dashed #666666;
  padding: 1px 0; /* 破線と表の間に 1px の余白 */
}

/* 表本体 */
.history-table {
  width: 100%;
  border-collapse: collapse; /* ズレ防止のため border-spacing は使わない */
  font-size: 15px;
  line-height: 1.9;
}

/* 行ごとの破線（2行目以降の上側に描画） */
.history-table tr + tr {
  border-top: 1px dashed #666666;
}

.history-table th,.history-table td {
	font-size: 18px;
}

/* 左側の見出しセル */
.history-table .history-label {
  width: 260px;
  background: #c1f7e8;
  text-align: center;
  padding: 24px 32px;
  font-size: 18px;
  letter-spacing: 0.12em;
}

/* 右側の内容セル */
.history-table .history-value {
  padding: 20px 32px;
}

/* 歴代会長リスト */
.presidents-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.presidents-list li {
  margin: 0 0 4px;
}

/* ------- レスポンシブ調整 ------- */
@media (max-width: 960px) {
  .c3 {
    padding: 60px 0 80px;
  }

  .history-table .history-label {
    width: 30%;
    padding: 18px 16px;
    font-size: 18px;
  }

  .history-table .history-value {
    padding: 16px;
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .history-table {
    font-size: 14px;
  }

  .history-table .history-label {
    display: block;
    width: 100%;
    text-align: left;
  }

  .history-table .history-value {
    display: block;
    width: 100%;
    padding-top: 8px;
  }
}

.history-value .name {
  display: inline-block;
  width: 6em; /* お好みで調整。5.5em〜7emくらいで微調整 */
}

.history-value .role {
  display: inline-block;
}

@media (max-width: 960px) {
	.history-value .role {
		display: block;
	}
}

/* =========================
   委嘱ブロック（c4）
   ========================= */

.c4 {
  padding: 80px 0 120px;
}

/* 全体リスト */
.commission-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* 1カード */
.commission {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid #e1e1e1;
  background: #fff;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.04);
}

/* 左の写真 */
.commission-photo {
  flex: 0 0 320px;
}

.commission-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキスト側 */
.commission-body {
  flex: 1;
}

.commission-body h3 {
  font-size: 22px;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
}

/* 説明文 */
.commission-body p {
  margin: 0 0 1.2em;
  font-size: 18px;
  line-height: 2.0;
}

/* メンバー枠（見出しのすぐ下） */
.commission-names {
  border-bottom: 1px solid #d5d5d5;  /* ← メンバー名と説明文の間に線 */
  padding-bottom: 10px;
  margin-bottom: 16px;
  font-family: "Helvetica Neue", Helvetica, Arial,
               "Hiragino Sans", "Hiragino Kaku Gothic ProN",
               "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
}

/* 名前一覧：3列レイアウト */
.commission-names-list {
  list-style: none;
  margin: 0;
  padding: 6px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3列 */
  column-gap: 10px;
  row-gap: 4px;
  font-size: 18px; /* 氏名のフォントサイズ */
}

.commission-names-list li {
  /* グリッド内で均等に並ぶだけなので特別な装飾は不要 */
}

/* ------- レスポンシブ ------- */
@media (max-width: 960px) {
  .c4 {
    padding: 60px 0 80px;
  }

  .commission {
    flex-direction: column;
  }

  .commission-photo {
    flex: 0 0 auto;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .commission {
    padding: 16px;
  }

  .commission-body h3 {
    font-size: 18px;
  }

  .commission-body p {
    font-size: 14px;
  }

  .commission-names-list {
    font-size: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* SPでは2列にして詰まりを防止 */
  }
}
