@charset "UTF-8";
body {
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}
body.is-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

.inner {
  width: 1340px;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 30px;
}
@media not screen and (min-width: 768px) {
  .inner {
    padding-inline: 15px;
  }
}

a {
  transition: opacity 0.5s;
}
a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.section-title {
  line-height: 1.3;
}

.section-title__en {
  display: block;
  font-size: 44px;
}

.section-title__ja {
  display: inline-block;
  font-size: 13px;
}

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

.tab {
  display: none;
}
@media not screen and (min-width:1025px) {
  .tab {
    display: block;
  }
}

/* ===============================================
# header
=============================================== */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10;
  background-color: #fff;
  height: 80px;
  font-family: "Roboto Slab", serif;
  background-color: #4a4a4a;
  color: #fff;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: inherit;
}

.header__title {
  font-size: 40px;
}
@media not screen and (min-width: 768px) {
  .header__title {
    font-size: 32px;
  }
}

@media not screen and (min-width:1025px) {
  .header__nav {
    display: none;
  }
}

.header__list {
  display: flex;
  gap: 30px;
}

.header__item {
  font-size: 18px;
}

.drawer-btn {
  width: 30px;
  height: 30px;
  position: relative;
  display: none;
}
@media not screen and (min-width:1025px) {
  .drawer-btn {
    display: block;
  }
}
.drawer-btn.is-open .drawer-btn__bar:nth-child(1) {
  top: 14px;
  transform: rotate(45deg);
}
.drawer-btn.is-open .drawer-btn__bar:nth-child(2) {
  display: none;
}
.drawer-btn.is-open .drawer-btn__bar:nth-child(3) {
  top: 14px;
  transform: rotate(-45deg);
}

.drawer-btn__bar {
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  transition: all 0.5s;
  background-color: #fff;
}
.drawer-btn__bar:nth-child(1) {
  top: 2px;
}
.drawer-btn__bar:nth-child(2) {
  top: 14px;
}
.drawer-btn__bar:nth-child(3) {
  top: 26px;
}

.header__drawer {
  transform: translateX(100%);
  width: 100%;
  height: 100vh;
  top: 70px;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.6);
  transition: transform 0.5s;
  color: #fff;
  font-size: 20px;
}
.header__drawer.is-open {
  transform: translateX(0);
}

.header__drawer-list {
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.header__drawer-item + .header__drawer-item {
  margin-top: 20px;
}

/* ===============================================
# main
=============================================== */
.main {
  padding-top: 80px;
}

/* ===============================================
# fv
=============================================== */
.fv {
  position: relative;
}

@media not screen and (min-width: 768px) {
  .fv__img img {
    aspect-ratio: 375/450;
  }
}

.fv__contents {
  background: url(../img/bg_fv.png) no-repeat center center;
  background-size: 100% auto;
  left: 0;
  bottom: 50%;
  transform: translateY(50%);
  padding: 20px 32px 20px 70px;
  position: absolute;
  width: 627px;
  max-width: 100%;
  height: 174px;
}
@media not screen and (min-width: 768px) {
  .fv__contents {
    padding: 20px 32px;
    width: 100%;
    bottom: 30%;
  }
}
@media screen and (max-width: 450px) {
  .fv__contents {
    background: url(../img/sp/bg_fv.png) no-repeat center center;
    bottom: 30px;
    transform: translateY(0);
  }
}

.fv__heading-main {
  display: block;
  font-size: 30px;
}

.fv__heading-sub {
  display: block;
  font-size: 15px;
  margin-top: 5px;
}
@media not screen and (min-width: 768px) {
  .fv__heading-sub {
    margin-top: 10px;
  }
}

/* ===============================================
# about
=============================================== */
.about {
  margin-top: 100px;
}

.about__inner {
  display: flex;
  align-items: center;
  gap: 80px;
  flex-direction: row-reverse;
  justify-content: left;
}
@media not screen and (min-width:1025px) {
  .about__inner {
    align-items: baseline;
    flex-direction: column;
  }
}

@media not screen and (min-width:1025px) {
  .about__img {
    margin-inline: auto;
  }
}
.about__img img {
  width: 300px;
}

.about__text {
  margin-top: 20px;
}
.about__text + .about__text {
  margin-top: 10px;
}

/* ===============================================
# service
=============================================== */
.service {
  margin-top: 100px;
  padding-bottom: 100px;
}

.service__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}
@media not screen and (min-width:1025px) {
  .service__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 30px;
  }
}
@media not screen and (min-width: 768px) {
  .service__list {
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }
}

.service__item {
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.16);
  border: 1px solid #333;
  padding: 16px 12px;
  border-radius: 10px;
}

