/* =========================================================
   スキル記事の次の記事・比較記事への導線
========================================================= */

/* =========================================================
   Start From 39 — Skills article conversion path
   v1.16.4
========================================================= */

.sf-skill-next {
  display: flex;

  align-items: center;
  justify-content: space-between;
  gap: 28px;

  margin: 36px 0 64px;
  padding: 30px 32px;

  background: #f6f3ed;
  border: 1px solid rgba(31, 62, 53, 0.16);
  color: #243b34 !important;

  text-decoration: none !important;

  transition: transform 0.28s ease,
    box-shadow 0.28s ease,
    background-color 0.28s ease;
}

.sf-skill-next:hover {
  transform: translateY(-5px);

  box-shadow: 0 14px 34px rgba(33, 53, 46, 0.1);
  background: #f2eee6;
}

.sf-skill-next__content {
  display: flex;

  flex-direction: column;

  min-width: 0;
}

.sf-skill-next__label {
  margin-bottom: 10px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.18em;

  color: #a18458;
}

.sf-skill-next__eyebrow {
  margin-bottom: 7px;

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;

  color: #62746d;
}

.sf-skill-next__title {
  margin-bottom: 8px;

  font-size: 17px;
  font-weight: 600;
  line-height: 1.65;

  color: #243b34;
}

.sf-skill-next__desc {
  font-size: 13px;
  line-height: 1.9;

  color: #6d716e;
}

.sf-skill-next__arrow {
  flex: 0 0 auto;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;

  color: #a18458;

  transition: transform 0.28s ease;
}

.sf-skill-next:hover .sf-skill-next__arrow {
  transform: translateX(5px);
}

.sf-skill-routes {
  margin: 56px 0 70px;
}

.sf-skill-routes__head {
  margin-bottom: 22px;
}

.sf-skill-routes__head span {
  display: block;

  margin-bottom: 7px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  letter-spacing: 0.2em;

  color: #a18458;
}

.sf-skill-routes__head p {
  margin: 0;

  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;

  color: #283c35;
}

