@charset "UTF-8";



/* MAIN */

.main h2{
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.8rem;
  background: transparent;/*背景透明に*/
  border-left: solid 2px #333;/*左線*/
  margin: 30px 25px 60px;
  padding-left: 15px;
}

@media(min-width:850px){
  #tops img{
    width:250px;
  }
  .toggle {
  width: 50px;
  height: 40px;
}
.toggle__span {
  height: 3px;
  width: 100%;
  background-color: #333;
  position: absolute;
  transition: 0.4s;
}
.toggle__span:nth-child(1) {
  top: 10px;
}
.toggle__span:nth-child(2) {
  top: 25px;
}
.toggle__span:nth-child(3) {
  top: 40px;
}
}

/* WORKS */
.works{
  height: 200px;
  padding: 25px 25px;
  background-image: url("../images/top/works.jpg");
  background-repeat: no-repeat;
  background-size:cover;
  background-position: center;
  position:relative;
}

.works img{
position: absolute;
width: 350px;
 top: 50%;
 left: 50%;
 transform: translate(-50%,-50%);
}

.works-line{
display: flex;
align-items: center;
font-size: 2.4rem;
font-weight: 500;
width:90%;
margin: 10% auto;
text-align: center;
}

.works-line span{
  font-size: 1.3rem;
  margin-left: 5px;
  color:#330066;
}

.works-line:before,
.works-line:after {
    content: "";
    height: 1px;
    flex-grow: 1;
    background-color: #666;
}
 
.works-line:before {
    margin-right: 1rem;
}
 
.works-line:after {
    margin-left: 1rem;
}

.works-line-end{
  width:90%;
  margin: 10% auto;
  color:#333;
}


body {background-color:#fff;}
#posts {
  text-align: center;
  font-size: 0;
}
#posts .post {
  position: relative;
  width: 100%;
  height: 500px;
  margin: 0;
  display: inline-block;
  background-size: cover;
  background-position: center center;
  transition: all 300ms ease-out;
}
#posts .post h3 {
  color:#fff;
  position: absolute;
  bottom: 80px;
  margin: 0;
  font-size: 2vw;
  line-height: 0.8;
  font-family: "Century Gothic Pro", 'Arial Black', sans-serif;
  padding: 0 60px;
  text-transform: uppercase;
  text-align: left;
  z-index: 1000;
}
#posts .post p {
  color:#fff;
  position: absolute;
  bottom: 40px;
  margin: 0;
  font-size: 1.5vw;
  line-height: 0.8;
  padding: 0 60px;
  text-transform: capitalize;
  text-align: left;
  z-index: 1000;
}
#posts .post:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  opacity: 0.5;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);
  filter: alpha(opacity=50);
  transition: all 300ms ease-out;
  content: '';
  z-index: 1;
}
#posts .post:hover:before {
  opacity: 0.2;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=20);
  filter: alpha(opacity=20);
}

@media screen and (max-width: 600px) {
        #posts .post h3 {font-size: 5vw;}
        #posts .post p {font-size: 3vw;}
}


/* === MEDIA QUERIES === */

/* MOBILE FIRST */
/* XS */ 
/* SM */ @media (min-width: 34em) {#posts .post {width:50%;}}
/* MD */ @media (min-width: 48em) {#posts .post {width:25%;}}
/* LG */ @media (min-width: 62em) {#posts .post {width:33.33333333%;}}
/* XL */ @media (min-width: 75em) {#posts .post {width:25%;}}

@media(min-width:850px){
   .works{
  height: 30vw;
}
  .works img{
width: 60vw;
}
  .works-line{
font-size: 4vw;
font-weight: 500;
}

.works-line span{
  font-size: 2vw;
}
  .works-line:before,
.works-line:after {
    content: "";
    height: 2px;
}
  .works-line-end{
  border: solid 1px;
}
}

/* CONTACT */
.contact h2{
  text-align: left;
  font-family:"Century Gothic Pro";
  background: transparent;/*背景透明に*/
  border-left: solid 30px #333;/*左線*/
  line-height: 2px;
  margin: 30px 25px 30px;
  padding-left: 15px;
}