/*
ここに独自の CSS を追加することができます。

詳しくは上のヘルプアイコンをクリックしてください。
*/

/*【Table of Contents Plus中央表示】*/

#toc_container {
margin-left: auto;
margin-right: auto;
}

/*申し込み用ボタン*/

.square_btn{
    display: inline-block;
    padding: 0.5em 1em;
    text-decoration: none;
    background: #7BC03D;/*ボタン色*/
    color: #FFF;
    border-bottom: solid 4px #627295;
		font-size:1em;
		text-align:center;
    border-radius: 3px;
		width:80%;
		margin:0　auto;
	
}
.square_btn:active {/*ボタンを押したとき*/
    -ms-transform: translateY(4px);
    -webkit-transform: translateY(4px);
    transform: translateY(4px);/*下に動く*/
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);/*影を小さく*/
    border-bottom: none;
}

.square_btn:hover{
	position:relative;
	top:3px;
	left:3px;
	
}

.unext{text-align:center;}

/*囲みボックス黒*/


.box17{
    margin:2em 0;
    position: relative;
    padding: 0.5em 1.5em;
    border-top: solid 2px black;
    border-bottom: solid 2px black;
}
.box17:before, .box17:after{
    content: '';
    position: absolute;
    top: -10px;
    width: 2px;
    height: -webkit-calc(100% + 20px);
    height: calc(100% + 20px);
    background-color: black;
}
.box17:before {left: 10px;}
.box17:after {right: 10px;}
.box17 p {
    margin: 0; 
    padding: 0;
}


.boxorenge {
    padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: bold;
    color: white;/*文字色*/
    background: #f79174;
    border: solid 3px #f79174;/*線*/
    border-radius: 10px;/*角の丸み*/
	text-align: left;
}
.boxorenge p {
    margin: 0; 
    padding: 0;
}

/*ボックス黒*/

.box1 {
    padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: bold;
    border: solid 3px #000000;
}
.box1 p {
    margin: 0; 
    padding: 0;
}


/*POINTボックス*/
.box26 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #95ccff;
    border-radius: 8px;
}
.box26 .box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: #FFF;
    color: #95ccff;
    font-weight: bold;
}
.box26 p {
    margin: 0; 
    padding: 0;
}

/* 画像横並び */
#nav ul {
  list-style-type: none; /*箇条書きのポッチを消す*/
  text-align:center /*左右中央寄せは親要素に対して指定*/
  }

/* ↓id="nav"の中のulの中のliに対してCSSを適用*/
#nav ul li { 
  display: inline-block;/*inline-blockにします*/
  width: 200px;/*幅も指定できる*/
  height: 200px;/*高さも指定できる*/
  padding: 10px 0;/*余白も指定できる*/
  margin: 10px 0;/*余白も指定できる*/
  vertical-align: middle;/*縦の表示位置も指定できる*/
  
  font-weight: bold;/*文字を太字に*/
  
  }


/* BOX2の新デザイン */
.box2 {
    padding: .5em 1em;
    margin: 2em 0;
    font-weight: bold;
    color: #96CBFF;
    background: #FFF;
    border: solid 3px #96CBFF;
    border-radius: 10px;
}
.box5 {
    padding: 0.5em 1em;
    margin: 2em 0;
    border: double 5px #4ec4d3;
}
.box5 p {
    margin: 0; 
    padding: 0;
}
/*特定テーブルCSS*/

table.usaco{
  width: 100%;
  border-spacing: 0;
	background-color:white;
	
}

table th.usaco1{
  border-bottom: solid 2px #fb5144;
	border-top-style: none;
	border-right-style: none;
	border-left-style: none;
  padding: 10px 0;
		background-color:white;
}

table td.usaco2{
  border-bottom: solid 2px #ddd;
  text-align: center;
  padding: 10px 0;
			border-top-style: none;
	border-right-style: none;
	border-left-style: none;

		background-color:white;
}