* {
  font-family: "Noto Sans JP", sans-serif;
}

body {
  overflow-x: hidden;
  width: 100%;
}

section {
  position: relative;
  z-index: 1;
  padding: 80px 20px;
  background-image: url(./assets/images/common/white-wall.png);
  background-repeat: repeat;
  background-size: 500px 500px;
}

section.mask::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: #f7f4ef;
  mix-blend-mode: multiply;
  z-index: 1;
}

.section__title {
  font-size: 24px;
  line-height: 32px;
  font-weight: 900;
  color: #0b318f;
  text-align: center;
}

.section__text {
  font-size: max(14px, min(18px, 4.8vw));
  line-height: 32px;
  font-weight: 600;
  /* text-align: justify; */
}

.pc__element {
  display: none;
}

/* .evt {
  visibility: hidden;
} */

.pc {
  display: none;
}

main {
  position: relative;
}

.shadow-title {
  margin-top: 10px;
  position: relative;
  font-size: 25px;
  line-height: 1;
  color: #303030;
  text-align: center;
  text-transform: capitalize;
}

.shadow-title * {
  position: relative;
  z-index: 1;
}

.shadow-title::before {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 45px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.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: 60px;
  width: 100%;
  z-index: 1001;
  top: 0;
  background: transparent;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.header__logo {
  background-image: url(./assets/images/common/logo.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  height: 46px;
  width: 46px;
  background-size: contain;
  display: block;
  z-index: 2;
}

.header__nav {
  display: none;
}

.header__contact {
  display: none;
}

.gtranslate_wrapper {
  position: relative;
  width: 108px !important;
  height: 30px !important;
  font-size: 14px;
  line-height: 1;
  border: 1px solid #907e4e !important;
  padding-left: 7px;
  padding-right: 7px;
  border-radius: 3px !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url(./assets/images/common/select-arrow.svg);
  background-size: 14px 9px;
  background-repeat: no-repeat;
  background-position: right 7px center;
  outline: none;
  color: #303030 !important;
}

.gt_switcher-popup {
  display: flex !important;
  align-items: center;
  width: 100%;
  height: 100%;
}

.gt_white_content {
  display: none;
  position: fixed;
  top: 65px !important;
  left: auto !important;
  right: 10px !important;
  width: 180px !important;
  height: 111px !important;
  margin: 0 !important;
  padding: 0 !important;
  background-color: white;
  color: #303030 !important;
  z-index: 19881205;
  overflow: auto;
  text-align: left;
}

.gt_switcher-popup img,
.gt_languages img {
  display: none !important;
}
.gt_selector:focus {
  border: 2px solid #907e4e !important;
}

.gt_black_overlay {
  /* display: none !important; */
  background-color: transparent !important;
  -moz-opacity: 0 !important;
  opacity: 0 !important;
  filter: unset !important;
}

.gtranslate_wrapper > a.glink:first-child span:last-child {
  display: none !important;
}

.gtranslate_wrapper a.glink span {
  color: #303030 !important;
  margin-right: 0 !important;
  font-size: 14px !important;
}

.gt_white_content {
  border-radius: 4px !important;
}

.gt_white_content a {
  display: flex !important;
  justify-content: center;
  align-items: center;
  padding: 0 !important;
  border-bottom: 1px solid #907e4e;
  white-space: nowrap;
  line-height: 0;
  flex-basis: unset !important;
  box-sizing: border-box;
  text-align: center !important;
  flex-basis: 37px !important;
}

a.glink.gt-current-lang {
  font-weight: 400 !important;
  background-color: #d7d7d7 !important;
}

/* .gt-popup-trigger,
.gt-selector,
.gt-current-lang {
  text-decoration: none !important;
}

.gt-popup-trigger:hover,
.gt-selector:hover,
.gt-current-lang:hover {
  text-decoration: none !important;
}

.gt_switcher-popup,
.glink.nturl {
  cursor: pointer;
}

.gt_switcher-popup:focus,
.glink.nturl:focus {
  outline: none;
} */

/* Предотвращаем скролл при фокусе */
/* .gt_switcher-popup:target,
.glink.nturl:target {
  scroll-margin-top: 0;
} */

/* .gt_selector select:first-child {
  pointer-events: none;
} */

.popup-menu,
.reserve-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;
  transition: right 0.3s cubic-bezier(0.445, 0.05, 0.55, 0.95);
  background-image: url(./assets/images/common/white-wall.png);
  background-repeat: repeat;
  background-size: 375px 500px;
}

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

.popup-menu__close-button,
.reserve-popup-menu__close-button {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  bottom: 20px;
  right: 20px;
  font-size: 12px;
  color: #000000;
  cursor: pointer;
}

.popup-menu__close-button,
.reserve-popup-menu__close-button {
  font-size: 9px;
  line-height: 1;
  font-weight: 500;
}

.popup-menu__close-button img {
  width: 30px;
  height: 30px;
}

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

.menu-open {
  right: 0;
}

.header_wrapper .yoyaku_button {
  display: none;
}

.popup-menu__nav {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  top: -20px;
  align-items: center;
  gap: 0;
  margin: auto auto;
  padding: 0 30px;
}

.popup-menu__nav-item {
  display: block;
  width: 100%;
  border-bottom: 1px solid #b9a68d;
  position: relative;
}

.popup-menu__nav-item a {
  padding-bottom: 15px;
  text-transform: capitalize;
}

.popup-menu__nav-item:not(:first-child) a {
  padding-top: clamp(20px, 6vh, 45px);
}

.popup-menu__nav-item::after {
  position: absolute;
  content: "";
  display: block;
  width: 9px;
  height: 12px;
  background-image: url(./assets/images/common/icon-arrow-popup.svg);
  background-repeat: no-repeat;
  background-size: contain;
  right: 0;
  bottom: 18px;
}

.popup-menu__nav-item a {
  color: #303030;
  font-size: 18px;
  line-height: 20px;
  width: 100%;
  display: block;
}

.reserve-popup-menu__nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 109px;
}

