@charset "UTF-8";

/* ===== このページ専用スタイル =====
   共通スタイル（header/footer/カラー変数等）は ../assets/css/style.css を参照。
   デザイン元: bousai_all_pc.pdf 2P目
*/

/* ===== mv（敷地ごとに「設計で考える」） ===== */
.mv {
  background: #eae7e2;
  padding: 0vw 0 0;
}

.mv_inner {
  display: flex;
  align-items: stretch;
  width: 82.81vw;
  height: 41.3vw;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 2.34vw 2.08vw;
  background: #a9cb03;
}

.mv_left {
  flex: 0 0 42.22vw;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.mv_box {
  flex: none;
  width: 100%;
  height: 16.15vw;
  box-sizing: border-box;
  background: #fff;
  padding: 3vw 3vw 1vw;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mv_text {
  box-sizing: border-box;
  padding: 2.3vw 3vw 2.4vw;
}

.mv_pretitle {
  font-family: "Kozuka Gothic Pro", "小塚ゴシック Pro", "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.54vw;
  color: #1a1a1a;
  letter-spacing: 0.23em;
  margin-bottom: 0.6vw;
}

.mv_ttl {
  font-family: "Kozuka Gothic Pro", "小塚ゴシック Pro", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 2.76vw;
  color: #1a1a1a;
  letter-spacing: 0.23em;
  margin-bottom: 2vw;
}

.mv_lead {
  font-family: "Kozuka Gothic Pro", "小塚ゴシック Pro", "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 1.95vw;
  color: #fff;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-align: center;
  margin-bottom: 2.2vw;
  text-shadow: 0 0 0.5vw rgba(0, 0, 0, 0.65), 0 0 1vw rgba(0, 0, 0, 0.4);
}

.mv_lead span {
  display: inline-block;
  border: 1px solid #fff;
  padding: 0 1.3vw;
}

.mv_lead span:last-child {
  margin-top: 1.6vw;
}

.mv_desc {
  font-family: "Kozuka Gothic Pro", "小塚ゴシック Pro", "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 1.04vw;
  color: #fff;
  line-height: 1.95;
  letter-spacing: 0.23em;
  text-shadow: 0 0 0.5vw rgba(0, 0, 0, 0.65), 0 0 1vw rgba(0, 0, 0, 0.4);
}

.mv_photo {
  flex: 1;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: visible;
}

.mv_photo img {
  width: 36.43vw;
  margin-top: -3.6vw;
  display: block;
}

/* ===== lead_band（激甚化・多様化する災害に…） ===== */
.lead_band {
  background: #eae7e2;
  padding: 3.6vw 0;
  text-align: center;
}

.lead_band_text {
  font-family: "Kozuka Gothic Pro", "小塚ゴシック Pro", "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 1.35vw;
  color: #1a1a1a;
  letter-spacing: 0.05em;
  line-height: 2;
}

/* ===== case（地震／台風／水害／雪害／地盤 共通） ===== */
.case {
  background: #fff;
  padding: 5.5vw 0;
}

.case_inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4.5vw;
  width: 75vw;
  margin: 0 auto;
}

.case_fig {
  flex: 0 0 26.74vw;
  text-align: center;
}

.case_fig img {
  display: inline-block;
}

.case_fig figcaption {
  margin-top: 1vw;
  font-family: "Kozuka Gothic Pro", "小塚ゴシック Pro", "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 0.68vw;
  color: #666;
  line-height: 3.08;
  letter-spacing: 0.03em;
}

.case_quake .case_fig img { width: 25.81vw; }
.case_typhoon .case_fig img { width: 25.31vw; }
.case_flood .case_fig img { width: 25.34vw; }
.case_snow .case_fig img  { width: 26.74vw; }
.case_ground .case_fig img { width: 25.81vw; }

.case_body {
  flex: 0 0 33vw;
  width: 33vw;
  /* padding-top: 0.4vw; */
}

.case_tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26.51vw;
  height: 3.44vw;
  box-sizing: border-box;
  background: var(--tab-sekkei-main);
  color: #1a1a1a;
  font-family: "Kozuka Gothic Pro", "小塚ゴシック Pro", "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 1.3vw;
  letter-spacing: 0;
  margin-bottom: 1.8vw;
}

.case_text {
  font-family: "Kozuka Gothic Pro", "小塚ゴシック Pro", "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 0.94vw;
  color: #333;
  line-height: 2.22;
  letter-spacing: 0;
}

