/* =========================================================
   本人確認ヘルプページ  スタイル
   草案（黄色×黒×赤）のトーンを再現／スマホ向け縦長1ページ
   ========================================================= */

:root {
  --yellow: #ffe600;
  --yellow-deep: #f5d800;
  --black: #111111;
  --gray-bg: #f2f2f2;
  --red: #e60012;
  --blue: #1a3aa8;
  --mynumber: #1467c7;
  --mynumber-soft: #eaf4ff;
  --license: #2e7d32;
  --license-soft: #eef8ef;
  --text: #111;
  --text-sub: #555;
  --border: #e3e3e3;
  --header-h: 118px; /* JSで上書き */
  --shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--text);
  background: var(--yellow);
  line-height: 1.7;
  font-size: 15px;
  padding-top: var(--header-h);
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
p { margin: 0 0 .6em; }
mark { background: var(--yellow); color: inherit; padding: 0 .15em; }

[id] { scroll-margin-top: calc(var(--header-h) + 10px); }

/* ---------------------------------------------------------
   固定ヘッダー
   --------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: var(--black);
  color: #fff;
  padding-top: env(safe-area-inset-top);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}
.header-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 8px 12px 10px;
}
.site-title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--yellow);
}
.doc-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.doc-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  border: 2px solid transparent;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: filter .2s, box-shadow .2s, transform .2s;
}
.doc-nav-btn[data-target="mynumber"] { background: var(--mynumber); border-color: #72ace7; }
.doc-nav-btn[data-target="license"] { background: var(--license); border-color: #86bd89; }
.doc-nav-btn.is-active {
  box-shadow: 0 0 0 3px var(--yellow), 0 2px 8px rgba(0,0,0,.28);
  filter: saturate(1.12) brightness(1.04);
}
.os-nav {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 6px;
  margin-top: 8px;
}
.os-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 4px;
  border-radius: 999px;
  background: #fff;
  color: var(--black);
  text-decoration: none;
  font-weight: 700;
  font-size: 12.5px;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.os-nav-btn i { font-size: 14px; }
.os-nav-btn--faq { background: #ffd0d3; }

/* ---------------------------------------------------------
   レイアウト共通
   --------------------------------------------------------- */
#main-content {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 0 32px;
}
.hero { padding: 26px 16px 22px; text-align: center; }
.hero-title {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: .02em;
}

.paper {
  background: #fff;
  margin: 0 10px;
  padding: 22px 16px 26px;
  border-radius: 6px;
}
.lead-heading {
  margin: 0 0 4px;
  text-align: center;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.4;
}
.lead-sub {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 14px;
}
.device-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 2px solid var(--black);
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.8;
}
.device-note p { margin: 0; }
.ext-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ext-link i, .ref-link i { font-size: .8em; margin-left: 4px; }

/* 黄色シェブロン（草案の「>>」区切り） */
.chevron {
  width: 34px;
  height: 26px;
  margin: 18px auto;
  background:
    linear-gradient(135deg, transparent 0 46%, var(--yellow-deep) 46% 62%, transparent 62%) 0 0 / 50% 60% no-repeat,
    linear-gradient(225deg, transparent 0 46%, var(--yellow-deep) 46% 62%, transparent 62%) 100% 0 / 50% 60% no-repeat,
    linear-gradient(135deg, transparent 0 46%, var(--yellow-deep) 46% 62%, transparent 62%) 0 100% / 50% 60% no-repeat,
    linear-gradient(225deg, transparent 0 46%, var(--yellow-deep) 46% 62%, transparent 62%) 100% 100% / 50% 60% no-repeat;
}

