﻿@charset "SHIFT-JIS";

/* --- 全体の背景・テキスト --- */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #fffff;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size:cover;
    color: #000000; /* 全体の文字色 */
    font-size: 100%; /* 全体の文字サイズ */
}

/* --- 全体のリンクテキスト --- */
    a:link { color: #333; }
    a:visited { color: #333; }
    a:hover { color: #ff0000; }
    a:active { color: #ff0000; }

/* --- コンテナ --- */
#container {
    width: 940px; /* ページの幅 */
    margin: 0 auto; /* センタリング */
    background: url(sidebar_200.gif) repeat-y left; /* サイドバーの背景画像 */
    background-color: #ffffff; /* メインカラムの背景色 */
    border-left: 1px #fffff solid; /* 左の境界線 */
    border-right: 1px #fffff solid; /* 右の境界線 */
}

/* --- 見出し --- */
h1 {
    height:24px;margin:0px 0px 5px 0px;padding:8px 0px 0px 15px;
    font-size:16px;font-weight:bold;color:#444444;
    background-image:url(../img/head017_05.png);
    background-repeat:no-repeat;
}

h2.bgRed {  
    height:152px;margin:0px 0px 5px 0px;padding:8px 0px 0px 0px;
    font-size:30px;font-weight:bold;color:#444444;
    background-repeat:no-repeat;
    background-image:url(../img/Heading.png);
}  

h2.bgblue {  
    height:152px;margin:0px 0px 5px 0px;padding:8px 0px 0px 0px;
    font-size:30px;font-weight:bold;color:#444444;
    background-repeat:no-repeat;
    background-image:url(../img/Heading1.png);
}  

h3 {  
    height:24px;margin:0px 0px 5px 0px;padding:8px 0px 0px 15px;
    font-size:16px;font-weight:bold;color:#444444;
    background-image:url(../img/head017_09.png);
    background-repeat:no-repeat;
} 

h4 {  
    height:25px;margin:0px 0px 5px 0px;padding:8px 0px 0px 15px;
    font-size:16px;font-weight:bold;color:#444444;
    background-image:url(../img/01.png);
    background-repeat:no-repeat;
} 

/* --- ヘッダ --- */
#header {
    width: 940px;
    background-color: #fffff; /* ヘッダの背景色 */
    background:#fffff; /*ヘーダーの背景画像の指定*/
    background-position:top;/*開始位置を右上に指定*/
    height:171px; /*ヘーダーの高さ*/
    background-image:url(../img/header.png);
    color:#ffffff;
}

/* --- メイン --- */
#main {
    width: 940px; 
    background:white;
    position:absolute;
    left: 10px;
    right: 10px;
    padding:10px;
    margin: 0 auto;
    height:;
}


/* --- メインカラム --- */
.container { width: 940px; margin: 0 auto;}
.grid1, .grid2, .grid3, .grid4, .grid5, .grid6, .grid7, .grid8, .grid9, .grid10, .grid11 {
    float: left;
    display: inline;
    margin-left: 20px;
}

.grid1 {width: 60px;}
.grid2 {width: 140px;}
.grid3 {width: 220px;}
.grid4 {width: 300px;}
.grid5 {width: 380px;}
.grid6 {width: 460px;}
.grid7 {width: 540px;}
.grid8 {width: 620px;}
.grid9 {width: 700px;}
.grid10 {width: 780px;}
.grid11 {width: 860px;}
.first {margin-left: 0;clear: left;}
 
/* clearfix */
.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

 /* IE6 */
* html .clearfix { zoom: 1;}

 /* IE7 */
*:first-child+html .clearfix {zoom: 1;}

p#iro{vertical-align: middle;}
#iro{vertical-align: middle;}

/* --- テーブル --- */
.sample_03{
width: 100%;
    border-collapse: separate;
    border-spacing: 0px;
    border-top: 1px none #ccc;
    border-left: 1px none #ccc;
}
.sample_03 th{
    width:25%;
    padding:20px;
    text-align: left;
    vertical-align: top;
    color: #fffff;
    background-color: #fffff;
    border-left: 3px none #999;
    border-top: 1px none #fff;
    border-right: 1px none #ccc;
    border-bottom: 1px dotted #ccc;
}
.sample_03 td{
    width:75%;
    padding:15px;
    background-color: #fafafa;
    border-right: 1px none #ccc;
    border-bottom: 1px dotted #ccc;
}
 
/* --- 戻る --- */
#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 100%;
}

