/* ショートコードを置いたページだけLuxeritasをツール専用レイアウトにします。 */
body.ltr-tool-page #breadcrumb,
body.ltr-tool-page #mainEntity > .entry-title,
body.ltr-tool-page #mainEntity .entry-title,
body.ltr-tool-page #mainEntity .post-title,
body.ltr-tool-page #mainEntity > header.entry-header,
body.ltr-tool-page #mainEntity > .post-title,
body.ltr-tool-page #main > article > .entry-title,
body.ltr-tool-page #main > article > header > .entry-title,
body.ltr-tool-page #mainEntity > .meta,
body.ltr-tool-page #mainEntity > .post-meta,
body.ltr-tool-page #mainEntity > aside,
body.ltr-tool-page #mainEntity > .toc,
body.ltr-tool-page #mainEntity > #toc_container,
body.ltr-tool-page #mainEntity > .next-prev { display: none !important; }
body.ltr-tool-page .container {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 1600px !important;
  width: calc(100% - 24px) !important;
}
body.ltr-tool-page #primary,
body.ltr-tool-page #main,
body.ltr-tool-page #main > article,
body.ltr-tool-page #mainEntity {
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
}
body.ltr-tool-page #primary { margin-top: 12px !important; }
body.ltr-tool-page #main,
body.ltr-tool-page #main > article {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.ltr-tool-page #mainEntity { padding-top: 0 !important; }

