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

@media screen and (min-width:768px), print{
/*----------------------------------------------------------------------
PC Style
----------------------------------------------------------------------*/

/**********************************************************/
/* メインビュー */
/**********************************************************/

.main_img {
  height: 100vh;
  position: relative;
  overflow: hidden;
  width: 100%; 
  display: grid;
  place-items:center;
}
.main_img::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: url("../images/top/main_img.jpg") no-repeat center top / cover;
  -webkit-animation: zoom 5s 1;
  animation: zoom 5s 1;
  animation-fill-mode: forwards;
}
.main_img hgroup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 1200px;
  color: #FFF;
  padding: 0 30px;
}
.main_img h1 {
  line-height: 1.5;
  font-size: 4rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: center;
  text-shadow: 1px 1px 0px #333;
  margin-bottom: 10px;
}
.main_img h1 span {
  font-size: 6.4rem;
}
.main_img hgroup p {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 500;
  text-shadow: 1px 1px 0px #333;
}



/**********************************************************/
/* メインエリア */
/**********************************************************/

main {
}
.txt_box .description {
  margin-bottom: 1.5em;
}

/* 新着情報 */

.news {
  background: #FFF;
  padding: 100px 0 150px;
}
.news .inner {
}
.news h2  {
  color: #373737;
  font-size: 3rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 40px;
}
.news_list {
  width: 100%;
  border-bottom: solid 1px #CCC;
  margin-bottom: 50px;
}
.news_list li {
  border-top: solid 1px #CCC;
  line-height: 1.6;
  padding: 20px 0 20px 40px;
  display: flex;
  align-items: center;
  gap: 0 40px;
  position: relative;
}
.news_list li time {
  font-size: 1.4rem;
  display: inline-block;
  min-width: 80px;
}
.news_list li .cate {
  display: inline-block;
  min-width: 100px;
  font-size: 1.3rem;
  color: #FFF;
  text-align: center;
  background: #373737;
  padding: 1px 10px;
}
.news_list li .title {
  display: inline-block;
  padding-right: 40px;
}
.news_list li a {
  display: block;
  padding-right: 20px;
  flex: 1;
}
.news_list li a:after {
  display: block;
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid;
  border-color: #565656 #565656 transparent transparent;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 20px;
}
.news_list li a:hover .title {
  text-decoration: underline;
}
.news .link_to {
  width: fit-content;
  letter-spacing: 0.2em;
  margin: 0 auto;
  text-align: center;
  padding-left: 60px;
  padding-right: 80px;
}

/* 施工事例 */

.works .separator {
  background: #FFF;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.works .inner {
  width: 80%;
  padding: 130px 0 80px;
  margin: 0 auto;
  background: #FFF;
}
.works .txt_box {
  width: 600px;
  background: #FFF;
  margin: 0 auto;
  padding: 20px 0 80px 0;
  position: relative;
  z-index: 1;
}
.works_list {
  width: 1040px;
  display: flex;
  flex-wrap: wrap;
  gap: 100px 40px;
  margin: 60px auto 0;
}
.works_list>li {
  width: 500px;
}
.works_list>li h3 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1em;
  border-left: solid 5px var(--green);
  padding-left: 15px;
  line-height: 1.5;
}
.works_list .img_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 0;
  margin-bottom: 20px;
}
.works_list .img_box li {
  width: 100%;
  height: 375px;
  position: relative;
}
.works_list .img_box li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.works_list .img_box li::before {
  content: "完成後";
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  line-height: 1.75;
  display: block;
  padding: 0 10px;
  color: #FFF;
  background: rgba(0,0,0,0.8);
  position: absolute;
  bottom: 0;
  right: 0;
}
.works_list .img_box li:nth-of-type(2)::before {
  content: "着工前";
  font-size: 1.3rem;
}
.works_list .img_box li:nth-of-type(3)::before {
  content: "工事中";
  font-size: 1.3rem;
}

.works_list .img_box li:nth-of-type(2),
.works_list .img_box li:nth-of-type(3) {
  width: 240px;
  height: 180px;
}
.works_list>li dl {
  display: flex;
  flex-wrap: wrap;
  border-bottom: solid 1px #BBB;
}
.works_list>li dl dt {
  width: 200px;
  border-left: solid 1px #BBB;
  border-top: solid 1px #BBB;
  padding: 0 10px;
  text-align: center;
}
.works_list>li dl dd {
  width: 300px;
  border-left: solid 1px #BBB;
  border-right: solid 1px #BBB;
  border-top: solid 1px #BBB;
  padding: 0 20px;
}


}


