/* codes
information
background:#FFEFCD(yelloish)RGB(255, 239, 205)
font:#304340(dark-green-blackish)
main:#22733F(green) RGB(34, 115, 63)
accent:E09132(orange) RGB(224, 145, 50)
*/

.paper_plane {
  background-image: url("../../../img/paper_plane.png");
  background-size: 100%;
  background-position: top;
  background-repeat: no-repeat;
}

/* note lines */
main {
  width: 95vw;
  margin-top: 2.5em;
  margin-left: 2vw;
  margin-right: 2.5vw;
  margin-bottom: 1em;
  padding: 0;
  background-image: linear-gradient(
    180deg,
    rgba(34, 115, 63, 0.6) 1px,
    transparent 1px
  ); /* line setting  */
  background-size: 100% 2.5em; /* line height */
  line-height: 2.5em; /* character height */
  position: relative;
  height: 82em;
}

/* introduction */
.introduction {
  width: 40%;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
}
.introduction h1 {
  text-align: left;
  font-size: 42px;
  line-height: 35px;
  letter-spacing: 0.3em;
}
.memo {
  margin-top: 45px;
  text-align: left;
  font-size: 14px;
  letter-spacing: 0.3em;
  font-weight: 500;
  white-space: nowrap;
}

/* contactform */
.contactform {
  width: 40%;
  position: absolute;
  top: 12.5em;
  left: 50%;
  transform: translate(-50%, 0);
}
.contactform h2 {
  text-align: left;
}
.contactform p {
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: #e09132;
  line-height: 20px;
}
.form_contents {
  margin-top: 25px;
  width: 100%;
  display: flex;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
}
.main_contents label {
  letter-spacing: 0.3em;
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  margin-bottom: 0;
  color: #304340;
}
.mark {
  color: #e09132;
}
input,
button,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
input,
textarea,
select {
  width: 35vw;
  background-color: rgba(202, 141, 67, 0.13);
  font-family: "roboto", "Noto Sans JP", sans-serif;
  color: #304340;
  border: none;
  padding: 0.5em 1em;
  border-radius: 5px;
  font-weight: 400;
  vertical-align: middle;
  margin-top: -13px;
  letter-spacing: 0.2em;
}

/* input date setting */
input[type="date"] {
  width: 35vw;
  background-color: rgba(202, 141, 67, 0.13);
  font-family: "roboto", "Noto Sans JP", sans-serif;
  color: #304340;
  border: none;
  padding: 0.5em 1em;
  border-radius: 5px;
  font-weight: 400;
  vertical-align: middle;
  margin-top: -13px;
  letter-spacing: 0.2em;
  height: 20px;
  text-align: left;
}
input[type="date"]::-webkit-calendar-picker-indicator {
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0;
  top: 0;
  left: 0;
}

/* input date setting END */
.main_contents textarea {
  vertical-align: top;
  margin-top: -1px;
}
::placeholder {
  font-family: "roboto", "Noto Sans JP", sans-serif;
  font-weight: 400;
  color: #304340;
}
.main_contents input:focus,
textarea:focus,
select:focus,
.happy input:focus {
  outline: 2px solid #e09132;
  color: #304340;
}

.happy {
  white-space: nowrap;
  margin-top: 12px;
  position: absolute;
  top: 46.1em;
  left: 45%;
  transform: translate(-50%, -0);
  height: 40px;
  letter-spacing: 0.2em;
}
.happy label {
  line-height: 50px;
}
.happy select {
  width: 150px;
  margin-top: -1px;
}

.happy img {
  width: 60px;
  display: inline;
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translate(0, -50%);
}
/* en */
.happy input {
  width: 150px;
  background-color: rgba(202, 141, 67, 0.13);
  font-family: "roboto", "Noto Sans JP", sans-serif;
  color: #304340;
  border: none;
  padding: 0.5em 1em;
  border-radius: 5px;
  font-weight: 400;
  vertical-align: middle;
  margin-top: -3px;
  letter-spacing: 0.2em;
}
/* recaptcha*/
.recaptcha-item {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  top: 51em;
  height: 3em;
}
/* submit */
button {
  border: none;
  background: transparent;
  position: relative;
  left: 50%;
  transform: translate(-50%, 0);
  margin-top: 108px;
}
button img {
  width: 150px;
  filter: drop-shadow(3px 3px 1px rgba(0, 0, 0, 0.5));
  position: absolute;
  top: 110px;
  left: 50%;
  transform: translate(-50%, 0);
}
button img:hover {
  filter: none;
  position: absolute;
  top: 112px;
  left: 50%;
  transform: translate(-48%, 0);
}

