@charset "UTF-8";

/*--------------------------------------------------------------------
common
cssの初期化
--------------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: none;
  text-decoration: none;
  outline: none;
  font-style: normal;
  font-weight: normal;
  zoom: 1;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display: block; }
h1, h2, h3, h4, h5, h6 {
  line-height: 1.55;
  font-size: 100%;
  font-weight: normal;
}
table { border-collapse: collapse; }
table th, table td {
  text-align: left;
  vertical-align: top;
}
ul,ol { list-style-type: none; }
img {
  width: auto;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  object-fit: cover;
	object-position: 50% 50%;
}
* {
	-webkit-box-sizing: border-box;
		 -moz-box-sizing: border-box;
			-ms-box-sizing: border-box;
			 -o-box-sizing: border-box;
					box-sizing: border-box;
}
.Clear { clear: both; }


/*--------------------------------------------------------------------
common
ページ共通部分
--------------------------------------------------------------------*/
:root {
	--mincho: "游明朝" , "Yu Mincho" , "游明朝体" , "ヒラギノ明朝 Pro W3" , "HiraMinPro-W3" , "Sawarabi Mincho" , Garamond , "Times New Roman" , serif;
	--meiryo:   "メイリオ", Meiryo, "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Arial, Roboto, Verdana, "Droid Sans", sans-serif;
		
	--color-black:   #2a2b2b;	/*黒*/
	--color-white:   #ffffff;	/*白*/
	--color-orange:  #ff8f00;	/*オレンジ*/
	--color-red:     #ff0000;	/*赤*/
	--color-brown:   #c49a6d;	/*茶*/
	--color-green:   #249400;	/*緑*/
	--color-navy:    #002152;	/*紺*/
	--color-blue:    #00a6ff;	/*青*/
	--color-li-sil:  #bfbfbf;	/*灰*/
	
	--transformXY: translate(-50% , -50%);
	--transformX:  translateX(-50%);
	--transformY:  translateY(-50%);
}

/*------------body---------------------------------------------------------------*/
html {
	height: 100%;
	scroll-behavior: smooth;
}
body {
	height: 100%;
	background-color: var(--color-black);
	overflow-y: scroll;
	line-height: 1.4;
	font-feature-settings: "palt" 1;
	font-family: var(--meiryo);
	font-size: 16px;
	font-weight: normal;
	color: var(--color-white);
}
.PcOnly { display: block; }
.SpOnly { display: none; }
div#PageTop a {
	position: fixed;
	display: block;
	width: 40px;
	height: 40px;
	background: url("../../img/parts/pagetop.png") no-repeat left top / cover;
	right: 3%;
	bottom: 2%;
	overflow: hidden;
	line-height: 0;
	font-size: 0;
	z-index: 9999;
}

@media (max-width: 979px) {
	body { font-size: 14px; }
	.PcOnly { display: none; }
	.SpOnly { display: block; }
	.SpNo { display: none; }
	div#PageTop a {
		width: 20px;
		height: 20px;
	}
}

/*------------Header------------------------------------------------------------*/
header {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 9999;
}
.IsFixed { background-color: rgba(42,43,43,0.90); }
header #InHeader {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 980px;
	margin: 0 auto;
	padding: 10px 0;
}
header h1 { width: 76px; }
header h1 a {
	display: block;
	padding-top: 83.33333333333333%;
	background: url("../../img/parts/logo.svg") no-repeat left top;
	background-size: cover;
	overflow: hidden;
	line-height: 0;
	text-indent: -99999px;
	font-size: 0;
}
header ul {
	display: flex;
	justify-content: flex-end;
	text-align: right;
}
header ul li:not(:last-of-type)::after {
	display: inline-block;
	margin: 0 0.25em;
	content: "\00ff5c";
}
header ul li a {
	font-family: var(--mincho);
	font-size: 0.87em;
	font-weight: bold;
	color: var(--color-white);
	transition: opacity .3s;
}

@media (max-width: 979px) {
	header #InHeader {
		display: block;
		max-width: 96%;
		padding: 5px 0;
	}
	header #InHeader h1 {
		width: 10%;
		margin: 0 0 5px;
	}
	header #InHeader h1 span {
		display: block;
		width: 100%;
	}
	header #InHeader ul { display: none; }
}


