/* ======================================
   元祖まぐろラーメン本店 - フランチャイズ LP
   style.css — 修正版（事実のみ）
   ====================================== */

/* ---- CSS Variables ---- */
:root {
  --primary:      #b5282a;
  --primary-dark: #8c1c1e;
  --accent:       #e05a1c;
  --navy:         #1a2744;
  --gold:         #c89b3c;
  --dark:         #111827;
  --gray-900:     #1f2937;
  --gray-700:     #374151;
  --gray-500:     #6b7280;
  --gray-300:     #d1d5db;
  --gray-200:     #e5e7eb;
  --gray-100:     #f3f4f6;
  --white:        #ffffff;
  --bg:           #fdfaf7;

  --font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-serif:'Noto Serif JP', 'Georgia', serif;

  --radius:    12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 6px 24px rgba(0,0,0,.12);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.18);
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--gray-900);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: .9em 2em;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 16px rgba(181,40,42,.35);
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(181,40,42,.45);
}
.btn-primary.btn-lg { font-size: 1.05rem; padding: 1em 2.2em; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: .9em 2em;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,.7);
  transition: var(--transition);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}
.btn-outline.btn-lg { font-size: 1.05rem; padding: 1em 2.2em; }

/* ---- Section Common ---- */
.section { padding: 88px 0; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  padding: 4px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 14px;
}
.section-desc {
  font-size: 1rem;
  color: var(--gray-700);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.85;
}

/* ====================================================
   HEADER
==================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26,39,68,.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: var(--transition);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.header-logo {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}
.logo-sub {
  font-size: .68rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .08em;
}
.logo-main {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.header-nav a {
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  font-weight: 500;
  transition: color var(--transition);
  white-space: nowrap;
}
.header-nav a:hover { color: var(--white); }
.btn-header-cta {
  flex-shrink: 0;
  background: var(--primary);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  padding: .55em 1.2em;
  border-radius: 50px;
  white-space: nowrap;
  transition: var(--transition);
}
.btn-header-cta:hover { background: var(--primary-dark); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  margin-left: auto;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 12px 0;
}
.mobile-menu.is-open { display: flex; }
.mobile-link {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  font-weight: 500;
  padding: 14px 28px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background var(--transition);
}
.mobile-link:hover { background: rgba(255,255,255,.07); }
.mobile-link.cta {
  color: var(--white);
  font-weight: 700;
  background: var(--primary);
  margin: 12px 20px;
  border-radius: 8px;
  text-align: center;
  border: none;
}

/* ====================================================
   HERO — センター縦型レイアウト
==================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 68px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% 60%, rgba(181,40,42,.28) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 20% 20%, rgba(200,155,60,.10) 0%, transparent 50%),
    linear-gradient(160deg, #080e1a 0%, #111e38 45%, #200c0c 100%);
}
/* ヒーロー上下の馴染み */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 50% 30%,
    rgba(181,40,42,.12) 0%, transparent 65%
  );
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 14, 26, 0.5) 0%,
    rgba(8, 14, 26, 0.0) 25%,
    rgba(8, 14, 26, 0.0) 70%,
    rgba(8, 14, 26, 0.6) 100%
  );
}

/* ---- センター縦型コンテナ ---- */
.hero-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding: 60px 24px 80px;
  width: 100%;
  max-width: 960px;
}

/* ---- ブランドライン ---- */
.hero-brand-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  animation: fadeInDown .6s ease both;
}
.hero-brand-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.hero-brand-label {
  font-family: var(--font-serif);
  font-size: clamp(.8rem, 1.6vw, 1rem);
  font-weight: 600;
  color: rgba(255,255,255,.7);
  letter-spacing: .16em;
  white-space: nowrap;
}

