/* =========================================================
   JSY TRADE PAGE
   common.css / under.css の後に読み込む
   ========================================================= */

#mainContent.jsy-trade {
  --trade-blue: #3e7cb3;
  --trade-blue-dark: #0f4c81;
  --trade-text: #111;
  --trade-line: #d9d9d9;
  --trade-gray: #f4f4f4;
  --trade-inner: 1000px;
  --trade-narrow: 840px;
  --trade-feature-side-space: 55px;

  --phase-blue: #2b6cb0;
  --phase-green: #2f855a;
  --phase-orange: #c05621;
  --phase-purple: #6b46c1;

  width: 100%;
  color: var(--trade-text);
  overflow: hidden;
}

#mainContent.jsy-trade *,
#mainContent.jsy-trade *::before,
#mainContent.jsy-trade *::after {
  box-sizing: border-box;
}

#mainContent.jsy-trade h2,
#mainContent.jsy-trade h3,
#mainContent.jsy-trade h4,
#mainContent.jsy-trade p {
  margin: 0;
}

/* =========================================================
   共通幅
   ========================================================= */

#mainContent.jsy-trade .trade-inner {
  width: calc(100% - 40px);
  max-width: var(--trade-inner);
  margin-right: auto;
  margin-left: auto;
}

#mainContent.jsy-trade .trade-inner--narrow {
  max-width: var(--trade-narrow);
}

/* =========================================================
   TRADE KV
   ========================================================= */

.trade-kv {
  width: 100%;
  margin-top: 42px;
}

.trade-kv__inner {
  position: relative;

  width: 100%;
  min-height: 280px;

  overflow: hidden;

  background: #d9d9d9;
}

.trade-kv__inner > img {
  display: block;

  width: 100%;
  /* height: 280px; */

  object-fit: cover;
}

.trade-kv__title {
  position: absolute;

  inset: 0;

  z-index: 2;

  display: flex;

  justify-content: center;
  align-items: center;
}

.trade-kv__heading {
  margin: 0;

  color: #fff;

  font-family: "Noto Sans JP", sans-serif;

  font-size: 38px;
  font-weight: 700;

  line-height: 44px;
  letter-spacing: .1em;

  text-align: center;
}

.trade-kv__heading-accent {
  color: #1EADFF;
}

.trade-kv__heading::first-letter {
  color: #1EADFF;
}

/* =========================================================
   Companyと共通のタイポグラフィ
   ========================================================= */

#mainContent.jsy-trade .trade-heading {
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: .1em;
  text-align: center;
}

#mainContent.jsy-trade .trade-heading-lead {
  margin-top: 22px;
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: .04em;
  text-align: center;
}

#mainContent.jsy-trade .trade-text {
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: .04em;
}

#mainContent.jsy-trade .trade-feature-title {
  color: var(--trade-blue-dark);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: .2em;
}

#mainContent.jsy-trade .trade-feature-subtitle {
  margin-top: 22px;
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  letter-spacing: 0;
}

/* =========================================================
   セクション
   ========================================================= */

#mainContent.jsy-trade .trade-section--standard {
  padding-top: 110px;
  padding-bottom: 110px;
}

#mainContent.jsy-trade .trade-section--gray {
  background: var(--trade-gray);
}

#mainContent.jsy-trade .trade-intro {
  padding-top: 50px;
  padding-bottom: 0;
}

#mainContent.jsy-trade .trade-intro__text {
  text-align: center;
}

#mainContent.jsy-trade .trade-heading-group {
  margin-bottom: 50px;
}

/* =========================================================
   課題 4項目
   230px × 4 / gap 26px
   ========================================================= */

#mainContent.jsy-trade .trade-challenge-grid {
  width: 100%;
  max-width: 1000px;

  margin-right: auto;
  margin-bottom: 30px;
  margin-left: auto;

  display: grid;
  grid-template-columns: repeat(4, 230px);
  gap: 26px;

  justify-content: center;
  align-items: stretch;
}


