/* Foundation */
body {
  color: #333;
  font-family: "Noto Sans JP", "YuGothic", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.858;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
@media screen and (min-width: 857px) {
  body {
    font-size: 16px;
    line-height: 1.875;
  }
}

body,
div,
p,
form,
fieldset,
button {
  margin: 0;
  padding: 0;
}

input,
textarea {
  margin: 0;
  font-size: 100%;
}

input,
textarea,
select {
  -webkit-appearance: none;
}

textarea {
  resize: none;
}

button {
  border: none;
  overflow: visible;
  background: none;
  vertical-align: top;
  font-size: 100%;
  cursor: pointer;
  -webkit-appearance: none;
}

a,
input,
textarea {
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.container {
  max-width: 100%;
  border: 0;
  padding: 0;
}

label .badge-optional {
  display: none;
}
/* Foundation */

/* ----------
 Custom CSS
  ----------- */

/* Lead area */
.c-text-01 {
  margin-bottom: 50px;
  color: #333;
}
@media screen and (min-width: 857px) {
  .c-text-01 {
    margin-bottom: 64px;
  }
}

.p-required {
  margin-bottom: 12px;
  color: #f00;
  font-size: 13px;
}
@media screen and (min-width: 857px) {
  .p-required {
    margin-bottom: 20px;
    font-size: 14px;
  }
}
/* Lead area */

/* Form containers */
.form-column {
  padding: 31px 0 29px;
  margin-bottom: 0;
  border-bottom: 2px solid #f1f1f2;
}
@media screen and (min-width: 857px) {
  .form-column {
    display: flex;
    padding: 49px 0;
  }
}

.form-column-note {
  padding: 0;
}

.form-column > label {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
}
@media screen and (min-width: 857px) {
  .form-column > label {
    flex: 0 0 auto;
    width: 225px;
    margin-bottom: 0;
    padding-top: 10px;
    padding-right: 10px;
    font-size: 16px;
  }
}

@media screen and (min-width: 857px) {
  .form-column.form-column-radio > label {
    padding-top: 0;
  }
}

label .badge-required {
  width: auto;
  display: inline-block;
  margin-top: -4px;
  margin-left: 5px;
  font-size: 0;
  vertical-align: top;
}
@media screen and (min-width: 857px) {
  label .badge-required {
    margin-top: -9px;
  }
}

label .badge-required::before {
  content: "※";
  color: #f00;
  font-size: 13px;
  font-weight: 400;

}
@media screen and (min-width: 857px) {
  label .badge-required::before {
    font-size: 14px;
  }
}

.form-column .preview-block {
  overflow-wrap: break-word;
  word-break: break-all;
}
/* Form containers */

/* Submit button area */
.button-group {
  margin-top: 44px;
}
@media screen and (min-width: 857px) {
  .button-group {
    margin-top: 106px;
  }
}

.button-group .help-block {
  margin-top: 0.5em;
  font-size: 0.75em;
  text-align: center;
}

button.button {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  padding: 10px 15px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid #111111;
  border-radius: 0;

}
@media screen and (min-width: 857px) {
  button.button {
    max-width: 330px;
    margin: 0 auto;
    font-size: 16px;
    opacity: 1;
    transition: opacity 0.3s ease-out;
  }

  button.button:hover {
    opacity: 0.7;
    text-decoration: none;
  }
}

button.button-confirm,
button.button-submit {
  background-color: #111111;
}

button.button-confirm::after,
button.button-submit::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-style: solid;
  border-width: 3px 0 3px 5px;
  border-color: transparent transparent transparent #fff;
}

button.button-submit {
  margin-top: 30px;
}

button.button-back {
  color: #111111;
}

button.button-back::after {
  display: none;
}
/* Submit button area */

/* Complete */
.message-block-complete {
  position: relative;
  margin-bottom: 20px;
  padding-left: 14px;
  color: #111;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.03em;
}
@media screen and (min-width: 857px) {
  .message-block-complete {
    margin-bottom: 30px;
    padding-left: 20px;
    font-size: 26px;
    line-height: 1.2;
    text-align: center;
  }
}
/* Complete */

/* Form parts */
/* radio */
input[type="radio"] {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;

}

input[type="radio"]:checked + .option-text::after {
  display: block;
}

.option-text {
  position: relative;
  display: block;
  padding-left: 30px;
  font-size: 14px;
}
@media screen and (min-width: 857px) {
  .option-text {
    font-size: 16px;
  }
}

.option-text::before {
  content: '';
  position: absolute;
  top: calc(50% - 9px);
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #e3e3e5;
  border-radius: 50%;
}
@media screen and (min-width: 857px) {
  .option-text::before {
    top: calc(50% - 8px);
  }
}

.option-text::after {
  display: none;
  content: '';
  position: absolute;
  top: calc(50% - 5px);
  left: 5px;
  width: 10px;
  height: 10px;
  background-color: #111111;
  border-radius: 50%;
}
@media screen and (min-width: 857px) {
  .option-text::after {
    top: calc(50% - 3px);
  }
}

/* radio list */
.input-group {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-top: -10px;

}
@media screen and (min-width: 857px) {
  .input-group {
    margin-top: -14px;
    padding: 0 5px;
  }
}

.input-group > .option {
  margin-top: 14px;
}
@media screen and (min-width: 857px) {
  .input-group > .option {
    margin-top: 10px;
  }
}

.input-group > .option:nth-child(odd) {
  width: 53.847%;
}
@media screen and (min-width: 857px) {
  .input-group > .option:nth-child(odd) {
    width: 46.512%;
  }
}

.input-group > .option:nth-child(even) {
  width: 46.153%;
}
@media screen and (min-width: 857px) {
  .input-group > .option:nth-child(even) {
    width: 53.488%;
  }
}

/* other form parts */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"] {
  width: 100%;
  max-width: 100%;
  height: 50px;
  padding: 0 12px;
  background-color: transparent;
  border: 3px solid #e3e3e5;
  border-radius: 6px;
  font-family: "Noto Sans JP", "YuGothic", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
  font-size: 14px;

}
@media screen and (min-width: 857px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"] {
    padding: 0 17px;
    font-size: 16px;
  }
}

