@charset "UTF-8";
/* Leimac Tech Notes - load after common.css */
.technotes-content {
  --tn-accent: var(--themeColor, #E7336E);
  --tn-text: #4d4d4d;
  --tn-muted: #666;
  --tn-line: #dedede;
  color: var(--tn-text);
  font-family: Roboto, "Noto Sans JP", Arial, sans-serif;
  font-size: inherit;
  line-height: 1.9;
  letter-spacing: 0.015em;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow-wrap: anywhere;
}

/* 本文とリストの文字サイズを統一 */
.technotes-content p,
.technotes-content .tn-list li {
  font-size: 1.8rem;
}

/* 本文の段落間隔 */
.technotes-content p {
  margin: 0 0 1.6em;
}

/* Tech Notes 箇条書き */
.technotes-content .tn-list {
  list-style: disc;
  margin: 0 0 2.4rem;
  padding-left: 2.4rem;
}

/* リスト項目 */
.technotes-content .tn-list li {
  margin-bottom: 0.6em;
  line-height: 1.7;
  letter-spacing: inherit;
}

/* 最後の項目の余白を削除 */
.technotes-content .tn-list li:last-child {
  margin-bottom: 0;
}

.technotes-content .tn-article-header {
  padding-bottom: 2.4rem;
  margin-bottom: 4.8rem;
  border-bottom: 1px solid var(--tn-line);
}
.technotes-content .tn-article-title {
  margin: 0 0 1.6rem;
  font-weight: 700;
  line-height: 1.5;
}
.technotes-content .tn-article-subtitle {
  margin: 0;
  font-weight: 500;
  line-height: 1.6;
}
.technotes-content .tn-introduction,
.technotes-content .tn-section { margin-bottom: 6.4rem; }
.technotes-content .tn-section-title {
  margin: 0 0 2.8rem;
  padding: 0 0 1.2rem 1.6rem;
  border-left: 4px solid var(--tn-accent);
  border-bottom: 1px solid var(--tn-line);
  font-weight: 700;
  line-height: 1.5;
}
/* h3の見出しはデザインを維持して文字サイズのみ変更
.technotes-content h3.tn-section-title {
  font-size: 1.6rem;
}
*/
.technotes-content .tn-figure { margin: 3.6rem 0 4.4rem; }
.technotes-content .tn-figure img {
  display: block;
  max-width: min(100%, 800px);
  height: auto;
  margin: 0 auto;
}
.technotes-content .tn-figure figcaption {
  margin-top: 1.2rem;
  color: var(--tn-muted);
  line-height: 1.6;
  text-align: center;
}
.technotes-content .tn-image-placeholder {
  padding: 6rem 2rem;
  background: #f5f5f5;
  border: 1px dashed #ccc;
  color: #777;
  text-align: center;
}
.technotes-content .tn-product {
  margin-bottom: 2rem;
  padding: 2.8rem 3.2rem;
  background: #f8f8f8;
  border: 1px solid #e8e8e8;
}
.technotes-content .tn-product-title {
  margin: 0 0 1.6rem;
  font-weight: 700;
  line-height: 1.5;
}
.technotes-content .tn-product p:last-child,
.technotes-content .tn-note p:last-child { margin-bottom: 0; }
.technotes-content .tn-link {
  color: var(--tn-accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.2s ease;
}
.technotes-content .tn-link:hover { opacity: 0.7; }
.technotes-content .tn-link:focus-visible { outline: 2px solid var(--tn-accent); outline-offset: 3px; }

/* 補足情報ボックス */
.technotes-content .tn-note {
  margin-top: 4rem;
  padding: 2rem 2.4rem;
  background: #f7f7f7;
  border-left: 3px solid #aaa;
  line-height: 1.6;
}
/* 補足情報の見出し */
.technotes-content .tn-note-title {
  margin: 0 0 1.2rem;
  font-weight: 600;
  line-height: 1.2;
}
/* 補足情報の段落間隔 */
.technotes-content .tn-note p {
  margin: 0 0 0.8em;
}

.technotes-content .tn-note p:last-child {
  margin-bottom: 0;
}


@media only screen and (max-width: 900px) {
  .technotes-content { line-height: 1.85; }
  .technotes-content .tn-article-header { margin-bottom: 3.6rem; }
  .technotes-content .tn-introduction,
  .technotes-content .tn-section { margin-bottom: 4.8rem; }
  .technotes-content .tn-section-title {
    margin-bottom: 2.4rem;
    padding-left: 1.2rem;
  }
  .technotes-content .tn-product { padding: 2rem; }
  .technotes-content .tn-note {
  margin-top: 3.2rem;
  padding: 1.6rem;
  }
}
