@charset "utf-8";

/* *****共通設定***** */
body{
font-family: 'Noto Sans JP', sans-serif;  
}

main{
    display: block;
    background-color: #f9f9f9;/*fbfbf2*/
}
main .btn{
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    font-size: 1.5rem;
}
h1 { font-size: 5.5rem; }/*4.5rem;*/
h2, h3{
   /*color: #401f0f;*/
    color: #212529;
}
.gray {
    color: #6c757d;
}
.card{
    border-color: #d8d8d8;
}
.img-thumbnail {
    width: 100%;
    padding: .25rem;
    background-color: transparent;
    border: none;
}

/* ヘッダー(navbar) */
.navbar{
    /*border-bottom: 1px solid #292929;*/
    /*background-color: #401f0f;*/
    background-color: #292929;
}
.navbar .navbar-collapse{
    flex-grow: 0;
}
.navbar .navbar-brand{
    height: 60px;
}
.navbar .navbar-brand img{
    height: 100%;
}
.navbar .navbar-nav .active > .nav-link{
    color: #fff;
}
.navbar .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: rgba(251,251,241,1);
}

/* フッター */
#footer{
    background-color: #563322;
}
#footer .container{
    color: #e0c7b2;
}
#footer .footer-ttl{
    font-size: 1rem;
    font-weight: bold;
    margin: 1.5rem 0;
    color: #ffce11;
}
#footer address p,
#footer #footer-news li{
    margin-bottom: 0.5rem;
}
#footer #footer-news ul{
    margin: 0;
    padding: 0
}
#footer #footer-news ul{
    list-style: none;
}
#footer #footer-news li span{
    display: inline-block;
    margin-right: 0.5rem;
}
#footer #copyright{
    border-top: 1px solid #212529;
    background-color: #212529;
    color: #fff;
}
#footer img {
	width: 360px;
}

/* *****トップページ***** */
/* メイン画像 */
h1{
    font-weight: bold !important;
    /*color: #ffce11;*/
    color: #fff;
    /*text-shadow:1px 1px 0 #fff, 2px 3px 0 #000;*/
    text-shadow:1px 1px 0 #fff, 2px 3px 0 #ccc;
}
#page-top h1 + span {
    font-size: 3rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 110%;
    margin-top: 0.2rem;
    display: block;
}
#page-top .jumbotron-fluid{
    height: 640px;
    background-color: #f1efff;
    border-bottom: #dddddd;
    background: url("../img/main.jpg") no-repeat center center;
    background-size:cover;
}
#page-top .jumbotron-fluid .container{
    height: 100%;
}
#page-top .jumbotron-fluid .btn{
    padding-left: 3rem;
    padding-right: 3rem;
    margin-top: 1.5rem;
    font-weight: bold;
	border-width: 3px;
    border-color: #fff;
}

/* 各セクション */
#page-top section{
    border-bottom: 1px solid #e5e5e5;
    background-color: #f9f9f9;
	padding: 5rem 0;
}
#page-top section:nth-child(odd){
    background-color: #e5e5e5;
  
}
#page-top section .container > h2{
    margin-bottom: 30px;
    font-size: 2.5rem;
}

#page-top section .movie_container > h2{
    margin-bottom: 30px;
    font-size: 2.5rem;
}

#page-top section .container > h2 + p{
    max-width: 700px;
	margin: 0 auto 50px;
}

#page-top section .movie_container > h2 + p{
    max-width: 700px;
	margin: 0 auto 50px;
}

@media screen and (max-width: 640px) {
#page-top section .movie_container > h2{
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #212529;
}
#page-top section .container > h2 + p{
    margin-bottom: 40px;
    color: #212529;
  }
}

/*--*/

#sec1 h3{
    font-size: 1.2rem;
}

#sec2 {
    line-height: 180%;
}
#sec2 .row{
    min-height: 160px;
    color: #2f2f2f;
}
/*#sec4 .card-body .clearfix p,
#sec4 .card-body .clearfix h3{
    margin-left: 115px;
    line-height: 130%;
}
#sec4 .card-body .card-title{
    margin-bottom: 5px;
    color: #401f0f;
}
#sec4 .card-body .card-subtitle{
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #968075;
}
#sec4 img {
    width: 100%;
}
#sec4 .btn {
    width: 100%;
	background-color: #401f0f;
	border: none;
	padding: 1rem 0;
}*/

#sec5 article > .row {
    border: 1px solid #dddddd;
}
#sec5 > div:nth-child(1) img {
    width: 100%;
}
/*#sec4 > div:nth-child(2){
    margin-left: 220px;
}*/
#sec5 h3{
    margin-bottom: 0.1rem;
}
#sec5 article > div div header {
	padding: 10px;
}

/* *****下層ページ***** */

