@charset "UTF-8";

/*=================================================
	浜島書店プリント作成アプリ　CSS
===================================================*/

/*=================================================
	lib override
===================================================*/
.custom-control-input:checked ~ .custom-control-label::before {
	border-color: #d67575;
	background-color: #d67575;
}

.custom-control-label {
	padding-right: 2em;
}

dl,
ol,
ul {
	padding-left: 0;
}

#modal-start-body ul {
	padding-left: 2rem;
}

/* custom-range ALL */

.custom-range {
  width: 100%;
  height: calc(1rem + 0.4rem);
  padding: 0;
  background-color: transparent;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.custom-range:focus {
  outline: none;
}

.custom-range:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.custom-range:focus::-moz-range-thumb {
  box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.custom-range:focus::-ms-thumb {
  box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.custom-range::-moz-focus-outer {
  border: 0;
}

.custom-range::-webkit-slider-thumb {
  width: 1rem;
  height: 1rem;
  margin-top: -0.25rem;
  background-color: #666;
  border: 0;
  border-radius: 1rem;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  -webkit-appearance: none;
  appearance: none;
}

@media (prefers-reduced-motion: reduce) {
  .custom-range::-webkit-slider-thumb {
    transition: none;
  }
}

.custom-range::-webkit-slider-thumb:active {
  background-color: #333;
}

.custom-range::-webkit-slider-runnable-track {
  width: 100%;
  height: 0.5rem;
  color: transparent;
  cursor: pointer;
  background-color: #dee2e6;
  border-color: transparent;
  border-radius: 1rem;
}

.custom-range::-moz-range-thumb {
  width: 1rem;
  height: 1rem;
  background-color: #666;
  border: 0;
  border-radius: 1rem;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  -moz-appearance: none;
  appearance: none;
}

@media (prefers-reduced-motion: reduce) {
  .custom-range::-moz-range-thumb {
    transition: none;
  }
}

.custom-range::-moz-range-thumb:active {
  background-color: #333;
}

.custom-range::-moz-range-track {
  width: 100%;
  height: 0.5rem;
  color: transparent;
  cursor: pointer;
  background-color: #dee2e6;
  border-color: transparent;
  border-radius: 1rem;
}

.custom-range::-ms-thumb {
  width: 1rem;
  height: 1rem;
  margin-top: 0;
  margin-right: 0.2rem;
  margin-left: 0.2rem;
  background-color: #666;
  border: 0;
  border-radius: 1rem;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  appearance: none;
}

@media (prefers-reduced-motion: reduce) {
  .custom-range::-ms-thumb {
    transition: none;
  }
}

.custom-range::-ms-thumb:active {
  background-color: #333;
}

.custom-range::-ms-track {
  width: 100%;
  height: 0.5rem;
  color: transparent;
  cursor: pointer;
  background-color: transparent;
  border-color: transparent;
  border-width: 0.5rem;
}

.custom-range::-ms-fill-lower {
  background-color: #dee2e6;
  border-radius: 1rem;
}

.custom-range::-ms-fill-upper {
  margin-right: 15px;
  background-color: #dee2e6;
  border-radius: 1rem;
}

.custom-range:disabled::-webkit-slider-thumb {
  background-color: #adb5bd;
}

.custom-range:disabled::-webkit-slider-runnable-track {
  cursor: default;
}

.custom-range:disabled::-moz-range-thumb {
  background-color: #adb5bd;
}

.custom-range:disabled::-moz-range-track {
  cursor: default;
}

.custom-range:disabled::-ms-thumb {
  background-color: #adb5bd;
}
/*=================================================
	base layout
===================================================*/

html,
body {
	font-family: "游ゴシック Medium", YuGothic, YuGothicM,
		"Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo,
		sans-serif;
	background: #efefef;
}

header {
	position: fixed;
	top: 0;
	width: 100%;
	height: 85px;
	background-color: #ebb5bb;
	z-index: 100;
}

main {
	margin-top: 100px;
}

header,
main,
.preview-footer {
	min-width: 1020px;
}

.page {
	display: none;
}

/*=================================================
	header
===================================================*/

#headerlogo {
	margin: 4px 0 0 2px;
}

.headertitle {
	background: #fff;
	display: inline-block;
	padding: 7px 16px;
	box-shadow: 2px 2px 2px 1px rgba(0,0,0,0.3);
	margin: 9px 0 0 16px;
	border:2px solid rgba(0,0,0,0.2);
	border-radius: 16px 4px 16px 4px;
}

#headertitle-app {
	font-size: 0.8em;
	text-align:center;
}
#headertitle-book {
	font-size: 1.5em;
	font-weight:bold;
	letter-spacing: 1px;
	line-height: 1em;
	padding-top:3px;
	color:#333;
}
#headertitle-book img {
	height:1em;
}
.header-btn {
	width: 66px;
}
.header-btn p {
	margin: 8px 0 6px;
	padding: 0;
	line-height: 1em;
}

#fontsize-slider {
	width:180px;
	margin-top:12px;
}

#fontsize-slider label{
	padding:0;
	line-height:0;
}

#fontsize-slider input {
	width:155px;
	margin-left:5px;
}
#fontsize-slider .d-flex {
	margin-top:-8px;
	font-size:0.9em;
}

