/* ========================================
   MEDICAL FRIEND - DESIGN SYSTEM
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@600;700&display=swap');

/* ---- VARIABLES ---- */
:root {
  --green-900: #1A6A8A;
  --green-800: #2E8FB0;
  --green-700: #5BB8D4;
  --green-600: #7ECAE0;
  --green-500: #A8DCEE;
  --green-100: #EAF6FB;
  --amber-700: #8B4A0A;
  --amber-500: #C06A1A;
  --amber-400: #E8943A;
  --amber-100: #FBF0E6;
  --gold:      #F5C842;
  --gray-900:  #111827;
  --gray-700:  #374151;
  --gray-600:  #4B5563;
  --gray-500:  #6B7280;
  --gray-300:  #D1D5DB;
  --gray-200:  #E5E7EB;
  --gray-100:  #F3F4F6;
  --white:     #FFFFFF;

  --font-serif: 'Noto Serif JP', 'YuMincho', 'Yu Mincho', serif;
  --font-sans:  'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.13);

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --max-w: 1080px;
  --h-h:  70px;
  --ease: 0.22s ease;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: pointer; font-family: var(--font-sans); }

/* ---- TYPOGRAPHY ---- */
h1, h2 {
  font-family: var(--font-serif);
  line-height: 1.5;
  color: var(--gray-900);
}
h3, h4 {
  font-family: var(--font-sans);
  line-height: 1.5;
  color: var(--gray-900);
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p  { color: var(--gray-600); line-height: 1.9; }

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section     { padding: 96px 0; }
.section-alt { background: #FDF8F0; }  /* 温かみのあるクリーム */

/* ---- SECTION HEADER ---- */
.sec-hd { text-align: center; margin-bottom: 60px; }
.sec-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 10px;
}
.sec-title {
  margin-bottom: 0;
  position: relative;
  display: inline-block;
}
.sec-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #E07A30;
  border-radius: 2px;
  margin: 14px auto 0;
}
.sec-desc {
  color: var(--gray-500);
  font-size: 0.92rem;
  max-width: 500px;
  margin: 18px auto 0;
}

/* ===========================
   NAVIGATION
   =========================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--h-h);
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  transition: box-shadow var(--ease), border-color var(--ease);
}
.header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo { line-height: 1; display: flex; align-items: center; }
.logo-img { height: 44px; width: auto; display: block; }
.logo-main { display: block; font-size: 1rem; font-weight: 800; color: var(--green-800); }
.logo-sub  { display: block; font-size: 0.6rem; color: var(--gray-500); letter-spacing: 0.06em; margin-top: 1px; }

.nav { display: flex; align-items: center; gap: 0; }
.nav-link {
  display: inline-block;
  padding: 8px 13px;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  transition: color var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 13px; right: 13px;
  height: 2px;
  background: var(--green-700);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--ease);
}
.nav-link:hover        { color: var(--green-700); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active       { color: var(--green-700); }
.nav-link.active::after{ transform: scaleX(1); }

.nav-cta {
  margin-left: 10px;
  background: var(--green-700);
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.87rem;
  transition: background var(--ease), transform var(--ease);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover  { background: var(--green-800); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--gray-700); border-radius: 2px; transition: var(--ease);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--h-h); left: 0; right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  border-top: 2px solid var(--green-100);
}
.mobile-nav.open { display: block; }
.mobile-nav-link {
  display: block;
  padding: 15px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  transition: color var(--ease), background var(--ease);
}
.mobile-nav-link:hover { color: var(--green-700); background: var(--green-100); }
.mobile-nav-cta {
  display: block;
  margin: 12px 16px;
  padding: 14px;
  background: var(--green-700);
  color: var(--white) !important;
  text-align: center;
  border-radius: 50px;
  font-weight: 700;
  border-bottom: none !important;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  transition: all var(--ease);
  line-height: 1;
  white-space: nowrap;
}
.btn-green {
  background: var(--green-700);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(91,184,212,0.28);
}
.btn-green:hover { background: var(--green-800); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(91,184,212,0.36); }

.btn-accent {
  background: #E07A30;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(224,122,48,0.32);
}
.btn-accent:hover { background: #C5621C; transform: translateY(-2px); }

.btn-ghost-white {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.22); border-color: var(--white); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--green-700);
  border: 2px solid var(--green-700);
}
.btn-outline:hover { background: var(--green-700); color: var(--white); transform: translateY(-2px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green-700);
  font-size: 0.88rem;
  font-weight: 700;
  transition: gap var(--ease);
}
.text-link:hover { gap: 8px; }

/* ===========================
   HERO
   =========================== */
