#wrapper {
  background: #fff;
}

#main {
  width: 100%;
}
@media screen and (max-width: 768px) {
  #main {
    overflow: hidden;
  }
}

#footerbox {
	width: 100%;
	margin: 0;
	border-top: 1px solid #e7e5d5;
	background: #fff;
}
#footer_inbox {
	width: 960px;
	margin: 0 auto;
	padding: 12px 0 15px;
}
#footer_inbox:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	font-size: 0.01em;
	height: 0px;
	overflow: hidden;
}
#footerbox .bottom_base {
	clear: both;
	width: 960px;
	margin: 0 auto;
	padding: 0 0 10px;
	text-align: center;
}
#footerbox .bottom_base {
	clear: both;
	width: 960px;
	margin: 0 auto;
	padding: 0 0 10px;
	text-align: center;
}
#footerbox .bottom_base a {
	color: #52280F;
}
/*---- \s\EIN ----*/
.form_footer ul#privacybox {
	float: left;
	letter-spacing: -.40em;
	margin: 5px 0 0 20px;
	padding: 0;
	vertical-align: top;
}
.form_footer ul#privacybox li {
	display: inline-block;
	padding: 10px;
	border: 1px solid #e7e5d5;
	background: #fff;
	vertical-align: top;
}
.form_footer ul#privacybox li:first-of-type {
	margin-right: 3px;
	padding: 5px;
}
.form_footer ul.org_info {
	float: right;
	margin: 0;
	padding: 60px 0 0;
	list-style-type: none;
	vertical-align: top;
}
.form_footer ul.org_info li {
	display: inline-block;
	padding: 0 18px;
	border-right: 1px solid #ccc;
}
.form_footer ul.org_info li a {

}
.form_footer ul.org_info li a:hover {
	text-decoration: none;
}
/*---- Aooi ----*/
#copyright {
	clear: both;
	width: 100%;
	background: #52413c;
}
#copyright span {
	display: block;
	margin: 0 auto;
	width: 960px;
	text-align: right;
	padding: 16px 0px;
}

#contents {
  width: 960px;
  margin: 0 auto;
}

.page-ttl {
  color: #4F2004;
  font-size: 19px;
  font-size: 1.462em;
  font-weight: bold;
  padding: 20px 0 18px 36px;
  margin-top: 0px;
  position: relative;
}
.page-ttl::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
  background: #0BBF8E;
  height: 7px;
  width: 16px;
}

.search_ttl {
  background: #ffa903 url(../common/img/header_img/icon_search.png) no-repeat center left 16px;
  background-size: 20px auto;
  border-radius: 10px 10px 0 0;
  padding: 18px 20px 16px 46px;
  color: #fff;
  font-size: 1.231em;
  font-weight: bold;
  margin-top: 25px;
}

#detail_search {
  border: 1px solid #FFA903;
  background: #FDF9EF;
  border-radius: 0 0 10px 10px;
  padding: 20px 36px 0;
}
#detail_search .scBox_wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 20px;
}
#detail_search input,
#detail_search select,
#detail_search label {
  font-size: 1.15em;
}
#detail_search input::placeholder,
#detail_search select::placeholder,
#detail_search label::placeholder {
  color: #D8D8D8;
}
#detail_search select {
  appearance: button;
  height: 50px;
  border-radius: 5px;
  border: 1px solid #ccc;
  vertical-align: middle;
  cursor: pointer;
  background: #fff;
  background-size: 22px 20px;
  background-position: right center;
  padding: 0 18px;
  color: #333;
}
#detail_search .scBox_sex {
  margin-right: 20px;
}
#detail_search .scBox_sex .s_select {
  clear: both;
  margin: 0;
  position: relative;
}
#detail_search .scBox_sex .s_select::after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  font-size: 0.01em;
  height: 0px;
  overflow: hidden;
}
#detail_search .scBox_sex .s_select input {
  display: none;
}
#detail_search .scBox_sex .s_select label {
  display: block;
  float: left;
  cursor: pointer;
  width: 85px;
  margin: 0;
  padding: 18px 10px 17px;
  background: linear-gradient(to bottom, #fff, #f0f0f0);
  color: #666666;
  text-align: center;
  line-height: 1;
  transition: 0.2s;
}
#detail_search .scBox_sex .s_select label:first-of-type {
  border-radius: 5px 0 0 5px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}
