/* ============================================
   HAIR BARBER TEMPLATE
   メンズ・バーバー — チャコール×レザー（コニャック）×真鍮ゴールド
   回るバーバーポール、紙ラベルの料金表、角の立ったレイアウト
============================================ */

:root {
  /* Color */
  --char: #1c1b19; /* チャコール（背景） */
  --char-2: #252320;
  --char-3: #33302b;
  --cognac: #8f5a33; /* レザー */
  --cognac-dark: #5e3a20;
  --brass: #c4a25b; /* 真鍮 */
  --brass-light: #dcc58f;
  --paper: #eee4cf; /* 紙ラベル */
  --paper-dark: #ddcfae;
  --ink: #221f1b;
  --text: #e8e1d2;
  --text-dim: #b3aa98;
  --pole-red: #b3322a;
  --pole-blue: #24406e;
  --pole-white: #f3efe6;
  --line-green: #06c755;

  /* Font */
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-head: "Dela Gothic One", "Noto Sans JP", sans-serif;
  --font-en: "Oswald", "Noto Sans JP", sans-serif;

  /* Shape — 角は立てる。丸めるのは小さい部品だけ */
  --radius: 2px;
  --line: 1px solid rgba(196, 162, 91, 0.35);

  /* バーバーポールの縞（赤・白・青） */
  --stripes: repeating-linear-gradient(
    -45deg,
    var(--pole-red) 0 10px,
    var(--pole-white) 10px 20px,
    var(--pole-blue) 20px 30px,
    var(--pole-white) 30px 40px
  );

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--char);
  color: var(--text);
  line-height: 1.85;
  letter-spacing: 0.03em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

section[id] {
  scroll-margin-top: var(--header-h);
}

h1,
h2,
h3 {
  font-weight: 400;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 8px 16px;
  background: var(--brass);
  color: var(--ink);
}

.skip-link:focus {
  top: 12px;
}

.pc-only {
  display: inline;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- 見出し ---------- */
.label {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.label--brass {
  color: var(--brass);
}

.h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.35;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}

/* ---------- バーバーポール ----------
   縞は業界らしさの飾りとして形だけ残す（回転は止めて静止表示） */

.pole {
  display: inline-block;
  width: 14px;
  height: 36px;
  padding: 3px 0;
  border-radius: 7px;
  background: var(--brass);
}

.pole > span {
  display: block;
  height: 100%;
  margin: 0 2px;
  border-radius: 2px;
  background: var(--stripes);
  background-size: 56.57px 56.57px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-align: center;
  transition:
    background-color 0.25s,
    color 0.25s,
    box-shadow 0.25s;
}

.btn--brass {
  background: var(--brass);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--cognac-dark);
}

.btn--brass:hover {
  background: var(--brass-light);
  box-shadow: 2px 2px 0 var(--cognac-dark);
}

.btn--line-w {
  border: 1px solid var(--text);
  color: var(--text);
}

.btn--line-w:hover {
  background: var(--text);
  color: var(--ink);
}

.btn--dark {
  background: var(--ink);
  color: var(--paper);
}

.btn--dark:hover {
  background: var(--cognac-dark);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

/* 背景は疑似要素に（ヘッダー本体に効果を付けるとモバイルメニューが閉じ込められるため） */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(28, 27, 25, 0.85), rgba(28, 27, 25, 0));
  transition: background-color 0.3s;
}

.header.is-scrolled {
  border-bottom-color: rgba(196, 162, 91, 0.4);
}

.header.is-scrolled::before {
  background: var(--char);
}

.header__inner {
  height: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.logo__text {
  display: grid;
  line-height: 1.15;
}

.logo__en {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.12em;
}

.logo__ja {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--brass);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav__list {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
}

.nav__list a {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 6px 0;
  transition: color 0.2s;
}

.nav__list a:hover {
  color: var(--brass);
}

.nav__no {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--brass);
}

