@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* variables */
:root {
  --section-padding: 5rem 0;
}
@media (max-width: 960px) {
  :root {
    --section-padding: 3rem 0;
  }
}

body {
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  color: #000;
  /* font-size: ; */
  line-height: 1.7;
  /* max-width: 1920px;
  margin-inline: auto; */
  overflow-x: hidden;
  position: relative;
}
a {
  text-decoration: none;
  transition: opacity 0.3s;
  color: inherit;
  &:hover {
    @media (any-hover: hover) {
      opacity: 0.6;
    }
  }
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
p {
  /* line-height: 2; */
  text-align: justify;
  @media (max-width: 960px) {
    /* font-size: 1rem; */
  }
}
h1,
h2,
h3,
h4,
h5,
h6 {
  /* line-height: 1; */
  font-size: inherit;
  font-weight: inherit;
}

.pc-only {
  display: initial;
}
.sp-only {
  display: none;
}
@media (max-width: 960px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: initial;
  }
}

.container {
  width: calc(100% - 2rem);
  max-width: 1000px;
  margin-inline: auto;
}

section.mv {
  position: relative;
  .mv-img {
    width: 100%;
    @media (max-width: 960px) {
      min-height: 150px;
      object-fit: cover;
    }
  }
  .mv-inner {
    background: rgba(0, 0, 0, 0.38);
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: min(80%, 1000px);
    height: 210px;
    display: flex;
    justify-content: center;
    align-items: center;
    @media (max-width: 960px) {
      width: min(90%, 800px);
      height: 60px;
    }
    .page-title {
      font-size: 46px;
      font-weight: 700;
      color: #fff;
      text-shadow: 2px 2px 4px rgb(0 0 0 / 0.75);
      @media (max-width: 960px) {
        font-size: 18px;
      }
    }
  }
}

section.description {
  padding: 4rem 0;
  .description__text {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
  }
  @media (max-width: 960px) {
    padding: 2rem 0;
    .description__text {
      font-size: 14px;
      text-align: justify;
    }
  }
}

section.contact-form {
  padding: var(--section-padding);
  background-color: #f4f4f4;
  .form-title {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    @media (max-width: 960px) {
      font-size: 18px;
      margin-bottom: 1rem;
    }
  }
  .form-wrapper {
    background-color: #fff;
    padding: 3rem 3rem;
    @media (max-width: 960px) {
      padding: 1rem 1rem 2rem;
    }
  }
  .form-wrapper .form-table {
    display: grid;
    grid-template-columns: auto 1fr;
    @media (max-width: 960px) {
      grid-template-columns: 1fr;
    }
    .row {
      display: grid;
      grid-template-columns: subgrid;
      grid-column: 1/-1;
      align-items: flex-start;
      gap: 4rem;
      margin-bottom: 1.5rem;
      padding-bottom: 1.5rem;
      border-bottom: #bcbcbc 1px solid;
      &:nth-last-child(1) {
        border-bottom: none;
        padding-bottom: 0rem;
      }
      @media (max-width: 960px) {
        gap: 0.5rem;
      }
    }
    .label-wrapper {
      display: grid;
      grid-template-columns: 60px 1fr;
      align-items: center;
      gap: 1rem;
      @media (max-width: 960px) {
        grid-template-columns: auto 1fr;
        gap: 0.5rem;
      }
      .require {
        border-radius: 4px;
        width: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #a92e2b;
        color: #fff;
        padding: 4px 8px;
        font-size: 12px;
        font-weight: 600;
        @media (max-width: 960px) {
          width: 45px;
          font-size: 10px;
          padding: 0px 4px;
        }
      }
      .title {
        grid-column: 2/3;
        font-size: 18px;
        font-weight: 600;
        @media (max-width: 960px) {
          font-size: 14px;
        }
      }
    }
    .input-wrapper {
      @media (max-width: 960px) {
        font-size: 14px;
      }
      input[type='text'],
      input[type='tel'],
      input[type='email'],
      select,
      textarea {
        width: 100%;
        border-radius: 4px;
        border: 1px solid #b2b2b2;
        padding: 4px;
        font-weight: 400;
      }
      select {
        width: auto;
      }
    }
  }
  .form-wrapper .acceptance {
    font-size: 18px;
    text-align: center;
    margin-bottom: 2rem;
    @media (max-width: 960px) {
      font-size: 14px;
    }
  }
  .form-wrapper .button-wrapper .wpcf7-submit {
    border-radius: 100vmax;
    margin-top: 1rem;
    display: block;
    margin-inline: auto;
    cursor: pointer;
    background-color: #fb8c31;
    color: #fff;
    border: none;
    padding: 10px 40px;
    width: 300px;
    font-size: 20px;
    font-weight: 600;
    @media (any-hover: hover) {
      &:hover {
        transition: opacity 0.3s;
        opacity: 0.7;
      }
    }
    @media (max-width: 960px) {
      font-size: 14px;
      padding: 8px 40px;
    }
  }
  .wpcf7 .hidden-fields-container {
    display: none;
  }
  .wpcf7 .wpcf7-not-valid-tip,
  .wpcf7 .wpcf7-response-output {
    font-size: 14px;
    @media (max-width: 960px) {
      font-size: 12px;
    }
  }
}

/*=========================
  footer
=========================*/
footer {
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  @media (max-width: 960px) {
    padding: 1.5rem;
    font-size: 12px;
  }
}