/* 1セット全体 */
#mainContent.jsy-trade .trade-challenge-item {
  width: 230px;
  min-width: 0;

  display: flex;
  flex-direction: column;

  text-align: center;
}


/* 上段：画像＋H3を囲う課題ボックス 230 × 140 */
#mainContent.jsy-trade .trade-challenge-item__problem {
  width: 230px;
  height: 200px;

  padding: 8px 20px 22px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background: #f2f2f2;
}


/* 中のイラストは97 × 97 */
#mainContent.jsy-trade .trade-challenge-item__visual {
  width: 100px;
  height: 100px;
  flex: 0 0 100px;
}

#mainContent.jsy-trade .trade-challenge-item__visual img {
  display: block;

  width: 100px;
  height: 100px;

  object-fit: contain;
}


/* 課題H3 */
#mainContent.jsy-trade .trade-challenge-item__title {
  margin-top: 2px;

  color: #000;

  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;

  line-height: 20px;
  letter-spacing: 0;

  text-align: center;
}


/* ↓ */
#mainContent.jsy-trade .trade-challenge-item__arrow {
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--trade-blue);

  font-size: 20px;
  line-height: 1;
}

/* =========================================================
   解決カード
   フォントサイズは現状維持
   ========================================================= */

#mainContent.jsy-trade .trade-solution-card {
  position: relative;

  width: 230px;
  min-height: 150px;
  height: auto;

  margin: 0 auto;
  padding: 28px 20px 22px;

  border: 1px solid var(--trade-blue);
  border-radius: 6px;

  background: #fff;

  overflow: visible;

  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
}


/* 「解決」ラベル */
#mainContent.jsy-trade .trade-solution-card__badge {
  position: absolute;

  top: -10px;
  left: 50%;

  transform: translateX(-50%);

  padding: 4px 14px;

  border-radius: 4px;

  background: var(--trade-blue);
  color: #fff;

  font-family: "Noto Sans JP", sans-serif;

  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}


/* 解決H3 */
#mainContent.jsy-trade .trade-solution-card__title {
  width: 100%;

  color: var(--trade-blue-dark);

  /* font-sizeは変更しない */
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;

  text-align: center;
}


/* 解決イラスト */
#mainContent.jsy-trade .trade-solution-card__image {
  width: 120px;
  height: 87px;

  margin: 14px auto 0;
}

#mainContent.jsy-trade .trade-solution-card__image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
}


/* 説明本文 */
#mainContent.jsy-trade .trade-solution-card__text {
  width: 100%;

  margin-top: 10px;

  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: .04em;

  text-align: center;
}

/* =========================================================
   中日貿易 対応範囲リード
   ========================================================= */

#mainContent.jsy-trade .trade-solutions-message {
  margin-top: 0;
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0;
  text-align: center;
}

#mainContent.jsy-trade .trade-solutions-description {
  margin-top: 12px;
  margin-bottom: 0;
  text-align: center;
}


/* =========================================================
   中国 / 日本カード
   840pxガイド・均等2列
   ========================================================= */

#mainContent.jsy-trade .trade-country-grid {
  width: 100%;
  max-width: var(--trade-narrow);
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

#mainContent.jsy-trade .trade-country-card {
  min-width: 0;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: #f5f5f5;
}

#mainContent.jsy-trade .trade-country-card__flag {
  width: 60px;
  height: 40px;
  flex: 0 0 60px;
  background: #fff;
}

#mainContent.jsy-trade .trade-country-card__flag img {
  display: block;
  width: 60px;
  height: 40px;
  object-fit: cover;
}

#mainContent.jsy-trade .trade-country-card__title {
  color: var(--trade-blue-dark);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0;
}

#mainContent.jsy-trade .trade-country-card__text {
  margin-top: 4px;
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: .04em;
}

