@charset "UTF-8";

/* ==============================================================
# Contact form 7
============================================================== */
.form-item:nth-child(n+2) {
  margin-top: 32px;
}

@media screen and (max-width: 768px) {
  .form-item:nth-child(n+2) {
    margin-top: 24px;
  }
}

.form-item input::-moz-placeholder {
  color: #ccc;
}

.form-item input::placeholder {
  color: #ccc;
}

.form-item input:not([type=file]):not([type=submit]),
.form-item select {
  height: 42px;
}

.form-item__text {
  font-size: 14px;
  margin-bottom: 4px;
}

/* --------------- セレクトボックス --------------- */
.form-item--select .wpcf7-form-control-wrap {
  position: relative;
}

.form-item--select .wpcf7-form-control-wrap::after {
  content: "";
  position: absolute;
  top: 40%;
  right: 16px;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-bottom: 2px solid #999;
  border-right: 2px solid #999;
}

@media screen and (max-width: 768px) {
  .form-item--select .wpcf7-form-control-wrap::after {
    right: 12px;
  }
}

.form-item--select select {
  padding-right: 32px;
}

/* --------------- ラジオボタン --------------- */
.form-item--radio .wpcf7-list-item {
  margin: 0;
}

.form-item--radio .wpcf7-list-item-label {
  cursor: pointer;
  display: flex;
  padding-left: 0.5rem;
}

@media screen and (max-width: 768px) {
  .form-item--radio .wpcf7-list-item-label {
    padding-left: 0;
  }
}

.form-item--radio .wpcf7-list-item-label::before {
  background: #fff;
  border: 1px solid #b8bcc0;
  border-radius: 100%;
  content: "";
  height: 1.2em;
  margin-bottom: auto;
  margin-right: 0.5em;
  margin-top: auto;
  width: 1.2em;
}

@media (hover: hover) {
  .form-item--radio .wpcf7-list-item-label:hover {
    background: #efefef;
  }
}

.form-item--radio input[type=radio] {
  opacity: 0;
  position: absolute;
}

.form-item--radio input[type=radio]:checked+.wpcf7-list-item-label::before {
  background-color: #26a7e1;
  box-shadow: inset 0 0 0 3px #fff;
}

/* --------------- チェックボックス --------------- */
.form-item--checkbox .wpcf7-list-item {
  margin: 0;
}

.form-item--checkbox input[type=checkbox] {
  opacity: 0;
  position: absolute;
}

.form-item--checkbox .wpcf7-list-item-label {
  cursor: pointer;
  display: flex;
  position: relative;
  padding-left: 0.5rem;
}

@media screen and (max-width: 768px) {
  .form-item--checkbox .wpcf7-list-item-label {
    padding-left: 0;
  }
}

.form-item--checkbox .wpcf7-list-item-label::before {
  content: "";
  display: block;
  margin-bottom: auto;
  margin-right: 0.5em;
  margin-top: auto;
  width: 1.2em;
  height: 1.2em;
  border: 1px solid #b8bcc0;
  background: #fff;
}

@media (hover: hover) {
  .form-item--checkbox .wpcf7-list-item-label:hover {
    background: #efefef;
  }
}

.form-item--checkbox input[type=checkbox]:checked+.wpcf7-list-item-label::after {
  content: "";
  display: block;
  width: 18px;
  height: 10px;
  border-top: 3px solid #26a7e1;
  border-right: 3px solid #26a7e1;
  transform: rotate(135deg);
  position: absolute;
  left: calc(3px + 0.5rem);
  top: 5px;
}

@media screen and (max-width: 768px) {
  .form-item--checkbox input[type=checkbox]:checked+.wpcf7-list-item-label::after {
    left: 3px;
  }
}

/* --------------- 角ブースオプション --------------- */
.form-item--corner .form-item__caution {
  background: #f6f6f6;
  padding: 16px;
  display: inline-block;
}

@media screen and (max-width: 768px) {
  .form-item--corner .form-item__caution {
    padding: 12px 6px;
  }
}

.form-item--corner .form-item__caution ul {
  margin-left: 0 !important;
}

.form-item--corner .form-item__caution ul li {
  font-size: 12px;
  list-style: none;
  line-height: 1.5 !important;
  padding-left: 1.2em;
  position: relative;
}

.form-item--corner .form-item__caution ul li::before {
  content: "※";
  position: absolute;
  left: 0;
  top: 0;
}

.form-item--corner .form-item__caution-title {
  font-weight: bold;
  font-size: 12px;
}

.form-item__label {
  font-weight: bold;
  display: flex;
  gap: 4px;
  align-items: center;
  line-height: 1.3;
  margin-bottom: 8px;
}

@media screen and (max-width: 768px) {
  .form-item__label {
    flex-direction: row-reverse;
    justify-content: space-between;
    margin-bottom: 4px;
  }
}

.is-required {
  flex: 0 0 42px;
  font-size: 13px;
  padding: 4px 6px;
  background: #e60012;
  color: #fff;
  border-radius: 4px;
  line-height: 1;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .is-required {
    font-size: 12px;
    flex: 0 0 36px;
    padding: 4px;
  }
}

.is-any {
  flex: 0 0 42px;
  font-size: 13px;
  padding: 4px 6px;
  background: #aaa;
  color: #fff;
  border-radius: 4px;
  line-height: 1;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .is-any {
    font-size: 12px;
    flex: 0 0 36px;
    padding: 4px;
  }
}

.form-item__caution {
  font-size: 12px;
}

.form-item__caution:nth-of-type(1) {
  margin-top: 4px;
}

.form-item__caution.strong {
  color: #e60012;
  font-weight: normal;
}

.form-section__title {
  margin: 40px 0 20px;
  color: #26a7e1;
  font-weight: bold;
  font-size: 24px;
  position: relative;
  padding-left: 16px;
  line-height: 1.3;
}

@media screen and (max-width: 768px) {
  .form-section__title {
    font-size: 20px;
  }
}

.form-section__title::before {
  content: "";
  position: absolute;
  top: 60%;
  left: 0;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #26a7e1;
}

.form-group {
  margin-top: 16px;
}

.form-group--sns .form-group__label {
  flex: 0 0 160px;
}

.form-group--sns .wpcf7-form-control-wrap {
  flex: 0 1 600px;
}

.form-group__item {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media screen and (max-width: 768px) {
  .form-group__item {
    display: block;
  }
}

.form-group__item:nth-child(n+2) {
  margin-top: 16px;
}

.form-group__label {
  font-size: 15px;
}

.form-item--img .form-item__caution {
  padding: 16px;
  background: #fffcd2;
  display: inline-block;
  font-weight: bold;
  color: #e60012;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .form-item--img .form-item__caution {
    padding: 12px 6px;
  }
}

.form-item--img input[type=file] {
  margin: 0 !important;
}

.form-item--submit {
  margin-top: 40px;
}

.form-item--submit .wpcf7-submit {
  margin: 0 auto !important;
  width: 100%;
  max-width: 300px;
}

.wpcf7-spinner {
  display: none;
}

.wpcf7-not-valid-tip {
  font-size: 12px;
  font-weight: bold;
}