/* 美容室 BE・IN  — style.css
   色・文字・余白は :root の変数でまとめて変更できます */
:root {
  --bg: #faf6f0;        /* 全体の背景（あたたかい白） */
  --paper: #fffdf9;     /* カードなどの背景 */
  --ink: #2f2a26;       /* 文字 */
  --sub: #6f675e;       /* 補助の文字 */
  --line: #ddd3c5;      /* 区切り線 */
  --accent: #b4574a;    /* アクセント（店内の赤い椅子から） */
  --accent-dark: #8f4036;
  --wood: #c9a77c;      /* 店内の木の色 */
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --latin: "Jost", "Noto Sans JP", sans-serif;
  --header-h: 72px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.9; letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 32px; border-radius: 999px;
  font-size: 15px; letter-spacing: .08em; border: 1px solid var(--ink);
  transition: background .25s, color .25s, border-color .25s;
}
.btn::after { content: "→"; font-family: var(--latin); transition: transform .25s; }
.btn:hover::after { transform: translateX(4px); }
.btn--solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--line:hover { background: var(--ink); color: var(--bg); }
.btn--small { min-height: 40px; padding: 0 20px; font-size: 13px; }
.btn--small::after { content: none; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(250, 246, 240, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name { font-family: var(--latin); font-size: 26px; font-weight: 500; letter-spacing: .22em; }
.logo__sub { font-size: 10px; letter-spacing: .24em; color: var(--sub); margin-top: 2px; }
.gnav { display: flex; align-items: center; gap: 32px; }
.gnav a:not(.btn) { font-family: var(--latin); font-size: 14px; letter-spacing: .14em; position: relative; padding: 4px 0; }
.gnav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--accent); transition: right .3s; }
.gnav a:not(.btn):hover::after { right: 0; }
.menu-toggle { display: none; }

/* ---------- ヒーロー ---------- */
.hero { position: relative; height: clamp(360px, 72vh, 760px); overflow: hidden; background: var(--wood); }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, rgba(47, 42, 38, .28)); pointer-events: none; }
/* パソコン：枠を幅の半分（2:1）にして、人物から花まで入るようにする。画面の高さと860pxは超えない */
@media (min-width: 961px) {
  .hero { height: clamp(360px, 50vw, min(860px, calc(100vh - var(--header-h)))); }
}
.hero__tag { position: absolute; left: max(24px, calc((100% - var(--wrap)) / 2)); bottom: 28px; z-index: 2; color: #fff;
  font-family: var(--latin); font-size: 13px; letter-spacing: .26em; text-shadow: 0 1px 8px rgba(0,0,0,.35); }

/* ---------- 共通：セクション ---------- */
.section { padding: 112px 0; }
.section--paper { background: var(--paper); }
.label { display: block; font-family: var(--latin); font-size: 13px; letter-spacing: .3em; color: var(--accent); margin-bottom: 14px; text-transform: uppercase; }
.title { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.6; letter-spacing: .08em; }

/* イントロ */
.intro { text-align: center; padding: 96px 0 40px; }
.intro .label { margin-bottom: 18px; }
.intro p.lead { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 26px); line-height: 2; letter-spacing: .1em; }
.intro .btn { margin-top: 36px; }
.intro .note { margin-top: 14px; font-size: 13px; color: var(--sub); }

/* コンセプト */
.concept__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.concept__text .title { margin-bottom: 28px; }
.concept__text p + p { margin-top: 1.2em; }
.concept__photo { position: relative; }
.concept__photo .main { border-radius: 4px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.concept__photo .sub { position: absolute; left: -36px; bottom: -36px; width: 42%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 8px solid var(--bg); border-radius: 4px; }

/* メニュー */
.section-head { text-align: center; margin-bottom: 64px; }
.menu-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.menu-group h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; letter-spacing: .1em; padding-bottom: 14px; border-bottom: 1px solid var(--ink); margin-bottom: 8px; }
.menu-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.menu-item__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.menu-item__name { font-size: 15px; }
.menu-item__price { font-family: var(--latin); font-size: 18px; font-weight: 500; white-space: nowrap; }
.menu-item__price small { font-family: var(--sans); font-size: 12px; margin-left: 2px; }
.menu-item__note { font-size: 12.5px; line-height: 1.7; color: var(--sub); margin-top: 4px; }
.menu-foot { text-align: center; margin-top: 56px; }
.menu-foot p { font-size: 13px; color: var(--sub); margin-bottom: 24px; }

