/* ============================================
   HAIR COLOR TEMPLATE
   ハイトーンカラー専門店 — 白地×ビビッドなベタ色
   色見本チップ、ベタ色ブロック、角ばった太字
============================================ */

:root {
  /* Color（グラデーションは使わず、ベタ色で塗り分ける） */
  --pink: #ff2e88;
  --orange: #ff7a1a;
  --yellow: #ffd400;
  --mint: #22d3a6;
  --cyan: #00b8e6;
  --purple: #a77bff;
  --ink: #161616;
  --ink-soft: #555;
  --paper: #ffffff;
  --gray: #f3f3f1;
  --line: #e4e4e0;

  /* Font */
  --font-head: "Dela Gothic One", "Zen Maru Gothic", sans-serif;
  --font-body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --radius: 14px;

  /* キビキビ動くイージング */
  --snap: cubic-bezier(0.2, 0.7, 0.2, 1); /* 動きはすべてこの ease-out でそろえる */
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.85;
  letter-spacing: 0.02em;
  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;
}

h1,
h2,
h3 {
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

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

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.u-sp {
  display: none;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 400;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
}

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

/* ---------- 見出し・ラベル ---------- */
.label {
  display: inline-block;
  padding: 2px 12px;
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--c, var(--yellow));
  transform: rotate(-3deg);
}

.label--pink { --c: var(--pink); color: var(--paper); }
.label--cyan { --c: var(--cyan); }
.label--yellow { --c: var(--yellow); }
.label--purple { --c: var(--purple); color: var(--paper); }

.title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(28px, 4.4vw, 48px);
  letter-spacing: 0.01em;
}

.sub-title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 20px;
  margin-bottom: 18px;
}

.section {
  padding: clamp(72px, 10vw, 128px) 0;
}

.section-head {
  text-align: center;
  margin-bottom: clamp(36px, 6vw, 64px);
}

.section-head--left {
  text-align: left;
}

.section-head__lead {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
}

/* 背景は疑似要素に（ヘッダー本体に付けるとモバイルメニューが閉じ込められる） */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
  transform: translateY(-100%);
  transition: transform 0.35s var(--snap);
}

.header.is-scrolled::before {
  transform: none;
}

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

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo__word {
  font-family: var(--font-head);
  font-size: 28px;
  letter-spacing: -0.01em;
}

/* 1文字ずつ色を変える */
.logo__word b { font-weight: 400; }
.logo__word b:nth-child(1) { color: var(--pink); }
.logo__word b:nth-child(2) { color: var(--orange); }
.logo__word b:nth-child(3) { color: #e0b400; }
.logo__word b:nth-child(4) { color: var(--mint); }
.logo__word b:nth-child(5) { color: var(--cyan); }
.logo__word b:nth-child(6) { color: var(--purple); }
.logo__word b:nth-child(7) { color: var(--pink); }
.logo__word b:nth-child(8) { color: var(--ink); }

.logo__sub {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  transition: background 0.2s;
}

.nav__link:hover {
  background: var(--yellow);
}

.nav__link--cta {
  margin-left: 8px;
  padding: 0 22px;
  background: var(--ink);
  color: var(--paper);
}

.nav__link--cta:hover {
  background: var(--pink);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 120;
  width: 52px;
  height: 52px;
  background: var(--ink);
  border-radius: 50%;
}

.nav-toggle span {
  position: absolute;
  left: 15px;
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--paper);
  transition: transform 0.3s var(--snap), opacity 0.2s;
}

.nav-toggle span:nth-child(1) { top: 17px; background: var(--pink); }
.nav-toggle span:nth-child(2) { top: 24px; background: var(--yellow); }
.nav-toggle span:nth-child(3) { top: 31px; background: var(--cyan); }

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

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

/* ---------- Hero（カラーシミュレーター） ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 36px) 0 clamp(56px, 7vw, 88px);
  overflow: hidden;
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  padding: 2px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.hero__title {
  margin-top: 18px;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(34px, 5.2vw, 66px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero__line {
  display: block;
  white-space: nowrap;
}

/* 「染める」に今の色のベタ塗りマーカー */
.hero__title mark {
  background: var(--tone);
  color: var(--tone-ink);
  padding: 0 0.08em;
  transition: background 0.4s ease;
}

.hero__lead {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 700;
}

.sim {
  margin-top: 30px;
  padding: 20px;
  background: var(--gray);
  border-radius: var(--radius);
}

