@charset "UTF-8";
/* CSS Document */

html {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  font-family: "M PLUS 1p", sans-serif;
padding-top: 60px;	
}

.navbar-light .navbar-toggler {
    border-color: rgba(0,0,0,0);
}

.basebg{
	background-color: #e3e3e3;
}

.logo{
	margin-left: 30px;
}

@media screen and (max-width: 960px) {
.logo2{
	height: 40px;
	margin-left: 20px;
}	
}

h2{
	font-size: 32px;
}
@media screen and (max-width: 960px) {
h2{
	font-size: 24px;
}	
}

h4{
	font-size: 20px;
}
@media screen and (max-width: 960px) {
h4{
	font-size: 17px;
}	
}

p{
	font-size: 16px;
	line-height: 1.5em;
	text-align: justify;
}

@media screen and (max-width: 960px) {
  p {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
	text-align: justify;  
  }
}
.p2{
	    line-height: 2.2em;
}

@media screen and (max-width: 960px) {
.p2{
	    line-height: 1.6em;
}
}

.red{
	color: #B42524;
}
.f-red{
color: #B42524;	
font-weight: 400;		
}

.fb1{
	font-weight: 100;	
}

.fb2{
	font-weight: 200;	
}

@media screen and (max-width: 960px) {
.fb2{
	font-weight: 400;	
}	
}

.fb3{
	font-weight: 300;	
}

.fb4{
	font-weight: 400;	
}

.fb7{
	font-weight: 700;	
}

.h640{
	height:580px;
}

.h640b{
	height:580px;
}
@media screen and (max-width: 960px) {
.h640b{
	height:720px;
}	
}
.h640c{
	height:580px;
}
@media screen and (max-width: 960px) {
.h640c{
	height:auto;
}	
}

.lm-10{
	margin-left: 10px;
}
.lm-20{
	margin-left: 20px;
}
@media screen and (max-width: 960px) {
.lm-20{
	margin-left: 14px;
}
}
.lm-30{
	margin-left: 30px;
}
@media screen and (max-width: 960px) {
.lm-30{
	margin-left: 20px;
}	
}
.lm-50{
	margin-left: 50px;
}

.lm-100{
	margin-left: 100px;
}
@media screen and (max-width: 960px) {
.lm-100{
	margin-left: 15px;
}	
}

.pd5{
	padding: 5px;
}

.pd10{
	padding: 10px;
}

/*Table*/
table {
  margin: 10px auto;
border-collapse: separate;	
}
.tbl-r02 th {
 width:30%;	
 background: #c2c2c2;
font-size: 15px;
font-weight: 400;	
color: #fff;
padding: 6px;
border: none;
border-bottom: 1px solid #333;		
}
.tbl-r02 td {
font-size: 15px;	
padding: 10px;
border: none;
border-bottom: 1px solid #333;		
}
 
@media screen and (max-width: 640px) {
.last td:last-child {
       width: 100%;
  }
.tbl-r02 {
 width: 80%;
font-size: 13px; 
	 padding: 6px; 
  }
.tbl-r02 th,
.tbl-r02 td {
padding: 3px; 
font-size: 13px;   
border-bottom: none;
display: block;
width: 100%;
  }
}

/*Works Card*/
#work1 .card {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
padding: 5px;
text-align: center;	
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  opacity: 0.8;	
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.4rem;
}
#work1 img{
	width: 75%;
	margin:0 auto;
}

#work2 .card {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
padding: 5px;
text-align: center;	
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  opacity: 0.8;	
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.4rem;
}
#work2 img{
	width: 75%;
	margin:0 auto;
}



/*Section Backgorund*/
.bg_a {
    background-image: url("../images/hero.png"),url("../images/A.png");
	background-size: 50%, 35%;
	background-repeat: no-repeat, no-repeat;              
    background-position: right bottom, left bottom;  
}

@media screen and (max-width: 960px) {
.bg_a {
    background-image: url("../images/A.png");
	background-size: 70%;
	background-repeat: no-repeat;               
    background-position: 50% bottom; 
	}
}
	

.bg_c {
    background-image: url("../images/camera.png"),url("../images/C.png");
	background-size: 35%, 25%;
	background-repeat: no-repeat, no-repeat;              
    background-position: 10% center, 6% bottom;  
}

