/* ============================================
   リセット & 基本設定
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Noto Serif JP', serif;
  color: #2C2C2C;
  background: #F5F2EC;
  overflow-x: hidden;
}

/* ============================================
   PC版 / スマホ版の切り替え
   ============================================ */
.pc-version {
  display: block;
}

.mobile-version {
  display: none;
}

@media (max-width: 1023px) {
  .pc-version {
    display: none;
  }
  .mobile-version {
    display: block;
  }
}

/* ============================================
   ============================================
   PC版のスタイル
   ============================================
   ============================================ */

.section {
  position: relative;
  width: 100%;
  display: block;
}

.section-image {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
}

.invisible-nav {
  position: absolute;
  top: 2%;
  right: 5%;
  width: 50%;
  height: 5%;
  display: flex;
  gap: 0;
  pointer-events: none;
}

.nav-link {
  flex: 1;
  pointer-events: auto;
  cursor: pointer;
  display: block;
  height: 100%;
}

.invisible-link {
  position: absolute;
  cursor: pointer;
  pointer-events: auto;
}

.instagram-bottom-right {
  bottom: 5%;
  right: 5%;
  width: 5%;
  height: 5%;
}

.instagram-access {
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 5%;
}

.pc-version .section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.pc-version .section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pc-version #hero {
  opacity: 1;
  transform: translateY(0);
  animation: heroFadeIn 1.8s ease-out;
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (min-width: 1024px) {
  .section-image {
    transition: filter 0.8s ease-out;
  }
  .section:hover .section-image {
    filter: brightness(1.03);
  }
}

/* ============================================
   ============================================
   スマホ版のスタイル
   ============================================
   ============================================ */

.m-section {
  position: relative;
  width: 100%;
  padding: 80px 24px 100px;
  background: #F5F2EC;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.m-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 共通要素 */
.m-section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #888;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.m-divider {
  display: block;
  width: 24px;
  height: 1px;
  background: #aaa;
  margin-bottom: 40px;
}

.m-page-num {
  position: absolute;
  bottom: 30px;
  right: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  color: #aaa;
  letter-spacing: 0.2em;
}

.m-photo {
  width: 100%;
  margin: 30px 0;
  overflow: hidden;
}

.m-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   Hero（スマホ）
   ============================================ */
.m-hero {
  height: 100vh;
  height: 100dvh;
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transform: none;
  animation: heroFadeIn 1.8s ease-out;
}

.m-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.m-hero-dim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.m-hero-overlay {
  position: relative;
  z-index: 3;
  text-align: center;
  width: 100%;
  padding: 0 24px;
}

.m-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 14px;
}

.m-sublogo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.4em;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  text-transform: lowercase;
}

.m-scroll-indicator {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.m-scroll-line {
  display: block;
  width: 1px;
  height: 30px;
  background: #fff;
  opacity: 0.7;
  animation: scrollPulse 2s ease-in-out infinite;
}

.m-scroll-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: #fff;
  opacity: 0.7;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* ============================================
   Concept（スマホ）
   ============================================ */
.m-vertical-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #2C2C2C;
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  height: 240px;
  margin: 30px auto 30px;
  line-height: 1.6;
}

.m-body-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  line-height: 2;
  color: #2C2C2C;
  letter-spacing: 0.05em;
  margin-top: 30px;
}

.m-body-text p {
  margin-bottom: 24px;
}

/* ============================================
   Works（スマホ）
   ============================================ */
.m-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: #2C2C2C;
  margin-bottom: 12px;
}

.m-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.1em;
  color: #666;
  margin-bottom: 30px;
}

.m-link {
  display: inline-block;
  margin-top: 30px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: #2C2C2C;
  text-decoration: none;
  border-bottom: 1px solid #2C2C2C;
  padding-bottom: 4px;
}

/* ============================================
   Menu（スマホ）
   ============================================ */
.m-menu-photo {
  max-width: 200px;
  margin: 20px 0 50px;
}

