@charset "utf-8";

/*-------------------------------------
css初期化
--------------------------------------*/
* {
	margin: 0;
	padding: 0;
}

body {
	font-family: sans-serif;
	font-size: 100%;
}

div:after {
	content: "";
	display: block;
	clear: both;
}

/*-------------------------------------
タグの基本設定
--------------------------------------*/
body {
	background: rgb(0, 0, 0);
	line-height: 1.6;
	font-size: 81.25%;
	color: #e9e9e9;
}

html {
	overflow-y: scroll;
}

a {
	text-decoration: none;
	outline: none;
	color: #01ff51;
}

a:hover{
	text-decoration: underline;
	color: #1100ff;
}

a:hover img{
	opacity: 0.80;
}

/*--------------------------------------------------------------------
Container
--------------------------------------------------------------------*/
div#Container {
	width: 944px;
	padding: 10px 0;
	margin: 0 auto;
	background: #1b1b1b;
}

/*--------------------------------------------------------------------
h1
--------------------------------------------------------------------*/
h1 {
	padding: 10px 0;
	text-align: center;
}

/*--------------------------------------------------------------------
Contents
--------------------------------------------------------------------*/
div#Contents {
	width: 944px;
	margin: 0 auto;
	padding: 10px 0;
	overflow: hidden;
}

div#Contents:after {
	display: block;
	clear: both;
	height: 0;
	line-height: 0;
	font-size: 0;
	content: "";
}

/*--------------------------------------------------------------------
Nav
--------------------------------------------------------------------*/
nav {
	width: 944px;
	margin: 0 auto;
}

nav ul li {
	list-style: none;
	width: 236px;
	margin: 0 0 20px 0;
	float: left;
}

nav ul li a {
	display: block;
	width: 236px;
	height: 0px;
	padding-top:50px;
	overflow: hidden;
}

nav ul li#nav01 a {
  background-image: url(../img/button01.png);
}

nav ul li#nav02 a {
  background-image: url(../img/button02.png);
}

nav ul li#nav03 a {
  background-image: url(../img/button03.png);
}

nav ul li#nav04 a {
  background-image: url(../img/button04.png);
}

nav ul li a:hover,
	nav ul#index li#nav01 a,
	nav ul#kadai01 li#nav02 a,
	nav ul#kadai02 li#nav03 a,
	nav ul#kadai03 li#nav04 a{
	background-position: 0 -50px;
}

/*--------------------------------------------------------------------
Main
--------------------------------------------------------------------*/
div#Main {
	width: 700px;
	margin: 0 auto;
}

div#Main h2 {
	font-size: 200%;
	font-weight: bold;
	color: #acacac;
}

/* ①動画を中央に配置する設定 */
.movie__youtube {
	position: relative;
	aspect-ratio: 16 / 9;
	width: 100%;       /* 幅を親要素（Main）いっぱいに広げる */
	max-width: 560px;  /* 必要に応じて動画の最大横幅を調整（例: 560px） */
	margin: 0 auto 30px auto; /* 左右をautoにして中央寄せ＋下に余白 */
}

div#Main div#TopImg {
	margin: 5px auto 0 auto;
	text-align: center;
}

div#Main div#PortImg {
	margin: 10px auto 0 auto;
	text-align: center;
}

div#Main p {
	color: #ffffff;
	margin-top: 20px;
}

div#Main table {
	width: 100%;
	margin: 30px auto;
	border-collapse: collapse;
	background: #0d0d0d; /* テーブルの背景を真っ黒に近く */
	
	/* テーブルの外枠に青いネオンの光をつける */
	border: 2px solid #0055ff;
	box-shadow: 
		0 0 10px rgba(0, 85, 255, 0.5),
		inset 0 0 10px rgba(0, 85, 255, 0.3);
	}


/* テーブルの見出し（左側：課題名、課題内容など） */
div#Main table tr th {
	width: 25%;
	padding: 15px;
	background: #112244; /* 深みのある紺色に変更（ネオンと馴染むように） */
	border: 1px solid #0055ff; /* 内側の枠線も青に */
	color: #ffffff;
	font-weight: bold;
	vertical-align: middle;
}

/* テーブルのデータ側（右側：具体的な説明） */
div#Main table tr td {
	width: 75%;
	padding: 15px;
	border: 1px solid #0055ff; /* 内側の枠線も青に */
	color: #e9e9e9;
	vertical-align: top;
	text-align: left;
}

div#Main table tr td ul {
	padding: 0 0 0 8px;
	margin: 0 0 0 8px;
}

div#Main table tr td ol {
	padding: 0 0 0 8px;
	margin: 0 0 0 8px;
}


/*--------------------------------------------------------------------
pagetop
--------------------------------------------------------------------*/
.pagetop {
	text-align: right;
}

/*--------------------------------------------------------------------
address
--------------------------------------------------------------------*/
address {
	clear: both;
	text-align: center;
	color: #504946;
}