.reserve-popup-menu__nav-item {
  display: block;
  width: 100%;

  border-bottom: 1px solid #d9d9d9;
  position: relative;
  background-color: #f2f2f2;
}

.reserve-popup-menu__nav-item a {
  color: #303030;
  font-size: 13px;
  font-weight: 600;
  line-height: 25px;
  width: 100%;
  display: block;
  padding: 13px 34px 12px;
}

.mobile-menu__container {
  position: fixed;
  display: flex;
  align-items: center;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: #a52c34;
  z-index: 1000;
}

.mobile-menu {
  width: calc(100% - 42px);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 auto;
  max-width: 324px;
}

.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;
  /* width: 44px; */
  min-height: 40px;
}

.mobile-menu__item font font {
  text-transform: lowercase;
}

/* .mobile-menu__item:first-child {
  width: 33px;
} */

.mobile-menu__item span {
  font-size: 11px;
  color: white;
  text-align: center;
}

.mobile-menu__item:first-child span,
.mobile-menu__item:last-child span {
  white-space: nowrap;
}

.mobile-menu__item img {
  display: block;
  height: auto;
  width: 27px;
}

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

.footer {
  background-image: url(./assets/images/common/footer-background.webp);
  background-size: 1087px 726px;
  background-position: 71% top;
  padding: 80px 24px 80px;
  margin-bottom: 7px;
  position: relative;
}

.footer * {
  position: relative;
  z-index: 1;
}

.footer::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.82);
  left: 0;
  top: 0;
  z-index: 0;
}

.footer-address img {
  display: block;
  width: 100px;
  margin: 0 auto;
}

.footer-address > div {
  font-size: 14px;
  line-height: 28px;
  text-align: center;
  margin-top: 30px;
}

.footer__menu {
  margin: 52px auto 0;
  display: grid;
  grid-template-columns: max-content max-content;
  font-size: clamp(2px, 4vw, 14px);
  line-height: 1;
  height: 120px;
  flex-wrap: wrap;
  width: fit-content;
  column-gap: min(57px, max(30px, calc(57px + 50vw - 187.5px)));
  row-gap: 20px;
  justify-content: space-between;
}

.footer__menu-item:nth-child(4) a {
  white-space: nowrap;
}

.footer__menu-item a {
  color: #000000;
}

@media (max-width: 350px) {
  .footer__menu-item a {
    max-width: 110px;
    display: block;
  }
}

.footer-rights {
  margin-top: 60px;
  text-align: center;
  font-size: 12px;
  line-height: 1;
}

