@charset "UTF-8";

body {
	overflow: hidden;
    font-family: helvetica, arial, YuGothic, 'Yu Gothic', 'メイリオ', sans-serif;
    -webkit-font-smoothing: antialiased;
}
html {
	overflow-y: scroll;
}
p{

}

#topArea{
	background-image: url(../img/case_bg.png) ;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #222222;
	height: 175px;
	margin-bottom: 30px;
}
#menu{
	width: 960px;
	margin: 10px auto;
}
#logo{
	float: left;
}
.nav {
  overflow: hidden;
  margin: 15px auto 8px;
  padding: 0;
  display: flex;
	float: right;
}
.nav li {
  list-style: none;
}
.nav li a {
  display: block;
	padding: 0 15px;
  text-align: center;
  color: #333333;
  font-size: 14px;
  line-height: 2.8;
  text-decoration: none;
  border-right: 1px solid #eee;
  box-sizing: border-box;

	background: #fff;
}
.nav > li:hover > a {/*layer-1*/
  background: #F4F4F4;
}
.nav li ul {
  display: none;
  position: absolute;
}
.nav > li li:hover > a {/*layer-2*/
  background: #F4F4F4;
}
.nav li ul li a {
  border-top: 1px solid #eee;
}


.nav_sp {
  overflow: hidden;
  margin: 5px auto 5px;
  padding: 0;
  display: flex;
}
.nav_sp li {
  list-style: none;
}
.nav_sp li a {
  display: block;
	padding: 3px 3px;
  text-align: center;
  color: #333333;
  font-size: 14px;
  line-height: 2;
  text-decoration: none;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
  box-sizing: border-box;
	background: #fff;
	font-weight: bold;
}
.nav_sp > li:hover > a {/*layer-1*/
  background: #F4F4F4;
}
.nav_sp li ul {
  display: none;
  position: absolute;
}
.nav_sp > li li:hover > a {/*layer-2*/
  background: #F4F4F4;
}
.nav_sp li ul li a {
  border-top: 1px solid #eee;
}
.sp_in{
	width: 34%;
}
#contents{
	margin-bottom: 20px;
}
#contents2{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap:10px;
	margin-bottom: 20px;
}
.case_cate{
	float: left;
	border: 1px solid #c3c3c3;
}
.case{
 	position: relative;
	top: -20px;
	left: 10px;
	color: #fff !important;
	background: #c71816;
	width: 75px;
	height: 24px;
	font-size: 20px;
	font-weight: bold;
	padding: 5px 8px !important;
	font-style: italic;
}

.case_cate img{
	width: 100%;
}
.case_cate p{
	padding: 0 10px 10px;
	margin: 0 !important;
	color: #333;
}
.case_cate p span{
	color: #003678;
}

.case_cate:hover{
	border: 1px solid #003678;
}

.content {
  width: 750px;
  height: 200px;
  background: #eee;
  margin: 0 auto;
  padding: 10px;
  text-align: left;
  box-sizing: border-box;
}


h2{
	color: #fff;
	text-align: center;
	font-size: 280%;
    text-shadow: 2px 2px 1px #222,
    -2px 2px 1px #222,
    2px -2px 1px #222,
    -2px -2px 1px #222;
	padding: 77px;
}
#Inner{

	margin: 0 auto;
    color: #292929;

}
#case{
	color: #ca2d1d;
	font-size: 170%;
	font-style: italic;
	text-align: center;
	margin: 40px 0 15px;
}
hr{
	height: 1px;
	border: none;
	border-top: 1px #ca2d1d solid;
	width: 40px;
	margin: 0 auto 20px;
}
#title{
	font-size: 27px;
	text-align: center;
	color: #003678;
	line-height: 150%;
	margin-bottom: 20px;
	font-weight: bold;
}
.parenthesis {
  position: relative;
  padding: 15px 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
	margin: 0 auto 30px;
	line-height: 160%;
	font-size: 16px;
}
.parenthesis::before,
.parenthesis::after {
  position: absolute;
  top: 0;
  content: '';
  width: 20px;
  height: 100%;
  border-top: 1px solid #003678;
  border-bottom: 1px solid #003678;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.parenthesis::before {
  left: 0;
  border-left: 1px solid #003678;
}
.parenthesis::after {
  right: 0;
  border-right: 1px solid #003678;
}