@media screen and (max-width:767px){
/*----------------------------------------------------------------------
SP Style
----------------------------------------------------------------------*/

/**********************************************************/
/* メインビュー */
/**********************************************************/

.main_img {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.main_img::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: url("../images/top/main_img_sp.jpg") no-repeat center / cover;
  -webkit-animation: zoom 5s 1;
  animation: zoom 5s 1;
  animation-fill-mode: forwards;
}
hgroup {
  width: 84%;
  color: #FFF;
  text-shadow: #111 1px 1px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
h1 {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.75;
  text-align: center;
  margin-bottom: 40px;
}
h1 span {
  font-size: 3.6rem;
  font-weight: 600;
  line-height: 1.3;
  display: block;
  padding-top: 5px;
}
p.tagline {
  font-size: 1.8rem;
  text-align: center;
}


/**********************************************************/
/* メインエリア */
/**********************************************************/

main {
}
section .inner {
  padding: 50px 0;
}
.txt_box .description {
  margin-bottom: 35px;
}

/* 新着情報 */

.news {
  background: #FFF;
  padding: 0 0 20px;
}
.news .inner {
}
.news h2  {
  color: #373737;
  font-size: 2.4rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 20px;
}
.news_list {
  width: 100%;
  border-bottom: solid 1px #CCC;
  margin-bottom: 30px;
}
.news_list li {
  border-top: solid 1px #CCC;
  line-height: 1.6;
  padding: 10px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 5px;
  position: relative;
}
.news_list li time {
  font-size: 1.3rem;
  display: inline-block;
  min-width: 70px;
  font-weight: 500;
}
.news_list li .cate {
  display: inline-block;
  width: 80px;
  font-size: 1.2rem;
  color: #FFF;
  text-align: center;
  background: #373737;
  padding: 0px 5px;
}
.news_list li .title {
  display: inline-block;
  line-height: 1.5;
  padding-right: 0;
  width: 100%;
}
.news_list li a {
  display: block;
  padding-right: 20px;
}
.news_list li a:after {
  display: block;
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid;
  border-color: #565656 #565656 transparent transparent;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 10px;
}
.news_list li a:hover .title {
  text-decoration: underline;
}
.news .link_to {
  width: fit-content;
  letter-spacing: 0.2em;
  margin: 0 auto;
  text-align: center;
  padding-left: 40px;
  padding-right: 60px;
}


/* 施工事例 */

.works {
  background: #FFF;
}

.works .separator {
  background: #FFF;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.works .inner {
  padding: 120px 0 60px;
  margin: 0 auto;
  background: #FFF;
}
.works .txt_box {
  background: #FFF;
  margin: 0 auto;
  padding: 60px 10px;
  position: relative;
  z-index: 1;
}
.works_list {
  width: 100%;
  margin: 0 auto;
}
.works_list>li {
  width: 100%;
  margin-bottom: 50px;
}
.works_list>li h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.5em;
  border-left: solid 5px var(--green);
  padding-left: 15px;
  line-height: 1.5;
}
.works_list .img_box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 0;
  margin-bottom: 10px;
}
.works_list .img_box li {
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
}
.works_list .img_box li img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.works_list .img_box li::before {
  content: "完成後";
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  line-height: 1.75;
  display: block;
  padding: 0 10px;
  color: #FFF;
  background: rgba(0,0,0,0.8);
  position: absolute;
  bottom: 0;
  right: 0;
}
.works_list .img_box li:nth-of-type(2)::before {
  content: "着工前";
  font-size: 1.2rem;
}
.works_list .img_box li:nth-of-type(3)::before {
  content: "工事中";
  font-size: 1.2rem;
}

.works_list .img_box li:nth-of-type(2),
.works_list .img_box li:nth-of-type(3) {
  width: 48%;
  height: 100%;
}
.works_list>li dl {
  display: flex;
  flex-wrap: wrap;
  border-bottom: solid 1px #BBB;
}
.works_list>li dl dt {
  width: 25%;
  border-left: solid 1px #BBB;
  border-top: solid 1px #BBB;
  padding: 0 10px;
  text-align: center;
}
.works_list>li dl dd {
  width: 75%;
  border-left: solid 1px #BBB;
  border-right: solid 1px #BBB;
  border-top: solid 1px #BBB;
  padding: 0 20px;
}




}



