﻿* {
	margin:0px;
	padding:0px;
	font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-size: 22px;
	line-height: 28px;
	vertical-align: middle;
}

html {
	margin: 0;
	padding:0px;
	width: 100%;
	background-color: #FFFFFF;
}

body {
	text-align: center;
	margin: 0 auto 0 auto;
	background-color: #FFFFFF;
	width: 840px;
	-webkit-text-size-adjust: 100%;

}

#box {
	padding:0px;
	margin: 0 auto 0 auto;
	text-align: left;
	width: 840px;
	position: relative;
}

#header {
	width:840px;
	margin: 0 20px;
}

#contents {
	width: 800px;
	min-height: 800px;
	margin: 0 20px;
}

#footer {
	width:840px;
	background-color: #FFFFFF;
	margin: 0 20px;
}



/*------ header ------*/

#header h1 {
	font-size: 32px;
	line-height:48px;
	font-weight: normal;
}


/*------ content ------*/


#contents p {
	margin-top: 12px;
}

#contents li {
	margin-top: 12px;
}

#contents table {
	margin: 16px 0 0 0;
	border: 1px solid #999999;
	border-collapse: collapse;
}

#contents table td {
	border: 1px solid #999999;
	padding: 4px;
	text-align:center;
}



/*------ footer ------*/
p.footer_text {
	padding-top:32px;
	text-align: center;
	color: #000;
}

p.powered {
	float: right;
	padding: 6px;
	color: #000;
}



/*------ general ------*/
.floatLeft_w80 {
	width: 80px;
	float: left;
}

.floatLeft_w90 {
	width: 90px;
	float: left;
}

.floatLeft_w180 {
	width: 180px;
	float: left;
}

.floatLeft_w320 {
	width: 320px;
	float: left;
}

.floatLeft_w400 {
	width: 400px;
	float: left;
}

.floatLeft_w450 {
	width: 450px;
	float: left;
}

.floatRight_w90 {
	width: 90px;
	float: right;
}

.floatRight_w180 {
	width: 180px;
	float: right;
}

.floatRight_w270 {
	width: 270px;
	float: right;
}

.floatRight_w360 {
	width: 360px;
	float: right;
}

.floatRight_w450 {
	width: 450px;
	float: right;
}

.clearBoth {
	clear: both;
}

td {
	text-align: left;
	padding: 3px;
}


/* -------------------
アコーディオンボタン
https://metrograph.jp/css_gradation_paragraph/
-------------------- */

.grad-wrap {
  position: relative;
}
.grad-btn {
  z-index: 2;
  position: absolute;
  right: 0;
  bottom: -30px;
  left: 0;
  width: 148px;
  margin: auto;
  padding: .1em;
  border-radius: 2px;
  background: #666;
  color: #fff;
  font-size: 0.8em;
  text-align: center;
  cursor: pointer;
  transition: .2s ease;
  box-shadow: 0 0 3px rgba(0,0,0,.3);
}
.grad-btn::before {
  content: "続きを読む"
}
.grad-item {
  position: relative;
  overflow: hidden;
  height: 70px; /*隠した状態の高さ*/
}
.grad-item::before {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px; /*グラデーションで隠す高さ*/
  background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 50%, #fff 100%);
  background: linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 50%, #fff 100%);
  content: "";
}
.grad-trigger {
  display: none; /*チェックボックスは常に非表示*/
}
.grad-trigger:checked ~ .grad-btn::before {
  content: "閉じる" /*チェックされていたら、文言を変更する*/
}
.grad-trigger:checked ~ .grad-item {
  height: auto; /*チェックされていたら、高さを戻す*/
}
.grad-trigger:checked ~ .grad-item::before {
  display: none; /*チェックされていたら、grad-itemのbeforeを非表示にする*/
}