* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family:  "ヒラギノ角ゴ ProN W3", HiraKakuProN-W3, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, Verdana, Helvetica, Arial, sans-serif;
}

body {
	background: url('background.png');
}

.head {
	position: fixed;
	top: 0;
	left: calc(100vw - 80px);
	height: 80px;
	width: 80px;
	background: white;
	font-size: 28px;
	line-height: 60px;
	padding: 12px;
	text-align: center;
}

@media only screen and (max-width:768px) {
	.head {
		left: calc(100vw - 35px);
		height: 35px;
		width: 35px;
		padding: 6px;
	}
}

.head img {
	position: absolute;
	top: 15px;
	left: 15px;
	width: 50px;
	height: 50px;
}

@media only screen and (max-width:768px) {
	.head img {
		top: 7px;
		left: 7px;
		width: 20px;
		height: 20px;
	}
}

.menu {
	position: fixed;
	top: 80;
	left: 100vw;
	background: white;
	display: none;
	width: 360px;
	height: calc(100vh - 80px);
	border-top: 2px solid gray;
	border-bottom: 2px solid gray;
	border-left: 2px solid gray;
	border-radius: 20px 0 0 20px;
	white-space: nowrap;
	overflow: hidden;
}

@media only screen and (max-width:768px) {
	.menu {
		top: 40;
		height: calc(100vh - 40px);
		width: 85vw;
	}
}

.menu div {
	padding-left: 15px;

}

.menu .small,
.contents .small {
	font-size: 14px;
	color:#66c;
}


.main-photo {
	width : 100vw;
	height: 50vw;
}

.main-photo img{
	width: 100vw;
	float: left;
}

@media only screen and (max-width:768px) {
	.main-photo .light-up {
		padding: 1.8vw;
		padding-top: 4vw;
		font-size: 1.8vw;
	}
}

.title{
	position:absolute;
	top:0;
	
}
.title img {
	width: 70vw;
}


/*
写真より下部分 
*/
.contents {
	width: 100vw;
	font-size: 14px;
	line-height: 16px;
	padding: 40px;
	padding-top: 0;
}

@media only screen and (max-width:768px) {
	.contents {
		font-size: 12px;
		padding: 10px;
	}
}

/*
世界自閉症啓発デーと実行委員会の説明 
*/
.explanation {
	font-size: 20px;
	padding-bottom: 20px;
	font-weight: bold;
	line-height: 30px;
	text-decoration: underline;
	
}

.explanation div {
	text-decoration: underline;
	cursor: hand;
	text-align: center;
}

.explanation div:hover {
	color: blue;
}



@media only screen and (max-width:768px) {
	.explanation {
		font-size: 16px;
		font-weight: bold;
		padding: 20px;
		width: calc(100vw - 20px);	
	}
	.explanation div {
		margin: 0px;
		float: block;
	}
}


#top-message {
	width: 80vw;
	margin: 0;
	margin-left: 10vw;
	margin-right: 10vw;
	padding: 20px;
}


.item {
	width: 80vw;
	margin-left: 10vw;
	margin-right: 10vw;
	margin-bottom: 30px;
	background: rgba(255, 255, 255, 0.8);
	padding: 20px;
}
@media only screen and (max-width:768px) {
	#top-message {
		width: 90vw;
		margin: 0;
		margin-left: 5vw;
		margin-right: 5vw;
		padding: 10px;
	}
	
	.item {
		width: 90vw;
		margin-left: 5vw;
		margin-right: 5vw;
		padding: 20px;
	}
}


/*
スペース行
*/
.space-line {
	line-height: 0;
}
@media only screen and (max-width:768px) {
	.space-line {
		line-height: 40px;
	}
}	

/*
ページ解説テキスト
*/
.text {
	font-size: 16px;
	padding: 50px;
	line-height: 24px;
	width: calc(100vw - 25px);
	padding-bottom: 10px;
	margin-bottom: 0;
}

.text div {
	float: left;
	margin-right: 50px;
}

@media only screen and (max-width:768px) {
	.text {
		font-size: 16px;
		line-height: 20px;
		padding: 20px;
		padding-bottom: 0;
		width: calc(100vw - 10px);
		
	}
	.explanation div {
		margin: 0px;
	}
}


/*
世界自閉症啓発デーとは
*/
#toha-window,
#jikkou-window {
	position: absolute;
	left: calc(50vw  - 400px);
	top: 15vh;
	width: 800px;
	color: black;
	background: white;
	padding: 30px;
	border-radius: 30px;
	display: none;
	overflow-y: scroll;
}

.name {
	background: #0b5abc;
	border-radius: 10px;
	width: 450px;
	margin: 5px;
	box-shadow: 1px 1px 1px 1px rgba(65, 113, 143, 0.5);
	cursor: pointer;
}
.name a {	
	line-height: 30px;
	font-size: 15px;
	height: 30px;
	color: white;
	padding: 5px;
	padding-left: 15px;
	text-decoration: none;
}
.name:hover {
	transform: translateY(-1px);
	transition:0.2s; /*変化するのにかかる秒数*/
	background:#448ee8;
}

@media only screen and (max-width:768px) {
	#toha-window,
	#jikkou-window  {
		left: 15px;
		top: 15px;
		width: calc(100vw  - 30px);
		font-size: 13px;
	}
	#toha-window h1,
	#jikkou-window h1 {
		font-size: 26px
	}
	.name {
		position: relative;
		left: -25px;
		width: calc(100vw  - 50px);
	}
	.name a {
		font-size: 12px;
	}
}

.close{
	float: right;
	position: relative;
	top: -20px;
	left: 20px;
}
/*
イベントの紹介 
*/
.event {
	width: calc(100%/4 - 10px);
	height: 180px;
	line-height: 23px;
	background: rgba(255, 255, 255, 0.8);
	color:darkblue;
	font-size: 15px;
	border: 1px solid #666;
	border-radius: 0px;
	box-shadow: 3px 3px 3px 2px rgba(65, 113, 143, 0.5);
	text-align: left;
	float: left;
	padding: 10px;
	margin: 5px;
	margin-top: 0;
	cursor: pointer;
}

.link:hover {
	/*box-shadow: 3px 3px 3px rgba(0,0,0,0.5);*/
	transform: translateY(-4px);
	transition:0.4s; /*変化するのにかかる秒数*/
	background: rgb(220, 247, 255);
}

@media only screen and (max-width:1700px) {
	.event {
		width: calc(100%/3 - 10px);
	}
}

@media only screen and (max-width:1080px) {
	.event {
		width: calc(100%/2 - 10px);
	}
}

@media only screen and (max-width:768px) {
	.event {
		width: calc(100% - 10px);
	}
}
