@charset "utf-8";
:root {
	--primary-color: #82BB38;
	--secondary-color: #eee;
	--accent-color: #FF112D;
	--white-color: #fff;
	--black-color: #111;
	--gray-color: #333;
	--primary-font-family: "Noto Sans JP", sans-serif;
	--secondary-font-family: "Bookman Old Style", "Noto Serif JP", serif;
}

body * {
  opacity: 1 !important;
}

.g-nav-openbtn.active span:nth-of-type(2) {
	opacity: 0 !important;
}

nav li.has-child:hover > ul,
nav li.has-child ul li:hover > ul,
nav li.has-child:active > ul,
nav li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1 !important;
}

.inner {
  padding: 20px;
}

@media screen and (min-width: 768px) {
  .inner {
    max-width: 1150px;
    padding-right: 25px;
    padding-left: 25px;
    margin: 0 auto;
  }
}

.common-header {
  margin-top: 80px;
  margin-bottom: 24px;
  padding: 24px 0;
  background: var(--gray-color);
  text-align: center;
}

.common-header__title {
  line-height: 1.2;
}

@media screen and (min-width: 768px) {
  .media {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
  }
}

.common-page-h2 {
  position: relative;
  padding: 0.25em 0;
}
.common-page-h2::after {
  content: "";
  display: block;
  height: 6px;
  background: -webkit-linear-gradient(to right, #82BB38, transparent);
  background: linear-gradient(to right, #82BB38, transparent);
}

.common-page-h3 {
  color: var(--primary-color);
  font-family: var(--secondary-font-family);
  margin-top: 24px;
}

.common-page-h4 {
  margin-top: 24px;
  padding: 0 0.5em;
  background: transparent;
  border-left: solid 2px var(--primary-color);
}

.coming-soon {
  font-family: var(--secondary-font-family);
  font-size: 20px;
}

@media screen and (min-width: 768px) {
  .profile__header,.profile__footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .profile__grid {
    grid-template-columns: 1fr;
  }
}

.profile__img {
  aspect-ratio: 1000/750;
  max-width: 100%;
}
@media screen and (min-width: 768px) {
  .profile__img {
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
  }
}

.profile__wrapper {
  padding: 1rem 2rem;
}

@media screen and (min-width: 768px) {
  .profile__wrapper {
    padding: 2rem 2.2rem;
  }
}

#about-profile .profile__name {
  margin-top: 0;
}

.profile__wrapper--white {
  background: var(--white-color);
}

.profile__header {
  color: var(--black-color);
}

.profile__wrapper--gray {
  background: var(--gray-color);
}

.staff-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .staff-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.staff-card {
  display: grid;
  grid-template-rows: auto auto auto auto auto 1fr;
  background: #fff;
  color: var(--black-color);
  padding: 20px;
  box-shadow: 0 0 15px rgba(255,255,255,0.15);
  transition: transform 0.2s;
}

.staff-card:hover {
  transform: translateY(-5px);
}

.staff-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 15px;
}
.staff-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-name {
  font-size: 1.3rem;
  font-weight: bold;
  font-family: var(--secondary-font-family);
  margin-bottom: 10px;
  text-align: center;
  color: var(--black-color);
}

.staff-card__item {
  margin-top: 10px;
}
.staff-card__item-title {
  font-weight: bold;
  margin-bottom: 5px;
}
.staff-card__item ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.5;
}

.staff-card__link {
  color: var(--gray-color);
  border-bottom: 1px solid;
}

.price-table {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-collapse: collapse;
}

.price-table td {
  border: 1px solid rgb(85, 85, 85);
  padding: 12px 16px;
}

.price-table td:first-child {
  background-color: var(--gray-color);
  width: 25%;
    white-space: nowrap;
}

.price-table td:last-child {
  text-align: left;
  background-color: var(--white-color);
  color: var(--black-color);
}

.marker {
  list-style-type: disc;
  margin-left: 10px;
}

.no-marker {
  list-style-type: none;
  margin-left: 12px;
}