/* スタッフ */
.staff-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 40px; justify-content: center; }
.staff-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
.staff-card__name { font-family: var(--serif); font-size: 20px; margin-top: 18px; letter-spacing: .12em; }
.staff-card__role { font-family: var(--latin); font-size: 12px; letter-spacing: .24em; color: var(--sub); }

/* ブログ */
.news-list { max-width: 760px; margin-inline: auto; border-top: 1px solid var(--line); }
.news-item { display: flex; gap: 28px; align-items: baseline; padding: 22px 4px; border-bottom: 1px solid var(--line); transition: background .25s; }
.news-item:hover { background: rgba(180, 87, 74, .05); }
.news-item time { font-family: var(--latin); font-size: 14px; color: var(--sub); flex: none; letter-spacing: .1em; }
.news-item span { font-size: 15px; line-height: 1.7; }
.more { text-align: center; margin-top: 40px; }

/* 店舗情報 */
.info__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.info-list > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.info-list > div:first-child { border-top: 1px solid var(--line); }
.info-list dt { color: var(--sub); font-size: 13px; letter-spacing: .12em; padding-top: 2px; }
.info-list small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--sub); line-height: 1.7; }
.info-list a.tel { font-family: var(--latin); font-size: 19px; letter-spacing: .1em; }
.info-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.map { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* フッター */
.site-footer { background: var(--ink); color: #e9e2d8; padding: 56px 0 40px; text-align: center; }
.site-footer .logo__name { font-size: 22px; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: 24px 0; font-family: var(--latin); font-size: 13px; letter-spacing: .14em; }
.site-footer small { font-size: 12px; color: #a99f92; letter-spacing: .08em; }

/* ブログ記事ページ */
.article { padding: 72px 0 96px; }
.article__inner { width: min(760px, 100% - 48px); margin-inline: auto; }
.article time { font-family: var(--latin); color: var(--sub); letter-spacing: .1em; font-size: 14px; }
.article h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.6; margin: 8px 0 40px; letter-spacing: .06em; }
.article h2 { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.6; margin: 48px 0 16px; padding-left: 14px; border-left: 3px solid var(--accent); }
.article h3 { font-size: 17px; margin: 28px 0 8px; }
.article p { margin-top: 1em; }
.article ul { margin: 1em 0 0 1.2em; list-style: disc; }
.article li { margin-top: .6em; }
.article .back { margin-top: 64px; text-align: center; }

/* スクロール表示 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* スマホ下の固定ボタン */
.sp-bar { display: none; }

/* ---------- タブレット・スマホ ---------- */
@media (max-width: 960px) {
  .menu-cols { grid-template-columns: 1fr; gap: 48px; max-width: 560px; margin-inline: auto; }
  .concept__grid, .info__grid { grid-template-columns: 1fr; gap: 56px; }
  .concept__photo { margin-bottom: 36px; }
}
@media (max-width: 720px) {
  :root { --header-h: 60px; }
  /* ぼかし効果があると、開いたメニューが画面いっぱいに広がらないため、スマホでは外す */
  .site-header { background: var(--bg); backdrop-filter: none; }
  body { font-size: 15px; padding-bottom: 72px; }
  .wrap { width: calc(100% - 40px); }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 44px; }
  .logo__name { font-size: 22px; }

  .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; color: var(--ink); }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform .3s, background .3s; }
  .menu-toggle span { position: relative; }
  .menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
  .menu-toggle span::before { top: -7px; }
  .menu-toggle span::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] span { background: transparent; }
  .menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
  .gnav { position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; justify-content: center; gap: 28px; background: var(--bg);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .gnav.is-open { opacity: 1; visibility: visible; }
  .gnav a:not(.btn) { font-size: 20px; }
  .gnav .btn--small { min-height: 52px; padding: 0 32px; font-size: 15px; }

  .hero { height: 52vh; min-height: 300px; }
  .hero__tag { left: 20px; bottom: 18px; font-size: 11px; }
  .intro { padding: 64px 0 24px; }
  .intro p.lead br { display: none; }
  .concept__photo .sub { left: -12px; bottom: -28px; border-width: 5px; }
  .info-list > div { grid-template-columns: 6em 1fr; gap: 10px; }
  .news-item { flex-direction: column; gap: 2px; }
  .staff-grid { gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .staff-card__name { font-size: 17px; }
  .info-cta .btn { width: 100%; }

  .sp-bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1.4fr 1fr;
    background: var(--paper); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .sp-bar a { display: flex; align-items: center; justify-content: center; min-height: 56px; font-size: 14px; letter-spacing: .06em; }
  .sp-bar a:first-child { background: var(--accent); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__slide { transition: none; }
}
