body {
  font-family: "Noto Sans JP", sans-serif;
  background-image: url(./assets/images/common/dot-grid.png);
  background-size: 400px 400px;
  background-repeat: repeat;
}

main {
  /* position: relative; */
  margin-top: 80px;
  overflow: hidden;
  z-index: 2;
}

/* img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
} */

.pc {
  display: none;
}

.common-text {
  font-size: 18px;
  line-height: 32px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  height: 80px;
  width: 100%;
  padding: 10px 0;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  background-color: #fff;
  z-index: 1002;
}

.header-bg {
  display: none;
}

.header-logo {
  width: 75px;
  height: 60px;
  margin: 0 auto;
  display: block;
}

.header-logo h1 {
  opacity: 0;
}

.header-logo img {
  width: 100%;
  height: auto;
}

.mobile-nav-menu {
  position: absolute;
  display: block;
  width: 32px;
  height: 19px;
  background-image: url(./assets/images/common/icon-menu.png);
  background-size: 100% auto;
  background-color: transparent;
  top: 50%;
  transform: translateY(-50%);
  right: 28px;
}

.popup-menu {
  position: fixed;
  top: 0px;
  right: 0;
  transform: translateX(100%);
  height: 100vh;
  height: 100dvh;
  width: 100%;
  z-index: 1002;
  display: flex;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s;
  background: #fff;
  filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.16));
}

.popup-menu p {
  margin-bottom: 10px;
}

.popup-menu-close-button {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 25px;
  height: 25px;
  background-image: url(./assets/images/common/icon-close.png);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1000;
}

.popup-menu__close-button {
  font-size: 12px;
  line-height: 20px;
  font-weight: 500;
}

.popup-menu.open {
  right: 0;
  transform: translateX(0%);
}

.popup-menu-wrapper {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: min(30px, max(15px, calc(30px + 50vh - 311px)));
  margin: auto auto;
  padding: 0 30px;
}

.popup-menu-item a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #000;
  height: 74px;
}

.popup-menu-item img {
  display: block;
  height: 50px;
  width: auto;
  object-fit: contain;
  object-position: center;
}

.popup-menu-item--recruit img {
  position: relative;
  left: 5px;
}

.popup-menu-item:nth-child(5) a,
.popup-menu-item:last-child a {
  height: 63px;
}

.popup-menu-item:nth-child(5) img {
  width: 50px;
  height: 28px;
}

.popup-menu-item:last-child img {
  width: 24px;
  height: 28px;
}

@media (max-height: 523px) {
  .popup-menu-wrapper {
    gap: 30px;
  }

  .popup-menu-item a,
  .popup-menu-item:nth-child(5) a,
  .popup-menu-item:last-child a {
    height: fit-content;
  }

  .popup-menu-item img {
    display: none;
  }
}

.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-color: #fc9300;
  display: flex;
  align-items: center;
  padding: 20px 0;
  z-index: 1000;
}

.mobile-nav-wrapper {
  display: flex;
  align-items: center;
  gap: min(20px, max(12px, calc(20px + 50vw - 188px)));
  margin: 0 auto;
}

.mobile-nav-item {
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  color: #000;
  background-color: #fff;
  width: min(150px, max(140px, calc(150px + 50vw - 188px)));
  height: 40px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
}

.mobile-nav-item::before {
  content: "";
  display: inline-block;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
  top: 1px;
}

.mobile-nav-item--contact::before {
  background-image: url(./assets/images/common/icon-mail-black.png);
  width: 20px;
}

.mobile-nav-item--call::before {
  background-image: url(./assets/images/common/icon-phone.png);
  width: 16px;
}

.header-menu {
  display: none;
}

footer {
  margin-bottom: 80px;
}

.footer-wrapper {
  padding: 60px 0;
  background-color: #2dbe95;
}

.footer-wrapper * {
  color: #fff;
}

.footer-logo {
  display: block;
  width: 154px;
  height: auto;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}

.footer-address {
  font-size: 12px;
  line-height: 24px;
  text-align: center;
  margin-top: 18px;
  font-weight: 500;
}

.footer-nav {
  display: block;
  margin: 40px auto 0;
  width: fit-content;
}