/* ---- メインキャッチ ---- */
.hero-main-catch {
  margin-bottom: 0;
  animation: fadeInDown .7s .05s ease both;
}
.hero-catch-tag {
  display: inline-block;
  font-size: clamp(.62rem, 1.1vw, .78rem);
  font-weight: 700;
  letter-spacing: .28em;
  color: var(--gold);
  border: 1px solid rgba(200,155,60,.55);
  padding: 5px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero-fc-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.0;
  margin-bottom: 16px;
}
.hero-fc-ruby {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.8vw, 2.8rem);
  font-weight: 900;
  letter-spacing: .22em;
  color: rgba(255,255,255,.75);
  margin-bottom: 4px;
  /* 上品な境界線 */
  position: relative;
}
.hero-fc-main {
  font-family: var(--font-serif);
  font-size: clamp(3.6rem, 9.5vw, 8rem);
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.0;
  background: linear-gradient(
    160deg,
    #ffffff 0%,
    #fff8e8 35%,
    #f5c842 60%,
    #e8a020 80%,
    #c89b3c 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 4px 32px rgba(245,200,66,.45));
}
.hero-fc-sub {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: rgba(255,255,255,.7);
  letter-spacing: .28em;
  margin-bottom: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.hero-fc-sub::before,
.hero-fc-sub::after {
  content: '';
  display: inline-block;
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,.3);
}

/* ---- 丼写真（センター） ---- */
.hero-bowl-center-wrap {
  position: relative;
  width: clamp(240px, 36vw, 440px);
  margin: 16px auto 0;
  pointer-events: none;
  user-select: none;
  animation: bowlFloat 7s ease-in-out infinite alternate;
  -webkit-mask-image: radial-gradient(
    ellipse 88% 86% at 50% 50%,
    black 52%,
    transparent 76%
  );
  mask-image: radial-gradient(
    ellipse 88% 86% at 50% 50%,
    black 52%,
    transparent 76%
  );
}
.hero-bowl-center-img {
  width: 100%;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 24px 56px rgba(0,0,0,.8))
    drop-shadow(0  8px 24px rgba(0,0,0,.55))
    brightness(1.08)
    contrast(1.06)
    saturate(1.12);
}
.hero-bowl-glow {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 30px;
  background: radial-gradient(ellipse, rgba(181,40,42,.5) 0%, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}
@keyframes bowlFloat {
  from { transform: translateY(0px)   scale(1); }
  to   { transform: translateY(-14px) scale(1.03); }
}

/* ---- タグライン ---- */
.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.5vw, 1.8rem);
  font-weight: 500;
  color: rgba(255,255,255,.88);
  letter-spacing: .1em;
  margin-bottom: 32px;
  animation: fadeInUp .8s .3s ease both;
}
.hero-tagline strong {
  color: var(--white);
  font-weight: 900;
}

/* ---- Facts バー ---- */
.hero-facts-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding: 18px 32px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50px;
  backdrop-filter: blur(6px);
  animation: fadeInUp .8s .4s ease both;
}
.hfact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: rgba(255,255,255,.8);
}
.hfact i { color: var(--gold); font-size: 1rem; }
.hfact strong { color: var(--white); font-weight: 900; font-size: 1.05rem; }
.hfact-sep {
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,.22);
}

/* ---- CTA ---- */
.hero-cta-wrap {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp .8s .5s ease both;
}

/* ---- 旧クラス互換（他セクションで参照されている場合に備え） ---- */
.hero-badge { display: none; }
.hero-content { display: none; }
.hero-facts  { display: none; }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.35);
  font-size: .65rem;
  letter-spacing: .2em;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollDown 1.5s ease-in-out infinite;
}
@keyframes scrollDown {
  0%,100% { opacity:.4; transform: scaleY(1); }
  50%      { opacity: 1; transform: scaleY(1.2); }
}

/* ====================================================
   ABOUT / BRAND STORY
==================================================== */
.about-section { background: var(--white); }

.brand-story-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
  margin-bottom: 52px;
}
.brand-lead {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.85;
  color: var(--gray-900);
  margin-bottom: 18px;
  border-left: 4px solid var(--primary);
  padding-left: 18px;
}
.brand-story-text p {
  font-size: .95rem;
  color: var(--gray-700);
  line-height: 1.9;
  margin-bottom: 14px;
}
.brand-story-text strong { color: var(--primary); }

/* History */
.brand-history {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  color: var(--white);
}
.history-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.history-list { list-style: none; }
.history-list li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  align-items: flex-start;
}
.history-list li:last-child { border-bottom: none; }
.history-year {
  font-size: .8rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  padding-top: 2px;
  flex-shrink: 0;
}
.history-desc {
  font-size: .88rem;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
}

/* Media Bar */
.media-bar {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.media-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--gray-700);
  letter-spacing: .08em;
  margin-bottom: 18px;
}
.media-label i { color: var(--primary); }
.media-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.media-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
}
.media-item:last-child { border-bottom: none; }
.media-show {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-900);
}
.media-date {
  font-size: .8rem;
  color: var(--gray-500);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ====================================================
   KODAWARI
==================================================== */
.kodawari-section { background: var(--gray-100); }

.kodawari-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.kodawari-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0 0 28px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  overflow: hidden;
}
.kodawari-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.kodawari-accent { border-top: 3px solid var(--primary); }

