@charset "UTF-8";
/* ==========================================================
   TRICK STAR ヘッダー・フッター（単体で完結するCSS）
   - base_new.css / style_new.css のうち、ヘッダー・フッターに必要な部分のみ抽出
   - PC表示は元のデザインと同一
   - レスポンシブ：ヘッダー 1050px以下 / フッター 768px以下
   - 画像は元サイトの絶対URLを指定（このフォルダ単体でも表示可能）
   ========================================================== */

/* ---------- 基本（base_new.css より） ---------- */
html {
	font-size: 62.5%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	height: 100%;
	display: block;
	position: relative;
}
body {
	margin: 0;
	padding: 0;
	color: #2E2E2E;
	font-size: 140%;
	font-family: 'メイリオ', Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', Helvetica, Arial, sans-serif;
	position: absolute;
	width: 100%;
	min-height: 100%;
	background: #fff;
}
div { box-sizing: border-box; }
a:link, a:visited { color: #00468C; text-decoration: none; }
a:hover { color: #666; text-decoration: underline; }
img { border: none; }
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 20px 0;
	padding: 0;
	font-size: 100%;
	line-height: 1.5;
	box-sizing: border-box;
}
h2 { font-size: 150%; }
ol, ul, dl { margin: 0 0 1em 0; padding: 0; }
ul ul { margin: 5px 0; }
li {
	line-height: 1.5;
	margin-left: 30px;
	padding: 0;
	padding-bottom: 8px;
}
.contentswidth {
	width: 1050px;
	margin: 0 auto;
	position: relative;
}
.sns {
	display: flex;
	list-style: none;
	margin-left: 10px;
	margin-top: 40px;
}
.sns li { margin-left: 10px; }

/* ページ本文を包む枠（フッターの高さ分の余白） */
#allwrapper {
	min-height: 100%;
	position: relative;
	padding-top: 52px;
	padding-bottom: 500px;
	overflow: hidden;
}

/* ---------- ヘッダー ---------- */
#headerblock {
	background: url(https://www.trickstar.jp/common_2015/pic_new/headerblock_bg.png) repeat-x center;
	height: 52px;
	color: #191919;
	box-shadow: 0 0 15px 0 #000;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 100;
}
#headerblock > .contentswidth {
	width: 1050px;
	position: relative;
}
#headerblock #headerlogo {
	margin: 0;
	position: absolute;
	top: 5px;
	left: 0;
	z-index: 2000;
}
#headerblock p { margin: 0; }

/* ハンバーガーボタン（PCでは非表示） */
#menutoggle { display: none; }

/* ---------- グローバルメニュー ---------- */
#mainmenu {
	position: fixed;
	height: 52px;
	width: 100%;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	list-style-type: none;
	color: #191919;
}
#mainmenu .contentswidth > ul {
	overflow: visible;
	text-align: right;
	margin: 0 -5px 0 0;
	position: relative;
}
#mainmenu .contentswidth > ul > li {
	height: 52px;
	margin: 0;
	padding: 0 5px 0 0;
	list-style-type: none;
	line-height: 52px;
	font-size: 12px;
	display: inline-block;
	position: relative;
	z-index: 200;
}
#mainmenu .contentswidth > ul > li:not(:first-child):before {
	content: "|";
	margin-right: 5px;
}
#mainmenu .contentswidth > ul > li > a { display: inline-block; }
#mainmenu .contentswidth > ul > li a:link,
#mainmenu .contentswidth > ul > li a:visited,
#mainmenu .contentswidth > ul > li a:hover {
	text-decoration: none;
	color: #191919;
}
#mainmenu .contentswidth > ul > li a:hover { text-decoration: underline; }

/* サブメニュー（PC：ホバーで表示） */
#mainmenu .contentswidth > ul > li > ul {
	display: none;
	position: absolute;
	top: 50px;
	padding: 0;
	margin: 0;
	width: 180px;
	background: #f0f0f0;
	text-align: left;
}
#mainmenu .contentswidth > ul > li:hover > ul,
#mainmenu .contentswidth > ul > li:focus-within > ul {
	display: block;
}
#mainmenu .contentswidth > ul > li > ul > li {
	margin: 0;
	padding: 0;
	width: 180px;
	border: none;
	list-style: none;
	font-size: small;
	border-bottom: 1px solid #777;
	line-height: normal;
}
#mainmenu .contentswidth > ul > li > ul > li > a {
	display: inline-block;
	width: 160px;
	color: #191919;
	text-shadow: none;
	padding: 7px 10px;
}

/* ---------- フッター ---------- */
#footerblock {
	background: url(https://www.trickstar.jp/common_2015/pic_new/footer_bg.png) repeat-y center #b3b3b3;
	color: #231815;
	font-size: 90%;
	z-index: 8;
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 500px;
}
#footerblock #footerlogo {
	display: block;
	margin: 20px auto;
}
#footerblock #footerprofile {
	text-align: left;
	padding: 20px 0;
	margin: 0;
}
#footerblock #footerprofile > div { text-align: center; }
#footerblock #footerprofile > div > div {
	display: inline-block;
	margin: 0 10px;
}
#footerblock #footerprofile > div > div > h2 {
	font-size: 14px;
	font-weight: bold;
	margin: 0 0 5px;
}
#footerblock #footerprofile > div > div > p {
	font-size: 12px;
	margin: 5px 0 1em;
}
#footerblock #footermenu {
	margin: 0 -10px;
	padding: 40px 0;
	border-top: #fff 1px solid;
}
#footerblock #footermenu .contentswidth { text-align: center; }
#footerblock #footermenu .contentswidth > ul {
	list-style-type: none;
	display: inline-block;
	vertical-align: top;
	text-align: left;
	margin: 0 10px -8px;
}
#footerblock #footermenu .contentswidth > ul > li {
	margin: 0 0 5px;
	padding: 0 0 0 8px;
	font-weight: bold;
	background: url(https://www.trickstar.jp/common_2015/pic_new/arrow-footer.png) left 6px no-repeat;
	font-size: 12px;
}
#footerblock #footermenu .contentswidth > ul > li a {
	text-decoration: none;
	color: #231815;
}
#footerblock #footermenu .contentswidth > ul > li a:hover { text-decoration: underline; }
#footerblock #copyright {
	color: #333;
	padding: 5px 0;
	border-top: #fff 1px solid;
	text-align: center;
}
#footerblock #copyright p { margin: 0; }

