@import url("./assets/styles/reset.css");

html {
  font-size: 62.5%;
  font-family: "Shippori Mincho", serif;
  color: #3b4043;
  background-image: url(./assets/images/common/concrete.webp);
  background-repeat: repeat;
  background-size: 400px 400px;
}

/* フォント */
:root {
  ---sans-font: "Noto Sans JP", sans-serif;
}

.pc {
  display: none;
}

.body-copy {
  font-size: 1.6rem;
  line-height: 1.75;
}

.body-copy--white {
  color: #fff;
}

/* ヘーダ */
.header {
  width: 100%;
  position: relative;
  position: sticky;
  top: 0;
  z-index: 100;
  filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.16));
}

.header__wrapper {
  background-color: #fff;
  padding: 1.3rem 2rem 1.1rem;
  transition: all 0.3s ease;
}

.top-bar {
  background-color: #2d4074;
}

.top-bar__slogan {
  color: #fff;
  font-size: 1rem;
  line-height: 2rem;
  font-weight: 500;
  text-align: center;
  font-family: var(---sans-font);
}

.top-bar__sns {
  display: none;
}

.header__logo {
  display: flex;
  gap: 1.15rem;
  justify-content: center;
}

.header__logo-name {
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 700;
  display: block;
}

.header__logo-legend {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;
  display: block;
}

.header__logo img {
  width: 3.3rem;
  height: fit-content;
  image-rendering: pixelated;
  position: relative;
  top: 0.2rem;
}

.header__nav {
  display: none;
}

.popup {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  z-index: 1002;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  gap: 10.5vh;
  align-items: center;
  background-color: #2d4074;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding-bottom: 18px;
  overflow: auto;
}

.popup__menu {
  margin-top: auto;
  margin-bottom: auto;
}

.popup__close span {
  font-size: 1.2rem;
  white-space: nowrap;
  color: #fff;
  line-height: 1.7rem;
  margin-top: 1rem;
  font-family: var(---sans-font);
}

.popup__close img {
  width: 2.8rem;
  height: 2.8rem;
  object-fit: contain;
}

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

.popup__close {
  position: absolute;
  bottom: 13px;
  right: 31px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
.popup--open .popup__close {
  position: fixed;
}

.menu__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4.49vh;
}

