﻿/* ===== VARIABLES ===== */
:root { --ink: #1e1e1e; }

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  font-size: 16px; line-height: 1.8;
  color: var(--ink); background: #fff; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
section { padding-bottom: 120px; }
@media (max-width: 834px) { section { padding-bottom: 70px; } }

/* ===== UTIL ===== */
.max-width-1380 { max-width: 1380px; width: 90%; margin: auto; }
.max-width-1000 { max-width: 1000px; width: 90%; margin: auto; }

/* ===== H2 ===== */
h2 {
  display: flex; flex-direction: column;
  font-family: 'Archivo', sans-serif;
  font-weight: 800; font-size: 100px; line-height: 0.95; margin-bottom: 60px;
}
h2 .sub-title {
  font-family: 'Archivo', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 5px; text-transform: uppercase; color: #999; margin-bottom: 10px;
}
@media (max-width: 1180px) { h2 { font-size: 84px; } }
@media (max-width: 1024px) { h2 { font-size: 72px; } }
@media (max-width: 834px)  { h2 { margin-bottom: 40px; } }
@media (max-width: 767px)  { h2 { font-size: 56px; } }
@media (max-width: 480px)  { h2 { font-size: 38px; margin-bottom: 32px; } h2 .sub-title { font-size: 10px; } }

/* ===== CTA BUTTON ===== */
.btn-cta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 36px; border: 1.5px solid var(--ink);
  font-family: 'Archivo', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase; color: var(--ink);
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  width: fit-content;
}
.btn-cta::after { content: '→'; font-size: 14px; transition: transform 0.3s ease; }
.btn-cta:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-cta:hover::after { transform: translateX(5px); }
.btn-cta.wh { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-cta.wh:hover { background: #fff; border-color: #fff; color: var(--ink); }
@media (max-width: 480px) { .btn-cta { padding: 13px 24px; font-size: 10px; } }

/* ===== HEADER ===== */
.header {
  width: 100%; position: fixed; top: 0; left: 0; right: 0;
  z-index: 999; background: #fff;
  border-bottom: 1px solid transparent; transition: border-color 0.4s;
}
.header.scrolled { border-bottom-color: #e8e8e8; }
.header__inner { padding: 12px 5%; display: flex; align-items: center; justify-content: space-between; }
@media (max-width: 1280px) { .header__inner { padding: 12px 3%; } }
.logo { display: flex; align-items: center; }
.logo__img {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0);
  transition: filter 0.3s ease;
}
.logo:hover .logo__img { filter: brightness(0) opacity(0.6); }
.pc-nav { display: none; }
@media (min-width: 1100px) { .pc-nav { display: block; } }
.pc-nav__list { display: flex; align-items: center; list-style: none; gap: 1.4vw; }
.pc-nav__list li a { display: flex; flex-direction: column; align-items: center; font-family: 'Archivo', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--ink); line-height: 1.4; transition: color 0.2s; }
.pc-nav__list li a:hover { color: #999; }
.pc-nav__list li a .sub-title { font-family: 'Noto Sans JP', sans-serif; font-size: 10px; font-weight: 400; color: #bbb; letter-spacing: 0; }
.pc-nav__list li a.nav-sns { font-size: 30px; color: var(--ink); padding: 4px; transition: color 0.2s, transform 0.2s; }
.pc-nav__list li a.nav-sns:hover { color: #777; transform: scale(1.12); }
.nav-divider { width: 1px; height: 24px; background: #e0e0e0; margin: 0 4px; align-self: center; }
.pc-nav__list li a.nav-contact { color: var(--ink); padding: 8px 22px; font-weight: 700; letter-spacing: 2px; border: 1.5px solid var(--ink); transition: background 0.3s, color 0.3s; }
.pc-nav__list li a.nav-contact .sub-title { color: #bbb; transition: color 0.3s; }
.pc-nav__list li a.nav-contact:hover { background: var(--ink); color: #fff; }
.pc-nav__list li a.nav-contact:hover .sub-title { color: rgba(255,255,255,0.45); }
.pc-nav__list li a.nav-salon { color: #fff; padding: 8px 28px; font-weight: 700; letter-spacing: 2px; background-image: linear-gradient(to right, #fff 50%, var(--ink) 50%); background-size: 200% 100%; background-position: 100% 0; transition: background-position 0.4s ease, color 0.4s ease; }
.pc-nav__list li a.nav-salon .sub-title { color: rgba(255,255,255,0.5); transition: color 0.4s ease; }
.pc-nav__list li a.nav-salon:hover .sub-title { color: rgba(0,0,0,0.4); }
.pc-nav__list li a.nav-salon:hover { background-position: 0 0; color: var(--ink); }
.sp-head { display: flex; align-items: center; gap: 8px; }
@media (min-width: 1100px) { .sp-head { display: none; } }
@media (max-width: 1099px) {
  .logo__img { height: 22px; }
  .btn-contact { padding: 6px 9px; font-size: 9px; }
  .btn-reserve { padding: 7px 9px; font-size: 9px; }
}
.btn-contact { font-family: 'Archivo', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; border: 1.5px solid var(--ink); color: var(--ink); padding: 8px 12px; transition: background 0.3s, color 0.3s; }
.btn-contact:hover { background: var(--ink); color: #fff; }
.btn-reserve { font-family: 'Archivo', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; background: var(--ink); color: #fff; padding: 9px 12px; transition: background 0.3s; }
.btn-reserve:hover { background: #444; }
.ham { display: flex; flex-direction: column; gap: 6px; cursor: pointer; padding: 4px; }
.ham span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: all 0.3s; }
.nav-back { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998; }
.nav-back.open { display: block; }
.sp-nav { background: var(--ink); width: 300px; height: 100%; margin-left: auto; padding: 80px 32px 32px; overflow-y: auto; }
.sp-nav__list { list-style: none; }
.sp-nav__list a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-family: 'Archivo', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 2px; color: #fff; }
.sp-nav__list span { font-size: 10px; color: #666; font-family: 'Noto Sans JP', sans-serif; }
.sp-nav__reserve { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; }
.sp-nav__reserve a { display: block; font-family: 'Archivo', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 3px; padding: 16px; text-align: center; text-transform: uppercase; }
.sp-nav__reserve a:first-child { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.sp-nav__reserve a:last-child { background: #fff; color: var(--ink); }

/* ===== FOOTER ===== */
.footer__cta { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #ebebeb; }
@media (max-width: 767px) { .footer__cta { grid-template-columns: 1fr; } }
.footer__sns, .footer__reserve { padding: 80px 10%; }
.footer__sns { border-right: 1px solid #ebebeb; }
.footer__reserve { background: linear-gradient(rgba(17,17,17,0.90), rgba(17,17,17,0.90)), url('/wp-content/themes/familia/assets/img/salon-main.webp') center/cover no-repeat; background-color: var(--ink); }
@media (max-width: 767px) { .footer__sns { border-right: none; border-bottom: 1px solid #ebebeb; padding: 50px 6%; } .footer__reserve { padding: 50px 6%; } }
.footer__sns h2, .footer__reserve h2 { font-size: 52px; margin-bottom: 16px; }
.footer__reserve h2 { color: #fff; }
.footer__reserve h2 .sub-title { color: rgba(255,255,255,0.3); }
@media (max-width: 480px) { .footer__sns h2, .footer__reserve h2 { font-size: 36px; } }
.footer__sns > p { font-size: 14px; color: #888; margin-bottom: 32px; }
.footer__reserve > p { font-size: 14px; color: #555; margin-bottom: 8px; }
.footer__reserve .access-detail { font-size: 13px; color: #555; line-height: 2; margin-bottom: 32px; }
.sns-btns { display: flex; gap: 10px; align-items: center; }
.sns-btns a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #ddd; font-size: 11px; font-weight: 700; color: #888; transition: all 0.25s; }
.sns-btns a:hover { border-color: #fff; color: #fff; }
.sns-btns a i { font-size: 18px; }
.footer__main { background: var(--ink); padding: 70px 5% 32px; }
.footer__main__top { display: grid; grid-template-columns: 220px 1fr; gap: 60px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 32px; }
@media (max-width: 834px) { .footer__main__top { grid-template-columns: 1fr; gap: 36px; } }
.footer__logo { font-family: 'Archivo', sans-serif; font-size: 1.4rem; font-weight: 800; letter-spacing: 4px; color: #fff; text-transform: uppercase; }
.footer__tagline { font-size: 12px; color: #444; margin-top: 14px; line-height: 2; }
.footer__menu-main { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; }
@media (max-width: 767px) { .footer__menu-main { grid-template-columns: repeat(2, 1fr); } }
.footer__menu-main a { display: flex; flex-direction: column; font-family: 'Archivo', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.4); padding: 8px 0; gap: 4px; transition: color 0.2s; }
.footer__menu-main a:hover { color: #fff; }
.footer__menu-main span { font-family: 'Noto Sans JP', sans-serif; font-size: 10px; font-weight: 400; color: #333; letter-spacing: 0; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer__copy { font-family: 'Archivo', sans-serif; font-size: 11px; color: #333; letter-spacing: 2px; }
.footer__sub { display: flex; gap: 24px; list-style: none; }
.footer__sub a { font-size: 11px; color: #333; transition: color 0.2s; }
.footer__sub a:hover { color: #888; }

/* ===== SCROLL ANIMATIONS ===== */
[data-anim] { opacity: 0; }
[data-anim="up"]    { transform: translateY(56px); }
[data-anim="left"]  { transform: translateX(-72px); }
[data-anim="right"] { transform: translateX(72px); }
[data-anim="scale"] { transform: scale(0.92); }
[data-anim="fade"]  { transform: none; }
[data-anim].in { opacity: 1; transform: none; transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }

/* js-reveal */
.js-reveal { overflow: hidden; }
.js-reveal img { transform: scale(1.1); opacity: 0; transition: transform 1.4s cubic-bezier(0.16,1,0.3,1), opacity 0.7s ease; }
.js-reveal.is-active img { transform: scale(1); opacity: 1; }

/* PAGE HERO (サブページ共通) */
.page-hero { padding-top: 120px; padding-bottom: 80px; border-bottom: 1px solid #ebebeb; }
.page-hero__inner { max-width: 1380px; width: 90%; margin: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.page-hero h1 { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 100px; line-height: 0.9; display: flex; flex-direction: column; }
.page-hero h1 .sub-title { font-size: 11px; font-weight: 600; letter-spacing: 5px; color: #999; margin-bottom: 10px; display: block; font-style: normal; }
@media (max-width: 767px) { .page-hero h1 { font-size: 56px; } .page-hero { padding-bottom: 50px; } }
@media (max-width: 480px) { .page-hero h1 { font-size: 38px; } .page-hero { padding-top: 100px; } }