#page-top a {
    background: #191970;
    text-decoration: none;
    color: #fff;
    width: 100px;
    padding: 30px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
}

#page-top a:hover {
    text-decoration: none;
    background: #191970;
    height: 30px;
}

/* --- フッター --- */
#footer {
    background-image: url(.png); 
    background-color: #fffff; /* ヘッダの背景色 */
    background:#fffff; /*ヘーダーの背景画像の指定*/
    background-position:;/*開始位置を右上に指定*/
    height:px; /*ヘーダーの高さ*/
}

address {
    text-align: center;
}

/* --- スライド --- */
#slideshow {
   position: relative;
   width:  940px; /* 画像の横幅に合わせて記述 */
   height: 300px; /* 画像の高さに合わせて記述 */
}
#slideshow img {
   position: absolute;
   top: 0;
   left:0;
   z-index: 1;
   opacity: 0.0;
}
#slideshow img.active {
   z-index: 3;
   opacity: 1.0;
}
#slideshow img.last-active {
   z-index: 2;
}

/* --- ナビゲーションバー --- */
div.nav {
    width: 100%; /* ナビゲーションの幅 */
    background: #4e83b3 url(hor_menu6_off.gif) repeat-x top; /* ナビゲーションの背景 */
    border-top: 2px #84aed2 solid; /* 上境界線 */
    border-bottom: 2px #2c5170 solid; /* 下境界線 */
    font-size: 80%;
}

/* --- サブメニュー --- */
.section {
   width:220px;
}

.menu {
   padding:1px;
   border:1px solid #D1D1D1;
}

.menu h2{
   background-color:#D3D3D3;
   margin:0;
   padding:5px 5px;
   font-size:16px;
   font-weight:bold;
   border-bottom:3px solid #099;
}

.menu ul{
   margin:0;
   padding:0;
   list-style: none;
   border-top:1px solid #ddd;
}

.menu li {
   padding:0;
   font-size:12px;
   line-height:2.0;
   border-bottom: 1px dotted #999;
}

.menu a {
   display:block;
   padding:10px 0 10px 20px;
   color:#333;
   text-decoration:none;
   background:url("../img/bg_list.gif") 10px 50% no-repeat;
}

.menu a.current {
   color:#333;
   background:#fffff url("../img/bg_list.gif") 10px 50% no-repeat;
}

.menu a:hover {
   color:#099;
   background:#b9e3e3 url("../img/bg_list.gif") 10px 50% no-repeat;
}

/* --- メインメニュー --- */
div.nav ul.nl {
    width: 940px; /* メニューの幅 */
    margin: 0 auto; /* センターに配置 */
    padding: 0;
    background: #4e83b3 url(img/hor_menu6_off.gif) repeat-x top; /* メニューの背景 */
    border-left: 1px #2c5170 solid; /* メニューの左境界線 */
    border-right: 1px #84aed2 solid; /* メニューの右境界線 */
    list-style-type: none;
    text-align: center;
}

/* --- メニュー項目 --- */
div.nav ul.nl li {
    width: 20%; /* 項目の幅 */
    float: left;
}

/* --- リンク --- */
div.nav ul.nl li a {
    display: block;
    position: relative; /* IE6用 */
    padding: 7px 2px 4px; /* リンクエリアのパディング（上、左右、下） */
    border-left: 1px #84aed2 solid; /* リンクエリアの左境界線 */
    border-right: 1px #2c5170 solid; /* リンクエリアの右境界線 */
    text-decoration: none; /* テキストの下線（なし） */
    font-weight: bold; /* 文字の太さ（太字） */
    color: #ffffff; /* 文字色 */
    line-height: 100%; /* 行の高さ */
}
/* 英字部分 */
div.nav ul.nl li a span.en {
    display: block;
    margin-top: 2px; /* 英字部分の上マージン */
    font-size: 85%; /* 英字の文字サイズ */
    font-weight: normal; /* 文字の太さ（ノーマル） */
    color: #eee8aa; /* 英字の文字色 */
}
/* --- ポイント時の設定 --- */
div.nav ul.nl li a:hover {
    background: #5e91bd url(hor_menu6_on.gif) repeat-x top; /* ポイント時の背景 */
}
div.nav ul.nl li a:hover span.en {
    color: #fde337; /* ポイント時の英字の文字色 */
}