.contact-page__inner {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.contact-form__text {
  padding-top: 24px;
  text-align: center;
}

.contact-form__caution {
  color: var(--accent-color);
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 textarea,
.wpcf7 select {
    background-color: var(--white-color);
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
}

.contact-form__list {
    width: 100%;
    max-width: 600px;
    display: block;
    margin-top: 4rem;
    margin-left: auto;
    margin-right: auto;
}

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

span.wpcf7-list-item {
  margin: 0 30px 0 0; 
  position: relative;
}


.contact-menu input.wpcf7-not-valid,
textarea.wpcf7-not-valid {
  border: none;
  outline: 1px solid var(--accent-color);
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
  color: var(--accent-color);
  border: none;
}
.wpcf7 form .wpcf7-response-output {
  border:none;
}

.contact-form input[type="checkbox"] {
  position: absolute;
}

.wpcf7-list-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
}

.wpcf7-list-item-label::before {
  border: 1px solid var(--white-color);
  content: "";
  display: inline-block;
  height: 15px;
  margin-right: 10px;
  position: relative;
  top: -1px;
  vertical-align: middle;
  width: 15px;
}

.wpcf7-not-valid-tip {
  color: var(--accent-color);
}

@media screen and (min-width: 768px) {
  .wpcf7-list-item-label:hover::before {
    border-color: var(--primary-color);
    -webkit-box-shadow: 0 0 0.25rem var(--primary-color);
            box-shadow: 0 0 0.25rem var(--primary-color);
  }
}

.contact-form input[type=text],
.contact-form input[type=email] {
  border: solid 3px transparent;
  background: var(--white-color);
  font-size: 16px;
  font-size: 1rem;
  color: var(--black-color);
  position: relative;
  width: 100%;
  padding: 1px 0;
  padding: 0.0625rem 0;
}
@media screen and (min-width: 768px) {
  .contact-form input[type=text],
.contact-form input[type=email] {
    padding: 0.1875rem 0.75rem 0.125rem;
  }
}

.wpcf7-list-item-label {
  position: relative;
  padding-left: 1.5rem;
  cursor: pointer;
}

.wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--black-color);
  background: var(--white-color);
  transform: translateY(-50%);
  box-sizing: border-box;
}

.contact-form input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.25rem;
  width: 0.5rem;
  height: 0.25rem;
  border-left: 2px solid var(--black-color);
  border-bottom: 2px solid var(--black-color);
  transform: translateY(-50%) rotate(-45deg);
}

.contact-form input[type=text]:hover,
.contact-form input[type=text]:focus,
.contact-form input[type=email]:hover,
.contact-form input[type=email]:focus,
.contact-form textarea:hover,
.contact-form textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.contact-form textarea {
  background: var(--white-color);
  border: solid 3px transparent;
  color: var(--black-color);
  font-size: 16px;
  font-size: 1rem;
  height: 140px;
  height: 8.75rem;
  margin-top: 3px;
  margin-top: 0.1875rem;
  outline: none;
  padding: 0.5em;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .contact-form textarea {
    font-size: 1.3125rem;
    height: 12.5rem;
  }
}

.contact-form textarea:hover,
.contact-form textarea:focus {
  border-color: var(--primary-color);
}

.contact-form__input-box {
  position: relative;
  margin-top: 3px;
  margin-top: 0.1875rem;
}

.contact-form input[type=text]:hover + .contact-form__focus,
.contact-form input[type=text]:focus + .contact-form__focus,
.contact-form input[type=email]:hover + .contact-form__focus,
.contact-form input[type=email]:focus + .contact-form__focus {
  opacity: 1;
}

.contact-form__focus {
  bottom: 1px;
  display: block;
  height: 1px;
  left: 0;
  opacity: 0;
  position: absolute;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  width: 100%;
}

.contact-form input:invalid:focus + .contact-form__focus,
.contact-form textarea:invalid:focus {
  -webkit-box-shadow: 0 0.125rem 0.25rem rgba(161, 227, 18, .5);
          box-shadow: 0 0.125rem 0.25rem rgba(161, 227, 18, .5);
}