.hero {
  display: block;
  padding-top: var(--h-h);
}

/* 写真グリッド */
.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 290px);
}
.hero-grid-cell {
  overflow: hidden;
  position: relative;
}
.hero-grid-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.hero-grid-cell:hover img { transform: scale(1.06); }

/* 中央テキストセル */
.hero-grid-center {
  background: #F0F8FC;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 28px;
  text-align: center;
  border-left: 1px solid rgba(0,0,0,0.06);
  border-right: 1px solid rgba(0,0,0,0.06);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-700);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--green-600);
}

.hero h1 {
  color: var(--gray-800);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.5;
  margin-bottom: 24px;
  font-weight: 700;
}
.hero h1 em {
  font-style: normal;
  color: var(--green-700);
}

.hero-lead {
  color: var(--gray-600);
  font-size: 0.82rem;
  line-height: 1.85;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  width: 100%;
  margin-bottom: 18px;
}
.hero-actions .btn { width: 100%; font-size: 0.88rem; padding: 11px 20px; }

.hero-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray-500);
  font-size: 0.72rem;
}
.hero-tel a {
  color: var(--green-800);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* Stats bar */
.hero-statsbar {
  background: var(--green-700);
  border-top: 3px solid var(--green-600);
}
.stat-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.stat-item {
  flex: 1;
  max-width: 240px;
  padding: 22px 24px;
  text-align: center;
}
.stat-sep {
  width: 1px;
  background: rgba(255,255,255,0.2);
  margin: 14px 0;
}
.stat-num {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 4px;
  font-family: var(--font-serif);
}
.stat-desc {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.72);
}

/* ===========================
   PAGE HERO (inner pages)
   =========================== */
.page-hero {
  background: linear-gradient(150deg, var(--green-900) 0%, var(--green-800) 100%);
  padding: calc(var(--h-h) + 56px) 0 56px;
  text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,0.72); font-size: 0.95rem; margin-top: 10px; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 16px;
  font-size: 0.78rem; color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: rgba(255,255,255,0.72); transition: color var(--ease); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.35); }

