﻿@charset "UTF-8";
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");
/* =====================================================================
 * e-inzai.com responsive overlay  /  v4  /  2026-05-25
 * v3 → v4 変更:
 *   - 旧 TABLE-based header を廃止し、.site-header + .site-search を新規追加
 *   - SVG ロゴ (RSD_logo-01.svg) 使用前提のスタイル
 *   - 検索フォームを別バーに分離してスッキリ
 * ===================================================================== */

img { max-width: 100%; height: auto; }
input, select, textarea { font-size: 16px; }
body {
  -webkit-text-size-adjust: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

#container {
  max-width: 100% !important;
  width: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 8px;
  padding-right: 8px;
  box-sizing: border-box;
}
table[width="800"] {
  width: 100% !important;
  max-width: 100%;
}

@media (max-width: 640px) {
  table[width="605"],
  table[width="580"] {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    overflow-x: auto;
  }
}

/* ====================================================================
 * 新ヘッダ (SVG ロゴ + タグライン)
 * ==================================================================== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 12px;
  background: #fff;
  border-bottom: 3px solid #7e7ee0;
  gap: 16px;
  flex-wrap: wrap;
}

.site-logo {
  display: inline-block;
  line-height: 0;
}
.site-logo img {
  display: block;
  height: 80px;
  width: auto;
  max-width: 240px;
}

.site-tagline {
  font-size: 14px;
  font-weight: bold;
  color: #5a5a6e;
  text-align: right;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* ====================================================================
 * 検索バー
 * ==================================================================== */
.site-search {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 10px 20px;
  background: #f3f3f8;
  border-bottom: 1px solid #d8d8e0;
  margin-bottom: 14px;
  font-size: 13px;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.search-label {
  font-weight: bold;
  color: #444;
  white-space: nowrap;
}

.search-form input[type="text"] {
  padding: 6px 8px;
  border: 1px solid #c8c8c8;
  border-radius: 3px;
  font-size: 14px;
  width: 140px;
}

.search-form button {
  padding: 6px 14px;
  background: linear-gradient(to bottom, #d8d8ff, #7e7ee0);
  color: #fff;
  border: 1px solid #5e5ec2;
  border-radius: 3px;
  cursor: pointer;
  font-weight: bold;
  font-size: 13px;
}

.search-form button:hover { filter: brightness(1.08); }

.search-form a {
  font-size: 12px;
  color: #5e5ec2;
  text-decoration: none;
  margin-left: 4px;
}
.search-form a:hover { text-decoration: underline; }

/* ====================================================================
 * 左メニュー: 原画像色合いの CSS ボタン
 * ==================================================================== */
.left-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  background: linear-gradient(to bottom, #c6c6cc 0%, #9b9ba6 50%, #7c7c88 100%);
  border: 1px solid #6b6b75;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  text-align: left;
  line-height: 1.3;
  box-sizing: border-box;
  text-shadow: 0 1px 0 rgba(0,0,0,0.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
  transition: filter .15s, box-shadow .15s, transform .05s;
}

.nav-btn:hover,
.nav-btn:focus {
  filter: brightness(1.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45),
              0 1px 3px rgba(0,0,0,0.25);
  text-decoration: none;
  color: #fff;
}

.nav-btn:active {
  filter: brightness(0.92);
  transform: translateY(1px);
}

.nav-btn i {
  font-size: 14px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
  opacity: 0.95;
}

.nav-btn-cart {
  min-height: 48px;
  padding: 10px 12px;
  font-size: 14px;
  background: linear-gradient(to bottom, #d8d8ff 0%, #ababfe 50%, #7e7ee0 100%);
  border-color: #5e5ec2;
  text-shadow: 0 1px 0 rgba(0,0,0,0.25);
}
.nav-btn-cart i { font-size: 16px; width: 20px; }

/* ====================================================================
 * モバイル最適化
 * ==================================================================== */
@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 12px 10px;
  }
  .site-logo img { height: 64px; }
  .site-tagline { text-align: center; font-size: 13px; }

  .site-search {
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
  }
  .search-form { flex-wrap: wrap; width: 100%; }
  .search-form input[type="text"] { flex: 1; width: auto; min-width: 0; }

  /* メインを縦積み・左メニュー横並び2列 */
  table[width="800"] > tbody > tr > td[width="155"],
  table[width="800"] > tbody > tr > td[width="645"] {
    display: block;
    width: 100% !important;
  }
  .left-menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
  .nav-btn {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }
  .nav-btn-cart { flex-basis: 100%; }
}
/* ====================================================================
 * ページ見出し (旧 *.gif 見出しバー画像の置換用)
 * ==================================================================== */
.page-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  margin: 0 0 18px 0;
  background: linear-gradient(to right, #7e7ee0 0%, #9b9bf0 100%);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  border-radius: 4px;
  text-shadow: 0 1px 0 rgba(0,0,0,0.25);
  letter-spacing: 0.05em;
  border-left: 5px solid #5e5ec2;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.page-title i {
  font-size: 20px;
  opacity: 0.95;
}
/* ====================================================================
 * セクション見出し (sub-heading 用、page-title より控えめ)
 * ==================================================================== */
.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin: 14px 0 10px 0;
  background: #f3f3f8;
  border-left: 4px solid #7e7ee0;
  color: #3a3a4a;
  font-size: 15px;
  font-weight: bold;
}
.section-title i {
  color: #7e7ee0;
  font-size: 15px;
  width: 18px;
  text-align: center;
}