@charset "utf-8";
/* CSS Document */

.contents {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}
.top_midasi {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 10px 0 0;
  text-align: center;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
}
.top_midasi_en {
  font-size: 1.0rem;
  font-weight: bold;
  color: #b6b6b6;
  margin: 0 0 25px;
  text-align: center;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
}

.company_contents {
  max-width: 1000px;
  width: 100%;
  margin: 50px auto;
}
.top_txt {
  width: 600px;
  margin: 0 auto 80px auto;
  font-size: 1rem;
  line-height: 1.6em;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
  text-align: justify;
}
.company_gaiyo {
  display: block;
  height: 100%;
}
.top_work_tit {
  position: relative;
  display: block;
  margin: 0;
  font-size: 1.8rem;
  color: #3e7fbb;
  text-align: center;
  padding-bottom: 8px;
  /* font-family: 'A-OTF 新ゴ Pro R'; */
}
.top_work_tit::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -5px;/*線の上下位置*/
  display: inline-block;
  width: 56px;/*線の長さ*/
  height: 3px;/*線の太さ*/
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);/*位置調整*/
  background-color: #3e7fbb;/*線の色*/
  border-radius: 2px;/*線の丸み*/
}
.top_work_tit_en {
  display: block;
  font-size: .8rem;
  text-align: center;
  color: #3e7fbb;
  margin: 10px auto 20px;
  padding: 8px 0;
  font-family: 'A-OTF 新ゴ Pro DB';
}
.page_tit {
  border-left: 3px solid #e72420;
  font-size: 1rem;
  line-height: 1.4em;
  font-weight: bold;
  padding: 2px 0 0 8px;
  margin-bottom: 20px;
}

/*================================================
 *  お問い合わせ
 ================================================*/
.contact_us {
    margin: 50px auto;
    width: 90%;
}
table {
	width: 100%;
	margin-bottom: 1em;
	border-collapse: collapse;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	border-left: none;
	border-right: none;
	background: #fff;
	font-size: 1rem;
}
th {
	padding: 10px;
	text-align: center;
	vertical-align: middle;
	border-bottom: 1px solid #ddd;
	background: #f4f4f6;
	/*white-space:nowrap;*/
}

td {
	padding: 10px;
	text-align: left;
	border-bottom: 1px solid #ddd;
}

.contact_us th{
    width: 30%;
	font-weight: bold;
}

.input_text {
    padding: 5px;
	line-height:2;
    width: 100%;
	border: 2px solid #ddd;
}

.select_box {
    padding: 5px;
    width: 100%;
	border: 2px solid #ddd;
	min-height: 36px;
}

.textarea_text {
	padding: 5px;
	line-height:2;
    height: 160px;
	width: 100%;
	border: 2px solid #ddd;
}

.confirm_btn {
	text-align:center;
}

.confirm_btn input {
    position: relative;
    padding: 10px 20px;
    color: #fff !important;
    text-align: center;
    line-height: 1;
    font-size: 100%;
    font-weight: bold;
	border: none;
    background-size: 8px 12px !important;
	background-color: #4B7FBB;
}

.confirm_btn input:hover {
	opacity: 0.6;
	filter: alpha(opacity=60);
	-ms-filter: "alpha( opacity=60 )";
}

.thanks {
    margin: 0 0 40px 10px;
    font-size: 115%;
}

.thanks span {
	font-weight: bold;
}
.mainboxframe-box02 {
    text-align: center;
}


@media screen and (max-width: 998px){

.top_txt {
  max-width: 600px;
  width: 100%;
  margin: 0 auto 80px auto;
  font-size: .9rem;
  line-height: 1.6em;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
}
.company_contents {
  max-width: 998px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.company_gaiyo {
  display: block;
  width: 90%;
  margin: 0 auto;
}
.page_tit {
  border-left: 3px solid #e72420;
  font-size: 1rem;
  line-height: 1.4em;
  font-weight: bold;
  padding: 2px 0 0 8px;
  margin-bottom: 20px;
}

/*================================================
 *  お問い合わせ
 ================================================*/
.contact_us {
    margin: 50px auto;
    width: 90%;
}

.contact_us th{
    width: 30%;
	font-weight: bold;
}

.input_text {
    padding: 5px;
	line-height:2;
    width: 100%;
	border: 2px solid #ddd;
}

.select_box {
    padding: 5px;
    width: 60%;
	border: 2px solid #ddd;
	min-height: 36px;
}

.textarea_text {
	padding: 5px;
	line-height:2;
    height: 160px;
	width: 100%;
	border: 2px solid #ddd;
}

.confirm_btn {
	text-align:center;
}

.confirm_btn input {
    position: relative;
    padding: 10px 20px;
    color: #fff !important;
    text-align: center;
    line-height: 1;
    font-size: 100%;
    font-weight: bold;
	border: none;
    background-size: 8px 12px !important;
	background-color: #4B7FBB;
}

.confirm_btn input:hover {
	opacity: 0.6;
	filter: alpha(opacity=60);
	-ms-filter: "alpha( opacity=60 )";
}

.thanks {
    margin: 0 0 40px 10px;
    font-size: 115%;
}

.thanks span {
	font-weight: bold;
}
}



@media screen and (max-width: 768px){

.leftnavi { display: none; }
.company_gaiyo {
  display: block;
  padding: 0px;
  height: 100%;
}
.top_txt {
  max-width: 768px;
  width: 94%;
  margin: 0 auto 80px auto;
  font-size: .9rem;
  line-height: 1.6em;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
}
.page_tit {
  border-left: 3px solid #e72420;
  font-size: 1rem;
  line-height: 1.4em;
  font-weight: bold;
  padding: 2px 0 0 8px;
  margin: 0 0 20px 3%;
}
.info_box, .history_box {
  width: 85%;
  height: auto;
  overflow: hidden;
  border: 1px solid #b6b6b6;
  border-radius: 5px;
  margin: 0 auto 80px;
  padding: 0px 4% 10px;
  font-size: .9rem;
  display: block;
}
}