/* ===========================
   FEATURE CARDS (numbered)
   =========================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--gray-200);
  border: 2px solid var(--gray-200);
  border-radius: var(--r-md);
  overflow: hidden;
}
.feature-card {
  background: var(--white);
  padding: 44px 36px 40px;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--ease);
}
.feature-card:hover { box-shadow: var(--shadow-md); z-index: 1; }
.feature-card::before {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background: #E07A30;
  border-radius: 2px;
  margin-bottom: 20px;
}
.feature-num {
  position: absolute;
  top: 18px; right: 20px;
  font-size: 5rem;
  font-weight: 900;
  color: var(--green-100);
  line-height: 1;
  font-family: 'Georgia', serif;
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
}
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; }
.feature-card p  { font-size: 0.87rem; color: var(--gray-600); line-height: 1.85; }

/* ===========================
   SERVICE CARDS
   =========================== */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 40px 36px;
  border: 1.5px solid var(--gray-200);
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.service-card:hover {
  border-color: var(--green-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-icon {
  width: 56px; height: 56px;
  background: var(--green-100);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg {
  width: 28px; height: 28px;
  stroke: var(--green-700);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 { font-size: 1.05rem; margin-bottom: 12px; }
.service-card p  { font-size: 0.87rem; color: var(--gray-600); line-height: 1.85; margin-bottom: 22px; }

/* ===========================
   BLOG CARDS
   =========================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.blog-thumb {
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.blog-thumb.c-green  { background: linear-gradient(135deg, #1A6A8A, #2E8FB0); }
.blog-thumb.c-amber  { background: linear-gradient(135deg, #6B3710, #B86B0A); }
.blog-thumb.c-purple { background: linear-gradient(135deg, #2D1B4E, #553590); }
.blog-thumb.c-teal   { background: linear-gradient(135deg, #0D3B3B, #1A7A6B); }
.blog-thumb.c-rust   { background: linear-gradient(135deg, #4A1A0A, #8B3012); }

.blog-thumb-word {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.12);
  font-family: 'Georgia', serif;
  letter-spacing: -0.03em;
  user-select: none;
}

.blog-body { padding: 20px; }
.blog-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.blog-date  { font-size: 0.75rem; color: var(--gray-500); }
.blog-cat   {
  font-size: 0.7rem; font-weight: 700;
  background: var(--green-100); color: var(--green-700);
  padding: 2px 10px; border-radius: 50px;
}
/* カテゴリー別カラー */
.blog-cat.c-info  { background: #E6F4EB; color: #155E35; }
.blog-cat.c-out   { background: #E3F4F8; color: #0A5878; }
.blog-cat.c-party { background: #F0EAF8; color: #5B2D8E; }
.blog-cat.c-other { background: var(--gray-100); color: var(--gray-600); }
.blog-title {
  font-size: 0.93rem; font-weight: 700; line-height: 1.55;
  color: var(--gray-900); margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-excerpt {
  font-size: 0.82rem; color: var(--gray-500); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.read-more {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--green-700); font-size: 0.82rem; font-weight: 700;
  margin-top: 12px; transition: gap var(--ease);
}
.read-more:hover { gap: 8px; }

/* Blog list */
.blog-list-item {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 22px;
  display: flex; gap: 22px;
  border: 1.5px solid var(--gray-200);
  margin-bottom: 14px;
  transition: transform var(--ease), box-shadow var(--ease);
}
.blog-list-item:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.blog-list-thumb {
  width: 130px; height: 100px; flex-shrink: 0;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
}
.blog-list-body { flex: 1; }

.blog-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-btn {
  padding: 7px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-600);
  font-size: 0.87rem; font-weight: 600;
  cursor: pointer;
  transition: all var(--ease);
  font-family: var(--font-sans);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--green-700);
  background: var(--green-700);
  color: var(--white);
}

/* ===========================
   MENU CARDS
   =========================== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.menu-card {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}
.menu-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.menu-img {
  height: 172px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 6px;
}
.menu-img.mi-morning { background: linear-gradient(135deg, #FEF9C3, #FDE68A); }
.menu-img.mi-noon    { background: linear-gradient(135deg, #DCFCE7, #86EFAC); }
.menu-img.mi-evening { background: linear-gradient(135deg, #DBEAFE, #93C5FD); }
.menu-img.mi-spring  { background: linear-gradient(135deg, #FEE2E2, #FCA5A5); }
.menu-img.mi-summer  { background: linear-gradient(135deg, #CCFBF1, #5EEAD4); }
.menu-img.mi-autumn  { background: linear-gradient(135deg, #FFEDD5, #FCA07A); }
.menu-img.mi-winter  { background: linear-gradient(135deg, #EDE9FE, #C4B5FD); }
.menu-img.mi-new     { background: linear-gradient(135deg, #FEF2F2, #FCA5A5); }

.menu-img-jp {
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(0,0,0,0.12);
  font-family: var(--font-serif);
}
.menu-img-en {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.25);
}
.menu-body { padding: 18px 20px; }
.menu-type { display: inline-block; background: var(--green-700); color: white; font-size: 0.7rem; font-weight: 700; padding: 2px 12px; border-radius: 50px; margin-bottom: 10px; }
.menu-name { font-size: 0.97rem; font-weight: 700; margin-bottom: 8px; }
.menu-items { font-size: 0.83rem; color: var(--gray-600); line-height: 1.8; }
.menu-tag { display: inline-block; background: var(--green-100); color: var(--green-700); font-size: 0.7rem; font-weight: 600; padding: 2px 9px; border-radius: 50px; margin-top: 10px; margin-right: 4px; }

/* ===========================
   MENU DETAIL (献立例 実写真レイアウト)
   =========================== */
.menu-detail {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--gray-200);
}
.menu-detail:last-child { border-bottom: none; margin-bottom: 0; }
.menu-detail-photo {
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.menu-detail-photo img {
  width: 100%; height: 300px;
  object-fit: cover; display: block;
}
.menu-detail-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--green-800);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-600);
  margin-bottom: 20px;
}
.menu-detail-list {
  list-style: none;
  counter-reset: menu-c;
  margin-bottom: 20px;
}
.menu-detail-list li {
  counter-increment: menu-c;
  display: flex; align-items: center; gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.93rem;
  color: var(--gray-700);
}
.menu-detail-list li::before {
  content: counter(menu-c);
  width: 26px; height: 26px; flex-shrink: 0;
  background: var(--green-600); color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700;
}
.menu-detail-info {
  text-align: right;
  font-size: 0.88rem;
  color: var(--gray-500);
  font-weight: 600;
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
}

@media (max-width: 768px) {
  .menu-detail { grid-template-columns: 1fr; gap: 20px; }
  .menu-detail-photo img { height: 220px; }
}

/* ===========================
   TABLE
   =========================== */
.info-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--gray-200);
}
.info-table th, .info-table td {
  padding: 17px 24px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.92rem;
}
.info-table th {
  background: var(--green-100);
  color: var(--green-800);
  font-weight: 700;
  width: 180px;
  white-space: nowrap;
}
.info-table td { background: var(--white); color: var(--gray-700); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }

/* 献立例テーブル */
.menu-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  line-height: 1.6;
}
.menu-table thead th {
  background: var(--green-700);
  color: white;
  font-weight: 700;
  padding: 10px 10px;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.15);
}
.menu-table tbody td {
  padding: 8px 10px;
  border: 1px solid var(--gray-200);
  vertical-align: top;
  color: var(--gray-700);
  background: var(--white);
}
.menu-table tbody tr:hover td { background: var(--green-100); }
.menu-table tbody td:first-child,
.menu-table tbody td:nth-child(2) {
  text-align: center;
  color: var(--gray-500);
  font-weight: 700;
  white-space: nowrap;
  width: 28px;
}
.menu-table-rest td {
  background: var(--gray-100) !important;
  color: var(--gray-400) !important;
  text-align: center;
}