.contact-form__privacy {
  display: block;
  margin-top: 16px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .contact-form__privacy {
    margin-top: 2rem;
  }
}

.wpcf7-acceptance {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
}

.contact-form__privacy a {
  padding-bottom: 4px;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #fff;
  font-weight: 500;
}

.contact-form__privacy a:hover
{
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.contact-form__privacy-label {
  cursor: pointer;
  display: inline-flex; 
  align-items: center;
  font-size: 16px;
  font-size: 1rem;
  padding-left: 35px;
  padding-left: 2.1875rem;
  position: relative;
}
@media screen and (min-width: 768px) {
  .contact-form__privacy-label {
    font-size: 1.125rem;
    padding-left: 2.625rem;
  }
}

.contact-form__btn {
  margin: 2rem auto;
  text-align: center;
  max-width: 200px;
}

.wpcf7 input[type="submit"] {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 24px 50px ;
  cursor: pointer;
  border: 1px solid var(--white-color);
  transition: transform 0.2s ease;
}

.wpcf7 input[type="submit"]:hover {
  transform: scale(1.05);
}

.modal-background {
  width: 100%;
  height: 100%;
  position: fixed;
  background: rgba(255, 255, 255, .7);
  top: 0;
  left: 0;
  z-index: 999999;
  display: none;
}

.modal-background.is-show,
.modal.is-show {
  display: block;
  -webkit-animation: open 0.3s;
          animation: open 0.3s;
}

@-webkit-keyframes open {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes open {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.modal {
  position: fixed;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  z-index: 999999;
  background: #111;
  display: none;
  width: 90%;
  height: 85%;
  padding: 38px 20px;
  padding: 2.375rem 1.25rem;
}
@media screen and (min-width: 768px) {
  .modal {
    width: 80%;
    padding: 2rem 1.875rem 4.5rem;
  }
}

.modal__title {
  font-size: 24px;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  padding-bottom: 10px;
  padding-bottom: 0.625rem;
  position: relative;
  color: var(--white-color);
  font-family: "Noto Serif JP", serif;
}

.modal__title::after {
  content: "";
  width: 100px;
  width: 6.25rem;
  height: 2px;
  height: 0.125rem;
  background: var(--primary-color);
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.modal__content {
  overflow: auto;
  margin-top: 20px;
  margin-top: 1.25rem;
  height: 75%;
}

.modal__head {
  font-size: 18px;
  font-size: 1.125rem;
  padding-left: 16px;
  padding-left: 1rem;
  position: relative;
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
}

.modal__head:nth-of-type(n + 1) {
  margin-top: 32px;
  margin-top: 2rem;
}
@media screen and (min-width: 768px) {
  .modal__head:nth-of-type(n + 1) {
    margin-top: 2.5rem;
  }
}

.modal__head::before {
  content: "";
  position: absolute;
  height: 18px;
  height: 1.125rem;
  width: 3px;
  width: 0.1875rem;
  background: var(--primary-color);
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  left: 0;
}

.modal__text {
  padding: 0 16px;
  padding: 0 1rem;
  margin-top: 6px;
  margin-top: 0.375rem;
  line-height: 1.6;
}

.modal__close-btn {
  text-align: center;
  margin-top: 25px;
  margin-top: 1.5625rem;
}
@media screen and (min-width: 768px) {
  .modal__close-btn {
    margin-top: 1.8rem;
  }
}

#team .about-h2 {
  margin-bottom: 0;
}

.about-list {
  list-style: disc;
  padding-left: 2em;
  margin: 1.5em 0;
}

.device__img {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap:2.4rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 0;
}

.device__img img {
  max-width: 450px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}
.contact-thanks-page_inner {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

#contact-thanks-page p {
 text-align: center;
}

.reserve-h3 {
  margin-bottom: 1.2rem;
}

@media screen and (min-width: 768px) {
.u-sp {
  display: none;
}
}
