/*
ーーーーーーーーーーーーー
 共通
 ーーーーーーーーーーーーー
*/
.section-heading {
  font-size: 2.5rem;
  color: #1d2088;
  font-weight: bold;
}

.section-label {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.section-title {
  color: #1d2088;
  max-width: 1257px;
}

.mb-custom {
  margin-bottom: 4rem;
}

.text-block {
  font-size: 0.95rem;
  color: #000;
  line-height: 1.9;
}

@media (max-width: 780px) {
  .section-heading {
    font-size: 2rem;
  }
}

/*　アイコンの背景 */
.aicon-content-img {
  background-color: #f9fbfd;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.white-text {
  color: #fff !important;
}

/* 見出しアニメーション */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

/*
ーーーーーーーーーーーーー
ローディングロゴ
ーーーーーーーーーーーーー
 */
body {
  background-color: transparent;
  transition: background-color 1s ease;
}

body.show-background {
  background-color: #ffffff;
}

body.loading {
  visibility: hidden;
}

body.loading #splash {
  visibility: visible;
}

.splash-logo {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
}

.splash-logo.fade-out {
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.splash-logo img {
  width: 300px;
}

/* スマホ用ロゴ縮小 */
@media screen and (max-width: 768px) {
  .splash-logo img {
    width: 180px;
  }
}

/*
ーーーーーーーーーーーーー
　トップページ
ーーーーーーーーーーーーー
 */

/*
 ヘッダー
*/
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

nav a {
  position: relative;
  display: inline-block;
  color: #333;
  text-decoration: none;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background-color: #023d7f;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: #023d7f !important;
}

body {
  padding-top: 55px;
}

@media screen and (max-width: 480px) {
  body {
    padding-top: 20px;
  }
}

/*
 　メインビュー
*/
.mv-sec {
  background: url("../images/top-mv.png") no-repeat center center / cover;
  min-height: 600px;
  position: relative;

  /* 中央から左右方向に +30px、上下方向に -20px ずらす例 */
  background-position: calc(50% - 140px) calc(50% - 20px);
}

.mv-sec::before {
  content: ""; /* 必須！ */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4); /* SP時は白をかぶせる */
  z-index: 1;
  transition: background-color 0.3s ease;
}

.mv-sec > .container {
  position: relative;
  z-index: 2; /* テキストは上に */
}

.mv-logo {
  height: 48px;
}

.mv-title {
  font-size: 2rem;
  color: #023d7f;
}

@media (min-width: 780px) {
  .mv-title {
    font-size: 2.5rem;
  }
  .mv-sec {
    background: url("../images/top-mv.png") no-repeat center center / cover;
  }
  .mv-sec::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0); /* 初期は透明 */
    z-index: 1;
    transition: background-color 0.3s ease;
  }
}

.mv-highlight {
  color: #f7b500;
  font-weight: bold;
}

.mv-caption {
  background: #f7b500;
  color: #1d2088;
  font-size: 1rem;
  border-radius: 0.25rem;
}

.mv-description {
  max-width: 600px;
  font-size: 1.5rem;
}

.mv-logo-inline {
  height: 3rem; /* 行中でちょうど良い高さ */
  vertical-align: middle;
}

/*
 　freshシリーズロゴ
*/
.logo-banner {
  overflow: hidden;
  background-color: #fff;
}

.logo-marquee-wrapper {
  display: flex;
  width: max-content;
  animation: scroll-left 30s linear infinite;
}

.logo-marquee {
  display: flex;
  gap: 2rem;
}

