/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jul 23 2026 | 11:56:40 */
/* =========================================
   TKP キャリアオープンデー用CSS（整理版）
   ※ #single-event 内だけに適用
========================================= */

/* 投稿タイトルを非表示 */
#single-event .event-detail-title {
  display: none !important;
}

/* 本文エリア */
#single-event .article-content {
  color: #253247;
  font-size: 16px;
  line-height: 1.9;
}

#single-event .sb-event-page {
  width: 100%;
  max-width: 1054px;
  margin: 0 auto;
  padding-bottom: 80px;
}

#single-event .sb-event-page p {
  margin: 0 0 1.5em;
}

/* 空の段落を非表示 */
#single-event .article-content p:empty {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* セクション見出し */
#single-event .sb-event-page h2 {
  display: block;
  clear: both;
  margin: 20px 0 32px !important;
  padding: 17px 22px;
  border-left: 6px solid #e00018;
  color: #0b2c5d;
  background: #f2f6fa;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.45;
}

#single-event .sb-event-page > h2:first-child {
  margin-top: 0 !important;
}

/* 小見出し */
#single-event .sb-event-page h3 {
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #dce4ed;
  color: #0b2c5d;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
}

#single-event .sb-event-page strong {
  font-weight: 700;
}

/* 箇条書き */
#single-event .sb-event-page ul {
  margin: 24px 0 38px;
  padding: 24px 30px 14px 54px;
  border-radius: 10px;
  background: #f6f8fb;
}

#single-event .sb-event-page ul li {
  margin-bottom: 12px;
}

#single-event .sb-event-page ul li::marker {
  color: #e00018;
}

/* 番号付きリスト */
#single-event .sb-event-page ol {
  margin: 24px 0 38px;
  padding: 24px 30px 14px 58px;
  border: 1px solid #dce4ed;
  border-radius: 10px;
  background: #ffffff;
}

#single-event .sb-event-page ol li {
  margin-bottom: 12px;
}

/* 開催概要の表 */
#single-event .sb-event-page table {
  width: 100%;
  margin: 28px 0 42px;
  border-collapse: collapse;
  border-spacing: 0;
}

#single-event .sb-event-page table th,
#single-event .sb-event-page table td {
  padding: 16px 18px;
  border: 1px solid #dce4ed;
  text-align: left;
  vertical-align: top;
}

#single-event .sb-event-page table th {
  width: 28%;
  color: #0b2c5d;
  background: #f2f6fa;
  font-weight: 700;
}

/* 本文画像 */
#single-event .sb-event-page img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 40px;
  border-radius: 8px;
}

/* 申込ボタン */
#single-event .sb-event-page a[href*="forms.gle"],
#single-event .sb-event-page a[href*="docs.google.com/forms"],
#single-event .sb-event-page a[href="#entry"] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 430px);
  min-height: 60px;
  margin: 32px auto;
  padding: 15px 30px;
  border-radius: 999px;
  color: #ffffff !important;
  background: #e00018;
  box-shadow: 0 8px 22px rgba(224, 0, 24, 0.22);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#single-event .sb-event-page a[href*="forms.gle"]:hover,
#single-event .sb-event-page a[href*="docs.google.com/forms"]:hover,
#single-event .sb-event-page a[href="#entry"]:hover {
  color: #ffffff !important;
  background: #bd0014;
  box-shadow: 0 11px 26px rgba(224, 0, 24, 0.3);
  transform: translateY(-2px);
}

/* =========================================
   イベント内容カード
========================================= */

#single-event .event-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 30px 0 50px;
}

#single-event .event-card {
  padding: 28px 26px;
  border: 1px solid #dce4ed;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 7px 22px rgba(11, 44, 93, 0.07);
}

#single-event .event-card:last-child {
  grid-column: 1 / -1;
  width: calc(50% - 11px);
  margin: 0 auto;
}

#single-event .event-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #ffffff;
  background: #0b2c5d;
  font-size: 24px;
  line-height: 1;
}

#single-event .event-card h3 {
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #0b2c5d !important;
  font-size: 19px !important;
  line-height: 1.5 !important;
}

#single-event .event-card p {
  margin: 0 !important;
  color: #536175;
  font-size: 14px;
  line-height: 1.8;
}

/* =========================================
   職種カード
========================================= */

#single-event .job-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  min-height: 0 !important;
  margin: 30px 0 0 !important;
  padding-bottom: 0 !important;
}

#single-event .job-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #dce4ed;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#single-event .job-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

#single-event .job-card img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 16 / 10;
  margin: 0 !important;
  border-radius: 0 !important;
  object-fit: cover;
}

