@charset "utf-8";
/*
   ページ構成

  ヘッダー
    - ロゴ
    - twitterボタン

  フッター
*/

/* ==================================================
  デフォルト
================================================== */
html {
  height: 100%;
  font-size: 62.5%;
}

body {
  height: 100%;
  margin: 0;
  background-color: #fff;
  color: #333;
  font-size: 14px;
  line-height: 1.3;
  font-family: "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", helvetica, arial, verdana, sans-serif;
  -webkit-text-size-adjust: 100%;
}

/* 簡体字 */
html:lang(zh-cn) body,
html:lang(zh-cn) textarea,
html:lang(zh-cn) input,
html:lang(zh-cn) select {
  font-family: "Microsoft YaHei", "微软雅黑", 'SimSun';
}

/* 繁体字 */
html:lang(zh-tw) body,
html:lang(zh-tw) textarea,
html:lang(zh-tw) input,
html:lang(zh-tw) select {
  font-family: 'Segoe UI', SegoeUI, 'Microsoft JhengHei', 微軟正黑體, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

a:link {
  color: #25a;
}

a:visited,
a:hover,
a:active {
  color: #71a;
}

img {
  vertical-align: bottom;
}

/* ==================================================
  レイアウト
================================================== */
#container {
  position: relative;
  box-sizing: border-box;
  padding: 0;
  overflow: hidden;
}

/* メインエリア
-------------------------------------------------- */
#wrapper {
  width: 100%;
  word-wrap: break-word;
  font-size: 14px;
}

@media screen and (max-width: 768px) {
#wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
}

/* ==================================================
ヘッダー（固定）
================================================== */
.lp_header {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
  width: 100%;
  height: 50px;
  box-sizing: border-box;
  overflow: hidden;
  background: #fff;
  padding: 0 15px;
}

.lp_header.type_blue  { background: #052A83; }
.lp_header.type_black { background: #000; }
.lp_header.type_brown { background: #5a1705; }

/* ロゴ */
.lp_header .logo {
  display: block;
}

.lp_header .logo a       { opacity: 1; }
.lp_header .logo a:hover { opacity: 0.7; }

.lp_header .simple_nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.lp_header #nav_login,
.lp_header .simple_nav li {
  display: flex;
  align-items: center;
  font-size: 12px;
  margin-left: 20px;
  white-space: nowrap;
}

@media screen and (max-width: 320px) {
  .lp_header #nav_login,
  .lp_header .simple_nav li {
    margin-left: 10px;
    font-size: 11px;
  }
}

.lp_header .simple_nav li a:not(.link_twitter):not(.link_facebook) {
  color: #333;
  display: block;
  background: none;
  height: 40px;
  line-height: 40px;
  text-align: center;
}

.lp_header.type_black .simple_nav li a:not(.link_twitter):not(.link_facebook) {
  color: #ddd;
}

@media screen and (min-width: 1024px) {
  .lp_header .simple_nav li a:not(.link_twitter):not(.link_facebook):hover {
    color: #555;
  }

  .lp_header.type_black .simple_nav li a:not(.link_twitter):not(.link_facebook):hover {
    color: #fff;
  }
}

/* twitterボタン */
.lp_header .simple_nav.pc {
  display: none;
}

@media screen and (min-width: 769px) {
  .lp_header .simple_nav.sp {
    display: none;
  }

  .lp_header .simple_nav.pc {
    display: flex;
  }
}

.lp_header .simple_nav li a.link_twitter {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  border-radius: 3px;
  position: relative;
  background: #1b95e0;
  color: #fff;
  padding: 0 10px;
  text-align: right;
}

.lp_header .simple_nav li a.link_twitter::before {
  margin-right: 6px;
  color: #fff;
  font-size: 14px;
  font-family: "Font Awesome 5 Brands";
  content: "\f099";
}

@media screen and (max-width: 768px) {
  .lp_header .simple_nav li a.link_twitter {
    width: 28px;
    height: 22px;
    padding: 0;
    font-size: 0;
  }

  .lp_header .simple_nav li a.link_twitter::before {
    margin: 0;
  }
}

@media screen and (min-width: 769px) {
  .lp_header .simple_nav li a.link_twitter:hover {
    background: #42b7ff;
  }
}

/* facebookボタン */
.lp_header .simple_nav li a.link_facebook {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  border-radius: 3px;
  position: relative;
  background: #1878f3;
  color: #fff;
  padding: 0 10px;
  text-align: right;
}

.lp_header .simple_nav li a.link_facebook::before {
  margin-right: 6px;
  color: #fff;
  font-size: 14px;
  font-family: "Font Awesome 5 Brands";
  content: "\f09a";
}

@media screen and (max-width: 768px) {
  .lp_header .simple_nav li a.link_facebook {
    width: 28px;
    height: 22px;
  }

  .lp_header .simple_nav li a.link_facebook::before {
    margin: 0;
  }
}

@media screen and (min-width: 769px) {
  .lp_header .simple_nav li a.link_facebook:hover {
    background: #4897ff;
  }
}


/* ==================================================
フッター（固定）
================================================== */
.lp_footer {
  width: 100%;
  height: 40px;
  font-size: 12px;
  line-height: 40px;
  color: #fff;
  text-align: center;
  z-index: 100;
  background: #fff;
}

.lp_footer.type_blue  { background: #052A83; }
.lp_footer.type_black { background: #000; }
.lp_footer.type_brown { background: #5a1705; }

.lp_return_top {
  display: block;
  overflow: hidden;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  width: 50px;
  height: 0;
  padding-top: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.lp_return_top.hide {
  opacity: 0;
  visibility: hidden;
  bottom: 10px;
}

@media screen and (min-width: 1024px) {
  .lp_return_top:hover {
    background: rgba(0, 0, 0, 0.7);
  }
}

.lp_return_top::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  margin: -5px 0 0 -7px;
  transform: rotate(-45deg);
  box-shadow: -2px 2px 0 #fff inset;
  content: "";
}
