    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
        background-color: #f5f5f5;
    }
    
    
/* ========== 基本カラー・トークン ========== */
.zp-root {
  --bg: #f0f4f9;
  --ink: #1d2735;
  --muted: #5b6c80;
  --accent: #2563eb; /* ブルー */
  --accent-weak:#3b82f6;
  --surface:#fff;
  --line:#d0d8e5;
  --radius:14px;
  --shadow:0 6px 16px rgba(0,0,0,.08);
  font-family: "Segoe UI",Roboto,"Noto Sans JP",sans-serif;
  background:var(--bg);
  color:var(--ink);
  margin:0;
}

/* ========== Header ========== */
.zp-header {
  background:linear-gradient(90deg,#1e3a8a,#1d4ed8);
  color:#fff;
  padding:20px;
  text-align:center;
}
.zp-header h1 { margin:0; font-size:clamp(20px,3vw,28px); font-weight:900; letter-spacing:.03em; }
.zp-header p { margin:6px 0 0; font-size:.95rem; color:#e0e7ff; }
header .pi-nav{

  text-align:center; 
  padding:10px 2px 0px 2px;
}
header .pi-nav a{
  color:#fff; text-decoration:none; margin:0 10px; font-weight:700;
}
header .pi-nav a:hover{ color:#fbbf24; }
/* ========== Layout 2カラム ========== */
.zp-layout {
  display:flex; gap:20px; max-width:1200px; margin:24px auto; padding:0 16px;
}
.zp-main { flex:1; }
.zp-side {
  flex:0 0 260px;
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius); padding:16px; box-shadow:var(--shadow);
  height:fit-content;
}

/* ========== 検索エリア ========== */
.zp-search {
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius); box-shadow:var(--shadow);
  padding:16px; margin-bottom:20px;
  display:grid; grid-template-columns:1fr auto; gap:10px; align-items:center;
}
.zp-search input[type=text]{
  border:1px solid var(--line); border-radius:10px; padding:10px; font-size:16px;
}
.zp-search input:focus{ outline:none; border-color:var(--accent-weak); box-shadow:0 0 0 3px rgba(37,99,235,.2); }
.zp-search button{
  border:none; border-radius:10px; padding:10px 16px;
  background:linear-gradient(180deg,var(--accent-weak),var(--accent));
  color:#fff; font-weight:700; cursor:pointer;
}
.zp-search button:hover{ filter:brightness(1.08); }

/* ========== セクション見出し ========== */
.zp-h2 { font-size:1.2rem; margin:0 0 8px; font-weight:800; }
.zp-desc { margin:0 0 16px; color:var(--muted); }

/* ========== 地域カード ========== */
/* …（前略。ヘッダーやレイアウト部分は同じ）… */

/* ========== 地域カード ========== */
.zp-region {
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius); box-shadow:var(--shadow);
  margin-bottom:18px; padding:14px;
}
.zp-region h3 {
  margin:0 0 10px; font-size:1.05rem; font-weight:800;
  border-bottom:1px solid var(--line); padding-bottom:6px;
}

/* 都道府県リスト：幅固定ボックス */
.zp-pref-list {
  list-style:none; margin:0; padding:0;
  display:flex; flex-wrap:wrap; gap:10px;
}
.zp-pref-list a {
  display:flex; justify-content:space-between; align-items:center;
  text-decoration:none; color:var(--ink);
  background:#f8fafc; border:1px solid var(--line);
  border-radius:8px; padding:8px 10px;
  font-weight:600;
  transition:.15s ease;
  /*width:130px;        ← 固定幅 */
  height:44px;       /* ← 高さも揃える */
  box-sizing:border-box;
}
.zp-pref-list a:hover{
  background:#eff6ff; border-color:var(--accent-weak);
}
.zp-count {
  font-size:.75rem; background:#dbeafe; color:#1e3a8a;
  padding:2px 6px; border-radius:999px; font-weight:700;
}

