/**********************************************************************
*** Stylesheet for PC/mobile browsers
*** DAT, R-CCS, RIKEN
*** Created by Kohei Takatama, May 11, 2018.
**********************************************************************/

/**********************************************************************
* 全体に適用
***********************************************************************/
/*** 全要素のほとんどのプロパティをリセット */
/* font-size, font-weight は入れ子要素の指定が煩雑になるのでここでは行わない */
*, *:before, *:after{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'メイリオ', 'ＭＳ Ｐゴシック', 'ヒラギノ角ゴシックW3', Arial, sans-serif;
  list-style-type: none;
  border:none;
  text-decoration: none;
  word-wrap: break-word
}

/*** body */
body{
  background-color: #FFFFFF;
}

/*** リンク */
a, a:link, a:visited, a:hover, a:active{
  text-decoration: none;
}

/*** 見出し */
h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  font-size: 1em;
}

/*** 強調 */
strong{
  font-weight: bold;
}

/*** 強勢（アクセント） */
em{
  font-style: italic;
}

/*** 太字 */
/* 単なる装飾用ではなく，一般的に太字で書かれるものを表記するために使用する */
b{
  font-weight: bold;
}

/*** イタリック */
/* 単なる装飾用ではなく，一般的に斜体で書かれるものを表記するために使用する */
i{
  font-style: italic;
}

del{
  text-decoration: line-through;
}

/*** e-mail アドレスに添える不可視のテキスト */
.dummy{
  display: none;
}

/*** スクリーンリーダー用 通常の画面には表示されない */
.screen_reader{
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
  position: absolute;
  height: 1px;
  width: 1px;
}

/*** 長文の場合，段落間にマージンを加える */
p.long{
  margin-top: 1em;
  text-align: justify;
  text-justify: inter-character;
}

h2+p.long, h3+p.long, h4+p.long, h5+p.long, div p.long:first-child{
  margin-top: 0;
}

img{
  max-width: 100%;
}

/**********************************************************************
* 主要部分のリンク
**********************************************************************/
/* <span class="block"> を inline-block にすることで，改行位置の制御を行っている．
  これはリンク文中でも使用されるが，inline-block に対しては text-decoration を指定できないため，
  background プロパティで下線を生成している．
  なお，borderプロパティはテキストから下線までの位置が離れすぎるので使用しない．
  疑似要素の指定は，link, visited, hover, active の順番で行うこと．
  なおモバイルブラウザで hover疑似要素は機能しない．
*/
#contents a:link{
  color:#0961b9;
  text-decoration:none;
  background-image: linear-gradient(#0961b9, #0961b9);
  background-position: 0 1.15em;
  background-repeat: repeat-x;
  background-size: 1px 1px;
}

#contents a:visited{ 
  color:#004284;
  text-decoration:none;
  background:none;
}

#contents a:hover{ 
  color:#0961b9;
  text-decoration:none;
  background: none;
}

#contents a:active{ 
  color:#004284;
  text-decoration:none;
  background: none;
}

/*** （ほぼ）リンクだけの短いブロック要素用 */
  #contents .link{
    padding-left: 0.7em;
    text-indent: -0.7em;
  }
  
  #contents .link:before{
    content: "▶";
    color: #FF9900;
    font-size: 0.5em;
    vertical-align: middle;
    padding:0 0.2em;
  }
  
  /* 画像に下線を表示させないために，imgクラスを指定すること */
  #contents a.img:link{
    background-image: none;
  }

/**********************************************************************
* ページ上部
**********************************************************************/
#header{}
  /*** コンテナ */
  #header .wrapper{
    position: relative;
  }
  
  #header .wrapper:after{
    display: block;
    clear: both;
    content: ".";
    height: 0;
    visibility: hidden;
  }
  
  #header .title a:link, #header .title a:visited, #header .title a:hover, #header .title a:active{
    color: white;
  }

