@charset "UTF-8";
/*==================================================
** career (ロイネで描けるキャリア)
==================================================*/
#careerSec {
  background: #f6f5f2;
  padding-top: 120px;
  padding-bottom: 120px;
  /* メインビジュアル部分（赤い帯） */
  /* コンテンツエリア全体 */
  /* 導入エリア（2カラム） */
  /* ナビゲーションカード（アンカーリンク） */
  /* ナビゲーションカード（アンカーリンク） */
  /* ==================================
     人物ブロック全体（2カラム化）
  ================================== */
}
@media screen and (max-width: 767px) {
  #careerSec {
    padding-top: 16vw;
  }
}
#careerSec .career-mv {
  background: #f5564f;
  padding: 60px 0;
}
@media screen and (max-width: 767px) {
  #careerSec .career-mv {
    padding: 40px 0;
  }
}
#careerSec .career-mv .career-mv-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
@media screen and (max-width: 767px) {
  #careerSec .career-mv .career-mv-inner {
    flex-direction: column-reverse;
    gap: 20px;
  }
}
#careerSec .career-mv .career-mv-ttl {
  color: #fff;
}
#careerSec .career-mv .career-mv-ttl img {
  max-width: 400px;
  height: auto;
  display: block;
}
@media screen and (max-width: 767px) {
  #careerSec .career-mv .career-mv-ttl img {
    max-width: 280px;
  }
}
#careerSec .career-mv .mv-ill {
  width: 220px;
}
@media screen and (max-width: 767px) {
  #careerSec .career-mv .mv-ill {
    width: 180px;
  }
}
#careerSec .career-mv .mv-ill img {
  width: 100%;
  height: auto;
  display: block;
}
#careerSec .career-contents {
  padding-top: 50px;
}
@media screen and (max-width: 767px) {
  #careerSec .career-contents {
    padding-top: 30px;
  }
}
#careerSec .career-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 767px) {
  #careerSec .career-intro {
    flex-direction: column;
  }
}
#careerSec .career-intro .intro-left {
  width: 38%;
}
@media screen and (max-width: 767px) {
  #careerSec .career-intro .intro-left {
    width: 100%;
  }
}
#careerSec .career-intro .intro-left .career-lead {
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.8;
  text-align: justify;
}
@media screen and (max-width: 767px) {
  #careerSec .career-intro .intro-left .career-lead {
    font-size: 1.35rem;
  }
}
#careerSec .career-intro .intro-right {
  width: 58%;
}
@media screen and (max-width: 767px) {
  #careerSec .career-intro .intro-right {
    width: 100%;
    margin-top: 30px;
  }
}
#careerSec .career-nav {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: stretch; /* 追加：3つのカードの高さを揃える */
}
@media screen and (max-width: 767px) {
  #careerSec .career-nav {
    gap: 10px;
  }
}
#careerSec .career-nav li {
  flex: 1;
}
#careerSec .career-nav li .nav-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid #f5564f;
  border-radius: 12px;
  padding: 15px 10px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.3s, opacity 0.3s;
  height: 100%; /* 追加：親(li)の高さに100%合わせる */
  box-sizing: border-box;
}
#careerSec .career-nav li .nav-card:hover {
  background: #fdf5f5;
}
@media screen and (max-width: 767px) {
  #careerSec .career-nav li .nav-card {
    padding: 12px 8px;
    flex-direction: column;
    text-align: center;
  }
}
#careerSec .career-nav li .nav-card .nav-img {
  width: 45px;
  flex-shrink: 0;
  margin-right: 15px;
}
@media screen and (max-width: 767px) {
  #careerSec .career-nav li .nav-card .nav-img {
    margin-right: 0;
    margin-bottom: 10px;
  }
}
#careerSec .career-nav li .nav-card .nav-img img {
  width: 100%;
  height: auto;
  display: block;
}
#careerSec .career-nav li .nav-card .nav-info {
  text-align: left;
  display: flex; /* 追加：中身の配置をコントロール */
  flex-direction: column;
  justify-content: center;
  /* 矢印の調整 */
}
@media screen and (max-width: 767px) {
  #careerSec .career-nav li .nav-card .nav-info {
    text-align: center;
    align-items: center;
  }
}
#careerSec .career-nav li .nav-card .nav-info .name {
  display: block;
  font-size: 1.4rem;
  font-weight: bold;
}
#careerSec .career-nav li .nav-card .nav-info .name .en {
  font-size: 2rem;
  font-family: "Gantari", sans-serif;
  margin-right: 2px;
}
#careerSec .career-nav li .nav-card .nav-info .status {
  display: block;
  font-size: 1.45rem;
  margin-top: 5px;
  line-height: 1.4;
  color: #333;
}
#careerSec .career-nav li .nav-card .nav-info .arrow-icon {
  display: flex;
  flex-direction: column; /* ∨と横線を縦に並べる */
  align-items: center; /* 左右中央揃え */
  align-self: center; /* テキストブロックの中央に配置 */
  margin-top: 15px;
}
#careerSec .career-nav li .nav-card .nav-info .arrow-icon .v-shape {
  width: 12px;
  height: 12px;
  border-right: 2px solid #f5564f;
  border-bottom: 2px solid #f5564f;
  transform: rotate(45deg);
  margin-bottom: 5px; /* 横線との隙間 */
}
#careerSec .career-nav li .nav-card .nav-info .arrow-icon .line {
  display: block; /* 非表示を解除 */
  width: 24px; /* 横線の幅（∨より少し広め） */
  height: 2px; /* 横線の太さ */
  background-color: #f5564f;
}
#careerSec .person-block {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* 上端で揃える */
  margin-top: 80px;
  scroll-margin-top: 150px;
  /* --------------------------
     左カラム：人物情報＋経歴
  -------------------------- */
  /* --------------------------
     右カラム：コンテンツ全体
  -------------------------- */
}
@media screen and (max-width: 767px) {
  #careerSec .person-block {
    flex-direction: column; /* SPは縦積み */
    align-items: center;
    margin-top: 60px;
    scroll-margin-top: 90px;
  }
}
#careerSec .person-block .person-left {
  width: 33%;
  /* スクロール追従させることでPC時の空白を防ぎます */
  position: sticky;
  top: 120px;
  /* タイムラインボックス */
}
@media screen and (max-width: 767px) {
  #careerSec .person-block .person-left {
    width: 100%;
    position: static;
    margin-bottom: 35px;
  }
}
#careerSec .person-block .person-left .person-profile {
  display: flex;
  flex-direction: row; /* PCは横並び */
  align-items: center;
  justify-content: center;
  gap: 15px;
}
@media screen and (max-width: 767px) {
  #careerSec .person-block .person-left .person-profile {
    flex-direction: row; /* SPは縦積み */
    gap: 5vw;
  }
}
#careerSec .person-block .person-left .person-profile .person-ill {
  width: 74px;
  flex-shrink: 0;
}
@media screen and (max-width: 767px) {
  #careerSec .person-block .person-left .person-profile .person-ill {
    width: 20vw;
  }
}
#careerSec .person-block .person-left .person-profile .person-ill img {
  width: 100%;
  height: auto;
  display: block;
}
#careerSec .person-block .person-left .person-profile .person-name {
  text-align: left; /* PCは左寄せ */
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.4;
}
@media screen and (max-width: 767px) {
  #careerSec .person-block .person-left .person-profile .person-name {
    margin-top: 15px;
  }
}
#careerSec .person-block .person-left .person-profile .person-name .en {
  font-size: 2.8rem;
  font-family: "Gantari", sans-serif;
}
#careerSec .person-block .person-left .person-profile .person-name .status {
  display: block;
  font-size: 1.8rem;
  font-weight: 500;
  margin-top: 5px;
}
#careerSec .person-block .person-left .history-box {
  background: #f9eae6;
  border-radius: 15px;
  padding: 35px 20px;
  margin-top: 0px;
}
@media screen and (max-width: 767px) {
  #careerSec .person-block .person-left .history-box {
    padding: 25px 15px;
  }
}
#careerSec .person-block .person-left .history-box .history-ttl {
  color: #f5564f;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
}
@media screen and (max-width: 767px) {
  #careerSec .person-block .person-left .history-box .history-ttl {
    font-size: 2.2rem;
  }
}
#careerSec .person-block .person-left .history-box .history-list {
  max-width: 440px;
  margin: 0 auto;
}
#careerSec .person-block .person-left .history-box .history-list li {
  display: flex;
  position: relative; /* 線を引く基準 */
}
#careerSec .person-block .person-left .history-box .history-list li:last-child .dot::before {
  /* 最後は下向き三角 */
  background: transparent;
  border-style: solid;
  border-width: 8px 5px 0 5px;
  border-color: #f5564f transparent transparent transparent;
  border-radius: 0;
  width: 0;
  height: 0;
  margin-top: 4px;
}
#careerSec .person-block .person-left .history-box .history-list li:last-child .dot::after {
  display: none; /* 最後の線は非表示 */
}
#careerSec .person-block .person-left .history-box .history-list li:last-child .dept {
  padding-bottom: 0; /* 最後の余白はなし */
}
#careerSec .person-block .person-left .history-box .history-list li .year {
  width: 100px;
  text-align: right;
  padding-right: 15px;
  font-size: 1.35rem;
  font-weight: 400;
  flex-shrink: 0;
  padding-top: 1px; /* 丸の位置と微調整 */
}
@media screen and (max-width: 767px) {
  #careerSec .person-block .person-left .history-box .history-list li .year {
    width: 25vw;
    padding-right: 10px;
    font-size: 3.4vw;
  }
}
#careerSec .person-block .person-left .history-box .history-list li .dot {
  position: relative;
  width: 10px;
  flex-shrink: 0;
}
#careerSec .person-block .person-left .history-box .history-list li .dot::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 10px;
  height: 10px;
  background: #f5564f;
  border-radius: 50%;
  z-index: 2;
}
#careerSec .person-block .person-left .history-box .history-list li .dot::after {
  content: "";
  position: absolute;
  top: 15px; /* 丸の下からスタート */
  bottom: -5px; /* 次のliのtop:5pxまで届くように下にはみ出させる */
  left: 4px;
  width: 2px;
  background: #f5564f;
  z-index: 1;
}
#careerSec .person-block .person-left .history-box .history-list li .dept {
  flex: 1;
  padding-left: 15px;
  padding-bottom: 30px; /* ここで項目間の余白を作る */
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.6;
}
#careerSec .person-block .person-left .history-box .history-list li .dept .note {
  display: block;
  font-size: 1.15rem;
  color: #666;
  margin-top: 5px;
}
@media screen and (max-width: 767px) {
  #careerSec .person-block .person-left .history-box .history-list li .dept {
    font-size: 3.4vw;
    padding-left: 12px;
    padding-bottom: 25px;
  }
}
#careerSec .person-block .person-right {
  width: 62%;
  /* ステップ詳細エリア */
  /* 下部インフォメーションブロック */
}
@media screen and (max-width: 767px) {
  #careerSec .person-block .person-right {
    width: 100%;
  }
}
#careerSec .person-block .person-right .step-list {
  display: block;
  /* 吹き出しとイラスト */
}
#careerSec .person-block .person-right .step-list .step-block {
  width: 100%;
  margin-bottom: 50px;
}
#careerSec .person-block .person-right .step-list .step-block:last-child {
  margin-bottom: 0;
}
#careerSec .person-block .person-right .step-list .step-badge-wrap {
  text-align: left;
}
#careerSec .person-block .person-right .step-list .step-badge {
  display: block;
  background: #f5564f;
  color: #fff;
  font-size: 2.6rem;
  font-weight: 800;
  padding: 6px 30px;
  border-radius: 40px;
  font-family: "Gantari", sans-serif;
  line-height: 1;
}
@media screen and (max-width: 767px) {
  #careerSec .person-block .person-right .step-list .step-badge {
    font-size: 3.6rem;
    width: 35vw;
    margin: 0 auto;
    padding: 1.5vw 5vw;
    text-align: center;
  }
}
#careerSec .person-block .person-right .step-list .step-badge .small {
  font-size: 1.6rem;
  font-family: YakuHanJP, sans-serif;
  margin-left: 2px;
}
@media screen and (max-width: 767px) {
  #careerSec .person-block .person-right .step-list .step-badge .small {
    font-size: 2.2rem;
  }
}
#careerSec .person-block .person-right .step-list .step-ttl {
  color: #f5564f;
  font-size: 1.7rem;
  font-weight: bold;
  line-height: 1.5;
  margin-top: 20px;
  text-align: left;
}
@media screen and (max-width: 767px) {
  #careerSec .person-block .person-right .step-list .step-ttl {
    font-size: 4.6vw;
  }
}
#careerSec .person-block .person-right .step-list .step-txt {
  margin-top: 15px;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.8;
  text-align: justify;
}
@media screen and (max-width: 767px) {
  #careerSec .person-block .person-right .step-list .step-txt {
    font-size: 3.5vw;
  }
}
#careerSec .person-block .person-right .step-list .step-balloon-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 25px;
}
#careerSec .person-block .person-right .step-list .step-balloon-wrap .balloon-txt {
  position: relative;
  background: #fff;
  border: 2px solid #f5564f;
  border-radius: 12px;
  padding: 15px 25px;
  font-size: 1.35rem;
  line-height: 1.6;
  flex: 1;
  max-width: 280px;
}
#careerSec .person-block .person-right .step-list .step-balloon-wrap .balloon-txt::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 10px 0 10px 12px;
  border-color: transparent transparent transparent #f5564f;
}
#careerSec .person-block .person-right .step-list .step-balloon-wrap .balloon-txt::before {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 8px 0 8px 10px;
  border-color: transparent transparent transparent #fff;
  z-index: 2;
}
@media screen and (max-width: 767px) {
  #careerSec .person-block .person-right .step-list .step-balloon-wrap .balloon-txt {
    max-width: 70vw;
    font-size: 3.8vw;
    padding: 12px 15px;
  }
}
#careerSec .person-block .person-right .step-list .step-balloon-wrap .balloon-ill {
  width: 40px;
  flex-shrink: 0;
}
@media screen and (max-width: 767px) {
  #careerSec .person-block .person-right .step-list .step-balloon-wrap .balloon-ill {
    width: 10vw;
  }
}
#careerSec .person-block .person-right .step-list .step-balloon-wrap .balloon-ill img {
  width: 100%;
  height: auto;
  display: block;
}
#careerSec .person-block .person-right .bottom-boxes {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media screen and (max-width: 767px) {
  #careerSec .person-block .person-right .bottom-boxes {
    margin-top: 40px;
  }
}
#careerSec .person-block .person-right .bottom-boxes .info-box {
  background: #FFF;
  border-radius: 12px;
  overflow: hidden;
}
#careerSec .person-block .person-right .bottom-boxes .info-box .info-ttl {
  background: #f96f64;
  color: #fff;
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  padding: 15px 10px;
  line-height: 1.4;
}
@media screen and (max-width: 767px) {
  #careerSec .person-block .person-right .bottom-boxes .info-box .info-ttl {
    font-size: 4.6vw;
  }
}
#careerSec .person-block .person-right .bottom-boxes .info-box .info-txt {
  padding: 25px 30px;
}
@media screen and (max-width: 767px) {
  #careerSec .person-block .person-right .bottom-boxes .info-box .info-txt {
    padding: 4vw 6vw;
  }
}
#careerSec .person-block .person-right .bottom-boxes .info-box .info-txt p {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.8;
  text-align: justify;
  margin: 0;
}
@media screen and (max-width: 767px) {
  #careerSec .person-block .person-right .bottom-boxes .info-box .info-txt p {
    font-size: 3.6vw;
  }
}