/* Image area inside kodawari card */
.kodawari-img-wrap {
  width: 100%;
  height: 180px;
  background: #f8f4f0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}
.kodawari-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 8px;
  transition: transform .4s ease;
}
.kodawari-card:hover .kodawari-img {
  transform: scale(1.06);
}

.kodawari-icon {
  width: 52px;
  height: 52px;
  background: rgba(181,40,42,.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 16px;
  margin-top: 24px;
  margin-left: 24px;
}
.kodawari-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  padding: 0 24px;
}
.kodawari-card p { font-size: .875rem; color: var(--gray-700); line-height: 1.8; padding: 0 24px; }
.kodawari-card strong { color: var(--primary); }

/* Sub items (チャーシュー・メンマ) */
.kodawari-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
.kodawari-sub-item {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

/* Sub item image */
.kodawari-sub-img-wrap {
  flex: 0 0 160px;
  min-height: 140px;
  background: #f8f4f0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kodawari-sub-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  transition: transform .4s ease;
}
.kodawari-sub-item:hover .kodawari-sub-img {
  transform: scale(1.06);
}
.kodawari-sub-img-placeholder {
  font-size: 2.8rem;
  color: var(--primary);
  opacity: .4;
}
.kodawari-sub-text {
  flex: 1;
  padding: 20px 22px;
}
.kodawari-sub-text h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.kodawari-sub-text h4 i { color: var(--primary); font-size: .85rem; }
.kodawari-sub-text p { font-size: .85rem; color: var(--gray-700); line-height: 1.7; }

/* Menu 2種 — リニューアル */
.menu-section { margin-bottom: 40px; }
.menu-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: .06em;
}
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.menu-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.menu-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,.18); }
.menu-red  { border-top: 5px solid #b5282a; }
.menu-black{ border-top: 5px solid #1f2937; }

.menu-card-inner { display: flex; flex-direction: column; height: 100%; }

/* 写真エリア */
.menu-img-wrap {
  width: 100%;
  height: 220px;
  background: #f5f0ec;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform .5s ease;
}
.menu-card:hover .menu-img { transform: scale(1.07); }

/* テキストエリア */
.menu-body {
  flex: 1;
  padding: 24px 28px 28px;
  color: var(--white);
}
.menu-red  .menu-body { background: linear-gradient(160deg, #9b1c1c 0%, #b5282a 100%); }
.menu-black .menu-body { background: linear-gradient(160deg, #1a1a2e 0%, #2d3561 100%); }

/* 丸マーク + 名前行 */
.menu-mark-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.menu-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: .05em;
  flex-shrink: 0;
}
.menu-mark-red   { background: #fff; color: #b5282a; border: 3px solid rgba(255,255,255,.6); }
.menu-mark-black { background: #fff; color: #1a1a2e; border: 3px solid rgba(255,255,255,.4); }
.menu-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: .06em;
}
.menu-catch {
  font-size: .85rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 16px;
  line-height: 1.6;
  font-style: italic;
}
.menu-card ul { list-style: none; }
.menu-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .9rem;
  color: rgba(255,255,255,.9);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.menu-card li:last-child { border-bottom: none; }
.menu-card li i { color: rgba(255,255,255,.55); flex-shrink: 0; margin-top: 3px; }

/* Topping */
.topping-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  text-align: center;
  border: 1px solid var(--gray-200);
}
.topping-label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.topping-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.topping-item {
  background: rgba(181,40,42,.08);
  color: var(--primary);
  font-size: .85rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid rgba(181,40,42,.2);
}

/* ====================================================
   MERIT
==================================================== */
.merit-section { background: var(--navy); }
.merit-section .section-tag  { background: var(--accent); }
.merit-section .section-title { color: var(--white); }
.merit-section .section-desc  { color: rgba(255,255,255,.7); }

.merit-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.merit-item {
  display: grid;
  grid-template-columns: 64px 1fr 56px;
  align-items: center;
  gap: 24px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.merit-item.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s ease;
}
.merit-item:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
}
.merit-num {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -.02em;
}
.merit-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.merit-body p {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  line-height: 1.75;
}
.merit-body p strong { color: #fbbf24; }
.merit-icon {
  font-size: 1.6rem;
  color: rgba(255,255,255,.13);
  text-align: center;
}

/* ====================================================
   OVERVIEW
==================================================== */
.overview-section { background: var(--white); }

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  margin-bottom: 40px;
  align-items: start;
}
.overview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .925rem;
}
.overview-table th,
.overview-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-200);
  text-align: left;
  vertical-align: top;
}
.overview-table th {
  width: 38%;
  font-weight: 700;
  color: var(--navy);
  background: var(--gray-100);
  white-space: nowrap;
}
.overview-table td { color: var(--gray-700); }
.overview-table tr:last-child th,
.overview-table tr:last-child td { border-bottom: none; }

.spec-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  color: var(--white);
}
.spec-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 18px;
}
.spec-list { list-style: none; }
.spec-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: rgba(255,255,255,.82);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.spec-list li:last-child { border-bottom: none; }
.spec-list i { color: var(--gold); font-size: .8rem; }
.spec-note {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  margin-top: 14px;
  line-height: 1.6;
}

