@charset "UTF-8";

/*
Theme Name: book
Description: book オリジナルテンプレート
Author: okada
Version: 1.0
*/

html {
	background: #fff;
	color: #000;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-smoothing: antialiased;
	font-variant-ligatures: none;
	font-feature-settings: 'palt';
  -ms-touch-action: manipulation;
  touch-action: manipulation;
	font-size: 62.5%;
}

@media screen and (max-width: 374px) {
	html {
		font-size: 56.3%;
	}
}

body,
div,
dl,dt,dd,
ul,ol,li,
h1,h2,h3,h4,h5,h6,
form,input,textarea,button,
select,
p,
blockquote {
	margin: 0;
	padding: 0;
}

body {
	background: #fff;
	color: #000;
	font-family: obliqua, zen-kaku-gothic-new, 'YuGothic', 'Yu Gothic','游ゴシック', 'Hiragino Sans', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', Meryo, 'メイリオ', Osaka, 'ＭＳ Ｐゴシック', 'MS P Gothic', sans-serif;
	font-size: 1.6rem;
	line-height: 1;
	-webkit-text-size-adjust: 100% !important;
	display: flex;
	flex-direction: row;
	min-height: 100vh;
}

nav {
	width: 5%;
	padding-top: 20px;
	box-sizing: border-box;
	position: relative;
}
nav ul {
	width: 30px;
	float: right;
}
nav li {
	margin-bottom: 4px;	
}
nav li a {
	display: block;
	width: 30px;
	height: 80px;
	text-decoration: none;
	font-size: 12px;
	text-align: center;
	line-height: 30px;
	background: #f7f7f7;
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
	-o-writing-mode: vertical-rl;
	writing-mode: vertical-rl;
	white-space: nowrap;
}

main {
	width: 95%;
	min-height: 100vh;
	background: #f7f7f7;
	box-sizing: border-box;
}

@media screen and (max-width: 800px) {
	
	body {
		flex-direction: column;
	}

	nav {
		width: 100%;
		height: 40px;
		padding-top: 10px;
		padding-left: 10px;
	}
	nav ul {
		width: auto;
		float: none;
	}
	nav li {
		display: inline-block;
		vertical-align: top;
		margin-bottom: 0;	
	}
	nav li a {
		width: 60px;
		height: 30px;
		line-height: 30px;
		-webkit-writing-mode: horizontal-tb;
		-ms-writing-mode: horizontal-tb;
		-o-writing-mode: horizontal-tb;
		writing-mode: horizontal-tb;
	}

	main {
		width: 100%;
	}
	
}

/* content */


header {
	padding: 120px 0 0;
	background: #c7e1ea;
	text-align: center;
}
header h1 {
	font-size: 2rem;
}

.cover_list {
	margin: 100px auto 0;
	display: table;
}
.cover_list li {
	display: table-cell;
	vertical-align: bottom;
	padding: 0 10px;
	text-align: center;
	box-sizing: border-box;
	text-align: center;
}
.cover_list li > img {
	float: left;
}
.cover_list a img {
	width: auto;
	height: auto;
	display: block;
	margin: 0 auto;
	max-width: 180px;
	max-height: 180px;
}

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

	.cover_list li {
		padding: 0 1vw;
	}
	.cover_list a img {
		max-width: 20.5vw;
		max-height: 20.5vw;
	}

}

img {
	border: 0;
	vertical-align: top;
}

img[src$=".svg"] {
	width: 100%;
	height: auto;
}

address,caption,cite,code,dfn,em,th,var {
	font-style: normal;
	font-weight: normal;
}

strong{
	@include bold;
}

ul li,
ol li {
	list-style: none;
}

h1,h2,h3,h4,h5,h6 {
	font-size: 100%;
	font-weight: normal;
}

q:before,
q:after{
	content: '';
}

hr {
	height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-top: 1px solid #ccc;
}

input,
textarea,
select {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
}

input[type="text"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="Email"],
input[type="email"],
input[type="password"],
input[type="submit"],
button,
textarea {
	vertical-align: top;
	*font-size: 100%;
	-webkit-appearance: none;
	outline: none;
	&:focus {
		outline: none;
	}
}