/* =========================================================
   Company「沿革」と同仕様
   幅840 / 上下25 / 左Bold / 右Regular / 間隔50 / 右端50
   線はすべて1pxで統一
   ========================================================= */

#mainContent.jsy-trade .trade-data-table {
  position: relative;

  width: 100%;
  max-width: var(--trade-narrow);
  margin: 40px auto 0;

  border-top: 1px solid var(--trade-line);
}


/* 一番上の青線 */
#mainContent.jsy-trade .trade-data-table::before {
  content: "";

  position: absolute;
  top: -1px;
  left: 0;

  width: 16.6666666667%;
  height: 1px;

  background: var(--trade-blue);
}


/* 各行 */
#mainContent.jsy-trade .trade-data-row {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 0;

  padding-top: 25px;
  padding-bottom: 25px;

  border-bottom: 1px solid var(--trade-line);
}


/* 各行下部の青線 */
#mainContent.jsy-trade .trade-data-row::after {
  content: "";

  position: absolute;
  bottom: -1px;
  left: 0;

  width: 16.6666666667%;
  height: 1px;

  background: var(--trade-blue);
}


#mainContent.jsy-trade .trade-data-label,
#mainContent.jsy-trade .trade-data-value {
  color: #000;

  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;

  line-height: 20px;
  letter-spacing: .04em;
}


#mainContent.jsy-trade .trade-data-label {
  width: 16.6666666667%;
  flex: 0 0 16.6666666667%;

  font-weight: 700;
}


#mainContent.jsy-trade .trade-data-value {
  flex: 1 1 auto;

  min-width: 0;

  margin-left: 50px;
  padding-right: 50px;

  font-weight: 400;
}

/* =========================================================
   フェーズ共通
   昨日確定:
   1000px total / gap 44px
   3列 = 304px × 3
   4列 = 217px × 4
   2列 = 478px × 2
   ========================================================= */

#mainContent.jsy-trade .trade-flow {
  margin-top: 70px;
}

#mainContent.jsy-trade .trade-phase {
  --phase-color: var(--phase-blue);
  position: relative;
}

#mainContent.jsy-trade .trade-phase + .trade-phase {
  margin-top: 58px;
}

#mainContent.jsy-trade .trade-phase--blue { --phase-color: var(--phase-blue); }
#mainContent.jsy-trade .trade-phase--green { --phase-color: var(--phase-green); }
#mainContent.jsy-trade .trade-phase--orange { --phase-color: var(--phase-orange); }
#mainContent.jsy-trade .trade-phase--purple { --phase-color: var(--phase-purple); }

#mainContent.jsy-trade .trade-phase-heading {
  margin-bottom: 22px;
  text-align: center;
}

#mainContent.jsy-trade .trade-phase-heading__number {
  display: block;
  color: var(--phase-color);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
}

#mainContent.jsy-trade .trade-phase-heading__title {
  margin-top: 2px;
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: .08em;
}

#mainContent.jsy-trade .trade-flow-grid {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 44px;
  justify-content: center;
}

#mainContent.jsy-trade .trade-flow-grid--3 {
  grid-template-columns: repeat(3, 304px);
}

#mainContent.jsy-trade .trade-flow-grid--4 {
  grid-template-columns: repeat(4, 217px);
}

#mainContent.jsy-trade .trade-flow-grid--2 {
  grid-template-columns: repeat(2, 478px);
}

#mainContent.jsy-trade .trade-flow-card {
  position: relative;
  min-height: 120px;
  padding: 20px 18px 18px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  text-align: center;
}

#mainContent.jsy-trade .trade-flow-card:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -31px;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 18px;
  line-height: 1;
}

#mainContent.jsy-trade .trade-flow-card__number {
  width: 36px;
  height: 36px;

  margin: 0 auto;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--phase-color);
  color: #fff;

  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 700;

  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}

#mainContent.jsy-trade .trade-flow-card__title {
  margin-top: 14px;
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
}

