/* MAIN TITLE */
#main-title h1 {
	font-weight: 400;
}

#main-title p {
	font-weight: 400;
}

/* MAGAZINE */
#magazine {
	padding-top: 15px;
	padding-bottom: 40px;
}

#magazine header {
	/* background-color: #fff;
	border-top: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-bottom: 1px dotted #ddd; */
	padding-top: 20px;
	padding-bottom: 15px;
	display: block;
	box-sizing: border-box;
}

#magazine header * {
	/* max-width: 690px; */
	margin-left: auto;
	margin-right: auto;
}

#magazine header h1 {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.4;
	text-align: left;
}

#magazine header ul {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	text-align: left;
}

#magazine header ul li {
	display: inline-block;
}

#magazine header ul li:first-child {
	padding-right: .5em;
}

#magazine header ul li:last-child {
	display: block;
	text-align: right;
}

#magazine article {
	margin: 0 auto;
	padding-top: 0px;
	background-color: #fff;
	/* border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd; */
	font-size: 18px;
	box-sizing: border-box;
	padding-bottom: 25px;
}

#magazine article pre {
	white-space: pre-wrap;
	margin: 0 auto;
	max-width: 690px;
	/* 18px * 38文字 = 684px */
	padding: 0;
	display: block;
	float: none;
	line-height: 1.65;
}

article footer ul {
	text-align: center;
}

article footer ul p {
	font-size: 16px;
}

article footer ul form p {
	font-size: 16px;
}

article footer ul li {
	padding-top: 25px;
	padding-bottom: 25px;
}

article footer ul .button {
	margin-top: 1em;
}

article footer ul li:first-child {
	border-top: 1px dotted #ddd;
}

article footer ul li:last-child {
	background-color: #fee0ef;
}

article footer ul p span {
	display: inline-block;
}

article footer form+p {
	margin-top: 10px;
}

#magazine ul.pagenation {
	margin: 10px auto 0;
	display: flex;
	justify-content: space-between;
	-js-display: flex;
	display: -ms-flexbox;
	-ms-flex-pack: justify;
}

.pagenation li {
	width: calc(50% - 1px);
	overflow: hidden;
}

.pagenation li a {
	font-weight: 700;
	display: block;
	box-sizing: border-box;
	padding: 15px 40px;
	height: 100%;
	position: relative;
	text-align: center;
	border: 1px solid #eee;
}

.pagenation li a:hover {
	background-color: #fee0ef;
}

.pagenation li a:after {
	position: absolute;
	content: "";
	background-image: url("/images/button_arrow_black.svg");
	background-repeat: no-repeat;
	top: calc(50% - 5px);
	width: 11px;
	height: 19px;
	background-size: contain;
	transition: all 0.2s ease 0s;
}

.pagenation li a:hover:after {
	background-image: url("/images/button_arrow_hover.svg");
}

.pagenation li:first-child a:after {
	left: 14px;
	transform: rotateY(-180deg);
}

.pagenation li:last-child a:after {
	right: 14px;
}

.pagenation li a span {
	display: block;
	margin-top: .25em;
	font-weight: 400;
	text-align: left;
}

aside.share h1 {
	text-align: center;
	margin-top: 30px;
	font-size: 18px;
	font-weight: 400;
}

.share ul.sns {
	margin-top: 15px;
}

#magazine aside.share:first-child {
	margin-bottom: 20px;
}

#magazine aside#profile {
	display: block;
	margin-top: 30px;
	background-color: #fff;
	padding: 20px;
	box-sizing: border-box;
	position: relative;
	z-index: 2;
}

aside#profile:before {
	content: "";
	background-color: #f4f4f4;
	width: 100vw;
	height: 100%;
	left: calc(50% - 50vw);
	position: absolute;
	top: 0;
	z-index: -1;
}

#profile img {
	display: block;
	float: left;
	margin: 0 auto;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background-color: #fff;
}

#profile>dl {
	margin-top: 15px;
	text-align: left;
	padding-left: 205px;
}