.footer-nav-wrapper {
  border: 1px solid #fff;
  border-radius: 20px;
  width: 200px;
}

.footer-nav-item a {
  display: block;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  padding: 8px 20px;
  text-align: center;
}

.footer-nav-item:not(:last-child) a {
  border-bottom: 1px solid #fff;
}

.footer-rights {
  font-size: 12px;
  line-height: 20px;
  padding-top: 10px;
  text-align: center;
  background-color: #fff;
}

.title {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 36px;
  line-height: 48px;
  font-weight: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
}

.title img {
  height: 100px;
  width: auto;
}

.title--rainbow {
  margin-top: 180px;
}

.title--news {
  margin-top: 202px;
  gap: 42px;
}

.title--news img {
  width: 100px;
  height: auto;
}

.title--rainbow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -73px;
  transform: translateX(-50%);
  display: block;
  width: 543px;
  height: 184px;
  background-image: url(./assets/images/common/rainbow.png);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

.title--news::before {
  top: -94px;
}

.link-button {
  display: block;
  width: 85.33vw;
  max-width: 320px;
  height: 50px;
  border-radius: 25px;
  color: #fff;
  background-color: #fc9300;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  line-height: 50px;
  margin: 20px auto 0;
}

.subtitle {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: min(24px, 6.7vw);
  font-weight: 700;
  line-height: min(34px, 9.5vw);
  text-align: center;
}

.subtitle--green {
  color: #2dbe95;
}

.subtitle--white {
  color: #fff;
}

.header-menu-contact {
  display: none;
}

