/*----------------------------------------------------------------------*/
/*ロゴ確定色（eZimAID byGMO）*/
:root {
  --ez-navy: #1E2A4A;
  --ez-blue: #2A7DFF;
  --ez-gmo: #005BAC;
}

/*ヒーロー（帯の背景は白の単色で画面幅いっぱい。ロゴ・文言・写真は下の内容と同じ幅1048pxに収める）
  ロゴは白の単色の上に置く。写真（key.png）は青などを被せず、左右の端だけ白へ溶かす*/
.hero {
  width: 100%;
  margin-bottom: 30px;
  overflow: hidden;
  background: #fff;
}
.hero_inner {
  position: relative;
  max-width: 1048px;
  min-height: 340px;
  margin: 0 auto;
}
.hero_text {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 46%;
  max-width: 480px;
  min-height: 340px;
  padding: 24px 0 24px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
}
.hero_photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60%;
  background: url("../imgs/key.png") right center / auto 100% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 20%, #000 88%, transparent 100%);
}
.hero_text p {
  margin: 0;
  padding: 0;
  line-height: 1.5;
}
.hero_text .hero_cap {
  font-size: 1.8rem;
  letter-spacing: .06em;
  color: #223;
}
.hero_text .hero_logo {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 0;
  line-height: 0;
}
.hero_text .hero_logo img {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
}
.hero_text .hero_en {
  font-size: 1.5rem;
  letter-spacing: .03em;
  color: #223;
}
.hero_text .hero_tag {
  font-size: 2.4rem;
  font-weight: bold;
  color: #0b4f86;
}
.hero_text .hero_sub {
  font-size: 1.6rem;
  color: #223;
}
.hero_text .cta_btn {
  margin-top: 10px;
}
/* 1文字だけ次の行に落ちるのを防ぐ（未対応のブラウザは従来どおりの折り返し） */
.hero_text .hero_en {
  text-wrap: balance;
}
/* 副文はまとまりの途中で折り返さない */
.hero_text .ez_keep,
.mp_head .ez_keep {
  display: inline-block;
  font-size: inherit;
}

/*問い合わせボタン（ヒーロー内・最下部の2か所。色は明示して既存スタイルに左右されない）*/
.cta_btn,
.cta_btn:link,
.cta_btn:visited {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  min-width: 240px;
  padding: 12px 32px;
  border: 2px solid var(--ez-gmo);
  border-radius: 8px;
  background: var(--ez-gmo);
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}
.cta_btn span {
  display: block;
  margin-top: 2px;
  font-size: 1.3rem;
  font-weight: normal;
  color: #fff;
}
.cta_btn:hover,
.cta_btn:focus {
  background: #fff;
  color: var(--ez-gmo);
}
.cta_btn:hover span,
.cta_btn:focus span {
  color: var(--ez-gmo);
}
.cta_band {
  margin: 30px 15px 10px;
  padding: 28px 20px;
  border-radius: 10px;
  background: #e8f2fb;
  text-align: center;
}
.cont_box {
  margin: 0 auto;
  max-width: 1048px;
}
.cont_box h2 {
  font-size: 3.0rem;
  border-bottom: 2px solid #69c;
}
.cont_box h4 {
  margin: 10px 15px 0;
  font-size: 1.8rem;
  color: #444;
  border-bottom: 1px solid #69c;
}
.cont_box .cont_inner {
  margin-bottom: -20px;
  padding: 20px;
}
.cont_box .cont_inner p {
  font-size: 1.5rem;
}
.top_cont_card {
  display: flex;
  flex-wrap: wrap;
  gap: 5px calc(21 / 1048 * 100%);
  padding: 1.5rem;
}
.top_cont_card .card {
  border: none;
  border-radius: 0.6rem;
  padding: 1.5rem;
  width: 12%;
  background-color: #69c;
  text-align: center;
}
.card h3 {
  font-size: 1.6rem;
  color: #fff;
  padding: 10px 0;
  border-bottom: none;
}
.card p, .card a {
  padding-top: 12px;
  padding-bottom: 0;
  font-size: 1.6rem;
  line-height: 1.5;
}
.top_services .card {
  padding-bottom: 0;
}
.service8 {
  display: flex;
  flex-wrap: wrap;
  gap: 5px calc(21 / 1048 * 100%);
  justify-content: flex-start;;
  margin: 30px;
}
/* 機能カード：チラシと同じ。左に青い丸＋白抜きアイコン、右に見出しと説明 */
.service8 .card h5 {
  margin: 0;
  padding: 0;
  font-weight: bold;
  font-size: 1.7rem;
  border-bottom: none;
  color: var(--ez-gmo);
}
.service8 .card {
  flex: 0 0 48.9%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: none;
  border-radius: 10px;
  background: #f1f6fc;
}
.service8 .card .ez_ic {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ez-gmo);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service8 .card .ez_ic svg {
  display: block;
  margin: 0;
}
.service8 .card p {
  margin: 0;
  padding-top: 4px;
  font-size: 1.5rem;
  line-height: 1.6;
}
.service8 ul {
  padding: 0.5em 0 0.5em 1.5em;
}
.service8 li {
  line-height: 1.5;
  padding-left: 10px;
  position: relative;
  font-size: 1.5rem;
}
.service8 ul li:before {
  content: "";
  position: absolute;
  top: .2em;
  left: -0.2em;
  -webkit-transform: rotate(50deg);
  -ms-transform: rotate(50deg);
  transform: rotate(50deg);
  width: 5px;
  height: 10px;
  border-right: 3px solid #fc3;
  border-bottom: 3px solid #fc3;
}
.best_cont_card {
  display: flex;
  flex-wrap: wrap;
  gap: 5px calc(21 / 1048 * 100%);
  padding: 1.5rem;
}
.best_cont_card .card {
  border: none;
  border-radius: 0.6rem;
  padding: 1.5rem;
  width: 20%;
  background-color: #69c;
  text-align: center;
}
.best_cont_card h3 {
  font-size: 1.6rem;
  color: #fff;
  padding: 10px 0;
  border-bottom: none;
}
/* まとまりの途中で折り返さない */
.best_cont_card .ez_keep {
  display: inline-block;
  font-size: inherit;
}

