/* =========================
   基本レイアウト
========================= */
#mainContent {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

sup {
  color: #000;
  font-size: 0.6rem;
}

.alignLeft {
  text-align: left;
}

.desktop-only { display: block; }
.mobile-only { display: none; }

/* =========================
   共通スタイル
========================= */
.section-title {
  font-size: 2.5rem !important;
  font-weight: 600 !important;
  text-align: center;
  margin: 4rem 0;
}

.section-subTitle {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.5em;
  text-align: center;
  line-height: 1.3;
}

.summary-statement {
  font-size: 1.5rem;
  line-height: 1.8;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 75%;
  padding: 20px;
  transform: translate(-50%, -50%);
}

/* =========================
   導入部分（ヒーロー）
========================= */

.hero {
  position: relative;
  width: 100%;
}

.hero .hero-logo {
  position: absolute;
  top: 40%;
  right: -20%;
  transform: translateY(-50%);
  width: 40%;
  opacity: 0.8;
  z-index: -1;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 100%;
  margin: 0 auto;
}

.hero-left {
  flex: 1 1 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  min-width: 300px;
  text-align: center;
}

.hero-left img {
  width: 100%;
  height: auto;
  margin: 1em 0;
}

.hero-subtitle {
  background-color: #004483;
  color: #fff;
  padding: 8px;
  margin: 0 0 1em;
  font-size: 1.5rem !important;
  letter-spacing: 0.1em;
}

.hero-title {
  color: #CC1800;
  font-size: 3.5rem !important;
  font-weight: 900 !important;
  margin: 0;
}

.hero-right {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  min-width: 200px;
}

.hero-right img {
  width: 80%;
  height: auto;
}

.hero-statement {
  font-size: 1.5rem;
  color: #004483;
  font-weight: 600;
  line-height: 1.6;
  margin: 0 auto;
}

/* =========================
   ボディーコピー
========================= */
.bodyCopy {
  position: relative;
  width: 100%;
  min-height: 400px;
  background-color: #FAEAE8;
  overflow: hidden;
}

.bodyCopy-background {
  position: absolute;
  top: 50%;
  left: -20%;
  transform: translateY(-50%);
  width: 50%;
  opacity: 0.8;
}

/* =========================
   主な機能
========================= */
.function {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.box {
  flex: 1 1 200px;
  padding: 16px;
  border-radius: 8px;
  box-sizing: border-box;
  background-color: #FAEAE8;
}

.box-title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  color: #CC1800;
}

.function img {
  width: 100%;
}

/* =========================
   製品画像
========================= */
.product-images {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.product-images img {
  width: 70%;
  height: auto;
}

/* =========================
   システムの活用例
========================= */
.usageExample {
  width: 70%;
  margin: 0 auto;
  padding: 40px 24px;
  border-radius: 8px;
  background-color: #FAEAE8;
}

.usageExample-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.usageExample-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.usageExample-left {
  flex: 0 0 120px;
}

.usageExample-left img {
  width: 100%;
  max-width: 120px; 
  height: auto;
  display: block;
}

.usageExample-right {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.usageExample-right .section-subTitle {
  text-align: left;
}


/* =========================
   システムの特徴
========================= */
.features {
  width: 70%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.features-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =========================
   推奨動作環境
========================= */
.recommendedEnvironment {
  padding: 24px;
  border-radius: 8px;
  background-color: #E1E1E1;
}

/* =========================
   注釈
========================= */
.annotation {
  font-size: 0.8rem;
}

/* =========================
   レスポンシブ対応
========================= */
@media (max-width: 1024px) {
  .hero-right img { 
    width: 90%;
    height: auto;
    object-fit: contain;
   }
  .hero .hero-logo { top: 10%; }
  .summary-statement {
    font-size: 1.2rem;
    line-height: 1.7;
    width: 95%;
  }
  .overlay-text { width: 90%; }
  .usageExample { width: 90%; }
  .product-image-large {
    width: 90%;
    display: block;
    margin: 0 auto;
  }
  .features { width: 90%; }
}

@media (max-width: 768px) {
  .desktop-only { display: none; }
  .mobile-only { display: block; }

  .section-title { font-size: 1.8rem !important; }

  .hero-container { flex-direction: column; }
  .hero-title { font-size: 2.2rem !important; }
  .hero-subtitle { font-size: 1.2rem; }
  .hero-left {
    flex: 1 1 200px;
    min-width: 100%;
  }
  .hero-statement { font-size: 1rem; }

  .bodyCopy {
    min-height: 300px;
  }

  .summary-statement {
    font-size: 1rem;
    line-height: 1.2;
  }

  .product-images img { width: 90%; }

  .usageExample-container { gap: 48px; }
  .usageExample-row { flex-direction: column; align-items: center; gap: 0; }
  .usageExample-right { width: 100%; }
  .usageExample-left img { max-width: 150px; margin-bottom: 8px; }
  .usageExample-right .section-subTitle { text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem !important; }
  .hero-subtitle { font-size: 1rem  !important; }
  .summary-statement { font-size: 0.9rem  !important; }
  .usageExample-left { flex: 0 0 100%; }
}