/* -------------------------------------------------------
    japanknowledge.com personal top css
    last update 2022.5.17 Ver 1.10
------------------------------------------------------ */

.youtube-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}
.youtube-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.youtube-container #video-start {
	position: relative;
	cursor: pointer;
}
.youtube-container #video-start:hover {
	opacity: 0.8;
}
.youtube-container #video-start p {
	position: absolute;
	font-size: 30px;
	/* vertical-align: middle; */
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
}
.youtube-container #video-start span {
	vertical-align: top;
}
.youtube-container #video-start span .fa-circle {
	color: #fff;
}
.youtube-container #video-start span .fa-youtube-play {
	font-size: 54px;
	color: #c00;
}
.youtube-container #video-start span .fa-youtube {
	color: #fff;
}


/* 主要コンテンツ紹介
------------------------------------*/
#jumbotronArea {
	margin: 0 0 20px;
}
#jumbotron {
	position: relative;
	font-family: "メイリオ", "Meiryo", verdana, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
	background: #fff url("/image/personal_top_bg.png") no-repeat bottom center;
	background-size: 100% auto;
}
#jumbotron .txt {
	min-height: 360px;
	text-align: center;
}
#jumbotron .txt h1 {
	font-size: 1.5rem;
	line-height: 1.4;
	color: #d24700;
	margin: 0;
	padding: 1rem 0 .25rem;
}
#jumbotron .txt h1 .no {
	font-size: 1.5em;
}
#jumbotron .txt h1 strong {
	display: block;
	font-size: 1.5em;
	color: #000;
}
#jumbotron .txt p {
	font-size: .875rem;
	margin: 0;
}
#jumbotron .nav {
	color: #fff;
	padding: 0 0 3rem;
	text-align: center;
}
#jumbotron .nav p {
	margin: 0;
}
#jumbotron .nav p.copy {
	font-size: 1.25rem;
	font-weight: bold;
	margin-bottom: 1rem;
}
#jumbotron .nav p.register a {
	display: inline-block;
	font-size: 1.5rem;
	font-weight: bold;
	line-height: 1.5;
	color: #fff;
	padding: .5rem 3rem;
	background: #d24700;
	border: none;
	border-radius: .5rem;
	box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
	text-decoration: none;
	text-align: center;
}

/* 左ペイン
------------------------------------*/
#main .box {
	font-family: "メイリオ", "Meiryo", verdana, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Osaka", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
	margin: 0 0 20px;
	background: #fff;
	border: 1px solid #ccc;
}
#main .box .boxTitle {
	padding: 10px 20px;
	background: #fbfbfb;
	background-image: -moz-linear-gradient(top, #fbfbfb, #f8f8f8);
	background-image: -ms-linear-gradient(top, #fbfbfb, #f8f8f8);
	background-image: -o-linear-gradient(top, #fbfbfb, #f8f8f8);
	background-image: -webkit-gradient(linear, center top, center bottom, from(#fbfbfb), to(#f8f8f8));
	background-image: -webkit-linear-gradient(top, #fbfbfb, #f8f8f8);
	background-image: linear-gradient(top, #fbfbfb, #f8f8f8);
	border-bottom: 1px solid #e7e7e7;
	overflow: hidden;
}
#main .box .boxTitle h2 {
	float: left;
	font-family: "メイリオ", Meiryo, sans-serif;
	font-size: 14px;
	font-weight: normal;
	line-height: 18px;
	margin: 0;
}
#main .box .boxTitle h2.l {
	font-size: 18px;
}
#main .box .boxTitle p.link {
	float: right;
	line-height: 18px;
}
#main .box .boxMain {
	padding: 10px 20px;
}
#main .box .boxMain h3.head {
	font-size: 16px;
	font-weight: bold;
	margin: 20px 0 10px;
}

/* コンテンツ紹介用バナー（枠線なし）　*/
#main .boxBanner {
	margin: 0 0 20px;
	background: #fff;
	border: none;
}

