@charset "utf-8";

/* reset
----------------------------------------------- */

h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,main,figure,figcaption {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 1em;
	line-height: 1em;
	list-style: none;
}
a,
a:hover,
a:active,
a:visited {
	margin: 0;
	padding: 0;
	text-decoration: none;
	overflow: hidden;
	outline: none;
}
img {
	vertical-align: top;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-user-drag: none;
	-moz-user-drag: none;
	-ms-user-drag: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
hr {
	display: none;
}

/* clear */

.clear:after {
	content: "."; 
	display: block;
	height: 0; 
	clear: both; 
	visibility: hidden;
}

/* html
----------------------------------------------- */

html {
	margin: 0;
	padding: 0;
	-webkit-print-color-adjust: exact;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-user-drag: none;
	-moz-user-drag: none;
	-ms-user-drag: none;
}

/* body
----------------------------------------------- */

body {
	margin: 0;
	padding: 0;
	color: #1e1e1e;
	font-family: "Noto Sans Japanese", sans-serif;
}
a {
	color: #ed7700;
	text-decoration: underline;
}

/* pc
----------------------------------------------- */

@media print, screen and (min-width:1000px) {

	/* html
	----------------------------------------------- */
	
	html {
		height: 100%;
	}

	/* body
	----------------------------------------------- */
	
	body {
		height: 100%;
		background: #f5f5f5 url(../images/background@2x.png);
		background-size: 100px 100px;
		animation: bg 3s linear infinite;
	}
	
	/* main
	----------------------------------------------- */

	#main {
		position: relative;
		min-height: calc(100% - 60px);
	}
	#main .inner {
		min-height: 500px;
	}
	#main .articles {
		display: flex;
		position: absolute;
		top: 50%;
		left: 50%;
		margin: -190px 0 0 -450px;
		width: 900px;
	}
	#main article {
		position: relative;
		margin: 0 25px;
		padding: 40px 0 120px;
		width: 375px;
		border-radius: 10px;
		background: #fff;
	}
	#main article h2 {
		text-align: center;
	}
	#main article .summary {
		margin: 25px auto 0;
		width: 280px;
		font-size: 15px;
		font-weight: 500;
		text-align: justify;
		line-height: 30px;
	}
	#main article .link {
		position: absolute;
		left: 0;
		bottom: 40px;
		width: 100%;
		text-align: center;
	}
	#main article .button,
	#main article .button:hover {
		display: inline-block;
		min-width: 300px;
		height: 50px;
		color: #fff !important;
		font-size: 18px;
		font-weight: 600;
		text-align: center;
		text-decoration: none !important;
		line-height: 49px;
		border: 0;
		border-radius: 50px;
		box-sizing: border-box;
		outline: none;
		background: #ed7700;
		cursor: pointer;
		transition: background 0.2s;
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
	}
	#main article .button:hover {
		color: #fff;
		text-decoration: none;
		background: #cf5900;
	}
	#main article .button.rainbow {
		background: #e62d8c;
	}
	#main article .button.rainbow:hover {
		background: #c80f6e;
	}
	
	/* footer
	----------------------------------------------- */

	#footer {
		height: 60px;
		background: #fff;
	}
	#footer .inner {
		margin: auto;
		width: 800px;
	}
	#footer li {
		float: left;
		padding: 20px 0 0;
		width: 50%;
	}
	#footer li:last-child {
		padding: 25px 0 0;
		color: #8e8e8e;
		font-size: 11px;
		font-weight: 500;
		text-align: right;
	}

}

/* mobile
----------------------------------------------- */

@media only screen and (max-width:999px) {

	/* html
	----------------------------------------------- */
	
	html {
		height: 100%;
	}

	/* body
	----------------------------------------------- */
	
	body {
		height: 100%;
		background: #f5f5f5 url(../images/background@2x.png);
		background-size: 50px 50px;
	}
	
	/* main
	----------------------------------------------- */

	#main {
		position: relative;
		min-height: calc(100% - 70px);
	}
	#main .inner {
		margin: auto;
		max-width: 640px;
		min-height: 710px;
	}
	#main .articles {
		margin: 0 25px;
		padding: 50px 0;
	}
	#main article {
		margin: 25px 0 0;
		padding: 25px 0;
		border-radius: 10px;
		background: #fff;
	}
	#main article:first-child {
		margin: 0;
	}
	#main article h2 {
		margin: 0 25px;
		text-align: center;
	}
	#main article h2 img {
		height: auto;
		max-width: 100%;
	}
	#main article .summary {
		margin: 20px 25px 0;
		font-size: 15px;
		font-weight: 500;
		text-align: justify;
		line-height: 25px;
	}
	#main article .link {
		margin: 20px 0 0;
		text-align: center;
	}
	#main article .button,
	#main article .button:hover {
		display: block;
		margin: auto;
		width: 220px;
		height: 40px;
		color: #fff !important;
		font-size: 15px;
		font-weight: 600;
		text-align: center;
		text-decoration: none !important;
		line-height: 40px;
		border: 0;
		border-radius: 40px;
		box-sizing: border-box;
		outline: none;
		background: #ed7700;
		cursor: pointer;
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
	}
	#main article .button.rainbow {
		background: #e62d8c;
	}

	/* footer
	----------------------------------------------- */

	#footer {
		height: 70px;
		background: #fff;
	}
	#footer .inner {
		margin: auto;
		max-width: 640px;
	}
	#footer ul {
		margin: 0 25px;
	}
	#footer li {
		float: left;
		padding: 25px 0 0;
		width: 50%;
	}
	#footer li:last-child {
		padding: 32px 0 0;
		color: #8e8e8e;
		font-family: Arial;
		font-size: 11px;
		text-align: right;
	}

}

/* keyframes
----------------------------------------------- */

@keyframes bg {
	100% { background-position: 100px 0; }
}