/*------------#HeaderBG---------------------------------------------------------------*/
#HeaderBG {
	position: relative;
	width: 100%;
	min-height: 300px;
	background: url("../../img/parts/header_bg.jpg") no-repeat center center / cover;
	z-index: 0;
}
#HeaderBG::after {
	position: absolute;
	display: block;
	content: "";
	width: 100%;
	height: 45px;
	bottom: 0;
	left: 0;
	background: linear-gradient(to bottom,  rgba(84,34,34,1) 0%,rgba(157,20,20,1) 100%);
	clip-path: polygon(30% 0, 0% 100%, 100% 100%);
	z-index: 5;
}


/*------------#Title---------------------------------------------------------------*/
#Title {
	position: relative;
	width: 100%;
	background: linear-gradient(to bottom,  rgba(157,20,20,1) 0%,rgba(244,2,2,1) 100%);
	z-index: 0;
}
#Title h2 {
	position: relative;
	padding: 0 0.5em;
	text-align: center;
	line-height: 1.2;
	font-family: var(--mincho);
	font-size: 3.125em;
	font-weight: bold;
	color: var(--color-white);
	text-shadow: 
		 1px  1px 6px var(--color-red),
		-1px  1px 6px var(--color-red),
		 1px -1px 6px var(--color-red),
		-1px -1px 6px var(--color-red),
		 1px  0px 6px var(--color-red),
		 0px  1px 6px var(--color-red),
		-1px  0px 6px var(--color-red),
		 0px -1px 6px var(--color-red);
}
#Title h2 span {
	display: block;
	line-height: 1.2;
	font-family: var(--meiryo);
	font-size: 1rem;
	font-weight: normal;
	text-shadow: none;
}

@media (max-width: 979px) {
	#Title h2 {
		width: 100%;
		font-size: 2.89em;
	}
}


/*------------Contents---------------------------------------------------------------*/
#Contents {
	position: relative;
	width: 100%;
	padding-top: 150px;
	padding-bottom: 100px;
	z-index: 1;
}
#Contents::before {
	position: absolute;
	display:  block;
	content: "";
	width: 100%;
	height: 80px;
	top: -1px;
	left: 0;
	background: linear-gradient(to bottom,  rgba(244,2,2,1) 0%,rgba(255,0,0,1) 100%);
	clip-path: polygon(100% 0, 0 0, 70% 100%);
}
#Contents::after {
	position: absolute;
	display: block;
	content: "";
	width: 100%;
	height: 60px;
	bottom: -1px;
	left: 0;
	background-color: var(--color-white);
	clip-path: polygon(50% 100%, 100% 0, 100% 100%, 0 100%, 0 0);
	z-index: 2;
}