/* --- clearfix --- */
.clearFix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.clearFix {
    min-height: 1px;
}

/* --- サイトマップエリア --- */
ul.sitemap {
    width: 100%; /* サイトマップエリアの幅 */
    margin: 0;
    padding: 0;
    font-weight: bold; /* 一旦全ての文字を太字にする */
    list-style-type: none;
    font-size: 80%;
    color: #333;
}

/* --- 入れ子にされたリスト用 --- */
ul.sitemap ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

/* --- 全てのリスト項目 --- */
ul.sitemap li {
    padding: 1px 0 0 10px; /* 1階層目のパディング（上右下左） */
    background: url(v_line1.gif) no-repeat left top; /* 1階層目の背景 */
    line-height: 120%;
}

/* --- 2階層目のコンテナ --- */
ul.sitemap div.contentNav {
    width: 100%; /* コンテナの幅 */
    margin-top: 20px; /* コンテナの上マージン */
}

/* --- セクション（2階層目のリストエリア） --- */
ul.sitemap ul.section {
    width: 28%; /* セクションの幅 */
    float: right;
}
ul.sitemap ul.separator {
    background: url(v_separator.gif) repeat-y right top; /* セクション間の垂直区切り線 */
}

/* --- 2階層目以降のリスト項目 --- */
ul.sitemap ul.section li {
    margin: 0 20px 20px 0; /* 2階層目のマージン（上右下左） */
    padding: 0px 0 10px 15px; /* 2階層目のパディング（上右下左）上書き */
    background: url(img/v_line2.gif) no-repeat 5px 0; /* 2階層目の背景 上書き */
    border-bottom: 1px #c0c0c0 dotted; /* 2階層目の下境界線 */
}

/* --- 3階層目以降のリストエリア --- */
ul.sitemap ul.section ul {
    margin: 11px 0 0 8px; /* 3階層目以降のマージン（上右下左） */
    font-weight: normal; /* 3階層目以降の文字をノーマルの太さに戻す */
}

/* --- 3階層目以降のリスト項目 --- */
ul.sitemap ul.section ul li {
    margin: 0 0 10px 0.3px; /* 3階層目以降のマージン（上右下左）上書き */
    padding: 0 0 0 12px; /* 3階層目のパディング（上右下左）上書き */
    background: url(triangle5.gif) no-repeat 0 0.2em; /* 3階層目の背景 上書き */
    border-bottom: none; /* 3階層目以降の下境界線 上書き */
}

/* --- 4階層目以降のリスト項目 --- */
ul.sitemap ul.section ul li li {
    padding: 0 0 0 9px; /* 4階層目以降のパディング（上右下左）上書き */
    background: url(square.gif) no-repeat 0 0.4em; /* 4階層目以降の背景 上書き */
}

/* --- clearfix --- */
.clearFix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.clearFix {
    min-height: 1px;
}

/* --- フォームエリア --- */
form.contact {
    width: 620px; /* フォームエリアの幅 */
    font-size: 80%;
}
/* --- フォームエリア内の段落 --- */
form.contact p {
    line-height: 130%;
}
/* --- 段落内の「必須」画像 --- */
form.contact p.attention img {
    vertical-align: middle;
}

/* --- 部品グループ --- */
form.contact div.fields {
    margin-bottom: 20px; /* 部品グループの下マージン */
    padding: 2px; /* 部品グループのパディング */
    background-color: #f9f9f9; /* 部品グループの背景色 */
    border: 1px #c0c0c0 solid; /* 部品グループの境界線 */
}

