/* リセット */

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 {
	padding: 0;
	margin: 0;
	background-color: #fff;
	font-size: 16px;
	font-family:"ＭＳ Ｐゴシック", "ヒラギノ角ゴ Pro W3",Osaka,  Arial, sans-serif;
}

a{
text-decoration: none;
}


a:hover{
text-decoration: none;
    position: relative;
    top:2px;
}




/*ナビゲーション*/

nav ul {
	list-style: none;
    display:flex;
    margin: 20px auto;
	padding: 0;
    box-sizing:border-box;
}

nav li{
	padding: 8px 12px 6px;
    width: 90%;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 3px solid #f00;
    background:#f00;
    margin:10px 5px;
    border-radius: 6px;
}

nav li a{
color: white;
text-decoration: none;
    
}

nav li:hover{border-bottom: 3px solid #000;}
nav li a:hover{position:relative; top:2px;}


footer .company{display: block; width:100%; border-top:1px solid #ddd; text-align: center; padding:1em; font-size:1.2em;}

footer .copyright{font-size:10px; color:#999; text-align: center; margin:1em auto 2em auto}


.container{width:95%; margin:2em auto}



.logo{width:95%; max-width:680px; height:auto; margin:.5em auto; display: block;}


/*カテゴリ見出し*/
h2 {
  position: relative;
  text-align: center;
    margin-top:2em;
    font-size:1.6em; 
    line-height: 1.5em;
    font-weight: bold;
    color:#c00;
}
h2 span {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin: 0;
  padding: 0 .5em;
  background-color: #fff;
  text-align: left;
}
h2::before {
  position: absolute;
  top: 50%;
  z-index: 1;
  content: '';
  display: block;
  width: 100%;
  height: 5px;
  background-color: #ccc;
}






/*--非表示--*/
.novisible{display: none}

.pc{display: block}
.smp{display: none}




.photobook{
width: 100%;
display: flex;
display: -ms-flexbox; /* IE10 */
flex-wrap: wrap;
flex-direction: row;
-ms-flex-wrap: wrap; /* IE10 */
box-sizing: border-box;
}


.photobook > div{
    width: 28%; 
    padding:1%; 
    border:solid 1px #ccc;
    margin:1%;
}


.photobook > div.blank{border:solid 1px #fff}

.photobook img
{max-width:200px;  width:100%; height:auto; display: block; margin:0 auto;}

.bookname{margin-top:.5em; padding:1%;font-size:80%; line-height: 1.5em; text-align:center}
.bookname span{font-size:1.4em; display: block; line-height: 1.5em;}



/*電書リンク*/


.photobook > div {
}



.photobook > div .caption {
	font-size:		120%;
	color:			#fff;
    text-align: center;
}

.photobook .caption{font-weight: bold; 
    border:solid 1px #fff; border-radius: 3px; 
padding:15px;
background-color:	rgba(0,0,0,0.6);}

.photobook .caption:hover{
background-color:	rgba(0,0,0,0.8);}



a.photobook_more{display: block; 
    padding:5px;
    margin-top:1em;
    border:solid 3px #ccc;
    background: black;
    border-radius: 3px; 
    width:100%; 
    text-align: center; 
    font-weight: bold;
    color:white;
   
}

a.photobook_more:hover{position:relative; top:2px;}

.new {
    position: relative;
    padding: 30px;
    background-color: #fff3f9;
}
.new:before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 50px 50px 0 0;
    border-color: #f00 transparent transparent transparent;
}
.new:after {
    position: absolute;
    content: "NEW";
    transform: rotate(315deg);
    display: block;
    font-size: 10px;
    white-space: pre;
    color: #fff;
    top: 12px;
    left: 5px;
    text-align: center;
    z-index: 2;
    line-height: 1.2;
}


.event {
    position: relative;
    padding: 30px;
    background-color: #ffffe9;
}
.event:before {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 50px 50px 0 0;
    border-color: #f60 transparent transparent transparent;
}
.event:after {
    position: absolute;
    content: "EVENT";
    transform: rotate(315deg);
    display: block;
    font-size: 10px;
    white-space: pre;
    color: #fff;
    top: 13px;
    left: 1px;
    text-align: center;
    z-index: 2;
    line-height: 1.2;
}


.page_top {
	position:fixed;
	bottom:10px;
	right:10px;
    z-index: 999;
}

.page_top i{font-family: "Font Awesome 5 Free";font-weight: 900; color:rgba(255,0,0,0.8)}
.page_top i:hover{position: relative; top:2px; color:rgba(0,0,0,0.5)}

@media screen and (max-width: 480px) {
    
.pc{display: none}
.smp{display: block}
    
    h2 {font-size:1.2em;}
	.photobook > div{
		width: 45%;
	}
}



/*アコーディオン全体*/
.accordion-area{
    list-style: none;
    width: 100%;
    margin:0 auto;
}


/*アコーディオンタイトル*/
.morebtn {
    position: relative;/*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size:1.2rem;
    font-weight: bold;
    padding: 3% 3% 3% 50px;
    transition: all .5s ease;
    width:6em;
    margin:auto;
}



/*アイコンの＋と×*/
.morebtn::before,
.morebtn::after{
    position: absolute;
    content:'';
    width: 18px;
    height: 2px;
    background-color: #f00;
    
}
.morebtn::before{
    top:48%;
    left: 18px;
    transform: rotate(0deg);
    
}
.morebtn::after{    
    top:48%;
    left: 18px;
    transform: rotate(90deg);

}

/*　closeというクラスがついたら形状変化　*/

.morebtn.close::before{
	transform: rotate(45deg);
}

.morebtn.close::after{
	transform: rotate(-45deg);
}

/*アコーディオンで現れるエリア*/
.box {
    display: none;/*はじめは非表示*/
}


/* 背景の黒い透過膜 */
.overlay {
  display: none; /* 最初は隠す */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

/* モーダル本体 */
.modal-content {
  background: white;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

.button-group {
  margin-top: 20px;
}

.question{font-size:1.4em; margin:.5em 0; color:red;}

#btn-yes, #btn-no{font-size:1.2em; padding:4 18px; margin:5px 10px;}