.nav__cta {
  min-height: 42px;
  padding: 6px 20px;
  box-shadow: none;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid var(--brass);
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition:
    transform 0.3s var(--ease),
    opacity 0.2s;
}

.nav-toggle span:nth-child(1) {
  top: 16px;
}

.nav-toggle span:nth-child(2) {
  top: 22px;
}

.nav-toggle span:nth-child(3) {
  top: 28px;
}

.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);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(100svh, 860px);
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 開いたときだけ 1.04 → 1 にごくゆっくり戻す（1回きり） */
  animation: heroZoom 1.8s var(--ease) both;
}

@keyframes heroZoom {
  from {
    transform: scale(1.04);
  }
}

/* 文字を読ませるための暗幕（左から） */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 19, 17, 0.92) 0%, rgba(20, 19, 17, 0.7) 45%, rgba(20, 19, 17, 0.25) 100%);
}

/* 左端のポールの帯（静止） */
.hero__stripe {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 12px;
  background: var(--stripes);
  background-size: 56.57px 56.57px;
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 1;
  align-self: center;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(var(--header-h) + 40px) var(--gutter) 40px calc(var(--gutter) + 12px);
}

.hero__est {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 14px;
  border: 1px solid var(--brass);
  font-family: var(--font-en);
  font-size: 20px;
  letter-spacing: 0.2em;
  color: var(--brass);
  margin-bottom: 24px;
}

.hero__est span {
  font-size: 13px;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(36px, 6.4vw, 78px);
  line-height: 1.22;
  letter-spacing: 0.02em;
  margin-bottom: 26px;
}

.hero__title span {
  color: var(--brass);
}

.hero__lead {
  max-width: 34em;
  color: var(--text);
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

/* ヒーローの文字は下から少しだけ浮かんで順に出る（CSSのみ。JSが動かなくても最後は必ず見える） */
.hero__inner > * {
  animation: heroText 0.8s var(--ease) both;
}

.hero__inner > :nth-child(2) {
  animation-delay: 0.1s;
}

.hero__inner > :nth-child(3) {
  animation-delay: 0.2s;
}

.hero__inner > :nth-child(4) {
  animation-delay: 0.3s;
}

@keyframes heroText {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.hero__facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: var(--line);
  background: rgba(20, 19, 17, 0.8);
}

.hero__facts li {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  padding: 18px 10px;
}

.hero__facts li + li {
  border-left: var(--line);
}

.hero__facts b {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 30px;
  line-height: 1;
  color: var(--brass);
}

.hero__facts span {
  font-size: 14px;
  color: var(--text-dim);
}

/* ---------- Notice ---------- */
.notice {
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
}

.notice__inner {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.notice__label {
  flex-shrink: 0;
  padding: 0 10px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
}

.notice time {
  font-family: var(--font-en);
  font-weight: 600;
  margin-right: 6px;
}

/* ---------- Concept ---------- */
.concept {
  padding: 120px 0;
}

.concept__inner {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 72px;
  align-items: center;
}

.concept__visual {
  position: relative;
}

.concept__visual img {
  width: 100%;
  aspect-ratio: 9 / 11;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.85);
}

/* 縦書きのひと言 */
.concept__tate {
  position: absolute;
  top: -24px;
  right: -28px;
  padding: 20px 14px;
  background: var(--paper);
  color: var(--ink);
  writing-mode: vertical-rl;
  font-family: var(--font-head);
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: 0.12em;
}

.concept__body > p:not(.label) {
  margin-bottom: 1.2em;
  color: var(--text);
}

.concept__data {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
  border-top: var(--line);
  border-bottom: var(--line);
}

.concept__data div {
  padding: 16px 14px;
}

.concept__data div + div {
  border-left: var(--line);
}

.concept__data dt {
  font-size: 14px;
  color: var(--text-dim);
}

.concept__data dd {
  font-size: 14px;
}

.concept__data b {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 34px;
  color: var(--brass);
  margin-right: 4px;
}

/* ---------- Menu：紙ラベル風 ---------- */
.menu {
  padding: 110px 0 130px;
  background: var(--cognac-dark);
  /* 革のステッチ */
  box-shadow:
    inset 0 10px 0 var(--cognac-dark),
    inset 0 11px 0 rgba(220, 197, 143, 0.5);
  position: relative;
}

.menu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  border-bottom: 2px dashed rgba(220, 197, 143, 0.45);
}

.menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  border-top: 2px dashed rgba(220, 197, 143, 0.45);
}

.menu__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px 40px;
  margin-bottom: 48px;
}

.menu__head .h2 {
  margin-bottom: 0;
}

.menu__note {
  font-size: 14px;
  color: var(--paper-dark);
}

.tags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 36px;
  align-items: start;
}

.tag {
  --rot: 0deg;
  position: relative;
  padding: 34px 24px 24px;
  background-color: var(--paper);
  /* 紙のざらつき（細い横筋） */
  background-image: repeating-linear-gradient(0deg, rgba(120, 95, 50, 0.04) 0 1px, transparent 1px 4px);
  color: var(--ink);
  transform: rotate(var(--rot));
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.35);
}

/* 真鍮の画びょう */
.tag::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--brass-light), var(--brass) 55%, #8a6d2f);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
}

.tag--a {
  --rot: -1.2deg;
}

.tag--b {
  --rot: 0.8deg;
  margin-top: 24px;
}

.tag--c {
  --rot: -0.6deg;
}

.tag--d {
  --rot: 1deg;
}

.tag--e {
  --rot: -1deg;
  margin-top: 18px;
}

.tag__no {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--cognac);
}

.tag__title {
  font-family: var(--font-head);
  font-size: 22px;
  line-height: 1.4;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 3px double var(--ink);
}

.tag__list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  column-gap: 6px;
  padding: 9px 0 7px;
  border-bottom: 1px solid rgba(34, 31, 27, 0.12);
}

.tag__list li:last-child {
  border-bottom: none;
}

.t-name {
  font-weight: 700;
  font-size: 15px;
}

.t-dots {
  border-bottom: 2px dotted rgba(34, 31, 27, 0.4);
  transform: translateY(-4px);
  min-width: 12px;
}

.t-price {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 18px;
  white-space: nowrap;
}

.t-time {
  grid-column: 1 / -1;
  font-size: 14px;
  color: #6a5d48;
}

.tags__photo {
  align-self: stretch;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 8px;
}

.tags__photo img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.tags__photo figcaption {
  font-size: 14px;
  color: var(--paper-dark);
}

/* ---------- Style gallery ---------- */
.style {
  padding: 120px 0;
}

.style__head {
  max-width: 640px;
  margin-bottom: 28px;
}

.style__note {
  font-size: 14px;
  color: var(--text-dim);
}

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 30px;
  border: var(--line);
  width: fit-content;
  max-width: 100%;
}

.filter__btn {
  min-height: 48px;
  padding: 8px 22px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  transition:
    background-color 0.2s,
    color 0.2s;
}

.filter__btn + .filter__btn {
  border-left: var(--line);
}

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

.filter__btn[aria-pressed="true"] {
  background: var(--brass);
  color: var(--ink);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 10px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  animation: galleryIn 0.4s var(--ease);
}

.gallery__item--wide {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery__item[hidden] {
  display: none;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.7) contrast(1.05);
  transition:
    filter 0.4s,
    transform 0.6s var(--ease);
}

.gallery__item:hover img {
  filter: none;
  transform: scale(1.03);
}

.gallery__item p {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 12px;
  background: var(--char);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  max-width: 100%;
}

.gallery__item p span {
  font-family: var(--font-en);
  color: var(--brass);
}

.gallery__empty {
  padding: 40px 0;
  color: var(--text-dim);
}

