@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;700;800&family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* ==========================================================================
   Base & Resets
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Hiragino Sans', sans-serif;
  color: #334155;
  background-color: #f8fafc;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #0f766e;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover {
  color: #115e59;
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container,
.header-container,
.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.main-content-wrapper {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  padding-bottom: 4rem;
  align-items: flex-start;
}

.article-main {
  flex: 1;
  min-width: 0;
}

.article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem 1.25rem;
}

.article-content,
.main-content {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.03);
}

.header-inner,
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.site-logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.01em;
}

.site-logo:hover {
  color: #0f766e;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  border-radius: 0.375rem;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.site-nav a:hover {
  color: #0f766e;
  background-color: #f0fdfa;
}

/* ==========================================================================
   Breadcrumb Bar
   ========================================================================== */
.breadcrumb-bar {
  background-color: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.6rem 0;
}

.breadcrumbs,
.breadcrumb {
  font-size: 0.78rem;
  color: #64748b;
}

.breadcrumbs ol,
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs li,
.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumbs li + li::before,
.breadcrumb li + li::before {
  content: "›";
  margin-right: 0.5rem;
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1;
}

.breadcrumbs a,
.breadcrumb a {
  color: #64748b;
  text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumb a:hover {
  color: #0f766e;
  text-decoration: underline;
}

[aria-current="page"] {
  color: #0f172a;
  font-weight: 600;
}

/* ==========================================================================
   Article Header & Typography
   ========================================================================== */
.article-header {
  margin-bottom: 2.5rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 1.25rem;
}

.category-tag,
.category-badge,
.article-category {
  display: inline-block;
  background-color: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

.read-time {
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.article-title {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.02em;
}

.article-lead {
  background-color: #f0fdfa;
  border: 1px solid #ccfbf1;
  border-left: 5px solid #0f766e;
  border-radius: 0.75rem;
  padding: 1.5rem 1.75rem;
  font-size: 1.02rem;
  line-height: 1.9;
  color: #334155;
  margin-bottom: 2rem;
}

/* Headings in Article */
.article-content h2,
.article-container h2,
.main-content h2,
section h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  padding-left: 0.85rem;
  border-left: 4px solid #0f766e;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.6rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.article-content h3,
.article-container h3,
.main-content h3,
section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  line-height: 1.45;
}

.article-content h4,
.article-container h4,
section h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #334155;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.article-content p,
.article-container p,
.main-content p,
section p {
  font-size: 1rem;
  line-height: 1.85;
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #334155;
}

strong {
  color: #0f172a;
  font-weight: 700;
}

/* Lists */
.article-content ul,
.article-container ul,
.main-content ul,
section ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.article-content ol,
.article-container ol,
section ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.article-content li,
.article-container li,
section li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

/* ==========================================================================
   Table of Contents
   ========================================================================== */
.table-of-contents,
.toc-container,
#toc {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin: 2.5rem 0;
}

.toc-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid #0f766e;
  padding-bottom: 0.5rem;
}

.table-of-contents ul,
.toc-container ul,
#toc ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.table-of-contents li,
.toc-container li,
#toc li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.table-of-contents a,
.toc-container a,
#toc a {
  color: #334155;
  text-decoration: none;
  transition: color 0.15s ease;
}

.table-of-contents a:hover,
.toc-container a:hover,
#toc a:hover {
  color: #0f766e;
  text-decoration: underline;
}

.table-of-contents li ul,
.toc-container li ul,
#toc li ul {
  padding-left: 1.5rem;
  margin-top: 0.4rem;
  list-style: circle;
}

.table-of-contents li ul li,
.toc-container li ul li,
#toc li ul li {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 0.35rem;
}

/* ==========================================================================
   Checklist Card Component
   ========================================================================== */
.checklist-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-top: 4px solid #0f766e;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
  padding: 1.75rem;
  margin: 2.5rem 0;
}

.checklist-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1rem 0;
}

.checklist-items {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

.checklist-items li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.75;
}

.checklist-items li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #0f766e;
  font-weight: 800;
  font-size: 1.1rem;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-list {
  margin-top: 1.5rem;
}

