/* ============================================================
   MIN NANO // POLICY ／ みんなの株式会社 公式サイト + 採用サイト 共通スタイル
   ------------------------------------------------------------
   - ゴシック体（Noto Sans JP）only
   - W concept CITTA. を基調にしたエディトリアル設計
   - KINO 機能の視覚反映用クラス群を含む
   ============================================================ */

:root {
  --c-bg: #ffffff;
  --c-soft: #f4f4f2;
  --c-soft-2: #e8e8e4;
  --c-line: #ececea;
  --c-line-strong: #c8c8c4;
  --c-ink: #0a0a0a;
  --c-ink-soft: #4a4a4a;
  --c-ink-mute: #888888;
  --c-tag-bg: #e5e8e6;
  --c-minnano: #1f4d3a;
  --c-policy: #3a2e2a;
  --c-kino: #b8895a;
  --c-line-bg: #06c755;
  --c-hpb: #c8302e;

  --ff: 'Noto Sans JP', system-ui, -apple-system, 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--ff);
  font-weight: 300;
  background: var(--c-bg);
  color: var(--c-ink);
  line-height: 1.85;
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   Global Nav (公式 + 採用 共通骨格)
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.nav-brand img { height: 22px; width: auto; }
.nav-links {
  display: flex;
  gap: 24px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--c-ink-soft);
  text-transform: uppercase;
}
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a:hover { color: var(--c-ink); }
.nav-links a.is-active { color: var(--c-ink); font-weight: 700; }
.nav-links a.is-active::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--c-ink);
}
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-cta-btn {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 8px 14px;
  border: 1px solid var(--c-ink);
  color: var(--c-ink);
  text-transform: uppercase;
  transition: all 0.3s var(--ease-out);
}
.nav-cta-btn:hover { background: var(--c-ink); color: #fff; }
.nav-cta-btn.line { background: var(--c-line-bg); color: #fff; border-color: var(--c-line-bg); }
.nav-cta-btn.line:hover { background: #05a647; }
.nav-cta-btn.recruit { background: var(--c-minnano); color: #fff; border-color: var(--c-minnano); }
.nav-cta-btn.recruit:hover { background: #133328; border-color: #133328; }
.nav-mobile-toggle {
  display: none;
  background: none; border: none;
  width: 28px; height: 28px;
  position: relative;
  cursor: pointer;
}
.nav-mobile-toggle span {
  position: absolute; left: 0;
  width: 100%; height: 1.5px;
  background: var(--c-ink);
  transition: all 0.3s;
}
.nav-mobile-toggle span:nth-child(1) { top: 8px; }
.nav-mobile-toggle span:nth-child(2) { top: 14px; }
.nav-mobile-toggle span:nth-child(3) { top: 20px; }
.nav-mobile-toggle.is-open span:nth-child(1) { top: 14px; transform: rotate(45deg); }
.nav-mobile-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.is-open span:nth-child(3) { top: 14px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav { padding: 12px 16px; }
  .nav-links {
    position: fixed;
    top: 50px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(255,255,255,0.98);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out);
    border-bottom: 1px solid var(--c-line);
  }
  .nav-links.is-open { max-height: 540px; padding: 12px 0; }
  .nav-links a { padding: 16px 24px; border-bottom: 1px solid var(--c-line); }
  .nav-mobile-toggle { display: block; }
  .nav-cta { gap: 6px; }
  .nav-cta-btn { font-size: 10px; padding: 7px 11px; letter-spacing: 0.12em; }
}

/* ============================================================
   Section primitives
   ============================================================ */
.section-meta {
  text-align: center;
  margin-bottom: 60px;
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--c-ink-mute);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.section-sub {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  color: var(--c-ink-soft);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   Page Header (サブページ共通)
   ============================================================ */
.page-header {
  margin-top: 50px;
  background: var(--c-soft);
  padding: 100px 32px 60px;
  position: relative;
  overflow: hidden;
}
.page-header.image {
  background: #1a1a1a;
  color: #fff;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 60px 32px;
}
.page-header.image::before {
  content: ""; position: absolute; inset: 0;
  background: var(--page-header-bg, none) center/cover no-repeat;
  z-index: 0;
}
.page-header.image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.65) 100%);
  z-index: 1;
}
.page-header-inner {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto;
}
.breadcrumb {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--c-ink-mute);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.page-header.image .breadcrumb { color: rgba(255,255,255,0.7); }
.breadcrumb a { color: inherit; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }
.page-title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.page-lead {
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
  color: var(--c-ink-soft);
  max-width: 640px;
}
.page-header.image .page-lead { color: rgba(255,255,255,0.92); }
@media (max-width: 720px) {
  .page-header { padding: 80px 16px 40px; }
  .page-header.image { padding: 40px 16px; min-height: 320px; }
}

/* ============================================================
   Content blocks (サブページ汎用)
   ============================================================ */
.content {
  padding: 80px 32px;
  background: var(--c-bg);
}
.content.soft { background: var(--c-soft); }
.content.dark { background: var(--c-ink); color: #fff; }
.content-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.content-inner.narrow { max-width: 720px; }
.content-inner.medium { max-width: 920px; }
.content-inner.wide { max-width: 1400px; }

.prose {
  font-size: 15px;
  font-weight: 400;
  line-height: 2.05;
  color: var(--c-ink-soft);
}
.prose p { margin-bottom: 20px; }
.prose strong { font-weight: 700; color: var(--c-ink); }
.prose h3 {
  font-size: 20px; font-weight: 800;
  margin: 40px 0 16px;
  letter-spacing: 0.02em;
  color: var(--c-ink);
}
.prose h4 {
  font-size: 15px; font-weight: 700;
  margin: 28px 0 12px;
  color: var(--c-ink);
}
.prose ul { list-style: none; padding: 0; margin: 16px 0 24px; }
.prose ul li {
  padding-left: 22px; position: relative;
  margin-bottom: 8px;
  color: var(--c-ink-soft);
}
.prose ul li::before {
  content: ""; position: absolute;
  left: 4px; top: 16px;
  width: 8px; height: 1px;
  background: var(--c-ink-soft);
}
.prose .pull {
  font-size: 19px; font-weight: 700; line-height: 1.7;
  color: var(--c-ink);
  border-left: 3px solid var(--c-minnano);
  padding: 4px 0 4px 22px;
  margin: 36px 0;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-out);
  border: 1px solid transparent;
}
.btn:hover { letter-spacing: 0.32em; }
.btn.dark { background: var(--c-ink); color: #fff; }
.btn.dark:hover { background: var(--c-minnano); }
.btn.outline { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn.outline:hover { background: var(--c-ink); color: #fff; }
.btn.minnano { background: var(--c-minnano); color: #fff; }
.btn.policy { background: var(--c-policy); color: #fff; }
.btn.line { background: var(--c-line-bg); color: #fff; }
.btn.hpb { background: var(--c-hpb); color: #fff; }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--c-ink);
  transition: letter-spacing 0.3s;
}
.btn-text:hover { letter-spacing: 0.4em; }

/* ============================================================
   KINO 機能 — 共通コンポーネント
   ============================================================ */
/* KINO stamp（最終更新スタンプ） */
.kino-stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--c-ink-mute);
  text-transform: uppercase;
}
.kino-stamp::before {
  content: ""; display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-kino);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* KINO Conductor Chat Widget */
.kino-conductor {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  background: var(--c-ink);
  color: #fff;
  padding: 14px 20px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transition: all 0.3s var(--ease-out);
  font-size: 13px;
  font-weight: 500;
}
.kino-conductor:hover {
  background: var(--c-minnano);
  transform: translateY(-2px);
}
.kino-conductor-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #b8d0c2;
  animation: pulse 2s infinite;
}
.kino-conductor-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.kino-conductor-text small {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-top: 2px;
}
@media (max-width: 720px) {
  .kino-conductor {
    bottom: 14px; right: 14px;
    padding: 10px 14px;
    font-size: 11px;
    border-radius: 22px;
  }
  .kino-conductor-text small { font-size: 8px; }
}

/* ============================================================
   Footer
   ============================================================ */
footer.site-footer {
  padding: 48px 32px 28px;
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
}
.footer-mega {
  text-align: center;
  margin-bottom: 36px;
}
.footer-mega img {
  max-width: 280px;
  height: auto;
  margin: 0 auto;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
}
.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--c-ink-mute);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li {
  font-size: 12px;
  font-weight: 500;
  color: var(--c-ink-soft);
  margin-bottom: 8px;
}
.footer-col li a { transition: color 0.2s; }
.footer-col li a:hover { color: var(--c-ink); }
.footer-info {
  font-size: 11px;
  font-weight: 500;
  color: var(--c-ink-soft);
  line-height: 1.95;
}
.footer-info strong { font-weight: 700; color: var(--c-ink); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--c-ink-mute);
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   Card grid utilities
   ============================================================ */
.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid.col-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.col-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.col-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .card-grid.col-3, .card-grid.col-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .card-grid.col-2, .card-grid.col-3, .card-grid.col-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   Stat / Pulse box
   ============================================================ */
.stat-row {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 720px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 24px 20px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  text-align: center;
}
.stat-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--c-ink);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.stat-unit {
  font-size: 12px; font-weight: 500;
  color: var(--c-ink-mute);
  margin-left: 4px;
}
.stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--c-ink-soft);
  text-transform: uppercase;
}

/* ============================================================
   Info dl
   ============================================================ */
.info-dl {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
}
@media (max-width: 720px) { .info-dl { grid-template-columns: 1fr; } }
.info-dl dt,
.info-dl dd {
  padding: 18px 0;
  border-bottom: 1px solid var(--c-line);
}
.info-dl dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--c-ink-mute);
  text-transform: uppercase;
  padding-right: 16px;
}
.info-dl dd {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink);
  line-height: 1.85;
}
.info-dl dd small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--c-ink-soft);
  margin-top: 4px;
}
@media (max-width: 720px) {
  .info-dl dt { padding-bottom: 0; border-bottom: none; }
  .info-dl dd { padding-top: 8px; }
}

