/* ===== TAL本格模試 [tal_moshi] =====
   記事埋め込み（spi-mini 系・reset無し）。第1部=質問36問UI、第2部=図形配置（tal_kotei から
   独立名前空間 .tal-moshi-fig-* に移植）、結果＝疑似診断＋spi-mini標準ゲート。 */

.tal-moshi,
.tal-ad {
  --tm-teal: #3AAFA9;
  --tm-teal-d: #138F83;
  --tm-green: #26A69A;
  --tm-blue: #4A7FD0;
  --tm-blue-d: #3869B3;
  --tm-mist: #EEF8FB;
  --tm-orange: #FF7A00;
  --tm-orange-d: #C85D00;
  --tm-ink: #333;
  --tm-sub: #666;
  --tm-line: #e3e8e7;
  container-type: inline-size;
  font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  color: var(--tm-ink);
  border: 1px solid var(--tm-line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

/* 広告 [ad_tal] のラッパーはカード枠を持たない（2026-07-27 オーナー指示：京香吹き出しを箱の外に）。
   京香 [say] は独立した吹き出し／box32 だけがカード、という見た目にする。上の共有ブロックが付ける
   枠・背景・overflow を打ち消す。 */
.tal-ad {
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
  font-family: inherit;
}

.tal-moshi-screen { padding: 0; }
.tal-moshi-scroll-target { scroll-margin-top: 88px; }

/* ===== 練習方法選択 ===== */
.tal-moshi-menu-hero {
  padding: 0 0 16px;
}
.tal-moshi-menu-title {
  margin: 0;
  padding: 17px 24px 19px;
  color: #fff;
  background: linear-gradient(110deg, #18a69b, #2eb7aa 68%, #22a89e);
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.08);
  font-size: clamp(22px, 4.3cqi, 31px);
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  letter-spacing: .02em;
}
.tal-moshi-menu-hero-body {
  width: min(calc(100% - 38px), 760px);
  margin: 0 auto;
}
.tal-moshi-menu-lead {
  margin: 16px 0 4px;
  color: #245451;
  font-size: clamp(13px, 2.1cqi, 16px);
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  letter-spacing: .05em;
}
.tal-moshi-menu-visual {
  width: min(100%, 680px);
  margin: 0 auto;
}
.tal-moshi-menu-visual img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}
.tal-moshi-menu-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.tal-moshi-menu-benefits li {
  position: relative;
  margin: 0;
  padding: 10px 10px 10px 34px;
  border: 1px solid rgba(38,166,154,.22);
  border-radius: 9px;
  color: #294c49;
  background: rgba(255,255,255,.78);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.55;
  box-shadow: 0 3px 9px rgba(36,98,92,.06);
}
.tal-moshi-menu-benefits li::before {
  content: "✓";
  position: absolute;
  top: 10px;
  left: 11px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  color: #fff;
  background: var(--tm-green);
  font-size: 10px;
  line-height: 1;
}
.tal-moshi-menu-guide {
  margin: 14px 0 0;
  color: #176f6d;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}
.tal-moshi-menu-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: min(calc(100% - 36px), 760px);
  margin: 10px auto 18px;
}
.tal-moshi-menu-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid;
  border-radius: 14px;
  box-shadow: 0 5px 14px rgba(46,88,84,.08);
}
.tal-moshi-menu-card--quiz {
  border-color: #f3c58e;
  background: #fffaf4;
}
.tal-moshi-menu-card--mock {
  border-color: #d8e3f4;
  background: #f7f9fd;
}
.tal-moshi-menu-icon {
  display: grid;
  place-items: center;
  align-self: start;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.tal-moshi-menu-card--quiz .tal-moshi-menu-icon { background: #fff2df; }
.tal-moshi-menu-card--mock .tal-moshi-menu-icon { background: #e8eef9; }
.tal-moshi-menu-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}
.tal-moshi-menu-card--quiz .tal-moshi-menu-icon svg { color: #ef8a12; }
.tal-moshi-menu-card--mock .tal-moshi-menu-icon svg { color: #4a7fd0; }
.tal-moshi-menu-copy {
  align-self: center;
  min-width: 0;
}
/* ニュアンスタグ（適職診断のタブ風の小バッジ）。ミニクイズ=かんたん・1問5分／本番=本番形式・約20分 */
.tal-moshi-menu-tag {
  display: inline-block;
  margin-bottom: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .03em;
}
.tal-moshi-menu-card--quiz .tal-moshi-menu-tag { color: #c96a00; background: #ffe6c9; }
.tal-moshi-menu-card--mock .tal-moshi-menu-tag { color: #2f5fae; background: #dbe7fa; }
.tal-moshi-menu-card-title {
  margin: 0;
  color: #172826;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .02em;
}
.tal-moshi-menu-detail {
  margin: 3px 0 0;
  color: #526764;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.55;
  white-space: nowrap;
}
.tal-moshi-menu-button {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  margin-top: 9px;
  border: 0;
  border-radius: 28px;
  color: #fff !important;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none !important;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.tal-moshi-menu-chev {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
/* ミニクイズ＝アウトライン(軽・入口)／本番模試＝塗り(主役)。並列でなく段階だと伝える */
.tal-moshi-menu-button--quiz {
  background: #fff;
  color: #d97a06 !important;
  border: 2px solid #f0b970;
  box-shadow: 0 3px 0 rgba(212,111,0,.14);
}
.tal-moshi-menu-button--quiz:hover {
  color: #c96a00 !important;
  background: #fff7ec;
  transform: translateY(-1px);
}
.tal-moshi-menu-button--mock {
  background: var(--tm-blue);
  box-shadow: 0 5px 0 var(--tm-blue-d), 0 10px 16px rgba(56,105,179,.18);
}
.tal-moshi-menu-button--mock:hover {
  color: #fff !important;
  background: #5688d7;
  transform: translateY(-1px);
}
.tal-moshi-menu-button:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 rgba(0,0,0,.2);
}

/* ===== 試験開始画面 ===== */
.tal-moshi-intro-hero,
.tal-moshi-gate-hero {
  position: relative;
  min-height: 200px;
  overflow: hidden;
  background: var(--tm-mist);
}
.tal-moshi-intro-hero {
  background: var(--tm-green);
}
.tal-moshi-gate-hero {
  background: var(--tm-green);
}
.tal-moshi-intro-heading,
.tal-moshi-gate-heading {
  position: relative;
  z-index: 2;
  width: 72%;
  padding: 32px 0 26px 42px;
}
.tal-moshi-intro-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: var(--tm-blue-d);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
.tal-moshi-intro-kicker img {
  width: 18px;
  height: 18px;
  filter: invert(48%) sepia(42%) saturate(1058%) hue-rotate(177deg) brightness(89%) contrast(88%);
}
.tal-moshi-intro-title,
.tal-moshi-gate-title {
  width: calc(100cqi - 294px);
  max-width: 100%;
  margin: 0;
  padding: 0 0 12px;
  border-bottom: 4px dotted #176f6d;
  color: #176f6d;
  font-size: clamp(27px, 5cqi, 40px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: .03em;
  white-space: nowrap;
}
.tal-moshi-intro-title {
  padding-bottom: 0;
  border-bottom: 0;
  color: #fff;
  font-size: clamp(34px, 6cqi, 44px);
}
.tal-moshi-gate-title {
  padding-bottom: 0;
  border-bottom: 0;
  color: #fff;
}
.tal-moshi-intro-lead,
.tal-moshi-gate-lead {
  margin: 13px 0 0;
  color: #243735;
  font-size: clamp(13px, 2.1cqi, 17px);
  font-weight: 700;
  line-height: 1.65;
}
.tal-moshi-intro-hero .tal-moshi-intro-lead {
  width: calc(100cqi - 294px);
  max-width: 100%;
  color: #fff;
}
.tal-moshi-gate-hero .tal-moshi-gate-lead {
  width: calc(100cqi - 294px);
  max-width: 100%;
  color: #fff;
}
.tal-moshi-mobile-break,
.tal-moshi-gate-mobile-break { display: none; }
.tal-moshi-intro-kyoka,
.tal-moshi-gate-kyoka {
  position: absolute;
  top: 0;
  right: 20px;
  width: 210px;
  height: 210px;
  object-fit: contain;
}
.tal-moshi-intro-preview {
  position: absolute;
  right: 22px;
  bottom: -29px;
  width: 204px;
  height: 218px;
  margin: 0;
  pointer-events: none;
}
.tal-moshi-intro-preview img {
  position: absolute;
  display: block;
  width: 96px;
  height: auto;
  aspect-ratio: 342 / 710;
  object-fit: cover;
  border: 2px solid #171717;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 12px rgba(8,83,76,.22);
}
.tal-moshi-intro-preview-question {
  top: 22px;
  left: 8px;
  transform: rotate(-5deg);
}
.tal-moshi-intro-preview-figure {
  top: 3px;
  right: 6px;
  transform: rotate(6deg);
}
.tal-moshi-gate-preview {
  bottom: -27px;
}
.tal-moshi-intro-body {
  width: min(calc(100% - 48px), 760px);
  margin: 0 auto;
  padding: 18px 0 26px;
}
.tal-moshi-intro-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tal-moshi-intro-spec {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-height: 88px;
  padding: 11px 15px;
  border: 1px solid #d8e3f4;
  border-radius: 14px;
  background: #f8faff;
}
.tal-moshi-intro-spec-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #edf3fc;
}
.tal-moshi-intro-spec-icon img {
  width: 34px;
  height: 34px;
  filter: invert(48%) sepia(42%) saturate(1058%) hue-rotate(177deg) brightness(89%) contrast(88%);
}
.tal-moshi-intro-spec-part {
  display: block;
  margin-bottom: 1px;
  color: var(--tm-blue-d);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}
.tal-moshi-intro-spec-name {
  display: block;
  color: #172826;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}
.tal-moshi-intro-spec-meta {
  display: block;
  margin-top: 3px;
  color: #526764;
  font-size: 12px;
  font-weight: 700;
}
.tal-moshi-intro-benefit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 0;
  padding: 11px 14px;
  border-radius: 12px;
  color: #176f6d;
  background: #f1faf9;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}
.tal-moshi-intro-benefit img {
  width: 20px;
  height: 20px;
  filter: invert(45%) sepia(39%) saturate(990%) hue-rotate(125deg) brightness(91%) contrast(88%);
}
.tal-moshi-intro-caution {
  margin-top: 13px;
  padding: 12px 17px 13px;
  border: 1px solid #f5d8b0;
  border-radius: 13px;
  background: #fff6e9;
}
.tal-moshi-intro-caution-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 7px;
  color: #a85700;
  font-size: 13px;
  font-weight: 800;
}
.tal-moshi-intro-caution-title img {
  width: 17px;
  height: 17px;
  filter: invert(54%) sepia(93%) saturate(2438%) hue-rotate(9deg) brightness(99%) contrast(101%);
}
.tal-moshi-intro-caution ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  color: #4d443b;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.6;
  list-style: none;
}
.tal-moshi-intro-caution li {
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  padding-left: 0;
}
.tal-moshi-intro-caution li::before {
  position: static;
  width: 6px;
  height: 6px;
  margin-top: calc((1.6em - 6px) / 2);
  border-radius: 50%;
  background: var(--tm-orange);
  content: "";
}
.tal-moshi-intro-start {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 600px);
  min-height: 58px;
  margin: 19px auto 0;
  border: 0;
  border-radius: 32px;
  color: #fff;
  background: var(--tm-orange);
  box-shadow: 0 6px 0 var(--tm-orange-d), 0 13px 20px rgba(200,93,0,.22);
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .05em;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.tal-moshi-intro-start:hover { background: #FF8A1A; transform: translateY(-1px); }
.tal-moshi-intro-start:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--tm-orange-d); }
.tal-moshi-intro-start img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.tal-moshi-intro-note {
  margin: 22px 0 0;
  color: #7b8583;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
}
body .entry-content .tal-moshi .tal-moshi-intro-caution ul {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body .entry-content .tal-moshi .tal-moshi-intro-caution li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
/* ===== LINEゲート ===== */
.tal-moshi-gate-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--tm-teal-d);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
.tal-moshi-gate-body {
  width: min(calc(100% - 48px), 680px);
  margin: 0 auto;
  padding: 25px 0 28px;
  text-align: center;
}
.tal-moshi-gate-perk {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 16px;
  padding: 7px 15px;
  border: 1px solid #bce8cb;
  border-radius: 22px;
  color: var(--tm-teal-d);
  background: #effbf3;
  font-size: 14px;
  font-weight: 800;
}
.tal-moshi-gate-perk::after {
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-right: 1px solid #bce8cb;
  border-bottom: 1px solid #bce8cb;
  background: #effbf3;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}
.tal-moshi-gate-perk img {
  width: 18px;
  height: 18px;
  filter: invert(45%) sepia(39%) saturate(990%) hue-rotate(125deg) brightness(91%) contrast(88%);
}
.tal-moshi-line-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
  border-radius: 34px;
  color: #fff !important;
  background: #06c755;
  box-shadow: 0 6px 0 #05a948, 0 13px 22px rgba(6,199,85,.2);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .03em;
  text-decoration: none !important;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.tal-moshi-line-button:hover { color: #fff !important; background: #10d45e; transform: translateY(-1px); }
.tal-moshi-line-button:active { transform: translateY(5px); box-shadow: 0 1px 0 #05a948; }
/* LINEアイコンは左のバッジに内包し、ラベルは絶対配置で全幅中央（SPIゲートと同方式）。
   これで長いラベルでもアイコンに文字が被らない（旧: span 中央寄せ＋nowrap で "L" がアイコン下に潜っていた）。 */
.tal-moshi-line-badge {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.tal-moshi-line-badge img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}
.tal-moshi-line-label {
  position: absolute;
  left: 0;
  right: 0;
  box-sizing: border-box;
  padding: 0 44px;
  text-align: center;
  transform: translateX(8px);
  color: #fff !important;
  font-size: 15px;
  line-height: 1.4;
  white-space: nowrap;
}
.tal-moshi-gate-form {
  margin-top: 22px;
}
.tal-moshi-gate-field { position: relative; }
.tal-moshi-gate-lock {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  pointer-events: none;
}
.tal-moshi-gate-lock-body {
  position: absolute;
  top: 9px;
  left: 2px;
  width: 16px;
  height: 11px;
  border-radius: 2px;
  background: #949aa0;
}
.tal-moshi-gate-lock-shackle {
  position: absolute;
  top: 2px;
  left: 5px;
  width: 10px;
  height: 10px;
  border: 2px solid #949aa0;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}
.tal-moshi .tal-moshi-gate-input {
  width: 100%;
  height: 58px;
  margin: 0;
  padding: 0 60px 0 52px;
  border: 2px solid #a9deda;
  border-radius: 15px;
  color: #172826;
  background: #f8fbfc;
  box-sizing: border-box;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
}
.tal-moshi .tal-moshi-gate-input::placeholder { color: #99a2a4; }
.tal-moshi .tal-moshi-gate-input:focus {
  border-color: var(--tm-green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(38,166,154,.12);
  outline: none;
}
.tal-moshi .tal-moshi-gate-input.is-error { border-color: #e04e4e; color: #e04e4e; }
/* 入力欄内の送信ボタン＝矢印（SPIゲートの ＞ ボタンと同方式・teal角丸）。
   「模試を始める」独立ボタンを廃止し、キーワード送信＝そのまま模試開始に統一。 */
.tal-moshi-gate-go {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--tm-green);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .08s ease;
}
.tal-moshi-gate-go:hover { background: #30b3a7; }
.tal-moshi-gate-go:active { transform: translateY(-50%) scale(.94); }
.tal-moshi-gate-error {
  margin: 10px 0 0;
  color: #d54747;
  font-size: 12px;
  font-weight: 800;
}
.tal-moshi-gate-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 0;
  color: #7d8382;
  font-size: 14px;
  font-weight: 700;
}
.tal-moshi-gate-proof img { width: 26px; height: 26px; }
.tal-moshi-gate-proof strong { color: #f27600; font-size: 21px; font-weight: 900; }
.tal-moshi-gate-note {
  margin: 14px 0 0;
  color: var(--tm-orange);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.6;
}
.tal-moshi-gate-back {
  margin-top: 14px;
  padding: 0;
  border: 0;
  color: var(--tm-sub);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.tal-moshi-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.tal-moshi-menu-button:focus-visible,
.tal-moshi-intro-start:focus-visible,
.tal-moshi-line-button:focus-visible,
.tal-moshi-gate-go:focus-visible,
.tal-moshi-gate-back:focus-visible,
.tal-moshi-gate-input:focus-visible {
  outline: 4px solid rgba(38,166,154,.28);
  outline-offset: 4px;
}

/* ===== 第2部開始カード ===== */
.tal-moshi-start-card { padding: 22px 18px 24px; text-align: center; }
.tal-moshi-start-head {
  font-size: 18px;
  font-weight: 800;
  color: var(--tm-teal-d);
  margin-bottom: 10px;
  line-height: 1.5;
}
.tal-moshi-start-lead {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--tm-ink);
  margin: 0 auto 16px;
  max-width: 40em;
}
.tal-moshi-start {
  display: inline-block;
  background: var(--tm-teal);
  color: #fff;
  border: none;
  border-radius: 26px;
  font-size: 15px;
  font-weight: 800;
  padding: 13px 34px;
  cursor: pointer;
  transition: background .15s, transform .1s;
  box-shadow: 0 4px 12px rgba(58,175,169,.28);
}
.tal-moshi-start:hover { background: var(--tm-teal-d); }
.tal-moshi-start:active { transform: translateY(1px); }

/* ===== 進捗バー（第1部/第2部共通） ===== */
.tal-moshi-screen[data-screen="part1"],
.tal-moshi-screen[data-screen="part2"] {
  background:
    radial-gradient(circle at 92% 4%, rgba(74,127,208,.11), transparent 23%),
    linear-gradient(180deg, #f3fbfb 0, #fff 265px);
}
.tal-moshi-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 18px 0;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #168f89 0%, #3aafa9 68%, #5abfba 100%);
  box-shadow: 0 7px 0 #137f78, 0 14px 26px rgba(19,143,131,.18);
}
.tal-moshi-bar-part {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .04em;
}
.tal-moshi-bar-part::before {
  display: grid;
  place-items: center;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 9px;
  background: rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
  content: "1";
  font-size: 12px;
}
.tal-moshi-screen[data-screen="part2"] .tal-moshi-bar-part::before { content: "2"; }
.tal-moshi-bar-progress {
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(0,80,75,.13);
  font-size: 12px;
  font-weight: 800;
  opacity: 1;
}
.tal-moshi-bar-timer {
  min-width: 72px;
  padding: 5px 9px;
  border-radius: 9px;
  background: #fff;
  color: #176f6d;
  box-shadow: 0 3px 0 rgba(8,96,90,.2);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.tal-moshi-bar-timer.is-warning {
  color: #c75b00;
  background: #fff3df;
  animation: tal-moshi-pulse 1s infinite;
}
@keyframes tal-moshi-pulse { 0%,100%{opacity:1} 50%{opacity:.45} }

.tal-moshi-timebar {
  height: 7px;
  margin: 13px 30px 0;
  overflow: hidden;
  border: 1px solid #d5ecea;
  border-radius: 999px;
  background: #e6f4f3;
}
.tal-moshi-timebar-fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #138f83, #48c7bd);
  box-shadow: 0 0 10px rgba(38,166,154,.34);
  transition: width 1s linear;
}

/* ===== 第1部：質問 ===== */
.tal-moshi-q {
  position: relative;
  margin: 20px 18px 0;
  padding: 25px 22px 20px;
  border: 1px solid #dce9e7;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 30px rgba(31,91,86,.09), inset 0 1px 0 #fff;
}
.tal-moshi-q::before {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 10px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--tm-teal-d);
  background: #e8f7f5;
  content: "QUESTION";
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: .15em;
}
.tal-moshi-q-text {
  margin: 0 0 11px;
  color: #173a37;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.75;
  letter-spacing: .015em;
}
.tal-moshi-q-hint {
  display: inline-flex;
  align-items: center;
  margin: 0 0 16px;
  padding: 6px 10px;
  border-radius: 8px;
  color: #60716f;
  background: #f4f8f8;
  font-size: 11.5px;
  font-weight: 600;
}
.tal-moshi-q-hint strong { color: var(--tm-teal-d); }

.tal-moshi-choices { display: flex; flex-direction: column; gap: 10px; }
.tal-moshi-choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 55px;
  padding: 12px 15px;
  border: 1px solid #dce7e5;
  border-radius: 13px;
  color: #304744;
  background: linear-gradient(180deg, #fff, #fbfdfd);
  box-shadow: 0 3px 0 #e5edec, 0 7px 16px rgba(38,77,73,.045);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  text-align: left;
  transition: transform .14s, border-color .14s, background .14s, box-shadow .14s;
}
.tal-moshi-choice:hover {
  border-color: #7bc9c3;
  background: #f8fdfc;
  box-shadow: 0 4px 0 #cfe9e6, 0 9px 18px rgba(38,166,154,.08);
  transform: translateY(-1px);
}
.tal-moshi-choice:focus-visible {
  outline: 3px solid rgba(38,166,154,.24);
  outline-offset: 2px;
}
.tal-moshi-choice.is-selected {
  border-color: #26a69a;
  color: #176f6d;
  background: linear-gradient(135deg, #e8f9f7, #f7fdfc);
  box-shadow: 0 4px 0 #9ddbd5, 0 9px 20px rgba(38,166,154,.13);
  transform: translateY(-1px);
}
.tal-moshi-choice.is-disabled { opacity: .45; cursor: not-allowed; }
.tal-moshi-choice-check {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 2px solid #bfd2cf;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(23,111,109,.08);
  transition: background .12s, border-color .12s, box-shadow .12s;
}
.tal-moshi-choice.is-selected .tal-moshi-choice-check {
  border-color: var(--tm-teal);
  background: linear-gradient(135deg, #26a69a, #45bdb4);
  box-shadow: 0 3px 7px rgba(38,166,154,.25);
}
.tal-moshi-choice-check::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0;
  transition: opacity .12s;
}
.tal-moshi-choice.is-selected .tal-moshi-choice-check::after { opacity: 1; }
.tal-moshi-choice-label { flex: 1; }

.tal-moshi-q-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 18px;
  padding: 16px 4px 24px;
}
.tal-moshi-q-selected {
  display: inline-flex;
  flex: 1;
  align-items: center;
  gap: 7px;
  color: #657573;
  font-size: 11.5px;
  font-weight: 700;
}
.tal-moshi-q-selected::before {
  width: 8px;
  height: 8px;
  border: 2px solid #9fc6c2;
  border-radius: 50%;
  background: #fff;
  content: "";
}
.tal-moshi-next, .tal-moshi-finish {
  min-width: 126px;
  min-height: 45px;
  padding: 10px 24px;
  border: none;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #4a7fd0, #6394df);
  box-shadow: 0 5px 0 #3869b3, 0 10px 18px rgba(56,105,179,.18);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.tal-moshi-next:hover, .tal-moshi-finish:hover {
  background: linear-gradient(135deg, #4376c4, #5d8bd2);
  transform: translateY(-1px);
}
.tal-moshi-next:active, .tal-moshi-finish:active {
  box-shadow: 0 1px 0 #3869b3;
  transform: translateY(4px);
}
.tal-moshi-next:disabled, .tal-moshi-finish:disabled {
  color: #fff;
  background: #cbd5d3;
  box-shadow: 0 4px 0 #afbcba;
  cursor: not-allowed;
  transform: none;
}
.tal-moshi-finish { background: var(--tm-teal); }
.tal-moshi-finish:hover { background: var(--tm-teal-d); }

/* ===== 第2部：図形配置（tal_kotei から移植・独立名前空間） ===== */
.tal-moshi-fig-question {
  background: #f0fafa;
  border-left: 4px solid var(--tm-teal);
  margin: 14px 16px;
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.7;
  border-radius: 0 6px 6px 0;
}
.tal-moshi-fig-body {
  display: flex;
  border: 2px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  min-height: 360px;
  margin: 0 16px;
}
.tal-moshi-fig-palette {
  width: 110px;
  flex-shrink: 0;
  background: #fafafa;
  border-right: 2px dashed #ccc;
  padding: 10px 6px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  align-content: start;
}
.tal-moshi-fig-shape {
  width: 30px;
  height: 30px;
  cursor: grab;
  user-select: none;
  touch-action: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: opacity .15s, transform .15s;
}
.tal-moshi-fig-shape:hover:not(.is-used) { transform: scale(1.12); background: rgba(58,175,169,.1); }
.tal-moshi-fig-shape.is-used { opacity: .2; cursor: not-allowed; pointer-events: none; }
.tal-moshi-fig-canvas {
  flex: 1;
  position: relative;
  background: #fff;
  min-height: 360px;
  overflow: hidden;
}
.tal-moshi-fig-canvas.is-over { background: #edfaf9; }
.tal-moshi-fig-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.tal-moshi-fig-hint {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #b0c8c7;
  font-size: 12px;
  pointer-events: none;
  line-height: 2;
  z-index: 1;
}
.tal-moshi-fig-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 16px;
  flex-wrap: wrap;
}
.tal-moshi-fig-count { font-size: 13px; color: var(--tm-sub); flex: 1; }

/* ===== 結果本体（ゲート解除後） ===== */
.tal-moshi-result-body { padding: 4px 16px 18px; }
.tal-moshi-rb-eyebrow {
  font-size: 13px;
  font-weight: 800;
  color: var(--tm-teal-d);
  text-align: center;
  letter-spacing: .04em;
  margin: 20px 0 12px;
}
.tal-moshi-rb-eyebrow:first-child { margin-top: 6px; }

/* 通過可能性 */
.tal-moshi-rb-verdict {
  border-radius: 14px;
  padding: 16px 16px 18px;
  text-align: center;
}
.tal-moshi-rb-verdict--safe    { background: #E4F8F6; border: 1px solid #b8e8e3; }
.tal-moshi-rb-verdict--caution { background: #fff7ed; border: 1px solid #fad9ad; }
.tal-moshi-rb-verdict--danger  { background: #fdecec; border: 1px solid #f5c2c2; }
.tal-moshi-rb-verdict-band {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}
.tal-moshi-rb-verdict--safe    .tal-moshi-rb-verdict-band { color: #1f8a80; }
.tal-moshi-rb-verdict--caution .tal-moshi-rb-verdict-band { color: #c2740a; }
.tal-moshi-rb-verdict--danger  .tal-moshi-rb-verdict-band { color: #d23b3b; }
.tal-moshi-rb-verdict-text {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--tm-ink);
  margin: 0;
}

/* 7指標プロフィール */
.tal-moshi-rb-axes {
  border: 1px solid var(--tm-line);
  border-radius: 14px;
  padding: 14px 16px 16px;
}
.tal-moshi-rb-axis { margin-bottom: 12px; }
.tal-moshi-rb-axis:last-child { margin-bottom: 0; }
.tal-moshi-rb-axis-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 5px;
}
.tal-moshi-rb-axis-name { font-size: 13px; font-weight: 700; color: var(--tm-ink); }
.tal-moshi-rb-axis-val { font-size: 12px; font-weight: 700; color: var(--tm-teal-d); }
.tal-moshi-rb-axis-track { height: 8px; background: #eef2f1; border-radius: 5px; overflow: hidden; }
.tal-moshi-rb-axis-fill {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--tm-green), var(--tm-teal-d));
}
.tal-moshi-rb-axis-fill.is-low { background: #e0a86a; }

/* 引っかかりポイント */
.tal-moshi-rb-flags {
  border: 1px solid #f5c2c2;
  border-radius: 14px;
  overflow: hidden;
}
.tal-moshi-rb-flags-head {
  background: #d23b3b;
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  text-align: center;
  padding: 11px 14px;
}
.tal-moshi-rb-flags-body { padding: 6px 16px 14px; }
.tal-moshi-rb-flag {
  padding: 12px 0 12px 18px;
  position: relative;
  border-bottom: 1px solid #f4e0e0;
}
.tal-moshi-rb-flag:last-child { border-bottom: none; }
.tal-moshi-rb-flag::before {
  content: '!';
  position: absolute;
  left: 0; top: 13px;
  width: 13px; height: 13px;
  background: #d23b3b;
  color: #fff;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tal-moshi-rb-flag-q { font-size: 12px; color: var(--tm-sub); margin: 0 0 3px; }
.tal-moshi-rb-flag-pick { font-size: 13px; font-weight: 700; color: var(--tm-ink); margin: 0 0 4px; }
.tal-moshi-rb-flag-why { font-size: 12.5px; line-height: 1.7; color: #444; margin: 0; }
.tal-moshi-rb-flags-none {
  text-align: center;
  font-size: 13px;
  color: #1f8a80;
  padding: 14px 8px;
  line-height: 1.7;
}

/* 図形評価 */
.tal-moshi-rb-fig {
  border: 1px solid var(--tm-line);
  border-radius: 14px;
  padding: 14px 16px 16px;
}
.tal-moshi-rb-fig-verdict {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.7;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.tal-moshi-rb-fig-verdict--good { background: #E4F8F6; color: #1f8a80; }
.tal-moshi-rb-fig-verdict--mid  { background: #eef4fd; color: #3a63a8; }
.tal-moshi-rb-fig-verdict--low  { background: #fff7ed; color: #c2740a; }
.tal-moshi-rb-fig-verdict--bad  { background: #fdecec; color: #d23b3b; }
.tal-moshi-rb-fig-list { margin: 0; padding: 0; }
.tal-moshi-rb-fig-item {
  position: relative;
  font-size: 13px;
  color: #444;
  line-height: 1.75;
  padding: 0 0 0 18px;
  margin-bottom: 8px;
}
.tal-moshi-rb-fig-item:last-child { margin-bottom: 0; }
.tal-moshi-rb-fig-item::before {
  content: '';
  position: absolute;
  left: 2px; top: 8px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--tm-green);
}

.tal-moshi-rb-note {
  font-size: 11px;
  color: #999;
  line-height: 1.6;
  text-align: center;
  margin: 16px 4px 0;
}

/* ===== スマホ ===== */
@media (max-width: 600px) {
  .tal-moshi,
  .tal-ad {
    border-radius: 14px;
  }
  .tal-moshi-menu-hero {
    padding-bottom: 12px;
  }
  .tal-moshi-menu-title {
    padding: 13px 12px 15px;
    font-size: 18px;
    letter-spacing: 0;
    line-height: 1.35;
  }
  .tal-moshi-menu-hero-body {
    width: calc(100% - 22px);
  }
  .tal-moshi-menu-lead {
    margin: 11px 0 0;
    font-size: 11px;
  }
  .tal-moshi-menu-visual {
    width: 100%;
  }
  .tal-moshi-menu-benefits {
    grid-template-columns: 1fr;
    gap: 5px;
    margin-top: 1px;
  }
  .tal-moshi-menu-benefits li {
    padding: 7px 8px 7px 31px;
    font-size: 10px;
  }
  .tal-moshi-menu-benefits li::before {
    top: 7px;
    left: 9px;
  }
  .tal-moshi-menu-guide {
    margin-top: 11px;
    font-size: 11.5px;
  }
  .tal-moshi-menu-options {
    grid-template-columns: 1fr;
    gap: 8px;
    width: calc(100% - 28px);
    margin: 8px auto 14px;
  }
  .tal-moshi-menu-card {
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 10px;
    padding: 10px;
  }
  .tal-moshi-menu-icon {
    width: 44px;
    height: 44px;
  }
  .tal-moshi-menu-icon svg {
    width: 24px;
    height: 24px;
  }
  .tal-moshi-menu-tag { font-size: 10px; }
  .tal-moshi-menu-card-title { font-size: 17px; }
  .tal-moshi-menu-detail { font-size: 10px; }
  .tal-moshi-menu-button {
    min-height: 40px;
    margin-top: 8px;
    font-size: 12.5px;
  }
  .tal-moshi-intro-hero,
  .tal-moshi-gate-hero {
    min-height: 195px;
  }
  .tal-moshi-intro-heading,
  .tal-moshi-gate-heading {
    width: 72%;
    padding: 28px 0 24px 24px;
  }
  .tal-moshi-intro-kicker,
  .tal-moshi-gate-kicker {
    margin-bottom: 6px;
    font-size: 9px;
  }
  .tal-moshi-intro-kicker { font-size: 12px; }
  .tal-moshi-intro-kicker img { width: 14px; height: 14px; }
  .tal-moshi-intro-title,
  .tal-moshi-gate-title {
    width: calc(100cqi - 172px);
    max-width: 100%;
    padding-bottom: 9px;
    border-bottom-width: 3px;
    font-size: 21px;
  }
  .tal-moshi-intro-title {
    width: 190px;
    padding-bottom: 0;
    border-bottom: 0;
    font-size: 26px;
  }
  .tal-moshi-gate-title {
    width: 190px;
    padding-bottom: 0;
    border-bottom: 0;
    color: #fff;
  }
  .tal-moshi-intro-lead,
  .tal-moshi-gate-lead {
    width: 220px;
    margin-top: 10px;
    font-size: 11px;
  }
  .tal-moshi-intro-lead { font-size: 13px; }
  .tal-moshi-intro-hero .tal-moshi-intro-lead { width: 178px; }
  .tal-moshi-gate-hero .tal-moshi-gate-lead {
    width: 178px;
    color: #fff;
  }
  .tal-moshi-mobile-break,
  .tal-moshi-gate-mobile-break { display: block; }
  .tal-moshi-intro-kyoka,
  .tal-moshi-gate-kyoka {
    top: 24px;
    right: 4px;
    width: 128px;
    height: 128px;
  }
  .tal-moshi-intro-preview {
    right: 4px;
    bottom: -4px;
    width: 108px;
    height: 158px;
  }
  .tal-moshi-intro-preview img {
    width: 49px;
    border-width: 1.5px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(8,83,76,.2);
  }
  .tal-moshi-intro-preview-question {
    top: 28px;
    left: 5px;
  }
  .tal-moshi-intro-preview-figure {
    top: 12px;
    right: 3px;
  }
  .tal-moshi-gate-preview {
    bottom: -4px;
  }
  .tal-moshi-intro-body,
  .tal-moshi-gate-body {
    width: calc(100% - 28px);
    padding: 22px 0 26px;
  }
  .tal-moshi-intro-specs {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .tal-moshi-intro-spec {
    grid-template-columns: 54px minmax(0, 1fr);
    min-height: 82px;
    padding: 11px 14px;
  }
  .tal-moshi-intro-spec-icon {
    width: 54px;
    height: 54px;
  }
  .tal-moshi-intro-spec-icon img { width: 31px; height: 31px; }
  .tal-moshi-intro-spec-name { font-size: 17px; }
  .tal-moshi-intro-benefit {
    align-items: flex-start;
    padding: 10px 12px;
    font-size: 11.5px;
    line-height: 1.55;
  }
  .tal-moshi-intro-caution { padding: 12px 14px 13px; }
  .tal-moshi-intro-caution ul {
    grid-template-columns: 1fr;
    gap: 3px;
    font-size: 11px;
  }
  .tal-moshi-intro-start {
    min-height: 54px;
    margin-top: 17px;
    font-size: 16px;
  }
  .tal-moshi-gate-perk {
    margin-bottom: 14px;
    padding: 6px 13px;
    font-size: 13px;
  }
  .tal-moshi-line-button {
    min-height: 60px;
    font-size: 13px;
  }
  .tal-moshi-line-badge { left: 13px; }
  .tal-moshi-line-label { padding: 0 42px; font-size: 15px; }
  .tal-moshi-gate-form {
    margin-top: 20px;
  }
  .tal-moshi .tal-moshi-gate-input {
    height: 54px;
    border-radius: 14px;
    font-size: 15px;
  }
  .tal-moshi-gate-go { width: 40px; height: 40px; }
  .tal-moshi-gate-proof { font-size: 13px; }
  .tal-moshi-gate-proof img { width: 23px; height: 23px; }
  .tal-moshi-gate-proof strong { font-size: 19px; }
  .tal-moshi-bar {
    gap: 7px;
    margin: 12px 12px 0;
    padding: 10px;
    border-radius: 13px;
  }
  .tal-moshi-bar-part {
    gap: 7px;
    font-size: 11px;
    letter-spacing: 0;
  }
  .tal-moshi-bar-part::before {
    flex-basis: 23px;
    width: 23px;
    height: 23px;
    border-radius: 7px;
    font-size: 10px;
  }
  .tal-moshi-bar-progress {
    padding: 4px 7px;
    font-size: 10.5px;
  }
  .tal-moshi-bar-timer {
    min-width: 61px;
    padding: 4px 6px;
    font-size: 13px;
  }
  .tal-moshi-timebar {
    height: 6px;
    margin: 11px 22px 0;
  }
  .tal-moshi-q {
    margin: 16px 12px 0;
    padding: 18px 14px 15px;
    border-radius: 15px;
  }
  .tal-moshi-q::before {
    min-height: 21px;
    margin-bottom: 8px;
    padding: 0 8px;
    font-size: 8.5px;
  }
  .tal-moshi-q-text {
    margin-bottom: 9px;
    font-size: 14px;
    line-height: 1.7;
  }
  .tal-moshi-q-hint {
    margin-bottom: 13px;
    padding: 5px 8px;
    font-size: 10.5px;
  }
  .tal-moshi-choices { gap: 9px; }
  .tal-moshi-choice {
    min-height: 51px;
    gap: 10px;
    padding: 10px 11px;
    border-radius: 11px;
    font-size: 12px;
  }
  .tal-moshi-choice-check {
    width: 22px;
    height: 22px;
    border-radius: 7px;
  }
  .tal-moshi-q-foot {
    margin: 0 12px;
    padding: 14px 2px 21px;
  }
  .tal-moshi-q-selected { font-size: 10.5px; }
  .tal-moshi-next,
  .tal-moshi-finish {
    min-width: 108px;
    min-height: 43px;
    padding: 9px 18px;
    font-size: 13px;
  }
  .tal-moshi-fig-body { flex-direction: column; min-height: unset; }
  .tal-moshi-fig-canvas { order: 1; min-height: 260px; border-bottom: 2px dashed #ccc; }
  .tal-moshi-fig-palette {
    order: 2;
    width: 100%;
    border-right: none;
    border-top: 2px dashed #ccc;
    grid-template-columns: repeat(6, 1fr);
  }
  .tal-moshi-fig-shape { width: 100%; aspect-ratio: 1; height: auto; }
}

/* ===== [ad_tal] のCTAボタン＝「SPI頻出問題集」広告と同じ見た目（2026-07-31 オーナー指示）=====
   本番 reashu.com の .btn-orange / .btn-green はカスタマイザーの追加CSSにしか無く、ローカルにも
   プラグイン単体にも存在しない。そこで本番の定義値をそのまま .tal-ad スコープに複製し、どの環境でも
   SPI広告と同じボタンになるようにする（値を変えるときは本番のカスタマイザー側と揃える）。
   背景色は SPI広告と同様マークアップ側の inline style（橙 #ff9900 / 緑 #27A69A）が最終決定。 */
.tal-ad .btn-orange,
.tal-ad .btn-green {
  display: inline-block;
  box-sizing: border-box;
  width: 90%;
  margin: 5px 0;
  padding: 0.6em 1.0em;
  border-radius: 3px;
  box-shadow: 0 4px 6px rgb(0 0 0 / 30%), 0 4px 6px -4px rgb(0 0 0 / 25%);
  color: #fff !important;
  text-decoration: none !important;
  vertical-align: middle;
  transition: 0.3s ease-in-out;
}
.tal-ad .btn-orange { background-color: #FF9900; }
.tal-ad .btn-green  { background-color: #3889F2; }

/* ===== [ad_tal] 旧デザインのボタン（現在は konowaka 版 HTML が使用・.tal-adスコープ）2026-07-26 ===== */
.tal-ad .tal-ad-btn {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 12px auto;
  padding: 15px 20px;
  border-radius: 10px;
  color: #fff !important;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 4px 0 rgba(0,0,0,.14), 0 8px 16px rgba(0,0,0,.08);
  transition: transform .12s, box-shadow .12s, opacity .12s;
}
.tal-ad .tal-ad-btn:hover  { color: #fff !important; opacity: .94; transform: translateY(-1px); }
.tal-ad .tal-ad-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,.14); }
.tal-ad .tal-ad-btn .fa    { margin-right: 6px; }
.tal-ad .tal-ad-btn--orange { background: #ff9900; }
.tal-ad .tal-ad-btn--green  { background: #27a69a; }
.tal-ad .tal-ad-btn-sub {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 600;
  opacity: .95;
}
.tal-ad .tal-ad-note {
  display: block;
  margin-top: 8px;
  text-align: center;
  font-size: 12px;
  color: #ff0000;
}
.tal-ad .tal-ad-phones-link {
  display: block;
}
.tal-ad .tal-ad-phones {
  display: block;
  width: 100%;
  max-width: 460px; /* 2026-07-31 オーナー承認の拡大サイズ（v311で360→460）を維持 */
  height: auto;
  margin: 2px auto 12px;
}
.tal-ad .tal-ad-benefits {
  list-style: none;
  margin: 8px 0 12px;
  padding: 0;
  text-align: left;
}
.tal-ad .tal-ad-benefits li {
  position: relative;
  margin: 0;
  padding: 5px 0 5px 22px;
  font-size: 15px;
  line-height: 1.55;
  color: #252525;
}
.tal-ad .tal-ad-benefits li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.78em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #252525;
}
.tal-ad .tal-ad-proof {
  margin: 4px 0 12px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: #808080;
}
.tal-ad .tal-ad-proof strong { color: #ff7a00; }

/* ===== 結果ローディング（「結果を集計しています」くるくる）===== */
.tal-moshi-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 240px;
  padding: 48px 20px;
  text-align: center;
}
.tal-moshi-loader[hidden] { display: none; }
.tal-moshi-loader-spinner {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 4px solid var(--tm-mist, #EEF8FB);
  border-top-color: var(--tm-teal, #3AAFA9);
  animation: tal-moshi-spin .8s linear infinite;
}
.tal-moshi-loader-text {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--tm-teal-d, #138F83);
  letter-spacing: .04em;
}
@keyframes tal-moshi-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .tal-moshi-loader-spinner { animation-duration: 1.8s; }
}
