@charset "UTF-8";

.contact {
  padding-top: 1.25rem;
}

.contact__inner {
  padding-inline: var(--gutter-x);
}

.contact__logo {
  max-width: 12.3125rem;
  margin-inline: auto;
}

.contact__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  padding: 0.75rem 1.5rem 0.75rem 1.1875rem;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.6;
  border: 3px dashed var(--color-black);
  border-radius: 0.625rem;
}

.contact__title::after {
  content: "";
  display: block;
  width: 2.25rem;
  aspect-ratio: 1;
  background: center / contain no-repeat url("../images/common/bird.webp");
  transform: scale(-1, 1);
}

.contact__text {
  margin-top: 3.2rem;
  font-size: 0.9375rem;
}

.contact__text span {
  font-weight: 500;
  color: var(--color-red);
}

.contact__text a {
  font-weight: 600;
  color: var(--color-orange);
  text-decoration: underline;
}

.contact__text .indent {
  padding-left: 1em;
  text-indent: -1em;
}

.contact-form {
  margin-top: 1.5rem;
}

.contact-form-group:not(:first-child) {
  margin-top: 1.5rem;
}

.contact-form-label {
  display: flex;
  align-items: center;
  margin-bottom: 0.625rem;
  gap: 0.625rem;
  font-weight: 600;
  line-height: 1.2;
}

.contact-form-label span {
  font-size: 1rem;
  color: var(--color-red);
}

.contact-form-input-text {
  padding: 0.5em 0.5em;
  width: 100%;
  min-height: 3rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
}

.contact-form-textarea {
  padding: 0.5em 0.5em;
  width: 100%;
  height: 25rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  overflow-y: auto;
  resize: none;
}

/* 
.contact-form-radio-buttons {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 1.25rem;
}

.contact-form-radio-button {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 500;
  line-height: 1.8;
}

.contact-form-input-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.contact-form-radio-button-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.375rem;
  aspect-ratio: 1;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 50%;
}

.contact-form-radio-button-mark::after {
  content: "";
  display: block;
  width: calc(100% - 0.375rem);
  aspect-ratio: 1;
  background: var(--color-orange);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.1s var(--ease-in-out);
}

.contact-form-input-radio:checked+.contact-form-radio-button-mark::after {
  opacity: 1;
} */

.contact-form-agree {
  /* margin-top: 3rem; */
}

.contact-form-agree-label {
  display: flex;
  gap: 0.375rem;
}

.contact-form-agree-mark {
  position: relative;
  flex-shrink: 0;
  width: 1.375rem;
  aspect-ratio: 1;
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.contact-form-agree-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 1.5rem;
  aspect-ratio: 24/15;
  background: center / contain no-repeat url("../images/common/check-mark.svg");
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.1s var(--ease-in-out);
}

.contact-form-agree-input:checked+.contact-form-agree-mark::after {
  opacity: 1;
}

.contact-form-submit {
  margin-top: 1.5rem;
}

.contact-form-input-file {
  display: flex;
  justify-content: center;
  padding: 1.5rem 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
}

.contact-form-input-file-input {
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.75rem;
  border: 1px dashed var(--color-border);
  border-radius: 0.625rem;
}

.contact-form-input-file-input::file-selector-button {
  margin-right: 0.5rem;
  padding: 0.375rem 0.5rem;
  font-weight: 400;
  font-size: 0.75rem;
  line-height: 1.8;
  color: var(--color-white);
  background: var(--color-gray);
  border-radius: 0.5rem;
  border: none;
}

.contact-form-note {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
}

/* contact form 7 */
.contact-form-radio-buttons {}

.contact-form-radio-buttons .contact-form-radio {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}

.contact-form-radio-buttons .wpcf7-list-item {
  margin-left: 0;
}

.contact-form-radio-buttons .wpcf7-list-item-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 500;
  line-height: 1.8;
}

.contact-form-radio-buttons .wpcf7-list-item-label::before {
  content: "";
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.375rem;
  aspect-ratio: 1;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 50%;
}

.contact-form-radio-buttons .wpcf7-list-item-label::after {
  position: absolute;
  top: 50%;
  left: calc(0.375rem / 2);
  content: "";
  display: block;
  width: calc(1.375rem - 0.375rem);
  aspect-ratio: 1;
  background: var(--color-orange);
  border-radius: 50%;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.1s var(--ease-in-out);
}

.contact-form-radio-buttons input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.contact-form-radio-buttons input[type="radio"]:checked+.wpcf7-list-item-label::after {
  opacity: 1;
}

.contact-form-agree {
  margin-top: 3rem;
}

.contact-form-agree .wpcf7-list-item {
  margin-left: 0;
}

.wpcf7-form-control-wrap {}

.wpcf7-form-control {}

.wpcf7-acceptance {}

.wpcf7-list-item {}

.contact-form-agree .wpcf7-list-item-label {
  position: relative;
  display: flex;
  gap: 0.375rem;
}

.contact-form-agree .wpcf7-list-item-label::before {
  content: "";
  position: relative;
  flex-shrink: 0;
  width: 1.375rem;
  aspect-ratio: 1;
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.contact-form-agree .wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc((1.5rem - 1.375rem) / -2);
  display: block;
  width: 1.5rem;
  aspect-ratio: 24/15;
  background: center / contain no-repeat url("../images/common/check-mark.svg");
  opacity: 0;
  transform: translate(0, -50%);
  transition: opacity 0.1s var(--ease-in-out);
}

.contact-form-agree input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.contact-form-agree input[type="checkbox"]:checked+.wpcf7-list-item-label::after {
  opacity: 1;
}

.contact-form-submit {
  position: relative;
}

.contact-form-submit input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.375rem;
  max-width: 22rem;
  width: 100%;
  min-height: 4rem;
  padding: 0.25em var(--gutter-x);
  font-weight: 700;
  border-radius: 100vmax;
  background: var(--color-white);
  border: 3px solid var(--color-orange);
  cursor: pointer;
}

.contact-form-submit::after {
  position: absolute;
  top: 50%;
  right: var(--gutter-x);
  content: "";
  display: block;
  width: 1.625rem;
  aspect-ratio: 1/1;
  background: center / contain no-repeat url("../images/common/icon_arrow_next.svg");
  transform: translateY(-50%);
  pointer-events: none;
}

.wpcf7-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 完了ページ */
.contact-thanks {
  margin-top: 2rem;
}

.contact-thanks__text {
  display: grid;
  gap: 1.5em;
  font-size: 0.9375rem;
}

.contact-thanks-button {
  margin-top: 3rem;
}

/* エントリーフォーム */
.entry-description {
  margin-top: 2rem;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.entry-description dt {
  margin-bottom: 0.125rem;
  font-size: 0.8125rem;
  color: var(--color-orange);
  line-height: 1.8;
  letter-spacing: 0;
}