/**********************
 page-will
**********************/
#page-will .bg-img {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background: url("../../images/top/rebuild.jpg");
  background-position: center;
  background-size: cover;
  z-index: 80;
}
#page-will .bg-img:before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 600px;
  background-color: rgb(0, 0, 0, 0.4);
  background-image: radial-gradient(black 20%, transparent 20%),
    radial-gradient(black 20%, transparent 20%);
  background-size: 4px 4px;
  background-position: 0 0, 2px 2px;
  z-index: 80;
}
#page-will .bg-img .bg-black {
  width: 420px;
  height: 100vh;
  background: #000;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 81;
}
#page-will .main-title {
  position: absolute;
  top: 250px;
  left: 50px;
  z-index: 82;
  color: #fff;
}
#page-will .main-title .label {
  font-size: 20px;
  margin-bottom: 30px;
  color: #edc64f;
}
#page-will .main-title h1 {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 30px;
}
#page-will .main-title .en-catch {
  color: #ccc;
}
@media (max-width: 991px) {
  #page-will .bg-img .bg-black {
    display: none;
  }
}
@media (max-width: 767px) {
  #page-will .main-title {
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translate(0%, -50%);
    z-index: 82;
    color: #fff;
  }
  #page-will .main-title h1 {
    font-size: 26px;
    font-weight: bold;
    line-height: 2em;
  }
  #page-will .main-title h1 span {
    display: block;
  }
  #page-will #will-main {
    padding-bottom: 0px;
  }
  #page-will .en-catch {
    max-width: 300px;
  }
}
/****************************
 will about
****************************/
#will-about {
  padding-top: 100px;
  padding-bottom: 100px;
  background: #fff;
  transition: 1s all 0s;
}
#will-about.inview {
  background: #fbeec9;
  transition: 1s all 1s;
}
#will-about h2 {
  margin-bottom: 50px;
  font-size: 24px;
  text-align: center;
  line-height: 2em;
  font-weight: bold;
}
#will-about h2 span {
  display: block;
}
#will-about .thumb {
  max-width: 600px;
  width: 100%;
  margin: 0 auto 50px;
}
#will-about .thumb img {
  width: 100%;
}
#will-about .link {
  text-align: center;
}
#will-about .link a {
  color: #fff;
  display: inline-block;
  max-width: 300px;
  width: 100%;
  padding-top: 15px;
  padding-bottom: 15px;
  text-decoration: none;
  background: #edc64f;
}
/**************************
 will-data
**************************/
#will-data {
  padding-top: 100px;
  padding-bottom: 100px;
  background: #fff9e9;
}
#will-data .mb {
  margin-bottom: 30px;
}
#will-data h2 {
  text-align: center;
  margin-bottom: 80px;
  font-size: 24px;
  font-weight: bold;
}
#will-data .catch {
  text-align: center;
  margin-bottom: 80px;
}
#will-data span {
  display: block;
  line-height: 2.5em;
}
#will-data .graph {
  max-width: 800px;
  margin: 0 auto;
}
#will-data .graph img {
  width: 100%;
}
@media (max-width: 767px) {
  #will-data .catch {
    text-align: left;
  }
  #will-data span {
    display: inline;
  }
}
/******************************
 will-link
******************************/
#will-link .flex {
  display: flex;
  flex-wrap: wrap;
}
#will-link .flex-box {
  width: calc(100% / 3);
  width: -webkit-calc(100% / 3);
  height: 300px;
  position: relative;
}
#will-link .flex-box:before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 300px;
  background-color: rgb(0, 0, 0, 0.4);
  background-image: radial-gradient(black 20%, transparent 20%),
    radial-gradient(black 20%, transparent 20%);
  background-size: 4px 4px;
  background-position: 0 0, 2px 2px;
  z-index: 80;
}
#will-link a {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 81;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 62px;
  text-decoration: none;
  font-weight: bold;
}
#will-link #will-bg-org {
  background: url("../../images/service/gun.jpg");
  background-size: cover;
  background-position: center;
}
#will-link #will-bg-products {
  background: url("../../images/service/bu.jpg");
  background-size: cover;
  background-position: center;
}
#will-link #will-bg-fund {
  background: url("../../images/service/zai.jpg");
  background-size: cover;
  background-position: center;
}
@media (max-width: 767px) {
  #will-link .flex-box {
    width: 100%;
  }
}
