/*
Theme Name: 安全教育サイト
Theme URL: http://example.com/
Description: This is Description.
Author: HAMONI
Version: 1.0.1
Tags: 
License: 
License URI: 
*/

:root {
	--text-color: #000;
	--bg-color: #3f8d81;
	--menubg-color: #ecf6f5;
}
*{
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	box-sizing: border-box;
}
body {
	margin: 0;
	padding: 0;
	color: var(--text-color);
	font-family: 'Noto Serif JP', serif;
	font-weight: 200;
	line-height: 1.6; 
	-webkit-text-size-adjust: 100%; 
	-webkit-font-smoothing: subpixel-antialiased;
	word-wrap: break-word; 
	word-break: break-all; overflow-wrap : break-word;
	background-color: var(--menubg-color);
}
a{color: var(--text-color); text-decoration: none;}
a:link {color: var(--text-color);}
a:visited {color: var(--text-color);}
a:hover{
color: #e45d93;
cursor : pointer;
}
a:active {color: #e45d93;}

/* layout */
.container {
	display: flex;
	max-width: 1500px;
	margin: 0 auto;
	min-height: calc(100vh - 86px);
}

.container .l {
	width: 230px;
	padding: 20px 20px 20px 20px;
	box-shadow: rgba(18, 43, 70, 0.5) 0px 3px 13px 0px;
	z-index: 2;
}
.container .r {
	width: calc(100% - 230px);
	padding: 20px 20px 20px 50px;
	background-image: url(/wp-content/themes/safetyEnvironmentalEngineering/dist/assets/images/splash_bg.png);
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: center 150px;
	background-color: #fff;
}
.left__nav li {
	margin-bottom: 1rem;
}
body#signin .container .l {
	display: none;
}
body#signin .container .r {
	width: 100%;
	background-image: url(/wp-content/themes/safetyEnvironmentalEngineering/dist/assets/images/aaa.png), url(/wp-content/themes/safetyEnvironmentalEngineering/dist/assets/images/splash_bg.png);
	background-repeat: no-repeat, no-repeat;
	background-size: 60%, 90%;
	background-position: center 300px,center 150px;
	background-color: #fff;
}

/* SP menu */
#mmenu{display: none;}
.menu-trigger {display: none; }

.spmenu li {
	margin-bottom: 1.3rem;
	font-size: 20px;
	font-weight: 400;
}

#mmenu.fadeIn {
	display: block;
	animation-fill-mode:both;
	animation-duration: 0.8s;
	animation-name: fadeIn;
	visibility: visible !important;
	position: fixed;
	top: 60px;  height: 100vh;
	right: 0; bottom: 0; left: 0;
	width: 100vw;
	background-color: var(--menubg-color);
	z-index:10;
	padding: 20px 10px 0;
}
@keyframes fadeIn {
	0% { opacity: 0; /*transform: translateY(-20px);*/ }
	100% { opacity: 1; /*transform: translateY(0);*/ }
}


/* learndash */
.ld-lesson-status,
.ld-course-status {
  display: none !important;
}

.header__body {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
}

