@charset "utf-8";

.title {
  height: 310px;
  background-image: url(../images/contact/natural-3490603_1920.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #000000;
}

.title h1 {
  font-family: "Playfair Display", serif;
  font-size: 52px;
  font-weight: bold;
}

.title p {
  font-size: 14px;
  margin-top: 15px;
}

.main h2 {
  font-size: 28px;
  font-weight: bold;
  line-height: 30px;
  font-family: "Playfair Display", serif;
}

/* .main h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: #000000;
  margin-top: 12px;
} */

.access {
  display: flex;
  width: 930px;
  max-width: 95%;
  margin: 75px auto 0px;
  align-items: flex-start;
  justify-content: space-between;
}

table {
  margin-top: 15px;
}

.access th,
.access td {
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.access td {
  padding-left: 25px;
}

.access iframe {
  width: 350px;
  height: 220px;
  margin-left: 10px;
}

.contact {
  width: 930px;
  background-color: #f4f4f4;
  max-width: 95%;
  padding: 60px 0;
  margin: 60px auto 0px;
}

.form-area {
  background-color: #f8f8f8;
  border: 1px solid #aaaaaa;
  margin-top: 25px;
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
}

.form-area dt {
  width: 200px;
}

.form-area dd {
  width: calc(100% - 200px);
  padding: 15px 0;
}

.form-area dt {
  width: 200px;
  padding: 15px 0;
  font-size: 15px;
  font-weight: bold;
  line-height: 24px;
}

.form-area dt .required::after {
  content: "★";
  font-size: 11px;
  color: #ff69b4;
  margin-left: 10px;
}

.input-text {
  width: 100%;
  max-width: 280px;
  height: 40px;
  padding-left: 10px;
  padding-right: 10px;
}

.select-box {
  width: 200px;
  height: 40px;
}

.radio-button {
  margin-left: 10px;
}
.radio-button:first-child {
  margin-left: 0;
}

.radio-button input {
  margin-right: 3px;
}

.message {
  width: 100%;
  height: 260px;
  padding: 10px;
  line-height: 1.5;
}

.submit-button {
  background-color: #87ceeb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  font-size: 20px;
  color: #ffffff;
  width: 120px;
  display: block;
  text-align: center;
  line-height: 40px;
  border-radius: 10px;
  border: 3px solid #87ceeb;
  margin-top: 35px;
}

.submit-button:hover {
  background-color: #ffffff;
  color: #87ceeb;
  box-shadow: none;
  transform: translateY(5px);
  cursor: pointer;
}

.form-wrapper {
  padding: 0 20%;
}

.form-wrapper h2 {
  text-align: center;
  margin-bottom: 60px;
}

.icon4 {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 40px;
  font-weight: bold;
  background-image: linear-gradient(transparent 0, #a9ffed 0);
  background-repeat: no-repeat;
  background-size: 100% 0.3em;
  background-position: 0 88%;
  transition: background-size 0.25s ease-in;
  padding: 0px 20px;
}

.icon4:hover {
  background-size: 100% 88%;
}

/* .h40 {
  height: 40px;
} */

.box {
  display: flex;
  margin-bottom: 25px;
  font-size: 1.2rem;
  flex-direction: column;
}

.box-title {
  margin-bottom: 20px;
}

.right {
  width: 100%;
  height: 40px;
  padding-left: 5px;
  font-size: 1.2rem;
}

.flex-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.flex-box li {
  margin-left: 20px;
  list-style: none;
  padding-left: 5px;
}

input[type="radio"] {
  position: relative;
  top: 15px;
}

.text-title {
  margin-bottom: 20px;
}

textarea {
  max-width: 100%;
  height: 300px;
  font-size: 1.2rem;
  padding: 2%;
}

.flex-title {
  margin-bottom: 5px;
}

.btn {
  display: block;
  text-align: center;
}

.submit-btn {
  padding: 15px 60px;
  margin-top: 20px;
}

.submit-btn:hover {
  cursor: pointer;
  background-color: #86def4;
  color: #ffffff;
  border: none;
}

.footer {
  margin-top: 60px;
}

@media screen and (max-width: 767px) {
  .main {
    padding-top: 0;
  }

  .access {
    display: block;
  }

  .access td {
    padding-left: 15px;
  }

  .access iframe {
    margin-top: 20px;
    margin-left: 0;
    width: 100%;
  }
  .contact {
    width: 500px;
    padding: 25px 0;
    margin-top: 45px;
  }
  /* --google form追加 */
  .contact iframe {
    width: 100%;
  }

  .form-wrapper {
    padding: 0 5%;
  }

  .form-wrapper h2 {
    margin-bottom: 40px;
  }

  .icon4 {
    font-size: 6.8vw;
  }

  .flex-box li {
    padding-left: 5px;
    margin-top: 0;
  }

  .footer {
    margin-top: 30px;
  }
  /* --非表示
  .form-area dt,.form-area dd {
    width: 100%;
  }
  .form-area dt {
    padding-bottom: 0;
  }

  .form-area dd {
    padding: 10px 0;
  }
  .submit-button {
    width: 100%;
  }--*/
}