.link-button {
  position: relative;
  display: block;
  margin: 30px auto 0;
  height: 60px;
  width: 100%;
  max-width: 315px;
  line-height: 60px;
  color: white;
  background-color: #a52c34;
  border-radius: 10px;
  text-align: center;
  font-size: 16px;
  filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, 0.2));
}

.link-button::after {
  content: "";
  display: block;
  position: absolute;
  width: 9px;
  height: 11px;
  background-image: url(./assets/images/common/link-arrow.svg);
  background-size: contain;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
}

.to-top-button {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 10px;
  height: 103px;
  gap: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  color: #303030;
  font-size: 12px;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.to-top-button.show {
  opacity: 1;
  visibility: visible;
}

.to-top-button .arrow {
  width: 6px;
  height: 42px;
  background-image: url(./assets/images/common/to-top-arrow.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.to-top-button .text {
  position: absolute;
  width: 56px;
  white-space: nowrap;
  top: 70px;
  left: 50%;
  transform: translateX(-50%) rotate(-90deg);
}

.breadcrumb {
  padding-left: 20px;
  padding-bottom: 16px;
  padding-right: 20px;
  background-image: url(./assets/images/common/white-wall.png);
  background-repeat: repeat;
  background-size: 500px 500px;
  box-sizing: content-box;
}

.breadcrumb .home-icon img {
  width: 13px;
  height: auto;
  object-fit: cover;
}

.breadcrumb div {
  font-size: 11px;
  line-height: 1;
  color: #303030;
  display: inline-block;
}
.home-icon div {
  color: #a52c34;
  display: inline-block;
}

.prev {
  color: #303030;
}

.separator {
  display: inline-block;
  width: 4px;
  height: 8px;
  object-fit: contain;
  object-position: center;
  margin: 0 2px;
}

.page-cover {
  width: 100%;
  aspect-ratio: 375 / 450;
  max-height: 450px;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cover-title {
  font-size: 20px;
  line-height: 25px;
  color: white;
  text-align: center;
  margin-top: 60px;
  text-shadow: 0px 0px 6px #000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cover-title font font {
  text-transform: capitalize;
}

.cover-title::before {
  height: 40px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 6px;
}

.pagination {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 148px;
  margin: 30px auto 0;
}
.pagination a {
  text-decoration: none;
  color: #303030;
  font-size: 13px;
  transition: color 0.3s ease;
}

.prev,
.next {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.next {
  margin-left: auto;
}

.prev::before,
.next::after {
  content: "";
  display: block;
  width: 6px;
  height: 10px;
  background-image: url(./assets/images/common/pagination-arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-left: 3px;
  position: relative;
  top: 1px;
  transition: all 0.3s ease;
}

.prev::before {
  transform: scale(-1);
  margin-left: 0;
  margin-right: 5px;
}

font font {
  line-height: 1.4 !important;
}

.header font font {
  text-align: center;
  display: inline-block;
}

.footer__menu-item font font {
  text-transform: capitalize;
}

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

  .pc {
    display: initial;
  }

  .shadow-title {
    margin-top: 28px;
    font-size: 35px;
  }

  .shadow-title::before {
    height: 90px;
  }

  .mobile-menu__container {
    display: none;
  }

  section {
    padding: 100px 30px;
  }

  .header {
    height: 75px;
    padding: 0 min(75px, max(calc(30px + 50vw - 540px), 30px));
  }

  .header__logo {
    left: min(75px, max(calc(30px + 50vw - 540px), 30px));
    height: 65px;
    width: 65px;
  }

  .header__nav {
    display: initial;
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: max(20px, calc(60px + 50vw - 683px));
    height: 100%;
    align-items: center;
    min-width: 508px;
    gap: min(35px, max(calc(35px + 50vw - 500px), 15px));
    justify-content: space-between;
  }

  @media (max-width: 1300px) {
    .header__nav {
      margin-left: 20px;
      justify-content: center;
      min-width: 0;
    }
  }

  .header__nav-item a {
    position: relative;
    color: #303030;
    font-size: clamp(12px, 1.6vw, 16px);
    text-align: center;
    line-height: 1.2;
    text-transform: capitalize;
    display: block;
    /* transition: all 0.3s ease; */
  }

  .header__nav-item a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    display: block;
    width: 0;
    height: 2px;
    background-color: #a52c34;

    transition: all 0.3s;
  }

  .header__nav-item a:hover {
    color: #a52c34;
  }

  .header__nav-item a:hover::after {
    width: 100%;
  }

  .header__contact {
    display: block;
    background-color: #a52c34;
    height: 46px;
    width: min(200px, max(calc(200px + 50vw - 500px), 160px));
    border-radius: 25px;
    text-align: center;
    line-height: 46px;
    filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, 0.2));
    height: 50px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    box-sizing: border-box;
    border: 2px solid #a52c34;
    transition: all 0.3s;
    margin-left: 16px;
  }

  .header__contact::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-image: url(./assets/images/common/icon-mail.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    top: 1px;
    transition: all 0.3s;
  }

  .header__contact:hover {
    border: 2px solid #a52c34;
    background-color: white;
    color: #a52c34;
    filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, 0));
    transition: all 0.3s;
  }

  .header__contact:hover::before {
    background-image: url(./assets/images/common/icon-mail-red.png);
    transition: all 0.3s;
  }

  .link-button {
    margin: 40px auto 0;
    max-width: 230px;
    height: 50px;
    line-height: 50px;
    transition: all 0.3s ease;
    opacity: 1;
  }

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

  .footer {
    padding: 53px 0 15px;
    background-size: 132% auto;
    background-position: right 50%;
    margin-bottom: 0;
  }

  .footer-container {
    display: flex;
    flex-direction: row;
    max-width: 708px;
    margin: 0 auto;
    gap: min(148px, max(50px, calc(148px + 50vw - 600px)));
  }

  .footer__menu {
    margin: 6px auto 0;
    row-gap: 35px;
    column-gap: 45px;
    font-size: 16px;
    line-height: 1;
    height: 169px;
    max-width: 317px;
  }

  .footer-address {
    max-width: 243px;
  }

  .footer-address img {
    margin: 0;
  }

  .footer-address p {
    text-align: left;
    width: 243px;
    font-size: 14px;
    line-height: 20px;
    margin-top: 43px;
  }

  .footer-rights {
    margin-top: 20px;
    font-size: 14px;
  }

  .footer__menu-item a {
    position: relative;
  }

  .footer__menu-item a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    display: block;
    width: 0;
    height: 2px;
    background-color: #a52c34;
    transition: all 0.3s;
  }

  .footer__menu-item a:hover {
    color: #a52c34;
  }

  .footer__menu-item a:hover::after {
    width: 100%;
  }

  .footer__menu-item font font {
    text-transform: capitalize;
  }

  .to-top-button {
    position: fixed;
    bottom: 73px;
    right: 20px;
    width: 10px;
    height: 152px;
    gap: 17px;
    font-size: 14px;
  }

  .to-top-button .arrow {
    position: relative;
    top: 0;
    width: 9px;
    height: 70px;
    background-image: url(./assets/images/common/to-top-arrow.svg);
    transition: top 0.3s ease;
  }

  .to-top-button:hover .arrow {
    top: -10px;
  }

  .to-top-button .text {
    width: 65px;
    top: 105px;
    left: calc(50% + 2px);
  }

  .page-cover {
    width: 100%;
    aspect-ratio: 1366 / 450;
    max-height: 600px;
  }

  .cover-title {
    font-size: 25px;
    margin-top: 75px;
  }

  .cover-title::before {
    height: 77px;
    margin-bottom: 15px;
  }

  .breadcrumb {
    padding-bottom: 40px;
    padding-left: calc(50vw - 500px);
  }

  .breadcrumb .home-icon img {
    position: relative;
    top: -2px;
    width: 19px;
  }

  .separator {
    display: inline-block;
    width: 7px;
    height: 11px;
    object-fit: contain;
    object-position: center;
    margin: 0 4px;
  }

  .breadcrumb span {
    font-size: 14px;
  }

  @media (max-width: 1060px) {
    .breadcrumb {
      padding-left: 30px;
    }
  }
  .pagination {
    margin-top: 20px;
    max-width: 160px;
  }

  .pagination a:hover {
    opacity: 0.8;
  }

  .gtranslate_wrapper {
    width: 117px !important;
    height: 32px !important;
    font-size: 16px;
  }

  .gt_white_content {
    top: 35px !important;
    left: auto !important;
    right: 0px !important;
    width: 117px !important;
    height: 111px !important;
  }

  .gt_white_content {
    position: absolute !important;
  }

  .footer-address > div {
    text-align: left;
    line-height: 24px;
  }
}
