/* ===== Nagurado Group — Shared Styles ===== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --surface-warm: #f3ede0;
  --text: #2a2826;
  --text-dim: #544f4a;
  --text-muted: #8b8478;
  --accent: #2d5f3f;          /* forest green — health & heritage */
  --accent-dark: #1e4028;
  --accent-soft: #e3eddc;
  --gold: #b89252;             /* aged gold — 100 year heritage */
  --gold-soft: #f0e5d0;
  --border: #e5ddc9;
  --line: #06c755;
  --line-dark: #05a848;

  --font-jp: "Noto Sans JP", system-ui, sans-serif;
  --font-serif: "Noto Serif JP", "Yu Mincho", serif;
  --font-en: "Cormorant Garamond", serif;
}

body {
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: opacity 0.2s ease; }
a:hover { opacity: 0.7; }
ul, ol { list-style: none; }

.inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.inner-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.site-logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.05em;
}
.site-logo .en {
  display: block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-top: 2px;
}
.site-nav {
  display: none;
  gap: 32px;
}
@media (min-width: 900px) {
  .site-nav { display: flex; }
}
.site-nav a {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 500;
}
.site-nav a:hover { color: var(--accent); opacity: 1; }

/* ===== TYPOGRAPHY ===== */
.section-label {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-align: center;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.55;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: 0.04em;
}
@media (min-width: 768px) {
  .section-title { font-size: 36px; }
}

section { padding: 96px 0; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 82vh;
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface-warm) 0%, var(--bg) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--surface-warm);
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}
.hero-bg-img.active {
  opacity: 1;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center 60%, rgba(255,248,243,0.92) 0%, rgba(255,248,243,0.55) 40%, rgba(255,248,243,0.15) 75%, rgba(20,15,10,0.15) 100%),
    linear-gradient(180deg, rgba(20,15,10,0.12) 0%, rgba(255,248,243,0.75) 85%, rgba(250,250,247,1) 100%);
}
.hero .hero-content {
  position: relative;
  z-index: 2;
}
.hero .hero-catch {
  text-shadow: 0 2px 4px rgba(255,255,255,0.95), 0 4px 20px rgba(255,248,243,0.7);
}
.hero .hero-sub {
  text-shadow: 0 1px 2px rgba(255,255,255,0.9), 0 2px 10px rgba(255,248,243,0.5);
}
.hero .hero-heritage {
  background: rgba(255,248,243,0.92);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.hero .btn,
.hero .btn-outline {
  box-shadow: 0 4px 16px rgba(45,95,63,0.25);
}
.hero .btn-outline {
  background: rgba(255,248,243,0.9);
  backdrop-filter: blur(4px);
}

/* Carousel indicators */
.hero-indicators {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.hero-indicator {
  width: 28px;
  height: 3px;
  background: rgba(45,95,63,0.25);
  border-radius: 2px;
  transition: background 0.4s ease, width 0.4s ease;
  cursor: pointer;
  border: none;
  padding: 0;
}
.hero-indicator.active {
  background: var(--accent);
  width: 44px;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 120px 24px 80px;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.hero-heritage {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.35em;
  color: var(--gold);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  padding: 8px 28px;
  margin-bottom: 32px;
}
.hero-catch {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1.55;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}
@media (min-width: 768px) {
  .hero-catch { font-size: 48px; line-height: 1.5; }
}
.hero-catch .accent { color: var(--accent); }
.hero-sub {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 2;
  max-width: 640px;
  margin: 0 auto 40px;
}
@media (min-width: 768px) {
  .hero-sub { font-size: 18px; }
}

/* ===== CARDS (3系列) ===== */
.brand-cards {
  display: grid;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .brand-cards { grid-template-columns: repeat(3, 1fr); }
}
.brand-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(45,95,63,0.1);
}
.brand-card-label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.brand-card-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.45;
}
.brand-card-tag {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 500;
}
.brand-card-img {
  aspect-ratio: 4 / 3;
  background: var(--surface-warm);
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  margin-bottom: 20px;
}
.brand-card-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.85;
  margin-bottom: 24px;
}
.brand-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--accent);
  font-weight: 700;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

