/*************************
* ブログ以外に適用されるもの *
*************************/
/*改訂日や更新日に使う*/
h2 {
    color: #424242;
    text-align: center;/*中央ぞろえ*/
    font-size: 15px;
    font-weight: 400;
    font-family: 'HGMaruGothicMPRO';
    line-height: 18px;
    margin-top: 5px;
    margin-bottom: 40px;
}

/*その他見出しに使っても良い*/
h3 {
    font-family: 'HiraKakuProN-W6', 'Hiragino Kaku Gothic ProN';
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
    margin-top: 50px;
    margin-bottom: 5px;
}

/*ページの一番下にあるカラーバーから、100pxは余白を確保*/
.color_bar:nth-last-of-type(1) {
    margin-top: 100px;
}

/*************************
*         topimage       *
*************************/
.topimage ul {
    text-align: center;/*画像を中央揃え*/
    padding: 0px;/*左のパディングを阻止*/
    font-size: 0px;/*inline-blockの隙間をなくすため指定*/
}

.topimage li {
    display: inline-block;/*画像を並べて表示　横幅が799.4pxを超えると自動改行*/
}

/*画像は4:3で横向きの画像を想定*/
.topimage ul li img {
    width: 202px;/*画像の横幅*/
    height: 151px;/*画像の縦幅*/
}

/*************************
*          notice        *
*************************/
#notice {
    font-family: sans-serif;
    margin:30px auto 80px auto;/*上下+30px、左右は中央揃え*/
    background: #63ba63;
    padding: 10px 20px;/*ボーダー内部の隙間*/
    border: 2px solid;/*borderの設定*/
    display: inline-block;/*横幅が文字によって変化するようにする*/
    box-shadow: 3px 3px 0px 0px #51514f;/*boxに影をつける*/
    position: relative;/*a要素をbox全体にかぶせるために使用*/
}

/*a要素をbox全体にかぶせる*/
#notice a {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    text-decoration: none;/*下線を阻止*/
}

#notice p {
    display: inline-block;
    line-height: 30px; 
    font-size: 16px;
    font-weight: 600;
    width:auto;
    max-width: 700px;
}

/*=New=のスタイル指定*/
#notice p:nth-of-type(1) {
    display: block;/*改行を強制*/
    color: #FFFFFF;
    text-align: left;
    font-size: 23px;/*文字の大きさ*/
    font-weight: 300;/*文字の太さ*/
    text-indent: 0em;
    margin:5px auto 5px auto;
}

/*お知らせタイトル部のスタイル指定*/
#notice p:nth-of-type(2) {
    display: block;
    color: #FFFFFF;
    font-size: 25px;
    margin-bottom: 20px;
    text-indent: 0em;
    margin: 5px auto auto auto;
}

#notice li {
    list-style: disc;
    text-align: left;
    margin-left: 80px;
}

/*************************
*         sidebar        *
*************************/
.sidebar {
    width: 380px;/*サイドバーの最大幅を380pxに指定*/
    float: left;/*右にWhat's newを回り込ませる*/
}

.sidebar ul {
    padding-left:40px;/*左に40pxの空白*/
    margin-top: 0px;/*マージンを0にしてWhat's newと高さを合わせる*/
}

.sidebar ul li {
    width: 270px;/*boxの横幅*/
    margin:30px 0px;/*boxごとのマージンは上下に30px*/
    border: 2px solid #666666;/*borderの指定*/
    text-align: center;/*文字は中央揃え*/
}

/*会員専用ページ用設定*/
.sidebar ul li:first-child{
    background-color:yellow;
    margin-top:0px;
}

.sidebar ul li a {
    text-decoration: none;/*下線の防止*/
    padding: 10px 0px;/*文字の上下に10pxのマージン*/
    display: block;/*box全体をリンクにする*/
    color:#666666;/*文字色*/
    font-family: 'HGMaruGothicMPRO';
}

/*ボタン下の文章*/
.sidebar p {
    width:280px;
    padding-left:40px;
    line-height:24px;
    font-size:13px;
}

/*************************
*        What's new      *
*************************/
.whats_new {
    margin:auto 30px 20px auto;/*boxの外、右と下に20pxのマージン*/
    width: 380px;/*boxの幅指定*/
    border: 2px solid #666666;/*boxの書式指定*/
}

/*=新着情報=の部分*/
/*ちっちゃいボックスを使って外枠に重ねている*/
.boxtitle {
    position: relative; /*ポジションをずらせるように*/
    top: -1.5em;/*上に1.5文字分ずらす*/
    width:6em;/*6文字分borderを消せる*/
    margin-left: 10px;/*左に10pxのマージン*/
    font-size: 21px;/*文字サイズ*/
    font-weight: 100;/*文字の太さ*/
    text-align:center;/*テキスト自体は中央揃え*/
    background: #ffffff;/*白色でborderを塗りつぶす*/
}

.boxtitle p {
    margin-bottom:0px;
    font-family: 'HGMaruGothicMPRO';
}

.whats_new ul {
    padding-left: 20px;/*テキスト全体的に左に20pxのマージン*/
    margin-top: 0px;/*boxtitleとの間のマージン*/
    line-height: 20px;/*日付の行の高さ*/
    font-weight: 700;/*日付の文字の太さ*/
    color: #333333;/*日付の文字色*/
}

.whats_new ul li ul li {
    font-size: 13px;/*お知らせ内容の文字サイズ*/
    padding-left:20px;/*行頭を既定の位置より更に+20右に移動*/
    line-height: 19px;/*お知らせ内容の行の高さ*/
    margin-bottom: 5px;
}

