/* common */
body {
	font-size: 90%;
	font-family:'lucida grande',verdana,helvetica,arial,sans-serif;
}

* {
	box-sizing: content-box;
}

a {
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

h3#lessontitle {
	display: inline-block;
}

h3 {
	font-size: 165%;
}

/* account */
.pdfprint{
	background-color: #f1f1f1;;
}
.pdfprint a{
	font-weight: normal !important;
}
.pdfprint h2{
	text-align:center;
	color:#7e7e7e;
}
.pdfprint h3{
	margin-top:20px;
	margin-bottom:0px;
	font-size:16px;
	color: #2c6877;
}
.pdfprint th{
	background-color: #0073aa;
	color:#fff;
	border:none;
	text-align:center;
}
.linktext{
	text-decoration: underline;
	margin:0;
}
.section{
	margin:0;
	padding:0;
}
.section li{
	list-style-type: none;
	border-bottom:1px dotted #ccc;
	padding:0 0 20px 0;
	margin: 10px 0;
}
.section li:last-child{
	border:none;
}

.content-wrap h1, .content-wrap h2 {
    margin-top: 15px;
    margin-bottom: 20px;
    color: #7e7e7e;
    font-weight: 400;
    font-family: 'Raleway', sans-serif;
}
.content-wrap h1 {
    font-size: 26px;
    text-align:center;
}

.content-wrap h2 {
    font-size: 24px;
}

.content-wrap img {
    margin-top: 20px;
}

.content img {
   /* max-width: 100%; */
}
.alignnone {
    margin: 5px 20px 20px 0;
    clear: both;
    display: block;
    overflow: hidden;
}

img {
    color: transparent;
    font-size: 0;
    vertical-align: middle;
    -ms-interpolation-mode: bicubic;
}

.content-wrap p{
	margin-bottom: 20px;
	color: #4a4a4a
}

/* questions */
div.res {
	margin-left: 1em;
}

h2#question {
	display: inline-block;
}

div#qa_annotation {
	margin-left: 0.5em;
	display: inline-block;
	color: #7e7e7e;
}

div#inputfile p {
	font-size: 110%;
	margin-bottom: 3px;
}
div#inputfile .file{
	margin-bottom: 0;
	padding: 0;
	font-size: 90%;
}

div#inputfile .file .error-message {
	padding: 0;
}

div.upimg {
	margin-top: 5px;
	max-width: 65em;
}

div.upimg img {
	border: solid 1px #ddd;
	background: #fff;
	margin-left: 5px;
	width: -webkit-calc(100% / 3 - 5px * 2);
   	width : calc(100% / 3 - 5px * 2);
   	height: 24vh;
   	object-fit: contain;
}

div.thanks_tw {
	margin-bottom: 0.75rem;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

a.thanks_tw_btn {
	background: #aaa;
	font-weight: bold;
	padding: 0.5rem;
	margin-right: 1em;
	margin-bottom: 0.25rem;
	border: solid 1px #939393;
	border-radius: 10px;
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

a.thanks_tw_btn .tw_icon {
	padding: 6px;
	margin-right: 0.5rem;
	color: #fff;
	font-size: 80%;
	background: #1da1f2;
	border-radius: 50%;
}

div.thanks_msg {
	display: flex;
	align-items: center;
}

/* 吹き出し本体 */
.balloon {
  position: relative;
  padding: 0.25rem;
  background-color: #fff;
  border: 2px solid #a5a5a5;
  border-radius: 10px;
}


/* 吹き出ししっぽ */
.balloon::before{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  right: -15px;
  top: 0.25rem;
  border-left: 15px solid #a5a5a5;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.balloon::after{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  right: -10px;
  top: 0.25rem;
  border-left: 15px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

/* 吹き出し横 icon */
div.ggl_icon {
	margin-left: 1rem;
	display: inline-block;
	position: relative;
	font-size: 1.55em;
}

div.ggl_icon img {
	width: 2.5rem;
	height: auto;
	padding: 4px;
	background: #fff;
}

div.qa_reject {
	margin-left: 1em;
}

div.qa_reject > div {
	background: #fff;
    max-width: 65em;
    overflow: auto;
    padding: 0.5em 0.5em 1.5em 0.5em;
    margin-top: 1em;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 1em;
    font-family: monospace;
}


div.qa_reject li {
	margin-left: 1em;
}

div.qa_reject .qa_reject_note {
	margin-left: 1rem;
}

/* questionlist */
div#qa_submenu {
    float: left;
    width: 14.5%;
    height: 92%;
    position: fixed;
    padding: 10px 1.5%;
    overflow: auto;
}


div#qa_list, div#qa_list_view {
	float: right;
    width: 76%;
    height: 100%;
    border-left: 1px solid #666;
    padding: 10px 2%;
}

div#qa_list table, div#qa_list_view table {
	table-layout: fixed;
}

div#qa_list tr, div#qa_list_view tr{
	background: #f9f9f9;
}

div#qa_list pre, div#qa_list_view pre {
	white-space: pre-wrap;
}

