/*
Theme Name: Hair Design Ayumi
Theme URI: https://hairdesign-ayumi.jp
Author: Hair Design Ayumi
Author URI: https://hairdesign-ayumi.jp
Description: 諫早市小長井町の美容室 Hair Design Ayumi 用オリジナルテーマ。ayumi-website.html をベースにしたおだやかでエレガントなワンページデザインです。
Version: 1.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hairdesign-ayumi
Tags: one-column, custom-menu, custom-logo, featured-images, sticky-post, theme-options, translation-ready, custom-colors, full-width-template

Hair Design Ayumi - 美容室向けオリジナルWordPressテーマ
*/

:root {
  --olive: #6D7252;
  --olive-light: #8a8f6d;
  --brown: #9E7E63;
  --brown-light: #b8987d;
  --cream: #E5E4E2;
  --cream-dark: #d5d4d2;
  --gray: #B4B4B4;
  --white: #FAFAFA;
  --text-dark: #3a3a3a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.8;
  letter-spacing: 0.05em;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--olive); border-radius: 4px; }

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 2rem;
  transition: all 0.4s ease;
  background: transparent;
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav.scrolled {
  background: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.05);
  padding: 1rem 2rem;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--olive);
  text-decoration: none;
  letter-spacing: 0.1em;
}

.nav-logo-img {
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links-close { display: none; }

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--olive);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--olive); }
.nav-links a:hover::after { width: 100%; }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 1.5px;
  background: var(--olive);
  transition: all 0.3s ease;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: url('https://images.unsplash.com/photo-1560066984-138dadb4c035?auto=format&fit=crop&w=1920&q=80') center center / cover no-repeat;
  /* カスタマイザーで上書き可能な CSS 変数 */
  --hero-overlay-opacity: 0.82;
  --hero-content-opacity: 0.70;
  --hero-content-blur: 8px;
}

/* アニメーション：浮遊するラジアルグラデーション */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 20% 30%, rgba(109, 114, 82, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(158, 126, 99, 0.12) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
  z-index: 1;
}

/* オーバーレイ：カスタマイザーで濃さを調整 */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(229, 228, 226, var(--hero-overlay-opacity)) 0%,
    rgba(250, 250, 249, var(--hero-overlay-opacity)) 50%,
    rgba(229, 228, 226, var(--hero-overlay-opacity)) 100%
  );
  z-index: 0;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-2%, 2%) rotate(1deg); }
}

.hero-content {
  text-align: center;
  z-index: 2;
  padding: 3rem 4rem;
  background: rgba(250, 250, 250, var(--hero-content-opacity));
  backdrop-filter: blur(var(--hero-content-blur));
  -webkit-backdrop-filter: blur(var(--hero-content-blur));
  border-radius: 4px;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  color: var(--brown);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-logo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 400;
  font-style: italic;
  color: var(--olive);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-logo-img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 160px;
  object-fit: contain;
  margin: 0 auto;
}

.hero-tagline {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 300;
  letter-spacing: 0.2em;
  opacity: 0;
  animation: fadeInUp 1s ease 0.7s forwards;
}

.hero-location {
  font-size: 0.85rem;
  color: var(--brown);
  font-weight: 400;
  letter-spacing: 0.15em;
  margin-top: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.9s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 0;
  right: 0;
  width: fit-content;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  opacity: 0;
  animation: fadeInUp 1s ease 1s forwards;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--olive), transparent);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

section { padding: 8rem 2rem; }

.section-header { text-align: center; margin-bottom: 5rem; }

.section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--brown);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--olive);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 1px;
  background: var(--brown);
}

.about { background: var(--white); }

.about-content { max-width: 800px; margin: 0 auto; text-align: center; }

.about-text { font-size: 1rem; line-height: 2.5; color: var(--text-dark); }

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 5rem;
}

.feature { text-align: center; padding: 2rem; }

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--olive);
  border-radius: 50%;
  color: var(--olive);
}

.feature-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--olive);
  margin-bottom: 1rem;
}

.feature-text { font-size: 0.85rem; color: var(--gray); line-height: 1.8; }

.works { background: var(--white); }

.works-container { max-width: 1200px; margin: 0 auto; }

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.works-item {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background: var(--cream);
}

.works-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
}

.works-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(109, 114, 82, 0);
  transition: background 0.3s ease;
}

.works-item:hover img { transform: scale(1.1); }
.works-item:hover::after { background: rgba(109, 114, 82, 0.2); }

