@charset "utf-8";

/*@header*/
.header-bg {
  width: 100%;
  position: relative;
  display: block;
}
.header-bg h1 {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%,-50%);
  color: #fff;
  text-align: center;
  font-size: 44px;
  font-weight: normal;
  letter-spacing: 2px;
  line-height: 50px;
}
.header-bg span {
  font-size: 20px;
}

@keyframes flash {
  0%,100% {
    filter: drop-shadow(0 0 6px #ffb1d6)
  }
  50% {
    filter: none
  }
}

@media screen and (max-width:640px){
  .header-bg img {
    object-fit: cover;
    height: 250px;
    width: 100%;
  }
}

/*end@header*/

/*@section-common*/
.section-info {
  margin-top: 150px;
  margin-left: 100px;
  margin-bottom: 50px;
  font-size: 15px;
  letter-spacing: 0.03rem;
  line-height: 1.8rem;
  font-weight: bold;
}
.section-1 {
  margin: 0;
  padding: 0;
  width: 100%;
  position: relative;
}
#title-box{
  background-color: rgba(47, 49, 49, 1);
  width: 40%;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
  z-index: 100;
  position: relative;
}
.title{
  flex-direction: column;
  margin-left: 100px;
}
.section-1 h2{
  line-height: 0;
  font-size: 1.5rem;
  padding-top: 40px;
  padding-bottom: 20px;
  letter-spacing: 0.05em;
  color: #fff;
  font-weight: normal;
}
#title-box p {
  border-top: 2px solid #f07fb4;
  max-width: 30px;
  margin-left: 100px;
}
.inner {
  background-color: #fff;
  margin: 0 100px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:  0 0 3px #f07fb4;
  transform: translateY(-40px);
  text-align: center;
}

#form-btn {
  text-align: center;
}
.button {
  position: relative;
  margin-top: 50px;
  background-color: #FFF;
  display: inline-block;
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  cursor: pointer;
  overflow: hidden;
  border: #f07fb4 solid 2px;
  padding: 15px 40px;
  -webkit-appearance: none;
}
.button:hover {
  color: #FFF;
  background-color: #f07fb4;
  transition: 0.5s;
}

#contact {
  text-align: center;
}
form {
  /* background-color: aqua; */
  margin: 100px 100px;
  text-align: left;
  max-width: 870px;
}
tr {
  display: flex;
  flex-flow: column;
}
td input,
td textarea {
  width: 68vw;
  max-width: 870px;
}
td {
  margin-bottom: 30px;
}
td input {
  height: 30px;
}
td textarea {
  height: 35px;
}
.checkbox {
  margin-top: 30px;
  text-align: center;
}
/*end@section-common*/

@media screen and (max-width:1100px) {
  form {
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 80px;
  }
  td input,
  td textarea {
    width: 68vw;
  }
}

@media screen and (max-width:800px) {
  td input,
  td textarea {
    width: 55vw;
  }
}


@media screen and (max-width:640px){
  .section-info {
    margin-top: 100px;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 40px;
    font-size: 12px;
  }

  #title-box{
    width: 60%;
  }
  .title{
    margin-left: 30px;
  }
  .section-1 h2{
    font-size: 1.3rem;
    padding-top: 30px;
    padding-bottom: 15px;
  }
  #title-box p {
    border-top: 1.5px solid #f07fb4;
    max-width: 20px;
    margin-left: 30px;
  }
  .inner {
    margin: 0 30px;
    transform: translateY(-30px);
  }
  
  .button {
    margin-top: 35px;
    font-size: 1rem;
    border: #f07fb4 solid 2px;
    padding: 15px 40px;
    color: #000;
  }
  
  form {
    margin-left: 25px;
    margin-right: 25px;
    margin-top: 60px;
  }
  td input,
  td textarea {
    width: 240px;
  }
  td {
    margin-bottom: 25px;
  }
  td input {
    height: 25px;
  }
  td textarea {
    height: 30px;
  }
  .checkbox {
    margin-top: 30px;
    text-align: center;
  }
}

/* Contact Form 7 送信ボタンのスタイル */
.wpcf7-form-control.wpcf7-submit {
  position: relative;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  cursor: pointer;
  overflow: hidden;
  border: #f07fb4 solid 2px;
  padding: 15px 40px;
  background-color: transparent;
  color: inherit;
  -webkit-appearance: none;
  transition: all 0.5s ease;
  z-index: 5;
}

.wpcf7-form-control.wpcf7-submit:hover {
  background-color: #f07fb4;
  color: #FFF;
}

.wpcf7-form-control.wpcf7-submit:active {
  background-color: #ff99cc;
}

.wpcf7-spinner {
  display: none !important;
}

/* Contact Form 7 フォーム全体のスタイル */
.wpcf7-form {
  margin: 100px 100px;
  text-align: left;
  max-width: 870px;
}

.wpcf7-form-control {
  font-size: 14px;
}

.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7-form-control-wrap input[type="text"],
.wpcf7-form-control-wrap input[type="email"],
.wpcf7-form-control-wrap input[type="tel"],
.wpcf7-form-control-wrap input[type="date"],
.wpcf7-form-control-wrap textarea {
  max-width: 870px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
}

.wpcf7-form-control-wrap input[type="text"],
.wpcf7-form-control-wrap input[type="email"],
.wpcf7-form-control-wrap input[type="tel"],
.wpcf7-form-control-wrap input[type="date"] {
  height: 30px;
}

.wpcf7-form-control-wrap textarea {
  height: 35px;
  resize: vertical;
}

.wpcf7-form-group {
  margin-bottom: 30px;
}

.wpcf7-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.wpcf7-checkbox-fields,
.wpcf7-radio-fields {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.wpcf7 p {
  margin: 0;
  padding: 0;
}

#form-btn {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 30px;
}

@media screen and (max-width: 1100px) {
  .wpcf7-form {
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 80px;
  }

  .wpcf7-form-control-wrap input[type="text"],
  .wpcf7-form-control-wrap input[type="email"],
  .wpcf7-form-control-wrap input[type="tel"],
  .wpcf7-form-control-wrap input[type="date"],
  .wpcf7-form-control-wrap textarea {
    width: calc(68vw - 100px);
  }
}

@media screen and (max-width: 800px) {
  .wpcf7-form-control-wrap input[type="text"],
  .wpcf7-form-control-wrap input[type="email"],
  .wpcf7-form-control-wrap input[type="tel"],
  .wpcf7-form-control-wrap input[type="date"],
  .wpcf7-form-control-wrap textarea {
    width: calc(55vw - 100px);
  }
}

@media screen and (max-width: 640px) {
  .wpcf7-form {
    margin: 50px 30px;
    margin-top: 80px;
  }

  .wpcf7-form-control-wrap input[type="text"],
  .wpcf7-form-control-wrap input[type="email"],
  .wpcf7-form-control-wrap input[type="tel"],
  .wpcf7-form-control-wrap input[type="date"],
  .wpcf7-form-control-wrap textarea {
    width: 100%;
  }

  .wpcf7-form-control.wpcf7-submit {
    font-size: 0.9rem;
    padding: 12px 30px;
  }
}