/* ===== SISTER BRANDS ===== */
.sister { background: var(--surface-warm); }
.sister-grid {
  display: grid;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .sister-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .sister-grid { grid-template-columns: repeat(4, 1fr); }
}
.sister-card {
  background: var(--surface);
  border-radius: 8px;
  padding: 24px 20px;
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.3s ease;
}
.sister-card:hover { transform: translateY(-2px); }
.sister-card-cat {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.sister-card-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.5;
}
.sister-card-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.75;
}
.sister-card.linked {
  cursor: pointer;
}
.sister-card.linked::after {
  content: "→";
  display: block;
  margin-top: 10px;
  color: var(--accent);
  font-size: 14px;
}

/* ===== MESSAGE (代表メッセージ) ===== */
.message {
  background: var(--bg);
}
.message-box {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 8px;
  padding: 48px 40px;
  border: 1px solid var(--border);
}
@media (max-width: 640px) {
  .message-box { padding: 32px 24px; }
}
.message-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.message-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--surface-warm);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.message-meta {
  flex: 1;
}
.message-role {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.message-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.message-title-sub {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  line-height: 1.55;
}
.message-body {
  font-size: 16px;
  line-height: 2;
  color: var(--text-dim);
}
.message-body p + p { margin-top: 16px; }

/* ===== STORY ===== */
.story { background: var(--accent); color: #fff; }
.story .section-label { color: var(--gold-soft); }
.story .section-title { color: #fff; }
.story-body {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 17px;
  line-height: 2.05;
  color: rgba(255,255,255,0.92);
}
.story-body p + p { margin-top: 20px; }
.story-cta {
  display: inline-block;
  margin-top: 36px;
  padding: 14px 36px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 100px;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.story-cta:hover { background: #fff; color: var(--accent); opacity: 1; }

/* ===== NETWORK ===== */
.network { background: var(--bg); text-align: center; }
.network-big-num {
  font-family: var(--font-serif);
  font-size: 72px;
  line-height: 1;
  color: var(--accent);
  margin: 24px 0 8px;
  font-weight: 700;
}
@media (min-width: 768px) {
  .network-big-num { font-size: 120px; }
}
.network-big-num .unit {
  font-size: 0.35em;
  color: var(--gold);
  margin-left: 6px;
  letter-spacing: 0.1em;
}
.network-desc {
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.95;
}

/* ===== BUTTON ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: background 0.2s ease;
}
.btn:hover { background: var(--accent-dark); opacity: 1; }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.82);
  padding: 64px 0 32px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.footer-brand .en {
  display: block;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-top: 4px;
  font-weight: 400;
  text-transform: uppercase;
}
.footer-desc {
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255,255,255,0.68);
  margin-bottom: 20px;
}
.footer-col-title {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.footer-col li { padding: 6px 0; font-size: 13px; }
.footer-col a { color: rgba(255,255,255,0.78); }
.footer-col a:hover { color: var(--gold); opacity: 1; }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
}

/* ===== PAGE HEADER (各サブページ用) ===== */
.page-hero {
  background: var(--surface-warm);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 140px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(243,237,224,0.45) 0%, rgba(243,237,224,0.88) 100%);
  z-index: 1;
}
.page-hero > * {
  position: relative;
  z-index: 2;
}
.page-hero-label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.page-hero-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
}
@media (min-width: 768px) {
  .page-hero-title { font-size: 42px; }
}
.page-hero-sub {
  max-width: 560px;
  margin: 20px auto 0;
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.95;
}

/* ===== INFO TABLE (店舗用) ===== */
.info-table {
  max-width: 640px;
  margin: 48px auto 0;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.info-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  border-bottom: 1px solid var(--border);
}
.info-row:last-child { border-bottom: none; }
.info-label {
  background: var(--surface-warm);
  padding: 18px 20px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
}
.info-value {
  padding: 18px 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
}
@media (max-width: 600px) {
  .info-row { grid-template-columns: 100px 1fr; }
  .info-label { padding: 14px 14px; font-size: 13px; }
  .info-value { padding: 14px 14px; font-size: 14px; }
}

/* ===== PLACEHOLDER MARKERS ===== */
.placeholder {
  display: inline-block;
  background: #fef3d7;
  border: 1px dashed #d4a941;
  color: #8b6510;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
}

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s cubic-bezier(0.2,0.7,0.2,1), transform 0.9s cubic-bezier(0.2,0.7,0.2,1);
}
.reveal.show { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s cubic-bezier(0.2,0.7,0.2,1), transform 0.9s cubic-bezier(0.2,0.7,0.2,1);
}
.reveal-stagger.show > *               { opacity: 1; transform: translateY(0); }
.reveal-stagger.show > *:nth-child(1)  { transition-delay: 0.05s; }
.reveal-stagger.show > *:nth-child(2)  { transition-delay: 0.18s; }
.reveal-stagger.show > *:nth-child(3)  { transition-delay: 0.31s; }
.reveal-stagger.show > *:nth-child(4)  { transition-delay: 0.44s; }
.reveal-stagger.show > *:nth-child(5)  { transition-delay: 0.57s; }

/* ============================================================
   MOTION — 和モダン × 動きで魅せる
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Ken Burns：アクティブ画像が12秒かけてゆっくりズーム＋パン */
.hero-bg-img.active {
  animation: kenBurns 12s ease-out forwards;
}
@keyframes kenBurns {
  from { transform: scale(1.02) translate(0, 0); }
  to   { transform: scale(1.12) translate(-1.2%, -0.8%); }
}

/* Hero テキストの順次フェードイン */
.hero .hero-heritage,
.hero .hero-catch,
.hero .hero-sub,
.hero-cta-group {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeSlideUp 1.1s cubic-bezier(0.2,0.7,0.2,1) forwards;
}
.hero .hero-heritage { animation-delay: 0.10s; }
.hero .hero-catch    { animation-delay: 0.30s; }
.hero .hero-sub      { animation-delay: 0.62s; }
.hero-cta-group      { animation-delay: 0.92s; }
@keyframes fadeSlideUp {
  to { opacity: 1; transform: translateY(0); }
}

/* "からだ" は accent 色で通常描画 + 擬似要素で金の光が横に流れる */
.hero-catch .accent {
  position: relative;
  color: var(--accent);
  display: inline-block;
}
.hero-catch .accent::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
    110deg,
    transparent 0%,
    transparent 40%,
    #f2d28c 48%,
    #f5dfa0 50%,
    #f2d28c 52%,
    transparent 60%,
    transparent 100%
  );
  background-size: 260% 100%;
  background-position: 100% 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  text-shadow: none;
  animation: shimmer 5s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 100% 0; }
  50%      { background-position: -10% 0; }
}

