@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/* =========================================================
   CATEGORY HUB / RESPONSIVE ARCHIVE
   Scope: category archives only
========================================================= */

html body.category #main,
html body.category #main * {
  box-sizing: border-box;
}

/* ---------- Category header ---------- */

html body.category #main .category-content {
  margin: 0 0 28px !important;
}

html body.category #main .category-header {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

html body.category #main .archive-title {
  position: relative !important;
  display: block !important;
  min-height: 0 !important;
  margin: 0 0 14px !important;
  padding: 46px 24px 20px !important;
  overflow: hidden !important;

  border: 1px solid #dbe7f3 !important;
  border-radius: 18px !important;

  background:
    radial-gradient(circle at 92% 12%, rgba(52, 142, 226, .16), transparent 34%),
    linear-gradient(135deg, #fbfdff 0%, #f3f8fe 58%, #edf6ff 100%) !important;

  box-shadow: 0 12px 30px rgba(19, 58, 96, .055) !important;

  color: #10213d !important;
  font-size: clamp(24px, 2.35vw, 31px) !important;
  font-weight: 800 !important;
  line-height: 1.34 !important;
  letter-spacing: -.03em !important;
}

html body.category #main .archive-title::before {
  content: "CATEGORY" !important;
  position: absolute !important;
  top: 18px !important;
  left: 24px !important;

  color: #1670d2 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: .18em !important;
}

html body.category #main .archive-title > .fa {
  display: none !important;
}

html body.category #main .category-page-content {
  margin: 0 !important;
  padding: 0 3px !important;
  border: 0 !important;
  color: #5b697b !important;
  font-size: 14px !important;
  line-height: 1.85 !important;
}

html body.category #main .category-page-content p {
  margin: 0 !important;
}

/* ---------- Guided hub ---------- */

html body.category #main .rtl-category-hub {
  margin: 30px 0 34px !important;
  color: #14213d;
}

html body.category #main .rtl-hub-head {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 24px !important;
  margin-bottom: 16px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #e3eaf2 !important;
}

html body.category #main .rtl-hub-head-copy {
  min-width: 0 !important;
}

html body.category #main .rtl-hub-eyebrow,
html body.category #main .rtl-hub-subhead > span,
html body.category #main .rtl-hub-latest > span {
  display: block !important;
  margin-bottom: 7px !important;
  color: #1670d2 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: .17em !important;
}

html body.category #main .rtl-hub-head h2 {
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #10213d !important;
  font-size: clamp(22px, 2vw, 28px) !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: -.025em !important;
}

html body.category #main .rtl-hub-head p {
  max-width: 650px !important;
  margin: 0 !important;
  color: #647286 !important;
  font-size: 13.5px !important;
  line-height: 1.75 !important;
}

html body.category #main .rtl-hub-count {
  flex: 0 0 auto !important;
  margin-bottom: 3px !important;
  padding: 7px 10px !important;

  border: 1px solid #dfe7f0 !important;
  border-radius: 999px !important;
  background: #fff !important;

  color: #738296 !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: .1em !important;
  white-space: nowrap !important;
}

/* 3 step cards */

html body.category #main .rtl-hub-steps {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 0 !important;
}

html body.category #main .rtl-hub-step {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 210px !important;
  padding: 19px 18px 17px !important;

  border: 1px solid #e0e8f1 !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(22, 56, 91, .045) !important;

  color: inherit !important;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}

html body.category #main .rtl-step-kicker {
  display: block !important;
  margin-bottom: 13px !important;
  color: #1670d2 !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: .09em !important;
}

html body.category #main .rtl-step-title {
  display: block !important;
  margin-bottom: 9px !important;
  color: #10213d !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.48 !important;
  letter-spacing: -.015em !important;
}

html body.category #main .rtl-step-desc {
  display: block !important;
  margin-bottom: 18px !important;
  color: #657387 !important;
  font-size: 12px !important;
  line-height: 1.7 !important;
}

html body.category #main .rtl-step-link {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: auto !important;
  color: #1268d2 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

/* Explore by purpose */

html body.category #main .rtl-hub-topics {
  margin-top: 24px !important;
  padding: 21px !important;

  border: 1px solid #e3eaf2 !important;
  border-radius: 16px !important;
  background: #f8fbfe !important;
}

html body.category #main .rtl-hub-subhead {
  display: flex !important;
  align-items: baseline !important;
  gap: 12px !important;
  margin-bottom: 13px !important;
}

html body.category #main .rtl-hub-subhead > span {
  margin: 0 !important;
}

html body.category #main .rtl-hub-subhead h3 {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #14213d !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

html body.category #main .rtl-topic-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 9px !important;
}

html body.category #main .rtl-topic-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  min-width: 0 !important;
  min-height: 48px !important;
  padding: 11px 13px !important;

  border: 1px solid #e2e9f1 !important;
  border-radius: 11px !important;
  background: #fff !important;

  color: #213451 !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  text-decoration: none !important;

  transition: border-color .2s ease, background-color .2s ease !important;
}

html body.category #main .rtl-topic-arrow {
  flex: 0 0 auto !important;
  color: #2676ca !important;
  font-weight: 800 !important;
}

/* Latest heading */

html body.category #main .rtl-hub-latest {
  margin: 31px 0 15px !important;
  padding-top: 22px !important;
  border-top: 1px solid #e3eaf2 !important;
}