#breadcrumb-wrapper{
    border-bottom: 1px solid #a29080;
}
#breadcrumb-wrapper,
.breadcrumb{
    font-size: 0.9rem;
    background-color: #563322;
}
.breadcrumb a{
    color: rgba(255,255,255,.5);
}
.breadcrumb a:hover,
.breadcrumb a:focus{
    color: rgba(255,255,255,1);
}
.breadcrumb-item+.breadcrumb-item::before{
    content: ">";
    padding-right: 1rem;
    color: rgba(255,255,255,.5);
}
.breadcrumb-item.active{
    color: #ffffff;
}
h1.page-ttl {
    font-size:2rem; 
}
#page h1 + span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 110%;
    margin-top: 0.2rem;
    display: block;
}

#page article {
    padding: 5rem 0;
}

#page section {
    padding-bottom: 5rem;
}
#page section:last-child {
    padding-bottom: 0rem;
}

#page h1 + small {
    font-size: 1.5rem;
    color: #ffffff;
    line-height: 110%;
    margin-top: 0.2rem;
}
#page .jumbotron{
    background-color: #f1efff;
    border-bottom: #dddddd;
    background: url("../img/top-main.jpg") no-repeat center center;
    background-size:cover;
    border-radius: initial;
}
#page .jumbotron .container{
    padding: 0;
}
#page .jumbotron .container p{
    margin-bottom: 0;
}
#page h2 + p{
    margin: 0 0 1.2rem;
}
#page main img{
    max-width: 100%;
}
#page .sample-title{
    display: flex;
    align-items: center;
    text-align: center;	
}

#page .sample-title::after {
    border-top: 3px dotted;
    content: "";
    display: inline; /* for IE */
    flex-grow: 1;
    margin-left: 0.5em;
}
#page .sample-title span{
    background-color: #fbfbf2;
}
#page .sample-subtitle{
    font-size: 1.5rem;
    font-weight: bold;
    color: #401f0f;
}

/* *****フォーム***** */

.form1 label{
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.form1 input,
.form1 textarea,
.form1 select{
    max-width: 768px;
}
.form1 .form-group{
    margin-bottom: 2rem;
}


/*2021/11/26*/
.survice_block{
  text-decoration: none;
}
.survice_block:hover{
  text-decoration: none;
  display: block;
  opacity: 0.8;
}
.survice_block:hover,
.survice_block:visited,
.survice_block:link,
.survice_block:active{
  color:#212529;
}

figure img{
  width: 100%;
}

.btn-contact:hover{
  background:rgba(183,183,183,0.5);
}
.btn-contact:active,
.btn-contact:link,
.btn-contact:visited{
  outline: none;
  box-shadow: 0px 0px;
}

.about_tbl th{
  vertical-align: top;
  padding-right: 20px;
}
.about_tbl td{
  
}


/*企業情報テーブル*/
/*------------*/
/*table {
  margin: 20px auto;
}*/

.tbl-r02 {
    width: 100%;/*width: 90%;*/
  }
.tbl-r02 th {
  background: #4b4b4b;
  border: solid 1px #ccc;
  color: #fff;
  padding:4px 10px;
  font-weight: normal;
  font-size: 14px;
}
.tbl-r02 td {
  border:solid 1px #fff;
  padding:4px 10px;
  font-size: 14px;
}
 
@media screen and (max-width: 640px) {
  .last td:last-child {
    border-bottom: solid 1px #ccc;
    width: 100%;
  }
  .tbl-r02 {
    width: 100%;
  }
  .tbl-r02 th,
  .tbl-r02 td {
　　border-bottom: none;
    display: block;
    width: 100%;
  }
}
/*------------*/

/*沿革テーブル*/
/*------------*/
.tbl-r03 {
    /*width: 100%;*//*width: 90%;*/
  width: 900px;
  margin-left: auto;
  margin-right: auto;
  }
.tbl-r03 th {
  background: #4b4b4b;
  border: solid 1px #ccc;
  color: #fff;
  padding:10px 10px;
  font-weight: normal;
  font-size: 14px;
  width: 120px;/*width: 10.4%;*/
}
.tbl-r03 td {
  border:solid 1px #fff;
  padding:4px 10px;
  font-size: 14px;
}

@media screen and (max-width:1000px) {
.tbl-r03 {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  }
.tbl-r03 th {
  width: 10.4%;
  }
}

@media screen and (max-width: 640px) {
  .last td:last-child {
    border-bottom: solid 1px #ccc;
    width: 100%;
  }
  .tbl-r03 {
    width: 100%;
  }
  .tbl-r03 th,
  .tbl-r03 td {
　　border-bottom: none;
    display: block;
    width: 100%;
  }
}
/*------------*/

/*マージン・パディング調整*/
.m_rl_auto{
  margin-right: auto;
  margin-left: auto;
}
.pad_0{
  padding: 0;
}
/*--*/

/* ページTOPに戻る */
.pagetop{
    display: none;
    position: fixed;
    right: 15px;
    bottom: 0px;/*bottom: 60px;*/
    z-index: 4;
}
.pagetop a{
    display: block;
    font-size: 0;
    width: 50px;
    height: 50px;
    text-align: center;
    background: #D12B2D;
    border-radius: 50%;
    line-height: 50px;
  opacity: 0.8;
}
.pagetop a i{
    font-size: 20px;
    color:#fff;
    line-height: 50px;
}
/*--*/

.card-body{
  padding: 0.7rem;
}

.company_title{
  color: #5F5F5F;
}


/*2021/12/09　追記*/
/*動画関連*/
/*--------------TOP動画*/
.wrap-video{
  position:relative;
}

.wrap-video video{
  /*width: 400px;
  height:800px;*/
	/*width: 60vh;
  	height:80vh;*/
	  width: 100%;
	  height:100%;
	object-fit: cover;
  max-height: calc(86vh - 67px);
}

.wrap-video .text{
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%); /*上下左右中央寄せ*/
  text-align:center;
	z-index: 10;
	width: 92%;
}