/* ========== サイドコラム ========== */
.zp-side h2{ font-size:1rem; font-weight:800; margin:0 0 10px; color:var(--accent); }
.zp-side ul{ list-style:none; margin:0; padding:0; }
.zp-side li{ margin:6px 0; }
.zp-side a{
  display:block; text-decoration:none; color:var(--ink);
  padding:6px 8px; border-radius:8px;
}
.zp-side a:hover{ background:#eff6ff; color:var(--accent); }

/* ========== Footer ========== */
.zp-footer {
  margin-top:40px; padding:20px; text-align:center;
  background:#1e293b; color:#cbd5e1;
}
.zp-footer a{ color:#93c5fd; text-decoration:none; }
.zp-footer a:hover{ text-decoration:underline; }

/* アクセシビリティ */
.zp-root a:focus-visible, .zp-root button:focus-visible, .zp-root input:focus-visible{
  outline:3px solid rgba(37,99,235,.35);
  outline-offset:2px; border-radius:8px;
}
    
    
    
    
/*ここからtrade-journal.jpからのもの*/
    
    
h1 {

font-size: 17pt;



}
    .header {
        background: #004d40;
        padding: 15px;
        text-align: center;
    }
    .header img {
        width: 300px;
    }
    .nav {
        background: #00796b;
        padding: 10px;
        text-align: center;
    }
    .nav a {
        color: white;
        text-decoration: none;
        margin: 0 15px;
        font-weight: bold;
        white-space: nowrap;  /* 単語途中で折り返さない */
    }
    .search-bar {
        background: #fff;
        padding: 15px;
        text-align: center;
        margin: 20px;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    .search-bar input, .search-bar select, .search-bar button {
        padding: 10px;
        margin: 5px;
    }
    .container {
         display: flex;
        max-width: 1100px;
        margin: auto;
        padding: 20px;
        background: white;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    .main-content {
        flex: 3;
        padding-right: 20px;
    }
/* 全体のフォントとレイアウト */
.main-content {
    /*max-width: 800px;*/
    margin: 0 auto;
    font-family: "Arial", sans-serif;
    color: #333;
    line-height: 1.6;
}

/* セクションタイトル */
.main-content h2 {
    font-size: 22px;
    font-weight: bold;
    padding: 10px 0;
    border-bottom: 2px solid #ddd;
    margin-bottom: 15px;
}
/* 見出しデザイン */
#article h2 {
    font-size: 22px;
    color: #0056b3;
    border-left: 5px solid #0056b3;
    padding-left: 10px;
    margin-top: 30px;
    border-bottom: none;
}
#article .kiji_title {
    font-size: 24px;
    font-weight: bold;
    color: #222;
    text-align: center;
    margin-bottom: 20px;
}
#article h3 {
    font-size: 18px;
    color: #333;
    margin-top: 20px;
}

/* リストのデザイン */
#article ul, ol {
    padding-left: 20px;
    margin: 15px 0;
}

#article ul li {
    margin-bottom: 8px;
}

#article ol li {
    margin-bottom: 10px;
    font-weight: bold;
}
/* リスト全体のスタイル */
.company-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