/*----------------------------------------------------------------------*/

/*----------------------------------------------------------------------*/
/*チラシ連動パーツ（手間→なら／検索&ダウンロード／アイコン）*/
.ic {
  display: inline-block;
  vertical-align: -4px;
  margin-right: 6px;
  flex: none;
}
/* 手間→なら（案A）。左はグレーの箱、右は #005BAC の単色の箱にネガティブロゴを載せる
   （ネガティブロゴは青一色の背景にだけ使える。グラデーションは使わない） */
.ba {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: stretch;
  margin: 36px 15px 20px;
}
.ba_lab {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: .18em;
  line-height: 1.7;
}
.ba_b {
  padding: 26px 28px;
  border-radius: 14px;
  background: #f1f3f7;
}
.ba_b .ba_lab {
  color: #8a93a6;
}
.ba h5 {
  margin: 0 0 14px;
  padding: 0;
  border-bottom: none;
  font-size: 20px;
  line-height: 1.4;
  color: #1E2A4A;
}
.ba ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ba li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 9px 0;
  border-top: 1px solid #dde1ea;
  font-size: 15px;
  line-height: 1.7;
  color: #222;
}
.ba li:first-child {
  border-top: 0;
}
.ba_ic {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: #1E2A4A;
  box-shadow: 0 1px 3px rgba(30, 42, 74, .12);
}
.ba svg {
  display: block;
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ba_arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba_arrow span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ez-blue);
  color: #fff;
  box-shadow: 0 4px 10px rgba(42, 125, 255, .4);
}
.ba_a {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 26px 28px;
  border-radius: 14px;
  background: var(--ez-gmo);
  color: #fff;
}
.ba_a .ba_lab {
  margin: 0;
  color: #bcd9f5;
}
/* ロゴのSVGに規定の余白（約0.7A）が入っているので、左へ寄せて他の文字の左端をそろえる */
.ba_hl {
  display: flex;
  align-items: center;
  margin: 0 0 4px -12px;
}
.ba_hl img {
  display: block;
  flex: none;
  width: auto;
  height: 84px;
}
.ba_hl .ba_na {
  margin-left: 4px;
  font-size: 22px;
  font-weight: bold;
  white-space: nowrap;
  color: #fff;
}
.ba_a p {
  margin: auto 0 0;
  padding: 10px 0 0;
  font-size: 18px;
  line-height: 1.85;
  color: #fff;
}
/* PC幅だけ、説明文をまとまりの途中で折り返さない（「オ／ンライン化」を防ぐ） */
@media screen and (min-width: 768px) {
  .ba_a .ez_keep {
    display: inline-block;
    font-size: inherit;
  }
}
.ba_a strong {
  padding: 0 2px;
  font-size: inherit;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(transparent 62%, rgba(42, 125, 255, .95) 62%);
}
.sflow {
  display: flex;
  align-items: stretch;
  gap: 8px;
  background: #e8f2fb;
  border-radius: 10px;
  padding: 14px 18px;
}
.sstep {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 8px;
  padding: 10px 14px;
}
.sstep .ic {
  margin: 0;
  width: 28px;
  height: 28px;
}
.sstep b {
  display: block;
  font-size: 1.5rem;
  color: #005BAC;
}
.sstep span {
  font-size: 1.3rem;
  color: #444;
  line-height: 1.5;
}
.sarrow {
  align-self: center;
  color: #fc3;
  font-style: normal;
}
.cont_box .cont_inner p.more {
  text-align: center;
  margin: 18px 0 30px;
  padding: 16px 20px;
  background: #e8f2fb;
  border-radius: 10px;
  font-size: 1.7rem;
  line-height: 1.7;
  color: #0b4f86;
}
.cont_box .cont_inner p.more strong {
  font-size: inherit;
  font-weight: bold;
  color: #005BAC;
}
@media screen and (max-width: 767px) {
  .sflow {
    flex-direction: column;
  }
  .ba {
    grid-template-columns: 1fr;
  }
  .ba_arrow {
    height: 40px;
  }
  .ba_arrow span {
    width: 38px;
    height: 38px;
    transform: rotate(90deg);
  }
  .ba_b {
    padding: 20px 18px;
  }
  .ba h5 {
    font-size: 18px;
  }
  .ba_a {
    padding: 20px 18px;
  }
  .ba_a p {
    font-size: 16px;
    margin-top: 0;
  }
  .ba_hl {
    margin-left: -10px;
  }
  .ba_hl img {
    height: 68px;
  }
  .ba_hl .ba_na {
    font-size: 19px;
  }
  .sarrow {
    transform: rotate(90deg);
  }
}

