/* Bar Cheers / 合同会社KAZU — コーポレートサイト共通スタイル
   方向性: エディトリアル・ラグジュアリー(白基調・清潔感)。巨大なセリフ体の
   見出し、二重ベゼル(外枠+内側)のカード構造、柔らかい陰影、スクロール
   連動のフェードアップ演出。 */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500&family=Shippori+Mincho:wght@500;600;700&family=Zen+Kaku+Gothic+New:wght@400;500;700;900&display=swap");

:root {
  --paper: #fbfaf6;
  --paper-alt: #f3efe4;
  --card: #ffffff;
  --card-shell: #f0ebde;
  --ink: #221d17;
  --ink-dim: #6e6355;
  --ink-faint: #9a8f7c;
  --gold: #a97c3f;
  --gold-bright: #c2903f;
  --gold-soft: rgba(169, 124, 63, 0.09);
  --on-gold: #2a2015;
  --line: rgba(34, 29, 23, 0.1);
  --line-strong: rgba(34, 29, 23, 0.18);

  --band-bg: #1b1611;
  --band-text: #f3efe4;
  --band-text-dim: rgba(243, 239, 228, 0.62);
  --band-line: rgba(243, 239, 228, 0.16);

  --font-display: "Fraunces", "Shippori Mincho", serif;
  --font-serif-jp: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --font-body: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.85;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

img { max-width: 100%; display: block; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.75rem; }

/* ---------- スクロール連動フェードアップ ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ---------- ヘッダー(全幅・ゆったりした高さ) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-pill {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.1rem 2.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
@media (max-width: 900px) {
  .nav-pill { padding: 1.5rem 1.5rem; }
}
.brand {
  display: flex;
  align-items: center;
}
.brand-mark {
  height: 28px;
  width: auto;
  display: block;
}
.brand-mark text { font-family: var(--font-display); font-size: 30px; font-weight: 500; }
.brand-mark .t-bar { fill: var(--ink); }
.brand-mark .t-cheers { fill: var(--gold); font-style: italic; }
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 2.6rem;
}
nav.main-nav a {
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--ink-dim);
  transition: color 0.4s var(--ease);
  white-space: nowrap;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid transparent;
}
nav.main-nav a:hover:not(.btn-pill),
nav.main-nav a[aria-current="page"]:not(.btn-pill) { color: var(--gold); border-bottom-color: var(--gold); }
nav.main-nav a.btn-pill { color: #fff; }

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.8rem 0.8rem 0.8rem 1.8rem;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.btn-pill:hover { background: var(--gold-bright); }
.btn-pill:active { transform: scale(0.97); }
.btn-pill .arrow-dot {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.4s var(--ease);
}
.btn-pill:hover .arrow-dot { transform: translate(2px, -2px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 1rem 2rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease), background 0.4s var(--ease);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-soft); }

.social-icons { display: flex; align-items: center; gap: 0.7rem; }
.social-icons a {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-dim);
  flex-shrink: 0;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease), background 0.4s var(--ease);
}
.social-icons a:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-soft); }
.social-icons svg { width: 1.4rem; height: 1.4rem; }

.social-icons-desktop { margin-left: 0.4rem; }
@media (max-width: 860px) { .social-icons-desktop { display: none; } }

#mobileNav .social-icons { margin: 1.2rem 0 0.4rem; padding-top: 1rem; border-top: 1px solid var(--line); }

.footer-grid > div:first-child .social-icons { margin-top: 1.2rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: -0.4rem;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); transition: transform 0.35s var(--ease), opacity 0.35s var(--ease); }

@media (max-width: 860px) {
  nav.main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-cta-desktop { display: none; }
}

@media (max-width: 480px) {
  .brand-mark { height: 22px; }
}

#mobileNav {
  display: none;
  max-width: var(--max);
  margin: 0.6rem auto 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line-strong);
  border-radius: 1.4rem;
  padding: 0.5rem 1.4rem 1.2rem;
  box-shadow: 0 20px 40px rgba(34, 29, 23, 0.08);
}
#mobileNav.open { display: block; }
#mobileNav a {
  display: block;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-dim);
}
#mobileNav a:last-of-type { border-bottom: none; }

/* ---------- ヒーロー ---------- */

.hero {
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  margin-bottom: 2rem;
}
.hero .eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 1.6rem;
  max-width: 18ch;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lede {
  font-size: 1.22rem;
  color: var(--ink-dim);
  max-width: 56em;
  line-height: 1.9;
  margin: 0 0 2.4rem;
  text-wrap: balance;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- 写真背景のヒーローバナー(TOP・各ページ見出し共通) ---------- */

.hero-banner { position: relative; overflow: hidden; }
.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 12, 8, 0.55) 0%, rgba(15, 12, 8, 0.8) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-banner > .wrap { position: relative; z-index: 2; }
.hero-banner > .wrap h1 { color: #fff; }
.hero-banner > .wrap p { color: rgba(245, 241, 232, 0.86); }
.hero-banner > .wrap .eyebrow-tag,
.hero-banner > .wrap .eyebrow { color: #e3c07f; }
.hero-banner > .wrap .eyebrow-tag::before,
.hero-banner > .wrap .eyebrow::before { background: #e3c07f; }
.hero-banner > .wrap .eyebrow { border-color: rgba(255, 255, 255, 0.35); }
.hero-banner .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.hero-banner .btn-outline:hover { border-color: var(--gold-bright); color: var(--gold-bright); background: rgba(255, 255, 255, 0.1); }
.hero-banner .page-intro { padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem); }

/* ---------- セクション共通 ---------- */

section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
section.alt { background: var(--paper-alt); }
section + section.alt,
section.alt + section { border-top: 1px solid var(--line); }

.section-head { max-width: none; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { max-width: 58rem; margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { max-width: none; font-size: 1.2rem; line-height: 1.9; text-wrap: pretty; }
.section-head.center p { max-width: none; margin-left: auto; margin-right: auto; }
.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1rem;
}
.eyebrow-tag::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--gold);
  margin-right: 0.6rem;
}
.section-head h2 {
  font-family: var(--font-serif-jp);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.4;
  margin: 0 0 1rem;
  text-wrap: balance;
  color: var(--ink);
}
.section-head p { color: var(--ink-dim); margin: 0; }

/* ---------- 濃色フルブリードの帯セクション ---------- */

section.band-dark {
  background: var(--band-bg);
  color: var(--band-text);
}
section.band-dark .eyebrow-tag { color: var(--gold-bright); }
section.band-dark .eyebrow-tag::before { background: var(--gold-bright); }
section.band-dark .section-head h2 { color: var(--band-text); }
section.band-dark .section-head p { color: var(--band-text-dim); }

/* ---------- 年表(タイムライン)グラフ ---------- */

.timeline { display: flex; gap: 1.5rem; margin-top: 3rem; }
.timeline-item { flex: 1; text-align: center; position: relative; padding-top: 1.7rem; }
.timeline-item::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--band-line);
}
.timeline-item:first-child::before { left: 50%; }
.timeline-item:last-child::before { right: 50%; }
.timeline-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold-bright);
}
.timeline-year {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--band-text);
  margin: 0 0 0.5rem;
}
.timeline-year .unit { font-size: 0.4em; margin-left: 0.2rem; color: var(--gold-bright); }
.timeline-label { font-size: 0.85rem; color: var(--band-text-dim); margin: 0; }

