/* greeting ページ専用CSS（本番Brizy埋め込みコードのCSSを移植） */
ol.sample1 {
  counter-reset:list;
  list-style-type:none;
  font: 14px/1.6 'arial narrow', sans-serif;
  padding: 1.5em;
}
ol.sample1 li {
  position:relative;
  padding: 7px 5px 7px 40px;
  margin: 7px 0 10px 30px;
  font-weight: bold;
  font-size:14px;
  border-bottom:dashed 1px #F6A38B;
}
ol.sample1 li:before {
  counter-increment: list;
  content: counter(list);
  position: absolute;
  left: 0px;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  color: #fff;
  background: #F6A38B;
  border-radius: 50%;
  top: 50%;
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

/* ===== ごあいさつ 冒頭ブロック（本番の実測に合わせる） =====
   名前 25px/黒 → その下に2pxのピンク罫線（左寄せ・幅88%）
   引用は2行を右下へ少しずらして配置（本番: 1行目 x413 左寄せ / 2行目 x953 で右終わり）
   写真と本文は 約30% : 70%（本番: 写真313px・本文757px） */
.fs-txt h3.kgreet-name { color: #000; letter-spacing: -1.5px; }
.kgreet-rule { width: 88%; max-width: 88%; margin: 10px 0 0; }

.kgreet-quote { margin: 26px 0 0 26%; max-width: 48%; }
.kgreet-quote p {
  margin: 0; font-size: 25px; line-height: 1.5;
  color: var(--fs-accent);
}
.kgreet-quote p:last-child { text-align: right; }

.kgreet-intro { align-items: start; }

/* 署名（氏名＋肩書き）本番: 氏名23px・肩書き18px・同じ行・濃い色 */
.kgreet-intro .fs-table--sig { width: auto; margin-left: auto; margin-right: 20px; }
.kgreet-intro .fs-table--sig th {
  width: auto; font-size: 23px; color: #1c1c1c;
  white-space: nowrap; text-align: left; padding: 0 30px 0 0;
}
.kgreet-intro .fs-table--sig td {
  font-size: 18px; color: #1c1c1c;
  white-space: nowrap; padding: 0;
}

@media screen and (max-width: 767px) {
  .kgreet-rule { width: 100%; max-width: 100%; }
  .kgreet-quote { margin-left: 0; max-width: 100%; }
  .kgreet-quote p { font-size: 18px; }
  .kgreet-intro .fs-table--sig { margin-right: 0; }
  .kgreet-intro .fs-table--sig th { font-size: 18px; padding-right: 14px; }
  .kgreet-intro .fs-table--sig td { font-size: 14px; white-space: normal; }
}

/* 副院長の名前の下の罫線（本番は左寄せ・枠いっぱい 1140px） */
.kgreet-rule2 { width: 100%; max-width: 100%; margin: 10px 0 0; }

/* 所属（本番: ラベル列279px・一覧はその右 x392 から・文字は黒15px）
   変換で50%:50%になっていたため、ラベルと一覧が大きく離れていた */
.kgreet-affil {
  grid-template-columns: 143px 1fr;   /* 本番: 箱の左213→区切り線356 */
  gap: 0 36px;
  align-items: center;                /* ラベルは縦中央 */
  margin: 45px 95px 28px;             /* 年表の箱との間隔（本番45px。年表側の28pxと相殺されるので45を指定） */
  padding: 24px 0;
  background: #fff2e6;                /* 年表と同じ背景色 */
}
.kgreet-affil > .fs-grid__col:first-child { border-right: 1px solid #8c8986; }
.kgreet-affil .fs-txt { margin: 0; }
.kgreet-affil .fs-txt p { margin: 0; line-height: 1.9; }   /* 本番の行間（1行28.5px）に合わせる */
.kgreet-affil .fs-grid__col:last-child .fs-txt p { color: #000; }
@media screen and (max-width: 767px) {
  .kgreet-affil {
    grid-template-columns: 1fr; gap: 8px;
    margin: -16px 0 20px; padding: 16px 14px;
  }
  .kgreet-affil > .fs-grid__col:first-child { border-right: 0; border-bottom: 1px solid #8c8986; padding-bottom: 8px; }
}
