@charset "utf-8";

/*-------------------------------------
css初期化
--------------------------------------*/
* {
	margin: 0;
	padding: 0;
}

body {
	font-family: Noto Serif JP, sans-serif;
	/*-*/
	font-size: 100%;
}

div:after {
	content: "";
	display: block;
	clear: both;
}

/*-------------------------------------
タグの基本設定
--------------------------------------*/
body {
	background: #FFF6DB;
	line-height: 1.6;
	font-size: 81.25%;
	color: #661414;
}

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;
}

nav ul li {
	list-style: none;
	width: 189px;
	margin: 0 0 20px 0;
	float: left;
}

nav ul li a {
	display: block;
	width: 189px;
	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#nav05 a {
	background-image: url(../img/button05.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,
nav ul#kadai04 li#nav05 a {
	background-position: 0 -50px;
	transition: all 0.35s ease-out;
}

/*--------------------------------------------------------------------
Main
--------------------------------------------------------------------*/
div#Main {
	width: 700px;
	margin: 0 auto;
}


/* div#Main #movie video {
  width: 480px; /* 任意の横幅を指定 */
display: block;
/* margin効かすため */
margin: 0 auto;
/* 上下余白無し、左右中央 */
}

/* スマホのフレーム画像 */
/*div#Main #PortImgvideo {
	position: relative;
	width: 500px;
	max-width: 0 auto;
	display: block;
	/* margin効かすため */
	margin: 0 auto;
	/* 上下余白無し、左右中央 */

}

/*div#Main #PortImgvideo .frame-img {
	width: 100%;
	height: auto;
	display: block;
	position: relative;
	z-index: 2;
	/* 動画より手前に表示させる */
	pointer-events: none;
	/* 画像の下にある動画をタップ・操作できるようにする */
}

/* フレーム内に入れる動画 */
/*div#Main #PortImgvideo video {
	width: 480px;
	position: absolute;
	/* 👇 使用するスマホ画像の「液晶画面の位置」に合わせて％数値を微調整 */
	top: 2%;
	left: 5%;
	width: 90%;
	height: 96%;

	object-fit: cover;
	/* 縦横比がズレた場合に自動でトリミング */
	z-index: 1;
	/* 画像の後ろ（内側）に配置 */
}

 div#Main h2 {
	font-size: 150%;
	font-weight: bold;
	color: #661414;
	text-align: left;
}
div#Main h2.work {
	font-size: 180%;
	font-weight: bold;
	color: #661414;
	text-align: center;
}

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.no {
	color: #661414;
	margin-top: 10px;
	text-align:left ; 
}

div#Main p {
	color: #661414;
	margin-top: 10px;
	text-align:center ; 
}

div#Main div#movie video {
	width: 400px;
	margin: 5px auto 0 auto;
	/*上の余白は5px　左右は中央　下は空けない*/
	display: block;
	/*display: block; にすることでmarginが効く*/
	/*text-align: center;*/
	/*inline要素なのでtext-align: center; では中央にいかない*/
}


div#Main table {
	width: 80%;
	margin: 10px auto 20px auto;
	border-collapse: collapse;
	border: 0 none;
}

div#Main table tr th {
	width: 25%;
	padding: 5px 10px;
	background: #EDDAD9;
	border: 1px solid #661414;
	text-align: left;
	vertical-align: top;
	color: #661414;
}

div#Main table tr td {
	width: 75%;
	padding: 5px 10px;
	border: 1px solid #661414;
	text-align: left;
	vertical-align: top;
}

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
--------------------------------------------------------------------*/
div#Contents .pagetop {
	text-align: right;
}

/*--------------------------------------------------------------------
address
--------------------------------------------------------------------*/
address {
	clear: both;
	text-align: center;
	color: #661414;
}