@charset "utf-8";
/* CSS Document */

/*--------------------------------*/
/* papa chart */
/*--------------------------------*/
#maincontents {
	width: 100%;
}

#pchart {
	width: 768px;
	height: 512px;
	border: 1px solid #ccc;
	box-sizing:border-box;
	margin:auto;
	position:relative;
}

#wrapper .fb_iframe_widget_fluid {
	display:inline-block;
}

@media (max-width: 767px) {
	#pchart {
		border-top: 1px solid #ccc;
		border-bottom: 1px solid #ccc;
		border-left: none;
		border-right: none;
		height: 80vh;
		width: 100vw;
	}
	.leaflet-container .leaflet-control-zoom {
		border:none;
		margin-left: 4px;
		margin-top: 4px;
		padding: 2px;
	}
	.leaflet-bar-part {
		border-bottom:none;
	}

}
/** 
 * iPad with portrait orientation.
 */
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait){
	#pchart {
		width:100%;
		height: 820px; /*1024x80%*/
	}
}

/** 
 * iPad with landscape orientation.
 */
@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape){
	#pchart {
		width:100%;
		height: 614px; /*768x80%*/
	}
}

/**
 * iPhone 5
 * You can also target devices with aspect ratio.
 */
@media screen and (device-aspect-ratio: 40/71) {
	#pchart {
		width:100%;
		height: 400px; /*500x80%*/
	}
}

/*for link of character kensaku*/
.mypopup .leaflet-popup-content-wrapper {
	width:40px;
	height:40px;
	background:url(chart/popup-select.png) 0 0 no-repeat;
	box-shadow: none;
	padding: 0;
	-webkit-border-radius:0;
	border-radius:0;
	text-indent:-9999px;
}
.mypopup-r .leaflet-popup-content-wrapper {
	width:32px;
	height:22px;
	background:url(chart/mypopup-r.png) 0 0 no-repeat;
	box-shadow: none;
	padding: 0;
	-webkit-border-radius:0;
	border-radius:0;
	text-indent:-9999px;
}
.mypopup-t .leaflet-popup-content-wrapper {
	width:22px;
	height:32px;
	background:url(chart/mypopup-t.png) 0 0 no-repeat;
	box-shadow: none;
	padding: 0;
	-webkit-border-radius:0;
	border-radius:0;
	text-indent:-9999px;
}
.mypopup .leaflet-popup-tip-container,
.mypopup-r .leaflet-popup-tip-container,
.mypopup-t .leaflet-popup-tip-container {
	display:none;
}
.backbtn-wrap {
    padding: 2px;
    background: white;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
}
.backbtn {
	display: block;
	width: 100px;
    height: 40px;
    background: url(chart/backbtn.png) 50% 50% no-repeat white;
    background-size: 100% auto;
    border-radius: 5px;
}
.backbtn:hover {
	background-color: #ccc;
}
@media (max-width: 767px) {
	.backbtn {
		width: 40px;
		height: 40px;
		background: url(chart/backbtn-sp.png) 50% 50% no-repeat white;
		background-size: 100% auto;
	}
}

/* page #papa */
/*common*/
#papa {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
	font-size:14px;
	line-height:1.4em;
	position: relative;
}
.sp {
	display: block;
}
.pc {
	display: none;
}
.d-img {
	width: 100%;
	height: auto;
	display: block;
}
input:focus::-webkit-input-placeholder {
	color: transparent;
}
input:focus::-moz-placeholder {
	color: transparent;
}
input:focus::-ms-input-placeholder {
	color: transparent;
}
input:focus::placeholder {
	color: transparent;
}
.p-img {
	width: 100%;
	height: auto;
}
/*icon, btn*/
:root {
	--icon-width: 6px;
	--icon-color: black;
}
.icon-plus {
	background-color: #ccc;
	border-radius: 50%;
	display: inline-block;
	width: 32px;
	height: 32px;
	position: relative;
	margin: 4px;
	transition: 0.3s;
}
.icon-plus:before,
.icon-plus:after {
	content: "";
	position: absolute;
	top: 12px;
	left: 0;
	right: 0;
	margin: auto;
	width: 18px;
	height: var(--icon-width);
	background-color: var(--icon-color);
}
.icon-plus:after {
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
}
a:hover .icon-plus {
	background-color: #09f;
}
a:hover .icon-plus:before,
a:hover .icon-plus:after {
	background-color: #fff;
}
.pimg .d-zoombtn {
	display: inline-block;
	position: relative;
	overflow: visible;
	margin-top: 20px;
}
.pimg .icon-plus-wrap {
	position: absolute;
	top: -16px;
	right: -16px;
}

