@charset "utf-8";

html, body {
	width : 100%;
	height : 100%;
	font-family: 'Kosugi Maru', -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
}
body {
	position: relative;
	height: 100%;
	font-size: 14px;
	max-width: 2800px;
	margin: auto;
	color: #2B2B2B;
}
.sp {
	display: none;
}
#container {
	overflow: hidden;
	background-color: #fbf8f1;
	padding-top: 80px;
}
#content {
	padding: 80px 0 0;
	background-color: #FAF8F1;
	margin: 0 auto;
	overflow: hidden;
	position: relative;
}
#breadcrumb {
	position: absolute;
	top: 30px;
	left: 55px;
	font-size: 12px;
	color: #68391E;
	margin-left: -5px;
}
#breadcrumb a {
	color: #C9161D;
	text-decoration: none;
}
#breadcrumb a, #breadcrumb span {
	margin: 0 5px;
}
#contentMain {
	padding: 0 40px;
	margin: 0 auto;
}
h1 {
	background-image: url(../images/common/menu_bg.png);
	background-position: top center;
	background-repeat: no-repeat;
	padding: 80px 0 0 0;
	text-align: center;
	font-size: 14px;
	margin: 0 auto 58px;
	font-weight: normal;
}

/* btn */
.btn a {
	display: block;
	width: 100%;
	height: 62px;
	margin: auto;
	color: #fff;
	text-decoration: none;
	line-height: 54px;
	background-image: url(../images/common/btn_tri.png), url(../images/common/bg_red.jpg);
	background-size: 23px auto, cover;
	background-repeat: no-repeat;
	background-position: center right;
	text-align: center;
	border-radius: 10px;
	border: 3px solid #fff;
	box-shadow: 5px 5px 0px rgba(0,0,0,0.15);
	box-sizing: border-box;
	cursor: pointer;
}
.btn.window a{
	background-image: url(../images/common/btn_tri_window.png), url(../images/common/bg_red.jpg);
	background-size: 29px auto, cover;
}
.btn a:hover {
	background-image: url(../images/common/btn_tri.png), url(../images/common/bg_brown.jpg);
}
.btn.window a:hover{
	background-image: url(../images/common/btn_tri_window.png), url(../images/common/bg_brown.jpg);
}

/* 下層ページ用 */
#contentInW{
	max-width: 1000px;
	margin: 0 auto;
	padding-bottom: 100px;
	display: flex;
  align-items: start;
	justify-content: space-between;
}
#contentInW #mainContent{
	width: 100%;
	line-height: 1.5em;
	overflow: auto;
}
#contentInW h2{
	color: #68391E;
	font-size: 20px;
	position: relative;
	border-left: #68391E solid 5px;
	padding-left: 10px;
	margin: 16px 0 20px;
}
#contentInW h3{
	color: #68391E;
	font-size: 20px;
	border-left: #68391E solid 5px;
	padding-left: 10px;
	margin: 50px 0 20px;
}

