@charset "UTF-8";

#sub {
  background-image: url(../images/workstop01.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 25% 35%;
}

#sub.sub_2 {
  background-image: url(../images/IMG_2821.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top 60%;
}


/*=========================================
case
=========================================*/
#case {
  width: 1200px;
  margin: 0 auto;
}

p.vision {
  padding-left: 30px;
}

#case ul {
  display: flex;
  justify-content: space-between;
  /* flex-wrap: wrap; */
  margin-bottom: 60px;
}

#case ul li {
  width: 33%;
  list-style: none;
}

/* ページネーション */
nav.pagination-container {
  width: 400px;
  text-align: center;
  margin: 0 auto;
}

/* 
ul.case_container {
  display: inline-block;
    padding-left: 0;
    margin: 20px auto;
} */


.pagination li {
  margin: 5px;
  /* border: 1px solid #333; */
  border-radius: 30px;
}

.pagination a {
  display: block;
  text-decoration: none;
  color: #333;
  /* padding: 10px; */
  text-align: center;
}

.pagination a:hover {
  background-color: #666;
  color: aliceblue;
  border-radius: 30px;
}

.active {
  background-color: rgb(144, 143, 141);
}

@media screen and (max-width:768px) {
  nav.pagination-container {
    width: 300px;
  }
}

@media screen and (max-width:1024px) {
  section#case {
    padding-top: 0;
  }

  #case {
    width: 900px;
  }

  #case .card {
    /* width: 293px;
    height: 185px; 保留*/
    margin: 10px 4px -3px 4px;
  }

  #case .wrap {
    padding-right: 0;
    padding-left: 0;
  }
}

@media screen and (max-width:768px) {
  p.vision {
    padding-left: 15px;
    font-size: 12px;
  }
}

/* card */
.card {
  /* width: 380px;
  height: 253px; 保留*/
  overflow: hidden;
  margin: 10px 8px 10px 16px;
  position: relative;
}

.card img {
  width: 100%;
}

p.msg {
  padding-left: 30px;
}

.card .caption {
  width: 100%;
  height: 100%;
  visibility: hidden;
  /* 文字を表示しない */
  font-size: 130%;
  color: #fff;
  top: 0;
  left: 0;
  position: absolute;
  text-align: center;
  -webkit-transition: all 0.4s step-end;
  transition: all 0.4s step-end;
  cursor: pointer;
}

.card:hover .caption {
  visibility: visible;
  /* 文字を表示する */
}

.card .caption p {
  font-size: 20px;
  padding-top: 75px;
  color: #fff;
  opacity: 0;
  /* ホバーが解除された時すぐ消えるように、文字を表示しない */
}

.card:hover .caption p {
  opacity: 1;
  /* 文字を表示する */
}

.card .mask1,
.card .mask2 {
  width: 100%;
  height: 50%;
  /* 高さは半部のサイズ */
  position: absolute;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-transition: all 0.8s ease;
  transition: all 0.8s ease;

}

.card .mask1 {
  top: -50%;
  /* 枠の上に置いて表示させない */
}

.card:hover .mask1 {
  top: 0;
  /* 下にずらして表示する */
}

.card .mask2 {
  bottom: -50%;
  /* 枠の下に置いて表示させない */
}

.card:hover .mask2 {
  bottom: 0;
  /* 上にずらして表示する */
}

.card img {
  text-align: center;
  opacity: 0.;
  transition: .7s;
  transform: scale(1);
  /* 傾けるrotate */
}

.card:hover img {
  -webkit-transform: scale(1.2) rotate(0deg);
  /* 元の大きさに戻す */
  transform: scale(1.2);

}

/* イオンモール */
img.aeon {
  width: 1200px;
  height: 500px;

}

.card .caption p.aeon_01 {
  font-size: 60px;

}

.card .caption p.aeon_02 {
  font-size: 40px;

}

@media screen and (max-width:768px) {
  #sub {
    background-position: right;
  }

  #case {
    width: 100%;
  }

  #case ul li {
    width: 50%;
  }

  #case ul li p.name {
    font-size: 12px;
  }

  #case.section {
    padding-top: 0;
  }

  #case.card {
    width: 100%;
    height: auto;
    margin: 0 0 10px 0;
  }

  #case.card img {
    width: 100%;
    height: auto;
  }

  img.aeon {
    width: 100%;
    height: auto;
  }

  p.msg {
    font-size: 12px;
    padding: 20px;
  }
}

