html{
	font-size:14px;
    color:#444;
    line-height:1.5em;
	font-family: 'Hiragino Kaku Gothic ProN', Meiryo, 'MS PGothic', Sans-serif;
}
.wrapper {
    width:100%;
    height:100%;
    position: relative;
    z-index: 10;
    background-image: url(img/back.jpg), url(img/back.jpg);
    background-repeat: no-repeat, no-repeat;
    background-position: left bottom, right bottom;
    background-attachment: fixed, fixed;
    background-size: 50%, 50%;
}
a:link, a:visited {
	color:#0199F7;
}
a:hover {
	color:#839CF9;
}
div#content{
    width:900px;
    margin:auto;
}
header img {
	vertical-align:bottom;
}

@media screen and (max-width: 768px) {
	div#content{
		width:100%;
	}
	header {
		height:auto;
	}
	header img {
		width:100%;
		vertical-align:bottom;
	}
}
/****************global*/

a:focus {
	outline:none;
	border:none;
	text-decoration:none;
}
p{
	margin:0.5em 0;
}
.hidden{
	display:none;
}

/****************nav*/

nav {
    width:900px;
}
ul.shotlink, ul.pagelink{
    text-align:center;
    margin: 0 auto;
}
ul.pagelink {
    width:880px;
    overflow: hidden;
    display:block;
    background-color: #344c9b;
    height:100px;
    padding-left:20px;
}
ul.pagelink li{
    float:left;
    margin: 0;  
}
ul.pagelink a {
	text-decoration:none;
}
ul.pagelink a:hover {
	opacity:0.6;
}
ul.pagelink a img {
    margin-top:25px;
}
ul.shotlink {
    background-color: #fff;
    height: 100%;
    display: block;
    padding: 15px 0;
}
ul.shotlink li a:link, ul.shotlink li a:visited {
    display:block;
    color:#1c0202;
    padding:20px;
    font-size: 20px;
    text-decoration: none;
    background-color: #F1F410;
    width: 80%;
    margin: 0 auto;
}
ul.shotlink li a:hover {
    opacity:0.6;
}

@media screen and (max-width: 768px) {
    nav {
        width:100%;
    }
	ul.pagelink {
        overflow: hidden;
		font-size:18px;
        width:100%;
        height:auto;
        padding:0;
        padding-bottom: 20px;
        padding-top: 5px;
	}
	ul.pagelink li {
        display: block;
        float:left;
		margin:0;
		height:29px;
	}
    ul.pagelink li a img {
        height:100%;
        margin: 5px 0;
    }
    ul.shotlink {
        width:100%;
    }
    ul.shotlink li {
        font-size: 20px;
        padding:3%;
    }
}

/****************section*/


section{
    display:block;
    width:100%;
	height:auto;
    padding:40px 0 10px;
	margin:0 auto;
    background-color:#ffffff;
}
section h1 {
    margin: 0;
    padding: 0 30px;
    color: #fff;
    font-size: 24px;
    text-align: center;
}
section h1 img {
    width:800px;
}

@media screen and (max-width: 768px) {
	section {
		width:100%;
		height:auto;
        margin: 0 auto;
        padding-bottom: 5%;
        padding-top:10px;
	}
	section h1 {
		width:100%;
        padding:0;
        overflow: hidden;
	}
    section h1 img {
        width: 150%;
        margin-left: 3%;
    }
}


/****************books*/

.catch {
    text-align: left;
    font-family: 'Hiragino Mincho ProN', HG明朝E, 'ＭＳ Ｐ明朝', serif;
    color:#07B1C6;
    font-size:18px;
    line-height:1.4;
}
.book{
	width:900px;
	text-align: left;
	margin: 30px auto;
	overflow: hidden;
}
.cover img {
	border:solid 1px #333;
	width:250px;
    margin-top:15px;
}
.cover {
	float:left;
	display:block;
	width: 300px;
    text-align: right;
}
.discription {
	float:left;
	display:block;
	width: 560px;
    margin-left: 30px;
    vertical-align: top;
    overflow: hidden;
}
.discription p {
	margin-bottom:20px;
}

.discription .tameshi {
	font-size:18px;
}
.cover, .discription {
	margin-top:0px;
}
.animate .cover img {
	border:none;
	width:300px;
}
p.title {
    font-size:20px;
	font-weight:bold;
    margin-bottom:0;
    margin-left:0;
    margin-top:20px;
    color:#2066C4;
}
p.writer {
    margin-top:5px;
    font-weight:bold;
    font-size:16px;
    color:#2066C4;
}
section#intro p.amazon {
	clear:both;
}
section#intro p.amazon a {
	display: block;
    position:relative;
    z-index: 2;
    float:left;
	font-size:16px;
    text-align: center;
	margin:10px 0 30px;
    margin-right:10px;
    width: 200px;
    color: #ffffff;
    background-color: #2BC3DB;
    text-decoration: none;
    padding: 10px 0;
    border-radius:5px;
}
section#intro p.amazon a:hover {
    opacity:0.7;
}
.bookimg {
    clear:both;
    position:relative;
}
.bookimg img {
    position:relative;
    z-index:1;
    top:-100px;
    left:30px
}

@media screen and (max-width: 768px) {
	.book{
		width:100%;
	}
    .catch {
        text-align: left;
        margin: 5% 5%;
    }
	.cover, .discription{
		display:block;
		width:100%;
	}
	.cover {
		text-align: center;		
	}
	.discription{
		width: 90%;
		margin: 5%;
	}
	p.amazon a {
		width: 95%;
        margin-bottom:5px;
	}
	.bookimg {
        position:static;
        width:90%;
        margin:0 auto;
    }
    .bookimg img {
        position:static;
        width:100%;
    }
}

/****************shoplist*/