/* フォームレイアウト */
.selectDesign.error,
.radioDesign.error input + span,
textarea.error,
input.error{
	border: 1px solid #C9161D !important;
}
.selectDesign {
	overflow: hidden;
	text-align: center;
	position: relative;
	border: 1px solid #707070;
	border-radius: 5px;
	background: #fff;
}
.selectDesign:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	right: 0;
	width: 29px;
	height: 100%;
	padding: 0;
	z-index: 0;
	background: url(../images/common/icon_select_pc.gif) #c9161d center center no-repeat;
	background-size: 100% auto;
	display: block;
}
.selectDesign.w01{
	width: 85px;
}
.selectDesign.w02{
	width: 65px;
}
.selectDesign.w03{
	width: 200px;
}
.selectDesign select {
	font-family: 'Kosugi Maru', -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
	width: 100%;
	padding-right: 1em;
	cursor: pointer;
	text-indent: 0.01px;
	text-overflow: ellipsis;
	border: none;
	outline: none;
	background: transparent;
	background-image: none;
	box-shadow: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding: 5px 20px 6px 8px;
	position: relative;
	z-index: 1;
	font-size: 14px;
	line-height: 1.3em;
}
.selectDesign:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	right: 0;
	width: 29px;
	height: 100%;
	padding: 0;
	z-index: 0;
	background:url(../images/common/icon_select_pc.gif) left top no-repeat;
	background-size: auto 100%;
	display: block;
}
.radioDesign,
.checkboxDesignAgree{
	position: relative;
	display: flex;
	align-items: center;
	white-space: nowrap;
	overflow: hidden;
	line-height: 30px;
}
.radioDesign p{
	line-height: 30px !important;
}
.radioDesign input,
.checkboxDesignAgree input{
	opacity: 0;
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	padding: 0;
	margin: 0;
}
.radioDesign input + span {
	position: relative;
	border: #C3C3C3 solid 1px;
	width: 18px;
	height: 18px;
	display: inline-block;
	margin-right: 7px;
	background: #fff;
	border-radius: 20px;
}
.radioDesign input + span:before {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	position: absolute;
	bottom: 0;
	top: 0;
	right: 0;
	left: 0;
	margin: auto;
	border-radius: 10px;
}
.radioDesign input:checked + span:before{
	content: "";
	background: #C9161D;
	width: 10px;
	height: 10px;
}
.checkboxDesignAgree{
	justify-content: center;
	margin-top: 30px;
}
.checkboxDesignAgree input + span {
	position: relative;
	border: #C3C3C3 solid 1px;
	width: 20px;
	height: 20px;
	display: inline-block;
	margin-right: 7px;
	background: #fff;
	border-radius: 5px;
}
.checkboxDesignAgree input + span:before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
}
.checkboxDesignAgree input:checked + span:before{
	content: "";
	background: #C9161D;
	width: 6px;
	height: 3px;
	transform: rotate(45deg);
	position: absolute;
	bottom: 7px;
	left: 3px;
}
.checkboxDesignAgree input:checked + span:after {
	content: "";
	background: #C9161D;
	width: 11px;
	height: 3px;
	transform: rotate(133deg);
	position: absolute;
	top: 8px;
	right: 2px;
}
input[type=text],
input[type=email],
textarea {
	font-family: 'Kosugi Maru', -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
	resize: none;
	padding: 10px;
	font-size: 14px;
	border: 1px solid #C3C3C3;
	width: calc(100% - 20px);
	border-radius: 5px;
}
textarea{
	height: 100px;
	padding: 10px;
}
input:focus,
select:focus,
textarea:focus{
	outline: none;
}
.btn.yellow a {
	background-image: url(../images/common/btn_prev_b.png), url(../images/common/bg_yellow.jpg);
	background-position: center left;
	color: #68391E;
}
.btn.yellow a:hover {
	background-image: url(../images/common/btn_prev.png), url(../images/common/bg_brown.jpg);
	color: #fff;
}

@media screen and (max-width: 1050px) {
	#contentInW{
		padding: 0 20px 100px;
	}
}

/* SP */
@media screen and (max-width: 1000px) {
	.pc {
		display: none;
	}
	.sp {
		display: unset;
	}
	#content {
		padding-top: 50px;
	}
	#breadcrumb {
		top: 20px;
		left: 10px;
	}

	/* 下層ページ用 */
	#contentInW{
		padding: 0 22px;
		flex-direction: column-reverse;
	}
	#contentInW h2{
		font-size: 120%;
		margin-bottom: 20px;
	}
	#contentInW h3{
		font-size: 115%;
		margin-top: 40px;
	}
	#content{
		padding-top: 50px;
	}
	input[type=text],
	input[type=email],
	textarea{
		font-size: 16px;
		padding-top: 10px;
		padding-bottom: 10px;
		background: #fff;
		-webkit-appearance: none;
	}
	textarea{
		display:block;
	}
	.selectDesign:before {
		width: 33px;
		background:url(../images/common/icon_select_sp.gif) left top no-repeat;
		background-size: auto 100%;
	}
	.selectDesign select{
		font-size: 16px;
		transform: scale(0.85);
		padding-left: 2px;
	}
	.selectDesign.w03 select{
		margin-left: -5%;
	}
	.selectDesign.w05 select{
		margin-left: -7%;
	}
	.freeCallBox .tel img{
		width: 38px;
	}
}