/* ==========================================================
   レスポンシブ
   ========================================================== */

/* ---------- ヘッダー：1050px以下 ---------- */
@media screen and (max-width: 1050px) {

	#headerblock > .contentswidth { width: 100%; height: 52px; margin: 0; }
	#headerblock #headerlogo { top: 10px; left: 12px; width: 160px; height: auto; }

	/* ハンバーガーボタン */
	#menutoggle {
		display: block;
		position: absolute;
		top: 0;
		right: 0;
		width: 52px;
		height: 52px;
		padding: 0;
		border: 0;
		background: none;
		cursor: pointer;
		z-index: 2100;
		-webkit-tap-highlight-color: transparent;
	}
	#menutoggle span,
	#menutoggle span::before,
	#menutoggle span::after {
		content: "";
		position: absolute;
		left: 14px;
		width: 24px;
		height: 2px;
		background: #191919;
		transition: transform .25s, opacity .25s;
	}
	#menutoggle span { top: 25px; }
	#menutoggle span::before { left: 0; top: -8px; }
	#menutoggle span::after  { left: 0; top: 8px; }
	#menutoggle.is-open span { background: transparent; }
	#menutoggle.is-open span::before { transform: translateY(8px) rotate(45deg); }
	#menutoggle.is-open span::after  { transform: translateY(-8px) rotate(-45deg); }

	/* メニュー本体（ドロワー） */
	#mainmenu {
		display: none;
		position: fixed;
		top: 52px;
		left: 0;
		width: 100%;
		height: calc(100vh - 52px);
		height: calc(100dvh - 52px);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		background: #f0f0f0;
		box-shadow: 0 6px 10px rgba(0,0,0,.3);
	}
	#mainmenu.is-open { display: block; }
	#mainmenu .contentswidth { width: 100%; margin: 0; }

	#mainmenu .contentswidth > ul { text-align: left; margin: 0; padding: 0; }
	#mainmenu .contentswidth > ul > li {
		display: block;
		height: auto;
		line-height: 1.5;
		font-size: 15px;
		margin: 0;
		padding: 0;
		border-bottom: 1px solid #ccc;
	}
	#mainmenu .contentswidth > ul > li:not(:first-child):before { content: none; margin: 0; }
	#mainmenu .contentswidth > ul > li > a {
		display: block;
		padding: 15px 20px;
		font-weight: bold;
	}

	/* サブメニューは常時展開 */
	#mainmenu .contentswidth > ul > li > ul {
		display: block;
		position: static;
		top: auto;
		width: 100%;
		margin: 0;
		padding: 0;
		background: #e4e4e4;
	}
	#mainmenu .contentswidth > ul > li > ul > li {
		width: 100%;
		margin: 0;
		padding: 0;
		font-size: 14px;
		border-top: 1px solid #d0d0d0;
		border-bottom: none;
	}
	#mainmenu .contentswidth > ul > li > ul > li > a {
		display: block;
		width: auto;
		padding: 12px 20px 12px 36px;
	}
}

/* ---------- フッター：768px以下 ---------- */
@media screen and (max-width: 768px) {

	/* 固定高さ500px・下端固定をやめ、内容に合わせて高さを自動にする */
	#allwrapper { padding-bottom: 0; }
	#footerblock { position: relative; bottom: auto; height: auto; }
	#footerblock .contentswidth { width: 100%; margin: 0; }

	#footerblock #footerlogo { width: 130px; height: auto; margin: 20px auto 10px; }

	#footerblock #footerprofile { padding: 10px 15px 20px; }
	#footerblock #footerprofile > div > div { display: block; margin: 0 auto; }
	#footerblock #footerprofile > div > div > p { line-height: 1.7; }
	#footerblock #footerprofile .sns {
		justify-content: center;
		flex-wrap: wrap;
		margin: 20px 0 0;
		padding: 0;
	}
	#footerblock #footerprofile .sns li { margin: 0 6px 8px; padding: 0; }
	#footerblock #footerprofile .sns img { width: 36px; height: auto; }

	#footerblock #footermenu { margin: 0; padding: 0 15px; }
	#footerblock #footermenu .contentswidth { text-align: left; }
	#footerblock #footermenu .contentswidth > ul {
		display: block;
		margin: 0;
		padding: 0;
	}
	#footerblock #footermenu .contentswidth > ul > li {
		margin: 0;
		padding: 12px 0 12px 14px;
		font-size: 13px;
		background-position: left center;
		border-bottom: 1px solid rgba(255,255,255,.7);
	}

	#footerblock #copyright { padding: 12px 15px; font-size: 11px; }
}