.whats_new ul li ul li a {
    color: #333333;/*リンク部の文字色*/
}

.whats_new ul li ul li a:visited {
    color: #666666;
}

/*************************
*       Constitution     *
*************************/
/*h3タグを使えば、第hoge章を生成して自動インクリメント*/
.chapter h3:before {
    content:"第" counter(chap) "章　";
}

/*↑の定義とセットで使用*/
.chapter h3 {
    counter-increment: chap;
}

/*spanタグのところで、第piyo条(まで生成して自動インクリメント*/
.chapter span:before {
    content:"第" counter(art) "条(";
}

/*spanタグのところで、)だけ生成*/
.chapter span:after {
    content: ") ";
}

/*↑の定義とセットで使用*/
.chapter span {
    counter-increment: art;
}

.chapter p {
    text-indent: 0em;
    padding: 3px 0px;
}

/*リスト使うと位置がずれるので調整*/
.chapter ol{
    padding-left: 150px;
    width: 530px;
}

/*************************
*      representative    *
*************************/
.register {
    margin: 30px auto;/*上下にマージン確保しつつ中央ぞろえ*/
}

.register td {
    padding: 15px 0px; 
    vertical-align: text-top;/*表の中身は上端揃え、主に役職の部分が影響を受ける*/
}

/*役職部分のデザイン*/
.register td:first-child {
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    width: 135px;
}

/*名簿部分のデザイン*/
.register td:last-child {
    font-size: 13px;
    line-height: 20px;
}

/*************************
*          contact       *
*************************/
.box {
    border:1px solid #666;
    margin:0 auto;
    width: 580px;
    box-shadow: 1px 1px 0px #999,
                -1px -1px 0px #999, 
                1px 1px 1px #999 inset,
                -1px -1px 1px #999 inset;
}

.box h3 {
    margin: 5px auto 15px auto;
}

.box .wrapper {
    margin: auto auto 30px 130px;
}

/*************************
*         Congress       *
*************************/
/*演題分類を表示したいときは、tableのstyleにthemeを指定して使う*/
.theme {
    width: 540px;
    line-height: 18px;
    margin: 0 auto;
    margin-bottom: 50px;
    font-size: 13px;
    font-family: 'HGMaruGothicMPRO';
    color: #333;
    margin-bottom: 0px;
    box-shadow:1px 1px 1px #999 inset,
               -1px -1px 1px #999 inset;
}

.theme tr td {
    padding: 8px;
}

.theme tr td:first-child {
    width: 140px;
}

.detail {
    margin-left: 140px;
    list-style-type: disc;
}

/*************************
*         bulletin       *
*************************/
.backnum {
    margin: 0 auto;
    width: 450px;
    font-family: 'ArialMT', 'Arial', sans-serif;
}

.backnum tr td {
    text-align: center;
    height: 40px;
}

/*************************
*          rules         *
*************************/
.rules {
    width:620px;/*40px + 580px*/
    margin: 0 auto;
}

.rules ol li ol{
    padding-left: 0px;
}

/*独自リスト定義
.rules ol li ol li {
    list-style-type: lower-roman;
    margin: 0px;
    margin-left: 20px;
}
*/
/*li:beforeで指定しているdisplay:markerは使えないっぽいので、それに伴ってlist-style-positionが無効になっている。
::markerなる疑似要素があるらしいが対応ブラウザ不明。ここのデザインは要相談*/


.rules ol > li {
    margin-bottom: 30px;
}

/*10.その他　の部分*/
.rules ol li ul {
    list-style-type: disc;
    padding: 0;
}
/*************************
*    投稿リスト/投稿手続    *
*************************/
ol.list_parentheses {
	margin-left: 3em; /* サイトに合せて調整 */
}

ol.list_parentheses li {
	list-style-type: none;
	counter-increment: cnt;
	position: relative;
    margin-top: 0;
    margin-bottom: 0;
}
 
ol.list_parentheses li:before {
	content: "(" counter(cnt) ")";
	display: inline-block;
	margin-left: -3.5em; /* サイトに合せて調整 */
	width: 3em; /* サイトに合せて調整 */
	text-align: right;
	position: absolute;
	top: 0;
	left: 0;
} 

/*論文の分類*/
.classification {
    margin: 0 auto;
    width: 380px;
}

.table_title {
    text-align:center;
    height:25px;
    position: relative;
    left: -40px;/*見た目が中央揃えに見えないのでわざとずらしている*/
}

.classification td {
    vertical-align: text-top;/*上端揃え*/
    width: 190px;
}

.classification p {
    margin: 0;
    font-size: 12px;
    line-height: 17px; 
}

/*************************
*        backnuber       *
*************************/
.journal {
    font-size: 16px;
    font-weight: 600;
}

.journal p {
    margin-left: 200px;
}

.journal ul{
    padding-left: 250px;
}

/*************************
*          links         *
*************************/
.links ul{
    padding-left: 120px;
}

.links ul li{
    margin: 30px auto;
} 

.links ul li a{
    color: #000000;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    text-shadow: 3px 3px 1px #b2b9de/*影の指定*/
}

.links ul li a:hover{
    color: #0098ff/*ホバーで文字色変化*/
}

.links ul li ul{
    padding-left: 10px;
    color: rgba(102, 92, 92, 0.85);
}

.links ul li ul li{
    margin: 5px;
    font-size: 13px;
}

