body.full-course-page {
    background: #f0f0f0 !important; /* Light grey to see the change */
}

/* 白い円形背景を復活 */
 .page-header-jdla-mark-wrap {
  --size: 10em;
  background: rgb(255, 255, 255, .5);
  border-radius: 50%;
  width: var(--size);
  padding-top: var(--size);
  position: absolute;
  top: 1em;
  right: 1em;
}
/* ロゴ画像自体を大きく */
 .page-header-jdla-mark {
  width: 150%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media(max-width: 991px){
  .page-header-jdla-mark-wrap{--size: 10em;}
}
@media(max-width: 575px){
  .page-header-jdla-mark-wrap{--size: 7em;}
}

/* 目次とヘッダーの余白をなくす */
.toc, .toc-wrap {
  margin: 0 !important;
  padding: 0 !important;
}
.page-header {
  margin: 0 !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.page-header-img-wrap {
  margin: 0 !important;
  padding: 0 !important;
}
.page-header-title {
  margin: 0 !important;
  padding: 0 !important;
}

/* mainArticleの上の余白をなくす */
#mainArticle {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* how-to-claim-training-benefitsページ専用装飾 */
.howto-section {
  background: #fff; /* White block */
  padding: 2.5em;
  border-radius: 8px;
  border: 1px solid #eee; /* Subtle border */
  margin: 8em auto; /* Increased spacing */
  max-width: 960px;
}

.howto-section h2 {
  font-size: 1.4em;
  color: #22539c;
  text-align: left;
  margin-bottom: 1.2em;
  position: relative;
}
.howto-section h2:before {
  display: none;
}
.howto-section ul {
  padding-left: 1.5em;
  margin-bottom: 1em;
}
.howto-section li {
  margin-bottom: .5em;
  font-weight: 500;
}
.howto-section a.cv-button {
  display: inline-block;
  background: linear-gradient(90deg,#009cdc,#22379c);
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  padding: .7em 2em;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,156,220,.08);
  margin: 1em 0;
  transition: background .2s;
}
.howto-section a.cv-button:hover {
  background: linear-gradient(90deg,#22379c,#009cdc);
}
.howto-section p {
  margin-bottom: 1em;
  line-height: 1.8;
  text-align: left;
}
.howto-section a.detail-link {
  display: inline-block;
  background: #eaf6fb;
  color: #22539c;
  font-weight: 500;
  border-radius: 4px;
  padding: .5em 1.2em;
  text-decoration: none;
  margin: .5em 0;
  border: 1px solid #009cdc;
  transition: background .2s, color .2s;
}
.howto-section a.detail-link:hover {
  background: #009cdc;
  color: #fff;
}

/* デバッグ用スタイル */
.howto-section h4 {
    font-size: 1.2em;
    font-weight: bold;
    color: #333 !important;
    margin: 1em 0;
}

.howto-section ol {
    list-style-type: decimal !important;
    margin-left: 2em !important;
    padding-left: 1em !important;
}

.howto-section ol li {
    margin-bottom: 1em !important;
    list-style-position: outside !important;
    font-weight: normal !important; /* Override the .howto-section li rule */
}

.howto-section ol a {
    color: #007bff !important;
    text-decoration: underline !important;
}

@media screen and (max-width: 480px) {
  .howto-section .cv-button-container {
    transform: scale(0.8) translateX(-15px);
  }
}

.back-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none; /* Hidden by default */
    width: 50px;
    height: 50px;
    background-color: rgba(0, 156, 220, 0.7); /* A semi-transparent blue */
    color: white;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    border-radius: 50%;
    text-decoration: none;
    z-index: 1000;
    transition: opacity 0.3s, visibility 0.3s;
}

.back-to-top-btn:hover {
    background-color: rgba(34, 55, 156, 0.9); /* A darker blue on hover */
}
