/* Main Content */

.contact-body {
  color: #333;
  line-height: 1.6;
  background: #F4F9FF;
}

.contact-main-content {
  max-width: 1200px;
  margin: 100px auto 180px;
  padding: 0 40px;
}

.contact-page-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: bold;
  color: #537929;
  margin-bottom: 30px;
}

.contact-page-title-l {
  text-align: left;
  font-size: 2.8rem;
  font-weight: bold;
  color: #537929;
  margin-bottom: 30px;
}

.contact-page-description {
  text-align: center;
  font-size: 20px;
  color: #666;
  margin-bottom: 60px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  background: #fff;
  border-radius: 15px;
  padding: 50px 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.contact-card-logo {
  margin-bottom: 20px;
}

.contact-card-logo img {
  height: 60px;
}

.contact-card-title {
  font-size: 24px;
  color: #537929;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.8em;
}

.contact-card-title span {
  font-size: 15px;
  font-weight: normal;
  display: block;
}

.contact-card-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: #74A93A;
  color: #fff;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact-card-button:hover {
  color: #537929;
}

.contact-card-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #dfecde;
  transition: left 0.4s ease;
  z-index: -1;
}

.contact-card-button:hover::before {
  left: 0;
}

.contact-card-button:hover .contact-arrow-circle {
  transform: translateX(5px);
  border: none;
  background-color: #74A93A;
  color: #dfecde;
}

.contact-arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: #fff;
  color: #74A93A;
  border-radius: 50%;
  font-weight: bold;
  font-size: 16px;
  transition: transform 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-main-content {
    margin: 100px auto;
    padding: 0 20px;
  }

  .contact-page-title {
    font-size: 28px;
  }

  .contact-cards {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-card {
    padding: 40px 30px;
  }
}

/* 総合フォーム */
.contact-content-wrapper {
  display: flex;
  justify-content: space-between;
  padding: 10px;
}

/* Left Side */
.contact-content-left-side {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin-right: 40px;
}

.contact-page-text {
  font-size: 20px;
  color: #333;
  line-height: 2.1em;
  margin-bottom: 40px;
}

.contact-page-note {
  font-size: 16px;
  color: #333;
  margin-bottom: 30px;
}

/* Consultation Box */
.contact-consultation-box {
  background: #fff;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: relative;
}

.contact-consultation-box img {
  position: absolute;
  height: auto;
  display: block;
  bottom: -40px;
  right: -50px;
}

.contact-consultation-list {
  list-style: none;
}

.contact-consultation-list li {
  font-size: 20px;
  color: #333;
  padding: 10px 25px;
  position: relative;
  font-weight: bold;
}

.contact-consultation-list li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: #537929;
  font-size: 20px;
}

/* Trial Section */
.contact-trial-section {
  text-align: left;
  margin-top: 60px;
}

.contact-trial-text-a {
  font-size: 15px;
  color: #666;
  margin-bottom: 20px;
}

.contact-trial-text-a a {
  color: #74A93A;
}

.contact-trial-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #74A93A;
  padding: 15px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border: 2px solid #74A93A;
  transition: all 0.3s;
}

.contact-trial-button::after {
  content: '→';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 16px;
  transition: transform 0.3s;
}

.contact-trial-button:hover {
  background: #537929;
  color: #fff;
}

.contact-trial-button:hover::after {
  transform: translateX(5px);
}

/* formrun */
.contact-formrun-wrapper {
  background: #fff;
  padding: 10px;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  width: 500px;
}

@media (max-width: 968px) {
  .contact-formrun-wrapper {
    position: static;
    text-align: center;
    margin-top: 40px;
  }

  .contact-consultation-box img {
    width: 150px;
  }

  .contact-formrun-label {
    position: static;
    display: inline-block;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .contact-formrun-wrapper {
    width: 100%;
  }

  .contact-page-text {
    font-size: 15px;
  }

  .contact-content-left-side {
    max-width: 800px;
    margin-right: 0;
  }

  .contact-content-wrapper {
    display: inline;
    justify-content: center;
  }

  .contact-consultation-box {
    padding: 30px 25px;
  }

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

/* トライアルフォーム */
.contact-trial-box {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  margin: 20px 0;
}
.contact-trial-text{
  padding: 30px;
  font-size: 16px;
  line-height: 2.0em;
}
.contact-trial-box h4 {
  background-color: #74A93A;
  padding: 20px 10px;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
}

.contact-trial-box h4 span {
  font-size: 11px;
}
.contact-trial-box-s{
  border: 1px #ccc solid;
  border-radius: 10px;
  margin: 20px 0;
  padding: 20px;
}
.contact-trial-box-s span{
  font-size: 20px;
  padding-left: 20px;
  font-weight: bold;
}
.contact-trial-box-s h5{
  font-size: 20px;
  font-weight: bold;
  color:#537929;
  padding: 0 10px;
  border-left: 10px solid #537929;
}
.contact-trial-list {
  list-style: none;
}

.contact-trial-list li {
  font-size: 12px;
  color: #333;
  padding: 5px 10px 5px 15px;
  position: relative;
}

.contact-trial-list li::before {
  content: '※';
  position: absolute;
  left: 0;
  font-size: 12px;
}