@font-face {
  font-family: "Marcellus";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/scss/font/Marcellus-Regular.woff2") format("woff2"), url("../assets/scss/font/Marcellus-Regular.woff") format("woff");
}
@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/scss/font/NotoSansJP-Regular.woff2") format("woff2"), url("../assets/scss/font/NotoSansJP-Regular.woff") format("woff");
}
@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/scss/font/NotoSansJP-Medium.woff2") format("woff2"), url("../assets/scss/font/NotoSansJP-Medium.woff") format("woff");
}
html {
  font-size: 1.111111vw;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #111;
  font: 400 0.75rem/1.7 "Noto Sans JP", sans-serif;
  letter-spacing: 0.04em;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
  font-weight: inherit;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

@media screen and (min-width: 681px) and (max-width: 1080px) {
  html {
    font-size: clamp(12px, 1.42vw, 16px);
  }
}
@media screen and (max-width: 680px) {
  html {
    font-size: 3.864734vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.wrap {
  width: 83.3333%;
  margin-inline: auto;
}

@media screen and (max-width: 680px) {
  .wrap {
    width: calc(100% - 3rem);
  }
}
@media screen and (min-width: 681px) and (max-width: 1080px) {
  .wrap {
    width: 90%;
  }
}
.header {
  width: 83.3333%;
  margin-inline: auto;
  font-family: "Marcellus", Georgia, serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding-block: 3.4rem;
  font-size: 0.875rem;
}

.header a {
  text-decoration: none;
}

.header__logo {
  width: 9.25rem;
}

.header__nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2rem;
}

.header__contact {
  background: #688756;
  color: white;
  padding: 0.5rem 2.25rem;
}

@media screen and (max-width: 680px) {
  .header {
    width: calc(100% - 3rem);
  }
  .header__nav {
    display: none;
  }
  .header__contact {
    padding-inline: 1.25rem;
  }
}
@media screen and (min-width: 681px) and (max-width: 1080px) {
  .header {
    width: 90%;
  }
}
.sectionHeading {
  font-family: "Marcellus", Georgia, serif;
  font-size: 2rem;
  line-height: 1.3;
}
.sectionHeading__center {
  text-align: center;
}

.sectionHeading span {
  display: block;
  margin-top: 1.25rem;
  font: 500 0.75rem/1.7 "Noto Sans JP", sans-serif;
}

.footer {
  font-family: "Marcellus", Georgia, serif;
  text-align: center;
  color: white;
  background: #111;
  padding: 1.5rem;
}

.footer small {
  font-size: 0.875rem;
}

.topMv__heading {
  font-family: "Marcellus", Georgia, serif;
  font-size: 8.8vw;
  letter-spacing: 0;
  line-height: 1.12;
  white-space: nowrap;
}

.topMv {
  display: flex;
  flex-direction: column-reverse;
  padding-top: 10rem;
  gap: 5.6rem;
}

.topMv__copy {
  width: 20.2rem;
  align-self: flex-end;
}

.topMv__lead {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

@media screen and (max-width: 680px) {
  .topMv {
    flex-direction: column;
    gap: 4.5rem;
    padding-top: 4rem;
  }
  .topMv__heading {
    font-size: 4.5rem;
    line-height: 1.1;
  }
  .topMv__heading span {
    display: block;
  }
  .topMv__copy {
    width: 15rem;
    align-self: flex-start;
    font-size: 0.625rem;
  }
  .topMv__lead {
    font-size: 1rem;
  }
}
.topService {
  margin-top: 10.8rem;
}

.topService .sectionHeading {
  margin-bottom: 4.75rem;
}

.topService__item {
  display: grid;
  grid-template-columns: 10.67% 31.33% 16.58% 1fr;
  border-top: 1px solid #ccc;
  padding-block: 4rem;
}

.topService__itemText {
  font-family: "Marcellus", serif;
}

.topService__image {
  width: 79%;
  aspect-ratio: 1.42;
  -o-object-fit: cover;
     object-fit: cover;
}

.topService__item h3 {
  font-size: 1rem;
  font-weight: 500;
}

@media screen and (min-width: 681px) and (max-width: 1080px) {
  .topService__item {
    grid-template-columns: 8% 28% 16% 1fr;
  }
}
@media screen and (max-width: 680px) {
  .topService {
    margin-top: 10rem;
  }
  .topService__item {
    display: block;
    padding-block: 4rem;
  }
  .topService__image {
    width: 100%;
    margin-block: 1.5rem 2rem;
  }
  .topService__item h3 {
    margin-bottom: 1rem;
  }
}
.topCompany {
  margin-block: 14rem 7.5rem;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: flex-end;
}

.topCompany__info,
.topCompany__image {
  width: 38%;
}

.topCompany__image {
  aspect-ratio: 456/724;
  -o-object-fit: cover;
     object-fit: cover;
}

.topCompany__list {
  margin-top: 4rem;
}

.topCompany__list div {
  display: grid;
  grid-template-columns: 7.875rem 1fr;
  border-bottom: 1px solid #ccc;
  padding-block: 1.2rem;
}

@media screen and (min-width: 681px) and (max-width: 1080px) {
  .topCompany__info {
    width: 49%;
  }
}
@media screen and (max-width: 680px) {
  .topCompany {
    display: block;
    margin-block: 10rem 7.5rem;
  }
  .topCompany__info,
  .topCompany__image {
    width: 100%;
  }
}
.pageContent {
  padding-block: 5rem;
}

.contact {
  color: white;
  background: #111;
  padding: 7rem 1.5rem;
}

.contact .sectionHeading {
  text-align: center;
}

.contact__inner {
  max-width: 37.5rem;
  margin: 4rem auto 0;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.contact__field {
  margin-bottom: 2.5rem;
}

.contact__label {
  display: block;
  margin-bottom: 0.5rem;
}

.contact__input,
.contact__select,
.contact__textarea {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: white;
  color: #111;
  font: inherit;
  padding: 0.875rem 1rem;
}

.contact__textarea {
  min-height: 15.5rem;
  resize: vertical;
}

.contact__hint {
  margin-bottom: 1rem;
}

.contact__agreement {
  display: grid;
  place-items: center;
  border: 1px solid #aaa;
  padding: 0.9rem;
  margin-top: 1rem;
}

.contact__btn,
.contact__backBtn {
  display: block;
  width: 100%;
  padding: 1rem;
  font: inherit;
  cursor: pointer;
}

.contact__btn {
  margin-top: 4rem;
  border: 0;
  background: #29985a;
  color: white;
}

.contact__backBtn {
  margin-top: 1rem;
  background: transparent;
  color: white;
  border: 1px solid currentColor;
}

.contact .error {
  color: #ffb3ad;
}

.contact .mw_wp_form_confirm .contact__hint,
.contact .mw_wp_form_confirm .contact__privacyLink {
  display: none;
}

.innerPage {
  padding-top: 7rem;
}
.innerPage .sectionHeading {
  text-align: center;
}
.innerPage .topCompany {
  margin-top: 7.5rem;
}
.innerPage .topCompany .sectionHeading {
  text-align: left;
}

.innerPage__body {
  width: min(37.5rem, 100% - 3rem);
  margin: 4rem auto 0;
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.innerPage__home {
  display: table;
  margin: 1rem auto 0;
  text-underline-offset: 0.15em;
}

.innerPage--confirm .topCompany {
  margin-top: 15rem;
}
.innerPage--confirm .contact__field {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ccc;
}
.innerPage--confirm .contact__label {
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.innerPage--confirm .mw_wp_form_confirm .contact__hint,
.innerPage--confirm .mw_wp_form_confirm .contact__field:has(.contact__agreement) {
  display: none;
}
.innerPage--confirm .contact__backBtn {
  margin-top: 0.5rem;
  border: 0;
  color: #fff;
  background: #999;
}

.innerPage--privacy .innerPage__body {
  font-size: 0.75rem;
  line-height: 1.67;
}
.innerPage--privacy .innerPage__body h2,
.innerPage--privacy .innerPage__body h3 {
  margin: 2rem 0 0;
  font-size: 1rem;
  font-weight: 500;
}
.innerPage--privacy .innerPage__body > :first-child {
  margin-top: 0;
}
.innerPage--privacy .innerPage__body p,
.innerPage--privacy .innerPage__body ul,
.innerPage--privacy .innerPage__body ol {
  margin-block: 0;
}
.innerPage--privacy .innerPage__body ul,
.innerPage--privacy .innerPage__body ol {
  padding-inline-start: 1.5em;
}

@media screen and (max-width: 680px) {
  .innerPage {
    padding-top: 4rem;
  }
  .innerPage--confirm .topCompany {
    margin-top: 7.5rem;
  }
}