/* ============================================
   site-chrome.css
   やねいろは共通ヘッダー/フッター/固定フッター
   本家 yaneiroha.com の現行ビルドCSS（build/assets/style-*.css）の
   ヘッダー・フッター・固定フッター・モーダル関連ルールの写し。
   見た目の正本は本家CSS。シミュレーター固有のスタイルは styles.css 側。
   ※ styles.css はこのファイルの後に読み込むこと。
   ============================================ */

/* ============================================
   Reset & Base（シミュレーター本体と共有）
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W6", "メイリオ", sans-serif;
  color: #333;
  background: #fff;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ============================================
   .pc / .sp ユーティリティ（本家準拠）
   本家は SP で .sp{display:block}（!important なし）なので、
   .fixed_footer .f_list{display:flex} 等の詳細度の高い指定を潰さない。
   ============================================ */
.pc { display: block; }
.sp { display: none; }

@media print, screen and (min-width: 769px) {
  br.pc, img.pc { display: inline-block; }
  br.sp, img.sp { display: none; }
  .pc { display: block; }
  .sp { display: none !important; }
}

@media screen and (max-width: 768px) {
  br.sp, img.sp { display: inline-block; }
  br.pc, img.pc { display: none; }
  .sp { display: block; }
  .pc { display: none !important; }
}

/* ============================================
   共通レイアウトユーティリティ（本家準拠）
   ============================================ */
.inner {
  width: 960px;
  /* 本家は body{min-width:960px} を敷いて 960px 未満では横スクロールさせるが、
     シミュレーターはモバイル先行の設計なので body に min-width は入れず、
     .inner 側で横あふれを防ぐ（769〜960px の帯だけ本家と見え方が変わる）。 */
  max-width: 100%;
  margin: 0 auto;
  padding: 30px 0;
}

@media screen and (min-width: 769px) and (max-width: 999px) {
  .inner { padding-left: 20px; padding-right: 20px; }
}

@media screen and (max-width: 768px) {
  .inner { width: 96%; min-width: inherit !important; }
}

.flx { display: flex; }
.flx._sb { justify-content: space-between; }
.flx._fe { justify-content: flex-end; }

.btn001 {
  display: block;
  width: 180px;
  padding: 14px 0;
  margin: auto;
  border-radius: 24px;
  background: #0c3465;
  color: #fff !important;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
}

/* ============================================
   共通クロームのフォント/文字色（本家 body 準拠）
   本家は body 全体がヒラギノ W6 / #000 / line-height:1.5 だが、
   ここではヘッダー・フッター・固定フッター・モーダルにだけ効かせる
   （シミュレーター本体は Noto Sans JP のまま）。
   ============================================ */
#header,
#sp_nav,
.tel_notify_container,
#footer,
.fixed_footer,
#modal {
  font-family: "Hiragino Kaku Gothic W6 JIS2004", "ヒラギノ角ゴ ProN W6",
    "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", sans-serif;
  color: #000;
  line-height: 1.5;
}

/* ============================================
   Header（本家準拠）
   ============================================ */
#header {
  transition: all .2s ease 0s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
  width: 100%;
  height: 80px;
  /* 本家 PC は z-index:10 / SP は 10000。
     シミュレーターは sticky 進捗バー(z-index:9000)より上に居る必要があるため 10000 固定。 */
  z-index: 10000;
  top: -88px;
  left: 0;
  display: flex;
  justify-content: space-between;
  flex-flow: row nowrap;
  background: #fff;
  position: fixed;
}

#header.active { top: 0; }

#header > div { display: flex; }

#header .flx { align-items: center; }

@media print, screen and (min-width: 769px) {
  #header #navi li {
    align-items: center;
    font-size: 14px;
    padding-left: 24px;
    height: 100%;
    display: flex;
    position: relative;
  }
  #header #navi li:first-child { display: none; }
  #header #navi li:before {
    width: 20px;
    height: 20px;
    top: 36%;
    background: url(https://yaneiroha.com/img/common/arrow_h.gif) no-repeat left center;
    content: "";
    position: absolute;
  }
  #header #navi li a {
    font-weight: 700;
    color: inherit;
    letter-spacing: .05em;
    text-align: center;
    text-decoration: none;
    padding-left: 24px;
    display: block;
  }
  #header #navi,
  #header .login {
    align-items: center;
    height: 80px;
    display: flex;
  }
}

/* ロゴは常に左端ぴったり・原寸のまま。
   本家は body{min-width:960px} で横スクロールさせるためロゴが潰れないが、
   こちらは min-width を敷かない方針なので flex-shrink:0 で縮みを止める
   （これが無いと幅を狭めたときにロゴだけ横に潰れて本家と見え方が変わる）。 */
