/* 
共通
*/

body {
  font-family: "Noto Sans JP", sans-serif, "Helvetica Neue", "Helvetica",
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo",
    sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #424242;
  letter-spacing: 0.04em;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

.button {
  display: block;
  width: 100%;
  padding: 20px;
  margin: 0 auto;
  text-align: center;
  font-weight: 700;
  line-height: 1.5;
  border-radius: 8px;
  cursor: pointer; /*hrefが入らない場合*/
  transition-duration: 0.2s;
  white-space: normal !important;
  word-break: break-word;
}

.button-primary {
  color: #fff;
  background-color: #fa8200;
}

@media (hover: hover) {
  .button-primary:hover {
    background-color: #f47100;
  }
}

.button-secondary {
  color: #fa8200;
  background-color: #fff;
  border: #fa8200 1px solid;
}

@media (hover: hover) {
  .button-secondary:hover {
    background-color: #fff4e0;
  }
}

.note {
  font-size: 14px;
  padding-left: 1em;
  text-indent: -1em;
  letter-spacing: 0.02em;
  margin-top: 4px;
}

.note > li {
  margin-top: 8px;
}

.sp,
.sp-br {
  display: none;
}

@media only screen and (max-width: 768px) {
  .pc,
  .pc-br {
    display: none;
  }
  .sp,
  .sp-br {
    display: block;
  }
}

/*
フォーム
*/

input[type="text"],
textarea,
select {
  width: 100%;
  height: 56px;
  padding: 16px 12px;
  line-height: 1;
  border-radius: 8px;
  border: 1px solid #1c1c1c;
}

input[type="text"]:focus,
textarea:focus,
select:focus {
  outline: solid 2px #0017c1;
}

.input__half {
  max-width: 172px;
}

.input__cap {
  font-weight: 500;
  padding-left: 8px;
}

.select__wrap {
  position: relative;
}

.select__wrap::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 28px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #1a1a1a;
  border-left: 1px solid #1a1a1a;
  transform: translateY(-50%) rotate(-135deg);
  pointer-events: none;
}

/* 
入力画面
*/

.form {
  max-width: 544px;
  margin: 0 auto;
}

.form-field:not(:first-of-type) {
  margin-top: 24px;
}

.submit {
  margin-top: 52px;
}

.no-label {
  font-size: 14px;
  color: #ec0000;
  margin-top: 4px;
}

.field-label {
  font-size: 17px;
  font-weight: 600;
}

.required > .field-label::after {
  content: "必須";
  display: inline-block;
  margin-left: 8px;
  font-size: 16px;
  color: #ec0000;
  font-weight: 400;
}

@media only screen and (max-width: 768px) {
  .submit {
    margin-top: 40px;
    margin-bottom: 24px;
  }
}