/*********************************************************************
* コンテンツ領域
**********************************************************************/
#contents{}
  /*********************************************************************
  * 上部のナヴィゲーション
  **********************************************************************/
  #contents .navi{}
      
    /*** リンク群のコンテナ */
    #contents .navi ul{}
    
    #contents .navi ul:after{
      display: block;
      clear: both;
      content: ".";
      height: 0;
      visibility: hidden;
    }
    
      #contents .navi li:before{
        content: "▶";
        vertical-align: top;
      }
      /*** ページ内リンク */
      #contents .navi.page li:before{
        color: #0961B8;
      }
      
      /*** カテゴリレベル（同ディレクトリの他のページへ）のリンク */
      /* ページ内リンクより目立つように */
      #contents .navi.category li:before{
        color: #FF9900;
      }

      /*** 各リンクのコンテナ */
      #contents .navi li{
        border-style: solid;
        border-color: #AAAAAA #AAAAAA #0961B8 #AAAAAA;
        border-width: 1px 1px 3px 1px;
        background-color: #F0F0F0;
        background: -moz-linear-gradient(top, #FFFFFF, #F0F0F0);
        background: -webkit-linear-gradient(top, #FFFFFF, #F0F0F0);
        background: linear-gradient(to bottom, #FFFFFF, #F0F0F0);
      }
      #contents .navi li a:hover { /* 2022/3/14 */
        color: white;
        background-color: #0961B8;
      }


  /*********************************************************************
  * コンテンツの主要部分
  **********************************************************************/
  #main{
    margin-bottom: 2em;
  }
  
  .navi+#main{
    margin-top: 1em;
  }
  
  /*** 主要部分の構成要素 */
  #main section{
    clear: both;
    margin-top: 2em;
  }
  
  #main section:after{
    display: block;
    clear: both;
    content: ".";
    height: 0;
    visibility: hidden;
  }
  
   #main h2+section,  #main .navi+section, #main section:first-child{
    margin-top: 0;
  }


    #main h1{
      text-align: center;
      font-size: 2.3em;
      color: #0b2f54;
      font-weight: bold;
      padding: 0.8em 0;
      margin: 1em 0 0.5em 0;
      line-height: 0;
      padding-left: 1em;
    }


    /*** ページのタイトルまたは section のタイトル */
    /* トップレベルのページでは，title 部分にページのタイトルを記述しているので section タイトルとして用いる．
       下層のページでは，ページタイトルとして用いる． */
    #main h2{
      font-size: 1.2em;
      border-color: #CCCCCC;
      color: #0b2f54;
      font-weight: bold;
      border-style: solid;
      border-width: 1px;
      padding: 0.8em 0;
      background-color: #F9F9F9;
      background: linear-gradient(to bottom, #FFFFFF, #F0F0F0, #F0F0F0, #FFFFFF);
      margin: 2em 0 0.5em 0;
      line-height: 1.2em;
      padding-left: 1em;
      text-indent: -1em;
    }
    
    #main h2:before{
      content: " ";
      font-size: 1.4em;
      border-style: solid;
      border-color: #064381;
      border-width: 0 0.3em 0 0;
      margin: 0 0.4em 0 0.3em;
    }
    
    #main h2:first-child, #main section h2:first-child{
      margin-top: 0;
    }
    
    /*** 単なる見出しまたは section のタイトル */
    /* トップレベルのページでは単なる見出しとして，下層のページでは section タイトルとして用いる． */
    /* h3 が存在せずに h4 が現れる場合もある */
    #main h3{
      font-size: 1.1em;
      font-weight: bold;
      padding: 0.4em;
      background-color: #F9F9F9;
      background: linear-gradient(to bottom, #FFFFFF, #F6F6F6, #F6F6F6, #F6F6F6, #FFFFFF);
      border-color: #CCCCCC;
      border-style: solid;
      border-width: 1px 0;
      margin: 1.5em 0 1em 0;
      color: #0b2f54;
      text-indent: -1em;
      padding-left:  2.5em;
    }
    
    #main h3:before{
      content: "▼";
      font-size: 0.8em;
      color: #FF9900;
      border-right: solid 1px #CCCCCC;
      display: inline-block;
      padding-right: 0.2em;
      vertical-align: middle;
      margin-right: 0.7em;
    }
    
     #main section h3:first-child, #main h2+h3{
      margin-top: 0;
    }
    
    /*** h4 */
    #main h4{
      margin: 2em 0 0.5em 0;
      color: #0b2f54;
      font-size: 1.1em;
      font-weight: bold;
      border-bottom: solid #CCCCCC 2px;
      text-indent: -1.5em;
      padding-left: 1.5em;
    }
    
    #main h4:before{
      content: "●";
      padding-right:0.2em;
    }
    
    /* リスト中の見出しで使用される場合 */
    #main ul h4{
      margin-top: 0;
      color: black;
      font-size: 1em;
      font-weight: normal;
      border-bottom: none;
      display: inline;
      text-indent: 0;
      padding-left: 0;
      margin-left:-0.2em;
    }
    
    #main ul h4:before{
      content: "";
      padding: 0;
      display: none;
    }
    
    #main h5{
      text-align: center;
      font-size: 1.6em;
      color: #0b2f54;
      font-weight: bold;
      padding: 0;
      margin: 0;
      line-height: 1.2em;
      padding-left: 0.1em;
    }
    
    #main ul h5{
      display: inline;
    }

    
    #main h6{
      text-align: center;
      font-size: 1.4em;
      color: #0b2f54;
      font-weight: bold;
      padding: 0;
      margin: 0;
      line-height: 1.2em;
      padding-left: 0.1em;
    }
    
    /*** 通常のリストコンテナ */
    #main ul{}
    
    #main h4+ul{
      margin-top: 0.5em;
    }
    
      /*** アイテム */
      #main ul li{
        margin-top: 0.5em;
        padding-left:1em;
        text-indent: -1em;
      }
      
      /*** 入れ子 */
      #main ul li li, #main ul.heading li li{
          margin-top: 0;
          border: none;
      }
        
        #main ul li ul li:before{
          content: "- ";
          color: black;
        }
        
        #main ul li ol li:before{
          content: none;
        }
      
      #main ul li:before{
        content: "●";
        font-size: 0.5em;
        vertical-align: middle;
        color: #FF9900;
        padding: 0 0.5em;
      }
      
      #main ul li:first-of-type{
        margin-top: 0;
      }
      
      /*** 中に h4 要素を含む少し重たいリスト */
      #main ul.heading{}
      
      
      #main ul.heading li{
        margin-top: 1em;
        padding: 0 0 0.5em 1em;
        border-bottom: solid #CCCCCC 1px;
      }
      
      #main ul.heading li p{
        text-indent: 0;
      }
    
    /*** 番号付きリストのコンテナ */
    #main ol{}
    
      #main ol li{
        margin: 0 0 0 2em;
        list-style-type: decimal;
      }
    
    /*** 画像のみで構成されるブロック要素 */
    #main p.img{
      text-align: center;
    }
    
    /*** 画像のキャプション */
    #main section p.caption{
      font-style: italic;
    }
    
    /*** 汎用のグループ化構造 */
    #main .item+.item{
      margin-top: 1em;
    }

    /*** もっと見る・表示を隠すボタン */
    #main .seemore, #main .seeless{
      font-size: 0.9em;
      margin: 1em auto;
      padding: 0.1em 0;
      text-align: center;
      background-color: #0066CC;
      border-radius: 0.5em;
      width: 10em;
      color: #FFFFFF;
      cursor: pointer;
      display: block;
    }
    
    /*** もっと見るボタンで表示される部分 */
    #main .more{
      display: none;
    }
    
    /*** 表示を隠すボタン */
    #main .seeless{
      display: none;
    }
    
    #main .seemore:before{
      content: "▼";
    }
    
    #main .seeless:before{
      content: "▲";
    }
    
    /* 研究会のアブストラクトなど，下部ページからのページ遷移用 */
    #main .transition{
      margin-top: 2em;
      text-align: center;
      border-style: solid;
      border-width: 1px 0 1px 0;
      border-color: #CCCCCC;
      padding: 0.5em 0;
    }
    
    #main .transition a{
      display: inline-block;
      margin: 0 1em;
    }
    
    #main .transition .prev:before{
      content: " ←";
    }
    
    #main .transition .prev:after{
      content: " ";
    }
    
    #main .transition .back:before{
      content: " ↑";
    }
    
    #main .transition .back:after{
      content: " ";
    }
    
    #main .transition .next:before{
      content: " ";
    }
    
    #main .transition .next:after{
      content: "→ ";
    }
    
  /**********************************************************************
  * コンテンツ領域下部のコンタクト情報
  **********************************************************************/
  #contact{
    clear: both;
    margin: 4em 0 0 0;
  }
  
    /*** 勧誘 */
    #contact .join{
      border-style: solid;
      border-width: 2px 0 2px 0;
      padding: 0.2em 0;
      border-color: #999999;
      display: table;
      width: 100%;
    }
  
      /*** 左側 */
      #contact .join h3{
        display: table-cell;
        background: none;
        border-style: solid;
        border-width: 0 1px 0 0;
        border-color: #BCBCBC;
        font-size: 1.2em;
        font-weight: bold;
        color:#0b2f54;
        vertical-align: middle;
        text-align: center;
      }
      
      #contact .join h3:before{
      }
      
      /*** 右側 */
      #contact .join p{
        display: table-cell;
        vertical-align: middle;
        text-align: center;
      }
      
      #contact .support{
        margin-top: 0.2em;
        text-align: center;
        font-style: italic;
      }
      
    /*** アクセス */
    #contact .access{
      clear: both;
      border-style: solid;
      border-width: 1px;
      border-color: #BCBCBC;
    }
  
      /*** チーム名 */
      #contact .access h3{
        height: auto;
        margin: 0;
        background: none;
        text-align: center;
        color: white;
        background-color: #004284;
        font-size: 1.2em;
        font-weight: bold;
      }
      
      #contact .access h3:before{
        content: "■■";
      }
      
      #contact .access h3:after{
        content: "■■";
      }
      
      /*** 情報 */
      #contact .access .info{
        display: table;
      }
      
        /*** チームロゴ */
        #contact .access .info .logo{
          display: table-cell;
          text-align: center;
          vertical-align: middle;
          border-style: solid;
          border-width: 0 1px 0 0;
          border-color: #BCBCBC;
        }
        
        /*** 詳細 */
        #contact .access .info .description{
          display: table-cell;
          vertical-align: middle;
          text-align: left;
        }

/*********************************************************************
* ページコントロール
**********************************************************************/
#controller{}

/*********************************************************************
* ページ下部
**********************************************************************/
#footer{}
