/* トップページ（index.html）用のCSS */
main {
  padding-top: 116px;
}
.movie {
  width: 100%;
}
.movie video {
  display: block;
  width: 100%;
  height: auto;
  z-index: 3;
  position: relative;
}
.top_img1 {
  margin-top: -5%;
  margin-bottom: 60px;
}
.top_mv_text {
  display: block;
  width: 80%;
  margin: 0 auto 100px;
}
.top__text .top_text1 {
  width: 90%;
  margin: 0 auto 40px;
}
.top_text2, .top_text3, .top_text4 {
  margin-bottom: 60px;
}
.info {
  margin-bottom: 100px;
}
.info > p {
  text-align: center;
  color: var(--btn-color);
  font-size: 20px;
  letter-spacing: 0.1em;
  font-family: sans-serif;
  margin-bottom: 20px;
}
.info__items {
  background-color: #f8f8f9;
  padding: 30px;
}
.info__date {
  font-size: 14px;
  margin-bottom: 10px;
}
.info__text {
  font-size: 16px;
}
.contents.bg {
  background-image: url("../img/top/top_project_bg.png");
  background-size: 100%;
}
.title {
  font-size: 18px;
  letter-spacing: 0.8em;
  margin-bottom: 40px;
  line-height: 2;
}
.text {
  font-size: 14px;
  letter-spacing: 0.4em;
  line-height: 1.6;
}
.more_btn {
  display: flex;
  width: 270px;
  will-change: transform;
}
.more_btn.sp {
  display: none;
}

/* ---------- project ---------- */
.project {
  padding: 80px 0 180px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;

  .js-reveal {
    width: 55%;
  }
  .text_block {
    padding-right: 6%;
  }
  .top_project_title {
    margin-bottom: 60px;
    height: 80px;
  }
}


/* ---------- concept ---------- */
.concept {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
  padding: 0 0 180px 0;

  .text_block {
    padding-left: 6%;
    width: 47%;
  }
  .top_concept_title {
    margin-bottom: 60px;
    height: 170px;
  }
  .text {
    margin-bottom: 60px;
  }
}