/* 書類選択 */
.doc-select {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.doc-select-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 10px 12px;
  border: 3px solid;
  border-radius: 10px;
  text-decoration: none;
  color: var(--black);
  font-weight: 800;
  font-size: 14px;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.doc-select-card[href="#mynumber"] {
  background: var(--mynumber-soft);
  border-color: var(--mynumber);
}
.doc-select-card[href="#license"] {
  background: var(--license-soft);
  border-color: var(--license);
}
.doc-select-card::after {
  content: "";
  position: absolute;
  right: -3px; bottom: -3px;
  border-style: solid;
  border-width: 0 0 22px 22px;
  border-color: transparent transparent currentColor transparent;
}
.doc-select-card[href="#mynumber"] { color: #0f559f; }
.doc-select-card[href="#license"] { color: #256628; }
.doc-select-card span { color: var(--black); }
.doc-select-card:hover, .doc-select-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(0,0,0,.14);
  filter: saturate(1.08);
}
.doc-select-card img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 1px 6px rgba(0,0,0,.15);
  background: #fff;
}

/* ---------------------------------------------------------
   書類セクション
   --------------------------------------------------------- */
.doc-section { padding-top: 6px; margin-bottom: 8px; }
.doc-heading {
  margin: 0 10px 12px;
  padding: 12px;
  background: var(--black);
  color: #fff;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .12em;
  border-radius: 6px 6px 0 0;
}
.doc-section .paper { border-radius: 0 0 6px 6px; margin-top: -12px; }

/* STEP */
.step { text-align: center; }
.step-num {
  margin: 0 0 6px;
  font-family: "Bebas Neue", "Noto Sans JP", sans-serif;
  font-size: 30px;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--black);
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  border-bottom: 3px solid var(--yellow);
  padding: 0 4px 2px;
}
.step-num span { font-size: 22px; letter-spacing: .12em; }
.step-title {
  margin: 4px 0 12px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
}
.step-title mark, .red-big mark {
  background: var(--yellow);
  padding: .1em .35em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.red-note {
  margin: 12px 0 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}
.red-big {
  margin: 0 0 6px;
  color: var(--red);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.45;
}
.red-big--xl { font-size: 22px; margin: 10px 0 4px; }
.red { color: var(--red); }
.small-note { font-size: 12px; color: var(--text-sub); margin: 0 0 6px; }
.plain-strong {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  margin: 12px 0 0;
}

/* 草案画像の切り抜き表示 */
.crop {
  width: 100%;
  max-width: 340px;
  margin: 10px auto 0;
  background-repeat: no-repeat;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3; /* JSで実寸比に上書き */
}
.crop--devices { max-width: 360px; }
.crop--shot { max-width: 300px; }
.crop--face { max-width: 260px; }

/* OS別ブロック（STEP3） */
.os-block { margin-top: 14px; }
.os-label {
  margin: 0 auto 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .12em;
  position: relative;
  display: inline-block;
  padding: 0 12px;
}
.os-label::before, .os-label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 1px;
  background: #999;
}
.os-label::before { right: 100%; }
.os-label::after { left: 100%; }
.os-lead {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 6px;
}
.mark-note {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  margin: 4px 0 2px;
}
.mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.mark img { width: 30px; height: 30px; object-fit: contain; }
.mark small { font-size: 10px; font-weight: 500; margin-top: 2px; }

/* POINT */
.point {
  margin: 14px 0 0;
  text-align: left;
}
.point-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 22px;
  letter-spacing: .3em;
  color: var(--black);
}
.point-title::before, .point-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #999;
}
.point ul { margin: 0; padding: 0 4px; list-style: none; }
.point li {
  font-size: 15px;
  font-weight: 700;
  padding: 3px 0;
}
.point li::before { content: "・"; }

/* STEP8 */
.status-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 8px;
}
.status-box {
  border: 2px solid var(--black);
  padding: 8px 12px;
  font-weight: 700;
  font-size: 15px;
  background: #fff;
  white-space: nowrap;
}
.status-arrow { font-size: 22px; }

/* 注意ボックス（運転免許証） */
.caution {
  margin: 8px 0 14px;
  border: 3px solid var(--red);
  border-radius: 4px;
  background: #fff;
  text-align: left;
}
.caution-head {
  margin: 0;
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 8px 10px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .1em;
  line-height: 1.4;
}
.caution-head span { font-size: 14px; letter-spacing: 0; display: block; }
.caution-list {
  list-style: none;
  margin: 0;
  padding: 10px 14px 4px;
}
.caution-list li {
  font-size: 15px;
  font-weight: 900;
  padding: 3px 0;
}
.caution-list li::before { content: "・"; }
.caution-foot {
  margin: 0;
  padding: 4px 12px 12px;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.6;
}

