@charset "utf-8";

/********************
* CSSリセット
********************/

html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, img, strong,
dl, dt, dd, ol, ul, li, form, label, table, tbody, thead, tr, th, td,
article, footer, header, nav, section {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
article, footer, header, nav, section, main {
  display: block;
}
ol, ul {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
*{
  box-sizing: border-box;
}

/********************
* 共通
********************/

body {
  line-height: 1.7;
  font-family: Lato, "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 14px;
  color: #000;
}
a{
  text-decoration: none;
  color: #000;
}
a:hover{
  cursor:pointer;
  opacity: 0.7;
}
img{
  max-width: 100%;
  height: auto;
  vertical-align: top;
}
h2{
  font-size: 20px;
  font-weight: bold;
}
h3{
  font-size: 16px;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"]{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  background: #fff;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus{
  outline: none;
}
.checkbox input{
  display: none;
}
.checkbox span{
  padding-left: 25px;
  position:relative;
  margin-right: 20px;
}
.checkbox span::before{
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border: 2px solid #C8C9CC;
  border-radius: 4px;
  background: #fff;
}
.checkbox input:checked + span::after{
  content: '';
  display: block;
  position: absolute;
  top: 1px;
  left: 6px;
  width: 5px;
  height: 10px;
  transform: rotate(40deg);
  -webkit-transform: rotate(40deg);
  border-bottom: 2px solid #f22626;
  border-right: 2px solid #f22626;
}
.tab-index{
  cursor: pointer;
  position: relative;
}
.tab-index:hover{
  opacity: 0.7;
}
.tab-index:after{
  position: absolute;
  top: 15px;
  right: 20px;
  content: '';
  width: 20px;
  height: 12px;
  background: #FFF url(../img/common/arrow_down_gray.png) no-repeat;
  background-size: contain;
}
.tab-index.open:after{
  background: #FFF url(../img/common/arrow_up_gray.png) no-repeat;
  background-size: contain;
}
.tab-content{
  display: none;
}

.tab-index-edit{
  cursor: pointer;
  position: relative;
}
.tab-index-edit:hover{
  opacity: 0.7;
}
.tab-index-edit:after{
  position: absolute;
  top: 15px;
  right: 30px;
  content: '';
  width: 20px;
  height: 12px;
  background: #FFF url(../img/common/arrow_down_gray.png) no-repeat;
  background-size: contain;
}
.tab-index-edit.open:after{
  /* background: #FFF url(../img/common/arrow_up_gray.png) no-repeat; */
  background: #FFF;
  background-size: contain;
}
.tab-content-edit{
  display: none;
}
.tab-index-manual{
  cursor: pointer;
  position: relative;
}
.tab-index-manual td{
  background: #F6F6F6;
}
.tab-index-manual:hover{
  opacity: 0.7;
}
.tab-index-manual .arrow img{
  width: 20px;
  height: 10px;
  vertical-align: middle;
}
#sort .sort img{
  width: 20px;
  height: 20px;
  vertical-align: middle;
}
.sortable{
  cursor: pointer;
  cursor: hand;
}
.tab-content-manual{
  display: none;
}
button{
  border: none;
  cursor: pointer;
  outline: none;
}
button:hover{
  opacity: 0.7;
}
.clearfix:after {
  content:" ";
  display:block;
  clear:both;
}
.sp-view,
.sp-view-inline{
  display: none!important;
}
.mb-wide{
  margin-bottom: 20px;
}
.mt-thin{
  margin-top: 5px;
}
.mb-thin{
  margin-bottom: 5px;
}
.mr-thin{
  margin-right: 5px;
}
.ml-thin{
  margin-left: 5px;
}
.float-l{
  float: left;
}
.float-r{
  float: right;
}
@media screen and (max-width: 768px) {
  h2{
    font-size: 18px;
  }
  h3{
    font-size: 14px;
  }
  .pc-view{
    display: none!important;
  }
  .sp-view{
    display: block!important;
  }
  .sp-view-inline{
    display: inline-block!important;
  }
  input[type="text"]::-webkit-input-placeholder,
  input[type="email"]::-webkit-input-placeholder,
  input[type="tel"]::-webkit-input-placeholder{
    font-size: 12px;
  }
  input[type="text"]:-moz-placeholder,
  input[type="email"]::-webkit-input-placeholder,
  input[type="tel"]::-webkit-input-placeholder {
    font-size: 12px;
  }
}

/********************
* サイドナビゲーション
********************/

#side_nav{
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 120%;
  background: #212121;
  padding-top: 20px;
  z-index: 2;
  transition: right .4s;
  -webkit-transition: right .4s;
}
#side_nav.open{
  right: 0;
}
#side_nav ul{
  padding: 0 10px;
}
#side_nav ul li{
  border-bottom: 1px #434343 solid;
}
#side_nav ul li a{
  color: #FFF;
  padding: 10px;
  display: block;
  font-weight: bold;
}
#side_nav ul li a img{
  vertical-align: middle;
  width: 30px;
  margin-right: 15px;
}
#side_nav ul li.logout{
  text-align: right;
  border: none;
}
#side_nav ul li.logout a{
  font-weight: normal;
  font-size: 13px;
}
#side_nav ul li.logout a img{
  width: 20px;
}