@media not screen and (min-width:1025px) {
  .service__head {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }
}

.service__img {
  text-align: center;
  font-size: 50px;
}

.service__title {
  font-size: 24px;
  font-weight: bold;
}

.service__text {
  margin-top: 10px;
}

/* ===============================================
# works
=============================================== */
.works {
  padding-block: 20px 40px;
}

.works__table {
  border-collapse: collapse;
  margin-top: 20px;
  margin-inline: auto;
  table-layout: fixed;
  width: 500px;
  max-width: 100%;
}
@media not screen and (min-width: 768px) {
  .works__table {
    margin-inline: 0;
    width: 100%;
    max-width: auto;
  }
}
.works__table td,
.works__table th {
  border-bottom: 1px solid #111;
  font-weight: 700;
  height: 60px;
  vertical-align: middle;
}
.works__table td:nth-child(1),
.works__table th:nth-child(1) {
  width: 130px;
}
@media screen and (max-width: 450px) {
  .works__table td:nth-child(1),
.works__table th:nth-child(1) {
    width: 100px;
  }
}
.works__table thead th {
  text-align: left;
}

.works__text {
  text-align: center;
  margin-top: 12px;
}
@media not screen and (min-width: 768px) {
  .works__text {
    text-align: left;
  }
}

.slider-container {
  margin-top: 30px;
  width: 800px;
  max-width: 100%;
  margin-inline: auto;
}
@media not screen and (min-width: 768px) {
  .slider-container {
    width: 100%;
  }
}

.slider {
  padding-bottom: 30px;
}
@media not screen and (min-width: 768px) {
  .slider {
    padding-bottom: 15px;
  }
}

.slider__box {
  border-radius: 5px;
  width: 660px;
  margin-inline: auto;
  padding-block: 30px;
}
@media not screen and (min-width: 768px) {
  .slider__box {
    width: auto;
  }
}

.slider__img {
  text-align: center;
}
.slider__img img {
  width: 400px;
  border-radius: 10px;
}
@media not screen and (min-width: 768px) {
  .slider__img img {
    width: 100%;
  }
}

.swiper-button-prev {
  background: url(../img/prev-icon.png) no-repeat center center/contain;
  width: 100px;
  left: 0;
  top: 30%;
}
@media not screen and (min-width: 768px) {
  .swiper-button-prev {
    width: 50px;
    top: 26%;
  }
}
.swiper-button-prev::after {
  content: "";
}

.swiper-button-next {
  background: url(../img/next-icon.png) no-repeat center center/contain;
  width: 100px;
  right: 0;
  top: 30%;
}
@media not screen and (min-width: 768px) {
  .swiper-button-next {
    width: 50px;
    top: 26%;
  }
}
.swiper-button-next::after {
  content: "";
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.swiper-pagination-bullet {
  width: 20px !important;
  height: 20px !important;
}
@media not screen and (min-width: 768px) {
  .swiper-pagination-bullet {
    width: 15px !important;
    height: 15px !important;
  }
}

/* ===============================================
# contact
=============================================== */
.contact {
  padding-block: 20px 40px;
}

.contact__text {
  text-align: center;
  margin-top: 12px;
}
@media not screen and (min-width: 768px) {
  .contact__text {
    text-align: left;
  }
}

.contact__contents {
  margin-top: 30px;
  padding: 40px 20px;
  width: 680px;
  margin-inline: auto;
  max-width: 100%;
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.16);
  border-radius: 5px;
}
@media not screen and (min-width: 768px) {
  .contact__contents {
    width: 100%;
    padding-inline: 10px;
  }
}