html body.category #main .rtl-hub-latest h3 {
  margin: 0 0 5px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: #10213d !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  letter-spacing: -.02em !important;
}

html body.category #main .rtl-hub-latest p {
  margin: 0 !important;
  color: #748195 !important;
  font-size: 12.5px !important;
  line-height: 1.6 !important;
}

/* ---------- Stable article list ---------- */

html body.category #main #list,
html body.category #main .list {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

html body.category #main #list::before,
html body.category #main #list::after,
html body.category #main .list::before,
html body.category #main .list::after {
  content: none !important;
  display: none !important;
}

/* Remove old "featured first card" behaviour completely */
html body.category #main #list .entry-card-wrap,
html body.category #main .list .entry-card-wrap,
html body.category #main #list .entry-card-wrap:first-of-type,
html body.category #main .list .entry-card-wrap:first-of-type {
  display: block !important;
  margin: 0 0 13px !important;
  padding: 0 !important;
  overflow: hidden !important;

  border: 1px solid #e3e9f0 !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 4px 15px rgba(21, 50, 84, .04) !important;

  text-decoration: none !important;
  transform: none !important;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease !important;
}

html body.category #main #list .entry-card,
html body.category #main .list .entry-card,
html body.category #main #list .entry-card-wrap:first-of-type .entry-card,
html body.category #main .list .entry-card-wrap:first-of-type .entry-card {
  display: grid !important;
  grid-template-columns: minmax(210px, 32%) minmax(0, 1fr) !important;
  align-items: stretch !important;
  min-height: 150px !important;
  padding: 0 !important;
  background: transparent !important;
}

/* Reset Cocoon's archive floats / widths */
html body.category #main #list .entry-card-thumb,
html body.category #main .list .entry-card-thumb,
html body.category #main #list .entry-card-wrap:first-of-type .entry-card-thumb,
html body.category #main .list .entry-card-wrap:first-of-type .entry-card-thumb {
  position: relative !important;
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  background: #edf3f9 !important;
}

html body.category #main #list .entry-card-thumb::after,
html body.category #main .list .entry-card-thumb::after,
html body.category #main #list .entry-card-wrap:first-of-type .entry-card-thumb::after,
html body.category #main .list .entry-card-wrap:first-of-type .entry-card-thumb::after {
  content: none !important;
  display: none !important;
}

html body.category #main #list .entry-card-thumb img,
html body.category #main .list .entry-card-thumb img,
html body.category #main #list .entry-card-wrap:first-of-type .entry-card-thumb img,
html body.category #main .list .entry-card-wrap:first-of-type .entry-card-thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 150px !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  transition: transform .3s ease !important;
}

html body.category #main #list .entry-card-content,
html body.category #main .list .entry-card-content,
html body.category #main #list .entry-card-wrap:first-of-type .entry-card-content,
html body.category #main .list .entry-card-wrap:first-of-type .entry-card-content {
  position: relative !important;
  float: none !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;

  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;

  margin: 0 !important;
  padding: 18px 20px 16px !important;
}

html body.category #main #list .entry-card-title,
html body.category #main .list .entry-card-title,
html body.category #main #list .entry-card-wrap:first-of-type .entry-card-title,
html body.category #main .list .entry-card-wrap:first-of-type .entry-card-title {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 0 7px !important;
  padding: 0 !important;

  color: #14213d !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.55 !important;
  letter-spacing: -.012em !important;

  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  writing-mode: horizontal-tb !important;
  -webkit-line-clamp: unset !important;
}

html body.category #main #list .entry-card-snippet,
html body.category #main .list .entry-card-snippet {
  display: -webkit-box !important;
  overflow: hidden !important;
  margin: 0 0 10px !important;

  color: #6b7889 !important;
  font-size: 12.5px !important;
  line-height: 1.7 !important;

  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

html body.category #main #list .entry-card-meta,
html body.category #main .list .entry-card-meta,
html body.category #main #list .post-date,
html body.category #main .list .post-date {
  margin-top: auto !important;
  color: #99a5b4 !important;
  font-size: 10.5px !important;
}

html body.category #main #list .cat-label,
html body.category #main .list .cat-label {
  display: none !important;
}

/* ---------- Interaction ---------- */

@media (hover: hover) and (pointer: fine) {
  html body.category #main .rtl-hub-step:hover {
    transform: translateY(-3px) !important;
    border-color: #cbdced !important;
    box-shadow: 0 12px 28px rgba(22, 56, 91, .09) !important;
  }

  html body.category #main .rtl-topic-link:hover {
    border-color: #c9dced !important;
    background: #f9fcff !important;
  }

  html body.category #main #list .entry-card-wrap:hover,
  html body.category #main .list .entry-card-wrap:hover {
    transform: translateY(-2px) !important;
    border-color: #cdddeb !important;
    box-shadow: 0 9px 24px rgba(21, 50, 84, .075) !important;
  }

  html body.category #main #list .entry-card-wrap:hover .entry-card-thumb img,
  html body.category #main .list .entry-card-wrap:hover .entry-card-thumb img {
    transform: scale(1.02) !important;
  }
}

html body.category #main .rtl-hub-step:focus-visible,
html body.category #main .rtl-topic-link:focus-visible,
html body.category #main #list .entry-card-wrap:focus-visible {
  outline: 3px solid rgba(20, 112, 210, .24) !important;
  outline-offset: 3px !important;
}

