@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

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

:root {
  --bg: #0d0d0d;
  --bg-alt: #111111;
  --text: #f0f0f0;
  --text-muted: #888;
  --accent: #ffffff;
  --border: rgba(255,255,255,0.1);
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --nav-h: 60px;
  --section-py: clamp(80px, 12vw, 140px);
  --max-w: 960px;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.9s ease;
}

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

ul {
  list-style: none;
}

/* ===== Navigation ===== */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: transparent;
  transition: background 0.3s;
}

#nav.scrolled {
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 8px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== Hero ===== */
#hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--nav-h) 24px 0;
  position: relative;
  isolation: isolate;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 3;   /* above canvas (2) and overlay (1) */
}

.hero-sub {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(54px, 10vw, 124px);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 0.95;
  color: var(--accent);
  animation: heroNameReveal 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-roles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 16px;
  animation: heroSubReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.1s both;
}

.hero-roles .sep {
  color: rgba(255,255,255,0.2);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  font-size: 20px;
  color: var(--text-muted);
  animation: heroSubReveal 0.9s ease 1.6s both, bounce 2s 2.5s infinite;
  transition: color 0.2s;
  z-index: 1;
}

.hero-scroll:hover {
  color: var(--accent);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@keyframes heroNameReveal {
  from {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroSubReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineDraw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ===== Sections ===== */
.section {
  padding: var(--section-py) 24px;
  border-top: 1px solid var(--border);
}

.section--dark {
  background: var(--bg-alt);
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 40px;
  align-items: start;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  padding-top: 8px;
}

.section-body h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-body h2 em {
  font-style: italic;
  font-family: var(--font-display);
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 32px;
}

/* ===== Info list (salon) ===== */
.info-list {
  margin-bottom: 32px;
}

.info-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.info-row:last-child {
  border-bottom: 1px solid var(--border);
}

dt {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding-top: 2px;
}

dd {
  font-size: 14px;
  line-height: 1.6;
}

/* ===== Button ===== */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border: 1px solid rgba(255,255,255,0.28);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.3s cubic-bezier(0.16,1,0.3,1),
              border-color 0.3s,
              color 0.3s,
              transform 0.25s cubic-bezier(0.16,1,0.3,1);
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  transform: translateY(-2px);
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== Gallery placeholder ===== */
.gallery-placeholder {
  aspect-ratio: 16 / 7;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 640px;
}

.placeholder-text {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

/* ===== Product list ===== */
.product-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.product-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.product-name {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  min-width: 100px;
}

.product-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== Research list ===== */
.research-list {
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.research-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Page Header ===== */
.page-header {
  min-height: 40svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 60px) 24px 60px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.page-header--bg {
  min-height: 60svh;
  background-size: cover;
  background-position: center;
  border-bottom: none;
}

.page-header--bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 0;
}

.page-header--bg .page-header-inner {
  position: relative;
  z-index: 1;
}

.page-header--salon {
  background-image: url('images/salon-bg.jpg');
}

.page-header-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding-left: 88px;
}

.page-header-sub {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: heroSubReveal 0.7s ease 0.15s both;
}

.page-header-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 108px);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 20px;
  animation: heroNameReveal 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.page-header-title em {
  font-style: italic;
  font-family: var(--font-display);
}

.page-header-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
  animation: heroSubReveal 0.8s ease 0.85s both;
}

/* ===== Nav active ===== */
.nav-active {
  color: var(--accent) !important;
}

/* ===== Text link ===== */
.text-link {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.text-link:hover {
  color: var(--accent);
}

/* ===== Info note ===== */
.info-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  display: block;
  line-height: 1.7;
}

/* ===== Concept list ===== */
.concept-list {
  border-top: 1px solid var(--border);
  margin-top: 32px;
}

.concept-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.concept-key {
  font-size: 13px;
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--text-muted);
}

.concept-val {
  font-size: 14px;
  line-height: 1.7;
}