/*phead*/
.phead-wrap {
	padding: 0;
	overflow: hidden;
}
.phead {
	position: relative;
	margin: 0 auto;
}
.phead-title {
	position: relative;
	z-index: 2;
}
.patern {
	width: 100%;
	height: 18.666vw;
	background: url(patern-sp.png) 0 0 repeat-x;
	background-size: 100% auto;
	animation: bganime 8s linear infinite;
}
@keyframes bganime {
	0%  { background-position: cnter top }
	100%  { background-position: -100vw top }
}

/*pmain*/
.pmain-wrap {
	margin: 10px auto 30px;
}
.pmain {
	width: 90%;
	margin: auto;
	padding: 30px 16px 16px;
	box-sizing: border-box;
	border: 2px #949795 solid;
	background-color: #f2f2f2;
}
.p-sname {
	color: #fff;
	display: inline-block;
	padding: 3px;
	background-color: #231815;
	font-weight: bold;
	text-align: center;
	line-height: 1;
}
.papa-list .p-sname {
	font-size: 13px;	
}
.p-cname {
	font-size: 18px;
	font-weight: bold;
	line-height: 1.4em;
	padding: 0.4em 0;
	text-align: center;
}
.papa-list .p-cname {
	font-size: 14px;	
}
.pbody-wrap {
	margin: 1em auto;
}
.p-text {
	text-align: left;
}
.pimg-wrap {
	margin-bottom: 1em;
}
.pmanga-wrap {
	position: relative;
	background-color: #231815;
}
.pmanga-wrap:before,
.pmanga-wrap:after {
	content: "";
	display: block;
	width: 100%;
	height: 4px;
	background: url(pmanga-border.png) 0 0 repeat-x;
	background-size: auto 4px;
	position: absolute;
	left: 0;
}
.pmanga-wrap:before {
	top: -4px;
}
.pmanga-wrap:after {
	bottom: -4px;
}
.pmanga-title {
	display: flex;
	height: 45px;
	justify-content: space-between;
	align-items: center;
}
.pmanga-title .pmanga-l,
.pmanga-title .pmanga-r {
	width: 135px;
	height: 45px;
	background-position: 0 0;
	background-repeat: no-repeat;
	background-size: 100% auto;
}
.pmanga-title .pmanga-l {
	background-image: url(pmanga-l.png);
}
.pmanga-title .pmanga-r {
	background-image: url(pmanga-r.png);
}
.pmanga-header {
	color: #fff;
	font-weight: bold;
	text-align: center;
	line-height: 2em;
}
.bibi-wrap {
    width: 90%;
    height: 53.3vw;
    margin: auto;
    padding: 0.5em 0 3em;
}

/*papa-list*/
.papa-list {
	width: 100vw;
}
.papa-list-wrap {
	padding: 30px 0;
	background-color: #f2f2f2;
}
.papa-list-title {
	width: 100%;
	margin: 1em auto;
	display: flex;
	justify-content: center;
	position: relative;
}
.papa-list-title-img {
	width: 159px;
}
.bs-oubo-btn {
	display: block;
	margin: 10px auto 0;
	width: 9em;
	height: 40px;
	font-size: 18px;
	font-weight: bold;
	line-height: 40px;
	color: #fff;
	background-color: #ff0356;
	border: 1px #e0dbce solid;
	border-radius: 5px;
	transition: 0.3s;
}
.bs-oubo-btn .s {
	font-size: 12px;
}
.bs-oubo-btn:hover {
	opacity: 0.66;
	color: #fff;
}

.papa-other {
	width: 200px;
	height: 25px;
	background: url(papa-other.png?ver=2) 0 0 no-repeat;
	background-size: 100% auto;
	margin: 1em auto;
}
.papa-list ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
}
.papa-list ul li {
	width: calc(100vw / 3);
	margin-bottom: 10px;
}
.papa-list-a {
	display: block;
}
.papa-list-a .p-img {
	width: 107px;
	height: 107px;
	border: 2px #949795 solid;
}
.papa-list-a.visit .p-img {
	opacity: 0.5;
}

.qlink-back-btn {
	display: block;
	width: 16em;
	margin: 10px auto;
	padding-left: 1em;
	font-size: 15px;
	font-weight: bold;
	text-align: center;
	color: #fff;
	background-color: #231815;
	border-radius: 20px;
	height: 40px;
	line-height: 40px;
	transition: 0.3s;
	position: relative;
}
.qlink-back-btn:before {
	content: "▲";
	display: block;
	position: absolute;
	left: 1em;
	top: 0;
	height: 40px;
	line-height: 40px;
	font-size: 20px;
	color: #000;
	text-shadow: 0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff,0 0 3px #fff;
	animation: upanime 1.2s ease infinite backwards;
}
@keyframes upanime {
  0% { transform:translateY(5px); }
  16% { transform:translateY(5px); }
  17% { transform:translateY(0px); }
  19% { transform:translateY(0px); }
  20% { transform:translateY(-4px); }
  100% { transform:translateY(-4px); }
}
.qlink-back-btn:hover {
	color: #fff;
	background-color: #09f;
}