/* セクション末尾リンク */
.section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.jump-link {
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px;
  border-radius: 999px;
  border: 2px solid var(--black);
  color: var(--black);
  background: #fff;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  white-space: nowrap;
}
.jump-link--top { background: var(--black); color: #fff; }

/* ---------------------------------------------------------
   FAQ
   --------------------------------------------------------- */
.faq-section {
  background: #fff;
  margin: 12px 10px 0;
  padding: 22px 16px 26px;
  border-radius: 6px;
}
.faq-heading {
  margin: 0 0 4px;
  font-size: 21px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
}
.faq-heading i { font-size: 20px; color: #444; }
.faq-sub { font-size: 13px; color: var(--text-sub); margin-bottom: 8px; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 28px 14px 2px;
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.5;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 4px;
  top: 16px;
  font-size: 12px;
  color: #444;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.q {
  flex: none;
  font-family: "Bebas Neue", sans-serif;
  font-size: 20px;
  line-height: 1;
  color: #2c3e73;
  margin-top: 1px;
}
.faq-body {
  padding: 0 4px 16px 30px;
  font-size: 13.5px;
  color: #333;
}
.faq-body p { margin-bottom: .8em; }
.faq-ul { margin: 0 0 .8em; padding-left: 1.2em; }
.faq-ul li { padding: 2px 0; }
.ref-link {
  display: inline-block;
  border: 2px solid #2c3e73;
  border-radius: 6px;
  padding: 6px 10px;
  color: #2c3e73;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  margin: 2px 0 6px;
}
.faq-note { font-size: 11.5px; color: var(--text-sub); }
.in-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2c3e73;
  font-weight: 700;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.arrow-key {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  background: #aee0f7;
  color: #1a3aa8;
  border-radius: 4px;
  font-size: 11px;
  vertical-align: middle;
}

.contact-card {
  margin-top: 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 16px;
  background: #fafafa;
}
.contact-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #fff7c2;
  display: grid;
  place-items: center;
  color: #8a6d00;
  font-size: 16px;
  margin-bottom: 8px;
}
.contact-card h3 { margin: 0 0 6px; font-size: 15px; font-weight: 700; }
.contact-card p { font-size: 13px; color: #333; margin: 0; line-height: 1.8; }
.contact-card hr { border: 0; border-top: 1px solid var(--border); margin: 12px 0; }
.contact-note { font-size: 12px !important; color: var(--text-sub) !important; }

/* ---------------------------------------------------------
   フッター / 戻るボタン
   --------------------------------------------------------- */
.site-footer {
  background: var(--black);
  color: #ccc;
  text-align: center;
  padding: 20px 16px 30px;
  font-size: 12px;
}
.site-footer p { margin: 0 0 12px; }
.footer-top-link {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid #777;
  padding: 6px 16px;
  border-radius: 999px;
}

.back-to-top {
  position: fixed;
  right: 14px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 90;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  background: var(--black);
  color: var(--yellow);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  gap: 2px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s;
  -webkit-tap-highlight-color: transparent;
}
.back-to-top i { font-size: 15px; }
.back-to-top span { font-size: 9px; font-weight: 900; letter-spacing: .05em; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------------------------------------------------------
   レスポンシブ
   --------------------------------------------------------- */
@media (max-width: 360px) {
  .hero-title { font-size: 22px; }
  .doc-nav-btn { font-size: 13px; }
  .os-nav-btn { font-size: 11.5px; }
  .status-box { font-size: 13px; padding: 6px 8px; }
  .red-big--xl { font-size: 19px; }
}
@media (min-width: 600px) {
  body { font-size: 16px; }
  .hero-title { font-size: 30px; }
  .crop { max-width: 380px; }
  .crop--shot { max-width: 320px; }
  .crop--face { max-width: 280px; }
}
@media (min-width: 900px) {
  body { background: #e9d900; }
  #main-content { background: var(--yellow); box-shadow: 0 0 40px rgba(0,0,0,.12); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .back-to-top, .doc-nav-btn { transition: none; }
}


/* =========================================================
   v5: 高画質ガイド画像を元データのまま表示
   - CSS背景の拡大切り抜きをやめ、実画像として縮小のみ行う
   - STEP5-6を含め画像端が見切れない
   ========================================================= */
.device-guide-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 12px auto 0;
  border-radius: 8px;
}
.guide-paper {
  padding-left: 10px;
  padding-right: 10px;
  overflow: visible;
}
.guide-pair {
  position: relative;
  margin: 0 auto 18px;
  padding: 0;
  text-align: center;
  overflow: visible;
}
.guide-pair + .guide-pair { margin-top: 12px; }
.guide-pair img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  image-rendering: auto;
}
.step-anchor {
  position: absolute;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.step-anchor--top { top: 0; }
.doc-heading--mynumber { background: var(--mynumber); }
.doc-heading--license { background: var(--license); }

/* 元画像の自然解像度を超えて拡大しない */
@media (min-width: 700px) {
  #main-content { max-width: 840px; }
  .header-inner { max-width: 840px; }
  .paper { margin-left: 18px; margin-right: 18px; }
  .guide-paper { padding-left: 18px; padding-right: 18px; }
}


/* 対応機種ボタン：画像内の黒い「対応機種を確認する」をクリック可能にする */
.device-guide-wrap {
  position: relative;
  width: min(100%, 630px);
  margin: 12px auto 0;
}
.device-guide-wrap .device-guide-image {
  width: 100%;
  max-width: none;
  margin: 0;
}
.device-guide-link {
  position: absolute;
  left: 60.15%;
  top: 78.0%;
  width: 36.5%;
  height: 11.5%;
  border-radius: 999px;
  z-index: 2;
  cursor: pointer;
}
.device-guide-link:focus-visible {
  outline: 4px solid #1667d9;
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .device-guide-link:hover {
    box-shadow: 0 0 0 4px rgba(22, 103, 217, .22);
  }
}

/* =========================================================
   v5.3: STEP画像の黄色サイドライン連結調整
   - 元画像ごとの横幅差をなくし、全STEPを同じ表示幅に統一
   - STEP画像間の余白をなくして黄色ラインを連続表示
   - 端数ピクセルによる細い隙間を1px重ねて吸収
   ========================================================= */
.guide-pair {
  width: 100%;
  max-width: 781px;
  margin: 0 auto;
  padding: 0;
  line-height: 0;
}
.guide-pair + .guide-pair {
  margin-top: -1px;
}
.guide-pair img {
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
}
.guide-pair:last-of-type {
  margin-bottom: 18px;
}

/* 連続するSTEP画像の共通レール */
.guide-stack {
  width: 100%;
  max-width: 781px;
  margin: 0 auto 18px;
  background:
    linear-gradient(to right,
      var(--yellow) 0 4.55%,
      #fff 4.55% 95.45%,
      var(--yellow) 95.45% 100%);
}
.guide-stack .guide-pair:last-of-type {
  margin-bottom: 0;
}


/* =========================================================
   v6: STEP3前の「スマートフォンでカードを読み取るコツ」
   - マイナンバーカード／運転免許証ともSTEP2とSTEP3の間に表示
   - 黄色サイドラインを崩さず、独立した注意カードとして見せる
   ========================================================= */
.reading-tips {
  position: relative;
  width: calc(100% - 9.1%);
  margin: 16px 4.55% 18px;
  padding: 12px 10px 10px;
  background: #fff;
  border: 2px solid var(--yellow-deep);
  border-radius: 14px;
  line-height: 1.5;
  box-shadow: 0 3px 12px rgba(0,0,0,.08);
}
.reading-tips-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 auto 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--black);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.4;
}
.reading-tips-label i {
  color: #178543;
}
.reading-tips img {
  display: block;
  width: 100%;
  max-width: 1108px;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
}
@media (max-width: 480px) {
  .reading-tips {
    width: calc(100% - 7%);
    margin-left: 3.5%;
    margin-right: 3.5%;
    padding: 9px 7px 7px;
    border-radius: 11px;
  }
  .reading-tips-label {
    font-size: 12.5px;
    padding: 5px 9px;
    margin-bottom: 8px;
  }
}

.reading-tips-zoom {
  display: block;
  position: relative;
  color: inherit;
  text-decoration: none;
}
.reading-tips-zoom span {
  display: none;
}
@media (max-width: 640px) {
  .reading-tips-zoom span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 7px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #333;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
  }
}