#detail_search .scBox_sex .s_select label:last-of-type {
  border-radius: 0 5px 5px 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
}
#detail_search .scBox_sex .s_select input[type=radio]:checked + .switch-man {
  background: #0E95CD;
  color: #fff;
}
#detail_search .scBox_sex .s_select input[type=radio]:checked + .switch-woman {
  background: #ff6095;
  color: #fff;
}
#detail_search .scBox_age select {
  margin-right: 7px;
  padding: 0 14px;
  width: 80px;
}
#detail_search .scBox_age select:nth-child(2) {
  margin-left: 5px;
}
#detail_search .scBox_area,
#detail_search .scBox_pre,
#detail_search .scBox_profession {
  margin-right: 25px;
  width: 200px;
}
#detail_search .scBox_area select,
#detail_search .scBox_pre select,
#detail_search .scBox_profession select {
  width: 100%;
}
#detail_search .other_select {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 5px;
}
#detail_search .other_select input {
  display: none;
}
#detail_search .other_select label {
  cursor: pointer;
  margin-top: 15px;
  padding: 16px 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
  background: linear-gradient(to bottom, #fff, #f0f0f0);
  text-align: center;
  height: 50px;
  margin-right: 14px;
  width: 210px;
}
#detail_search .other_select label:nth-of-type(4n) {
  margin-right: 0;
}
#detail_search .other_select input[type=checkbox]:checked + .switch-other {
  background: #FCC151;
  color: #fff;
}
#detail_search .btnBox {
  text-align: center;
  margin: 30px 0 38px;
}
#detail_search .btnBox ul {
  display: flex;
  align-items: center;
  justify-content: center;
}
#detail_search .btnBox ul li:first-of-type {
	width: 65%;
	text-align: right;
}
#detail_search .btnBox ul li:nth-of-type(2) {
	width: 30%;
	text-align: center;
}
#detail_search .btnBox ul li .searchBtn a {
  border-radius: 5px;
  background: #0BBF8E;
  color: #fff;
  font-size: 1.615em;
  font-weight: bold;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  padding: 24px 10px 22px;
  width: 300px;
  transition: 0.4s;
}
#detail_search .btnBox ul li .searchBtn a:hover {
  opacity: 0.8;
}
#detail_search .btnBox ul li button {
  appearance: button;
  background: #A5A5A5;
  border: 0;
  border-radius: 5px;
  color: #fff;
  /*font-size: 1.615em;*/
  font-size: 1.23em;
  font-weight: bold;
  width: 100px;
  padding: 14px 0 12px;
  /*
  padding: 24px 10px 22px;
  width: 200px;
  */
  transition: 0.4s;
}
#detail_search .btnBox ul li button:hover {
  cursor: pointer;
  opacity: 0.8;
}
#detail_search .btnBox ul li:nth-child(2) {
  margin-left: 20px;
}
#detail_search .btnBox ul.first {
	width: 100%;
}
#detail_search .btnBox ul.first li {
	width: 100%;
	text-align: center;
}
#detail_search .scBox_num {
  margin-right: 40px;
}
#detail_search .scBox_num select {
  width: 280px;
}
select option {
	font-size: 1.16em;
}
#detail_search .scBox_day,
#detail_search .scBox_holiday,
#detail_search .scBox_height,
#detail_search .scBox_blood {
  font-size: 1.15em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
