/* Phoenix Recipe Note — Global Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg:       #FAFAF8;
  --color-surface:  #F3EDE3;
  --color-card:     #FFFFFF;
  --color-accent:   #C94C1A;
  --color-accent2:  #E07B45;
  --color-text:     #1C1C1C;
  --color-muted:    #666666;
  --color-border:   #E0D8CC;
  --color-nav-bg:   #1C1C1C;
  --color-footer:   #1C1C1C;
  --font-sans:      'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --font-serif:     'Noto Serif JP', 'Hiragino Mincho Pro', serif;
  --radius:         6px;
  --shadow:         0 2px 12px rgba(0,0,0,0.07);
  --max-w:          1080px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ── HEADER ── */
.site-header {
  background: var(--color-nav-bg);
  color: #fff;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.site-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.site-logo .logo-main span { color: var(--color-accent2); }
.site-logo .logo-sub { font-size: 0.6rem; font-weight: 300; letter-spacing: 0.12em; color: #999; }

/* ── NAV ── */
.site-nav { display: flex; gap: 0; }
.site-nav a {
  color: #ccc;
  font-size: 0.8rem;
  padding: 0 0.8rem;
  height: 60px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.active {
  color: #fff;
  border-bottom-color: var(--color-accent2);
  text-decoration: none;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ── HERO ── */
.hero {
  background: var(--color-surface);
  padding: 3.5rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.hero-tag {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}
.hero p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.9;
}

/* ── PAGE HERO ── */
.page-hero {
  background: var(--color-surface);
  padding: 2.2rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.breadcrumb { font-size: 0.76rem; color: var(--color-muted); margin-bottom: 0.65rem; }
.breadcrumb a { color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb span { margin: 0 0.35rem; }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.page-hero p { font-size: 0.86rem; color: var(--color-muted); }

/* ── MAIN ── */
main { flex: 1; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 2.5rem 1.5rem; }
.container-sm { max-width: 720px; margin: 0 auto; padding: 2.5rem 1.5rem; }

/* ── SECTION TITLE ── */
.section-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 1.1em;
  background: var(--color-accent);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── GRIDS ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }

/* ── RECIPE CARD ── */
.recipe-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.recipe-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.recipe-card img { width: 100%; height: 195px; object-fit: cover; }
.recipe-card-body { padding: 0.95rem 1.05rem 1.1rem; }
.recipe-card-tag { font-size: 0.68rem; color: var(--color-accent); letter-spacing: 0.06em; margin-bottom: 0.25rem; font-weight: 500; }
.recipe-card h3 { font-family: var(--font-serif); font-size: 0.97rem; font-weight: 700; margin-bottom: 0.35rem; line-height: 1.5; }
.recipe-card p { font-size: 0.8rem; color: var(--color-muted); line-height: 1.7; }
.recipe-meta { display: flex; gap: 0.9rem; margin-top: 0.65rem; font-size: 0.74rem; color: var(--color-muted); }

/* ── ARTICLE ── */
.article-header { margin-bottom: 1.8rem; }
.article-tag {
  display: inline-block;
  background: var(--color-surface);
  color: var(--color-accent);
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  border: 1px solid var(--color-accent);
  margin-bottom: 0.7rem;
}
.article-title { font-family: var(--font-serif); font-size: clamp(1.25rem, 2.5vw, 1.65rem); font-weight: 700; line-height: 1.45; margin-bottom: 0.55rem; }
.article-meta { font-size: 0.78rem; color: var(--color-muted); display: flex; gap: 1.1rem; flex-wrap: wrap; }
.article-image { width: 100%; max-height: 390px; object-fit: cover; border-radius: var(--radius); margin: 1.4rem 0; border: 1px solid var(--color-border); }
.article-body h2 { font-family: var(--font-serif); font-size: 1.08rem; margin: 1.7rem 0 0.7rem; padding-left: 0.7rem; border-left: 3px solid var(--color-accent); }
.article-body p { margin-bottom: 0.95rem; font-size: 0.92rem; line-height: 1.9; }
.article-body ul, .article-body ol { padding-left: 1.4rem; margin-bottom: 0.95rem; }
.article-body li { font-size: 0.88rem; line-height: 1.9; margin-bottom: 0.25rem; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.1rem 0; font-size: 0.86rem; }
.article-body th { background: var(--color-surface); padding: 0.55rem 0.75rem; text-align: left; border: 1px solid var(--color-border); font-weight: 500; }
.article-body td { padding: 0.55rem 0.75rem; border: 1px solid var(--color-border); }
.article-body tr:nth-child(even) td { background: #FAFAF8; }

/* ── INFO BOX ── */
.info-box {
  background: var(--color-surface);
  border-left: 4px solid var(--color-accent);
  padding: 0.95rem 1.15rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.2rem 0;
  font-size: 0.87rem;
}
.info-box strong { display: block; margin-bottom: 0.25rem; color: var(--color-accent); }

/* ── STEPS ── */
.steps { counter-reset: step; list-style: none; padding: 0; margin-bottom: 1.4rem; }
.steps li {
  counter-increment: step;
  display: flex;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.88rem;
  line-height: 1.8;
}
.steps li::before {
  content: counter(step);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ── TIP CARD ── */
.tip-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
.tip-card h3 { font-size: 0.93rem; font-weight: 700; margin-bottom: 0.45rem; color: var(--color-accent); }
.tip-card p { font-size: 0.83rem; color: var(--color-muted); line-height: 1.75; }

/* ── CATEGORY NAV ── */
.cat-nav { display: flex; gap: 0.55rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.cat-nav a {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--color-muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cat-nav a:hover, .cat-nav a.active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  text-decoration: none;
}

/* ── SIDEBAR ── */
.layout-sidebar { display: grid; grid-template-columns: 1fr 290px; gap: 2.5rem; align-items: start; }
.sidebar-box { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.2rem; margin-bottom: 1.4rem; }
.sidebar-box h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-muted); margin-bottom: 0.85rem; padding-bottom: 0.45rem; border-bottom: 1px solid var(--color-border); }
.sidebar-list { list-style: none; padding: 0; }
.sidebar-list li { padding: 0.38rem 0; border-bottom: 1px solid var(--color-border); font-size: 0.82rem; }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a { color: var(--color-text); }
.sidebar-list a:hover { color: var(--color-accent); text-decoration: none; }

/* ── FORM ── */
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.84rem; font-weight: 500; margin-bottom: 0.38rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.62rem 0.88rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  background: var(--color-card);
  color: var(--color-text);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--color-accent); }
.form-group textarea { resize: vertical; min-height: 115px; }
.btn {
  display: inline-block;
  padding: 0.68rem 1.9rem;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.04em;
}
.btn:hover { background: #B03D10; text-decoration: none; color: #fff; }
.required { color: var(--color-accent); font-size: 0.72rem; margin-left: 0.2rem; }

/* ── FOOTER ── */
.site-footer { background: var(--color-footer); color: #aaa; padding: 2.8rem 1.5rem 1.4rem; margin-top: auto; }
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.2rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid #333;
}
.footer-brand .logo { font-family: var(--font-serif); font-size: 0.97rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.footer-brand .logo span { color: var(--color-accent2); }
.footer-brand p { font-size: 0.76rem; line-height: 1.8; }
.footer-col h5 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; margin-bottom: 0.85rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.42rem; }
.footer-col a { font-size: 0.78rem; color: #aaa; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 1.15rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.73rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: #fff; text-decoration: none; }

/* ── TOC ── */
.toc { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.05rem 1.2rem; margin-bottom: 1.8rem; font-size: 0.84rem; }
.toc h4 { font-size: 0.8rem; font-weight: 700; margin-bottom: 0.55rem; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.toc ol { padding-left: 1.15rem; }
.toc li { margin-bottom: 0.22rem; }
.toc a { color: var(--color-muted); }
.toc a:hover { color: var(--color-accent); }

/* ── LEGAL ── */
.legal-section { margin-bottom: 2.3rem; }
.legal-section h2 { font-family: var(--font-serif); font-size: 1.03rem; font-weight: 700; margin-bottom: 0.7rem; padding: 0.45rem 0.75rem; background: var(--color-surface); border-radius: var(--radius); }
.legal-section p, .legal-section li { font-size: 0.87rem; line-height: 1.95; color: #3a3a3a; }
.legal-section ul { padding-left: 1.4rem; margin: 0.45rem 0; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: center; margin-bottom: 2.8rem; }
.about-img { border-radius: var(--radius); overflow: hidden; }
.about-img img { width: 100%; height: 290px; object-fit: cover; }
.about-text h2 { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 0.7rem; }
.about-text p { font-size: 0.87rem; line-height: 1.9; color: var(--color-muted); margin-bottom: 0.7rem; }
.value-list { list-style: none; padding: 0; margin-top: 0.95rem; }
.value-list li { display: flex; align-items: flex-start; gap: 0.55rem; padding: 0.55rem 0; border-bottom: 1px solid var(--color-border); font-size: 0.86rem; }
.value-list li::before { content: '◆'; color: var(--color-accent); font-size: 0.62rem; margin-top: 0.3rem; flex-shrink: 0; }
.company-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.company-table th { width: 155px; background: var(--color-surface); padding: 0.7rem 0.95rem; border: 1px solid var(--color-border); font-weight: 500; text-align: left; vertical-align: top; }
.company-table td { padding: 0.7rem 0.95rem; border: 1px solid var(--color-border); }

/* ── HIGHLIGHT BAND ── */
.highlight-band { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 1.8rem 1.5rem; margin: 1.8rem 0; text-align: center; }
.highlight-band p { max-width: 580px; margin: 0 auto; font-size: 0.88rem; color: var(--color-muted); }

/* ── FEATURED STRIP ── */
.featured-strip { display: flex; gap: 0.95rem; overflow-x: auto; padding-bottom: 0.5rem; margin-bottom: 1.8rem; }
.featured-strip::-webkit-scrollbar { height: 4px; }
.featured-strip::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 2px; }
.feat-chip { flex-shrink: 0; background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; width: 175px; }
.feat-chip img { width: 100%; height: 105px; object-fit: cover; }
.feat-chip-body { padding: 0.55rem 0.7rem; }
.feat-chip-body p { font-size: 0.76rem; font-weight: 500; color: var(--color-text); line-height: 1.4; }
.feat-chip-body span { font-size: 0.68rem; color: var(--color-muted); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .layout-sidebar { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-nav { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--color-nav-bg); padding: 0.5rem 0; }
  .site-nav.open { display: flex; }
  .site-nav a { height: auto; padding: 0.7rem 1.4rem; border-bottom: 1px solid #2a2a2a; }
  .nav-toggle { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .company-table th { width: 105px; }
}
