/* ==========================================================================
 * Page Name : 事業内容_システム開発_オフショア開発
 * File Name : /assets/css/solution/system-offshore.css
 * Created   : 2026-10-19
 * Updated   : 2026-10-20
 *
 * system-detail.css（共通）に対する差分のみ。クラス名は .sy-os-* で統一。
 * アクセント色はトップページ「事業内容」と同じ薄緑（--color-green-back）＋緑（--color-green）。
 * 体制図・品質の図では「日本（yep）＝赤系／ベトナム（yet）＝青系」で国を色分けしている。
 * ========================================================================== */

.-sy-os {
  --sy-os-jp: var(--color-main);
  --sy-os-jp-back: var(--color-back-pink);
  --sy-os-vn: #4b8fc0;
  --sy-os-vn-back: #e8f1f8;
  /* ベージュ系：背景はサイト共通の #fcf5ec のまま。
     線・帯・棒グラフはピンク寄りだと薄緑・緑と喧嘩するので、このページ内だけ黄み寄りのベージュに置き換える */
  --color-border-beige: #fcf5ec;
  --sy-os-beige-dark: #d3c7b3;
}

/* 国旗（日本／ベトナム） */
.sy-os-flag {
  display: inline-block;
  flex-shrink: 0;
  width: 1.5em;
  height: 1em;
  margin-right: 0.35em;
  vertical-align: -0.12em;
  background: center / cover no-repeat;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.sy-os-flag.-jp {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='20' fill='%23fff'/%3E%3Ccircle cx='15' cy='10' r='6' fill='%23bc002d'/%3E%3C/svg%3E");
}
.sy-os-flag.-vn {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='20' fill='%23da251d'/%3E%3Cpolygon points='15,4 16.43,8.03 20.71,8.15 17.31,10.75 18.53,14.85 15,12.43 11.47,14.85 12.69,10.75 9.29,8.15 13.57,8.03' fill='%23ff0'/%3E%3C/svg%3E");
}

/* 人型アイコン（Tabler Icons user をマスクにして色を塗る） */
.sy-os-person {
  display: inline-block;
  width: 22px;
  height: 22px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0'/%3E%3Cpath d='M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0'/%3E%3Cpath d='M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ========================================
  冒頭のお悩み（共通パーツ）
  このページでは背景なし・吹き出しを薄緑に
======================================== */
.-sy-os .sy-offshore {
  margin-top: 70px;
  padding: 0;
  background-color: transparent;
}
.-sy-os .sy-offshore-box,
.-sy-os .sy-offshore-box::after {
  background-color: var(--color-green-back);
}
.-sy-os .sy-offshore-box {
  box-shadow: none;
}
.-sy-os .sy-offshore-list > li {
  background-color: var(--color-white);
}
/* 「選択できます！」から下の「オフショア開発とは？」へ矢印でつなぐ */
.-sy-os .sy-offshore-lead {
  margin: 60px 0 0;
}
@media screen and (max-width: 767px) {
  .-sy-os .sy-offshore {
    margin-top: 40px;
  }
  .-sy-os .sy-offshore-lead {
    margin-top: 45px;
  }
}

/* ========================================
  オフショア開発とは？
======================================== */
.sy-os-about {
  position: relative;
  margin-top: 90px;
}
/* 上のリード文からのコネクタ（縦線＋下向き三角） */
.sy-os-about::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 0;
  height: 46px;
  margin-bottom: 28px;
  border-left: 2px dashed var(--color-green);
  transform: translateX(-50%);
}
.sy-os-about::after {
  content: "";
  position: absolute;
  top: -26px;
  left: 50%;
  width: 22px;
  height: 12px;
  background-color: var(--color-green);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translateX(-50%);
}
.sy-os-about-box {
  padding: 50px 60px 50px;
  background-color: var(--color-white);
  border: 2px solid var(--color-green);
  border-radius: var(--sy-card-radius);
}
.sy-os-about-title {
  text-align: center;
  font-size: 26px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.15em;
}
.sy-os-about-text {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.9;
  text-align: center;
}

/* 体制図：お客様 ⇄ yep（日本） ⇄ yet（ベトナム） */
.sy-os-flow {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 170px 1.25fr 170px 1.25fr;
  align-items: stretch;
  gap: 12px;
}
.sy-os-flow-node {
  position: relative;
  padding: 34px 15px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 15px;
}
.sy-os-flow-node.-client {
  background-color: var(--color-back-dark);
  border: 2px solid var(--color-border-beige);
}
.sy-os-flow-node.-yep {
  --sy-node: var(--sy-os-jp);
  background-color: var(--sy-os-jp-back);
  border: 2px solid var(--sy-os-jp);
}
.sy-os-flow-node.-yet {
  --sy-node: var(--sy-os-vn);
  background-color: var(--sy-os-vn-back);
  border: 2px solid var(--sy-os-vn);
}
.sy-os-flow-icon.-building {
  display: block;
  width: 56px;
  height: 56px;
  background-color: var(--text-main-color);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V7l8-4v18M19 21V11l-6-4M9 9v.01M9 12v.01M9 15v.01M9 18v.01'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V7l8-4v18M19 21V11l-6-4M9 9v.01M9 12v.01M9 15v.01M9 18v.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sy-os-flow-name {
  margin-top: 10px;
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
}
.sy-os-flow-country {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 3px 18px;
  background-color: var(--sy-node);
  border-radius: 9999px;
  color: var(--color-white);
  font-size: 13px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.15em;
  white-space: nowrap;
}
.sy-os-flow-logo {
  display: block;
  height: 46px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.sy-os-flow-sub {
  margin-top: 4px;
  font-size: 11px;
  font-weight: var(--font-weight-bold);
  color: var(--sy-node);
}
.sy-os-flow-roles {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.sy-os-flow-roles li {
  padding: 4px 12px;
  background-color: var(--color-white);
  border: 1px solid var(--sy-node);
  border-radius: 9999px;
  color: var(--sy-node);
  font-size: 13px;
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
}
/* 双方向矢印（依頼＝濃色／報告・納品＝グレー） */
.sy-os-flow-arrows {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  text-align: center;
  line-height: 1.5;
}
.sy-os-flow-arrows p {
  position: relative;
  padding-bottom: 12px;
}
.sy-os-flow-arrows p::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
}
.sy-os-flow-arrows p.-right::after {
  background-color: var(--text-main-color);
  clip-path: polygon(0 40%, 92% 40%, 92% 0, 100% 50%, 92% 100%, 92% 60%, 0 60%);
}
.sy-os-flow-arrows p.-left {
  color: var(--text-sub-color);
}
.sy-os-flow-arrows p.-left::after {
  background-color: var(--text-sub-color);
  clip-path: polygon(8% 0, 8% 40%, 100% 40%, 100% 60%, 8% 60%, 8% 100%, 0 50%);
}
/* 役割の凡例 */
.sy-os-legend {
  margin-top: 20px;
  color: var(--text-sub-color);
  font-size: 11px;
  text-align: center;
}
@media screen and (max-width: 1024px) {
  .sy-os-flow {
    grid-template-columns: 1fr 120px 1.2fr 120px 1.2fr;
  }
}
@media screen and (max-width: 767px) {
  .sy-os-about {
    margin-top: 75px;
  }
  .sy-os-about::before {
    height: 30px;
  }
  .sy-os-about-box {
    padding: 30px 15px;
  }
  .sy-os-about-title {
    font-size: 20px;
  }
  .sy-os-about-text {
    font-size: 13px;
    text-align: left;
  }
  .sy-os-about-text br {
    display: none;
  }
  .sy-os-flow {
    margin-top: 35px;
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .sy-os-flow-node {
    padding: 28px 15px 20px;
  }
  /* SPは縦並びなので矢印を上下に */
  .sy-os-flow-arrows {
    flex-direction: row;
    justify-content: center;
    gap: 30px;
  }
  .sy-os-flow-arrows p {
    padding: 0 0 0 18px;
    text-align: left;
  }
  .sy-os-flow-arrows p::after {
    top: 0;
    right: auto;
    width: 10px;
    height: 100%;
  }
  .sy-os-flow-arrows p.-right::after {
    clip-path: polygon(40% 0, 60% 0, 60% 80%, 100% 80%, 50% 100%, 0 80%, 40% 80%);
  }
  .sy-os-flow-arrows p.-left::after {
    clip-path: polygon(50% 0, 100% 20%, 60% 20%, 60% 100%, 40% 100%, 40% 20%, 0 20%);
  }
  .sy-os-legend {
    text-align: left;
  }
}

/* ========================================
  どんなメリットがあるの？
======================================== */
.sy-os-merit {
  margin-top: var(--sy-space);
  padding-block: var(--sy-space);
  background-color: var(--color-green-back);
  border-radius: var(--sy-band-radius) var(--sy-band-radius) 0 0;
}
.sy-os-merit-list {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.sy-os-merit-item {
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 44%;
  gap: 50px;
  align-items: center;
  background-color: var(--color-white);
  border-radius: var(--sy-card-radius);
  box-shadow: var(--sy-card-shadow);
}
/* 偶数番目は図を左に */
.sy-os-merit-item:nth-child(even) {
  grid-template-columns: 44% 1fr;
}
.sy-os-merit-item:nth-child(even) .sy-os-merit-visual {
  order: -1;
}
.sy-os-merit-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
}
.sy-os-merit-num {
  color: var(--color-green);
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.05em;
}
.sy-os-merit-text {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.9;
  text-align: justify;
}
.sy-os-merit-text p + p {
  margin-top: 1em;
}

/* 活用実績例（上下の細線型）
   図側（塗りの角丸ボックス＋丸ラベル）と被らないよう、上下の細線と文字組みだけで構成する。
   課題は控えめなグレー、解決は緑のラベル＋太字＋緑の下線で目線を引く */
.sy-os-case {
  margin-top: 30px;
  padding: 14px 0;
  border-top: 1px solid var(--text-sub-color);
  border-bottom: 1px solid var(--text-sub-color);
}
.sy-os-case-head {
  color: var(--text-sub-color);
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
}
.sy-os-case-row {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 3em 1fr;
  gap: 10px;
}
.sy-os-case-row dt {
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  line-height: 1.9;
  letter-spacing: 0.1em;
}
.sy-os-case-row dt::after {
  content: "：";
}
.sy-os-case-row.-before dt {
  color: var(--text-sub-color);
}
.sy-os-case-row.-before dd {
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-sub-color);
}
.sy-os-case-row.-before b {
  color: var(--text-main-color);
  font-weight: var(--font-weight-bold);
}
.sy-os-case-row.-after dt {
  color: var(--color-green);
}
.sy-os-case-via {
  display: block;
  color: var(--color-green);
  font-size: 11px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.05em;
}
.sy-os-case-via::before {
  content: "\2192\00a0";
}
.sy-os-case-result {
  display: block;
  margin-top: 4px;
  font-size: 17px;
  font-weight: var(--font-weight-bold);
  line-height: 1.8;
  letter-spacing: 0.04em;
}
/* 重要な語句は緑の下線で強調 */
.sy-os-case-result em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: var(--color-green);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* 図 共通 */
.sy-os-merit-visual {
  min-width: 0;
}
.sy-os-visual-note {
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-sub-color);
  text-align: right;
}
.sy-os-qa-role .sy-os-person {
  width: 26px;
  height: 26px;
}
.sy-os-qa-people {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
}

/* ---- 01 品質：STEP1（ベトナム）→ STEP2（日本）→ 完成 ---- */
.sy-os-qa-step {
  padding: 16px 18px 18px;
  border-radius: 15px;
}
.sy-os-qa-step.-yet {
  --sy-node: var(--sy-os-vn);
  background-color: var(--sy-os-vn-back);
}
.sy-os-qa-step.-yep {
  --sy-node: var(--sy-os-jp);
  background-color: var(--sy-os-jp-back);
}
.sy-os-qa-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sy-os-qa-num {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 12px;
  border-right: 1px solid var(--sy-node);
  color: var(--sy-node);
  font-size: 26px;
  font-weight: var(--font-weight-bold);
  line-height: 1;
}
.sy-os-qa-num small {
  margin-bottom: 2px;
  font-size: 10px;
  letter-spacing: 0.15em;
}
.sy-os-qa-logo {
  height: 26px;
  width: auto;
}
.sy-os-qa-country {
  display: flex;
  align-items: center;
  margin-left: auto;
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  color: var(--sy-node);
}
.sy-os-qa-flow {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 22px 1fr;
  align-items: center;
  gap: 6px;
}
.sy-os-qa-role {
  padding: 10px 6px 10px;
  background-color: var(--color-white);
  border-radius: 10px;
  color: var(--sy-node);
  text-align: center;
}
.sy-os-qa-role p {
  margin-top: 4px;
  font-size: 13px;
  font-weight: var(--font-weight-bold);
  color: var(--text-main-color);
}
.sy-os-qa-act {
  display: inline-block;
  margin-bottom: 6px;
  padding: 1px 10px;
  background-color: var(--sy-node);
  border-radius: 9999px;
  color: var(--color-white);
  font-size: 11px;
  font-weight: var(--font-weight-bold);
}
.sy-os-qa-next {
  width: 14px;
  height: 20px;
  margin: 0 auto;
  background-color: var(--sy-node);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
/* STEP1 → STEP2 の受け渡し */
.sy-os-qa-handover {
  position: relative;
  margin: 8px 0;
  padding: 18px 0 18px 50%;
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  color: var(--text-sub-color);
}
.sy-os-qa-handover::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(50% - 40px);
  width: 30px;
  height: 34px;
  background-color: var(--text-sub-color);
  clip-path: polygon(30% 0, 70% 0, 70% 55%, 100% 55%, 50% 100%, 0 55%, 30% 55%);
  transform: translateY(-50%);
}
/* 完成 */
.sy-os-qa-goal {
  position: relative;
  margin-top: 30px;
  padding: 18px 15px;
  border: 2px solid var(--color-green);
  border-radius: 15px;
  text-align: center;
  font-size: 14px;
  font-weight: var(--font-weight-bold);
}
.sy-os-qa-goal::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  width: 26px;
  height: 14px;
  background-color: var(--color-green);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translateX(-50%);
}
.sy-os-qa-goal ul {
  margin: 10px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.sy-os-qa-goal li {
  padding: 4px 14px;
  background-color: var(--color-green);
  border-radius: 6px;
  color: var(--color-white);
  font-size: 15px;
}

/* ---- 02 コスト：開発費用の棒グラフ ---- */
.sy-os-cost {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 10px;
  align-items: end;
}
.sy-os-cost-col {
  text-align: center;
}
.sy-os-cost-label {
  font-size: 14px;
  font-weight: var(--font-weight-bold);
}
.sy-os-cost-area {
  position: relative;
  height: 260px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: 2px solid var(--text-main-color);
}
.sy-os-cost-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px 10px 0 0;
  font-size: 15px;
  font-weight: var(--font-weight-bold);
}
.sy-os-cost-bar.-normal {
  height: 100%;
  background-color: #f3eadc;
}
.sy-os-cost-bar.-offshore {
  height: 50%;
  background-color: var(--color-green);
  color: var(--color-white);
}
/* 減った分の点線枠＋下向き矢印 */
.sy-os-cost-ghost {
  height: 50%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 18%;
  border: 2px dashed var(--sy-os-beige-dark);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
}
.sy-os-cost-down {
  width: 30px;
  height: 46px;
  background-color: var(--color-green);
  clip-path: polygon(30% 0, 70% 0, 70% 55%, 100% 55%, 50% 100%, 0 55%, 30% 55%);
}
.sy-os-cost-bubble {
  position: absolute;
  top: 18%;
  right: -16px;
  padding: 6px 12px;
  background-color: var(--color-main);
  border-radius: 10px;
  color: var(--color-white);
  font-size: 13px;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  white-space: nowrap;
  transform: rotate(6deg);
}
.sy-os-cost-bubble strong {
  font-size: 26px;
}
.sy-os-cost-bubble sup {
  font-size: 10px;
}
.sy-os-cost-next {
  align-self: center;
  width: 26px;
  height: 36px;
  margin: 0 auto;
  background-color: var(--color-green);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* ---- 03 納期：体制＋期間のバー ---- */
.sy-os-speed {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.sy-os-speed-row {
  position: relative;
  padding: 18px 18px 20px;
  border-radius: 15px;
}
/* 通常 → オフショア の下向き矢印（品質の図と同じ形） */
.sy-os-speed-row + .sy-os-speed-row::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 13px);
  left: 50%;
  width: 26px;
  height: 14px;
  background-color: var(--color-green);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translateX(-50%);
}
.sy-os-speed-row.-normal {
  background-color: var(--color-back-dark);
}
.sy-os-speed-row.-offshore {
  background-color: var(--color-green-back);
}
.sy-os-speed-label {
  font-size: 14px;
  font-weight: var(--font-weight-bold);
}
.sy-os-speed-team {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sy-os-speed-group {
  padding: 8px 10px 6px;
  background-color: var(--color-white);
  border-radius: 10px;
  color: var(--text-main-color);
  text-align: center;
}
.sy-os-speed-group p {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  font-size: 11px;
  font-weight: var(--font-weight-bold);
}
.sy-os-speed-group.-add {
  border: 2px dashed var(--color-green);
  color: var(--color-green);
}
.sy-os-speed-group.-add p {
  color: var(--color-green);
}
.sy-os-person.-lead {
  color: var(--color-main);
}
.sy-os-speed-plus {
  color: var(--color-green);
  font-size: 22px;
  font-weight: var(--font-weight-bold);
}
.sy-os-speed-bar {
  position: relative;
  margin-top: 14px;
  height: 44px;
  display: flex;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
}
.sy-os-speed-fill {
  width: var(--w);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 13px;
  font-weight: var(--font-weight-bold);
}
.sy-os-speed-fill strong {
  margin: 0 2px;
  font-size: 24px;
}
.sy-os-speed-row.-normal .sy-os-speed-fill {
  background-color: var(--sy-os-beige-dark);
}
.sy-os-speed-row.-offshore .sy-os-speed-fill {
  background-color: var(--color-green);
  color: var(--color-white);
}
/* 短縮できた期間 */
.sy-os-speed-cut {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  border: 2px dashed var(--color-main);
  border-radius: 8px;
  color: var(--color-main);
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  text-align: center;
}

/* ---- 04 対応できるエンジニア ---- */
.sy-os-skill-head {
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  text-align: center;
  letter-spacing: 0.1em;
}
.sy-os-skill {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sy-os-skill-group {
  padding: 15px 20px;
  background-color: var(--color-green-back);
  border-radius: 12px;
}
.sy-os-skill-group dt {
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  color: var(--color-green);
}
.sy-os-skill-group ul {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sy-os-skill-group li {
  padding: 3px 12px;
  background-color: var(--color-white);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: var(--font-weight-medium);
}

@media screen and (max-width: 767px) {
  .sy-os-merit-list {
    margin-top: 35px;
    gap: 30px;
  }
  .sy-os-merit-item,
  .sy-os-merit-item:nth-child(even) {
    padding: 30px 15px;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .sy-os-merit-item:nth-child(even) .sy-os-merit-visual {
    order: 0;
  }
  .sy-os-merit-title {
    font-size: 18px;
    gap: 10px;
  }
  .sy-os-merit-num {
    font-size: 30px;
  }
  .sy-os-merit-text {
    font-size: 13px;
  }
  .sy-os-case-row dd br {
    display: none;
  }
  .sy-os-case-result {
    font-size: 15px;
  }
  .sy-os-qa-step {
    padding: 14px 12px 14px;
  }
  .sy-os-qa-role p {
    font-size: 12px;
  }
  .sy-os-cost-area {
    height: 200px;
  }
  .sy-os-cost-label {
    font-size: 12px;
  }
  .sy-os-cost-bubble {
    right: -6px;
  }
  .sy-os-cost-bubble strong {
    font-size: 20px;
  }
  .sy-os-speed-row {
    padding: 15px 12px;
  }
  .sy-os-speed-team {
    gap: 6px;
  }
  .sy-os-speed-group {
    padding: 6px 6px 4px;
  }
  .sy-os-person {
    width: 17px;
    height: 17px;
  }
  .sy-os-speed-fill strong {
    font-size: 20px;
  }
}

/* ========================================
  yep × yet（安心を伝えるセクション。上部で使っている yet の青をベタ背景にして他と差別化）
======================================== */
.sy-os-group {
  position: relative;
  padding: var(--sy-space) 0 calc(var(--sy-space) + var(--sy-band-radius));
  background-color: var(--sy-os-vn);
  color: var(--color-white);
  overflow: hidden;
}
/* 背景の大きな円の装飾 */
.sy-os-group::before {
  content: "";
  position: absolute;
  top: -260px;
  right: -200px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}
.sy-os-group > .wrapper {
  position: relative;
}
.sy-os-group-en {
  text-align: center;
  font-size: 34px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.2em;
}
.sy-os-group-intro {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 360px 1fr;
  align-items: center;
  gap: 60px;
}

/* 地球儀 */
.sy-os-globe {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  margin: 0 auto;
}
.sy-os-globe svg {
  display: block;
  width: 100%;
  height: 100%;
}
.sy-os-globe-sea {
  fill: var(--color-white);
}
.sy-os-globe-grid ellipse,
.sy-os-globe-grid line {
  fill: none;
  stroke: var(--sy-os-vn-back);
  stroke-width: 1.5;
}
.sy-os-globe-land {
  fill: #cfe0ee;
}
.sy-os-globe-route {
  fill: none;
  stroke: var(--text-main-color);
  stroke-width: 2.5;
  stroke-dasharray: 6 6;
  stroke-linecap: round;
}
.sy-os-globe-pin {
  stroke: var(--color-white);
  stroke-width: 3;
}
.sy-os-globe-pin.-jp {
  fill: var(--sy-os-jp);
}
.sy-os-globe-pin.-vn {
  fill: var(--sy-os-vn);
}
/* ピンに付くロゴの吹き出し */
.sy-os-globe-tag {
  position: absolute;
  padding: 8px 14px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background-color: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.sy-os-globe-tag img {
  height: 30px;
  width: auto;
}
.sy-os-globe-tag small {
  display: flex;
  align-items: center;
  font-size: 11px;
  font-weight: var(--font-weight-bold);
}
.sy-os-globe-tag.-jp {
  top: 10%;
  right: -8%;
  border: 2px solid var(--sy-os-jp);
}
.sy-os-globe-tag.-jp small {
  color: var(--sy-os-jp);
}
.sy-os-globe-tag.-vn {
  top: 72%;
  left: 8%;
  border: 2px solid var(--sy-os-vn);
}
.sy-os-globe-tag.-vn small {
  color: var(--sy-os-vn);
}

.sy-os-group-text {
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
}
.sy-os-group-catch {
  font-size: 28px;
  line-height: 1.7;
}
.sy-os-group-num {
  display: inline-block;
  margin: 0 4px;
  padding: 0 10px;
  background-color: var(--color-white);
  border-radius: 8px;
  color: var(--color-main);
  font-size: 44px;
  line-height: 1.2;
}
.sy-os-group-num small {
  font-size: 24px;
}
.sy-os-group-sub {
  margin-top: 20px;
  font-size: 18px;
  line-height: 2.2;
}
/* 「高品質なシステム開発」「柔軟な開発体制」を白抜きで強調 */
.sy-os-group-key {
  display: inline-block;
  margin: 0 6px 4px 0;
  padding: 2px 14px;
  background-color: var(--color-white);
  border-radius: 6px;
  color: var(--sy-os-vn);
  font-size: 1.15em;
  line-height: 1.6;
}

.sy-os-nowrap {
  white-space: nowrap;
}

/* 安心ポイント */
.sy-os-group-points {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.sy-os-group-points > li {
  padding: 28px 25px;
  background-color: var(--color-white);
  border-radius: 15px;
  color: var(--text-main-color);
  text-align: center;
}
.sy-os-group-check {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 auto;
  background-color: var(--sy-os-vn-back);
  border-radius: 50%;
}
.sy-os-group-check::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 13px;
  width: 17px;
  height: 9px;
  border-left: 3px solid var(--sy-os-vn);
  border-bottom: 3px solid var(--sy-os-vn);
  transform: rotate(-45deg);
}
.sy-os-group-point-title {
  margin-top: 12px;
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.05em;
}
.sy-os-group-point-text {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.8;
  text-align: left;
}

/* ---- 歴史：横スクロールのタイムライン ---- */
.sy-os-history {
  position: relative;
  margin-top: 80px;
}
.sy-os-history-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.sy-os-history-title {
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
}
.sy-os-history-list {
  margin-top: 10px;
  padding: 16px max(50px, calc((100% - 1080px) / 2)) 20px;
  display: flex;
  gap: 90px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-left: max(50px, calc((100% - 1080px) / 2));
  -webkit-overflow-scrolling: touch;
}
.sy-os-history-list > li {
  position: relative;
  flex: 0 0 200px;
  scroll-snap-align: start;
}
/* 偶数番目は下にずらして互い違いに */
.sy-os-history-list > li:nth-child(even) {
  margin-top: 50px;
}
/* 次の項目へつなぐ波線（最後の項目にも付けて「これからも続く」を表す） */
.sy-os-history-list > li::after {
  content: "";
  position: absolute;
  top: 110px;
  left: calc(100% + 5px);
  width: 80px;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40'%3E%3Cpath d='M2 10 C 20 -6, 30 34, 46 30 S 66 14, 78 26' fill='none' stroke='white' stroke-opacity='.55' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sy-os-history-list > li:nth-child(even)::after {
  top: 60px;
  transform: scaleY(-1);
}
/* 最後は2山の長い波線を、先に行くほど細く・薄く */
.sy-os-history-list > li:last-child {
  margin-right: 150px;
}
.sy-os-history-list > li:last-child::after {
  width: 150px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 40'%3E%3Cpath d='M2 10 C 20 -6, 30 34, 46 30 S 66 14, 78 26' fill='none' stroke='white' stroke-opacity='.55' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M78 26 C 90 36, 100 6, 114 12 S 132 30, 146 20' fill='none' stroke='white' stroke-opacity='.3' stroke-width='4' stroke-linecap='round' stroke-dasharray='1 9'/%3E%3C/svg%3E");
}
.sy-os-history-card {
  display: block;
  color: inherit;
  transition: transform 0.35s ease;
}
.sy-os-history-img {
  position: relative;
  aspect-ratio: 1;
  border-radius: 4px;
  transition: box-shadow 0.35s ease;
}
/* 画像だけをトリミングする枠（日付タグははみ出させたいので外側の箱とは分ける） */
.sy-os-history-thumb {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
}
.sy-os-history-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.sy-os-history-img.-placeholder {
  background-color: rgba(255, 255, 255, 0.35);
}
.sy-os-history-date {
  position: absolute;
  top: -10px;
  left: -8px;
  z-index: 1;
  padding: 3px 10px;
  background-color: var(--text-main-color);
  color: var(--color-white);
  font-size: 11px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.05em;
}
.sy-os-history-foot {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.sy-os-history-name {
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}
/* 丸い矢印ボタン */
.sy-os-history-arrow {
  position: relative;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  background-color: var(--color-white);
  border-radius: 50%;
  transition: background-color 0.3s;
}
.sy-os-history-arrow::after {
  transition: left 0.3s ease, border-color 0.3s;
  content: "";
  position: absolute;
  top: 50%;
  left: 45%;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--sy-os-vn);
  border-right: 2px solid var(--sy-os-vn);
  transform: translate(-50%, -50%) rotate(45deg);
}
/* ホバー：カードが少し浮き、写真がゆっくり拡大、矢印が右へ */
a.sy-os-history-card:hover,
a.sy-os-history-card:focus-visible {
  transform: translateY(-6px);
}
a.sy-os-history-card:hover .sy-os-history-img,
a.sy-os-history-card:focus-visible .sy-os-history-img {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}
a.sy-os-history-card:hover .sy-os-history-img img,
a.sy-os-history-card:focus-visible .sy-os-history-img img {
  transform: scale(1.08);
}
a.sy-os-history-card:hover .sy-os-history-arrow::after,
a.sy-os-history-card:focus-visible .sy-os-history-arrow::after {
  left: 55%;
}
@media (prefers-reduced-motion: reduce) {
  .sy-os-history-card,
  .sy-os-history-img,
  .sy-os-history-img img,
  .sy-os-history-arrow::after {
    transition: none;
  }
}
a.sy-os-history-card:hover .sy-os-history-arrow {
  background-color: var(--text-main-color);
}
a.sy-os-history-card:hover .sy-os-history-arrow::after {
  border-color: var(--color-white);
}

@media screen and (max-width: 767px) {
  .sy-os-group::before {
    top: -120px;
    right: -160px;
    width: 340px;
    height: 340px;
  }
  .sy-os-group-en {
    font-size: 24px;
  }
  .sy-os-group-intro {
    margin-top: 25px;
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .sy-os-globe {
    max-width: 280px;
  }
  .sy-os-globe-tag {
    padding: 6px 10px 4px;
  }
  .sy-os-globe-tag img {
    height: 22px;
  }
  .sy-os-globe-tag.-jp {
    right: -4%;
  }
  .sy-os-group-catch {
    font-size: 19px;
    text-align: center;
  }
  .sy-os-group-num {
    font-size: 32px;
  }
  .sy-os-group-num small {
    font-size: 18px;
  }
  .sy-os-group-sub {
    font-size: 14px;
    text-align: center;
  }
  .sy-os-group-points {
    margin-top: 35px;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .sy-os-group-points > li {
    padding: 20px 15px;
  }
  .sy-os-group-point-title {
    font-size: 16px;
  }
  .sy-os-history {
    margin-top: 50px;
  }
  .sy-os-history-title {
    font-size: 18px;
  }
  .sy-os-history-list {
    padding: 16px 20px 15px;
    gap: 60px;
    scroll-padding-left: 20px;
  }
  .sy-os-history-list > li {
    flex-basis: 170px;
  }
  .sy-os-history-list > li::after {
    top: 90px;
    width: 52px;
  }
  .sy-os-history-list > li:nth-child(even)::after {
    top: 45px;
  }
  .sy-os-history-list > li:last-child {
    margin-right: 100px;
  }
  .sy-os-history-list > li:last-child::after {
    width: 98px;
  }
}

/* ========================================
  よくあるご質問：yep × yet との間に余白を作らず、角丸を青背景に重ねる
======================================== */
.page.-sy.-sy-os .sy-os-group + .pr-faq {
  position: relative;
  margin-top: calc(var(--sy-band-radius) * -1);
}

/* ========================================
  FAQ内リンク
======================================== */
.sy-os-faq-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--color-link);
  text-decoration: underline;
}

/* ========================================
  お問い合わせ導線（赤背景）
======================================== */
.sy-os-cta {
  margin-top: 20px;
  margin-bottom: var(--sy-space);
}
.sy-os-cta-box {
  position: relative;
  padding: 55px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  background-color: var(--color-main);
  border-radius: 40px;
  color: var(--color-white);
  overflow: hidden;
}
.sy-os-cta-box::before {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -100px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.sy-os-cta-en {
  position: relative;
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.3em;
  opacity: 0.8;
}
.sy-os-cta-text {
  position: relative;
  text-align: center;
  font-size: 22px;
  font-weight: var(--font-weight-bold);
  line-height: 1.8;
  letter-spacing: 0.08em;
}
/* 赤地の上なので白ボタン（ホバーは共通の濃色） */
.common-button.sy-os-cta-button {
  width: auto;
  min-width: 240px;
  gap: 30px;
  background-color: var(--color-white);
  color: var(--color-main);
}
.sy-os-cta-button .common-button__icon::before {
  background-color: var(--color-main);
}
.sy-os-cta-button .common-button__icon::after {
  color: var(--color-main);
}
.sy-os-cta-button:hover,
.sy-os-cta-button:focus-visible {
  color: var(--color-white);
}
.sy-os-cta-button:hover .common-button__icon::after,
.sy-os-cta-button:focus-visible .common-button__icon::after {
  color: var(--color-white);
}
@media screen and (max-width: 767px) {
  .sy-os-cta-box {
    padding: 40px 15px 45px;
    border-radius: 15px;
  }
  .sy-os-cta-text {
    font-size: 16px;
  }
  .sy-os-cta-text br {
    display: none;
  }
}

/* ========================================
  ブログ：オフショア記事ラベル
======================================== */
.sy-os-blog-label {
  margin: 15px auto 0;
  width: fit-content;
  padding: 4px 18px;
  background-color: var(--color-green);
  border-radius: 9999px;
  color: var(--color-white);
  font-size: 13px;
  font-weight: var(--font-weight-bold);
}