/* ===== Menu ===== */
.menu-category {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 48px 0 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  font-weight: 400;
}

.menu-list {
  margin-bottom: 0;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  gap: 32px;
}

.menu-name {
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  gap: 4px;
  letter-spacing: 0.01em;
}

.menu-note {
  font-family: var(--font);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.menu-price {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

/* ===== Notices ===== */
.notice-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 32px;
}

.notice-date {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

.notice-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.notice-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===== Awards ===== */
.award-list {
  border-top: 1px solid var(--border);
  margin-top: 24px;
}

.award-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== Timeline ===== */
.timeline-list {
  border-top: 1px solid var(--border);
  margin-top: 24px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.timeline-year {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.timeline-desc {
  font-size: 14px;
  line-height: 1.6;
}

/* ===== Sub heading ===== */
.sub-heading {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 48px;
  margin-bottom: 0;
  font-weight: 400;
}

/* ===== Photo categories ===== */
.photo-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 32px;
}

.photo-category-cell {
  aspect-ratio: 3/4;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.photo-category-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 60%);
  transition: background 0.4s;
}

.photo-category-cell:hover::before {
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.25) 60%);
}

.photo-category-cell span {
  position: relative;
  z-index: 1;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 100%;
  max-height: 90svh;
  object-fit: contain;
  transform: scale(0.94);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  padding: 4px 8px;
}

.lightbox-close:hover {
  opacity: 1;
}

/* ===== Legal ===== */
.legal-section {
  margin-bottom: 48px;
}

.legal-section h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.legal-section p,
.legal-section li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-dl {
  display: flex;
  flex-direction: column;
}

.legal-dl .info-row {
  grid-template-columns: 140px 1fr;
}

/* ===== Book list ===== */
.book-list {
  border-top: 1px solid var(--border);
  margin-top: 24px;
}

.book-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.book-title {
  flex: 1;
}

.book-title--link {
  display: block;
  transition: opacity 0.2s;
}
.book-title--link:hover {
  opacity: 0.6;
}

.book-status {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ===== Chapter ===== */
.chapter {
  padding: var(--section-py) 24px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.chapter::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}

.chapter-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.chapter-header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: none;
  margin-bottom: clamp(40px, 6vw, 64px);
  position: relative;
}

.chapter-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--border);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

/* chapter-header の visible は revealObserver が付与 */

.chapter-header.visible::after {
  transform: scaleX(1);
}

.chapter-num {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  flex-shrink: 0;
}

.chapter-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1;
}

.chapter-title-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.chapter-title-link::after {
  content: ' ↗';
  font-size: 0.55em;
  vertical-align: super;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.chapter-title-link:hover {
  border-color: rgba(255, 255, 255, 0.8);
}

.chapter-title-link:hover::after {
  opacity: 1;
}

.chapter-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 36px;
}

.chapter-sub-role {
  font-family: var(--font-display);
  font-size: clamp(13px, 2vw, 15px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  margin-top: -20px;
  margin-bottom: 36px;
}

/* ===== Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px) perspective(800px) rotateX(3deg);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal--delayed {
  transition-delay: 0.15s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) perspective(800px) rotateX(0deg);
}

/* ===== Chapter backgrounds + color tints ===== */
#salon { background-image: url('images/salon-bg.jpg'); }
#salon::before { background: rgba(25, 12, 3, 0.70); }

#photography { background-image: url('images/photography-bg.jpg'); }
#photography::before { background: rgba(3, 10, 28, 0.70); }

#products { background-image: url('images/products-bg.jpg'); background-position: center top; }
#products::before { background: rgba(5, 20, 3, 0.72); }

#research { background-image: url('images/research-bg.jpg'); }
#research::before { background: rgba(18, 4, 28, 0.72); }

#contact { background-image: url('images/contact-bg.jpg'); }
#contact::before { background: rgba(5, 5, 5, 0.75); }

/* ===== Atelier ah Logo ===== */
.salon-logo {
  display: block;
  width: 200px;
  margin-bottom: 24px;
  filter: invert(1);
  mix-blend-mode: screen;
}

.salon-logo--header {
  width: 240px;
  margin: 0 auto 24px;
}

/* ===== Salon Gallery ===== */
.salon-gallery {
  margin-top: 40px;
}

.salon-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.salon-gallery__grid div {
  overflow: hidden;
  aspect-ratio: 1;
}

.salon-gallery__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease, opacity 0.3s;
}