/* ===========================
   FLOW
   =========================== */
.flow-wrap {
  display: flex;
  flex-direction: column;
  max-width: 640px;
  margin: 0 auto;
}
.flow-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  grid-template-rows: auto auto;
  column-gap: 20px;
  row-gap: 2px;
  text-align: left;
  padding: 22px 28px;
  background: white;
  border-radius: var(--r-md);
  border: 1.5px solid var(--gray-200);
  position: relative;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}
.flow-step::after {
  content: '↓';
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.3rem;
  color: var(--green-700);
  line-height: 1;
}
.flow-step:last-child::after { display: none; }
.flow-num {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  width: 52px; height: 52px;
  background: var(--green-700);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800;
  box-shadow: 0 4px 12px rgba(91,184,212,0.3);
  flex-shrink: 0;
}
.flow-title { font-size: 0.95rem; font-weight: 700; color: var(--gray-900); }
.flow-desc  { font-size: 0.82rem; color: var(--gray-500); line-height: 1.7; }

/* ===========================
   心・食・健 CARDS
   =========================== */
.shinshokou-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.shinshokou-card {
  padding: 52px 36px 44px;
  color: white;
}
.shinshokou-kanji {
  font-size: 5rem;
  font-family: var(--font-serif);
  font-weight: 700;
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.shinshokou-sub {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.shinshokou-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 14px;
}
.shinshokou-card p {
  font-size: 0.87rem;
  line-height: 1.95;
  color: rgba(255,255,255,0.82);
}

/* ===========================
   MERIT LIST
   =========================== */
.merit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.merit-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--white);
  border-radius: var(--r-sm);
  padding: 18px;
  border: 1.5px solid var(--gray-200);
}
.merit-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--green-100);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.merit-icon svg {
  width: 20px; height: 20px;
  stroke: var(--green-700);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.merit-body h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 4px; }
.merit-body p  { font-size: 0.8rem; color: var(--gray-600); }