.works-instagram-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 3rem;
  text-decoration: none;
  color: var(--olive);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.works-instagram-link:hover { color: var(--brown); }
.works-instagram-link svg { width: 24px; height: 24px; }
.works-note { text-align: center; margin-top: 1rem; font-size: 0.8rem; color: var(--gray); }

.works-instagram-embed {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 400px;
}
.works-instagram-embed iframe {
  width: 100% !important;
  min-height: 400px;
  display: block;
}

.works-instagram-shortcode {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.menu { background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%); }
.menu-container { max-width: 1000px; margin: 0 auto; }

.menu-category {
  margin-bottom: 1rem;
  border: 1px solid var(--cream-dark);
  border-radius: 4px;
  overflow: hidden;
  background: var(--white);
}

.menu-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--white);
}

.menu-category-header:hover { background: var(--cream); }
.menu-category.active .menu-category-header {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
}

.menu-category-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--olive);
  margin: 0;
  padding: 0;
  border: none;
}

.menu-category-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.menu-category-icon::before,
.menu-category-icon::after {
  content: '';
  position: absolute;
  background: var(--olive);
  transition: transform 0.3s ease;
}

.menu-category-icon::before {
  width: 14px;
  height: 1.5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.menu-category-icon::after {
  width: 1.5px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.menu-category.active .menu-category-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.menu-category-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.menu-category.active .menu-category-content { max-height: 600px; }

.menu-items { display: grid; gap: 0; padding: 1.5rem 2rem; }

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px dotted var(--cream-dark);
}

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

.menu-item-name { font-size: 0.95rem; color: var(--text-dark); }
.menu-item-note { font-size: 0.75rem; color: var(--gray); margin-left: 0.5rem; }
.menu-item-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--brown);
  letter-spacing: 0.05em;
  white-space: nowrap;
  margin-left: 1rem;
}

.menu-note {
  font-size: 0.8rem;
  color: var(--gray);
  margin: 0;
  padding: 0 2rem 1.5rem 2rem;
  border-left: none;
}

.menu-note::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: var(--cream-dark);
  margin-bottom: 1rem;
}

.offers { background: var(--white); }

.offers-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.offer-card {
  background: var(--cream);
  padding: 2.5rem 2rem;
  text-align: center;
  border-radius: 2px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.offer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--olive), var(--brown));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.offer-card:hover::before { transform: scaleX(1); }

.offer-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--olive);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.offer-badge {
  display: inline-block;
  background: var(--olive);
  color: var(--white);
  padding: 0.3rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.offer-text { font-size: 0.85rem; color: var(--text-dark); line-height: 1.8; }

.access { background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%); }

.access-content {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.access-info { padding: 2rem; }
.access-item { margin-bottom: 2rem; }

.access-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  color: var(--brown);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.access-value { font-size: 0.95rem; color: var(--text-dark); line-height: 1.8; }
.access-value a { color: var(--olive); text-decoration: none; transition: color 0.3s ease; }
.access-value a:hover { color: var(--brown); }

.access-map {
  aspect-ratio: 1;
  background: var(--cream);
  border-radius: 2px;
  overflow: hidden;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(30%);
  transition: filter 0.3s ease;
}

.access-map:hover iframe { filter: grayscale(0%); }

.contact {
  background: var(--olive);
  color: var(--cream);
  text-align: center;
}

.contact .section-label { color: var(--cream); opacity: 0.7; }
.contact .section-title { color: var(--cream); }
.contact .section-title::after { background: var(--cream); opacity: 0.5; }

/* ── Contact Section リデザイン ── */
.contact-methods {
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: center;
}

/* 電話ブロック */
.contact-method-phone-block {
  margin-bottom: 3rem;
}

.contact-method-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.65;
  margin-bottom: 0.8rem;
}

