/* ────────────── */
/* トップページ専用スタイル */
.wrap {
  padding-top: 20px;
  text-align: center;
  box-sizing: border-box;
}

/* メインビジュアル */
.hero {
  background-color: #e0f5ff; /* 水色 */
  color: #000;
  padding: 50px 20px 50px 20px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.2;
  /*font-size: 3.0rem;     /* 文字サイズ */
  font-size: clamp(20px, 5vw, 48px); /* ← これがポイント */

  /*word-break: keep-all;     /* 日本語の単語分割を防ぐ */
  word-break: break-word;     /* 標準的な改行指定 */
  overflow-wrap: break-word;
  white-space: normal;      /* 自然に改行 */
  overflow: visible;
  text-overflow: unset;
}


/* モータ図 */
.motor-image {
  display: block;
  /*margin: 0 auto 50px auto;*/
 /* width: clamp(70%, calc(70% + 30% * ((100vw - 800px) / 800)), 100%);
 */ 
 width: clamp(60%, 100vw, 100%);
  max-width: 100%;
  height: auto;
  /*transition: width 0.5s ease; /* 滑らかに幅が変わる */
}

/* ────────────── */
.motor-wrapper {
  display: inline-block;
  width: 70%;
  max-width: 1633px;
  margin: 0 auto 50px auto;
  text-align: center; /* ラベルを中央に寄せる場合 */
}

/* ラベルを画像下に表示 */
.partner-label {
  display: block;
  margin-top: 10px;  /* 画像との間隔 */
  text-align: right;      /* 右寄せ */
  font-size: 1.0em;
  color: #0077cc;
  font-weight: bold;
}



/* 説明文 */
.description {
  width: 100%;
  max-width: 1366px;
  margin: 20px auto 80px auto;
  padding: 0 20px;
  font-size: 1.5rem;
  text-align: left;
  letter-spacing: 0.5px;
  word-break: break-word;     /* 標準的な改行指定 */
  overflow-wrap: break-word;

  /* 自動改行時の行間 */
  line-height: 1.4;
}

/* 段落間の余白を広く */
.description p {
  margin: 0 0 0.5em 0;
}

.features {
  padding: 60px 20px;
}

.feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.features-title {
    margin-bottom: 60px; /* 下に20pxの余白を追加 */
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-right: 20px;
}

.feature-text h3 {
  margin: 0 0 10px 0;
  font-size: 1.3em;
}

.feature-text p {
  margin: 0;
  line-height: 1.5;
}

/* IntersectionObserverで表示されたら */
.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

