/* ============================================================
   barber b. — Design System
   VI: #f2f2f2 bg / #1a1a1a text / #c8c8c8 border
   Font: DM Sans (Avenir proxy)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@200;300;400&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', 'Avenir Next', 'Avenir', sans-serif;
  background: #f2f2f2;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(242,242,242,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 0.5px solid #c8c8c8;
  transition: background 0.3s;
}

.navbar.over-hero {
  background: transparent;
  border-bottom-color: rgba(255,255,255,0.15);
}

.navbar-logo svg {
  height: 22px;
  width: auto;
  display: block;
}

.navbar-logo .logo-dark { display: flex; align-items: center; }
.navbar-logo .logo-white { display: none; align-items: center; }
.navbar.over-hero .navbar-logo .logo-dark { display: none; }
.navbar.over-hero .navbar-logo .logo-white { display: flex; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: #1a1a1a;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 0.5; }
.navbar.over-hero .nav-links a { color: rgba(255,255,255,0.85); }
.navbar.over-hero .nav-links a:hover { opacity: 0.55; }

/* Active page indicator */
.nav-links a.active {
  border-bottom: 0.5px solid currentColor;
  padding-bottom: 1px;
}

/* Lang toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 32px;
}

.lang-btn {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.14em;
  padding: 3px 8px;
  border: 0.5px solid #c8c8c8;
  background: transparent;
  color: #aaa;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-btn:first-child { border-radius: 2px 0 0 2px; }
.lang-btn:last-child  { border-radius: 0 2px 2px 0; border-left: none; }
.lang-btn.active { color: #1a1a1a; border-color: #1a1a1a; background: #1a1a1a; color: #f2f2f2; }
.navbar.over-hero .lang-btn { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.5); }
.navbar.over-hero .lang-btn.active { border-color: #f2f2f2; background: #f2f2f2; color: #1a1a1a; }

/* Burger (mobile) */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: transparent;
  border: none;
}
.burger span {
  display: block;
  width: 22px;
  height: 0.5px;
  background: #1a1a1a;
  transition: all 0.3s;
}
.navbar.over-hero .burger span { background: #f2f2f2; }
.burger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ── PAGE LAYOUT ── */
.page-body { padding-top: 64px; }

/* ── SECTION HEADER ── */
.section-header {
  padding: 80px 56px 56px;
  border-bottom: 0.5px solid #c8c8c8;
}

.section-label {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: 20px;
}

.section-title {
  font-size: 28px;
  font-weight: 200;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: #1a1a1a;
}

/* ── HERO (shared for inner pages) ── */
.inner-hero {
  position: relative;
  height: 55vh;
  min-height: 340px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.inner-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
}

.inner-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20,20,20,0.1) 0%, rgba(20,20,20,0.65) 100%);
}

.inner-hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 56px;
}

.inner-hero-label {
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}

.inner-hero-title {
  font-size: 28px;
  font-weight: 200;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1.4;
}