.m-menu-category {
  margin-bottom: 40px;
}

.m-cat-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #555;
  margin-bottom: 4px;
}

.m-cat-title .en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #888;
}

.m-cat-title .ja {
  color: #555;
}

.m-cat-divider {
  display: block;
  width: 30px;
  height: 1px;
  background: #ccc;
  margin-bottom: 18px;
}

.m-menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  font-family: 'Noto Serif JP', serif;
}

.m-name {
  font-size: 15px;
  color: #2C2C2C;
  letter-spacing: 0.05em;
}

.m-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: #2C2C2C;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.m-note {
  font-family: 'Noto Serif JP', serif;
  font-size: 11px;
  color: #999;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  padding-left: 8px;
}

.m-menu-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  font-family: 'Noto Serif JP', serif;
  font-size: 11px;
  color: #999;
  line-height: 1.8;
  text-align: center;
}

.m-menu-footer p {
  margin-bottom: 4px;
}

/* ============================================
   Stylist（スマホ）
   ============================================ */
.m-owner-photo {
  max-width: 280px;
  margin: 20px auto 40px;
}

.m-stylist .m-title {
  font-size: 26px;
  margin-bottom: 30px;
  text-align: center;
}

.m-letter {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  line-height: 2;
  color: #2C2C2C;
  letter-spacing: 0.05em;
}

.m-letter p {
  margin-bottom: 20px;
}

.m-signature {
  margin-top: 40px;
  text-align: right;
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  color: #2C2C2C;
}

.m-sig-line {
  display: block;
  margin-bottom: 8px;
  color: #888;
}

.m-signature span {
  display: block;
  margin-bottom: 4px;
}

.m-sig-role {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #888;
}

.m-team {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #ddd;
}

.m-team-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #888;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.m-team-divider {
  display: block;
  width: 24px;
  height: 1px;
  background: #aaa;
  margin-bottom: 30px;
}

.m-team-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.m-staff-photo {
  flex-shrink: 0;
  width: 120px;
  margin: 0;
}

.m-staff-info {
  flex: 1;
}

.m-staff-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.m-staff-name .en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: #2C2C2C;
}

.m-staff-name .ja {
  color: #2C2C2C;
}

.m-staff-role {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  color: #888;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}

.m-staff-message {
  font-family: 'Noto Serif JP', serif;
  font-size: 12px;
  color: #555;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

/* ============================================
   Access（スマホ）
   ============================================ */
.m-access .m-title {
  font-size: 28px;
  margin-bottom: 8px;
}

.m-access .m-subtitle {
  margin-bottom: 30px;
}

.m-access-photo {
  max-width: 320px;
  margin: 20px auto 40px;
}

.m-info {
  margin-bottom: 30px;
}

.m-shop-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: #2C2C2C;
  margin-bottom: 4px;
}

.m-shop-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #888;
  margin-bottom: 20px;
}

.m-info-divider {
  display: block;
  width: 30px;
  height: 1px;
  background: #aaa;
  margin-bottom: 30px;
}

.m-info-item {
  margin-bottom: 24px;
}

.m-info-label {
  font-family: 'Noto Serif JP', serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 6px;
}

.m-info-label .en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.2em;
}

.m-info-content {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  line-height: 1.8;
  color: #2C2C2C;
  letter-spacing: 0.05em;
}

.m-access-note {
  font-family: 'Noto Serif JP', serif;
  font-size: 12px;
  line-height: 1.8;
  color: #888;
  text-align: center;
  margin: 40px 0;
  padding: 20px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.m-social {
  text-align: center;
  margin-top: 40px;
}

.m-follow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: #888;
  margin-bottom: 16px;
}

.m-social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.m-social-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #2C2C2C;
  text-decoration: none;
}

.m-sep {
  color: #ccc;
  font-size: 12px;
}

/* ============================================
   パフォーマンス最適化
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .pc-version .section,
  .m-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .pc-version #hero,
  .m-hero {
    animation: none;
  }
}