div#qa_list a {
	text-decoration: none;
	font-weight: normal;
}

div.search label {
	display: inline-block;
}

div.search input[type=text] {
	width: 50%;
	margin: 0em 1em;
	margin-bottom: 1em;
	display: inline-block;
}

div.qa_coursename {
	margin-left: 1em;
	cursor : pointer;
}
div.qa_lessonname {
	margin-left: 1em;
}

table h3 span {
	color: #4a4a4a;
}

div#qa_list_view table h3 {
	margin-top: 1em;
}

/* index */
section#mypage {
	margin-top: 0.5rem;
}

section#mypage.mt0 {
	margin-top: 0;
}

section#mypage h3{
	margin-bottom: 1rem;
}
section#mypage td.course_name {
	width: 35%;
}

.progress {
	background-color: #daeef3;
	border-radius: 0;
	height: 1.2rem;
	border: solid 1px #31869b;
	margin-bottom: 5px;
}

.progress-bar {
	background-color: #ffac4c;
}

section#mypage table.course_title {
	background-color: #fff;
	font-size: 1rem;
}

table.course_title tr.status_data td {
	vertical-align: middle;
}

table.course_title .actions {
	vertical-align: middle;
}

table.course_title .actions a,
section#mypage p#addcourse a {
	padding: 0.5rem;
}

table.course_title td {
	border-left: 1px solid #0073aa;
	text-align: center;
}

table.course_title td.qa_user {
	border-top: 1px solid #0073aa;
}

table.course_title .tutor {
	width: 100px;
	vertical-align: middle;
}

table.course_title a:hover,
table#addlist .actions a:hover,
p#addcourse a:hover {
	color: #333;
}

section#mypage p#addcourse {
	text-align: right;
	font-size: 1rem;
}


#newinfo {
	margin-bottom: 3.5rem;
	border: solid #0073aa 1px;
	border-top: solid #0073aa 3px;
	padding: 0.5rem 1rem;
	width: 50%;
	color: #000;
	background: #fff;
	-moz-box-sizing: border-box;
    box-sizing: border-box;
}

#newinfo a {
	text-decoration: none;
    font-weight: normal;
    color: #000;
}

#newinfo span {
	font-size: 125%;
}

#newinfo ul {
	margin: 0.5rem 0 0.5rem 0;
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}

#newinfo li#more {
	margin-top: 0.5rem;
}


/* index sidebar */
div#sidebar {
	line-height: 1.5;
}

div#sidebar ul {
	font-size: 105%;
}

div#sidebar li {
	padding-bottom: 0.5rem;
}

div#sidebar div#nav a {
	font-size: 105%;
}

/* textbook */
section#textpage {
	width: 100%;
}

div#contentwrap, div#lessonqa {
	width: 75%;
	margin-left: 14%;
	padding-left: 8%;
}

div#nav ul, li {
	 margin: 0;
	 padding: 0;
	 cursor: pointer;
	 list-style: none;
}

div#nav a {
	color: #eee;
	font-size: 13px;
    line-height: 18px;
    width: 100%;
    margin: 0;
    text-decoration: none;
    font-weight: normal;
}

div#nav a:hover,
#newinfo a:hover {
    color: #00b9eb;
}

div#nav li div.bold a{
	font-weight: bold;
}

div#lessonmenu,
div#sidebar {
	background: #23282d;
	color: #eee;
	width: 14%;
	/*float: left;*/
	position: fixed;
	height: 100%;
	z-index: 50;
	padding-top: 16px;
}

div#lessonmenu div#lessontitle {
	padding-left: 1em;
	margin-bottom: 1em;
}

div#lessonmenu div#nav div,
div#sidebar div#nav div {
	padding: 8px 0 8px 2em;
}

div.menuname {
	background: #0073aa;
    color: #fff;
    font-weight: bold;
}

div.menuname:after{
    right: 0;
    border: 8px solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-right-color: #f1f1f1;
    /*top: 50%;*/
    margin-top: 2px;
}


div#twitter {
	margin-top: 2em;
	padding: 0;
}

div#tweetwrap {
	margin-bottom: 0;
	padding: 0;
}

div#tweetcheck {
	display: inline-block;
	padding: 0;
	margin-right: 2em;
}

img#twittericon {
	width: 20px;
}

div#tweet {
	padding: 0;
}

div.textview {
	/*margin-top: 5%;*/
	padding-top: 5%;
	max-width: 960px;
	z-index: 30;
}

div.textview img{
	width: 100%;
	max-width: 960px;
}

div.textview div.textimg{
	margin: 0;
	position: relative;
}


div.textimg div {
	position: absolute;
	box-sizing: border-box;
	width: 100%;
	height: 7.7vh;
	background: #f1f1f1;
}

#textpage div.textimg div {
	background: #fff;
}


div#header {
	z-index: 40;
	line-height: 22px;
}

div.relation ul.url {
	margin: 0;
}

div.relation ul.url a{
	margin-left: 1rem;
}