/* ============================================================
   Tag pill
   ============================================================ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--c-soft);
  color: var(--c-ink-soft);
  border: 1px solid var(--c-line);
}
.pill.minnano { background: rgba(31, 77, 58, 0.08); color: var(--c-minnano); border-color: rgba(31, 77, 58, 0.2); }
.pill.policy { background: rgba(58, 46, 42, 0.08); color: var(--c-policy); border-color: rgba(58, 46, 42, 0.2); }
.pill.kino { background: rgba(184, 137, 90, 0.08); color: var(--c-kino); border-color: rgba(184, 137, 90, 0.3); }
.pill.live { background: #fff; color: #ff6b5e; border-color: #ff6b5e; }
.pill.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ff6b5e; }

/* ============================================================
   Helpers
   ============================================================ */
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.divider {
  width: 40px; height: 2px; background: var(--c-ink);
  margin: 28px auto;
}

/* ============================================================
   Recruit site specific accent
   ============================================================ */
body.recruit-site {
  --c-accent: #1f4d3a;
}
.recruit-hero {
  position: relative;
  min-height: 80vh;
  margin-top: 50px;
  background: #0a0a0a;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.recruit-hero-bg {
  position: absolute; inset: 0;
  background: var(--recruit-hero-bg, url('photos/store-hero.jpg')) center/cover no-repeat;
  opacity: 0.55;
}
.recruit-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.75) 100%);
}
.recruit-hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 32px;
  width: 100%;
}
.recruit-hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.35em;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.6);
  color: rgba(255,255,255,0.95);
  text-transform: uppercase;
  margin-bottom: 26px;
}
.recruit-hero-title {
  font-size: clamp(36px, 7vw, 88px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.recruit-hero-title em {
  font-style: normal;
  color: #b8d0c2;
}
.recruit-hero-lead {
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
  max-width: 540px;
  color: rgba(255,255,255,0.92);
  margin-bottom: 32px;
}
.recruit-hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
}
@media (max-width: 720px) {
  .recruit-hero { min-height: 70vh; }
  .recruit-hero-inner { padding: 40px 16px; }
}

/* Recruit Pulse */
.pulse-banner {
  background: linear-gradient(135deg, #f8f7f4 0%, #f0eee8 100%);
  border: 1px solid var(--c-line-strong);
  padding: 36px 32px;
  display: grid;
  grid-template-columns: auto repeat(4, 1fr);
  gap: 32px;
  align-items: center;
}
.pulse-banner-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--c-kino);
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .pulse-banner { grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 24px 20px; }
  .pulse-banner-label { grid-column: 1 / -1; }
}

