/* ==========================================================
   株式会社美濃神楽 コーポレートサイト（Wix版の忠実コピー・Cloudflare移行用）
   元サイト（minokagura.com）から採取した設計トークン：
     見出し＝明朝（太ミンA101系）→ Web明朝 Shippori Mincho で再現
     本文＝游ゴシック（端末標準フォント・ダウンロード不要）
     深紅 #BA1425 / 見出し濃緑 #2D382A / 本文グレー #616D5D
     CTAテラコッタ #D97D54 / 生成り #FFFDF7 / ほぼフル幅レイアウト
   ========================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --serif: "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --sans: "Yu Gothic Medium", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --red: #BA1425;        /* ヒーロー見出し・アクセント（元サイト採取） */
  --ink: #2D382A;        /* 見出しの濃い緑（元サイト採取） */
  --ink-soft: #616D5D;   /* 本文・リード文のグレー（元サイト採取） */
  --terra: #D97D54;      /* CTAボタンのテラコッタ（元サイト採取） */
  --terra-dark: #c76a42;
  --paper: #ffffff;
  --paper-warm: #FFFDF7; /* 生成り（元サイトの淡い背景） */
  --navy: #0e2545;       /* フッターロゴ画像の地色と同一（継ぎ目を見せない） */
  --line: #e8e4dc;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
  font-size: 15px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
/* 元サイトはほぼフル幅（左右 約45px・広い最大幅） */
.container { max-width: 1400px; margin: 0 auto; padding: 0 clamp(20px, 3.4vw, 52px); }

/* ---------- ヘッダー（backdrop-filter禁止＝不透明白） ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.header__in { display: flex; align-items: center; justify-content: space-between; height: 84px; max-width: 1400px; margin: 0 auto; padding: 0 clamp(16px, 3.4vw, 52px); }
.header__logo { display: flex; align-items: center; }
.header__logo img { height: 64px; width: auto; }
.header__nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); font-size: 15px; }
.header__nav a { transition: color .2s; }
.header__nav a:hover { color: var(--red); }
.header__nav a.is-current { text-decoration: underline; text-underline-offset: 6px; }
/* ハンバーガーボタン（PCでは非表示・スマホのみ表示） */
.nav-toggle { display: none; }

