.off {
  display: none;
}

.on {
  display: block;
}

.main_visual {
  width: 90%;
  margin: 0 auto;
  margin-top: 80px;
  height: 50vw;
}
.main_visual_title {
  width: 90%;
  max-width: 527px;
  padding-top: 10%;
}
.main_visual_content {
  width: 70%;
  max-width: 437px;
  padding-top: 5%;
}

.main_visual_bg1 {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: url(../images/top/main01.jpg) no-repeat bottom;
  background-size: cover;
}

.main_visual_bg2 {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: url(../images/top/main02.jpg) no-repeat bottom;
  background-size: cover;
  opacity: 0;
}
.main_visual_bg2.active {
  animation: fade-in-out 10s linear infinite;
}

@keyframes fade-in-out {
  0% {
    opacity: 0;
  }
  16% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  66% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.strategy_for_future {
  width: 35%;
  margin: 13% 0 0 5%;
  float: left;
}

.strategy_for_future_img {
  width: 50%;
  margin: 0 5% 0 0;
  float: right;
}

.strategy_for_future_img img {
  width: 100%;
}

.click {
  color: #7a0000;
  background: rgb(255, 255, 255);
  border-radius: 15px;
  padding: 2px 30px 2px 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
}

.click_anker {
  margin-left: 42%;
  display: inline-block;
}

.results {
  width: 360px;
  margin: 50px auto 0 auto;
  text-align: center;
}

.results_content {
  width: 90%;
  margin: 70px auto 0 auto;
  position: relative;
  padding: 80px 10px;
  background: url(../images/top/bg_results.jpg) repeat bottom;
  background-size: cover;
}

.results_txt {
  text-align: center;
  color: #ffffff;
  font-size: 32px;
}

.results_txt2 {
  text-align: center;
  margin-top: 30px;
  color: #ffffff;
  font-size: 24px;
}

.results_wrap {
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1em;
  justify-items: center;
  flex-flow: row wrap;
  justify-content: space-around;
  align-items: stretch;
  padding: 0 10px;
}

.results_wrap a:hover {
  opacity: 0.5;
}

.results_wrap li {
  margin-top: 20px;
  color: #ffffff;
}

.results_wrap li p {
  position: relative;
}

.results_wrap li dt span {
  width: 20%;
  position: absolute;
  top: 0;
}

.results_wrap li dt span.kanbai {
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.results_wrap li dt span img {
  width: 100%;
}

.results_wrap li p img {
  width: 100%;
}

.results_wrap dd {
  padding: 0 20px 0 20px;
  margin-top: 20px;
  border-left: solid 1px;
  border-right: solid 1px;
  border-color: #ffffff;
}

.results_wrap dd span {
  font-size: 1.3em;
  line-height: 1;
}

.results_click {
  text-align: center;
  background: #ffffff;
  color: #cc0000;
  padding: 3px 0 3px 0;
  margin-top: 10px;
  text-transform: uppercase;
  border-radius: 5px;
}

.results_kanbai {
  text-align: center;
  background: #cc0000;
  color: #ffffff;
  padding: 3px 0 3px 0;
  margin-top: 10px;
  text-transform: uppercase;
  border-radius: 5px;
}

.body_wrap {
  position: relative;
}

.top_contents {
  width: 90%;
  margin: 0 auto;
  padding-top: 3%;
  height: 750px;
  background: url(../images/top/bg_white.jpg) repeat bottom;
  background-size: cover;
}

@media screen and (max-width: 1200px) {
  .top_contents {
    height: 630px;
  }
}
@media screen and (max-width: 800px) {
  .top_contents {
    width: 90%;
    margin: 0 auto;
    padding-top: 3%;
    height: 460px;
    background: url(../images/top/bg_white.jpg) repeat bottom;
    background-size: cover;
  }
}
@media screen and (max-width: 640px) {
  .main_visual {
    width: 100%;
    margin: 0 auto;
    margin-top: 75px;
    height: 100vw;
    background: url(../images/top/main.jpg) no-repeat bottom;
    background-size: cover;
  }
  .main_visual p {
    width: 90%;
    margin: 0 auto;
    padding-top: 6%;
  }
  .top_contents {
    width: 100%;
    margin: 0 auto;
    padding-top: 4%;
    height: auto;
    background: url(../images/top/bg_white.jpg) repeat bottom;
    background-size: cover;
  }
  .top_contents_inner {
    max-width: 100%;
    margin: 0 auto;
  }
  .strategy_for_future {
    width: 90%;
    margin: 13% auto 0 auto;
    float: none;
  }
  .strategy_for_future_img {
    width: 90%;
    margin: 5% auto 0 auto;
    float: none;
  }
  .strategy_for_future_img img {
    width: 100%;
  }
  .click {
    color: #7a0000;
    background: rgb(255, 255, 255);
    border-radius: 15px;
    padding: 2px 30px 2px 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
  }
  .click_anker {
    margin-left: 36%;
    display: inline-block;
    margin-bottom: 20px;
  }
  .results {
    width: 80%;
    margin: 20px auto 0 auto;
    text-align: center;
  }
  .results_content {
    width: 100%;
    margin: 50px auto 0 auto;
    position: relative;
    padding-top: 10%;
    padding-bottom: 5%;
    height: auto;
    background: url(../images/top/bg_results.jpg) repeat bottom;
    background-size: cover;
  }
  .results_txt {
    text-align: center;
    color: #ffffff;
    font-size: 21px;
  }
  .results_txt2 {
    text-align: center;
    margin-top: 30px;
    color: #ffffff;
    font-size: 18px;
  }
  .results_wrap {
    max-width: 100%;
    margin: 0 auto;
  }
  .results_wrap li {
    float: none;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
  }
}
@media screen and (max-width: 640px) and (max-width: 454px) {
  .results_wrap li {
    max-width: 75%;
  }
}
@media screen and (max-width: 640px) {
  .results_wrap li p {
    position: relative;
  }
  .results_wrap li dt span {
    width: 25%;
    position: absolute;
    top: 0;
  }
  .results_wrap li dt span img {
    width: 100%;
  }
  .results_wrap li p img {
    width: 100%;
  }
  .results_wrap dd {
    padding: 0 20px 0 20px;
    margin-top: 20px;
    border-left: solid 1px;
    border-right: solid 1px;
    border-color: #ffffff;
  }
  .results_wrap dd span {
    font-size: 1.3em;
  }
  .results_wrap li p {
    position: relative;
    width: 100%;
    margin: 0 auto 0 auto;
  }
  .body_wrap {
    position: relative;
  }
}
.hoge {
  background-image: url(../images/top/main01.jpg);
  transition-delay: 0s;
  transition-duration: 1s;
  transition-property: background-image;
  transition-timing-function: ease;
}

.hoge.on {
  background-image: url(../images/top/main02.jpg?=0);
}

.main_visual_animation.active {
  transition: all 2s ease 0s;
}

.main_visual_animation.active .title {
  transition: all 2s ease 1s;
}

.main_visual_animation.active .content {
  transition: all 2s ease 1.5s;
}

.main_visual_animation:not(.active) {
  opacity: 0;
}

.main_visual_animation:not(.active) .title {
  transform: translate(0, -5vh);
  opacity: 0;
}

.main_visual_animation:not(.active) .content {
  transform: translate(0, 5vh);
  opacity: 0;
}

#top_contents_id .strategy_for_future {
  transition: all 1s ease 0s;
}

#top_contents_id:not(.active) .strategy_for_future {
  transform: translate(-5vw, 0);
  opacity: 0;
}

#top_contents_id .strategy_for_future_img {
  transition: all 1s ease 0.2s;
}

#top_contents_id:not(.active) .strategy_for_future_img {
  transform: translate(5vw, 0);
  opacity: 0;
}/*# sourceMappingURL=top.css.map */