body {
  background: #FFFFFF;
}

.main {
  /* 雲 */
  position: absolute;
  width: 900px;
  height: 300px;
  left: 0px;
  top: 182px;
}

/* ロゴ画像共通スタイル */
.logoimg-main {
  position: absolute;
  width: 15%;
  left: 36px;
  top: 28px;
  z-index: 3;
}

/* サービスセクション */
.services-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-item {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.service-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-item h2 {
  background: #f8f9fa;
  color: #333;
  padding: 15px 20px;
  margin: 0;
  font-size: 1.25rem;
  border-bottom: 1px solid #e0e0e0;
}

.service-content {
  padding: 20px;
}

.service-summary {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-list h3 {
  color: #444;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.service-list ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.service-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: #666;
  line-height: 1.4;
}

.service-list li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #0066cc;
  font-size: 0.8em;
}

.tech-info, .format-info {
  background: #f8f9fa;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #666;
  margin-top: 15px;
}

/* コンタクトバナー */
.contact-banner {
  background: linear-gradient(135deg, #0066cc, #0052a3);
  color: white;
  text-align: center;
  padding: 40px 20px;
  margin-top: 40px;
}

.contact-banner h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.contact-banner p {
  margin-bottom: 20px;
  opacity: 0.9;
}

.contact-link {
  display: inline-block;
  background: white;
  color: #0066cc;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.contact-link:hover {
  transform: translateY(-2px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .services-section {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .service-item h2 {
    font-size: 1.2rem;
  }

  .contact-banner {
    padding: 30px 15px;
  }

  .logoimg-main {
    width: 15%;
    left: 36px;
    top: 28px;
  }
}

/* ヒーローセクション */
.hero-section {
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9));
  padding: 80px 20px;
  text-align: center;
  margin-bottom: 60px;
}

.hero-content {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  padding: 0 20px;
  z-index: 2;
}

.main-title {
  font-size: 2rem;
  color: #fff;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.sub-title {
  font-size: 1.2rem;
  color: #fff;
  line-height: 1.6;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* アバウトセクション */
.about-section {
  text-align: center;
  padding: 40px 20px;
  margin-bottom: 60px;
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 30px;
  font-weight: bold;
}

.description {
  font-size: 1.1rem;
  line-height: 2;
  color: #555;
}

/* ビジョンセクション */
.vision-section {
  background: #f8f9fa;
  padding: 80px 20px;
  text-align: center;
}

.vision-content {
  max-width: 800px;
  margin: 0 auto;
}

.vision-content h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 40px;
  font-weight: bold;
}

.vision-messages {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vision-text {
  font-size: 1.4rem;
  color: #444;
  line-height: 1.8;
}

.mainimg {
  position: relative;
  width: 100%;
  height: auto;
}

.mainimg img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .main-title {
    font-size: 2rem;
  }
  
  .sub-title {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 768px) {
  .main-title {
    font-size: 1.0rem;
  }
  .sub-title {
    font-size: 0.8rem;
  }  
}
