
@charset "utf-8";


/*全体の設定
---------------------------------------------------------------------------*/
body {
	color: #0AF;	/*全体の文字色*/
	margin: 0px;
	padding: 0px;
	font: 14px "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro";
	background-image: url(../images/bg.jpg);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center top;
	background-color: #DEE;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,a{
	margin:  2px 0px;
	padding: 0px;
}

h2 {
	font-size: 16px;
}

p {
  white-space: pre-wrap;
}

ul {
	list-style-type: none;
}
img {
	border: none;
	vertical-align: bottom;
}
input,textarea,select {
	font-size: 1em;
}
form {
	margin: 0px;
}
table {
	border-collapse:collapse;
	font-size: 100%;
	border-spacing: 0;
}


/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #0AF;	/*リンクテキストの色*/
	text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}
a:hover {
	color: #0AF;			/*マウスオン時の文字色（全体）*/
	text-decoration: underline;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}
.hdpx {
	font-size     : 30px;        /* 文字サイズ */
}




.button {
  display       : inline-block;
  border-radius : 30px;          /* 角丸       */
  font-size     : 14px;        /* 文字サイズ */
  text-align    : center;      /* 文字位置   */
  cursor        : pointer;     /* カーソル   */
  padding       : 12px 12px;   /* 余白       */
  background    : #ddeeee;     /* 背景色     */
  color         : #00aaff;     /* 文字色     */
  line-height   : 1em;         /* 1行の高さ  */
  transition    : .3s;         /* なめらか変化 */
  border        : 1px solid #00aaff;    /* 枠の指定 */
}
.button:hover {
  box-shadow    : none;        /* カーソル時の影消去 */
  color         : #ddeeee;     /* 背景色     */
  background    : #00aaff;     /* 文字色     */
}

.wspw {
  white-space: pre-wrap;
}




/*コンテナー（HPを囲むブロック）
---------------------------------------------------------------------------*/
#container {
	max-width: 944px; /* 最大幅 */
	margin-right: auto;
	margin-left: auto;
}

#container .resizeimage img { width: 100%; }
#container .resizeimage iframe { width: 100%; }


#wrapper {
    position: relative;
    width: 100%;
}
#wrapper:before {
    content:"";
    display: block;
    padding-top: 56.25%; /* 高さと幅の比を16:9に固定。9/16*100=56.25 */
}
#content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/*ヘッダー（サイト名ロゴが入ったブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	width: 100%;	/*ブロックの幅*/
	height: 120px;	/*ブロックの高さ*/
	position: relative;
}


/*h1ロゴの設定*/
h1 {
	border-radius: 30px 30px 30px 30px;	/*角丸のサイズ。それぞれ左上、右上、右下、左下への設定*/
	background-color: #EEE;	/*背景色（古いブラウザだとここの色のみが出ます）*/
	background-image: -webkit-gradient(linear, left top, left bottom, from(#EFF), to(#CDD));	/*グラデーション*/
	background-image: -webkit-linear-gradient(#EFF, #CDD);	/*同上*/
	background-image: linear-gradient(#EFF, #CDD);			/*同上*/
	font-size: 100%;
	padding: 8px 15px;	/*上下、左右への余白*/
	clear: both;
	border: 1px solid #00aaff;	/*下線の幅、線種、色*/
	opacity: 0.9;	/*透明度90％の設定*/
}

.rad {
	border-radius: 30px 30px 30px 30px;	/*角丸のサイズ。それぞれ左上、右上、右下、左下への設定*/
	background-color: #EEE;	/*背景色（古いブラウザだとここの色のみが出ます）*/
	background-image: -webkit-gradient(linear, left top, left bottom, from(#EFF), to(#CDD));	/*グラデーション*/
	background-image: -webkit-linear-gradient(#EFF, #CDD);	/*同上*/
	background-image: linear-gradient(#EFF, #CDD);			/*同上*/
	font-size: 100%;
	padding: 8px 15px;	/*上下、左右への余白*/
	clear: both;
	border: 1px solid #00aaff;	/*下線の幅、線種、色*/
	opacity: 0.9;	/*透明度90％の設定*/
}


footer {
	font-size     : 12px;        /* 文字サイズ */
	text-align: center
}


/*コンテンツ（main,subを囲むブロック）
---------------------------------------------------------------------------*/
#contents {
	clear: left;
	width: 100%;
}

/*メインコンテンツ
---------------------------------------------------------------------------*/
#main {
	float: left;	/*右側に回り込み*/
	width: 100%;	/*メインコンテンツ幅*/
	padding-bottom: 30px;
}

/*左側ボックス*/
.left {
	float: left;	/*左に回り込み*/
	width: 33%;	/*幅*/
	padding-bottom: 15px;
}
/*右側ボックス*/
.right {
	color: #0AF;	/*全体の文字色*/
	width: 66%;	/*幅*/
	float: right;	/*右に回り込み*/
	padding-bottom: 15px;
}

