@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap");
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* form.css */
body {
  background: none;
  font-family: "Zen Maru Gothic", sans-serif !important;
  font-weight: 500;
  font-feature-settings: "palt"1;
  -webkit-font-feature-settings: "palt"1;
  -moz-font-feature-settings: "palt"1;
  font-size: 18px !important;
  color: #704723 !important;
  -webkit-text-size-adjust: 100% !important;
}
.container {
  background: none;
  margin: 0;
  max-width: 100%;
  width: 100%;
  padding: 0;
  border: none;
}
.description-block {
  width: 100%;
  margin: 0 0 6rem;
}
p.introduction {
  width: 100%;
  text-align: center;
  line-height: 2em;
  letter-spacing: 0.15rem;
  /*transform: rotate(0.03deg);*/
}
p.introduction a {
  color: #066ab2;
  -webkit-transition: all 0.35s ease;
  -moz-transition: all 0.35s ease;
  -ms-transition: all 0.35s ease;
  -o-transition: all 0.35s ease;
  transition: all 0.35s ease;
}
p.introduction a:hover {
  filter: alpha(opacity=70);
  -moz-opacity: 0.7;
  opacity: 0.7;
}
.form-column {
  display: flex;
  align-items: flex-start;
  padding: 28px 0;
  margin: 0;
}
.form-column fieldset {
  display: contents;
}
legend.label {
  padding: 0 0 0 3.4em;
}
.label {
  position: relative;
  width: 310px;
  max-width: 100%;
  margin: 0;
  padding-left: 3.4em;
  font-weight: 700;
  line-height: 50px;
}
.label .badge-required {
  position: absolute;
  padding: 4px 6px;
  margin: 15px 0 0 7px;
  left: 0;
  top: 0;
  border: 1px solid #e74426;
  background-color: #f7e1d7;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  font-size: 12px;
  color: #e74426;
  line-height: 1em;
}
.input-group {
  display: flex;
  flex-wrap: wrap;
  width: calc(100% - 310px);
  height: 56px;
}
.input-group label.option {
  display: flex;
  align-items: baseline;
  margin-right: 1.5em;
  line-height: 3em;
  /*transform: rotate(0.03deg);*/
}
.input-group label.option input[type=radio] {
  display: none;
}
.input-group label.option input[type=radio] + .option-text {
  position: relative;
  padding-left: 1.3em;
}
.input-group label.option input[type=radio] + .option-text::before {
  position: absolute;
  content: "";
  width: 1.1em;
  height: 1.1em;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 2px solid #d0c1a6;
  border-radius: 20px;
  background-color: #fff;
}
.input-group label.option input[type=radio]:checked + .option-text::after {
  position: absolute;
  content: "";
  width: 0.6em;
  height: 0.6em;
  left: 0.25em;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 20px;
  background-color: #d0c1a6;
}