#detail_search .scBox_day .week_select input,
#detail_search .scBox_holiday .week_select input {
  display: none;
}
#detail_search .scBox_day .week_select label,
#detail_search .scBox_holiday .week_select label {
  font-size: 1em;
  display: inline-block;
  cursor: pointer;
  height: 50px;
  width: 50px;
  padding: 16px 5px;
  background: linear-gradient(to bottom, #fff, #f0f0f0);
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-left: 5px;
}
#detail_search .scBox_day .week_select input[type=checkbox]:checked + .switch-week,
#detail_search .scBox_holiday .week_select input[type=checkbox]:checked + .switch-week {
  background: #FCC151;
  color: #fff;
}
#detail_search .scBox_day .week_select {
  margin-left: 22px;
}
#detail_search .scBox_day .week_select label {
  margin-left: 0;
}
#detail_search .scBox_holiday {
  flex-wrap: wrap;
}
#detail_search .scBox_holiday .text {
  font-size: 0.923em;
  width: 100%;
}
#detail_search .scBox_holiday .week_select label.shift_select {
  margin-left: 10px;
  width: 330px;
}
#detail_search .scBox_place {
  display: flex;
  align-items: center;
}
#detail_search .scBox_place select {
  margin-right: 20px;
  width: 280px;
}
#detail_search .scBox_height {
  font-size: 1.15em;
  margin-right: 40px;
  margin-left: 15px;
}
#detail_search .scBox_height input {
  border-radius: 5px;
  border: 1px solid #ccc;
  padding: 16px 10px;
  height: 50px;
  margin: 0 0 0 0;
  width: 80px;
}
#detail_search .scBox_height input:nth-child(2) {
  margin-left: 20px;
}
#detail_search .scBox_figure {
  margin-right: 40px;
}
#detail_search .scBox_figure select {
  width: 150px;
}
#detail_search .blood_select {
  display: flex;
  align-items: center;
  margin-left: 15px;
}
#detail_search .blood_select input {
  display: none;
}
#detail_search .blood_select label {
  display: inline-block;
  cursor: pointer;
  height: 50px;
  width: 50px;
  padding: 17px 5px;
  margin-right: 10px;
  background: linear-gradient(to bottom, #fff, #f0f0f0);
  text-align: center;
  line-height: 1;
  transition: 0.2s;
  border: 1px solid #CCCCCC;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}
#detail_search .blood_select input[type=checkbox]:checked + .switch-blood {
  background: #FCC151;
  color: #fff;
}
#detail_search .scBox_point {
  display: inline-flex;
  width: 100%;
}
#detail_search .scBox_point select {
  margin-right: 20px;
  width: 50%;
}
#detail_search .scBox_care {
  margin-right: 35px;
}
#detail_search .scBox_care .text {
  font-size: 0.923em;
}
#detail_search .scBox_care input {
  display: none;
}
#detail_search .scBox_care label {
  border: 1px solid #ccc;
  border-left: 0;
  display: inline-block;
  cursor: pointer;
  height: 50px;
  width: 90px;
  padding: 16px 5px;
  background: linear-gradient(to bottom, #fff, #f0f0f0);
  text-align: center;
  width: 110px;
}
#detail_search .scBox_care label:first-of-type {
  border-radius: 5px 0 0 5px;
  border-left: 1px solid #ccc;
}
#detail_search .scBox_care label:last-of-type {
  border-radius: 0 5px 5px 0;
}
#detail_search .scBox_care input[type=checkbox]:checked + .switch-cigar,
#detail_search .scBox_care input[type=checkbox]:checked + .switch-drink,
#detail_search .scBox_care input[type=checkbox]:checked + .switch-marriage {
  background: #FCC151;
  color: #fff;
}
#detail_search .scBox_birthplace,
#detail_search .scBox_conditions,
#detail_search .scBox_purpose {
  margin-right: 20px;
}
#detail_search .scBox_birthplace select,
#detail_search .scBox_conditions select,
#detail_search .scBox_purpose select {
  width: 280px;
}
#detail_search .scBox_purpose {
  margin-right: 0;
}
#detail_search .scBox_group {
  width: 100%;
}
#detail_search .scBox_group select {
  width: 100%;
}
#detail_search .scBox_keyword {
  width: 100%;
}
#detail_search .scBox_keyword input {
  border-radius: 5px;
  border: 1px solid #ccc;
  padding: 16px 18px;
  height: 50px;
  margin: 0 15px 0 0;
  width: 100%;
}
.search-condition-box {
    background: #FFFFFF;
    border: solid 2px #F7E4D5;
    border-radius: 10px;
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    padding: 12px;
    width: 100%;
}
.search-condition-title {
    color: #4F2004;
    -webkit-box-flex: 0;
    flex: 0 0 14.66667%;
    font-weight: 700;
    line-height: 25px;
    max-width: 14.66667%;
}
.search-condition-body {
    -webkit-box-flex: 0;
    flex: 0 0 77%;
    line-height: 25px;
    max-width: 77%;
    padding-right: 10px;
}
.search-condition-clear {
    -webkit-box-flex: 0;
    flex: 0 0 8.33333%;
    max-width: 8.33333%;
    text-align: right;
}
.search-condition-clear button {
    appearance: button;
    background: #A5A5A5;
    border: 0;
    border-radius: 5px;
    color: #FFFFFF;
    cursor: pointer;
}
.addSearchBox {
    padding-bottom: 30px;
    text-align: center;
}
.addSearchBox .addSearch {
    color: #0BBF8E;
    cursor: pointer;
    font-size: 1.1rem;
    text-decoration: underline;
}
.moreSearch {
    display: none;
}