.contact__fields {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media not screen and (min-width: 768px) {
  .contact__fields {
    gap: 20px;
  }
}

.contact__field:last-child .form-field {
  align-items: normal;
}
.contact__field:last-child .form-field__label {
  margin-top: 12px;
}
@media not screen and (min-width: 768px) {
  .contact__field:last-child .form-field__label {
    margin-top: 0;
  }
}

.form-field {
  display: flex;
  gap: 30px;
  align-items: center;
}
@media not screen and (min-width: 768px) {
  .form-field {
    flex-direction: column;
    align-items: normal;
    gap: 10px;
  }
}

.form-field__head {
  flex-shrink: 0;
}

.form-field__label {
  width: 142px;
  display: inline-block;
  padding-right: 30px;
  position: relative;
  text-align: right;
}
@media not screen and (min-width: 768px) {
  .form-field__label {
    margin-top: 0;
  }
}
.form-field__label.is-required::after {
  content: "必須";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  font-size: 10px;
  color: #fff;
  background-color: rgb(239, 45, 45);
  font-weight: bold;
  padding: 2px 4px;
  border-radius: 4px;
  text-align: center;
}
@media not screen and (min-width: 768px) {
  .form-field__label {
    width: auto;
    text-align: left;
  }
}

.form-field__item {
  flex-grow: 1;
}

.form-text,
.form-textarea {
  width: 100%;
  border-radius: 5px;
  padding: 12px;
  border: 1px solid #333;
  outline: none;
  transition: border-color 0.3s;
}
.form-text:focus, .form-text:hover,
.form-textarea:focus,
.form-textarea:hover {
  border-color: rgb(44, 44, 241);
  box-shadow: 3px 3px 6px rgba(44, 44, 241, 0.16);
}

.form-textarea {
  height: 220px;
}

.wpcf7-form-control {
  display: flex;
  gap: 5px;
}
@media not screen and (min-width: 768px) {
  .wpcf7-form-control {
    flex-direction: column;
  }
}

input[type=radio] {
  height: 1px;
  width: 1px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  position: absolute;
}
input[type=radio]:focus + .wpcf7-list-item-label::before {
  border-color: rgb(44, 44, 241);
  box-shadow: 3px 3px 6px rgba(44, 44, 241, 0.16);
}
input[type=radio]:checked + .wpcf7-list-item-label::after {
  opacity: 1;
}

.wpcf7-list-item {
  margin: 0;
}
.wpcf7-list-item:hover .wpcf7-list-item-label::before {
  border-color: rgb(44, 44, 241);
  box-shadow: 3px 3px 6px rgba(44, 44, 241, 0.16);
}

.form-radio .wpcf7-list-item-label {
  padding-left: 25px;
  position: relative;
}
.form-radio .wpcf7-list-item-label::after, .form-radio .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
}
.form-radio .wpcf7-list-item-label::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid #333;
  left: 0;
  transition: border-color 0.3s;
}
.form-radio .wpcf7-list-item-label::after {
  width: 9px;
  height: 9px;
  background-color: rgb(44, 44, 241);
  left: 6px;
  opacity: 0;
  transition: opacity 0.3s;
}

.contact__privacy {
  text-align: center;
  margin-top: 30px;
}
.contact__privacy:hover .form-checkbox__text::before {
  border-color: rgb(44, 44, 241);
  box-shadow: 3px 3px 6px rgba(44, 44, 241, 0.16);
}

.wpcf7-form-control.wpcf7-acceptance {
  justify-content: center;
}

input[type=checkbox] {
  height: 1px;
  width: 1px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  position: absolute;
}
input[type=checkbox]:focus + .wpcf7-list-item-label .form-checkbox__text::before {
  border-color: rgb(44, 44, 241);
  box-shadow: 3px 3px 6px rgba(44, 44, 241, 0.16);
}
input[type=checkbox]:checked + .wpcf7-list-item-label .form-checkbox__text::after {
  opacity: 1;
}

.form-checkbox__text {
  position: relative;
  padding-left: 25px;
  position: relative;
  vertical-align: middle;
}
.form-checkbox__text::after, .form-checkbox__text::before {
  content: "";
  position: absolute;
}
.form-checkbox__text::after {
  width: 12px;
  height: 7px;
  left: 3px;
  opacity: 0;
  border-left: 1px solid #333;
  border-bottom: 1px solid #333;
  top: 7px;
  transform: rotate(-45deg);
  transition: all 0.3s;
}
.form-checkbox__text::before {
  transition: border-color 0.3s;
  width: 20px;
  height: 20px;
  border: 1px solid #333;
  left: 0;
  top: 2px;
}

.contact__btn {
  margin-top: 30px;
  text-align: center;
}

.wpcf7-spinner {
  display: none;
}

.btn {
  display: inline-block;
  border-radius: 5px;
  border: 1px solid #333;
  padding: 10px 4px;
  width: 180px;
  background-color: #fff;
  cursor: pointer;
}
.btn:focus {
  outline-color: rgb(44, 44, 241);
  box-shadow: 3px 3px 6px rgba(44, 44, 241, 0.16);
}

.thanks__btn {
  text-align: center;
  margin-top: 50px;
}
.thanks__btn a {
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
}
.thanks__btn a:hover {
  opacity: 1;
  color: #fff;
  background-color: #4a4a4a;
}

/* ===============================================
# footer
=============================================== */
.footer {
  background-color: #4a4a4a;
  color: #fff;
  padding-block: 15px;
}

.footer__nav {
  padding-block: 30px;
}

.footer__list {
  display: flex;
  gap: 40px;
}

.footer__item {
  font-size: 18px;
}

.footer__copyright {
  text-align: center;
}
.footer__copyright small {
  font-size: 12px;
}