@keyframes galleryIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
}

/* ---------- Barbers ---------- */
.barbers {
  padding: 120px 0;
  background: var(--char-2);
}

.barbers__head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 0 40px;
  margin-bottom: 44px;
}

.barbers__head .label {
  grid-column: 1 / -1;
}

.barbers__head .h2 {
  margin-bottom: 0;
}

.barbers__fee-note {
  justify-self: end;
  padding: 6px 14px;
  border: var(--line);
  font-size: 14px;
  color: var(--brass-light);
}

.barbers__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: var(--line);
}

.barber {
  padding: 28px 26px 30px;
  border-bottom: var(--line);
}

.barber + .barber {
  border-left: var(--line);
}

.barber__img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  margin-bottom: 20px;
  transition: filter 0.4s;
}

.barber:hover .barber__img {
  filter: grayscale(0.2);
}

.barber__role {
  font-size: 14px;
  color: var(--text-dim);
}

.barber__name {
  font-family: var(--font-head);
  font-size: 28px;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.barber__fee {
  display: inline-block;
  margin: 8px 0 12px;
  padding: 2px 12px;
  background: var(--brass);
  color: var(--ink);
  font-size: 14px;
}

.barber__fee b {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 16px;
}

.barber__good {
  font-size: 14px;
  padding-left: 12px;
  border-left: 3px solid var(--cognac);
  margin-bottom: 12px;
}

.barber__word {
  font-size: 14px;
  color: var(--text-dim);
}

/* ---------- Coupon ---------- */
.coupon {
  padding: 100px 0;
}

/* ポールの縞を額縁にした回数券風 */
.voucher {
  display: grid;
  grid-template-columns: 1fr 280px;
  padding: 10px;
  background: var(--stripes);
  background-size: 56.57px 56.57px;
}

.voucher__left {
  padding: 36px 40px;
  background: var(--paper);
  color: var(--ink);
}

.voucher__for {
  display: inline-block;
  padding: 0 10px;
  background: var(--pole-red);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.voucher__title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.3;
  margin-bottom: 14px;
}

.voucher__title small {
  font-size: 0.7em;
}

.voucher__title span {
  color: var(--pole-red);
}

.voucher__desc {
  font-size: 14px;
}

.voucher__desc b {
  font-family: var(--font-en);
  font-size: 17px;
}

.voucher__right {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 28px 20px;
  background: var(--paper-dark);
  color: var(--ink);
  border-left: 2px dashed var(--ink);
  text-align: center;
}

.voucher__code-label {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.2em;
}

.voucher__code {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.voucher__msg {
  min-height: 1.6em;
  font-size: 14px;
}

/* ---------- Voice ---------- */
.voice {
  padding: 120px 0;
  background: var(--paper);
  color: var(--ink);
}

.voice .label {
  color: var(--cognac);
}

.voice__inner {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 60px;
}

.voice__head p:last-child {
  font-size: 14px;
  color: #5d5343;
}

.voice__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  counter-reset: voice;
}

.voice__list li {
  position: relative;
  padding: 28px 26px 26px 0;
  border-top: 2px solid var(--ink);
  counter-increment: voice;
}

.voice__list li:nth-child(even) {
  padding-left: 26px;
  padding-right: 0;
  border-left: 1px solid rgba(34, 31, 27, 0.2);
}

.voice__list li::before {
  content: "No." counter(voice, decimal-leading-zero);
  display: block;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 14px;
  color: var(--cognac);
  margin-bottom: 6px;
}

.voice__q {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.85;
  margin-bottom: 10px;
}

.voice__who {
  font-size: 14px;
  color: #5d5343;
}

/* ---------- Shop ---------- */
.shop {
  padding: 120px 0;
}

.shop__head {
  margin-bottom: 36px;
}

.shop__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-areas:
    "p1 p2 p3"
    "p1 spec spec";
  gap: 12px;
}

