@charset "utf-8";
/* ============================
   三分割セクション（フル幅）
============================ */
.three-sections {
  display: flex;
  width: 100vw;          /* ビューポート幅で完全フル */
  margin: 0;
  padding: 0;
  overflow-x: hidden;     /* 横スクロール防止 */
  box-sizing: border-box;
  min-height: 70vh;
}

/* 各エリア */
.bg-section {
  flex: 1;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* 背景画像 */
.bg1 {
  background-image: url('../img2/img01.png');
}
.bg2 {
  background-image: url('../img2/img03.png');
}
.bg3 {
  background-image: url('../img2/img04.png');
}

/* オーバーレイ（全面に広げる） */
.overlay2 {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 と同義 */
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  box-sizing: border-box;
}

/* 見出しと本文 */
.bg-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
  letter-spacing: 1px;
  color: #fff;
}

.bg-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #fff;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .three-sections {
    flex-direction: column;
    width: 100%;     /* スマホでは100vwだと余白出ることがあるため修正 */
    height: auto;
  }
  .bg-section {
    height: 300px;
  }
}

/* ============================
   ソリューションビジネスエリア
============================ */
.solution-area {
  width: 100%;
  background: #fff;
  padding: 60px 20px;
  box-sizing: border-box;
}

.solution-container {
  display: grid;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 80px; /* ← 下に余白を追加 */
  grid-template-columns: 1fr;
  text-align: center;
}

/* 最後の要素だけ余白を消す（見栄え調整） */
.solution-container:last-child {
  margin-bottom: 0;
}

/* 丸い写真 */
.solution-photo {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* テキスト */
.solution-content {
  color: #333;
}

.solution-title {
  font-size: 1.8rem;
  color: #004080;
  margin-bottom: 16px;
  font-weight: 600;
}

.solution-text {
  font-size: 1rem;
  line-height: 1.8;
}

/* PC時レイアウト */
@media (min-width: 768px) {
  .solution-container {
    grid-template-columns: 340px 1fr;
    text-align: left;
    gap: 60px;
    padding: 0 40px;
  }

  .solution-photo {
    width: 300px;
    height: 300px;
    margin: 0;
  }
}

/* 小さい画面向け */
@media (max-width: 480px) {
  .solution-photo {
    width: 180px;
    height: 180px;
  }
}