/* ── FOOTER ── */
.site-footer {
  padding: 52px 56px;
  border-top: 0.5px solid #c8c8c8;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}

.footer-philosophy { font-size: 12px; font-weight: 300; letter-spacing: 0.1em; color: #999; margin-bottom: 6px; }
.footer-philosophy-en { font-size: 10px; font-weight: 300; letter-spacing: 0.14em; color: #ccc; margin-bottom: 28px; }
.footer-access-label { font-size: 9px; font-weight: 300; letter-spacing: 0.2em; text-transform: uppercase; color: #ccc; margin-bottom: 8px; }
.footer-address { font-size: 11px; font-weight: 300; letter-spacing: 0.07em; line-height: 2; color: #aaa; }

.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { font-size: 10px; font-weight: 300; letter-spacing: 0.12em; color: #bbb; text-decoration: none; transition: color 0.2s; }
.footer-social a:hover { color: #1a1a1a; }

.brand-row { display: flex; align-items: center; gap: 16px; }
.brand-name { font-size: 10px; font-weight: 300; letter-spacing: 0.08em; color: #bbb; }
.brand-sep { width: 0.5px; height: 12px; background: #ccc; }

/* ── DOTS MOTIF ── */
.dots-motif { display: flex; gap: 5px; align-items: center; }
.dots-motif span { display: block; border-radius: 50%; width: 5px; height: 5px; background: #1a1a1a; }
.dots-motif span:nth-child(2) { opacity: 0.5; }
.dots-motif span:nth-child(3) { opacity: 0.22; }
.dots-motif.white span { background: rgba(255,255,255,0.8); }

/* ── CTA ARROW LINK ── */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: #1a1a1a;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
}
.arrow-line {
  display: inline-block;
  width: 24px;
  height: 0.5px;
  background: currentColor;
  position: relative;
  transition: width 0.3s ease;
}
.arrow-line::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  width: 6px; height: 6px;
  border-top: 0.5px solid currentColor;
  border-right: 0.5px solid currentColor;
  transform: rotate(45deg);
}
.arrow-link:hover .arrow-line { width: 36px; }
.arrow-link.white { color: #fff; }

/* ── GRID DIVIDER ── */
.h-rule { border: none; border-top: 0.5px solid #c8c8c8; margin: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .navbar { padding: 0 24px; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: #f2f2f2; padding: 32px 24px; gap: 28px; border-bottom: 0.5px solid #c8c8c8; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 13px; letter-spacing: 0.12em; }
  .lang-toggle { margin-left: 0; }
  .burger { display: flex; }
  .section-header { padding: 56px 32px 40px; }
  .section-title { font-size: 22px; }
  .inner-hero-content { padding: 32px; }
  .inner-hero-title { font-size: 22px; }
  .site-footer { padding: 44px 32px; grid-template-columns: 1fr; }
  .footer-right { align-items: flex-start; }
}


/* Pages without full hero get dark navbar by default */
body.no-hero .navbar {
  background: rgba(242,242,242,0.97);
  border-bottom-color: #c8c8c8;
}
body.no-hero .navbar .nav-links a { color: #1a1a1a; }
body.no-hero .navbar .logo-dark { display: flex !important; }
body.no-hero .navbar .logo-white { display: none !important; }
body.no-hero .lang-btn { border-color: #c8c8c8; color: #aaa; }
body.no-hero .lang-btn.active { border-color: #1a1a1a; background: #1a1a1a; color: #f2f2f2; }
body.no-hero .burger span { background: #1a1a1a; }


/* Inner pages (non-home): navbar always dark */
body.inner-page .navbar {
  background: rgba(242,242,242,0.97) !important;
  border-bottom-color: #c8c8c8 !important;
}
body.inner-page .navbar .nav-links a { color: #1a1a1a !important; }
body.inner-page .navbar .logo-dark { display: flex !important; }
body.inner-page .navbar .logo-white { display: none !important; }
body.inner-page .navbar .lang-btn { border-color: #c8c8c8; color: #aaa; }
body.inner-page .navbar .lang-btn.active { border-color: #1a1a1a; background: #1a1a1a; color: #f2f2f2; }
body.inner-page .navbar .burger span { background: #1a1a1a; }

/* 予約ボタン共通スタイル */
.rsv-btn-common {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #1a1a1a;
  color: #f2f2f2;
  text-decoration: none;
  padding: 18px 32px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.16em;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  white-space: nowrap;
  width: fit-content;
}
.rsv-btn-common:hover { background: #333; }
.rsv-btn-common .arrow-line { background: #f2f2f2; width: 20px; }


/* ── INSTAGRAM BUTTONS ── */
.insta-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 4px;
}
.insta-nav-btn svg { width: 18px; height: 18px; display: block; }
.insta-dark { display: flex; }
.insta-white { display: none; }

/* over-hero: white icon */
.navbar.over-hero .insta-dark { display: none; }
.navbar.over-hero .insta-white { display: flex; }

/* inner-page: always dark icon */
body.inner-page .insta-dark { display: flex !important; }
body.inner-page .insta-white { display: none !important; }

.insta-footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #888;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.insta-footer-btn:hover { color: #1a1a1a; }
.insta-footer-btn svg { width: 16px; height: 16px; display: block; }
.insta-footer-btn:hover svg path { fill: #1a1a1a; }


/* ============================================================
   MOBILE RESPONSIVE — Comprehensive
   ============================================================ */

/* ── 小さい端末（〜480px）基本設定 ── */
@media (max-width: 480px) {
  html { font-size: 15px; }

  /* Navbar */
  .navbar { padding: 0 20px; height: 56px; }
  .navbar-logo svg { height: 18px; }

  /* Inner hero */
  .inner-hero { height: 45vh; min-height: 260px; }
  .inner-hero-content { padding: 24px; }
  .inner-hero-title { font-size: 18px; }
  .inner-hero-label { font-size: 8px; letter-spacing: 0.2em; }

  /* Footer */
  .site-footer { padding: 40px 24px; grid-template-columns: 1fr; gap: 28px; }
  .footer-philosophy { font-size: 11px; }
  .footer-address { font-size: 10px; }
  .brand-row { flex-wrap: wrap; gap: 10px; }
}

/* ── タブレット〜スマホ（〜768px）── */
@media (max-width: 768px) {

  /* Navbar */
  .navbar { padding: 0 24px; height: 60px; }
  .navbar-logo svg { height: 20px; }
  .nav-links { display: none; flex-direction: column; position: fixed;
    top: 60px; left: 0; right: 0;
    background: #f2f2f2;
    padding: 28px 24px 36px;
    gap: 24px;
    border-bottom: 0.5px solid #c8c8c8;
    z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 13px; letter-spacing: 0.1em; color: #1a1a1a !important; opacity: 1 !important; }
  .burger { display: flex; }
  .lang-toggle { margin-left: 0; }
  .insta-nav-btn svg { width: 16px; height: 16px; }

  /* Section headers */
  .section-header { padding: 48px 24px 36px; }
  .section-title { font-size: 20px; }

  /* Inner hero */
  .inner-hero { height: 48vh; min-height: 280px; }
  .inner-hero-content { padding: 28px 24px; }
  .inner-hero-title { font-size: 20px; line-height: 1.4; }

  /* Footer */
  .site-footer { padding: 44px 24px; grid-template-columns: 1fr; gap: 28px; }
  .footer-right { align-items: flex-start; }
  .footer-philosophy { font-size: 11px; }

  /* Dots motif */
  .dots-motif span { width: 4px; height: 4px; }

  /* RSV button */
  .rsv-btn-common { padding: 16px 24px; font-size: 10px; }
}

/* ── Home page mobile ── */
@media (max-width: 768px) {
  /* Hero */
  .full-hero { min-height: 100svh; }
  .hero-content { padding: 36px 24px 48px; flex-direction: column; gap: 16px; }
  .hero-right { display: none; }
  .hero-headline { font-size: 17px; }
  .hero-sub { margin-bottom: 14px; font-size: 10px; }
  .hero-body { font-size: 12px; line-height: 2.0; }

  /* Home cards */
  .home-cards { grid-template-columns: 1fr 1fr; }
  .home-card { padding: 28px 20px; min-height: 140px; }
  .home-card:nth-child(2) { border-right: none; }
  .home-card:nth-child(3) { border-top: 0.5px solid #c8c8c8; }
  .home-card:nth-child(4) { border-top: 0.5px solid #c8c8c8; border-right: none; }
  .home-card-label { font-size: 9px; margin-bottom: 10px; }
  .home-card-desc { font-size: 12px; margin-bottom: 20px; }
}

/* ── Concept page mobile ── */
@media (max-width: 768px) {
  .concept-body { padding: 0 24px; }
  .concept-lead { padding: 44px 0; }
  .concept-p { font-size: 13px; line-height: 2.2; }
}

/* ── Service page mobile ── */
@media (max-width: 768px) {
  .svc-body { padding: 0 24px; }
  .svc-item { padding: 40px 0; }
  .svc-header { flex-direction: column; gap: 12px; }
  .svc-name { font-size: 11px; letter-spacing: 0.14em; }
  .svc-row { max-width: 100%; }
  .svc-row-label { font-size: 12px; }
  .svc-row-price { font-size: 15px; }
  .svc-cta { padding: 36px 0; justify-content: flex-start; }
}

/* ── Reservation page mobile ── */
@media (max-width: 768px) {
  .rsv-body { grid-template-columns: 1fr; }
  .rsv-main { padding: 44px 24px; border-right: none; border-bottom: 0.5px solid #c8c8c8; }
  .rsv-text { font-size: 13px; }
  .rsv-info { padding: 44px 24px; gap: 36px; }
  .rsv-info-hours { font-size: 14px; }
  .rsv-info-addr { font-size: 12px; }
}

/* ── Visit page mobile ── */
@media (max-width: 768px) {
  .visit-body { grid-template-columns: 1fr; }
  .visit-map-col { min-height: 260px; position: relative; }
  .visit-map-col iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
  .visit-info-col { border-left: none; border-top: 0.5px solid #c8c8c8; }
  .visit-info-block { padding: 32px 24px; }
  .visit-info-addr { font-size: 12px; }
  .visit-info-hours { font-size: 14px; }
}

/* ── Staff page mobile ── */
@media (max-width: 768px) {
  .staff-hero { height: 48vh; min-height: 280px; }
  .staff-body { grid-template-columns: 1fr; }
  .staff-photo-col { position: relative; top: 0;
    height: 72vw; max-height: 440px;
    border-right: none; border-bottom: 0.5px solid #c8c8c8; }
  .staff-info-col { padding: 40px 24px; gap: 20px; }
  .staff-name-h { font-size: 20px; }
  .staff-bio { font-size: 12px; max-width: 100%; }
  .career-row { grid-template-columns: 56px 1fr; gap: 12px; padding: 10px 0; }
  .career-text { font-size: 11px; }
  .insta-staff-link { font-size: 11px; }
}

/* ── Style page mobile ── */
@media (max-width: 768px) {
  .style-body { padding: 24px 16px; }
  .style-grid { columns: 2; column-gap: 8px; }
  .style-grid img { margin-bottom: 8px; }
}

/* ── Blog page mobile ── */
@media (max-width: 768px) {
  .blog-body { padding: 0 24px; }
  .blog-item { grid-template-columns: 1fr; gap: 14px; padding: 36px 0; }
  .blog-title { font-size: 15px; }
  .blog-excerpt { font-size: 12px; }
}

/* ── Utility ── */
@media (max-width: 768px) {
  .arrow-line { width: 18px; }
  .h-rule { margin: 0; }
}

/* ── タッチデバイスのホバーエフェクト無効化 ── */
@media (hover: none) {
  .home-card:hover { background: transparent; }
  .home-card-dark:hover { background: #1a1a1a; }
  .nav-links a:hover { opacity: 1; }
}


/* Staff page Instagram link */
.insta-staff-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}
.insta-staff-link:hover { color: #1a1a1a; }
.insta-staff-icon { display: flex; align-items: center; }
.insta-staff-icon svg { width: 18px; height: 18px; display: block; }

/* メニューオープン中はover-heroを解除 */
.navbar.menu-open .nav-links a {
  color: #1a1a1a !important;
  opacity: 1 !important;
}
.navbar.menu-open .logo-dark { display: flex !important; }
.navbar.menu-open .logo-white { display: none !important; }
.navbar.menu-open { background: #f2f2f2 !important; }
.navbar.menu-open .burger span { background: #1a1a1a !important; }
.navbar.menu-open .lang-btn { border-color: #c8c8c8; color: #aaa; }
.navbar.menu-open .lang-btn.active { border-color: #1a1a1a; background: #1a1a1a; color: #f2f2f2; }
.navbar.menu-open .insta-dark { display: flex !important; }
.navbar.menu-open .insta-white { display: none !important; }

/* 予約ボタン＋ポリシーリンクのセット */
.rsv-btn-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.rsv-policy-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s;
}
.rsv-policy-link:hover { color: #1a1a1a; }
.rsv-policy-link .arrow-line {
  width: 16px;
  background: #aaa;
}
.rsv-policy-link:hover .arrow-line { background: #1a1a1a; width: 24px; }

@media (max-width: 768px) {
  .rsv-btn-wrap { gap: 14px; }
  .rsv-policy-link { font-size: 10px; }
}