.sim__title {
  font-size: 15px;
  font-weight: 900;
}

.sim__title small {
  margin-left: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}

.sim__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

/* 色見本チップ：押すと少し持ち上がって黒い枠 */
.chip {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--c);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s var(--snap), box-shadow 0.2s;
}

.chip:hover {
  transform: translateY(-3px);
}

.chip[aria-pressed="true"] {
  transform: translateY(-4px);
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--ink);
}

.sim__card {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 2px dashed #cfcfca;
}

.sim__card dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}

.sim__card dd {
  font-family: var(--font-head);
  font-size: 18px;
  line-height: 1.4;
}

.sim__name dd {
  display: flex;
  flex-direction: column;
}

.sim__name span {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 13px;
  color: var(--ink-soft);
}

.sim__name b {
  font-weight: 400;
  font-size: 20px;
}

.hero__visual {
  position: relative;
  padding: 0 0 28px 28px;
}

/* 写真の後ろの、今の色のベタ色ブロック */
.hero__block {
  position: absolute;
  inset: 28px 28px 0 0;
  background: var(--tone);
  border-radius: var(--radius);
  transition: background 0.4s ease;
}

.hero__photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--ink);
  background: var(--paper);
}

.hero__photo img {
  width: 100%;
  aspect-ratio: 9 / 11;
  object-fit: cover;
  object-position: 60% 30%;
  filter: hue-rotate(var(--hue, 0deg)) saturate(var(--sat, 1.15)) brightness(var(--bri, 1));
  transition: filter 0.5s ease;
}

.hero__photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  background: var(--paper);
  border-top: 3px solid var(--ink);
}

.hero__sticker {
  position: absolute;
  right: -6px;
  top: 6%;
  display: grid;
  place-content: center;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--ink);
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
  transform: rotate(10deg);
}

.hero__sticker b {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 26px;
}

/* ヒーローの出だし：読み込みと同時に下から少しだけ。CSSアニメだけで動く＝JSが動かなくても必ず見える */
.hero__text > *,
.hero__visual {
  animation: heroIn 0.8s var(--snap) backwards;
}

.hero__text > :nth-child(2) { animation-delay: 0.08s; }
.hero__text > :nth-child(3) { animation-delay: 0.16s; }
.hero__text > :nth-child(4) { animation-delay: 0.24s; }
.hero__text > :nth-child(n + 5) { animation-delay: 0.32s; }
.hero__visual { animation-delay: 0.12s; }

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

/* ---------- 色見本の帯 ---------- */
.swatch-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.swatch-strip span {
  display: flex;
  align-items: flex-end;
  height: 72px;
  padding: 6px 10px;
  background: var(--c);
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--ink);
}

.swatch-strip span:last-child {
  color: var(--paper);
}

/* ---------- News（黄色い付箋） ---------- */
.news {
  padding-top: clamp(48px, 7vw, 80px);
}

.news__note {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 26px clamp(20px, 4vw, 40px);
  background: var(--yellow);
  transform: rotate(-1deg);
}

/* マスキングテープ */
.news__note::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 110px;
  height: 26px;
  background: rgba(0, 184, 230, 0.75);
  transform: translateX(-50%) rotate(3deg);
}

.news__title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 20px;
}

.news__list li {
  display: flex;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 2px dotted rgba(22, 22, 22, 0.3);
  font-size: 14px;
  font-weight: 700;
}

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

.news__list time {
  flex: none;
  font-family: var(--font-head);
}

/* ---------- Concept ---------- */
.concept__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.concept__head {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.concept__lead {
  margin-top: 22px;
  font-size: 15px;
}

.points {
  display: grid;
  gap: 18px;
}

.point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--gray);
}

/* 2つ目だけ右にずらして、きっちり揃えすぎない */
.point:nth-child(2) {
  margin-left: clamp(0px, 4vw, 48px);
}

.point__num {
  font-family: var(--font-head);
  font-size: 54px;
  line-height: 1;
  color: var(--paper);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--c);
}

.point--pink { --c: var(--pink); }
.point--cyan { --c: var(--cyan); }
.point--yellow { --c: var(--yellow); }

.point__title {
  font-size: 19px;
  font-weight: 900;
  margin-bottom: 6px;
}

.point p {
  font-size: 15px;
}

/* ---------- Bleach & Keep ---------- */
.bleach {
  background: var(--ink);
  color: var(--paper);
}

