/*
Theme Name: お肉の太陽
Theme URI: https://www.zon-rijk.com/
Author: 株式会社ZON
Description: 株式会社ZON（屋号：お肉の太陽）のコーポレートサイト用テーマ。福岡の街をアニメ調に描いた世界観で、食肉加工の依頼獲得を目的とする。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: 商用・自社利用
Text Domain: oniku-taiyo
*/
@charset "UTF-8";

/* ===========================
   配色：背景イラストから抽出
   （福岡の街イラストの空・砂地・屋台の色に合わせている）
   =========================== */
:root {
  --base:        #FFFBF3;
  --base-2:      #FBF0DC;
  --sky:         #9FD8E0;
  --sky-2:       #DCF0F3;
  --pink:        #F5BFB4;
  --pink-2:      #FBE5DC;
  --coral:       #E2762E;
  --coral-dark:  #C25A1C;
  --cream:       #F9DFA8;
  --green:       #BFD6B0;
  --purple:      #E6DEF3;
  --text:        #43362B;
  --text-light:  #85735F;
  --line:        #EADCC4;
  --white:       #FFFFFF;

  --radius:      20px;
  --radius-lg:   28px;
  --shadow:      0 4px 16px rgba(160, 130, 115, 0.12);
  --shadow-lg:   0 10px 30px rgba(160, 130, 115, 0.18);

  --font: "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN", "Yu Gothic",
          "游ゴシック体", "Meiryo", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--base);
  line-height: 1.8;
  font-size: 16px;
}

img { max-width: 100%; }
a { color: var(--coral-dark); }

/* ===========================
   仮素材のプレースホルダー
   本番の絵が入る場所を示す
   =========================== */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image:
    repeating-linear-gradient(45deg,
      rgba(255,255,255,.6) 0 10px,
      rgba(255,255,255,0) 10px 20px);
  background-color: var(--sky-2);
  border: 2px dashed #B9CEDA;
  border-radius: var(--radius);
  color: #6E8A9B;
  font-size: 13px;
  padding: 12px;
  line-height: 1.6;
}
.ph-char  { background-color: var(--pink-2); border-color: #E3B9B0; color: #A87668; }
.ph-photo { background-color: #EFEAE5; border-color: #C8BCB2; color: #8A7B70; }

/* ===========================
   実素材（キャラクター・背景イラスト）
   =========================== */
.char { display: block; object-fit: contain; }

/* UIアイコン */
.ui-icon { display: inline-block; object-fit: contain; vertical-align: middle; }
.ui-arrow { width: 38px; height: 38px; }
.ui-arrow-down { width: 44px; height: 44px; transform: rotate(90deg); }
.ui-lead { width: 34px; height: 34px; margin-right: 4px; }
.card .ui-icon { width: 64px; height: 64px; display: block; margin: 0 auto 10px; }
.tel-box .ui-icon { width: 72px; height: 72px; display: block; margin: -8px auto 0; }
.char-front { width: 100%; height: 100%; }

.logo-char {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  object-position: 50% 22%; background: var(--sky-2); flex: none;
}

/* 背景イラストを敷く帯 */
.bg-illust {
  background-size: cover; background-position: center 62%; background-repeat: no-repeat;
}
.bg-main   { background-image: url(assets/img/bg-main.jpg); }
.bg-band   { background-image: url(assets/img/bg-band.jpg); }
.bg-footer { background-image: url(assets/img/bg-footer.jpg); }

/* 背景の上に文字を置くときの下地 */
.on-illust {
  background: rgba(255, 251, 243, .94);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  backdrop-filter: blur(2px);
}

/* ===========================
   共通レイアウト
   =========================== */
.wrap { width: min(1080px, 92%); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 252, 248, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 20px;
  padding-block: 12px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px; text-decoration: none; color: var(--text);
  white-space: nowrap;
}
.logo .ph { width: 40px; height: 40px; border-radius: 50%; font-size: 9px; padding: 2px; }
.map-area .machine-char {
  position: absolute; right: 28px; bottom: 16px; width: 110px; pointer-events: none;
  filter: drop-shadow(0 6px 10px rgba(80, 60, 40, .22));
}
.cta-char { width: 130px; display: block; margin: 0 auto 14px; }
.contact-char { width: 110px; display: block; margin: 0 auto 10px; }
.thanks-char { width: 240px; display: block; margin: 0 auto 28px; }
.gnav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.gnav a { text-decoration: none; color: var(--text); font-size: 15px; }
.gnav a:hover { color: var(--coral-dark); }

.menu-btn {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 2px solid var(--line); border-radius: 12px;
  background: var(--white); cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn img { width: 24px; height: 24px; object-fit: contain; }
.menu-btn img + span { display: none; }
.nav-open .menu-btn img { display: none; }
.nav-open .menu-btn span { display: block; }
.nav-open .menu-btn span:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-btn span:nth-of-type(2) { opacity: 0; }
.nav-open .menu-btn span:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--coral); color: #fff; text-decoration: none;
  padding: 14px 28px; border-radius: 999px; font-weight: 700;
  border: none; cursor: pointer; font-family: var(--font); font-size: 16px;
  box-shadow: 0 4px 0 var(--coral-dark);
  transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--coral-dark); }