/*------------txtNav---------------------------------------------------------------*/
.txtNav ul a {
	position: relative;
	color: var(--co-white);
}
.txtNav ul a:hover { color: var(--color-red); }
.txtNav ul a::before {
	position: absolute;
	display: block;
	content: "";
	background-color: var(--color-red);
	width: 100%;
	height: 1px;
	left: 0;
	bottom: 0;
	margin: auto;
	transform-origin: center top;
	transform: scale(0, 1);
	transition: transform .3s;
}
.txtNav ul a:hover::before {
	transform-origin: center top;
	transform: scale(1, 1);
}
/*------------TopNav---------------------------------------------------------------*/
.nav {
	position: relative;
	width: 100%;
	max-width: 980px;
	margin: 0 auto 50px;
	z-index: 5;
}
#workNav { max-width: 600px; }
.nav ul {
  display: flex;
	flex-wrap: wrap;
  justify-content: center;
	gap: 10px;
}
.nav ul li {
	position: relative;
	display: flex;
  justify-content: center;
	transition: .5s;
	width: 190px;
	background-color: var(--color-red);
}
.nav ul li::before,
.nav ul li::after {
	position: absolute;
	display: block;
	content: "";
	width: 20px;
	height: 104%;
	top: 50%;
	transform: var(--transformY);
	background-color: var(--color-black);
}
.nav ul li::before {
	left: -1px;
	clip-path: polygon(0 100%, 100% 0, 0 0);
}
.nav ul li::after {
	right: -1px;
	clip-path: polygon(100% 100%, 100% 0, 0 100%);
}
.nav ul li a {
	position: relative;
	z-index: 1;
	width: 100%;
	display: flex;
  align-items: center;
  justify-content: center;
	padding: 0.5em 1em;
	transition: 1s;
	line-height: 1.2;
	text-align: center;
	font-family: var(--mincho);
	font-weight: bold;
	color: var(--color-white);
}
.nav ul li a::after {
	position: absolute;
	display: block;
	content: "";
	z-index: 0;
	width: 21px;
	height: 20px;
	top: 50%;
	right: 0;
	transform: var(--transformY);
	background: url("../../img/parts/nav_arrow.png") no-repeat left top / cover;
}
.nav ul li:hover {
	text-decoration: none;
	filter: alpha(opacity=75);
	-moz-opacity: 0.75;
	opacity: 0.75;
}
.nav ul li a:hover { color: #ff0; }

@media (max-width: 979px) {
	.nav { width: 94%; }
	.nav ul { justify-content: space-between; }
	.nav ul li { width: calc((100% - 10px) / 2); }
	.nav ul li::before,
	.nav ul li::after { width: 10px; }
	.nav ul li a::after {
		width: 15px;
		height: 14px;
	}
}

/*------------InBox------------------------------------*/
main article {
	position: relative;
	margin: 0 auto 70px;
	padding-bottom: 70px;
	overflow: hidden;
	z-index: 0;
}
main article:last-of-type {
	margin-bottom: 0;
	padding-bottom: 0;
}
main article:not(:last-of-type)::after {
	position: absolute;
	display: block;
	content: "";
	width: 780px;
	border-bottom: 1px dashed var(--color-li-sil);
	bottom: 0;
	left: 50%;
	transform: var(--transformX);
	z-index: 0;
}
main article section {
	position: relative;
	max-width: 980px;
	margin: 0 auto;
	overflow: hidden;
	z-index: 0;
}
main article section + section { margin-top: 40px; }
main article p + p { margin-top: 1em; }
main article h3 {
	position: relative;
	margin-bottom: 40px;
	padding-bottom: 0.5em;
	text-align: center;
	line-height: 1.2;
	font-family: var(--mincho);
	font-size: 2.5em;
	font-weight: bold;
}
main article h3::before {
	position: absolute;
	display: block;
	content: "";
	width: 500px;
	height: 5px;
	background-color: var(--color-red);
	bottom: 0;
	left: 50%;
	transform: var(--transformX);
	clip-path: polygon(1% 0, 100% 0, 99% 100%, 0% 100%);
	z-index: 0;
}
main article h4 {
	position: relative;
	margin-bottom: 15px;
	line-height: 1.2;
	font-family: var(--mincho);
	font-size: 1.625em;
	font-weight: bold;
}
main article table {
	width: 100%;
	border-collapse: collapse;
}
main article table tr th,
main article table tr td {
	width: auto;
	padding: 15px 10px;
	border-bottom: 1px solid var(--color-white);
	text-align: left;
	vertical-align: top;
}
main article table tr th {
	min-width: 15%;
	white-space: nowrap;
	font-weight: bold;
}
main article .Inner + .Inner { margin-top: 40px; }

@media (max-width: 979px) {
	main article:after { width: 80%; }
	main article section {
		position: relative;
		max-width: 94%;
		margin: 0 auto;
		overflow: hidden;
		z-index: 0;
	}
	main article h3::before { width: 90%; }
	main article table tr th,
	main article table tr td {
		display: block;
		width: auto;
		padding: 5px 15px;
		border-bottom: 1px solid var(--color-white);
		text-align: left;
		vertical-align: top;
	}
	main article table tr th {
		min-width: 100%;
		padding: 5px;
	}
}


/*------------footer---------------------------------------------------------------*/
footer {
	position: relative;
	width: 100%;
	padding-top: 80px;
	background-color: var(--color-white);
}


/*------------LogoTel------------------------*/
footer #LogoTel {
	display: flex;
	justify-content: space-between;
	width: 620px;
	margin: 0 auto;
}
footer #LogoTel h2 { width: 300px; }
footer #LogoTel h2 a {
	display: block;
	padding-top: 21.33333333333333%;
	background: url("../../img/parts/footer_logo.svg") no-repeat left top;
	background-size: cover;
	overflow: hidden;
	line-height: 0;
	text-indent: -99999px;
	font-size: 0;
}
footer #LogoTel dl { width: 281px; }
footer #LogoTel dl dt { display: none; }
footer #LogoTel dl dd span,
footer #LogoTel dl dd a {
	display: block;
	padding-top: 20.2846975088968%;
	background: url("../../img/parts/footer_tel.png") no-repeat left top;
	background-size: cover;
	overflow: hidden;
	line-height: 0;
	text-indent: -99999px;
	font-size: 0;
}

