/* =========================================
   Walk& - Common Styles (Header / Footer / Base)
   全ページで読み込まれる共通CSS
   ========================================= */

:root {
  /* Colors */
  --black: #111111;
  --gray: #888888;
  --gray-light: #c8c8c8;
  --gray-pale: #f2f2f2;
  --white: #ffffff;
  --border: #e0e0e0;
  --border-dark: #d0d0d0;

  /* Typography */
  --font-ja: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-en: 'Cormorant Garamond', 'Times New Roman', serif;

  /* Spacing */
  --container-width: 1100px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */

/* xeory の緑背景画像を上書き */
body {
  background: #fff !important;
  background-image: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* ---------- Utility ---------- */
.wk-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Buttons (header CTA uses these) ---------- */
.wk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ja);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 16px 40px;
  border: 1px solid var(--black);
  background: transparent;
  color: var(--black);
  cursor: pointer;
  transition: all 0.4s var(--ease);
  white-space: nowrap;
  letter-spacing: 0.08em;
}

.wk-btn:hover {
  background: var(--black);
  color: var(--white);
}

.wk-btn--primary {
  background: var(--black);
  color: var(--white);
}

.wk-btn--primary:hover {
  background: transparent;
  color: var(--black);
}

.wk-btn--outline {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--gray-light);
}

.wk-btn--outline:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

/* ===================================
   HEADER
   =================================== */
.wk-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 32px;
  transition: background 0.4s, box-shadow 0.4s;
}

/* Non-hero pages: always show white bg */
.wk-header.is-scrolled,
.wk-header:not(.wk-header--hero) {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.wk-header__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.wk-header__logo {
  z-index: 1001;
  display: flex;
  align-items: center;
}

.wk-header__logo-img {
  height: 28px;
  width: auto;
}

/* Default: show dark, hide white */
.wk-header__logo-img--dark {
  display: block;
}

.wk-header__logo-img--white {
  display: none;
}

/* On hero: show white, hide dark */
.wk-header--hero .wk-header__logo-img--dark {
  display: none;
}

.wk-header--hero .wk-header__logo-img--white {
  display: block;
}

/* Scrolled past hero: back to dark */
.wk-header--hero.is-scrolled .wk-header__logo-img--dark {
  display: block;
}

.wk-header--hero.is-scrolled .wk-header__logo-img--white {
  display: none;
}

/* Hero nav colors */
.wk-header--hero .wk-header__nav-link {
  color: rgba(255, 255, 255, 0.6);
}

.wk-header--hero .wk-header__nav-link:hover {
  color: var(--white);
}

.wk-header--hero .wk-header__nav-link::after {
  background: var(--white);
}

.wk-header--hero .wk-header__cta {
  border-color: var(--white);
  color: var(--white);
}

.wk-header--hero .wk-header__cta:hover {
  background: var(--white);
  color: var(--black);
}

.wk-header--hero .wk-header__hamburger span {
  background: var(--white);
}

/* Scrolled hero - revert to dark */
.wk-header--hero.is-scrolled .wk-header__nav-link {
  color: var(--gray);
}

.wk-header--hero.is-scrolled .wk-header__nav-link:hover {
  color: var(--black);
}

.wk-header--hero.is-scrolled .wk-header__nav-link::after {
  background: var(--black);
}

.wk-header--hero.is-scrolled .wk-header__cta {
  border-color: var(--black);
  color: var(--black);
}

.wk-header--hero.is-scrolled .wk-header__cta:hover {
  background: var(--black);
  color: var(--white);
}

.wk-header--hero.is-scrolled .wk-header__hamburger span {
  background: var(--black);
}

.wk-header__nav-list {
  display: flex;
  gap: 40px;
}

.wk-header__nav-link {
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.3s;
  position: relative;
}

.wk-header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width 0.4s var(--ease);
}

.wk-header__nav-link:hover {
  color: var(--black);
}

.wk-header__nav-link:hover::after {
  width: 100%;
}

.wk-header__cta {
  font-family: var(--font-ja);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 10px 28px;
  border: 1px solid var(--black);
  color: var(--black);
  letter-spacing: 0.08em;
  transition: all 0.4s var(--ease);
}

.wk-header__cta:hover {
  background: var(--black);
  color: var(--white);
}

.wk-header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.wk-header__hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--black);
  transition: all 0.3s var(--ease);
}

.wk-header__hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.wk-header__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.wk-header__hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.wk-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.wk-mobile-nav.is-open {
  opacity: 1;
  pointer-events: all;
}

.wk-mobile-nav__list {
  text-align: center;
}

.wk-mobile-nav__link {
  display: block;
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px;
  color: var(--gray);
  transition: color 0.3s;
}

.wk-mobile-nav__link:hover {
  color: var(--black);
}

.wk-mobile-nav__link--cta {
  margin-top: 32px;
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid var(--black);
  color: var(--black);
  font-family: var(--font-ja);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: none;
}

/* ===================================
   FOOTER
   =================================== */
.wk-footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}

.wk-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.wk-footer__logo-img {
  height: 32px;
  width: auto;
}

.wk-footer__company {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--gray);
  letter-spacing: 0.04em;
}

.wk-footer__address {
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--gray-light);
  letter-spacing: 0.02em;
}

.wk-footer__links {
  display: flex;
  gap: 72px;
}

.wk-footer__links-title {
  font-family: var(--font-en);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 20px;
}

.wk-footer__links-group ul li {
  margin-bottom: 10px;
}

.wk-footer__links-group ul li a {
  font-size: 0.8125rem;
  color: var(--gray);
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

.wk-footer__links-group ul li a:hover {
  color: var(--black);
}

.wk-footer__bottom {
  padding-top: 28px;
  text-align: center;
}

.wk-footer__bottom p {
  font-family: var(--font-en);
  font-size: 0.6875rem;
  color: var(--gray-light);
  letter-spacing: 0.08em;
}

/* ===================================
   xeory デフォルト要素の非表示
   =================================== */
/* xeory デフォルト要素の非表示 */
#header-top,
.header-top,
.site-header,
#footer-top,
.footer-top,
.xeory-header,
.entry-header,
#custom_header,
.custom-header,
.mv,
.mv-content,
#mv,
.top-page-content,
.bzb-section,
.header-area,
.site-branding,
#site-header,
.global-nav,
.post-header,
.page-header,
#masthead,
.main-visual,
.front-header,
.home-header,
.top-header,
.header-content,
.visual-area,
.keyvisual {
  display: none !important;
}


/* ===================================
   Header/Footer content padding
   (ヘッダーが fixed なので本文に余白を確保)
   =================================== */
body:not(.home) {
  padding-top: 80px;
}

/* ===================================
   RESPONSIVE (Header / Footer)
   =================================== */
@media (max-width: 768px) {
  .wk-container {
    padding: 0 20px;
  }

  .wk-header {
    padding: 0 20px;
  }

  .wk-header__nav {
    display: none;
  }

  .wk-header__cta {
    display: none;
  }

  .wk-header__hamburger {
    display: flex;
  }

  .wk-footer__inner {
    flex-direction: column;
    gap: 40px;
  }

  .wk-footer__links {
    gap: 40px;
  }
}