.btn-lg { padding: 20px 46px; font-size: 19px; }
.btn-sm { padding: 10px 20px; font-size: 14px; box-shadow: 0 3px 0 var(--coral-dark); }
.btn-ghost {
  background: var(--white); color: var(--coral-dark);
  box-shadow: 0 3px 0 var(--line); border: 2px solid var(--line);
}
.btn-ghost:hover { box-shadow: 0 1px 0 var(--line); }

section { padding-block: 72px; }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head h2 { font-size: 30px; margin: 0 0 10px; letter-spacing: .04em; }
.sec-head p  { margin: 0; color: var(--text-light); }

.page-head {
  position: relative;
  background: url(assets/img/bg-band.jpg) center 100% / cover no-repeat, var(--sky-2);
  padding-block: 56px 48px; text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,251,243,.55), rgba(255,251,243,.92));
}
.page-head > * { position: relative; }
.detail-icon {
  position: relative; display: block; width: 120px; height: 120px;
  object-fit: contain; margin: 0 auto 6px;
}
.page-head h1 { font-size: 32px; margin: 0 0 8px; }
.page-head p  { margin: 0; color: var(--text-light); }

.site-footer {
  position: relative;
  background: var(--base-2);
  border-top: 1px solid var(--line);
  padding-block: 40px; margin-top: 60px;
  text-align: center; font-size: 14px; color: var(--text-light);
}
.footer-illust {
  height: 190px; margin-top: 60px;
  background-image: url(assets/img/bg-footer.jpg);
  background-size: cover; background-position: center 55%;
}
.footer-illust + .site-footer { margin-top: 0; border-top: none; }
.site-footer nav { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.site-footer a { color: var(--text-light); text-decoration: none; }

/* ===========================
   TOP
   =========================== */
.hero {
  position: relative; overflow: hidden;
  background-image: url(assets/img/bg-band.jpg);
  background-size: cover; background-position: center 100%;
  padding-block: 80px 96px;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(180deg, rgba(255,251,243,0), var(--base));
  pointer-events: none;
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: center;
}
.hero h1 { font-size: 38px; line-height: 1.5; margin: 0 0 16px; }
.hero .lead { font-size: 17px; color: var(--text-light); margin: 0 0 28px; }
.hero-char {
  width: 100%; height: 380px;
  filter: drop-shadow(0 10px 16px rgba(80, 60, 40, .3));
}

.flow { display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; }
.flow-step {
  position: relative; display: block; text-decoration: none; color: var(--text);
  background: var(--white); border: 2px solid var(--line);
  border-radius: var(--radius); padding: 22px 6px 16px; text-align: center;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.flow-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--coral); }
.flow-no {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--coral); color: #fff; width: 24px; height: 24px;
  border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; line-height: 1;
}
.flow-icon { display: block; width: 100%; height: 62px; object-fit: contain; margin-bottom: 8px; }
.flow-icon.is-photo {
  object-fit: cover; border-radius: 10px; height: 58px; margin-bottom: 12px;
}
.flow-step b { display: block; font-size: 15px; line-height: 1.4; }
.flow-step span:not(.flow-no) { font-size: 11px; color: var(--text-light); }

