@charset "UTF-8";

/* common */
.container {
  max-width: 850px;
  padding: 9.5rem 0 0;
}

/* entry-contents */

#entry-contents {
  margin-top: 2rem;
}

#entry-contents .container {
  padding: 0;
}

#entry-contents .entry-contents-bg {
  /* background-color: var(--body-bg-sub); */
  border-radius: 3px;
  max-width: 700px;
  padding: 1.5rem 1rem;
  margin: 0 auto;
}

#entry-contents section {
  margin-bottom: 2.4rem;
}

#entry-contents .section-ttl {
  color: #fff;
  background-color: var(--main-color);
  display: inline-block;
  text-align: center;
  font-family: var(--font-family-01);
  font-size: 18px;
  padding: 2px 6px;
  margin-bottom: 0.9rem;
}

#entry-contents .required {
  color: #fff;
  background-color: var(--link-color);
  display: inline-flex;
  align-items: center;
  height: 1.5em;
  font-size: 12px;
  padding: 1px 3px;
  margin-left: 0.5rem;
}

/* form elements */

#entry-contents input,
#entry-contents textarea {
  display: block;
  border: 2px solid #4098c9;
  border-radius: 2px;
  letter-spacing: 0.07em;
  padding: 6px 8px;
  box-sizing: border-box;
  max-width: 100%;
}

#entry-contents #message textarea {
  width: 90%;
  height: 10em;
  letter-spacing: 0.18em;
  line-height: 1.6;
}

#entry-contents .box {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 0.3em;
}

#entry-contents .box label {
  font-size: 17px;
}

#entry-contents .radio-gp,
#entry-contents .checkbox-gp {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  line-height: 1;
  flex-direction: row;
}

#name-area,
#ruby-area,
#age-area,
#tel-area {
  max-width: 220px;
}

#address-area,
#email-area {
  width: 90%;
  max-width: 100%;
  box-sizing: border-box;
}

#email-area {
  max-width: 350px;
}

#age-area {
  width: 70px;
  text-align: right;
}

#entry-contents .btn-submit input {
  border: none;
  border-radius: 6px;
  padding: 20px 25px;
}

.inline-input {
  display: flex;
  align-items: center;
  gap: 0.3em;
}

.inline-input .unit {
  font-size: 16px;
  color: #333;
}

@media screen and (min-width: 768px) {
  #entry-contents {
    margin-top: 2.5rem;
  }

  #entry-contents .entry-contents-bg {
    padding: 3rem 2.5rem;
  }
}
