﻿.welcome a > img{
	opacity: 0.9;
	max-width: 700px;
	width: 90%;
	margin: 20px auto;
}
.welcome a > img:hover{
	opacity: 1;
}

.top_video_container {
    position: relative;
    width: 90%;
    margin: auto;
    padding-top: 56.25%;/* youtube埋め込みコードの横に対する縦の割合 */
}
.top_video_container iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
}

.subtitle{
	box-sizing: border-box;
	text-align: center;
	font-weight: bold;
	padding: 20px 0;
}

/* RSS欄の設定 */
.btn_l{
	display: inline-block;
	position: absolute;
	left: 16px;
	top:16px;
	background-color: #FFFEEE;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	vertical-align: middle;
}
.btn_l:after{
	position: absolute;
	content:"";
	top:12px;
	left: 18px;
	width: 10px;
	height: 10px;
	border-top: 2px solid #000;
	border-right: 2px solid #000;
	transform: rotate(-135deg);
}
.btn_r:hover, .btn_l:hover{
	background-color: #99ffcc;
	cursor: pointer;
}
.btn_r{
	display: inline-block;
	position: absolute;
	right: 16px;
	top: 16px;
	background-color: #FFFEEE;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	vertical-align: middle;
}
.btn_r:after{
	position: absolute;
	content:"";
	top: 12px;
	right: 18px;
	width: 10px;
	height: 10px;
	border-top: 2px solid #000;
	border-right: 2px solid #000;
	transform: rotate(45deg);
}
div.rss_subtitle{
	display: inline-block;
	box-sizing: border-box;
	text-align: center;
	font-weight: bold;
	padding: 20px 0;
}
#circle:nth-of-type(1) {
	vertical-align: middle;
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 5px;
	background-color: #848484;
	margin: 0 10px;
}
#circle:nth-of-type(2) {
	vertical-align: middle;
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 5px;
	background-color: #848484;
	margin: 0 10px;
}
#circle:nth-of-type(3) {
	vertical-align: middle;
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 5px;
	background-color: #848484;
	margin: 0 10px;
}
#circle.active:nth-of-type(1){
	vertical-align: middle;
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 5px;
	background-color: #DF013A;
	margin: 0 10px;
}
#circle.active:nth-of-type(2){
	vertical-align: middle;
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 5px;
	background-color: #DF013A;
	margin: 0 10px;
}
#circle.active:nth-of-type(3){
	vertical-align: middle;
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 5px;
	background-color: #DF013A;
	margin: 0 10px;
}
.rss_container{
	display: table;
    width: 300%;
    table-layout: fixed;
}
.rss_style{
	display: table-cell;
	position: relative;
	left: 0px;
    width: 100%;
}
.rss_style_title{
	font-size:20px;
	text-align: left;
    box-sizing: border-box;
    padding-left: 5px;
    padding-right: 20px;
    width: 100%;
}
.rss_style_date{
	font-size:15px;
	text-align: left;
    box-sizing: border-box;
    padding-left: 5px;
    padding-right: 20px;
    width: 100%;
}
.rss_style_text{
	font-size:15px;
	text-align: left;
    box-sizing: border-box;
    padding-left: 5px;
    padding-right: 20px;
    width: 100%;
}
.rss_style_imgbox{
	display: table-cell;
	vertical-align: middle;
    box-sizing: border-box;
	height:170px;
    width: 30%;
    padding-top: 30px;
    padding-bottom: 30px;
}
.rss_style_textbox{
	display: table-cell;
	vertical-align: middle;
    box-sizing: border-box;
	height:170px;
    width: 70%;
    padding-top: 30px;
    padding-bottom: 30px;
}
.rss_style_img{
    box-sizing: border-box;
    width:100%;
    height:100%;
    padding-left: 20px;
    padding-right: 5px;
    object-fit: contain;
}
.rss_style:hover{
	opacity:0.7;
}

/* 更新情報の領域の設定 */
dl#news{
	width:90%;
	height: 400px;
	overflow-y: scroll;
    margin: 0 auto;
}
dl#news dt{
	clear:left;
	float:left;
	margin:0;
	padding:10px 0 10px 0.5em;
	width:7em;
	line-height:1.5em;
}
dl#news dd{
	margin:0;
	padding:10px 0.5em 10px 8em;
	border-bottom:1px solid #CCC;
	line-height:1.5em;
	text-align:left;
	color:#4C9AFF;
}

#slideshow_wrapper {
    position:relative;
    margin: 0 auto;
    width: 100%;
}
#slideshow_wrapper:before{
    content:"";
    display: block;
    padding-top: 68%;/* 必要 */
}
#slideshow {
   position: absolute;
   width: 100%;
   height: 100%;
   left:0; /* 必要 */
   top:0;/* 必要 */
}
#slideshow img {
   position: absolute;
   z-index: 5;
   opacity: 0.0;
   width: 100%;
}
#slideshow img.active {
   z-index: 7;
   opacity: 1.0;
}
#slideshow img.last-active {
   z-index: 6;
}

/* アニメーション用 */


