header{

    position: relative;
    height: 100px;
    border-bottom:15px solid #BE431F;
}



#header {
    width:1240px;
    margin: 0 auto;
    display:flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    z-index: 40;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}
#header #logo {
    display: flex;
    align-items: center;

}
#header nav{
    position: absolute;
    top: 28px;
    left: 450px;

}
#logo .logo1{
   width:130px;
   position: absolute;
   top: 20px;
   z-index: 60;
}

#logo .logo2{

    width:268px;
    position: absolute;
    top: 30px;
    left:140px;
}


header nav ul{
    display:flex;
    justify-content: space-between;
    align-items: center;
}


#header nav ul li{
text-align: center;
text-indent: 0.15em;;
margin: 0;
 line-height: 1.5;
padding: 0 15px;
 border-left:1px solid #747474;
}
#header nav ul li:last-child{

 border-right:1px solid #747474;
}
nav ul li a{
    color:#fff;
}
nav ul li a:hover{
    color:#BE431F;
}


header nav ul li span.en{
    font-size:11px;

}


header  .phone{
    font-size:18px;
    color:#BE431F;
    /*
    border:2px solid #BE431F;
    padding: 10px;
    */
     border-bottom:2px solid #BE431F;
    padding: 10px 0;
    margin: 15px 0 0 0;
    font-weight: 600;
}
header .phone a{

    color: #BE431F;

}
footer{
    background: #444;
    color:#fff;
    padding: 40px 0;
}
#footer{
    width:1240px;
    margin: 0 auto;
    display:flex;
    justify-content: space-between;

}
.footer1 .logo{
    display:flex;
    align-items: center;
    margin: 0 0 50px 0;
}
.footer1 .logo1{
    width:80px;
}
.footer1 .logo2{
    width:160px;
}
.footer1 h2{
    font-size: 16px;
    margin-bottom: 10px;
    text-align: left;

}


.footer2 nav {
    margin: 0 0 30px 0;
}


.footer2 nav ul{

    display:flex;
    justify-content: space-between;
    align-items: center;
}
.footer2 nav ul li{
    margin: 0 0 0 20px;
}
.footer2 .sns{
    line-height: 1;
    display:flex;
    align-items: center;
    justify-content: right;
    margin: 0 0 110px 0;

}


.footer2 .sns .img img {
    width:48px;
    margin: 0 0 0 10px;
}
.footer2 .sns .img2 img{
    width:98px;
   margin: 0 0 0 10px;
}


.copyright{
    text-align: right;
}

#titlephoto{
width: 100%;
position: absolute;
left: 50%;
transform: translateX(-50%);
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
position: relative;
top: 0;
z-index: 10;


}

/*
#title{
    background: #575B62;
    margin: 0 0 120px 0;
}


#titlephoto img{
    width: 100%;
    height:300px;

    object-fit: cover;
    object-position: 0 10%;
}
*/
/*
#title h2{
    height:65px;
    font-size:32px;
    font-weight: 600;
    text-align: left;
    color:#fff;
    width:1240px;
    margin: auto;
}
*/
#title h2{
position: relative;
    display: inline-block;
    font-size: 32px;
    letter-spacing: 0.2em;
    font-weight: 600;
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.5));
    padding: 0 55px 0 65px;
    text-align: center;
    line-height: 1.5;


}
#titlephoto{

    background: url(../img/top/mainphoto1.png) no-repeat center center;
    position: relative;
    padding-top: calc(300 / 1920 * 100%);

    box-sizing: border-box;
    width: 100%;
    background-size: cover;

    position: relative;
}
#titlephoto2{

    background: url(../img/title.png) no-repeat center center;
    position: relative;
    padding-top: calc(300 / 1920 * 100%);

    box-sizing: border-box;
    width: 100%;
    background-size: cover;

    position: relative;
}
#title h2 span{

    font-size: 22px;
}

#title {
    position: absolute;
  bottom:50px;


    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

#titlephoto::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,0.3);
}













#contents{
    width:1240px;
    margin: 100px auto 120px;
}

#contents h3{
    font-size:24px;
    color:#BE431F;
    border-bottom:1px solid #BE431F;
    padding: 0 0 10px 0;
    margin: 0 0 60px 0;
    font-weight: 600;
}

#contents h4{

    color:#D1D1D1;
    font-size:16px;
    font-weight: 600;

    text-align: center;
    line-height: 1;
}
#profile td.listbox{
    display:flex;
}
#profile td.listbox ul{
    margin: 0 30px 0 0;
}
#contents section{
    margin: 0 0 80px 0;
}
#contents section#case{
    display:flex;
    justify-content:space-between;
    flex-wrap: wrap;
    width:1080px;
    margin: auto;
}