.faq-item {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.75rem 0;
  line-height: 1.45;
}

.faq-answer {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.8;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Product Cards & Pochipp Box
   ========================================================================== */
.pochipp-box {
  display: flex;
  gap: 1.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  margin: 2.5rem 0;
  align-items: center;
}

.pochipp-image {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  background: #f8fafc;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #f1f5f9;
}

.pochipp-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.pochipp-tag {
  display: inline-block;
  background-color: #fef3c7;
  color: #92400e;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.45rem;
}

.pochipp-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.pochipp-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.product-recommend-card,
.product-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
  padding: 1.5rem;
  margin: 2rem 0;
}

.product-recommend-card h3,
.product-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.product-recommend-card p,
.product-card p {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 1rem;
}

.pochipp-buttons,
.affiliate-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-amazon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f59e0b;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  text-decoration: none !important;
  box-shadow: 0 2px 4px rgba(245, 158, 11, 0.25);
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn-amazon:hover {
  background-color: #d97706;
  transform: translateY(-1px);
}

.btn-rakuten {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ef4444;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  text-decoration: none !important;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.25);
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn-rakuten:hover {
  background-color: #dc2626;
  transform: translateY(-1px);
}

.btn-yahoo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ff0033;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  text-decoration: none !important;
  box-shadow: 0 2px 4px rgba(255, 0, 51, 0.25);
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn-yahoo:hover {
  background-color: #cc0029;
  transform: translateY(-1px);
}

/* ==========================================================================
   Data & Spec Tables
   ========================================================================== */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0;
}

table.data-table,
table.spec-table,
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

table th {
  background-color: #0f172a;
  color: #ffffff;
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  line-height: 1.6;
}

table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

table tbody tr:hover {
  background-color: #f1f5f9;
}

/* ==========================================================================
   Sidebar Widgets
   ========================================================================== */
.sidebar {
  width: 320px;
  flex-shrink: 0;
}

.sidebar-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.03);
}

.widget-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.85rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #0f766e;
}

.widget-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

.widget-list li {
  margin-bottom: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}

.widget-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #0f766e;
  font-size: 1.2rem;
  top: -0.1rem;
}

.widget-list a {
  color: #334155;
  text-decoration: none;
  transition: color 0.15s ease;
}

.widget-list a:hover {
  color: #0f766e;
  text-decoration: underline;
}

.search-form input {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.search-form input:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.2);
}

/* ==========================================================================
   References Section
   ========================================================================== */
.references-section,
#references {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-top: 3.5rem;
  font-size: 0.85rem;
  color: #64748b;
}

.references-section h2,
#references h2 {
  font-size: 1.15rem;
  margin-top: 0;
  border: none;
  padding-left: 0;
  color: #334155;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.5rem;
}

.references-list {
  padding-left: 1.25rem !important;
  margin-bottom: 0 !important;
}

.reference-item {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 3rem 0;
  margin-top: 5rem;
  border-top: 1px solid #1e293b;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.85rem;
  margin: 0;
  color: #94a3b8;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 960px) {
  .main-content-wrapper {
    flex-direction: column;
    gap: 2rem;
  }
  
  .article-main {
    width: 100%;
  }
  
  .sidebar {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .article-content,
  .main-content {
    padding: 1.5rem 1.15rem;
    border-radius: 0.75rem;
  }
  
  .article-title {
    font-size: 1.45rem;
    line-height: 1.38;
  }
  
  .article-lead {
    padding: 1.15rem 1.25rem;
    font-size: 0.95rem;
  }
  
  .article-content h2,
  .article-container h2,
  section h2 {
    font-size: 1.3rem;
    margin-top: 2.5rem;
  }
  
  .article-content h3,
  .article-container h3,
  section h3 {
    font-size: 1.15rem;
  }
  
  .pochipp-box {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }
  
  .pochipp-image {
    width: 120px;
    height: 120px;
    margin: 0 auto;
  }
  
  .pochipp-buttons,
  .affiliate-buttons {
    justify-content: center;
  }
  
  .site-nav {
    display: none;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