/* PC向け */
@media screen and (min-width: 980px){
    .senseki {
        text-align: center;
    }
    #menubar{
        width:840px;
        font-size:0;/*隙間をなくす*/
        margin: 0 auto;
    }
    .menubutton{
        display:inline-block;
        color: #000;
        text-align: left;
        width: 268px;
        height: 60px;
        background-color: #eee;
        border-style: solid;
        border-width: 1px;
        border-color: #ccc;
        margin: 5px;
        position: relative;
    }
    .menubutton img{
        width: 35%;
        height: 100%;
        float: right;
    }
    .menubutton a{
        display: inline-block;
        position: absolute;
        width: 100%;
        height: 100%;
        font-size:20px;
        vertical-align: middle;
        line-height: 60px;
        padding-left: 40px;
        box-sizing: border-box;
    }
    .menubutton a:hover{
        color:#66CCFF;
        text-decoration:underline;
    }
    .menubutton .triangle:before{
        content: "▶";
        font-size: 25px;
        color: #66CCFF;
    }
    .menubutton .triangle{
        float:left;
        padding-left: 5px;
        position: absolute;
        top:50%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
    }
	.top_contents{
		vertical-align:top;
		width: 630px;
		margin: 0px auto;
        padding-top:20px;
		padding-bottom:20px;
		background-color:#EEEEEE;
        text-align: center;
		border-top: dotted 1px #111;
	}
	.rss_bg{
		margin: 0px auto;
		width: 630px;
		background-color:#EEEEEE;
		overflow: hidden;
		box-sizing: border-box;
		position: relative;
        text-align: center;
	}
}

/* タブレット 向けの設定 */
@media screen and (max-width: 980px) and (min-width: 400px){
    .senseki {
        text-align: center;
    }
    #menubar{
        font-size:0;/*隙間をなくす*/
        text-align: center;
    }
    .menubutton{
        display:inline-block;
        color: #000;
        text-align: left;
        width: 45%;
        height: 50px;
        background-color: #eee;
        position: relative;
    }
    .menubutton:nth-child(odd){
        border-left: 1px solid #ccc;
        border-top: 1px solid #ccc;
    }
    .menubutton:nth-child(even){
        border-left: 1px solid #ccc;
        border-top: 1px solid #ccc;
        border-right: 1px solid #ccc;
    }
    .menubutton:nth-child(5){
        border-bottom: 1px solid #ccc;
    }
    .menubutton:nth-child(6){
        border-bottom: 1px solid #ccc;
    }
    .menubutton a{
        display: inline-block;
        position: absolute;
        width:100%;
        height:100%;
        vertical-align: middle;
        font-size:15px;
        padding-left: 30px;
        line-height: 50px;
        box-sizing: border-box;
    }
    .menubutton .triangle:before{
        content: "▶";
        font-size: 20px;
        color: #00c000;
    }
    .menubutton .triangle{
        float:left;
        padding-left: 5px;
        position: absolute;
        top:50%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
    }
    .menubutton img{
        display: none;
    }
	.top_contents{
		width: 80%;
		vertical-align:top;
        padding-top: 20px;
		padding-bottom: 20px;
		background-color:#EEEEEE;
		border-top: dotted 1px #111;
		margin: 0px auto;
        text-align: center;
	}
	.rss_bg{
		margin: 0px auto;
		width: 80%;
		background-color:#EEEEEE;
		overflow: hidden;
		box-sizing: border-box;
		position: relative;
        text-align: center;
	}
}

/* スマホ 向けの設定 */
@media screen and (max-width: 400px){
    #menubar{
        font-size:0;/*隙間をなくす*/
        text-align: center;
    }
    .menubutton{
        display:inline-block;
        color: #000;
        text-align: left;
        width: 45%;
        height: 50px;
        background-color: #eee;
        position: relative;
    }
    .menubutton:nth-child(odd){
        border-left: 1px solid #ccc;
        border-top: 1px solid #ccc;
    }
    .menubutton:nth-child(even){
        border-left: 1px solid #ccc;
        border-top: 1px solid #ccc;
        border-right: 1px solid #ccc;
    }
    .menubutton:nth-child(5){
        border-bottom: 1px solid #ccc;
    }
    .menubutton:nth-child(6){
        border-bottom: 1px solid #ccc;
    }
    .menubutton a{
        display: inline-block;
        position: absolute;
        width:100%;
        height:100%;
        vertical-align: middle;
        font-size: 15px;
        padding-left: 30px;
        line-height: 50px;
        box-sizing: border-box;
    }
    .menubutton .triangle:before{
        content: "▶";
        font-size: 20px;
        color: #00c000;
    }
    .menubutton .triangle{
        float:left;
        padding-left:5px;
        position: absolute;
        top:50%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
    }
    .menubutton img{
        display: none;
    }
    .senseki {
        text-align: center;
    }
	.top_contents{
		width: 100%;
		vertical-align:top;
        padding-top: 20px;
		padding-bottom: 20px;
		background-color:#EEEEEE;
		border-top: dotted 1px #111;
		margin: 0px auto;
        text-align: center;
	}
	.rss_bg{
		margin: 0px auto;
		width: 100%;
		background-color:#EEEEEE;
		overflow: hidden;
		box-sizing: border-box;
		position: relative;
        text-align: center;
	}
}

@media screen and (max-width: 700px){
}