#mainContent.jsy-trade .trade-flow-card__text {
  margin-top: 8px;
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

/* =========================================================
   技術 / 物流 2カラム
   ========================================================= */

/* H2だけはCompanyと同じ840pxガイド */
#mainContent.jsy-trade #tradeStrength > .trade-inner > .trade-heading {
  width: calc(100% - 40px);
  max-width: var(--trade-narrow);
  margin-right: auto;
  margin-left: auto;
}

/*
  trade-inner の1000px制限から、この2段だけ画面幅いっぱいに広げる。
  HTML / class名は変更しない。
*/
#mainContent.jsy-trade .trade-feature-list {
  width: 100vw;
  margin-top: 70px;
  margin-left: calc(50% - 50vw);
}

#mainContent.jsy-trade .trade-feature-row {
  width: 100%;
  display: flex;
  align-items: stretch;
}

#mainContent.jsy-trade .trade-feature-row--reverse {
  flex-direction: row-reverse;
}

#mainContent.jsy-trade .trade-feature-content,
#mainContent.jsy-trade .trade-feature-media {
  width: 50%;
}

#mainContent.jsy-trade .trade-feature-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

/* 1段目：外側を840pxガイドに合わせ、画像境界側は55px */
#mainContent.jsy-trade
.trade-feature-row:not(.trade-feature-row--reverse)
.trade-feature-content {
  padding-top: 52px;
  padding-right: var(--trade-feature-side-space);
  padding-bottom: 45px;
  padding-left: max(20px, calc(50% - (var(--trade-narrow) / 2)));
}

/* 2段目：左右を反転 */
#mainContent.jsy-trade
.trade-feature-row--reverse
.trade-feature-content {
  padding-top: 52px;
  padding-right: max(20px, calc(50% - (var(--trade-narrow) / 2)));
  padding-bottom: 45px;
  padding-left: var(--trade-feature-side-space);
}

#mainContent.jsy-trade
.trade-feature-row + .trade-feature-row {
  margin-top: 60px;
}

/* H3 + Companyと同じ横線 */
#mainContent.jsy-trade .trade-feature-title {
  position: relative;
  padding-bottom: 12px;
}

#mainContent.jsy-trade .trade-feature-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(100% + var(--trade-feature-side-space));
  height: 1px;
  background: #222;
}

/* 2段目は横線を画像境界側（左）へ伸ばす */
#mainContent.jsy-trade
.trade-feature-row--reverse
.trade-feature-title::after {
  left: auto;
  right: 0;
}

#mainContent.jsy-trade .trade-feature-content .trade-text {
  width: 380px;
  max-width: 100%;
  margin-top: 18px;
}

#mainContent.jsy-trade .trade-feature-media {
  min-height: 360px;
  background: #ececec;
}

#mainContent.jsy-trade .trade-feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   H3見出しの青と黒色
   ========================================================= */

#mainContent.jsy-trade .trade-feature-title > span:first-of-type {
  color: #0f4c81 !important;
}

#mainContent.jsy-trade .trade-feature-title > span:last-of-type {
  color: #000 !important;
}

/* =========================================================
   WORKS
   ========================================================= */

#mainContent.jsy-trade .trade-works-heading {
  color: #0f4c81;
  font-family: "Montserrat", sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
}

#mainContent.jsy-trade .trade-works-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  align-items: start;
}

#mainContent.jsy-trade .trade-works-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

#mainContent.jsy-trade .trade-work-card__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #ececec;
}

#mainContent.jsy-trade .trade-work-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#mainContent.jsy-trade .trade-work-card__title {
  margin-top: 12px;
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
}

#mainContent.jsy-trade .trade-work-card__text {
  margin-top: 5px;
  color: #000;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 18px;
}

/* =========================================================
   共通ボタン
   ========================================================= */

#mainContent.jsy-trade .trade-button-wrap {
  margin-top: 50px;
  text-align: center;
}