.form-page > div:nth-child(2) input[type=text], .form-page > div:nth-child(3) input[type=text] {
  width: 400px;
}
input[type=text], input[type=email] {
  width: 600px;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #d0c1a6;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  font-size: 18px;
  line-height: 1.6em;
}
textarea {
  width: 600px;
  height: 300px;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #d0c1a6;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  font-size: 18px;
  line-height: 1.6em;
}
::placeholder {
  color: #9c9c9c;
}
input[type=text]:focus, input[type=email]:focus, textarea:focus {
  outline: none;
}
.form-column-textarea .preview-block {
  /*height: 20rem;*/
  overflow: auto;
}
.form-column-recaptcha {
  margin-bottom: 0;
}
.form-column-recaptcha > div {
  margin: auto;
}
.button-group {
  margin-top: 80px;
  text-align: center;
}
.button-group button[type=submit] {
  position: relative;
  margin: 0;
  padding: 20px 17vw;
  background-color: #ffda02;
  border: none;
  border-radius: 60px;
  -webkit-border-radius: 60px;
  -moz-border-radius: 60px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6em;
  color: #633b20;
  letter-spacing: 0.1rem;
  -webkit-transition: all 0.35s ease;
  -moz-transition: all 0.35s ease;
  -ms-transition: all 0.35s ease;
  -o-transition: all 0.35s ease;
  transition: all 0.35s ease;
}
/*.button-group button[type=submit]::after {
  position: absolute;
  content:url("/images/icon_right_arrow2.png");
  width: 33px;
  height: 24px;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}
*/
.button-group button[type=submit].button-back {
  background-color: #ddd;
}
/*.button-group button[type=submit].button-back::after {
  left: 20px;
  right: auto;
  transform: translateY(-50%) rotateY(180deg);
  transform-origin: center;
  filter: grayscale(1);
}*/
.button-group button[type=submit]:hover {
  filter: alpha(opacity=70);
  -moz-opacity: 0.7;
  opacity: 0.7;
}
.message-block {
  width: 32em;
  margin: 0 auto 5rem;
  border-bottom: 0.2rem solid #e10210;
  font-weight: bold;
  text-align: center;
  line-height: 2em;
  color: #e10210;
  letter-spacing: 0.15rem;
  /*transform: rotate(0.03deg);*/
}
#confirmation-container .form-column {
  margin-bottom: 0;
}
.preview-block {
  width: calc(100% - 310px);
  padding: 0;
  line-height: 1.6em;
  font-size: 20px;
  margin-top: 10px;
}
.button-group button[type=submit] + button[type=submit] {
  margin-left: 5rem;
}
.help-block {
  margin-top: 20px;
  font-size: 20px;
  text-align: center;
  line-height: 2em;
  letter-spacing: 0.05em;
  /*transform: rotate(0.03deg);*/
}
.option-text {
  font-size: 18px;
}
/*#message-container {
  display: none;
}*/
.message-block {
  width: fit-content;
  padding: 25px 40px;
  margin: 0 auto 50px;
  border-radius: 10px;
  border: 1px solid #e74426;
  background-color: #f9dad44a;
  text-align: left;
  line-height: 1.6em;
}
.message-block > span {
  display: block;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: #e74426;
}
.message-block > ul {
  margin: 15px 0 0;
  padding: 0;
}
.message-block > ul li {
  margin-top: 10px;
  list-style-type: disc;
  color: #e74426;
}
.message-block > ul li a {
  position: relative;
  color: #555 !important;
  text-decoration: none;
  letter-spacing: 0;
  font-weight: 500;
}
.message-block > ul li a:hover {
  text-decoration: underline;
}
.message-block > ul li a::after {
  font-family: fontAwesome;
  content: "\f103";
}
.message-block-complete {
  border-color: #999;
  color: #555;
  background: none;
  border: none;
  font-weight: 500;
  text-align: center;
}
/* for tablet and smartphone ～959px */
@media screen and (max-width: 839px) {
  .container {
    padding: 0;
  }
  .form-column {
    flex-direction: column;
    border-width: 2px;
  }
  .label {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1em;
  }
  .label .badge-required {
    display: inline-block;
    margin: -5px 0 0;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
  }
  .input-group {
    flex-flow: wrap;
    width: auto;
    height: auto;
  }
  .input-group label.option {
    line-height: 2em;
  }
  .input-group label.option input[type=radio] {
    width: 1em;
    transform: scale(1);
  }
  input[type=text], input[type=email] {
    width: 100%;
    max-width: 100%;
  }
  textarea {
    width: 100%;
    height: 300px;
    max-width: 100%;
  }
  .option-text {
    font-size: 16px;
  }
  .button-group {
    margin-top: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .button-group button[type=submit] {
    width: min(100%, 270px);
    font-size: 18px;
    padding: 20px 25px;
  }
  .button-group button[type=submit]::after {
    right: 10px;
  }
  .button-group button[type=submit] + button[type=submit] {
    margin: 20px 0;
  }
  .message-block {}
  .preview-block {
    width: 100%;
    font-size: 16px;
  }
  .form-column-textarea .preview-block {
    /*height: 40rem;*/
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
  }
  .form-column-textarea .preview-block::-webkit-scrollbar {
    width: 3rem;
  }
  .form-column-textarea .preview-block::-webkit-scrollbar-thumb {
    background-color: #999;
    border-radius: 5rem;
    -webkit-border-radius: 5rem;
    -moz-border-radius: 5rem;
  }
  .form-column-textarea .preview-block::-webkit-scrollbar-track-piece:start {
    background-color: #ddd;
  }
  .form-column-textarea .preview-block::-webkit-scrollbar-track-piece:end {
    background-color: #ddd;
  }
  .form-column-textarea .preview-block::-webkit-scrollbar-piece {
    background: #eee;
  }
  .form-column-textarea .preview-block::-webkit-scrollbar-corner {
    background: #333;
  }
  .help-block {
    font-size: 16px;
  }
  .message-block > span {
    font-size: 18px;
  }
  .message-block > ul li a {
    font-size: 16px;
  }
}