@charset "UTF-8";
/*
THEME NAME: EMTG FAQ
THEME URI: http://faq.emtg.jp/emtg/
DESCRIPTION: EMTG FAQ Site Skin (responsive)
VERSION: 2.0
AUTHOR: EMTG
AUTHOR URI: http://emtg.jp
TAGS: EMTG, FAQ, MUSIC

This theme is the one of an FAQ site of EMTG.
*/

@font-face {
	font-family: "bleageFont";
	src: url("css/font/bleage_font.woff") format("woff"),
	     url("css/font/bleage_font.ttf") format("truetype");
}

/* reset
================================= */
*, *::before, *::after { box-sizing: border-box; }
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, form, fieldset, p, blockquote, th, td { margin: 0; padding: 0; }
table { border-collapse: collapse; border-spacing: 0; }
img { border: 0; max-width: 100%; height: auto; }
li { list-style: none; }
th { text-align: left; }
h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body {
	background: #f0f0f0;
	color: #000;
	font-size: 15px;
	line-height: 1.8;
	letter-spacing: 0.02em;
}
body { overflow-wrap: break-word; }

a { color: #000; text-decoration: none; transition: color .3s ease, background-color .3s ease; }
a:hover { color: #999; }

.txtC { text-align: center; }
.x-large { font-size: 139%; }
.large { font-size: 124%; }

/* ボタン */
.btn { text-align: center; }
.btn a {
	display: block;
	width: 100%;
	max-width: 300px;
	margin: 0 auto 20px;
	padding: 15px 20px;
	border: 1px solid;
	border-radius: 6px;
	font-size: 16px;
	line-height: 1.5;
	text-align: center;
}
.btn .main { background: #000; color: #fff; border-color: #000; }
.btn .main:hover { background: #fff; color: #000; }
.btn .sub { color: #000; }
.btn .sub:hover { background: #fff; }

/* header */
#header {
	text-align: center;
	line-height: 0;
	background: linear-gradient(to bottom, #fff 58%, #fafafa 100%);
}
#header img { display: block; margin: 0 auto; width: 920px; max-width: 100%; height: auto; }
h2.pageTit { padding: 24px 16px 8px; font-size: 22px; font-weight: bold; text-align: center; line-height: 1.4; }

/* main */
#mainContainer { max-width: 920px; margin: 0 auto 40px; }

/* nav (カテゴリピル + 検索) */
#sideBar { margin-bottom: 20px; padding: 20px 16px 8px; background: #fff; }
#sideBar ul { display: grid; grid-template-columns: 1fr; gap: 10px; }
#sideBar ul li a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 22px;
	font-size: 14px;
	line-height: 1.4;
	text-align: center;
	letter-spacing: 0;
}
#sideBar ul li a:hover, #sideBar ul li a.curr { color: #999; }
#sideBar ul { margin-bottom: 12px; }

/* list box */
#main .listBox { margin-bottom: 20px; padding: 24px 16px; background: #fff; }
#main h3.category { padding: 0 0 16px; font-weight: bold; font-size: 20px; line-height: 1.5; }
#main .listBox h3.tag { padding: 0 0 16px; font-weight: bold; }
#main .listBox h4 { margin: 10px 0 5px; padding: 6px 0 5px 12px; border-left: 4px solid #ddd; line-height: 1.2; }
.faqList li { border-bottom: 1px solid #ddd; }
.faqList li:first-child { border-top: 1px solid #ddd; }
.faqList li a {
	position: relative;
	display: block;
	min-height: 44px;
	padding: 14px 32px 14px 2.2em;
}
.faqList li a::before {
	content: "Q.";
	position: absolute;
	left: 0;
	top: 12px;
	font-family: "bleageFont";
	font-weight: bold;
	font-size: 20px;
	line-height: 1.5;
	color: #666;
}
.faqList li a::after {
	content: "";
	position: absolute;
	right: 8px;
	top: 50%;
	width: 8px;
	height: 8px;
	margin-top: -5px;
	border-top: 2px solid #999;
	border-right: 2px solid #999;
	transform: rotate(45deg);
}

/* search / tag result */
ul.search li { padding: 14px 0; border-bottom: 1px solid #ddd; }
ul.search li:first-child { border-top: 1px solid #ddd; }
ul.search dt { font-weight: bold; }
ul.search dt a { display: block; min-height: 44px; padding: 8px 0 0; }
ul.search dd { color: #666; font-size: 13px; }
.navigation.pagination { margin-top: 20px; text-align: center; }
.navigation.pagination .screen-reader-text { display: none; }
.navigation.pagination .page-numbers { display: inline-block; min-width: 44px; padding: 10px 12px; border: 1px solid #ddd; border-radius: 6px; line-height: 1.4; }
.navigation.pagination .current { background: #000; border-color: #000; color: #fff; }

/* detail */
#main .article { margin: 0 0 20px; padding: 24px 16px; background: #fff; }
#main article .title {
	display: flex;
	align-items: flex-start;
	margin: 0 0 24px;
	padding: 0 0 18px;
	border-bottom: 1px solid #ddd;
	font-size: 18px;
	line-height: 1.5;
}
#main article h2.tit { flex: 1 1 auto; min-width: 0; font-weight: bold; }
#main .article .q, #main .article .a {
	flex: 0 0 auto;
	width: 36px;
	margin-right: 4px;
	font-family: "bleageFont";
	font-weight: bold;
	font-size: 30px;
	line-height: 1.1;
	color: #999;
}
#main .article .q { color: #666; }
/* 本文は flex にしない。記事の HTML が壊れていて（閉じタグの過不足）本文が .text の外へ出ても、
   ブロックのまま流れて横にはみ出さないようにするため。「A.」は左の余白に絶対配置する。 */
#main article .postBody { position: relative; padding-left: 40px; }
#main article .postBody .a { position: absolute; left: 0; top: 0; margin-right: 0; }
#main article .postBody p { margin-bottom: 10px; }
#main article .postBody table { display: block; max-width: 100%; overflow-x: auto; border-top: 1px solid #ccc; border-left: 1px solid #ccc; }
#main article .postBody th, #main article .postBody td { padding: 2px 5px; border-bottom: 1px solid #ccc; border-right: 1px solid #ccc; }
#main article .postBody a { text-decoration: underline; }
#main article .postBody a:hover { color: #999; text-decoration: none; }
#main article .postBody iframe, #main article .postBody video, #main article .postBody embed, #main article .postBody object { max-width: 100%; }
#main article .postBody pre { max-width: 100%; overflow-x: auto; }
#main article .tag { margin-top: 20px; font-size: 13px; }

/* お問い合わせ */
.inquiry { margin: 0 0 20px; padding: 24px 16px 4px; text-align: center; background: #f0f0f0; }
.inquiry .text { margin-bottom: 12px; font-size: 14px; }

/* footer */
#footer { margin: 0 auto; padding: 20px 16px; background: #000; color: #fff; font-size: 11px; text-align: center; line-height: 1.7; }
#footer a { color: #888; text-decoration: underline; }
#footer .note { max-width: 920px; margin: 0 auto 10px; font-size: 10px; }
#footer .copy { max-width: 920px; margin: 0 auto; font-size: 10px; }

/* PC (幅 768px 以上) */
@media (min-width: 768px) {
	h2.pageTit { padding: 40px 0 30px; font-size: 30px; }
	#sideBar { padding: 25px 46px 15px; }
	#sideBar ul { grid-template-columns: repeat(3, 1fr); gap: 15px 4px; }
	#sideBar ul li a { padding: 8px 0; font-size: 12px; }
	#main .listBox { padding: 50px; }
	#main h3.category { padding-bottom: 25px; font-size: 24px; }
	#main .listBox h4 { margin: 10px 15px 5px; }
	.faqList li a { padding: 17px 40px 17px 2.2em; }
	.faqList li a::before { top: 16px; }
	.faqList li a::after { right: 8px; }
	#main .article { margin-bottom: 20px; padding: 50px; }
	#main article .title { margin-bottom: 40px; padding-bottom: 25px; font-size: 22px; }
	#main .article .q, #main .article .a { width: 45px; font-size: 36px; }
	#main article .postBody { padding-left: 49px; }
	.inquiry { padding: 30px 0 10px; }
	#footer { padding: 20px 0; }
}