/* ===========================
   CONTACT
   =========================== */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 52px; align-items: start; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--gray-200);
}
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--green-100);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg {
  width: 22px; height: 22px;
  stroke: var(--green-700);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.contact-lbl  { font-size: 0.74rem; color: var(--gray-500); margin-bottom: 3px; }
.contact-val  { font-size: 0.98rem; font-weight: 700; color: var(--gray-700); }
.contact-val a { color: var(--green-700); }

.form-wrap {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 38px;
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 18px; }
.form-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.88rem; font-weight: 700;
  margin-bottom: 7px; color: var(--gray-700);
}
.form-req { background: #DC2626; color: white; font-size: 0.65rem; font-weight: 700; padding: 1px 6px; border-radius: 3px; }
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--r-sm);
  font-size: 0.92rem; font-family: var(--font-sans);
  color: var(--gray-700); background: var(--white);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(91,184,212,0.1);
}
.form-textarea { resize: vertical; min-height: 130px; }
.form-privacy {
  font-size: 0.78rem; color: var(--gray-500);
  background: var(--gray-100);
  border-radius: var(--r-sm);
  padding: 13px; margin-bottom: 18px; line-height: 1.7;
}
.alert { padding: 16px 20px; border-radius: var(--r-sm); font-size: 0.88rem; border-left: 4px solid; display: none; margin-bottom: 18px; }
.alert-success { background: #F0FDF4; border-color: #16A34A; color: #15803D; }

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
  background: #FFF6EC;
  border-top: 4px solid #E07A30;
  border-bottom: none;
  padding: 96px 0;
  text-align: center;
}
.cta-section h2 { color: var(--gray-900); margin-bottom: 14px; }
.cta-section p  { color: var(--gray-600); margin-bottom: 40px; font-size: 1rem; }
/* 電話ボタンは明るい背景に合わせてダークアウトライン */
.cta-section .btn-ghost-white {
  background: transparent;
  color: var(--gray-700);
  border: 2px solid var(--gray-300);
}
.cta-section .btn-ghost-white:hover {
  background: rgba(0,0,0,0.04);
  border-color: var(--gray-500);
  color: var(--gray-900);
  transform: translateY(-2px);
}
.cta-actions    { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: #1E7A96;
  color: rgba(255,255,255,0.85);
  padding: 64px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 52px; margin-bottom: 52px; }
.footer-brand { font-size: 0.98rem; font-weight: 800; color: white; margin-bottom: 14px; }
.footer-txt  { font-size: 0.82rem; line-height: 1.9; color: rgba(255,255,255,0.72); }
.footer-hd   { font-size: 0.75rem; font-weight: 700; color: white; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 16px; }
.footer-link {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  padding: 5px 0;
  transition: color var(--ease), padding-left var(--ease);
}
.footer-link:hover { color: var(--gold); padding-left: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex; justify-content: space-between;
  font-size: 0.75rem; color: rgba(255,255,255,0.28);
}

/* ===========================
   SCROLL TOP
   =========================== */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  background: var(--green-700);
  color: white;
  border: none; border-radius: 50%;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; z-index: 997;
  transition: all var(--ease);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover   { background: var(--green-800); transform: translateY(-3px); }

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in    { animation: fadeUp 0.65s both; }
.fade-in-d1 { animation: fadeUp 0.65s 0.12s both; }
.fade-in-d2 { animation: fadeUp 0.65s 0.24s both; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ===========================
   UTILITIES
   =========================== */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-24 { margin-bottom: 24px; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid     { grid-template-columns: repeat(2, 1fr); }
  .menu-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .flow-wrap     { max-width: 100%; }
  .shinshokou-grid { grid-template-columns: 1fr; }
  .stat-row { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  :root { --h-h: 62px; }
  .section { padding: 48px 0; }
  p { line-height: 1.7; }
  .nav { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .hero-grid-cell { height: 200px; }
  .hero-grid-cell:nth-child(n+2) { display: none; }
  .hero-grid-center { padding: 28px 20px; }
  .hero h1 { line-height: 1.45; }
  .hero-actions { flex-direction: row; }
  .hero-actions .btn { width: auto; }
  .features-grid,
  .service-grid,
  .blog-grid,
  .menu-grid    { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .merit-list { grid-template-columns: 1fr; }
  .flow-wrap  { max-width: 100%; }
  .shinshokou-grid { grid-template-columns: 1fr; }
  .blog-list-item { flex-direction: column; }
  .blog-list-thumb { width: 100%; height: 150px; }
  .info-table th { width: 110px; }
  .features-grid { gap: 0; border-radius: 0; }
  .feature-card { border-bottom: 2px solid var(--gray-200); }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.3rem; line-height: 1.45; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .flow-wrap { max-width: 100%; }
  .info-table { display: block; overflow-x: auto; }
}
