@charset "UTF-8";
html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}
@media screen and (min-width: 768px) {
  html {
    scroll-padding-top: 80px;
  }
}

body {
  font-family: "Noto Serif", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  color: #333;
}

.inner {
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .inner {
    margin-inline: auto;
    padding-inline: 60px;
  }
}

.section__inner {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media screen and (min-width: 768px) {
  .section__inner {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

@media screen and (max-width: 768px) {
  .hidden-sp {
    display: none;
  }
}
@media screen and (min-width: 768px) {
  .hidden-md {
    display: none;
  }
}
.section__title {
  font-size: 30px;
  text-align: left;
  padding-bottom: 40px;
  color: #C09933;
}
@media screen and (min-width: 768px) {
  .section__title {
    font-size: 60px;
    padding-bottom: 80px;
  }
}

.section__button {
  text-align: center;
  margin-top: 50px;
}
@media screen and (min-width: 768px) {
  .section__button {
    margin-top: 100px;
  }
}

.button {
  border-radius: 30px;
  border: 1px solid #000;
  background: linear-gradient(to right, #e4c87e, #7e6f46);
  padding: 10px 30px;
  color: #fff;
  display: inline-block;
  width: 250px;
}
@media screen and (min-width: 768px) {
  .button {
    background: #FFF;
    color: #333;
    box-shadow: 0 7px 0 #fff, 0 8px 0 #000;
    width: 300px;
    height: 70px;
    font-size: 20px;
    padding: 20px 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  .button::before, .button::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
  }
  .button::before {
    background: #FFF;
    z-index: 1;
  }
  .button::after {
    background: linear-gradient(to right, #ffcc99, #996633);
    opacity: 0;
    z-index: 2;
  }
  .button span {
    position: relative;
    z-index: 3;
  }
  .button:hover {
    color: #FFF;
  }
  .button:hover::after {
    opacity: 1;
  }
  .button:active {
    box-shadow: none;
    transform: translateY(7px);
  }
}

.button:hover::after {
  opacity: 1;
}

.button-text {
  position: relative;
  z-index: 10;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 2s ease, transform 2s ease;
}
.fade-in-up.is-in-view {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 5s ease, transform 5s ease;
}
.fade-in-left.is-in-left {
  opacity: 1;
  transform: translateY(0);
}

.fade__in-up__more {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 2s ease, transform 2s ease;
}
.fade__in-up__more.is-in-view {
  opacity: 1;
  transform: translateY(0);
}

/*=====================================================
# header
======================================================*/
.header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  height: 60px;
  -webkit-animation: header 1.5s var(--delay-end, 5s) forwards;
          animation: header 1.5s var(--delay-end, 5s) forwards;
  transform: translateY(-50px);
  opacity: 0;
}
@media screen and (min-width: 768px) {
  .header {
    height: 80px;
  }
}
.header__inner {
  height: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo {
  width: 50px;
  height: 50px;
  cursor: pointer;
}
@media screen and (min-width: 768px) {
  .header__logo {
    width: 80px;
    height: 80px;
  }
}
.header__lists {
  display: flex;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.header__list {
  margin-right: 20px;
}
.header__list:last-child {
  margin-right: 0;
}
.header__link {
  position: relative;
  text-decoration: none;
  color: #333;
  padding-bottom: 2px;
  transition: color 0.3s ease;
}
.header__link::before, .header__link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  height: 1px;
  background-color: #333;
}
.header__link::before {
  left: 0;
  right: 100%;
  transition: right 0.3s ease-out;
  opacity: 0.2;
}
.header__link::after {
  right: 0;
  left: 100%;
  transition: left 0.3s ease-out 0.3s;
  opacity: 0.2;
}
.header__link:hover::before {
  right: 0;
}
.header__link:hover::after {
  left: 0;
}
.header__icon {
  cursor: pointer;
}

@-webkit-keyframes header {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes header {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.no-count__header {
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
}

.drawer__close {
  color: #fff;
  text-align: right;
  cursor: pointer;
}
.drawer__nav {
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding-bottom: 100px;
  cursor: pointer;
}
.drawer__content {
  background-color: #948260;
  width: 100%;
  height: 100%;
  position: fixed;
  right: 0;
  top: 0;
  padding: 20px;
  opacity: 0;
  transition: opacity 2s;
}
.drawer__content.is-checked {
  opacity: 1;
  z-index: 200;
}
.drawer__content-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 30px;
  cursor: pointer;
}
.drawer__content-link {
  text-align: left;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  transition: 10s;
}

/*=====================================================
# fv
======================================================*/
.fv {
  height: 260px;
}
@media screen and (min-width: 768px) {
  .fv {
    height: 460px;
  }
}

.fv__inner {
  position: relative;
  padding-top: 20px;
}

.fv__message {
  display: flex;
  flex-direction: column;
  gap: 25px;
  font-size: 18px;
}
@media screen and (min-width: 768px) {
  .fv__message {
    font-size: 36px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1300px) {
  .fv__message {
    font-size: 25px;
  }
}

.fv__title, .fv__title-middle, .fv__title-end {
  -webkit-animation-name: fv_title;
          animation-name: fv_title;
  -webkit-animation-duration: 1.5s;
          animation-duration: 1.5s;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  transform: translateX(-50px);
  opacity: 0;
}

.fv__title {
  -webkit-animation-delay: var(--delay-title, 3s);
          animation-delay: var(--delay-title, 3s);
}

.fv__title-middle {
  -webkit-animation-delay: var(--delay-middle, 4s);
          animation-delay: var(--delay-middle, 4s);
}
@media screen and (min-width: 768px) {
  .fv__title-middle {
    margin-left: 17.4vw;
  }
}

.fv__title-end {
  -webkit-animation-delay: var(--delay-end, 5s);
          animation-delay: var(--delay-end, 5s);
}
@media screen and (min-width: 768px) {
  .fv__title-end {
    margin-left: 27.8vw;
  }
}

@-webkit-keyframes fv_title {
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fv_title {
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
.fv__img {
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .fv__img {
    width: 100%;
  }
}

.fv__img-slide {
  width: 200px;
  height: 220px;
  position: absolute;
  right: 20px;
  top: 50px;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  -webkit-animation: fadeAnimation 10s infinite;
          animation: fadeAnimation 10s infinite;
}
@media screen and (min-width: 768px) {
  .fv__img-slide {
    width: 100%;
    height: 100%;
    width: auto;
    height: 640px;
    top: -90px;
    right: 60px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1300px) {
  .fv__img-slide {
    right: 20px;
  }
}

.fv__img-slide:nth-child(2) {
  -webkit-animation-delay: 10s;
          animation-delay: 10s;
  height: 200px;
  width: 200px;
}
@media screen and (min-width: 768px) {
  .fv__img-slide:nth-child(2) {
    height: 400px;
    top: 55px;
    width: auto;
  }
}
@media screen and (min-width: 768px) and (max-width: 1300px) {
  .fv__img-slide:nth-child(2) {
    z-index: 0;
  }
}

.fv__img-slide.active {
  opacity: 1;
}

/*=====================================================
# value
======================================================*/
.value {
  background-color: #FAFAFA;
}
@media screen and (min-width: 768px) {
  .value {
    padding-top: 75px;
    padding-bottom: 75px;
  }
}

@media screen and (min-width: 768px) {
  .value__inner {
    display: flex;
    justify-content: center;
  }
}

.value__comments {
  display: flex;
  flex-direction: column;
  gap: 30px;
  line-height: 200%;
  padding-top: 30px;
  padding-bottom: 30px;
}
@media screen and (min-width: 768px) {
  .value__comments {
    font-size: 25px;
    width: 955px;
    padding-top: 0;
    padding-bottom: 0;
  }
}

/*=====================================================
# works
======================================================*/
.works {
  overflow: hidden;
}

.works__cards {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
@media screen and (min-width: 768px) {
  .works__cards {
    flex-wrap: wrap;
    flex-direction: row;
    gap: 80px 13.9vw;
    justify-content: center;
  }
}
@media screen and (min-width: 768px) {
  .works__cards a {
    width: 40%;
  }
}
@media screen and (min-width: 768px) and (max-width: 1300px) {
  .works__cards {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.works__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  opacity: 0;
  transition: all 3s ease-in-out;
}

.works__card-left {
  transform: rotateZ(-45deg);
  transform-origin: left center;
}

.works__card-right {
  transform: rotateZ(45deg);
  transform-origin: right center;
}

.is-visible.works__card-left {
  opacity: 1;
  transform: rotateY(0deg);
}

.is-visible.works__card-right {
  opacity: 1;
  transform: rotateY(0deg);
}

.works__img img {
  width: 100%;
  height: auto;
}

.works__box {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}
@media screen and (min-width: 768px) {
  .works__box {
    font-size: 20px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1300px) {
  .works__box {
    font-size: 14px;
  }
}

/*=====================================================
# about
======================================================*/
.about {
  background: #FAFAFA;
}

.about__contain {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media screen and (min-width: 768px) {
  .about__contain {
    flex-direction: row;
    gap: 120px;
    justify-content: center;
  }
}

.about__contain-box {
  overflow: hidden;
}

.about__contain-img {
  filter: grayscale(80%);
}
@media screen and (min-width: 768px) {
  .about__contain-img img {
    width: 370px;
    height: auto;
  }
}

.focus-img {
  max-width: 100%;
  max-height: 100%;
  filter: blur(20px);
  transform: scale(1.1);
  transition: filter 1.5s ease-out, transform 1.5s ease-out;
  will-change: filter, transform;
}
.focus-img.in-focus {
  filter: blur(0);
  transform: scale(1);
}

.about__box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: opacity 5s ease, transform 5s ease;
}
@media screen and (min-width: 768px) {
  .about__box {
    width: 600px;
  }
}

.about__name {
  display: flex;
  flex-direction: column;
}

.about__name-sub {
  font-size: 12px;
}
@media screen and (min-width: 768px) {
  .about__name-sub {
    font-size: 20px;
  }
}

.about__name-sub__space1 {
  margin-left: 6px;
}

.about__name-sub__space2 {
  margin-left: 34px;
}

.about__name-main {
  font-size: 25px;
}
@media screen and (min-width: 768px) {
  .about__name-main {
    font-size: 36px;
  }
}

.about__comment {
  line-height: 2;
}
@media screen and (min-width: 768px) {
  .about__comment {
    font-size: 20px;
  }
}

.about__button {
  margin-top: 0;
  text-align: right;
}
@media screen and (min-width: 768px) {
  .about__button {
    margin-top: 80px;
  }
}
.about__button a {
  text-align: center;
}

/*=====================================================
# contact
======================================================*/
.contact__title {
  text-align: center;
  padding-bottom: 25px;
}

.contact__inner {
  text-align: center;
  transition: opacity 5s ease, transform 5s ease;
}

.contact__text {
  font-size: 20px;
}

.contact__button {
  margin-top: 25px;
}
@media screen and (min-width: 768px) {
  .contact__button {
    margin-top: 35px;
  }
  .contact__button a {
    width: 500px;
  }
}

/*=====================================================
# footer
======================================================*/
.footer {
  border: 1px solid #333;
}
@media screen and (min-width: 768px) {
  .footer {
    position: relative;
    z-index: 500;
  }
}

.footer__contents {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.footer__title {
  font-size: 10px;
}
@media screen and (min-width: 768px) {
  .footer__title {
    margin-left: 260px;
  }
}

.footer__lists {
  display: flex;
  gap: 30px;
}

.page__top {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.page__top.is-show {
  opacity: 1;
  visibility: visible;
}

/*=====================================================
# page-top
======================================================*/
.footer__pagetop {
  width: 50px;
  height: 50px;
  cursor: pointer;
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 10;
}
@media screen and (min-width: 768px) {
  .footer__pagetop {
    width: 80px;
    height: 80px;
  }
}

.page__top {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.page__top.is-show {
  opacity: 1;
  visibility: visible;
}

/* page-about
======================================================*/
/*=====================================================
# page__about-main
======================================================*/
.page__about-inner {
  padding-top: 60px;
  padding-bottom: 60px;
}
@media screen and (min-width: 768px) {
  .page__about-inner {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}
@media screen and (min-width: 767px) and (max-width: 1100px) {
  .page__about-inner {
    padding-left: 0;
    padding-right: 0;
  }
}

@media screen and (min-width: 768px) {
  .page__about-main {
    width: 80%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
}

.page__about-main-title {
  font-size: 18px;
  margin-bottom: 20px;
}
@media screen and (min-width: 768px) {
  .page__about-main-title {
    font-size: 25px;
    margin-bottom: 30px;
  }
}

.page__About-main__profile {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
@media screen and (min-width: 768px) {
  .page__About-main__profile {
    flex-direction: row;
    gap: 60px;
  }
}

.page__about-container {
  display: flex;
  flex-direction: column;
}

.page__about-name {
  display: flex;
  flex-direction: column;
}

.page__about-name__sub {
  font-size: 12px;
}
@media screen and (min-width: 768px) {
  .page__about-name__sub {
    font-size: 20px;
  }
}

.page__about-name__sub1 {
  margin-left: 5px;
}

.page__about-name__sub2 {
  margin-left: 20px;
}

.page__about-name__main {
  font-size: 25px;
}
@media screen and (min-width: 768px) {
  .page__about-name__main {
    font-size: 36px;
  }
}

.page__about-name__main2 {
  margin-left: 10px;
}

.page__about-img {
  filter: grayscale(70%);
}
.page__about-img img {
  width: 50%;
}
@media screen and (min-width: 768px) {
  .page__about-img img {
    width: 750px;
  }
}

.page__about-textbox {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 40px 20px;
}

.page__about-textbox__text {
  list-style: square;
  line-height: 1.5;
}
@media screen and (min-width: 768px) {
  .page__about-textbox__text {
    font-size: 20px;
  }
}

.page__about-technology {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 80px;
}

.page__about-technology-lead {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media screen and (min-width: 768px) {
  .page__about-technology-lead {
    flex-direction: row;
    gap: 50px;
  }
}

.page__about-technology__title {
  width: 125px;
}
@media screen and (min-width: 768px) {
  .page__about-technology__title {
    font-size: 20px;
  }
}

@media screen and (min-width: 768px) {
  .page__about-technology__content {
    font-size: 20px;
  }
}

.page__about-comment {
  padding: 60px;
  background: #FAFAFA;
}

.page__about-comment__cards {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
@media screen and (min-width: 768px) {
  .page__about-comment__cards {
    flex-direction: row;
    gap: 50px;
  }
}

.page__about-content__card {
  width: 85vw;
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 20px;
  background-color: #fff;
}
@media screen and (min-width: 768px) {
  .page__about-content__card {
    width: 33%;
    height: 400px;
    padding: 30px;
  }
}

.page__about-content__card-title {
  font-size: 18px;
  text-align: center;
  font-weight: bold;
}

.page__about-content__card-text {
  line-height: 2;
}

/* 一列づつ表示
======================================================*/
.page__about-technology-lead {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  visibility: hidden;
}

.page__about-technology-lead.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* 回転表示
======================================================*/
.page__about-comment {
  overflow-x: hidden; /* 横方向のはみ出しを隠す */
}
@media screen and (max-width: 500px) {
  .page__about-comment {
    padding-left: 30px;
    padding-right: 30px;
  }
}

.page__about-comment__cards {
  display: flex;
  flex-wrap: wrap; /* 必要に応じて要素を折り返す */
  justify-content: center; /* 中央揃え */
}

.page__about-content__card {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  width: 100%; /* モバイルでの全幅表示 */
  max-width: 350px; /* デスクトップでの最大幅 */
  margin: 10px; /* カード間の間隔 */
}

.page__about-content__card:nth-child(1) {
  transform: translateX(-100%) rotate(-90deg);
}

.page__about-content__card:nth-child(2) {
  transform: translateY(100%) rotate(90deg);
}

.page__about-content__card:nth-child(3) {
  transform: translateX(100%) rotate(90deg);
}

.page__about-content__card.show {
  opacity: 1;
  transform: translate(0, 0) rotate(0deg);
}

/*=====================================================
# page-works
======================================================*/
.page-works__inner {
  padding-top: 40px;
}

.page-works__head {
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 768px) {
  .page-works__head {
    gap: 30px;
  }
}

.page-works__title {
  padding: 0;
}

.page-works__text {
  font-size: 14px;
}
@media screen and (min-width: 768px) {
  .page-works__text {
    font-size: 25px;
  }
}

.page-works__cards {
  gap: 100px;
  padding-top: 50px;
}
@media screen and (min-width: 768px) {
  .page-works__cards {
    justify-content: space-between;
    padding-inline: 100px;
    gap: 150px;
    padding-top: 80px;
  }
}
@media screen and (min-width: 767px) and (max-width: 1100px) {
  .page-works__cards {
    gap: 100px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

/*=====================================================
# page-contact
======================================================*/
.page-contact__inner {
  padding-top: 40px;
  padding-bottom: 30px;
}

.page-contact__sub {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.page-contact__title {
  padding-bottom: 20px;
}
@media screen and (min-width: 768px) {
  .page-contact__title {
    text-align: center;
  }
}

.page-contact__sub {
  font-size: 14px;
}
@media screen and (min-width: 768px) {
  .page-contact__sub {
    text-align: center;
    font-size: 25px;
    line-height: 1.5;
  }
}

.page-contact__form {
  padding-top: 40px;
  padding-bottom: 30px;
}
@media screen and (min-width: 768px) {
  .page-contact__form {
    width: 800px;
    margin: 0 auto;
    padding-top: 80px;
  }
}

.page-contact__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-contact__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-contact__item-title {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.page-contact__item-required {
  color: red;
}

.page-contact__item-input--box {
  width: 100%;
  height: 40px;
  border-radius: 5px;
  border: 1px solid #111;
  background: #fff;
  padding: 13px;
  transition: border-color 0.3s;
}
.page-contact__item-input--box:hover, .page-contact__item-input--box:focus {
  border-color: #C09933;
  outline: none;
}

.form-checkbox:hover .form-checkbox__text::before {
  border-color: #7E6F46;
}

.form-textarea {
  border-radius: 5px;
  border: 1px solid #111;
  background: #fff;
  width: 100%;
  height: 180px;
  padding: 13px;
  transition: border-color 0.3s;
}
.form-textarea:hover, .form-textarea:focus {
  border-color: #C09933;
  outline: none;
}

.page-contact__privacy {
  margin-top: 50px;
  margin-bottom: 50px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .page-contact__privacy {
    margin-top: 80px;
    margin-bottom: 80px;
  }
}

.form-checkbox__input {
  width: 1px;
  height: 1px;
  position: absolute;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}
.form-checkbox__input:checked + .form-checkbox__text::after {
  opacity: 1;
}
.form-checkbox__input:focus + .form-checkbox__text::before {
  border-color: #7E6F46;
}

.form-checkbox__text {
  position: relative;
  padding-left: 30px;
  font-size: 14px;
}
@media screen and (min-width: 768px) {
  .form-checkbox__text {
    padding-left: 50px;
    cursor: pointer;
  }
}
.form-checkbox__text::before, .form-checkbox__text::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.form-checkbox__text::before {
  width: 20px;
  height: 20px;
  border-radius: 1px;
  border: 1px solid #111;
  transition: border-color 0.3s;
}
@media screen and (min-width: 768px) {
  .form-checkbox__text::before {
    margin-top: 2px;
    width: 30px;
    height: 30px;
  }
}
.form-checkbox__text::after {
  content: "";
  display: block;
  position: absolute;
  top: 1px;
  left: 5px;
  width: 13px;
  height: 7px;
  border-left: 2px solid #7E6F46;
  border-bottom: 2px solid #7E6F46;
  transform: rotate(-45deg);
  opacity: 0;
}
@media screen and (min-width: 768px) {
  .form-checkbox__text::after {
    top: 3px;
    left: 5px;
    width: 22px;
    height: 13px;
    border-left: 5px solid #7E6F46;
    border-bottom: 5px solid #7E6F46;
  }
}
.form-checkbox__text a {
  -webkit-text-decoration-line: underline;
          text-decoration-line: underline;
  transition: color 0.3s;
}
.form-checkbox__text a:hover {
  color: #7E6F46;
}
@media screen and (min-width: 768px) {
  .form-checkbox__text {
    font-size: 25px;
  }
}

.page-contact__button {
  display: block;
  margin: 0 auto;
  height: 55px;
}
@media screen and (min-width: 768px) {
  .page-contact__button {
    width: 300px;
    height: 70px;
    font-size: 20px;
    width: 400px;
    height: 80px;
  }
}

.contact__message {
  display: none;
  text-align: center;
  padding: 20px;
  margin-top: 20px;
  border-radius: 5px;
}
.contact__message p {
  font-size: 18px;
  line-height: 1.5;
}

.page-contact__button {
  background: #FFF;
  color: #333;
  border-radius: 30px;
  border: 1px solid #000;
  box-shadow: 0 7px 0 #fff, 0 8px 0 #000;
  width: 300px;
  height: 70px;
  font-size: 20px;
  padding: 20px 50px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: default;
}
.page-contact__button.-active:active {
  box-shadow: none;
  transform: translateY(7px);
}
.page-contact__button.-active {
  color: #fff;
}
.page-contact__button.-active::after {
  opacity: 1;
  cursor: pointer;
}
.page-contact__button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #ffcc99, #996633);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact__button-text.-active {
  cursor: pointer;
}

body.overlay-active {
  overflow: hidden;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  overflow-y: auto;
  justify-content: center;
  align-items: center;
}
.overlay.active {
  display: flex;
}

.overlay-content {
  padding: 20px;
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -20%);
}

.page-contact__privacy-page {
  text-align: left;
}
.page-contact__privacy-page__inner {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 4px;
}
.page-contact__privacy-page__block {
  margin-bottom: 2rem;
}
.page-contact__privacy-page .page-contact__privacy-policy__title {
  font-size: 2rem;
  color: #333;
  border-bottom: 2px solid #007bff;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}
.page-contact__privacy-page .page-contact__privacy-policy h4 {
  font-size: 1.5rem;
  color: #007bff;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.page-contact__privacy-page .page-contact__privacy-policy p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1rem;
}
.page-contact__privacy-page .page-contact__privacy-policy ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.page-contact__privacy-page .page-contact__privacy-policy ul li {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 0.5rem;
  list-style: none;
}

@media (max-width: 768px) {
  .overlay-content {
    width: 95%;
    max-height: 90vh;
  }
  .page-contact__privacy-page__inner {
    padding: 1rem;
  }
  .page-contact__privacy-page .page-contact__privacy-policy__title {
    font-size: 1.75rem;
  }
  .page-contact__privacy-page .page-contact__privacy-policy h4 {
    font-size: 1.25rem;
  }
  .page-contact__privacy-page .page-contact__privacy-policy p, .page-contact__privacy-page .page-contact__privacy-policy ul li {
    font-size: 0.9rem;
  }
}
/*=====================================================
# opening
======================================================*/
.opening {
  width: 100%;
  height: 100%;
  background: #000;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.opening__text {
  font-size: 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  color: #FFF;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}
@media screen and (min-width: 768px) {
  .opening__text {
    font-size: 50px;
  }
}

.opening {
  opacity: 1;
  transition: 3s ease-out;
}

.opening.hidden {
  opacity: 0;
  visibility: hidden;
}

.opening-close {
  display: none;
}

@media screen and (min-width: 768px) {
  #stalker {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #7E6F46;
    transition: transform 0.2s, width 0.2s, height 0.2s;
    z-index: 999;
  }
  .stalker-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    background: transparent;
    border-radius: 50%;
  }
}