.bleach .section-head__lead {
  color: #bdbdbd;
}

.bleach__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
}

.ladder__row {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #333;
}

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

.ladder__count b {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 46px;
  line-height: 1;
  margin-right: 4px;
}

/* 明るさのレベル：4段階の目盛り（回数が増えるほど明るく、長く） */
.ladder__bar {
  display: block;
  height: 12px;
  width: calc(var(--lv) * 25%);
  border-radius: 6px;
  background: hsl(30, 40%, calc(18% + var(--lv) * 16%));
  margin-bottom: 8px;
}

.ladder__body p {
  font-size: 15px;
}

.ladder__chips {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.ladder__chips i {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--c);
  border: 2px solid var(--paper);
}

.keep__list li {
  display: grid;
  grid-template-columns: 6em 1fr 4.4em;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  font-size: 15px;
}

.keep__bar {
  height: 22px;
  background: #2a2a2a;
  border-radius: 4px;
  overflow: hidden;
}

/* 3週を最大にした棒。見えたら左から伸びる */
.keep__bar i {
  display: block;
  height: 100%;
  width: calc(var(--w) / 3 * 100%);
  background: var(--c);
  transform-origin: left;
}

.js-color .keep:not(.is-visible) .keep__bar i {
  transform: scaleX(0);
}

.js-color .keep.is-visible .keep__bar i {
  transition: transform 0.9s var(--snap) 0.2s;
}

.keep__list b {
  font-family: var(--font-head);
  font-weight: 400;
  text-align: right;
}

.care {
  margin-top: 28px;
  padding: 20px 22px;
  border: 2px solid var(--paper);
  border-radius: var(--radius);
}

.care__title {
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 8px;
}

.care__list li {
  position: relative;
  padding: 6px 0 6px 28px;
  font-size: 15px;
}

.care__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--yellow);
  border-bottom: 3px solid var(--yellow);
  transform: rotate(-45deg);
}

.care__list b {
  color: var(--yellow);
}

/* ---------- Menu ---------- */
.menu__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
  align-items: start;
}

.menu-block {
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

/* カラーは大きく左列を縦に使う */
.menu-block--pink {
  grid-row: span 3;
}

.menu-block__title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 20px;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 22px;
  background: var(--c);
  border-bottom: 3px solid var(--ink);
}

.menu-block__title span {
  font-size: 13px;
  letter-spacing: 0.08em;
}

.menu-block--pink { --c: var(--pink); }
.menu-block--cyan { --c: var(--cyan); }
.menu-block--purple { --c: var(--purple); }
.menu-block--yellow { --c: var(--yellow); }
.menu-block--mint { --c: var(--mint); }

.menu-block--pink .menu-block__title,
.menu-block--purple .menu-block__title {
  color: var(--paper);
}

.menu-list {
  padding: 8px 20px 14px;
}

.menu-list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 4px 14px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 2px dotted var(--line);
}

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

.menu-list__name {
  font-weight: 700;
  font-size: 15px;
}

.menu-list__time {
  font-size: 14px;
  color: var(--ink-soft);
}

.menu-list__price {
  font-family: var(--font-head);
  font-size: 18px;
  min-width: 5em;
  text-align: right;
}

.menu-block--pink .menu-list li {
  padding: 16px 0;
}

.menu-block--pink .menu-list__price {
  font-size: 22px;
}

.menu-block__note {
  margin: -6px 20px 16px;
  font-size: 14px;
  color: var(--ink-soft);
}

.menu__student {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--gray);
  font-weight: 700;
  font-size: 15px;
}

.menu__student b {
  padding: 2px 12px;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--font-head);
  font-weight: 400;
}

/* ---------- Coupon（チケット） ---------- */
.coupon {
  padding: 0 0 clamp(72px, 10vw, 120px);
}

.ticket {
  display: grid;
  grid-template-columns: 1fr 280px;
  max-width: 920px;
  margin: 0 auto;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}

.ticket__main {
  padding: clamp(24px, 4vw, 40px);
  background: var(--yellow);
}

.ticket__for {
  display: inline-block;
  padding: 0 10px;
  font-weight: 900;
  font-size: 14px;
  background: var(--ink);
  color: var(--paper);
}

.ticket__title {
  margin-top: 10px;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.2;
}

.ticket__title span {
  font-size: 2em;
  color: var(--pink);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
}

.ticket__ex {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
}

.ticket__ex b {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 18px;
}