.logo-marquee img {
  height: auto;
  object-fit: contain;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/*
 　隠された営業力とは
*/
.sales-power-section {
  background-color: #fff;
  padding: 4rem 0;
}
.sales-power-content {
  flex: 1;
  max-width: 750px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.sales-power-image img {
  width: 100%;
  height: auto;
}

/*
 画像アニメーション
*/
.reveal-image {
  clip-path: inset(0 100% 0 0); /* 最初は非表示 */
  transition: clip-path 0.4s ease-in; /* ← アニメーションを短く（0.8秒） */
}
.reveal-image.visible {
  clip-path: inset(0 0% 0 0); /* ← 全表示 */
}

/*
 コンセプト
*/
.concept-section {
  background-color: #f4f8fb;
  padding: 6rem 1rem;
  text-align: center;
}
.concept-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.concept-item {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: center;
}
.concept-text {
  width: 100%;
  max-width: 700px;
  text-align: left;
}
.concept-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}
.concept-title::after {
  content: attr(data-concept-label);
  font-size: 3rem;
  color: #9ab1cc;
  opacity: 0.3;
  font-weight: bold;
  position: absolute;
  top: 100%;
  left: 60px;
  transform: translateY(-1.2em);
  z-index: -1;
  pointer-events: none;
}
.concept-image {
  width: 100%;
  max-width: 700px;
  height: auto;
}

/* PCレイアウト調整 */
@media (min-width: 780px) {
  .concept-item {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .concept-item:nth-child(even) {
    flex-direction: row-reverse;
  }

  .concept-text,
  .concept-image {
    width: 50%;
  }
  .concept-title {
    font-size: 1.5rem;
  }
  .concept-title::after {
    font-size: 4rem;
    left: 100px;
  }
}

/*
 DXカンパニー
*/
.dx-section {
  padding: 6rem 0;
  padding-bottom: 0;
}
.dx-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3rem;
}
.dx-description {
  text-align: left;
  font-size: 1rem;
  color: #023d7f;
  font-weight: bold;
  line-height: 1.8;
}
.dx-content {
  text-align: left;
  width: 95%;
  margin: 15px;
  margin-top: 0px;
  line-height: 2;
}
.dx-box {
  padding: 20px;
  border: 1px solid #d9d9d9;
}
.dx-first-box {
  display: flex;
  justify-content: center;
  align-items: center;
}
.dx-box img {
  height: auto;
  width: auto;
}
.dx-tag {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.75rem;
  color: #f7b500;
  font-weight: bold;
  margin-bottom: 1rem;
}
.dx-box h3 {
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
}
.dx-num {
  font-size: 1rem;
  font-weight: bold;
  color: #023d7f;
  margin: 0;
}
@media (max-width: 780px) {
  .dx-grid {
    grid-template-columns: 1fr;
  }
  .dx-section .section-title {
    padding: 1rem;
    text-align: center;
  }
  .dx-first-box p {
    font-size: 1.2rem;
  }
  .dx-section h2 {
    font-size: 1.9rem;
  }
}

/* 
  事業内容
*/
.service-section {
  background-color: #f4f8fb;
  padding: 6rem 0;
}
.service-box-warp .section-title {
  width: 100%;
  text-align: center;
  margin-right: 0px;
}
.service-box-warp {
  display: flex;
  flex-direction: column;
}
.service-content {
  width: 85%;
  margin: auto;
  margin-top: 2rem;
}
.service-box {
  display: flex;
  flex-direction: column;
  margin: 0 0 0 auto;
  background: #fff;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  transition: background 0.4s ease;
}
/* .service-img {
} */
.service-box img {
  width: 100%;
  /* max-height: 220px; */
  object-fit: cover;
  margin-bottom: 1rem;
}
.service-box-title {
  color: #1d2088;
  font-weight: bold;
  font-size: 1.5rem;
  margin-top: 1rem;
  transition: background 0.4s ease;
}
.service-box-subtitle {
  font-size: 1rem;
  color: black;
  font-weight: bold;
  margin: 1rem 0;
  transition: background 0.4s ease;
}
.service-box p {
  font-size: 0.95rem;
  color: #333;
  transition: color 0.4s ease;
}
.service-text {
  max-width: 650px;
  line-height: 2;
  transition: color 0.4s ease;
}
.view-more {
  text-align: right;
  color: #1d2088;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.view-more::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url("../images/service-link.png") no-repeat center center /
    contain;
}

/* PC用 hover（is-touchが無いときだけ） */
body:not(.is-touch) .service-box:hover {
  background: #023d7f;
}
body:not(.is-touch) .service-box:hover p,
body:not(.is-touch) .service-box:hover .service-box-title,
body:not(.is-touch) .service-box:hover .service-box-subtitle,
body:not(.is-touch) .service-box:hover .service-text {
  color: white;
}

@media (min-width: 780px) {
  .service-box-warp {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
  }
  .service-box-warp .section-title {
    width: 15%;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    line-height: 2;
    margin-right: 80px;
    text-align: left;
  }
  .service-content {
    margin: none;
    margin-top: 0;
  }
  .service-box {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
  .service-box img {
    width: 350px;
    margin-bottom: 0;
  }
  .service-text {
    flex: 1;
  }
}

/* お知らせ */
.news-section {
  padding: 6rem 0;
  text-align: center;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  text-align: left;
}

.news-item {
  list-style: none;
  margin-bottom: 1em;
  border-bottom: 1px solid #eee;
}

/* .news-link をフレックスにして、元の .news-item のスタイルをここに移動 */
.news-link {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  text-decoration: none;
  color: inherit;
  padding: 1rem 0;
  transition: background-color 0.3s;
}

.news-link:hover {
  background-color: #f9f9f9;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.news-date {
  color: #333;
  white-space: nowrap;
}

.news-tag {
  background: #f7b500;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 9999px;
  padding: 0.3rem 1rem;
  white-space: nowrap;
}

.news-text {
  color: #000;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* スマホ対応 */
@media screen and (max-width: 780px) {
  .news-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .news-text {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
}

/* 
フッター
*/
footer.footer {
  background-color: #003a80;
  color: #ffffff;
  padding: 3rem 1rem 1rem;
  font-size: 0.85rem;
}
.footer .footer-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 780px) {
  .footer .footer-main {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.footer-logo {
  max-width: 300px;
}
.footer-logo img {
  height: 50px;
  margin-bottom: 60px;
}
.footer-address {
  line-height: 1.6;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}
.footer-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}
.footer-bottom {
  text-align: left;
  font-size: 0.75rem;
  margin-top: 2rem;
  color: #ccc;
}

/*
ーーーーーーーーーーーーー
営業再構築DXページ
ーーーーーーーーーーーーー
 */

/*
 　メインビュー
*/
.sales-mv-sec {
  background: url("../images/sales-restructuring-top.png") no-repeat center
    center / cover;
  min-height: 350px;
  position: relative;
}

.mv-title--child {
  font-size: 3rem;
}

.mv-description--child {
  color: #023d7f;
}

/*
 　パンくずリスト
*/
.breadcrumb-section {
  border-bottom: 1px solid #ddd;
  padding: 16px 24px;
  background-color: #fff;
}

.breadcrumb {
  font-size: 14px;
  color: #666;
  margin-bottom: 0px;
  max-width: 1300px;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
}

.breadcrumb-separator {
  margin: 0 8px;
  color: #999;
}

.breadcrumb-current {
  color: #333;
  font-weight: 500;
}

/*
 　こんな企業におすすめ
*/
.sales-recommendation-section {
  background-color: #f4f8fb;
  padding: 6rem 1rem;
}

/* カード全体 */
.recommendation-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* 各カード */
.recommendation-card {
  background-color: #fff;
  padding: 2rem;
  width: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.recommendation-icon {
  width: 190px;
  height: 120px;
  border: 1px solid #e6ecf2;
}

.card-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 1rem;
}

.card-label {
  color: #f6a700;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.95rem;
  color: #333;
}

/*
 営業再構築DXの流れ
*/

.sales-flow-section {
  padding: 6rem 1rem;
}

.sales-flow-diagram img {
  max-width: 80%;
  height: auto;
  margin: 2rem 0;
}

.flow-block {
  margin: 3rem 0;
  max-width: 1000px;
}

.flow-step-title {
  font-weight: bold;
  font-size: 1.5rem;
  color: #004f8c;
  margin-bottom: 2.5rem;
}

.flow-step-title:nth-of-type(2) {
  margin-top: 3rem;
}

.flow-step-num {
  border: 1px solid #023d7f;
  padding: 5px 10px;
}

.flow-substep-num {
  border: 1px solid #057e62;
  padding: 5px 10px;
  margin-right: 10px;
}

.flow-substep {
  max-width: 800px;
}

.flow-substep-title {
  color: #057e62;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.flow-substep-content {
  max-width: 700px;
}

.two-column-layout {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.flow-image-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 300px;
}

.flow-image-column img {
  max-width: 100px; /* 必要に応じて調整 */
  height: 300px;
}

.flow-text-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 280px;
}

.flow-substep-desc,
.flow-substep-conclusion {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.item-title {
  font-size: 1rem;
  font-weight: bold;
  color: #057e62;
}

.item-desc {
  color: #333;
  margin-bottom: 0;
}

.flow-text-b {
  margin-top: 3rem;
}

.flow-text-b .flow-substep-title,
.flow-text-b .item-title {
  color: #2f8aa3;
}

.flow-degital-txt {
  max-width: 750px;
}

/* ボタン */
.more-button {
  text-align: center;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #f6c13d;
  color: #fff;
  padding: 0.9rem 5rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  line-height: 1;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #f2b400;
  color: white;
}

.arrow-icon {
  width: 1rem;
  height: 1rem;
  stroke: white;
  transition: transform 0.3s ease;
}

.btn:hover .arrow-icon {
  transform: translateX(6px);
}

@media screen and (max-width: 780px) {
  .sales-flow-section {
    padding: 6rem 0;
  }

  .sales-flow-diagram img {
    max-width: 100%;
  }

  .flow-image-column,
  .flow-text-column {
    height: 350px;
  }

  .flow-image-column img {
    height: 350px;
  }

  .item-desc {
    font-size: 0.95rem;
  }

  .flow-substep-num {
    width: 80px;
    margin-right: 10px;
  }
}

/*
 他社との違い
*/
.difference-section {
  /* padding: 6rem 0;
  padding-top: 0;
  padding-bottom: 0; */
}
.difference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3rem;
}
.difference-content-img {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.difference-content-img img {
  width: 70%;
}
.dx-content {
  text-align: left;
  width: 95%;
  margin: 15px;
  margin-top: 0px;
  line-height: 2;
}
.difference-box {
  padding: 20px;
  border: 1px solid #d9d9d9;
}
.difference-tag {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.75rem;
  color: #f7b500;
  font-weight: bold;
  margin-bottom: 1rem;
}
.difference-box h3 {
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
  margin-bottom: 1rem;
  line-height: 1.6;
}
@media (max-width: 780px) {
  .difference-grid {
    grid-template-columns: 1fr;
    margin-top: 0;
  }
  .difference-section .section-title {
    /* padding: 1rem; */
    text-align: center;
  }
}

/* 営業再構築DXの活用例 */
.example-section {
  /* background-color: #f4f8fb; */
  padding: 6rem 0;
}

.example-img {
  max-width: 700px;
}

.example-img img {
  width: 100%;
  height: auto;
}

.example-img p {
  color: #023d7f;
}

@media screen and (max-width: 780px) {
  .example-section .section-title {
    padding-bottom: 3rem;
  }
}

/*
ーーーーーーーーーーーーー
営業プロセスのデジタル化
ーーーーーーーーーーーーー
 */

/*
 　メインビュー
*/
.digitalize-mv-sec {
  background: url("../images/digitalize-sales-process-mv.png") no-repeat center
    center / cover;
  min-height: 350px;
  position: relative;
}

.digitalize-mv-sec::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0); /* 初期は透明 */
  z-index: 1;
  transition: background-color 0.3s ease;
}

@media (max-width: 767.98px) {
  .digitalize-mv-sec::before {
    background-color: rgba(255, 255, 255, 0.4); /* SP時に白をかぶせる */
  }

  .digitalize-mv-sec > .container {
    position: relative;
    z-index: 2; /* テキストは上に */
  }
}

.mv-title--child {
  font-size: 3rem;
}

.mv-description--child {
  color: #023d7f;
}

@media screen and (max-width: 780px) {
  .digitalize-mv-sec .mv-title {
    font-size: 2.5rem;
  }
}

.digitalize-init-section {
  padding: 6rem 0;
  max-width: 1000px;
}

.digitalize-init-section h2 {
  line-height: 1.6;
  max-width: 800px;
  margin: auto;
}

.digitalize-init-img {
  width: 100%;
}

.digitalize-init-img img {
  width: 100%;
}

.digitalize-init-text {
  max-width: 750px;
  margin: auto;
  margin-top: 3rem;
}

@media screen and (max-width: 780px) {
  .digitalize-init-section {
    padding-top: 4rem;
  }
  .digitalize-init-section h2 {
    font-size: 1.6rem;
  }
}

/* Flow */
/* レイアウト全体 */
.flow-section {
  display: flex;
  margin-top: 5rem !important;
  /* font-family: sans-serif; */
}

/* 左：ラベル列 */
.flow-sidebar {
  width: 80px;
  display: flex;
  flex-direction: column;
  font-weight: bold;
  color: #2a3c5a;
  font-size: 0.9rem;
  line-height: 1.4;
  overflow: hidden;
}

.label-block {
  writing-mode: vertical-rl;
  text-orientation: upright;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
  color: #000;
  text-align: center;
  padding: 1rem 0;
}

/* 1つ目：上辺は直線、下辺は斜め */
.label-01 {
  background-color: #f3f7fc;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
  height: 950px;
}

/* 2つ目：上辺を斜め、下辺も斜め */
.label-02 {
  background-color: #e1eaf7;
  clip-path: polygon(0 15%, 100% 0, 100% 85%, 0% 100%);
  margin-top: -100px;
  height: 350px;
}

/* 3つ目：同じく上下斜め */
.label-03 {
  background-color: #cadcf3;
  clip-path: polygon(0 15%, 100% 0, 100% 85%, 0% 100%);
  margin-top: -80px;
  height: 300px;
}

/* 最後だけ下辺は直線（終端） */
.label-04 {
  background-color: #b0ccef;
  clip-path: polygon(0 10%, 100% 0, 100% 90%, 0% 100%);
  margin-top: -80px;
  height: 550px;
}

/* 最後だけ下辺は直線（終端） */
.label-05 {
  background-color: #9eb2cc;
  clip-path: polygon(0 16%, 100% 0, 100% 85%, 0% 100%);
  height: 310px;
  margin-top: -56px;
}

/* 最後だけ下辺は直線（終端） */
.label-06 {
  background-color: #f3c44f;
  clip-path: polygon(0 30%, 100% 0, 100% 100%, 0% 100%);
  margin-top: -80px;
  height: 200px;
}

/* 右：Flow本体 */
.flow-content-wrapper {
  flex: 1;
  margin-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* 各Flowボックス */
.flow-box {
  display: flex;
  border-radius: 100px 12px 12px 100px;
  padding: 1.5rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  align-items: center;
  gap: 1.2rem;
}

.flow-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

/* 色バリエーション（必要に応じて調整） */
.flow-box--01,
.flow-box--02,
.flow-box--03 {
  background-color: #f5f9ff;
}
.flow-box--04 {
  background-color: #e8effa;
}
.flow-box--05 {
  background-color: #dde9fb;
}
.flow-box--06 {
  background-color: #bacfef;
}
.flow-box--07 {
  background-color: #023d7f66;
}
.flow-box--08 {
  background-color: #023d7fcc;
}

.flow-box--06 h4 {
  color: #023d7f;
  font-size: 1rem;
}

.flow-step {
  font-size: 0.8rem;
  color: #f6a700;
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.flow-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #222;
  margin: 0 0 0.5rem;
}

.flow-desc {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
}

@media screen and (max-width: 780px) {
  /* サイド非表示 */
  .flow-sidebar {
    display: none;
  }

  .flow-content-wrapper {
    margin-right: 2rem;
  }

  /* ここまで */
  .flow-box {
    flex-direction: column;
    border-radius: 0;
  }

  /* 左：ラベル列 */
  .flow-sidebar {
    width: 60px;
  }

  .label-01 {
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0% 100%);
    height: 1850px;
  }

  /* 2つ目：上辺を斜め、下辺も斜め */
  .label-02 {
    background-color: #e1eaf7;
    clip-path: polygon(0 10%, 100% 0, 100% 90%, 0% 100%);
    margin-top: -100px;
    height: 650px;
  }

  /* 3つ目：同じく上下斜め */
  .label-03 {
    background-color: #cadcf3;
    clip-path: polygon(0 10%, 100% 0, 100% 90%, 0% 100%);
    margin-top: -80px;
    height: 600px;
  }

  /* 最後だけ下辺は直線（終端） */
  .label-04 {
    background-color: #b0ccef;
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0% 100%);
    margin-top: -80px;
    height: 1150px;
  }

  /* 最後だけ下辺は直線（終端） */
  .label-05 {
    background-color: #9eb2cc;
    clip-path: polygon(0 10%, 100% 0, 100% 90%, 0% 100%);
    height: 550px;
    margin-top: -60px;
  }

  /* 最後だけ下辺は直線（終端） */
  .label-06 {
    background-color: #f3c44f;
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 100%);
    margin-top: -80px;
    height: 500px;
  }
}

