body {
  height: 100vh;
  box-sizing: border-box;
}

/* ダウンロードページ専用スタイル */
.download-page-container {
  display: flex;
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 108px;
  gap: 60px;
  align-items: flex-start;
  height: 100%;
  max-height: calc(100vh - 120px);
  background-color: #fef8f6;
}

.download-content {
  flex: 1;
  max-width: 600px;
}

.download-content-inner {
  padding-right: 40px;
}

.download-cover {
  text-align: center;
  margin-bottom: 24px;
}

.download-cover img {
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.download-title {
  font-size: 40px;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 16px;
  color: #ff5500;
  text-align: center;
}

.download-title span {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 16px;
  color: #323232;
  text-align: center;
}

.download-subtitle {
  font-size: 23px;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #333333;
  text-align: center;
}

.download-benefits {
  background: #ffff;
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.download-benefits h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #323232;
  text-align: center;
  margin-top: 8px;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.4;
  color: #222;
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 0;
  color: #ff6600;
  font-weight: bold;
  font-size: 16px;
}

.download-form {
  flex: 0 0 380px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  padding: 25px;
  position: sticky;
  top: 20px;
  box-sizing: border-box;
}

.form-container {
  width: 100%;
}

.form-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #323232;
  text-align: center;
}

.form-subtitle {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #333333;
  text-align: center;
}

.hs-form-container {
  width: 100%;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .download-page-container {
    padding: 30px 40px;
    gap: 50px;
    max-height: inherit;
    box-sizing: border-box;
  }

  .download-content-inner {
    padding-right: 20px;
  }

  .download-form {
    flex: 0 0 330px;
    padding: 20px;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  .download-page-container {
    flex-direction: column;
    padding: 25px 20px;
    gap: 30px;
    min-height: auto;
    box-sizing: border-box;
  }

  .download-content {
    max-width: 100%;
    width: 100%;
  }

  .download-content-inner {
    padding-right: 0;
    width: 100%;
  }

  .download-title {
    font-size: 28px;
  }

  .download-subtitle {
    font-size: 16px;
  }

  .download-form {
    flex: none;
    width: 100%;
    position: static;
    padding: 20px 15px;
    box-sizing: border-box;
    max-width: 100%;
    padding-top: 40px;
  }

  .form-title {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  body {
    height: auto;
  }

  .download-page-container {
    padding: 20px 15px;
    gap: 25px;
    max-height: inherit;
    box-sizing: border-box;
  }

  .download-cover img {
    max-width: 100%;
  }

  .download-title {
    font-size: 24px;
  }

  .download-subtitle {
    font-size: 15px;
  }

  .download-benefits {
    padding: 20px;
  }

  .download-benefits h2 {
    font-size: 20px;
  }

  .benefits-list li {
    font-size: 14px;
  }

  .download-form {
    padding: 15px 10px;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
  }

  .form-title {
    font-size: 20px;
  }

  .form-subtitle {
    font-size: 14px;
  }
}
