*,
*::after,
*::before {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

body {
}

.js .loading::before,
.js .loading::after {
	content: '';
	position: fixed;
	z-index: 1000;
}

.loading::before {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.loading::after {
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin: -20px 0 0 -20px;
	border: 8px solid #383a41;
	border-bottom-color: #565963;
	border-radius: 50%;
	animation: animLoader 0.8s linear infinite forwards;
}

@keyframes animLoader {
	to { transform: rotate(360deg); }
}

a {
	text-decoration: none;
	color: #f2f2f2;
	outline: none;
}

a:hover,
a:focus {
	color: #e6629a;
}

.hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}

main {
	display: flex;
	flex-wrap: wrap;
}


.content--center {
	flex: 1;
	order: 3;
}

.content--related {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
	padding: 8em 1em 3em;
	text-align: center;
	order: 5;
}

.media-related {
	width: 100%;
}

.media-item {
	padding: 1em;
}

.media-item__img {
	max-width: 100%;
	opacity: 0.7;
	transition: opacity 0.3s;
}

.media-item:hover .media-item__img,
.media-item:focus .media-item__img {
	opacity: 1;
}

.media-item__title {
	font-size: 1em;
	max-width: 220px;
	padding: 0.5em;
	margin: 0 auto;
}

/* Header */
.codrops-header {
	position: relative;
	z-index: 100;
	display: flex;
	align-items: center;
	width: 100%;
	padding: 3em 1em 4em;
	order: 1;
}

.codrops-header__title {
	font-size: 1em;
	font-weight: normal;
	flex: 1;
	margin: 0 7em 0 0;
	text-align: center;
	text-transform: lowercase;
}

.codrops-header__title::before,
.codrops-header__title::after {
	font-size: 22px;
	font-weight: bold;
	display: inline-block;
	padding: 0 0.25em;
	color: #42454c;
}

.codrops-header__title::after {
	content: '\2309';
	vertical-align: sub;
}

.codrops-header__title::before {
	content: '\230A';
}

/* GitHub corner */
.github-corner {
	position: absolute;
	top: 0;
	right: 0;
}

.github-corner__svg {
	fill: #82888a;
	color: #2c2d31;
	position: absolute; 
	top: 0; 
	border: 0; 
	right: 0;
}

.github-corner:hover .octo-arm {
	animation: octocat-wave 560ms ease-in-out;
}

@keyframes octocat-wave {
	0%,
	100% {
		transform: rotate(0);
	}
	20%,
	60% {
		transform: rotate(-25deg);
	}
	40%,
	80% {
		transform: rotate(10deg);
	}
}

@media (max-width:500px) {
	.github-corner:hover .octo-arm {
		animation: none;
	}
	.github-corner .octo-arm {
		animation: octocat-wave 560ms ease-in-out;
	}
}


/* Top Navigation Style */
.codrops-links {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 2.75em;
	margin: 0 0 0 2.25em;
	text-align: center;
	white-space: nowrap;
	background: #1f2125;
}

.codrops-links::after {
	content: '';
	position: absolute;
	top: -10%;
	left: calc(50% - 1px);
	width: 2px;
	height: 120%;
	background: #2c2d31;
	transform: rotate3d(0,0,1,22.5deg);
}

.codrops-icon {
	display: inline-block;
	padding: 0 0.65em;
}

/* Controls */
.control--grids {
	margin: 0 0 2.5em;
	text-align: right;
}

.control__title {
	font-size: 0.85em;
	display: block;
	width: 100%;
	margin: 0 0 1em;
	color: #e6629a;
}

.control__item {
	position: relative;
	display: block;
	margin: 0 0 0.5em;
}

.control__radio {
	position: absolute;
	z-index: 10;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
	opacity: 0;
}

.control__label {
	white-space: nowrap;
}

.control__radio:checked + .control__label {
	color: #fff;
	background: #673ab7;
}

.control__radio:not(:checked):hover + .control__label,
.control__btn:hover {
	color: white;
}

.control__btn {
	display: block;
	width: 100%;
	margin: 0 0 0.5em;
	padding: 0;
	text-align: left;
	color: inherit;
	border: none;
	background: none;
}

.control__btn:focus {
	outline: none;
}

/* Grid */

.grid {
	position: relative;
	z-index: 2;
	display: block;
	margin: 0 auto;
}

.grid--hidden {
	position: fixed !important;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	pointer-events: none;
	opacity: 0;
}

.js .grid--loading::before,
.js .grid--loading::after {
	content: '';
	z-index: 1000;
}

.js .grid--loading::before {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: #fff;
}

.js .grid--loading::after {
	position: absolute;
	top: calc(25vh - 20px);
	left: 50%;
	width: 40px;
	height: 40px;
	margin: 0 0 0 -20px;
	border: 2px solid #eee;
	border-bottom-color: #999;
	border-radius: 50%;
	animation: animLoader 0.8s linear forwards infinite;
}

.grid__sizer {
	margin-bottom: 0 !important;
}

.grid__link,
.grid__img {
	display: block;
}

.grid__img {
	width: 100%;
}

.grid__deco {
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
}

.grid__deco path {
	fill: none;
	stroke: #999;
	stroke-width: 2px;
}

.grid__reveal {
	position: absolute;
	z-index: 50;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	opacity: 0;
	background-color: #fff;
}

.grid .grid__item,
.grid .grid__sizer {
	width: calc(50% - 20px);
	margin: 0 10px 20px;
}

@media screen and (min-width: 60em) {
	.grid .grid__item,
	.grid .grid__sizer {
		width: calc((100% / 3) - 20px);
		margin: 0 10px 20px;
	}
}

@media screen and (min-width: 70em) {
	.grid .grid__item,
	.grid .grid__sizer {
		width: calc(25% - 30px);
		margin: 0 15px 30px;
	}
	/* Grid types */
	.grid--type-b .grid__item,
	.grid--type-b .grid__sizer {
		width: calc(20% - 20px);
		margin: 0 10px 20px;
	}

	.grid--type-c .grid__item,
	.grid--type-c .grid__sizer {
		width: calc(25% - 16px);
		margin: 0 8px 16px;
	}
}

@media screen and (max-width: 50em) {
	main {
		display: block;
	}
	.codrops-header {
		padding: 1em;
		flex-wrap: wrap;
	}
	.codrops-links {
		margin: 0;
	}
	.codrops-header__title {
		width: 100%;
		text-align: left;
		flex: none;
		margin: 1em 0;
	}
	.content--right {
		order: 3;
	}
	.content--center {
		max-width: 100vw;
	}
	.control {
		margin: 0 0 1em;
		text-align: left;
	}
	.control__item,
	.control__btn {
		display: inline-block;
	}
	.control__btn {
		width: auto;
	}
}

.grid__item img{max-width: 100% !important; height: auto;}
.grid__link{ opacity: 0;}


/* ニュースタイル
================================================================*/
#newsTile{}

#newsTile .gridTitle{font-family: 'Oswald', sans-serif; font-size: 3.5em; font-weight: 500; text-align: right; z-index: 99999; position: relative; color: #fff; padding: 20px 0 0 0;
	font-style: italic;  width: 88%; max-width: 1350px; margin: 0 auto; text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}
