html {
  font-size: 62.5%;
  /* 10px */
}

body {
  background-image: url(./assets/images/common/dust_scratches.webp);
  background-size: 400px 400px;
  background-repeat: repeat;
  font-family: var(--common-font);
  color: #000;
}

a {
  font-family: var(--common-font);
  color: #000;
}

main {
  margin-top: 80px;
}

:root {
  --forest-green: #3f926b;
  --mint-green: #37c281;
  --caption-color: #4b4b4b;
  --table-data: #4b4b4b;
  --caption-font: "Roboto", sans-serif;
  --title-font: "Noto Serif JP", serif;
  --common-font: "Noto Sans JP", sans-serif;
}

.text_type_body {
  font-size: 1.6rem;
  line-height: 1.5;
}

.text_type_lead {
  font-size: 1.6rem;
  line-height: 1.5;
}

.text_type_title {
  font-size: 3.2rem;
  line-height: 1.44;
  color: var(--forest-green);
  font-family: var(--title-font);
  text-align: center;
  margin-bottom: 40px;
}

.text_type_title--left {
  text-align: left;
}

.text_type_title-sub {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.44;
  color: #000;
  display: block;
  font-family: var(--common-font);
}

.text_type_hero {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.44;
  color: #000;
  display: block;
  font-family: var(--title-font);
  text-align: center;
  margin-bottom: 20px;
}

.text_type_hero--left {
  text-align: left;
}

.text_type_intro {
  font-family: var(--title-font);
  font-size: 1.8rem;
  line-height: 1.33;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.text_type_intro--left {
  text-align: left;
}

section {
  padding: 80px 6.5px;
}

.header__entry {
  display: none;
}

.pc {
  display: none;
}

.page__cover {
  height: 375px;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-top: 80px;
}

.page__cover-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 36px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0px 0px 6px #000;
  text-align: center;
  line-height: 48px;
}

.header {
  position: fixed;
  height: 80px;
  width: 100%;
  z-index: 1001;
  top: 0;
  background: transparent;
  background-color: white;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  display: flex;
  justify-content: center;
  align-items: center;
}

.header__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header__logo img {
  height: 48px;
  width: 223px;
}

.header__logo span {
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 500;
}

.header__nav {
  display: none;
}

