/*
 * /jp/mn/132101/ 専用CSS
 * 現行index.htmlの見た目を維持し、共通header.php / footer.phpへの
 * 影響を避けるため #mn-132101-page 配下に限定しています。
 */

#mn-132101-page {
  --bg:#fffef9;
  --ink:#1b1b1b;
  --brand:#d2691e;
  --muted:#6b6b6b;
  --accent:#0a7c86;
  --card:#ffffff;
  --line:#e6e2d8;
  --radius:18px;
  --shadow:0 4px 20px rgba(0,0,0,.06);
  --font-sans:system-ui,-apple-system,Segoe UI,Roboto,"Noto Sans JP","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
  --img-hero-max-w:190px;
  --img-hero-max-h:270px;
  --vtitle-col:clamp(78px,12vw,118px);
  --title-red:#d60000;
  --hero-gap:clamp(20px,6vw,40px);
  --bubble-bg:#fff3e6;
  --bubble-border:#f1b48a;
  --bubble-glow:rgba(210,105,30,.18);
  min-height:100%;
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font-sans);
  line-height:1.75;
  letter-spacing:.02em;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

#mn-132101-page *,
#mn-132101-page *::before,
#mn-132101-page *::after { box-sizing:border-box; }

#mn-132101-page a { color:var(--accent); text-decoration:none; }
#mn-132101-page a:hover { text-decoration:underline; }

#mn-132101-page .mn-132101-wrap {
  max-width:920px;
  margin-inline:auto;
  padding:clamp(12px,3vw,28px);
}

/* ====== ヒーロー（画像＋縦書き赤タイトル＋縦書き吹き出し） ====== */
#mn-132101-page header.hero {
  border-radius:calc(var(--radius) * 1.3);
  background:linear-gradient(135deg,rgba(210,105,30,.10),rgba(10,124,134,.08)),
             url('data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%22800%22 height=%22400%22><rect width=%22800%22 height=%22400%22 fill=%22%23fffaf2%22/></svg>') center/cover no-repeat;
  padding:clamp(20px,5vw,40px);
  box-shadow:var(--shadow);
  border:1px solid var(--line);
}

#mn-132101-page .hero-visual {
  display:flex;
  align-items:flex-start;
  justify-content:center;
  gap:var(--hero-gap);
  background:#fffaf2;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:clamp(12px,3vw,22px);
  box-shadow:var(--shadow);
  margin-top:12px;
  overflow:visible;
}

#mn-132101-page .v-bubble {
  order:0;
  align-self:flex-start;
  writing-mode:vertical-rl;
  text-orientation:mixed;
  color:#433b32;
  border-radius:14px;
  padding:12px 14px;
  max-height:48vh;
  position:relative;
  overflow:visible !important;
  z-index:2;
  background:
    radial-gradient(120% 120% at 92% 50%,rgba(210,105,30,.12),rgba(210,105,30,0) 60%),
    #fff3e6;
  border:1px solid #f1b48a;
  box-shadow:0 12px 28px rgba(210,105,30,.18),0 3px 10px rgba(0,0,0,.06);
}

#mn-132101-page .hero-visual .v-bubble::before {
  content:"";
  position:absolute;
  top:50%;
  right:-20px;
  transform:translateY(-50%);
  width:0;
  height:0;
  border-style:solid;
  border-width:14px 0 14px 20px;
  border-color:transparent transparent transparent #f1b48a;
  filter:drop-shadow(0 2px 6px rgba(210,105,30,.18));
}

#mn-132101-page .hero-visual .v-bubble::after {
  content:"";
  position:absolute;
  top:50%;
  right:-19px;
  transform:translateY(-50%);
  width:0;
  height:0;
  border-style:solid;
  border-width:13px 0 13px 19px;
  border-color:transparent transparent transparent #fff3e6;
}

#mn-132101-page .hero-visual img {
  order:1;
  align-self:center;
  display:block;
  width:auto;
  height:auto;
  max-width:clamp(120px,30vw,var(--img-hero-max-w));
  max-height:clamp(180px,40vh,var(--img-hero-max-h));
  object-fit:contain;
  margin:0;
  position:relative;
  z-index:1;
}

#mn-132101-page .v-title {
  order:2;
  align-self:flex-start;
  writing-mode:vertical-rl;
  text-orientation:mixed;
  font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN",Meiryo,var(--font-sans);
  font-weight:800;
  color:var(--title-red);
  font-size:clamp(1.9rem,1.5rem + 3.0vw,3.4rem);
  line-height:1.12;
  letter-spacing:.14em;
  min-width:var(--vtitle-col);
  padding-inline:8px;
  display:grid;
  grid-auto-rows:auto;
  row-gap:.35em;
  justify-items:start;
  align-items:start;
}

#mn-132101-page .v-title .vline { display:block; white-space:nowrap; }

/* ====== コンテンツ共通 ====== */
#mn-132101-page .card {
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:clamp(14px,2.2vw,22px);
}

#mn-132101-page .grid {
  display:grid;
  grid-template-columns:1fr;
  gap:clamp(10px,2.5vw,20px);
  margin-top:clamp(16px,3vw,28px);
}

