/* ========================================
   business.css — 事業紹介ページ専用
   ======================================== */

/* Intro */
.intro {
  padding: 80px 4vw 60px;
  text-align: center;
}
.intro__inner { max-width: 800px; margin: 0 auto; }
.intro__text {
  font-size: 20px;
  line-height: 2;
  color: var(--color-text);
  letter-spacing: 0.05em;
}

/* さくらシナジーマップ */
.groupsynergy {
  padding: 80px 4vw 100px;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.groupsynergy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 100%;
  background: radial-gradient(ellipse 60% 80% at 30% 30%, rgba(224, 242, 255, 0.4) 0%, transparent 60%);
  pointer-events: none;
}
.groupsynergy__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}
.groupsynergy__header {
  width: 100%;
  text-align: center;
  margin-bottom: 40px;
}
.groupsynergy__title {
  font-size: 30px;
  font-weight: 700;
  color: #005eb6;
  margin: 0 0 10px;
  letter-spacing: 0.03em;
  text-align: center;
}
.groupsynergy__subtitle {
  font-size: 30px;
  font-weight: 600;
  font-family: var(--font-en);
  color: #005eb6;
  letter-spacing: 0.12em;
  margin: 0;
  text-align: center;
}
.groupsynergy__map {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}
.groupsynergy__diagram { width: 100%; position: relative; }
.groupsynergy__img { width: 100%; height: auto; display: block; border-radius: 4px; }
.groupsynergy__fallback { width: 100%; aspect-ratio: 1; }
.groupsynergy__fallback svg { width: 100%; height: 100%; display: block; }

/* Synergy Map 説明 */
.synergy-map-desc { padding: 80px 8vw 100px; background: #fff; }
.synergy-map-desc__inner { max-width: 960px; margin: 0 auto; }
.synergy-map-desc__block {
  display: grid;
  grid-template-columns: 384px minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
}
.synergy-map-desc__block:last-child { margin-bottom: 0; }
.synergy-map-desc__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
/* シナジー創出ブロック：正方形枠でマップを表示 */
.synergy-map-desc__img--square {
  aspect-ratio: 1 / 1;
}
.synergy-map-desc__img img { width: 100%; height: 100%; object-fit: cover; }
.synergy-map-desc__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.synergy-map-desc__content h3 {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 700;
  color: #005eb6;
  line-height: 1.55;
}
.synergy-map-desc__lead {
  font-size: 28px;
  font-weight: 700;
  color: #005eb6;
  letter-spacing: 0.03em;
}
.synergy-map-desc__content p { margin: 0; font-size: var(--font-size-base, 16px); line-height: 1.85; color: #333; font-weight: 400; }
.synergy-map-desc__content p + p { margin-top: 8px; }
.synergy-map-desc__kw {
  color: #005eb6;
  font-size: 1.1em;
  font-weight: 600;
}

/* Synergy */
.synergy { padding: 100px 8vw 120px; background: #fff; }
.synergy__inner { max-width: 1100px; margin: 0 auto; }
.synergy__header {
  text-align: center;
  margin-bottom: 64px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
.synergy__title { margin: 0 0 24px; font-size: 44px; font-weight: 700; color: #1a2336; letter-spacing: 0.02em; line-height: 1.4; }
.synergy__desc {
  margin: 0;
  display: inline-block;
  font-size: 20px;
  line-height: 1.9;
  color: #555;
  white-space: nowrap;
  text-align: center;
}
.synergy__desc + .synergy__desc { margin-top: 0.35em; }
.synergy__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 64px;
}
.synergy__card {
  position: relative;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}
.synergy__card-body {
  position: relative;
  overflow: visible;
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}
.synergy__card-top {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
  min-height: 1em;
}
.synergy__label {
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 700;
  color: #1976d2;
  font-family: var(--font-family-base, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif);
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-top: -4px;
}
.synergy__number {
  position: absolute;
  right: 28px;
  top: 0;
  z-index: 2;
  font-size: 160px;
  /* 300 の約1.25倍相当のウェイト（500） */
  font-weight: 500;
  font-family: 'Barlow Semi Condensed', var(--font-en);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #1976d2;
  padding-bottom: 0.08em;
  box-sizing: content-box;
  /* 数字の上端から 3/4 の高さにカード上端が来るよう上へ（= 上 3/4 がカード外） */
  transform: translateY(-75%);
  pointer-events: none;
}
.synergy__card h4 {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 700;
  color: #1976d2;
  text-align: center;
  line-height: 1.5;
  /* 2行見出しに合わせ、本文の開始位置をカード間で揃える */
  min-height: calc(1.5em * 2);
}
.synergy__card p { margin: 0; font-size: var(--font-size-base, 16px); line-height: 1.85; color: #333; flex: 1; }
.synergy__card p + p { margin-top: 0.65em; }
.synergy__card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}
.synergy__card-img img { width: 100%; height: 100%; object-fit: cover; }
.synergy__card-img-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.8);
  pointer-events: none;
}

/* グループの価値最大化を実現する役割（ページ背景・余白は synergy-map-desc / synergy に合わせる） */
.value-maximization-section {
  background-color: #fff;
  color: #333;
  padding: 80px 8vw 100px;
}
.value-maximization-section .container {
  max-width: 960px;
  margin: 0 auto;
}
.value-maximization-section .section-title {
  text-align: center;
  font-size: 44px;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
  color: #1a2336;
  line-height: 1.4;
}
.value-maximization-section .section-lead {
  text-align: center;
  font-size: var(--font-size-base, 16px);
  line-height: 1.85;
  margin: 0 auto 40px;
  max-width: 720px;
  color: #333;
}
.value-maximization-section .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}
.value-maximization-section .content-block {
  flex: 1 1 100%;
  background-color: #fff;
  padding: 28px 30px 30px;
  border-radius: 8px;
  border: 1px solid #e8eaed;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}
.value-maximization-section .block-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  margin: 0;
  padding: 0 0 16px;
  border-bottom: 1px solid #e8e8e8;
  color: #1976d2;
}
.value-maximization-section .block-title__em {
  font-size: 1.42em;
  font-weight: 700;
}
.value-maximization-section .block-text {
  font-size: var(--font-size-base, 16px);
  line-height: 1.85;
  margin: 18px 0 0;
  color: #333;
}

/* NEWS（事業ページ：これからのさくらグループとENTRYの間） */
.business-news {
  padding: 56px 0 64px;
  background: #fff;
}
.business-news__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 4vw;
}
.business-news__title {
  margin: 0 0 28px;
  text-align: center;
  font-family: 'Barlow Semi Condensed', var(--font-en);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #1a2336;
}
.business-news__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 16px;
  margin: 0 -4vw;
  padding-left: 4vw;
  padding-right: 4vw;
  scrollbar-width: thin;
}
.business-news__card {
  flex: 0 0 clamp(260px, 72vw, 320px);
  scroll-snap-align: start;
  display: block;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.business-news__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}