h2#textbooktitle {
	background-image: linear-gradient(94.57deg, #e95183 0%, #efaB87 47.4%, rgba(233, 81, 131, 0) 100%);
    background-repeat: no-repeat;
    background-size: 100% 5px;
    background-position: center bottom;
    padding: 10px 0 10px;
    color: #122b46;
    font-weight: 700;
    line-height: calc(0.0625 * 36rem);
    margin-bottom: 24px;
    margin-top: 64px;
    font-size: calc(0.0625 * 24rem);
    font-family: 'Noto Sans JP', sans-serif;
}

#textpage h2 {
	background-color: #fff;
}

/* reissue */
p#reissue a{
	text-decoration: none;
}

/* config */
table.config th, table.config td{
	border-bottom: none;
}

table.config th {
	width: 14em;
}

table.config tr:nth-child(even) {
	background: transparent;
}

 a.snsbtn {
	border-radius: 4px;
	text-decoration:none;
	color: #fff;
	padding: 8px;
	font-weight: normal;
}

 a.snsbtn i {
	margin-right: 5px;
}

 a#twitter{
	background:#55acee;
}

 a#twitter:hover{
	background:#449bcc;
}
/*
@media only screen and (max-width: 767px) and (min-width: 480px)
.container_24 .grid_16 {
    width: 470px;
}

@media only screen and (max-width: 960px) and (min-width: 768px)
.container_24 .grid_16 {
    width: 65.667%;
}
*/

/* add course */
table#addlist {
	width: 80%;
	font-size: 1rem;
	background: #fff;
}

table#addlist .cousetitle {
	font-size: 22px;
	font-weight: bold;
}

table#addlist .cousetitle div.note{
	font-size: 0.8rem;
	font-weight: normal;
}

table#addlist .cousetitle,
table#addlist .actions {
	vertical-align: middle;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

table#addlist .actions {
	text-align: center;
	width: 20%;
}

table#addlist .actions a {
	padding: 0.4rem;
}

table#addlist .summary {
	text-align: left;
	padding: 6px;
}

/* questionnaire modal */
.questionnaire {
	position: fixed;
	width: 80%;
	max-width: 800px;
	height: 70dvh;
	padding: 2em;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fefefe;
	border-radius: 20px;
	z-index: 999;
}

.questionnaire_inner {
	height: 100%;
	overflow-y: hidden;
}

.questionnaire_inner h3 {
	line-height: 1.5;
	font-size: 1.2rem;
}

.questionnaire_header, .questionnaire_form form {
	width: 90%;
	margin: 0 auto;
}
.questionnaire_inner h4 {
	text-align: center;
	margin: 1em 0;
	font-size: 1.3rem;
}

.questionnaire_form {
	height: 100%;
	overflow-y: scroll;
	overscroll-behavior-y: none;
}

.questionnaire_form form .required label:after {
	content: '';
}

	
.questionnaire_form form div {
	margin-bottom: 0.5em;
}

.questionnaire_form input[type=radio] {
	float: none;
	
}

.questionnaire_form .radio label {
    margin-left: 0.5em;
    margin-right: 1.5em;
    font-size: 100%;
    display: inline-block;
    font-weight: normal;
}

.questionnaire_form .radio label:last-of-type {
	margin-right: 0;
}

.questionnaire_form p {
	margin-bottom: 0.25em;
	font-weight: bold;
}

.questionnaire_form form div.submit{
	margin-bottom: 20px;
	text-align: center;
}


.questionnaire_form section {
	margin-bottom: 25px;
}

.questionnaire_ret {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.questionnaire_close {
	margin-top: 2em;
	cursor: pointer;
}

.questionnaire_close:hover {
	opacity: 0.8;
}

.cover {
	background: rgba(0, 0, 0, 0.8);
	width: 100%;
	height: 100dvh;
	z-index: 800;
	position: fixed;
	top: 0;
	left: 0;
}

p.ajax_error {
	text-align: center;
	color: #f00;
	font-weight: normal;
}

@media only screen and (max-width: 1260px) and (min-width: 960px){
	/*
	.container_24 .grid_16 {
	    width: 600px;
	}
	*/
	div#contentwrap, div#lessonqa {
		width: 78%;
		margin-left: 16%;
	}

	div#lessonmenu {
		width: 16%;
	}


	div#sidebar  {
		width: 16%;
		font-size: 95%;
	}

	div.textimg div {
		height: 7.2vh;
	}
}

@media only screen and (max-width: 1080px){
	div.textimg div {
		height: 6vh;
	}

	div#newinfo {
		width: 100%;
	}

	div#sidebar {
		width: 20%;
	}
}

@media only screen and (max-width: 1010px){
	div.textimg div {
		height: 5.55vh;
	}
}

@media only screen and (max-width: 945px){
	div.textimg div {
		height: 5vh;
	}
}

@media only screen and (max-width: 894px){
	div.textimg div {
		height: 4.6vh;
	}
}

@media only screen and (max-width: 839px){
	div.textimg div {
		height: 4.2vh;
	}
}