#mainContent.jsy-trade .trade-button {
  min-width: 210px;
  padding: 12px 26px;
  border: 1px solid #777;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000;
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
}


/* =========================================================
   ENGLISH TRADE
   /en/ 配下のみ上書き
   Companyページと同じ英語タイポグラフィ方針
   ========================================================= */

/* 共通フォント：英語ページは Inter */
body.lang-en #mainContent.jsy-trade,
body.lang-en #mainContent.jsy-trade *,
body.lang-en .trade-kv,
body.lang-en .trade-kv * {
  font-family: "Inter", sans-serif;
}

body.lang-en #mainContent.jsy-trade .trade-text,
body.lang-en #mainContent.jsy-trade .trade-country-card__text {
  line-height: 24px;
}

/* PC / TABLET の英語タイポグラフィ */
@media only screen and (min-width: 768px) {

  /* 標準 H2
     Inter SemiBold
     32px / 44px / 5%
  */
  body.lang-en #mainContent.jsy-trade .trade-heading {
    font-family: "Inter", sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 44px;
    letter-spacing: 0.05em;
  }

  /* 標準 H3
     Inter SemiBold
     16px / 24px / 5%
     個別サイズを持つPhase見出し・カード見出し等は既存値を維持
  */
  body.lang-en #mainContent.jsy-trade .trade-challenge-item__title,
  body.lang-en #mainContent.jsy-trade .trade-solution-card__title,
  body.lang-en #mainContent.jsy-trade .trade-country-card__title,
  body.lang-en #mainContent.jsy-trade .trade-feature-subtitle {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.05em;
  }

  /* 写真付き見出し H2
     Inter SemiBold
     28px / 44px / 5%
  */
  body.lang-en #mainContent.jsy-trade .trade-feature-title {
    font-family: "Inter", sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 44px;
    letter-spacing: 0.05em;
  }
　body.lang-en #mainContent.jsy-trade .trade-text {
  line-height: 24px;
}
	
}

/* =========================================================
   TABLET
   ========================================================= */

@media only screen and (min-width: 768px) and (max-width: 1079px) {
  #mainContent.jsy-trade {
    --trade-feature-side-space: 4vw;
  }

  #mainContent.jsy-trade .trade-inner {
    width: 90%;
  }

  #mainContent.jsy-trade .trade-flow-grid {
    gap: 3vw;
  }

  #mainContent.jsy-trade .trade-flow-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #mainContent.jsy-trade .trade-flow-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  #mainContent.jsy-trade .trade-flow-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media only screen and (max-width: 767px) {

  /* =======================================================
     JSY TRADE / 旧business系SP指定を上書き
     ======================================================= */

  /* KV */
  #mainContent.jsy-trade .trade-kv__inner {
    width: 100%;
    min-height: 48vw;
  }

  #mainContent.jsy-trade .trade-kv__inner > img {
    width: 100%;
    height: 48vw;
    object-fit: cover;
  }

  #mainContent.jsy-trade .trade-kv__heading {
    width: 86%;
    max-width: none;

    margin: 0 auto;

    font-family: "Noto Sans JP", sans-serif;
    font-size: 7vw;
    font-weight: 700;

    line-height: 1.4;
    letter-spacing: .08em;

    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;

    text-align: center;
  }

  /* 冒頭文章 */