/* Hero スクロール誘導（金線がスッと落ちる） */
.hero-scroll {
  position: absolute;
  bottom: 68px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.42em;
  color: var(--text-dim);
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: fadeSlideUp 1s ease 1.6s forwards;
  pointer-events: none;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 36px;
  background: var(--gold);
  transform-origin: top;
  animation: scrollBar 2.2s ease-in-out infinite;
}
@keyframes scrollBar {
  0%   { transform: scaleY(0); opacity: 0; }
  25%  { transform: scaleY(1) translateY(0); opacity: 1; }
  70%  { transform: scaleY(1) translateY(20px); opacity: 0.3; }
  100% { transform: scaleY(0) translateY(34px); opacity: 0; }
}

/* Brand card: 画像ズーム + 下線スライド + 浮き */
.brand-card {
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.2,0.7,0.2,1),
              box-shadow 0.45s ease,
              border-color 0.45s ease;
}
.brand-card .brand-card-img {
  transition: transform 0.8s cubic-bezier(0.2,0.7,0.2,1), filter 0.6s ease;
  will-change: transform;
}
.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px rgba(45,95,63,0.15);
  border-color: var(--accent);
}
.brand-card:hover .brand-card-img {
  transform: scale(1.06);
  filter: saturate(1.08);
}
.brand-card .brand-card-link {
  position: relative;
  border-bottom: none;
  padding-bottom: 4px;
}
.brand-card .brand-card-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.55s cubic-bezier(0.2,0.7,0.2,1);
}
.brand-card:hover .brand-card-link::after { transform: scaleX(1); }

/* Sister card: ホバー強化 */
.sister-card.linked {
  transition: transform 0.4s cubic-bezier(0.2,0.7,0.2,1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
}
.sister-card.linked:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(45,95,63,0.12);
  border-color: var(--accent);
}

/* Numbers: 数字の下のゴールド装飾線 */
.number-block { position: relative; padding-bottom: 8px; }
.number-block::after {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  background: var(--gold);
  margin: 16px auto 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1s cubic-bezier(0.2,0.7,0.2,1) 0.3s;
}
.reveal-stagger.show .number-block::after { transform: scaleX(1); }

/* Numbers カウントアップ中の軽い変化 */
.count-up {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}
