/* ===== リセット・基本 ===== */
*, *::before, *::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  font-size: 14px;
}

/* ===== 中央コンテナ ===== */
#main_center {
  width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* ===== ヘッダーロゴ・バナーエリア ===== */
/* ロゴを左フロートさせ、バナーとナビを右側に自然に流す（元レイアウト再現） */
header img.logo {
  float: left;
}

/* ===== ナビゲーション ===== */
nav {
  text-align: left;
}
nav a {
  display: inline-block;
  width: 160px;
  height: 39px;
  border: 0;
  vertical-align: top;
}
/* 通常状態の画像をCSSで管理しロールオーバーを実現 */
#nav-index     { background: url(images/wisteria_r3_c3.gif) no-repeat; }
#nav-index:hover,
#nav-index.active { background-image: url(images/on_sr.gif); }

#nav-guidance  { background: url(images/wisteria_r3_c5.gif) no-repeat; }
#nav-guidance:hover,
#nav-guidance.active { background-image: url(images/on_co.gif); }

/* ===== セパレータライン ===== */
.sep-line {
  display: block;
  clear: left;
}

/* ===== メインコンテンツ上部マージン ===== */
main {
  margin-top: 20px;
}

/* ===== コンテンツブロック共通 ===== */
.con_block {
  width: 784px;
  margin: 0 auto 5px;
  text-align: left;
  background-image: url(images/blockbg.gif);
}

/* セクションタイトル画像 */
.con_block .section-title {
  display: block;
}

/* 内部レイアウト（旧テーブルをFlexboxに置き換え） */
.block-inner {
  display: flex;
  width: 784px;
}
.block-decoration {
  width: 309px;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: bottom;
}
.block-content {
  width: 475px;
  background-color: #fff;
}

/* 各サービスブロックの左装飾画像 */
.dec-software  { background-image: url(images/wisteria_r10_c2.gif); }
.dec-network   { background-image: url(images/wisteria_r15_c2.gif); }
.dec-web       { background-image: url(images/wisteria_r20_c2.gif); }
.dec-guidance  { background-image: url(images/cop_bg.gif); }

/* コンテンツ本文エリア */
#block_com {
  font-size: 14px;
  padding: 0 10px 10px 10px;
}

/* ===== 会社概要テーブル ===== */
table.gaiyou {
  width: 80%;
  border-collapse: collapse;
}
table.gaiyou td {
  padding: 4px 8px;
  vertical-align: top;
}
table.gaiyou tr:nth-child(odd) td {
  background-color: #f9f6fd;
}
table.gaiyou td:first-child {
  width: 130px;
  font-weight: bold;
  color: #555;
}

/* ===== フッター ===== */
#pankuzu {
  text-align: right;
  width: 100%;
  background-color: #990000;
  color: #fff;
  padding: 2px 4px;
}

/* ===== ページ切り替え ===== */
.page {
  display: none;
}
.page.active {
  display: block;
}