#mainContent.jsy-trade .trade-intro__text {
  width: 100%;
  max-width: none;

  font-family: "Noto Sans JP", sans-serif;
  font-size: 3.7vw;
  font-weight: 400;

  line-height: 1.9;
  letter-spacing: .04em;

  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;

  text-align: center;
}

  #mainContent.jsy-trade .trade-inner,
  #mainContent.jsy-trade .trade-inner--narrow {
    width: 86%;
    max-width: none;
  }

  #mainContent.jsy-trade .trade-section--standard {
    padding-top: 16vw;
    padding-bottom: 16vw;
  }

  #mainContent.jsy-trade .trade-heading {
    font-size: 7vw;
    line-height: 1.45;
  }

  #mainContent.jsy-trade .trade-heading-lead,
  #mainContent.jsy-trade .trade-text {
    font-size: 3.7vw;
    line-height: 1.9;
  }

  #mainContent.jsy-trade .trade-heading-lead {
    margin-top: 4vw;
  }

  #mainContent.jsy-trade .trade-challenge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10vw 5vw;
  }

  #mainContent.jsy-trade .trade-challenge-item {
    width: 100%;
  }

  #mainContent.jsy-trade .trade-challenge-item__problem {
    width: 100%;
    height: auto;
    min-height: 46vw;
    padding: 7vw 5vw 6vw;
  }

  #mainContent.jsy-trade .trade-challenge-item__visual {
    width: 22vw;
    height: 22vw;
    flex-basis: 22vw;
  }

  #mainContent.jsy-trade .trade-solution-card {
    width: 100%;
    height: auto;
    min-height: 30vw;
  }

  #mainContent.jsy-trade .trade-country-grid {
    grid-template-columns: 1fr;
  }

  #mainContent.jsy-trade .trade-data-row {
    padding: 5vw 0;
    flex-direction: column;
    align-items: flex-start;
  }

  #mainContent.jsy-trade .trade-data-row::before {
    width: 0;
  }

  #mainContent.jsy-trade .trade-data-label,
  #mainContent.jsy-trade .trade-data-value {
    width: 100%;
    flex: 0 0 auto;
    font-size: 3.7vw;
    line-height: 1.7;
  }

  #mainContent.jsy-trade .trade-data-value {
    margin-top: 2vw;
    margin-left: 0;
    padding-right: 0;
  }

  #mainContent.jsy-trade .trade-flow {
    margin-top: 10vw;
  }

  #mainContent.jsy-trade .trade-flow-grid,
  #mainContent.jsy-trade .trade-flow-grid--2,
  #mainContent.jsy-trade .trade-flow-grid--3,
  #mainContent.jsy-trade .trade-flow-grid--4 {
    grid-template-columns: 1fr;
    gap: 5vw;
  }

  #mainContent.jsy-trade .trade-flow-card:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: 50%;
    bottom: -4vw;
    transform: translateX(50%);
  }

  #mainContent.jsy-trade .trade-flow-card__number {
    width: 10vw;
    height: 10vw;
  }

  #mainContent.jsy-trade #tradeStrength > .trade-inner > .trade-heading {
    width: 100%;
    max-width: none;
  }

  #mainContent.jsy-trade .trade-feature-list {
    margin-top: 8vw;
  }

  #mainContent.jsy-trade .trade-feature-row,
  #mainContent.jsy-trade .trade-feature-row--reverse {
    flex-direction: column-reverse;
  }

　/* 写真つき2カラム：段と段の間隔 */
#mainContent.jsy-trade
.trade-feature-row + .trade-feature-row {
  margin-top: 12vw;
}
	
  #mainContent.jsy-trade .trade-feature-content,
  #mainContent.jsy-trade .trade-feature-media {
    width: 100%;
  }

  #mainContent.jsy-trade
  .trade-feature-row:not(.trade-feature-row--reverse)
  .trade-feature-content,
  #mainContent.jsy-trade
  .trade-feature-row--reverse
  .trade-feature-content {
    width: 86%;
    margin: 0 auto;
    padding: 8vw 0 12vw;
  }

  #mainContent.jsy-trade .trade-feature-title {
    font-size: 5.4vw;
    line-height: 1.5;
  }

  #mainContent.jsy-trade .trade-feature-title::after,
  #mainContent.jsy-trade
  .trade-feature-row--reverse
  .trade-feature-title::after {
    left: 0;
    right: auto;
    width: 100%;
  }

  #mainContent.jsy-trade .trade-feature-subtitle {
    margin-top: 5vw;
    font-size: 4.2vw;
    line-height: 1.6;
  }

  #mainContent.jsy-trade .trade-feature-content .trade-text {
    width: 100%;
    margin-top: 4vw;
  }

  #mainContent.jsy-trade .trade-feature-media {
    min-height: 58vw;
  }

  #mainContent.jsy-trade .trade-works-heading {
    font-size: 12vw;
  }

  #mainContent.jsy-trade .trade-works-grid {
    grid-template-columns: 1fr;
  }

  #mainContent.jsy-trade .trade-works-subgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Section title: source typography + integration spacing */

