/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

body {
	overflow: scroll;
}

/* background */
#btn-chapter-box {
	background:#999
}
.active {
	background:rgba(128,128,128,.3)
}
.link button,
body {
	background:#fff
}
div.btn-question {
	background:#f06
}
div.chapter,
div.progress {
	background:rgba(255,255,255,.4)
}
p.intro {
	background:rgba(0,0,0,.3)
}
p.sub {
	background:rgba(0,0,0,.4)
}

/* border */
#btn-chapter-box {
	border:1px solid #999
}
.link button {
	border:1px solid #f06
}

/* border-radius */
div.btn-question {
	border-radius:4px
}
div.progress {
	border-radius:3px
}

/* bottom */
div.footer {
	bottom:14px
}
p.intro {
	bottom:10px
}

/* clear */
div.chapter,
div.footer {
	clear:both
}

/* color */
#btn-chapter-box,
div.btn-question,
div.btn-question a,
p.intro,
p.sub {
	color:#fff
}
.link button {
	color:#f06
}
body {
	color:#555
}
div.footer {
	color:#666
}

/* cursor */
.link button,
img.normal:hover,
img.zoom:hover {
	cursor:pointer
}

/* float */
div.footer p,
p.menu-title {
	float:left
}
p.slide-num {
	float:right
}

/* font-family */
body {
	font-family:'Lucida Grande','Hiragino Kaku Gothic ProN',Meiryo,sans-serif
}

/* font-size */
#btn-chapter-box,
div.chapter ul {
	font-size:16px
}
.link button {
	font-size:18px
}
div.btn-question {
	font-size:80%
}
div.chapter,
div.chapter-tilte,
p.sub {
	font-size:12px
}
div.footer,
p.menu-title,
span.link-txt {
	font-size:14px
}
p.intro {
	font-size:10px
}
span.title {
	font-size:16px
}

/* font-weight */
#btn-chapter-box,
.link button,
div.btn-question {
	font-weight:500
}
div.chapter-tilte {
	font-weight:600
}
div.footer,
span.title {
	/*font-weight:100*/
	font-weight:600
}
p.intro,
p.sub {
	font-weight:400
}

/* height */
#btn-chapter-box {
	height:30px;
    line-height: 30px;
}
.link button {
    min-height: 30px;
}
div.chapter {
	/* height: 160px; */
	height: 340px;
	box-sizing: border-box;
}
div.chapter ul {
	/*height:160px;*/
	/* height: auto; */
	height: 100%;
	overflow: scroll;
}

/* left */
img.normal {
	left:270px
}
p.intro {
	left:10px
}

/* line-height */
div.chapter ul {
	line-height:1.6em
}
div.footer p {
	line-height:1.4em
}
p.intro,
p.sub {
	line-height:1.4
}
p.menu-title {
	line-height:6px
}
span.title {
	line-height:1.4em !important
}
span.title {
	line-height:normal
}

/* margin */
.link button,
body,
div.btn-question,
div.right-box video {
	margin:0
}
div.chapter-tilte {
	margin:10px
}
div.player {
	margin:0 auto
}
div.progress {
	margin:0 10px
}

/* margin-left */
p.sub {
	margin-left:10px
}

/* margin-top */
p.sub {
	margin-top:-10px
}

/* max-height */
img.logo {
	max-height:40px;
	max-width: 30%;
	margin-bottom: 0.5em;
}

/* max-width */
#btn-chapter-box,
body,
video {
	max-width:100%
}
div.player {
	max-width:90%
}

/* opacity */
img.btn-pause:hover,
img.btn-play:hover {
	opacity:.7
}
img.normal,
img.zoom {
	opacity:.6
}

/* outline */
div.chapter ul {
	outline:#ccc solid 1px
}
div.slide {
	outline:1px solid #ccc
}

/* padding */
#btn-chapter-box,
div.btn-question,
p.intro,
p.sub {
	padding:6px 12px
}
.link button,
body,
div.slide {
	padding:0
}
div.chapter {
	padding:10px 0
}
div.chapter ul li {
	border-bottom: 1px dotted #ccc;
    min-height: 30px;
}
div.chapter ul li,
span.link-txt {
	padding:0.5em;
}
div.chapter-tilte,
div.header {
	padding:10px;
	padding-left: 0;
	padding-right: 0;
}
div.progress {
	padding:5px 10px
}

/* padding-left */
div.footer p {
	padding-left:80px
}
div.player {
	padding-left:5%;
	padding-right:5%;
	padding-bottom: 1em;
}

/* padding-top */
p.menu-title {
	padding-top:6px
}

/* position */
div.footer,
p.intro {
	position:absolute
}
div.video {
	position:relative
}

/* right */
img.zoom {
	right:40px
}

/* text-align */
#btn-chapter-box {
	text-align:center
}

/* text-decoration */
div.btn-question a {
	text-decoration:none
}

/* top */
.play-time-fixed {
	top:-8px!important
}
img.normal,
img.zoom {
	top:545px
}

/* vertical-align */
span.link-txt {
	vertical-align:middle
}