.menu__link {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu__link-text {
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.menu__link-legend {
  font-family: var(---sans-font);
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 0.15rem;
  font-weight: 700;
}

.menu__sns {
  display: flex;
  gap: 2rem;
  margin-top: 4.49vh;
}

.menu__sns-item {
  display: block;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.menu__sns-item--tiktok {
  background-image: url(./assets/images/common/icon-tiktok.svg);
}

.menu__sns-item--instagram {
  background-image: url(./assets/images/common/icon-instagram.svg);
}

.menu__sns-item--x {
  background-image: url(./assets/images/common/icon-x.svg);
}

.menu__sns-item--line {
  background-image: url(./assets/images/common/icon-line.svg);
}

.mobile-menu__container {
  position: fixed;
  display: flex;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 9rem;
  background-color: #ffffff;
  z-index: 1000;
}

.mobile-menu {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 31.6rem;
  margin: 0 auto;
  padding: 2.15rem 2rem 1.3rem;
  box-sizing: content-box;
}

.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: 32px;
  height: 56px;
}

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

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

.mobile-menu__item:last-child {
  width: 48px;
  height: 49px;
}

.mobile-menu__item span {
  font-size: 1.2rem;
  line-height: 1.7rem;
  transform-origin: center;
  color: #4b4b4b;
  font-family: var(---sans-font);
}

.mobile-menu__item img {
  display: block;
  height: auto;
  width: 32px;
  height: auto;
  image-rendering: crisp-edges;
}

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

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

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

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

.section-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.1rem;
}

.section-title__en {
  font-family: "Oswald", sans-serif;
  font-size: 3.2rem;
  line-height: 4.7rem;
  color: #2d4074;
  text-align: center;
}

.section-title__ja {
  font-size: 2rem;
  line-height: 2.9rem;
}

.section-title--white * {
  color: #fff;
}

.section-title--white .section-title__ja {
  font-weight: 600;
}

.link {
  display: block;
  width: min(85.33vw, 320px);
  height: 50px;
  border-radius: 25px;
  background-color: #d61518;
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem auto 0;
  font-weight: 500;
  text-align: center;
}

footer {
  background-color: #2d4074;
  margin-bottom: 90px;
}

.footer__nav {
  padding: 40px 20px;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.footer__nav-item a {
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.footer__address {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  justify-content: center;
  align-items: center;
}

.footer__address span {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.7rem;
  font-weight: 500;
}

.footer__contacts {
  padding: 3rem 2rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

.footer__content-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 235px;
  height: 48px;
  border-radius: 24px;
  background-color: #fff;
  color: #000;
  margin: 0 auto;
  font-weight: 500;
  gap: 10px;
}

.footer__content-link--mail {
  font-size: 1.6rem;
}

.footer__content-link--mail::before {
  content: "";
  display: block;
  width: 22px;
  height: 18px;
  background-image: url(./assets/images/common/icon-mail-black.svg);
  background-size: contain;
  background-repeat: no-repeat;
}

.footer__content-link--call {
  font-size: 2rem;
}

.footer__content-link--call::before {
  content: "";
  display: block;
  width: 19px;
  height: 20px;
  background-image: url(./assets/images/common/icon-phone.svg);
  background-size: contain;
  background-repeat: no-repeat;
}

.footer__contact-legend {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.6rem;
  margin-top: 0.4rem;
  text-align: center;
}

.footer__sns {
  background-color: #000;
  padding: 0.5rem 2rem 0.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.footer__sns-item {
  display: block;
  width: 32px;
  height: 32px;
  background-size: auto 16px;
  background-repeat: no-repeat;
  background-position: center;
}

.footer__sns-item--tiktok {
  background-image: url(./assets/images/common/icon-tiktok.svg);
}

.footer__sns-item--instagram {
  background-image: url(./assets/images/common/icon-instagram.svg);
}

.footer__sns-item--x {
  background-image: url(./assets/images/common/icon-x.svg);
}

.footer__sns-item--line {
  background-image: url(./assets/images/common/icon-line.svg);
}

.footer__rights {
  font-size: 1.6rem;
  line-height: 1.5;
  text-align: center;
  color: #000;
  padding-top: 0.8rem;
  background-color: #fff;
}

.fab {
  display: none;
}

.page-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 375 / 400;
  max-height: 40rem;
  overflow: hidden;
}

.page-cover__image {
  display: block;
  width: 100%;
  height: 100%;
  filter: brightness(0.85);
}

.page-cover__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}

.page-cover__title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.page-cover__title-ja {
  font-size: 3.2rem;
  line-height: 4.7rem;
  color: #fff;
  font-family: "Oswald", sans-serif;
}

.page-cover__title-en {
  font-size: 2.4rem;
  line-height: 3.5rem;
  color: #fff;
}

.decorated {
  position: relative;
  margin-top: -8rem;
  padding-top: 12rem !important;
}

.decorated::before {
  content: "";
  display: block;
  width: 100%;
  height: 8rem;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  background-image: url(./assets/images/common/concrete.webp);
  background-size: 400px 400px;
  background-repeat: repeat;
  position: absolute;
  top: 0.5px;
  left: 0;
}

.no-posts {
  font-size: 16px;
  text-align: center;
  padding: 40px 0;
}

@-webkit-keyframes loader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes loader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.load-container.fadeout {
  opacity: 1;
}

.no-loader .loader {
  display: none;
}

.load-container {
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
}

.load-complete .load-container {
  width: 0;
  height: 0;
}

.loader-bg {
  width: 100%;
  height: 100%;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
}

.load-complete {
  -webkit-transition: 0.3s;
  transition: 0.3s;
  opacity: 1;
}

.loader {
  font-size: 10px;
  text-indent: -9999em;
  width: 6em;
  height: 6em;
  border-radius: 50%;
  background: #ffffff;
  background: -ms-linear-gradient(left, #fff 10%, rgba(255, 255, 255, 0) 42%);
  -webkit-animation: loader 1.2s infinite linear;
  animation: loader 1.2s infinite linear;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    color-stop(10%, #2d4074),
    color-stop(42%, rgba(157, 156, 158, 0))
  );
  background: linear-gradient(
    to right,
    #2d4074 10%,
    rgba(157, 156, 158, 0) 42%
  );
  position: fixed;
  top: 50%;
  left: 50%;
  margin: -3em 0 0 -3em;
  z-index: 9999;
  pointer-events: none;
}

.loader:before {
  width: 3em;
  height: 3em;
  background: #2d4074;
  border-radius: 100% 0 0 0;
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -1.5em;
  margin-left: -1.5em;
  content: "";
}

.loader:after {
  background: #fff;
  width: 5.7em;
  height: 5.7em;
  border-radius: 50%;
  content: "";
  margin: auto;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

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

  .pc {
    display: initial;
  }

  .top-bar {
    display: flex;
    padding: 0 min(180px, max(20px, calc(180px + 50vw - 683px))) 0
      min(120px, max(20px, calc(120px + 50vw - 683px)));
    justify-content: space-between;
  }

  .header__title {
    font-size: 1.2rem;
    text-align: left;
  }

  .mobile-menu__container {
    display: none;
  }

  .top-bar__sns {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .top-bar__sns-item {
    display: block;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s;
  }

  .top-bar__sns-item:hover {
    opacity: 0.7;
  }

  .top-bar__sns-item--tiktok {
    background-image: url(./assets/images/common/icon-tiktok.svg);
  }

  .top-bar__sns-item--instagram {
    background-image: url(./assets/images/common/icon-instagram.svg);
  }

  .top-bar__sns-item--x {
    background-image: url(./assets/images/common/icon-x.svg);
  }

  .top-bar__sns-item--line {
    background-image: url(./assets/images/common/icon-line.svg);
  }

  .header {
    height: 80px;
  }

  .header__wrapper {
    display: flex;
    align-items: center;
    padding: 1.2rem min(120px, max(20px, calc(120px + 50vw - 683px))) 1.3rem;
    justify-content: space-between;
    gap: 10px;
  }

  .header__logo-name {
    font-size: clamp(1.3rem, 1.33vw, 1.6rem);
  }

  .header__nav {
    display: block;
    flex: 1;
  }

  .header__nav-list {
    display: flex;
    gap: min(30px, max(10px, calc(30px + 12.5vw - 141px)));
    justify-content: right;
  }

  .header__nav-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s;
  }

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

  @media (max-width: 1000px) {
    .header__nav-link-ja {
      letter-spacing: 0;
    }
  }

  .header__nav-link-ja {
    font-size: clamp(1.3rem, 1.33vw, 1.6rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.5;
    transition: all 0.3s;
    white-space: nowrap;
  }

  @media (min-width: 1367px) {
    .header__nav-link-ja {
      font-size: clamp(1.6rem, 1.171vw, 1.8rem);
    }
  }

  .header__nav-link-en {
    font-family: var(---sans-font);
    font-size: clamp(1rem, 7.33vw, 1.2rem);
    line-height: 1.5;
  }

  .header__logo-legend br {
    display: none;
  }

  .header__logo-text {
    width: fit-content;
  }

  @media (max-width: 846px) {
    .header__wrapper {
      padding-left: 10px;
      padding-right: 10px;
    }

    .header__logo-legend br {
      display: block;
    }
  }

  .fab {
    position: fixed;
    right: 0;
    bottom: 87px;
    color: #fff;
    background-color: #d61518;
    border-radius: 8px 0 0 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 199px;
    z-index: 1001;
    font-size: 2rem;
    font-weight: 500;
    padding: 0 10px;
    transition: all 0.3s;
  }

  .fab:hover {
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3),
      rgba(50, 50, 93, 0.25) 0px 20px 20px -20px inset,
      rgba(0, 0, 0, 0.3) 0px 8px 15px -5px;
  }

  .section-title {
    gap: 0;
  }

  .section-title__en {
    font-size: 4.8rem;
    line-height: 7.1rem;
  }

  .section-title__ja {
    font-size: 2.4rem;
    line-height: 3.5rem;
  }

  .link {
    width: 320px;
    margin: 4rem auto 0;
    background-color: #2d4074;
    transition: all 0.3s;
  }

  .link:hover {
    background-color: #d61518;
  }

  .footer {
    margin: 0;
  }

  .footer__nav {
    padding: 80px 20px 40px;
  }

  .footer__nav-list {
    flex-direction: row;
    gap: 30px;
  }

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

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

  .footer__contacts {
    padding: 4rem 2rem 6.4rem;
    flex-direction: row;
    justify-content: center;
    gap: 4rem;
    align-items: flex-start;
  }

  .footer__sns-item {
    transition: 0.3s;
  }

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

  .footer__content-link {
    transition: all 0.3s;
  }

  .footer__content-link:hover {
    opacity: 0.8;
  }

  @media (max-width: 1000px) {
    .footer__nav-item a {
      font-size: clamp(1.4rem, 1.6vw, 1.6rem);
      letter-spacing: 0;
    }

    .footer__nav-list {
      gap: clamp(23px, 3vw, 30px);
    }
  }

  .decorated {
    margin-top: -8rem;
    padding: 16rem 2.75rem;
  }

  .page-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 1366 / 400;
    min-height: 400px;
    max-height: 600px;
  }

  .page-cover__title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .page-cover__title-ja {
    font-size: max(4.8rem, 3.52vw);
    line-height: 1.48;
  }

  .page-cover__title-en {
    font-size: max(2.4rem, 1.76vw);
    line-height: 1.46;
  }

  .decorated {
    padding-top: 16rem !important;
  }
}

.pager {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4rem auto 0;
  gap: 1rem;
  width: fit-content;
}

.pagination-number {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(---sans-font);
  color: #707070;
  font-size: 1.6rem;
  padding-bottom: 0.2rem;
  transition: all 0.2s ease;
  font-weight: 500;
  width: 30px;
  height: 30px;
  background-color: #fff;
  border-radius: 2px;
  border: 1px solid #707070;
}

.pagination-number.active {
  color: #fff;
  background-color: #707070;
}
.pagination-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -35px;
  display: block;
  background-image: url(./assets/images/common/pager-arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 1.5rem;
  min-width: 1.5rem;
  height: 1.5rem;
}

.pagination-arrow--next {
  left: auto;
  right: -35px;
  transform: scaleX(-1) translateY(-50%);
}

@media (min-width: 768px) {
  .pager {
    margin-top: 6rem;
  }
}