.contact-method-phone {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.contact-method-phone a {
  color: var(--cream);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.contact-method-phone a:hover { opacity: 0.75; }

.contact-method-note {
  font-size: 0.85rem;
  opacity: 0.6;
  letter-spacing: 0.1em;
}

/* 区切り線 */
.contact-divider {
  width: 1px;
  height: 40px;
  background: rgba(229, 228, 226, 0.35);
  margin: 0 auto 3rem;
}

/* 予約ボタン群 */
.contact-reserve-btns {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
}

.contact-reserve-btn {
  display: flex;
  align-items: stretch; /* 子要素を同じ高さに揃える */
  width: 100%;
  max-width: 440px;
  height: 64px;
  padding: 0;
  text-decoration: none;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.contact-reserve-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

/* ロゴ側 */
.contact-reserve-btn-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 1.2rem;
  height: auto; /* 親の height: 64px に stretch で合わせる */
  background: #fff;
}

.contact-reserve-btn-logo img {
  height: 30px;
  width: auto;
  max-width: 120px;
  display: block;
  object-fit: contain;
}

.contact-reserve-btn-logo svg {
  height: 36px;
  width: 36px;
  display: block;
}

/* テキスト側 */
.contact-reserve-btn-text {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto; /* 親の height: 64px に stretch で合わせる */
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #fff;
  padding: 0 1.5rem;
}

.contact-reserve-btn-text svg {
  margin-left: 0.5rem;
  opacity: 0.8;
  flex-shrink: 0;
}

/* ホットペッパー */
.contact-reserve-btn-hotpepper .contact-reserve-btn-text {
  background: #B30E3B;
}

/* LINE */
.contact-reserve-btn-logo-line {
  background: #06C755;
  padding: 0 1rem;
}

.contact-reserve-btn-logo-line img {
  height: 40px;
  width: 40px;
  display: block;
  object-fit: contain;
  /* ガイドライン準拠: 変形・加工なしでそのまま使用 */
}

.contact-reserve-btn-line .contact-reserve-btn-text {
  background: #05b04c;
}

.contact-sns { display: flex; justify-content: center; gap: 2rem; margin-top: 2rem; }

.sns-link {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(229, 228, 226, 0.3);
  border-radius: 50%;
  color: var(--cream);
  text-decoration: none;
  transition: all 0.3s ease;
}

.sns-link:hover { background: var(--cream); color: var(--olive); }

footer {
  background: #3a3a3a;
  color: var(--cream);
  text-align: center;
  padding: 3rem 2rem;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 0.5rem;
  color: var(--cream);
}

.footer-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}

.footer-address { font-size: 0.8rem; opacity: 0.7; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-text { font-size: 0.75rem; opacity: 0.6; letter-spacing: 0.1em; }

.float-reserve {
  display: none;
}

.stylist { background: var(--white); position: relative; }

.stylist::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--olive));
}

.stylist-content {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 4rem;
  align-items: center;
}

/* ── 写真フレーム ── */
.stylist-image {
  position: relative;
  width: 260px;
  flex-shrink: 0;
}

/* 背景の装飾線（右下にオフセット） */
.stylist-image::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 14px;
  right: -14px;
  bottom: -14px;
  border: 1px solid var(--olive);
  opacity: 0.25;
  z-index: 0;
}

/* 左上に添えるアクセントドット */
.stylist-image::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 20px;
  height: 20px;
  border-top: 2px solid var(--brown);
  border-left: 2px solid var(--brown);
  opacity: 0.6;
  z-index: 2;
}

.stylist-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
  position: relative;
  z-index: 1;
  filter: grayscale(15%);
  transition: filter 0.5s ease;
}

.stylist-image:hover img { filter: grayscale(0%); }

.stylist-info {
  padding: 0.5rem 0;
  max-width: 460px; /* テキスト幅を抑えて読みやすく */
}

.stylist-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  color: var(--brown);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.stylist-name {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--olive);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.stylist-name-jp {
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 1.8rem;
  letter-spacing: 0.2em;
  opacity: 0.7;
}
.stylist-message {
  font-size: 0.88rem;
  line-height: 2.0;
  color: var(--text-dark);
  margin-bottom: 1.8rem;
  opacity: 0.85;
}

.stylist-detail {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cream-dark);
}

