@charset "utf-8";

/*
 * File Name   : site-layout.css
 * Description : サイト共通
 *               FAコーディングテンプレートlayout.cssに該当
 */

/*
============================================================ */
/* BASE
============================================================ */
html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  color: #3b3b3b;
  font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  overflow: hidden;
}

body > div:first-child,
body > article,
body > footer,
body > header,
body > main {
  width: 100%;
  min-width: 320px;
}

/*** hypertext ***/
a:link {
  color: #000;
  text-decoration: none;
  outline: none;
}

a:hover,
a:active {
  text-decoration: underline;
}

a:visited {
  color: #000;
}

a img {
  border: none;
}

a.over:hover,
a:hover img.over,
input.over:hover {
  filter: alpha(opacity=70);
  -moz-opacity: 0.7;
  opacity: 0.7;
}

/*** pc-only / sp-only ***/
@media screen and (min-width: 897px) {
  .sp-only {
    display: none !important;
  }
}
@media screen and (max-width: 896px) {
  .pc-only {
    display: none !important;
  }
}

/*** js event  !! .hoge { display: none; } & <div class="hoge no-js"></div> !! ***/
.no-js {
  display: block !important;
}

/* sp js-overlay
------------------------------------------------------------ */
.js-overlay {
  display: none;
  position: fixed;
  /* top: 0; */
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  overflow: hidden;
  z-index: 1;
}

/* sp js-main-is-fixed
------------------------------------------------------------ */
@media screen and (max-width: 896px) {
  .js-main-is-fixed {
    position: fixed;
    width: 100%;
    height: 100%;
  }
}

/*
============================================================ */
/* header
============================================================ */
.page-header {
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 896px) {
  header.page-header {
    width: 100%;
  }
}

/*
============================================================ */
/* main contents
============================================================ */
.main-container {
  position: relative;
}
.main-container:before {
  content: '';
  display: table;
}
.main-container:after {
  content: '';
  clear: both;
}
.main-container-inner {
  position: relative;
}
.js-main-is-fixed {
  position: fixed;
  width: 100%;
  height: 100%;
  top: auto;
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 896px) {
  .main-container {
    display: block;
  }
  .page-left {
    display: none;
  }
  .page-main {
    width: 100%;
    margin: 0 auto;
  }
  .page-right {
    display: none;
  }
  main .page-footer {
    width: 100%;
  }
}

/*
============================================================ */
/* footer
============================================================ */
footer.page-footer {
  position: relative;
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 896px) {
  footer.page-footer {
    width: 100%;
  }
}

/* Modal Window
----------------------------------------------------------- */
#lay-modal-window {
  display: none;
  opacity: 0;
  width: 500px !important;
  box-sizing: border-box;
  position: fixed;
  top: 20px;
  right: -520px;
  margin-left: -250px;
  background-color: #f6f7fb;
  /* color: #111;
  padding: 20px 5px 20px 20px; */
  z-index: 100;
  box-shadow: 0 0 4px 2px #36363680;
  font-size: 13px;
  border-radius: 4px;

  width: auto !important;
  padding: 12px 16px;
  color: #fff;
  background: #333333eb;
}
#lay-modal-window .modal-text-wrap {
  display: flex;
  align-items: center;
}
#lay-modal-window .modal-html-body {
  color: #000;
}
.modal-logo {
  padding-right: 10px;
}
.modal-text .body {
  font-size: 11px;
}
@media screen and (max-width: 1100px) {
  #lay-modal-window {
    width: 280px !important;
  }
}

/* Modal Window center
----------------------------------------------------------- */
#lay-modal-window.lay-modal-window-center {
  /* width: 350px !important;
  left: 60% !important; */
  top: 115px;
}
#lay-modal-window .panel-layout.btn-box {
  flex-direction: row-reverse;
}
#lay-modal-window .panel-layout.btn-box li {
  float: right;
  min-width: 70px;
  margin-top: 10px;
  margin-left: 16px;
  padding: 2px;
  font-size: 11px;
  text-align: center;
  border: solid 1px #aaa;
  cursor: pointer;
}
#lay-modal-window .panel-layout.btn-box li:hover {
  opacity: 0.7;
}
#lay-modal-window .panel-layout.btn-box li a {
  display: block;
  padding: 3px 0;
}

[class^='icon-'],
[class*=' icon-'] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
