@charset "UTF-8";

/*----------------------------------------------------
全体
----------------------------------------------------*/
body {
	background-color: #FFFFFF;
	color: #333;
	font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",
		Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	padding-bottom: 0px;
}

p {
	font-size: 18px;
}


/*----------------------------------------------------
ヘッダー
----------------------------------------------------*/
/*ロゴ*/
.top_s_img {
	display: none;
}

/*ナビの設定*/
.navbar-brand {
	display: none;
}

.top_border {
	border-right: 1.2px dotted #421B10
}

/* モバイル画面でなければ */
/*カーソルをあてるとドロップダウンする*/
@media (min-width:992px){
	.dropdown:hover > .dropdown-menu{
		display: block;
	}
}
/* モバイル画面なら*/
/*ドロップダウンしたまま*/
@media (max-width:991px){
	.dropdown> .dropdown-menu{
		display: block;
	}
}

/*ドロップダウンメニューの文字色*/
.navbar-light .navbar-nav .nav-link {
	color: #664B3E
}

.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
	color: #593225
}

/*ドロップダウンメニュー　中の設定*/
.dropdown-menu {
	background-color: #FAFAFA;
	border: none;
	width: 100%;
	margin-top: -3px;
}

.dropdown-item {
	color: #664B3E;
	padding: 1rem;
	text-align: center;
	white-space: normal;
}

/*ドロップダウンメニュー　中の文字色*/
.dropdown-item:hover, .dropdown-item:focus {
	background-color: rgba(163,120,91,0.1);
	color: #593225;
}

/*トップスライドショーPC&スマホ 切り替え*/
#s_top_slide{
	display: none;
}

/*トップ右上固定*/
.top_info{
	background-image: url("background_img/footer.png");
	background-size:cover;
	background-color: #FFFFFF;
}

.top_address{
	display: block;
}
.top_small_address{
	display: none;
}

/*電話番号のリンク消去*/
.tel-number a:link {
	color: #000;
	pointer-events: auto;
	}

/*----------------------------------------------------
TOPバナー
----------------------------------------------------*/
.bnr-top img:hover{
  transform: scale(1.2);
  transition-duration: 0.5s;
}

.bnr-top{
	margin: 100px 0px 100px 0px;
}
.bnr-top img{
	width: 95%;
}

/*----------------------------------------------------
メッセージ
----------------------------------------------------*/
.mian-mess{
	background-color: #efefef;
	padding: 30px;
}

.top_messe{

	color: #000000;
	text-align: center;
    margin-bottom: 50px;
    font-size: 30px;
    line-height: 60px;
}

.text-justify{
	letter-spacing: 5px;
	line-height: 40px;
}

/*----------------------------------------------------
お知らせ
----------------------------------------------------*/

.osirase{
	color: #202020;
	text-align: center;
    margin-bottom: 50px;
    font-size: 28px;
    line-height: 60px;
 }

/*ニューステーブル設定*/
.top_table {
	-webkit-border-radius:10px 10px 10px 10px;
    -moz-border-radius:10px 10px 10px 10px;  
    border-radius:10px 10px 10px 10px;
    border-collapse: separate;
}

.top_table th {
	width: 120px;
}

.top_table th, .top_table td {
	border-style: dotted none;
	border-width: 2px;
	border-color:  #593225;
	border-bottom: none;
}

.tableBottomLine th, .tableBottomLine td {
	border-style: dotted none;
	border-width: 2px;
	border-color:  #593225;
	border-top: none;
}

/*----------------------------------------------------
各ページ
----------------------------------------------------*/
/*トップ中身の横幅*/
.top_page {
	max-width: 960px;
}

/*目立たせたいメッセージの色*/
.show {
	color: #0E4863;
}

/*横幅いっぱいにしたくないとき*/
.width_center{
	width: 50%;
	margin: auto;
}

/*トップページ以外のテーブル設定*/
.table_line th, .table_line td {
	border-bottom: 1px solid #664B3E;
	border-top: 1px solid #664B3E;
}

.table_line th{
	width: 140px
}

.table thead th{
	/*background-color: #664B3E;
	border-color: #664B3E;
	border-bottom: #664B3E;*/
	background-color: #707070;
	border-color: #707070;
	border-bottom: #707070;
	color: #fff;
}

/*お問合せフォーム*/
.form_space{
	max-width: 600px
}

/*h1見出し装飾CSS(木目)*/
.bg-mokume {
	background:url(background_img/s_footer.png);
	color: white;
	font-size: 2.0rem;
	margin-bottom: 2rem;
	padding: 10px;
}

/*h2以下の下線装飾*/
.sub-h {
	font-weight: bold;
	color: #664B3E;
	position: relative;
	display: inline-block;
	margin: 50px 0 100px 0;
}
.sub-h:before {
	content: '';
	position: absolute;
	bottom: -10px;
	display: inline-block;
	width: 120px;
	height: 3px;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	background-color: #664B3E;
	border-radius: 2px;
}