.stylist-detail-item { display: flex; align-items: flex-start; gap: 1rem; font-size: 0.85rem; }
.stylist-detail-label { color: var(--brown); min-width: 60px; flex-shrink: 0; }
.stylist-detail-value { color: var(--text-dark); }

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .nav { padding: 1rem 1.5rem; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    background: #FAFAFA !important;
    background-color: #FAFAFA !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    z-index: 999;
    overflow-y: auto;
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-links.is-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    background: #FAFAFA;
    z-index: -1;
  }
  body.menu-open .nav {
    background: #FAFAFA !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    z-index: 10000;
  }
  body.menu-open .mobile-menu-btn {
    display: none !important;
  }
  .nav-links-close {
    display: list-item;
    list-style: none;
    margin-top: 2rem;
    margin-bottom: 0;
  }
  .nav-close-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    font-family: inherit;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    color: var(--olive);
    background: transparent;
    border: 1px solid var(--olive);
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
  }
  .nav-close-btn:hover {
    background: var(--olive);
    color: var(--white);
  }
  .mobile-menu-btn { display: flex; }
  .mobile-menu-btn.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .mobile-menu-btn.is-open span:nth-child(2) { opacity: 0; }
  .mobile-menu-btn.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .about-features { grid-template-columns: 1fr; gap: 2rem; }
  .stylist-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .stylist-image { width: 200px; max-width: 200px; margin: 0 auto; }
  .stylist-image::before { top: 10px; left: 10px; right: -10px; bottom: -10px; }
  .stylist-image::after { top: -6px; left: -6px; width: 16px; height: 16px; }
  .stylist-info { max-width: 100%; }
  .stylist-info { text-align: center; }
  .stylist-detail { align-items: center; }
  .stylist-detail-item { flex-direction: column; gap: 0.3rem; text-align: center; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .offers-grid { grid-template-columns: 1fr; }
  .access-content { grid-template-columns: 1fr; }
  .access-map { aspect-ratio: 16/9; }
  section { padding: 5rem 1.5rem; }
  .hero-content { padding: 2rem 1.5rem; margin: 0 1rem; }
}

@media (max-width: 600px) {
  .menu-item { flex-direction: column; gap: 0.3rem; align-items: flex-start; }
  .menu-item-price { margin-left: 0; }
  .contact-reserve-btn { max-width: 100%; height: 56px; }
  .contact-reserve-btn-text { font-size: 0.88rem; padding: 0 1rem; }
  .contact-reserve-btn-logo { padding: 0 0.9rem; }
  /* HPB ロゴ（GIF）: 縦横比を保って高さ指定 */
  .contact-reserve-btn-logo img { height: 24px; width: auto; max-width: 100px; object-fit: contain; }
  /* LINE アイコン: 正方形を維持 */
  .contact-reserve-btn-logo-line img { height: 32px; width: 32px; object-fit: contain; }
  .contact-reserve-btn-logo svg { height: 30px; width: 30px; }
}

/* ════════════════════════════════════════
   スマホ固定フロートバー
   ════════════════════════════════════════ */
.mobile-float-bar {
  display: none; /* PC では非表示 */
}

@media (max-width: 900px) {
  .mobile-float-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    height: 64px;
    background: #fff;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.12);
    /* iOS GPU レイヤー昇格（will-change は使わない） */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    align-items: stretch;
  }

  .mobile-float-btn {
    flex: 1;
    display: flex;
    flex-direction: column-reverse; /* ラベル上・アイコン下 */
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    transition: opacity 0.2s ease;
    padding: 6px 4px;
    /* タップ領域を確保 */
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-float-btn:active { opacity: 0.75; }

  /* 区切り線 */
  .mobile-float-btn + .mobile-float-btn {
    border-left: 1px solid rgba(0, 0, 0, 0.08);
  }

  /* お電話 */
  .mobile-float-btn-tel {
    background: var(--olive);
    color: #fff;
  }

  .mobile-float-btn-tel .mobile-float-icon svg {
    width: 30px;
    height: 30px;
  }

  /* ホットペッパービューティ */
  .mobile-float-btn-hpb {
    background: #fff;
    color: #B30E3B;
  }

  .mobile-float-btn-hpb .mobile-float-icon img {
    width: auto;
    height: 28px;
    display: block;
  }

  .mobile-float-btn-hpb .mobile-float-label {
    color: #B30E3B;
  }

  /* LINE */
  .mobile-float-btn-line {
    background: #06C755;
    color: #fff;
  }

  .mobile-float-btn-line .mobile-float-icon img {
    width: 36px;
    height: 36px;
    display: block;
  }

  .mobile-float-icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-float-label {
    font-size: 0.62rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    line-height: 1;
  }

  /* フロートバーの高さ分、フッターに余白を追加 */
  footer {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (min-width: 901px) {
  .float-reserve {
    display: block;
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    width: 250px;
    height: 250px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
  }
  .float-reserve:hover {
    transform: scale(1.05);
    opacity: 0.95;
    filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.25)) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
  }
  .float-reserve img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
}
