@charset "UTF-8";

/* ===== このページ専用スタイル =====
   共通スタイル（header/footer/カラー変数等）は ../assets/css/style.css を参照。
   デザイン元: bousai_all_pc.pdf 3P目
   テーマカラー: #754424（MV・ラベル。ユーザー指定値）
*/

/* ===== mv（脅威から「構造で守る」） ===== */
.mv {
  background: #eae7e2;
  padding: 0vw 0 4vw;
}

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

.mv_left {
  flex: 0 0 42.61vw;
  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.04vw;
  margin-top: 0;
  display: block;
}

/* ===== 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 23.83vw;
  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: 1.8;
  letter-spacing: 0.03em;
}

.case_quake .case_fig img  { width: 23.46vw; }
.case_column .case_fig img { width: 23.46vw; }
.case_metal .case_fig img  { width: 23.46vw; }
.case_water .case_fig img  { width: 23.83vw; }
.case_wind .case_fig img   { width: 23.52vw; }

.case_body {
  flex: 0 0 33vw;
  width: 33vw;
}

.case_tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.44vw;
  box-sizing: border-box;
  background: #754424;
  color: #fff;
  font-family: "Kozuka Gothic Pro", "小塚ゴシック Pro", "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 1.3vw;
  letter-spacing: 0;
  padding: 0.6vw 1.6vw;
  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;
}

/* ===== bf_banner_area（安心についてもっと知りたい方はこちら！） ===== */
.bf_banner_area {
  background: rgba(117, 68, 36, 0.3);
  padding: 2.5vw 0;
  text-align: center;
}

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

.bf_banner_ttl_sm {
  font-size: 1.15vw;
}

.bf_banner_ttl_lg {
  font-size: 1.38vw;
}

.bf_banner {
  display: inline-block;
  width: 41.3vw;
}

.bf_banner img {
  width: 100%;
  display: block;
}

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

  .mv {
    padding: 6vw 0 10vw;
  }

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

  /* KV出現アニメーション：
     1. 白背景（mv_inner全面）は初めから静的に表示
     2. 左右の余白（mv_textのpadding 6vwの半分=3vw）を空けた茶色ボックスが
        mv_innerの中身（is_hidden）と一緒に下からフェードイン
     3. フェードイン後、右上のアクセント帯が右から、左下のアクセント帯が左から伸びる
        （重なった色は#311408で固定）
     mv_innerはis_hiddenでopacity:0になるため、その間も見えるよう
     これらのレイヤーはmv_innerの外に置き、position:absolute(ドキュメント基準)で
     JSからmv_innerに合わせた位置・サイズに配置する */
  .mv_inner_white {
    position: absolute;
    width: 0;
    height: 0;
    background: #fff;
    z-index: 0;
  }

  .mv_inner_bg {
    position: absolute;
    width: 0;
    height: 0;
    background: #754424;
    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);
  }

  /* 帯は白背景の端から出現し、茶色ボックスの手前（白背景の上）は#754424、
     茶色ボックスと重なった部分は#311408になるよう、2つの矩形に分けて実装する */
  .mv_inner_accent_white,
  .mv_inner_accent2_white {
    position: absolute;
    width: 0;
    height: 0;
    background: #754424;
    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: #311408;
    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: 5vw 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: 65.7vw;
    aspect-ratio: 1537 / 1377;
    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;
    color: #000;
    text-align: left;
    margin-bottom: 0;
    padding: 0 6vw 0 16.4vw;
    box-sizing: border-box;
    text-shadow: none;
  }

  .mv_lead span {
    display: inline-block;
    background: #fff;
    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_br_pc {
    display: none;
  }

  .case_text_br_pc {
    display: none;
  }

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

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

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

  .case_quake .case_fig img,
  .case_column .case_fig img,
  .case_metal .case_fig img,
  .case_water .case_fig img,
  .case_wind .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%;
    min-height: auto;
    font-size: 4.3vw;
    line-height: 1.75;
    padding: 2.5vw 0vw;
    margin-bottom: 8vw;
    box-sizing: border-box;
  }

  .case_text {
    font-size: 3.1vw;
    line-height: 3.41;
    letter-spacing: 0.01em;
    text-align: left;
  }

  .bf_banner_area {
    padding: 7vw 3vw 10vw;
    margin-top: 18vw;
  }

  .bf_banner_ttl {
    line-height: 1.5;
    margin-bottom: 8vw;
  }

  .bf_banner_ttl_sm {
    font-size: 4vw;
  }

  .bf_banner_ttl_lg {
    font-size: 4.8vw;
  }

  .bf_banner {
    width: 100%;
  }
}