/* --- テーブル --- */
form.contact table {
    width: 100%; /* テーブルの幅 */
    border: 1px solid; /* テーブルの境界線 */
    border-color: #c0c0c0 #999999 #999999 #c0c0c0; /* テーブルの境界線色（上右下左） */
}
/* --- キャプション --- */
form.contact caption {
    margin-bottom: 2px; /* キャプションの下マージン */
    padding: 10px 8px; /* キャプションのパディング（上下、左右） */
    background: #f9f9f9 url(../img/caption_back1.gif) repeat-x; /* キャプションの背景 */
    border: 1px solid; /* キャプションの境界線 */
    border-color: #c0c0c0 #999999 #999999 #c0c0c0; /* キャプションの境界線色（上右下左） */
    text-align: left;
    color: #808080; /* キャプションの文字色 */
    font-weight: bold;
}
/* --- 見出しセル（th） --- */
form.contact th {
    width: 140px; /* 見出しセルの幅 */
    padding: 10px 8px; /* 見出しセルのパディング（上下、左右） */
    background-color: #f5f5f5; /* 見出しセルの背景色 */
    border-bottom: 1px #c0c0c0 dotted; /* 見出しセルの下境界線 */
    text-align: left;
    line-height: 130%;
}
/* --- 見出しセル内の補足テキスト --- */
form.contact th span.supplement {
    font-weight: normal;
}
/* --- データセル（td） --- */
form.contact td {
    padding: 10px 5px 7px; /* データセルのパディング（上、左右、下） */
    background-color: #ffffff; /* データセルの背景色 */
    border-bottom: 1px #c0c0c0 dotted; /* データセルの下境界線 */
}
/* --- データセル内の補足テキスト --- */
form.contact td span.supplement {
    color: #808080;
}
/* --- 必須項目セル --- */
form.contact td.required {
    width: 26px; /* 必須項目セルの幅 */
    padding: 10px 3px; /* 必須項目セルのパディング（上下、左右） */
    background-color: #c4e6fa; /* 必須項目セルの背景色 */
    text-align: center;
}
/* --- 任意項目セル --- */
form.contact td.arbitrary {
    background-color: #e0f1fc; /* 任意項目セルの背景色 */
}

/* --- フォーム部品 --- */
form.contact input,
form.contact select,
form.contact textarea {
margin-bottom: 2px; /* フォーム部品の下マージン */
}
/* --- フォーム部品のサイズ --- */
/* --- （長めのテキスト入力欄） --- */
#company, #section, #name, #name2,
#email, #address {
width: 350px; /* フォーム部品の幅 */
}
/* --- （短めのテキスト入力欄） --- */
#tel1, #tel2, #tel3,
#fax1, #fax2, #fax3 {
    width: 70px; /* フォーム部品の幅 */
}
#zip1, #zip2 {
    width: 70px; /* フォーム部品の幅 */
}
/* --- （複数行のテキスト入力欄） --- */
#message {
    width: 420px; /* フォーム部品の幅 */
    height: 10em; /* フォーム部品の高さ */
}
#remark {
    width: 420px; /* フォーム部品の幅 */
    height: 6em; /* フォーム部品の高さ */
}

/* --- ボタン --- */
form.contact p.button {
    margin: 0;
    text-align: center;
}

/* --- 重ね合わせ --- */
.sample001 {
    z-index: 2;
    position: relative;
    top: -15px;
    right: 0px;
}

/* --- 写真回り込み --- */
.class_box_left{
    width: 200px;
    min-width: 180px;
    min-height: 160px;
    position: top: 200px;
    margin: left;
    background: #ccc;
    border: 4px solid white;
    position:relative;
    box-shadow: 1px 1px 17px rgba(0, 0, 0, 0.59);
    -moz-box-shadow: 1px 1px 17px rgba(0, 0, 0, 0.59);
    -webkit-box-shadow: 1px 1px 17px rgba(0, 0, 0, 0.59);
    margin: 0px 20px 0px 0px;
    float: left;
}

.class_box_right{
    width: 200px;
    min-width: 180px;
    min-height: 160px;
    position: top: 200px;
    margin: left;
    background: #ccc;
    border: 4px solid white;
    position:relative;
    box-shadow: 1px 1px 17px rgba(0, 0, 0, 0.59);
    -moz-box-shadow: 1px 1px 17px rgba(0, 0, 0, 0.59);
    -webkit-box-shadow: 1px 1px 17px rgba(0, 0, 0, 0.59);
    margin: 0px 20px 0px 0px;
    float: right;
}

.right{
    float: right;
}

.clear{
    clear: left;
}

#img{
    width:200px;
    height:160px;
    background-image:url(../photo/office1.jpg);
    background-repeat:no-repeat;
}

#img1{
    width:200px;
    height:160px;
    background-image:url(../photo/ishihara.jpg);
    background-repeat:no-repeat;
}

#img2{
    width:200px;
    height:160px;
    background-image:url(../img/img.png);
    background-repeat:no-repeat;
}

/* --- 字下げ --- */
p {padding-left:2em;} 