body .estsys-container {
  background-color: #E3F3F9;
  /* 全体の背景色を変更 */
}
.estsys-header {
  background: #f1fbff;
  border: 2px solid #3BAEDA;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 160, 233, 0.1);
}

.estsys-header h2 {
  font-size: clamp(1.2rem, 4vw, 3.5rem);
  font-weight: 900;
  background: linear-gradient(to right, #00a0e9, #007bbf);
  color: #fff;
  padding: 14px 24px;
  border-radius: 12px;
  text-align: center;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0, 160, 233, 0.3);
  animation: popTitle 1s ease forwards;
  margin-bottom: 16px;
}

@keyframes popTitle {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


.estsys-header p {
  font-size: 1em;
  color: #333;
  line-height: 1.6;
}
.scroll-down-cue {
  margin-top: 20px;
  text-align: center;
}

.scroll-down-cue a {
  display: inline-block;
  font-size: clamp(1.4rem,2vw,2.2rem);
  color: #fff;
  background: linear-gradient(to right, #ff8a00, #ff2d55);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 160, 233, 0.3);
  animation: floaty 2s ease-in-out infinite;
  transition: all 0.3s ease;
}

.scroll-down-cue a:hover {
  background-color: #0087c2;
  transform: translateY(3px) scale(1.05);
}

@keyframes floaty {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}
.estsys-column {
  display: flex;
  flex-direction: column;
}

.estsys-question-wrapper {
  margin-bottom: 40px;
}

.estsys-question-header {
  display: inline-block;
  /* テキストに合わせて幅を調整 */
  background-color: #3BAEDA;
  /* 見出しの背景色を変更 */
  color: white;
  padding: 10px 20px;
  border-radius: 5px 5px 0 0;
  /* 角丸、上部のみ */
  font-size: clamp(18px,2vw,24px);
  /* 見出しのテキストサイズを変更 */
}

.estsys-question {
  padding: 20px;
  background-color: #ffffff;
  /* ボタン群の背景色を変更 */
  border: none;
  /* ボーダーをなしに変更 */
  border-radius: 0 0 10px 10px;
  /* 下部のみ角丸 */
}

.estsys-choices {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.estsys-choice {
  display: flex;
  align-items: center;
  padding: 10px;
  border: 2px solid #3BAEDA;
  /* パネルの枠色を変更 */
  margin: 5px;
  cursor: pointer;
  width: calc(33.33% - 10px);
  /* デスクトップ表示時 */
  box-sizing: border-box;
  text-align: center;
  background-color: #DEEDF4;
  /* パネルの中の背景色を変更 */
  border-radius: 8px;
  transition: background-color 0.3s, border-color 0.3s;
}

.estsys-choice img {
  width: 100px;
  /* アイコン画像サイズを変更 */
  height: 100px;
  /* アイコン画像サイズを変更 */
  padding: 5px;
  margin-right: 10px;
  align-self: flex-start;
}

.estsys-choice span {
  display: block;
  margin-left: auto;
  margin-right: auto;
  color: #3BAEDA;
  /* パネル内テキストの色を変更 */
  transition: color 0.3s;
  font-size:clamp(1.0rem, 3vw, 20px);
}

.estsys-choice.selected {
  background-color: #1976d2;  /* 明るめの青 */
  border-color: #0056b3;      /* 濃いめで締める */
  color: #fff;                /* テキスト白で見やすく */
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.4); /* ふんわり光らせる */
  transition: all 0.3s ease;
}

.estsys-choice.selected span {
  color: #ffffff;
}

.xestsys-estimate-btn {
  padding: 10px 20px;
  margin-top: 20px;
  cursor: pointer;
  background-color: #F2A405;
  /* 見積画面への遷移ボタンの背景色を変更 */
  color: white;
  border: 2px solid #FFFFFF;
  /* 見積画面への遷移ボタンのフチ色と太さを変更 */
  border-radius: 50px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 300px;
  margin: 20px auto;
  transition: background-color 0.3s;
}
.estsys-estimate-btn {
  padding: 18px 24px;
  margin-top: 20px;
  cursor: pointer;
  background: linear-gradient(to right, #ff8a00, #ff2d55);
  /* 見積画面への遷移ボタンの背景色を変更 */
  color: white;
  border: 2px solid #FFFFFF;
  /* 見積画面への遷移ボタンのフチ色と太さを変更 */
  border-radius: 50px;
  font-size: clamp(1.4rem,2vw,2.4rem);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 460px;
  margin: 20px auto;
   cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.estsys-estimate-btn img {
  width: 25px;
  /* 幅を25pxに変更 */
  margin-right: 10px;
  vertical-align: middle;
}

.xestsys-estimate-btn:hover {
  background-color: #e55f00;
}
.estsys-estimate-btn:hover {
transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.NewStyles.estsys-estimate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  font-size: clamp(16px,2vw,2.0rem);
  font-weight: bold;
  color: #fff;
  background: linear-gradient(to right, #ff8a00, #ff2d55);
  border: none;
  border-radius: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.NewStyles.estsys-estimate-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.NewStyles .arrow-animate {
  display: inline-block;
  margin-left: 8px;
  font-size: clamp(16px, 2vw, 2rem);
  animation: arrowMove 1s infinite ease-in-out;
}

@keyframes arrowMove {
  0% { transform: translateX(0); opacity: 1; }
  50% { transform: translateX(5px); opacity: 0.7; }
  100% { transform: translateX(0); opacity: 1; }
}


@media screen and (max-width: 768px) {
  .estsys-choice {
    width: calc(50% - 10px);
    /* タブレット表示時 */
    flex-direction: column;
    align-items: center;
  }

  .estsys-choice img {
    margin-right: 0;
    margin-bottom: 10px;
    align-self: center;
  }
}

@media screen and (max-width: 429px) {

  /* 問１: 2カラムレイアウトに変更 */
  .question-1 .estsys-choice {
    width: calc(50% - 10px);
  }

  /* 問２: 1カラムレイアウトを維持 */
  .question-2 .estsys-choice {
    width: 100%;
  }
}