/* ----------------
ipad portrate
----------------- */
@media (max-width: 835px) {
  /* introduction */
  .introduction {
    width: 70%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
  }
  /* contactform */
  .contactform {
    width: 60%;
    position: absolute;
    top: 12.5em;
    left: 50%;
    transform: translate(-50%, 0);
  }
  input,
  textarea,
  select {
    width: 55vw;
    background-color: rgba(202, 141, 67, 0.13);
    font-family: "roboto", "Noto Sans JP", sans-serif;
    color: #304340;
    border: none;
    padding: 0.5em 1em;
    border-radius: 5px;
    font-weight: 400;
    vertical-align: middle;
    margin-top: -13px;
    letter-spacing: 0.2em;
  }

  /* input date setting */
  input[type="date"] {
    width: 55vw;
    background-color: rgba(202, 141, 67, 0.13);
    font-family: "roboto", "Noto Sans JP", sans-serif;
    color: #304340;
    border: none;
    padding: 0.5em 1em;
    border-radius: 5px;
    font-weight: 400;
    vertical-align: middle;
    margin-top: -13px;
    letter-spacing: 0.2em;
    height: 20px;
    text-align: left;
  }
}
/* ----------------
mobile
----------------- */
@media (max-width: 428px) {
  /* introduction */
  .introduction {
    width: 90%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .introduction h1 {
    text-align: left;
    font-size: 28px;
    line-height: 35px;
    letter-spacing: 0.2em;
  }
  .memo {
    margin-top: 5px;
    margin-left: -5px;
    text-align: left;
    font-size: 12px;
    letter-spacing: 0.2em;
    font-weight: 500;
    white-space: nowrap;
  }
  .memo-en {
    letter-spacing: 0.1em;
  }
  /* contactform */
  .contactform {
    width: 80%;
    position: absolute;
    top: 10em;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .contactform h2 {
    text-align: left;
  }
  .contactform p {
    font-size: 12px;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: #e09132;
    line-height: 20px;
  }
  .form_contents {
    margin-top: 25px;
    width: 100%;
    display: flex;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .main_contents label {
    letter-spacing: 0.3em;
    font-size: 14px;
    font-weight: 500;
    line-height: 14px;
    margin-bottom: 0;
    color: #304340;
  }
  .mark {
    color: #e09132;
  }
  input,
  button,
  select,
  textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }
  input,
  textarea,
  select {
    width: 65vw;
    background-color: rgba(202, 141, 67, 0.13);
    font-family: "roboto", "Noto Sans JP", sans-serif;
    color: #304340;
    font-size: 12px;
    border: none;
    padding: 0.5em 1em;
    border-radius: 5px;
    font-weight: 400;
    vertical-align: middle;
    margin-top: -13px;
    letter-spacing: 0.1em;
  }
  .happy {
    white-space: nowrap;
    margin-top: 12px;
    position: absolute;
    top: 46.1em;
    left: 45%;
    transform: translate(-50%, -0);
    height: 40px;
    letter-spacing: 0.1em;
  }
  .happy label {
    line-height: 50px;
  }
  .happy select {
    width: 100px;
    margin-top: -1px;
  }
  .happy img {
    width: 60px;
    display: inline;
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate(0, -50%);
  }
  /* en */
  .happy input {
    width: 100px;
    background-color: rgba(202, 141, 67, 0.13);
    font-family: "roboto", "Noto Sans JP", sans-serif;
    color: #304340;
    border: none;
    padding: 0.5em 1em;
    border-radius: 5px;
    font-weight: 400;
    vertical-align: middle;
    margin-top: -3px;
    letter-spacing: 0.1em;
  }
  button {
    border: none;
    background: transparent;
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
    margin-top: 200px;
  }
  button img {
    width: 150px;
    filter: drop-shadow(3px 3px 1px rgba(0, 0, 0, 0.5));
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
  }
}