/* 切り取り線（点線＋左右の丸い切り欠き） */
.ticket__stub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 20px;
  text-align: center;
  background: var(--paper);
  border-left: 3px dashed var(--ink);
}

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

.ticket__code {
  font-family: var(--font-head);
  font-size: 28px;
  letter-spacing: 0.04em;
}

.ticket__copy {
  min-height: 44px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 900;
  font-size: 14px;
  transition: background 0.2s;
}

.ticket__copy:hover,
.ticket__copy.is-done {
  background: var(--pink);
}

.ticket__note {
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- Gallery ---------- */
.gallery {
  background: var(--gray);
}

.gallery__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px 0 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}

/* 色の丸 */
.filter__btn::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c);
}

.filter__btn:hover {
  background: var(--yellow);
}

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

.filter__btn[aria-pressed="true"]::before {
  box-shadow: 0 0 0 2px var(--paper);
}

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

.work {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c);
  transition: opacity 0.25s ease, transform 0.3s var(--snap);
}

.work--big {
  grid-column: span 2;
  grid-row: span 2;
}

.work--wide {
  grid-column: span 2;
}

.work__fig {
  height: 100%;
}

.work__fig img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.4s var(--snap);
}

.work--wide .work__fig img {
  aspect-ratio: auto;
}

.work:hover .work__fig img {
  transform: scale(1.03);
}

.work__cap {
  position: absolute;
  left: 10px;
  bottom: 10px;
  right: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 13px;
  font-weight: 700;
}

.work__cap {
  color: var(--ink);
}

/* キャプション本文は白いラベル */
.work__txt {
  padding: 1px 8px;
  background: var(--paper);
  border-radius: 4px;
}

.work__tag {
  padding: 1px 10px;
  border-radius: 999px;
  background: var(--c);
  border: 2px solid var(--ink);
  font-weight: 900;
}

.work.is-hidden {
  display: none;
}

.work.is-out {
  opacity: 0;
  transform: translateY(8px);
}

.gallery__count {
  margin-top: 18px;
  font-family: var(--font-head);
  font-size: 15px;
  text-align: right;
}

.gallery__note {
  font-size: 14px;
  color: var(--ink-soft);
  text-align: right;
}

/* ---------- Stylist ---------- */
.crew {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 32px;
}

.crew__item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  align-items: start;
}

/* 写真の後ろに、その人のイメージカラーのベタ面 */
.crew__photo {
  position: relative;
  padding: 0 10px 10px 0;
}

.crew__photo::before {
  content: "";
  position: absolute;
  inset: 10px 0 0 10px;
  background: var(--c);
  border-radius: var(--radius);
}

.crew__photo img {
  position: relative;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border-radius: var(--radius);
  border: 3px solid var(--ink);
}

.crew__role {
  display: inline-block;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 900;
  background: var(--c);
  border-radius: 4px;
}

.crew__name {
  margin-top: 6px;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 24px;
}

.crew__fav {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
}

.crew__word {
  margin-top: 8px;
  font-size: 15px;
}

.crew__fee {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 2px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.crew__fee b {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 20px;
  margin-left: 6px;
}

/* ---------- Voice（ふきだし） ---------- */
.voice {
  background: var(--cyan);
}

.voice .section-head__lead {
  color: var(--ink);
}

.voice__grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.voice .label--cyan {
  --c: var(--paper);
}

.chat {
  display: grid;
  gap: 18px;
}

.chat__item {
  max-width: 78%;
}

.chat__item--right {
  justify-self: end;
  text-align: right;
}

.chat__who {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
}

.chat__who i {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--c);
  border: 2px solid var(--ink);
}

.chat__bubble {
  position: relative;
  margin-top: 6px;
  padding: 14px 18px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 20px 20px 20px 4px;
  font-size: 15px;
  text-align: left;
}

.chat__item--right .chat__bubble {
  background: var(--yellow);
  border-radius: 20px 20px 4px 20px;
}