input[type="text"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="Email"],
input[type="email"],
input[type="password"],
input[type="file"],
textarea,
select {
	font-family:  'YuGothic', 'Yu Gothic','游ゴシック', 'Hiragino Sans', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', Meryo, 'メイリオ', Osaka, 'ＭＳ Ｐゴシック', 'MS P Gothic', sans-serif;
}

input[type="file"],
select {
	*font-size: 100%;
}

::placeholder {
	color: #b0b0b0;
}

iframe {
	border: none;
}

a {
	cursor: pointer;
	text-decoration: underline;
	color: #000;
	&:hover {
		text-decoration: none;
	}
}

.cf:before,
.cf:after {
  content: " ";
  display: table;
}

.cf:after {
  clear: both;
}

.cf {
  *zoom: 1;
}

.indent {
	padding-left: 1em;
	text-indent: -1em;	
}

main.person_list {
	text-align: center;
	padding: 80px 5% 50px;	
}

main.person_list .list {
	position: relative;
}

main.person_list .list section {
	width: 300px;
	box-sizing: border-box;
	padding: 0 20px 30px;
	text-align: left;
}
@media screen and (max-width: 666px) {
	main.person_list .list section { width: 100%; }
}

main.person_list h2 {
	font-weight: bold;
	font-size: 1.6rem;
	position: relative;
	padding-left: 30px;
}
main.person_list h2::before {
	content: '';
	display: block;
	width: 20px;
	height: 1em;
	position: absolute;
	left: 0;
	top: 0;
	background-repeat: no-repeat;
	background-position: center top;
	background-size: contain;
}
main.person_list h2.us::before {	background-image: url('img/flag/us.svg'); }

main.person_list h2.uk::before {	background-image: url('img/flag/uk.svg'); }
main.person_list h2.it::before {	background-image: url('img/flag/it.svg'); }
main.person_list h2.at::before {	background-image: url('img/flag/at.svg'); }
main.person_list h2.nl::before {	background-image: url('img/flag/nl.svg'); }
main.person_list h2.ch::before {	background-image: url('img/flag/ch.svg'); }
main.person_list h2.de::before {	background-image: url('img/flag/de.svg'); }
main.person_list h2.fr::before {	background-image: url('img/flag/fr.svg'); }
main.person_list h2.be::before {	background-image: url('img/flag/be.svg'); }
main.person_list h2.hu::before {	background-image: url('img/flag/hu.svg'); }
main.person_list h2.pl::before {	background-image: url('img/flag/pl.svg'); }
main.person_list h2.se::before {	background-image: url('img/flag/se.svg'); }
main.person_list h2.no::before {	background-image: url('img/flag/no.svg'); }
main.person_list h2.ir::before {	background-image: url('img/flag/ir.svg'); }

main.person_list h2.jp::before {	background-image: url('img/flag/jp.svg'); }

main.person_list ul {
	border-top: 1px solid #ddd;
	padding-top: 20px;
	margin-top: 20px;
}
main.person_list ul .name1 {
	display: inline-block;
	text-decoration: underline;
	font-size: 1.4rem;
	line-height: 1.5;
	margin-right: .5em;
}
main.person_list ul .name2 {
	display: inline-block;
	text-decoration: none;
	font-size: 1.1rem;
	color: #999;
}
main.person_list ul li + li {
	margin-top: 15px;
}

main.person {
	display: table;
}

main.person .biography {
	display: table-cell;
	vertical-align: top;
	width: 400px;
	box-sizing: border-box;
	padding: 40px;
}
main.person .book {
	display: table-cell;
	vertical-align: top;
	box-sizing: border-box;
	padding: 40px;
	background: #fff;
}

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

	main.person {
		display: block;
	}
	main.person .biography {
		display: block;
		width: auto;
		box-sizing: border-box;
		padding: 40px 10%;
	}
	main.person .book {
		display: block;
		padding: 40px 0;
	}

}

.biography .name {
}
.biography .name .main {
	display: block;
	font-size: 2rem;
	font-weight: bold;
	margin-bottom: 10px;
}
.biography .name .sub {
	display: block;
	font-size: 1.4rem;
	color: #999;
}
.biography .year {
	margin-top: 14px;
	color: #999;
}
.biography .content {
	margin-top: 10px;
	font-size: 1.4rem;
	line-height: 1.75;
}
.biography .book_list {
	margin-top: 40px;
}