#single-event .job-card-body {
  flex: 1;
  padding: 24px;
}

#single-event .job-card-body h3 {
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #0b2c5d;
  font-size: 20px !important;
  line-height: 1.5;
}

#single-event .job-card-body p {
  margin: 0 !important;
  padding: 0 !important;
  color: #5a6877;
  font-size: 14px;
  line-height: 1.8;
}

#single-event .job-tag {
  display: inline-block;
  margin: 0 24px 24px;
  padding: 6px 14px;
  border-radius: 30px;
  color: #0b2c5d;
  background: #eaf6ff;
  font-size: 12px;
  font-weight: 700;
}

/* 職種一覧と次のセクションの間 */
#single-event .job-grid + hr {
  display: none !important;
}

#single-event .job-grid + .event-timeline-section,
#single-event .job-grid + hr + .event-timeline-section {
  margin-top: 48px !important;
}

/* =========================================
   当日の流れ
========================================= */

#single-event .event-timeline-section {
  margin: 48px 0 64px !important;
  padding: 0 !important;
}

#single-event .event-timeline-section > h2 {
  margin-bottom: 32px !important;
}

#single-event .event-timeline {
  position: relative;
  width: 100% !important;
  max-width: 760px;
  margin: 0 auto !important;
  padding: 0 !important;
}

#single-event .event-timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 11px;
  width: 2px;
  background: #d9d9d9;
}

#single-event .event-timeline-item {
  position: relative;
  display: flex !important;
  align-items: flex-start !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding-bottom: 34px !important;
  gap: 24px;
}

#single-event .event-timeline-item:last-child {
  padding-bottom: 0 !important;
}

#single-event .event-timeline-marker {
  position: relative;
  z-index: 1;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-top: 3px;
  border: 5px solid #e64b3c;
  border-radius: 50%;
  background: #ffffff;
  box-sizing: border-box;
}

#single-event .event-timeline-content {
  display: block !important;
  flex: 1 1 auto !important;
  width: calc(100% - 48px) !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0 0 4px;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

#single-event .event-timeline-content h3,
#single-event .event-timeline-content p {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
}

#single-event .event-timeline-content h3 {
  margin: 0 0 8px !important;
  border: 0 !important;
  color: #222222;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

#single-event .event-timeline-content p {
  margin: 0 !important;
  color: #555555;
  font-size: 16px;
  line-height: 1.8;
}

#single-event .event-timeline-section + hr {
  display: none !important;
}

/* =========================================
   レスポンシブ
========================================= */

@media screen and (max-width: 900px) {
  #single-event .job-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  #single-event .event-timeline-section {
    margin: 40px 0 48px !important;
  }

  #single-event .event-timeline-section > h2 {
    margin-bottom: 24px !important;
  }

  #single-event .event-timeline-item {
    gap: 16px;
    padding-bottom: 28px !important;
  }

  #single-event .event-timeline-content h3 {
    font-size: 18px;
  }

  #single-event .event-timeline-content p {
    font-size: 15px;
  }
}

@media screen and (max-width: 640px) {
  #single-event .article-content {
    font-size: 15px;
    line-height: 1.85;
  }

  #single-event .sb-event-page {
    padding-bottom: 60px;
  }

  #single-event .sb-event-page h2 {
    padding: 13px 15px;
    border-left-width: 5px;
    font-size: 22px;
  }

  #single-event .sb-event-page h3 {
    margin-top: 32px;
    font-size: 18px;
  }

  #single-event .sb-event-page ul {
    padding: 20px 18px 10px 42px;
  }

  #single-event .sb-event-page ol {
    padding: 20px 18px 10px 46px;
  }

  #single-event .sb-event-page table th,
  #single-event .sb-event-page table td {
    display: block;
    width: 100%;
    padding: 13px 15px;
  }

  #single-event .sb-event-page table th {
    border-bottom: 0;
  }

  #single-event .sb-event-page a[href*="forms.gle"],
  #single-event .sb-event-page a[href*="docs.google.com/forms"],
  #single-event .sb-event-page a[href="#entry"] {
    width: 100%;
    min-height: 56px;
    padding: 14px 18px;
    font-size: 16px;
  }

  #single-event .event-card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #single-event .event-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  #single-event .event-card {
    padding: 23px 20px;
  }

  #single-event .event-card-icon {
    width: 46px;
    height: 46px;
    font-size: 21px;
  }

  #single-event .job-grid {
    grid-template-columns: 1fr;
  }

  #single-event .job-card-body {
    padding: 20px;
  }