/*
ーーーーーーーーーーーーー
 共通
 ーーーーーーーーーーーーー
*/
.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);
}

.header-logo {
  height: 40px;
}

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;
  background-color: rgba(255, 255, 255, 0.45);
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  display: block;
}

.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 80s linear infinite;
}

@media screen and (max-width: 480px) {
  .logo-marquee-wrapper {
    animation: scroll-left 50s linear infinite;
  }
}

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

.logo-marquee img {
  height: 80px;
  width: 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;
}

/* Top page text blocks */
.sales-power-content .text-block,
.concept-section p.text-block,
.service-section p.text-block {
  font-size: 1.15rem;
}

/*
ーーーーーーーーーーーーー
 Modern theme overrides
 ーーーーーーーーーーーーー
*/
:root {
  --yr-modern-ink: #162033;
  --yr-modern-navy: #08285c;
  --yr-modern-blue: #1769e0;
  --yr-modern-cyan: #00a8c8;
  --yr-modern-soft: #eef5fb;
  --yr-modern-line: rgba(12, 36, 68, 0.12);
  --yr-modern-shadow: 0 18px 48px rgba(13, 43, 84, 0.12);
  --yr-font-mincho: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --yr-font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --yr-font-latin: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

body {
  color: var(--yr-modern-ink);
  background: #f7fafc;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* LP typography: Japanese body copy, editorial headings, and crisp Latin data. */
body.yr-refined-type {
  font-family: var(--yr-font-sans);
  font-feature-settings: "palt" 1;
}

body.yr-refined-type .section-heading {
  font-family: var(--yr-font-mincho);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.45;
}

body.yr-refined-type :is(.mv-title, .section-label, .card-label, .flow-step) {
  font-family: var(--yr-font-latin);
  font-feature-settings: "kern" 1, "tnum" 1;
}

body.yr-refined-type :is(.text-block, .flow-desc) {
  font-family: var(--yr-font-sans);
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1.95;
}

body.yr-refined-type .mv-description {
  font-family: var(--yr-font-sans);
  letter-spacing: 0.04em;
}

header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(12, 36, 68, 0.08);
  box-shadow: 0 12px 30px rgba(8, 40, 92, 0.06);
  backdrop-filter: blur(14px);
}

nav a {
  color: var(--yr-modern-ink) !important;
  font-weight: 700;
}

nav a::after {
  height: 2px;
  background: linear-gradient(90deg, var(--yr-modern-blue), var(--yr-modern-cyan));
}

.section-label {
  color: var(--yr-modern-cyan);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  color: var(--yr-modern-navy);
  line-height: 1.35;
}

.text-block {
  color: #253348;
}

.mv-sec {
  min-height: 680px;
  background-position: center center;
  overflow: hidden;
}

.mv-sec::before {
  background:
    linear-gradient(90deg, rgba(247, 250, 252, 0.96) 0%, rgba(247, 250, 252, 0.78) 42%, rgba(247, 250, 252, 0.18) 76%),
    radial-gradient(circle at 18% 34%, rgba(0, 168, 200, 0.14), transparent 30%);
}

.mv-sec > .container {
  max-width: 1180px;
}

.mv-title {
  color: var(--yr-modern-navy);
  font-size: clamp(2.35rem, 4vw, 4.5rem);
  line-height: 1.18;
}

.mv-highlight {
  color: var(--yr-modern-blue);
}

.mv-caption {
  color: #ffffff;
  background: linear-gradient(90deg, var(--yr-modern-blue), var(--yr-modern-cyan));
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(23, 105, 224, 0.22);
}

.mv-description {
  color: var(--yr-modern-ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  box-shadow: var(--yr-modern-shadow);
  backdrop-filter: blur(12px);
}

.logo-banner {
  border-block: 1px solid var(--yr-modern-line);
  background: #ffffff;
  padding: 0.75rem 0;
}

.logo-marquee img {
  filter: grayscale(0.08) saturate(0.92);
  opacity: 0.86;
}

.sales-power-section,
.news-section {
  background: #ffffff;
}

.sales-power-section {
  padding: 6rem 0;
}

.sales-power-content {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--yr-modern-line);
  border-radius: 24px;
  box-shadow: var(--yr-modern-shadow);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.sales-power-image img,
.concept-image,
.service-box img {
  border-radius: 18px;
}

.concept-section,
.service-section {
  background:
    linear-gradient(180deg, #f7fafc 0%, #edf6fb 100%);
}

.concept-section {
  padding: 7rem 1rem;
}

.concept-item {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--yr-modern-line);
  border-radius: 28px;
  box-shadow: var(--yr-modern-shadow);
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.concept-title {
  color: var(--yr-modern-navy);
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
}

.concept-title::after {
  color: rgba(23, 105, 224, 0.18);
}

.dx-section {
  background: #081d3f;
  color: #ffffff;
  padding-top: 7rem;
}

.dx-section .section-heading,
.dx-section .section-title,
.dx-description,
.dx-num {
  color: #ffffff;
}

.dx-grid {
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.dx-box {
  background: rgba(255, 255, 255, 0.06);
  border: 0;
  min-height: 260px;
}

.dx-box h3,
.dx-box p {
  color: #ffffff;
}

.dx-tag {
  color: #56d6e8;
}

.service-section {
  padding: 7rem 0;
}

.service-box {
  border: 1px solid var(--yr-modern-line);
  border-radius: 28px;
  box-shadow: var(--yr-modern-shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

body:not(.is-touch) .service-box:hover {
  background: #ffffff;
  transform: translateY(-6px);
  box-shadow: 0 26px 64px rgba(13, 43, 84, 0.18);
}

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: inherit;
}

.service-box-title {
  color: var(--yr-modern-navy);
}

.view-more {
  color: var(--yr-modern-blue);
  font-weight: 800;
}

.news-list {
  background: #ffffff;
  border: 1px solid var(--yr-modern-line);
  border-radius: 24px;
  box-shadow: var(--yr-modern-shadow);
  padding: 0.75rem 1.5rem;
}

.news-item {
  border-color: var(--yr-modern-line);
}

.news-link:hover {
  background: rgba(23, 105, 224, 0.06);
}

.news-tag {
  background: linear-gradient(90deg, var(--yr-modern-blue), var(--yr-modern-cyan));
}

footer.footer {
  background: #071a38;
}

@media screen and (max-width: 780px) {
  .mv-sec {
    min-height: 620px;
  }

  .mv-sec::before {
    background: linear-gradient(180deg, rgba(247, 250, 252, 0.96) 0%, rgba(247, 250, 252, 0.72) 72%, rgba(247, 250, 252, 0.35) 100%);
  }

  .mv-title {
    font-size: 2.35rem;
  }

  .mv-description {
    max-width: 100%;
  }

  .sales-power-section,
  .concept-section,
  .service-section,
  .news-section {
    padding-block: 4.5rem;
  }

  .concept-item,
  .service-box,
  .sales-power-content,
  .news-list {
    border-radius: 20px;
  }
}

/* Knowledge asset section */
.knowledge-asset-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(0, 168, 200, 0.12), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f2f8fc 100%);
  padding: 7rem 1rem;
}

.knowledge-asset-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(8, 40, 92, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 40, 92, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
  pointer-events: none;
}

.knowledge-asset-section .container {
  position: relative;
  z-index: 1;
}

.knowledge-asset-head {
  max-width: 920px;
  margin-bottom: 3rem;
}

.knowledge-asset-lead {
  max-width: 820px;
  margin: 1.5rem auto 0;
  color: #253348;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 2;
}

.knowledge-asset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1180px;
  margin: 0 auto;
}

.knowledge-asset-card {
  position: relative;
  min-height: 260px;
  padding: 2rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--yr-modern-line);
  border-radius: 24px;
  box-shadow: var(--yr-modern-shadow);
  backdrop-filter: blur(12px);
}

.knowledge-asset-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(23, 105, 224, 0.12), rgba(0, 168, 200, 0.12));
}

