/* ========================================
  Single Article (記事詳細)
======================================== */
.single {
  background: #fff;
  padding: 9.6rem 0 0;
}

.single__inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* ========================================
  Single Header (記事ヘッダー)
======================================== */
.single-header {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding-bottom: 3.3rem;
  border-bottom: 1px solid #e8ebf1;
}

.single-header__meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.single-header__date {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: #f87a3b;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.single-header__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.8rem;
  padding: 0.4rem 0.7rem 0.5rem;
  background: #f87a3b;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
}

.single-header__tag--recruit {
  background: #f87a3b;
}

.single-header__tag--procedure {
  background: #375b58;
}

.single-header__tag--info {
  background: #837358;
}

.single-header__title {
  font-size: 3.2rem;
  font-weight: 700;
  color: #44403c;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

/* ========================================
  Single Body (記事本文 — WP投稿コンテンツ)
======================================== */
.single-body {
  padding: 4rem 0;
}

/* --- 本文テキスト --- */
.single-body p {
  font-size: 1.6rem;
  font-weight: 500;
  color: #44403c;
  line-height: 2;
  margin-bottom: 2.4rem;
}

.single-body p:last-child {
  margin-bottom: 0;
}

/* --- リンク --- */
.single-body a {
  color: #f87a3b;
  text-decoration: underline;
}

.single-body a:hover {
  opacity: 0.7;
}

/* --- H2 --- */
.single-body h2 {
  font-size: 2.8rem;
  font-weight: 500;
  color: #44403c;
  line-height: 1.4;
  padding: 0.4rem 0 0.4rem 1.6rem;
  border-bottom: 2px solid #ECE6DB;
  margin-top: 4rem;
  margin-bottom: 2.4rem;
}

/* --- H3 --- */
.single-body h3 {
  font-size: 2.4rem;
  font-weight: 500;
  color: #44403c;
  line-height: 1;
  padding-left: 1.2rem;
  border-left: 4px solid #f87a3b;
  margin-top: 3.2rem;
  margin-bottom: 2.4rem;
}

/* --- H4 --- */
.single-body h4 {
  font-size: 2rem;
  font-weight: 500;
  color: #44403c;
  line-height: 1.5;
  margin-top: 2.4rem;
  margin-bottom: 2.4rem;
}

/* --- H5 --- */
.single-body h5 {
  font-size: 1.8rem;
  font-weight: 500;
  color: #44403c;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2.4rem;
  margin-bottom: 2.4rem;
}

.single-body h5::before {
  content: '';
  display: block;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #f87a3b;
  flex-shrink: 0;
}

/* --- H6 --- */
.single-body h6 {
  font-size: 1.6rem;
  font-weight: 500;
  color: #f87a3b;
  line-height: 1.5;
  margin-top: 2.4rem;
  margin-bottom: 2.4rem;
}

/* --- 画像 (figure) --- */
.single-body figure {
  margin-top: 2.4rem;
  margin-bottom: 2.4rem;
}

.single-body figure img {
  width: 100%;
  height: auto;
  border-radius: 1.2rem;
}

.single-body figure figcaption {
  font-size: 1.4rem;
  color: #888;
  margin-top: 0.8rem;
}

/* --- 箇条書きリスト (ul) --- */
.single-body ul {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.4rem;
  padding-left: 0;
  list-style: none;
}

.single-body ul li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.6rem;
  font-weight: 500;
  color: #44403c;
  line-height: 1;
}

.single-body ul li::before {
  content: '';
  display: block;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #f87a3b;
  flex-shrink: 0;
}

/* --- 番号リスト (ol) --- */
.single-body ol {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.4rem;
  padding-left: 0;
  list-style: none;
  counter-reset: ol-counter;
}

.single-body ol li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.6rem;
  font-weight: 500;
  color: #44403c;
  line-height: 1;
  counter-increment: ol-counter;
}

.single-body ol li::before {
  content: counter(ol-counter);
  font-family: 'Poppins', sans-serif;
  font-size: 1.9rem;
  font-weight: 500;
  color: #44403c;
  width: 1.2rem;
  flex-shrink: 0;
}

/* ========================================
  Back Button (一覧に戻る)
======================================== */
.single-back {
  padding-top: 4.1rem;
  border-top: 1px solid #e8ebf1;
  display: flex;
  justify-content: center;
  padding-bottom: 8.5rem;
}

.single-back__link {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  border-bottom: 1px solid #44403c;
  padding-bottom: 0.8rem;
  transition: opacity 0.3s ease;
}

.single-back__link:hover {
  opacity: 0.7;
}

.single-back__icon {
  width: 3rem;
  height: 3rem;
}

.single-back__text {
  font-size: 2rem;
  font-weight: 700;
  color: #44403c;
  line-height: 1.8;
}

/* ========================================
  SP Responsive (max-width: 767px)
======================================== */
@media (max-width: 767px) {

  /* Single Article SP */
  .single {
    padding: 4rem 0 0;
  }

  .single__inner {
    padding: 0 2rem;
  }

  /* Header SP */
  .single-header {
    gap: 1.2rem;
    padding-bottom: 2rem;
  }

  .single-header__date {
    font-size: 1.4rem;
  }

  .single-header__tag {
    width: 5.2rem;
    font-size: 1rem;
    padding: 0.3rem 0.5rem 0.4rem;
  }

  .single-header__title {
    font-size: 2.2rem;
    line-height: 1.5;
  }

  /* Body SP */
  .single-body {
    padding: 3rem 0;
  }

  .single-body p {
    font-size: 1.5rem;
    line-height: 1.9;
    margin-bottom: 2rem;
  }

  .single-body h2 {
    font-size: 2.2rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding-left: 1.2rem;
  }

  .single-body h3 {
    font-size: 2rem;
    margin-top: 2.4rem;
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left-width: 3px;
  }

  .single-body h4 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1.6rem;
  }

  .single-body h5 {
    font-size: 1.6rem;
    margin-top: 2rem;
    margin-bottom: 1.6rem;
  }

  .single-body h5::before {
    width: 0.8rem;
    height: 0.8rem;
  }

  .single-body h6 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1.6rem;
  }

  .single-body figure {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .single-body figure img {
    border-radius: 0.8rem;
  }

  .single-body ul,
  .single-body ol {
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .single-body ul li,
  .single-body ol li {
    font-size: 1.5rem;
  }

  .single-body ol li::before {
    font-size: 1.7rem;
  }

  /* Back Button SP */
  .single-back {
    padding-top: 3rem;
    padding-bottom: 6rem;
  }

  .single-back__icon {
    width: 2.4rem;
    height: 2.4rem;
  }

  .single-back__text {
    font-size: 1.6rem;
  }
}