@charset "utf-8";
/*------------------------------------------------
  フォームコンテンツ
------------------------------------------------*/

/*========== イントロダクション ==========*/

.form-introduction {
  margin-bottom: 15px;
}

.form-introduction-text {
  text-align: center;
}

@media print, screen and (min-width: 769px) {
  .form-introduction {
    margin-bottom: 30px;
  }

  .form-introduction-text {
    line-height: 2;
  }
}

/*========== エラーメッセージ ==========*/

/* .form-error-message-wrapper {
  margin-bottom: 30px;
}

.form-error-message {
  padding: 5px 10px;
  color: #a94442;
  border: 1px solid #ebccd1;
  border-radius: 3px;
  background-color: #f2dede;
}

.form-error-message:not(:last-of-type) {
  margin-bottom: 10px;
}

.form-error-message i {
  margin-right: 5px;
}

.form-error-message .highlight {
  font-weight: bold;
}

.form-error-message .highlight::before {
  content: "【";
}

.form-error-message .highlight::after {
  content: "】";
} */

/*------------------------------------------------
  フォーム
------------------------------------------------*/

.form-wrapper {}

.form-list {
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

.form-list:first-of-type {
  border-top: 1px solid #ccc;
}

.form-item {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.form-item-alt {
  display: flex;
  flex-wrap: wrap;
}

@media print, screen and (min-width: 769px) {
  .form-list {
    display: flex;
    align-items: center;
    padding: 0;
  }

  .form-item {
    flex-direction: row;
    width: 35%;
    margin: 0;
    padding: 12.5px 25px;
  }

  .form-item-alt {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 65%;
    padding: 12.5px 25px;
  }
}

/*========== ラベル ==========*/

.form-label {
  font-weight: bold;
}

/*========== 必須項目 ==========*/

.required-icon {
  display: inline-block;
  margin-right: 15px;
  padding: 5px 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1;
  text-shadow: rgba(0, 0, 0, .25) 0 1px 1px;
  border-radius: 3px;
  background-color: #e57373;
}

@media print, screen and (min-width: 769px) {
  .required-icon {
    margin-left: 20px;
    margin-right: 0;
    font-size: 1.2rem;
  }
}

/*========== 任意項目 ==========*/

.optional-icon {
  display: inline-block;
  margin-right: 15px;
  padding: 5px 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1;
  text-shadow: rgba(0, 0, 0, .25) 0 1px 1px;
  border-radius: 3px;
  background-color: #ccc;
}

@media print, screen and (min-width: 769px) {
  .optional-icon {
    margin-left: 20px;
    margin-right: 0;
    font-size: 1.2rem;
  }
}

/*========== 入力例 ==========*/

.example-text {
  width: 100%;
  margin-top: 5px;
  color: #999;
  font-size: 1.2rem;
  line-height: 1;
}

.example-text::before {
  content: "入力例：";
  font-weight: bold;
}

/*========== 重要 ==========*/

.note-text {
  width: 100%;
  margin-top: 5px;
  color: #e57373;
  font-size: 1.2rem;
  line-height: 1;
}

.note-text::before {
  content: "重要：";
  font-weight: bold;
}

/*------------------------------------------------
  フォームエレメント
------------------------------------------------*/

/*========== インプット ==========*/

.input-general {
  width: 100%;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
}

.input-general:focus {
  border: 1px solid #333;
}

.input-narrow {
  width: 100%;
}

@media print, screen and (min-width: 769px) {
  .input-general {
    padding: 10px;
  }

  .input-narrow {
    width: calc(50% - 7.5px);
  }
}

/*========== ラジオボタン・チェックボックス ==========*/

input[type=radio],
input[type=checkbox] {
  display: none;
}

.input-radio,
.input-checkbox {
  position: relative;
  width: 100%;
  padding: 10px 10px 10px 50px;
  line-height: 1.5;
  border: 1px solid #ccc;
  border-radius: 3px;
  background-color: #fff;
  cursor: pointer;
}

.input-radio:not(:last-child),
.input-checkbox:not(:last-child) {
  margin-bottom: 10px;
}

.input-radio:hover,
.input-checkbox:hover {
  background-color: #f5f5f5;
}

.input-radio:hover::after,
.input-checkbox:hover::after {
  border-color: #333;
}

.input-radio::after,
.input-checkbox::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 15px;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border: 2px solid #ccc;
  border-radius: 3px;
}

.input-radio::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 21px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background-color: #333;
  opacity: 0;
  z-index: 10;
}