.salon-gallery__grid div:hover img {
  transform: scale(1.04);
  opacity: 0.8;
}

/* ===== Product tag ===== */
.product-tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 2px 7px;
  margin-left: 8px;
  vertical-align: middle;
}

.product-name--link {
  transition: color 0.2s;
}

.product-name--link:hover {
  color: var(--text-muted);
}

/* ===== Custom Cursor ===== */
.cursor-dot,
.cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: #fff;
  transition: opacity 0.3s, transform 0.15s;
}

.cursor-ring {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255,255,255,0.45);
  transition: width 0.35s cubic-bezier(0.16,1,0.3,1),
              height 0.35s cubic-bezier(0.16,1,0.3,1),
              border-color 0.35s,
              opacity 0.3s;
}

.cursor-ring.hovered {
  width: 52px;
  height: 52px;
  border-color: rgba(255,255,255,0.75);
}

.cursor-dot.hidden,
.cursor-ring.hidden {
  opacity: 0;
}

/* ===== Stagger items ===== */
.stagger-item {
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.55s cubic-bezier(0.16,1,0.3,1),
              transform 0.55s cubic-bezier(0.16,1,0.3,1);
}

.stagger-item.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== Product 3D hover ===== */
.product-item {
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}

.product-item:hover {
  transform: translateX(10px);
}

/* stagger と product-item が共存する場合、duration を stagger に合わせる */
.product-item.stagger-item {
  transition: opacity 0.55s cubic-bezier(0.16,1,0.3,1),
              transform 0.55s cubic-bezier(0.16,1,0.3,1);
}

.product-item.stagger-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.product-item.stagger-item.visible:hover {
  transform: translateX(10px);
}

/* ===== Hero canvas ===== */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;   /* ::before=1 < canvas=2 < hero-inner=3 */
}

/* ===== SNS links (contact section) ===== */
.sns-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.sns-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--border);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  transition: color 0.28s, border-color 0.28s,
              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.sns-link:hover {
  color: var(--accent);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.sns-link svg {
  flex-shrink: 0;
  transition: opacity 0.28s;
  opacity: 0.65;
}

.sns-link:hover svg {
  opacity: 1;
}

.sns-handle {
  font-size: 11px;
  letter-spacing: 0.05em;
}

/* ===== Footer ===== */
#footer {
  padding: 48px 24px 40px;
  text-align: center;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.footer-sns {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-sns a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: color 0.25s, border-color 0.25s,
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-sns a:hover {
  color: var(--accent);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.footer-sns svg {
  opacity: 0.65;
  transition: opacity 0.25s;
}

.footer-sns a:hover svg {
  opacity: 1;
}

/* ===== Mobile ===== */
@media (max-width: 640px) {
  :root {
    --section-py: 80px;
  }

  .chapter-header {
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 32px;
  }

  .nav-links {
    display: flex;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 18px;
    letter-spacing: 0.15em;
    color: var(--text);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .section-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-label {
    padding-top: 0;
  }

  .product-item {
    flex-direction: column;
    gap: 4px;
  }

  .product-name {
    min-width: unset;
  }

  .salon-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-header-inner {
    padding-left: 0;
  }

  .concept-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .timeline-item {
    grid-template-columns: 64px 1fr;
    gap: 16px;
  }

  .photo-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-dl .info-row {
    grid-template-columns: 1fr;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