#name{
	color: #003678;
	font-weight: bold;
}
.sub_title{
	background: #f2f2f2;
	border-left: 6px solid #003678;
	font-size: 20px;
	padding: 8px 0 8px 12px;
	margin: 30px 0 10px;
}
.cate{
	font-size: 16px;
	line-height: 190%;
}
.cate div{
	padding-top: 10px;
	padding-bottom: 10px;
}
.cate span{
	color: #003678;
	font-weight: bold;
}
.cate_left{
	width: 49%;
	float: left;
}
.cate_right{
	width: 49%;
	float: right;
}
.cate_left2{
	width: 40%;
	float: left;
}
.cate_right2{
	width: 58%;
	float: right;
}
p.comment{
	font-size: 90%;
	color: #6C6C6C;
	line-height: 130%;
	margin: 8px 0 0 0;
}
#dl{
	width: 90%;
	background: #F5F5F5;
	margin: 30px auto;
	padding: 10px;
	font-size: 90%;
	line-height: 150%;
}
.marker{
	background: #fffea2;
	color: #333 !important;
	padding: 5px;
	font-weight: normal;
}
#caes_btn{
	width: 600px;
	margin: 30px auto 30px;
	height: 30px;
}
#btn_ichran{
	color: #003678;
	border: 1px solid #003678;
	width: 190px;
	text-align: center;
	padding: 5px 0;
	float: left;
	border-radius: 5px 5px 5px 5px;
	margin: 0 10px;
}
#btn_previous,#btn_next{
	color: #003678;
	border: 1px solid #003678;
	width: 190px;
	text-align: center;
	padding: 5px 0;
	float: left;
	border-radius: 5px 5px 5px 5px;
}

#btn_previous:hover,#btn_ichran:hover,#btn_next:hover{
	color: #FFFFFF;
	background: #003678;
}
#menu_footer{
	width: 100%;
	color: #fff;
	background: #717171;
	overflow: hidden;
}
#menu_footer ul{
	float: left;
	width: 25%;
}
#menu_footer li a{
	color: #fff;
	text-decoration: none;
}
#menu_footer li a:hover{
	text-decoration: underline;
}
#menu_footer_in{
	width: 960px;
	margin: 20px auto;
	overflow: hidden;
}

.question{
	font-weight: bold;
	margin: 15px 0 10px;
}

@media (max-width: 767px){
	#Outline,#MainArea960_row1,#Inner,.cate_right,.cate_right2{
		float: none;
		width: 100%;
	}
	#logo,#nav_sp_main,.nav_sp{
		width: 100%;
	}
	#menu,.parenthesis,.cate,#caes_btn{
		width: 98%;
	}
	.cate{
		margin: 0 auto;
	}
	.cate_left,.cate_left2{
		width: 100%;
		margin: 0 auto;
		text-align: center;
		float: none;
	}
	#btn_previous,#btn_ichran,#btn_next{
		width: 29%;
	}
	.nav{
		display: none;
	}
	#contents2{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap:10px;
	}
	.case_cate{
		margin: 0 1% 30px;
		font-size: 120%;
		line-height: 150%;
	}
	#menu_footer ul{
		width: 49%;
		font-size: 110%;
	}
	#menu_footer ul li{
		padding: 3px 0;
	}
	#menu_footer_in{
		width: auto;
	}
}
@media (min-width: 768px){
	#nav_sp_main{
		display: none;
	}
}
@media only screen and (min-width: 1025px){
	#Inner{
		width: 960px;
	}
	.parenthesis {
		width: 960px;
	}
}
@media only screen and (max-width: 1024px){
	#menu_footer_in{
		width: 100%;
	}
	#menu{
		width: auto;
	}
	.nav{
		margin: 0 auto 10px;
	}
}