@font-face {
  font-family: "Tsukushi A Round Gothic";
  src: url("../fonts/Tsukushi-A-Round-Gothic-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Yu Gothic";
  src: url("../fonts/yugothic.ttf") format("truetype");
}

html {
  margin-top: 0px !important;
  scroll-behavior: smooth;
}

body {
  font-family: "Tsukushi A Round Gothic", sans-serif;
  color: #504334;
}

.font-tsukushi-a-round-gothic {
  font-family: "Tsukushi A Round Gothic", sans-serif;
}

.font-noto-sans-jp {
  font-family: "Noto Sans JP", sans-serif;
}

.font-zen-maru-gothic {
  font-family: "Zen Maru Gothic", sans-serif;
}

.font-din-2014 {
  font-family: "DIN 2014", sans-serif;
}

.font-yu-gothic {
  font-family: "Yu Gothic", sans-serif;
}

.font-gothic-a1 {
  font-family: "Gothic A1";
}

.swiper-wrapper { transition-timing-function: linear; }

.notice__content h2 {
  font-family: "Zen Maru Gothic";
  font-size: 32px;
  font-weight: bold;
  color: white;
  padding: 16px 40px;
  border: 2px #a8c3a7 dashed;
  outline: 3px solid #4f7c4d;
  background-color: #4f7c4d;
  margin-bottom: 28px;
}

.notice__content h3 {
  font-family: "Zen Maru Gothic";
  background: repeating-linear-gradient(-45deg, #e9fbe8, #e9fbe8 2px, #dbeeda 2px, #dbeeda 10px);
  color: #4f7c4d;
  padding: 8px;
  font-size: 18px;
  border-left: 5px solid #4f7c4d;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 28px;
}

.notice__content h4 {
  font-family: "Zen Maru Gothic";
  color: #4f7c4d;
  padding-bottom: 5px;
  width: fit-content;
  border-bottom: 3px solid #4f7c4d;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 28px;
}

.notice__content img {
  width: 100%;
  height: auto;
}

@media (max-width: 764px) {
  .notice__content h2 {
    font-size: 20px;
    padding: 12px 8px;
  }

  .notice__content h3 {
    font-size: 18px;
  }

  .notice__content h4 {
    font-size: 16px;
  }
}

.faq__item {
  font-family: "Gothic A1";
}

@media (max-width: 764px) {
  .faq__item {
    font-family: "Noto Sans JP", sans-serif;
  }
}

/*navigation drawer*/
.burger-wrapper {
  width: 25px;
  height: 18px;
  position: relative;
  display: none;
}

.burger-wrapper span {
  background-color: #4f7c4d;
  display: block;
  height: 3px;
  width: 100%;
  margin-bottom: 4px;
  transition: all 0.3s ease;
  border-radius: 5px;
}

.burger-wrapper span:nth-child(2) {
  transform: scaleX(1);
  opacity: 1;
}

.burger-wrapper.active span:nth-child(1) {
  transform: translateY(7px) rotate(37.18deg);
}

.burger-wrapper.active span:nth-child(2) {
  transform: scaleX(0);
  opacity: 0;
  transform-origin: left;
}

.burger-wrapper.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-37.18deg);
}

@media (max-width: 784px) {
  .burger-wrapper {
    display: block;
  }

  .nav-menu {
    background-color: #fbf9f3;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    text-align: center;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.3s;
    overflow-y: auto;
    visibility: hidden;
  }

  .nav-menu.show {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
  }
}

/* Custom Contact form 7 */
.contact th span,
.contact td input::placeholder {
  font-family: "Yu Gothic", sans-serif;
}

.contact input,
.contact textarea {
  border: #c1c1c1 1px solid;
  width: 100%;
  box-sizing: border-box;
}

.contact__input {
  height: 2.5rem;
  padding: 0 0.75rem;
  background-color: white;
}

.contact__textarea {
  padding: 0.75rem;
  background-color: white;
}

.contact {
  display: grid;
  gap: 2.5rem;
}

.contact__table {
  display: grid;
  gap: 2.5rem;
  font-family: "Noto sans JP";
}

.contact__row {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #dedede;
}

.contact__textarea-row {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.contact__textarea-row {
  align-items: start;
}

.contact__th {
  display: flex;
  align-items: center;
  font-weight: bold;
  color: #333333;
  gap: 0.75rem;
  width: 100%;
}

.contact__td {
  width: 100%;
}

@media (min-width: 768px) {
  .contact__th {
    width: 180px;
    justify-content: space-between;
  }
  .contact__td {
    max-width: 410px;
  }
  .contact__privacy {
    gap: 1.75rem;
  }
  .contact {
    gap: 5rem;
  }
  .contact__row {
    flex-wrap: nowrap;
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
  }

  .wpcf7-radio .wpcf7-list-item {
    font-weight: bold;
  }
}

.contact__required,
.contact__optional {
  display: inline-block;
  padding: 0.125rem 0.375rem;
  font-size: 0.75rem;
  color: #fff;
  border-radius: 2px;
  line-height: 1.5;
}

.contact__required {
  background-color: #cf3d5b;
}

.contact__optional {
  background-color: #7d7d7d;
}

.contact__inquery-item .wpcf7-form-control,
.wpcf7-form-control {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wpcf7-radio input {
  width: 26px;
  height: 26px;
}

.wpcf7-radio .wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 0;
  color: black;
}

.wpcf7-acceptance input[type="checkbox"] {
  width: 14px;
  height: 14px;
  border: 1px solid #c8cfd7;
  box-shadow: inset 0px 1px 4px rgba(0, 0, 0, 0.25);
  margin-right: 8px;
}

.wpcf7-acceptance a {
  color: #969696;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact__submit {
  background-color: #4f7c4d;
  color: white;
  margin: 0 auto;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 2px;
  text-align: center;
  border-radius: 15px;
  max-width: 410px;
  width: 100%;
  padding: 20px 80px;
  box-shadow: inset 4px 4px 5px rgba(255, 255, 255, 0.25), 4px 4px 15px rgba(0, 0, 0, 0.15);
}

.contact__privacy {
  display: grid;
  gap: 1.5rem;
  font-family: "Noto sans JP";
}

.contact__privacy-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.contact__privacy-text {
  font-size: 0.875rem;
  color: #000;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.contact__privacy-policy-wrapper div p,
.contact__privacy-policy-wrapper p {
  display: flex;
  flex-direction: column;
  align-items: center;
}