/* 書店一覧 */
.toggle {
    text-align: center;
	color:#fff;
	display: block;
    clear: both;
    width: 880px;
    margin: 0 auto 30px;
    background-color: #F174AC;
    font-size: 16px;
    padding: 5px;
}
.toggle:hover {
	cursor:pointer;
	opacity:0.7;
}
.toggle_area {
	display:none;
    width: 880px;
    margin: 0 auto;
}
 .toggle_area dl {
	margin: 0;
    overflow: hidden;
}
 .toggle_area dl dt {
	background-color: #f0f0f0;
    margin: 10px 0;
    text-align:left;
    font-size: 14px;
    width:100%;
}
 .toggle_area dl dd {
	margin-left: 20px;
    font-size: 13px;
	text-align:left;
	padding-left:5px;
	float:left;
    width:230px;
    display:block;
	text-indent: -18px;
    padding-left: 10px;
}
.toggle_area dl dd:nth-child(3) {
    width: 250px;
}
.toggle_area dl dd:before {
    content:"｜";
	padding-right:5px;
}

/****************特典情報*/

section#bonus ul {
    width:800px;
    margin:0 auto 40px;
    overflow: hidden;
}

section#bonus ul li h2 {
    text-align:left;
    width:400px;
    margin-left:30px;
    padding:3px 0;
    padding-left:10px;
    font-size:16px;
    color:#2C51AD;
    border-left:5px solid #2C51AD;
}

section#bonus ul li {
    width:400px;
    float:left;
    margin-top:5%;
    text-align: center;
}

section#bonus ul li img {
    width:300px;
    border: solid #333 1px;
}

@media screen and (max-width: 768px) {
    section#bonus ul {
        width:100%;
    }
    section#bonus ul li {
        float:none;
        width:90%;
        margin:20px auto;
    }
    section#bonus ul li:nth-child(odd){
        margin-right:auto;
    }
    .toggle, .toggle_area {
        width:90%;
    }
}


/****************　試し読み　*/

section#read ol {
    overflow: hidden;
    width:802px;
    margin:20px auto ;
}
section#read ol li {
    margin-bottom:40px;
    height:570px;
}
section#read ol li img {
    width:400px; 
    border:solid #999 1px;
}
section#read ol li:nth-child(even) {
    float:left;
}
section#read ol li:nth-child(even) img {
    border-right:none;
}
section#read ol li:nth-child(odd) {
    float:right;
}
section#read ol li:nth-child(odd) img {
    border-left:none;
}
section#read p {
    margin-left:40px;
}

@media screen and (max-width: 768px) {
    section#read ol {
        width:100%;
        margin-top:10px;
    }
    section#read ol li {
        width:90%;
        margin: 20px auto;
        height:auto;
    }
    section#read ol li:nth-child(odd) {
        float:none;
    }
    section#read ol li:nth-child(even) {
        float:none;
    }
    section#read ol li:first-child {
        float:none;
        width:90%;
        height:auto;
    }
    section#read ol li img {
        width:100%;
        border:solid #999 1px;
    }
    section#read ol li:nth-child(even) img {
        border-right:solid #999 1px;
    }
    section#read ol li:nth-child(odd) img {
        border-left:solid #999 1px;
    }
    section#read p {
        margin-left:5%;
    }
}

/****************　スペシャル企画　*/
#special {
    text-align: left;
}
#special img {
    max-width: 100%;
}
#special h2 {
    text-align:left;
    width:85%;
    margin: 20px 0;
    margin-left:5%;
    padding:3px 0;
    padding-left:10px;
    font-size:16px;
    background-color: #C5ECEC;
}
#special h3 {
    color: #2C51AD;
    border-left: 5px solid #2C51AD;
    text-align:left;
    margin-left: 50px;
    padding-left: 10px;
}
#special p {
    margin: 10px 50px 20px;
}
#special ul {
    width: 90%;
    margin: 3% auto;
    overflow: hidden;
}
#special ul li {
    width: 47%;
    float: left;
    margin-right: 3%;
    margin-bottom: 2%;
}
#special ul li img {
    width:100%;
    border: solid 1px #7A5AA3;
}

@media screen and (max-width: 768px) {
    #special ul {
        margin:5% auto;
    }
    #special ul li {
        width: 97%;
        float: none;
    }
    #special dl {
        margin-left: 5%;
        margin-right: 5%;
    }
}

#link {
    text-align: center;
    padding-bottom:50px;
}
#link img {
    width:90%;
    border:solid #999 1px;
}
/****************PageTOP*/
#page-top {
	position: fixed;
	bottom: -10px;
    right:0;
	background-color:#0D203C;
    width:100%;
	padding:10px;
	z-index: 100;
    text-align: right;
}
#page-top a:link, #page-top a:visited {
	color:#fff;
}

/****************footer & global menu*/

#globalmenu {
    background-color: #001267;
    height: 2.5em;
    margin: 0;
    padding: 0;
    width: 100%;
    z-index: 10;
}
#globalmenu ul {
    padding: 5px 0;
    text-align: right;
}
#globalmenu li a:link, #globalmenu li a:visited {
    color: #DCDDCF;
}
footer {
    background-color:#0D203C;
    color: #ffffff;
    font-size: 0.9em;
    padding: 20px;
    text-align: center;
	height:auto;
    display:block;
}
footer ul {
    margin: 0.5em;
    padding: 0;
}
#globalmenu li, footer li{
    display: inline;
    margin: 5px 10px;
	border:none;
}
footer li a:link, footer li a:visited  {
    color: #DCDDCF;
}	

#globalmenu li a:hover,
footer li a:hover {
    opacity:0.7;
}

footer p{
	margin-top:2em;

}
@media screen and (max-width: 768px) {
	#globalmenu {
		display:none;
	}
}









