/* ============================================================
   cn.css - 中国語サイト固有スタイル
   ============================================================ */

/* ===== フォント設定（中国語） ===== */
body {
font-family: 'PingFang SC', 'Microsoft YaHei', 
             '微软雅黑', sans-serif;
}

/* ===== JP/CN 言語切替 上書き ===== */
.lang-jp {
  font-weight: 400;
  color: #4c4c4c;
}

.lang-jp a {
  color: #4c4c4c;
  text-decoration: none;
  transition: opacity 0.2s;
}

.lang-jp a:hover {
  opacity: 0.7;
}

.lang-cn {
  font-weight: 700;
  color: #000000;
}

/* ===== セクション共通 ===== */
.cn-section {
  padding: 60px 0;
  background: #ffffff;
}

.cn-section-gray {
  background: #f5f5f5;
}

/* ===== セクションタイトル（h2） ===== */
.cn-section-title {
  font-size: clamp(1.75rem, 4vw, 2.8125rem);
  font-weight: 900;
  color: #000000;
  margin-bottom: 36px;
  line-height: 1.3;
  display: inline-block;
  position: relative;
  padding-bottom: 6px;
}

.cn-section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 100%;
  height: 8px;
  background: #f79824;
  z-index: -1;
}

/* ===== 中項目タイトル（h3） ===== */
.cn-inner-title {
  font-size: 1.1875rem;
  font-weight: 500;
  color: #ffffff;
  background: #102487;
  padding: 10px 20px;
  margin-bottom: 20px;
  margin-top: 32px;
  line-height: 1.4;
}

.cn-inner-title:first-of-type {
  margin-top: 0;
}

/* ===== 公司致辞 ===== */
.cn-greeting p {
  font-size: 1rem;
  color: #333;
  line-height: 2;
  margin-bottom: 16px;
}

.cn-greeting-name {
  font-size: 1rem;
  font-weight: 700;
  color: #102487;
  text-align: right;
  margin-top: 24px;
  margin-bottom: 0 !important;
}

/* ===== テーブル共通 ===== */
.cn-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cn-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

.cn-table th,
.cn-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #d0d0d0;
  vertical-align: top;
  text-align: left;
  font-size: 1rem;
  line-height: 1.8;
}

.cn-table th {
  width: 180px;
  white-space: nowrap;
  color: #102487;
  font-weight: 500;
  background: #ffffff;
}

.cn-table td {
  color: #333;
  background: #ffffff;
}

/* 沿革テーブル */
.cn-history-table th {
  color: #102487;
  line-height: 1.6;
}

.cn-year {
  font-size: 0.875rem;
  color: #888;
  font-weight: 400;
}

/* ===== 事业内容 ===== */
.cn-business-block {
  background: #f9f9f9;
  padding: 24px 28px;
  margin-bottom: 40px;
}

.cn-block-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #102487;
  margin-bottom: 8px;
  margin-top: 16px;
  padding-left: 10px;
  border-left: 3px solid #102487;
}

.cn-block-heading:first-of-type {
  margin-top: 0;
}

/* ===== リスト ===== */
.cn-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.cn-list li {
  font-size: 1rem;
  color: #333;
  line-height: 1.9;
  padding: 4px 0 4px 18px;
  position: relative;
}

.cn-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: #f79824;
  border-radius: 50%;
}

.cn-list-sub {
  list-style: none;
  padding: 0;
  margin: 4px 0 0 16px;
}

.cn-list-sub li {
  font-size: 0.9375rem;
  color: #555;
  padding: 2px 0 2px 14px;
}

.cn-list-sub li::before {
  width: 6px;
  height: 6px;
  background: #d0d0d0;
  top: 12px;
}

/* ===== 進出口グリッド ===== */
.cn-trade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.cn-trade-item {
  background: #f9f9f9;
  padding: 24px 28px;
}

.cn-trade-heading {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #102487;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cn-note {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.8;
  margin-top: 12px;
}

.cn-contact-info {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #d0d0d0;
}

.cn-contact-info p {
  font-size: 0.9375rem;
  color: #333;
  line-height: 1.9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cn-contact-info a {
  color: #102487;
  text-decoration: underline;
}

.cn-link {
  color: #102487;
  text-decoration: underline;
  word-break: break-all;
  font-size: 0.875rem;
}

.cn-link:hover {
  opacity: 0.7;
}

/* ===== 事业所 ===== */
.cn-office-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cn-office-item p {
  font-size: 1rem;
  color: #333;
  line-height: 1.9;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

  .cn-trade-grid {
    grid-template-columns: 1fr;
  }

  .cn-table th,
  .cn-table td {
    display: block;
    width: 100%;
  }

  .cn-table th {
    border-bottom: none;
    background: #f5f5f5;
  }

  .cn-history-table th {
    white-space: normal;
  }
}