@media (max-width: 700px) {
  .timeline { flex-direction: column; gap: 2.2rem; }
  .timeline-item { text-align: left; padding: 0 0 0 1.5rem; }
  .timeline-item::before { top: 6px; left: -1px; right: auto; width: 1px; height: 100%; }
  .timeline-item:first-child::before,
  .timeline-item:last-child::before { left: -1px; right: auto; }
  .timeline-item:last-child::before { display: none; }
  .timeline-dot { top: 1px; left: -6px; transform: none; }
}

.stat-figure {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1;
  color: var(--band-text);
  margin: 0 0 0.6rem;
}
.stat-figure .unit { font-size: 0.36em; margin-left: 0.25rem; color: var(--gold-bright); }
.stat-label { font-size: 0.85rem; color: var(--band-text-dim); margin: 0; }

/* ---------- 輪郭線ボタン(MORE風・塗りなし) ---------- */

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 1rem 1.8rem;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease), gap 0.4s var(--ease);
}
.btn-line::after { content: "—"; color: var(--gold); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); gap: 1.2rem; }
section.band-dark .btn-line { border-color: var(--band-line); color: var(--band-text); }
section.band-dark .btn-line:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

/* ---------- フラットカード(折り角ディテール) ---------- */

.card-flat {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 2.2rem 2rem;
  overflow: hidden;
}
.card-flat::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, transparent 50%, var(--card-shell) 50%);
  box-shadow: -1px -1px 4px rgba(34, 29, 23, 0.07);
}
.card-flat h3 {
  font-family: var(--font-serif-jp);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0 0 0.7rem;
  color: var(--ink);
}
.card-flat p { color: var(--ink-dim); font-size: 1.08rem; line-height: 1.8; margin: 0; }

