/*
Theme Name: FIKA Hair Salon
Theme URI: https://fika-hair.jp/
Author: FIKA Hair Salon
Description: FIKA美容室のレスポンシブ・オリジナルテーマ。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: fika-hair-salon
*/

@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url('assets/fonts/dm-sans-300.ttf') format('truetype'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/dm-sans-400.ttf') format('truetype'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/dm-sans-500.ttf') format('truetype'); }
@font-face { font-family: 'Noto Serif JP'; font-style: normal; font-weight: 300; font-display: swap; src: url('assets/fonts/noto-serif-jp-300.ttf') format('truetype'); }
@font-face { font-family: 'Noto Serif JP'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/noto-serif-jp-400.ttf') format('truetype'); }
@font-face { font-family: 'Noto Serif JP'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/noto-serif-jp-500.ttf') format('truetype'); }

:root {
  --ink: #292621;
  --paper: #f8f5ef;
  --surface: #e8e0d5;
  --accent: #907b68;
  --muted: #756f67;
  --line: rgba(41, 38, 33, 0.16);
  --page-x: clamp(24px, 7.5vw, 132px);
  --section-y: clamp(92px, 10vw, 154px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
}
body.admin-bar .header { top: 32px; }
a { color: inherit; text-decoration: none; }
p { margin-top: 0; }

.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  height: 96px;
  padding-left: clamp(24px, 4.5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.logo, .footer-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 27px;
  line-height: 1;
  letter-spacing: .19em;
}
.logo span, .footer-logo span {
  display: block;
  margin-top: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 7px;
  letter-spacing: .32em;
}
.header nav {
  display: flex;
  gap: clamp(20px, 2.3vw, 38px);
  margin-left: auto;
  margin-right: clamp(22px, 3vw, 54px);
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: .19em;
}
.header nav a { opacity: .62; transition: opacity .2s ease; }
.header nav a:hover { opacity: 1; }
.header .reserve {
  align-self: stretch;
  width: 184px;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--accent);
  color: #fff;
}
.header .reserve span {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  letter-spacing: .17em;
}
.header .reserve small {
  margin-top: 7px;
  font-size: 10px;
  letter-spacing: .08em;
}

.hero {
  position: relative;
  min-height: min(980px, 100svh);
  height: 900px;
  padding-top: 96px;
  overflow: hidden;
  background: var(--surface);
}
.hero-image {
  position: absolute;
  inset: 96px 0 0;
  background: url('assets/images/fika-interior-20260930.png') 58% 52% / cover;
  filter: saturate(.42) contrast(.93) sepia(.08);
}
.hero-shade {
  position: absolute;
  inset: 96px 0 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(248,245,239,.98) 0%, rgba(248,245,239,.87) 34%, rgba(248,245,239,.36) 64%, rgba(248,245,239,.1) 100%);
}
.hero-copy {
  position: absolute;
  z-index: 2;
  left: var(--page-x);
  top: 56%;
  width: min(52%, 700px);
  transform: translateY(-44%);
}
.eyebrow, .section-no {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: .26em;
}
.eyebrow { margin-bottom: 22px; }
.craft-line {
  margin-bottom: 22px;
  font-size: 13px;
  letter-spacing: .11em;
}
.hero h1 {
  margin: 0 0 27px;
  font-size: clamp(62px, 7vw, 108px);
  font-weight: 300;
  line-height: .92;
  letter-spacing: -.045em;
}
.hero h2 {
  margin: 0 0 27px;
  font-size: clamp(18px, 1.6vw, 25px);
  font-weight: 300;
  letter-spacing: .16em;
}
.lead {
  margin-bottom: 0;
  color: rgba(41,38,33,.78);
  font-size: 13px;
  line-height: 2.1;
}
.hero-cta {
  width: 330px;
  margin-top: 34px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  letter-spacing: .1em;
  transition: background .2s ease;
}
.hero-cta:hover { background: var(--ink); }
.hero-cta b { font-family: 'DM Sans', sans-serif; font-size: 18px; font-weight: 300; }
.hero-side-note {
  position: absolute;
  right: 2.2vw;
  bottom: 4vw;
  z-index: 2;
  margin: 0;
  writing-mode: vertical-rl;
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  letter-spacing: .24em;
}
.scroll {
  position: absolute;
  left: 3vw;
  bottom: 4vw;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  writing-mode: vertical-rl;
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  letter-spacing: .25em;
}
.scroll i { height: 44px; border-left: 1px solid var(--ink); }

.statement, .tokyo-story, .feature, .people, .menu, .reserve-section { border-top: 1px solid var(--line); }
.statement {
  min-height: 690px;
  padding: var(--section-y) var(--page-x);
  display: grid;
  grid-template-columns: minmax(120px, .65fr) minmax(0, 2fr) auto;
  gap: clamp(34px, 6vw, 110px);
  background: var(--paper);
}
.section-no { color: var(--accent); }
.concept-en {
  margin-bottom: 24px;
  color: var(--accent);
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: .18em;
}
.statement h2, .tokyo-story h2, .feature h2, .people h2, .menu h2, .reserve-section h2 {
  margin: 0 0 36px;
  font-size: clamp(40px, 4.3vw, 66px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: .02em;
}
.statement .jp-copy {
  width: min(82%, 720px);
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 2.45;
}
.vertical {
  margin: 0;
  writing-mode: vertical-rl;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  letter-spacing: .25em;
}
.text-link {
  margin-top: 30px;
  padding: 12px 0;
  display: inline-flex;
  justify-content: space-between;
  gap: 70px;
  border-bottom: 1px solid currentColor;
  font-family: 'DM Sans', 'Noto Serif JP', sans-serif;
  font-size: 10px;
  letter-spacing: .12em;
}

.tokyo-story {
  padding: clamp(84px, 8vw, 124px) var(--page-x) var(--section-y);
  background: var(--paper);
}
.tokyo-route {
  margin-top: 42px;
  padding-bottom: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(24px, 4.15vw, 64px);
  font-weight: 300;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.tokyo-route i {
  color: var(--accent);
  font-family: 'DM Sans', sans-serif;
  font-size: .6em;
  font-style: normal;
}
.tokyo-copy {
  margin-top: 58px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 10vw, 170px);
  align-items: start;
}
.tokyo-copy h2 { margin: 0; font-size: clamp(34px, 3.6vw, 54px); }
.tokyo-copy p {
  max-width: 590px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 2.4;
}

.feature {
  min-height: 760px;
  display: grid;
  grid-template-columns: 55% 45%;
  background: var(--surface);
}
.feature-photo {
  min-height: 760px;
  background: url('assets/images/fika-craft.jpg') 48% center / cover;
  filter: saturate(.35) contrast(.92) sepia(.1);
}
.feature-copy {
  padding: var(--section-y) clamp(44px, 7vw, 118px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-copy h2 { margin-top: 43px; }
.feature-copy > p:not(.section-no) {
  max-width: 520px;
  color: var(--muted);
  font-size: 13px;
  line-height: 2.35;
}
.qualities {
  margin-top: 54px;
  padding-top: 22px;
  display: flex;
  border-top: 1px solid var(--line);
}
.qualities span { width: 33.333%; padding-right: 14px; font-size: 23px; }
.qualities span + span { padding-left: 14px; border-left: 1px solid var(--line); }
.qualities small {
  display: block;
  margin-top: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 7px;
  letter-spacing: .2em;
}
.qualities b { display: block; margin-top: 15px; font-size: 10px; font-weight: 300; }

.people {
  padding: var(--section-y) var(--page-x);
  background: var(--paper);
}
.people-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}
.people-head h2 { margin-top: 42px; margin-bottom: 0; }
.people-head > p {
  max-width: 410px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 2.15;
}
.staff-grid {
  margin-top: 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid var(--line);
}
.staff-card { min-width: 0; }
.main-staff { display: grid; grid-template-columns: 1fr 1fr; }
.main-staff .staff-photo { height: 100%; min-height: 330px; border-bottom: 0; border-right: 1px solid var(--line); }
.main-staff .staff-info { min-width: 0; align-self: center; }
.staff-photo {
  height: 330px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #ded6cb;
  border-bottom: 1px solid var(--line);
}
.staff-photo span {
  color: rgba(41,38,33,.22);
  font-size: clamp(90px, 11vw, 160px);
  font-weight: 300;
  line-height: 1;
}
.staff-info { min-height: 260px; padding: 30px; }
.staff-info > p:first-child {
  margin-bottom: 16px;
  color: var(--accent);
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  letter-spacing: .2em;
}
.staff-info h3 { margin: 0 0 20px; font-size: 24px; font-weight: 300; }
.staff-info h3 span {
  padding-left: 11px;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  letter-spacing: .2em;
}
.staff-info > p:not(:first-child) {
  min-height: 74px;
  color: var(--muted);
  font-size: 11px;
  line-height: 2.05;
}
.staff-info a {
  display: block;
  margin-top: 21px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  font-family: 'DM Sans', 'Noto Serif JP', sans-serif;
  font-size: 9px;
  letter-spacing: .12em;
}

.menu {
  padding: var(--section-y) var(--page-x);
  display: grid;
  grid-template-columns: .9fr 1.2fr;
  gap: clamp(50px, 10vw, 170px);
  background: var(--paper);
}
.menu-intro h2 { margin-top: 42px; }
.menu-intro > p:last-child {
  max-width: 410px;
  color: var(--muted);
  font-size: 12px;
  line-height: 2.3;
}
.service {
  padding: 29px 0;
  display: grid;
  grid-template-columns: 110px 1fr 24px;
  gap: 22px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
}
.service:first-child { border-top: 1px solid var(--line); }
.service h3 {
  margin: 0;
  color: var(--accent);
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .16em;
}
.service strong { font-size: 14px; font-weight: 400; }
.service p { margin: 9px 0 0; color: var(--muted); font-size: 11px; line-height: 1.9; }
.service > span { font-family: 'DM Sans', sans-serif; font-size: 17px; }

.reserve-section {
  padding: var(--section-y) var(--page-x);
  text-align: center;
  background: var(--surface);
}
.reserve-section h2 { margin-top: 42px; }
.reserve-section > p:not(.section-no) { color: var(--muted); font-size: 12px; }
.reserve-actions {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.reserve-actions a {
  width: 290px;
  padding: 23px 24px;
  background: var(--ink);
  color: #fff;
  text-align: left;
  font-family: 'DM Sans', 'Noto Serif JP', sans-serif;
  font-size: 10px;
  letter-spacing: .1em;
  transition: background .2s ease;
}
.reserve-actions a:hover { background: var(--accent); }
.reserve-actions span { float: right; }

footer {
  padding: 78px var(--page-x) 34px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 42px;
  background: var(--ink);
  color: #ded9d1;
}
footer p, footer a {
  display: block;
  margin: 0 0 7px;
  font-family: 'DM Sans', 'Noto Serif JP', sans-serif;
  font-size: 9px;
  line-height: 1.9;
  letter-spacing: .08em;
}
footer small {
  grid-column: 1 / -1;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-family: 'DM Sans', sans-serif;
  font-size: 7px;
  letter-spacing: .16em;
}

.hero-cta, .text-link, .staff-info a, .reserve-actions a, .header a, footer a { outline-offset: 4px; }
.hero-cta:focus-visible, .text-link:focus-visible, .staff-info a:focus-visible,
.reserve-actions a:focus-visible, .header a:focus-visible, footer a:focus-visible { outline: 2px solid var(--accent); }

@media (max-width: 960px) {
  .header { height: 86px; }
  .header nav { display: none; }
  .header .reserve { width: 166px; }
  .hero { height: 880px; padding-top: 86px; }
  .hero-image { inset: 86px 0 0; }
  .hero-shade { inset: 86px 0 0; }
  .hero-copy { width: 66%; }
  .statement { grid-template-columns: 1fr; }
  .statement .jp-copy { width: min(100%, 720px); }
  .vertical { display: none; }
  .tokyo-route { flex-wrap: wrap; justify-content: flex-start; }
  .tokyo-copy { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature-photo { min-height: 560px; }
  .people-head { display: block; }
  .people-head > p { margin-top: 32px; }
  .menu { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --page-x: 7vw; --section-y: 88px; }
  .header { height: 82px; padding-left: 6vw; }
  .logo { font-size: 24px; }
  .header .reserve { width: 145px; padding: 0 19px; }
  .header .reserve span { font-size: 13px; }
  .header .reserve small { font-size: 9px; }
  .hero { height: 790px; min-height: 790px; padding-top: 82px; }
  .hero-image { inset: 82px 0 0; background-position: 61% center; }
  .hero-shade {
    inset: 82px 0 0;
    background: linear-gradient(180deg, rgba(248,245,239,.42) 0%, rgba(248,245,239,.74) 49%, rgba(248,245,239,.98) 100%);
  }
  .hero-copy { left: var(--page-x); top: auto; bottom: 58px; width: 86%; transform: none; }
  .eyebrow { margin-bottom: 16px; font-size: 7px; }
  .craft-line { margin-bottom: 17px; font-size: 11px; }
  .hero h1 { margin-bottom: 21px; font-size: 56px; }
  .hero h2 { margin-bottom: 18px; font-size: 17px; }
  .lead { font-size: 11px; line-height: 2; }
  .hero-cta { width: 100%; margin-top: 25px; }
  .hero-side-note, .scroll { display: none; }
  .statement h2, .tokyo-story h2, .feature h2, .people h2, .menu h2, .reserve-section h2 { font-size: 37px; }
  .statement .jp-copy { font-size: 12px; line-height: 2.35; }
  .tokyo-story { padding-top: 80px; }
  .tokyo-route {
    margin-top: 34px;
    padding-bottom: 34px;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    font-size: 31px;
  }
  .tokyo-route i { transform: rotate(90deg); transform-origin: center; }
  .tokyo-copy { margin-top: 44px; gap: 26px; }
  .tokyo-copy p { font-size: 12px; line-height: 2.3; }
  .feature-photo { min-height: 430px; }
  .feature-copy { padding: var(--section-y) var(--page-x); }
  .feature-copy h2, .people-head h2, .menu-intro h2, .reserve-section h2 { margin-top: 34px; }
  .feature-copy > p:not(.section-no) { font-size: 12px; }
  .qualities { margin-top: 40px; }
  .qualities span { font-size: 19px; }
  .qualities b { font-size: 8px; }
  .staff-grid { grid-template-columns: 1fr; margin-top: 44px; }
  .main-staff { grid-template-columns: 1fr; }
  .main-staff .staff-photo { height: 245px; min-height: 245px; border-right: 0; border-bottom: 1px solid var(--line); }
  .staff-photo { height: 245px; }
  .staff-info { min-height: 0; }
  .service { grid-template-columns: 76px 1fr 18px; gap: 12px; }
  .service strong { font-size: 12px; }
  .service p { font-size: 10px; }
  .reserve-actions { flex-direction: column; }
  .reserve-actions a { width: 100%; }
  footer { grid-template-columns: 1fr; padding-top: 62px; }
  footer small { grid-column: 1; }
}

@media (max-width: 782px) {
  body.admin-bar .header { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .header nav a, .hero-cta, .reserve-actions a { transition: none; }
}

/* FIKA PEARL IVORY APPROVED OVERRIDE */
/* A | Pearl Ivory. Load after the existing theme and Additional CSS. */
:root {
  --paper: #FAF9F6;
  --ink: #55514B;
  --muted: #706B64;
  --accent: #A79886;
  --surface: #F2EFE9;
  --line: #D7D0C6;
}
body { color: var(--muted); font-weight: 400; }
h1, h2, h3, .service strong { color: var(--ink); }
h1, h2, .staff-info h3 { font-family: 'Noto Serif JP', serif; font-weight: 300; }
/* Preserve the existing logo font, weight, spacing and size. */
.logo, .footer-logo { color: var(--ink); font-weight: 300; }
.header nav a { opacity: 1; color: var(--muted); }
.header nav a:hover { color: var(--ink); }
.section-no, .concept-en, .staff-info > p:first-child, .service h3 { color: var(--muted); }
.header .reserve, .hero-cta { background: var(--accent); color: #39352F; font-weight: 500; min-height: 48px; }
.header .reserve:hover, .hero-cta:hover { background: var(--ink); color: var(--paper); }
.reserve-actions a { background: var(--ink); color: var(--paper); font-size: 14px; min-height: 48px; }
.reserve-actions a:hover { background: var(--muted); }
.lead { color: var(--muted); }
.statement .jp-copy, .tokyo-copy p, .feature-copy > p:not(.section-no), .people-head > p,
.staff-info > p:not(:first-child), .menu-intro > p:last-child, .service p,
.reserve-section > p:not(.section-no) { font-size: 15px; line-height: 2; }
.staff-info a, .text-link { font-size: 13px; min-height: 44px; }
.staff-photo { background: #E8E2D9; }
.staff-photo span { color: #A79886; }
footer { background: var(--surface); color: var(--muted); }
footer p, footer a { font-size: 13px; }
footer small { color: var(--muted); border-color: var(--line); font-size: 10px; }
/* Original photos stay intact; a soft translucent shade restores the previous hero treatment. */
html #top .hero-image, .feature-photo { filter: none; opacity: 1; }
/* Match the supplied original screenshot's hero shade, independently of the page palette. */
html #top .hero-shade { background: linear-gradient(90deg, rgba(250,249,246,.58) 0%, rgba(250,249,246,.38) 28%, rgba(250,249,246,.08) 52%, rgba(250,249,246,0) 72%); }
.hero-copy { background: transparent; box-shadow: none; }
/* Stronger hero typography; the remaining sections retain the pearl palette. */
#top .hero-copy, #top h1, #top h2 { color: #302D28; }
#top .lead { color: #46413B; font-weight: 400; }
#top .craft-line, #top .eyebrow { color: #39352F; font-weight: 400; }
@media(max-width:700px) {
  html #top .hero-shade { background: linear-gradient(90deg, rgba(250,249,246,.78) 0%, rgba(250,249,246,.56) 40%, rgba(250,249,246,.10) 100%); }
}
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
@media(max-width:640px) {
  .lead { font-size: 13px; line-height: 2; }
  .hero-cta { font-size: 13px; }
  .service { grid-template-columns: 68px minmax(0,1fr) 16px; gap: 10px; }
  .service strong { font-size: 14px; }
  .service p { font-size: 14px; }
}

/* FIKA HERO APPROVED 20261108 */
/* Common photo treatment. Only the crop position changes with the viewport. */
html #top.hero {
  --fika-c-contrast: 1.04;
  --fika-c-brightness: 1.01;
  --fika-c-shade-start: .72;
  --fika-c-shade-middle: .52;
  --fika-c-shade-edge: .06;
  --fika-c-photo-x: 58%;
}

html #top.hero .hero-image {
  background-position: var(--fika-c-photo-x) 52%;
  filter: contrast(var(--fika-c-contrast)) brightness(var(--fika-c-brightness));
}

html #top.hero .hero-shade {
  background: linear-gradient(90deg,
    rgba(250, 249, 246, var(--fika-c-shade-start)) 0%,
    rgba(250, 249, 246, var(--fika-c-shade-middle)) 35%,
    rgba(250, 249, 246, var(--fika-c-shade-edge)) 56%,
    rgba(250, 249, 246, 0) 76%);
}

@media (max-width: 960px) {
  html #top.hero { --fika-c-photo-x: 61%; }
}

@media (max-width: 640px) {
  html #top.hero { --fika-c-photo-x: 65%; }
}

/* FIKA ACCESS APPROVED 20261119 */
#access .fika-store-details {
  min-width: 0;
}

#access .fika-access-title {
  margin: 22px 0 12px;
  color: inherit;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .08em;
}

#access .fika-access-figure {
  margin: 0;
}

#access .fika-access-map {
  display: block;
  margin: 0;
  cursor: zoom-in;
}

#access .fika-access-map img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 0;
  box-shadow: none;
}

#access .fika-access-caption {
  margin-top: 10px;
  font-family: 'DM Sans', 'Noto Serif JP', sans-serif;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: .08em;
  overflow-wrap: anywhere;
}

#access .fika-access-figure + a {
  margin-top: 14px;
}
