.col-header {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 20px;
}
.col-header h1 {
  font-family: var(--f-head, "Zen Kaku Gothic New", sans-serif);
  font-size: 36px;
  font-weight: 900;
  margin: 10px 0 8px;
  color: var(--ink);
}
.col-header p {
  font-size: 15px;
  color: var(--mute);
  line-height: 1.6;
  margin: 0;
}

.col-chips {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.col-chip {
  height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  font-size: 13.5px;
  font-weight: 700;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  background: #fff;
  color: var(--ink-2);
  text-decoration: none;
  transition: all 0.2s;
}
.col-chip.active, .col-chip:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.col-feat-card {
  max-width: 1200px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--ink);
}

.col-feat-media {
  background: #1A1D21;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  text-align: center;
}

.col-feat-tx {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.col-feat-tx h2 {
  font-family: var(--f-head);
  font-size: 26px;
  font-weight: 900;
  margin: 12px 0;
  line-height: 1.4;
  color: var(--ink);
}
.col-feat-tx p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.7;
  margin: 0 0 16px;
}

.col-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 80px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

.col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.col-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}
.col-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  border-color: var(--ink);
}
.col-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 10px 0 6px;
  line-height: 1.5;
  color: var(--ink);
}
.col-card p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.col-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--mute);
}

.col-badge-doc {
  color: #166534;
  font-weight: 700;
  background: #DCFCE7;
  padding: 2px 6px;
  border-radius: 4px;
}

.tag-mini {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: #f1f3f5;
  color: var(--ink-2);
}

.badge-primary {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 4px;
  background: #FFC400;
  color: #1A1D21;
  border: 1px solid #1A1D21;
}

.card-instructor {
  border: 2px solid #0B7285 !important;
  background: #F0F9FF !important;
}

.tag-instructor {
  background: #0B7285 !important;
  color: #fff !important;
}

.badge-instructor {
  background: #0B7285 !important;
  color: #fff !important;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.col-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.col-side-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
.col-side-box h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
}
.col-side-tool {
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  padding: 24px;
}
.col-side-tool h3 {
  color: #fff;
  font-size: 17px;
  margin: 0 0 8px;
}
.col-side-tool p {
  font-size: 13px;
  color: #DCD8CF;
  line-height: 1.6;
  margin: 0 0 16px;
}

.col-rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.col-rank-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line-2);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}
.col-rank-item:first-child .col-rank-num {
  color: #92400E;
  background: var(--yellow);
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
}
.col-rank-num {
  font-weight: 900;
  color: var(--mute);
}

.art-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}
.art-layout.has-toc, .art-layout:has(.art-toc-wrap) {
  grid-template-columns: 220px minmax(0, 680px) 1fr;
}
.art-layout > article {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-m);
  padding: 36px;
  box-shadow: var(--shadow-hard);
  min-width: 0;
}

.art-toc-wrap {
  position: sticky;
  top: 80px;
  align-self: start;
}

.art-toc-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--mute);
  margin: 0 0 12px;
}

.art-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 3px solid var(--line);
}

.art-toc-link {
  display: block;
  font-size: 13px;
  color: var(--ink-2);
  padding: 6px 0 6px 12px;
  text-decoration: none;
  line-height: 1.4;
}
.art-toc-link:hover, .art-toc-link.active {
  font-weight: 700;
  color: var(--ink);
  background: #FEF3C7;
  border-left: 3px solid var(--ink);
  margin-left: -3px;
}