/* ---------- Tablet ---------- */

@media screen and (min-width: 769px) and (max-width: 1100px) {
  html body.category #main .rtl-hub-steps {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  html body.category #main .rtl-hub-step {
    min-height: 0 !important;
    padding: 17px 18px !important;
  }

  html body.category #main .rtl-step-desc {
    margin-bottom: 12px !important;
  }

  html body.category #main #list .entry-card,
  html body.category #main .list .entry-card {
    grid-template-columns: minmax(190px, 34%) minmax(0, 1fr) !important;
  }
}

/* ---------- Mobile ---------- */

@media screen and (max-width: 768px) {
  html body.category #main .category-content {
    margin-bottom: 22px !important;
  }

  html body.category #main .archive-title {
    margin-bottom: 12px !important;
    padding: 42px 18px 17px !important;
    border-radius: 16px !important;
    font-size: 23px !important;
  }

  html body.category #main .archive-title::before {
    top: 16px !important;
    left: 18px !important;
  }

  html body.category #main .category-page-content {
    padding: 0 1px !important;
    font-size: 13.5px !important;
    line-height: 1.78 !important;
  }

  html body.category #main .rtl-category-hub {
    margin: 24px 0 27px !important;
  }

  html body.category #main .rtl-hub-head {
    display: block !important;
    margin-bottom: 13px !important;
    padding-bottom: 13px !important;
  }

  html body.category #main .rtl-hub-head h2 {
    font-size: 21px !important;
  }

  html body.category #main .rtl-hub-head p {
    font-size: 13px !important;
  }

  html body.category #main .rtl-hub-count {
    display: inline-block !important;
    margin-top: 12px !important;
    margin-bottom: 0 !important;
  }

  html body.category #main .rtl-hub-steps {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  html body.category #main .rtl-hub-step {
    min-height: 0 !important;
    padding: 16px 16px 15px !important;
    border-radius: 14px !important;
  }

  html body.category #main .rtl-step-kicker {
    margin-bottom: 8px !important;
  }

  html body.category #main .rtl-step-title {
    margin-bottom: 6px !important;
    font-size: 15.5px !important;
  }

  html body.category #main .rtl-step-desc {
    margin-bottom: 10px !important;
    font-size: 11.8px !important;
  }

  html body.category #main .rtl-hub-topics {
    margin-top: 18px !important;
    padding: 16px !important;
    border-radius: 14px !important;
  }

  html body.category #main .rtl-hub-subhead {
    margin-bottom: 10px !important;
  }

  html body.category #main .rtl-topic-grid {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
  }

  html body.category #main .rtl-topic-link {
    min-height: 44px !important;
    padding: 10px 12px !important;
    font-size: 12px !important;
  }

  html body.category #main .rtl-hub-latest {
    margin-top: 24px !important;
    padding-top: 18px !important;
  }

  html body.category #main .rtl-hub-latest h3 {
    font-size: 18px !important;
  }

  /* Mobile list cards remain compact and readable */
  html body.category #main #list .entry-card,
  html body.category #main .list .entry-card,
  html body.category #main #list .entry-card-wrap:first-of-type .entry-card,
  html body.category #main .list .entry-card-wrap:first-of-type .entry-card {
    grid-template-columns: minmax(112px, 36%) minmax(0, 1fr) !important;
    min-height: 116px !important;
  }

  html body.category #main #list .entry-card-thumb img,
  html body.category #main .list .entry-card-thumb img,
  html body.category #main #list .entry-card-wrap:first-of-type .entry-card-thumb img,
  html body.category #main .list .entry-card-wrap:first-of-type .entry-card-thumb img {
    min-height: 116px !important;
    object-position: center center !important;
  }

  html body.category #main #list .entry-card-content,
  html body.category #main .list .entry-card-content,
  html body.category #main #list .entry-card-wrap:first-of-type .entry-card-content,
  html body.category #main .list .entry-card-wrap:first-of-type .entry-card-content {
    justify-content: flex-start !important;
    padding: 12px 12px 10px !important;
  }

  html body.category #main #list .entry-card-title,
  html body.category #main .list .entry-card-title,
  html body.category #main #list .entry-card-wrap:first-of-type .entry-card-title,
  html body.category #main .list .entry-card-wrap:first-of-type .entry-card-title {
    display: -webkit-box !important;
    overflow: hidden !important;
    margin-bottom: 6px !important;
    font-size: 14px !important;
    line-height: 1.47 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
  }

  html body.category #main #list .entry-card-snippet,
  html body.category #main .list .entry-card-snippet {
    display: none !important;
  }
}

/* ---------- Small phones ---------- */

@media screen and (max-width: 390px) {
  html body.category #main #list .entry-card,
  html body.category #main .list .entry-card {
    grid-template-columns: minmax(102px, 35%) minmax(0, 1fr) !important;
    min-height: 108px !important;
  }

  html body.category #main #list .entry-card-thumb img,
  html body.category #main .list .entry-card-thumb img {
    min-height: 108px !important;
  }

  html body.category #main #list .entry-card-content,
  html body.category #main .list .entry-card-content {
    padding: 10px 10px 9px !important;
  }

  html body.category #main #list .entry-card-title,
  html body.category #main .list .entry-card-title {
    font-size: 13.5px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.category #main .rtl-hub-step,
  html body.category #main .rtl-topic-link,
  html body.category #main #list .entry-card-wrap,
  html body.category #main #list .entry-card-thumb img {
    transition: none !important;
  }
}