.overview-cta {
  text-align: center;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
}
.overview-cta p {
  font-size: .95rem;
  color: var(--gray-700);
  margin-bottom: 20px;
  line-height: 1.7;
}
.overview-cta strong { color: var(--primary); }

/* ====================================================
   FLOW
==================================================== */
.flow-section { background: var(--gray-100); }

/* ====== タイムライン縦型フロー ====== */
.flow-timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.flow-tl-item {
  display: grid;
  grid-template-columns: 90px 32px 1fr;
  gap: 0 16px;
  align-items: stretch;
  margin-bottom: 0;
}

/* 左側バッジ列 */
.flow-tl-left {
  display: flex;
  align-items: flex-start;
  padding-top: 16px;
  justify-content: flex-end;
}
.flow-tl-badge {
  background: var(--navy);
  color: var(--white);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 5px 10px;
  border-radius: 50px;
  white-space: nowrap;
}
.flow-tl-badge-key  { background: var(--primary); }
.flow-tl-badge-open {
  background: linear-gradient(135deg, #c89b3c, #e2b84a);
  color: #1a1a1a;
  font-size: .72rem;
  padding: 6px 12px;
}

/* 中央ライン列 */
.flow-tl-line-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.flow-tl-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gray-300);
  flex-shrink: 0;
  margin-top: 18px;
  z-index: 1;
}
.flow-tl-dot-key  { border-color: var(--primary); background: var(--primary); }
.flow-tl-dot-open { border-color: #c89b3c; background: #c89b3c; width: 22px; height: 22px; }
.flow-tl-vline {
  flex: 1;
  width: 2px;
  background: linear-gradient(to bottom, var(--gray-200) 0%, var(--gray-200) 100%);
  margin-top: 2px;
}

/* 右側カード列 */
.flow-tl-right {
  padding: 10px 0 24px;
}
.flow-tl-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
}
.flow-tl-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.flow-tl-card-key {
  border-color: rgba(181,40,42,.3);
  border-left: 4px solid var(--primary);
  background: #fff8f8;
}
.flow-tl-card-open {
  border-color: rgba(200,155,60,.4);
  border-left: 4px solid #c89b3c;
  background: #fffdf5;
}

.flow-tl-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(181,40,42,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--primary);
  flex-shrink: 0;
}
.flow-tl-card-key  .flow-tl-icon { background: rgba(181,40,42,.12); }
.flow-tl-card-open .flow-tl-icon { background: rgba(200,155,60,.15); color: #a07820; }

.flow-tl-text { flex: 1; }
.flow-tl-text h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.4;
}
.flow-tl-text p {
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.75;
}
.flow-tl-text strong { color: var(--primary); }

.flow-tl-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(181,40,42,.1);
  color: var(--primary);
}
.flow-tl-tag-open {
  background: rgba(200,155,60,.15);
  color: #a07820;
}

/* OPEN行は縦ラインなし */
.flow-tl-open .flow-tl-vline { display: none; }

/* ハイライト行 */
.flow-tl-highlight .flow-tl-badge { font-size: .7rem; padding: 6px 12px; }