/* ジャパンナレッジとは？　*/
#main .aboutJapanknowledge {
	margin: 0 0 10px;
}
#main .aboutJapanknowledge p.copy {
	font-size: 24px;
	color: #cf3c05;
	margin: 10px 0;
}
#main .aboutJapanknowledge p.price {
	padding: 10px 15px;
	background: #ffe5d6;
	overflow: hidden;
}
#main .aboutJapanknowledge p.price strong {
	float: left;
	font-size: 18px;
	line-height: 30px;
}
#main .aboutJapanknowledge p.price strong span {
	color: #cf3c05;
}
#main .aboutJapanknowledge p.price a {
	float: right;
	font-size: 14px;
	line-height: 30px;
}
#main .aboutJapanknowledge .contentsList {
	padding: 20px 0 0;
	border-top: 1px solid #ccc;
	overflow: hidden;
}
#main .aboutJapanknowledge .contentsList .blockA,
#main .aboutJapanknowledge .contentsList .blockB {
	float: left;
	width: 50%;
}
#main .aboutJapanknowledge .contentsList th,
#main .aboutJapanknowledge .contentsList td {
	font-size: 14px;
	text-align: left;
	padding: 0 0 20px;
	vertical-align: middle;
}
#main .aboutJapanknowledge .contentsList th {
	width: 90px;
}
#main .aboutJapanknowledge .contentsList strong {
	display: block;
	width: 70px;
	height: 70px;
	font-size: 16px;
	color: #e77835;
	border: 2px solid #e77835;
	border-radius: 40px;
}
#main .aboutJapanknowledge .contentsList strong span {
	display: table-cell;
	width: 70px;
	height: 70px;
	text-align: center;
	vertical-align: middle;
}
#main .aboutJapanknowledge .contentsList .contentsMore {
	font-size: 14px;
	margin: 0 0 15px;
	text-align: center;
}

/* お知らせ　*/
#main .newsList {
	overflow: hidden;
}
#main .newsList dl {
	margin: -10px 0 0;
	overflow: hidden;
}
#main .newsList dt {
	clear: both;
	float: left;
	width: 9em;
	font-size: 14px;
	font-weight: normal;
	padding: 10px 0;
	border-top: 1px solid #f2f0eb;
}
#main .newsList dd {
	font-size: 13px;
	margin: 0;
	padding: 10px 0;
	border-top: 1px solid #f2f0eb;
	overflow: hidden;
}
#main .newsList dd h3 {
	font-size: 14px;
	color: #5066D4;
	margin: 0;
}
#main .newsList dd div {
	color: #707070;
	padding: 5px 0 0;
}
#main .newsList .new {
	display: inline-block;
	font-size: 10px;
	font-weight: bold;
	line-height: 1.8;
	color: #fff;
	margin: 0 0 0 7px;
	padding: 0 7px;
	background: #c00;
	vertical-align: 2px;
}

/* 知識の泉　*/
#main #articles .boxTitle {
	border-bottom: none;
}
#main #articles .topics {
	background: #fff;
	overflow: hidden;
	zoom: 1;
}
#main #articles .topics .entry {
	position: relative;
	float: left;
	width: 50%;
	height: 150px;
	font-size: 12px;
	overflow: hidden;
}
#main #articles .topics .entry a {
	display: block;
	color: #333;
}
#main #articles .topics .entry a:hover {
	color: #e4671b;
	text-decoration: none !important;
	opacity: 0.8;
}
#main #articles .topics .entry a:hover .txt * {
	color: #e4671b !important;
}
#main #articles .topics .entry .category {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 150px;
	font-size: 11px;
	line-height: 1.2;
	color: #fff;
	padding: 5px 0;
	background: #333;
	text-align: center;
	z-index: 100;
}
#main #articles .topics .entry .img {
	position: relative;
	float: left;
	width: 150px;
	height: 150px;
	overflow: hidden;
}
#main #articles .topics .entry .img img {
	width: auto;
	height: 100%;
	width: 100%; /* 20230411 胸熱記事対応 */
}
#main #articles .topics .entry .img .caption {
	position: absolute;
	display: block;
	right: 0px;
	bottom: 0px;
	font-size: 11px;
	color: #fff !important;
	padding: 2px 5px;
	background-color: rgba(0,0,0,0.5);
}
#main #articles .topics .entry .txt {
	padding: 10px;
	border-top: 1px solid #e7e7e7;
	overflow: hidden;
}
#main #articles .topics .entry h3 {
	font-size: 13px;
	font-weight: bold;
	line-height: 1.3;
	color: #000;
	margin: 0 0 5px;
}
#main #articles .topics .entry p {
	line-height: 1.5;
	color: #666;
	margin: 0;
}
#main #articles .topics .entry#englishQuiz {
	width: 100%;
	height: auto;
	background: url(https://ssl.japanknowledge.jp/english_quiz/images/bg.jpg);
}
#main #articles .topics .entry#englishQuiz a,
#main #articles .topics .entry#englishQuiz div.error {
	margin: 10px;
	display: block;
	min-height: 55px;
	color: #000;
	text-align: center;
	text-decoration: none;
}
#main #articles .topics .entry#englishQuiz a .logo,
#main #articles .topics .entry#englishQuiz div.error .logo {
	float: left;
	margin: 0 15px 0 0;
}
#main #articles .topics .entry#englishQuiz a .logo img,
#main #articles .topics .entry#englishQuiz div.error .logo img {
	height: 50px;
}
#main #articles .topics .entry#englishQuiz a .txt,
#main #articles .topics .entry#englishQuiz div.error .txt {
	min-height: 36px;
	padding: 8px 12px;
	background: #fff;
	box-shadow: 0 0 15px #78431f;
	text-align: left;
	overflow: hidden;
}
#main #topicsMore {
	margin: 8px 0 20px;
	text-align: right;
}