input[type="text"]::-webkit-input-placeholder,
input[type="email"]::-webkit-input-placeholder,
input[type="tel"]::-webkit-input-placeholder,
input[type="url"]::-webkit-input-placeholder {
  color: #ccc;
}

input[type="text"]::-moz-placeholder,
input[type="email"]::-moz-placeholder,
input[type="tel"]::-moz-placeholder,
input[type="url"]::-moz-placeholder {
  color: #ccc;
}

input[type="text"]:-ms-input-placeholder,
input[type="email"]:-ms-input-placeholder,
input[type="tel"]:-ms-input-placeholder,
input[type="url"]:-ms-input-placeholder {
  color: #ccc;
}

input[type="text"]:-moz-placeholder,
input[type="email"]:-moz-placeholder,
input[type="tel"]:-moz-placeholder,
input[type="url"]:-moz-placeholder {
  color: #ccc;
}

textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 232px;
  padding: 17px 12px;
  background-color: transparent;
  border: 3px solid #e3e3e5;
  border-radius: 6px;
  font-family: "Noto Sans JP", "YuGothic", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
  font-size: 14px;

}
@media screen and (min-width: 857px) {
  textarea {
    height: 262px;
    padding: 15px 17px;
    font-size: 16px;
  }
}

textarea::-webkit-input-placeholder {
  color: #ccc;
}

textarea::-moz-placeholder {
  color: #ccc;
}

textarea:-ms-input-placeholder {
  color: #ccc;
}

textarea:-moz-placeholder {
  color: #ccc;
}

/* ----------
 tooltip CSS
  ----------- */
.form-column {
  position: relative;
}

.tooltip.bottom {
  top: 92%!important;
  left: 0!important;
}

@media screen and (min-width: 857px) {
  .tooltip.bottom {
    transform: translateY(-100%);
  }
}

.tooltip.bottom .tooltip-arrow {
  left: 50%!important;
}