.wrap-video .text p{
  /*font-size:16px;*/
  font-weight:bold;
  color:white;
}

.wrap-video .text .headline{
  font-size:20px;
}

.ami{
  position: absolute;
	background-image: url("../img/ami.png");
	width: 100%;
	height: 100%;
}
@media only screen and (min-width: 641px) {
.wrap-video .text{
	width: 100%;
	}
	.wrap-video video{
	  width: 100%;
	  height:100%
	}
}
/*--*/

/*--------------会社情報動画*/
/*.wrap-video_02{
  height: 1000px;
}

.wrap-video_02 video{
  width: 400px;
  height:800px;
	width: 60vh;
  	height:80vh;
	  width: 100%;
	  height:100%;
	object-fit: cover;
  max-height: calc(86vh - 67px);
}

.wrap-video_02 .text{
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align:center;
	z-index: 10;
	width: 92%;
}

.wrap-video_02 .text p{
  font-weight:bold;
  color:white;
}

.wrap-video_02 .text .headline{
  font-size:20px;
}

.ami{
  position: absolute;
	background-image: url("../img/ami.png");
	width: 100%;
	height: 100%;
}
@media only screen and (min-width: 641px) {
.wrap-video_02 .text{
	width: 100%;
	}
	.wrap-video_02 video{
	  width: 100%;
	  height:100%
	}
}*/
/*--*/


video{
  vertical-align: bottom;
}


/*動画用のブロック1*/
/*----*/
.movie_div{
position: absolute;
height: 100%;
text-align: right;
right: 0;
margin-right: 10%;
}
@media screen and (max-width:1000px) {
.movie_div{
margin-right: 8%;
  }
}

@media screen and (max-width: 640px) {
.movie_div{
margin-right: 6%;
  }
}
/*----*/




/*動画用のブロック2*/
/*背景埋め込み用の場合*/
#page-top .bg-video-wrap{
  padding-top: 0;
  padding-bottom: 0;
}

.bg-video-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 1000px;
}
.bg-video-wrap video {
  width: 100%;
  min-height: 100vh;
  min-height: 1000px;
  z-index: 1;
	object-fit: cover;
}
.overlay {
  width: 100%;
  min-height: 1000px;
  position: absolute;
  top: 0;
  left: 0;
  background-image: linear-gradient(45deg, rgba(0,0,0,.3) 50%, rgba(0,0,0,.7) 50%);
  background-size: 4px 4px;
  z-index: 1;
}
/*----*/
@media screen and (max-width: 640px) {
#page-top .bg-video-wrap{
  padding-bottom: 5rem;
}
.bg-video-wrap {
  position: inherit;
  min-height: 1000px;
}
.bg-video-wrap video {
  min-height: auto;
  position: relative;
  padding: 1rem 1rem 0 1rem;
  }
.overlay {
  display: none;
  height: 300px;
  min-height: auto;
  }
}
/*-----*/

/*動画の上のテーブル調整*/
.tbl_on_movie{
  box-sizing: border-box;
  width: 100%;
  top: 0;
  z-index: 2;
}
.tbl_on_movie tr{
  background-color: rgba(255,255,255,0.7);
}
.tbl_on_movie th{
  background-color: rgba(000,000,000,0.5);
}
@media screen and (max-width:1000px) {
.tbl_on_movie{
  }
}
@media screen and (max-width: 640px) {
.tbl_on_movie{
  width: 100%;
  }
}
/*----*/






/*動画用container*/
.movie_container{
  box-sizing: border-box;
  position: absolute;
  top:0;
  left: 50%;
  width: 700px;
  margin-left: -350px;
  /*margin-right: auto;*/
  padding: 5rem 0;
  z-index: 2;
}
@media screen and (max-width: 640px) {
.movie_container{
  box-sizing: border-box;
  position: inherit;
  top:0;
  left: 0;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 0 0 0;
  z-index: 2;
  }
}


.movie_container h2{
  color: #fff;
}
.movie_container p{
  color: #fff;
}
.bg_movie{
  width: 100%;
}
@media screen and (max-width: 640px) {
.movie_container p{
  color: #212529;
  }
}

/*2021/12/17　追記*/
.nav_chousei{
  padding: 0 1rem 0 0;
}
.chousei_01{
  padding-left: 0;
}