@media screen and (max-width: 480px) {
	#newsTile .gridTitle{ text-align: center; color: #000; text-shadow: 1px 1px 1px rgba(255,255,255,0.5); font-size: 2em;  font-weight: 600; margin: 0 auto -20px auto;}
}

#newsTile .content--center{ width: 90%; max-width: 1400px; margin: 0 auto; position: relative; padding: 3vh 0 0 0;}

#newsTile .arrow1{
	position: absolute;
	top:0; right: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 70vw 30vh 0;
	border-color: transparent #d7000e transparent transparent;
}

@media screen and (max-width: 768px) {
	#newsTile .arrow1{ border-width: 0 70vw 10vh 0;}
}

/*枠*/

/*logo*/
#newsTile .logoBox{ padding: 60px 10px;}
#newsTile .logoBox img{ max-width: 100%; height: auto;}
#newsTile .logoBox .logo1{}
#newsTile .logoBox .logo2{ margin: 10px 0 0 0;}
#newsTile .logoBox .text{ margin: 1em 0 0 0;
	line-height: 1.4;
	text-shadow    : 
       2px  2px 1px #ffffff,
      -2px  2px 1px #ffffff,
       2px -2px 1px #ffffff,
      -2px -2px 1px #ffffff,
       2px  0px 1px #ffffff,
       0px  2px 1px #ffffff,
      -2px  0px 1px #ffffff,
       0px -2px 1px #ffffff;
}

@media screen and (max-width: 768px) {
	/*
	#newsTile .grid__item .logoBox .logo1 img{ width: 30vw; max-width: 100%;}
	#newsTile .grid__item .logoBox .logo2 img{ width: 50vw;}
	*/
}

