@charset "utf-8";

/* *****共通設定***** */

main{
    display: block;
    background-color: #fbfbf2;
}
h1 { font-size: 4.5rem; }
h2, h3{
   color: #000000;
}

body {
  margin: 0;
  padding: 0;
}
.bg-video-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  background-size: cover;
}
video {
  width: 100%;
  min-height: 100vh;
  z-index: 1;
}
.videoh1 {
  text-align: center;
  color: #fff;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 3;
  max-width: 900px;
  width: 100%;
  height: 50px;
}

.gray {
    color: #6c757d;
}
.card{
    border-color: #e0c7b2;
}
.card-title{
    color: #000000;
}
.subtitle{
	color: #000080;
	font-size: 35px;
	font-weight: bolder;
	background: linear-gradient(transparent 70%, #a7d6ff 70%);
}
.img-thumbnail {
    width: 100%;
    padding: .25rem;
    background-color: transparent;
    border: none;
}
.card-img-top{
    width:91%;
    text-align:center;
    margin:0 auto;
    overflow:hidden;
    transition:1s all;
}
.card-img-top:hover{
	transform:scale(1.1,1.1);
}

/* ヘッダー(navbar) */
.navbar:after , .navbar:before {
  display : block;
  content : ' ';
}
.navbar	:after {
  clear : both;
}
.navbar{
    background:linear-gradient(rgba(220,220,220,0.8) 85%, rgba(220,220,220,8) 100%);
    position: fixed;
    width: 100%;
    z-index:9999;

}
.navbar .navbar-collapse{
    flex-grow: 0;
    font-size: 1.0rem;
}
.navbar .navbar-brand{
    height: 50px;
}
.navbar .navbar-brand img{
    height: 100%;
}
.navbar .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  display : block;
  padding : 10px 13px;
  font-size : 20px;
  text-decoration : none;
  border-radius   : 5px;
  position        : relative;
  top   : 10;
  transition : all .4s;
}

/* ボタン */
a.btn-border {
  display : block;
  margin: auto;
  width: 60%;
  height: auto;
  border: 2px solid #c0c0c0;
  border-radius: 0;
  background: #c0c0c0;
  color: #fff;

}

a.btn-border:hover {
  color: #fff;
  background: #000080;
}

/* フッター */
#footer{
    background-color: #c0c0c0;
}
#footer .container{
    color: #000000;
}
#footer .footer-ttl{
    font-size: 1rem;
    font-weight: bold;
    margin: 1.5rem 0;
    color: #000080;
}
#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 #c0c0c0;
    background-color: #ffffff;
    color: #000000;
}
#footer img {
	width: 360px;
}

/* *****トップページ***** */
#page-top .jumbotron-fluid{
    height: 640px;
    background-size:cover;

}
#page-top .jumbotron-fluid .container{
    height: 100%;
}

/* 各セクション */
#page-top section{
    border-bottom: 1px solid #e0c7b2;
    background-color: #ffffff;
	padding: 5rem 0;
}
#page-top section:nth-child(odd){
    background-color: #f3f3f3;
}
#page-top section .container > h2{
    margin-bottom: 30px;
    font-size: 2.5rem;
}
#page-top section .container > h2 + p{
    max-width: 700px;
	margin: 0 auto 50px;
}
#sec1 h3{
    font-size: 1.4rem;
}

#sec2 {
    line-height: 180%;
}
#sec2 .row{
    min-height: 160px;
    color: #2f2f2f;
}

/* *****下層ページ***** */

#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-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 .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;
}

/* *****フォーム***** */

.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;
}


/**company**/
table{
  border-collapse:collapse;
  margin:0 auto;
}

td,th{
  border-top:1px solid #666;
  padding:10px;
}
tr:last-child td,
tr:last-child th{
  border-bottom:1px solid #666;
}
/**company**/

@media (min-width: 768px){
.overlay {
  width: 100%;
  height: 75vh;
  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: 3px 3px;
  z-index: 2;
}
.mainh1 {
  text-align: center;
  color: #fff;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 50%;
  margin: auto;
  font-size: 3.0rem;
  z-index: 3;
  max-width: 600px;
  width: 100%;
  height: 50px;
}
}


/****携帯用****/
@media screen and (max-width: 768px){
.main-heading {
  color: #ffffff;
  font-size: 1.0rem;
  text-shadow:3px 3px 0 #000000;
  text-transform: uppercase;
}

.main-heading-primary {
  display: block;
  color: #ffffff;
  font-size: 1.5rem;
  text-shadow:3px 3px 0 #000000;
  font-weight: 600;
  letter-spacing: 5px;
  animation: moveInLeft 1s ease-out;
}
.bg-video-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 40vh;
}
video {
  width: 100%;
  min-height: 50vh;
  z-index: 1;
}
.videoh1 {
  text-align: center;
  color: #fff;
  position: absolute;
  top: 80px;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 3;
  max-width: 900px;
  width: 100%;
  height: 50px;
}

.img-thumbnail {
    width: 100%;
    padding: .25rem;
    background-color: transparent;
    border: none;
}
.card-img-top{
    width:91%;
    text-align:center;
    margin:0 auto;
    overflow:hidden;
    transition:1s all;
}
}
}