.original_list {
	width: 100%;
	margin-top: 40px;
	border-top: 1px solid #eee;
}
.original_list li {
	padding: 10px 0;
	border-bottom: 1px solid #eee;
	display: table;
	width: 100%;
}
.original_list .img {
	display: table-cell;
	vertical-align: middle;
	width: 50px;
	height: 50px;
	text-align: center;
	position: relative;
}
.original_list .img > img {
	float: left;
}
.original_list .img a img {
	width: auto;
	height: auto;
	max-width: 50px;
	max-height: 50px;
}
.original_list .img .none {
	display: block;
	width: 80%;
	height: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #fff;
	font-size: 10px;
	color: #999;
}
.original_list .txt {
	display: table-cell;
	vertical-align: middle;
	padding-left: 10px;
}
.original_list .ttl {
	font-size: 1.2rem;
	line-height: 1.5;
}
.original_list .jp {
	color: #666;
	font-size: 1rem;
	line-height: 1.5;
}

.book_list {
	margin-right: -10px;
	margin-bottom: -10px;	
}
.book_list li {
	display: inline-block;
	vertical-align: top;
	margin-right: 10px;
	margin-bottom: 10px;
}

.detail_list {
	margin: 0 auto;
	text-align: left;
	width: 90%;
	max-width: 800px;
}

.detail_list > li {
	display: table;
	width: 100%;
}
.detail_list > li + li {
	border-top: 1px solid #ddd;
	margin-top: 20px;
	padding-top: 20px;
}
.detail_list .img {
	display: table-cell;
	vertical-align: top;
	width: 180px;
	text-align: center;
}
.detail_list .img > img {
	float: left;
}
.detail_list .img a img {
	width: auto;
	height: auto;
	display: inline-block;
	vertical-align: top;
	max-width: 180px;
	max-height: 180px;
}

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

	.detail_list .img {
		width: 120px;
	}
	.detail_list .img img {
		max-width: 120px;
		max-height: 120px;
	}

}

.detail_list .detail {
	display: table-cell;
	vertical-align: top;
	padding-left: 20px;
}
.detail_list .ttl {
	font-weight: bold;
	line-height: 1.75;
}
.detail_list .author {
	margin-top: 10px;
	font-size: 1.2rem;
	line-height: 1.5;
}
.detail_list .author li {
	display: inline-block;
	margin-right: .5em;
}
.detail_list .author li:last-child {
	margin-right: 0;
}
.detail_list .author li .role::after {
	content: '・';
}
.detail_list .author li .role:last-of-type::after {
	content: ': ';
}
.detail_list .publish {
	margin-top: 10px;
	font-size: 1.2rem;
}
.detail_list .publish .year {
	display: inline-block;
}
.detail_list .publish .publisher {
	display: inline-block;
	margin-left: .5em;
}

/* top */

main.top .detail_list {
	padding: 100px 0;
}

/* tag */

main.tag.index {
	padding: 10%;
}
main.tag.index .ttl {
	margin-bottom: 40px;
	font-weight: bold;
	font-size: 2rem;
}

main.tag.single {
	display: table;
}
main.tag.single .menu {
	display: table-cell;
	vertical-align: top;
	padding: 80px 30px;
	box-sizing: border-box;
	width: 30%;
}
main.tag.single .menu .ttl {
	font-weight: bold;
	font-size: 2rem;
	margin-bottom: 20px;
}

main.tag .list {
	display: table-cell;
	vertical-align: top;
	padding: 80px 5%;
	background: #fff;
}
main.tag .list h1 {
	font-weight: bold;
	font-size: 2rem;
	margin-bottom: 40px;
}
main.tag .list h1 span {
	font-size: 1.5em;
}

main.tag.index .wp-tag-cloud {
	line-height: 40px;
}
main.tag.single .wp-tag-cloud {
	line-height: 30px;
}
.wp-tag-cloud li {
	display: inline-block;
	margin-right: .5em;
}
.wp-tag-cloud a {
	text-decoration: none;
}

/* about */

main.about {
	padding: 10%;
}
main.about > h1 {
	font-weight: bold;
	font-size: 2rem;
	margin-bottom: 40px;
}
main.about p {
	font-size: 1.4rem;
	line-height: 2;
}