/* ---------- Salon（弁当箱グリッド） ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(150px, auto);
  gap: 14px;
}

.bento__photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--ink);
}

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

.bento__photo--a {
  grid-column: span 2;
  grid-row: span 2;
}

.bento__photo--b {
  grid-row: span 2;
}

.tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--c);
  border: 3px solid var(--ink);
}

.tile b {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 64px;
  line-height: 1;
}

.tile span {
  font-weight: 900;
  font-size: 15px;
}

.tile .tile__head {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 4px;
}

.tile p {
  font-size: 14px;
  font-weight: 700;
}

.tile--pink { --c: var(--pink); color: var(--paper); }
.tile--cyan { --c: var(--cyan); }
.tile--yellow { --c: var(--yellow); grid-column: span 2; }
.tile--purple { --c: var(--purple); color: var(--paper); }
.tile--white { --c: var(--paper); }
.tile--mint { --c: var(--mint); }

/* ---------- Reserve ---------- */
.reserve {
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--pink);
  color: var(--paper);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.reserve__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.reserve__title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.15;
}

.reserve__lead {
  margin-top: 14px;
  font-weight: 700;
  font-size: 15px;
}

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

.rbtn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 0 22px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 900;
  font-size: 16px;
  color: var(--ink);
  background: var(--c);
  transition: transform 0.15s var(--snap);
}

/* 右端の矢印 */
.rbtn::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-top: 3px solid var(--ink);
  border-right: 3px solid var(--ink);
  transform: rotate(45deg);
}

.rbtn:hover {
  transform: translateX(4px);
}

.rbtn--white { --c: var(--paper); }
.rbtn--mint { --c: var(--mint); }
.rbtn--yellow { --c: var(--yellow); }

/* ---------- Access ---------- */
.access__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
}

.hours {
  margin-top: 24px;
  border-top: 3px solid var(--ink);
}

.hours li {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 0 16px;
  padding: 12px 0;
  border-bottom: 2px solid var(--line);
}

.hours span {
  font-weight: 900;
  grid-row: span 2;
}

.hours b {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
}

.hours small {
  font-size: 13px;
  color: var(--ink-soft);
}

.hours .is-closed b {
  color: var(--pink);
}

.access__dl {
  margin-top: 22px;
  font-size: 15px;
}

.access__dl div {
  display: grid;
  grid-template-columns: 4.5em 1fr;
  gap: 12px;
  padding: 6px 0;
}

.access__dl dt {
  font-weight: 900;
}

.access__dl a {
  display: inline-block;
  padding: 4px 0;
  border-bottom: 3px solid var(--yellow);
  font-weight: 700;
}

.access__map {
  position: relative;
  min-height: 360px;
  padding: 0 12px 12px 0;
}

.access__map::before {
  content: "";
  position: absolute;
  inset: 12px 0 0 12px;
  background: var(--purple);
  border-radius: var(--radius);
}

.access__map iframe {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 348px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--gray);
}

/* ---------- Recruit ---------- */
.recruit {
  background: var(--gray);
}

.recruit__top {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.recruit__lead {
  margin-top: 18px;
  font-size: 15px;
}

.recruit__photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--ink);
  transform: rotate(1.5deg);
}

.recruit__photo img {
  width: 100%;
  aspect-ratio: 9 / 6.5;
  object-fit: cover;
}

.recruit__bottom {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(40px, 6vw, 64px);
  align-items: start;
}

.spec {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  padding: 8px 22px;
}

.spec div {
  display: grid;
  grid-template-columns: 4.5em 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 2px dotted var(--line);
  font-size: 15px;
}

.spec div:last-child {
  border-bottom: none;
}

.spec dt {
  font-weight: 900;
}

.apply {
  padding: 24px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
}

.apply__title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 8px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
  border: none;
  font-size: 14px;
  font-weight: 700;
}

.field em {
  font-style: normal;
  margin-left: 8px;
  padding: 0 6px;
  font-size: 12px;
  background: var(--pink);
  border-radius: 4px;
}

.field input[type="text"],
.field input[type="email"],
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  font-size: 16px; /* iOSで拡大されない大きさ */
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--paper);
  border-radius: 10px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--yellow);
}

.field--radio {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

.field--radio legend {
  width: 100%;
  margin-bottom: 4px;
}

.field--radio label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border: 2px solid #555;
  border-radius: 999px;
  cursor: pointer;
}

.field--radio label:has(input:checked) {
  border-color: var(--yellow);
  color: var(--yellow);
}

.field--radio input {
  accent-color: var(--yellow);
  width: 18px;
  height: 18px;
}

.apply__submit {
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  font-size: 16px;
  transition: background 0.2s;
}

.apply__submit:hover {
  background: var(--paper);
}

.apply__msg {
  margin-top: 12px;
  font-size: 14px;
  color: var(--yellow);
  min-height: 1.5em;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
}

.footer__stripe {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  height: 12px;
}