.ltr-dashboard {
  --ltr-blue: #0179dc;
  --ltr-dark-blue: #0b3e6b;
  --ltr-border: #d5e8f8;
  --ltr-text: #263746;
  --ltr-muted: #637789;
  color: var(--ltr-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.6;
  margin: 0 0 24px;
}
.ltr-dashboard *, .ltr-dashboard *::before, .ltr-dashboard *::after { box-sizing: border-box; }
.ltr-dashboard [hidden] { display: none !important; }
.ltr-main-tabs { background: #eaf4fc; border: 1px solid var(--ltr-border); border-radius: 12px; display: flex; gap: 7px; margin: 0 0 14px; padding: 7px; }
.ltr-main-tabs button { background: transparent; border: 0; border-radius: 8px; color: #31556f; cursor: pointer; flex: 1 1 0; font-family: inherit; font-size: 15px; font-weight: 800; min-height: 45px; padding: 8px 14px; }
.ltr-main-tabs button:hover { background: rgba(255,255,255,.7); }
.ltr-main-tabs button.is-active { background: #fff; box-shadow: 0 3px 12px rgba(1,91,166,.13); color: var(--ltr-blue); }
.ltr-panel { background: #fff; border: 1px solid var(--ltr-border); border-radius: 14px; box-shadow: 0 8px 24px rgba(1,91,166,.08); padding: 22px; }
.ltr-controls { position: sticky; top: 8px; z-index: 20; }
.ltr-dashboard .ltr-heading h2,
.ltr-dashboard .ltr-ranking h3,
.ltr-dashboard .ltr-rewrite h3 {
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--ltr-dark-blue) !important;
  display: block !important;
  font-family: inherit !important;
  font-style: normal !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  text-shadow: none !important;
  transform: none !important;
}
.ltr-dashboard .ltr-heading h2::before,
.ltr-dashboard .ltr-heading h2::after,
.ltr-dashboard .ltr-ranking h3::before,
.ltr-dashboard .ltr-ranking h3::after,
.ltr-dashboard .ltr-rewrite h3::before,
.ltr-dashboard .ltr-rewrite h3::after {
  content: none !important;
  display: none !important;
}
.ltr-dashboard .ltr-heading h2 { font-size: clamp(22px, 3vw, 28px) !important; }
.ltr-dashboard .ltr-rewrite h3 { font-size: 18px !important; }
.ltr-heading p { color: var(--ltr-muted); margin: 4px 0 0; }
.ltr-control-grid { align-items: end; display: grid; gap: 14px; grid-template-columns: 2fr 1fr .7fr auto auto; margin-top: 20px; }
.ltr-control-grid label { color: #455d70; display: grid; font-size: 13px; font-weight: 700; gap: 5px; }
.ltr-period-field { border: 0 !important; margin: 0 !important; min-width: 0; padding: 0 !important; }
.ltr-period-field legend { background: none !important; border: 0 !important; color: #455d70 !important; float: none !important; font-size: 13px !important; font-weight: 700 !important; line-height: 1.6 !important; margin: 0 0 5px !important; padding: 0 !important; width: auto !important; }
.ltr-period-buttons { display: grid; gap: 6px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ltr-period-buttons button { background: #fff !important; border: 1px solid #a9c7dd !important; border-radius: 8px !important; box-shadow: none !important; color: #31556f !important; cursor: pointer; font-family: inherit !important; font-size: 13px !important; font-weight: 700 !important; line-height: 1.3 !important; margin: 0 !important; min-height: 42px; padding: 7px 10px !important; text-shadow: none !important; white-space: nowrap; }
.ltr-period-buttons button:hover { background: #edf7ff !important; border-color: #1681d5 !important; }
.ltr-period-buttons button.is-active { background: var(--ltr-blue) !important; border-color: var(--ltr-blue) !important; color: #fff !important; }
.ltr-control-grid select, .ltr-control-grid input[type="number"] { background: #fff; border: 1px solid #b9cede; border-radius: 8px; color: #243746; font-size: 15px; height: 42px; margin: 0; min-width: 0; padding: 6px 10px; width: 100%; }
.ltr-control-grid select:focus, .ltr-control-grid input:focus { border-color: var(--ltr-blue); box-shadow: 0 0 0 2px rgba(1,121,220,.15); outline: 0; }
.ltr-refresh { background: var(--ltr-blue); border: 0; border-radius: 8px; color: #fff; cursor: pointer; font-size: 14px; font-weight: 700; min-height: 42px; padding: 8px 17px; }
.ltr-refresh:hover { background: #075da8; color: #fff; }
.ltr-refresh:disabled { cursor: wait; opacity: .6; }
.ltr-switch { align-items: center; display: flex !important; min-height: 42px; white-space: nowrap; }
.ltr-switch input { accent-color: var(--ltr-blue); height: 18px; margin: 0; width: 18px; }
.ltr-metrics { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 16px 0; }
.ltr-metric { background: #fff; border: 1px solid var(--ltr-border); border-radius: 14px; box-shadow: 0 6px 18px rgba(1,91,166,.07); padding: 17px 20px; }
.ltr-metric span { color: var(--ltr-muted); display: block; font-size: 14px; }
.ltr-metric strong { color: #263746; display: block; font-size: clamp(25px, 4vw, 34px); font-weight: 700; line-height: 1.25; }
.ltr-metric-pv strong { color: #0868be; }
.ltr-metric-uu strong { color: #11815f; }
.ltr-ranking-head { align-items: center; display: flex; gap: 16px; justify-content: space-between; }
.ltr-dashboard .ltr-ranking-head h3 { font-size: 20px !important; }
.ltr-ranking-head span, .ltr-status { color: var(--ltr-muted); font-size: 13px; }
.ltr-status { margin: 5px 0 12px; }
.ltr-status-success { color: #147254; }
.ltr-status-error { background: #fff1f0; border: 1px solid #efb3ae; border-radius: 7px; color: #a5281f; padding: 8px 11px; }
.ltr-type-filter { align-items: center; display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 12px; }
.ltr-type-filter > span { color: var(--ltr-muted); font-size: 13px; font-weight: 700; margin-right: 2px; }
.ltr-type-filter button { background: #fff; border: 1px solid #a9c7dd; border-radius: 999px; color: #31556f; cursor: pointer; font-size: 13px; font-weight: 700; min-height: 34px; padding: 5px 14px; }
.ltr-type-filter button:hover { background: #edf7ff; border-color: #1681d5; }
.ltr-type-filter button.is-active { background: var(--ltr-blue); border-color: var(--ltr-blue); color: #fff; }
.ltr-highlight-legend { align-items: center; display: flex; flex-wrap: wrap; gap: 7px; margin: -2px 0 12px; }
.ltr-highlight-legend-label { color: var(--ltr-muted); font-size: 12px; font-weight: 700; }
.ltr-highlight-key { border: 1px solid transparent; border-radius: 999px; color: #344b5d; font-size: 12px; font-weight: 700; padding: 3px 9px; }
.ltr-highlight-key-green { background: #e9f8ef; border-color: #acd9bd; }
.ltr-highlight-key-yellow { background: #fff7cc; border-color: #e5cd63; }
.ltr-highlight-key-red { background: #fdeaea; border-color: #e9b4b4; }
.ltr-inline-highlight-settings { border: 1px solid #cbddea; border-radius: 9px; margin: 0 0 13px; padding: 10px 12px; }
.ltr-inline-highlight-settings summary { color: #31556f; cursor: pointer; font-size: 14px; font-weight: 800; }
.ltr-inline-highlight-settings > p { color: var(--ltr-muted); font-size: 12px; margin: 7px 0 11px; }
.ltr-inline-highlight-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ltr-inline-highlight-card { border: 1px solid transparent; border-radius: 9px; padding: 10px; }
.ltr-inline-highlight-card-green { background: #f1fbf5; border-color: #acd9bd; }
.ltr-inline-highlight-card-yellow { background: #fffbea; border-color: #e5cd63; }
.ltr-inline-highlight-card-red { background: #fff3f3; border-color: #e9b4b4; }
.ltr-inline-highlight-card label { color: #455d70; display: grid; font-size: 12px; font-weight: 700; gap: 4px; margin-bottom: 8px; }
.ltr-inline-highlight-card input, .ltr-inline-highlight-card textarea { background: #fff; border: 1px solid #b9cede; border-radius: 7px; color: #243746; font: inherit; padding: 7px 8px; width: 100%; }
.ltr-inline-highlight-card textarea { font-family: Consolas, Monaco, monospace; font-size: 12px; line-height: 1.5; resize: vertical; }
.ltr-inline-highlight-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.ltr-inline-highlight-actions span { color: var(--ltr-muted); font-size: 12px; }
.ltr-title-tools { align-items: center; display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 13px; }
.ltr-title-tools button { border-radius: 7px; cursor: pointer; font-size: 13px; font-weight: 700; min-height: 36px; padding: 6px 13px; }
.ltr-title-fetch { background: #fff; border: 1px solid #1681d5; color: #0868be; }
.ltr-title-fetch:hover { background: #edf7ff; }
.ltr-title-fetch:disabled { cursor: default; opacity: .5; }
.ltr-title-stop { background: #fff1f0; border: 1px solid #d65b52; color: #a5281f; }
.ltr-title-stop[hidden] { display: none !important; }
.ltr-title-tools span { color: var(--ltr-muted); font-size: 13px; }
.ltr-loading .ltr-status::before {
  animation: ltr-spin .75s linear infinite;
  border: 2px solid #bfdcf3;
  border-top-color: var(--ltr-blue);
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 14px;
  margin-right: 7px;
  vertical-align: -2px;
  width: 14px;
}
@keyframes ltr-spin { to { transform: rotate(360deg); } }
.ltr-table-wrap { border: 1px solid #e3edf5; border-radius: 9px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ltr-dashboard table { border-collapse: collapse; font-size: 14px; margin: 0; min-width: 850px; width: 100%; }
.ltr-dashboard th, .ltr-dashboard td { border-bottom: 1px solid #e3edf5; padding: 11px 10px; text-align: left; vertical-align: middle; }
.ltr-dashboard th { background: #f4f9fd; color: #3d586e; font-size: 13px; font-weight: 700; position: sticky; top: 0; white-space: nowrap; z-index: 3; }
.ltr-dashboard th:nth-child(1), .ltr-dashboard td:nth-child(1) { width: 70px; }
.ltr-dashboard th:nth-child(2), .ltr-dashboard td:nth-child(2) { width: 90px; }
.ltr-dashboard th:nth-child(3), .ltr-dashboard td:nth-child(3) { min-width: 340px; }
.ltr-dashboard th:nth-child(4), .ltr-dashboard td:nth-child(4),
.ltr-dashboard th:nth-child(5), .ltr-dashboard td:nth-child(5),
.ltr-dashboard th:nth-child(6), .ltr-dashboard td:nth-child(6) { width: 110px; }
.ltr-dashboard th:nth-child(7), .ltr-dashboard td:nth-child(7) { width: 180px; }
.ltr-dashboard tbody tr:hover { background: #f8fbfe; }
.ltr-dashboard td a { color: #0868be; text-decoration: underline; }
.ltr-dashboard tr.ltr-row-highlight-green > td { background: #e9f8ef; }
.ltr-dashboard tr.ltr-row-highlight-yellow > td { background: #fff7cc; }
.ltr-dashboard tr.ltr-row-highlight-red > td { background: #fdeaea; }
.ltr-dashboard tr.ltr-row-highlight-green:hover > td { background: #def3e7; }
.ltr-dashboard tr.ltr-row-highlight-yellow:hover > td { background: #fff1ae; }
.ltr-dashboard tr.ltr-row-highlight-red:hover > td { background: #f9dddd; }
.ltr-row-category { border: 1px solid transparent; border-radius: 999px; display: inline-block; font-size: 11px; font-weight: 700; margin-left: 8px; padding: 1px 7px; text-decoration: none; vertical-align: 1px; white-space: nowrap; }
.ltr-row-category-green { background: #d7f0e1; border-color: #91c9a7; color: #1a6540; }
.ltr-row-category-yellow { background: #ffed99; border-color: #d8bd47; color: #715b00; }
.ltr-row-category-red { background: #f8d1d1; border-color: #dc9999; color: #8e2828; }
.ltr-row-highlight-select { background: rgba(255,255,255,.86); border: 1px solid #a9bfd0; border-radius: 6px; color: #3f586b; font-size: 11px; margin-left: 8px; max-width: 120px; padding: 3px 5px; vertical-align: 1px; }
.ltr-dashboard .ltr-number { font-variant-numeric: tabular-nums; text-align: right; }
.ltr-badge { border-radius: 999px; color: #fff; display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; white-space: nowrap; }
.ltr-badge-article { background: var(--ltr-blue); }
.ltr-badge-blog { background: #5f6f7d; }
.ltr-pv-delta { border-radius: 999px; display: inline-block; font-size: 12px; font-weight: 700; min-width: 52px; padding: 2px 8px; text-align: center; white-space: nowrap; }
.ltr-delta-up { background: #e6f7ef; color: #08734f; }
.ltr-delta-down { background: #fff0ef; color: #b13027; }
.ltr-delta-zero, .ltr-delta-na { background: #eef3f6; color: #627584; }
.ltr-delta-new { background: #eaf3ff; color: #0868be; }
.ltr-empty { color: var(--ltr-muted); padding: 28px !important; text-align: center !important; }
.ltr-loading .ltr-table-wrap { opacity: .66; }
.ltr-access-message { background: #fff7df; border: 1px solid #f0d37d; border-radius: 8px; padding: 12px 15px; }

/* ライブドア簡単リライト */
.ltr-rewrite { display: grid; gap: 16px; }
.ltr-rewrite-steps { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ltr-rewrite-steps span { background: #e5f4ff; border-radius: 999px; color: #0179dc; font-size: 13px; font-weight: 800; padding: 5px 12px; }
.ltr-rewrite-block { border: 1px solid #dceaf5; border-radius: 12px; padding: 17px; }
.ltr-rewrite-block > p, .ltr-replace-box > p { color: var(--ltr-muted); font-size: 13px; margin: 4px 0 12px; }
.ltr-rewrite-block-head { align-items: center; display: flex; gap: 12px; justify-content: space-between; }
.ltr-rewrite-editor > label { color: #455d70; display: grid; font-size: 13px; font-weight: 700; gap: 5px; margin: 13px 0; }
.ltr-rewrite input[type="text"], .ltr-rewrite input[type="url"], .ltr-rewrite textarea { background: #fff; border: 1px solid #b9cede; border-radius: 8px; color: #243746; font: inherit; margin: 0; padding: 10px 12px; width: 100%; }
.ltr-rewrite input[type="text"], .ltr-rewrite input[type="url"] { min-height: 44px; }
.ltr-rewrite textarea { font-family: Consolas, Monaco, "Courier New", monospace; line-height: 1.65; min-height: 520px; overflow-y: hidden; resize: none; }
.ltr-rewrite input:focus, .ltr-rewrite textarea:focus { border-color: var(--ltr-blue); box-shadow: 0 0 0 2px rgba(1,121,220,.15); outline: 0; }
.ltr-rewrite input:disabled, .ltr-rewrite textarea:disabled { background: #f5f7f9; cursor: default; opacity: .72; }
.ltr-file-drop { align-items: center; background: #f7fbff; border: 2px dashed #9bc8e8; border-radius: 10px; color: #31556f; cursor: pointer; display: flex; flex-direction: column; gap: 4px; justify-content: center; min-height: 108px; padding: 16px; text-align: center; }
.ltr-file-drop:hover { background: #edf7ff; border-color: var(--ltr-blue); }
.ltr-file-drop input[type="file"] { max-width: 520px; }
.ltr-file-drop > span { font-size: 14px; font-weight: 800; }
.ltr-file-drop small { color: var(--ltr-muted); overflow-wrap: anywhere; }
.ltr-file-drop-compact { min-height: 86px; }
.ltr-saved-csv { align-items: center; background: #f7fbff; border: 1px solid #d5e8f8; border-radius: 8px; color: #526a7d; display: flex; flex-wrap: wrap; font-size: 12px; gap: 10px; justify-content: space-between; margin-top: 9px; padding: 8px 11px; }
.ltr-saved-csv span { overflow-wrap: anywhere; }
.ltr-danger-link { background: transparent; border: 0; color: #a5281f; cursor: pointer; font-size: 12px; font-weight: 700; padding: 3px 5px; text-decoration: underline; }
.ltr-danger-link:disabled { cursor: default; opacity: .5; }
.ltr-rewrite-url-row { display: grid; gap: 9px; grid-template-columns: 1fr auto; }
.ltr-primary-button, .ltr-secondary-button, .ltr-danger-button { border-radius: 8px; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 700; min-height: 42px; padding: 8px 16px; }
.ltr-primary-button { background: var(--ltr-blue); border: 1px solid var(--ltr-blue); color: #fff; }
.ltr-secondary-button { background: #fff; border: 1px solid #1681d5; color: #0868be; }
.ltr-danger-button { background: #fff1f0; border: 1px solid #d65b52; color: #a5281f; }
.ltr-primary-button:hover { background: #075da8; }
.ltr-secondary-button:hover { background: #edf7ff; }
.ltr-danger-button:hover { background: #ffe5e3; }
.ltr-rewrite button:disabled { cursor: default; opacity: .5; }
.ltr-rewrite-account { background: #f7fbff; border: 1px solid #c7e5fb; border-radius: 9px; color: #526a7d !important; margin: 10px 0 0 !important; overflow-wrap: anywhere; padding: 10px 12px; }
.ltr-replace-box { border: 1px solid #d5e3ed; border-radius: 9px; margin: 13px 0; padding: 11px 13px; }
.ltr-replace-box summary { color: #31556f; cursor: pointer; font-size: 14px; font-weight: 800; }
.ltr-replace-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 13px; margin-top: 10px; }
.ltr-replace-actions label { align-items: center; color: #455d70; display: flex; font-size: 13px; font-weight: 700; gap: 4px; }
.ltr-replace-actions input { accent-color: var(--ltr-blue); height: 17px; width: 17px; }
.ltr-replace-actions button { margin-left: auto; }
.ltr-replace-box > small { color: var(--ltr-muted); display: block; margin-top: 7px; }
.ltr-editor-tabs { border-bottom: 1px solid #d5e3ed; display: flex; gap: 4px; margin: 15px 0 12px; }
.ltr-editor-tabs button { background: transparent; border: 0; border-bottom: 3px solid transparent; color: #5b7081; cursor: pointer; font-size: 14px; font-weight: 800; padding: 9px 15px; }
.ltr-editor-tabs button.is-active { border-bottom-color: var(--ltr-blue); color: var(--ltr-blue); }
.ltr-rewrite-preview { background: #f3f4f6; border: 1px solid #cbd5e1; border-radius: 9px; min-height: 760px; width: 100%; }
.ltr-rewrite-final-actions { display: flex; gap: 9px; justify-content: flex-end; margin-top: 14px; }
.ltr-rewrite-status { background: #edf7ff; border: 1px solid #b9e0ff; border-radius: 10px; color: #456276; font-size: 13px; margin: 0; overflow-wrap: anywhere; padding: 11px 13px; }
.ltr-rewrite-status.is-success { background: #eaf8f1; border-color: #a9dfc8; color: #147254; }
.ltr-rewrite-status.is-error { background: #fff1f0; border-color: #efb3ae; color: #a5281f; }
.ltr-rewrite-loading .ltr-rewrite-status::before { animation: ltr-spin .75s linear infinite; border: 2px solid #bfdcf3; border-radius: 50%; border-top-color: var(--ltr-blue); content: ""; display: inline-block; height: 14px; margin-right: 7px; vertical-align: -2px; width: 14px; }
@media (max-width: 960px) {
  .ltr-controls { position: static; }
  .ltr-control-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ltr-switch { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body.ltr-tool-page .container { width: calc(100% - 12px) !important; }
  .ltr-panel { border-radius: 10px; padding: 16px; }
  .ltr-control-grid { grid-template-columns: 1fr; }
  .ltr-period-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ltr-switch { grid-column: auto; }
  .ltr-metrics { gap: 7px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ltr-metric { padding: 11px 8px; text-align: center; }
  .ltr-metric span { font-size: 11px; }
  .ltr-metric strong { font-size: 22px; }
  .ltr-ranking-head { align-items: flex-start; flex-direction: column; gap: 2px; }
  .ltr-dashboard table { min-width: 620px; }
  .ltr-dashboard th:nth-child(7), .ltr-dashboard td:nth-child(7) { display: none; }
  .ltr-dashboard th:nth-child(3), .ltr-dashboard td:nth-child(3) { min-width: 260px; }
  .ltr-title-tools { align-items: stretch; flex-direction: column; }
  .ltr-title-tools button { width: 100%; }
	.ltr-inline-highlight-grid { grid-template-columns: 1fr; }
	.ltr-inline-highlight-actions { align-items: stretch; flex-direction: column; }
	.ltr-inline-highlight-actions button { width: 100%; }
	.ltr-main-tabs { flex-direction: column; }
	.ltr-rewrite-url-row { grid-template-columns: 1fr; }
	.ltr-rewrite-block-head { align-items: stretch; flex-direction: column; }
	.ltr-replace-actions { align-items: stretch; flex-direction: column; }
	.ltr-replace-actions button { margin-left: 0; width: 100%; }
	.ltr-rewrite-final-actions { flex-direction: column; }
	.ltr-rewrite-final-actions button { width: 100%; }
}
