/* ==================================================
  Top Header
================================================== */

.th {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.th-nav {
  width: 100%;
  padding: 16px 4% 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}

.th-logo {
  width: 300px;
  flex-shrink: 0;
}

.th-logo h1 {
  margin: 0;
  padding: 0;
  line-height: 1;
}

.th-logo a {
  display: block;
}

.th-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.th-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

/* --------------------------------------------------
  Header Buttons
-------------------------------------------------- */

.th-btns {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 10px;
}

/* .c-btn を継承し、ヘッダーボタン固有のスタイルを追加 */
.th-btn {
  min-width: 150px;
  padding: 12px 22px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border: 1px solid var(--color-primary);
  box-shadow: var(--shadow-btn);
  font-size: 0.9em;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
}

.th-btn span {
  color: #fff !important;
  position: relative;
  z-index: 2;
}

/* ホバー時に逆グラデーションを重ねる */
.th-btn::before {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.th-btn:hover {
  color: #fff !important;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-btn-hover);
  transform: translateY(-2px);
}

.th-btn:hover::before {
  opacity: 1;
}

/* バリエーション: メンバー */
.th-btn-member {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-color: var(--color-primary);
}

/* バリエーション: 予約 */
.th-btn-reserve {
  background: linear-gradient(135deg, #12850d 0%, #28a321 100%);
  border-color: #12850d;
}

.th-btn-reserve::after {
  content: "›";
  margin-left: 8px;
  color: #fff;
  font-size: 1.3em;
  font-weight: 700;
  line-height: 1;
  position: relative;
  z-index: 2;
}

.th-btn-reserve:hover {
  border-color: #12850d;
}

/* --------------------------------------------------
  Header Menu
-------------------------------------------------- */

.th-menu-area {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.th-menu-wrap {
  display: block;
}

.th-menu {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  list-style: none;
}

.th-menu li {
  margin: 0;
  padding: 0;
}

.th-menu li a {
  padding: 4px 0 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--color-text);
  font-size: 0.9em;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.03em;
  text-align: center;
  text-decoration: none;
  position: relative;
  transition: color var(--transition-base);
}

.th-menu li a::after {
  content: attr(data-desc);
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 0.72em;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.th-menu li a:not([data-desc])::after,
.th-menu li a[data-desc=""]::after {
  content: none;
}

.th-menu li a:hover {
  color: var(--color-primary);
}

/* --------------------------------------------------
  Menu Button (Hamburger)
-------------------------------------------------- */

.th-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: 12px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  position: relative;
}

.th-menu-line {
  width: 22px;
  height: 2px;
  background: #333;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: var(--transition-base);
}

.th-menu-line:nth-child(1) { top: 14px; }
.th-menu-line:nth-child(2) { top: 21px; }
.th-menu-line:nth-child(3) { top: 28px; }

/* --------------------------------------------------
  Movie / Header Photo
-------------------------------------------------- */

.th-movie {
  width: 100%;
  aspect-ratio: 16 / 8.2;
  position: relative;
  z-index: 1;
  background: transparent;
  line-height: 0;
  overflow: hidden;
}

.th-movie::after {
  content: none;
}

.th-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  background: transparent;
  transform: scale(1.16);
  transform-origin: center center;
}

/* 内部ページ用ヘッダー写真 */
.th-header-photo {
  width: 100%;
  aspect-ratio: 16 / 5;
  overflow: hidden;
  line-height: 0;
}

.th-header-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

/* --------------------------------------------------
  Header SP
-------------------------------------------------- */

@media screen and (max-width: 768px) {
  .th-nav {
    padding: 18px 5%;
    align-items: center;
  }

  .th-logo {
    width: 220px;
  }

  .th-right {
    align-items: flex-end;
  }

  .th-btns,
  .th-menu-wrap {
    display: none;
  }

  /* メニューオープン時 */
  .th-menu-wrap.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 80px 5% 40px;
    background: rgba(255, 255, 255, 0.97);
    overflow-y: auto;
    z-index: 100;
  }

  .th-menu-wrap.active .th-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .th-menu-wrap.active .th-menu li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .th-menu-wrap.active .th-menu li a {
    padding: 16px 4px;
    font-size: 1em;
  }

  .th-menu-btn {
    display: block;
    position: relative;
    z-index: 200;
  }

  /* バーガーアイコン → ✕ アイコン */
  .th-menu-btn.active .th-menu-line:nth-child(1) {
    top: 21px;
    transform: translateX(-50%) rotate(45deg);
  }

  .th-menu-btn.active .th-menu-line:nth-child(2) {
    opacity: 0;
  }

  .th-menu-btn.active .th-menu-line:nth-child(3) {
    top: 21px;
    transform: translateX(-50%) rotate(-45deg);
  }

  .th-movie {
    aspect-ratio: 16 / 9;
  }

  .th-video {
    transform: scale(1.12);
  }

  .th-header-photo {
    aspect-ratio: 16 / 6;
  }
}

@media screen and (max-width: 480px) {
  .th-logo {
    width: 190px;
  }

  .th-nav {
    padding: 16px 5%;
  }
}
/* ==================================================
  Site Footer
================================================== */

.site-footer {
  padding: 42px 0 34px;
  color: #fff;
  background: #202127;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: 34% minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.site-footer-left {
  min-width: 0;
}

.site-footer-logo {
  margin: 0 0 16px;
}

.site-footer-logo h1 {
  margin: 0;
  padding: 0;
  line-height: 1;
}

.site-footer-logo a {
  display: inline-block;
}

.site-footer-logo img {
  width: 370px;
  height: auto;
  display: block;
}

.site-footer-info {
  margin: 0;
}

.site-footer-info p {
  margin: 0;
  color: #fff;
  font-size: 0.82em;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.site-footer-right {
  min-width: 0;
  min-height: 135px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.site-footer-menu {
  width: 100%;
}

.site-footer-menu > div {
  width: 100%;
}

.site-footer-nav {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  list-style: none;
  flex-wrap: nowrap;
}

.site-footer-nav li {
  margin: 0;
  padding: 0;
}

.site-footer-nav a {
  display: block;
  color: #fff;
  font-size: 0.78em;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--transition-base);
}

.site-footer-nav a:hover {
  opacity: 0.7;
}

.site-footer-socials {
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  list-style: none;
}

.site-footer-socials li {
  margin: 0;
  padding: 0;
}

.site-footer-socials a {
  display: block;
  transition: opacity var(--transition-base);
}

.site-footer-socials a:hover {
  opacity: 0.7;
}

.site-footer-socials img {
  width: 22px;
  height: auto;
  display: block;
}

.site-footer-copyright {
  margin: auto 0 0;
  color: #fff;
  font-size: 0.72em;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  text-align: right;
}

/* --------------------------------------------------
  Site Footer SP
-------------------------------------------------- */

@media screen and (max-width: 768px) {
  .site-footer-menu {
    display: none;
  }

  .site-footer {
    padding: 44px 0 38px;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .site-footer-logo img {
    width: 230px;
    margin: 0 auto;
  }

  .site-footer-right {
    min-height: auto;
    align-items: center;
  }

  .site-footer-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .site-footer-nav a {
    font-size: 0.82em;
  }

  .site-footer-socials {
    margin-top: 22px;
    justify-content: center;
  }

  .site-footer-copyright {
    margin-top: 22px;
    text-align: center;
  }
}