.footer__stripe span {
  background: var(--c);
}

.footer__inner {
  padding-top: 48px;
  padding-bottom: 40px;
  text-align: center;
}

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

.footer__logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 22px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 700;
}

.footer__nav a {
  display: inline-block;
  padding: 10px 2px;
}

.footer__nav a:hover {
  color: var(--yellow);
}

.footer__copy {
  margin-top: 18px;
  color: #aaa;
}

/* ---------- 固定の予約導線 ---------- */
.float-reserve {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--paper);
  border: 3px solid var(--ink);
  font-family: var(--font-head);
  font-size: 20px;
  opacity: 0;
  transform: translateY(12px) rotate(-8deg);
  pointer-events: none;
  transition: opacity 0.3s var(--snap), transform 0.3s var(--snap), background 0.2s;
}

.float-reserve.is-show {
  opacity: 1;
  transform: rotate(-8deg);
  pointer-events: auto;
}

.float-reserve:hover {
  background: var(--ink);
}

.sp-bar {
  display: none;
}

/* ---------- Scroll reveal（下から少しだけ浮かんで出る） ----------
   監視するのは [data-reveal] の要素そのもの（opacity と transform だけで隠す） */
.js-color [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
}

/* 傾けて置く要素は、傾きを保ったまま出す */
.js-color .recruit__photo[data-reveal] {
  transform: translateY(20px) rotate(1.5deg);
}

.js-color .news__note[data-reveal] {
  transform: translateY(20px) rotate(-1deg);
}

.js-color [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--snap), transform 0.7s var(--snap);
}

.js-color .recruit__photo[data-reveal].is-visible {
  transform: rotate(1.5deg);
}

.js-color .news__note[data-reveal].is-visible {
  transform: rotate(-1deg);
}

/* ギャラリーは JS で順番に出す（.works に .is-visible が付いたら） */
.js-color .works:not(.is-visible) .work {
  opacity: 0;
  transform: translateY(20px);
}

.js-color .works.is-visible .work {
  transition: opacity 0.6s var(--snap), transform 0.6s var(--snap);
}

/* 絞り込みで消すときだけは短く（JSが200ms後に入れ替える） */
.js-color .works.is-visible .work.is-out {
  transition-duration: 0.2s;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__link {
    padding: 0 8px;
    font-size: 13px;
  }
}

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

  .nav-toggle {
    display: block;
  }

  /* モバイルメニュー：フェードしながら少しだけ下りてくる */
  .nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    padding: calc(var(--header-h) + 16px) var(--gutter) 24px;
    background: var(--paper);
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-16px);
    visibility: hidden;
    transition: opacity 0.3s var(--snap), transform 0.3s var(--snap), visibility 0s linear 0.3s;
  }

  .nav.is-open {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: opacity 0.3s var(--snap), transform 0.3s var(--snap), visibility 0s;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav__link {
    width: 100%;
    min-height: 60px;
    padding: 0 20px;
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 20px;
    border-radius: var(--radius);
    border: 3px solid var(--ink);
  }

  .nav__list li:nth-child(1) .nav__link { background: var(--pink); color: var(--paper); }
  .nav__list li:nth-child(2) .nav__link { background: var(--yellow); }
  .nav__list li:nth-child(3) .nav__link { background: var(--cyan); }
  .nav__list li:nth-child(4) .nav__link { background: var(--mint); }
  .nav__list li:nth-child(5) .nav__link { background: var(--purple); color: var(--paper); }
  .nav__list li:nth-child(6) .nav__link { background: var(--orange); }

  .nav__link--cta {
    margin-left: 0;
    background: var(--ink);
    color: var(--paper);
  }

  body.nav-open {
    overflow: hidden;
  }

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

  .hero__visual {
    max-width: 520px;
    width: 100%;
    justify-self: center;
  }

  .concept__grid,
  .bleach__grid,
  .voice__grid,
  .access__grid,
  .recruit__top,
  .recruit__bottom,
  .reserve__inner {
    grid-template-columns: 1fr;
  }

  .concept__head {
    position: static;
  }

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

  .menu-block--pink {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .works {
    grid-template-columns: repeat(3, 1fr);
  }

  /* 3列のときは最後の横長を1マスにして、最後の行に穴が空かないように */
  .work--wide:last-child {
    grid-column: auto;
  }

  .work--wide:last-child .work__fig img {
    aspect-ratio: 1;
  }

  /* 2列のメニューは品名を1行使って、時間と料金を下に */
  .menu-list li {
    grid-template-columns: 1fr auto;
  }

  .menu-list__name {
    grid-column: 1 / -1;
  }

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

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

  .float-reserve {
    display: none;
  }

  .sp-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    border-top: 3px solid var(--ink);
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--ink);
  }

  .sp-bar__btn {
    display: grid;
    place-items: center;
    min-height: 56px;
    font-weight: 900;
    font-size: 14px;
    border-right: 3px solid var(--ink);
  }

  .sp-bar__btn:last-child {
    border-right: none;
  }

  .sp-bar__btn--pink { background: var(--pink); color: var(--paper); }
  .sp-bar__btn--mint { background: var(--mint); }
  .sp-bar__btn--yellow { background: var(--yellow); }

  .footer__inner {
    padding-bottom: 96px;
  }
}