/* ¥¹¥Þ¥ÛÍÑ */
@media screen and (max-width: 768px) {
	select option {
		font-size: 0.98em;
	}
  #contents {
    width: 100%;
  }
  .page-ttl {
    padding: 10px 0 10px 14px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    font-size: 1.231em;
  }
  .page-ttl::before {
    height: 5px;
    width: 8px;
  }
  
  .search_ttl {
    background-position: center left 12px;
    background-size: 16px auto;
    border-radius: 8px 8px 0 0;
    padding: 11px 10px 9px 34px;
    font-size: 1.08em;
    margin: 10px auto 0;
    width: 100%;
  }
  #detail_search {
    border: none;
    border-radius: 0 0 8px 8px;
    padding: 8px 15px 0;
    margin: 0 auto;
    width: 100%;
  }
  #detail_search .scBox_wrap {
    margin: 0;
  }
  #detail_search .scBox {
    margin-top: 10px;
  }
  #detail_search select {
    height: 48px;
  }
  #detail_search .scBox_area,
  #detail_search .scBox_pre,
  #detail_search .scBox_profession {
    margin-right: 0;
    width: 100%;
  }
  #detail_search .scBox_area select,
  #detail_search .scBox_pre select,
  #detail_search .scBox_profession select {
    width: 100%;
  }
  #detail_search .other_select {
    margin-top: 10px;
  }
  #detail_search .other_select input {
    display: none;
  }
  #detail_search .other_select label {
    margin-top: 10px;
    height: 48px;
    margin-right: 3%;
    width: 48.5%;
  }
  #detail_search .other_select label:nth-of-type(even) {
    margin-right: 0;
  }
  #detail_search .btnBox {
    text-align: center;
    margin: 20px 0 28px;
  }
  #detail_search .btnBox ul li .searchBtn a {
    font-size: 1.24em;
    padding: 20px 10px 18px;
    width: 180px;
    transition: 0.4s;
  }
  #detail_search .btnBox ul li .searchBtn a:hover {
    opacity: 0.8;
  }
  #detail_search .btnBox ul li button {
  	font-size: 1.08em;
    padding: 14px 0 12px;
    width: 70px;
  	/*
    font-size: 1.24em;
    padding: 20px 10px 18px;
    width: 100px;
    */
  }
  #detail_search .btnBox ul li:first-of-type {
	width: 75%;
	text-align: right;
  }
  #detail_search .btnBox ul li:nth-child(2) {
  	width: 25%;
  	text-align: right;
  	margin-left: 0;
    /*margin-left: 3%;*/
  }
	#detail_search .btnBox ul.first {
		width: 100%;
	}
	#detail_search .btnBox ul.first li {
		width: 100%;
		text-align: center;
	}
  #detail_search .scBox_num {
    margin-right: 0;
    width: 100%;
  }
  #detail_search .scBox_num select {
    width: 100%;
  }
  #detail_search .scBox_day .week_select label,
  #detail_search .scBox_holiday .week_select label {
    margin-bottom: 5px;
    margin-left: 0;
    height: 48px;
    width: 40px;
  }
  #detail_search .scBox_day {
    margin-top: 15px;
  }
  #detail_search .scBox_day .text {
    display: block;
    width: 100%;
  }
  #detail_search .scBox_day .week_select {
    margin-left: 0;
    margin-top: 2px;
  }
  #detail_search .scBox_holiday {
    flex-wrap: wrap;
  }
  #detail_search .scBox_holiday .text {
    width: 100%;
  }
  #detail_search .scBox_holiday .week_select label.shift_select {
    margin-left: 0;
    width: 100%;
  }
  #detail_search .scBox_place {
    flex-wrap: wrap;
    width: 100%;
  }
  #detail_search .scBox_place select {
    margin-right: 0;
    margin-bottom: 5px;
    width: 100%;
  }
  #detail_search .scBox_height .text {
    display: block;
    width: 100%;
    margin-top: 10px;
  }
  #detail_search .scBox_height {
    margin: 0;
  }
  #detail_search .scBox_height input {
    padding: 15px 10px;
    height: 48px;
    margin: 0 8px 0 0;
    width: 78px;
  }
  #detail_search .scBox_height input:nth-child(2) {
    margin-left: 0;
  }
  #detail_search .scBox_height input:nth-of-type(2) {
    margin-left: 12px;
  }
  #detail_search .scBox_figure {
    margin-right: 0;
    width: 100%;
  }
  #detail_search .scBox_figure select {
    width: 100%;
  }
  #detail_search .scBox_blood .text {
    display: block;
    width: 100%;
    margin-top: 10px;
  }
  #detail_search .blood_select {
    margin-top: 0;
    margin-left: 0;
  }
  #detail_search .blood_select input {
    display: none;
  }
  #detail_search .blood_select label {
    height: 48px;
    width: 48px;
    padding: 17px 5px;
    margin-right: 5px;
  }
  #detail_search .scBox_point {
    display: block;
    width: 100%;
  }
  #detail_search .scBox_point select {
    margin-bottom: 5px;
    margin-right: 0;
    width: 100%;
  }
  #detail_search .scBox_care {
    margin-right: 0;
    margin-top: 12px;
    width: 100%;
  }
  #detail_search .scBox_care label {
    font-size: 1em;
    height: 48px;
    padding: 16px 0;
    width: 25%;
  }
  #detail_search .scBox_birthplace,
  #detail_search .scBox_conditions,
  #detail_search .scBox_purpose {
    margin-right: 0;
    width: 100%;
  }
  #detail_search .scBox_birthplace select,
  #detail_search .scBox_conditions select,
  #detail_search .scBox_purpose select {
    width: 100%;
  }
  #detail_search .scBox_purpose {
    margin-right: 0;
  }
  #detail_search .scBox_keyword {
    width: 100%;
  }
  #detail_search .scBox_keyword input {
    padding: 16px 12px;
    height: 48px;
    margin: 0;
  }
  .search-condition-title {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .search-condition-body {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .search-condition-clear {
    flex: 0 0 100%;
    margin-top: 6px;
    max-width: 100%;
    text-align: center;
  }
  .search-condition-clear button {
    font-size: 1.08em;
    padding: 8px 0;
    width: 50%;
  }
}