.business-news__thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e0e4ea;
}
.business-news__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.business-news__body {
  padding: 0 16px 18px;
}
.business-news__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
}
.business-news__tag {
  flex-shrink: 0;
  font-family: 'Barlow Semi Condensed', var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #1967d2;
  color: #fff;
  padding: 5px 12px;
  line-height: 1.2;
}
.business-news__date {
  font-family: 'Barlow Semi Condensed', var(--font-en);
  font-size: 14px;
  font-weight: 500;
  color: #1967d2;
  letter-spacing: 0.04em;
}
.business-news__card-title {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  color: #222;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 900px) {
  .groupsynergy__header { margin-bottom: 32px; }
  .groupsynergy__title,
  .groupsynergy__subtitle { font-size: clamp(22px, 5vw, 30px); }
}
/* SP専用改行（768px以下で表示） */
.intro .sp-br,
.synergy-map-desc .sp-br,
.synergy .sp-br,
.value-maximization-section .sp-br {
  display: none;
}

@media (max-width: 768px) {
  .intro .sp-br,
  .synergy-map-desc .sp-br,
  .synergy .sp-br,
  .value-maximization-section .sp-br {
    display: block;
  }

  .intro .pc-br,
  .synergy-map-desc .pc-br,
  .synergy .pc-br,
  .value-maximization-section .pc-br {
    display: none;
  }

  /* 見出し下の説明文：横スクロールせず折り返し全文表示 */
  .synergy__header {
    overflow-x: visible;
    overflow-y: visible;
  }
  .synergy__desc {
    white-space: normal;
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .groupsynergy__diagram { max-width: 360px; margin: 0 auto; }
  .synergy-map-desc__block {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 64px;
    align-items: start;
  }
  .synergy-map-desc__img {
    width: 100%;
    max-width: 384px;
    justify-self: center;
  }
  .synergy-map-desc__content { text-align: center; }
  .synergy__card-body { text-align: center; }
  .value-maximization-section .block-title,
  .value-maximization-section .block-text { text-align: center; }
  .synergy-map-desc__content h3 { font-size: 16px; }
  .synergy-map-desc__lead { font-size: 24px; }
  .synergy-map-desc__content p { font-size: var(--font-size-base, 16px); line-height: 1.85; }
  .intro__text { font-size: 17px; line-height: 1.85; }
  .synergy__title { font-size: 24px; margin-bottom: 18px; line-height: 1.45; }
  .synergy__desc { font-size: 17px; line-height: 1.75; }
  .value-maximization-section { padding: 56px 5vw 72px; }
  .value-maximization-section .section-title { font-size: 24px; margin-bottom: 12px; line-height: 1.45; }
  .value-maximization-section .section-lead { margin-bottom: 28px; font-size: 15px; }
  .value-maximization-section .content-block { padding: 22px 20px 24px; }
  .value-maximization-section .block-title { font-size: 17px; padding-bottom: 14px; }
  .value-maximization-section .block-text { font-size: var(--font-size-base, 16px); }
  .synergy__card h4 { font-size: 17px; min-height: calc(1.5em * 2); }
  .synergy__card p { font-size: var(--font-size-base, 16px); line-height: 1.8; }
  .business-news__tag { font-size: 13px; }
  .business-news__date { font-size: 15px; }
  .business-news__card-title { font-size: 16px; }
  /* 縦積み時、数字の上方向はみ出し分をカード間ギャップで確保（サイズ・配置はPCと同じ） */
  .synergy__cards {
    grid-template-columns: 1fr;
    gap: clamp(104px, 30vw, 168px);
    padding-top: clamp(80px, 22vw, 120px);
  }
  .synergy__number {
    font-size: clamp(72px, 28vw, 160px);
    right: max(28px, 4vw);
  }
  .synergy__label { font-size: clamp(22px, 8vw, 36px); }
}
@media (max-width: 480px) { /* 必要に応じて追加 */ }