@media screen and (max-width: 960px) {
.bg_c {
    background-image: url("../images/C.png");
	background-size: 50%;
	background-repeat: no-repeat;               
    background-position: 50% bottom; 
	}
}

.bg_t {
    background-image:url("../images/T.png");
	background-size: 26%;
	background-repeat: no-repeat;              
    background-position: 6% bottom;  
}

@media screen and (max-width: 960px) {
.bg_t {
    background-image: url("../images/T.png");
	background-size: 55%;
	background-repeat: no-repeat;               
    background-position: 50% bottom; 
	}
}
.bg_i {
    background-image:url("../images/I.png");
	background-size: 8%;
	background-repeat: no-repeat;              
    background-position: 10% bottom;  
}

@media screen and (max-width: 960px) {
.bg_i {
    background-image: url("../images/I.png");
	background-size: 20%;
	background-repeat: no-repeat;               
    background-position: 50% bottom; 
	}
}
.bg_v {
    background-image:url("../images/V.png");
	background-size: 35%;
	background-repeat: no-repeat;              
    background-position: left bottom;  
}

@media screen and (max-width: 960px) {
.bg_v {
    background-image: url("../images/V.png");
	background-size: 65%;
	background-repeat: no-repeat;               
    background-position: 50% bottom; 
	}
}

.bg_e {
    background-image:url("../images/E.png");
	background-size: 22%;
	background-repeat: no-repeat;              
    background-position: 5% bottom;  
}

@media screen and (max-width: 960px) {
.bg_e {
    background-image: url("../images/E.png");
	background-size: 65%;
	background-repeat: no-repeat;               
    background-position: 50% bottom; 
	}
}

.bg_1 {
    background-image:url("../images/1.png"),url("../images/key2.png");;
	background-size: 15%, 87%;
	background-repeat: no-repeat, no-repeat;              
    background-position: left bottom, right top;  
}

@media screen and (max-width: 960px) {
.bg_1 {
    background-image: url("../images/1.png");
	background-size: 30%;
	background-repeat: no-repeat;               
    background-position: 50% bottom; 
	}
}



.right{
	text-align: right;
}
.left{
	text-align: left;
}

.form-control{
margin:5px;	
}

.mt-50{
	margin-top: 65px;
}


#profile th{
font-size: 15px;
font-weight: 400;	
line-height: 1.5em;
text-align: justify;	
}

#profile td{
font-size: 15px;
font-weight: 300;	
line-height: 1.5em;
padding-left: 30px;	
text-align: left;	
}

@media screen and (max-width: 960px) {
#profile th{
font-size: 13px;
font-weight: 400;	
line-height: 1.3em;
text-align: justify;	
}

#profile td{
font-size: 13px;
font-weight: 300;	
line-height: 1.3em;
padding-left: 30px;	
text-align: left;	
}
}


/*SP-PC切替*/
.pcview {}
.spview {
  display: none;
}
@media screen and (max-width: 960px) {
  .pcview {
    display: none;
  }
  .spview {
    display: block;
  }
}

.flex {
  display: flex; /*横並び*/
}
.flex .image {
  margin: 0;
  width: 80px;	
  height: 60px; 	
  padding: 0;
  overflow: hidden;
  position: relative;
}
.flex .text {
  margin: 0 0 0 10px;
  padding: 0;
  font-size: 14px;
  font-weight: 300;	
}



/************************************
** トップへ戻るボタン
************************************/
#page-top {
  position: fixed;
  bottom: 5px;
  right: 5px;
  font-size: 77%;
  z-index: 999;
}
@media (max-width:786px) {
  #page-top {
    position: fixed;
    bottom: 0px;
    right: 10px;
    font-size: 77%;
    z-index: 999;
  }
}
#page-top a {
  background: #666;
  opacity: 0.5;
  text-decoration: none;
  color: #fff;
  width: 60px;
  padding: 20px 0;
  text-align: center;
  display: block;
  border-radius: 5px;
}
#page-top a:hover {
  text-decoration: none;
  background: #999;
  opacity: 0.4;
}


input[type="submit"] {
	background-color: #a00e15;
	color: #FFFFFF;
	border-style: none;
	cursor: pointer;
}
