/**
 * YUZUFILM Main Stylesheet
 *
 * @package YUZUFILM
 */

/* ==========================================================================
   Utilities & Layout
   ========================================================================== */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1 0 auto;
}

.site-content-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding: 80px 24px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .site-content-container {
    padding: 40px 16px;
  }
}

.text-center {
  text-align: center;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* Responsive display helpers */
@media (min-width: 769px) {
  .sp-only {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
  br.sp-only {
    display: inline;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 32px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-align: center;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.btn-outline {
  border: 1px solid var(--color-text);
  color: var(--color-text);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--color-text);
  color: #ffffff;
  opacity: 1;
}

/* ==========================================================================
   Header Component
   ========================================================================== */
.site-header {
  position: relative;
  width: 100%;
  height: var(--header-height-pc);
  background-color: var(--color-bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: min-width 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), max-width 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), width 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), background-color var(--transition-normal), box-shadow var(--transition-normal);
}

/* TOP Header (旧Dessau仕様: 左上ボックス配置・MVへの重ね合わせ) */
body.home .site-header {
  width: auto;
  min-width: 60%;
  max-width: 72%;
  height: 100px;
  background-color: #ffffff;
  border-bottom: none;
  box-shadow: none;
  position: relative;
  z-index: 1000;
  transition: min-width 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), max-width 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), width 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), background-color var(--transition-normal), box-shadow var(--transition-normal);
}

body.home .front-page-wrapper {
  margin-top: -100px;
  position: relative;
  z-index: 10;
}

/* スクロール開始時の自然な全幅スムーズ拡大 (Dessau qodef-full-width仕様再現) */
body.home .site-header.is-expanded {
  min-width: 100%;
  max-width: 100%;
  width: 100%;
}

/* Sticky Header on scroll */
.site-header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid #e5e5e5;
}

body.home .site-header.is-sticky {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  position: fixed !important;
  top: 0;
  left: 0;
}

body.has-sticky-header:not(.home) {
  padding-top: var(--header-height-pc);
}

@media (max-width: 768px) {
  body.home .site-header {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: var(--header-height-sp);
  }

  body.home .front-page-wrapper {
    margin-top: 0;
  }

  body.has-sticky-header {
    padding-top: var(--header-height-sp);
  }
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

.header-col {
  display: flex;
  align-items: center;
}

.header-col-left {
  flex: 1;
  justify-content: flex-start;
}

.header-col-center {
  flex: 2;
  justify-content: center;
}

.header-col-right {
  flex: 1;
  justify-content: flex-end;
}

.header-right-spacer {
  width: 44px;
  height: 1px;
}

/* Right Column: Search Opener (TOP) & Side Menu Opener (配下ページ) */
.header-search-holder,
.header-side-opener-holder {
  display: flex;
  align-items: center;
}

.qodef-search-opener,
.qodef-side-menu-button-opener {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 6px;
  color: #3c3d3f;
  transition: opacity 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.qodef-search-opener:hover,
.qodef-side-menu-button-opener:hover {
  opacity: 0.6;
}

.qodef-search-opener svg,
.qodef-side-menu-button-opener svg {
  display: block;
}

/* TOP Header Search Open State (白背景が途切れない全幅展開) */
body.home .site-header.search-open {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  background-color: #ffffff !important;
}

/* TOP Search Covers Header (元Local Dessau covers-header 仕様完全再現) */
.qodef-search-cover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100px;
  background-color: #ffffff;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body.admin-bar .qodef-search-cover {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .qodef-search-cover {
    top: 46px;
  }
}

.qodef-search-cover.is-active {
  opacity: 1;
  visibility: visible;
}

.qodef-search-cover .qodef-container {
  height: 100%;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.qodef-search-cover .qodef-container-inner {
  height: 100%;
  width: 100%;
  padding: 0 45px 0 65px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .qodef-search-cover .qodef-container-inner {
    padding: 0 20px;
  }
}

.qodef-search-cover .qodef-form-holder-outer {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.qodef-search-cover .qodef-form-holder {
  width: 100%;
}

.qodef-search-cover .qodef-form-holder-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.qodef-search-cover .qodef_search_field {
  width: calc(100% - 60px);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #1b1b1b;
  background-color: transparent;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
}

.qodef-search-cover .qodef_search_field::placeholder {
  color: #1b1b1b;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.qodef-search-cover .qodef-search-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #1b1b1b;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
  line-height: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.qodef-search-cover .qodef-search-close:hover {
  opacity: 0.6;
}

.side-panel-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.side-panel-close:hover {
  opacity: 0.6;
}

/* Sub-page Slide-in Side Panel (Instagram & Brand) */
.header-side-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background-color: #ffffff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  z-index: 1250;
  padding: 40px 32px;
  box-sizing: border-box;
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.header-side-panel.is-active {
  right: 0;
}

.side-panel-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 30px;
}

.side-panel-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  margin: 0 0 8px 0;
  color: #222222;
}

.side-panel-lead {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: #888888;
  letter-spacing: 0.06em;
  margin: 0 0 32px 0;
}

.side-widget-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #eeeeee;
  color: #222222;
}

.side-instagram-feed-wrap {
  margin-bottom: 32px;
}

.side-social-icons {
  display: flex;
  gap: 20px;
  font-size: 1.25rem;
}

.side-social-icons a {
  color: #222222;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.side-social-icons a:hover {
  opacity: 0.6;
  transform: translateY(-2px);
}

.side-panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1240;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.side-panel-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* Logo */
.site-logo-link {
  display: inline-flex;
  align-items: center;
}

.site-logo {
  object-fit: contain;
  transition: opacity var(--transition-normal);
}

.site-logo:hover {
  opacity: 0.8;
}