.knowledge-asset-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--yr-modern-blue), var(--yr-modern-cyan));
  border-radius: 14px;
}

.knowledge-asset-card h3 {
  color: var(--yr-modern-navy);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.knowledge-asset-card p {
  color: #35465d;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.9;
  margin-bottom: 0;
}

@media screen and (max-width: 780px) {
  .knowledge-asset-section {
    padding: 4.5rem 1rem;
  }

  .knowledge-asset-grid {
    grid-template-columns: 1fr;
  }

  .knowledge-asset-card {
    min-height: auto;
    border-radius: 20px;
  }
}

/* Concept copy rhythm */
.concept-section .concept-title {
  margin-bottom: 1.35rem;
}

.concept-section .concept-text .text-block {
  line-height: 2.05;
}

.concept-section .concept-text .text-block br {
  display: block;
  content: "";
  margin-top: 0.65rem;
}

/* Digitalize intro copy rhythm */
.digitalize-init-text {
  line-height: 2.1;
}

.digitalize-init-text strong {
  color: var(--yr-modern-navy);
  font-weight: 800;
}

/* Sales process digital page modern polish */
:is(.sales-mv-sec, .digitalize-mv-sec) {
  min-height: 430px;
  overflow: hidden;
  background-position: center center;
}

:is(.sales-mv-sec, .digitalize-mv-sec)::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(247, 250, 252, 0.96) 0%, rgba(247, 250, 252, 0.72) 48%, rgba(247, 250, 252, 0.18) 100%),
    radial-gradient(circle at 18% 38%, rgba(0, 168, 200, 0.18), transparent 34%);
}

