@charset "UTF-8";

body{
	font-size: 1em;
	line-height: 1.6em;
	font-family: georgia,serif;
	color: #222;
}
*,
*:before,
*:after {
	box-sizing: border-box;
}
a, a:link{
	color: #222;
	text-decoration: none;
	transition: 0.3s ease-in-out;
}

a:visited{
	color: #000;
}
img{
	max-width: 100%;
	height: auto;
}

/* __ Header __ */
header {
	padding: 1em;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: linear-gradient(45deg, #A71A1A, #FF0053, #830727);
	background-size: 600% 600%;
	animation: GradientBackground 10s ease infinite;
}

@keyframes GradientBackground {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
};


.logo{

}
.logo a{
	color: #fff;
	text-align: center;
	font-size: 30px;
}
.logo a:hover{
	color: rgb(14, 9, 4);
}
.gnav{
	display: flex;
}
.gnav a{
	display: block;
	padding: 10px;
	font-size: 22px;
}

.gnav2{
	display: flex;
}
.gnav2 a{
	display: block;
	padding: 10px;
	font-size: 22px;
	font-family: 'M PLUS 1p', sans-serif;
    color: #f6efdb;
}
.gnav2 a:hover{
	color: rgb(14, 9, 4);
}

.big-bg {
	background-size: cover;
}

#home {
	background-image: url(../images/000620716.jpg);
	min-height: 100vh;
}
/* __ Contents __ */

.container p:not(:last-child){
	margin-bottom: 1.5em;
}
.sidebar, .main, footer{
	
	padding: 20px;
}
.sidebar{
	background-color: #ccc;
}
.main{
	background-color: rgb(214, 185, 147);
}
.main h2{
	font-size: 40px;
	padding: 10px 10px 30px;
}
.main p{
	font-size: 22px;
	padding-left: 10px;
	padding-bottom: 5px;
}
.sidebar-nav li a{
	display: block;
	width: 300px;
	margin-bottom: 0.5em;
	padding-bottom: 0.5em;
	border-bottom: 1px solid #ddd;
}

/*__ Tiles __*/

.tiles{
	margin-bottom: 1em;
}
.tiles li{
	margin-bottom: 1em;
	padding: 20px;
	border-radius: 30px;
	background-color: rgb(255, 112, 29);
}

/* __ Footer __ */

footer{
	text-align: center;
	color: #fff;
	
}

footer {
	background: linear-gradient(45deg, #A71A1A, #FF0053, #830727);
	background-size: 600% 600%;
	animation: GradientBackground 10s ease infinite;
}






/* Media queries
-------------------------------------------------------*/

@media screen and (min-width : 768px) { /* デスクトップ用CSS */

	/* __ Header __ */

	header{
		flex-direction: row;
	}
	.logo{
		margin: 0 auto 0 0;
	}
	.gnav a{
		padding: 10px 22px;
		display: block;
		font-size: 24px;
		border-radius: 4px;
	}

	/* __ Contents __ */

	.container{
		display: flex;
	}
	.sidebar{
		width: 300px;
	}
	.main{
		flex: 1;
		order: 2;
	}

	/*__ Tiles __*/

	.tiles{
		display: flex;
		justify-content: space-around;
	}
	.tiles li{
		margin-left: 15px;
	}
	.tiles img{
		height: 100%;
	} 

	.tiles2 li{
		margin-left: 20px;
		width: calc( 100% - 10px);
	}

	.tiles3 {
		display: flex;
		flex-wrap: wrap;
	}
	.tiles3 li{
		margin-bottom: 20px;
		width: calc( 40% - 10px);
	}
.tiles3 p{
	margin-top:100px;
	font-size: 1.5rem;
}
.tiles4 {
	display: flex;
	flex-wrap: wrap;
}
	.tiles4 li{
		margin-bottom: 20px;
		margin-right: 40px;
		width: calc( 40% - 10px);
	}
	.tiles4 h3{
		margin-top: 50px;
		margin-left: 10px;
		font-size: 1.5rem;
	}
.tiles4 p{
	margin-top:10px;
	font-size: 1.5rem;
	letter-spacing: 5px;
}
.tiles4 p span{
	color: #FF0053;
}
.tiles4 img{
	height: 50%;
	margin-left: 10px;
}
}