#mn-132101-page h2.section-title {
  font-size:clamp(1.2rem,1rem + .8vw,1.6rem);
  margin:0 0 .6rem;
  color:#2a251d;
}

#mn-132101-page h3 { font-size:1.05rem; margin:1rem 0 .5rem; color:#2d2a25; }
#mn-132101-page .list { margin:.25rem 0 0; padding-left:1.1em; }
#mn-132101-page .list li { margin:.15rem 0; }

#mn-132101-page .img-fluid {
  display:block;
  max-width:100%;
  height:auto;
  margin:10px auto;
}

#mn-132101-page .note,
#mn-132101-page .callout {
  border-left:4px solid var(--brand);
  background:linear-gradient(0deg,rgba(210,105,30,.06),rgba(210,105,30,.04));
  padding:.75rem .9rem;
  border-radius:10px;
  margin:.6rem 0;
  color:#3a2f27;
}

#mn-132101-page .callout.info {
  border-left-color:var(--accent);
  background:linear-gradient(0deg,rgba(10,124,134,.07),rgba(10,124,134,.04));
}

#mn-132101-page .step .head { display:flex; align-items:center; gap:.6rem; }

#mn-132101-page .step .num {
  width:28px;
  height:28px;
  border-radius:8px;
  background:var(--brand);
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:700;
  flex-shrink:0;
}

#mn-132101-page .kpi { display:flex; gap:8px; flex-wrap:wrap; }

#mn-132101-page .kpi .pill {
  border:1px dashed var(--line);
  border-radius:999px;
  padding:.35rem .7rem;
  background:#fff;
  font-size:.95rem;
  color:#423a30;
  cursor:pointer;
  user-select:none;
}

#mn-132101-page .kpi .pill:focus {
  outline:2px solid rgba(10,124,134,.35);
  outline-offset:2px;
}

#mn-132101-page .media-row {
  display:grid;
  grid-template-columns:1fr minmax(180px,320px);
  gap:12px 18px;
  align-items:start;
}

#mn-132101-page section#tips.card { padding:clamp(10px,2vw,16px); }

#mn-132101-page section#tips .media-row {
  grid-template-columns:1fr minmax(160px,260px);
  gap:6px 12px;
  align-items:center;
}

#mn-132101-page section#tips .media-side img { max-width:220px; margin:0; }
#mn-132101-page section#tips .media-text p { margin:.25rem 0 0; }

#mn-132101-page a.jump-nuka { font-weight:700; text-decoration:underline dotted; }

@keyframes mn132101FlashRing {
  0% { box-shadow:0 0 0 0 rgba(10,124,134,0); }
  30% { box-shadow:0 0 0 8px rgba(10,124,134,.18); }
  100% { box-shadow:0 0 0 0 rgba(10,124,134,0); }
}

#mn-132101-page .flash {
  animation:mn132101FlashRing 1.2s ease-out 1;
  border-radius:14px;
}

#mn-132101-page .subcap {
  display:inline-block;
  margin:.2rem 0 .6rem;
  padding-left:.55rem;
  border-left:4px solid var(--accent);
  font-weight:700;
  color:#433b32;
  font-size:1rem;
}

#mn-132101-page .pdf-callout {
  margin:12px 0 8px;
  padding:10px 12px;
  border-left:4px solid var(--accent);
  background:#fff;
  border:1px solid var(--line);
  border-radius:10px;
  display:flex;
  flex-wrap:wrap;
  gap:10px 12px;
  align-items:center;
  box-shadow:var(--shadow);
}

#mn-132101-page .pdf-callout .btn {
  display:inline-block;
  padding:.45rem .75rem;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  text-decoration:none;
  color:#222;
  font-weight:600;
}

#mn-132101-page .toc {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:.8rem;
  position:sticky;
  top:12px;
  box-shadow:var(--shadow);
}

#mn-132101-page .toc a { display:block; padding:.25rem .5rem; border-radius:8px; }
#mn-132101-page .toc a:hover { background:#f6f3ec; text-decoration:none; }
#mn-132101-page .tel { font-feature-settings:"liga" 1,"pnum" 1; }
#mn-132101-page .fine { font-size:.95rem; color:#574f44; }

@media (min-width:960px) {
  #mn-132101-page .grid-2 { grid-template-columns:1.1fr .9fr; }
}

@media (max-width:720px) {
  #mn-132101-page .media-row { grid-template-columns:1fr; }
}

@media (max-width:560px) {
  #mn-132101-page .hero-visual .v-bubble::before {
    right:-16px;
    border-width:12px 0 12px 16px;
  }

  #mn-132101-page .hero-visual .v-bubble::after {
    right:-15px;
    border-width:11px 0 11px 15px;
  }
}

@media print {
  #mn-132101-page .toc { position:static; }
  #mn-132101-page header.hero { box-shadow:none; }
  #mn-132101-page .card { box-shadow:none; }
  #mn-132101-page a::after { content:" (" attr(href) ")"; font-size:.85em; }
}