/* Article / FAQ */
.faq-item {
  border-bottom: 1px solid var(--c-line);
  padding: 24px 0;
}
.faq-item:first-child { border-top: 1px solid var(--c-line); }
.faq-q {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
  color: var(--c-ink);
  cursor: pointer;
  user-select: none;
}
.faq-q::before {
  content: "Q.";
  font-size: 13px;
  font-weight: 800;
  color: var(--c-minnano);
  letter-spacing: 0.05em;
}
.faq-a {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 400;
  line-height: 2;
  color: var(--c-ink-soft);
}
.faq-a::before {
  content: "A.";
  font-size: 13px;
  font-weight: 800;
  color: var(--c-kino);
  letter-spacing: 0.05em;
}

/* Form */
.form-row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; margin-bottom: 28px; }
@media (max-width: 720px) { .form-row { grid-template-columns: 1fr; gap: 8px; } }
.form-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--c-ink);
  padding-top: 12px;
}
.form-label .required {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fff;
  background: var(--c-minnano);
  padding: 2px 6px;
  margin-left: 8px;
  border-radius: 2px;
}
.form-control {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--ff);
  font-weight: 400;
  color: var(--c-ink);
  background: var(--c-bg);
  border: 1px solid var(--c-line-strong);
  border-radius: 0;
  transition: border-color 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--c-ink);
}
textarea.form-control { min-height: 160px; resize: vertical; line-height: 1.85; }
.form-hint { font-size: 11px; color: var(--c-ink-mute); margin-top: 6px; }
.form-actions { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* Timeline / steps */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step {
  counter-increment: step;
  padding: 28px 22px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  position: relative;
}
.step::before {
  content: "STEP 0" counter(step);
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--c-kino);
  margin-bottom: 14px;
}
.step h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  color: var(--c-ink);
}
.step p {
  font-size: 12px;
  line-height: 1.85;
  color: var(--c-ink-soft);
}
