/*animal-communicator.css*/

/* FV */
section.fv {
  /* background-image: url(/wp-content/themes/AnimalCommunication_theme/library/images/common/background_fv.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center; */
}

.page-id-8 .fv-inner {
  max-width: unset;
}

.fv-img {
  position: relative;
  height: 435px;
}

.page-id-8 .fv-img {
  background-color: #feeacf;
}

.fv-img-inner {
  position: relative;
  width: 803px;
  margin: 0 auto;
}

.fv-catch {
  position: absolute;
  top: 100px;
  left: 0;
}

.catch_img_pc {
  position: absolute;
  top: 50px;
  right: 0;
}

.catch_img2_pc {
  position: relative;
  z-index: 0;
}

.fv-icon {
  position: absolute;
  top: 330px;
  left: 0;
}

.fv-bottom {
  background-color: #ebfffd;
  padding: 80px 0 50px;
}

h1.catch_sp {
  display: none;
}

.page-id-8 .fv-inner .text__block {
  width: 803px;
  margin: 50px auto 40px;
}

.fv-inner .text__block {
  font-weight: 700;
  background-color: #fff;
  border: 2px solid #0cbaa0;
  padding: 58px 60px 55px 55px;
}

.text__block h2 {
  color: #0cbaa0;
  font-size: 1.78571rem;
  line-height: 41px;
}

.text__block p {
  font-size: 1.28571rem;
  margin-top: 10px;
}

/* FV */

/* contents */
.overview {
  padding: 54px 0 15px;
  text-align: left;
}

.requirements,
.voice,
.flow {
  padding: 30px 0 15px;
  text-align: left;
}

.faq {
  text-align: left;
}

.form {
  padding: 0 0 15px;
  text-align: left;
}

section.requirements,
section.faq {
  background-color: #fff7ec;
}

.requirements .section-wrap,
.faq .section-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 0;
}

section#form {
  background-color: #f7f5fa;
}

.form .section-wrap {
  max-width: 1000px;
  background-color: #f7f5fa;
  margin: 0 auto;
  padding: 30px 0;
}

.about_us,
.recommend,
.about_work,
.reasons_to_choose {
  margin-bottom: 50px;
}

.overview h2,
.requirements h2,
.voice h2,
.flow h2,
.faq h2,
.form h2 {
  font-size: 2.28571rem;
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid;
}

.overview h3 {
  color: #f69600;
  font-size: 1.57143rem;
  margin-bottom: 15px;
}

.overview p,
.overview ul,
.requirements p,
.requirements ul,
.voice p,
.flow p,
.faq p,
.faq ul,
.form p {
  font-size: 1.14286rem;
  font-weight: 500;
}

.overview ul,
.requirements ul,
.faq ul {
  padding-left: 20px;
}

.overview .recommend p {
  color: #f69600;
}

.card__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.point__card {
  position: relative;
  border: 2px solid #0cbaa0;
  border-radius: 2px;
  text-align: center;
  max-width: 381px;
  background: #fff;
  overflow: hidden;
}

.point__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 75px solid #0cbaa0;
  border-right: 75px solid transparent;
  z-index: 1;
}

/* POINT ラベル */
.point__ribbon {
  position: absolute;
  top: 49px;
  left: -19px;
  color: #fff;
  font-size: 1.14286rem;
  font-weight: 500;
  padding: 0.4em 1.2em;
  transform: rotate(-45deg);
  transform-origin: left top;
  z-index: 2;
}

.point__card h3 {
  color: unset;
  font-size: 1.28571rem;
  font-weight: 700;
  margin: 1em;
}

.point__card img {
  width: 80%;
  height: auto;
  margin-bottom: 1em;
}

.point__card p {
  font-weight: 500;
  margin: 0 30px 30px;
  text-align: left;
}

.counselor.counselor_sp {
  display: none;
}

.counselors_voice {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  padding: 35px 0;
}

.counselorA,
.counselorB {
  border-bottom: 1px solid;
}

span.txt__g {
  color: #0cbaa0;
}

.flow .contents-inner p {
  max-width: 720px;
  margin: 0 auto;
}

.step-flow {
  max-width: 662px;
  margin: 40px auto;
  line-height: 1.7;
}

.step {
  position: relative;
  margin: 3em 0;
  padding-left: 1.5em;
  border-left: 2px solid;
}

.step-number {
  position: absolute;
  top: -2.2em;
  left: -36px;
  font-weight: bold;
  padding: 0 0.5em;
  font-size: 0.75rem;
}

