@charset "UTF-8";
/* =========================================================
   TOPページ ファーストビュー（FV）
   engineer-engine.com の mv デザインを移植・NFC用に調整
   ========================================================= */

/* FV内の中央寄せコンテナ（engineer側の section .inner 相当を .mv_header に限定） */
.mv_header .inner {
  width: 90%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.mv_header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
      -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;
  margin-bottom: 0;
  /* NFC共通の header{padding:10px;background:#fff} を打ち消して全幅化 */
  padding: 0;
  background: transparent;
}
.mv_header .mv {
  position: relative;
  padding: 2rem 0 0;
  /* NFC共通の header section{max-width:1000px;margin:0 auto} を打ち消す */
  max-width: none;
  margin: 0;
}
.mv_header .mv::before {
  content: "";
  background: #008CF2;
  width: 100%;
  height: calc(100% - -0.75rem);
  position: absolute;
  top: 0;
  left: 0;
}
.mv_header .mv::after {
  content: "";
  background: url("../img/mv_bg-fuyouhin-transparent.png") center center no-repeat;
  background-size: cover;
  width: 56.2%;
  max-width: 35.125rem;
  height: calc(100% - 3.25rem);
  position: absolute;
  top: 0;
  left: calc(50% - 12.8843338214vw);
  opacity: 0.15;
}
.mv_header .mv h1 {
  line-height: 1;
  font-weight: 900;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.mv_header .mv_title_wrap {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
}
/* 2行を縦積み（文言が長いので1行に収まらない） */
.mv_header .mv_title01,
.mv_header .mv_title02 {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
}
.mv_header .mv_title01 {
  font-size: 4.0625rem;
  color: #FFE003;
}
.mv_header .mv_title02 {
  font-size: 2.875rem;
  color: #ffffff;
}
/* 背景の縁取り＋影を可視テキスト自体に適用（複製テキストを使わないのでズレない） */
.mv_header .mv_title01 span,
.mv_header .mv_title02 span {
  display: inline-block;
  white-space: nowrap;
  margin-bottom: 20px;
  -webkit-text-stroke: 0.375rem #193067;
  paint-order: stroke fill;
  text-shadow: 2px 2px 0 #193067;
}
.mv_header .mv_title_box {
  background: #193067;
  color: #ffffff;
  padding: 0.9375rem 2.8125rem;
  border-radius: 0.625rem;
  margin-top: 1rem;
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Helvetica Neue", Helvetica, Arial, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: bold;
  max-width: 400px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.mv_header .mv_title_box span {
  display: inline-block;
  font-size: 1.875rem;
}
.mv_header .mv_title_box span + span::before {
  width: 3.125rem;
  height: 1.25rem;
  content: "";
  display: inline-block;
  background: url("../img/i_cross.svg") center center no-repeat;
  background-size: contain;
}
.mv_header .mv_list {
  margin-top: 1.5625rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.mv_header .mv_list li {
  width: 10.5rem;
  height: 10.5rem;
  margin-right: 1rem;
  background: #ffffff url("../img/mv_cycle.svg") center center no-repeat;
  background-size: contain;
  border-radius: 10.5rem;
  font-weight: 900;
  font-family: "Noto Sans JP", sans-serif;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-line-pack: center;
      align-content: center;
  text-align: center;
  font-size: 1.625rem;
  color: #0043AA;
  line-height: 1.4;
}
.mv_header .mv_list li:nth-child(2) span:first-child {
  letter-spacing: -0.05em;
}
.mv_header .inner {
  position: relative;
  z-index: 5;
  padding-left: 1.6%;
}
.mv_header .inner .mv_illust {
  width: 41.7%;
  position: absolute;
  right: 0;
  bottom: 1.875rem;
  margin: 0;
}
.mv_header .inner .mv_illust img {
  width: 100%;
}
.mv_header .pr {
  padding: 0.375rem 1.25rem 0.3125rem;
  font-size: 0.875em;
  color: #516C8D;
  width: 100%;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  text-align: right;
}

@media (max-width: 1080px) and (min-width: 750.1px) {
  .mv_header .mv {
    padding: 3.7037037037vw 0 0;
  }
  .mv_header .mv::before {
    height: calc(100% - 4.8148148148vw);
  }
  .mv_header .mv::after {
    height: calc(100% - 4.8148148148vw);
  }
  .mv_header .mv_title01 {
    font-size: 6.0185185185vw;
  }
  .mv_header .mv_title02 {
    font-size: 4.2592592593vw;
  }
  .mv_header .mv_title01 span,
  .mv_header .mv_title02 span {
    -webkit-text-stroke: 0.5555555556vw #193067;
  }
  .mv_header .mv_title_box {
    padding: 1.3888888889vw 4.1666666667vw;
    border-radius: 0.9259259259vw;
    margin-top: 1.4814814815vw;
  }
  .mv_header .mv_title_box span {
    font-size: 2.7777777778vw;
  }
  .mv_header .mv_title_box span + span::before {
    width: 4.6296296296vw;
    height: 1.8518518519vw;
  }
  .mv_header .mv_list {
    margin-top: 2.3148148148vw;
  }
  .mv_header .mv_list li {
    width: 15.5555555556vw;
    height: 15.5555555556vw;
    margin-right: 1.4814814815vw;
    border-radius: 15.5555555556vw;
    font-size: 2.4074074074vw;
  }
  .mv_header .inner .mv_illust {
    bottom: -0.222222vw;
  }
  .mv_header .pr {
    padding: 0.5555555556vw 1.8518518519vw 0.462962963vw;
  }
}
@media (max-width: 750px) {
  .mv_header .mv {
    padding: 5.3333333333vw 0 0;
  }
  .mv_header .mv::before {
    height: calc(100% - -0.133333vw);
  }
  .mv_header .mv::after {
    width: 56.2%;
    max-width: 149.8666666667vw;
    height: calc(100% - 13.8666666667vw);
    left: calc(50% - 12.8843338214vw);
  }
  .mv_header .mv_title_wrap {
    width: 100%;
    padding-left: 2.6666666667vw;
  }
  .mv_header .mv_title01 {
    font-size: 9.6vw;
    text-align: center;
  }
  .mv_header .mv_title02 {
    font-size: 6.4vw;
    text-align: center;
  }
  .mv_header .mv_title01 span,
  .mv_header .mv_title02 span {
    -webkit-text-stroke: 1.0666666667vw #193067;
    text-shadow: 1px 1px 0 #193067;
  }
  .mv_header .mv_title_box {
    /* padding: 2.6666666667vw 4.8vw; */
    /* border-radius: 2.6666666667vw; */
    margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    width: 78%;
    margin-bottom: 30px;
  }
  .mv_header .mv_title_box span {
    font-size: 4.8vw;
  }
  .mv_header .mv_title_box span + span::before {
    width: 8vw;
    height: 3.2vw;
  }
  .mv_header .mv_list {
    margin-top: 6.6666666667vw;
    padding-left: 34.1333333333vw;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .mv_header .mv_list li {
    width: 25.6vw;
    height: 25.6vw;
    margin-inline: 1.6vw;
    font-size: 4vw;
  }
  .mv_header .mv_list li:last-child {
    margin-top: 0;
    margin-left: 27.7333333333vw;
  }
  .mv_header .mv_list li:nth-child(2) {
    margin-top: -4vw;
  }
  .mv_header .mv_list li:nth-child(2) span:nth-child(1) {
    margin-top: 2.1333333333vw;
    font-size: 3.7333333333vw;
  }
  .mv_header .inner {
    width: 100%;
    padding-left: 0;
  }
  .mv_header .inner .mv_illust {
    width: 78.666667vw;
    right: auto;
    left: -9.6vw;
    bottom: -10.333333vw;
  }
  .mv_header .pr {
    font-size: 0.75em;
  }
}

/* SPでは共通ヘッダー(header)がposition:fixedの白ロゴバー(.head_sp 高さ約78px)になり
   通常フローのFV上部を覆うため、その高さ分だけFVを下げる（768px以下でheaderがfixed化） */
@media (max-width: 768px) {
  .mv_header {
    padding-top: 80px;
  }
}

/* 早見表ロゴ→記事内h3への遷移時、見出しが上部に隠れないように余白確保 */
.top-kanagawa-article h2[id],
.top-kanagawa-article h3[id] {
  scroll-margin-top: 100px;
}

/* FV直後のCTA/早見表ブロックの上余白を消してFVとの隙間をなくす
   （FV直後の要素だけに限定し、他ページの.cta__ctには影響させない） */
.mv_header + .wrap > .cta__ct {
  margin-top: 0;
}
