.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

header img {
  width: 100%;
}

/* 中央寄せスタイル */
.worries-section {
  text-align: center;
  margin: 50px;
  border: 2px solid #ff5733;
  border-radius: 8px;
}

.worries-title {
  color: #ff5733;
  margin-bottom: 0px;
}

.worries-list {
  display: inline-block;
  list-style-type: none;
  padding: 0;
}

.worries-list li {
  font-weight: bold;
  margin-bottom: 10px;
  color: black;
}

/* 画像とテキストを横に配置 */
.description {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.left-image {
  width: 20%;
  height: auto;
}

.right-text {
  margin-left: 20px;
  background-color: #f0f0f0; /* 薄いグレー */
  padding: 10px; /* 余白を追加 */
  border-radius: 10px; /* 角を丸くする */
}

.problemsolving{
  margin: 30px 0;
  padding: 10px 5px;
  background-color: #fffabb; /* 例: 明るい水色 */
}

.problemsolving ul{
  padding-left: 20px;
}

.problemsolving li{
  list-style: none;
}



/* ステップセクション */
.steps {
  margin: 40px 0;
  padding: 0 15px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.step {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  box-sizing: border-box;
}

.step img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  margin-right: 20px;
}

.step-content {
  flex: 1;
}

/* サーベイセクション */
.survey {
  padding: 40px 20px;
  background-color: #f9e3cb;
}

.survey h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 24px;
}

.question {
  margin-bottom: 30px;
}

.question p {
  margin-bottom: 15px;
  font-weight: bold;
}

.options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.option-btn {
  flex: 1;
  min-width: 120px;
  padding: 15px;
  border: none;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
}

.option-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.option-btn.selected {
  background-color: #e6f4ff;
  border: 2px solid #1a73e8;
  color: #1a73e8;
  font-weight: bold;
  transform: scale(1.02);
}

/* CTAボタン */
.result-button-container {
  text-align: center;
  margin-top: 60px;
}

.cta-button {
  text-align: center;
  padding: 40px 0;
  margin: 10px 0 20px;
}

.cta-button.result-button {
  display: inline-block;
  padding: 20px 40px;
  background-color: #ff6371;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.5em;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
  width: 300px;
  max-width: 90%;
}

.cta-button.result-button:hover {
  background-color: #ff6371;
}

.friend-add-text {
  font-size: 1.5em;
  font-weight: bold;
  padding: 20px 40px;
  display: inline-block;
  color: white;
  background-color: #4CAF50;
  border-radius: 5px;
  text-align: center;
  width: 300px;
  max-width: 90%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.friend-add-text:hover {
  background-color: #45a049;
}

.friend-add-button {
  display: block;
  margin: 20px auto;
  width: auto;
  height: auto;
  max-width: 100%;
  transition: transform 0.3s ease;
  font-size: 1.5em;
  font-weight: bold;
}

.friend-add-button:hover {
  transform: scale(1.05);
}

/* フッター */
footer {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
  background-color: #f5f5f5;
}

.footer-links {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #1a73e8;
}

.copyright {
  text-align: center;
  font-size: 12px;
  color: #666;
  margin-top: 20px;
}

/* LINE CTA Animation */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

#line-cta {
  transition: all 0.5s ease;
  animation: float 1s ease-in-out infinite;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0;
    font-family: "游ゴシック体", "Yu Gothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "Arial", "Helvetica", sans-serif;
  }

  header img.main-visual {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: cover;
  }

  .steps {
    padding: 0 15px;
  }

  .step {
    padding: 15px;
    width: 100%;
  }
  
  .step img {
    width: 120px;
    height: 120px;
    margin-right: 25px;
    max-width: 80%;
    margin: 0 auto;
  }

  .survey {
    padding: 30px 15px;
  }
  
  .survey h2 {
    font-size: 20px;
  }
  
  .options {
    gap: 8px;
  }
  
  .option-btn {
    min-width: 100px;
    padding: 12px;
    font-size: 14px;
  }

  .cta-button {
    padding: 10px 0 !important;
  }

  .cta-button img {
    width: 90%;
    margin: 0 auto;
    display: block;
  }

  footer {
    padding: 30px 15px;
    margin-top: 20px;
  }
  
  .footer-links {
    gap: 15px;
  }
  
  .footer-links a {
    font-size: 13px;
  }
  
  .copyright {
    font-size: 11px;
  }
}
