/* ============================================
   マシマシ高菜先生食堂 共通CSS
   ============================================ */

/* --- Variables --- */
:root {
  --red:    #c0392b;
  --cream:  #faf6ef;
  --warm:   #f0e8d8;
  --dark:   #2c1810;
  --gold:   #b8860b;
  --mid:    #5a3e2b;
  --light:  #fff8f0;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: #fff;
  color: var(--dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

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

/* ============================================
   Header / Nav
   ============================================ */
.site-header {
  background: #1a0906;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px,4vw,40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.site-logo img { height: 40px; width: auto; }
.site-logo span {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  white-space: nowrap;
}

/* PC Nav */
.global-nav { display: flex; align-items: center; gap: 4px; }
.global-nav a {
  font-size: .72rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  padding: 6px 10px;
  letter-spacing: .04em;
  border-radius: 2px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.global-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.global-nav a.cta-nav {
  background: var(--red);
  color: #fff;
  padding: 6px 14px;
}
.global-nav a.cta-nav:hover { background: #a93226; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all .25s;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #1a0906;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 8px 0 16px;
}
.mobile-nav a {
  display: block;
  padding: 12px clamp(16px,4vw,40px);
  font-size: .84rem;
  color: rgba(255,255,255,.75);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.mobile-nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.mobile-nav a.cta-nav { color: #f4a87a; font-weight: 700; }
.mobile-nav.open { display: flex; }

@media(max-width:860px) {
  .global-nav { display: none; }
  .hamburger { display: flex; }
}

/* ============================================
   .ms ベースラインシステム
   ============================================ */
.ms { width: 100%; overflow-x: hidden; }

.ms-w {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(16px,4vw,40px);
}

.ms-sec   { padding: clamp(48px,7vw,80px) 0; }
.ms-sec-s { padding: clamp(36px,6vw,68px) 0; }

/* Labels & Headings */
.ms-lbl {
  display: block;
  font-size: .58rem;
  letter-spacing: .44em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  font-family: 'Noto Sans JP', sans-serif;
}
.ms-h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem,4vw,2.6rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 16px;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}
.ms-lead {
  font-size: clamp(.88rem,1.5vw,1rem);
  color: var(--mid);
  line-height: 1.9;
  margin-bottom: 8px;
}

/* Feature Grid */
.ms-feat-g {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 24px;
}
.ms-fc { background: #fff; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.07); }
.ms-fc img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.ms-fc-body { padding: 20px 22px; }
.ms-fc-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 2rem;
  font-weight: 900;
  color: rgba(192,57,43,.12);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.ms-fc-name { font-size: .92rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.ms-fc-desc { font-size: .78rem; color: var(--mid); line-height: 1.85; }

/* Buttons */
.ms-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .1em;
  border-radius: 2px;
  transition: background .2s, transform .15s;
  cursor: pointer;
}
.ms-btn:hover { transform: translateY(-1px); }
.ms-btn-r { background: var(--red); color: #fff; }
.ms-btn-r:hover { background: #a93226; }
.ms-btn-w { background: #fff; color: var(--red); }
.ms-btn-w:hover { background: var(--cream); }

/* CTA Block */
.ms-pcta {
  margin-top: 32px;
  padding: 28px 32px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  text-align: center;
}
.ms-fcta {
  background: var(--dark);
  padding: clamp(40px,6vw,72px) clamp(24px,5vw,60px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.ms-fcta-ja {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.1rem,2.5vw,1.6rem);
  font-weight: 900;
  color: #fff;
}
.ms-fcta-sub {
  font-size: .84rem;
  color: rgba(255,255,255,.55);
}

/* FAQ */
.ms-faq { background: var(--cream); }
.ms-fi { border-bottom: 1px solid rgba(44,24,16,.1); }
.ms-fq {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  cursor: pointer;
  user-select: none;
}
.ms-fqn {
  font-family: 'Noto Serif JP', serif;
  font-size: .72rem;
  font-weight: 900;
  color: var(--red);
  flex-shrink: 0;
  min-width: 24px;
}
.ms-fqt {
  flex: 1;
  font-size: .9rem;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.5;
}
.ms-fqi {
  font-style: normal;
  font-size: 1.2rem;
  color: var(--red);
  flex-shrink: 0;
  transition: transform .2s;
}
.ms-fi.open .ms-fqi { transform: rotate(45deg); }
.ms-fa {
  display: none;
  padding: 0 0 18px 38px;
  font-size: .84rem;
  color: var(--mid);
  line-height: 1.9;
}
.ms-fi.open .ms-fa { display: block; }

/* Access */
.ms-access-g { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 24px; }
.ms-acard { overflow: hidden; border: 2px solid var(--warm); }
.ms-acard iframe { width: 100%; height: 220px; display: block; border: none; }
.ms-acard-body { padding: 20px 22px; }
.ms-aname { font-family: 'Noto Serif JP', serif; font-size: 1rem; font-weight: 900; color: var(--dark); margin-bottom: 14px; }
.ms-arow {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 6px 0;
  font-size: .78rem;
  border-bottom: 1px solid var(--warm);
}
.ms-arow:last-child { border: none; }

/* Scroll Reveal */
.ms-rv {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
.ms-rv.in { opacity: 1; transform: none; }
@media(max-width:760px) {
  .ms-rv { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: #120604;
  color: rgba(255,255,255,.45);
  padding: clamp(32px,5vw,56px) clamp(16px,4vw,40px);
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand .brand-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}
.footer-brand p { font-size: .72rem; line-height: 1.9; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-nav a { font-size: .74rem; color: rgba(255,255,255,.5); }
.footer-nav a:hover { color: #fff; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 28px;
  padding-top: 20px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: .68rem;
  color: rgba(255,255,255,.25);
}

/* ============================================
   Utility
   ============================================ */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

/* ============================================
   Price Table
   ============================================ */
.price-table { border: 2px solid var(--warm); overflow: hidden; margin-bottom: 28px; }
.price-thead {
  background: var(--dark);
  padding: 10px 18px;
}
.price-thead p { font-size: .78rem; font-weight: bold; color: #f4c875; margin: 0; letter-spacing: .06em; }
.price-thead small { font-size: .66rem; color: rgba(244,200,117,.55); display: block; margin-top: 3px; }
.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: var(--light);
  border-bottom: 1px solid var(--warm);
}
.price-row:last-child { border-bottom: none; }
.price-row.addon { background: #fff; align-items: center; }
.price-row .name { font-size: .78rem; color: var(--mid); flex: 1; line-height: 1.7; }
.price-row .name small { font-size: .7rem; color: #888; margin-left: 6px; }
.price-row .price {
  font-family: 'Noto Serif JP', serif;
  font-size: .96rem;
  font-weight: 900;
  color: var(--red);
  white-space: nowrap;
}