.step-label {
  display: inline-block;
  border: 2px solid #0cbaa0;
  color: #0cbaa0;
  padding: 0.1em 0.6em;
  border-radius: 20px;
  font-size: 0.9em;
  margin-bottom: 0.3em;
}

.answers {
  margin: 20px 0;
}

p.txt__q {
  color: #f69600;
  font-weight: 700;
}

p.txt__a {
  font-weight: 700;
}

p.txt__detail {
  padding-left: 20px;
}

ul.txt__detail {
  margin: 0 0 0 20px;
}

/* contents */

/* form */
.form .text__block {
  margin-bottom: 50px;
}

form .hidden-fields-container {
  display: none !important;
}

.contact-columns {
  border-radius: 8px;
  padding: 25px 20px;
  margin-bottom: 40px;
  background-color: #fff;
  filter: drop-shadow(10.607px 10.607px 7.5px rgba(76, 72, 65, 0.46));
}

.contact-columns h3 {
  font-size: 1.57143rem;
  border-left: 5px solid #0cbaa0;
  padding-left: 12px;
}

.form-agreement h3 {
  font-size: 1.42857rem;
  margin-bottom: 30px;
}

.form-item label {
  display: inline-block;
  margin-bottom: 10px;
}

.cf7-required,
.cf7-optional {
  font-size: 1rem;
  padding: 2px 8px;
  color: #fff;
  border-radius: 12px;
  margin-left: 10px;
  vertical-align: middle;
}

.cf7-required {
  background-color: #ff4159;
}

.cf7-optional {
  background-color: #0cbaa0;
}

div#wpcf7-f12-o1 p {
  font-size: 1.28571rem !important;
}

p.note {
  margin-top: 20px;
}