@media screen and (max-width: 500px) {
  .label-01 {
    height: 1600px;
  }

  /* 2つ目：上辺を斜め、下辺も斜め */
  .label-02 {
    height: 550px;
  }

  /* 3つ目：同じく上下斜め */
  .label-03 {
    height: 540px;
  }

  /* 最後だけ下辺は直線（終端） */
  .label-04 {
    height: 850px;
  }

  /* 最後だけ下辺は直線（終端） */
  .label-05 {
    height: 560px;
  }

  /* 最後だけ下辺は直線（終端） */
  .label-06 {
    height: 440px;
  }
}

@media screen and (max-width: 450px) {
  .label-01 {
    height: 1700px;
  }

  /* 2つ目：上辺を斜め、下辺も斜め */
  .label-02 {
    height: 600px;
  }

  /* 3つ目：同じく上下斜め */
  .label-03 {
    height: 580px;
  }

  /* 最後だけ下辺は直線（終端） */
  .label-04 {
    height: 1000px;
  }

  /* 最後だけ下辺は直線（終端） */
  .label-05 {
    height: 560px;
  }

  /* 最後だけ下辺は直線（終端） */
  .label-06 {
    height: 440px;
  }
}

@media screen and (max-width: 400px) {
  .label-01 {
    height: 1850px;
  }

  /* 2つ目：上辺を斜め、下辺も斜め */
  .label-02 {
    height: 650px;
  }

  /* 3つ目：同じく上下斜め */
  .label-03 {
    height: 600px;
  }

  /* 最後だけ下辺は直線（終端） */
  .label-04 {
    height: 1150px;
  }

  /* 最後だけ下辺は直線（終端） */
  .label-05 {
    height: 550px;
  }

  /* 最後だけ下辺は直線（終端） */
  .label-06 {
    height: 500px;
  }
}