.art-body h1 {
  font-family: var(--f-head);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.35;
  margin: 12px 0 16px;
  color: var(--ink);
}
.art-body h2 {
  font-size: 24px;
  font-weight: 900;
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 6px solid var(--yellow);
  color: var(--ink);
}
.art-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--ink);
}
.art-body p {
  font-size: 16px;
  line-height: 1.95;
  color: #2B3037;
  margin: 0 0 18px;
}
.art-body ul, .art-body ol {
  margin: 0 0 20px;
  padding-left: 20px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

.art-meta-row {
  display: flex;
  gap: 14px;
  font-size: 12.5px;
  color: var(--mute);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.art-summary-box {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0 32px;
  box-shadow: 2px 2px 0 var(--ink);
}

.art-summary-badge {
  display: inline-block;
  background: var(--yellow);
  color: #1A1D21;
  font-weight: 900;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1.5px solid #1A1D21;
  margin-bottom: 10px;
}

.art-summary-list {
  margin: 0;
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.8;
}

.art-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.art-compare-ng {
  background: #FEF2F2;
  border: 1.5px solid #FCA5A5;
  border-radius: 8px;
  padding: 18px;
  font-size: 14px;
  line-height: 1.7;
}

.art-compare-ok {
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  border-radius: 8px;
  padding: 18px;
  font-size: 14px;
  line-height: 1.7;
}

.art-compare-title-ng {
  color: #DC2626;
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.art-compare-title-ok {
  color: #16A34A;
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.art-inline-tool {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  padding: 22px 24px;
  margin: 36px 0;
}
.art-inline-tool h4 {
  color: #fff;
  font-size: 18px;
  margin: 0 0 4px;
}
.art-inline-tool p {
  color: #DCD8CF;
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}

.art-quote-box {
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-left: 5px solid #0B7285;
  border-radius: 6px;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 13.5px;
  line-height: 1.7;
}
.art-quote-box .aq-title {
  font-weight: 900;
  color: #0B7285;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.art-quote-box .aq-src {
  font-size: 11.5px;
  color: #64748B;
  margin-top: 6px;
}

.art-badge-tag {
  display: inline-block;
  background: #EBF7EE;
  color: #1E7E34;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.art-author-box {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.art-author-box .aa-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #E5E7EB;
}
.art-author-box .aa-name {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
}
.art-author-box .aa-date {
  font-size: 12px;
  color: var(--mute);
}

.art-sticky-cta {
  position: sticky;
  top: 80px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 4px 4px 0 var(--ink);
}
.art-sticky-cta h3 {
  font-size: 17px;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 6px;
}
.art-sticky-cta p {
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0 0 14px;
}

.btn-hero-primary, .ad-product-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
}
.btn-hero-primary:hover, .ad-product-btn:hover {
  background: var(--yellow);
  color: var(--ink);
}

.tool-title-new {
  font-family: var(--f-head);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.35;
  margin: 12px 0 16px;
  color: var(--ink);
}

.article-content {
  font-size: 16px;
  line-height: 1.95;
  color: #2b3037;
}

.badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-right: 4px;
}

.table-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.table-scroll-wrapper table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.affiliate-cta {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-m);
  padding: 24px;
  margin: 32px 0;
}

.ad-product-card {
  display: flex;
  gap: 20px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-m);
  padding: 20px;
  margin: 24px 0;
  align-items: center;
}

.ad-product-image {
  width: 110px;
  height: 110px;
  min-width: 110px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ad-product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ad-product-info {
  flex: 1;
  min-width: 0;
}

.ad-product-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.4;
}

.ad-product-desc {
  font-size: 13.5px;
  color: var(--ink-2);
  margin: 0 0 12px;
  line-height: 1.6;
}

.ad-product-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ad-btn-amazon {
  background: #ff9900;
  color: #111827;
  border-color: #e68a00;
}
.ad-btn-amazon:hover {
  background: #e68a00;
  color: #fff;
}

.ad-btn-rakuten {
  background: #bf0000;
  color: #fff;
  border-color: #a60000;
}
.ad-btn-rakuten:hover {
  background: #a60000;
}

.ad-btn-yahoo {
  background: #ff0033;
  color: #fff;
  border-color: #cc0029;
}
.ad-btn-yahoo:hover {
  background: #cc0029;
}

.btn-twitter-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 9999px;
  text-decoration: none;
}
.btn-twitter-share:hover {
  background: #333;
  color: #fff;
}

@media (max-width: 640px) {
  .ad-product-card {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }
  .ad-product-image {
    align-self: center;
  }
  .ad-product-links {
    flex-direction: column;
  }
}
.rakuten-motion-box {
  margin: 36px auto;
  max-width: 340px;
  text-align: center;
  box-sizing: border-box;
}
.rakuten-motion-box .ad-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--mute, #64748b);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  text-align: center;
  display: block;
}
.rakuten-motion-box .rakuten-motion-wrap {
  min-height: 250px;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 8px;
  padding: 10px;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.rakuten-motion-box .rakuten-motion-wrap iframe, .rakuten-motion-box .rakuten-motion-wrap script {
  margin: 0 auto !important;
  display: block !important;
}

@media print {
  .rakuten-motion-box,
  .rakuten-motion-wrap {
    display: none !important;
  }
}
@media (max-width: 1024px) {
  .col-feat-card {
    grid-template-columns: 1fr;
  }
  .col-layout {
    grid-template-columns: 1fr;
  }
  .art-layout, .art-layout.has-toc, .art-layout:has(.art-toc-wrap) {
    grid-template-columns: 1fr;
  }
  .art-toc-wrap {
    display: none;
  }
  .art-sticky-cta {
    position: static;
  }
}
@media (max-width: 640px) {
  .art-layout {
    padding: 16px 12px 60px;
  }
  .art-layout > article {
    padding: 20px 16px;
  }
  .col-grid {
    grid-template-columns: 1fr;
  }
  .art-compare-grid {
    grid-template-columns: 1fr;
  }
  .art-inline-tool {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-hero-primary, .ad-product-btn {
    width: 100%;
    font-size: 14px;
    padding: 10px 16px;
  }
}