.case{
    margin:0 0 30px 0;
    width:525px;
    border:1px solid #575B62;
    padding: 30px 30px;

      -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.case .photo {


    margin: 0 auto 20px;
}


.case .photo img{
    width:100%;
    height:auto;
    object-fit: cover;
    display:flex;
    justify-content: center;

}
.case .photo img.tate {
    width:236px;
    height:315px;
    object-fit:contain;
    margin: auto;
    display:flex;
    justify-content: center;


}
/*
.case h4 {
	position: relative;
	padding-left: 60px;
	font-size: 20px;
}

.case h4::before {
	content: attr(data-number);
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	color: rgba(255, 255, 255, 0.3);
	font-size: 50px;
}

.case h4::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100px;
	height: 1px;
	background-color: rgb(255, 255, 255);
}
*/
#contents .case h4 {
    display: flex;
align-items: center;
text-align: left;
line-height: 1.5;

    margin: auto;
}
.case h4 .no{
font-size:24px;

width: 45px;
padding: 10px 0;
letter-spacing: normal;
background: #575B62;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
}
.case h4 .title{

margin: 0 0 0 15px;
}

@media print, screen and (min-width: 768px){

    .sp{
        display: none;
    }

}

@media only screen and (max-width: 767px){

     .pc{
        display: none;
    }


 /*スマホナビ*/


	/*スマホナビ*/
nav.globalMenuSp {
    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;
    /*
    background-color: rgba(255, 255, 255, 0.7);
    */
    background: #BE431F;
    color: #fff;
    text-align: center;
    transform: translateY(-100%);
    transition: all 0.6s;
    width: 100%;
}
nav.globalMenuSp ul {
    /*
    background: rgba(255, 255, 255, 0.7);
    */
    background: #BE431F;
    margin: 0 auto;
    padding: 0;
        width: 80%;
}
nav.globalMenuSp ul li {
    font-size: 1.1em;
    list-style-type: none;
    width: 100%;
	padding: 15px 0;
    border-bottom: 1px solid #fff;
}
/* 最後はラインを描かない */
nav.globalMenuSp ul li:last-child {
    border-bottom: none;
}
header nav.globalMenuSp ul li a {
    display: block;
    color:  #fff !important;
    padding: 5px 0;
}
/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
    transform: translateY(0%);
}
.navToggle {
    display: block;
    position: fixed;    /* bodyに対しての絶対位置指定 */
    right: 13px;
    top: 12px;
    width: 42px;
    /*
    height: 55px;
    */
     height: 40px;
    cursor: pointer;
    z-index: 300;
    /*
background-color: rgba(255, 255, 255, 0.7);
    */
    text-align: center;
}
.navToggle span {
    display: block;
    position: absolute;
    width: 30px;
    border-bottom: solid 4px  #fff;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
    left: 6px;
}
.navToggle span:nth-child(1) {
    top: 9px;
}
.navToggle span:nth-child(2) {
    top: 18px;
}
.navToggle span:nth-child(3) {
    top: 27px;
}
.navToggle span:nth-child(4) {
    border: none;
    color:  #fff;
    font-size: 9px;
    font-weight: bold;
    top: 34px;
	letter-spacing: 0em;
}
/* 最初のspanをマイナス45度に */
.navToggle.active span:nth-child(1) {
    top: 18px;
    left: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
/* 2番目と3番目のspanを45度に */
.navToggle.active span:nth-child(2),
.navToggle.active span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}
/*ここまで*/




 /* ここまで */







#header {
    width: 90%;

}

#header nav {
display:none;
}




#footer {
      width: 90%;
    margin: 0 auto;
    display: block;

}
#logo .logo1 {
    width: 80px;

}
#logo .logo2 {
    width: 178px;
text-align: right;
    top: 20px;
left: auto;
right:50px;
}
header .phone {
  font-size: 16px;
     padding: 5px 0;
    margin: 40px 0 0 0;
    width: 178px;
left: auto;
right:50px;
position: absolute;
}

#header {
   display: block;

    position: absolute;

    top: 0;

}
.footer1{
    font-size: 14px;
}

.footer2 nav ul {
    display: block;

}
.footer2 nav ul li {
    margin: 0;
}
.footer2{
    margin: 20px 0 0 0;
}
.footer2 .sns {

    justify-content: left;
    margin: 0 0 30px 0;
}
#title {
   width: 90%;

text-align: center;
  margin: auto;

}
#title h2 {
padding: 0;
    font-size: 24px;

}
#titlephoto {

    padding-top: calc(1000 / 1920 * 100%);

}
#titlephoto2 {
   padding-top: calc(1000 / 1920 * 100%);
}
#contents {
    width: 90%;
    margin: 50px auto 50px;
}
#contents section#case {

    width: 100%;

}

.case {
    margin: 0 0 20px 0;
    width: 100%;

    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

nav ul li a:hover {
    color: #fff;
}

nav ul li a:visited {
    color: #fff;
}


}