@charset "UTF-8";

#cont {
  position: relative;
  background: #F6F2EC;
  padding: 6em 0 1em;
  overflow: hidden;
}

#cont .blur {
    position: absolute;
    z-index: -1;
}

#cont .blur_1 {
    top: 0;
    right: 0;
    transform: translate(35%, -70%);
}

#cont .blur_2 {
    top: 0;
    left: 0;
    transform: translate(-50%, -20%);
}

.cont-in {
  width: 90%;
  margin: 0 auto 2em;
  max-width: 700px;
}

#cont h3 {
  font-size: min(3.255vw, 30px);
  font-family: "Zen Old Mincho", serif;
  text-align: center;
  line-height: 1;
  margin-bottom: 1em;
}

.cont-in-p {
  text-align: justify;
}

/* ----------フォームの中身---------- */
.inq-cont {
  margin-bottom: 1em;
}
.inq-cont:nth-last-child(4) {
  margin-bottom: 2em;
}
.inq-cont select,
.inq-cont input[type=text],
.inq-cont input[type=email],
.inq-cont textarea  {
    background-color: rgba(255, 255, 255, 0.7);
    border: initial;
    padding: .8em 1.5em;
    line-height: 1.5;
}

.inq-cont select:has(option[value="選択してください"]:checked) {
  color: #9C8E8E; /* グレー */
    cursor: pointer;

}

.inq-cont select option {
  color: #333333; /* 通常の黒 */
}

.inq-cont select option[value="選択してください"] {
  color: #888888;
}



.inq-cont input[type="text"],
.inq-cont input[type="email"],
.inq-cont select {
  background-color: rgba(255, 255, 255, 0.7) !important;
  color: #333333; 
  margin-top: .5em;
}
.inq-cont input:-webkit-autofill,
.inq-cont input:-webkit-autofill:hover, 
.inq-cont input:-webkit-autofill:focus,
.inq-cont input:-webkit-autofill:active {
  transition: background-color 50000s ease-in-out 0s;
  
  -webkit-text-fill-color: #333333 !important;
}

.inq-cont input[type="text"]::placeholder,
.inq-cont input[type="email"]::placeholder,
.inq-cont select::placeholder {
  color: #9C8E8E;
}

.inq-arrow {
  position: relative;
}
.inq-arrow::before {
  position: absolute;
  content: "";
  top: 50%;
  right: 5%;
  width: min(3vw,15px);
  height: min(3vw,15px);
  border: solid  #34771E;
  border-width: 0 min(.7vw, 2px) min(.7vw, 2px) 0;
  transform: rotate(45deg)translate(0,-100%);
  z-index: 10;
}


/* ----------個人情報---------- */
.personal {
  margin-bottom: 2em;
}

.personal-info label {
  display: flex;
  align-items: center;
  /* background: #ccc; */
  margin-left: -1em;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
  display: inline-block !important;
  
  appearance: none !important;
  -webkit-appearance: none !important;
  
  width: min(6vw,30px) !important;
  height: min(6vw,30px) !important;
  opacity: 1 !important;
  visibility: visible !important;
  margin-right: 8px !important;
  filter: drop-shadow(2px 2px 1px #ccc);
  
  background-color: #ffffff !important;
  border-radius: 4px;
  
  position: relative !important; 
  cursor: pointer;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"]:checked {
  background-color: #224969 !important; 
  border-color: #224969 !important;
}


.wpcf7-form .wpcf7-acceptance input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  /* 30pxのボックスに合わせてレ点の位置を調整 */
  left: 40%;
  top: 20%;
  width: min(2vw,8px);
  height: min(3vw,14px);
  border: solid #ffffff;
  border-width: 0 min(.7vw,3px) min(.7vw,3px) 0; 
  transform: rotate(45deg);
}
.personal a {
  color: #ED1C24;
  border-bottom: solid 1px #ED1C24;
}
.personal a:hover {
  border-bottom: solid 1px #34771E;
}

.personal p {
  line-height: 1.5;
}

.mail-form {
  text-align: center;
}

.mail_sent {
  display: inline-block;
}
.mail_sent input[type=submit] {
    position: relative;
    display: inline-block;
    padding: .8em 3.5em .8em 3em;
    background: #224969 url(../images/arrow_2.webp) no-repeat 90% 60% / 2em;
    text-align: center;
    transition: .2s ease all;
    border: 1px solid #224969;
    color: #fff;
    line-height: 1;
}
.mail_sent input[type=submit]:hover {
    color: #224969;
    background: #fff url(../images/arrow_2-b.webp) no-repeat 95% 60% / 2em;
}

/* ----------お問い合わせ---------- */

#contact01 {
  background: #F6F2EC;
}

.contact-tel {
  position: relative;
  background: #aaa;
  font-size: min(1.82vw, 18px);
}

#contact01 .sec-in {
  position: relative;
  max-width: 860px;
  width: 87%;
  aspect-ratio: 6 / 2.4;
  z-index: 1;
}

#contact01 .sec-in .blur_2 {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translate(50%,50%);
  z-index: -1;
}


.contact-blur.blur-wrap {
  display: none;
}


#contact01 .contact-in {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding: 5em 0 2em;
}

#contact01 .bg {
  position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0%);
    border-radius: 50%;
    z-index: -1;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #fff;
}

#contact01 .tel {
    display: flex;
    align-items: center;
    margin-bottom: .5em;
}

#contact01 .tel span {
    font-size: 2.8em;
    line-height: 1;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    color: #1F550E;
}

.tel-wrap {
  display: flex;
  justify-content: center;
}

.tel-box {
  display: inline-block;
}

.contact-in img {
  display: block;
  width: 2em;
  height: auto;
  margin: 0 auto;
}

#contact {
  display: none;
}

.required,
.optional {
  font-size: .8em;
  padding: .25em 0.5em;
  background: #34771E;
  margin-left: .5em;
  color: #fff;
}

.optional {
  background: #ccc;
  color: #333;
}

textarea {
  margin-top: .5em;
}






/*768px以下*/
@media screen and (max-width: 768px){

  #cont h3 {
      font-size: min(6.875vw, 28px);
  }

  .contact-tel {
    font-size: min(3.75vw, 16px);
  }

  #contact01 .sec-in {
    width: 100%;
    max-width: 650px;
    max-height: 250px;
    aspect-ratio: 4.2 / 2.4;
  }

  #contact01 .contact-in {
    padding: 3em 0 2em;
    width: 110%;
    left: 50%;
    transform: translateX(-50%);
  }

}