.qlink-senryu-btn {
	display: block;
	width: 10em;
	margin: 10px auto;
	font-size: 15px;
	font-weight: bold;
	text-align: center;
	color: #fff;
	background-color: #231815;
	border-radius: 5px;
	height: 40px;
	line-height: 40px;
	transition: 0.3s;
	position: relative;
}
.qlink-senryu-btn:hover {
	color: #fff;
	background-color: #09f;
}


/*bs-banner*/
.bs-banner {
	margin: 4% auto;
}
.bs-banner-img {
	width: 90%;
	height: auto;
	margin: 0 auto;
}

@media (min-width: 768px) {
	/*common*/
	#papa {
		margin: auto;
		font-size: 16px;
		width: 1160px;
		background-image: url(patern-pc-left.png), url(patern-pc-right.png);
		background-position: left 100px, right 100px;
		background-repeat: no-repeat, no-repeat;
	}
	#papa.single {
		background-image: url(patern-pc-left.png), url(patern-pc-right.png);
		background-position: left top, right top;
		background-repeat: repeat-y, repeat-y;
	}
	
	.sp {
		display: none;
	}
	.pc {
		display: block;
	}
	.p-img {
		width: auto;
	}

	/*dhead*/
	.phead-wrap {
		padding-top: 0;
	}
	.dhead {
		max-width: 750px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		padding: 0;
	}
	.phead-title {
		margin-bottom: 5px;
	}

	.p-img {
		width: auto;
	}

	.pmain {
		width: 512px;
		padding: 16px;
	}
	.p-sname,
	.p-text {
		font-size: 18px;
	}
	.p-cname {
		font-size: 36px;
	}
	.p-text {
		line-height: 28px;
		width: 25em;
		margin: 0 auto;
	}
	.pimg {
		margin: 0 auto;
	}
	.pimg .p-img {
		width: 100%;
	}
	.pmanga-wrap {
		width: 472px;
		margin: auto;
	}
	.pmanga-wrap:before, .pmanga-wrap:after {
		height: 8px;
		background-size: auto 8px;
	}
	.pmanga-title {
		height: 58px;
		padding-top: 4px;
	}
	.pmanga-title .pmanga-l, .pmanga-title .pmanga-r {
		width: 175px;
		height: 58px;
	}
	.bibi-wrap {
		width: 250px;
		height: 160px;
		padding: 0 0 5em;
	}
	.papa-list-wrap {
		padding: 30px 0;
	}
	.papa-list {
		width: 100%;
	}
	.papa-list-title {
		width: 600px;
		margin: 0 auto 20px;
		display: flex;
		justify-content: center;
		position: relative;
	}
	.papa-list-title-img {
		width: 186px;
	}
	.bs-oubo-btn {
		margin: 0 auto;
	}

	.papa-other {
		width: 240px;
		height: 30px;
		margin: 0 auto 20px;
	}
	.papa-list ul {
		width: 630px;
		margin: auto;
	}
	.papa-list ul li {
		width: 210px;
		margin-bottom: 30px;
	}
	.papa-list-a .p-img {
		width: 126px;
		height: 126px;
		display: block;
		margin: 0 auto 12px;
	}
	.papa-list-a {
		display: block;
	}
	.papa-list .p-sname {
		font-size: 16px;
	}
	.papa-list .p-cname {
		font-size: 18px;
	}
	.qlink-back {
		margin: 0 auto;
		padding: 1em;
		background: #fff;
	}
	.papa-a .papa-list {
		background: url(papa-a-silhouette.png) left 50% no-repeat;
	}
	.papa-b .papa-list {
		background: url(papa-b-silhouette.png) left 50% no-repeat;
	}
	.papa-c .papa-list {
		background: url(papa-c-silhouette.png) left 50% no-repeat;
	}
	.papa-d .papa-list {
		background: url(papa-d-silhouette.png) 20px 50% no-repeat;
	}
	.papa-e .papa-list {
		background: url(papa-e-silhouette.png) left 50% no-repeat;
	}
	.papa-f .papa-list {
		background: url(papa-f-silhouette.png) 20px 50% no-repeat;
	}
	.papa-g .papa-list {
		background: url(papa-g-silhouette.png) left 50% no-repeat;
	}
	.papa-h .papa-list {
		background: url(papa-h-silhouette.png) left 50% no-repeat;
	}

	/*bs-banner*/
	.bs-banner {
		margin: 20px auto;
	}
	.bs-banner-img {
		width: 500px;
		height: auto;
		margin: 0 auto;
	}
}