/* submenu */
.mainContentOther{
	margin-left: 40px;
}
#subMenu{
	width: 100%;
	max-width: 312px;
}
.subMenuList{
	background-color: #fff;
	padding: 16px;
	margin-bottom: 16px;
	border-radius: 10px;
}

/* submenu btn */
.subMenuBtn{
  display: block;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 44px;
  margin: 0 auto;
  color: #C9161D;
  background-color: #FFF;
  text-align: center;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.2s ease;
  position: relative;
  top: 0;
  left: 0;
  margin-bottom: 8px;
  padding-left: 48px;
}
.subMenuBtn::after {
  content: '';
  width: 8px;
  height: 8px;
  font-weight: normal;
  border-top: 3px solid #C9161D;
  border-right: 3px solid #C9161D;
  transform: rotate(45deg) !important;
  position: absolute;
  top: 40%;
  right: 30px;
	transition: all 0.2s ease;
}
.subMenuBtn:hover::after{
  right: 25px;
}
.btn-active{
	background: #F0EBDB;
  color: #68391E;
}
.btn-active::after {
  content: '';
  width: 8px;
  height: 8px;
  font-weight: normal;
  border-top: 3px solid #68391E;
  border-right: 3px solid #68391E;
  transform: rotate(45deg) !important;
  position: absolute;
  top: 40%;
  right: 30px;
	transition: all 0.2s ease;
}
.subMenuItem{
  margin: 0 !important;
}
.corporateImage_off {
	background-image: url(../images/common/icon_corporate_off.png);
	background-repeat: no-repeat;
	background-position: 8px;
	background-size: 24px;
} 
.contactImage_off {
	background-image: url(../images/common/icon_contact_off.png);
	background-repeat: no-repeat;
	background-position: 8px;
	background-size: 24px;
}
.recruitImage_off {
	background-image: url(../images/common/icon_recruit_off.png);
	background-repeat: no-repeat;
	background-position: 8px;
	background-size: 24px;
}
.corporateImage_on {
	background-image: url(../images/common/icon_corporate_on.png);
	background-repeat: no-repeat;
	background-position: 8px;
	background-size: 24px;
} 
.contactImage_on {
	background-image: url(../images/common/icon_contact_on.png);
	background-repeat: no-repeat;
	background-position: 8px;
	background-size: 24px;
}
.recruitImage_on {
	background-image: url(../images/common/icon_recruit_on.png);
	background-repeat: no-repeat;
	background-position: 8px;
	background-size: 24px;
}
.eternalLink {
  display: block;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 44px;
  margin: 0 auto;
  color: #C9161D;
  background-color: #FFF;
  text-align: center;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.2s ease;
  position: relative;
  top: 0;
  left: 0;
  margin-bottom: 8px;
  padding-left: 48px;
}
.eternalLink img{
	position: absolute;
	right: 25px;
}

@media screen and (max-width: 1000px) {
	
  #subMenu{
		width: 100%;
		padding: 50px 0;
		margin: 0 auto;
		max-width: initial;
  }
  .subMenuInner{
    flex-direction: column;
    width: 90%;
    margin: 30px auto 0;
  }
  .subMenuList{
    width: 100%;
    background-color: #fff;
    text-align: center;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
  }
	.mainContentOther{
		margin-left: 0px;
	}
}

