@charset "UTF-8";

/* ===== このページ専用スタイル =====
   共通スタイル（header/footer/カラー変数等）は ../assets/css/style.css を参照。
   デザイン元: bousai_all_pc.pdf 5P目
   テーマカラー: #00ab84（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: #00ab84;
}

.mv_left {
  flex: 0 0 43.62vw;
  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: 35.03vw;
  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 26.51vw;
  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.85vw;
  color: #333;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.case_team .case_fig img      { width: 23.28vw; }
.case_insurance .case_fig img { width: 23.28vw; }
.case_lab .case_fig img       { width: 26.51vw; }
.case_mobile .case_fig img    { width: 26.51vw; }

.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: #00ab84;
  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;
}

/* ===== research_area（防災のための研究・開発） ===== */
.research_area {
  background: rgba(0, 171, 132, 0.3);
  padding: 4.5vw 0;
}

.research_area .case {
  background: transparent;
  padding: 4vw 0;
}

.research_area .case_inner {
  width: 55.26vw;
  justify-content: flex-end;
  overflow: visible;
}

.research_area .case_tag {
  width: 100%;
  justify-content: center;
}

.research_ttl {
  text-align: center;
  margin-bottom: 0;
}

.research_ttl span {
  display: inline-block;
  width: 55.26vw;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #00ab84;
  padding: 1.3vw 0;
  font-family: "Kozuka Gothic Pro", "小塚ゴシック Pro", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 1.6vw;
  color: #00ab84;
  letter-spacing: 0.1em;
}

/* ===== 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出現アニメーション：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: #00ab84;
    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: #00ab84;
    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: #317148;
    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: 65.3vw;
    aspect-ratio: 1528 / 1383;
    margin: 0;
  }

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

  .mv_lead {
    position: absolute;
    z-index: 1;
    top: 34.1vw;
    left: 0;
    width: 100%;
    font-size: 4vw;
    color: #00ab84;
    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 10vw;
  }

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

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

  .case_team .case_fig img,
  .case_insurance .case_fig img,
  .case_lab .case_fig img,
  .case_mobile .case_fig img {
    width: 100%;
  }

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

  .case_insurance .case_fig figcaption {
    font-weight: 200;
    font-size: 3.2vw;
    line-height: 1.58;
    letter-spacing: 0;
    text-align: center;
  }

  .case_lab .case_fig figcaption {
    text-align: center;
  }

  .case_mobile .case_fig figcaption {
    font-size: 2.6vw;
    line-height: 1.33;
    letter-spacing: 0.06em;
    text-align: center;
    margin-top: 4vw;
  }

  .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: 6vw;
    box-sizing: border-box;
  }

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

  .research_area {
    padding: 10vw 0;
  }

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

  .research_area .case_inner {
    width: 100%;
  }

  .research_ttl span {
    width: 90vw;
    font-size: 6.0vw;
    line-height: 1.27;
    letter-spacing: 0.03em;
    padding: 4vw 0;
  }
}
