:root {
  --blue: #578fca;
  --gray: #a09597;
  --black: #3e3e3e;
}
html body {
  font-family: "Poppins", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    Meiryo, sans-serif;
  font-size: clamp(14px, 2vw, 16px);
  letter-spacing: 0.1em;
  color: #3e3e3e;
}

a:hover {
  opacity: 0.8;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

p:not([class]) {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

h2:not(.text-center) {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}
h2:not(.text-center)::before {
  content: "";
  width: 15px;
  height: 2px;
  background-color: var(--gray);
}
h2.text-white::before {
  background-color: white;
}
.en {
  font-family: "Gloock";
}

.title {
  font-size: clamp(42px, 4vw, 48px);
  letter-spacing: 0.1em;
}

.page-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-title:has(+ h3) {
  font-size: clamp(32px, 4vw, 38px);
}
.page-title::before {
  content: "";
  width: 15px;
  height: 3px;
  background-color: var(--gray);
}

.page-title + h2::before {
  content: none;
}

.wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.contant-wrapper {
  width: 100%;
  position: relative;
  margin-left: auto;
  padding-top: 80px;
}

@media screen and (min-width: 1440px) {
  header,
  .contant-wrapper,
  #overlayMenu {
    margin-right: 4rem;
  }
}

.pc-back {
  display: none;
}
@media screen and (min-width: 490px) {
  .pc-back {
    display: block;
    position: relative;
    z-index: 0;
  }

  .pc-back-image {
    bacjkground-size: cover;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -100;
  }

  .pc-logo {
    position: fixed;
    top: 20px;
    left: 5%;
    z-index: 100;
  }

  .loop-container {
    position: fixed;
    top: 60%;
    right: 0;
    z-index: 10;
    color: white;
    mix-blend-mode: difference;
  }

  .loop-container--inner {
    width: 100%;
    display: flex;
    place-items: center;
    overflow: hidden;
    text-wrap: nowrap;
    mix-blend-mode: difference;
  }

  .pc-loop-text {
    display: inline-block;
    font-family: "Aboreto", system-ui;
    font-size: 120px;
    line-height: 1;
    mix-blend-mode: difference;
  }
  .char {
    display: inline-block;
    margin-right: 0.05em;
  }

  .bg-swiper {
    position: fixed !important;
    top: 206px;
    left: 0;
    right: 0;
    bottom: 206px;
    padding: 0;
    pointer-events: none;
    z-index: -100;
  }

  .pc-footer {
    position: fixed;
    left: 5%;
    bottom: 20px;
  }
}

/* layout */
.l-article--column__body h3 {
  margin: 3rem 0 1.5rem;
  padding-left: 10px;
  color: var(--gray);
  font-weight: 700;
  line-height: 1.4;
  border-left: 4px solid var(--gray);
}

.l-article--style__body img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* tab */
.c-tab-content {
  display: none;
  opacity: 0;
}
.c-tab-content.active {
  display: block;
  opacity: 1;
}
.c-tab-buttons {
  border-bottom: 1px solid #d9d9d9;
}
.c-tab-btn {
  color: #d9d9d9;
  position: relative;
  padding-bottom: 10px;
  transition: 0.2s;
}
.c-tab-btn.active {
  font-weight: bold;
  color: #e5004f;
}
.c-tab-btn::after {
  content: "";
  width: 0;
  height: 2px;
  background-color: #e5004f;
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.2s;
}
.c-tab-btn.active::after {
  width: 100%;
}

/* iframe */
.c-iframe-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 の比率（9 ÷ 16 = 0.5625） */
}

.c-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* border */
.c-border-text {
  position: relative;
  z-index: 0;
}
.c-border-text::after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: var(--black);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: -1;
}

/* accordion */
.c-accordion-content li:not(:last-child) {
  border-bottom: 1px solid #d9d9d9;
}

/* table */
.c-table {
  width: 100%;
}
.c-table th,
.c-table td {
  display: block;
}
.c-table th {
  padding: 1.5rem 0 0.5rem;
  text-align: left;
}
.c-table td {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #d9d9d9;
}

/* button */
.c-button {
  display: inline-block;
  max-width: 234px;
  width: 100%;
  padding: 0.75rem 2rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--gray);
  border: 1px solid var(--gray);
  position: relative;
  white-space: nowrap;
}
.c-button:not(.c-button--black):after {
  content: "";
  width: 40px;
  height: 6px;
  background: url("../images/common/arw_right.svg") no-repeat center/contain;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  z-index: 1;
}
.c-button:hover::after {
  right: 5px;
}

.c-button.c-button--white {
  background-color: white;
  border-color: white;
}

.c-button.c-button--black {
  font-weight: 400;
  color: #3e3e3e;
  border-color: #3e3e3e;
}

.c-button.c-button--gray {
  margin: auto;
  background-color: #3e3e3e;
  border-color: #3e3e3e;
  color: white;
  font-weight: 400;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 0.5rem;
}
.c-button.c-button--gray::after {
  background-image: url("../images/common/arw_right_w.svg");
  width: 36px;
  height: 4px;
  position: static;
}

@media screen and (min-width: 768px) {
  .c-button {
    max-width: 300px;
  }
}

/* GSAP */
.float {
  display: inline-block;
}

/* ハンバーガーメニュー */
#menuBtn {
  background-color: #a09597;
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}

.open #menuBtn {
  background-color: transparent;
  flex-direction: row;
  gap: 0.5rem;
}

#iconWrapper.bg-white {
  width: 33px;
  height: 33px;
}

.bar {
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.open .bar1 {
  transform: rotate(45deg) translate(2px, 2px);
}
.open .bar2 {
  transform: rotate(-45deg) translate(2px, -2px);
}

/* overlayMenu */
#overlayMenu {
  overflow-y: auto;
}
#overlayMenu .navlist li {
  padding: 0.625rem 0;
  font-size: 0.875rem;
  border-top: 1px solid white;
}
#overlayMenu .navlist li:last-child {
  border-bottom: 1px solid white;
}

/* js-reservation */
#reservationBtn {
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#reservationBtn.show {
  opacity: 1;
  visibility: visible;
  pointer-events: initial;
}

/* overlayReservation */
#overlayReservation {
  overflow-y: auto;
}

/* header */
.h_logo {
  max-width: 120px;
}
.open .h_logo {
  opacity: 0;
}

/* hero */
.swiper {
  width: 100%;
  margin: auto;
}
.c-swiper1 .swiper-slide {
  border-radius: 10px;
  overflow: hidden;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-swiper .swiper-wrapper,
.c-swiper2 .swiper-wrapper,
.c-swiper3 .swiper-wrapper {
  transition-timing-function: linear !important;
}

.scroll {
  text-align: center;
}
.scroll span {
  display: inline-block;
  padding-top: 64px;
  position: relative;
}
.scroll span::before {
  content: "";
  width: 1px;
  height: 60px;
  background-color: var(--gray);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* top */
.c-recruit__top {
  background-size: cover;
}

/* wp-pagenavi */
.wp-pagenavi {
  margin: 4rem auto;
  text-align: center;
}
.wp-pagenavi a,
.wp-pagenavi span {
  padding: 0;
  border: none;
  margin: 0 8px;
  font-size: 0.825rem;
}
.wp-pagenavi span.pages {
  font-size: 0.75rem;
}
