@charset "UTF-8";

body{
	max-width: 1200px;
	margin: 0 auto;
	font-family: georgia,serif;
}

*,
*:before,

*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
a,a:hover,a:visited{
    color: background-color: transparent;;
}
a, a:link {
	color: #353535;
	text-decoration: none;
	transition: 0.3s ease-in-out;
}
a:hover {
	background-color: lightblue;
}
.gnav li:nth-child(1) {
	pointer-events: none;
}
img {
    max-width: 100%;
    height: auto;
    font-size: 1.1em;
}

/* __ Header __ */

header {
	padding: 1em;
	display: flex;
	flex-direction: column;
	background-color: #FFFFFF;
	align-items: center;
	font-family: 'Marck Script', cursive;
	font-size: 24px;
}
.gnav {
	display: flex;
	flex-wrap: wrap;
	margin-left: auto;
	list-style: none;
}
.gnav a {
	display: inline-block;
	flex-wrap: wrap;
	margin-left: 3px;
	padding: 10px;
	text-align: center;
}

/* __ Contents __ */

.sidebar, .main, footer {
	padding: 20px;
}
.main{
	text-align: center;
	margin-right: 20px;
}
h1{
	margin-top: 30px;
	font-weight:400;
	color: #666666;
	font-size: 37px;
	line-height: 1.8em;
	letter-spacing: 0.04em;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif"
}
.figure_p {
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	display: inline-block;
	margin-top: 20px;
	text-align: center;
	line-height: 1em;
	font-size: 0.8em;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif"
}
h6{
	font-size: 0.9em;
	font-weight: 400;
	margin-top: 105px;
	margin-right: 10px;
	letter-spacing: 0.15em;
}

.sidebar {
	width: 320px;
	height: 560px;
	background-color: #FFFFFF;

}
.sidebar img{
	margin-top: 240px;
}

/* __ Footer __ */

footer{
	padding-top: 46px;
	padding-bottom: 52px;
	text-align: center;
	background-color: #171717;
}


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

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

	/* __ Header __ */

	header{
		flex-direction: row;
	}
	.gnav a{
		padding: 8px 20px;
		display: block;
		font-size: 24px;
		border-radius: 6px;
	}
	footer{
		margin-top: 20px;
	}

	/* __ Contents __ */

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