/* =========================================================
   v6.1: 読み取りのコツセクション微調整
   - 上部ラベル枠を非表示
   - 外側の白カード枠・影を削除
   - 追加画像をそのまま見せ、キャラクターや吹き出しが見切れないようにする
   ========================================================= */
.reading-tips {
  width: 100%;
  margin: 14px 0 18px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.reading-tips-label {
  display: none;
}
.reading-tips img {
  width: 100%;
  max-width: none;
  border-radius: 0;
}
@media (max-width: 480px) {
  .reading-tips {
    width: 100%;
    margin: 10px 0 14px;
    padding: 0;
    border-radius: 0;
  }
}


/* =========================================================
   v7.1: STEP3前の注意画像 最終表示
   - 黄色い外枠は guide-reading-tips.jpg 自体をそのまま使用
   - 赤ラベルのみ画像上部の黄色エリアへ重ねる
   - 余計な白枠・影・余白・チェックアイコンは追加しない
   ========================================================= */
.reading-tips {
  position: relative !important;
  width: 100% !important;
  max-width: 781px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  line-height: 0 !important;
}
.reading-tips-zoom {
  display: block !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}
.reading-tips img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  border-radius: 0 !important;
}
.reading-tips-label {
  position: absolute !important;
  top: 3.08% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 5 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 7px 17px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #ff130b !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}
.reading-tips-label i,
.reading-tips-check,
.reading-tips-zoom span {
  display: none !important;
}
@media (max-width: 480px) {
  .reading-tips {
    width: 100% !important;
    margin: 0 auto !important;
  }
  .reading-tips-label {
    top: 3.08% !important;
    padding: 5px 11px !important;
    font-size: 11px !important;
  }
}

/* =========================================================
   v8: 読み取りのコツ画像がタップ可能であることを明示
   ========================================================= */
.reading-tips-zoom {
  cursor: zoom-in !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, .08);
}
.reading-tips-tap {
  position: absolute !important;
  right: 3.5% !important;
  bottom: 4.5% !important;
  z-index: 6 !important;
  display: grid !important;
  grid-template-columns: auto auto !important;
  grid-template-rows: auto auto !important;
  column-gap: 7px !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 8px 12px 7px !important;
  border-radius: 999px !important;
  background: rgba(30, 30, 30, .90) !important;
  color: #fff !important;
  box-shadow: 0 3px 10px rgba(0,0,0,.22) !important;
  line-height: 1.15 !important;
  pointer-events: none !important;
  white-space: nowrap !important;
}
.reading-tips-tap i {
  grid-row: 1 / span 2 !important;
  font-size: 16px !important;
  color: #fff !important;
}
.reading-tips-tap strong {
  display: block !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
}
.reading-tips-tap small {
  display: block !important;
  margin-top: 2px !important;
  font-size: 9px !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  opacity: .88 !important;
}
.reading-tips-zoom:hover .reading-tips-tap,
.reading-tips-zoom:focus-visible .reading-tips-tap {
  background: rgba(0, 0, 0, .96) !important;
  transform: translateY(-1px) !important;
}
.reading-tips-zoom:focus-visible {
  outline: 3px solid #1a73e8 !important;
  outline-offset: 3px !important;
}
@media (max-width: 480px) {
  .reading-tips-tap {
    right: 2.8% !important;
    bottom: 3.6% !important;
    column-gap: 5px !important;
    padding: 6px 9px 5px !important;
  }
  .reading-tips-tap i {
    font-size: 14px !important;
  }
  .reading-tips-tap strong {
    font-size: 10.5px !important;
  }
  .reading-tips-tap small {
    font-size: 8px !important;
  }
}