:is(.sales-mv-sec, .digitalize-mv-sec) > .container {
  position: relative;
  z-index: 2;
  max-width: 1180px;
}

:is(.sales-mv-sec, .digitalize-mv-sec) .mv-title--child {
  color: var(--yr-modern-navy);
  font-size: clamp(2.35rem, 4vw, 4.25rem);
  line-height: 1.18;
}

:is(.sales-mv-sec, .digitalize-mv-sec) .mv-description--child {
  display: inline-block;
  color: #ffffff;
  background: linear-gradient(90deg, var(--yr-modern-blue), var(--yr-modern-cyan));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(23, 105, 224, 0.22);
  padding: 0.75rem 1.25rem;
}

.digitalize-init-section {
  max-width: 1180px;
  padding: 7rem 1rem;
}

.digitalize-init-section .section-heading {
  line-height: 1.45;
}

.digitalize-init-img {
  padding: clamp(1rem, 2.8vw, 2rem);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--yr-modern-line);
  border-radius: 28px;
  box-shadow: var(--yr-modern-shadow);
}

.digitalize-init-img img {
  border-radius: 18px;
}

.digitalize-init-text {
  max-width: 860px;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--yr-modern-line);
  border-radius: 24px;
  box-shadow: 0 16px 44px rgba(13, 43, 84, 0.1);
  backdrop-filter: blur(12px);
}

.flow-section {
  position: relative;
  gap: 1.5rem;
  max-width: 1180px;
  margin: 5rem auto 0 !important;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  background:
    radial-gradient(circle at 10% 8%, rgba(0, 168, 200, 0.1), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(239, 247, 252, 0.78));
  border: 1px solid var(--yr-modern-line);
  border-radius: 32px;
  box-shadow: var(--yr-modern-shadow);
}

.flow-sidebar {
  width: 92px;
  flex: 0 0 92px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.48);
}

.label-block {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.label-01,
.label-02,
.label-03,
.label-04,
.label-05,
.label-06 {
  background: linear-gradient(180deg, var(--yr-modern-blue), var(--yr-modern-cyan));
}

.label-02,
.label-03,
.label-04,
.label-05 {
  filter: saturate(0.92);
}

.label-06 {
  background: linear-gradient(180deg, #0b2b60, #071a38);
}

.flow-content-wrapper {
  gap: 1rem;
  margin-left: 0;
}

.flow-box {
  position: relative;
  align-items: flex-start;
  gap: 1.5rem;
  padding: clamp(1.35rem, 2.4vw, 2rem);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--yr-modern-line);
  border-radius: 24px;
  box-shadow: 0 12px 34px rgba(13, 43, 84, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.flow-box::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -52px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(23, 105, 224, 0.1), rgba(0, 168, 200, 0.12));
  pointer-events: none;
}

body:not(.is-touch) .flow-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 52px rgba(13, 43, 84, 0.15);
}

.flow-box--01,
.flow-box--02,
.flow-box--03,
.flow-box--04,
.flow-box--05,
.flow-box--06,
.flow-box--07 {
  background: rgba(255, 255, 255, 0.9);
}

