/*
Theme Name: BE Recurrent
Template: twentytwentyfour
*/


/**
番号つき見出し
*/
.is-style-head-num {
  position: relative;
  padding-left: 25px !important;
  padding-block: 4px !important;


  &::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -15px;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  }

  &[data-num="1"]::before {
    background-image: url('./assets/img/num-1.svg');
  }

  &[data-num="2"]::before {
    background-image: url('./assets/img/num-2.svg');
  }

  &[data-num="3"]::before {
    background-image: url('./assets/img/num-3.svg');
  }

  &[data-num="4"]::before {
    background-image: url('./assets/img/num-4.svg');
  }

  &[data-num="5"]::before {
    background-image: url('./assets/img/num-5.svg');
  }

  &[data-num="a"]::before {
    background-image: url('./assets/img/num-a.svg');
  }

  &[data-num="b"]::before {
    background-image: url('./assets/img/num-b.svg');
  }

  &[data-num="c"]::before {
    background-image: url('./assets/img/num-c.svg');
  }
}


.wpcf7-form {

  label {
    display: block;
    font-weight: bold;
  }
}

.wpcf7-form-control-wrap {
  input {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    font-size: 16px;

    &:focus {
      border-color: #007bff;
      outline: none;
    }

    &[type=checkbox] {
      width: auto;
    }
  }

  textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    font-size: 16px;

    &:focus {
      border-color: #007bff;
      outline: none;
    }
  }
}

.flex {
  display: flex;
  align-items: center;
  gap: 20px;

  > p {
    display: flex;
    align-items: center;
  }
}

.wpcf7-submit {
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 15px;
  font-size: 16px;
  cursor: pointer;

  &:hover {
    background-color: #0056b3;
  }
}

.reset {
  background-color: #f8f9fa;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px 15px;
  font-size: 16px;
  cursor: pointer;

  &:hover {
    background-color: #e2e6ea;
  }
}

.page-title {
  margin-bottom: 20px;
  padding: 10px 20px;
  background-color: #4eae47;
  clip-path: polygon(0 0, 95% 0, 100% 100%, 0% 100%);
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

.wp-block-site-logo{
  max-width: 500px;

  img {
    width: 100%;
    height: auto;
  }
}

[data-sp="true"] {
  display: none;
}

[data-sp="false"] {
  display: inline-block;
}

@media screen and (max-width: 820px) {
  .wp-block-site-logo {
    max-width: 200px;
  }
}

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

  [data-sp="true"] {
    display: inline-block;
  }

  [data-sp="false"] {
    display: none;
  }
}