@media screen and (max-width: 380px) {
  .label-01 {
    height: 1900px;
  }

  /* 2つ目：上辺を斜め、下辺も斜め */
  .label-02 {
    height: 670px;
  }

  /* 3つ目：同じく上下斜め */
  .label-03 {
    height: 620px;
  }

  /* 最後だけ下辺は直線（終端） */
  .label-04 {
    height: 1170px;
  }

  /* 最後だけ下辺は直線（終端） */
  .label-05 {
    height: 600px;
  }

  /* 最後だけ下辺は直線（終端） */
  .label-06 {
    height: 530px;
  }
}

@media screen and (max-width: 367px) {
  .label-01 {
    height: 2000px;
  }

  /* 2つ目：上辺を斜め、下辺も斜め */
  .label-02 {
    height: 670px;
  }

  /* 3つ目：同じく上下斜め */
  .label-03 {
    height: 620px;
  }

  /* 最後だけ下辺は直線（終端） */
  .label-04 {
    height: 1290px;
  }

  /* 最後だけ下辺は直線（終端） */
  .label-05 {
    height: 650px;
    margin-top: -100px;
  }

  /* 最後だけ下辺は直線（終端） */
  .label-06 {
    height: 530px;
  }
}

/*
ーーーーーーーーーーーーー
 投稿ページ
 ーーーーーーーーーーーーー
*/

.single-post {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* 必要に応じて中央寄せもOK */
  padding: 4rem 0;
}

.single-post .container {
  max-width: 1000px;
}
