@charset "utf-8";
/* CSS Document */
h2{
	height: 0;
}
#topimg{
	padding-top: 0;
	background-color: #fff;
	text-align: center;
}
article {
	padding-top: 20px;
}
article #main{
	font-family:"ＭＳ ゴシック", "MS Gothic","ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
}
article #main #catelist{
	text-align: center;
	margin: 0 5%;
	padding: 20px 0;
	margin-bottom: 50px;
}
article #main #catelist li{
	display: inline-block;
	font-size: 21px;
	margin: 0 2%;
}
article #main #catelist li a{
	color: #333;
}
article #main #catelist li a:hover{
	border-bottom: 2px solid #000;
}
article #main .cate{
	padding-bottom: 80px;
	margin-bottom: 100px;
	border-bottom: 1px solid #000;
}
article #main .cate .cate_title{
	margin: 0 10%;
	margin-bottom: 30px;
}
article #main .cate .cate_title h3{
	font-size: 24px;
	margin-bottom: 20px;
}
article #main .cate .cate_title p{
	font-size: 18px;
}
article #main .cate .box_out{
	border: 1px solid #000;
	width: 80%;
	margin: 0 auto;
	margin-bottom: 30px;
}
article #main .cate .cate_box{
	width: 100%;
	margin: 0 auto;
	display: table;
	table-layout: fixed;
	padding: 5px 0;
	text-align: center;
	border-bottom: 1px solid #000;
}
article #main .cate .cate_box:last-child{
	border-bottom: none;
}
article #main .cate .cate_box h4{
	display: table-cell;
	font-size: 18px;
	font-weight: normal;
}
article #main .cate .cate_box p{
	display: table-cell;
	border-left: 1px solid #000;
	font-size: 18px;
}
article #main .cate .cate_box p:empty{
	border-left: none;
	display: none;
}
article #main .cate .cate_txt{
	width: 75%;
	margin: 0 auto;
	margin-bottom: 10px;
}
.movieItem {
	position: relative;
    padding-bottom: 29.25%;
    height: 0;
    overflow: hidden;
    width: 52%;
    margin-left: 24%;
}
.movieItem:empty {
	display: none;
}
.movieItem iframe {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*ここからタブレット用（768px以下）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media screen and (max-width: 768px){
article #main{
	margin-bottom: 100px;
}
article #main #catelist{
	text-align: center;
	margin: 0 5%;
	padding: 20px 0;
	margin-bottom: 50px;
}
article #main #catelist li{
	margin: 10px;
}
article #main .cate{
	padding-bottom: 80px;
	margin-bottom: 100px;
	border-bottom: 1px solid #000;
}
article #main .cate .cate_title{
	margin: 0 10%;
	margin-bottom: 30px;
}
article #main .cate .cate_title h3{
	font-size: 24px;
	margin-bottom: 20px;
}
article #main .cate .cate_title p{
	font-size: 18px;
}
article #main .cate .box_out{
	border: none;
	width: 80%;
	margin: 0 auto;
	margin-bottom: 30px;
}
article #main .cate .cate_box{
	width: 100%;
	margin: 0 auto;
	display: block;
	table-layout:auto;
	padding: 5px 0;
	text-align: center;
	border: 1px solid #000;
	margin-bottom: 30px;
}
article #main .cate .cate_box:last-child{
	border-bottom: 1px solid #000;
}
article #main .cate .cate_box h4{
	display: block;
	font-size: 16px;
	font-weight: normal;
	padding: 5px 2px;
	border-bottom: 1px solid #000;
}
article #main .cate .cate_box p{
	display:block;
	border-left: none;
	font-size: 14px;
	padding: 5px 2px;
	border-bottom: 1px solid #000;
}
article #main .cate .cate_box p:empty{
	border-bottom: none;
}
article #main .cate .cate_box p:last-child{
	border-bottom: none;
}
article #main .cate .cate_txt{
	width: 75%;
	margin: 0 auto;
	margin-bottom: 10px;
	font-size: 16px;
}
.movieItem {
	position: relative;
    padding-bottom: 42.75%;
    height: 0;
    overflow: hidden;
    width: 76%;
    margin-left: 12%;
}
.movieItem:empty {
	display: none;
}
.movieItem iframe {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
}
/*ここからスマートフォン用（480px以下）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media screen and (max-width: 480px){
article #main .cate iframe{
}
.movieItem {
	position: relative;
    padding-bottom: 42.75%;
    height: 0;
    overflow: hidden;
    width: 76%;
    margin-left: 12%;
}
.movieItem:empty {
	display: none;
}
.movieItem iframe {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
}