/*付箋装飾*/
.husen {
	/*background-color: #664B3E;*/
	background-color: #707070;
	color: white;
	font-size: 20px;
	width: fit-content;
	border-radius: 0 0px 40px 0;
	padding: 5px 25px 5px 5px;
	margin: -2px 0 0 -2px;
}

.husen2 {
	/*background-color: #664B3E;*/
	background-color: #707070;
	color: white;
	font-size: 15px;
	padding: 5px 25px 5px 5px;
	margin: -2px 0 0 -2px;
}

/*border装飾*/
.waku {
	border: solid 1px #707070;
	border-radius: 0px;
	padding: 0;
}

.t_center{
	text-align: center;
}
.t_left{
	text-align: left;
}
.t_right{
	text-align: right;
}
.font_s90{
	font: 90%;
}

#work p{
	line-height: 40px;
}


.wt-text{
	padding: 20px;
}

.page{
	padding: 30px 0 30px 0;
}

.page a{
  font-size: 20px;
  position: relative;
  display: inline-block;
  transition: .3s;
  width: 100%;
}

.page a::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  content: '';
  width: 0;
  height: 2px;
  background-color: #31aae2;
  transition: .3s;
  transform: translateX(-50%);
}

.page a:hover::after{
  width: 100%;
}

.page-link{
	padding: 30px 20px;
}	

.page div{
	padding: 10px 0px 10px 0px;
}

.pad50-50{
	padding: 50px 0 50px 0;
}

/* id 調整　*/


#company_photo{
	padding-top: 150px;	
}
#education{
	padding-top: 150px;		
}

#message{
	padding-top: 150px;
}
#overview{
	padding-top: 150px;	
}
#staff{
	padding-top: 150px;	
}
/*----------------------------------------------------
フッター
----------------------------------------------------*/
/*背景の設定*/
.back_img{
background-image: url("background_img/footer.png");
background-size:cover;
max-width:100%;
height:100%;
}

/*著作権部分*/
.footer_color {
	background-color: #421B10;
	margin-bottom: 0;
}

.c_style, .c_style p {
	margin-bottom: 0;
	text-align: center;
}

/*カーブ*/
.footer_curve {
	width: 100%;
}

/*----------------------------------------------------
▼会社概要
----------------------------------------------------*/
.c_mincho {

	font-family: "Sawarabi Mincho";
}

.contype h1{
	margin-top: 50px;
	padding: 40px;
	font-size: 30px;

}
.contype p{
	line-height: 45px;
	margin-bottom: 100px;
}
.contype .t_massage{
	margin-bottom: 0px;	
}

p{
	font-family: "Sawarabi Gothic";
}
h1{

	font-family: "Sawarabi Gothic";
}
div {
	font-family: "Sawarabi Gothic";
}
a {
	font-family: "Sawarabi Gothic";
}

/*----------------------------------------------------
▼採用情報
----------------------------------------------------*/
.stf-h{
	margin: 50px 0 50px 0px;
}


/*----------------------------------------------------
▼取り組み
----------------------------------------------------*/
#torikumi p{
	line-height: 2.3rem;
}
#torikumi h4{
	padding: 30px;
}


/*----------------------------------------------------
▼タブレットの表示
----------------------------------------------------*/

@media (max-width:992px) {
	/*画面幅992px以下であれば*/
	/* navbarスクロール設定 */
	.navbar {
		overflow: auto;
		max-height: 100vh;
	}
	.navbar-nav {
		padding-bottom: 10rem;
	}
  .navbar-brand {/*ナビゲーションの切り替え*/
		display: block;
	}
	.top_tell{
		display: none;
	}
  .top_SS_img {/*ロゴの切り替え*/
		display: none;
	}
	.top_s_img {
		display: block;
	}
	.top_border {
		border-bottom: 1.2px dotted #421B10;
		border-right: none;
	}
	
	h1{
		font-size: 1.8rem
	}
	.width_center{
		width: 100%;
		margin: 0;
	}
	
}

/*----------------------------------------------------
▼モバイル横の表示
----------------------------------------------------*/
@media (max-width:768px) {
    /*画面幅768px以下であれば*/
  #s_top_slide{
		display: block;
	}
	#top_slide{
		display: none;
	}
	.top_info{
		padding: .1rem;
		font-size: smaller;
	}
	.top_address{
		display: block;
	}
	.tel-number {
		pointer-events: auto;
	}
	.tel-number a,a:hover {
		color: #000;
	}
}
/*----------------------------------------------------
▼モバイル縦の表示
----------------------------------------------------*/
@media (max-width:540px) {
    /*画面幅540px以下であれば*/
    .top_SS_img {
		margin-top: 30px;
		}
		.dropdown-item{
			padding: 0.3rem;
		}
}
/*----------------------------------------------------
▼モバイル　最小
----------------------------------------------------*/
@media (max-width:320px) {
    /*画面幅320px以下であれば*/
	.top_info{
		font-size: x-small;
	}
}