.header__title {
	font-size: 30px;
	line-height: 26px;
	font-weight: 600;
}
.header__body i {
	font-size: 30px;
}
/* learndash course */
.courseList {
	display: grid;
	grid-template-columns: repeat(3, minmax(0px, 1fr));
	column-gap: 30px;
	row-gap: 30px;
	margin-bottom: 30px;
}
.courseList .courseGrid {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid #dddddd;
	border-radius: 4px;
	box-shadow: 2px 2px 2px 1px rgb(0 0 0 / 5%);
	background: white;
}
.courseList .courseGrid .courseGrid__body {
	padding: 15px 15px 15px;
}
.courseList .courseGrid .button a{
	background-color: var(--bg-color);
	border-radius: 5px;
	font-size: 1rem;
	padding: 7px 0;
	display: block;
	color: white;
	text-align: center;
	margin-top: 15px;
	font-weight: 400;
}
.courseGrid__img {
	width: 100%;
	height: auto;
}
.courseGrid__title {
	font-weight: 400;
}
.course__imgWrap {
  position: relative;
}
.course__imgWrap::after {
  display: block;
  content: "";
  padding-top: 40.3%;
}
.course__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.course__title {
  font-size: 1.4rem;
  line-height: 3.6rem;
  margin: 40px 0 10px;
}
.course__descriptionTitle {
  font-size: 1.4rem;
  line-height: 2;
  font-weight: bold;
  color: #265D55;
  margin-top: 24px;
}
.course__description {
  font-size: 1.6rem;
  line-height: 2;
  color: #265D55;
}
.course__listTitle {
  font-size: 1.3rem;
  line-height: 3.6rem;
  margin-top: 40px;
  font-weight: 600;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_text {
		padding: 1em 0px 0;
}
.learndash-wrapper .wpProQuiz_content .wpProQuiz_button {
	padding: 1em 30px;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_listItem .wpProQuiz_question ul.wpProQuiz_questionList{
	display: flex;
}
.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem{
	width: 50%;
}
.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem label{
	font-size: 3rem;
	text-align: center;
	font-weight: 600;
	padding: 0;
}
.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem:nth-child(1) label{
background: aqua;
}
.learndash-wrapper .wpProQuiz_content ul.wpProQuiz_questionList input.wpProQuiz_questionInput {
	display: none;
}
.wpProQuiz_content .wpProQuiz_question_text {
	margin-bottom: 50px;
}
.learndash-wrapper .wpProQuiz_content .wpProQuiz_response{
	
}
.wpProQuiz_content .wpProQuiz_question_text {
	font-weight: 600;
}

learndash-wrapper * {
	text-align: center;
}
.learndash-wrapper .wpProQuiz_content .wpProQuiz_button {
	margin: 30px auto 0;
	background-color: var(--bg-color);
	float: none !important;
}
/* learndash lesson */
.lessonList {
  margin-top: 24px;
}
.lessonList__itemA {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 0 26px;
  border: 1px solid #DBE7E6 !important;
  border-bottom: 1px solid #DBE7E6 !important;
  font-size: 1.3rem;
  line-height: 2;
  font-weight: 600;
  margin-bottom: 15px;
  color: #265D55;
  border-radius: 5px;
  position: relative;
}
.lessonList__itemA.done {
  background-color: #999;
  color: #FCFBFC;
}
.lessonList__itemA.done > .icon {
  color: #FCFBFC;
}
.lessonList__itemA > .icon {
  font-size: 2rem;
  line-height: 3.6rem;
  margin-right: 12px;
  color: #DBE7E6;
}
.learndash-wrapper * {
  text-align: center;
}
.learndash-wrapper a {
  border-bottom: 1px solid #DBE7E6 !important;
}

/* lesson video */
.ld-content-action input.learndash_mark_complete_button, 
.ld-content-action a.ld-button {
	display: none;
}
.ld-content-action input.learndash_mark_complete_button.show, 
.ld-content-action a.ld-button.show {
	display: block;
}

/* form */
.signinupForm__contentWrap {
	margin: 0 auto 50px;
	width: 320px;
}
.signinupForm__contentWrap .signinupForm__input {
	padding: 10px 10px 10px 40px;
	border: 1px solid #000;
	border-radius: 5px;
	width: 100%;
	/*margin-bottom: 15px;*/
}
.inputfas {
	position: relative;
	margin-bottom: 15px;
}
.inputfas label {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	margin-left: 10px;
}
button.btn--green {
	width: 100%;
	background-color: var(--bg-color);
	border-radius: 5px;
	font-size: 1rem;
	padding: 8px 0;
	display: block;
	color: white;
	text-align: center;
	margin: 30px auto 10px;
	font-weight: 600;
}
.waku {
	text-align: center;
	border-radius: 5px;
	border: 3px solid var(--bg-color);
	padding: 20px;
	background-color: white;
}
.waku a {
	display: inline-block;
}
a.signinupForm__goSignUpPage {
	border-radius: 5px;
	border: 2px solid var(--bg-color);
	font-weight: 600;
	font-size: 1rem;
	padding: 8px 0;
	text-align: center;
	width: 100%;
	color: var(--bg-color);
}
.youtube {
	text-align: center;
	padding: 50px 0 20px;
}



/* mypage */
.mypage .avator img {
	width: 250px;
	height: auto;
}

table.mypage {
	width: 100%;
	margin: 0 auto;
	border-collapse :collapse;
	background: #fff;
}
table.mypage td,
table.mypage th {
	border:1px solid #d4d4d4;
	padding:10px;
}
table.mypage th{
	width: 8em;
	font-weight: normal;
	background: #efefef;
	text-align: left;
	vertical-align: middle;
}
table.mypage.ty2 th{width: 15em;}


/* footer */
.footer{
	font-size: 14px;
	background-color: var(--bg-color);
	/*color: var(--menubg-color);*/
	padding: 16px 0 16px;
}
.footer, .footer a{
	/*color: var(--menubg-color);*/
	color: white;
}
.footer__nav {
	display: flex;
	justify-content: center;
	margin-bottom: 12px;
}
.footer__navItem {
	/*margin-right: 10px;*/
}
.footer__copy {
	text-align: center;
	font-size: 12px;
}



@media only screen and (max-width: 1000px) {
	.container .l {width: 190px;padding: 15px;}
	.container .r {width: calc(100% - 190px);padding: 15px 15px 15px 40px;}
	.courseList {column-gap: 25px; row-gap: 25px; margin-bottom: 25px;}
	.youtube {
		position: relative;
		padding-bottom: 56.25%;
		height: 0;
		overflow: hidden;
	}
	.youtube iframe {
		position: absolute;
		top: 0; left: 0;
		width: 100% !important;
		height: 100% !important;
	}
}
@media only screen and (max-width: 767px) {
	.container .l {width: 170px;padding: 12px;}
	.container .r {width: calc(100% - 170px);padding: 12px 12px 12px 36px;}
	.courseList {
		grid-template-columns: repeat(2, minmax(0px, 1fr));
		column-gap: 25px; row-gap: 25px; margin-bottom: 25px;
	}
	table.mypage {width: 100%;margin: 0;}
	table.mypage th, table.mypage.ty2 th, 
	table.mypage td {
		width: 100%; display: block; border-top: none;
		box-sizing: border-box;
	}
	table.mypage tr:first-child th {
		border-top: 1px solid #d4d4d4;
	}
	table.mypage tr th {
		background:  #d4d4d4;
	}
}
@media only screen and (max-width: 640px) {
	.container .l {display: none; }
	.container .r {width: 100%;padding: 6px 10px 10px 10px;}
	.courseList {display: block;}
	.courseList .courseGrid {margin-bottom: 20px;}
	.header__title {font-size: 22px; line-height: 24px;}
	.header__title img {width: 24px; height: 24px;}
	/* SP menu */
	.header__body i {font-size: 26px;}
	.header__body .pc {padding-right: 12px; }
	.menu-trigger {display: inline-block; }
	.menu-trigger span::after {font-size: 24px; content: "\f0c9"; font-family: "Font Awesome 5 Free"; font-weight: 900;}
	.menu-trigger.active span::after {content: "\f00d";}
	.footer{padding: 0px 0 16px;}
	.footer__nav {display: block;margin-bottom: 12px;}
	.footer__navItem {padding: 10px;text-align: center;border-bottom: 1px solid white;}
	.footer__navItem span{display: none; }
	.footer__navItem a {font-size: 14px; font-weight: 400;}
}