/* 各リストアイテムをカード風に */
.company-list li {
    background: #f9f9f9;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.company-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* リンクのスタイル */
.item-name {
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    display: block;
}

.item-name:hover {
    color: #007bff;
    text-decoration: underline;
}

/* サイトURLのスタイル */
.item-desc font[color="green"] {
    font-size: 14px;
    color: #28a745; /* 緑色を統一 */
}

/* 分類や電話番号のスタイル */
.item-info {
    font-size: 14px;
    color: #666;
}

/* ページネーション（中央配置＆ボタン風に） */
.pagination {
    text-align: center;
    padding: 15px 0;
}

.pagination a {
    color: #007bff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #007bff;
    margin: 2px;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
}

.pagination a:hover {
    background: #007bff;
    color: #fff;
}

.region-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .region {
        width: calc(50% - 10px);
        background: #e0f2f1;
        padding: 15px;
        border-radius: 5px;
        box-sizing: border-box;
    }
    .region h3 {
        margin: 0 0 10px 0;
    }
    .region ul {
        padding: 0;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .region ul li {
        margin-bottom: 5px;
        display: inline-block;
    }

/* サイドバーの全体デザイン */
.sidebar {
            flex: 1;
    background: #e0f2f1;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: "Arial", sans-serif;
}

/* セクションの見出し */
.sidebar h2 {
    font-size: 18px;
    font-weight: bold;
    padding: 10px 0;
    border-bottom: 2px solid #ddd;
    margin-bottom: 15px;
    color: #333;
}

/* リストのスタイル */
.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* リンクのスタイル */
.sidebar ul li {
    margin: 10px 0;
}

.sidebar ul li a {
    display: block;
    text-decoration: none;
    color: #007bff;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.2s, color 0.2s;
}

.sidebar ul li a:hover {
    background: #e9ecef;
    color: #0056b3;
}
    .footer {
        background: #004d40;
        color: white;
        text-align: center;
        padding: 15px;
        margin-top: 20px;
    }




/* サイト登録申請画面用 
.main-content {
  width: 80%;
  margin: auto;
  font-family: Arial, sans-serif;
}

h2 {
  text-align: center;
  font-size: 1.5em;
  margin-bottom: 20px;
}*/

.shinsei_form .intro {
  text-align: center;
  margin-bottom: 20px;
}

.shinsei_form .form-group {
  margin-bottom: 15px;
}

.shinsei_form label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.shinsei_form .required {
  color: red;
  font-size: 0.9em;
}

.shinsei_form input,.shinsei_form  select,.shinsei_form textarea {
  width: 96%;
  padding: 2%;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.shinsei_form .submit-btn {
  width: 100%;
  padding: 10px;
  background-color: #0073e6;
  color: white;
  font-size: 1em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.shinsei_form .submit-btn:hover {
  background-color: #005bb5;
}

/*shinsei_form入力内容確認画面*/
.intro {
  text-align: center;
  margin-bottom: 20px;
}

.confirmation-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.confirmation-table td {
  padding: 10px;
  border: 1px solid #ccc;
}

.confirmation-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.button-group {
  text-align: center;
  margin-top: 10px;
}

.submit-btn, .cancel-btn {
  width: 150px;
  padding: 10px;
  font-size: 1em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.submit-btn {
  background-color: #0073e6;
  color: white;
}

.submit-btn:hover {
  background-color: #005bb5;
}

.cancel-btn {
  background-color: #ccc;
}

.cancel-btn:hover {
  background-color: #999;
}


/*問い合わせフォーム*/

.toiawase .sub-text {
        text-align: center;
        margin-bottom: 20px;
        font-size: 14px;
        color: #666;
}

.toiawase .contact-form {
        background: #f9f9f9;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.toiawase .form-group {
        margin-bottom: 15px;
}

.toiawase .form-group label {
        font-weight: bold;
        display: block;
        margin-bottom: 5px;
}

.toiawase .form-group .chui {
        color: red;
        font-size: 14px;
}

.toiawase .form-group .eng {
        font-size: 12px;
        color: #777;
}

.toiawase input[type="text"], .toiawase input[type="email"], .toiawase textarea {
        width: 96%;
        padding: 2%;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 16px;
}

.toiawase textarea {
        resize: vertical;
        min-height: 120px;
}

.toiawase .form-submit {
        text-align: center;
        margin-top: 20px;
}

.toiawase .form-submit input[type="submit"] {
        background-color: #0073e6;
        color: white;
        font-size: 16px;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: 0.3s;
}

.toiawase .form-submit input[type="submit"]:hover {
        background-color: #005bb5;
}


/*問い合わせ内容確認*/

.h2-title {
        font-size: 24px;
        font-weight: bold;
        text-align: center;
        margin-bottom: 15px;
    }

    .sub-text {
        text-align: center;
        margin-bottom: 20px;
        font-size: 14px;
        color: #666;
    }

    .confirm-box {
        background: #f9f9f9;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .confirm-item {
        display: flex;
        justify-content: space-between;
        padding: 10px 0;
        border-bottom: 1px solid #ddd;
    }

    .confirm-item:last-child {
        border-bottom: none;
    }

    .label {
        font-weight: bold;
    }

    .chui {
        color: red;
        font-size: 14px;
    }

    .value {
        color: #333;
    }

    .button-group {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }

    .button-group form {
        display: inline;
    }

    .submit-btn, .edit-btn {
        background-color: #0073e6;
        color: white;
        font-size: 16px;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: 0.3s;
    }

    .submit-btn:hover {
        background-color: #005bb5;
    }

    .edit-btn {
        background-color: #ccc;
        color: #333;
    }

    .edit-btn:hover {
        background-color: #999;
    }

/* チェックボックス（トリガー） */
.menu-toggle {
  display: none; /* 非表示 */
}
.hamburger {
  display: none; /* 非表示 */
}
.overlay {
  display: none; /* 非表示 */
}


/* ここから分類別表示のトップページ */
/* ====== 基本レイアウト ====== */
:root{
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --radius: 16px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Hiragino Kaku Gothic ProN","Noto Sans JP",Meiryo,sans-serif;line-height:1.6}
.wrapper{max-width:1100px;margin:0 auto;padding:24px 16px}

/* ====== 見出し ====== */
.section-title{font-size:clamp(20px,2.6vw,28px);margin:8px 0 20px;font-weight:700}
.section-desc{color:var(--muted);margin:0 0 24px}

/* ====== カテゴリーグループ（業界紙／業界誌） ====== */
.category-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}
@media (max-width:800px){
  .category-list{grid-template-columns:1fr}
}
.group{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 2px 6px rgba(2,8,23,.04);
}
.group > h3{
  margin:0 0 12px;
  font-size:clamp(16px,2vw,20px);
  display:flex;align-items:center;gap:8px;
}
.group > h3 .tag{
  font-size:12px;
  color:#155e75;
  background:#cffafe;
  border:1px solid #a5f3fc;
  padding:2px 8px;
  border-radius:999px;
}

/* ====== カテゴリーリンクのグリッド ====== */
.cat-grid{
  --min: 220px;
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(var(--min),1fr));
  gap:12px;
  margin:0;padding:0;list-style:none;
}
.cat-grid li{margin:0;padding:0;}
.cat-link{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;
  border:1px solid var(--line);
  background:#e0f2f1;
  padding:12px 14px;
  border-radius:12px;
  text-decoration:none;
  color:var(--text);
  transition:transform .06s ease, box-shadow .12s ease, border-color .12s ease;
}
.cat-link:hover{
  transform:translateY(-1px);
  border-color:#94a3b8;
  box-shadow:0 4px 12px rgba(2,8,23,.06);
}
.cat-link .label{font-weight:600}
.cat-link small{
  color:var(--muted);
  font-variant-numeric:tabular-nums;
}

/* 補助：パンくずや戻るリンク等がある場合の余白 */
.header-spacer{height:8px}
/* ここまで分類別表示のトップページ */

.menu {
  display: flex;
  flex-wrap: wrap;      /* 横幅が足りなければ折り返す */
  gap: 1em;             /* 適度な間隔 */
}
.menu span {
  white-space: nowrap;  /* 単語途中で折り返さない */
}

/*---------------------------- スマホ向けのスタイル ----------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:960px) {

.pc_mode_only {
  display: none;

}
.header img {
  width: 220px;
}
.main-content {
  flex: 3;
  padding-right: 0px;
}
/* ここからハンバーガーメニューに関するCSS #side_contentsをハンバーガーメニューのボディーと表示するため#side_contentsを含む */


.search-bar {
display: flex;
justify-content: center;
gap: 10px;
/*padding: 20px;*/
}

.search-bar select, .search-bar input, .search-bar button {
padding: 12px;
font-size: 16px;
border: 1px solid #7d5a50;
border-radius: 5px;
}
.search-bar input {
width: 280px;
}
button {
background-color: #5a3e36;
color: white;
cursor: pointer;
}


aside {
  position: fixed;
  top: 0;
  left: -250px; /* 初期状態で非表示 */
  width: 250px; /* サイドバーの固定幅 */
  padding: 10px; /* 既存のパディング指定 */
  height: 100%;
  background-color: #f4f4f4;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  transition: left 0.3s ease;
  z-index: 100; /* 背景より上 */
  box-sizing: border-box;
  overflow-y: auto; /* 垂直方向のスクロールバーを表示 */
  overflow-x: hidden; /* 横方向のスクロールバーを非表示（必要なら省略） */

}
/* チェックボックス（トリガー） */
.menu-toggle {
  display: none; /* 非表示 */
}
/* ハンバーガーメニューアイコン */
.hamburger {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 30px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 101; /* メニューより上 */
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center; /* 回転の中心を明確に */
}


/* チェックボックスがチェックされたとき */
.menu-toggle:checked ~ aside {
  left: 0; /* メニューをスライドイン */
}

.menu-toggle:checked ~ .hamburger span:nth-child(1) {
  transform: rotate(45deg) translateY(9px) translateX(10px); /* translateYを調整 */
}

.menu-toggle:checked ~ .hamburger span:nth-child(2) {
  opacity: 0; /* 真ん中の線を非表示 */
}

.menu-toggle:checked ~ .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translateY(-9px) translateX(10px); /* translateYを調整 */
}
/* メニュー表示中の背景（オーバーレイ） */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* グレーの半透明 */
  opacity: 0;
  visibility: hidden;
  z-index: 99; /* メニューより下 */
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: inline;
}

/* チェックボックスがチェックされたときにオーバーレイを表示 */
.menu-toggle:checked ~ .overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto; /* クリックを有効にする */
}

/* ここまでハンバーガーメニューに関するCSS #side_contentsをハンバーガーメニューのボディーと表示するため#side_contentsを含む */
}