/* ====================================================
   SHINNEN（信念）
==================================================== */
.shinnen-section {
  background: linear-gradient(160deg, #0d1520 0%, #1a2744 60%, #2c1515 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.shinnen-section::before {
  content: '信';
  position: absolute;
  top: -60px;
  right: -40px;
  font-family: var(--font-serif);
  font-size: 22rem;
  font-weight: 900;
  color: rgba(255,255,255,.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.shinnen-section .section-tag  { background: var(--gold, #c89b3c); color: #1a1a1a; }
.shinnen-section .section-title { color: var(--white); }
.shinnen-section .section-desc  { color: rgba(255,255,255,.65); }

/* 信念 — 画像表示 */
.shinnen-img-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* 白背景画像をダーク背景に自然に馴染ませる
     hue-rotateなし: 画像内の赤はそのまま保持 */
  box-shadow:
    0 8px 48px rgba(0,0,0,.55),
    0 2px 16px rgba(0,0,0,.35);
}
.shinnen-img {
  width: 100%;
  height: auto;
  display: block;
  /* brightness を少し落として白背景をくすませ暗い背景に近づける
     saturate・hue-rotateは触らず赤文字を保持 */
  filter:
    brightness(.92)
    contrast(1.05);
}

/* ====================================================
   FAQ
==================================================== */
.faq-section { background: var(--white); }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: var(--primary); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: .92rem;
  font-weight: 700;
  color: var(--gray-900);
  text-align: left;
  transition: background var(--transition);
}
.faq-q:hover { background: var(--gray-100); }
.faq-q[aria-expanded="true"] { background: rgba(181,40,42,.05); color: var(--primary); }
.faq-q span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.faq-q span i { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.faq-arrow {
  color: var(--gray-500);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-q[aria-expanded="true"] .faq-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}
.faq-a {
  display: none;
  padding: 0 24px 20px 44px;
  font-size: .88rem;
  color: var(--gray-700);
  line-height: 1.85;
  animation: fadeIn .25s ease;
}
.faq-a.is-open { display: block; }

/* ====================================================
   CONTACT
==================================================== */
.contact-section { background: var(--gray-100); }

.contact-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info { padding-top: 8px; }
.contact-info h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-info h3 i { color: var(--primary); }
.contact-points ul { list-style: none; margin-bottom: 32px; }
.contact-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: var(--gray-700);
  padding: 9px 0;
  border-bottom: 1px solid var(--gray-200);
  line-height: 1.6;
}
.contact-points li:last-child { border-bottom: none; }
.contact-points li i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.contact-address { padding-top: 4px; }
.contact-address p {
  font-size: .875rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 6px;
}
.contact-company {
  font-weight: 700;
  color: var(--navy) !important;
  font-size: .875rem;
  margin-top: 12px !important;
}
/* Google Map */
.gmap-wrap {
  margin-top: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  line-height: 0;
}
.gmap-wrap iframe {
  display: block;
  width: 100%;
  height: 200px;
}
.gmap-link {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--primary);
  transition: opacity var(--transition);
}
.gmap-link:hover { opacity: .75; }

.hours-table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 8px;
  font-size: .875rem;
}
.hours-table th,
.hours-table td {
  padding: 5px 10px 5px 0;
  vertical-align: top;
  line-height: 1.6;
}
.hours-table th {
  white-space: nowrap;
  color: var(--navy);
  font-weight: 700;
  width: 5em;
  padding-right: 12px;
}
.hours-table td {
  color: var(--gray-700);
}
.hours-table tr:not(:last-child) th,
.hours-table tr:not(:last-child) td {
  border-bottom: 1px solid var(--gray-200);
}

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}
.form-group.full-width { width: 100%; }
label {
  font-size: .85rem;
  font-weight: 700;
  color: var(--gray-700);
}
.required {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}
.optional {
  display: inline-block;
  background: var(--gray-300);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}
input[type=text],
input[type=email],
input[type=tel],
select,
textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: .9rem;
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(181,40,42,.1);
  background: var(--white);
}
input.error, select.error, textarea.error {
  border-color: #ef4444;
  background: #fff5f5;
}
.error-msg {
  font-size: .78rem;
  color: #ef4444;
  min-height: 1em;
}
textarea { resize: vertical; min-height: 100px; }
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
}
.checkbox-label input { width: 18px; height: 18px; accent-color: var(--primary); }
.checkbox-label a { color: var(--primary); text-decoration: underline; }
.btn-submit {
  width: 100%;
  margin-top: 8px;
  font-size: 1rem;
  padding: 1.1em;
}