@media (max-width: 979px) {
	footer #LogoTel {
		display: block;
		width: 80%;
		margin: 30px auto 0;
	}
	footer #LogoTel h2 { width: 100%; }
	footer #LogoTel h2 span {
		display: block;
		width: 100%;
	}
	footer #LogoTel dl {
		width: 100%;
		margin-top: 10px;
	}
}

/*------------footer nav------------------------*/
footer nav {
	margin-top: 40px;
	color: var(--color-black);
}
footer nav ul {
  display: flex;
	flex-wrap: wrap;
  justify-content: center;
	font-size: 0.87em;
}
footer nav ul li:not(:last-of-type)::after {
	display: inline-block;
	margin: 0 0.5em;
	content: "｜";
}
footer nav ul li a {
	color: var(--color-black);
	transition: opacity .3s;
}

@media (max-width: 979px) {
	footer nav {
		margin-top: 1em;
		padding: 1em;
		background-color: var(--color-white);
	}
	footer nav ul { display: block; }
	footer nav ul li:not(:last-of-type)::after { display: none; }
	footer nav ul li + li { margin-top: 0.5em; }
	footer nav ul li a {
		transition: opacity .3s;
	}
	footer nav ul li::before {
		display: inline-block;
		padding-right: 0.2em;
		content: "■";
	}
	/* hamburger(ハンバーガーアイコン) =================================== */
	.hamburger {
		position: fixed;
		top: 0.55em;
		right: 1em;
		width: 20px;
		height: 20px;
		background: var(--color-red);
		cursor: pointer;
		z-index: 29999;
	}
	.BurgerLine {
		position: absolute;
		width: 16px;
		height: 2px;
		left: 2px;
		background-color: var(--color-white);
		transition: all 0.5s;
	}
	.BurgerLine1 { top: 4px; }
	.BurgerLine2 { top: 9px; }
	.BurgerLine3 { top: 14px; }

	/*ハンバーガーがクリックされたら*/
	.open .BurgerLine1 {
		transform: rotate(-45deg);
		top: 9px;
	}
	.open .BurgerLine2 { opacity: 0; }
	.open .BurgerLine3 {
		transform: rotate(45deg);
		top: 9px;
	}

	/* sp-nav(ナビ) =================================== */
	.sp-nav {
		position: fixed;
		right: -100%;
		top: 0;
		width: 80%;
		height: 100vh;
		background-color: var(--color-white);
		transition: all 0.5s;
		z-index: 19999;
		overflow-y: auto;
	}
	/*ハンバーガーがクリックされたら右からスライド*/
	.open .sp-nav { right: 0; }

	/* black-bg(ハンバーガーメニュー解除用bg) =================================== */
	.black-bg {
		position: fixed;
		left: 0;
		top: 0;
		width: 100vw;
		height: 100vh;
		z-index: 5;
		background-color: #000;
		opacity: 0;
		visibility: hidden;
		transition: all 0.5s;
		cursor: pointer;
	}
	/*ハンバーガーメニューが開いたら表示*/
	.open .black-bg {
		opacity: 0.3;
		visibility: visible;
	}
}
/*------------address------------------------*/
footer address {
	width: 100%;
	padding: 35px 0 60px;
	text-align: center;
	color: var(--color-black);
}
footer #fAdd {
	display: flex;
	justify-content: center;
	color: var(--color-black);
}
footer #fAdd dl { display: flex; }
footer #fAdd p,
footer #fAdd dl { margin-left: 1em; }
footer #fAdd dl dt::after { content: "："; }
footer small {
	font-size: 1rem;
	color: var(--color-black);
}

@media (max-width: 979px) {
	footer #fAdd {
		display: block;
		width: 100%;
		margin-bottom: 1em;
		padding: 0.5em 0;
		color: var(--color-black);
	}
	footer #fAdd dl {
		display: flex;
		justify-content: center;
	}
	footer #fAdd p,
	footer #fAdd dl { margin-left: 0; }
	footer #fAdd dl dt::after { content: "："; }
	footer small {
		display: block;
		padding: 0 1em;
		font-size: 1em;
		color: var(--color-black);
	}
}