.site-logo.pc-logo {
  height: 60px;
  width: auto;
  max-height: 60px;
  display: block;
}

.site-logo.mobile-logo {
  height: 24px;
  width: auto;
  max-height: 24px;
  display: block;
}

/* Desktop Navigation (Center-aligned) */
.main-navigation .nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-navigation .nav-menu a {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  padding: 8px 0;
  position: relative;
}

.main-navigation .nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-text);
  transition: width var(--transition-normal);
}

.main-navigation .nav-menu a:hover::after {
  width: 100%;
}

/* Mobile Hamburger Button */
.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  z-index: 1100;
}

.hamburger-box {
  display: block;
  width: 24px;
  height: 18px;
  position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  position: absolute;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.hamburger-inner {
  top: 8px;
}

.hamburger-inner::before {
  content: "";
  top: -8px;
}

.hamburger-inner::after {
  content: "";
  bottom: -8px;
}

/* Mobile Drawer */
.mobile-navigation {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background-color: #1b1b1b;
  color: #ffffff;
  padding: 80px 32px 40px;
  transition: right var(--transition-normal);
  z-index: 1050;
  overflow-y: auto;
}

.mobile-navigation.is-active {
  right: 0;
}

.mobile-nav-menu li {
  margin-bottom: 24px;
}

.mobile-nav-menu a {
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  transition: opacity var(--transition-normal);
}

@media (max-width: 768px) {
  .site-header {
    height: var(--header-height-sp);
  }

  .header-container {
    padding: 0 16px;
  }

  .header-col-left {
    flex: 0 0 44px;
    justify-content: flex-start;
  }

  .header-col-center {
    flex: 1;
    justify-content: center;
  }

  .header-col-right {
    flex: 0 0 44px;
    justify-content: flex-end;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
  }

  /* Hamburger Active Animation */
  .mobile-menu-toggle[aria-expanded="true"] .hamburger-inner {
    transform: rotate(45deg);
    background-color: #ffffff;
  }

  .mobile-menu-toggle[aria-expanded="true"] .hamburger-inner::before {
    transform: rotate(-90deg) translate(-8px, 0);
    opacity: 0;
  }

  .mobile-menu-toggle[aria-expanded="true"] .hamburger-inner::after {
    transform: rotate(-90deg) translate(-8px, 0);
    background-color: #ffffff;
  }
}

/* ==========================================================================
   Page Title Area (旧Dessau仕様: 高さ122px、上下ボーダー、中央揃え)
   ========================================================================== */
.page-title-area {
  width: 100%;
  height: 122px;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  background-color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.page-title-inner {
  text-align: center;
  width: 100%;
}

.page-title-area .page-title {
  font-family: var(--font-serif);
  font-size: 35px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0;
}

@media (max-width: 768px) {
  .page-title-area {
    height: 90px;
  }

  .page-title-area .page-title {
    font-size: 26px;
  }
}

/* ==========================================================================
   Breadcrumbs Component (フッター直前設置)
   ========================================================================== */
.site-breadcrumbs-holder {
  padding: 28px 0;
  border-top: 1px solid #eeeeee;
  background-color: transparent;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  color: #888888;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-link {
  color: #888888;
  text-decoration: none;
  transition: color var(--transition-normal);
}

.breadcrumb-link:hover {
  color: #111111;
}

.breadcrumb-separator {
  margin: 0 10px;
  color: #cccccc;
  font-size: 0.75rem;
  user-select: none;
}

.breadcrumb-current {
  color: #222222;
  font-weight: 500;
}

@media (max-width: 768px) {
  .site-breadcrumbs-holder {
    padding: 18px 0;
  }
  .breadcrumb-list {
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   Footer Component
   ========================================================================== */
.site-footer {
  background-color: #111111;
  color: #ffffff;
  padding: 60px 24px 80px;
  text-align: center;
}

.footer-logo-holder {
  margin-bottom: 24px;
}

.footer-logo-link {
  display: inline-block;
}

.footer-logo-image {
  width: 74px;
  height: 74px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  transition: opacity var(--transition-normal);
}

.footer-logo-image:hover {
  opacity: 0.8;
}

.footer-info-item {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: #999999;
  margin-bottom: 8px;
}

.footer-info-item a {
  color: #999999;
  text-decoration: none;
  transition: color var(--transition-normal);
}

.footer-info-item a:hover {
  color: #ffffff;
}

/* Footer Social Icons */
.footer-social-holder {
  margin: 24px 0 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.footer-social-link {
  color: #ffffff;
  font-size: 1.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-social-link:hover {
  opacity: 0.6;
  transform: translateY(-2px);
}

.footer-privacy-holder {
  margin-top: 24px;
}

.footer-privacy-link {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  color: #888888;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-privacy-link:hover {
  color: #ffffff;
}

.footer-copyright {
  margin-top: 32px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: #666666;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   SP Bottom Fixed Navigation (LINE & Contact) - #sp_bottom_menu (元Local再現)
   ========================================================================== */
#sp_bottom_menu {
  position: fixed;
  bottom: -7px;
  left: 0;
  width: 100%;
  z-index: 99999;
  background: transparent;
  line-height: 0;
}

#sp_bottom_menu table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  border: none;
}

#sp_bottom_menu table tr,
#sp_bottom_menu table td {
  padding: 0;
  margin: 0;
  border: none;
}

#sp_bottom_menu table td {
  width: 50%;
  text-align: center;
}

#sp_bottom_menu table tr td a {
  display: block;
  line-height: 0;
}

#sp_bottom_menu table tr td img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 769px) {
  #sp_bottom_menu {
    display: none !important;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 50px;
  }
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 75px;
  right: 20px;
  width: 44px;
  height: 44px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 900;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.arrow-up {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  transform: rotate(45deg);
  margin-top: 3px;
}