#newsTile .spWidth{ width: 80%; margin: 0 auto; padding: 20px 0 0 0;}
#newsTile .spWidth .logo1{ width: 20%; margin-left: 25px;}
#newsTile .spWidth .logo2{ width: 80%;  margin-left: 25px;}
#newsTile .spWidth .text{margin-left: 25px;}

@media screen and (max-width: 480px) { /*480px 以下*/
	#newsTile .content--center{ padding: 5vh 0 0 0;}
	#newsTile .logoItem{display: none;}
	#newsTile .logoBox .text{ font-size: 0.8em;}
}

@media screen and (min-width: 480px) { /*480px 以上*/
	#newsTile .spWidth{ display: none;}
}


/*news*/
#newsTile .grid__item .pict{ overflow: hidden;}
#newsTile .grid__item .pict img{ width: 100%; height: auto; box-sizing: border-box; vertical-align:bottom;
	-o-transition: 0.15s ease-out;
	-webkit-transition:0.15s ease-out;
	-moz-transition:  0.15s ease-out;
	transition: 0.15s ease-out;
}
#newsTile .grid__item:hover .pict img{
	-webkit-transform: scale(1.15);
    -moz-transform: scale(1.15);
    -o-transform: scale(1.15);
    -ms-transform: scale(1.15);
    transform: scale(1.15);
}
#newsTile .grid__item .date{
	position: absolute; top:0px; right: 0px;  box-sizing: border-box;
	padding: 0 0 0 0;
	margin: 10px 10px 0 0;
	font-size: 1em;
	line-height: 1;
	color: #000;
	font-weight: bold;
	font-family: 'Oswald', sans-serif;
	text-shadow    : 
       1px  1px 1px #ffffff,
      -1px  1px 1px #ffffff,
       1px -1px 1px #ffffff,
      -1px -1px 1px #ffffff,
       1px  0px 1px #ffffff,
       0px  1px 1px #ffffff,
      -1px  0px 1px #ffffff,
       0px -1px 1px #ffffff;
}
#newsTile .grid__item .time{ 
	position: absolute; top:30px; right: 0px; box-sizing: border-box;
	padding: 0 0 0 0;
	margin: 10px 10px 0 0;
	font-size: 2.5em;
	line-height: 1;
	color: #000;
	font-weight: bold;
	font-family: 'Oswald', sans-serif;
	text-shadow    : 
       1px  1px 1px #ffffff,
      -1px  1px 1px #ffffff,
       1px -1px 1px #ffffff,
      -1px -1px 1px #ffffff,
       1px  0px 1px #ffffff,
       0px  1px 1px #ffffff,
      -1px  0px 1px #ffffff,
       0px -1px 1px #ffffff;
}
#newsTile .grid__item .title{
	position: absolute; bottom: 0px; left: 0; padding: 20px 15px 10px 15px; width: 100%; color: #fff;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8)); box-sizing: border-box;
	line-height: 1.4; letter-spacing: 0.1em; font-size: 1em;	
}

#newsTile .grid__item  .play_icon{
	position: absolute; top: 20px; right: 20px; 
	width: 40px;
}

#newsTile .grid__item.noImage .pict{ width: 100%; min-height: 200px;}
#newsTile .grid__item.noImage .title{ background: none; top: 70px; right: 0; left: inherit; bottom: inherit; text-align: right; text-shadow: 1px 1px 1px rgba(0,0,0,0.5);}
#newsTile .grid__item .color1{ background: #F2C200;}
#newsTile .grid__item .color2{ background: #3498DB;}
#newsTile .grid__item .color3{ background: #FF4D52;}
#newsTile .grid__item .color4{ background: #1BC1A0;}
#newsTile .grid__item .color5{ background: #5321A7;}


@media screen and (max-width: 480px) { /*480px 以下*/
	#newsTile .grid__item .time{ 
		 top: 20px;
		font-size: 1.5em;
	}
	
	#newsTile .grid__item .date{
		font-size: 0.9em;
	}
	
	#newsTile .grid__item .title{
		position: relative; bottom: 0px; left: 0; padding: 10px; color: #333;
		background: #fff; letter-spacing: 0; font-size: 0.8em;
	}
	
	#newsTile .grid__item  .play_icon{
	position: absolute; top: 20%; right: 34%; 
	width: 40px;
}
	
	#newsTile .grid__item.noImage .pict{ min-height: 120px;}
	#newsTile .grid__item.noImage .title{ position: absolute; color: #fff; top: 50px;}
	
	
}







