/* ===================== */
/* メッセージ
/* ===================== */
.work-message {
  background: #06379f;
  position: relative;
  overflow: hidden;
  padding: 0;
  color: #fff;
}
/* レイアウト */
.work-message-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.work-message-left {
  width: 48%;
  padding: 140px 0;
}
/* タイトル全体 */
.message-title {
  font-size: 70px;
  font-weight: 900;
  line-height: 1.6;
  margin-bottom: 30px;
}
/* 強調部分 */
.message-title .highlight {
  background: #fff;
  color: #06379f;
  padding: 0 10px;
  display: inline-block;
}
/* 本文 */
.message-text {
  font-size: 16px;
  line-height: 2;
  margin-top: 30px;
  max-width: 550px;
}
.work-message-right {
  width: 48%;
  height: 860px;
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  overflow: hidden;
}
.work-message, .work-message-right {
  position: relative;
  z-index: 1;
}
.work-message, .work-message-right, .image-row {
  pointer-events: none;
}
/* PC用カラム */
.image-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  will-change: transform;
}
.image-column img {
  width: 270px;
  height: 370px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
@media (min-width: 769px) and (max-width: 1199px) {
  .work-message-inner {
    gap: 32px;
  }
  .work-message-left {
    width: 50%;
    padding: 100px 0;
  }
  .message-title {
    font-size: 48px;
    line-height: 1.4;
  }
  .message-text {
    font-size: 15px;
    line-height: 1.9;
    max-width: 100%;
  }
  .work-message-right {
    width: calc(46% + 40px);
    margin-right: -40px;
    height: 700px;
    gap: 16px;
  }
  .image-column {
    gap: 16px;
  }
  .image-column img {
    width: 190px;
    height: 260px;
    border-radius: 10px;
  }
}
/* ===================== */
/* SP
/* ===================== */
@media (max-width: 768px) {
  .work-message {
    padding: 60px 0 20px;
  }
  .work-message .inner {
    padding: 0 !important;
  }
  .work-message-inner {
    flex-direction: column;
    gap: 40px;
  }
  .work-message-left, .work-message-right {
    width: 100%;
  }
  .work-message-left {
    padding: 0 20px;
  }
  .message-title {
    font-size: 35px;
    line-height: 1.8;
    margin-bottom: 20px;
  }
  .message-title .highlight {
    padding: 2px 8px;
  }
  .message-text {
    font-size: 15px;
    line-height: 1.9;
    margin-top: 20px;
    max-width: 100%;
  }
  .work-message-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: auto;
    overflow: hidden;
  }
  /* SPでは元の縦カラムは行の材料として使う */
  .image-column {
    display: none;
  }
  .image-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    width: max-content;
    will-change: transform;
  }
  .image-row img {
    width: 140px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    flex: 0 0 auto;
  }
}
/* ===================== */
/* FLOW */
/* ===================== */
.flow-section {
  background: #eaeff4;
}
/* 横並び */
.flow-inner {
  display: flex;
  align-items: stretch;
}
/* 左固定 */
.flow-left {
  width: 30%;
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 120px 0;
  box-sizing: border-box;
}
/* タイトル中央 */
.flow-section .section-heading {
  margin-bottom: 80px;
}
.flow-section .section-heading h2, .flow-section .section-heading p {
  color: #000;
}
/* 右 */
.flow-right {
  width: 70%;
  padding: 120px 0;
}
/* 各ボックス */
.flow-item {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  height: 100px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 10px 40px 10px 120px;
  margin-bottom: 50px;
}
.flow-item::after {
  content: "";
  position: absolute;
  bottom: -35px; /* ボックス下に配置 */
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 20px;
  background: url("../../images/icon/arrow-down-blue.svg") no-repeat center / contain;
}
/* 最後だけ消す */
.flow-item:last-child::after {
  display: none;
}
/* 左の青ボックス */
.flow-num {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100px;
  padding-left: 6px;
  background: #06379f;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 40px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ▶ 三角（吹き出し） */
.flow-num::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 0;
  width: 20px;
  height: 100%;
  background: #06379f;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
/* テキスト */
.flow-text {
  font-size: 20px;
  font-weight: 900;
  color: #000;
  flex: 1;
  text-align: center;
}
.flow-img {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-img img {
  height: 80%;
  width: auto;
  object-fit: contain;
}
@media (min-width: 769px) and (max-width: 1199px) {
  .flow-inner {
    gap: 24px;
  }
  .flow-left {
    width: 32%;
    padding: 100px 0;
  }
  .flow-right {
    width: 68%;
    padding: 100px 0;
  }
  .flow-item {
    padding: 14px 20px 14px 96px;
    gap: 16px;
    margin-bottom: 40px;
  }
  .flow-num {
    width: 78px;
    font-size: 30px;
    padding-left: 0;
  }
  .flow-num::after {
    right: -16px;
    width: 16px;
  }
  .flow-text {
    font-size: 16px;
    text-align: left;
  }
  .flow-img {
    width: 90px;
  }
  .flow-img img {
    max-width: 76px;
  }
}
@media (max-width: 768px) {
  .flow-inner {
    display: block;
  }
  .flow-left, .flow-right {
    width: 100%;
  }
  .flow-left {
    position: static;
    height: auto;
    padding: 60px 0 30px;
  }
  .flow-section .section-heading {
    margin-bottom: 0;
  }
  .flow-right {
    padding: 0 0 60px;
  }
  .flow-item {
    min-height: auto;
    height: 70px;
    padding: 10px 12px 10px 70px;
    gap: 10px;
    margin-bottom: 26px;
    align-items: center;
  }
  .flow-item::after {
    bottom: -20px;
    width: 22px;
    height: 14px;
  }
  .flow-num {
    width: 50px;
    font-size: 22px;
    padding-left: 0;
  }
  .flow-num::after {
    right: -10px;
    width: 10px;
  }
  .flow-text {
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
  }
  .flow-img {
    width: 48px;
  }
  .flow-img img {
    max-width: 40px;
  }
}
/* ===================== */
/* STYLE */
/* ===================== */
.style-section {
  background: #fff;
  padding: 120px 0;
}
/* 上部 */
.style-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 100px;
}
.style-head .section-heading p, .style-head .section-heading h2 {
  display: block;
  color: #06379f;
}
.style-text {
  width: 70%;
  line-height: 2;
}
/* カード全体 */
.style-cards {
  display: flex;
  gap: 30px;
}
/* カード */
.style-card {
  position: relative;
  width: 33.33%;
  display: flex;
  flex-direction: column;
}
/* 上の青エリア */
.style-top {
  height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* ←これに変更 */
  align-items: center;
  background: #06379f;
  color: #fff;
  padding: 60px 20px 40px; /* ←ちょい調整 */
  text-align: center;
  position: relative;
}
/* 吹き出し（下向き） */
.style-top::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 20px;
  background: #06379f;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
/* 下エリア */
.style-bottom {
  background: #eaeff4;
  padding: 50px 20px;
  text-align: center;
  flex: 1; /* ←高さ揃えのキモ */
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 番号 */
.style-num {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 2px solid #06379f;
  color: #06379f;
  font-family: 'Lato', sans-serif;
  font-size: 30px;
  font-weight: 800;
  padding: 10px 20px;
  z-index: 10;
}
/* タイトル */
.style-top h3 {
  font-size: 30px;
  line-height: 1.5;
  min-height: 65px;
}
/* 区切り線 */
.style-top .line {
  width: 100%;
  height: 1px;
  background: #fff;
  margin: 20px 0;
}
/* テキスト */
.style-top p {
  font-size: 18px;
  line-height: 1.8;
  min-height: 60px;
}
.style-bottom p {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.6;
}
@media (min-width: 769px) and (max-width: 1199px) {
  .style-section {
    padding: 100px 0;
  }
  .style-head {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 70px;
  }
  .style-text {
    width: 100%;
    font-size: 15px;
  }
  .style-cards {
    gap: 20px;
  }
  .style-card {
    width: 33.33%;
  }
  .style-top {
    height: 240px;
    padding: 50px 15px 35px;
  }
  .style-top h3 {
    font-size: 22px;
    min-height: 55px;
  }
  .style-top p {
    font-size: 15px;
    min-height: 50px;
  }
  .style-bottom {
    padding: 40px 15px;
  }
  .style-bottom p {
    font-size: 20px;
    line-height: 1.4;
  }
  .style-num {
    font-size: 24px;
    padding: 8px 16px;
  }
}
@media (max-width: 768px) {
  .style-section {
    padding: 60px 0;
  }
  /* 上部 */
  .style-head {
    flex-direction: column;
    gap: 25px;
    margin-bottom: 50px;
  }
  .style-text {
    width: 100%;
    font-size: 15px;
    line-height: 1.9;
  }
  /* カード縦並び */
  .style-cards {
    flex-direction: column;
    gap: 50px;
  }
  .style-card {
    width: 100%;
  }
  /* 上エリア */
  .style-top {
    height: auto;
    padding: 50px 20px 35px;
  }
  .style-top h3 {
    font-size: 25px;
    min-height: auto;
  }
  .style-top p {
    font-size: 17px;
    line-height: 1.6;
    min-height: auto;
  }
  /* 下エリア */
  .style-bottom {
    padding: 35px 20px;
  }
  .style-bottom p {
    font-size: 20px;
  }
  /* 番号 */
  .style-num {
    font-size: 22px;
    padding: 6px 14px;
    top: -20px;
  }
  /* 吹き出しサイズ微調整 */
  .style-top::after {
    width: 40px;
    height: 16px;
    bottom: -16px;
  }
}
/* =====================
   写真
===================== */
.work-photo-banner {
  width: 100%;
  height: 450px;
  overflow: hidden;
  position: relative;
}
.work-photo-banner img {
  width: 100%;
  height: auto;
  min-height: 150%;
  object-fit: cover;
  display: block;
  will-change: transform;
  position: absolute;
  top: 55%;
  left: 0;
  transform: translateX(0) translateY(-50%);
}
/* ---- タブレット (769px ~ 1199px) ---- */
@media (min-width: 769px) and (max-width: 1199px) {
  .work-photo-banner {
    height: 300px;
  }
}
/* =====================
  1日の流れセクション
===================== */
.oneday {
  background: #06379f;
  color: #fff;
  padding: 100px 20px 180px;
}
/* 見出し */
.oneday-head {
  text-align: center;
  margin-bottom: 80px;
}
.oneday-head h2, .oneday-head p {
  color: #fff;
  display: block;
}
.oneday-head .desc {
  font-size: 16px;
  line-height: 2;
  padding-top: 30px;
}
.timeline {
  position: relative;
}
/* 中央の線 */
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  height: 100%;
  background: #091843;
  transform: translateX(-50%);
}
/* 各アイテム */
.timeline-item {
  position: relative;
  width: 50%;
  margin-bottom: -50px;
}
/* 右側 */
.timeline-item.right {
  margin-left: 50%;
  padding-left: 40px;
}
/* 左側 */
.timeline-item.left {
  margin-right: 50%;
  padding-right: 40px;
}
.circle {
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 20px;
  background: #091843;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
/* 左右で線の位置に合わせる */
.timeline-item.right .circle {
  left: 0;
}
.timeline-item.left .circle {
  left: 100%;
}
.content {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  color: #000;
  padding: 24px;
  position: relative;
  border-radius: 8px;
}
.content .text {
  flex: 1;
}
.content img {
  width: 45%;
  border-radius: 6px;
  margin-top: 0;
}
.timeline-item.right .content {
  flex-direction: row;
}
.timeline-item.left .content {
  flex-direction: row-reverse;
}
.timeline-item.right .content::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 50%; /* ←丸と同じ */
  transform: translateY(-50%);
  border: 20px solid transparent;
  border-right-color: #fff;
}
.timeline-item.left .content::before {
  content: "";
  position: absolute;
  right: -40px;
  top: 50%; /* ←丸と同じ */
  transform: translateY(-50%);
  border: 20px solid transparent;
  border-left-color: #fff;
}
/* タイトル */
.content h3 {
  color: #06379f;
  font-size: 22px;
  margin-bottom: 10px;
}
/* 文章 */
.content p {
  font-size: 15px;
  line-height: 1.6;
}
@media (min-width: 769px) and (max-width: 1199px) {
  .oneday {
    padding: 100px 0 140px;
  }
  .oneday-head {
    margin-bottom: 60px;
  }
  .timeline-item {
    margin-bottom: 30px;
  }
  .content {
    padding: 20px;
    gap: 15px;
  }
  .content h3 {
    font-size: 20px;
  }
  .content p {
    font-size: 15px;
  }
  .content img {
    width: 40%;
  }
}
@media screen and (max-width: 768px) {
  /* =====================
    セクション
  ===================== */
  .oneday {
    padding: 60px 0;
  }
  .oneday-head {
    margin-bottom: 50px;
  }
  .oneday-head .desc {
    font-size: 15px;
    line-height: 1.9;
    padding-top: 20px;
    text-align: left;
  }
  /* =====================
    タイムライン
  ===================== */
  .timeline::before {
    left: 20px;
    transform: none; /* ←これ重要（中央寄せ解除） */
  }
  .timeline-item {
    width: 100%;
    margin: 0 0 25px;
    padding-left: 50px;
    margin-left: 0;
    margin-right: 0;
  }
  /* left/right完全リセット */
  .timeline-item.left, .timeline-item.right {
    margin-left: 0;
    margin-right: 0;
    padding-left: 50px;
    padding-right: 0;
  }
  /* =====================
    丸
  ===================== */
  .timeline-item .circle {
    left: 20px;
    width: 14px;
    height: 14px;
    transform: translate(-50%, -50%);
  }
  /* PCの逆指定を殺す */
  .timeline-item.left .circle {
    left: 20px;
  }
  .timeline-item.right .circle {
    left: 20px;
  }
  /* =====================
    カード
  ===================== */
  .content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-radius: 10px;
    gap: 15px;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  }
  .content img {
    width: 100%;
    border-radius: 8px;
  }
  .content h3 {
    font-size: 18px;
  }
  .content p {
    font-size: 15px;
    line-height: 1.7;
  }
  /* =====================
    吹き出し（完全統一）
  ===================== */
  .timeline-item.left .content, .timeline-item.right .content {
    display: flex;
    flex-direction: column !important;
    align-items: flex-start;
  }
  /* PCの逆方向を完全に消す */
  .timeline-item.left .content::before, .timeline-item.right .content::before {
    left: -15px;
    right: auto;
    border: 8px solid transparent;
    border-right-color: #fff;
    border-left-color: transparent;
  }
}
/* =====================
  NEXUS向いてる人
===================== */
.nexus-fit {
  background: #eaeff4;
  padding: 120px 0;
}
/* 上段 */
.nexus-fit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}
.fit-title {
  color: #06379f;
  font-size: 65px;
  line-height: 1.2;
  font-weight: 900;
  width: 50%;
}
.fit-text {
  font-size: 16px;
  line-height: 2;
  width: 50%;
}
/* 白ボックス */
.fit-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 40px;
  display: flex;
  gap: 40px;
  align-items: center;
}
/* 画像 */
.fit-image {
  width: 40%;
}
.fit-image img {
  width: 100%;
  border-radius: 8px;
}
/* リスト */
.fit-list {
  width: 60%;
}
.fit-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fit-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 20px;
  padding: 18px 0;
  border-bottom: 1px dashed #ccc;
}
.fit-list li p {
  margin: 0;
}
.fit-list li img {
  width: 20px;
}
@media (min-width: 769px) and (max-width: 1199px) {
  .fit-title {
    font-size: 45px;
    width: 55%;
  }
}
/* =====================
  SP
===================== */
@media (max-width: 768px) {
  /* セクション余白 */
  .nexus-fit {
    padding: 60px 0;
  }
  /* 上段 */
  .nexus-fit-head {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
  }
  .fit-title {
    width: 100%;
    font-size: 35px;
    line-height: 1.3;
    text-align: center;
  }
  .fit-text {
    width: 100%;
    font-size: 15px;
    line-height: 1.8;
  }
  /* ボックス */
  .fit-box {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    border-radius: 10px;
  }
  /* 画像 */
  .fit-image {
    width: 100%;
  }
  .fit-image img {
    width: 100%;
    display: block; /* ← 余計な隙間防止 */
  }
  /* リスト */
  .fit-list {
    width: 100%;
  }
  .fit-list li {
    align-items: flex-start; /* ←ここ重要 */
    gap: 10px;
    font-size: 15px;
    line-height: 1.6;
    padding: 14px 0;
  }
  .fit-list li img {
    width: 16px;
    margin-top: 4px; /* ←テキストと揃える */
    flex-shrink: 0;
  }
  .fit-list li p {
    margin: 0;
    line-height: 1.3;
  }
}