#header #logo {
  padding: 0;
  flex-shrink: 0;
}
#header #logo img { flex-shrink: 0; }

#header .login li.contact a {
  border-radius: 24px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  line-height: 50px;
  text-align: center;
  margin-right: 40px;
  width: 202px;
  height: 48px;
  display: block;
  background: #0c3465;
  text-decoration: none;
}

.login { align-items: center; display: flex; }
.login a { color: #0c3465; }

/* 本家の .tel ベース指定。SPヘッダー電話ボタンの文字色（#0f6eb5）はここから来る。
   本家は @media(min-width:769px) で .tel{pointer-events:none} も当てているが、
   固定フッターPCの電話ボタンから確認モーダルを開くため、その1行だけ移植しない。 */
.tel { font-family: Lato, sans-serif; color: #0f6eb5; font-size: 24px; font-weight: 700; }
.tel a { color: #0f6eb5; }

/* ---- SP ヘッダー ---- */
@media screen and (max-width: 768px) {
  #header {
    width: 100%;
    height: 54px;
    top: -54px;
    left: 0;
    background: #fff;
    position: fixed;
  }
  #header > div { align-items: center; display: flex; }

  #header #logo { height: 54px; }
  #header #logo img { height: 100%; }

  #header .tel { margin-left: 15px; }
  #header .tel a {
    border-radius: 2px;
    font-size: 10px;
    padding: 7px 8px 7px 24px;
    display: inline-block;
    background: #eee;
    position: relative;
    text-decoration: none;
    color: inherit;
  }
  #header .tel a:before {
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    top: 53%;
    left: 13px;
    background: url(https://yaneiroha.com/img/home/arrow_tel.png) no-repeat center;
    background-size: 100%;
    content: "";
    position: absolute;
  }
  #header .tel a p { line-height: 1; margin-bottom: 2px; }
}

#header .tel a p > span { color: #fd5600; }
#header .tel a p > img { height: 14px; }

/* ---- ハンバーガーボタン / SPナビ（本家準拠） ---- */
@media screen and (max-width: 768px) {
  #nav_btn {
    z-index: 1000;
    top: 13px;
    right: 10px;
    display: block;
    position: absolute;
  }
  #nav_btn.active { position: fixed; }
  #nav_btn.active a span:nth-child(1) { transform: translateY(10px) rotate(45deg); top: 2px; }
  #nav_btn.active a span:nth-child(2) { opacity: 0; }
  #nav_btn.active a span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); bottom: 3px; }
  #nav_btn a {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: inline-block;
    position: relative;
  }
  #nav_btn a span {
    border-radius: 2px;
    width: 100%;
    height: 5px;
    left: 0;
    background-color: #f90;
    position: absolute;
    transition: all .3s ease;
  }
  #nav_btn a span:nth-child(1) { top: 0; }
  #nav_btn a span:nth-child(2) { top: 13px; }
  #nav_btn a span:nth-child(3) { bottom: 0; }

  #g_nav { width: 100%; }
  #g_nav ul { text-align: left; }
  #g_nav li { font-weight: 700; font-size: 12px; display: block; }
  #g_nav li a { text-decoration: none; padding: 22px 0; display: block; position: relative; }

  #sp_nav {
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
    text-align: left;
    border-bottom: 1px solid #ccc;
    width: 100%;
    z-index: 9999;
    top: 54px;
    left: 0;
    display: none;
    background: #fff;
    position: fixed;
  }
  #sp_nav.active { display: block; }
  #sp_nav nav { align-items: center; height: 100%; display: flex; }

  #sp_nav li { border-top: 1px solid #ccc; }
  #sp_nav li a {
    font-weight: 700;
    color: inherit;
    text-align: left;
    text-decoration: none;
    padding: 22px 5.3%;
    display: block;
  }
  /* 本家 PC の li:before（矢印）と li:first-child 非表示は SP では出さない */
  #sp_nav li:before { display: none; content: none; }
  #sp_nav li:first-child { display: block; }

  #sp_nav li.navbtn { padding: 22px 5.3%; }
  #sp_nav li.navbtn p { width: 48%; display: inline-block; }
  #sp_nav li.navbtn p:nth-child(2) { float: right; }
  #sp_nav li.navbtn p.forshop { margin-top: 10px; width: 100%; }
  #sp_nav li.navbtn a {
    box-sizing: border-box;
    border-radius: 40px;
    font-size: 12px;
    color: #0c3465;
    line-height: 2px;
    text-align: center;
    padding: 22px 5.3%;
    border: 1px solid #0c3465;
    width: 100%;
    height: 40px;
    display: inline-block;
    background: #fff;
  }
  #sp_nav li.navbtn .forshop a { color: #fff; width: 100%; background-color: #0c3465; }
}

