@charset "utf-8";

/* 基本スタイル */
body {
  font-family: 'Helvetica Neue', 'Arial', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f9f9f9;
  line-height: 1.8;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* ヘッダー・ファーストビュー */
header {
  background: url(../images/bg.png) 50%/50px #4caf50;
  color: white;
  padding: 40px 0;
  padding-top: clamp(1.25rem, 0.693rem + 2.41vw, 2.5rem);
  text-align: center;
}

header h1 {
  font-size: 2.5rem;
  margin: 0;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

header .sub-headline {
  font-size: 1.2rem;
  margin: 10px 0 30px 0;
  margin-bottom: clamp(0.938rem, 0.503rem + 1.83vw, 1.875rem);
}

/* ================================================= */
/* 【追加・修正箇所】hero-imageのスライドアニメーション */
/* ================================================= */
.hero-image {
  /* 背景画像の設定 */
  background-image: url('../images/item-min.png');
  background-repeat: repeat-x;
  background-size: auto 100%;

  /* 画面幅いっぱいの表示 (width: 100%は親要素headerがフル幅のため適用される) */
  width: 100%;
  height: 250px;
  margin: 0;
  margin-top: clamp(0.625rem, 0.346rem + 1.2vw, 1.25rem);
  margin-bottom: clamp(0.625rem, 0.346rem + 1.2vw, 1.25rem);
  /* 上下の余白のみ適用 */
  overflow: hidden;

  /* 角丸は今回は削除します（フル幅だと端が丸まらないため）*/

  /* アニメーションの適用 */
  animation: slideBackground 50s linear infinite;

  text-indent: -9999px;
  white-space: nowrap;
}

/* スライドアニメーションの定義 (変更なし) */
@keyframes slideBackground {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: -2000px 0;
  }

  100% {
    background-position: 0 0;
  }
}

/* ================================================= */

.features-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 600px;
  text-align: left;
}

.features-list li {
  background: rgba(255, 255, 255, 0.5);
  padding: 10px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: clamp(0.875rem, 0.764rem + 0.48vw, 1.125rem);
  text-shadow: 0 0 5px #565656;
}

.features-list li::before {
  content: '✅';
  margin-right: 10px;
}

/* CTAボタン */
.cta-button {
  display: inline-block;
  background-color: #ff9800;
  color: white;
  padding: 20px 40px;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
  background-color: #f57c00;
  transform: translateY(-2px);
}

.cta-section {
  padding: 40px 20px;
  text-align: center;
}

/* 各セクション */
section {
  padding: 40px 0;
  border-bottom: 1px solid #eee;
}

h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #4caf50;
}

h3 {
  font-size: 1.5rem;
  border-left: 5px solid #4caf50;
  padding-left: 15px;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* 問題提起セクション */
.problem-list {
  list-style: none;
  padding: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
}

.problem-list li {
  padding: 10px 0 10px 30px;
  position: relative;
}

.problem-list li::before {
  content: '❓';
  position: absolute;
  left: 0;
}

.solution {
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
  margin-top: 30px;
  padding: 15px;
  background: linear-gradient(to right, #e8f5e9, #c8e6c9);
  border-radius: 8px;
}

/* 比較表 */
.table-container {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  min-width: 800px;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid #ddd;
  padding: 15px;
  text-align: left;
}

.comparison-table th {
  background-color: #f2f2f2;
  font-weight: bold;
}

.comparison-table thead th {
  background-color: #4caf50;
  color: white;
  text-align: center;
}

.comparison-table tbody th {
  width: 20%;
}

.comparison-table td {
  background-color: #fff;
}

.comparison-table strong {
  color: #d32f2f;
}

/* 商品詳細 */
.product-detail .point {
  background-color: #e8f5e9;
  border-left: 5px solid #81c784;
  padding: 15px;
  margin-top: 15px;
  border-radius: 5px;
}

/* welzoBUSINESS紹介 */
.welzo-intro {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
}

.welzo-intro .solution {
  margin-top: clamp(1.875rem, -0.152rem + 8.54vw, 6.25rem);
  margin-bottom: clamp(1.875rem, -0.152rem + 8.54vw, 6.25rem);
}

.welzo-logo {
  background-color: transparent;
  width: clamp(9.375rem, 2.134rem + 30.49vw, 25rem);
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border-radius: 8px;
}

.merit-list {
  list-style: none;
  padding: 0;
}

.merit-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.merit-list .icon {
  min-width: clamp(5rem, 1.524rem + 14.63vw, 12.5rem);
  min-height: clamp(5rem, 1.524rem + 14.63vw, 12.5rem);
  margin-right: 15px;
  color: #4caf50;
}

.merit-list li:first-child .icon {
  background: url(../images/rot.svg) no-repeat 50% / cover;
}

.merit-list li:nth-child(2) .icon {
  background: url(../images/deliver.svg) no-repeat 50% / cover;
}

.merit-list li:last-child .icon {
  background: url(../images/FREEicon.svg) no-repeat 50% / cover;
}

.merit-list h4 {
  margin: 0 0 5px 0;
  font-size: 1.2rem;
}

/* ご利用の流れ */
.flow {
  display: flex;
  justify-content: space-between;
  text-align: center;
  margin: 40px 0;
}

.flow-step {
  width: 30%;
}

.flow-step .step-number {
  background-color: #4caf50;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px auto;
  font-size: 1.5rem;
  font-weight: bold;
}

.arrow {
  width: 5%;
  font-size: 2rem;
  align-self: center;
  color: #ccc;
}

/* 注意書き */
.notes {
  font-size: 0.9rem;
  color: #666;
  margin-top: 20px;
  background-color: #f0f0f0;
  padding: 15px;
  border-radius: 5px;
}

/* フッター */
footer {
  text-align: center;
  padding: 20px;
  background-color: #333;
  color: #fff;
  font-size: 0.9rem;
}

.view_spOnly {
  display: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .view_spOnly {
    display: block;
  }

  header h1 {
    font-size: 1.5rem;
  }

  header .sub-headline {
    font-size: 0.9rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .cta-button {
    font-size: 1.2rem;
    padding: 15px 30px;
  }

  .flow {
    flex-direction: column;
  }

  .flow-step {
    width: 100%;
    margin-bottom: 20px;
  }

  .arrow {
    display: none;
  }
}
