/* カラーコードの定義 */
/* ボックスモデルの指定 */
* {
  box-sizing: border-box;
}
/* HTMLとBodyのスタイル指定 */
html,
body {
  font-family: "Roboto", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #F5F4F2;
}
/* ヘッダーのスタイル指定 */
header {
  display: flex;
  padding: 0 25px;
  height: 70px;
  background-color: #ffffff;
  /* 背景色指定 */
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 10;
  /* ロゴのスタイル指定 */
  /* ナビゲーションのスタイル指定 */
}
header .logo {
  margin-right: 10px;
  margin-top: -3px;
}
header .navigation {
  display: flex;
  flex: 1;
  align-items: center;
  /* リンクのスタイル指定 */
  /* 特定の要素のスタイル指定 */
}
header .navigation a {
  color: #181e26;
  font-size: 14px;
  text-decoration: auto;
  margin-right: 20px;
  white-space: nowrap;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
header .navigation .dropdown {
  height: 100%;
}
header .navigation .navigation-tab.active:after {
  content: '';
  background-color: #3166DB !important;
  width: 100%;
  position: absolute;
  height: 4px;
  left: 0;
  bottom: 0;
}
header .navigation .navigation-tab:hover::after {
  content: '';
  background-color: rgba(49, 102, 219, 0.8);
  width: 100%;
  position: absolute;
  height: 4px;
  left: 0;
  bottom: 0;
}
header .navigation .navigation-extend::after {
  display: none;
}
header .navigation .navigation-dropdown-menu {
  padding: 0;
  border-radius: 0;
  background: #EDF0F6;
  margin-left: -10px !important;
  transform: translate(0, 0) !important;
}
header .navigation .navigation-dropdown-menu li {
  height: 40px;
  border-bottom: solid 1px #fff;
}
header .navigation .navigation-dropdown-menu li a:active {
  background-color: transparent;
  color: #2D58B8 !important;
}
header .navigation .navigation-dropdown-menu li a:hover {
  color: #2D58B8 !important;
}
header .navigation .navigation-dropdown-menu li:last-child {
  border-bottom: none;
}
header .navigation .su-pay {
  width: 132px;
  height: 40px;
  background-image: url(http://trial-website-stg.retail-ai.jp/wp-content/themes/trial/assets/less/../images/su-pay.png);
  margin-right: 0;
}
header .navigation .line {
  width: 1px;
  height: 15px;
  background: #DBE0EB;
}
.admin-bar header {
  top: 32px;
}
@media screen and (max-width: 768px) {
  .admin-bar header {
    top: 46px;
  }
}
@media screen and (max-width: 600px) {
  header {
    top: 0 !important;
  }
}
footer {
  margin-top: 100px;
  padding: 50px 0;
  background-color: #2D58B8;
  color: #ffffff;
}
footer .link-ul-small {
  display: none;
}
footer .app-info img {
  border-radius: 6px;
  max-width: 100%;
}
footer .app-info .col {
  padding: 10px;
}
footer .app-info .app-link-img {
  border: solid 1px rgba(255, 255, 255, 0.3);
  transform: translateX(20px);
  margin-top: 40px;
}
footer .app-info .app-link-img:hover {
  opacity: 0.8;
}
footer .app-info .app-iphone {
  margin-top: -110px;
  margin-left: 40px;
  max-width: 190px;
  margin-bottom: 30px;
  filter: drop-shadow(20px 20px 10px rgba(0, 0, 0, 0.2));
}
footer hr {
  border-color: rgba(255, 255, 255, 0.3);
  margin: 0 0 50px !important;
}
footer .socialize {
  margin: 60px 0;
}
footer .socialize a {
  margin-right: 20px;
}
footer .socialize img {
  width: 40px;
}
footer li {
  margin-top: 15px;
}
footer h6 {
  font-size: 14px;
}
footer a {
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
}
footer .copyright {
  color: #dbe0eb;
  font-size: 12px;
  opacity: 0.85;
}
footer .link-ul {
  display: flex;
  list-style: none;
  gap: 15px;
  font-size: 12px;
  color: #DBE0EB;
}
footer .link-ul a {
  font-size: 12px;
}
footer .goto-top {
  display: none;
  position: fixed;
  z-index: 99999;
  border-radius: 100%;
  flex-flow: column;
  background-color: #181E26;
  bottom: 20px;
  right: 20px;
  width: 68px;
  height: 68px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
footer .goto-top.active {
  display: flex;
  /* 当页面滚动时显示 */
}
footer .goto-top:hover {
  opacity: 0.8;
}
/* 画面幅が997px以下の場合のスタイル指定 */
@media screen and (max-width: 997px) {
  header {
    height: 55px;
    /* ナビゲーション非表示 */
    /* 折り畳まれたナビゲーションのスタイル指定 */
  }
  header .navigation {
    display: none;
  }
  header .navigation-collapse {
    display: flex;
    flex: 1;
    align-items: center;
    position: relative;
    opacity: 1;
    z-index: 10;
    /* メニューアイコンのスタイル指定 */
    /* ドロワーのスタイル指定 */
  }
  header .navigation-collapse .menu {
    width: 36px;
    height: 36px;
    cursor: pointer;
    /* ホバー時のスタイル指定 */
  }
  header .navigation-collapse .menu:hover {
    filter: brightness(1.2);
  }
  header .navigation-collapse .drawer {
    position: absolute;
    width: calc(100% + 50px);
    height: 0;
    top: 0;
    left: -25px;
    z-index: 1;
    overflow: hidden;
    /* ドロワーのマスクのスタイル指定 */
  }
  header .navigation-collapse .drawer-mask {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100vh;
    top: 0;
    z-index: 1;
    opacity: 0;
    transition-duration: 0.2s;
  }
  header .navigation-collapse .drawer-body {
    position: absolute;
    z-index: 2;
    background-color: #ffffff;
    width: 90%;
    height: 100vh;
    top: 0;
    right: 0;
    transform: translateX(100%);
    transition-duration: 0.2s;
    padding-bottom: 30px;
  }
  header .navigation-collapse .drawer-main {
    overflow: auto;
    padding-bottom: 300px;
  }
  header .navigation-collapse .drawer.open {
    height: 100vh;
  }
  header .navigation-collapse .drawer.in .drawer-body {
    transform: translateX(0);
  }
  header .navigation-collapse .drawer.in .drawer-mask {
    opacity: 1;
  }
}
@media screen and (max-width: 576px) {
  footer {
    margin-top: 50px;
  }
  footer .app-info .app-link-img {
    margin-top: 10px !important;
    transform: translateX(10px) !important;
  }
  footer .app-info .col {
    padding: 5px !important;
  }
  footer .app-info .app-iphone {
    margin-top: -80px;
    margin-left: 20px;
    max-width: 100px;
    margin-bottom: 20px;
    filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.2));
  }
  footer .pr-lg-5 {
    text-align: center;
  }
  footer .socialize {
    margin: 40px 0;
  }
  footer .copyright span {
    display: block;
    margin: auto;
  }
  footer .copyright .link-ul {
    display: none;
  }
  footer .copyright .flex-1 {
    display: none;
  }
  footer .link-ul-normal {
    display: none;
  }
  footer .link-ul-small {
    display: flex;
  }
  footer .link-ul-small ul {
    list-style: none;
    font-size: 12px;
    display: flex;
    flex-wrap: wrap;
    padding: 0 13px;
  }
  footer .link-ul-small ul li {
    flex-basis: calc(50% - 10px);
    margin-top: 0;
    margin-bottom: 15px;
    white-space: nowrap;
  }
  footer .link-ul-small ul li a {
    font-size: 12px;
    font-weight: 300;
  }
  footer .goto-top {
    position: fixed;
    border-radius: 100%;
    flex-flow: column;
    background-color: #181E26;
    bottom: 15px;
    right: 15px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  footer .goto-top svg {
    width: 10px;
  }
  footer .goto-top strong {
    font-size: 10px;
    font-weight: normal;
  }
}
