/* =================================
   Masaki Kataoka Stylist
   style.css
   ================================= */

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  background-color: #ffffff;
  font-family: 'Times New Roman', Times, serif;
  color: #000000;
  overflow: hidden;
}

/* --------------------------------
   SEO用 非表示ナビゲーション
   -------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------
   ページ全体レイアウト
   -------------------------------- */
.page-wrapper {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.main-content {
  position: relative;
  flex: 1;
  overflow: hidden;
}

/* --------------------------------
   左サイドナビゲーション（PC）
   -------------------------------- */
.nav-sidebar {
  position: absolute;
  left: 75px;
  top: 200px;
  z-index: 10;
}

.nav-sidebar img {
  display: block;
}

/* --------------------------------
   ギャラリーエリア（MEN / WOMEN）
   -------------------------------- */
.gallery-area {
  position: absolute;
  left: 500px;
  top: 75px;
  right: 0;
  height: 510px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
}

.gallery-area img {
  display: inline-block;
  height: 100%;
  width: auto;
  vertical-align: top;
}

/* スクロールバースタイル（横スクロール） */
.gallery-area::-webkit-scrollbar {
  height: 6px;
}
.gallery-area::-webkit-scrollbar-track {
  background: transparent;
}
.gallery-area::-webkit-scrollbar-thumb {
  background: #cccccc;
  border-radius: 3px;
}

/* --------------------------------
   コンタクトエリア（PC）
   -------------------------------- */
.contact-area {
  position: absolute;
  left: 550px;
  top: 200px;
  z-index: 10;
}

.contact-area img {
  display: block;
}

/* --------------------------------
   フッター
   -------------------------------- */
footer {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-family: 'Times New Roman', Times, serif;
  color: #000000;
  flex-shrink: 0;
}

footer address {
  font-style: normal;
}

/* --------------------------------
   リンク
   -------------------------------- */
a { color: #000000; text-decoration: none; }
a:visited { color: #000000; font-style: normal; text-decoration: none; }
a:hover { color: #cccccc; }
a:active { color: #cccccc; }

/* SPヘッダー：PCでは非表示 */
.sp-header { display: none; }
.sp-contact-links { display: none; }
.sp-contact-section { display: none; }
.sp-index-nav { display: none; }


/* =================================
   SP対応 （740px以下）
   ================================= */
@media screen and (max-width: 740px) {

  /* bodyのスクロール制御を解除 */
  body {
    overflow-y: auto;
    overflow-x: hidden;
  }

  /* ページ全体 */
  .page-wrapper {
    height: auto;
    min-height: 100vh;
    padding-top: 60px;
  }

  .main-content {
    position: static;
    overflow: visible;
    flex: none;
  }

  /* PCナビ非表示 */
  .nav-sidebar {
    display: none;
  }

  /* --------------------------------
     SP固定ヘッダー
     -------------------------------- */
  .sp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #ffffff;
    z-index: 1000;
    padding: 0 16px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  }

  .sp-logo-link {
    display: block;
    flex-shrink: 0;
  }

  .sp-logo {
    width: 300px;
    height: 60px;
    object-fit: contain;
    object-position: left center;
    display: block;
  }

  /* --------------------------------
     ハンバーガーボタン
     -------------------------------- */
  .hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    flex-shrink: 0;
  }

  .hamburger-line {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: #000000;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }

  /* ×印アニメーション */
  .hamburger.is-active .hamburger-line:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }
  .hamburger.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .hamburger.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }

  /* --------------------------------
     SPナビゲーション（ドロップダウン）
     -------------------------------- */
  .sp-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
  }

  .sp-nav.is-open {
    max-height: 240px;
  }

  .sp-nav ul {
    list-style: none;
    padding: 8px 24px 16px;
  }

  .sp-nav ul li {
    border-bottom: 1px solid #f0f0f0;
  }

  .sp-nav ul li:last-child {
    border-bottom: none;
  }

  .sp-nav ul li a {
    display: block;
    padding: 14px 0;
    font-family: 'Times New Roman', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', '游明朝', YuMincho, serif;
    font-size: 16px;
    letter-spacing: 0.08em;
    color: #000000;
  }

  .sp-nav ul li a:hover {
    color: #999999;
  }

  /* --------------------------------
     ギャラリー：縦並び・縦スクロール
     -------------------------------- */
  .gallery-area {
    position: static;
    width: 100%;
    height: auto;
    overflow: visible;
    white-space: normal;
  }

  .gallery-area img {
    display: block;
    width: 100%;
    height: auto;
  }

  /* --------------------------------
     コンタクト（SP）
     -------------------------------- */
  .contact-area {
    display: none;
  }

  .sp-contact-links {
    display: none;
  }

  /* SP専用コンタクトセクション */
  .sp-contact-section {
    display: flex;
    justify-content: center;
    padding-top: 48px;
    padding-bottom: 24px;
  }

  .sp-contact-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .sp-contact-heading {
    font-family: 'Times New Roman', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', '游明朝', YuMincho, serif;
    font-size: 18pt;
    letter-spacing: 0.06em;
    color: #000000;
    line-height: 1;
  }

  .sp-contact-images {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .sp-contact-images a {
    display: block;
  }

  .sp-contact-images img {
    width: 200px;
    height: 24px;
    display: block;
  }

  /* --------------------------------
     TOPページSPナビゲーション
     -------------------------------- */
  .sp-index-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 60px);
    gap: 32px;
  }

  .sp-index-nav a {
    font-family: 'Times New Roman', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', '游明朝', YuMincho, serif;
    font-size: 16px;
    letter-spacing: 0.08em;
    color: #000000;
  }

  .sp-index-nav a:hover {
    color: #999999;
  }

  /* --------------------------------
     フッター
     -------------------------------- */
  footer {
    margin-top: 48px;
    height: auto;
    padding: 16px 0;
  }

}
