/*
Theme Name: hair Yamabe Koumuten (山辺工務店・デモ) make Nagi (凪・デモ)
Author: 株式会社西村商店（HP制作事業）
Description: hp-production-kit でビルドしたhair & make 凪サイト。Generated by build.py.
Version: 1.0
*/
/* === BASE CORE ============================================== */
/* ===== Modern CSS Reset ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

/* WordPressコアの管理バー対応 */
body.admin-bar { padding-top: 0; }
@media (min-width: 783px) {
    body.admin-bar #site-header { top: 32px; }
}

/* ===== Utility containers ========================================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Visually-hidden（アクセシビリティ） ============================ */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== お問い合わせフォーム（汎用、業種側でも上書き可） ============== */
.contact-form-wrap { padding: 24px; background: #fafafa; border-radius: 8px; }
.contact-form-wrap h3 { margin-bottom: 24px; font-size: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; }
.form-group .required { color: #c0392b; font-size: 12px; margin-left: 8px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-submit { text-align: center; margin-top: 24px; }
.btn-submit {
    padding: 14px 48px;
    background: var(--primary, #1e40af);
    color: #fff;
    border-radius: 6px;
    font-weight: 700;
}

/* ===== モバイル下部バー（汎用骨格、配色は業種側で） ================= */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
}
.mobile-bottom-bar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 4px;
    font-size: 11px;
    color: #333;
}
.mobile-bottom-bar .mbb-icon { font-size: 22px; line-height: 1; margin-bottom: 4px; }

@media (max-width: 768px) {
    .mobile-bottom-bar { display: flex; }
    body { padding-bottom: 64px; }
}

/* ===== お知らせ・ステータスメッセージ（汎用） ========================= */
.notice {
    padding: 16px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}
.notice.success { background: #d4edda; color: #155724; }
.notice.error   { background: #f8d7da; color: #721c24; }
.notice.warning { background: #fff3cd; color: #856404; }

/* ===== Breadcrumb（パンくず）================================= */
.breadcrumb {
    font-size: 13px;
    color: #6b7280;
    margin-top: 8px;
}
.breadcrumb a { color: inherit; border-bottom: 1px dashed transparent; }
.breadcrumb a:hover { border-bottom-color: currentColor; }
.breadcrumb span { margin: 0 6px; }


/* === INDUSTRY: beauty-salon ==================================== */
/* ==========================================================================
   INDUSTRY: beauty-salon（美容室・理容店）
   オフ白×温黒(#2E2A28)×くすみベージュ1アクセント／上品な細身サンセリフ／
   余白広め・幅制約・角丸ゼロ。既存A(赤/極太)・B(生成り/明朝)・工務店(鉄黒/深緑/骨太)・親会社(紺)と別人格。
   ========================================================================== */

:root {
    --bs-ink:   var(--primary, #2E2A28);   /* 温黒（純黒を避ける） */
    --bs-nude:  var(--secondary, #B59A82); /* くすみベージュ（唯一のアクセント） */
    --bs-gray:  var(--accent, #8a857b);
    --bs-paper: var(--bg, #FAF8F4);        /* オフホワイト */
    --bs-line:  #e7e1d8;
}

body {
    font-family: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif;
    font-weight: 400;
    color: var(--bs-ink);
    background: var(--bs-paper);
    line-height: 2;
    letter-spacing: 0.02em;
}
h1, h2, h3 { font-family: 'Zen Kaku Gothic Antique', 'Noto Sans JP', sans-serif; font-weight: 500; line-height: 1.5; }
.bs-inner { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.bs-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* 共通ラベル（英字＝Jost・字間広め） */
.bs-eyebrow { font-family: 'Jost', sans-serif; font-size: 12px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--bs-nude); display: block; margin-bottom: 16px; }
.bs-eyebrow--light { color: #d8c4b0; }
.bs-section-head { font-size: clamp(22px, 3vw, 32px); color: var(--bs-ink); margin-bottom: 40px; font-weight: 500; letter-spacing: 0.04em; }

/* ─── ヘッダー ─────────────────────────────────────────────── */
.bs-header { background: rgba(250,248,244,0.92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--bs-line); position: sticky; top: 0; z-index: 100; }
.bs-header-inner { max-width: 1120px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; gap: 24px; }
.bs-logo img { height: 44px; width: auto; }
.bs-logo-text { font-family: 'Jost', 'Zen Kaku Gothic Antique', sans-serif; font-size: 22px; font-weight: 500; letter-spacing: 0.12em; color: var(--bs-ink); }
.bs-nav { margin-left: auto; }
.bs-nav ul { display: flex; gap: 6px; }
.bs-nav a { font-family: 'Jost', sans-serif; display: block; padding: 8px 14px; font-size: 13px; letter-spacing: 0.12em; color: var(--bs-ink); }
.bs-nav a:hover { color: var(--bs-nude); }
.bs-reserve { font-family: 'Jost', sans-serif; font-size: 13px; letter-spacing: 0.1em; color: var(--bs-ink); border: 1px solid var(--bs-ink); padding: 10px 22px; transition: .2s; flex-shrink: 0; }
.bs-reserve:hover { background: var(--bs-ink); color: #fff; }
.bs-hamburger { display: none; }
.bs-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 150; }
.bs-nav-overlay.open { display: block; }

@media (max-width: 900px) {
    .bs-reserve { display: none; }
    .bs-nav { position: fixed; top: 0; right: -100%; width: 260px; height: 100vh; background: var(--bs-ink); padding: 80px 26px; transition: right .3s ease; z-index: 200; margin: 0; }
    .bs-nav.open { right: 0; }
    .bs-nav ul { flex-direction: column; gap: 0; }
    .bs-nav a { color: #f3ece3; padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .bs-hamburger { display: flex; flex-direction: column; gap: 5px; padding: 8px; margin-left: auto; z-index: 300; }
    .bs-hamburger span { display: block; width: 24px; height: 1px; background: var(--bs-ink); transition: .3s; }
    .bs-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); background: #fff; }
    .bs-hamburger.open span:nth-child(2) { opacity: 0; }
    .bs-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); background: #fff; }
}

/* ─── HERO（大判写真＋ミニマルコピー） ───────────────────────── */
.bs-hero { position: relative; min-height: 84vh; display: flex; align-items: flex-end; background: #e7ddd2; overflow: hidden; }
.bs-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.bs-hero-tint { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(40,36,34,0) 55%, rgba(40,36,34,0.45) 100%); }
.bs-hero-inner { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; padding: 0 24px 64px; width: 100%; color: #fff; }
.bs-hero-eyebrow { font-family: 'Jost', sans-serif; letter-spacing: 0.4em; font-size: 12px; text-transform: uppercase; }
.bs-hero-title { font-size: clamp(28px, 4.4vw, 50px); font-weight: 500; line-height: 1.5; margin-top: 14px; letter-spacing: 0.06em; text-shadow: 0 2px 16px rgba(0,0,0,0.35); }

/* ─── CONCEPT（余白で語る） ─────────────────────────────────── */
.bs-concept { padding: 120px 0; text-align: center; }
.bs-concept .bs-narrow p { font-size: 16px; color: #4a443f; line-height: 2.3; }
.bs-concept h2 { font-size: clamp(20px, 2.6vw, 28px); margin-bottom: 28px; letter-spacing: 0.08em; }

/* ─── MENU（料金） ─────────────────────────────────────────── */
.bs-menu { padding: 110px 0; background: #fff; }
.bs-menu-list { max-width: 700px; margin: 0 auto; }
.bs-menu-item { display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--bs-line); }
.bs-menu-name { font-size: 18px; letter-spacing: 0.04em; }
.bs-menu-price { font-family: 'Jost', sans-serif; font-size: 17px; color: var(--bs-ink); white-space: nowrap; }
.bs-menu-desc { grid-column: 1 / -1; font-size: 13px; color: #8a847d; margin-top: -6px; }
.bs-menu-note { text-align: center; font-size: 12px; color: #a59e95; margin-top: 24px; }

/* ─── STYLE ギャラリー ─────────────────────────────────────── */
.bs-style { padding: 110px 0; }
.bs-style-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bs-style-cell { aspect-ratio: 3 / 4; background-size: cover; background-position: center; background-color: #e7ddd2; }
@media (max-width: 860px) { .bs-style-grid { grid-template-columns: repeat(2, 1fr); } }

/* ─── STAFF（顔出し大判） ───────────────────────────────────── */
.bs-staff { padding: 110px 0; background: #fff; }
.bs-staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.bs-staff-photo { aspect-ratio: 3 / 4; background-size: cover; background-position: center; background-color: #e7ddd2; margin-bottom: 18px; }
.bs-staff-role { font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: 0.2em; color: var(--bs-nude); text-transform: uppercase; }
.bs-staff-name { font-size: 19px; margin: 4px 0 8px; letter-spacing: 0.06em; }
.bs-staff-word { font-size: 13px; color: #7d776f; line-height: 1.9; }
@media (max-width: 760px) { .bs-staff-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; } }

/* ─── ACCESS ───────────────────────────────────────────────── */
.bs-access { padding: 110px 0; }
.bs-access-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.bs-access-list { border-top: 1px solid var(--bs-ink); }
.bs-access-list > div { display: grid; grid-template-columns: 88px 1fr; padding: 14px 2px; border-bottom: 1px solid var(--bs-line); }
.bs-access-list dt { font-family: 'Jost', sans-serif; font-size: 12px; letter-spacing: 0.12em; color: var(--bs-gray); text-transform: uppercase; }
.bs-access-list dd { font-size: 14px; }
.bs-access-map { aspect-ratio: 4/3; background: #e7ddd2; overflow: hidden; }
.bs-access-map iframe { width: 100%; height: 100%; border: 0; }
.bs-map-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #a59e95; font-size: 13px; background: repeating-linear-gradient(45deg,#f1ebe2,#f1ebe2 10px,#e7ddd2 10px,#e7ddd2 20px); }
@media (max-width: 820px) { .bs-access-inner { grid-template-columns: 1fr; gap: 28px; } }

/* ─── RESERVE（予約一本化） ─────────────────────────────────── */
.bs-reserve-cta { padding: 110px 0; background: var(--bs-ink); text-align: center; color: #fff; }
.bs-reserve-cta h2 { color: #fff; font-weight: 500; letter-spacing: 0.08em; margin-bottom: 16px; }
.bs-reserve-cta p { color: #cfc7bd; font-size: 14px; margin-bottom: 32px; }
.bs-reserve-btn { display: inline-block; font-family: 'Jost', sans-serif; letter-spacing: 0.12em; border: 1px solid #fff; color: #fff; padding: 16px 48px; transition: .2s; }
.bs-reserve-btn:hover { background: #fff; color: var(--bs-ink); }
.bs-reserve-note { font-size: 12px; color: #9c948a; margin-top: 16px; }

/* ─── フッター ───────────────────────────────────────────────── */
.bs-footer { background: var(--bs-paper); border-top: 1px solid var(--bs-line); }
.bs-footer-inner { max-width: 1120px; margin: 0 auto; padding: 60px 24px 30px; display: grid; grid-template-columns: 1.4fr 1fr 0.8fr; gap: 40px; }
.bs-footer-name { font-family: 'Jost', 'Zen Kaku Gothic Antique', sans-serif; font-size: 19px; letter-spacing: 0.1em; color: var(--bs-ink); }
.bs-footer-tagline { font-size: 13px; color: #8a847d; margin-top: 10px; line-height: 1.9; }
.bs-footer-info p { font-size: 13px; line-height: 1.9; color: #6b665f; }
.bs-footer-info a { color: var(--bs-ink); }
.bs-footer-nav { display: flex; flex-direction: column; gap: 10px; }
.bs-footer-nav a { font-family: 'Jost', sans-serif; font-size: 12px; letter-spacing: 0.12em; color: #6b665f; }
.bs-footer-nav a:hover { color: var(--bs-ink); }
.bs-footer-bottom { padding: 16px 24px; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; font-size: 11px; color: #a59e95; border-top: 1px solid var(--bs-line); }

@media (max-width: 820px) { .bs-footer-inner { grid-template-columns: 1fr; gap: 24px; } }