.popup-menu {
  position: fixed;
  top: 0px;
  right: -100%;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  z-index: 1002;
  display: flex;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-menu p {
  color: #fff;
  margin-bottom: 10px;
}

.popup-menu__close-button {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  bottom: 15px;
  right: 45px;
  cursor: pointer;
  width: 30px;
  height: 53px;
}

.popup-menu__close-button span {
  font-family: var(--caption-font), sans-serif;
  font-size: 1.2rem;
  line-height: 1.33;
  white-space: nowrap;
  color: var(--caption-color);
}

.popup-menu__close-button img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.close-button:active {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  border-radius: 50%;
}

.menu-open {
  right: 0;
  opacity: 1;
}

.header_wrapper .yoyaku_button {
  display: none;
}

.popup-menu__nav {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 166px;
  top: -30px;
  align-items: center;
  gap: 40px;
  margin: auto;
}

.popup-menu__nav-item a {
  white-space: nowrap;
  font-size: 2rem;
  line-height: 1.45;
  font-weight: 500;
}

.popup-menu__nav-item--green {
  background-color: var(--forest-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-menu__nav-item--green {
  height: 48px;
  padding: 12px 36px;
  border-radius: 24px;
}

.popup-menu__nav-item--green a {
  font-size: 16px;
  color: #ffffff;
}

.mobile-menu__container {
  position: fixed;
  display: flex;
  padding: 26px 32px 13px;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background-color: #ffffff;
  z-index: 1000;
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.16);
}

.mobile-menu {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 310px;
  margin: 0 auto;
}

.mobile-menu__item {
  display: flex;
  flex-direction: column;
  background-size: contain;
  justify-content: space-between;
  position: relative;
  text-decoration: none;
  color: #000000;
  align-items: center;
}

.mobile-menu__item:first-child {
  width: 29px;
  height: 56px;
}

.mobile-menu__item:nth-child(2) {
  width: 48px;
  height: 56px;
}

.mobile-menu__item:nth-child(3) {
  width: 42px;
  height: 53px;
}

.mobile-menu__item:last-child {
  width: 32px;
  height: 50px;
}

.mobile-menu__item span {
  font-size: 1.2rem;
  line-height: 1.33;
  font-family: var(--caption-font), sans-serif;
  color: var(--caption-color);
  white-space: nowrap;
  transform: scaleX(0.85);
  transform-origin: center;
}
.mobile-menu__item img {
  display: block;
  height: auto;
  width: 29px;
}

.mobile-menu__item:nth-child(2) img {
  width: 29px;
}

.mobile-menu__item:nth-child(3) img {
  width: 30px;
}

.mobile-menu__item:last-child img {
  width: 27px;
}

.mobile-menu__item--hamburger {
  padding: 0;
  background-color: transparent;
}

.title span {
  display: block;
  text-align: center;
}

.title span:first-child {
  color: #3f926b;
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  font-family: "Oswald", serif;
  margin-bottom: 4px;
}

.title span {
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  font-weight: 500;
}

.link {
  height: 53px;
  width: 252px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  background-color: var(--forest-green);
  color: #fff;
  font-weight: 500;
  font-size: 2rem;
  border-radius: 26.5px;
  transition: all 0.3s;
}

.recruit-link {
  display: block;
  width: 100%;
  max-width: 360px;
  padding: 14px 0 15px;
  font-size: 2rem;
  line-height: 1.2;
  border: 1px solid #707070;
  font-weight: 700;
  color: #fff;
  text-align: center;
  background-color: var(--forest-green);
  border-radius: 4px;
  margin: 20px auto 0;
  position: relative;
}

.recruit-link::after {
  content: "";
  display: block;
  position: absolute;
  width: 7.5px;
  height: 12px;
  background-image: url(./assets/images/common/red-arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  filter: brightness(2);
}

.footer {
  margin-bottom: 90px;
}

.footer__wrapper {
  padding: 40px 20px;
  box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.16);
  background-color: #fff;
}

.footer__nav-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

@media (min-width: 600px) {
  .footer__wrapper {
    padding: 64px 20px;
  }
  .footer__nav-list {
    flex-direction: unset;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.footer__nav-item {
  font-size: 2rem;
  line-height: 1.45;
  font-weight: 500;
}

.footer__logo {
  display: block;
  margin: 0 auto;
  width: 140px;
  height: 30px;
}

.footer__rights {
  font-weight: 500;
  text-align: center;
}

.wp-pagenavi {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin-top: 40px;
  gap: 10px;
}

span[aria-current="page"],
a.page {
  display: flex;
  width: 30px;
  height: 30px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;
  text-decoration: none;
  color: #707070;
  border-radius: 50%;
  background-color: transparent;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  padding: 0 0 2px 0 !important;
  border: none !important;
}

span[aria-current="page"].current {
  background-color: #707070;
  color: #fff;
}

.previouspostslink,
.nextpostslink {
  position: relative;
  background-image: url(./assets/images/common/pagination-arrow.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: block;
  width: 15px;
  height: 15px;
  color: transparent;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.previouspostslink {
  transform: scaleX(-1);
  margin-right: 10px !important;
}

.nextpostslink {
  margin-left: 10px !important;
}

.post__item {
  padding: 20px 26.5px 20px 20px;
  border-top: 1px solid #707070;
}

.post__item-date {
  font-size: 1.6rem;
}

.post__item-title {
  font-weight: 300;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}

.post__item-title span {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.post__item-title::after {
  content: "";
  display: block;
  min-width: 24px;
  height: 21px;
  background-image: url(./assets/images/common/post-list-arrow.svg);
  background-size: 24px 21px;
  background-repeat: no-repeat;
  position: relative;
  top: -12px;
}
.post__item-title.no-post::after {
  display: none;
}
span.post__item-title {
  justify-content: center;
}

span.post__item-title::after {
  display: none;
}

.news .post__item {
  padding: 20px 16px 20px 8px;
}

@media (min-width: 768px) {
  main {
    margin-top: 100px;
  }

  .pc {
    display: initial;
  }

  .sp {
    display: none;
  }

  .text_type_lead {
    font-size: clamp(1.6rem, 1.05vw, 2rem);
    line-height: 2;
  }

  .text_type_hero {
    font-size: clamp(2.4rem, 1.57vw, 3rem);
    line-height: 1.4;
    margin-bottom: 64px;
  }

  .text_type_intro {
    font-size: clamp(2rem, 1.25vw, 2.4rem);
    line-height: 2;
    margin-bottom: 64px;
  }

  .text_type_title {
    font-size: clamp(4rem, 3.34vw, 6.4rem);
    margin-bottom: 64px;
  }

  .text_type_title-sub {
    font-size: clamp(2rem, 1.67vw, 3.6rem);
  }

  .header__entry {
    display: block;
  }

  section {
    padding: 200px 30px;
  }

  .header {
    height: 100px;
    padding: 0 min(20px, max(10px, calc(20px + 50vw - 450px)));
  }

  .header__wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1600px;
    justify-content: space-between;
    align-items: center;
  }

  .header__logo {
    flex-direction: row;
    gap: 8.5px;
    align-items: center;
  }

  .header__nav {
    display: block;
    margin-left: -60px;
  }

  @media (max-width: 1296px) {
    .header__logo {
      flex-direction: column;
      gap: 0;
    }

    .header__nav {
      margin-left: 0;
    }
  }

  .mobile-menu__container {
    display: none;
  }

  .header__nav-list {
    gap: min(40px, max(20px, calc(40px + 25vw - 274px)));
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .header__nav-link {
    font-size: 2rem;
    transition: all 0.3s;
  }

  .header__nav-link:hover {
    opacity: 0.7;
  }

  .header__entry {
    width: fit-content;
    height: fit-content;
    border-radius: 24px;
    color: #fff;
    background-color: var(--mint-green);
    padding: 12px min(36px, max(18px, calc(36px + 50vw - 540px)));
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 1.25;
    text-align: center;
    transition: all 0.3s;
  }

  .header__entry:hover {
    background-color: var(--forest-green);
  }

  .header__entry br {
    display: none;
  }

  .header__nav-link br {
    display: none;
  }

  @media (max-width: 980px) {
    .header__entry br {
      display: block;
    }

    .header__nav-link {
      display: block;
      text-align: center;
    }

    .header__nav-link br {
      display: block;
    }

    .header__nav-list {
      gap: 15px;
      display: flex;
      flex-direction: row;
      align-items: center;
    }
  }

  .footer {
    margin-bottom: 0;
  }

  .footer__logo {
    display: block;
    margin: 0px auto;
    width: 279px;
    height: 60px;
  }

  .footer__nav-list {
    margin-top: 24px;
  }

  .footer__nav-item {
    transition: all 0.3s;
  }

  .footer__nav-item:hover {
    opacity: 0.7;
  }

  .link {
    background-color: var(--mint-green);
  }

  .link:hover {
    background-color: var(--forest-green);
  }

  .pager {
    margin-top: 64px;
  }

  .recruit-link {
    background-color: #fff;
    color: #000;
    transition: all 0.3s;
  }

  .recruit-link::after {
    filter: brightness(0);
    transition: all 0.3s;
  }

  .recruit-link:hover {
    background-color: var(--forest-green);
    color: #fff;
  }

  .recruit-link:hover::after {
    filter: brightness(1);
  }

  .post__list {
    max-width: 792px;
    margin: 0 auto;
  }

  .post__item {
    padding: 40px 20px 32px 15px;
  }

  .post__item:last-child {
    border-bottom: 1px solid #707070;
  }

  .post__item-link {
    display: flex;
    gap: 16px;
  }

  .post__item-title {
    flex: 1;
  }

  .post__item-title::after {
    top: 0;
  }

  .post__item-link .post__item-title::after {
    transition: all 0.3s;
    right: 0;
  }

  .post__item-link:hover .post__item-title::after {
    right: -15px;
  }

  .news .post__item {
    padding: 40px 20px;
  }
}