#profile>dl>dt {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
}

#profile>dl>dd:nth-child(2) {
	line-height: 1.25;
}

#profile>dl>dd:nth-child(3) {
	margin-top: 15px;
	line-height: 1.6;
}

#profile>dl>dd:nth-child(4) {
	margin-top: 15px;
}

/* #profile dl dd .button{ margin:0 auto 0 0; }*/
#profile dl dl {
	padding: .75em 0 0;
	border-top: 1px dotted #222;
	font-size: 16px;
	line-height: 1.75;
}

#profile dl dl dt {
	float: left;
	clear: left;
}

#profile dl dl dt:after {
	content: ":";
	margin-left: .25em;
	margin-right: .25em;
}

#profile dl dl dd {
	text-align: left;
}

#profile .profile-contact {
	margin-top: 20px;
}

/* for mobile devices -767px ----------------------------------------*/
@media screen and (max-width:767px) {
	#main-title h1 {
		padding-top: 10px;
		line-height: 1.4;
		font-size: 14px;
	}

	#main-title p {
		display: none;
	}

	#main-title p.free {
		position: absolute;
		top: 35vw;
		margin: 0;
		width: 100%;
	}

	#magazine {
		padding-top: 0;
		padding-bottom: 0;
		margin-top: 0;
		background-color: #fff;
	}

	#magazine header {
		width: 100%;
		margin-top: 0;
		padding: 0 4% 15px;
		border: none;
		border-bottom: 1px solid #ddd;
	}

	#magazine header h1 {
		margin: 5px 0 10px;
		font-size: 22px;
	}

	#magazine header ul li {
		display: block;
	}

	#magazine header ul li:last-child {
		text-align: left;
	}

	#magazine article {
		margin-top: 10px;
		padding-top: 0;
		font-size: 16px;
		border: none;
	}

	#magazine article pre {
		white-space: pre-wrap;
		margin: 0 auto;
	}

	#magazine article footer ul {
		box-sizing: border-box;
		width: 100vw;
		margin-left: calc(50% - 50vw);
	}

	#magazine article footer ul li {
		padding-left: 4%;
		padding-right: 4%;
		box-sizing: border-box;
	}

	article footer ul p {
		font-size: 14px;
	}

	#magazine ul.pagenation {
		border-top: 1px solid #ddd;
		margin: 0;
		width: 100%;
		box-sizing: border-box;
		flex-direction: column-reverse;
		-ms-flex-direction: column-reverse;
	}

	.pagenation li {
		width: 100%;
	}

	.pagenation li a {
		border: none;
		border-bottom: 1px solid #ddd;
		padding: 15px;
		height: auto;
	}

	.pagenation li a:after {
		display: none;
	}

	#magazine aside#profile {
		padding: 40px 4% 20px;
		width: 100%;
		background-color: #f4f4f4;
	}

	aside#profile:before {
		display: none;
	}

	#profile img {
		display: block;
		float: none;
		margin: 0 auto;
		width: 180px;
		height: 180px;
	}

	#profile>dl {
		padding-left: 0;
		margin-top: 15px;
		text-align: center;
	}

	#profile>dl>dt {
		font-size: 22px;
	}

	#profile>dl>dd:nth-child(3) {
		text-align: left;
		margin-top: 20px;
	}

	#profile>dl>dd:nth-child(4) {
		margin-: 20px auto 0;
	}

	/* #profile > dl > .button{ margin:0 auto; }*/
	img.thumbnail {
		max-width: 100%;
	}
}

/* for mobile devices -500px -----------------------------------------*/
@media screen and (max-width:500px) {
	#magazine header {
		padding-left: 3%;
		padding-right: 3%;
	}

	#magazine header h1 {
		font-size: 20px;
	}

	#magazine article footer ul li {
		padding-left: 3%;
		padding-right: 3%;
	}

	#magazine aside#profile {
		padding-left: 3%;
		padding-right: 3%;
	}

	img.thumbnail {
		max-width: 100%;
	}
}