.case_ground {
  background: #e5efb4;
}

.case_ground .case_tag {
  background: #fff;
}

/* ===== SP ===== */
@media screen and (max-width: 750px) {

  .mv {
    padding: 6vw 0 0;
  }

  .mv_inner {
    flex-direction: column;
    position: relative;
    width: 88.5vw;
    margin: 0 auto;
    padding: 0;
    border-width: 0;
    height: auto;
    background: none;
    z-index: 3;
  }

  /* KV出現アニメーション：kouzouと同じ仕組み（詳細はkouzouのCSSコメント参照） */
  .mv_inner_white {
    position: absolute;
    width: 0;
    height: 0;
    background: #fff;
    z-index: 0;
  }

  .mv_inner_bg {
    position: absolute;
    width: 0;
    height: 0;
    background: #a9cb03;
    opacity: 0;
    transform: translate(0, 60px);
    z-index: 1;
    transition: opacity 2.4s cubic-bezier(0.22, 1, 0.36, 1), transform 2.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mv_inner_bg.is_show {
    opacity: 1;
    transform: translate(0, 0);
  }

  .mv_inner_accent_white,
  .mv_inner_accent2_white {
    position: absolute;
    width: 0;
    height: 0;
    background: #a9cb03;
    pointer-events: none;
    z-index: 2;
    transition: width 900ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mv_inner_accent,
  .mv_inner_accent2 {
    position: absolute;
    width: 0;
    height: 0;
    background: #a9cb03;
    pointer-events: none;
    z-index: 2;
    transition: width 900ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mv_left {
    display: contents;
  }

  .mv_box {
    order: 1;
    width: 55.7vw;
    height: auto;
    margin: 4vw auto 3.8vw;
    padding: 2.3vw 3vw 3.3vw;
  }

  .mv_pretitle {
    font-size: 3.2vw;
    margin-bottom: 1.6vw;
  }

  .mv_ttl {
    font-size: 4.4vw;
    margin-bottom: 0;
  }

  .mv_photo {
    order: 2;
    justify-content: center;
  }

  .mv_photo img {
    width: 64.4vw;
    aspect-ratio: 1399 / 1411;
    margin: 0;
  }

  .mv_text {
    order: 3;
    margin-top: 2.7vw;
    padding: 0 6vw 6vw;
  }

  .mv_lead {
    position: absolute;
    z-index: 1;
    top: 50.1vw;
    left: 0;
    width: 100%;
    font-size: 4vw;
    margin-bottom: 0;
    padding: 0 6vw;
    box-sizing: border-box;
  }

  .mv_lead span {
    display: inline-block;
    border: 1px solid #fff;
    padding: 0 2.3vw;
  }

  .mv_lead span:last-child {
    margin-top: 4.6vw;
  }

  .mv_desc {
    width: 64.4vw;
    margin: 0 auto;
    font-size: 3.0vw;
    line-height: 2.57;
    text-shadow: 0 0 0.5vw rgba(0, 0, 0, 0.85), 0 0 1vw rgba(0, 0, 0, 0.6);
  }

  .mv_desc_br1 {
    display: none;
  }

  .lead_band {
    padding: 9vw 4vw;
  }

  .lead_band_text {
    font-size: 2.8vw;
  }

  .case {
    padding: 10vw 6vw 17vw;
  }

  .case_inner {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 17vw;
  }

  .case_fig {
    order: 2;
    flex: none;
    width: 100%;
  }

  .case_quake .case_fig img,
  .case_typhoon .case_fig img,
  .case_flood .case_fig img,
  .case_snow .case_fig img,
  .case_ground .case_fig img {
    width: 100%;
  }

  .case_fig figcaption {
    font-size: 2.3vw;
    line-height: 3.61;
    letter-spacing: 0.08em;
    text-align: left;
  }

  .case_body {
    order: 1;
    flex: none;
    width: 100%;
  }

  .case_tag {
    width: 100%;
    height: auto;
    font-size: 4.3vw;
    line-height: 1.75;
    padding: 2.5vw 0vw;
    margin-bottom: 8vw;
    box-sizing: border-box;
  }

  .case_text {
    font-feature-settings: "palt";
    width: 103%;
    font-size: 2.9vw;
    line-height: 3.41;
    letter-spacing: 0.01em;
    text-align: left;
  }

  .case_text_br {
    display: none;
  }
}
