@charset "Shift_JIS";
/* 印刷用CSS */


/* ------------------------------------------------------
// 隠し
//------------------------------------------------------ */

.navigation,
ul.section,
#footer {
    display: none !important;
}


/* ------------------------------------------------------
// 基本
//------------------------------------------------------ */
* {
    margin: 0;
    padding: 0;
    border: 0;
    background-color: transparent;
    font-size: 100%;
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
}

body {
    text-align: center;
    background-color: #FFFFFF;
    font-size: 12pt;
    font-family: "ヒラギノ明朝 Pro W3", "細明朝体", "ＭＳ Ｐ明朝", serif;
}

a,
a:link,
a:visited {
    color: #000000;
    text-decoration: none;

}

p {
    margin: 0 2em;
    padding: 0.5em 0;
    line-height: 1.5em;
    text-indent: 1em;
}

img {
    border: 0;
}

/* ソースコード */
.source {}

.source pre {
    margin: 0.5em 5%;
    padding: 10px;
    font-size: 10pt;
    border: 1px solid #000000;
}

.source pre code {
    font-size: 9pt;
}

.source p.caption {
    text-align: center;
    font-size: 0.9em;
}

/* 式 */
.expression {
    display: block;
    width: 40em;
    text-align: center;
    margin: 0.5em auto;
    padding: 5px;
    border: 1px solid #000000;
}

/* 最終更新日 */
.lastupdate {
    padding: 0;
    border: 0;
    clear: both;
    background: #FFFFFF;
    text-align: right;
    font-size: 0.8em;
}

/* ボタン */
.button {
    border: 1px solid #000000;
    padding: 2px 0.5em;
    margin: 0 0.3em;
}


/* 変数 */
var {
    /* text-decoration: underline; */
}

/* 印刷用 */
hr.pagebreak {
    height: 0;
    page-break-after: always;
}

/* 見出し */
h1 {
    font-size: 1.8em;
}

h2 {
    margin-top: 1em;
    margin-bottom: 0.5em;
    font-size: 1.1em;
    padding: 0.3em 1em;
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
    font-weight: bold;
}

h3 {
    width: 50%;
    font-weight: bold;
    padding: 0.2em 1em;
    margin-left: 1em;
    margin-top: 1em;
    border-bottom: 1px solid #000000;
}

h3 a {
    font-weight: bold;
}


/* ------------------------------------------------------
// ページレイアウト
//------------------------------------------------------ */
#wrapper {
    text-align: left;
}

#content {}

/*
#toppage #content {
    padding-top: 10px;
}

#toppage #left {
    width: 49%;
    float: left;
}

#toppage #right {
    margin-left: 51%;
}
#toppage #center {
	text-align:center;
    margin-left:auto;margin-right:auto;
    text-align:left;
}

*/

/* ------------------------------------------------------
// ヘッダ
//------------------------------------------------------ */
#header {
    display: block;
    margin-left: 1em;
    margin-bottom: 50px;
    text-align: left;
}


/* ------------------------------------------------------
// 画像
//------------------------------------------------------ */
.image {
    margin: 20px;
    text-align: center;
}

.image p.caption {
    margin: 0 auto;
    padding: 3px;
    width: 40%;
    font-size: 0.9em;
}


/* ------------------------------------------------------
// 表
//------------------------------------------------------ */
table {
    margin: 10px auto;
    text-align: center;
    font-size: 0.9em;
    empty-cells: show;
    border-spacing: 0;
    border-collapse: collapse;
}

table .caption {
    margin: 5px;
    font-size: 0.9em;
}

table th, td {
    padding: 0.4em 0;
}

table th {
    border: 1px solid #000000;
    border-bottom: 3px double #000000;
}

table td {
    border: 1px solid #000000;
}

/* 実験日程 */
table.schedule td {
    width: 10em;
    padding-left: 1em;
    text-align: left;
}

/* 表1(接続) */
table.connect {
    border: 1px solid #000000;
}

table.connect th {
    width: 100px;
    border: 1px solid #000000;
    border-right: 3px double #000000;
}

table.connect td {
    width: 45px;
    border: 1px solid #000000;
}

table.connect td.end {
    display: none;
    width: 1px;
    text-indent: -9999em;
    border-right: 1px solid #CCCCCC;
}

/* 表2 */
table.table2 th {
    width: 12em;
}

/* 表3 */
table.table3 th {
    width: 10em;
}

/*  表6 */
table.table6 th {
    width: 8em;
}

table.table6 td {
    width: 5em;
} 

/* サブルーチン */
table.subroutine {
    border: 1px solid #000000;
}

table.subroutine th {
    padding: 3px 0;
    border-bottom: 3px double #000000;
}

table.subroutine td {
    padding: 0.3em 0.5em;
    border: 0;
    font-family: monospace;
    font-size: 9pt;
    text-align: left;
}

table.subroutine th.label {
    width: 8em;
}

table.subroutine th.opcode {
    width: 8em;
}

table.subroutine th.operand {
    width: 8em;
}

table.subroutine th.cycle {
    width: 6em;
}

table.subroutine th.note {
    width: 14em;
}

table.subroutine tr.loop td {
    background-color: #CCCCCC;
}

/* PICのアセンブラ命令一覧 */
table.pic_instructions td {
    text-align: left;
    padding-left: 1em;
}

table.pic_instructions th.instruction {
    width: 8em;
}

table.pic_instructions th.function {
    width: 20em;
}

table.pic_instructions th.flag {
    width: 9em;
}

table.pic_instructions th.cycle {
    width: 9em;
}

/* PIC16F84Aレジスタ */
table.register th {
    width: 7em;
}


/* ------------------------------------------------------
// リスト
//------------------------------------------------------ */
ol {
    line-height: 1.4em;
    margin-left: 5em;
    padding: 0.5em 0;
}

ul {
    line-height: 1.4em;
    margin-left: 4em;
    margin-right: 2em;
    padding: 0.5em 0;
}

ol ul {
    margin-left: 1em;
}

li {
    line-height: 1.5em;
}

/* ------------------------------------------------------
// その他
//------------------------------------------------------ */
.overline {
    text-decoration: overline;
}

.center {
    text-align: center;
}