/* =========================================================
   SINGLE POST / NEXT READ
========================================================= */

html body.single-post .rtl-next-read {
  margin: 42px 0 10px !important;
  padding: 28px !important;

  border: 1px solid #dfe8f1 !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 94% 8%, rgba(47, 133, 214, .10), transparent 34%),
    linear-gradient(145deg, #fbfdff 0%, #f7fbff 100%) !important;

  box-shadow: 0 10px 28px rgba(22, 53, 87, .055) !important;
}

html body.single-post .rtl-next-read-head {
  margin-bottom: 17px !important;
  padding-bottom: 15px !important;
  border-bottom: 1px solid #e3eaf2 !important;
}

html body.single-post .rtl-next-read-kicker {
  display: block !important;
  margin-bottom: 7px !important;

  color: #1670d2 !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: .17em !important;
}

html body.single-post .rtl-next-read-head h2 {
  margin: 0 0 7px !important;
  padding: 0 !important;

  border: 0 !important;
  background: none !important;

  color: #10213d !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  letter-spacing: -.02em !important;
}

html body.single-post .rtl-next-read-head h2::before,
html body.single-post .rtl-next-read-head h2::after {
  content: none !important;
  display: none !important;
}

html body.single-post .rtl-next-read-head p {
  margin: 0 !important;

  color: #6a7788 !important;
  font-size: 12.5px !important;
  line-height: 1.65 !important;
}

html body.single-post .rtl-next-read-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

html body.single-post .rtl-next-read-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  overflow: hidden !important;

  border: 1px solid #e1e8f0 !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 4px 14px rgba(19, 49, 83, .04) !important;

  color: inherit !important;
  text-decoration: none !important;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease !important;
}

html body.single-post .rtl-next-read-thumb {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  background: #edf3f8 !important;
}

html body.single-post .rtl-next-read-thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover !important;
  transition: transform .3s ease !important;
}

html body.single-post .rtl-next-read-body {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-width: 0 !important;
  padding: 15px 16px 14px !important;
}

html body.single-post .rtl-next-read-number {
  display: block !important;
  margin-bottom: 8px !important;

  color: #1670d2 !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: .12em !important;
}

html body.single-post .rtl-next-read-title {
  display: block !important;
  margin-bottom: 8px !important;

  color: #14213d !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.52 !important;
  letter-spacing: -.012em !important;
}

html body.single-post .rtl-next-read-desc {
  display: -webkit-box !important;
  overflow: hidden !important;
  margin-bottom: 13px !important;

  color: #697789 !important;
  font-size: 11.5px !important;
  line-height: 1.7 !important;

  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
}

html body.single-post .rtl-next-read-link {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: auto !important;

  color: #1268d2 !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
}

@media (hover: hover) and (pointer: fine) {
  html body.single-post .rtl-next-read-card:hover {
    transform: translateY(-3px) !important;
    border-color: #cbdced !important;
    box-shadow: 0 11px 25px rgba(19, 49, 83, .08) !important;
  }

  html body.single-post .rtl-next-read-card:hover .rtl-next-read-thumb img {
    transform: scale(1.025) !important;
  }
}

html body.single-post .rtl-next-read-card:focus-visible {
  outline: 3px solid rgba(20, 112, 210, .24) !important;
  outline-offset: 3px !important;
}