/* 右ペイン
------------------------------------*/
#rightPane .books .book {
	font-size: 12px;
	line-height: 1.3;
	margin: 0 0 20px;
	background: #fff;
	border: 1px solid #ccc;
	overflow: hidden;
}
#rightPane .books .catch {
	color: #fff;
	padding: 5px 10px;
	background: #333;
	text-align: center;
}
#rightPane .books .main {
	display: table;
	padding: 15px;
}
#rightPane .books .img {
	display: table-cell;
	padding: 0 10px 0 0;
	vertical-align: middle;
}
#rightPane .books .img img {
	width: 70px;
	height: auto;
	border: 1px solid #ccc;
}
#rightPane .books .txt {
	display: table-cell;
	vertical-align: middle;
}
#rightPane .books .txt strong {
	display: inline-block;
	font-size: 16px;
	margin: 0 0 5px;
}


/* メディアクエリー
------------------------------------*/
@media (max-width: 640px) {

	#main {
		margin: 0 10px;
	}
	
	/* 主要コンテンツ紹介 */
	#jumbotron .txt {
		min-height: inherit;
	}
	#jumbotron .txt h1 {
		font-size: 1.25rem;
	}
	#jumbotron .txt h1 strong span,
	#jumbotron .txt p span {
		display: block;
	}
	#jumbotron .nav {
		padding: 6rem 0 1.5rem;
	}
	#jumbotron .nav p.copy {
		font-size: .875rem;
		line-height: 1;
	}
	#jumbotron .nav p.register a {
		font-size: 1.125rem;
		line-height: 3rem;
		padding: 0 2rem;
	}
	#rightPane {
		padding: 0 10px !important;
	}
	#rightPane #loginButton {
		margin: 0 0 10px;
	}
	#rightPane #searchPsnl.loggedIn {
		margin: 0 0 10px;
		overflow: visible !important;
	}
	#rightPane #searchPsnl.loggedIn .footerLink {
		margin: 10px 0;
		overflow: hidden !important;
	}
	
	/* ジャパンナレッジとは？　*/
	#main .aboutJapanknowledge .contentsList .blockA,
	#main .aboutJapanknowledge .contentsList .blockB {
		float: none;
		width: auto;
	}
	
	/* 知識の泉　*/
	#main #articles .topics .entry {
		float: none !important;
		width: auto;
	}
	#main #articles .topics .entry#englishQuiz a .logo,
	#main #articles .topics .entry#englishQuiz div.error .logo {
		float: none;
		margin: 0 0 15px;
	}

	/* ムービー画像 */
	#main #video-start p {
		top: 50%;
		bottom: auto;
		left: 50%;
		transform: translate(-50%, -50%);
	}
	
}

@media (max-width: 374px){
	
	html {
		font-size: 4.266666vw;
	}
	
}

