@charset "UTF-8";

* {
	margin:  0; /*上右下左*/
	padding: 0;
	user-select: none;
}

/*------------------------------------------------*/

.header-wrap {
	background-color: white;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100px;
}

.logo {
	background-color: transparent;
	display: flex;
	justify-content: left;
	align-items: center;
	padding-left: 20px;
	width: calc(240px - 10px);
	height: 100px;
	line-height: 100px;
	color: rgb(44,84,120);
}

.logo img {
	/*width: 230px;*/
	height: 80px;
	object-fit: contain;
}

.link {
	background-color: transparent;
	display: flex;
	align-items: flex-end;
	margin: 0px 10px 10px 10px;
	/*padding: 0px 10px 10px 10px;*/
	height: 80px;
	/*border-bottom: solid 1px silver;*/
}

.link a {
	padding: 5px 20px 5px 20px;
	text-decoration: none;
	color: rgb(44,84,120);
	transition: background-color 0.5s, color 0.5s;
	clip-path: polygon(16px 0px, 0px 60px, calc(100% - 16px) 60px, 100% 0px);
}

.link a:hover {
	background-color: rgb(44,84,120);
	color: white;
}

.link span {
	padding: 0px 0px 5px 0px;
	color: silver;
}

/*------------------------------------------------*/

.main-wrap {
	background-color: white;
	display: block;
	margin: 0 auto;
	width: 960px;
	/*height: 100vh;*/
}

/*------------------------------------------------*/

.tytle {
	background-color: rgba(60,60,60,0.3);
	background-blend-mode: darken;
	background-image: url("../img/tytleback.png");
	display: flex;
	justify-content: center;
	align-items: center;
	width:  100%;
	height: 120px;
	font-family: serif;
	font-weight: bold;
	text-shadow: 1px 1px 3px rgba(60,60,60,0.5);
	color: white;
}

.tytle-item {
	text-align: center;
}

.tytle-item p:nth-child(2) {
	padding: 0px 16px 0px 16px;
	font-size: 1.6em;
}

/*------------------------------------------------*/

.content-wrap {
	background-color: white;
	padding: 32px 64px 32px 64px;
	width: calc(100% - 128px);
	height: 100%;
}

/*------------------------------------------------*/

.slider-wrap {
	background-image: url("../img/stream_ss_back.png");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	display: block;
	padding: 16px;
	width: calc(100% - 32px);
	position: relative;
	overflow: hidden;
}

.slider-image {
	width: 100%;
	height: 160px;
}

.slider-image img {
	height: 160px;
	opacity: 0;
}

.slidein {
	position: absolute;
	height: 160px;
	right: 0;
	left: 0;
	margin: 0 auto;
	animation: anim-in 1s forwards ease-out;
	z-index: 100;
}

@keyframes anim-in {
	from {
		left: 100%;
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.slideout {
	position: absolute;
	height: 160px;
	right: 0;
	left: 0;
	margin: 0 auto;
	animation: anim-out 0.8s forwards ease-out;
	z-index: 99;
	opacity: 1;
}

@keyframes anim-out {
	from {
		opacity: 1;
	}
	to {
		left: -100%;
		opacity: 0;
	}
}

.slider-menu {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 72px;
}

.slider-menu img {
	margin: 16px;
	width: 60px;
	height: 30px;
	object-fit: cover;
	opacity: 0.7;
	border: solid 2px rgba(100,100,100,0.2);
}

.slider-menu img:hover {
	opacity: 1;
	border: solid 2px rgba(0,250,230,0.9);
}

.slider-text {
	background-image: linear-gradient(rgba(10,10,10,0.6),rgba(10,10,10,0.8));
	padding: 16px;
	width: calc(100% - 34px);
	border: solid 1px rgba(255,255,255,0.8);
	line-height: 1.8em;
	color: white;
}

/*------------------------------------------------*/

.double-wrap {
	background-color: transparent;
	display: flex;
	justify-content: space-between;
	margin-top: 16px;
	width: 100%;
}

.double-item {
	background-color: rgb(255,228,181);
	padding: 16px;
	width: calc(50% - 40px); /*32px+8px*/
}

.double-item span {
	font-style: italic;
	font-weight: bold;
	font-size: 1.8em;
	color: red;
}

.double-item img {
	width: 100%;
	object-fit: contain;
}

.double-item iframe {
	width:  100%;
}

.double-item p:nth-child(1) {
	text-align: center;
	font-weight: bold;
	font-size: 1.5em;
	color: black;
}

.double-item p:nth-child(2) {
	margin: 16px 0px 16px 0px;
	text-align:center;
	font-weight: bold;
	font-size: 1.2em;
	color: rgb(0,160,180);
}

.double-item p:nth-child(3) {
	display: flex;
	justify-content: center;
	margin: 0px 16px 16px 16px;
}

/*------------------------------------------------*/

.news-wrap {
	background-color: rgb(240,240,240);
	margin-top: 32px;
	padding: 48px 90px 48px 90px;
	width: calc(100% - 180px);
	line-height: 1.8em;
}

.news-wrap h4 {
	text-align: right;
}

.news-wrap h2 {
	background: linear-gradient(transparent 50%, rgb(200,230,240) 50%);
	margin: 32px 0px 48px 0px;
	text-align: center;
}

/*------------------------------------------------*/

.footer-wrap {
	width: 100%;
	height: 40px;
}

.footer-wrap a {
	text-decoration: none;
	color: white;
}

.footer-item {
	background-color: rgb(44,84,120);
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 40px;
}

html {
    scroll-behavior: smooth;
}

/*------------------------------------------------*/