.shop__p img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop__p--1 {
  grid-area: p1;
}

.shop__p--2 {
  grid-area: p2;
  aspect-ratio: 1;
}

.shop__p--3 {
  grid-area: p3;
  aspect-ratio: 1;
}

.spec {
  grid-area: spec;
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  align-self: start;
}

.spec th,
.spec td {
  padding: 10px 8px;
  border-bottom: var(--line);
  text-align: left;
  vertical-align: top;
}

.spec th {
  width: 6em;
  font-weight: 700;
  color: var(--brass);
  white-space: nowrap;
}

/* ---------- Reserve ---------- */
.reserve {
  position: relative;
  padding: 110px 0;
  background: var(--cognac);
  overflow: hidden;
}

.hero__stripe--band {
  width: 100%;
  height: 12px;
  bottom: auto;
  background-size: 56.57px 56.57px;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--pole-red) 0 10px,
    var(--pole-white) 10px 20px,
    var(--pole-blue) 20px 30px,
    var(--pole-white) 30px 40px
  );
}

.reserve__inner {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 60px;
  align-items: center;
}

.reserve .label--brass {
  color: var(--brass-light);
}

.reserve__head p:last-child {
  color: #f1e7d5;
}

.reserve__btns {
  display: grid;
  gap: 14px;
}

.rbtn {
  display: grid;
  gap: 2px;
  padding: 18px 56px 18px 24px;
  position: relative;
  border: 2px solid var(--char);
  background: var(--char);
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s;
  box-shadow: 5px 5px 0 var(--cognac-dark);
}

.rbtn:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--cognac-dark);
}

/* 右端の矢印 */
.rbtn::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.rbtn__sub {
  font-size: 14px;
  opacity: 0.8;
}

.rbtn__main {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.05em;
}

.rbtn--hpb {
  color: var(--brass-light);
}

.rbtn--line {
  background: var(--line-green);
  border-color: var(--line-green);
  color: #fff;
}