@media (max-width: 640px) {
  .u-sp {
    display: inline;
  }

  .hero {
    padding-top: calc(var(--header-h) + 20px);
  }

  .hero__title {
    font-size: clamp(32px, 9.6vw, 44px);
  }

  .hero__lead {
    font-size: 15px;
  }

  .sim {
    padding: 16px;
  }

  .sim__title small {
    display: block;
    margin-left: 0;
  }

  .sim__chips {
    gap: 8px;
  }

  .chip {
    width: 44px;
    height: 44px;
  }

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

  .sim__card dd {
    font-size: 16px;
  }

  .hero__visual {
    padding: 0 0 18px 18px;
  }

  .hero__block {
    inset: 18px 18px 0 0;
  }

  .hero__sticker {
    width: 96px;
    height: 96px;
    font-size: 13px;
    right: -4px;
  }

  .hero__sticker b {
    font-size: 20px;
  }

  .swatch-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .swatch-strip span {
    height: 48px;
    font-size: 12px;
  }

  .swatch-strip span:nth-child(n + 5) {
    display: none;
  }

  .news__list li {
    flex-direction: column;
    gap: 0;
  }

  .point {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }

  .point:nth-child(2) {
    margin-left: 0;
  }

  .point__num {
    justify-self: start;
    font-size: 40px;
  }

  .ladder__row {
    grid-template-columns: 60px 1fr;
  }

  .ladder__count b {
    font-size: 36px;
  }

  .keep__list li {
    grid-template-columns: 5.2em 1fr 4em;
    gap: 8px;
    font-size: 14px;
  }

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

  .menu-list {
    padding: 4px 16px 10px;
  }

  .menu-list li {
    grid-template-columns: 1fr auto;
  }

  .menu-list__name {
    grid-column: 1 / -1;
  }

  .menu-block__title {
    padding: 10px 16px;
    font-size: 20px;
  }

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

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

  .works {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .work--wide:last-child {
    grid-column: span 2;
  }

  .work--wide:last-child .work__fig img {
    aspect-ratio: auto;
  }

  .work__cap {
    left: 6px;
    right: 6px;
    bottom: 6px;
    font-size: 13px;
  }

  .work:not(.work--big):not(.work--wide) .work__txt {
    display: none; /* 小さいマスでは色名タグだけ */
  }

  .crew__item {
    grid-template-columns: 112px 1fr;
    gap: 16px;
  }

  .crew__name {
    font-size: 21px;
  }

  .chat__item {
    max-width: 92%;
  }

  .bento {
    grid-auto-rows: minmax(120px, auto);
    gap: 10px;
  }

  .bento__photo--a {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .bento__photo--b {
    grid-row: span 2;
  }

  .tile {
    padding: 14px;
  }

  .tile b {
    font-size: 48px;
  }

  .tile--yellow,
  .tile--mint {
    grid-column: 1 / -1;
  }

  .rbtn {
    font-size: 15px;
    padding: 0 16px;
  }

  .hours li {
    grid-template-columns: 6em 1fr;
  }

  .hours b {
    font-size: 18px;
  }

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

  .spec {
    padding: 4px 16px;
  }

  .spec div {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .apply {
    padding: 20px 16px;
  }
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  html {
    scroll-behavior: auto;
  }

  .js-color [data-reveal],
  .hero__text > *,
  .hero__visual,
  .js-color .works .work {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* 説明文として読む小さな注記・キャプションは、スマホでも14pxを下回らないようにする */
.ticket__note,
.work__cap,
.crew__role {
  font-size: 14px;
}
