/**************************************************
 * セミナーページ用スタイル
 * /pfi-data/outline/ol-seminar/seminar-style.css
 **************************************************/

/* 全体ラッパー */
.seminar-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  box-sizing: border-box;
  font-size: 15px;
  line-height: 1.7;
}

/* タイトル */
.seminar-page .seminar-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0 0 12px;   /* ← ここが 16px → 12px に */
  padding-bottom: 8px;
  border-bottom: 2px solid #ccc;
}

/* セクション共通 */
.seminar-page section {
  margin-top: 28px;
  margin-bottom: 40px;
}

.seminar-page section:first-of-type {
  margin-top: 18px;
}

.seminar-page section > h2 {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0 0 10px;
  padding-left: 8px;
  border-left: 4px solid #0066cc;
}

/* 前文（ご案内） */
.seminar-intro p {
  margin: 0 0 10px 0;
}

/* 敬具は右寄せ */
.seminar-intro p.keigu {
  text-align: right;
}

/* 開催日バッジ（新規追加） */
.seminar-page .seminar-date-badge {
  display: inline-block;
  padding: 2px;                 /* 外枠と内側の隙間 */
  border: 2px solid #ffbcbc;    /* 一番外側のピンクの枠 */
  border-radius: 9999px;        /* 丸いカプセル形 */
  box-sizing: border-box;
}

.seminar-page .seminar-date-badge-inner {
  display: inline-block;
  padding: 8px 24px;            /* 文字の上下左右の余白でサイズを決定 */
  border-radius: 9999px;
  background: #ffcccc;
  border: 1px solid #ffffff;
  color: #c0392b;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4;
  /* 長文でも1行に収めたい場合は↓を付ける */
  /* white-space: nowrap; */
}


/* ========================================
 * セミナー概要（テーブル）
 * ======================================*/
.seminar-outline .outline-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  table-layout: fixed;
  font-size: 0.95em;
}

.seminar-outline .outline-table th,
.seminar-outline .outline-table td {
  padding: 8px 10px;
  border: 1px solid #ccc;
  vertical-align: top;
}

.seminar-outline .outline-table th {
  width: 22%;
  white-space: nowrap;
  background-color: #f0f0f0;
  text-align: left;
}

.seminar-outline .outline-table td {
  width: 78%;
}

/* ========================================
 * プログラム表
 * ======================================*/
.seminar-program .program-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  table-layout: fixed;
  font-size: 0.95em;
}

.seminar-program .program-table th,
.seminar-program .program-table td {
  padding: 8px 10px;
  border: 1px solid #ccc;
  vertical-align: top;
}

.seminar-program .program-table thead th {
  background-color: #f0f0f0;
  font-weight: bold;
  text-align: center;
}

.seminar-program .program-table .col-time {
  width: 20%;
  white-space: nowrap;
}

.seminar-program .program-table .col-detail {
  width: 80%;
}

/* ========================================
 * お申込みエリア
 * ======================================*/
.seminar-application p {
  margin: 0 0 10px;
}

.seminar-application .application-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  /* 中央寄せ */
  gap: 12px;
}

/* ボタン共通 */
.seminar-application .btn {
  display: inline-block;
  padding: 12px 36px;        /* 少し大きめ＆横長 */
  min-width: 240px;          /* 横長の最低幅 */
  text-align: center;
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 1px solid transparent;
  box-sizing: border-box;
  font-weight: bold;
  margin: 10px 0;
}

/* メール・FAXボタン */
.seminar-application .apply-mailfax {
  background-color: #ceedff;
  border-color: #0055aa;
  color: #0055aa;
}

/* WEBフォームボタン */
.seminar-application .apply-web {
  background-color: #0066cc;
  border-color: #0055aa;
  color: #ffffff;
}

/* hover（マウスが乗ったとき） */
.seminar-application .btn:hover {
  opacity: 0.5;
}

/* 演題と講師の間のライン */
hr.seminar-hr {
   border:0;
   height: 10px;
   background-image: url(/images/hr_line.png);
   background-repeat: repeat-x;
   background-position: center;
   }

/* スマホ向け調整 */
@media screen and (max-width: 767px) {
  .seminar-page {
    padding: 16px 10px 30px;
    font-size: 14px;
  }

  .seminar-page .seminar-title {
    font-size: 1.3rem;
  }

/* 開催日バッジ（スマホ用・新規追加） */
  .seminar-page .seminar-date-badge {
    display: inline-block;
    padding: 2px;                 /* 外枠と内側の隙間 */
    border: 2px solid #ffbcbc;    /* 一番外側のピンクの枠 */
    border-radius: 9999px;        /* 丸いカプセル形 */
    box-sizing: border-box;
  }

  .seminar-page .seminar-date-badge-inner {
    display: inline-block;
    padding: 8px 24px;            /* 文字の上下左右の余白でサイズを決定 */
    border-radius: 9999px;
    background: #ffcccc;
    border: 1px solid #ffffff;
    color: #c0392b;
    font-size: 0.9rem;
    font-weight: bold;
    line-height: 1.4;
    /* 長文でも1行に収めたい場合は↓を付ける */
    /* white-space: nowrap; */
  }

  .seminar-outline .outline-table th,
  .seminar-outline .outline-table td {
    padding: 6px 6px;
  }

  .seminar-program .program-table th,
  .seminar-program .program-table td {
    padding: 6px 6px;
  }

  .seminar-application .application-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .seminar-application .btn {
    width: 100%;     /* スマホでは横幅いっぱいで見やすく */
    min-width: 0;
  }
}
