@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style-type: none;
  color: #472F04;
}

a {
  color: #737373;
  text-decoration: none;
}

body {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  font-style: normal;

  /* 基準のフォントサイズ */
  font-size: 20px;
  color: #737373;
  background-color: #FFF7E9;

}

@media screen and (max-width:960px) {

  body {
    font-size: 16px;
  }

}


@media screen and (max-width:600px) {

  body {
    font-size: 16px;
  }

}

/* ===================================================================== */
/* 共通項目 */
.u-960 {
  display: none;
}

.u-600 {
  display: none;
}

.u-400 {
  display: none;
}

/* ========================================= */

.foot {
  display: block;
  width: 7%;
  position: absolute;
  top: 0;
  right: 15%;
  z-index: 3;
}

main {
  background: url(../img/contact-bg-wave.png) center bottom / 100% 70% no-repeat;
  padding-bottom: 200px;
  font-size: 20px;
  position: relative;
}

main h2 {
  font-size: 2.5em;
  color: #FFA500;
  text-align: center;
  margin: 120px auto 100px;
}

.sun-left {
  width: 20%;
  display: block;
  position: absolute;
  top: 40%;
  left: 0;
  z-index: 0;
}

.sun-right {
  width: 20%;
  display: block;
  position: absolute;
  bottom: 20%;
  right: 0;
  z-index: 0;
}

/* ------------------------------------------------ */
/* フォーム内 */

input[type="text"],
select,
input[type="tel"],
input[type="email"],
input[type="checkbox"] {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 4px 6px;
}

.form02 textarea {
  width: 50%;
  border: 1px solid #ccc;
  border-radius: 4px;
}

input::placeholder {
  font-size: 0.8em;

}

input::placeholder {
  color: #c3c3c3;

}

#detail {
  font-size: 16px;
}

@media (min-width: 768px) {
  #detail {
    font-size: 0.875rem;
  }
}


/* ------------------------------------------------ */



.contact-wrapper {
  max-width: 1280px;
  margin: 0 auto;
}

.form,
.confirm-content,
.submit-content {
  background-color: #fff;
  border-radius: 30px;
  padding: 50px 0 100px;
  position: relative;
  z-index: 2;

}

.contact-form {
  display: flex;
  flex-wrap: wrap;
  width: 85%;
  margin: 25px auto 40px;
}

.check {
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 1em;
}

.send {
  width: 30%;
  margin: 30px auto;
}

#send {
  width: 100%;
  margin: 0 auto;
  padding: 10px 30px;
  background: #F39151;
  border: none;
  border-radius: 10px;
  box-shadow: 2px 2px 2px #472F04;
  color: #fff;
  transition: .3s;
}

#send:hover {
  background: #a1d5c1;
}

#kojin {
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0.1rem;
}

#kojin a {
  font-weight: bold;
  text-decoration: none;
  color: #ffa500;
  text-decoration: underline;
  transition: .3s;
}

#kojin a:hover {
  color: #ee8190;
}

.send-form {
  font-size: 16px;

}

#must {
  font-size: 10px;
  color: red;
  padding: 2px 5px;
  border-radius: 5px;
}

.form01 {
  width: 30%;
  font-weight: 500;
  text-align: right;
}

.form02 {
  width: 70%;
  font-weight: bold;
  padding-left: 2em;
}


.contact-form p {
  text-align: center;
  margin: 30px auto;
}

/* ------------------------------------------------ */
/* 各設定 */


#age {
  width: 15%;
}

.check-flex {
  display: flex;
  gap: 2em;
}

.check-flex div {
  margin-bottom: 20px;
}

.check-right div {
  margin-bottom: 20px;
}

#otherInputContainer {
  display: none;
  margin-left: 1em;
}

.detail-intro {
  font-size: 0.7em;
  text-align: left;
}


/* ============================================================ */
/* confirm用 */
.contact-follow {
  text-align: center;
  margin-bottom: 1em;
}

.to-submit-btn {
  display: block;
  width: 50%;
  padding: 10px 0;
  background-color: #fff;
  border-radius: 10px;
  margin: 1em auto 1em;
  text-align: center;
  font-weight: bold;
}

.back-btn {
  display: block;
  width: 50%;
  padding: 10px 0;
  background-color: #fff;
  border-radius: 10px;
  margin: 0 auto 1em;
  text-align: center;
  font-weight: bold;
}

/* ============================================================ */
/* submit用 */
.contact-container02 .submit-content {
  text-align: center;
}

@media screen and (max-width:960px) {
  .u-960 {
    display: block;
  }

  main {
    padding-bottom: 100px;
  }

  main h2 {
    margin: 100px auto 80px;
  }

  .foot {
    right: 5%;
  }

  .sun-left,
  .sun-right {
    display: none;
  }

  .send {
    width: 40%;
  }

  /* ------------------------------------------------ */

  .form,
  .confirm-content,
  .submit-content {
    padding: 50px 0 50px;
  }

  .contact-form {
    width: 90%;
    margin: 25px auto 40px;
  }

  .check-flex {
    display: block;
    gap: 2em;
  }

}

@media screen and (max-width:600px) {
  .foot {
    display: none;
  }

  main h2 {
    font-size: 2em;
  }

  .contact-form {
    display: block;
  }

  .form01 {
    width: 100%;
    text-align: left;
  }

  .form02 {
    width: 100%;
  }

  input[type="text"],
  input[type="tel"],
  input[type="email"] {
    width: 80%;
  }

  .form02 textarea {
    width: 100%;
  }

  .send {
    width: 50%;
  }

}