@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(255, 255, 255);
	line-height: 1.6;
	font-size: 81.25%;
	color: #414141;
}

html {
	overflow-y: scroll;
}

a {
	text-decoration: none;
	outline: none;
	color: #333333;
}

a:hover{
	text-decoration: underline;
	color: #666666;
}

a:hover img{
	opacity: 0.80;
}

/*--------------------------------------------------------------------
Container
--------------------------------------------------------------------*/
div#Container {
	width: 945px;
	padding: 10px 0;
	margin: 0 auto;
	background: #fff;
}

/*--------------------------------------------------------------------
h1
--------------------------------------------------------------------*/
h1 {
	padding: 10px 0;
	text-align: center;
}

/*--------------------------------------------------------------------
Contents
--------------------------------------------------------------------*/
div#Contents {
	width: 945px;
	margin: 0 auto;
	padding: 10px 0;
	overflow: hidden;
}

div#Contents:after {
	display: block;
	clear: both;
	height: 0;
	line-height: 0;
	font-size: 0;
}

/*--------------------------------------------------------------------
Nav
--------------------------------------------------------------------*/
nav {
	width: 945px;
	margin: 0 auto;
	position: relative;
}

nav ul li {
	list-style: none;
	width: 189px;
	margin: 0 0 20px 0;
	float: left;
}

nav ul li a img:nth-child(2){
	position: absolute;
	margin-left: -189px;
  transition: opacity 1s;
}

nav ul li a:hover img:nth-child(2){
  opacity: 0;
}


/*--------------------------------------------------------------------
Main
--------------------------------------------------------------------*/
div#Main {
	width: 700px;
	margin: 0 auto;
}

div#Main h4{
	font-weight: bold;
	color: #504946;
	margin: 150px auto 10px auto;
}
div#Main h2 {
	/* font-size: 105%; */
	font-weight: bold;
	color: #504946;
	margin: 100px auto 50px auto;
}

div#Main div#TopImg {
	margin: 5px auto 0 auto;
	text-align: center;
	.parent-2 {
		position: relative;
		width: 100%;
		max-width: 800px; /* 最大で800pxの幅を持つ */
		margin: 0 auto;
	}
	
	.parent__inner-2 {
		position: relative;
		width: 100%;
	}
	
	.image-static-2 {
		width: 100%;
		height: auto; /* オリジナルのアスペクト比を保つため、widthに合わせる */
		object-fit: cover; /* img要素が要素のボックスに対してどのように表示されるかを指定 */
		
	}
	
	.child-2 {
		position: absolute;
		top: 5%; /* GIF画像の位置調整 */
		left: 35%; /* GIF画像の位置調整 */
		transform: translateX(-50%);
		width: 33vw;
		max-width: 400px; /* 最大幅を300px */
	}
	
	.image-gif-2 {
		width: 100%; /* 親要素にフィットするように設定 */
		height: auto; /* ここにも auto を指定した場合、元の画像比率が維持されます */
		max-width: 400px; /* 最大幅を300pxに設定 */
		max-height: 400px; /* 最大高さを300pxに設定 */
		object-fit: cover; /* ここも cover で描画エリア全体にフィットさせる */
	}
}

div#Main div#PortImg {
	margin: 5px auto 0 auto;
	text-align: center;
}

div#Main div#PortImg video{
	width: 400px;
	height: 500px;
}
div#Main div#PortImg p{
	text-align: center;
	padding: 20px 0 50px;

}
div#Main p {
	color: #504946;
	margin-top: 10px;
}
div#Main .kadai01table p{
	margin-top: 0px;
}
div#Main table {
	width: 80%;
	margin: 10px auto 20px auto;
	border-collapse: collapse;
	border: 0 none;
}
/* div#Main .kadai01table {
	margin: 200px auto ;
} */
div#Main table tr th {
	width: 25%;
	padding: 5px 10px;
	background: #e3e6d8;
	border: 1px solid #504946;
	text-align: left;
	vertical-align: top;
	color: #3a2a22;
}

div#Main table tr td {
	width: 75%;
	padding: 5px 10px;
	border: 1px solid #504946;
	text-align: left;
	vertical-align: top;
}

div#Main div#end-gif {
	display:flex;
	margin: 150px 0px 50px 40px;
	text-align:center
	
}
div#Main h3{
	font-weight: bold;
	color: #504946;
	margin: 50px auto 20px auto;
}

/* 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;
} */
div#Main table tr li{
	list-style-type: none;
}
/*--------------------------------------------------------------------
pagetop
--------------------------------------------------------------------*/
p.pagetop {
	position: fixed;
    bottom: 120px;
    right: 120px;
	text-align: right;
}


/*--------------------------------------------------------------------
address
--------------------------------------------------------------------*/
address {
	clear: both;
	text-align: center;
	color: #504946;
}