/* ---------- history ---------- */
.history {
  padding: 0 0 180px 0;
  .top_history_title {
    width: 200px;
    margin: 0 0 20px auto;
  }
  .js-reveal {
    margin-bottom: 20px;
  } 
  .text_block {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .btn_wrap {
    width: min(300px, 25%);
  }
  .top_history_img2 {
    margin-bottom: 40px;
  }
  .text_wrap {
    text-align: right;
  }
}

/* ---------- design ---------- */
.design {
  padding: 0 0 180px 0;
  .block_top,
  .block_bottom {
    display: flex;
    align-items: flex-end;
    gap: 20px;
  }
  .block_top {
    justify-content: space-between;
    margin-bottom: 20px;
  }
  .block_bottom {
    justify-content: right;
    margin-bottom: 40px;
  }
  .block_top .js-reveal {
    width: calc(100% - 180px - 20px);
  }
  .block_top .img,
  .block_bottom .js-reveal {
    width: 180px;
  }
  .top_design_title {
  width: 80px;
  margin-bottom: 80px;
  }
  .block_bottom .text_block {
    text-align: right;
  }
  .btn_wrap {
    display: flex;
    justify-content: right;
  }
}

/* ---------- location ---------- */
.location {
  padding: 0 0 180px 0;
  .top_location_title {
    height: 60px;
    margin-bottom: 60px;
  }
  .block {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
  }
  .text_wrap {
    width: 440px;
  }
  .js-reveal {
    width: calc(100% - 440px - 20px);
  }
  .text {
    margin-bottom: 60px;
  }
  .js-reveal img + img {
    margin-top: 20px;
  }
  .top_location_img1 {
    width: 80%;
  }
}

/* ---------- plan ---------- */
.plan {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 0 180px 0;
    gap: 20px;
  .block {
    width: 25%;
  }
  .text_block {
    width: 75%;
  }
  .top_plan_title {
    height: 60px;
    margin-bottom: 60px;
  }
  .top_plan_img2 {
    margin-bottom: 60px;
  }
  .js-reveal {
    margin-bottom: 60px;
  }
  .title, .text {
    padding-left: 60px;
  }
}

/* ---------- access ---------- */
.access {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 0 180px 0;
  gap: 20px;

  .text_block {
    text-align: right;
    width: 70%;
  }
  .title, .text {
    padding-right: 60px;
  }
  .text {
    margin-bottom: 60px;
  }
  .block {
    width: 30%;
  }
  .more_btn {
    margin: 0 60px 60px auto;
  }
  .top_access_img2 {
    margin-bottom: 60px;
  }
  .top_access_title {
    width: 80px;
  }
}

/* ---------- coordination ---------- */
.coordination {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 0 180px 0;
  gap: 20px;

  .block {
    width: 70%;
  }
  .title_block {
    width: 30%;
    padding-right: 10%;
  }
  .top_coordination_title {
    width: 80px;
    margin-bottom: 160px;
  }
  .top_coordination_img2 {
    width: 160px;
  }
  .text_block {
    display: flex;
    align-items: flex-end;
    gap: 60px;
    justify-content: right;
    text-align: right;
  }
  .btn_wrap {
    width: 270px;
  }
  .block > .js-reveal {
    margin-bottom: 30px;
  }
  .title {
    padding-top: 30px;
  }
  .btn_wrap > .js-reveal{
    margin-bottom: 60px;
  }
}

/* ---------- zeh ---------- */
.zeh {
  padding: 180px 0;
  .block {
    display: flex;
    align-items: flex-start;
    gap: 40px;
  }
  .top_zeh_title {
    height: 100px;
    margin-bottom: 30px;
  }
  .text_block {
    width: 380px;
  }
  .text {
    margin-bottom: 60px;
  }
  .js-reveal {
    width: calc(100% - 380px - 40px);
  }
}

/* ---------- equipment ---------- */
.equipment {
  padding: 0 0 180px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  
  .top_equipment_title {
    width: 100px;
    margin-right: 60px;
  }
  .text {
    margin-bottom: 60px;
  }
}

/* ---------- support ---------- */
.support {
  display: flex;
  align-items: center;
  gap:60px;
  margin-bottom: 60px;

  .btn_wrap {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
  }
  .top_support_title {
    height: 140px;
  }
  .js-fade {
    width: calc(50% - 60px);
  }
}

/* ---------- support ---------- */
.about {
  display: flex;
  align-items: center;
  gap:60px;

  .btn_wrap {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
  }
  .top_about_title {
    height: 140px;
  }
  .js-fade {
    width: calc(50% - 60px);
  }
}

/* =========================
  768px以下
========================= */
@media (max-width: 768px) {
  .top_mv_text {
    width: 100%;
  }
  main {
    padding-top: 65px;
  }
  .project,
  .concept,
  .design,
  .location .block,
  .plan .zeh .block,
  .support, .about,
  .location .block,
  .zeh .block,
  .equipment,
  .history .text_block, .plan, .access, .coordination,
  .coordination .text_block {
    flex-direction: column;
  }
  .top_text4, .top_equipment_title,
  .top_history_title,
  .top_history_img2,
  .top_design_title,
  .top_plan_img2,
  .top_access_title,
  .top_access_img1,
  .coordination .title_block,
  .top_coordination_img3,
  .top_zeh_title,
  .top_plan_title,
  .design .block_top > .js-reveal,
  .design .block_bottom .js-reveal,
  .top_location_title,
  .js-reveal .top_location_img2 {
    display: none;
  }
  .project .top_project_title, .concept .top_concept_title {
    height: 50px;
  }
  .concept .top_concept_title {
    height: 80px;
  }
  .project {
    gap: 0;
    padding-top: 80px;
    padding-right: 10%;
    padding-left: 10%;
    padding-bottom: 90px;
  }
  .project .js-reveal {
    order: 2;
    width: 100%;
  }
  .project .text_block {
    order: 1;
    padding-right: 0;
  }
  .concept .text_block {
    width: 90%;
    padding-left: 0;
  }
  .design .block, .location .text_wrap,
  .location .js-reveal,
  .zeh .text_block, .zeh .js-reveal,
  .history .img .js-reveal, .design .btn_wrap, .plan .block,
  .plan .text_block, .access .block, .access .text_block, .coordination .block, .about .js-fade,
  .design .block_top .img,
  .design .block_bottom .text_block,
  .location .top_location_img1 {
    width: 100%;
  }
  .title {
    font-size: 16px;
    letter-spacing: 0.3em;
    margin-bottom: 20px;
  }
  .text {
    letter-spacing: 0.1em;
  }
  .more_btn {
    width: 180px;
  }
  .more_btn.pc {
    display: none;
  }
  .more_btn.sp {
    display: flex;
  }
  .concept {
    gap: 30px;
  }
  .concept, .history, .design, .plan,
  .location, .access, .equipment {
    padding: 0 0 90px 0;
  }
  .concept .text, .design .top_design_img2,
  .coordination .block > .js-reveal {
    margin-bottom: 0;
  } 
  .history .btn_wrap {
    order: 2;
    width: 100%;
    margin-top: 20px;
  }
  .history .text_wrap, .plan .text_block, .access .block {
    order: 1;
  }
  .history >.img {
    margin-bottom: 20px;
  }
  .history .text_wrap {
    text-align: left;
  } 
  .design .block, .location .text_wrap,
  .plan .block, .access .text_block,
  .zeh .text_block, .about .js-fade {
    order: 2;
  }
  .design .btn_wrap, .location .js-reveal,
  .zeh .js-reveal, .about .btn_wrap {
    order: 1;
  }
  .design .block .js-reveal {
    margin-bottom: 20px;
  }
  .design .more_btn.sp {
    margin-top: 20px;
  }
  .location .top_location_title {
    height: 40px;
    margin-bottom: 20px;
  }
  .location .text, .access .top_access_img2 {
    margin-bottom: 0;
  }
  .location .more_btn {
    margin-top: 20px;
  }
  .plan .js-reveal  {
    margin-bottom: 20px;
  }
  .plan .title, .plan .text {
    padding-left: 0;
  }
  .access {
    gap:0;
  }
  .access .title, .access .text {
    padding-right: 0;
  }
  .access .text_block {
    text-align: left;
    margin-top: -68px;
  }
  .access .text {
    margin-bottom: 40px;
  }
  .access .more_btn {
    margin: 0 0 0 auto;
  }
  .coordination {
    padding: 0 10px 80px 10px;
  }
  .zeh {
    padding: 90px 0;
  }
  .zeh .block {
    gap: 20px;
  }
  .zeh .text, .equipment .text {
    margin-bottom: 20px;
  }
  .support, .about {
    gap: 0
  }
  .support .js-fade {
    width: 100%;
  }
  .support .more_btn, .about .more_btn {
    margin-top: 20px;
  }
  .about .more_btn {
    order: 3;
  }
  .support .top_support_title, .about .top_about_title {
    height: 55px;
    margin-bottom: 10px;
  }
}

