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

*{
margin: 0;
padding: 0;
box-sizing: border-box;
}

img{
max-width: 100%;
height: auto;
vertical-align: bottom;
}

body{
min-width: 1280px;
color: #333;
font-family: sans-serif;
background-color: #f5f5f1;
}

@media(max-width: 767px){
body{
min-width: auto;
}
}

ul{
list-style-type: none;
}

span{
color: #c80044;
}

.container{
width: 980px;
margin: 0 auto;
}

@media(max-width: 767px){
.container{
width: 90%;
}
}

/*main--------------------------------------------*/
main{
width: 980px;
margin: 0 auto;
}

@media(max-width: 767px){
main{
width: 90%;
}
}

h1{
text-align: center;
font-size: 30px;
padding-top: 130px;
letter-spacing: .2em;
	font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.portfolio-container{
padding: 80px 120px 20px;
margin: 0 auto;
}

@media(max-width: 767px){
.portfolio-container{
width: 90%;
padding: 80px 5% 20px;
}
}

.portfolio-container p{
line-height: 1.75em;
}


th{
padding-bottom: 20px;
font-size: 18px;
text-align: left;
}

td{
width: 80%;
padding-bottom: 20px;
}

@media(max-width: 767px){
th,td{
width: 100%;
display: block;
}
th{
padding-bottom: 5px;
}
}

table tr:nth-child(4) th{
vertical-align: top;
padding-bottom: 0;
}

table tr:nth-child(4) td{
text-align: justify;
line-height: 1.75em;
padding-bottom: 0;
}

.gaiyou{
padding-left: 150px;
padding-top: 10px;
}

@media(max-width: 767px){
.gaiyou{
padding: 0;
width: 90%;
margin: 0 auto;
}
}

.gaiyou th{
font-size: 16px;
padding-bottom: 0;
vertical-align: top;
}

.gaiyou td{
padding-bottom: 0;
padding-left: 20px;
}

@media(max-width: 767px){
.gaiyou td{
padding: 0;
}
}

h2{
font-size: 18px;
padding-top: 40px;
padding-bottom: 5px;
letter-spacing: .2em;
}

.house-images{
width: 600px;
margin: 0 auto;
padding-bottom: 40px;
}

.fes-images{
width: 800px;
margin: 0 auto;
}

.fes-images img:nth-child(1){
padding-bottom: 40px;
}

.fes-images img:nth-child(2){
padding-bottom: 40px;
}

@media(max-width: 767px){
.web-images{
width: 90%;
}
.house-images{
width: 90%;
}
.fes-images{
width: 90%;
}
}

.view-more{
text-align: center;
letter-spacing: .1em;
padding-top: 60px;
	font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.view-more a{
text-decoration: none;
color: #333;
}


/*footer--------------------------------------------*/
footer{
margin: 150px 50px 30px 50px; 
}

.footer-flex{
display: flex;
justify-content: space-between;
align-items: flex-end;
letter-spacing: .1em;
	font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.top{
display: block;
text-align: center;
}

.top a{
text-decoration: none;
color: #333;
}

.top img{
width: 15px;
margin-bottom: 5px;
}

@media(max-width: 767px){
footer p{
font-size: 14px;
}
footer{
margin: 150px 5% 30px 5%;
}
}