@charset "UTF-8";

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

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

/* __ 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 __ */
.main {
	width: 700px;
	margin-top: 30px;
	padding-left: 20px;
	height: auto
	background: #fff;
    letter-spacing: 0.03em
}
.figure_p img{
	margin-right: 20px;
	margin-top: 20px;
	float: left;
	shape-outside; url(img_profile/portrait元.jpg)
}
h3 {
    text-align: left;
	margin-right: 110px;
	color: #444444;
	font-size: 1.2em;
	font-weight: 800;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif"
}
h5 {
	text-align: left;
	line-height: 1.4em;
	font-size: 0.89em;
	font-weight: 300;
	color: #3E3E3E;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif"
}
.main li {
	padding-left: 160px;
	margin-bottom: 60px;
	text-align: left;
	font-size: 0.8em;
	font-weight: 300;
	color: #3E3E3E;
	line-height: 1.4em;
	list-style: none;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif"
}
.aside{
	width: 300px;
	margin-top: 30px;
}
/* __ Footer __ */

footer{
	padding-top: 30px;
	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: 4px;
	}

	/* __ Contents __ */

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