@charset "UTF-8";
/*
 * miraiseed/sq/index.html（メインコンテンツ周辺）
 * - common2024/css/style_header_footer03.css
 * - miraiseed/common/css/style.css（レイアウト・製品共通・Speaking Quest 配色等）
 * body クラス: .product.speakingquest を想定
 */

/* ==========================================================================
 * miraiseed/common/css/style.css から抜粋
 * （コンテンツエリアのベース／.content～製品見出し／Speaking Quest 配色／ボタン・バッジ）
 * ※ moviearea・FAQ 専用クラスは style.css 未収録のため未転記
 * ========================================================================== */

html {
	height: 100%;
}

body {
	height: 100%;
	text-align: left;
	font-size: 16px;
	font-weight: 400;
	color: #333333;
	line-height: 1.7;
	word-break: break-all;
	font-family: "Noto Sans Japanese", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif;
}

.clearfix:after {
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
	content: ".";
	zoom: 1;
}

a {
	color: #2A3054;
	text-decoration: none;
	outline: none;
	display: block;
	transition: opacity 0.2s ease-in-out;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

a img {
	vertical-align: middle;
}

a:hover {
	opacity: .7;
}

/* layout */
.content {
	padding-bottom: 50px;
	background-color: #F7F5ED;
}

.container {
	width: 960px;
	margin: 0 auto;
}

.heading {
	padding: 30px 0 60px;
	position: relative;
}

.heading .lead {
	font-weight: 500;
}

/* products common（SQ ページの .heading / .content に適用） */
body.product .content {
	padding-bottom: 0;
}

body.product .heading {
	height: 210px;
}

body.product .heading .breadcrumb,
body.product .heading .breadcrumb a,
body.product .heading h1,
body.product .heading .lead {
	color: #fff;
}

body.product .heading .wrap-badge h1 {
	float: left;
	line-height: 1em;
}

body.product .heading .wrap-badge .badge {
	float: left;
	vertical-align: middle;
	margin-top: 8px;
}

body.product .heading .wrap-badge .badge.tokkyo {
	color: #fff;
}

body.product .heading .lead {
	line-height: 1.6;
	margin: 15px 0 0;
}

body.product .heading .icon {
	float: left;
	width: 120px;
}

body.product .heading .text {
	padding-top: 10px;
	float: left;
}

body.product .heading .screenshot {
	float: right;
	width: 200px;
}

body.product h2 {
	font-size: 28px;
}

body.product h3 {
	font-size: 24px;
	line-height: 1;
	margin-bottom: 20px;
}

/* speakingquest & challenge english for school（index に現れるブロック向けに一部のみ） */
body.speakingquest .heading {
	background: #0081cc;
}

body.speakingquest.challenge .heading {
	background: #00bed2;
}

body.speakingquest h2,
body.speakingquest h3,
body.speakingquest .badge.white {
	color: #0081cc;
}

body.speakingquest.challenge h2,
body.speakingquest.challenge h3,
body.speakingquest.challenge .badge.white {
	color: #099dad;
}

body.speakingquest h3 .tokkyo {
	display: inline-block;
	vertical-align: top;
	height: 24px;
	margin-left: 20px;
}

body.speakingquest .bg-white {
	background-color: #fff;
}

.mr-10 {
	margin-right: 10px !important;
}

a.inline-link {
	display: inline-block;
	text-decoration: underline;
	color: #0978d3;
}

a.btn {
	border-radius: 4px;
	color: #fff;
	font-size: 14px;
	text-align: center;
	cursor: pointer;
	display: inline-block;
}

a.btn.large {
	height: 60px;
	line-height: 60px;
}

a.btn.small {
	height: 40px;
	line-height: 40px;
}

a.btn.navy {
	background: #2A3054;
}

a.btn.blue {
	background: #0977D3;
}

a.btn.small .ico-arrow-btn-header {
	vertical-align: baseline;
}

.badge {
	border: 2px solid #000;
	background: #fff;
	font-size: 14px;
	font-weight: 500;
	height: 30px;
	line-height: 26px;
	display: inline-block;
	border-radius: 15px;
	padding: 0 15px;
	box-sizing: border-box;
}

.badge.white {
	border-color: #fff;
}

.badge.tokkyo {
	border: 1px solid #fff;
	background: transparent;
	line-height: 28px;
}

.badge.tokkyo img {
	margin-right: 4px;
}

/* ----- style_header_footer03: グローバル（メディアクエリ外） ----- */

body.product .heading .wrap-badge + .lead {
	margin-top: 7px;
}
body.speakingquest .heading .lead br.is-sp-break {
	display: none;
}
body.speakingquest .heading h1 small {
	display: inline-block;
	font-size: 30px;
}
body.speakingquest .moviearea .videobox-block {
	overflow: hidden;
}
body.speakingquest .moviearea .videobox-block + div {
	margin-top: 20px;
}

/* style_header_footer03.css 内の .gnav, .content, footer グループから .content のみ */

@media screen and (min-width: 769px) {
	.content {
		min-width: 980px;
	}
}

@media screen and (max-width: 768px) {
	.container {
		width: 100%;
		padding-right: 20px;
		padding-left: 20px;
	}
	.heading {
		padding-bottom: 30px;
	}
	h1 {
		font-size: 32px;
	}
	.breadcrumb {
		margin-bottom: 20px;
	}
	.lead {
		margin-top: 15px;
		line-height: 1.5;
	}
	.tab li {
		font-size: 17px;
	}
	.tab li a {
		padding: 5px 10px;
	}
	body.product h2 {
		font-size: 22px;
	}
	body.product h3 {
		font-size: 18px;
		line-height: 1.25;
	}
	body.product .heading {
		height: auto;
		min-height: 160px;
	}
	body.product .heading .cleafix {
		display: flex;
		flex-wrap: wrap;
	}
	body.product .heading .icon {
		width: 15.625vw;
		min-width: 80px;
		padding-right: 2.6041666667vw;
		float: none;
	}
	body.product .heading .icon img {
		width: auto;
		max-width: 100%;
		height: auto;
		vertical-align: top;
	}
	body.product .heading .text {
		flex: 1;
		padding-right: 5px;
	}
	body.product .heading .wrap-badge h1 {
		min-width: 5em;
		margin-right: 20px;
		margin-bottom: 8px;
		line-height: 1.4;
	}
	body.product .heading .wrap-badge .badge {
		margin: 0 10px 8px 0 !important;
	}
	body.product .heading .lead br {
		display: none;
	}
	body.product .tabContents {
		padding: 15px;
	}
	body.product .tabContents h2 {
		font-size: 22px;
	}
	body.speakingquest .heading h1 {
		word-break: normal;
	}
	body.speakingquest .heading:is([style]) {
		height: auto !important;
		min-height: auto;
		padding-bottom: 15px;
	}
	body.speakingquest .heading h1 small {
		font-size: 21px;
	}
	body.speakingquest .moviearea .sqdescription {
		margin-top: 15px;
		margin-bottom: 20px;
	}
	body.speakingquest .moviearea .videobox-block {
		display: grid;
		grid-template-rows: auto;
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}
	body.speakingquest .moviearea .videobox {
		width: 100%;
		float: none;
	}
	body.speakingquest .moviearea .videobox .indextext {
		font-size: 18px;
	}
	body.speakingquest .moviearea .videobox .pretext {
		width: auto;
		height: auto;
	}
	body.speakingquest .moviearea .videobox iframe {
		width: 100%;
		height: calc((50vw - 30px) / 16 * 9);
		margin-top: 10px;
	}
	body.speakingquest .moviearea .manual {
		width: -moz-fit-content;
		width: fit-content;
		padding-top: 20px;
		padding-bottom: 30px;
	}
	body.speakingquest .moviearea .manual .indextext {
		font-size: 18px;
	}
	body.speakingquest .moviearea .manual .pretext {
		width: auto;
		height: auto;
		font-size: 16px;
	}
	body.speakingquest .moviearea .manual .manualimg {
		display: block;
		max-width: 100%;
		height: auto;
		margin-top: 10px;
		margin-inline: auto;
		vertical-align: top;
	}
	body.speakingquest .moviearea .manual .btn {
		display: block;
		max-width: 100%;
		margin-top: 10px;
		margin-inline: auto;
	}
	body.speakingquest .moviearea .manual > br {
		display: none;
	}
	body.speakingquest .faq-container > h2 {
		margin-bottom: 30px;
	}
	body.speakingquest .faq-container > h2 + br {
		display: none;
	}
	body.speakingquest .faq-container > h2 ~ br + br {
		display: none;
	}
	body.speakingquest .faq-container .tabContents .faq-a {
		padding-left: 20px;
	}
	body.speakingquest .faq-container .tabContents .faq-a h3 {
		font-size: 16px !important;
	}
	body.speakingquest .heading .lead br.is-sp-break {
		display: inline;
	}
	body.speakingquest .moviearea .videobox-block {
		grid-template-columns: 1fr;
	}
	body.speakingquest .moviearea .videobox-block [style="clear: both;"] {
		display: none;
	}
	body.speakingquest .moviearea .videobox iframe {
		height: calc((100vw - 40px) / 16 * 9);
	}
}
