@charset "UTF-8";

/* 基本のレイアウト */
/* ~~ この固定幅コンテナが他の div を囲みます。~~ */
.container {
	background-color: #ffffff;
	margin: 0 auto; /* 幅に加え、両側を自動値とすることで、レイアウトが中央に揃います。 */
}

.header {	
position: fixed; /* ヘッダーを固定する */
top: 0; /* 上部から配置の基準位置を決める */
left: 0; /* 左から配置の基準位置を決める */
width: 100%; /* ヘッダーの横幅を指定する */
height: 55px; /* ヘッダーの高さを指定する */
padding: 0 0; /* ヘッダー内側の余白を指定する(上下左右) */
background-color: #000000; /* ヘッダーの背景色を指定する */
color: #fada5e; /* ヘッダーのフォントの色を指定する */
font-size : 12pt; /* ヘッダーのフォントサイズ */
z-index: 4;
}

.footer {
position: fixed; /* フッターを固定する */
bottom: 0; /* 上部から配置の基準位置を決める */
left: 0; /* 左から配置の基準位置を決める */
width: 100%; /* フッターの横幅を指定する */
height: 55px; /* フッターの高さを指定する */
padding:10px; /* フッター内側の余白を指定する(上下左右) */
background-color: #000000; /* フッターの背景色を指定する */
color: #fada5e; /* フッターのフォントの色を指定する */
font-size : 12pt; /* ヘッダーのフォントサイズ */
}

.contents {
width: 100%; /* コンテンツの横幅を指定する */
overflow: auto; /* コンテンツの表示を自動に設定（スクロール） */
margin-top: 0px;
padding: 0 0; /* コンテンツ内側の余白を指定する(上下左右) */
background-color: #000000; /* コンテンツの背景色を指定する */
color: #000000; /*コンテンツのフォントの色を指定する */
font-size : 12pt; /* ヘッダーのフォントサイズ */
}

/* モバイルレイアウト : 480 px およびそれ以下. */
.gridContainer {
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	padding-left: 0%;
	padding-right: 0%;
}
#LayoutDiv1 {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}

/* タブレットレイアウト : 481 px ～ 768 px。モバイルレイアウトからスタイルを継承。 */

@media only screen and (min-width: 481px) {
.gridContainer {
	width: 100%;
	padding-left: 0%;
	padding-right: 0%;
}
#LayoutDiv1 {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
}

/* デスクトップレイアウト : 769 px ～最大 1232 px。モバイルレイアウトとタブレットレイアウトからスタイルを継承。 */

@media only screen and (min-width: 769px) {
.gridContainer {
	width: 100%;
	max-width: 1232px;
	padding-left: 0%;
	padding-right: 0%;
	margin: auto;
}
#LayoutDiv1 {
	clear: both;
	float: left;
	margin-left: 0;
	width: 100%;
	display: block;
}
}

<style type="text/css">

body {
	padding-top:0;
	padding-bottom:0;
	padding-left:20px;
	padding-right:20px;
}

body {
	font: 100%/1.4 "ヒラギ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "MS P Gothic", sans-serif;
	background-color: #000000;
	margin: 0;
	padding: 0;
	color: #000000;
	font-size : 12pt;
}

/* ~~ エレメント / タグセレクター ~~ */
ul, ol, dl { /* ブラウザー間の相違により、リストの余白とマージンをゼロにすることをお勧めします。一貫性を保つために、量をここで指定するか、リストに含まれるリスト項目 (LI、DT、DD) で指定できます。より詳細なセレクターを記述しない限り、ここで指定する内容が .nav リストにも適用されることに注意してください。 */
	padding: 0;
	margin: 0;
}
h1, h2, h3, h4, h5, h6 {
	margin-top: 0;	 /* 上マージンを削除すると、マージンを含む div からマージンがはみ出す場合があるという問題を回避できます。残った下マージンにより、後続のエレメントからは離されます。 */
	padding-right: 15px;
	padding-left: 15px; /* div 自体ではなく div 内でエレメントの両側に余白を追加すると、ボックスモデル計算が不要になります。代わりに、両側に余白を指定した div をネストして使用することもできます。 */
	text-align: left;
	font-size: 24px;
	font-weight: bold;
}

p {
	margin-top: 0;	 /* 上マージンを削除すると、マージンを含む div からマージンがはみ出す場合があるという問題を回避できます。残った下マージンにより、後続のエレメントからは離されます。 */
	padding-right: 15px;
	padding-left: 15px; /* div 自体ではなく div 内でエレメントの両側に余白を追加すると、ボックスモデル計算が不要になります。代わりに、両側に余白を指定した div をネストして使用することもできます。 */
	text-align: left;
	line-height:1.5em;
}

a img { /* このセレクターは、一部のブラウザーでイメージをリンクで囲んだ場合にイメージの周囲に表示される初期設定の青いボーダーを削除します。 */
	border: none;
}
/* ~~ サイトのリンクのスタイル付けは、ホバー効果を作成するセレクターグループも含め、この順序にする必要があります。~~ */
a:link {
	color: #42413C;
	text-decoration: underline; /* 非常に特殊な表示方法でリンクをスタイル付けする場合を除き、一目で見分けられるように下線を指定することをお勧めします。 */
}
a:visited {
	color: #6E6C64;
	text-decoration: underline;
}
a:hover, a:active, a:focus { /* このセレクターグループは、キーボードを使用するユーザーに対し、マウスを使用するユーザーと同じホバー効果を提供します。 */
	text-decoration: none;
	height: 5px;
	width: 5px;
	left: 5px;
	top: 5px;
	right: 5px;
	bottom: 5px;
	clip: rect(5px,5px,5px,5px);
}

table,td,th,tr {
	font: 100%/1.4 "ヒラギ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "MS P Gothic", sans-serif;
	border-style: none;
	margin: 0;
	padding: 0;
	color: #000000;
	font-size : 12pt;
}

/* 文字に下線を引く */
.emphasis_design4 span {
  border-bottom: 5px solid #5D99FF;
}

/* 文字に蛍光ペンのような下線を引く */
.emphasis_design20 span {
  background: linear-gradient(transparent 50%, #ff99ff 50%);
  padding: 0 0.1em;
}

/* グリッド分けcss ここから */
.grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.item {
  border-radius: 10px;
  background: #ffffff;
  padding: 15px;
  text-align: center;
}
img {
  max-width: 100%;
  height: auto;
}
p {
  text-align: left;
}

/* ページのTOPに戻るっボタン ここから */
#page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 20;
  bottom: 100;
  background: #3f98ef;
  opacity: 0.6;
  border-radius: 50%;
}
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -5px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
