/*
Theme Name: Start From 39 V1
Theme URI: https://startfrom39.com/
Author: Start From 39
Description: 39歳から人生を整える、Start From 39専用オリジナルテーマ。
Version: 1.19.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: startfrom39
*/

/* =========================================================
   style：専用ページ・部品の表示と動作
========================================================= */

/* =========================================================
   WORK & CAREER
   INTERNAL CONVERSION PATH
   仕事カテゴリ：記事内の次のステップ
========================================================= */

.sf-work-next-step {
  display: block;

  margin: 50px 0 16px;
  padding: 20px 26px;

  color: inherit !important;

  text-decoration: none !important;

  background: #f7f4ee;
  border: 1px solid rgba(38, 66, 57, 0.13);
  border-left: 2px solid #b59a6a;

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

/* =========================================================
   上部ラベル：NEXT STEP
========================================================= */

.sf-work-next-step__label {
  display: block;

  margin-bottom: 15px;

  color: #9b8055;

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

/* =========================================================
   小見出し
========================================================= */

.sf-work-next-step__eyebrow {
  display: block;

  margin-bottom: 7px;

  color: #708078;

  font-size: 11px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

/* =========================================================
   記事タイトルと矢印
========================================================= */

.sf-work-next-step__row {
  display: flex;

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

.sf-work-next-step__title {
  color: #293f37;

  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
}

.sf-work-next-step__arrow {
  flex: 0 0 auto;

  margin-right: 8px;

  color: #45665b;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1;

  transition: transform 0.25s ease;
}

/* =========================================================
   PC：ホバー・キーボード操作
========================================================= */

@media (hover: hover) {
  .sf-work-next-step:hover {
    background: #f3efe7;
    border-color: rgba(38, 66, 57, 0.2);
    box-shadow: 0 12px 28px rgba(32, 52, 45, 0.07);

    transform: translateY(-5px);
  }

  .sf-work-next-step:hover .sf-work-next-step__arrow {
    transform: translateX(5px);
  }
}

.sf-work-next-step:focus-visible {
  outline: 2px solid #b59a6a;
  outline-offset: 4px;

  background: #f3efe7;
  border-color: rgba(38, 66, 57, 0.2);
  box-shadow: 0 12px 28px rgba(32, 52, 45, 0.07);

  transform: translateY(-5px);
}

.sf-work-next-step:focus-visible .sf-work-next-step__arrow {
  transform: translateX(5px);
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
  .sf-work-next-step {
    margin: 40px 0 14px;
    padding: 19px 18px;
  }

  .sf-work-next-step__label {
    margin-bottom: 13px;
  }

  .sf-work-next-step__eyebrow {
    margin-bottom: 6px;

    font-size: 10px;
  }

  .sf-work-next-step__row {
    gap: 14px;
  }

  .sf-work-next-step__title {
    font-size: 14px;
    line-height: 1.65;
  }

  .sf-work-next-step__arrow {
    font-size: 18px;
  }

  .sf-work-next-step:active {
    background: #efeae1;
    border-color: rgba(38, 66, 57, 0.22);
    box-shadow: 0 9px 22px rgba(32, 52, 45, 0.06);

    transform: translateY(-5px);
  }

  .sf-work-next-step:active .sf-work-next-step__arrow {
    transform: translateX(4px);
  }
}
