@charset "utf-8";

.title {
  background-image: url(../images/services/bg-title.jpg);
}

.services-intro {
  width: 930px;
  max-width: 90%;
  margin: 50px auto 0;
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
}

.service-list {
  width: 930px;
  max-width: 90%;
  margin: 50px auto 75px;
}

.service-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f4dd64;
}

.service-title-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.service-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.service-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.service-header h2::after {
  display: none;
}

.service-badge {
  display: inline-block;
  background-color: #34a853;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
}

.service-content {
  display: flex;
  flex-direction: column;
}

.service-description {
  line-height: 1.8;
}

.service-lead {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-description p {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
}

.service-images {
  display: flex;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.service-image {
  flex: 1;
  min-width: 0;
  max-width: calc(50% - 10px);
  height: auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  object-fit: contain;
}

.service-info {
  margin-top: 30px;
  padding: 20px;
  background-color: #f8f8f8;
  border-radius: 4px;
}

.service-info p {
  margin-bottom: 10px;
  font-size: 15px;
}

.service-info p:last-child {
  margin-bottom: 0;
}

.service-link {
  margin-top: 30px;
  text-align: center;
}

.google-play-button {
  display: inline-block;
  transition: opacity 0.3s;
}

.google-play-button:hover {
  opacity: 0.8;
}

.google-play-badge {
  height: 60px;
}

/************************************
 モバイル用CSS
************************************/
@media screen and (max-width: 800px) {
  /************************************
  モバイル表示用CSS
  ************************************/
  .title {
    background-image: url(../images/services/bg-title-S.jpg);
  }

  .services-intro {
    margin-top: 25px;
    font-size: 16px;
    padding: 0 10px;
  }

  .service-list {
    margin-top: 25px;
    margin-bottom: 45px;
  }

  .service-item {
    padding: 20px;
    margin-bottom: 30px;
  }

  .service-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
  }

  .service-title-wrapper {
    width: 100%;
  }

  .service-icon {
    width: 50px;
    height: 50px;
  }

  .service-header h2 {
    font-size: 24px;
  }

  .service-images {
    gap: 15px;
    margin: 20px 0;
  }

  .service-image {
    flex: 1;
    min-width: 0;
    max-width: calc(50% - 7.5px);
  }

  .service-lead {
    font-size: 18px;
  }

  .service-description p {
    font-size: 15px;
  }

  .service-info {
    padding: 15px;
  }

  .service-info p {
    font-size: 14px;
  }

  .service-link {
    margin-top: 20px;
  }

  .service-link .google-play-button img {
    height: 50px;
  }
}