.flow-box--08 {
  background: linear-gradient(135deg, #08285c 0%, #071a38 100%);
}

.flow-icon {
  position: relative;
  z-index: 1;
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(23, 105, 224, 0.1), rgba(0, 168, 200, 0.1));
  border-radius: 22px;
}

.flow-icon img {
  width: 72px;
  height: 72px;
}

.flow-text {
  position: relative;
  z-index: 1;
  flex: 1;
}

.flow-step {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 0.75rem;
  padding: 0.2rem 0.7rem;
  color: #ffffff;
  background: linear-gradient(90deg, var(--yr-modern-blue), var(--yr-modern-cyan));
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.flow-title {
  color: var(--yr-modern-navy);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  margin-bottom: 0.8rem;
}

.flow-desc,
.flow-text p {
  color: #35465d;
  line-height: 1.9;
}

.flow-box h4 {
  margin: 1.35rem 0 0.5rem;
  color: var(--yr-modern-navy);
  font-size: 1rem;
}

.flow-box--08 .flow-step {
  background: rgba(255, 255, 255, 0.16);
}

.flow-box--08 .flow-title,
.flow-box--08 .flow-desc,
.flow-box--08 .flow-text p {
  color: #ffffff;
}

@media screen and (max-width: 780px) {
  .digitalize-mv-sec {
    min-height: 360px;
  }

  .digitalize-mv-sec::before {
    background: linear-gradient(180deg, rgba(247, 250, 252, 0.96) 0%, rgba(247, 250, 252, 0.76) 100%);
  }

  .digitalize-init-section {
    padding: 4.5rem 1rem;
  }

  .flow-section {
    display: block;
    border-radius: 24px;
  }

  .flow-content-wrapper {
    margin-right: 0;
  }

  .flow-box {
    align-items: stretch;
    border-radius: 20px;
  }

  .flow-icon {
    width: 84px;
    height: 84px;
    flex-basis: auto;
  }

  .flow-icon img {
    width: 64px;
    height: 64px;
  }
}

/* Flow final step alignment */
.label-06 {
  height: 340px;
  margin-top: -64px;
  background: linear-gradient(180deg, var(--yr-modern-blue), var(--yr-modern-cyan));
  clip-path: polygon(0 18%, 100% 0, 100% 100%, 0% 100%);
}

.flow-box--08 {
  background: rgba(255, 255, 255, 0.9);
}

.flow-box--08 .flow-step {
  background: linear-gradient(90deg, var(--yr-modern-blue), var(--yr-modern-cyan));
}

.flow-box--08 .flow-title,
.flow-box--08 .flow-desc,
.flow-box--08 .flow-text p {
  color: var(--yr-modern-navy);
}

.flow-box--08 .flow-desc,
.flow-box--08 .flow-text p {
  color: #35465d;
}

/* Restore Flow 08 text color after unifying card design */
.flow-box--08 .white-text {
  color: var(--yr-modern-navy) !important;
}

.flow-box--08 .flow-desc.white-text {
  color: #35465d !important;
}

/* Keep digitalize intro copy inside the upper section panel */
.digitalize-init-section > .container {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--yr-modern-line);
  border-radius: 32px;
  box-shadow: var(--yr-modern-shadow);
  backdrop-filter: blur(12px);
}

.digitalize-init-section .digitalize-init-img,
.digitalize-init-section .digitalize-init-text {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.digitalize-init-section .digitalize-init-img {
  padding: 0;
}

.digitalize-init-section .digitalize-init-text {
  max-width: 920px;
  margin-top: 2rem;
  padding: 0;
}

@media screen and (max-width: 780px) {
  .digitalize-init-section > .container {
    border-radius: 24px;
    padding: 1.25rem;
  }
}

/* Sales rebuild flow copy rhythm */
.flow-block .flow-substep-desc,
.flow-block .flow-substep-conclusion,
.flow-block .item-desc {
  line-height: 2;
}

.flow-block .flow-substep-desc strong,
.flow-block .flow-substep-conclusion strong {
  color: var(--yr-modern-navy);
  font-weight: 800;
}

.flow-block .flow-substep-desc br,
.flow-block .flow-substep-conclusion br {
  display: block;
  content: "";
  margin-top: 0.45rem;
}

.flow-block .flow-substep-conclusion {
  margin-top: 1.5rem;
}

/* Sales recommendation section aligned with DX color system */
.sales-recommendation-section {
  background:
    radial-gradient(circle at 14% 20%, rgba(0, 168, 200, 0.16), transparent 34%),
    linear-gradient(135deg, #081d3f 0%, #071a38 100%);
  color: #ffffff;
}

.sales-recommendation-section .section-title,
.sales-recommendation-section .section-heading {
  color: #ffffff;
}

.sales-recommendation-section .section-label {
  color: #56d6e8;
}

.sales-recommendation-section .recommendation-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.sales-recommendation-section .recommendation-card::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(23, 105, 224, 0.2), rgba(0, 168, 200, 0.2));
  pointer-events: none;
}

