/* ================================================================== */
/* 新製品情報ページ専用CSS */
/* ================================================================== */
:root {
  --blue: #00f;
  --ball-blue: #68A5FF;
  --highlighted: #f00;
  --star: #FF0;
}
/* ページ内ナビゲーション */
.product-nav {
  border-top: 1px solid #C0C0C0;
  border-bottom: 1px solid #C0C0C0;
  padding: 8px 0;
  margin: 10px 0 20px;
  font-size: 0.9em;
  line-height: 1.8;
}

.product-nav a {
  text-decoration: none;
}

.product-nav a:hover {
  text-decoration: underline;
}

/* 製品セクション */
.product-section {
  margin-bottom: 40px;
  page-break-inside: avoid;
}

/* 製品ヘッダー */
.product-header {
  background-color: var(--blue);
  color: #FFFFFF;
  padding: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.product-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.product-title h2 {
  font-size: 1.1em;
  font-weight: bold;
  margin: 0;
}

.product-mark {
  color: var(--star);
  font-size: 1.2em;
  font-weight: bold;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.product-meta time {
  font-size: 0.9em;
}

/* 認証ボックス */
.certification-box {
  background-color: #FFFFFF;
  color: #000080;
  padding: 0 10px;
  border: 1px solid #FFFFFF;
  font-size: 0.85em;
  line-height: 1.4;
}

.certification-box a {
  color: #000080;
  text-decoration: none;
}

.certification-box a:hover {
  text-decoration: underline;
}

/* 製品コンテンツ */
.product-content {
  background-color: #FFFFFF;
  border: 2px solid var(--blue);
  border-top: none;
  padding: 15px;
}

/* メイン画像 */
.product-main-image {
  text-align: center;
  margin-bottom: 20px;
}

.product-main-image img {
  max-width: 100%;
  height: auto;
}

/* 製品詳細 */
.product-detail {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.product-detail.horizontal {
  align-items: flex-start;
}

.product-left {
  flex: 0 0 260px;
  text-align: center;
}

.product-left img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.product-right {
  flex: 1;
  min-width: 300px;
}

/* 画像リンク */
.image-link {
  font-size: 0.9em;
  margin-top: 5px;
}

.external-link {
  margin-top: 10px;
  font-size: 0.9em;
}

.link-arrow {
  color: var(--blue);
  font-weight: bold;
}

/* 導入ボックス */
.intro-box {
  background-color: #F8FACF;
  border: 1px solid #FFCC00;
  padding: 5px 5px 2px;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* 製品説明 */
p.product-description {
  font-size: 0.9em;
  line-height: 1.6;
  margin: 15px 0;
}

.product-image-main {
  margin-bottom: 20px;
}

.product-image-main img {
  max-width: 100%;
  height: auto;
}

/* 画像スタック */
.image-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 特長タイトル */
.feature-title {
  color: var(--blue);
  font-weight: bold;
  font-size: 0.95em;
}

/* 特長リスト */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.feature-list li {
  padding-left: 1.2em;
  text-indent: -1.2em;
  font-size: 0.9em;
  line-height: 1.6;
}

.feature-list li::before {
  content: "●";
  color: var(--ball-blue);
  font-weight: bold;
  margin-right: 0.5em;
}

.feature-list li.highlight-item {
  font-weight: bold;
  color: var(--highlighted);
}

.feature-list li.highlight-item::before {
  color: var(--ball-blue);
}

/* ハイライト */
.highlight {
  color: var(--highlighted);
}

/* 注釈 */
.note {
  font-size: 0.85em;
  margin: 10px 0;
  line-height: 1.5;
}

.patent-note {
  background-color: #F5F5F5;
  padding: 10px;
  margin: 15px 0;
  font-size: 0.85em;
  line-height: 1.5;
  border-left: 3px solid #999;
}

/* ダウンロードボックス */
.download-box {
  background-color: #E3E3E3;
  border: 1px solid #808080;
  margin: 20px 0;
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.download-label {
  background-color: #494949;
  color: #FFFFFF;
  padding: 3px 12px;
  font-size: 0.9em;
  white-space: nowrap;
}

.download-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.download-links img {
  display: block;
}

/* 会社情報 */
.company-info {
  background-color: #D7FFD7;
  margin: 10px 0 0;
  font-size: 0.9em;
  line-height: 1.5;
}

.company-name {
  color: #008000;
  font-weight: bold;
}

/* ページトップリンク */
.page-top-link {
  text-align: right;
  margin-top: 15px;
  font-size: 0.9em;
}

.page-top-link a {
  text-decoration: none;
  color: var(--blue);
}

.page-top-link a:hover {
  text-decoration: underline;
}

.page-top-link .arrow {
  color: var(--ball-blue);
  margin-right: 5px;
}

/* ================================================================== */
/* レスポンシブ対応 */
/* ================================================================== */

@media screen and (max-width: 768px) {
  .product-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-meta {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .certification-box {
    width: 100%;
  }

  .product-detail {
    flex-direction: column;
  }

  .product-left {
    flex: 1 1 auto;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  .product-right {
    min-width: 100%;
  }

  .download-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .download-links {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .product-title h2 {
    font-size: 1em;
  }

  .product-nav {
    font-size: 0.85em;
  }

  .feature-list li {
    font-size: 0.85em;
  }

  .company-info {
    font-size: 0.85em;
  }

  .download-label {
    font-size: 0.85em;
  }
}

/* 印刷対応 */
@media print {
  .product-section {
    page-break-inside: avoid;
  }

  .product-header {
    background-color: var(--blue) !important;
    color: #FFFFFF !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}