/**
 * zen-jichi テストページ専用スタイル
 * test.php で使用
 */

    /* =========================================================
      [部位00] テーマ変数
    ========================================================= */
    :root{
      --bg:#eef2eb;
      --surface:#ffffff;
      --line:#c8d1c4;
      --text:#1c2a21;
      --muted:#5e6c62;

      --header:#1f6b3d;
      --header-deep:#15522f;

      --btn:#2f855a;
      --btn-deep:#256b48;

      --title-bg:#1f6b3d;      /* 見出し帯 */
      --title-text:#ffffff;

      --tab-idle-bg:#edf4ee;
      --tab-idle-border:#bfd2c2;
      --tab-active:#2f855a;

      --accent:#d5b06a;
      --shadow:0 6px 18px rgba(19,37,26,.12);
      --radius:10px;
    }

    /* =========================================================
      [部位01] 全体共通
    ========================================================= */
    *{box-sizing:border-box}
    html,body{margin:0;padding:0}
    body{
      background:#eef2eb;
      color:#1c2a21;
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic UI","Meiryo",sans-serif;
      line-height:1.6;
    }

    a{color:#1f5b3c;text-decoration:none}
    a:hover{text-decoration:underline}
    .wrap{max-width:1240px;margin:0 auto;padding:0 14px}

    /* =========================================================
      [部位02] ヘッダー → zen-jichi共通style.css使用
    ========================================================= */

    /* =========================================================
      [部位02-2] ヒーローセクション
    ========================================================= */
    .hero {
      background: linear-gradient(135deg, #1f5d3a 0%, #174a2e 100%);
      color: #ffffff;
      text-align: center;
      padding: 50px 20px;
    }
    .hero h1 {
      font-size: 40px;
      margin: 0 0 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 15px;
    }
    .hero p {
      font-size: 17px;
      opacity: 0.9;
      margin: 0;
    }

    /* =========================================================
      [部位03] 案内帯
    ========================================================= */
    .notice{
      margin:14px 0 10px;padding:10px 12px 10px 14px;border-radius:10px;
      background:#ffffff;border:1px solid #b8c9b0;border-left:4px solid #d5b06a;color:#2a4a35;font-size:13px;font-weight:600;
    }
    .notice a{color:#c75000;text-decoration:underline;font-size:14px;font-weight:600;}
    .notice a:hover{color:#a04000}

    /* =========================================================
      [部位04] 3カラムレイアウト
    ========================================================= */
    .layout{
      display:grid;
      grid-template-columns:270px minmax(0,1fr) 300px;
      gap:14px;
      margin-bottom:16px;
      align-items:start;
    }
    .center{
      display:flex;
      flex-direction:column;
      gap:14px;
    }
    .center > *:last-child{
      flex:1;
    }

    /* =========================================================
      [部位05] パネル共通
    ========================================================= */
    .panel{
      background:#ffffff;
      border:1px solid #b8c9b5;
      border-radius:10px;
      overflow:hidden;
      box-shadow:0 4px 12px rgba(19,37,26,.10), 0 10px 28px rgba(19,37,26,.07);
    }
    .panel-head{
      background:linear-gradient(180deg,#1d7340,#12512b);
      border-bottom:2px solid #0c3a1e;
      padding:12px 14px;
      display:flex;justify-content:space-between;align-items:center;
    }
    .panel-title{
      margin:0;
      font-size:18px;
      font-weight:900;
      color:#ffffff;
      letter-spacing:.03em;
    }
    .panel-meta{
      font-size:12px;color:#d7eadf;font-weight:700;
    }
    .panel-body{
      padding:12px 14px;background:#fff;
    }

    /* =========================================================
      [部位06] 左カラム（掲示板一覧）
    ========================================================= */
    .link-list{list-style:none;margin:0;padding:0}
    .link-list li{padding:9px 2px;border-bottom:1px dashed #d3dccf}
    .link-list li:last-child{border-bottom:0}
    .link-list a{font-size:15px;font-weight:900;color:#1e5b3b}
    .link-list p{margin:2px 0 0;font-size:12px;color:#627166}

    /* =========================================================
      [部位07] 中央カラム（お知らせ + 囲碁コンテンツ）
    ========================================================= */
    .info-panel{
      background:#ffffff;
      border:1px solid #b8c9b5;
      border-radius:10px;
      overflow:hidden;
    }
    .info-head{
      padding:18px 14px 14px;
      text-align:center;
      border-bottom:1px solid #c8d1c4;
    }
    .info-head-title{
      margin:0;
      font-size:20px;
      font-weight:900;
      color:#1c2a21;
    }
    .info-body{
      padding:0 18px;
    }
    .info-list{
      list-style:none;margin:0;padding:0;
    }
    .info-list li{
      display:flex;
      align-items:center;
      gap:12px;
      padding:12px 0;
      border-bottom:1px solid #d3dccf;
      font-size:13px;
    }
    .info-list li:last-child{border-bottom:none}
    .info-date{
      font-weight:900;color:#1c2a21;
      white-space:nowrap;
    }
    .info-tag{
      display:inline-block;
      font-size:11px;font-weight:900;
      color:#1a8a6a;
      border:1px solid #1a8a6a;
      border-radius:4px;
      padding:2px 10px;
      white-space:nowrap;
    }
    .info-text{
      font-weight:700;color:#1c2a21;
    }
    .info-text a{color:#c75000;text-decoration:underline;font-size:14px;font-weight:600;}
    .info-text a:hover{color:#a04000}
    .info-text.empty{
      color:#b0b8b2;
    }

    .igo-prep{
      display:flex;
      align-items:center;
      justify-content:center;
      padding:40px 14px;
    }
    .prep-label{
      font-size:14px;font-weight:900;color:#5e6c62;
      margin:0;
    }

    /* =========================================================
      [部位08] （予約）
    ========================================================= */

    /* =========================================================
      [部位09] 右カラム（アカウント / ブログ / 対局サイト）
    ========================================================= */
    .account-status{margin:0 0 10px;font-size:13px;color:#617166;font-weight:700}
    .btns{display:flex;gap:8px;flex-wrap:wrap}
    .btn{
      min-height:36px;padding:0 12px;border-radius:8px;border:1px solid #c3d2c5;background:#fff;color:#28543c;font-size:13px;font-weight:900;
      display:inline-flex;align-items:center;justify-content:center;
      transition:background .2s, box-shadow .2s;
    }
    .btn:hover{
      background:#eef5ef;
      box-shadow:0 2px 8px rgba(19,37,26,.12);
      text-decoration:none;
    }
    .btn.primary{
      background:linear-gradient(180deg,#30a06a,#1f7a4a);border-color:#165a32;color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.18);
    }
    .btn.primary:hover{
      background:linear-gradient(180deg,#38b878,#258a52);
      box-shadow:0 3px 12px rgba(31,107,61,.28);
    }

    .service-list{display:grid;gap:8px}
    .service-card{
      border:1px solid #c5d6c8;background:#f6faf5;border-radius:9px;padding:9px 10px;display:flex;justify-content:space-between;align-items:center;
      transition:box-shadow .2s, transform .2s;
    }
    .service-card:hover{
      box-shadow:0 3px 10px rgba(19,37,26,.10);
      transform:translateY(-1px);
    }
    .service-card a, .service-card > span:first-child{font-size:14px;font-weight:900;color:#25583f}
    .status{font-size:11px;border-radius:999px;padding:2px 8px;border:1px solid;font-weight:900}
    .status.ready{color:#1f5f3e;background:#e9f5ec;border-color:#b8d2bf}
    .status.pre{color:#654f23;background:#f8f1e3;border-color:#d9c28f}
    .status.ok{color:#ffffff;background:#1f5f3e;border-color:#1a5035}

    .ad-box{
      margin-top:14px;border:1px dashed #bfcdbf;border-radius:10px;background:#f7faf6;padding:12px;text-align:center;font-size:12px;color:#647368;font-weight:700;
    }

    /* =========================================================
      [部位11] レスポンシブ
    ========================================================= */
    @media (min-width: 760px) and (max-width: 1179px){
      .layout{grid-template-columns:1fr 280px;grid-template-areas:"center right" "left left";gap:12px}
      .center{grid-area:center}
      .right{grid-area:right}
      .left{grid-area:left}
    }
    @media (max-width: 759px){
      .layout{grid-template-columns:1fr;gap:12px}
      .left{order:2}.center{order:1}.right{order:3}
      .hero h1{font-size:28px}
    }

/* =========================================================
  [部位C-1 CSS] 左カラム掲示板一覧（入れ子パネル無し版）
========================================================= */
  /* 全体は「1パネル内で区切る」 */
  .boards4{
    display:grid;
    gap:10px;
  }

  /* カテゴリ1ブロック：背景を作らず、線と余白だけ */
  .catline{
    padding:8px 2px 10px;
    border-bottom:1px dashed #d3dccf;
  }
  .catline:last-child{border-bottom:0;padding-bottom:2px}

  /* カテゴリ見出し：薄い背景帯で差別化 */
  .catlabel{
    display:flex;
    align-items:center;
    gap:8px;
    font-weight:900;
    color:#1a5236;
    font-size:14px;/*■■■■■■■■*/
    letter-spacing:.04em;
    margin:0 -14px 8px;
    padding:7px 14px;
    background:#e8f0e4;
    border-bottom:1px solid #cddcc8;
  }
  .cati{
    width:22px;height:22px;
    display:inline-flex;align-items:center;justify-content:center;
    border-radius:7px;
    background:#eef6f0;
    border:1px solid #cfe0d2;
    font-size:14px;
  }

  /* リンク群：タイル化しない。1行テキスト＋左アイコンで軽く “映える” */
  .catlinks{
    display:flex;
    flex-wrap:wrap;
    gap:6px 12px;
    padding-left:2px;
  }
  .catlinks a{
    display:inline-flex;
    align-items:center;
    gap:6px;
    font-size:15px;/*■■■■■■■■*/
    font-weight:900;
    color:#1f5b3c;
    text-decoration:none;
    padding:2px 0;
    border-bottom:1px solid transparent;
    transition:color .15s, border-bottom-color .15s;
  }
  .catlinks a:hover{
    border-bottom-color:#d5b06a;
    color:#145230;
    text-decoration:none;
  }
  .li{
    width:18px;height:18px;
    display:inline-flex;align-items:center;justify-content:center;
    border-radius:6px;
    background:#ffffff;
    border:1px solid #d3dccf;
    font-size:12px;
  }

    /* =========================================================
      [部位12] アクセスカウンター
    ========================================================= */
    .counter-panel {
      background: #ffffff;
      border: 1px solid #b8c9b5;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(19,37,26,.10), 0 10px 28px rgba(19,37,26,.07);
    }
    .counter-head {
      background: linear-gradient(180deg, #1d7340, #12512b);
      border-bottom: 2px solid #0c3a1e;
      padding: 12px 14px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .counter-title {
      font-size: 18px;
      font-weight: 900;
      color: #ffffff;
    }
    .counter-meta {
      font-size: 12px;
      color: #d7eadf;
      font-weight: 700;
    }
    .counter-body {
      padding: 14px;
    }

    /* 今日の数値 */
    .counter-today {
      display: flex;
      gap: 10px;
      margin-bottom: 14px;
    }
    .counter-stat {
      flex: 1;
      text-align: center;
      padding: 12px 8px;
      background: #f5f8f3;
      border: 1px solid #dde5da;
      border-radius: 8px;
    }
    .counter-stat-label {
      font-size: 12px;
      color: #5e6c62;
      font-weight: 700;
      margin-bottom: 4px;
    }
    .counter-stat-num {
      font-size: 28px;
      font-weight: 900;
      line-height: 1;
    }
    .counter-stat-num.uu { color: #1d7340; }
    .counter-stat-num.pv { color: #c07020; }
    .counter-stat-sub {
      font-size: 11px;
      color: #8a9a8e;
      margin-top: 4px;
      font-weight: 600;
    }

    /* グラフ */
    .counter-graph-label {
      font-size: 13px;
      color: #5e6c62;
      font-weight: 700;
      margin-bottom: 8px;
      padding-bottom: 6px;
      border-bottom: 1px solid #dde5da;
    }
    .counter-graph {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      height: 120px;
      gap: 4px;
      padding: 0 2px;
    }
    .counter-bar-day {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      height: 100%;
      justify-content: flex-end;
    }
    .counter-bar-wrap {
      width: 100%;
      display: flex;
      justify-content: center;
      flex: 1;
      align-items: flex-end;
    }
    .counter-bar {
      width: 70%;
      max-width: 48px;
      background: linear-gradient(180deg, #c07020, #d48a3a);
      border-radius: 3px 3px 0 0;
      position: relative;
      min-height: 2px;
    }
    .counter-bar-val {
      position: absolute;
      top: -18px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 10px;
      font-weight: 900;
      color: #c07020;
      white-space: nowrap;
    }
    .counter-day-label {
      margin-top: 4px;
      font-size: 10px;
      color: #8a9a8e;
      text-align: center;
      line-height: 1.3;
      font-weight: 700;
    }

    /* フッター */
    .counter-footer {
      margin-top: 12px;
      padding-top: 10px;
      border-top: 1px solid #dde5da;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 6px;
    }
    .counter-note {
      font-size: 11px;
      color: #8a9a8e;
      font-weight: 600;
    }
    .counter-link {
      font-size: 13px;
      color: #1f5b3c;
      text-decoration: none;
      font-weight: 900;
    }
    .counter-link:hover { text-decoration: underline; }

    @media (max-width: 759px) {
      .counter-stat-num { font-size: 22px; }
      .counter-graph { height: 100px; }
      .counter-bar-val { font-size: 9px; top: -16px; }
    }