#mainContent.jsy-trade #partnership .partnership-heading {
    margin: 0 0 60px;
}

/* Original .contBlock .flex */
#mainContent.jsy-trade #partnership .contentWrap.flex {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0 auto;
    padding: 0;
    gap: 0;
    /* width: 80%;
    max-width: 795px; */
    box-sizing: border-box;
}
#mainContent.jsy-trade #partnership .contentWrap.flex:not(:first-of-type){
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #ddd;
}

/* Original .flex .imageBlock */
#mainContent.jsy-trade #partnership .contentWrap.flex > .photoWrap {
    box-sizing: border-box;
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    margin: 0 40px 0 0;
    padding: 0;
    width: 50%;
    max-width: 381px;
    text-align: center;
}

#mainContent.jsy-trade #partnership .photoWrap img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

/* Layout support for the existing .detailWrap */
#mainContent.jsy-trade #partnership .contentWrap.flex > .detailWrap {
    box-sizing: border-box;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    padding: 0;
}

/* Original .titleAndTextBlock .titleBlock / .title */
#mainContent.jsy-trade #partnership .logoWrap {
    width: 275px;
    max-width: 100%;
    margin: 0 0 30px;
    padding: 0;
    border: 0;
    background: none;
    line-height: 1;
}

#mainContent.jsy-trade #partnership .logoWrap a {
    display: inline-block;
    max-width: 100%;
    line-height: 1;
    text-decoration: none;
    -webkit-transition: .3s ease 0s;
    -o-transition: .3s ease 0s;
    transition: .3s ease 0s;
}

#mainContent.jsy-trade #partnership .logoWrap a:hover {
    opacity: .8;
}

#mainContent.jsy-trade #partnership .logoWrap a::after {
    display: none;
}

#mainContent.jsy-trade #partnership .logoWrap img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

/* Original .titleAndTextBlock .textBlock */
#mainContent.jsy-trade #partnership .partnership-text {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.7;
    letter-spacing: 0.08em;
    text-align: left;
    color: inherit;
}

/* Original tablet / mobile breakpoint.
   The existing HTML has the photo first, so column-reverse
   preserves the source layout (text first, photo below). */
@media only screen and (max-width: 959px) {
    #mainContent.jsy-trade #partnership .contentWrap.flex {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    #mainContent.jsy-trade #partnership .contentWrap.flex > .photoWrap {
        margin: 30px 0 0;
        width: 100%;
        max-width: inherit;
    }

    #mainContent.jsy-trade #partnership .contentWrap.flex > .detailWrap {
        flex: none;
        width: 100%;
    }
}

@media only screen and (min-width: 601px) and (max-width: 959px) {
    #mainContent.jsy-trade #partnership .contentWrap.flex {
        width: 90%;
    }
}

@media only screen and (max-width: 600px) {
    #mainContent.jsy-trade #partnership {
        padding: 40px 0;
    }

    #mainContent.jsy-trade #partnership .partnership-heading {
        margin-bottom: 30px;
        font-size: 24px;
    }

    #mainContent.jsy-trade #partnership .contentWrap.flex {
        width: 100%;
    }

    #mainContent.jsy-trade #partnership .logoWrap {
        margin: 0 auto 20px;
    }
}
