@charset "UTF-8";


.nav-list li:nth-child(3)::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background-color: #ea5514;
  position: absolute;
  bottom: -31px;
  transform: scaleX(1);
}

@media screen and (max-width: 768px) {

  .nav-list li:nth-child(3)::after {
    content: "";
    display: none;
    
  }
}


/* -----------------form------------------- */

.form{
  position: relative;
  padding: 200px 13.8%;
}

/* 問い合わせフォームのスタイル */
.contact-form {
  max-width: 700px;
  margin: 50px auto;
  padding: 40px 50px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.section-title {
  text-align: center;
  font-size: 3.2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.sub-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.stick {
  width: 36px;
  height: 2px;
  background: #EA5514;
}

.sub-title-txt {
  color: #EA5514;
  font-size: 2rem;
  font-weight: 600;
}

.form-container {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: bold;
  font-size: 1.6rem;
  margin-bottom: 8px;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 32px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1.6rem;
}

.submit-btn {
  text-align: center;
  background: #EA5514;
  color: white;
  padding: 12px;
  font-size: 2rem;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
  justify-content: center;
 margin: 0 30%;
}

.submit-btn:hover {
  background: #c94310;
}




@media screen and (max-width: 768px) {
.form{
  position: relative;
  padding: 200px 13.8%;
}

/* 問い合わせフォームのスタイル */
.contact-form {
  max-width: 600px;
  margin: 50px auto;
  padding: 40px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.sub-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.stick {
  width: 36px;
  height: 2px;
  background: #EA5514;
}

.sub-title-txt {
  color: #EA5514;
  font-size: 1.5rem;
  font-weight: 600;
}

.form-container {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.submit-btn {
  text-align: center;
  background: #EA5514;
  color: white;
  padding: 12px;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
  justify-content: center;
 margin: 0 30%;
}

.submit-btn:hover {
  background: #c94310;
}
}

