@charset "UTF-8";
/*===============================================
　CSS Reset
===============================================*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
* {
  margin: 0;
  padding: 0;
  }

/*===============================================
　CSS
===============================================*/

html * {
    box-sizing: border-box;
}

body {
    font-size: 18px;
    font-family: "Shimanami JIS2004", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    letter-spacing: 0.5px;
    color: #2c2c2c;
    background-color: #FFFFFF;
}

.container .contents{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.container .contents:nth-of-type(1){
    background-image: url(img/title.jpg);
}

.container .title{
    color: #fff;
    font-weight: bold;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.top_wrap {
    background-color: rgba(0,0,0,0.4); /*カラーコードで指定してopacityを指定した場合、中のテキストまで不透明度が下がるため、こちらで指定。*/
    padding: 30px 20px 20px 20px;
    
}
h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
}

.title_text{
    color: #fff;
    font-family: "Shimanami JIS2004", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    font-size: 22px;
    text-align: center;
    padding: 0 20px;
    margin-bottom: 20px;
}

h2 {
    margin: 100px 0px 0px 100px;
    font-size: 28px;
}

p {
    margin: 50px 50px 50px 50px;
}

/*===============================================
　本
参考：https://blog.raizzenet.com/mouse-hover-caption-effects-in-css/#i-sample3
===============================================*/
.book_wrapper {
    
}

.book_item {
	overflow:		hidden;
	position:		relative;
    margin-top: 100px;
}
.book_item .caption {
	color:			#fff;
	padding: 25px 10px 0 0;
}
.book_item .mask {
	width:			100%;
	height:			100%;
	position:		absolute;
	top:			0;
	left:			0;
	opacity:		0;	/* マスクを表示しない */
	background-color:	rgba(0,0,0,0.7);
	-webkit-transition:	all 0.6s ease;
	transition:		all 0.6s ease;
}

.caption {
    margin: 5px 5px 5px 5px;
    font-family: "NOW-GM", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}
.book_item:hover .mask {
	opacity:		1;	/* マスクを表示する */
	padding-left:		23px;	/* 右にずらす */
}

.caption A {
    text-decoration:none;
}

.caption A:link {
    color: #ffffff;
}

.caption A:visited {
    color: #ffffff;
    }

.caption A:hover {
    color: #ffffff;
}

.book_title {
    margin: 0 0 20px 0;
    font-size: 20px;
    line-height: 28px;
}

.detail {
    font-size: 16px;
    line-height: 22px;
}

.amazon {
    width: 80vw;
    object-fit: cover;
}

.part1 {
    width: 100%;
    background-color: aliceblue;
    padding: 100px 0 100px 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.part2 {
    width: 100%;
    background-color: beige;
    padding: 100px 0 100px 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

footer {
    height: 300px;
    margin-top: 100px;
}

/*===============================================
　パソコン用ページ
===============================================*/
@media screen and (min-width: 768px) {
    
.book_item {
    overflow: hidden;
    position: relative;
}
.container .title{
    font-size: 50px;
    margin-bottom: 25px;
}

.container .text{
    font-size: 18px;
}
    
.amazon {
    width: 20vw;
}
    
}