.rbtn--tel {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

/* ---------- Access ---------- */
.access {
  padding: 120px 0;
}

.access__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.access__addr {
  font-size: 15px;
}

.hours {
  width: 100%;
  margin: 26px 0;
  border-collapse: collapse;
  font-size: 15px;
}

.hours th,
.hours td {
  padding: 12px 10px;
  border-bottom: var(--line);
  text-align: left;
}

.hours thead th {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  border-bottom: 1px solid var(--brass);
}

.hours tbody th {
  font-weight: 700;
}

.hours td {
  font-family: var(--font-en);
  font-size: 17px;
}

.hours .is-closed td {
  font-family: var(--font-body);
  font-size: 15px;
  color: #e47a70;
}

.access__tel {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.access__tel span {
  font-family: var(--font-en);
  color: var(--brass);
}

.access__tel a {
  font-family: var(--font-en);
  font-size: 32px;
  letter-spacing: 0.06em;
}

.access__map {
  min-height: 380px;
  border: 1px solid var(--brass);
  padding: 8px;
}

.access__map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
  filter: grayscale(1) contrast(1.05);
}

/* ---------- Recruit ---------- */
.recruit {
  padding: 120px 0;
  background: var(--char-2);
  border-top: 6px solid var(--cognac);
}

.recruit__inner {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 56px;
  align-items: start;
}

.job {
  width: 100%;
  margin-top: 26px;
  border-collapse: collapse;
  font-size: 14px;
}

.job th,
.job td {
  padding: 13px 8px;
  border-bottom: var(--line);
  text-align: left;
  vertical-align: top;
}

.job th {
  width: 5em;
  color: var(--brass);
  font-weight: 700;
  white-space: nowrap;
}

.entry {
  padding: 30px 26px;
  background: var(--paper);
  color: var(--ink);
}

.entry__title {
  font-family: var(--font-head);
  font-size: 20px;
}

.entry__lead {
  font-size: 14px;
  margin-bottom: 16px;
  color: #5d5343;
}

.entry__row {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.entry__row label {
  font-size: 14px;
  font-weight: 700;
}

.entry input,
.entry select,
.entry textarea {
  width: 100%;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid rgba(34, 31, 27, 0.4);
  border-radius: var(--radius);
  background: #fbf8f1;
  font-size: 16px;
}

.entry__submit {
  width: 100%;
}

.entry__msg {
  margin-top: 10px;
  min-height: 1.6em;
  font-size: 14px;
  font-weight: 700;
}

/* ---------- Footer ---------- */
.footer {
  padding: 44px 0 40px;
  border-top: var(--line);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 48px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__logo {
  font-family: var(--font-head);
  font-size: 20px;
  line-height: 1.3;
}

.footer__en {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--brass);
}

.footer__addr,
.footer__copy {
  font-size: 14px;
  color: var(--text-dim);
}

.footer__copy {
  margin-left: auto;
  font-family: var(--font-en);
}

/* ---------- 固定の予約ボタン ----------
   PC：右下に縦並びの3つ、スマホ：画面下の3分割バー */
.fixed-cta {
  position: fixed;
  right: 0;
  bottom: 90px;
  z-index: 90;
  display: grid;
  transform: translateX(110%);
  transition: transform 0.4s var(--ease);
}

.fixed-cta.is-show {
  transform: none;
}

.fixed-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 14px;
}

.fixed-cta__hpb {
  background: var(--brass);
  color: var(--ink);
}

.fixed-cta__line {
  background: var(--line-green);
  color: #fff;
}

.fixed-cta__tel {
  background: var(--paper);
  color: var(--ink);
}

/* ---------- Scroll reveal（下から20pxだけ浮かぶ） ----------
   html.js-barber のときだけ隠す＝JSが動かなければ最初から見える */
.js-barber [data-reveal] {
  opacity: 0;
  transform: translateY(20px) rotate(var(--rot, 0deg));
}

.js-barber [data-reveal].is-visible {
  opacity: 1;
  transform: rotate(var(--rot, 0deg));
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__list {
    gap: 14px;
  }

  .nav__no {
    display: none;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 62px;
  }

  .nav-toggle {
    display: block;
  }

  /* モバイルメニュー：番号付きの大きな一覧 */
  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 28px;
    padding: 90px var(--gutter) 40px;
    background: var(--char);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition:
      opacity 0.3s ease-out,
      transform 0.3s var(--ease),
      visibility 0.3s;
    overflow-y: auto;
  }

  /* メニュー左端にもポール */
  .nav::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 8px;
    background: var(--stripes);
    background-size: 56.57px 56.57px;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 400;
  }

  .nav__list li {
    border-bottom: var(--line);
  }

  .nav__list a {
    gap: 16px;
    padding: 12px 0;
  }

  .nav__no {
    display: inline;
    font-size: 15px;
  }

  .nav__cta {
    min-height: 52px;
  }

  body.nav-open {
    overflow: hidden;
  }

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

  .hero__facts li:nth-child(3) {
    border-left: none;
  }

  .hero__facts li:nth-child(n + 3) {
    border-top: var(--line);
  }

  .concept__inner {
    gap: 48px;
  }

  .concept__tate {
    right: -10px;
  }

  .tags {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }

  .tag--b,
  .tag--e {
    margin-top: 0;
  }


  .gallery__item p {
    font-size: 12px;
    padding: 4px 8px;
  }

  .barbers__head {
    grid-template-columns: 1fr;
  }

  .barbers__fee-note {
    justify-self: start;
    margin-top: 14px;
  }

  .barbers__list {
    grid-template-columns: 1fr;
  }

  /* タブレット以下は横並びの行に */
  .barber {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 24px;
    padding: 24px 0;
  }

  .barber + .barber {
    border-left: none;
  }

  .barber__img {
    margin-bottom: 0;
  }

  .voice__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .shop__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "p1 p1"
      "p2 p3"
      "spec spec";
  }

  .shop__p--1 {
    aspect-ratio: 16 / 10;
  }

  .reserve__inner,
  .access__inner,
  .recruit__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .voucher {
    grid-template-columns: 1fr;
  }

  .voucher__right {
    border-left: none;
    border-top: 2px dashed var(--ink);
  }

  /* 固定予約はスマホ・タブレットで画面下のバーに */
  .fixed-cta {
    left: 0;
    bottom: 0;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 1px;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--char);
    transform: translateY(110%);
    border-top: 1px solid var(--brass);
  }

  .fixed-cta a {
    min-height: 56px;
    padding: 6px 8px;
  }

  body {
    padding-bottom: 56px;
  }
}