.sf-skill-routes__grid {
  display: grid;

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

.sf-skill-route {
  display: flex;

  flex-direction: column;

  min-height: 220px;

  padding: 28px;

  background: #fff;
  border: 1px solid rgba(31, 62, 53, 0.15);
  color: inherit !important;

  text-decoration: none !important;

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

.sf-skill-route:hover {
  transform: translateY(-5px);

  border-color: rgba(31, 62, 53, 0.28);
  box-shadow: 0 14px 36px rgba(29, 47, 41, 0.08);
}

.sf-skill-route__label {
  margin-bottom: 18px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  letter-spacing: 0.18em;

  color: #a18458;
}

.sf-skill-route__title {
  margin-bottom: 12px;

  font-size: 16px;
  line-height: 1.6;

  color: #263b34;
}

.sf-skill-route__text {
  margin-bottom: 20px;

  font-size: 13px;
  line-height: 1.9;

  color: #6b706c;
}

.sf-skill-route__arrow {
  margin-top: auto;

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;

  color: #3d6055;

  transition: transform 0.25s ease;
}

.sf-skill-route:hover .sf-skill-route__arrow {
  transform: translateX(4px);
}

.sf-school-compare {
  margin: 28px 0 62px;
}

.sf-school-compare__intro {
  margin-bottom: 24px;
}

.sf-school-compare__intro p {
  margin: 0;

  font-size: 14px;
  line-height: 2;

  color: #555e59;
}

.sf-school-table-wrap {
  width: 100%;

  overflow-x: auto;

  -webkit-overflow-scrolling: touch;
}

.sf-school-table {
  width: 100%;
  min-width: 760px;

  border-collapse: collapse;
  border-spacing: 0;
  background: #fff;

  font-size: 13px;
  line-height: 1.75;
}

.sf-school-table th,
.sf-school-table td {
  padding: 18px 16px;

  border-bottom: 1px solid #e3e1dc;
  border-right: 1px solid #ebe9e4;

  text-align: left;
  vertical-align: top;
}

.sf-school-table tr > *:last-child {
  border-right: 0;
}

.sf-school-table thead th {
  background: #2d4a41;
  color: #fff;

  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.sf-school-table tbody th {
  width: 120px;

  background: #f6f3ed;
  color: #283c35;

  font-weight: 600;
}

.sf-school-table tbody tr:last-child th,
.sf-school-table tbody tr:last-child td {
  border-bottom: 0;
}

.sf-school-compare__note {
  margin: 16px 0 0;

  font-size: 11px;
  line-height: 1.8;

  color: #858983;
}

.sf-learning-cta {
  margin: 72px 0 24px;
  padding: 48px 42px;

  background: #f4f0e8;
  border-top: 1px solid rgba(161, 132, 88, 0.36);
  border-bottom: 1px solid rgba(161, 132, 88, 0.36);
}

.sf-learning-cta__header {
  max-width: 700px;

  margin: 0 auto 34px;

  text-align: center;
}

.sf-learning-cta__label {
  display: block;

  margin-bottom: 12px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  letter-spacing: 0.22em;

  color: #a18458;
}

.sf-article-content .sf-learning-cta__title {
  margin: 0 0 14px !important;

  border: 0 !important;

  padding: 0 !important;

  background: none !important;

  font-size: 24px !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;

  color: #263b34 !important;
}

.sf-learning-cta__lead {
  margin: 0;

  font-size: 13px;
  line-height: 2;

  color: #6a716d;
}

.sf-learning-cta__grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.sf-learning-card {
  display: flex;

  flex-direction: column;

  min-width: 0;

  padding: 26px 22px;

  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(40, 60, 52, 0.13);

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

.sf-learning-card:hover {
  transform: translateY(-5px);

  box-shadow: 0 12px 30px rgba(34, 53, 46, 0.08);
}

.sf-learning-card__number {
  margin-bottom: 24px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;

  color: #b19871;
}

.sf-learning-card__type {
  display: block;

  min-height: 38px;

  margin-bottom: 8px;

  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.03em;

  color: #708078;
}

.sf-article-content .sf-learning-card__name {
  margin: 0 0 13px !important;
  padding: 0 !important;

  border: 0 !important;

  font-size: 19px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;

  color: #263b34 !important;
}

.sf-learning-card__desc {
  margin: 0 0 24px;

  font-size: 12px;
  line-height: 1.9;

  color: #6a716d;
}

.sf-learning-card__button {
  display: flex;

  align-items: center;
  justify-content: space-between;

  margin-top: auto;
  padding: 13px 14px;

  background: #304f45;
  color: #fff !important;

  text-decoration: none !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;

  transition: background-color 0.25s ease,
    transform 0.25s ease;
}

.sf-learning-card__button:hover {
  background: #243f37;

  transform: translateY(-2px);
}

.sf-learning-card__button span {
  font-size: 15px;

  transition: transform 0.25s ease;
}

.sf-learning-card__button:hover span {
  transform: translateX(4px);
}

.sf-learning-cta__notice {
  margin: 24px 0 0;

  font-size: 10px;
  line-height: 1.8;
  text-align: center;

  color: #858983;
}

@media (max-width: 767px) {
  .sf-skill-next {
    gap: 16px;

    margin: 28px 0 50px;
    padding: 24px 20px;
  }

  .sf-skill-next__title {
    font-size: 15px;
  }

  .sf-skill-next__desc {
    font-size: 12px;
  }

  .sf-skill-next:active {
    transform: translateY(-5px);

    background: #eee9e0;
  }

  .sf-skill-routes {
    margin: 46px 0 56px;
  }

  .sf-skill-routes__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sf-skill-route {
    min-height: 0;

    padding: 24px 20px;
  }

  .sf-skill-route:active {
    transform: translateY(-5px);

    background: #faf9f6;
  }

  .sf-school-table {
    min-width: 0;

    border: 0;
    background: transparent;
  }

  .sf-school-table thead {
    display: none;
  }

  .sf-school-table,
  .sf-school-table tbody,
  .sf-school-table tr,
  .sf-school-table th,
  .sf-school-table td {
    display: block;

    width: 100%;
  }

  .sf-school-table tr {
    margin-bottom: 18px;

    background: #fff;
    border: 1px solid #e2ded7;
  }

  .sf-school-table tbody th {
    width: auto;

    padding: 16px 18px;

    background: #304f45;
    color: #fff;

    font-size: 15px;
  }

  .sf-school-table td {
    display: grid;

    grid-template-columns: 105px 1fr;
    gap: 12px;

    padding: 13px 16px;

    border-right: 0;
  }

  .sf-school-table td::before {
    content: attr(data-label);

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;

    color: #8a7a61;
  }

  .sf-school-table tbody tr:last-child td {
    border-bottom: 1px solid #e3e1dc;
  }

  .sf-school-table tbody tr td:last-child {
    border-bottom: 0;
  }

  .sf-learning-cta {
    margin: 58px -18px 18px;
    padding: 40px 18px;
  }

  .sf-learning-cta__header {
    margin-bottom: 28px;
  }

  .sf-article-content .sf-learning-cta__title {
    font-size: 21px !important;
  }

  .sf-learning-cta__lead br {
    display: none;
  }

  .sf-learning-cta__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sf-learning-card {
    padding: 24px 20px;
  }

  .sf-learning-card__number {
    margin-bottom: 17px;
  }

  .sf-learning-card__type {
    min-height: 0;
  }

  .sf-learning-card:active {
    transform: translateY(-5px);
  }
}

/* =========================================================
   v1.17.16 — Warm editorial accents for Skills revenue page
   Accent: muted apricot #C98263
========================================================= */

/* =========================================================
   Page-wide editorial rhythm (this stylesheet loads only on this article)
========================================================= */

.sf-article-content h2 {
  border-left-color: #c98263;
}

.sf-article-content h3 {
  border-bottom-color: rgba(201, 130, 99, 0.28);
}

/* =========================================================
   NEXT STEP
========================================================= */

.sf-skill-next {
  background: #fbf1eb;
  border-color: rgba(201, 130, 99, 0.3);
  border-left: 3px solid #c98263;
}

.sf-skill-next:hover {
  background: #f7e9e0;
}

.sf-skill-next__label,
.sf-skill-next__arrow {
  color: #c98263;
}

/* =========================================================
   Career route cards
========================================================= */

.sf-skill-route {
  position: relative;

  border-color: rgba(201, 130, 99, 0.24);
  border-top: 2px solid #c98263;
  background: #fffdfb;
}

.sf-skill-route:hover {
  background: #fbf1eb;
  border-color: rgba(201, 130, 99, 0.42);
  box-shadow: 0 14px 36px rgba(88, 58, 46, 0.09);
}

.sf-skill-route__label,
.sf-skill-route__arrow {
  color: #c98263;
}

/* =========================================================
   School comparison
========================================================= */

.sf-school-compare {
  padding: 26px 24px 22px;

  background: #fcf6f1;
  border-top: 1px solid rgba(201, 130, 99, 0.34);
  border-bottom: 1px solid rgba(201, 130, 99, 0.22);
}

.sf-school-table {
  border: 1px solid rgba(201, 130, 99, 0.2);
}

.sf-school-table tbody th {
  background: #f7eae2;
  color: #354a43;
}

.sf-school-table th,
.sf-school-table td {
  border-bottom-color: rgba(201, 130, 99, 0.18);
  border-right-color: rgba(201, 130, 99, 0.14);
}

.sf-school-compare__note {
  color: #81766f;
}

/* =========================================================
   Final learning cards
========================================================= */

.sf-learning-cta {
  background: #f8eee7;
  border-top-color: rgba(201, 130, 99, 0.46);
  border-bottom-color: rgba(201, 130, 99, 0.32);
}

.sf-learning-cta__label {
  color: #c98263;
}

.sf-learning-card {
  position: relative;

  background: #fffdfb;
  border-color: rgba(201, 130, 99, 0.24);
  border-top: 2px solid #c98263;
}

.sf-learning-card:hover {
  background: #fbf1eb;
  box-shadow: 0 12px 30px rgba(88, 58, 46, 0.09);
}

.sf-learning-card__number {
  color: #c98263;
}

.sf-learning-card__type {
  color: #8a6d61;
}

.sf-learning-card__button {
  background: #304f45;
}

.sf-learning-card__button:hover {
  background: #243f37;
}

@media (max-width: 767px) {
  .sf-school-compare {
    margin-left: -18px;
    margin-right: -18px;
    padding: 24px 18px 20px;
  }

  .sf-school-table tr {
    border-color: rgba(201, 130, 99, 0.22);
  }

  .sf-school-table tbody th {
    background: #c98263;
    color: #fff;
  }

  .sf-school-table td::before {
    color: #a46e58;
  }

  .sf-skill-next:active,
  .sf-skill-route:active,
  .sf-learning-card:active {
    background: #f8eadf;
  }
}
