@charset "UTF-8";




/* ----------------------contact-page---------------------- */

.contact-page {
  margin: 140px 0 120px;
}
@media (max-width: 768px) {
  .contact-page {
    margin: 100px 0 60px;
  }
}
@media (max-width: 500px) {
  .contact-page {
    margin: 80px 0 40px;
  }
}

.contact__ttl-container {
  max-width: 1920px;
  margin: 0 auto 60px;
  text-align: left;
}
.price-top__ttl-ja {
  color: #373737;
}
.contact-hero__img img {
  max-width: 900px;
  margin: 0 auto 80px;
}
.contact-form__body {
  max-width: 1000px;
  margin: 0 auto;
}
.contact-form__row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.contact-form__row--detail {
  align-items: flex-start;
}
.contact-form__label {
  width: 20%;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-form__field {
  width: 80%;
}
/* placeholder の色変更 */
input::placeholder,
textarea::placeholder {
  color: #a6a6a6 !important;
  opacity: 1; /* Safari 用 */
}
.contact-form__label--top {
  align-items: flex-start;
  padding-top: 8px;
}
.contact-form__required {
  display: inline-block;
  padding: 2px 10px;
  background: #c11920;
  color: #fff;
  border-radius: 4px;
  font-size: 1.2rem;
}
.contact-form__field input,
.contact-form__field textarea,
.contact-form__select-wrap select {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #ccc;
  padding: 20px 12px;
  font-size: 1.6rem;
}
.contact-form__field textarea {
  min-height: 180px;
  resize: vertical;
  font-weight: 100;
}
.contact-form__field textarea {
  min-height: 180px;
  resize: vertical;
  font-weight: 300;
}

.contact-form__field textarea::placeholder {
  font-weight: 300;
}



/* プレースホルダを#373737で */
.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: #373737;
}
/* セレクト */
.contact-form__select-wrap {
  position: relative;
}
.contact-form__select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
}
.contact-form__select-icon {
  position: absolute;
  right: 12px;
  top: 35%;
  width: 12px;
  height: 12px;
  border-right: 2px solid #373737;
  border-bottom: 2px solid #373737;
  transform-origin: center;
  transform: rotate(45deg);
}
/* エラー表示 */
.contact-form__error {
  margin-top: 4px;
  font-size: 1.3rem;
  color: #c11920;
  min-height: 1.3em;
}
/* 同意チェック */
.contact-form__agree {
  margin: 24px 0 20px;
  font-size: 1.4rem;
}
.contact-form__agree a {
  color: #0071ba;
  text-decoration: underline;
}

/* 送信ボタン */
.contact-form__submit {
  text-align: center;
  margin-bottom: 16px;
}

.contact-form__submit button {
  width: 260px;
  padding: 12px 0;
  font-size: 2rem;
  font-weight: 700;
  border-radius: 30px;
  border: none;
  background: #73a082;
  color: #fff;
  cursor: pointer;
  transition: .2s ease;
}

.contact-form__submit button:disabled {
  background: #b9cbbf;
  cursor: not-allowed;
}

.contact-form__note {
  font-size: 1.2rem;
  text-align: center;
  margin-top: 8px;
}

#formWrap {
	width:700px;
	margin:0 auto;
}

#formWrap h3{
	font-size: 2.8rem;
	color: #73a082;
	margin-bottom: 10px;
}

#formWrap h3 + p{
	font-size: 2rem;
	margin-bottom: 15px;
}

#formWrap h4{
	font-size: 2rem;
	margin-bottom: 20px;
}

#formWrap p.error_messe{
	font-size: 1.8rem;
	margin:5px 0;
	color:red;
}

#formWrap table.formTable{
	width:100%;
	margin:0 auto;
	border-collapse:collapse;
}

#formWrap table.formTable td,table.formTable th{
	border:1px solid #ccc;
	padding:10px;
}

#formWrap table.formTable th{
	width:30%;
	font-weight:normal;
	background:#efefef;
	text-align:left;
}

#formWrap table.formTable td {
	text-align: left;
}

#formWrap table.formTable + p {
	margin-top: 50px;
}

#formWrap input[type="submit"],
#formWrap input[type="button"]{
	width: 240px;
	padding: 12px 0;
    font-size: 2rem;
    font-weight: 700;
    border-radius: 30px;
    border: none;
    background: #73a082;
    color: #fff;
    cursor: pointer;
	margin: 0 10px;
}

#formWrap input[type="button"]{
    background: #999;
}

div.completed {
	margin-top: 50px;
}

div.completed h5{
	font-size: 2.8rem;
	color: #73a082;
	margin-bottom: 30px;
}

div.completed h5 + p{
	max-width: 700px;
	font-size: 1.6rem;
	text-align: left;
	margin: 0 auto 50px;
}

div.completed a{
	font-size: 2rem;
}


@media (max-width: 970px) {
  .contact-form__label {
    width: 25%;
  }
  .contact-form__field {
    width: 70%;
  }
}

@media (max-width: 768px) {
  .contact__ttl-container {
    margin: 0 auto 40px;
  }
  .contact-hero__img img {
    margin: 0 auto 60px;
  }


  .contact-form__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .contact-form__label {
    width: auto;
  }
  .contact-form__field {
    width: 100%;
  }
	
  #formWrap {
    width:95%;
    margin:0 auto;
  }
	
  #formWrap h3{
	font-size: 2.0rem;
	color: #73a082;
	margin-bottom: 10px;
  }

  #formWrap h3 + p{
	font-size: 1.6rem;
	margin-bottom: 15px;
  }	
	
  #formWrap h4{
	font-size: 1.7rem;
	margin-bottom: 20px;
  }

  #formWrap p.error_messe{
    font-size: 1.5rem;
	text-align: left;
  }
	
  #formWrap table.formTable th, table.formTable td {
      width:auto;
      display:block;
  }
	
  #formWrap table.formTable th {
    width: 100%;
    margin-top:5px;
    border-bottom:0;
  }
	
  #formWrap input[type="submit"], #formWrap input[type="button"] {
    display:block;
    width:100%;
	margin: 0 auto;
  }
	
  #formWrap input[type="button"] {
	  margin-top: 10px;
  }
	
  div.completed {
	margin-top: 100px;
  }

  div.completed h5{
	font-size: 2.0rem;
	color: #73a082;
	margin-bottom: 20px;
  }

  div.completed h5 + p{
	font-size: 1.4rem;
	margin-bottom: 25px;
  }

  div.completed a{
	font-size: 1.6rem;
  }
}