/*=========================================
construction(ぱんクズリスト)/css共通
=========================================*/
#construction {
  margin-top: 33px;
}

main .wrap {
  padding: 30px 0;
  background: #fff;
}

.topicpath {
  max-width: 1000px;
  text-align: left;
  margin: 0 auto;
}

.breadcrumb {
  margin-left: 0;
  padding-left: 0;
}

.breadcrumb li {
  display: inline;
  list-style: none;
  font-size: 12px;
}

.breadcrumb {
  margin-left: 0;
  padding-left: 0;
}

.breadcrumb li:after {
  content: '>';
  padding: 0 3px;
  color: #555;
}


/*=========================================
swaiper
=========================================*/
.swiper {
  width: 800px;
  max-width: 100%;
}

.main-swiper {
  margin-top: 50px;
  margin-bottom: 10px;
}

.swiper-slide img {
  max-width: 100%;
}

.sub-swiper .swiper-slide img:hover {
  cursor: pointer;
}

.swiper-slide {
  opacity: .7;
  overflow: hidden;
}

.swiper-slide-thumb-active {
  opacity: 1;
}

.sub-swiper .swiper-slide img:hover {
  transform: scale(1.5);
  transition: .5s;
}

span.swiper-pagination-bullet {
  background-color: #fff;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  color: #fff;
}

.swiper-button-prev.sub-button-prev::after {
  font-size: 22px;
  color: #fff;
}

.swiper-button-next.sub-button-next::after {
  font-size: 20px;
  color: #fff;
}

@media screen and (max-width:768px) {
  .main-swiper h2 {
    font-size: 17px;
  }

  div.swiper-button-next:after,
  .swiper-rtl .swiper-button-prev:after {
    font-size: 30px;
  }

  div.swiper-button-prev:after,
  .swiper-rtl .swiper-button-prev:after {
    font-size: 30px;
  }
}

/* explanation */
.explanation {
  max-width: 800px;
  margin: 0 auto;
}

.explanation p {
  margin-top: 30px;
}

@media screen and (max-width:768px) {
  .explanation p {
    padding: 0 20px;
  }
}

.meta_table {

  border-collapse: collapse;
  width: 900px;
  margin: 50px auto 90px;
}

.meta_table th {
  width: 160px;
  padding: 10px;
  font-weight: bold;
  vertical-align: middle;
  border: 1px solid #bbb;
  border-left: none;
  border-right: none;
}

.meta_table td {
  padding: 10px;
  vertical-align: middle;
  border: 1px solid #bbb;
  background-color: #fff;
  border-left: none;
  border-right: none;
}

@media screen and (max-width:768px) {
  .meta_table {
    width: 94%;
  }
}

/* entry */

.entry {
    width: 900px;
    margin: 30px auto;
}

/* ページネーション */
.container {
  width: 100%;
  margin: 0 auto;
}

.container .list {
  flex-wrap: wrap;
  display: flex;
  list-style: none;
  padding: 0;
  border: none;
  justify-content: space-between;
}

.list li.is-hidden {
  visibility: hidden;
  opacity: 0;
  height: 0;
  margin: 0 10px;
  padding: 0;
}

.more {
  text-align: center;
  margin-top: 20px;
}

.more button {
  width: 300px;
  background-color: #111;
  border: 1.2px solid rgb(220 200 125);
  color: #fff;
  padding: 10px 30px;
  font-size: 20px;
  transition: .5s;
  border-radius: 10px;
  cursor: pointer;
  font-family: serif;
}

.more button:hover {
  background: #FFF;
  color: #000000;
  box-shadow: 0 15px 30px -5px rgb(0 0 0 / 25%);
  transform: translateY(-4px);
}

@media screen and (max-width:768px) {
  .more button {
    width: 200px;
    display: inline-block;
    font-size: 16px;
  }
}

/* pagination */
.pagenav {
  width: 980px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0 auto 150px auto;
}

@media screen and (max-width:768px) {
  .pagenav {
    width: 100%;
    padding: 0 20px;
  }
}




/* erea(施工対象エリア)  */
.erea {
  width: 60%;
  margin: 0 auto;
}

.erea p {
  margin-bottom: 70px;
}

@media screen and (max-width:768px) {
  .erea {
    width: 85%;
  }
}