/* width */
body,
div.right-box,
div.right-box video,
video {
	width:100%
}
div.player,
input.playback {
	width:90%
}
img.normal,
img.zoom {
	width:40px
}
p.intro {
	width:260px
}
div.sub-box {
	width:  100%;
}
p.sub {
	/*width:456px*/
	max-width: 100%;
    margin: 0;
    width: auto;
    font-size: 14px;
    background: rgba(0,0,0,0.8);
}

/* z-index */
.link,
p.sub {
	z-index:3
}

.modal {
	width: 300px;
    max-width: 100%;
}
.modal h1 {
    font-weight: 600;
    font-size: 24px;
}
.modal p {
    text-align: center;
}
/* modal customize */
.login .modalBody {
    /*max-width: 85%;*/
    width: 300px;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.7);
}
.form-wrapper {
	background: rgba(255, 255, 255, 0);
	overflow: hidden;
}
.form-item {
	background: none;
}
.form-item input, .form-item select {
    background: rgba(250, 250, 250, 0.5);
}

/* start */
.modal.start .modalBody .form-wrapper{
	text-align: center;
	padding: 0 30px;
}

/* chapter */
.chapter-box {
	height: auto;
}
i.allow {
    vertical-align: initial;
    margin-right: 0.5em;
}

/* link */
.link button {
    width: 100%;
    text-align: left;
    border: none;
    color: #fff;
    /* background: #f06; */
    background: #ff6f00;
    text-align: center;
    display: inline-block;
    padding: 6px 12px;
}
.btn-mobile {
    margin-top: 0.5em;
}

/* free tag */
.free-box, .tag-box span.tag-line{
	display: block;
}
.free-box {
	margin-top: 10px;
	margin-bottom: 10px;
	box-sizing: border-box;
	width: 100%;
}
#freeword {
	width: 65%;
	height: 32px;
	margin: 0;
	padding: 0 6px;
	font-size: 1.1rem;
	line-height: 1.2;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	-webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
.btn-search {
	width: 28%;
	height: 34px;
	margin: 0;
	color: #fff;
	background: #035ea5;
	border: 1px solid #035ea5;
	border-radius: 4px;
}
.btn-search:hover {
	background: #4b9fe0;
}
.tag-header {
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 8px;
}
.tag-box {
	width: 100%;
}
.tag-wrap {
	background: rgb(255, 0, 102);
	border-radius: 6px;
	width: 100%;
	display: block;
	border: none;
}
.tag-line {
	display: block;
	margin-top: 2px;
	border-radius: 6px;
	padding: 12px 12px;
	font-size: 80%;
	color: rgb(255, 255, 255);
	border: none;
	margin-right: 60px;
}

.modal.tag-list {
	margin: 0;
	padding: 0;
}
.tag-list .modalBK {
    z-index: 999;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.6);
    opacity: initial;
}

.tag-list .modalBody {
	z-index: 1000;
	background: #fff;
	box-sizing: border-box;
	width: 90%;
    height: auto;
    padding: 10px;
    top: 1em;
    left: 5%;
    position: absolute;
    overflow: hidden;
}
.tag-list .modal-header {
	margin-bottom: 1rem;
	box-sizing: border-box;
	background: #fff;
	z-index: 1010;
}
.tag-list .modal-header h1{
	/* text-align: center; */
	text-align: left;
}
.tag-list .modal-header .btn-close {
	font-size: 0.85rem;
	padding: 0;
}
.tag-list .modal-header .btn-close:hover {
	background: none;
}
.tag-list .modal-header h1 span {
	font-size: 1rem;
	color: #333;
}
.tag-list .modal-header h1 span.selected {
	padding: 0.5rem;
	border-radius: 0.3rem;
	line-height: 2.4;
}
.tag-list .form-wrapper {
	max-height: initial;
	background: rgba(255, 255, 255, 1);
}
.tag-list .modal-tag-ul {
    height: auto;
    overflow: scroll;
}
ul.modal-tag-ul li {
	margin: 1rem 0 1.6rem;
	border: 0.75px solid #ccc;
	padding: 0.75rem;
	border-radius: 0.5rem;
}
ul.modal-tag-ul li a {
	text-decoration: none;
}
ul.modal-tag-ul li a h5 {
	margin-bottom: 1rem;
	color: #333;
	line-height: 1.4;
}
ul.modal-tag-ul li a p {
	margin-bottom: 1rem;
	color: #333;
	text-align: left;
	line-height: 1.4;
}

/* thumb over video */
div.slide {

	display: flex;
	justify-content: center;
	align-items: center;
}
div.slide-box {
	position: relative;
	width: 100%;
	height:0;
/*	padding-top:56.25%; => mobile.js */
}
div.right-box video {
	max-width: 100%;
	position: absolute;
	top:0;
	left:0;
	Z-index: 100;
}
div.right-box .poster {
	max-width: 100%;
	position: absolute;
	top:0;
	left:0;
	Z-index: 110;
}
div.right-box .playmark {
	position: absolute;
	left: calc(50% - 0.5em);
	top: 0.5em;
	text-align: center;
	font-weight: 400;
	font-size: 6em;
	color: #fff;
	filter: drop-shadow(4px 4px 8px rgba(0,0,0,0.4));
	opacity: 0.85;
	Z-index: 120;
}
