@charset "UTF-8";

/* =============================================================
   BARBER ONE CHAIR スタイルシート

   【目次】
   01. 変数（色・サイズの設定）  … 色を変えたいときはここ
   02. 土台
   03. 共通パーツ（ボタン・見出し・写真の枠）
   04. ヘッダー
   05. トップ：ファーストビュー
   06. トップ：こだわり
   07. トップ：お知らせ
   08. トップ：店主紹介／メニューの一部
   09. メニューページ
   10. よくある質問
   11. アクセス
   12. 予約（CTA）・フッター
   13. スマホ表示
   ============================================================= */


/* =============================================================
   01. 変数（色・サイズの設定）
   ============================================================= */
:root {
  --color-text:     #2b2b2b;   /* 基本の文字色 */
  --color-text-sub: #6b6b6b;   /* 補足の文字色 */
  --color-main:     #4f6b6b;   /* くすんだ青緑（店先の色） */
  --color-main-dk:  #3b5252;   /* 青緑の濃いほう（ボタンを押す前など） */
  --color-navy:     #1f2a36;   /* 濃い紺（ヘッダー・予約の帯） */
  --color-red:      #b23a3a;   /* サインポールの赤（差し色・少しだけ） */
  --color-bg:       #fbf9f4;   /* 背景（生成り） */
  --color-bg-sub:   #eef1ee;   /* 背景（うすい青緑） */
  --color-border:   #d9ddd8;   /* 枠線 */
  --color-line:     #06c755;   /* LINEの緑 */

  --font-en: "Oswald", "Helvetica Neue", Arial, sans-serif;
  --container: 1080px;
  --radius: 4px;
}


/* =============================================================
   02. 土台
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol, dl, dd, figure, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .04em;
  line-break: strict;
  overflow-wrap: break-word;
  -webkit-text-size-adjust: 100%;
}

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.container--narrow { max-width: 760px; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* 見本サイトの表示（納品するときは消す） */
.sample-bar {
  background: #fff3c4; color: #5a4a00; text-align: center;
  font-size: 13px; padding: 6px 16px;
}


/* =============================================================
   03. 共通パーツ
   ============================================================= */