/* PC ではハンバーガー・SPナビを出さない（マークアップは共通） */
@media print, screen and (min-width: 769px) {
  #nav_btn { display: none; }
}

/* ============================================
   電話タップ時の確認モーダル（.tel_notify_container / 本家準拠）
   ============================================ */
.tel_notify_container {
  width: calc(100% - 19px);
  max-width: 500px;
  z-index: -1;
  opacity: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1.5;
  position: fixed;
}
.tel_notify_container.active { opacity: 1; z-index: 999; }

.tel_notify_container .content_wrapper {
  background: #fff;
  border: 2px solid #E3DFDA;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  padding: 20px;
}
.tel_notify_container .content_wrapper .title,
.tel_notify_container .content_wrapper p,
.tel_notify_container .content_wrapper h2 { margin-bottom: 19px; }
.tel_notify_container .content_wrapper .title {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}
.tel_notify_container .content_wrapper p { font-size: 14px; text-align: center; }
.tel_notify_container .content_wrapper .caution { font-size: 12px; line-height: 1.5; }

.tel_notify_container .button_wrapper { display: flex; }
.tel_notify_container .button_wrapper > a {
  width: 50%;
  min-height: 80px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.tel_notify_container .button_wrapper .cancel {
  color: #000;
  background: #e3dfda;
  border-radius: 0 0 0 10px;
}
.tel_notify_container .button_wrapper .apply {
  color: #fff;
  background: #f90;
  border-radius: 0 0 10px;
}

.tel_notify_container .closemodal {
  position: absolute;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  top: -10px;
  right: -4px;
  border: 2px solid #E3DFDA;
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
}
.tel_notify_container .closemodal:after {
  position: absolute;
  content: "";
  height: 2px;
  width: 17px;
  background: #000;
}

.tel_notify_container + .modal_bg {
  opacity: 0;
  z-index: -1;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}
.tel_notify_container + .modal_bg.active {
  z-index: 998;
  background: rgba(30, 30, 30, .5);
  opacity: 1;
  pointer-events: auto;
}

/* ============================================
   Footer（本家準拠）
   ============================================ */
#footer { margin-top: 30px; }

@media screen and (max-width: 768px) {
  #footer { margin-top: 15px; }
}

.footer-sitemap {
  background: #f0f0f0;
  justify-content: space-between;
  font-size: 13px;
}
@media screen and (max-width: 768px) {
  .footer-sitemap .inner { width: 100%; padding: 10px 20px 20px; }
  .footer-sitemap .flx { flex-direction: column; }
}

.footer-sitemap a { text-decoration: none; }

.footer-sitemap_st {
  font-weight: 700;
  color: #666;
  padding: 15px 0 10px;
  border-bottom: 1px solid #ddd;
}

.footer-area_search { width: 47%; }
@media screen and (max-width: 768px) {
  .footer-area_search { width: 100%; }
}

.footer-area_search dl > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 12px;
}
@media screen and (max-width: 768px) {
  .footer-area_search dl > div { margin-top: 8px; }
}

.footer-area_search dl > div > dt {
  font-size: 11px;
  text-align: center;
  border: 1px solid #ddd;
  background: #fff;
  width: 100px;
  padding: 3px 0;
}
@media screen and (max-width: 768px) {
  .footer-area_search dl > div > dt { padding: 2px 0; width: 80px; }
}

.footer-area_search dl > div > dd {
  width: calc(100% - 120px);
  color: #aaa;
  padding: 5px 0 0;
}
@media screen and (max-width: 768px) {
  .footer-area_search dl > div > dd { padding: 2px 0; width: calc(100% - 95px); }
}

.footer-area_search dl > div > dd li { padding: 0 10px 0 0; display: inline-block; }
@media screen and (max-width: 768px) {
  .footer-area_search dl > div > dd li { padding: 0 6px 0 0; }
}