#gyokan-slider {
	width:140px;
	margin-top:12px;
}
#gyokan-slider label{
	padding:0;
	line-height:0;
}
#gyokan-slider input {
	width:112px;
	margin-left:5px;
}
#gyokan-slider .d-flex {
	margin-top:-8px;
	font-size:0.9em;
}

#header-1page img {
	width:70px;
}

/*=================================================
	setting-box
===================================================*/
.setting-box {
	border: 1px solid #666;
	background: #fff;
	/*border-radius: 10px;*/
	margin: 120px auto 20px;
	padding: 0;
	min-width: 1000px;
	position: relative;
}

.setting-title {
	font-size: 24px;
	background: #d67575;
	padding: 4px;
	color: #fff;
	letter-spacing: 0.05em;
	/*border-radius: 10px 10px 0 0;*/
}
.setting-title.detail {
	background: #e1e1e1;
	color: #333;
}

.setting-main {
	padding: 20px 20px 120px 20px;
}

.setting-main h5 {
	margin: 0;
	font-size: 1.4em;
}

.setting-main p,
.setting-main label {
	margin: 0;
	font-size: 1.1em;
}

.setting-btns {
	position: fixed;
	bottom: 21px;
	padding-top: 10px;
	padding-bottom: 20px;
	background: rgba(255, 255, 255, 0.8);
}

.paper-select {
	margin-right: 10px;
}

.qtotal {
	font-size: 1.4em;
	padding-left: 0.2em;
}

.setting-detailtab img {
	margin: 0 10px;
}

.paperdetail-btns img,
.kaitoran-btns img {
	margin:0 20px 10px 0;
}

/*=================================================
	preview
===================================================*/
.btn-preview-setting {
	position:fixed;
	top:150px;
	left:0;
	z-index: 100;
	cursor: pointer;
}

.btn-preview-setting:active {
	top:153px;
}

#preview-image-container {
	border: 1px solid #666;
	background: #fff;
	/*border-radius: 10px;*/
	margin: 100px auto;
	padding: 0;
	position: relative;
}
#preview-image-container img {
	width: 100%;
	height: 100%;
}

.preview-footer {
	position:fixed;
	background:rgba(255, 255, 255, 0.8);
	bottom:0;
	left:0;
	width:100%;
	height:62px;
	padding:10px;
	border-top:#ccc 1px solid;
}

#preview-zoom-slider {
	width:200px;
	margin:10px 0 0 5px;
}

.preview-pager img {
	margin-top:-4px;
}

#preview-image-btns {
	position:absolute;
	width:100%;
	height:100%;
}

#preview-image-btns .qselect {
	position: absolute;
	border:2px rgb(224, 205, 34) solid;
	background:rgba(224, 205, 34, 0.2);
	height:100%;
}

#preview-image-btns .qselect.kanjibox {
	width:3%;
	left:80.1%;
}
#preview-image-btns .qselect.sakurasaku {
	width:8.2%;
	left:75.0%;
}

/*=================================================
	table
===================================================*/
td,
th {
	border: 1px solid #bcbcbc;
	border-collapse: collapse;
}
td,
th {
	padding: 0.2em 1em;
	text-align: center;
}

th.q-h1 {
	background-color: #f1b6b6;
}

th.q-h2 {
	background-color: #f19b9b;
}

th.q-h3 {
	background-color: #e16666;
}

td.q-gray {
	background-color: #f2f2f2;
}
td.noborder {
	border: none;
}

th.w-46 {
	width: 46%;
}

tr.zeroline {
	background-color: #999999;
}
/*=================================================
	list
===================================================*/
.ul-title1 {
	background-color: #de8080;
	color: #fff;
	font-size: 1.2em;
}

.ul-title2 {
	background-color: #d35e65;
	color: #fff;
}

.ul-title3 {
	background-color: #a83f46;
	color: #fff;
}

.ul-subtitle {
	background-color: #e8e8e8;
}

.list-group-item {
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
}

.listbtn:hover {
	background-color: #ffefef;
}

.list-group-item.active {
	z-index: 2;
	color: #000000;
	background-color: #ffdddd;
	border-color: #f5aeae;
}

/*=================================================
	popup
===================================================*/

#popup-qselect {
    position: absolute;
    background: #DFDFDF;
    width: 60px;
    border-radius: 6px;
    left: 80%;
    top: 250px;
		padding:10px 6px;
}

#popup-qselect:after, #popup-qselect:before {
	right: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

#popup-qselect:after {
	border-color: rgba(223, 223, 223, 0);
	border-right-color: #DFDFDF;
	border-width: 30px;
	margin-top: -30px;
}
#popup-qselect:before {
	border-color: rgba(194, 225, 245, 0);
	border-right-color: solid 1px #95989A;
	border-width: 33px;
	margin-top: -33px;
}

/*=================================================
	common
===================================================*/
.actbtn {
	cursor: pointer;
}

.clickdown:active {
	position: relative;
	top: 3px;
}

.number-input {
	width: 80px;
	border-radius: 4px;
	text-align: center;
}

.nodisp {
	display: none;
}

.disabled {
	opacity: 0.5;
	cursor:default;
}
.disabled:active {
	top: 0;
}