@media (max-width: 640px) {
  .pc-only {
    display: none;
  }

  .hero {
    min-height: 0;
  }

  .hero__inner {
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 48px;
  }

  .hero > .hero__stripe {
    width: 8px;
  }

  .hero__bg::after {
    background: linear-gradient(180deg, rgba(20, 19, 17, 0.6) 0%, rgba(20, 19, 17, 0.88) 60%);
  }

  .hero__facts li {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 6px;
  }

  .hero__facts b {
    font-size: 26px;
  }

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

  .concept,
  .menu,
  .style,
  .barbers,
  .voice,
  .shop,
  .reserve,
  .access,
  .recruit {
    padding: 76px 0;
  }

  .coupon {
    padding: 64px 0;
  }

  .concept__inner {
    grid-template-columns: 1fr;
  }

  .concept__visual {
    margin-right: 34px;
  }

  .concept__tate {
    top: -14px;
    right: -34px;
    font-size: 15px;
    padding: 14px 10px;
  }

  .concept__data {
    grid-template-columns: 1fr;
  }

  .concept__data div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 10px 0;
  }

  .concept__data div + div {
    border-left: none;
    border-top: var(--line);
  }

  .tags {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tag {
    padding: 32px 18px 18px;
  }

  .tags__photo img {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .filter {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .filter__btn {
    padding: 8px 4px;
  }

  .filter__btn + .filter__btn {
    border-left: none;
  }

  .filter__btn:not(:nth-child(3n + 1)) {
    border-left: var(--line);
  }

  .filter__btn:nth-child(n + 4) {
    border-top: var(--line);
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .gallery__item p {
    font-size: 12px;
    padding: 4px 8px;
  }

  .barber {
    grid-template-columns: 110px 1fr;
    gap: 16px;
  }

  .barber__name {
    font-size: 22px;
  }

  .barber__word {
    grid-column: 1 / -1;
  }

  .voucher {
    padding: 8px;
  }

  .voucher__left {
    padding: 26px 20px;
  }

  .voice__list {
    grid-template-columns: 1fr;
  }

  .voice__list li,
  .voice__list li:nth-child(even) {
    padding: 22px 0;
    border-left: none;
  }

  .shop__grid {
    gap: 8px;
  }

  .spec th {
    width: 5em;
  }

  .rbtn {
    padding: 16px 44px 16px 18px;
  }

  .rbtn__main {
    font-size: 16px;
  }

  .rbtn::after {
    right: 18px;
  }

  .hours th,
  .hours td {
    padding: 10px 6px;
  }

  .access__tel a {
    font-size: 26px;
  }

  .access__map,
  .access__map iframe {
    min-height: 300px;
  }

  .entry {
    padding: 24px 18px;
  }

  .footer__copy {
    margin-left: 0;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }

  .js-barber [data-reveal] {
    opacity: 1 !important;
    transform: rotate(var(--rot, 0deg)) !important;
  }

  .hero__inner > *,
  .hero__bg img {
    animation: none !important;
  }

  .nav {
    transform: none;
  }
}
