main {
  margin: 20px;
}

/* ヒーローセクション */
.hero-section {
  position: relative;
  text-align: center;
  margin-bottom: 30px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.hero-text {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text h1 {
  font-size: 40px;
  margin: 0;
}

.hero-text h5 {
  font-size: 20px;
  margin: 5px 0 0;
}

/* 提供するサービス一覧セクション */
.service-list-section {
  background-color: #f9f9f9;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-list-section h1 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 20px;
}

.service-list-section ul {
  font-size: 20px;
  text-align: center;
  line-height: 1.8;
  list-style: none;
  padding: 0;
}

.service-list-section ul li {
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
  display: inline-block;
  width: 80%;
  text-align: center;
}

/* キャンペーンセクション */
.campaign-section {
  background-color: #f39c12;
  color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.campaign-section h1 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
}

.campaign-section div {
  background-color: #e67e22;
  text-align: center;
  padding: 20px;
  border-radius: 8px;
}

.campaign-section div h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #fff;
}

.campaign-section div p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* サービスセクション */
.service-section {
  max-width: 80%;
  text-align: center;
  padding: 20px;
  margin: auto;
}

.service-section h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

.service-section .service-item {
  margin-bottom: 30px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.2s ease;
}

.service-section .service-item img {
  width: 80%;
  height: 300px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.service-section .service-item p {
  font-size: 18px;
  margin-bottom: 10px;
}

.service-section .service-item a {
  display: inline-block;
  padding: 10px 20px;
  color: #fff;
  background-color: #3498db;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 10px;
  transition: background-color 0.3s;
}

.service-section .service-item:hover {
  transform: translateY(-5px);
}

/* 強みやこだわりセクション */
.strengths-section {
  background-color: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.strengths-section h1 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 20px;
}

.strengths-section img {
  max-width: 90%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.strengths-section ul {
  list-style: none;
  padding: 0;
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
}

.strengths-section ul li {
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
  display: inline-block;
  width: 80%;
  text-align: center;
}

@media screen and (max-width: 1024px) and (max-height: 1366px) {}

@media screen and (min-width: 431px) and (max-width: 960px) {}

@media screen and (max-width: 430px) {
  .hero-text {
    top: 30%;
  }

  .hero-text h1 {
    font-size: 20px;
  }

  .hero-text h5 {
    font-size: 10px;
  }

  .campaign-section div p {
    font-size: 13px;
  }

  .service-section {
    max-width: 90%;
  }

  .service-section .service-item img {
    width: 100%;
    height: auto;
  }
}