@media screen and (max-width: 768px) {
  html body.single-post .rtl-next-read {
    margin-top: 34px !important;
    padding: 19px 15px 16px !important;
    border-radius: 16px !important;
  }

  html body.single-post .rtl-next-read-head {
    margin-bottom: 13px !important;
    padding-bottom: 12px !important;
  }

  html body.single-post .rtl-next-read-head h2 {
    font-size: 19px !important;
  }

  html body.single-post .rtl-next-read-head p {
    font-size: 12px !important;
  }

  html body.single-post .rtl-next-read-grid {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  html body.single-post .rtl-next-read-card {
    display: grid !important;
    grid-template-columns: minmax(108px, 36%) minmax(0, 1fr) !important;
    align-items: stretch !important;
    min-height: 112px !important;
  }

  html body.single-post .rtl-next-read-thumb {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
  }

  html body.single-post .rtl-next-read-thumb img {
    min-height: 112px !important;
  }

  html body.single-post .rtl-next-read-body {
    padding: 11px 12px 10px !important;
  }

  html body.single-post .rtl-next-read-number {
    margin-bottom: 5px !important;
    font-size: 8.5px !important;
  }

  html body.single-post .rtl-next-read-title {
    display: -webkit-box !important;
    overflow: hidden !important;
    margin-bottom: 6px !important;
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
  }

  html body.single-post .rtl-next-read-desc {
    display: none !important;
  }

  html body.single-post .rtl-next-read-link {
    font-size: 10.5px !important;
  }
}

@media screen and (max-width: 390px) {
  html body.single-post .rtl-next-read-card {
    grid-template-columns: minmax(100px, 35%) minmax(0, 1fr) !important;
    min-height: 106px !important;
  }

  html body.single-post .rtl-next-read-thumb img {
    min-height: 106px !important;
  }

  html body.single-post .rtl-next-read-title {
    font-size: 13px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.single-post .rtl-next-read-card,
  html body.single-post .rtl-next-read-thumb img {
    transition: none !important;
  }
}

/* =========================================================
   MIGRATED CATEGORY BASE
   Source: former Customizer Additional CSS
   Kept intentionally until legacy custom CSS is retired.
========================================================= */

.category .main {
  padding-top: 18px;
}

.category .category-content {
  margin: 0 0 30px;
  padding: 0 0 24px;
  border-bottom: 1px solid #e3e9ef;
  color: #4d5965;
  font-size: 0.94rem;
  line-height: 1.85;
}

.category .category-content p {
  margin-top: 0;
  margin-bottom: 13px;
}

.category .category-content p:last-child {
  margin-bottom: 0;
}

.category .post-date,
.category .post-update {
  color: #8a949e;
  font-size: 0.70rem;
}

.category .breadcrumb {
  margin-top: 28px;
  color: #8a949e;
  font-size: 0.72rem;
}

.category .breadcrumb a {
  color: #74818d;
}

.category .pagination {
  margin-top: 32px;
}

.category .pagination a,
.category .pagination span {
  border-radius: 9px;
}

@media (max-width: 480px) {
  .category .main {
    padding-top: 12px;
  }

  .category .category-content {
    margin-bottom: 25px;
    padding-bottom: 20px;
    font-size: 0.90rem;
    line-height: 1.8;
  }
}


/* =========================================================
   MIGRATED HOME PAGE BASE
   Source: former Customizer Additional CSS
   ========================================================= */

/* ==================================================
   リスキリング転職ラボ
   HOME PAGE DESIGN
   ================================================== */


/* ---------- ホームページの記事要素を整理 ---------- */

.home.page .article-header,
.home.page .sns-share,
.home.page .sns-follow,
.home.page .author-info,
.home.page .toc,
.home.page .post-date,
.home.page .post-update {
  display: none !important;
}


/* タイトルを消したあとの不要な上余白を削減 */

.home.page .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.home.page .article {
  margin-top: 0 !important;
}

.home.page .main {
  padding-top: 14px;
}


/* ---------- デザイン変数 ---------- */

.home {
  --rtl-primary: #145a96;
  --rtl-primary-light: #347fbe;

  --rtl-text: #19232e;
  --rtl-muted: #687582;

  --rtl-border: #dce4eb;
  --rtl-soft: #f5f8fb;
  --rtl-card: #ffffff;

  --rtl-shadow:
    0 8px 28px rgba(27, 57, 86, 0.07);
}


/* ---------- 全体 ---------- */

.rtl-home {
  color: var(--rtl-text);
}

.rtl-home *,
.rtl-home *::before,
.rtl-home *::after {
  box-sizing: border-box;
}


/* ---------- HERO ---------- */

.rtl-hero {
  position: relative;

  overflow: hidden;

  margin:
    0
    0
    36px;

  padding:
    28px
    20px
    27px;

  border:
    1px solid
    var(--rtl-border);

  border-radius:
    22px;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(77, 151, 214, 0.15),
      transparent 40%
    ),
    linear-gradient(
      145deg,
      #ffffff 0%,
      #f4f8fc 100%
    );

  box-shadow:
    var(--rtl-shadow);
}


/* 背景のごく薄いアクセント */

.rtl-hero::after {
  content: "";

  position: absolute;

  right: -58px;
  bottom: -70px;

  width: 145px;
  height: 145px;

  border-radius: 50%;

  background:
    rgba(
      52,
      127,
      190,
      0.055
    );

  pointer-events: none;
}


/* HERO 上部ラベル */

.rtl-badge {
  position: relative;
  z-index: 1;

  display: inline-flex;

  margin-bottom: 16px;

  padding:
    5px
    10px;

  border:
    1px solid
    rgba(
      20,
      90,
      150,
      0.18
    );

  border-radius:
    999px;

  background:
    rgba(
      255,
      255,
      255,
      0.72
    );

  color:
    var(--rtl-primary);

  font-size:
    0.72rem;

  font-weight:
    700;

  letter-spacing:
    0.035em;
}


/* HERO メインコピー */

.rtl-hero-title {
  position: relative;
  z-index: 1;

  margin:
    0
    0
    18px;

  color:
    var(--rtl-text);

  font-size:
    clamp(
      2rem,
      8.6vw,
      3.3rem
    );

  font-weight:
    800;

  line-height:
    1.15;

  letter-spacing:
    -0.045em;
}


.rtl-hero-title span {
  color:
    var(--rtl-primary);
}


/* HERO 説明 */

.rtl-hero-lead {
  position: relative;
  z-index: 1;

  margin:
    0
    0
    10px;

  color:
    var(--rtl-text);

  font-size:
    0.96rem;

  font-weight:
    600;

  line-height:
    1.75;
}


.rtl-hero-sub {
  position: relative;
  z-index: 1;

  margin: 0;

  color:
    var(--rtl-muted);

  font-size:
    0.87rem;

  line-height:
    1.75;
}


/* ---------- SECTION ---------- */

.rtl-section {
  margin-bottom:
    36px;
}


.rtl-section-head {
  margin-bottom:
    14px;
}


/* EXPLORE / START HERE / LATEST */

.rtl-section-head > span {
  display: block;

  margin-bottom:
    3px;

  color:
    var(--rtl-primary-light);

  font-size:
    0.66rem;

  font-weight:
    800;

  letter-spacing:
    0.16em;
}


/* CocoonのH2装飾をトップだけ解除 */

.home
.entry-content
.rtl-section-head
h2 {

  margin: 0;

  padding: 0;

  border: 0;

  background: transparent;

  color:
    var(--rtl-text);

  font-size:
    1.35rem;

  font-weight:
    750;

  line-height:
    1.4;
}


/* ---------- CATEGORY CARDS ---------- */

.rtl-category-grid {
  display: grid;

  grid-template-columns:
    1fr;

  gap:
    9px;
}


.rtl-category-card,
.rtl-category-card:visited {

  position: relative;

  display: grid;

  grid-template-columns:
    29px
    minmax(0, 1fr)
    22px;

  gap:
    9px;

  align-items:
    center;

  min-height:
    91px;

  padding:
    14px
    14px;

  border:
    1px solid
    var(--rtl-border);

  border-radius:
    15px;

  background:
    var(--rtl-card);

  color:
    var(--rtl-text) !important;

  text-decoration:
    none !important;

  box-shadow:
    0 3px 14px
    rgba(
      27,
      57,
      86,
      0.035
    );

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}


.rtl-category-card:hover {

  transform:
    translateY(-2px);

  border-color:
    rgba(
      20,
      90,
      150,
      0.35
    );

  box-shadow:
    0 8px 22px
    rgba(
      27,
      57,
      86,
      0.075
    );
}


/* 01 / 02 / 03 / 04 */

.rtl-card-num {

  align-self:
    start;

  padding-top:
    2px;

  color:
    var(--rtl-primary-light);

  font-size:
    0.67rem;

  font-weight:
    800;
}


/* カテゴリータイトル */

.rtl-category-card strong,
.rtl-category-card:visited strong {

  display:
    block;

  margin-bottom:
    4px;

  color:
    var(--rtl-text) !important;

  font-size:
    0.96rem;

  line-height:
    1.4;
}


/* カテゴリー説明 */

.rtl-category-card p {

  margin: 0;

  color:
    var(--rtl-muted);

  font-size:
    0.77rem;

  line-height:
    1.5;
}


/* 矢印 */

.rtl-arrow {

  color:
    var(--rtl-primary-light);

  font-size:
    1.1rem;

  line-height: 1;
}


/* ---------- FEATURED ARTICLES ---------- */

.rtl-feature-grid {

  display: grid;

  grid-template-columns:
    1fr;

  gap:
    9px;
}


.rtl-feature-card,
.rtl-feature-card:visited {

  display: flex;

  flex-direction:
    column;

  min-height:
    116px;

  padding:
    15px
    15px
    14px;

  border:
    1px solid
    var(--rtl-border);

  border-radius:
    15px;

  background:
    linear-gradient(
      145deg,
      #ffffff 0%,
      #f8fafc 100%
    );

  color:
    var(--rtl-text) !important;

  text-decoration:
    none !important;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}


.rtl-feature-card:hover {

  transform:
    translateY(-2px);

  box-shadow:
    var(--rtl-shadow);
}


/* RESKILLING / SCHOOLなど */

.rtl-feature-label {

  margin-bottom:
    8px;

  color:
    var(--rtl-primary-light);

  font-size:
    0.62rem;

  font-weight:
    800;

  letter-spacing:
    0.13em;
}


/* 記事タイトル */

.rtl-feature-card strong,
.rtl-feature-card:visited strong {

  margin-bottom:
    10px;

  color:
    var(--rtl-text) !important;

  font-size:
    0.92rem;

  line-height:
    1.5;
}


/* 記事を読む */

.rtl-feature-more {

  margin-top:
    auto;

  color:
    var(--rtl-muted);

  font-size:
    0.72rem;
}


/* ---------- LATEST ---------- */

.rtl-latest-head {

  margin-top:
    2px;

  margin-bottom:
    18px;
}

.rtl-latest-head > span {
  margin-bottom:5px !important;
  font-size:0.78rem !important;
  letter-spacing:0.15em !important;
}

.home .entry-content .rtl-latest-head h2 {
  font-size:1.52rem !important;
  line-height:1.35 !important;
}


/* ---------- NEW LIST ---------- */


/* 2列化できる環境ではカード型に */

.home
.rtl-new-list.new-entry-cards,

.home
.rtl-new-list
.new-entry-cards {

  display:
    grid;

  grid-template-columns:
    1fr;

  gap:
    11px;
}


/* 新着記事カード */

.home
.rtl-new-list
.new-entry-card,

.home
.rtl-new-list.new-entry-cards
.new-entry-card {

  margin: 0;

  overflow:
    hidden;

  border:
    1px solid
    var(--rtl-border);

  border-radius:
    14px;

  background:
    var(--rtl-card);

  box-shadow:
    0 3px 14px
    rgba(
      27,
      57,
      86,
      0.04
    );
}


/* 新着記事タイトル */

.home
.rtl-new-list
.new-entry-card-title {

  color:
    var(--rtl-text);

  font-size:
    0.90rem;

  line-height:
    1.5;
}


/* ---------- Tablet / PC ---------- */

@media
(min-width: 700px) {

  .rtl-hero {

    padding:
      42px
      40px
      40px;
  }


  .rtl-category-grid {

    grid-template-columns:
      repeat(
        2,
        minmax(
          0,
          1fr
        )
      );
  }


  .rtl-feature-grid {

    grid-template-columns:
      repeat(
        2,
        minmax(
          0,
          1fr
        )
      );
  }


  .home
  .rtl-new-list.new-entry-cards,

  .home
  .rtl-new-list
  .new-entry-cards {

    grid-template-columns:
      repeat(
        2,
        minmax(
          0,
          1fr
        )
      );
  }

}


/* ---------- Very small mobile ---------- */

@media
(max-width: 390px) {

  .home.page .main {
    padding-top:
      9px;
  }


  .rtl-hero {

    padding:
      24px
      17px
      23px;

    border-radius:
      18px;
  }


  .rtl-hero-title {

    font-size:
      1.9rem;
  }


  .rtl-category-card {

    min-height:
      88px;

    padding:
      13px
      12px;
  }

}


/* ---------- Keyboard accessibility ---------- */

.rtl-home
a:focus-visible {

  outline:
    3px solid
    var(--rtl-primary-light);

  outline-offset:
    3px;
}

/* =========================================================
   MIGRATED SINGLE POST BASE
   Source: former Customizer Additional CSS
   ========================================================= */

/* ==================================================
   SINGLE POST DESIGN
   リスキリング転職ラボ
   ================================================== */


/* ---------- 記事全体 ---------- */

.single-post .main {
  padding-top: 18px;
}

.single-post .article {
  color: inherit;
}


/* ---------- 記事タイトルまわり ---------- */

.single-post .article-header {
  margin-bottom: 24px;
}

.single-post .entry-title {
  margin: 0 0 12px;

  padding: 0;

  border: 0;

  background: transparent;

  font-size: clamp(
    1.65rem,
    6.4vw,
    2.35rem
  );

  font-weight: 800;

  line-height: 1.38;

  letter-spacing: -0.025em;
}


/* 投稿日 */

.single-post .date-tags,
.single-post .post-date,
.single-post .post-update {
  color: #85919c;

  font-size: 0.74rem;
}


/* 上部のシェアボタンは非表示
   記事下のシェアだけ残す */

.single-post .sns-share.ss-top {
  display: none;
}


/* ---------- 本文 ---------- */

.single-post .entry-content {
  font-size: 1rem;

  line-height: 1.95;

  letter-spacing: 0.01em;
}

.single-post .entry-content p {
  margin-top: 0;

  margin-bottom: 1.35em;
}

.single-post .entry-content strong {
  font-weight: 700;
}


/* 本文リンク */

.single-post .entry-content a {
  text-underline-offset: 3px;

  text-decoration-thickness: 1px;
}


/* ---------- H2 ---------- */

.single-post .entry-content h2 {
  margin-top: 2.7em;

  margin-bottom: 1.05em;

  padding:
    14px
    16px;

  border: 0;

  border-left:
    4px solid
    #145a96;

  border-radius:
    0 10px 10px 0;

  background:
    rgba(
      20,
      90,
      150,
      0.065
    );

  font-size: 1.42rem;

  font-weight: 750;

  line-height: 1.5;
}


/* ---------- H3 ---------- */

.single-post .entry-content h3 {
  margin-top: 2.1em;

  margin-bottom: 0.95em;

  padding:
    0
    0
    8px;

  border: 0;

  border-bottom:
    1px solid
    rgba(
      20,
      90,
      150,
      0.22
    );

  background: transparent;

  font-size: 1.18rem;

  font-weight: 700;

  line-height: 1.5;
}


/* ---------- H4 ---------- */

.single-post .entry-content h4 {
  margin-top: 1.8em;

  margin-bottom: 0.8em;

  padding-left: 10px;

  border-left:
    3px solid
    rgba(
      20,
      90,
      150,
      0.55
    );

  font-size: 1.04rem;

  line-height: 1.5;
}


/* ---------- リスト ---------- */

.single-post .entry-content ul,
.single-post .entry-content ol {
  margin:
    0
    0
    1.5em;

  padding-left:
    1.45em;
}

.single-post .entry-content li {
  margin-bottom:
    0.45em;

  line-height:
    1.8;
}


/* ---------- 目次 ---------- */

.single-post .toc {
  margin:
    26px
    0
    34px;

  padding:
    18px
    18px;

  border:
    1px solid
    rgba(
      20,
      90,
      150,
      0.18
    );

  border-radius:
    14px;

  background:
    rgba(
      20,
      90,
      150,
      0.035
    );

  box-shadow: none;
}

.single-post .toc-title {
  margin-bottom:
    12px;

  font-size:
    1rem;

  font-weight:
    700;

  text-align:
    left;
}

.single-post .toc-list,
.single-post .toc-list ul {
  line-height:
    1.7;
}

.single-post .toc-list li {
  margin-bottom:
    5px;
}

.single-post .toc a {
  text-decoration:
    none;
}


/* ---------- 引用 ---------- */

.single-post .entry-content blockquote {
  margin:
    1.7em 0;

  padding:
    18px 18px 18px 20px;

  border: 0;

  border-left:
    4px solid
    #347fbe;

  border-radius:
    0 10px 10px 0;

  background:
    rgba(
      20,
      90,
      150,
      0.045
    );
}


/* ---------- 画像 ---------- */

.single-post .entry-content img {
  border-radius:
    10px;
}


/* ---------- テーブル ---------- */

.single-post .scrollable-table {
  margin:
    1.6em 0;

  overflow-x:
    auto;

  border:
    1px solid
    rgba(
      127,
      127,
      127,
      0.20
    );

  border-radius:
    12px;
}

.single-post .entry-content table {
  margin: 0;

  border-collapse:
    collapse;

  font-size:
    0.88rem;
}

.single-post .entry-content th {
  background:
    rgba(
      20,
      90,
      150,
      0.065
    );

  font-weight:
    700;
}

.single-post .entry-content th,
.single-post .entry-content td {
  padding:
    10px
    11px;

  line-height:
    1.55;
}


/* ---------- ブログカード ---------- */

.single-post .blogcard {
  overflow: hidden;

  border:
    1px solid
    rgba(
      127,
      127,
      127,
      0.20
    );

  border-radius:
    13px;

  box-shadow:
    0 3px 14px
    rgba(
      27,
      57,
      86,
      0.04
    );
}


/* ---------- カテゴリー・タグ ---------- */

.single-post .entry-categories-tags {
  margin-top:
    34px;

  padding-top:
    18px;

  border-top:
    1px solid
    rgba(
      127,
      127,
      127,
      0.18
    );
}


/* ---------- 記事下シェア ---------- */

.single-post .sns-share.ss-bottom {
  margin-top:
    28px;

  padding-top:
    22px;

  border-top:
    1px solid
    rgba(
      127,
      127,
      127,
      0.18
    );
}


/* ---------- 著者 ---------- */

.single-post .author-box {
  margin-top:
    26px;

  padding:
    18px;

  border:
    1px solid
    rgba(
      127,
      127,
      127,
      0.20
    );

  border-radius:
    14px;

  background:
    rgba(
      127,
      127,
      127,
      0.025
    );

  box-shadow:
    0 4px 16px
    rgba(
      27,
      57,
      86,
      0.035
    );
}


/* ---------- 関連記事 ---------- */

.single-post .related-entry-heading {
  margin-top:
    36px;

  padding:
    0 0 0 11px;

  border-left:
    4px solid
    #145a96;

  font-size:
    1.3rem;

  font-weight:
    750;
}

.single-post .related-entry-card-wrap {
  margin-bottom:
    10px;

  overflow:
    hidden;

  border:
    1px solid
    rgba(
      127,
      127,
      127,
      0.18
    );

  border-radius:
    12px;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.single-post .related-entry-card-wrap:hover {
  transform:
    translateY(-2px);

  box-shadow:
    0 7px 20px
    rgba(
      27,
      57,
      86,
      0.07
    );
}


/* ---------- 前後の記事 ---------- */

.single-post .pager-post-navi {
  margin-top:
    28px;
}

.single-post .pager-post-navi a {
  overflow:
    hidden;

  border-radius:
    12px;
}


/* ---------- コメント ---------- */

.single-post .comment-area {
  margin-top:
    36px;

  padding-top:
    24px;

  border-top:
    1px solid
    rgba(
      127,
      127,
      127,
      0.18
    );
}


/* ---------- パンくず ---------- */

.single-post .breadcrumb {
  margin-top:
    28px;

  color:
    #87929d;

  font-size:
    0.72rem;
}


/* ---------- スマホ ---------- */

@media
(max-width: 480px) {

  .single-post .main {
    padding-top:
      12px;
  }


  .single-post .article-header {
    margin-bottom:
      20px;
  }


  .single-post .entry-title {
    font-size:
      1.55rem;

    line-height:
      1.42;
  }


  .single-post .entry-content {
    font-size:
      0.97rem;

    line-height:
      1.9;
  }


  .single-post .entry-content h2 {
    margin-top:
      2.45em;

    padding:
      12px
      13px;

    font-size:
      1.30rem;
  }


  .single-post .entry-content h3 {
    margin-top:
      2em;

    font-size:
      1.12rem;
  }


  .single-post .toc {
    margin:
      22px
      0
      29px;

    padding:
      15px;
  }


  .single-post .author-box {
    padding:
      15px;
  }

}


/* ---------- キーボード操作 ---------- */

.single-post a:focus-visible {
  outline:
    3px solid
    #347fbe;

  outline-offset:
    3px;
}


/* ==================================================
   AFFILIATE CTA GLOBAL
================================================== */

html body.single-post .entry-content a[href*="px.a8.net/svt/ejp"] {
  display: block !important;
  width: 100% !important;
  max-width: 520px !important;
  box-sizing: border-box !important;
  margin: 0 auto !important;
  padding: 14px 18px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #0b5bd3 !important;
  color: #fff !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(11,91,211,.16) !important;
  transition: opacity .2s ease, transform .2s ease !important;
}

html body.single-post .entry-content a[href*="px.a8.net/svt/ejp"]:hover {
  opacity: .90 !important;
  text-decoration: none !important;
}

html body.single-post .entry-content a[href*="px.a8.net/svt/ejp"]:active {
  transform: translateY(1px);
}

html body.single-post .entry-content a[href*="px.a8.net/svt/ejp"] b,
html body.single-post .entry-content a[href*="px.a8.net/svt/ejp"] strong {
  color: inherit !important;
}

html body.single-post .entry-content img[src*="a8.net/0.gif"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 600px) {
  html body.single-post .entry-content a[href*="px.a8.net/svt/ejp"] {
    padding: 13px 14px !important;
    font-size: 15px !important;
  }
}

/* Cocoon share-copy button: preserve existing SNS appearance when using semantic button markup */
button.sns-button.copy-button {
  border: 0;
  font: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