/* =========================================================
   v8.1: スマホ共通「タップして拡大」表示の安定化
   - iPhone / Android とも画像右下に固定
   - 旧 .reading-tips-zoom span の display 指定を確実に上書き
   - Font Awesomeに依存しない + アイコン
   ========================================================= */
.reading-tips .reading-tips-zoom > .reading-tips-tap {
  position: absolute !important;
  right: 3.2% !important;
  bottom: 4.0% !important;
  z-index: 20 !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  width: auto !important;
  margin: 0 !important;
  padding: 7px 11px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(20, 20, 20, .92) !important;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(0,0,0,.24) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}
.reading-tips .reading-tips-zoom > .reading-tips-tap .reading-tips-tap-icon {
  display: grid !important;
  place-items: center !important;
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #fff !important;
  font-family: Arial, sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}
.reading-tips .reading-tips-zoom > .reading-tips-tap .reading-tips-tap-copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  text-decoration: none !important;
  line-height: 1.05 !important;
}
.reading-tips .reading-tips-zoom > .reading-tips-tap strong {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
}
.reading-tips .reading-tips-zoom > .reading-tips-tap small {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
  font-size: 8.5px !important;
  font-weight: 500 !important;
  line-height: 1.05 !important;
  text-decoration: none !important;
  opacity: .88 !important;
}
@media (max-width: 480px) {
  .reading-tips .reading-tips-zoom > .reading-tips-tap {
    right: 2.6% !important;
    bottom: 3.2% !important;
    gap: 5px !important;
    padding: 5px 8px !important;
  }
  .reading-tips .reading-tips-zoom > .reading-tips-tap .reading-tips-tap-icon {
    width: 18px !important;
    height: 18px !important;
    flex-basis: 18px !important;
    font-size: 14px !important;
    border-width: 1.5px !important;
  }
  .reading-tips .reading-tips-zoom > .reading-tips-tap strong {
    font-size: 10.5px !important;
  }
  .reading-tips .reading-tips-zoom > .reading-tips-tap small {
    font-size: 7.5px !important;
  }
}