input[type=radio]:checked + .input-radio::before {
  opacity: 1;
}

.input-checkbox::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 21px;
  width: 7.5px;
  height: 12.5px;
  margin-top: -8px;
  border-right: 4px solid #333;
  border-bottom: 4px solid #333;
  transition: all .3s;
  transform: rotate(45deg);
  opacity: 0;
  z-index: 10;
}

input[type=checkbox]:checked + .input-checkbox::before {
  opacity: 1;
}

.input-radio-narrow,
.input-checkbox-narrow {
  width: calc(50% - 7.5px);
}

.input-radio.input-radio-narrow,
.input-checkbox.input-checkbox-narrow {
  margin-bottom: 0;
}

.input-radio-narrow:nth-of-type(2n),
.input-checkbox-narrow:nth-of-type(2n) {
  margin-left: 15px;
}

.input-radio-narrow:not(:nth-last-of-type(-n+2)),
.input-checkbox-narrow:not(:nth-last-of-type(-n+2)) {
  margin-bottom: 15px;
}

/*========== セレクトボックス ==========*/

.select-list {
  position: relative;
  width: 100%;
  line-height: 1;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.select-list:hover {
  background-color: #f5f5f5;
}

.select-list:before,
.select-list:after {
  content: "";
  position: absolute;
  top: 16px;
  right: 15px;
  width: 0;
  height: 0;
  border: 5px dashed;
  border-color: #999 transparent;
  pointer-events: none;
  z-index: 5;
}

.select-list:before {
  border-top: none;
  border-bottom-style: solid;
}

.select-list:after {
  margin-top: 8px;
  border-top-style: solid;
  border-bottom: none;
}

.select-item {
  width: 100%;
  padding: 15px 35px 15px 15px;
  cursor: pointer;
}

@media print, screen and (min-width: 769px) {
  .select-list {
    width: calc(50% - 7.5px);
  }
}

/*========== テキストエリア ==========*/

.textarea-general {
  width: 100%;
  min-height: 150px;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
  background-color: #fff;
}

.textarea-general:focus {
  border: 1px solid #333;
}

@media print, screen and (min-width: 769px) {
  .textarea-general {
    padding: 10px;
  }
}

/*========== 個人情報の取扱いについて ==========*/

.privacy {
  margin-bottom: 10px;
  padding: 15px;
  background-color: #f5f5f5;
}

.privacy-title {
  font-size: inherit;
}

.privacy-text {
  text-align: justify;
}

.privacy-text a {
  text-decoration: underline;
}

@media print, screen and (min-width: 769px) {
  .privacy {
    margin-bottom: 10px;
    padding: 15px;
    background-color: #f5f5f5;
  }
}

/*========== ボタン ==========*/

.button-wrapper {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
}

.button-wrapper button:not(:last-of-type) {
  margin-right: 10px;
}

.button-wrapper button:disabled {
  color: #ccc;
  background-color: #eee;
  pointer-events: none;
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 50px;
  padding: 0 15px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  background-color: #333;
}

.submit-button::after {
  content: "";
  position: absolute;
  right: 15px;
  width: 15px;
  height: 15px;
  background-image: url(../../images/common/icon_button_white.svg);
  background-position: center;
}

.submit-button:hover {
  opacity: .7;
  cursor: pointer;
}

.return-button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 50px;
  padding: 0 15px;
  font-weight: bold;
  text-align: center;
  border: 2px solid #333;
  background-color: #fff;
}

.return-button::before {
  content: "";
  position: absolute;
  left: 15px;
  width: 15px;
  height: 15px;
  background-image: url(../../images/common/icon_button_blue.svg);
  background-position: center;
  transform: scaleX(-1);
}

.return-button:hover {
  opacity: .7;
  cursor: pointer;
}

@media print, screen and (min-width: 769px) {
  .button-wrapper {
    margin-top: 30px;
    padding: 0 125px;
  }

  .submit-button {
    width: 50%;
  }

  .return-button {
    width: 35%;
  }
}