/* Success */
.form-success {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.success-icon { font-size: 3.5rem; color: #22c55e; margin-bottom: 20px; }
.form-success h3 { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.form-success p { font-size: .95rem; color: var(--gray-700); line-height: 1.8; }

/* ====================================================
   FOOTER
==================================================== */
.site-footer { background: var(--navy); color: var(--white); }
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 24px 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.logo-sub-footer {
  display: block;
  font-size: .68rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 2px;
}
.logo-main-footer {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-company {
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  margin-bottom: 4px;
}
.footer-addr {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 10px;
}
.footer-desc {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
}
.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.footer-nav-col h4 {
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.footer-nav-col a {
  display: block;
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 10px;
  transition: color var(--transition);
  line-height: 1.5;
}
.footer-nav-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 24px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .78rem;
  color: rgba(255,255,255,.3);
}
.footer-legal a { color: rgba(255,255,255,.3); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ====================================================
   FLOATING CTA
==================================================== */
.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}
.floating-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.btn-floating {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  padding: .85em 1.4em;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(181,40,42,.5);
  transition: var(--transition);
}
.btn-floating:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ====================================================
   ANIMATIONS
==================================================== */
@keyframes fadeInDown {
  from { opacity:0; transform: translateY(-16px); }
  to   { opacity:1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity:0; transform: translateY(20px); }
  to   { opacity:1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity:0; }
  to   { opacity:1; }
}

/* ====================================================
   RESPONSIVE
==================================================== */
@media (max-width: 1024px) {
  .header-nav { display: none; }
  .btn-header-cta { display: none; }
  .hamburger { display: flex; }

  .brand-story-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .kodawari-main { grid-template-columns: 1fr 1fr; }
  .overview-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }

  /* フロー */
  .flow-tl-item { grid-template-columns: 70px 28px 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 36px; }

  /* ヒーロー モバイル調整 */
  .hero-center { padding: 48px 20px 68px; }
  .hero-brand-label { font-size: .78rem; letter-spacing: .1em; }
  .hero-fc-main {
    font-size: clamp(3rem, 14vw, 4.8rem);
    letter-spacing: .08em;
  }
  .hero-fc-ruby { font-size: clamp(1.1rem, 4.5vw, 1.6rem); }
  .hero-fc-sub  { font-size: clamp(.9rem, 3.5vw, 1.2rem); gap: 10px; }
  .hero-fc-sub::before,
  .hero-fc-sub::after { width: 28px; }
  .hero-bowl-center-wrap {
    width: clamp(200px, 62vw, 320px);
    margin-top: 8px;
  }
  .hero-tagline { font-size: clamp(1rem, 4vw, 1.4rem); margin-bottom: 24px; }
  .hero-facts-bar {
    padding: 14px 20px;
    gap: 8px 14px;
    border-radius: 16px;
  }
  .hfact { font-size: .82rem; }
  .hfact-sep { height: 18px; }
  .hero-cta-wrap { flex-direction: column; align-items: stretch; }
  .hero-cta-wrap a { text-align: center; }

  .kodawari-main { grid-template-columns: 1fr; }
  .kodawari-img-wrap { height: 200px; }
  .kodawari-sub  { grid-template-columns: 1fr; }
  .kodawari-sub-img-wrap { flex: 0 0 120px; min-height: 120px; }
  .menu-grid     { grid-template-columns: 1fr; }
  .menu-img-wrap { height: 200px; }

  .merit-item {
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 20px 18px;
  }
  .merit-icon { display: none; }
  .merit-num  { font-size: 1.6rem; }

  /* フロー タイムライン */
  .flow-tl-item { grid-template-columns: 56px 24px 1fr; gap: 0 10px; }
  .flow-tl-badge { font-size: .6rem; padding: 4px 8px; }
  .flow-tl-card { padding: 14px 16px; gap: 12px; }
  .flow-tl-icon { width: 38px; height: 38px; font-size: 1rem; }
  .flow-tl-text h3 { font-size: .9rem; }
  .flow-tl-text p  { font-size: .8rem; }

  /* 信念 画像 */
  .shinnen-img-wrap { border-radius: var(--radius); }

  .contact-form { padding: 22px 18px; }

  .media-item { flex-direction: column; align-items: flex-start; gap: 4px; }

  .footer-inner  { padding: 36px 24px 24px; }
  .footer-nav    { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .floating-cta { bottom: 18px; right: 14px; }
  .btn-floating { font-size: .78rem; padding: .7em 1.1em; }
}
