@charset "UTF-8";

.contact-notes {
  background: var(--red);
  color: var(--white);
  padding: 2rem;
  border-radius: 20px;
}
.contact-notes ul li {
  margin-bottom: 2rem;
}
.contact-notes ul li:last-child {
  margin-bottom: 0;
}
.contact-notes .text {
  line-height: 2;
}
.contact-row {
  display: flex;
  align-items: center;
  padding: 2rem 0;
  border-bottom: var(--aqua) 1px solid;
}
.contact-row dt {
  width: 320px;
}
.contact-row dd {
  width: calc(100% - 320px);
}
.required {
  position: relative;
  display: inline-block;
}
.required::after {
  display: inline-block;
  content: '必須';
  background: var(--red);
  color: var(--white);
  font-weight: 600;
  border-radius: 4px;
  padding: 0 8px;
  line-height: 1.7;
  margin-left: 2rem;
}
.contact-row input,
.contact-row select,
.contact-row textarea {
  padding: 1rem;
  width: 100%;
  border-radius: 4px;
  border: var(--text-color) 1px solid;
}
.contact-name {
  max-width: 400px;
}
.contact-select-item {
  max-width: 400px;
  position: relative;
}
.contact-select-item::before {
  position: absolute;
  top: 17px;
  right: 16px;
  content: '\f0d7';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--text-color);
  display: block;
}
.contact-select-item .contact-name {
  cursor: pointer;
}
.contact-submit {
  text-align: center;
  margin-top: 2rem;
}
label {
  display: block;
  margin-bottom: 2rem;
}
input[type='checkbox'] {
  appearance: checkbox;
}
#btn {
  background: var(--deep-blue);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 4px;
}
#btn:disabled {
  background: #ccc;
}
@media (max-width: 599px) {
  .contact-row {
    display: block;
  }
  .contact-row dt {
    width: 100%;
    margin-bottom: 1rem;
  }
  .contact-row dd {
    width: 100%;
  }
  .contact-select-item::before {
    top: 13px;
  }
}