/* ---------- ヒーロー ---------- */
.hero { padding: 40px 0 0; }
.hero h1 {
  font-family: var(--serif);
  color: var(--red);
  font-size: clamp(30px, 6.2vw, 92px);
  font-weight: 700; line-height: 1.2; letter-spacing: .02em;
  margin-bottom: 34px;
}
.hero__lead { font-family: var(--sans); max-width: 720px; color: var(--ink-soft); font-size: clamp(15px, 1.5vw, 19px); margin-bottom: 30px; }
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 700; font-size: 15px;
  padding: 15px 44px; border-radius: 999px; letter-spacing: .04em;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--red { background: var(--terra); color: #FFFDF7; }        /* CTA＝テラコッタのピル型 */
.btn--red:hover { background: var(--terra-dark); }
.btn--ghost { border: 1.6px solid var(--terra); color: var(--terra); background: transparent; }
.btn--ghost:hover { background: var(--terra); color: #FFFDF7; }
/* 飾りボタン（元サイト同様クリックしても何も起きない・見た目だけ） */
.btn--static { cursor: default; }
.btn--static.btn--ghost:hover { background: transparent; color: var(--terra); }
.hero__photo { margin-top: 56px; }
.hero__photo img { width: 100%; height: clamp(280px, 40vw, 560px); object-fit: cover; }

/* ---------- セクション共通 ---------- */
.section { padding: 96px 0 0; }
.section-title {
  font-family: var(--serif); color: var(--ink);
  font-size: clamp(30px, 4.4vw, 56px); font-weight: 700; line-height: 1.3; letter-spacing: .03em;
  margin-bottom: 44px;
}

/* ---------- サービス紹介 ---------- */
.service { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 80px; }
.service.rev .service__img { order: 2; }
.service h3 { font-family: var(--serif); color: var(--ink); font-size: clamp(22px, 2.8vw, 32px); font-weight: 700; line-height: 1.5; margin-bottom: 20px; }
.service p { color: var(--ink-soft); margin-bottom: 16px; }
.service__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.service .btn { margin-top: 12px; }

/* こんな悩み */
.worry { background: var(--paper-warm); border: 1px solid var(--line); border-radius: 6px; padding: 32px 36px; margin: -44px 0 80px; }
.worry h3 { font-family: var(--serif); color: var(--ink); font-size: 22px; margin-bottom: 16px; }
.worry li { list-style: none; padding-left: 1.4em; position: relative; color: var(--ink-soft); }
.worry li::before { content: "●"; color: var(--terra); font-size: 10px; position: absolute; left: 0; top: .6em; }

/* ---------- 弊社の強み ---------- */
.strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.strength {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 28px 26px; box-shadow: 0 4px 16px rgba(70, 50, 30, .05);
}
.strength__icon {
  width: 54px; height: 54px; border-radius: 12px; background: #f6efe6;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.strength__icon svg { width: 26px; height: 26px; fill: var(--terra); }
.strength h4 { font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.strength p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- こだわり ---------- */
.kodawari { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 72px; }
.kodawari.rev .kodawari__img { order: 2; }
.kodawari h3 { font-family: var(--serif); color: var(--ink); font-size: clamp(21px, 2.6vw, 30px); font-weight: 700; line-height: 1.5; margin-bottom: 18px; }
.kodawari p { color: var(--ink-soft); }
.kodawari__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }

/* ---------- お客様の声 ---------- */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.voice { background: var(--paper-warm); border: 1px solid var(--line); border-radius: 8px; padding: 28px 26px; display: flex; flex-direction: column; }
.voice__tag { font-size: 12.5px; font-weight: 700; color: var(--terra); margin-bottom: 12px; }
.voice p { font-size: 13.5px; color: var(--ink-soft); flex: 1; }
.voice__who { font-family: var(--serif); margin-top: 18px; font-weight: 700; font-size: 16px; color: var(--ink); }
.voice__scale { font-size: 12.5px; color: #8a887e; }

/* ---------- お問い合わせ ---------- */
.contact { background: var(--paper-warm); margin-top: 96px; padding: 80px 0 88px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.contact-info h4 { font-size: 15px; margin: 22px 0 4px; color: var(--red); }
.contact-info p { color: var(--ink-soft); }
.contact-info a { text-decoration: underline; text-underline-offset: 3px; }
.form label { display: block; font-size: 13px; font-weight: 700; margin: 16px 0 6px; }
.form input, .form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 6px;
  padding: 12px 13px; font: inherit; font-size: 14px; background: #fff;
}
.form textarea { min-height: 120px; resize: vertical; }
.form button { margin-top: 22px; border: none; cursor: pointer; font-family: inherit; }
.form__note { font-size: 12px; color: #8a887e; margin-top: 10px; }

/* ---------- フッター ---------- */
.footer { background: var(--navy); color: #d7deea; margin-top: 0; padding: 60px 0 34px; }
.footer__grid { display: grid; grid-template-columns: auto 1fr auto; gap: 44px; align-items: start; }
.footer__logo img { width: 130px; border-radius: 8px; }
.footer h5 { color: #fff; font-size: 14px; margin-bottom: 8px; }
.footer p { font-size: 13px; line-height: 2; }
.footer a:hover { color: #fff; }
.footer__slogan { font-family: var(--serif); margin-top: 36px; font-size: 14px; color: #9fb0c8; }
.footer__copy { margin-top: 8px; font-size: 11.5px; color: #7284a1; }

/* ---------- 下層ページ共通 ---------- */
.page-head { padding: 80px 0 0; }
.page-head h1 { font-family: var(--serif); color: var(--ink); font-size: clamp(30px, 4.6vw, 56px); font-weight: 700; line-height: 1.3; }

/* 会社概要テーブル */
.spec { width: 100%; border-collapse: collapse; margin-top: 44px; }
.spec th, .spec td { text-align: left; padding: 20px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 180px; font-size: 14px; color: var(--red); font-weight: 700; }
.spec td { color: var(--ink-soft); }
.spec ul { list-style: none; }
.spec li { padding-left: 1.2em; position: relative; }
.spec li::before { content: "・"; position: absolute; left: 0; }
.map { margin-top: 28px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 380px; border: 0; display: block; }

/* メニューページ */
.menu-hero { max-width: 1400px; margin: 0 auto; padding: 56px clamp(20px, 3.4vw, 52px) 0; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.menu-hero h1 { font-family: var(--serif); color: var(--ink); font-size: clamp(30px, 4.6vw, 56px); font-weight: 700; line-height: 1.3; }
.menu-hero p { margin-top: 20px; color: var(--ink-soft); }
.menu-hero img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.menu-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.menu-card { background: var(--paper-warm); border: 1px solid var(--line); border-radius: 8px; padding: 28px 26px; }
.menu-card h5 { font-family: var(--serif); color: var(--ink); font-size: 19px; margin-bottom: 12px; }
.menu-card p { font-size: 13.5px; color: var(--ink-soft); }
.band {
  margin-top: 80px; padding: 26px 0; background: var(--navy); color: #fff;
  font-size: 13.5px; letter-spacing: .06em; overflow: hidden; white-space: nowrap;
}
.band__track { display: inline-block; padding-left: 100%; animation: bandMove 28s linear infinite; }
@keyframes bandMove { to { transform: translate3d(-100%, 0, 0); } }
.nutrition { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-top: 48px; }
.nutrition h5 { font-family: var(--serif); color: var(--red); font-size: 19px; margin-bottom: 12px; }
.nutrition p { color: var(--ink-soft); font-size: 14px; }
.note { font-size: 12.5px; color: #8a887e; margin-top: 26px; }

/* ---------- ふわっと表示（設定ONの人にはフェードのみ＝標準縮退） ---------- */
.fade-init { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .6s ease, transform .7s cubic-bezier(.16, 1, .3, 1); }
.is-in-view { opacity: 1; transform: translate3d(0, 0, 0); }
@media (prefers-reduced-motion: reduce) {
  .fade-init { transform: none; transition: opacity .6s ease; }
  .band__track { animation: none; padding-left: 0; }
}

/* ---------- スマホ ---------- */
@media (max-width: 780px) {
  .header__in { padding: 0 16px; height: 64px; }
  .header__logo img { height: 46px; }

  /* ハンバーガーボタン表示 */
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 26px; height: 2px; margin: 0 auto; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
  .header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* ナビをドロップダウン化（開くまで隠す） */
  .header__nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; font-size: 16px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 4px 0 8px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    box-shadow: 0 10px 24px rgba(45, 56, 42, .08);
  }
  .header.nav-open .header__nav { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .header__nav a { padding: 14px 20px; }
  .header__nav a.is-current { text-decoration: none; color: var(--red); }
  .header__nav .header__link--hide { display: block; }
  .hero h1 { line-height: 1.28; }
  .service, .service.rev, .kodawari, .kodawari.rev { grid-template-columns: 1fr; gap: 24px; }
  .service.rev .service__img, .kodawari.rev .kodawari__img { order: 0; }
  .worry { margin: 0 0 56px; }
  .strengths { grid-template-columns: 1fr; }
  .voices { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .menu-hero { grid-template-columns: 1fr; }
  .menu-cards { grid-template-columns: 1fr; }
  .nutrition { grid-template-columns: 1fr; }
  .section { padding-top: 68px; }
}