.footer-area_search dl > div > dd li a { text-decoration: underline; color: #000; }

.footer-area_contents { width: 50%; }
@media screen and (max-width: 768px) {
  .footer-area_contents { width: 100%; }
}

.footer-area_contents > dl:first-child { width: 49%; }
.footer-area_contents > dl:nth-child(2) { width: 46%; }
@media screen and (max-width: 768px) {
  .footer-area_contents > dl:first-child,
  .footer-area_contents > dl:nth-child(2) { width: 100%; }
}

.footer-area_contents > dl dd > ul {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  line-height: 1.6;
}
@media screen and (max-width: 768px) {
  .footer-area_contents > dl dd > ul { display: flex; flex-wrap: wrap; }
  .footer-area_contents > dl dd > ul li { width: 50%; }
}

.footer-area_contents > dl dd > ul:last-child { border-bottom: none; }
.footer-area_contents > dl dd > ul a { font-size: 12px; color: #0c3465; }

/* 本家は FontAwesome の angle-right（\f105）。
   FontAwesome を読み込まずに CSS の border 回転で同じ見た目を再現する。 */
.footer-area_contents > dl dd > ul a:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-top: 1px solid #999;
  border-right: 1px solid #999;
  transform: rotate(45deg);
  margin-right: 7px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.footer-bottom {
  padding: 60px 0 160px;
  background: #036;
  position: relative;
}
@media screen and (max-width: 768px) {
  .footer-bottom { padding: 45px 0 140px; }
}
.footer-bottom .inner { padding: 0; }

.copyright {
  font-size: 14px;
  color: #fff;
  line-height: 2;
  text-align: left;
  letter-spacing: .1em;
}
@media screen and (max-width: 768px) {
  .copyright { font-size: 10px; padding: 10px 50px 0 10px; line-height: 1.5; }
}

.pagetop { width: 49px; }
@media screen and (max-width: 768px) {
  .pagetop { width: 35px; top: 20px; right: 10px; position: absolute; }
}
.pagetop img { max-width: 100%; }

/* ============================================
   固定フッター（本家準拠）
   ※ 本家はスクロール連動で active が着脱されるが、
      シミュレーターは sticky 進捗バーの都合で常時 active（表示）。
   ============================================ */
.fixed_footer {
  transition: all .2s ease 0s;
  padding: 18px 0 20px;
  width: 100%;
  min-height: 60px;
  z-index: 99;
  bottom: -98px;
  background: rgba(255, 153, 0, .95);
  position: fixed;
}
@media screen and (max-width: 768px) {
  .fixed_footer {
    padding: 10px 0 20px;
    min-height: 60px;
    min-width: auto;
    left: 0;
    bottom: -96px;
    background: #f90;
  }
}
.fixed_footer.active { bottom: 0; }

.fixed_footer .f_list {
  justify-content: space-between;
  margin: 0 auto 5px;
  width: 690px;
  display: flex;
}
@media screen and (max-width: 768px) {
  .fixed_footer .f_list { justify-content: center; width: 100%; display: flex; margin: 0; }
}

.fixed_footer .f_list li {
  align-items: center;
  border-radius: 4px;
  font-weight: 700;
  width: 330px;
  height: 52px;
  display: flex;
  justify-content: center;
  background: #fff;
}
@media screen and (max-width: 768px) {
  .fixed_footer .f_list li {
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
    box-sizing: border-box;
    font-size: 12px;
    text-align: center;
    margin: 0 4px;
    padding-top: 2px;
    border: 1px solid #fd5600;
    width: 44%;
    height: 66px;
  }
}

.fixed_footer .f_list li a { text-decoration: none; }

.fixed_footer .tel_note {
  width: 690px;
  margin: 0 auto;
  text-align: right;
  font-size: 12px;
}
.fixed_footer .tel_note .policy_link { color: #0c3465; text-decoration: underline; }

@media screen and (max-width: 768px) {
  .fixed_footer .tel { display: none; }
  .fixed_footer a {
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: #fd5600;
    margin: 0 auto;
    height: 66px;
    display: flex;
  }
  .fixed_footer a span { line-height: 20px; padding-bottom: 6px; display: inline-block; }
  .fixed_footer a span img { width: 100%; }
}

.fixed_footer .searcharea {
  box-shadow: rgba(0, 0, 0, .2) 0 0 8px;
  font-size: 16px;
  color: #fd5600;
  letter-spacing: 0;
  line-height: 32px;
  padding: 0 0 0 14px;
  position: relative;
}
@media screen and (max-width: 768px) {
  .fixed_footer .searcharea { padding: 0; line-height: 1; }
}

.fixed_footer .searcharea a { color: #fd5600; text-decoration: none; }
@media screen and (max-width: 768px) {
  .fixed_footer .searcharea a span { width: 34px; }
}
@media print, screen and (min-width: 769px) {
  .fixed_footer .searcharea:after {
    width: 12px;
    height: 10px;
    right: 3px;
    bottom: 3px;
    display: inline-block;
    background: url(https://yaneiroha.com/img/common/arrow_f.gif) no-repeat center top;
    content: "";
    position: absolute;
  }
}

.fixed_footer .searcharea img { padding-right: 10px; display: inline-block; }
@media screen and (max-width: 768px) {
  .fixed_footer .searcharea img { padding-right: 0; }
  .fixed_footer .serch_now a { text-decoration: none; }
  .fixed_footer .serch_now a span { width: 22px; }
}

.fixed_footer .tel a {
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 0 16px;
  width: 100%;
  display: flex;
  text-decoration: none;
}
.fixed_footer .tel p {
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
  display: inline-block;
  color: #0c3465;
}
.fixed_footer .tel p:first-child { padding-right: 8px; }
.fixed_footer .tel p span { color: #fd5600; }
.fixed_footer .tel p img { width: 160px; height: auto; }

/* ---- 最近見た工事店ボタン ---- */
.fixed_footer #open_modal {
  bottom: -90px;
  right: 80px;
  position: absolute;
  line-height: 0;
}
.fixed_footer.active #open_modal { bottom: -10px; position: absolute; }
@media screen and (max-width: 768px) {
  .fixed_footer #open_modal { bottom: -150px; display: none; }
  .fixed_footer.active #open_modal { right: 10px; bottom: 80px; display: block; }
  .fixed_footer.active #open_modal img { width: 80px; }
}

/* ============================================
   最近見た工事店モーダル（本家準拠）
   ============================================ */
.modal {
  width: 100%;
  height: 100%;
  z-index: 10;
  top: 0;
  left: 0;
  display: none;
  position: fixed;
}
.modal.active { display: block; }

.modal_bg { width: 100%; height: 100%; background-color: rgba(30, 30, 30, .5); }

.modal_wrapper {
  transform: translate(-50%, -50%);
  border-radius: 10px;
  padding: 30px;
  border: solid 2px #e3dfda;
  top: 50%;
  left: 50%;
  background-color: #fff;
  position: absolute;
}
@media screen and (max-width: 768px) {
  .modal_wrapper { padding: 20px; border: solid 2px #e3dfda; width: 90%; top: 53%; left: 50%; }
}

.modal_contents .ttl { font-size: 24px; letter-spacing: .1em; margin-bottom: 25px; }
@media screen and (max-width: 768px) {
  .modal_contents .ttl { font-size: 16px; }
}

.modal_contents ul { display: flex; }
@media screen and (max-width: 768px) {
  .modal_contents ul { display: block; }
}

.modal_contents ul li { margin-right: 15px; width: 288px; }
@media screen and (max-width: 768px) {
  .modal_contents ul li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ddd;
    width: 100%;
    display: flex;
  }
}
.modal_contents ul li:last-child { margin-right: 0; }
@media screen and (max-width: 768px) {
  .modal_contents ul li:last-child {
    margin-bottom: 0;
    margin-right: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }
}

.modal_contents ul li .company_img { margin-bottom: 10px; }
@media screen and (max-width: 768px) {
  .modal_contents ul li .company_img { margin-bottom: 0; margin-right: 10px; width: 50%; }
}
.modal_contents ul li .company_img img { width: 100%; }
.modal_contents ul li .company_place { font-size: 14px; color: #666; }
@media screen and (max-width: 768px) {
  .modal_contents ul li .company_place { font-size: 11px; }
}
.modal_contents ul li .company_text { font-size: 14px; line-height: 1.5; }
@media screen and (max-width: 768px) {
  .modal_contents ul li .company_detail { width: 50%; }
}
.modal_contents ul li .company_name {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  line-height: 1.5;
  text-decoration: underline;
  margin-bottom: 10px;
  display: block;
}
@media screen and (max-width: 768px) {
  .modal_contents ul li .company_name { height: auto; }
}

.close_modal {
  border-radius: 50%;
  box-shadow: 0 3px 16px rgba(0, 0, 0, .18);
  width: 52px;
  height: 52px;
  top: -26px;
  right: -26px;
  display: inline-block;
  background: #fff;
  cursor: pointer;
  position: absolute;
}
@media screen and (max-width: 768px) {
  .close_modal { width: 42px; height: 42px; top: -15px; right: -12px; }
}
.close_modal span:before,
.close_modal span:after {
  margin: -8% 0 0 -42%;
  width: 23px;
  height: 3px;
  top: 55%;
  left: 71%;
  display: block;
  background: #000;
  content: "";
  position: absolute;
}
@media screen and (max-width: 768px) {
  .close_modal span:before,
  .close_modal span:after { width: 17px; height: 2px; left: 73%; }
}
.close_modal span:before { transform: rotate(-45deg); }
.close_modal span:after { transform: rotate(45deg); }