.sales-recommendation-section .recommendation-icon {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
}

.sales-recommendation-section .card-label {
  position: relative;
  z-index: 1;
  color: #56d6e8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sales-recommendation-section .text-block {
  position: relative;
  z-index: 1;
  color: #ffffff;
}

@media screen and (max-width: 780px) {
  .sales-recommendation-section .recommendation-card {
    width: 100%;
    max-width: 360px;
  }
}

/* Keep recommendation illustrations readable on dark section */
.sales-recommendation-section .recommendation-icon {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.5);
}

.sales-recommendation-section .recommendation-icon img {
  opacity: 1;
  filter: none;
}

/* Sales rebuild digital and feature copy rhythm */
.flow-degital-txt,
.difference-section .text-block {
  line-height: 2.05;
}

.flow-degital-txt strong,
.difference-section .text-block strong {
  color: var(--yr-modern-navy);
  font-weight: 800;
}

.flow-degital-txt br,
.difference-section .text-block br {
  display: block;
  content: "";
  margin-top: 0.45rem;
}

/* Sales rebuild example copy rhythm */
.example-section .text-block {
  line-height: 2.05;
}

.example-section .text-block strong {
  color: var(--yr-modern-navy);
  font-weight: 800;
}

.example-section .text-block br {
  display: block;
  content: "";
  margin-top: 0.45rem;
}

/* Sales rebuild page: readable long-form copy and restrained emphasis. */
body.yr-sales-rebuild-page :is(
  .text-block,
  .flow-substep-desc,
  .flow-substep-conclusion,
  .item-desc,
  .flow-degital-txt
) {
  line-height: 2.05;
}

body.yr-sales-rebuild-page .copy-paragraph {
  display: block;
}

body.yr-sales-rebuild-page .copy-paragraph + .copy-paragraph {
  margin-top: 0.9em;
}

body.yr-sales-rebuild-page :is(
  .text-block,
  .flow-substep-desc,
  .flow-substep-conclusion,
  .item-desc,
  .flow-degital-txt
) strong {
  color: var(--yr-modern-navy);
  font-weight: 700;
}

@media screen and (max-width: 780px) {
  body.yr-sales-rebuild-page :is(.text-block, .flow-substep-desc, .flow-substep-conclusion, .item-desc, .flow-degital-txt) {
    line-height: 1.9;
  }

  body.yr-sales-rebuild-page .copy-paragraph + .copy-paragraph {
    margin-top: 0.7em;
  }
}

/* Top-page editorial rhythm and restrained keyword emphasis. */
body.home :is(.text-block, .knowledge-asset-lead, .dx-description) {
  line-height: 2.05;
}

body.home .copy-paragraph {
  display: block;
}

body.home .copy-paragraph + .copy-paragraph {
  margin-top: 0.85em;
}

body.home :is(.text-block, .knowledge-asset-lead, .dx-description) strong {
  color: var(--yr-modern-navy);
  font-weight: 700;
}

body.home .dx-description strong {
  color: inherit;
}

@media screen and (max-width: 780px) {
  body.home :is(.text-block, .knowledge-asset-lead, .dx-description) {
    line-height: 1.9;
  }

  body.home .copy-paragraph + .copy-paragraph {
    margin-top: 0.7em;
  }
}

/* Temporarily hide the home-page news section; markup remains in front-page.php. */
body.home .news-section {
  display: none !important;
}