@media screen and (max-width: 768px) {
  #side_nav{
    width: 250px;
  }
}

/********************
* ヘッダー
********************/

header{
  background: #f6f6f6;
  border-bottom: 1px #d2d2d2 solid;
  height: 60px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  transition: transform .4s;
  -webkit-transition: transform .4s;
}
header .logo{
  float: left;
  width: 30px;
  margin-top: 15px;
  margin-left: 20px;
}
.header-search{
  float: left;
  margin-left: 20px;
  margin-top: 15px;
}
.header-search input{
  width: 400px;
  background: #FFF url(../img/common/icon_search.png) no-repeat left 5px top 5px;
  background-size: 20px;
  padding: 0 10px 0 30px;
  border-radius: 3px;
  height: 30px;
  line-height: 30px;
}
.header-nav-pc{
  float: right;
  margin-right: 70px;
  margin-top: 5px;
}
.header-nav-pc ul{
  display: table;
  table-layout: fixed;
  width: 250px;
}
.header-nav-pc ul li{
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
.header-nav-pc ul li a{
  display: block;
  height: 50px;
  color: #555;
  font-size: 12px;
  font-weight: bold;
  position: relative;
}
.header-nav-pc ul li a img{
  display: block;
  margin: 0 auto;
  width: 30px;
}
.header-nav-pc ul li a .badge{
  position: absolute;
  top: 3px;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  margin-left: 15px;
  background: #f22626;
  border-radius: 50%;
  display: block;
  color: #fff;
  width: 15px;
  height: 15px;
  line-height: 15px;
  font-size: 10px;
}
.search-trigger{
  display: none;
}
.menu-trigger {
  position: absolute;
  width: 35px;
  height: 35px;
  right: 20px;
  top: 15px;
  display: inline-block;
}
.menu-trigger span {
  position: absolute;
  right: 4px;
  width: 26px;
  height: 2px;
  background: #f22626;
  display: inline-block;
}
.menu-trigger span:nth-of-type(1) {
  top: 7px;
}
.menu-trigger span:nth-of-type(2) {
  top: 16px;
}
.menu-trigger span:nth-of-type(3) {
  bottom: 7px;
}

@media screen and (max-width: 768px) {
  header{
    background: #f22626;
    border: none;
    height: 50px;
  }
  header.scroll{
    background: #f22626!important;
  }
  header .logo{
    float: none;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0;
  }
  .header-search {
    display: none;
    margin-top: 10px;
    margin-left: 10px;
    padding-right: 75px;
    width: 100%;
  }
  .header-search input{
    width: 100%;
  }
  .search-trigger{
    display: block;
    position: absolute;
    left: 20px;
    top: 15px;
    width: 20px;
  }
  .menu-trigger{
    top: 7px;
  }
  .menu-trigger span {
    background: #fff;
  }
}

/********************
* コンテナ
********************/

.container{
  max-width: 1200px;
  padding: 0 10px;
  margin: 0 auto;
  position: relative;
}
.container:after {
  content:'';
  display:block;
  clear:both;
}

@media screen and (max-width: 768px) {
  .container{
    max-width: initial;
  }
}

/********************
* メインエリア
********************/

#main{
  transition: transform .4s;
  -webkit-transition: transform .4s;
  padding-top: 60px;
}

@media screen and (max-width: 768px) {
  #main{
    padding-top: 50px;
    padding-bottom: 100px;
  }
}

#main #primary-message .primary-message-box{
  width: 100%;
  background: #F24E5E;
  color: #FFF;
  text-align: center;
  padding: 8px 0;
  display: none;
}
#main #primary-message .active{
  display: block;
}
#main #primary-message .primary-message-box a{
  color: #fff;
  text-decoration: underline;
}


/********************
* フッター
********************/

footer {
  min-width: 1100px;
}

@media screen and (max-width: 768px) {
  footer {
    min-width: initial;
  }
  .footer-nav{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px #b5b5b5 solid;
    z-index: 1;
  }
  .footer-nav ul{
    display: table;
    table-layout: fixed;
    width: 100%;
  }
  .footer-nav ul li{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
  }
  .footer-nav ul li a{
    display: block;
    padding: 10px 0 5px 0;
    white-space: nowrap;
    font-weight: bold;
    color: #555;
    position: relative;
    font-size: 12px;
  }
  .footer-nav ul li a img{
    display: block;
    margin: 0 auto;
    width: 30px;
  }
  .footer-nav ul li a .badge{
    position: absolute;
    top: 10px;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    margin-left: 15px;
    background: #f22626;
    border-radius: 50%;
    display: block;
    color: #fff;
    width: 15px;
    height: 15px;
    line-height: 15px;
    font-size: 10px;
  }
}

/********************
* input
********************/
span.inputerr{
	color:red;
	display:block;
	margin-top:2px;
	padding:6px;
/*
	border:1px solid #F8C105;
	background-color:#FE0000;
*/
}
input,select,textarea{
  font-size: 90%;
  color: #666;
  padding: 8px;
  border-color: #aaa;
  border-radius: 3px;
}