.cta-band {
  background: linear-gradient(135deg, var(--pink-2), var(--cream));
  border-radius: var(--radius-lg); padding: 44px 32px; text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { font-size: 28px; margin: 0 0 10px; }
.cta-band p { margin: 0 0 26px; color: var(--text-light); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); gap: 18px; }
.card {
  background: var(--white); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; box-shadow: var(--shadow);
}
.card .ph { height: 76px; width: 76px; margin: 0 auto 14px; border-radius: 50%; font-size: 10px; }
.card h3 { font-size: 18px; margin: 0 0 8px; }
.card p  { font-size: 14px; color: var(--text-light); margin: 0; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.stat {
  background: var(--white); border-radius: var(--radius); padding: 28px 16px; text-align: center;
  border: 2px solid var(--line);
}
.stat .num { font-size: 40px; font-weight: 700; color: var(--coral); line-height: 1.2; }
.stat .num small { font-size: 18px; }
.stat .label { font-size: 14px; color: var(--text-light); line-height: 1.5; }
.stat .label small { font-size: 11px; opacity: .85; }

.news-list { list-style: none; padding: 0; margin: 0; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a {
  display: flex; gap: 16px; align-items: center; padding: 18px 6px;
  text-decoration: none; color: var(--text); flex-wrap: wrap;
}
.news-list a:hover { background: var(--base-2); }
.news-date { color: var(--text-light); font-size: 14px; }
.tag {
  background: var(--sky); color: #56788A; font-size: 12px;
  padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}
.tag.ev { background: var(--cream); color: #96713C; }
.tag.info { background: var(--green); color: #5C7B54; }

/* ===========================
   加工メニュー一覧（街のマップ風）
   =========================== */
.map-area {
  background: linear-gradient(180deg, var(--sky-2), var(--green) 120%);
  border-radius: var(--radius-lg); padding: 34px 26px 150px;
  border: 2px solid var(--line); position: relative;
}
.map-note { text-align: center; font-size: 13px; color: var(--text-light); margin-bottom: 22px; }
.map-road { display: flex; flex-direction: column; gap: 0; }
.map-row { display: flex; align-items: center; gap: 18px; }
.map-row.rev { flex-direction: row-reverse; }
.map-connect { text-align: center; color: var(--coral); font-size: 22px; padding-block: 6px; }

.machine {
  display: block; text-decoration: none; color: var(--text);
  background: var(--white); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); flex: 1 1 0;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.machine:hover {
  transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--coral);
}
.machine .head { display: flex; align-items: center; gap: 14px; }
.machine .ph { width: 64px; height: 64px; flex: none; border-radius: 16px; font-size: 10px; padding: 4px; }
.m-icon { width: 78px; height: 78px; flex: none; object-fit: contain; }
.machine .step-no {
  background: var(--coral); color: #fff; width: 28px; height: 28px; flex: none;
  border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.machine h3 { margin: 0; font-size: 19px; }
.machine .verb { color: var(--coral-dark); font-weight: 700; font-size: 14px; }
.machine p { margin: 12px 0 0; font-size: 14px; color: var(--text-light); }
.map-spacer { flex: 1 1 0; }

/* ===========================
   加工メニュー詳細
   =========================== */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.machine-photo {
  width: 100%; height: 380px; object-fit: cover;
  border-radius: var(--radius); border: 3px solid var(--white);
  box-shadow: var(--shadow-lg); background: var(--base-2);
}
.machine-photo.is-illust {
  object-fit: contain; padding: 24px;
  background: var(--sky-2); box-shadow: var(--shadow);
}
.m-icon.m-photo { border-radius: 14px; object-fit: cover; }
.spec { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.spec th, .spec td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; }
.spec th { background: var(--base-2); width: 38%; font-weight: 700; }
.photo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.photo-row .ph { height: 140px; }
.row-photo {
  width: 100%; height: 190px; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-photo {
  width: 100%; height: 420px; object-fit: cover; object-position: center;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  margin-bottom: 48px; display: block;
}

.rep-lead {
  font-size: 19px; font-weight: 700; line-height: 1.9;
  color: var(--coral-dark); margin-bottom: 24px;
}

.rep-grid {
  display: grid; grid-template-columns: 300px 1fr; gap: 36px;
  align-items: start; margin-bottom: 56px;
}
.rep-photo {
  background: linear-gradient(180deg, var(--sky-2), var(--base-2));
  border-radius: var(--radius-lg); padding: 20px;
  display: grid; place-items: center;
  position: sticky; top: 90px;
}
.rep-photo img { width: 100%; height: 280px; object-fit: contain; }

.pp-note {
  background: var(--base-2); border-left: 4px solid var(--coral);
  border-radius: 0 12px 12px 0; padding: 14px 18px;
  font-size: 14px; color: var(--text-light);
}

.food-list { display: flex; gap: 18px; flex-wrap: wrap; }
.food { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.food img { width: 42px; height: 42px; object-fit: contain; }

.ship-box {
  background: var(--white); border: 2px solid var(--line);
  border-radius: var(--radius); padding: 22px 26px;
}
.ship-row {
  display: flex; gap: 18px; align-items: baseline;
  padding: 12px 0; border-bottom: 1px dashed var(--line);
}
.ship-row:last-of-type { border-bottom: none; }
.ship-label {
  flex: none; width: 190px; font-weight: 700;
  color: var(--coral-dark); font-size: 15px;
}
.ship-note {
  margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--text-light);
}

.detail-cta {
  background: linear-gradient(135deg, var(--pink-2), var(--cream));
  border-radius: var(--radius-lg); padding: 40px 28px; text-align: center; margin-top: 50px;
}
.detail-cta h2 { margin: 0 0 8px; font-size: 26px; }
.detail-cta p { margin: 0 0 24px; color: var(--text-light); }

/* ===========================
   事業案内
   =========================== */
.biz {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center;
  margin-bottom: 64px;
}
.biz.rev .biz-body { order: 2; }
.biz-label {
  display: inline-block; background: var(--sky); color: #3E6A75;
  font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px;
  margin-bottom: 12px;
}
.biz-body h2 { margin: 0 0 14px; font-size: 28px; }
.biz-body p { margin: 0 0 14px; }
.biz-note {
  background: var(--base-2); border-left: 4px solid var(--coral);
  border-radius: 0 12px 12px 0; padding: 14px 18px;
  font-size: 15px; color: var(--text-light);
}
.biz-photo { height: 280px; }

/* TOPの事業紹介 */
.biz-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.biz-mini a {
  display: block; text-decoration: none; color: var(--text);
  background: var(--white); border: 2px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.biz-mini a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--coral); }
.biz-mini .ph { height: 140px; border-radius: 0; border-width: 0 0 2px; }
.biz-mini .body { padding: 18px 20px 22px; }
.biz-mini h3 { margin: 0 0 8px; font-size: 18px; }
.biz-mini p { margin: 0; font-size: 14px; color: var(--text-light); }

/* ===========================
   フォーム
   =========================== */
.form-wrap {
  background: var(--white); border: 2px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow);
}
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 15px; }
.req { background: var(--coral); color: #fff; font-size: 11px; padding: 3px 9px; border-radius: 999px; margin-left: 8px; }
.opt { background: var(--line); color: var(--text-light); font-size: 11px; padding: 3px 9px; border-radius: 999px; margin-left: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px; border: 2px solid var(--line); border-radius: 14px;
  font-family: var(--font); font-size: 16px; background: var(--base); color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--coral); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-side { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 36px; }
.tel-box {
  background: var(--base-2); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 24px; text-align: center;
}
.tel-box .num { font-size: 30px; font-weight: 700; color: var(--coral-dark); }

/* ===========================
   入場ページ
   =========================== */
.entrance {
  position: fixed; inset: 0; overflow: hidden;
  background: url(assets/img/bg-main.jpg) center 60% / cover no-repeat, #DCF0F3;
  display: grid; place-items: center;
}
.entrance-inner { position: relative; text-align: center; z-index: 4; }
.entrance-char {
  position: relative;
  width: min(520px, 86vw); height: min(440px, 58vh);
  margin-inline: auto; cursor: pointer;
  transition: transform .2s;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 12px 18px rgba(80, 60, 40, .28));
}
.entrance-char:hover { transform: scale(1.04); }
.entrance-char img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: contain;
}
.entrance-char .pose-vortex { opacity: 0; }
.sucking .entrance-char .pose-front  { opacity: 0; }
.sucking .entrance-char .pose-vortex { opacity: 1; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.entrance-start {
  display: inline-block; margin-top: 40px;
  background: var(--coral); border-radius: 999px; padding: 12px 30px;
  font-size: 19px; font-weight: 700; color: #fff;
  animation: blink 1.6s ease-in-out infinite;
  box-shadow: 0 5px 14px rgba(80, 60, 40, .3);
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .62; } }
.skip {
  position: fixed; right: 22px; bottom: 22px; z-index: 5;
  background: rgba(255,255,255,.85); border: 2px solid var(--line);
  color: var(--text-light); padding: 10px 22px; border-radius: 999px;
  font-family: var(--font); font-size: 14px; cursor: pointer;
}
.skip:hover { color: var(--text); }

/* 吸い込まれ演出 */
.sucking .entrance-char {
  animation: suck 1.5s cubic-bezier(.5, 0, .9, .55) forwards;
}
@keyframes suck {
  0%   { transform: rotate(0deg) scale(1) translateY(0); opacity: 1; }
  70%  { transform: rotate(900deg) scale(.22) translateY(30px); opacity: 1; }
  100% { transform: rotate(1440deg) scale(0) translateY(40px); opacity: 0; }
}
.sucking .entrance-start, .sucking .skip { opacity: 0; transition: opacity .3s; animation: none; }

.vortex {
  position: fixed; left: 50%; top: 50%; width: 10px; height: 10px;
  margin: -5px 0 0 -5px; border-radius: 50%; z-index: 3;
  background: repeating-conic-gradient(from 0deg,
    var(--coral) 0deg 22deg,
    var(--cream) 22deg 44deg,
    var(--pink)  44deg 66deg,
    var(--sky)   66deg 88deg);
  opacity: 0; pointer-events: none;
}
.sucking .vortex { animation: vortex-grow 1.8s ease-in forwards; }
@keyframes vortex-grow {
  0%   { opacity: 0; transform: rotate(0deg) scale(0); }
  12%  { opacity: 1; }
  100% { opacity: 1; transform: rotate(1080deg) scale(360); }
}

/* TOPが「ポン」と開く */
.pop-in { animation: pop 0.55s cubic-bezier(.2, 1.35, .45, 1) both; }
@keyframes pop {
  0%   { transform: scale(.55); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* ===========================
   プロトタイプ用の注意バー
   =========================== */
.proto-bar {
  background: #4A4A4A; color: #fff; font-size: 13px;
  padding: 8px 16px; text-align: center;
}
.proto-bar b { color: #FFD48A; }

/* ===========================
   スマホ
   =========================== */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .hero { padding-block: 40px 56px; }
  .on-illust { padding: 22px 20px; }
  .hero-char { height: 220px; }
  .map-area { padding: 24px 16px 130px; }
  .map-area .machine-char { width: 90px; right: 14px; }
  .detail-grid { grid-template-columns: 1fr; }
  .rep-grid { grid-template-columns: 1fr; gap: 20px; }
  .rep-photo { position: static; }
  .rep-photo img { height: 220px; }
  .rep-lead { font-size: 17px; }
  .biz { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .biz.rev .biz-body { order: 0; }
  .biz-body h2 { font-size: 22px; }
  .biz-photo { height: 200px; }
  .biz-mini { grid-template-columns: 1fr; }
  .ship-row { flex-direction: column; gap: 4px; }
  .ship-label { width: auto; }
  .two-col { grid-template-columns: 1fr; }
  .contact-side { grid-template-columns: 1fr; }
  .menu-btn { display: flex; }
  .gnav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--base); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 4% 16px;
    box-shadow: var(--shadow);
  }
  .nav-open .gnav { display: flex; }
  .gnav a { padding: 14px 8px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .gnav a.btn { margin-top: 12px; border-bottom: none; text-align: center; }
  .map-row, .map-row.rev { flex-direction: column; }
  .map-spacer { display: none; }
  .machine { width: 100%; }
  section { padding-block: 52px; }
  .sec-head h2 { font-size: 24px; }
  .flow { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .flow-step { padding: 20px 4px 12px; }
  .flow-step b { font-size: 13px; }
}

/* ===========================
   WordPress版の追加スタイル
   =========================== */
body.entrance-open { overflow: hidden; }
.entrance[hidden] { display: none !important; }

.biz-mini-photo {
  display: block; width: 100%; height: 150px; object-fit: cover;
  border-bottom: 2px solid var(--line);
}

/* 管理バーが出ているときにヘッダーが隠れないように */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

/* 入場演出はページ全体より前面に出す（TOPの上に重ねるため） */
.entrance { z-index: 9999; }
.skip { z-index: 10000; }

/* 事業案内の写真 */
.biz-photo-img {
  width: 100%; height: 280px; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
@media (max-width: 860px) { .biz-photo-img { height: 200px; } }

/* 固定ページ本文の体裁 */
.entry-body h2 { margin-top: 44px; }
.entry-body ul { padding-left: 1.4em; }
.entry-body li { margin-bottom: 6px; }
.entry-body .spec { margin-block: 18px 28px; }

/* スパム対策のハニーポット（人には見せない） */
.ot-hp {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}