/* ---------- 二重ベゼルカード ---------- */

.bezel {
  background: var(--card-shell);
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  padding: 0.4rem;
}
.bezel-inner {
  background: var(--card);
  border-radius: 1.4rem;
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(34, 29, 23, 0.04), 0 12px 28px rgba(34, 29, 23, 0.05);
  height: 100%;
}
.bezel-inner h3 {
  font-family: var(--font-serif-jp);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 0.7rem;
  color: var(--ink);
}
.bezel-inner p { color: var(--ink-dim); font-size: 1.08rem; line-height: 1.8; margin: 0; }
.bezel-inner .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: block;
}

.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1080px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ---------- 写真(二重ベゼル枠付き) ---------- */

.photo-bezel { background: var(--card-shell); border: 1px solid var(--line); border-radius: 1.9rem; padding: 0.5rem; }
.photo-bezel img { border-radius: 1.5rem; width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-slideshow { position: relative; overflow: hidden; }
.hero-slideshow img.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero-slideshow img.slide.active { opacity: 1; z-index: 1; }

/* ---------- 情報テーブル ---------- */

table.info-table { width: 100%; border-collapse: collapse; }
table.info-table th, table.info-table td {
  text-align: left;
  padding: 1.1rem 0.5rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.info-table th {
  width: 11rem;
  color: var(--ink-faint);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  text-transform: uppercase;
}
table.info-table td { color: var(--ink); font-size: 1.05rem; line-height: 1.75; }
table.info-table tr:last-child th,
table.info-table tr:last-child td { border-bottom: none; }
@media (max-width: 600px) {
  table.info-table, table.info-table tbody, table.info-table tr, table.info-table th, table.info-table td { display: block; width: auto; }
  table.info-table tr { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  table.info-table th { padding: 0 0 0.4rem; border-bottom: none; }
  table.info-table td { padding: 0; }
}

/* ---------- FAQ ---------- */

details.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
}
details.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  color: var(--ink);
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}
details.faq-item[open] summary::after { content: "–"; }
details.faq-item p { color: var(--ink-dim); font-size: 1.15rem; line-height: 1.85; margin: 1rem 0 0; max-width: 44em; }

/* ---------- CTA帯 ---------- */

.cta-band { text-align: center; }
.cta-band h2 {
  font-family: var(--font-serif-jp);
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  margin: 0 0 1rem;
  color: var(--ink);
}
.cta-band p { color: var(--ink-dim); font-size: 1.2rem; margin: 0 0 2.2rem; }
.cta-band .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- フッター ---------- */

footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2.2rem;
  background: var(--paper-alt);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
  color: var(--ink);
}
.footer-note { color: var(--ink-faint); font-size: 0.9rem; line-height: 1.75; max-width: 24em; }
.footer-grid h4 {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 1rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.65rem; font-size: 0.95rem; color: var(--ink-dim); }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
  font-size: 0.75rem; color: var(--ink-faint);
  border-top: 1px solid var(--line); padding-top: 1.6rem;
}

/* ---------- ページ内見出し(下層ページ用) ---------- */

.page-intro { padding: clamp(3rem, 7vw, 5rem) 0 1rem; }
.page-intro .eyebrow-tag { display: inline-block; }
.page-intro h1 {
  font-family: var(--font-serif-jp);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.1rem);
  margin: 0.6rem 0 1.2rem;
  text-wrap: balance;
  color: var(--ink);
}
.page-intro p { color: var(--ink-dim); max-width: 56em; margin: 0; font-size: 1.2rem; line-height: 1.9; text-wrap: balance; }

@media (max-width: 640px) {
  br.hide-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
