@charset "UTF-8";

/*
Theme Name: Yamato
Theme URI:
Author: Yamato
Author URI:
Description:
Version: 1.0
Text Domain: yamato
*/

.wpcf7-list-item {
  margin: 0;
}

.wpcf7-not-valid-tip {
  display: none;
}

input[type="radio"] {
  opacity: 0;
  visibility: hidden;
  position: absolute;
}

.wpcf7-list-item.first {
  margin-left: 0;
}

span.wpcf7-list-item-label {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-right: 30px;
}

span.wpcf7-list-item-label::before {
  display: block;
  content: "";
  border-radius: 50%;
  border: 1px solid #bcbcbc;
  width: 2.4rem;
  height: 2.4rem;
  margin-right: 1rem;
}

span.wpcf7-list-item-label::after {
  display: none;
  position: absolute;
  content: "";
  border-radius: 0.1rem;
  border-radius: 50%;
  width: 1.2rem;
  height: 1.2rem;
  background-color: #00a0e9;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
}

input[type="radio"]:checked + span.wpcf7-list-item-label::after {
  display: block;
}

.c-form_btn p {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.c-form_btn br {
  display: none;
}

.message-ctn {
  position: relative;
}

.message-ctn .abh {
  position: absolute;
  display: block;
}

.message-ctn .abh.abh01 {
  width: 32.8rem;
  left: 0;
  top: 5rem;
}

.message-ctn .abh.abh02 {
  width: 26rem;
  right: 0;
  top: 5rem;
}

.message-ctn .abh.abh03 {
  width: 26rem;
  left: 57rem;
  bottom: -3rem;
}

.message-ctn p {
  position: relative;
  z-index: 1;
}

.message-ctn p.tx {
  font-size: 2.6rem;
  line-height: 2.2;
}

@media screen and (min-width: 768px) {
}

@media screen and (max-width: 767px) {
  .message-ctn .abh.abh01 {
    width: 23.2rem;
    left: -6.3rem;
    top: 13.3rem;
  }

  .message-ctn .abh.abh02 {
    width: 17.3rem;
    right: -4.6rem;
    top: 36.5rem;
  }

  .message-ctn .abh.abh03 {
    width: 17.3rem;
    left: 8.5rem;
    bottom: 7.4rem;
  }

  .message-ctn p.tx {
    font-size: 1.6rem;
  }
}