.breadcrumb {
  top: 90px;
  left: 37px;
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-link {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 12px;
  line-height: 17px;
}

.home-icon {
  width: 15.5px;
  height: 12px;
}

.arrow-icon {
  width: 5px;
  height: 8px;
}

.page {
  overflow: hidden;
}

.arch-bg {
  position: absolute !important;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #d0f0e7;
  mix-blend-mode: multiply;
  z-index: 0;
}

.arch-decor {
  position: absolute !important;
  left: 0;
  mix-blend-mode: multiply;
  width: 100%;
  top: clamp(-80px, -5.8vw, -22px);
  overflow: hidden;
  height: clamp(22px, 5.8vw, 80px);
}

.arch-decor:nth-child(2) {
  top: auto;
  bottom: clamp(-80px, -5.8vw, -22px);
}

.arch-decor svg {
  position: relative;
  height: clamp(22px, 5.8vw, 80px);
  top: 1px;
}

.arch-decor:nth-child(2) svg {
  top: -1px;
  transform: scaleY(-1);
}

.result__pagination-box {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin-top: 10px;
}

.result__pagination-link {
  display: flex;
  width: 30px;
  height: 30px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.15s linear;
  color: #707070;
  border: 1px solid #707070;
  border-radius: 50%;
  background-color: #ffffff;
}

.result__pagination-link span {
  margin-right: 0px;
  position: relative;
  top: -1px;
}

.result__pagination-link-icon {
  margin: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.result__pagination-link.is-active {
  color: #707070;
  pointer-events: none;
  height: 30px;
  width: 30px;
  background-color: #707070;
}

.result__pagination-link span {
  position: relative;
  color: #707070;
}

.result__pagination-link.is-active span {
  color: #ffffff;
}

.result__pagination-box > * + * {
  margin-left: 10px;
}

.pagination_arrow {
  position: relative;
  background-image: url("./assets/images/common/news-arrow.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: block;
  width: 15px;
  height: 15px;
}

.pagination_arrow.left {
  right: 10px;
}

.pagination_arrow.right {
  left: 10px;
  transform: rotate(180deg);
}

.pagination {
  display: flex;
  align-items: center;
  padding-bottom: 59px;
  width: fit-content;
  max-width: 260px;
  margin: 40px auto 0;
  gap: 10px;
  justify-content: center;
  position: relative;
}

@media (max-width: 360px) {
  .pagination {
    gap: 20px;
  }
}

.pagination-arrow {
  cursor: pointer;
  user-select: none;
  width: 15px;
  min-width: 15px;
  height: 15px;
  background-image: url(./assets/images/common/news-arrow.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute !important;
  background-color: transparent;
  left: -30px;
  color: transparent;
}

.pagination-arrow--next {
  transform: scaleX(-1);
  left: auto;
  right: -30px;
}

.pagination-numbers {
  display: flex;
  gap: 30px;
  flex-grow: 1;
}

.pagination-number {
  display: flex;
  width: 30px;
  height: 30px;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: all 0.15s linear;
  border: 1px solid #707070;
  background-color: #fff;
  border-radius: 50%;
  font-size: 16px;
  padding-bottom: 3px;
  color: #707070;
  cursor: pointer;
  font-family: "Noto Sans JP", sans-serif;
}
.pagination-number.active {
  color: #fff;
  background-color: #707070;
}

.no-posts {
  text-align: center;
}

.nav-buttons {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  gap: 32px;
  margin-top: 30px;
  max-width: 660px;
}

.nav-buttons a {
  position: relative;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  width: 144px;
  height: 32px;
  border: 1px solid #707070;
  border-radius: 2px;
  margin: 0;
  background-color: #fff;
}

.nav-buttons a span {
  position: relative;
  color: #707070;
}

.nav-buttons a.prev_post span {
  left: 8px;
}

.nav-buttons a.next_post span {
  right: 8px;
}

.nav-buttons a img {
  position: absolute;
  width: 8px;
  height: 14px;
}

.nav-buttons a.prev_post img {
  left: 10px;
}

.nav-buttons a.next_post img {
  right: 10px;
}
.nav-buttons a.next_post {
  margin-left: auto;
}

@media (min-width: 768px) {
  .pagination {
    margin-top: 60px;
  }
  main,
  .page {
    margin-top: 100px;
  }

  .subtitle {
    font-size: 30px;
    line-height: 42px;
  }

  .pc {
    display: initial;
  }

  .sp {
    display: none;
  }

  .mobile-nav-menu {
    display: none;
  }

  .mobile-nav {
    display: none;
  }

  .header {
    height: 100px;
  }

  .header-menu-contact {
    position: absolute;
    display: flex;
    top: 0;
    right: 0;
    width: fit-content;
    background-color: #fc9300;
    color: #fff;
    width: min(158px, max(75px, calc(158px + 50vw - 600px)));
    height: 100%;
    font-size: 16px;
    gap: 10px;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
  }

  .header-menu-contact:hover {
    background-color: #ffae42;
  }

  @media (max-width: 1140px) {
    .header-menu-contact span {
      display: none;
    }
  }

  .header-menu-contact::before {
    content: "";
    display: block;
    width: 22px;
    height: 18px;
    background-image: url(./assets/images/common/icon-mail.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  .header-menu {
    position: absolute;
    left: calc(50% - min(80px, max(40px, 8.1vw)));
    left: calc(
      50% -
        (
          (
              min(434px, max(295px, 36.7vw)) -
                min(280px, max(210px, calc(280px + (50vw - 506px) * 2 / 3)))
            ) / 2
        )
    );
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: row;
    gap: min(210px, max(150px, calc(210px + 50vw - 506px)));
    /* gap: 210px; */
    justify-content: center;
    max-width: 921px;
    width: 100%;
  }

  .header-menu div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
  }

  .header-menu div:first-child {
    width: min(434px, max(300px, 36.7vw));
  }

  .header-menu div:last-child {
    width: min(278px, max(210px, calc(278px + (50vw - 506px) * 2 / 3)));
  }

  .header-logo {
    position: absolute;
    left: 50%;
    top: calc(50% + min(20px, max(10px, calc(20px + 50vw - 506px))));
    transform: translate(-50%, -50%);
    width: min(126px, max(100px, calc(126px + 50vw - 506px)));
    height: 100px;
    margin: 0 auto;
  }

  .header-bg {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -40px;
    width: min(200px, max(178px, calc(200px + 50vw - 506px)));
    height: min(200px, max(178px, calc(200px + 50vw - 506px)));
    border-radius: 50%;
    background-color: #fff;
    z-index: -2;
    filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.16));
    cursor: pointer;
  }

  .header::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: -1;
  }

  .logo-mask {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -40px;
    width: min(200px, max(178px, calc(200px + 50vw - 506px)));
    height: min(200px, max(178px, calc(200px + 50vw - 506px)));
    border-radius: 50%;
    z-index: 1;
    cursor: pointer;
    transition: all 0.3s;
  }

  .logo-mask:hover {
    box-shadow: rgba(252, 147, 0, 0.5) 0px -23px 25px 0px inset,
      rgba(252, 147, 0, 0.15) 0px -20px 20px 0px inset,
      rgba(252, 147, 0, 0.1) 0px -20px 20px 0px inset,
      rgba(252, 147, 0, 0.06) 0px 2px 1px, rgba(252, 147, 0, 0.3) 0px 4px 2px,
      rgba(252, 147, 0, 0.09) 0px 8px 4px, rgba(252, 147, 0, 0.3) 0px 16px 8px,
      rgba(252, 147, 0, 0.09) 0px 32px 16px;
  }

  .header-logo-image {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
  }

  .header-logo-image img {
    width: auto;
    height: 100%;
    object-fit: contain;
  }

  .header-menu__item a {
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    height: 74px;
    justify-content: space-between;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-size: min(14px, max(12px, 1.4vw));
    font-weight: 400;
    transition: all 0.3s;
    color: #000;
  }

  .header-menu__item span {
    position: relative;
    top: -1px;
  }

  .header-menu__item--numbers a {
    font-size: 12px;
    line-height: 16px;
  }

  .header-menu__item a:hover {
    filter: invert(45%) sepia(1) hue-rotate(-10deg) saturate(5);
  }

  .header-menu__item img {
    display: block;
    height: 50px;
    width: auto;
    object-fit: contain;
  }

  .header-menu__item--news {
    height: 63px;
  }

  .header-menu__item--recruit img {
    position: relative;
    left: 5px;
  }

  .header-menu__item--numbers img {
    height: 44.5px;
    margin-bottom: 4px;
  }

  .header-menu__item--news a,
  .header-menu__item--tiktok a {
    height: 63px;
    justify-content: flex-end;
    gap: 16px;
    align-items: center;
  }

  .header-menu__item--news img {
    height: 28px;
    position: relative;
    top: -4px;
  }

  .header-menu__item--tiktok img {
    width: 24px;
    height: 28px;
    position: relative;
    top: -4px;
  }

  footer {
    margin-bottom: 0px;
  }

  .footer-wrapper {
    padding: 82px 20px 80px;
  }

  .footer-address-wrapper {
    display: flex;
    flex-direction: row;
    max-width: 478px;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    gap: 40px;
  }

  .footer-logo {
    width: 154px;
    height: auto;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
  }

  .footer-address {
    margin-top: 0;
    text-align: left;
    white-space: nowrap;
  }

  .footer-nav-wrapper {
    overflow: hidden;
  }

  .footer-nav {
    margin: 25px auto 0;
    width: fit-content;
    max-width: 1000px;
  }

  .footer-nav-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
  }

  .footer-nav-item a {
    padding: 8px min(23px, max(calc(23px + (50vw - 525px) / 4), 8px));
    transition: all 0.3s;
    font-size: min(14px, 1.75vw);
  }

  .footer-nav-item a:hover {
    background-color: #25a882;
  }

  .footer-nav-item:not(:last-child) a {
    border-bottom: none;
    border-right: 1px solid #fff;
    height: 100%;
  }

  .footer-rights {
    font-size: 16px;
    padding-top: 0px;
    padding-bottom: 30px;
  }

  .link-button {
    transition: all 0.3s;
  }

  .link-button:hover {
    background-color: #ffae42;
  }

  .breadcrumb {
    width: 100%;
    top: 110px;
    left: auto;
    padding-left: 37px;
  }

  .result__pagination-box {
    margin-top: 30px;
  }

  @media (min-width: 1074px) {
    .breadcrumb {
      left: 50%;
      transform: translateX(-50%);
      padding-left: 0;
    }
  }

  .nav-buttons a {
    height: 40px;
  }
}