.contact-columns input[type="text"],
.contact-columns input[type="email"],
.contact-columns input[type="tel"],
.contact-columns input[type="url"],
.contact-columns input[type="date"],
.contact-columns select,
.contact-columns textarea {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.contact-columns input[type="number"] {
  width: 17%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.contact-columns .wpcf7-checkbox,
.contact-columns .wpcf7-radio {
  margin-top: 5px;
  display: block;
}

span.wpcf7-form-control.wpcf7-checkbox.wpcf7-validates-as-required {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-columns textarea {
  min-height: 150px;
  margin-top: 30px;
  resize: vertical;
}

.cf7-submit-btn {
  text-align: center;
  margin-top: 20px;
}

.cf7-submit-btn input[type="submit"] {
  background-color: #f7941d;
  color: white;
  font-size: 16px;
  padding: 12px 32px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
}

.cf7-submit-btn input[type="submit"]:hover {
  opacity: 0.9;
}

.form-agreement p {
  font-size: 1.42857rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

p.agreement {
  font-weight: 700;
  margin-top: 50px;
  text-align: center;
}

.form p a {
  text-decoration: underline;
  transition: unset;
}

.btn {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.btn input[type="submit"] {
  font-size: 1.75929rem;
  color: #fff;
  background-color: #f69600;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 600px;
  height: 101px;
  text-align: center;
  border: none;
  cursor: pointer;
  filter: drop-shadow(10.607px 10.607px 7.5px rgba(76, 72, 65, 0.46));
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn input[type="submit"]:active {
  opacity: 0.7;
}

/* form */

@media screen and (max-width: 768px) {
  .wrap-all {
    max-width: 768px;
  }

  section.fv {
    height: 800px;
    margin-bottom: 50px;
  }

  .fv-inner,
  .section-inner {
    max-width: 748px;
    margin: 0 auto;
  }

  .fv-img {
    height: 350px;
  }

  .fv-img-inner {
    width: 723px;
  }

  .fv-catch {
    top: 67px;
  }

  .catch_img_pc {
    top: 20px;
  }

  .fv-icon {
    top: 260px;
  }

  .catch_pc img,
  .fv-icon img {
    width: 85%;
  }

  .catch_img2_pc {
    width: 100%;
  }

  .page-id-8 .fv-inner .text__block {
    position: relative;
    width: 85%;
    margin: 50px auto 40px;
    padding: 30px 30px 30px 30px;
    z-index: 1;
  }

  .fv-bottom {
    padding: 160px 0 50px;
  }

  .point__card {
    max-width: 355px;
  }
}

@media screen and (max-width: 480px) {
  .wrap-all {
    max-width: 425px;
  }

  .requirements,
  .voice,
  .flow {
    padding: 20px 0 15px;
  }

  .requirements .section-wrap {
    padding: 0;
  }

  .fv-inner,
  .section-inner {
    max-width: 355px;
  }

  .fv-inner {
    margin: 0 auto;
  }

  .page-id-8 .section-inner {
    margin: 0 30px;
  }

  section.fv {
    background-image: url(/wp-content/themes/AnimalCommunication_theme/library/images/common/background_fv_sp.png);
    background-size: cover;
    background-position: center;
    /* height: 100vh; */
  }

  section.fv {
    height: 1070px;
  }

  .page-id-8 .fv-img,
  .fv-bottom {
    background-color: unset;
  }

  .fv-img {
    height: 500px;
  }

  .fv-img-inner {
    width: 100%;
  }

  .fv-catch {
    top: 27px;
    left: 240px;
  }

  .catch_img_pc {
    display: none;
  }

  .catch_img2_pc {
    display: none;
  }

  h1.catch_pc {
    display: none;
  }

  h1.catch_sp {
    display: block;
  }

  .catch_sp img {
    width: 70%;
  }

  .fv-bottom {
    padding: 50px 0 0;
  }

  .fv-icon {
    top: 420px;
    left: 18px;
  }

  .fv-icon img {
    width: 100%;
  }

  .page-id-8 .btn {
    width: 350px;
    margin: 30px auto;
  }

  .btn a {
    font-size: 1.4rem;
    font-weight: 700;
    height: 60px;
  }

  .page-id-8 .fv-inner .text__block {
    width: 75%;
  }

  .fv-inner .text__block {
    padding: 14px;
  }

  .text__block h2 {
    font-size: 1.2rem;
    line-height: 30px;
  }

  .text__block p {
    font-size: 1rem;
    margin-top: 10px;
    text-align: left;
  }

  .overview {
    padding: 0 0 15px;
  }

  .overview h3 {
    font-size: 1.2rem;
  }

  .overview h2,
  .requirements h2,
  .voice h2,
  .flow h2,
  .faq h2,
  .form h2 {
    font-size: 1.42857rem;
    padding-bottom: 5px;
  }

  .overview p,
  .overview ul,
  .requirements p,
  .requirements ul,
  .voice p,
  .flow p,
  .faq p,
  .faq ul,
  .form p {
    font-size: 1rem;
  }

  .overview ul,
  .requirements ul,
  .faq ul {
    padding-left: 15px;
  }

  .counselor.counselor_pc {
    display: none;
  }

  .counselor.counselor_sp {
    display: unset;
  }

  .counselors_voice {
    padding: 20px 0;
    gap: 5px;
  }

  .counselor__img {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
  }

  .counselor__img img {
    width: 25%;
  }

  .counselors_voice {
    flex-direction: column;
  }

  .step-flow {
    margin: 40px 20px;
  }

  /* .flow .contents-inner {
    margin: 0 20px;
  } */

  .step-number {
    left: -27px;
  }

  p.txt__detail {
    padding-left: 5px;
  }

  ul.txt__detail {
    margin: 0 0 0 10px;
  }

  div#wpcf7-f12-o1 p {
    font-size: 1.15rem !important;
  }

  p.agreement {
    text-align: left;
  }

  .btn input[type="submit"] {
    font-size: 1.4rem;
    width: 350px;
    height: 70px;
  }
}

@media screen and (max-width: 390px) {
  .page-id-8 .section-inner {
    margin: 0 20px;
  }

  .catch_sp img {
    width: 90%;
  }

  .fv-icon {
    width: 95%;
    top: 445px;
  }

  .fv-icon {
    width: 95%;
    top: 440px;
    left: 18px;
  }
}

@media screen and (max-width: 375px) {
  .fv-icon {
    top: 433px;
    left: 15px;
  }

  .fv-icon img {
    width: 100%;
  }

  .fv-bottom {
    padding: 30px 0 0;
  }

  .page-id-8 .fv-inner .text__block {
    margin: 30px auto 30px;
  }

  .step-number {
    left: -15px;
  }

  .page-id-8 .section-inner {
    margin: 0 15px;
  }
}

@media screen and (max-width: 320px) {
  .fv-catch {
    top: 50px;
    left: 200px;
  }

  .fv-icon {
    top: 440px;
    left: 9px;
  }

  .fv-icon img {
    width: 102%;
  }

  .page-id-8 .btn {
    width: 300px;
  }

  .btn a {
    font-size: 1.2rem;
  }

  .btn input[type="submit"] {
    font-size: 1.2rem;
    width: 300px;
  }
}
