  .service-section {
    background-color: #f5f5f5;
    padding: 120px 20px 80px; /* 上部のパディングを120pxに増やしました */
    overflow: hidden;
  }
  
  .service-title-container {
    max-width: 1200px;
    margin: 80px auto 80px;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
  }
  
  .service-title {
    position: relative;
    font-family: 'Futura Lt BT', sans-serif;
    line-height: 1;
    text-align: center;
  }
  
  .service-title .title-bg {
    font-size: clamp(60px, 10vw, 120px);
    color: #e9ecef;
    display: block;
    position: relative;
    z-index: 1;
  }
  
  .service-title .title-main {
    font-size: clamp(35px, 3vw, 24px);
    color: #034060;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0;
  }
  
  .service-title .title-bg span {
    display: inline-block;
    opacity: 0;
  }
  
  @keyframes fadeInGradient {
    0% {
      opacity: 0;
      color: #ffffff;
    }
    50% {
      opacity: 0.5;
      color: #a8c5d6;
    }
    100% {
      opacity: 1;
      color: #e9ecef;
    }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

/* サービスセクションのスタイル */

body {
  color: #333;
  line-height: 1.6;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
}

#wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #f5f5f5;
}

.fv {
  background-color: #034060;
  padding: 100px 0;
  text-align: center;
}

.fv h1 {
  color: #fff;
  font-size: 36px;
  margin: 0;
}

.contact-form {
  padding: 60px 0;
}

.contact-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.contact-info .tel, .contact-info .email {
  width: 48%;
  text-align: center;
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
}

.contact-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.contact-info p {
  font-size: 24px;
  font-weight: bold;
  color: #034060;
}

.contact-info a {
  color: #034060;
  text-decoration: none;
}

.contact-info small {
  display: block;
  font-size: 12px;
  margin-top: 5px;
}

.mandatory {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}

form table {
  width: 100%;
  border-collapse: collapse;
}

form th, form td {
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
}

form th {
  width: 30%;
  text-align: left;
  font-weight: normal;
}

form th span {
  color: #ff4d4d;
  margin-left: 5px;
}

form input[type="text"],
form input[type="tel"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 16px;
}

.submit-btn {
  text-align: center;
  margin-top: 40px;
}

.submit-btn input[type="submit"] {
  background-color: #034060;
  color: #fff;
  border: none;
  padding: 15px 50px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn input[type="submit"]:hover {
  background-color: #02304a;
}

@media (max-width: 767px) {
  .fv {
      padding: 60px 0;
  }

  .fv h1 {
      font-size: 28px;
  }

  .contact-info {
      flex-direction: column;
  }

  .contact-info .tel, .contact-info .email {
      width: 100%;
      margin-bottom: 20px;
  }

  form th, form td {
      display: block;
      width: 100%;
  }

  form th {
      padding-bottom: 5px;
  }

  form td {
      padding-top: 5px;
  }
}