/* サインポールの3色ライン（見出しの下・帯の区切り） */
.pole {
  height: 6px;
  background: repeating-linear-gradient(-45deg,
    var(--color-red) 0 10px, #fff 10px 20px, #2f4f8a 20px 30px, #fff 30px 40px);
}

.section { padding: 88px 0; }
.section--sub { background: var(--color-bg-sub); }

.section__title {
  text-align: center; font-size: 26px; line-height: 1.5; margin-bottom: 40px;
}
.section__title .en {
  display: block; font-family: var(--font-en); font-weight: 500;
  font-size: 15px; letter-spacing: .25em; color: var(--color-main);
}
.section__title::after {
  content: ""; display: block; width: 48px; height: 3px;
  margin: 16px auto 0; background: var(--color-red);
}
.section__lead { text-align: center; margin: -16px auto 40px; max-width: 680px; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-weight: 700; text-decoration: none; line-height: 1.4;
  transition: background .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--main { background: var(--color-main); color: #fff; }
.btn--main:hover { background: var(--color-main-dk); }
.btn--line { background: var(--color-line); color: #fff; }
.btn--line:hover { background: #05a647; }
.btn--outline { border: 2px solid var(--color-main); color: var(--color-main); background: transparent; }
.btn--outline:hover { background: var(--color-main); color: #fff; }

/* 写真の枠（写真が決まるまでの仮置き。写真が入ったら <img> に差し替える） */
.ph {
  aspect-ratio: 4 / 3; width: 100%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: repeating-linear-gradient(45deg, #e3e7e3 0 12px, #eaede9 12px 24px);
  border: 1px dashed #a9b3ad; color: #5d6a63; font-size: 14px; padding: 16px;
}
.photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }


/* =============================================================
   04. ヘッダー
   ============================================================= */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--color-navy); color: #fff;
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 72px;
}
.header__logo a { text-decoration: none; display: block; line-height: 1.2; }
.header__logo-en {
  display: block; font-family: var(--font-en); font-size: 24px; font-weight: 600; letter-spacing: .12em;
}
.header__logo-sub { display: block; font-size: 11px; opacity: .8; letter-spacing: .1em; }

.gnav__list { display: flex; gap: 28px; font-size: 14px; }
.gnav__list a { text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.gnav__list a:hover,
.gnav__list a[aria-current="page"] { border-bottom-color: var(--color-red); }

.header__tel {
  font-family: var(--font-en); font-size: 18px; text-decoration: none; letter-spacing: .06em;
  white-space: nowrap;
}

.hamburger { display: none; }


/* =============================================================
   05. トップ：ファーストビュー
   ============================================================= */
.hero { padding: 64px 0 80px; }
.hero__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.hero__en {
  font-family: var(--font-en); color: var(--color-main); letter-spacing: .25em; font-size: 14px;
}
.hero__title { font-size: 34px; line-height: 1.5; margin: 12px 0 20px; }
.hero__title span { display: inline-block; }  /* 言葉の途中で改行しないように */
.hero__lead { color: var(--color-text-sub); margin-bottom: 24px; }
.hero__facts { border-top: 1px solid var(--color-border); margin-bottom: 28px; }
.hero__facts li { display: flex; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--color-border); font-size: 15px; }
.hero__facts-label { flex: 0 0 4.5em; color: var(--color-main); font-weight: 700; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }


/* =============================================================
   06. トップ：こだわり
   ============================================================= */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.point { background: #fff; border: 1px solid var(--color-border); padding: 0 0 28px; }
.point__body { padding: 24px 24px 0; }
.point__num { font-family: var(--font-en); color: var(--color-red); font-size: 14px; letter-spacing: .2em; }
.point__title { font-size: 19px; line-height: 1.6; margin: 4px 0 12px; }
.point__text { font-size: 15px; color: var(--color-text-sub); }


/* =============================================================
   07. トップ：お知らせ（中身は js/news.js に書く）
   ============================================================= */
.news__list { border-top: 1px solid var(--color-border); }
.news__item { padding: 20px 4px; border-bottom: 1px solid var(--color-border); }
.news__date { font-family: var(--font-en); color: var(--color-main); letter-spacing: .08em; font-size: 15px; }
.news__title { font-size: 17px; margin: 2px 0 6px; }
.news__text { font-size: 15px; color: var(--color-text-sub); }
.news__empty { color: var(--color-text-sub); text-align: center; padding: 24px 0; }


/* =============================================================
   08. トップ：店主紹介／メニューの一部
   ============================================================= */
.media { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.media__heading { font-size: 22px; line-height: 1.6; margin-bottom: 16px; }
.media__body p + p { margin-top: 12px; }
.media__sign { margin-top: 20px; font-weight: 700; }

.menu-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 36px; }
.menu-pick__item { background: #fff; border-top: 4px solid var(--color-main); padding: 24px; text-align: center; }
.menu-pick__name { font-weight: 700; }
.menu-pick__price { font-family: var(--font-en); font-size: 30px; color: var(--color-navy); }
.menu-pick__price small { font-family: inherit; font-size: 13px; color: var(--color-text-sub); }
.menu-pick__note { font-size: 13px; color: var(--color-text-sub); }
.text-center { text-align: center; }


/* =============================================================
   09. メニューページ
   ============================================================= */
.page-title { background: var(--color-main); color: #fff; text-align: center; padding: 56px 0; }
.page-title .en { display: block; font-family: var(--font-en); letter-spacing: .3em; font-size: 14px; opacity: .85; }
.page-title h1 { font-size: 30px; }

.price-table { width: 100%; border-collapse: collapse; background: #fff; }
.price-table caption {
  text-align: left; font-weight: 700; font-size: 18px; padding: 0 0 12px;
  color: var(--color-navy);
}
.price-table th, .price-table td { padding: 16px 20px; border-bottom: 1px solid var(--color-border); text-align: left; }
.price-table th { font-weight: 700; }
.price-table th small { display: block; font-weight: 400; color: var(--color-text-sub); font-size: 13px; }
.price-table td { text-align: right; font-family: var(--font-en); font-size: 20px; white-space: nowrap; vertical-align: top; }
.price-table + .price-table { margin-top: 48px; }
.price-note { margin-top: 20px; font-size: 14px; color: var(--color-text-sub); }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: flow; }
.flow__item { background: #fff; padding: 24px 20px; border: 1px solid var(--color-border); position: relative; }
.flow__item::before {
  counter-increment: flow; content: "STEP " counter(flow);
  display: block; font-family: var(--font-en); color: var(--color-red); letter-spacing: .15em; font-size: 13px;
}
.flow__title { font-size: 17px; margin: 4px 0 8px; }
.flow__text { font-size: 14px; color: var(--color-text-sub); }


/* =============================================================
   10. よくある質問
   ============================================================= */
.faq__item { background: #fff; border: 1px solid var(--color-border); margin-bottom: 12px; }
.faq__q { cursor: pointer; padding: 18px 48px 18px 20px; font-weight: 700; position: relative; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; position: absolute; right: 20px; top: 14px; font-size: 22px; color: var(--color-main); }
.faq__item[open] .faq__q::after { content: "−"; }
.faq__mark { color: var(--color-red); margin-right: 8px; font-family: var(--font-en); }
.faq__a { padding: 0 20px 20px; color: var(--color-text-sub); }


/* =============================================================
   11. アクセス
   ============================================================= */
.access { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.access__map {
  min-height: 300px; display: flex; align-items: center; justify-content: center;
  background: var(--color-bg-sub); border: 1px solid var(--color-border); color: var(--color-text-sub);
}
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 12px 8px; border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: top; font-size: 15px; }
.info-table th { width: 7em; color: var(--color-main); white-space: nowrap; }
.info-table address { font-style: normal; }


/* =============================================================
   12. 予約（CTA）・フッター
   ============================================================= */
.cta { background: var(--color-navy); color: #fff; padding: 72px 0; text-align: center; }
.cta__title { font-size: 24px; line-height: 1.6; margin-bottom: 12px; }
.cta__text { opacity: .85; margin-bottom: 28px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }
.cta__tel { font-family: var(--font-en); font-size: 28px; text-decoration: none; letter-spacing: .08em; }
.cta__tel small { display: block; font-family: "Hiragino Sans", sans-serif; font-size: 12px; opacity: .75; letter-spacing: .04em; }
.cta__note { margin-top: 20px; font-size: 13px; opacity: .7; }

.footer { background: #141b23; color: #c9ced3; text-align: center; padding: 40px 16px 32px; font-size: 13px; }
.footer__nav { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; }
.footer__nav a { text-decoration: none; }
.footer__name { font-family: var(--font-en); font-size: 20px; letter-spacing: .15em; color: #fff; }
.footer__sample { margin-top: 12px; color: #e8d88a; }
.footer__copy { margin-top: 8px; opacity: .7; }

.to-top {
  position: fixed; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%;
  border: none; background: var(--color-main); color: #fff; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }


/* =============================================================
   13. スマホ表示（幅 820px 以下）
   ============================================================= */
@media (max-width: 820px) {
  .section { padding: 64px 0; }
  .section__title { font-size: 22px; }

  .header__tel { display: none; }
  .hamburger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 10px;
  }
  .hamburger__bar { display: block; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
  .hamburger.is-open .hamburger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.is-open .hamburger__bar:nth-child(2) { opacity: 0; }
  .hamburger.is-open .hamburger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .gnav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--color-navy); border-top: 1px solid rgba(255,255,255,.15);
  }
  .gnav.is-open { display: block; }
  .gnav__list { flex-direction: column; gap: 0; width: min(100% - 32px, var(--container)); margin-inline: auto; padding: 8px 0 16px; }
  .gnav__list a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }

  .hero { padding: 40px 0 56px; }
  .hero__inner, .media, .access { grid-template-columns: 1fr; gap: 32px; }
  .hero__title { font-size: 27px; }
  .hero__image { order: -1; }
  .hero__btns .btn { flex: 1 1 100%; }

  .points, .menu-pick { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }

  .price-table th, .price-table td { padding: 14px 12px; }
  .price-table td { font-size: 18px; }

  .cta__actions .btn { width: 100%; }
}
