@charset "utf-8";


/***** single *****/

#primary {
	text-align: left;
}

#primary .summary {
	width: 980px;
	min-height: 455px;
}
#primary .summary p.subtitle{
	padding-bottom: 0;
}
#primary .summary p.catname{
	display: inline-block;
	border-style: solid;
	border-width: 2px;
	border-radius: 2em;
	padding:0.5em 2em 0.36em;
	line-height: 1;
	margin-bottom: 0.5em;
}
#primary .summary .subtitle{
	margin-top: 1em;
	color:#666;
}
#primary .summary h3{
	margin-bottom:1em;
	font-weight: bold;
	font-size: 1.9em;
	line-height: 1.5em;
	text-align: left;
}
#primary .summary h4{
	border:none;
	padding:0;
	font-size:1em;
}
#primary .summary p.isbn{
	font-size:0.8em;
	line-height: 1;
	padding:0;
}
#primary .summary .attachment{
	width:350px;
	margin:0;
}

#primary .summary .textarea{
	width:calc(100% - 400px);
	position: relative;
}

#primary .summary .textarea .target{
	margin-bottom:2em;
	font-size:0.9em;
	align-items: center;
}
#primary .summary .textarea .target p{
	padding-bottom: 0;
	padding-right: 1em;
}
#primary .summary .textarea ul li{
	display: inline-block;
}

#primary .summary p {
	font-size: 1rem;
	line-height: 2.2em;
	padding-bottom: 1rem;
	text-align: justify;
	text-justify: inter-ideograph;
}
#primary .summary p.pages ,
#primary .summary p.price {
	padding-bottom: 0.5rem;
	color:#666;
	font-size: 0.9em;
	line-height: 1.8em;
}
#primary .summary p.sml9 {
	line-height: 1.6em;
}
#primary .summary .textarea li{
	border-radius: 100%;
	text-align: center;
	color:#fff;
	padding:1em;
	margin-right: 0.5em;
}

#primary .summary a.link {
	display: block;
	width:100%;
	text-align: center;
	color:#fff;
	padding:1em;
	margin: 15px 0;
	font-size: 1.05em;
	border-radius: 5px;
}

/* 2018年11月30日 listeningクラス追加 */
#primary .summary a.listening {
	display: block;
    width: 107%;
    text-align: center;
    color: #fff;
    padding: 1em 0.5em;
    margin-bottom: 10px;
    font-size: 1.05em;
    border-radius: 5px;
    background-color: #67b73d;
}
/*************************************/

#primary h4{
	font-size:1.1em;
	width: 100%;
	padding: 1rem 0 0.25rem;
	border-bottom: 1px solid #ccc;
	margin-bottom: 2rem;
}

#primary .elements {
	background-color:#f8f8f3;
}
#primary .elements h2{
	font-size:1.4em;
	padding:0.5em 0 2em;
	text-align: center;
}
#primary .element {
	margin-bottom:60px;
}
#primary .element .thumb{
	width:50%;
	background-color:#fff;
	padding:20px;
}
#primary .element .thumb.vertical{
	height: 320px;
}
#primary .element .thumb.horizon img{
	display: block;
	width:100%;
	height: auto;
	margin: 0 auto;
}
#primary .element .thumb.vertical img{
	display: block;
	width:auto;
	height: 100%;
	margin: 0 auto;
}
#primary .element .textarea{
	width: 45%;
	position: relative;
}


#primary .elements .textarea h3 {
	font-size:1.4em;
	display: block;
}
#primary .elements .textarea h3 > span{
	display: flex;
	justify-content: center;
	align-items: center;
	font-size:0.9em;
	width:2.6em;
	height: 2.6em;
	background-color:#ccc;
	border-radius: 100%;
	margin-bottom: 1em;
	color:#fff;
}
#primary .elements .textarea h3 span.sml{
	display: inline-block;
	font-size:0.6em;
	line-height: 1em;
	height:1em;
	margin-left: 0.25em;
}
#primary .element .textarea p{
	font-size: 1rem;
	line-height:2.2em;
	padding-bottom:1em;
}
#picturebooks .ohanashi #primary .elementslist,
#picturebooks .kagaku #primary .elementslist{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
#picturebooks .ohanashi #primary .elementslist .element.flex,
#picturebooks .kagaku #primary .elementslist .element.flex{
	display: block;
	width:31%;
}
#picturebooks .ohanashi #primary .elementslist .element.flex .thumb,
#picturebooks .kagaku #primary .elementslist .element.flex .thumb{
	width:100%;
	margin-bottom: 20px;
}
#picturebooks .ohanashi #primary .elementslist .element.flex .textarea,
#picturebooks .kagaku #primary .elementslist .element.flex .textarea{
	width:100%;
}
#picturebooks .sougou #primary .elementslist {
	counter-reset: number 0;
}
#picturebooks .sougou #primary .elementslist .element.flex .textarea {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
}
#picturebooks .sougou #primary .elementslist .element.flex .textarea h3{
	display: block;
	width:100%;
	font-size:1.6em;
	margin-bottom: 1em !important;
	color: #67b73d;
}
#picturebooks .sougou #primary .elementslist .element.flex .textarea::before {
	content: 'POINT';
	display: block;
	width: 4.3em;
	height: 1.8em;
	position: absolute;
	top: 5px;
	left: 0;
	text-align: center;
	line-height: 1;
	border-bottom: 1px solid #000;
}