/*----------------------------------------------------------------------*/
/*マイページ紹介パーツ（チラシ2ページ目連動）*/
/* 見出し帯：ロゴは白の単色の上に置く。左は白、右へ青のグラデーション。枠は見出しの下線（.cont_box h4）と同じ青 */
.mp_head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 50px 15px 10px;
  padding: 14px 28px;
  border: 1px solid #69c;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(90deg, #fff 0, #fff 52%, #9cc4e6 66%, #3a8fd0 80%, #005BAC 100%);
  color: #223;
}
.mp_head .mp_logo img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
}
.mp_head p {
  margin: 0;
  padding: 0;
  color: #223;
  line-height: 1.5;
}
.mp_head .mp_label {
  font-size: 1.4rem;
}
.mp_head .mp_title {
  font-size: 2.2rem;
  font-weight: bold;
  margin: 2px 0;
  color: #0b4f86;
}
.mp_head .mp_sub {
  font-size: 1.4rem;
}
.mp_head .mp_catch {
  position: absolute;
  top: 50%;
  right: 28px;
  transform: translateY(-50%);
  text-align: right;
  font-size: 2.2rem;
  font-weight: bold;
  color: #fff;
}
.mp_shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  justify-items: center;
  margin-bottom: 36px;
}
.mp_shots figure {
  margin: 0;
  text-align: center;
}
.mp_shots img {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  margin: 0 auto;
  border: 1px solid #d5e3f0;
  border-radius: 6px;
}
.mp_shots figcaption {
  margin-top: 6px;
  font-size: 1.4rem;
  font-weight: bold;
  color: #0b4f86;
}
.cont_box .benefit {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}
.cont_box .benefit li {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #444;
  text-wrap: balance;
}
.cont_box .benefit li:before {
  content: "✔";
  margin-right: 6px;
  color: #005BAC;
}
@media screen and (max-width: 767px) {
  /* スマホ：ロゴと文言を上、画面イメージを下に縦積み（ロゴは必ず表示） */
  .hero {
    background: #fff;
  }
  .hero_inner {
    min-height: 0;
  }
  .hero_text {
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: 24px 20px 20px;
    align-items: center;
    text-align: center;
  }
  .hero_text .hero_tag {
    font-size: 2rem;
  }
  .hero_photo {
    position: static;
    width: auto;
    height: 200px;
    background: url("../imgs/key.png") 78% center / cover no-repeat;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .cta_btn {
    width: 100%;
    max-width: 320px;
  }
  .best_cont_card .card {
    box-sizing: border-box;
    width: 48%;
    padding: 1rem .5rem;
  }
  .best_cont_card h3 {
    font-size: 1.3rem;
  }
  .mp_head {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 20px 0;
    text-align: center;
    background: #fff;
  }
  .mp_head .mp_title {
    font-size: 2rem;
  }
  .mp_head .mp_catch {
    position: static;
    transform: none;
    box-sizing: border-box;
    width: calc(100% + 40px);
    margin: 8px -20px 0;
    padding: 12px 20px;
    text-align: center;
    font-size: 1.8rem;
    background: var(--ez-gmo);
  }
  .mp_shots {
    grid-template-columns: 1fr;
  }
  .service8 {
    margin: 20px 15px;
  }
  .service8 .card {
    flex: 0 0 100%;
  }
}
.cont_inner .sflow:last-child {
  margin-bottom: 30px;
}