#picturebooks .sougou #primary .elementslist .element.flex .textarea::after {
	counter-increment: number 1;
	content: "0" counter(number);
	display: block;
	position: absolute;
	font-size: 3.4em;
	line-height: 1.3em;
	top: 40px;
	left: 0;
	padding: 0;
	margin: 0;
	height: 1em;
}

#picturebooks main nav.navigation {
	padding: 20px 0 10px;
}
#picturebooks main nav.navigation .nav-links a{
	color:#000;
	background-color:#f0d921;
}


/*----------- lightbox -----------*/
#lBox{
	width:1000px;
}
#trybookBox{
	padding:30px;
}
#trybookBox iframe{
	width:100%;
	height: 630px;
}


/* -------------------- smart phone  -------------------- */

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

	/***** single *****/
	#primary .summary {
		width: 100%;
		min-height: 0;
		padding:20px 0 0;
	}
	#primary .summary .attachment{
		width:60%;
		margin: 0 auto 2em;
	}

	#primary .summary .textarea{
		width:90%;
		margin: 0 auto;
	}
	#primary .summary h3{
		padding: 0.5em 0;
		margin-bottom: 0.5em;
		font-size: 1.3em;
		text-align: left;
	}
	#primary .summary p {
		font-size: 1em;
		line-height: 1.8em;
		padding-bottom: 1rem;
	}
	#primary .summary p.sml9 {
		margin-top: 2em;
		line-height: 1.6em;
	}

	#primary .summary a.link {
		width:100%;
		padding:0.7em 0.5em;
		margin: 10px 0;
	}

/*
	#primary h4{
		width: 100%;
		padding: 1rem 0 0.25rem;
	}
*/

	#primary .elements h2{
		font-size: 1.3em;
		line-height: 1.5em;
	}
	#primary .element {
		margin-bottom:40px;
	}
	#primary .element .textarea{
		width:100%;
	position: relative;
}
	
	#primary .element .thumb{
		width:100%;
		padding:10px;
	}
	#primary .element .thumb.vertical{
		width: 70% !important;
		height: auto;
		margin: 0 auto;
	}
	#primary .element .thumb.horizon img,
	#primary .element .thumb.vertical img{
		display: block;
		width:100%;
		height: auto;
		margin: 0 auto;
	}
	#primary .elements .textarea h3 {
		margin-bottom: 0.5em;
		position: relative;
		padding: 0.7em 0 0.7em 3em;
		line-height: 1.5em;
	}
	#primary .elements .textarea h3 > span{
		position: absolute;
		left: 0;
		top: calc(50% - 1.3em);
	}

	#picturebooks .ohanashi #primary .elementslist .element.flex,
	#picturebooks .kagaku #primary .elementslist .element.flex{
		width:100%;
	}
	#picturebooks .ohanashi #primary .elementslist .element.flex .thumb,
	#picturebooks .kagaku #primary .elementslist .element.flex .thumb{
		margin-bottom: 10px;
	}
/*
	#picturebooks .sougou #primary .elementslist .element.flex .textarea {
		
	}
	#picturebooks .sougou #primary .elementslist .element.flex .textarea::before {
		content: 'POINT';
		display: block;
		width: 4.3em;
		height: 1.8em;
		position: absolute;
		top: 5px;
		left: 0;
		text-align: center;
		line-height: 1;
		border-bottom: 1px solid #000;
	}

	#picturebooks .sougou #primary .elementslist .element.flex .textarea::after {
		counter-increment: number 1;
		content: "0" counter(number);
		display: block;
		position: absolute;
		font-size: 3.4em;
		line-height: 1.3em;
		top: 40px;
		left: 0;
		padding: 0;
		margin: 0;
		height: 1em;
	}
*/


	#picturebooks .sougou #primary .elementslist .element.flex .textarea {
		width:100%;
		padding-top: 1.5em;
		padding-left: 5em;
		padding-bottom: 0;
		display: block;
	}
	#picturebooks .sougou #primary .elementslist .element.flex .textarea h3{
		padding:0;
		margin-bottom: 0.5em !important;
	}
	#picturebooks .sougou #primary .elementslist .element.flex .textarea::before {
		width: 3.5em;
		height: 1.5em;
		top: 20px;
		left: 0;
	}
	#picturebooks .sougou #primary .elementslist .element.flex .textarea::after {
		display: block;
		font-size:2.6em;
		top:45px;
		left:0;
		height:1em;
	}


	/*----------- lightbox -----------*/
	#lBox{
		width:100%;
	}
	#trybookBox{
		padding:10px;
	}
	#trybookBox iframe{
		width:100%;
		height: 100vh;
	}


}