@charset "UTF-8";

html {
    height: 100%;
}

body {
  background: #e6ecf0;
  color: #555;
  font-size: 14px;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.04em;
}

/* -------------------- admin_login -------------------- */

body#admin_login {
  height: 100%;
}
body#admin_login #container_login h1{
  color: #34495e;
  font-weight: bold;
  font-size: 16px;
  text-align: left;
  width: 500px;
  margin: 0 auto 10px auto;
}
body#admin_login #container_login .login_area{
  border-radius:4px;
  box-shadow:0px 0px 4px 0px #c5c5c7;
  -moz-box-shadow:0px 0px 4px 0px #c5c5c7;
  -webkit-box-shadow:0px 0px 4px 0px #c5c5c7;
  background: #fff;
  margin: 0px auto;
  text-align: center;
  padding: 30px 40px;
  width: 500px;
}
body#admin_login #container_login .login_area h2 {
  background-color: #333;
  color: #fff;
  padding: 8px;
  font-size: 14px;
  font-weight: bold;
}
body#admin_login #container_login .login_area #login-id {
  width: 100%;
  margin-bottom: 20px;
  font-size: 16px;
  height: 48px;
}
body#admin_login #container_login .login_area #password {
  width: 100%;
  font-size: 16px;
  height: 48px;
}
body#admin_login #container_login .login_area p.p_login_button input{
  border-radius: 4px;
  background: #fff url('../img/admin/icon_arrow.png') no-repeat 180px center;
  background-size: 16px;
  color: #34495e;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border: 1px solid #34495e;
  border-bottom: 2px solid #34495e;
  padding: 10px;
  margin-bottom: 0px;
  transition: 0.2s all ease-in-out;
  -webkit-transition: 0.2s all ease-in-out;
  width: 100%;
}
body#admin_login #container_login .login_area p.p_login_button input:hover{
  background: #34495e  url('../img/admin/icon_arrow.png') no-repeat 150px center;
  background-size: 16px;
  color: #fff;
  transition: 0.2s all ease-in-out;
  -webkit-transition: 0.2s all ease-in-out;
  padding-left: 20px;
}
body#admin_login #container_login .login_area p input:focus {
  outline: 0;
  border-bottom:1px solid #34495e;
}
body#admin_login #container_login {
  color: #444;
  margin: 0px auto 50px;
  width: 98%;
}


/* -------------------- header_area -------------------- */
#header {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
}
#header .top{
  border-top: 5px solid #34495e;
  background: #fff;
  position: relative;
  border-bottom: 0;
  box-shadow: 0 3px 4px 0 rgba(0,0,0,.2), 0 3px 3px -2px rgba(0,0,0,.14), 0 1px 8px 0 rgba(0,0,0,.12);
  height: 52px;
}
#header_logo {
  width: 220px;
  position: relative;
  height: 47px;
  border-right: 1px solid #ccc;
}
#header img#menu_button{
  width: 40px;
  position: absolute;
  top: 4px;
  left: 4px;
}
#header img#menu_button:hover{
  cursor: pointer;
  opacity: 0.7;
}
#header .top h1{
  position: absolute;
  top: 0;
  left: 50px;
  line-height: 47px;
}
#header .top h1 a {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}
#header .top h1 a:hover {
  color: #007ed9;
  text-decoration: underline;
}
#header #loginuser {
  color: #333;
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  top: 15px;
  right: 150px;
}
#header #loginuser a {
  color: #333;
  font-weight: bold;
  text-decoration: none;
}
#header #loginuser a:hover {
  color: #dcdcdc;
  text-decoration: underline;
}
#header .top a.logout{
  background: #01395d url('../img/admin/icon_header_logout.png') no-repeat 82px center;
  color: #fff;
  display: block;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 37px 8px 14px;
  transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  position: absolute;
  top: 6px;
  right: 20px;
  text-decoration: none;
}
#header .top a.logout:hover{
  background: #01395d url('../img/admin/icon_header_logout.png') no-repeat 86px center;
  opacity: 0.7;
}

/* -------------------- container -------------------- */
#container{
  height: 100%;
  margin: 0;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
#container h1{
  font-weight: normal;
  font-size: 18px;
  margin-bottom: 30px;
  padding: 0 15px;
  background-color: #fff;
  height: 50px;
  line-height: 50px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}


/* -------------------- left-sidebar -------------------- */
#left-sidebar {
  width: 220px;
  background: #fff;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  padding-top: 80px;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
  z-index: 500;
}

#left-sidebar.close {
  display: none;
}
#left-sidebar.open {
  display: block;
}

#left-sidebar h2{
  background-color: #dcdcdc;
  padding: 10px;
}
#left-sidebar ul li a {
  display: block;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}
#left-sidebar ul li:first-child a {
  border-top: 1px solid #ccc;
}
#left-sidebar ul li a:hover {
  background-color: #333;
  color: #fff;
}
#left-sidebar ul li.active a {
  font-weight: bold;
  background-color: #fffacd;
  color: #333;
}


/* -------------------- left-sidebar accordion -------------------- */
#left-sidebar ul li .{}
#left-sidebar .accordion_body {
  padding: 0;
}
#left-sidebar .accordion_body ul {}
#left-sidebar .accordion_body ul li {
  border-bottom: 1px solid #ccc;
  margin-bottom: 0px;
}
#left-sidebar .accordion_body ul li:last-child {
  border-bottom: none;
}
#left-sidebar .accordion_body ul li a {
  border: none;
  padding: 10px 10px 10px 30px;
  background-image: url('../img/admin/arrow1.png');
  background-repeat: no-repeat;
  background-size: 12px auto;
  background-position: center left 16px;
  text-decoration: none;
  color: #333;
}
#left-sidebar .accordion_body ul li a:hover {
  text-decoration: underline;
  background-color: rgba(15, 15, 15, 0.05);
  color: #000;
  font-weight: bold;
}
#left-sidebar .accordion_body ul li.selected a {
  text-decoration: underline;
  background-color: rgba(15, 15, 15, 0.05);
  color: #000;
  font-weight: bold;
}



/* -------------------- right-main -------------------- */
#right-main {
  width: 100%;
  padding: 80px 0px 100px 0;
  margin-left: 220px;
}

.right-main-inner {
  padding: 0 15px;
}


/* -------------------- edit_footer -------------------- */
.edit_footer {
  position: fixed;
  bottom: 0;
  left: 220px;
  width : calc(100% - 220px);
  background: rgba(47, 63, 78, 0.8);
  z-index: 100;
  padding: 6px 15px;
}
.edit_footer_innder {
  display: flex;
  justify-content: space-between; /* 両端揃え均等配置 */
  flex-wrap: wrap; /* 折り返す */
  align-items: end; /* 下揃え */
}



/* -------------------- form -------------------- */
input[type="text"],
input[type="password"],
input[type="number"],
select {
  height: 30px;
}
input[type="text"],
input[type="password"],
input[type="number"],
select,
textarea {
  padding: 4px;
  border: 1px #ccc solid;
  -webkit-border-radius: 2px;/* for Safari and Chrome */
  -moz-border-radius: 2px; /* for Firefox */
  -o-border-radius: 2px; /* for opera */
  border-radius: 2px;
}
input[type="text"].error,
input[type="password"].error,
select.error,
textarea.error {
  background-color: #ffc0cb;
  border: 1px solid #db7093;
}
textarea:focus,
select:focus,
input[type="text"]:focus,
input[type="password"]:focus{
  background-color: #e6e6fa;
  border: 1px solid #b0c4de;
}
input[type="checkbox"] {
  vertical-align: middle;
}


.checkbox,
.checkbox input {
  margin: 0 !important;
  padding: 0 !important;
}
.checkbox label {
  margin-left: 4px;
}
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #ccc;
  background-image: url('../img/admin/arr_s_b_bl.png');
  background-repeat: no-repeat;
  background-position: center right 10px;
  padding: 0 30px 0 0;
  border-radius: none;
  min-width: 100px;
}
select.select_change_submit {
  height: 36px;
  min-width: 160px;
  font-size: 14px;
}
select#is_published {
  width: 80px;
  height: 36px;
  font-size: 14px;
}
/* checkbox */
input[type="radio"],
input[type="checkbox"] {
  display: none;
}
input[type="radio"] + label,
input[type="checkbox"] + label {
  background-repeat: no-repeat;
  background-position: left center;
  display: inline-block;
  padding-left: 20px;
  line-height: 20px;
  cursor: pointer;
}
input[type="checkbox"] + label {
  background-image: url(../img/admin/form_m_check_off.png);
}
input[type="checkbox"]:checked + label {
  background-image: url(../img/admin/form_m_check_on.png);
}
input[type="checkbox"]:disabled  + span,
input[type="checkbox"]:disabled + label {
  opacity: 0.7;
}
input[type="checkbox"]:checked:disabled  + span,
input[type="checkbox"]:checked:disabled + label {
  opacity: 0.7;
}

input[type="checkbox"].no_label {
  display: inline-block;
}

/* radio */
input[type="radio"] + label {
  background-image: url(../img/admin/form_m_radio_off.png);
  padding-left: 26px;
  margin-right:  26px;
}
input[type="radio"]:checked + label {
  background-image: url(../img/admin/form_m_radio_on.png);
}
.checkbox {
  margin-bottom: 6px !important;
}

/* datepicker */
input[type="text"].datepicker {
  width: 100px;
  text-align: center;
}

/* number */
input[type="text"].number {
  width: 100px;
  text-align: right;
}


/* disabled readonly */
input[type="text"]:disabled,
input[type="password"]:disabled,
input[type="number"]:disabled,
select:disabled,
textarea:disabled {
  background-color: #ebebe4;
}


/* -------------------- many_search_form -------------------- */
.many_search_form {
  display: flex;
  justify-content: space-between; /* 両端揃え均等配置 */
  flex-wrap: wrap; /* 折り返す */
  align-items: center;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
}

.many_search_form .search_contents {
  width: calc(100% - 160px);
}
.many_search_form .button_area {
  width: 160px;
}



/* -------------------- table -------------------- */
table tr.checked td {
  background: #fffacd !important;
  color: #333 !important;
}
table tr.published_0 td,
table tr.status_0 td,
table tr.status_3 td {
  background-color: #f5f5f5;
  color: #999;
}
table tr.status_1 td {
  /*background-color: #e5ecf9;*/
  background-color: #fff;
  color: #0055b5;
}
table tr.status_2 td {
  /*background-color: #f9e5e6;*/
  background-color: #fff;
  color: #b50007;
}
table tr.status_4 td {
  /*background-color: #e9f9e5;*/
  background-color: #fff;
  color: #1c8400;
}
table tr.status_10 td {
  background-color: #f9e5e6;
  color: #b50007;
}

table tr.th_bg_yellow th{
  background-color: #ffdb14 !important;
}

/* table_highlight */
.table_highlight:hover tbody tr:hover td {
  color: #333;
  background: #fffacd;
}
.table_highlight:hover tbody:hover td:hover {
  opacity: 1;
  color: #333;
  background: #fffacd;
}

/* table_list */
.table_list {
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  width: 100%;
}
.table_list tr th,
.table_list tr td{
  font-size: 14px;
  padding: 6px;
  vertical-align: middle;
  height: 38px;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
.table_list tr:first-child th {
  border-top: 5px solid #34495e;
}
.table_list tr th{
  background: #f5f5f5;
  font-weight: bold;
  text-align: center;
}
.table_list tr:first-child td {
  /*
  border-top: 5px solid #ccc;
  padding: 10px 6px;
  */
}
.table_list tr td{
  background: #fff;
}

/* table_form */
.table_form {
  /*border-top: 1px solid #ccc;*/
  border-left: 1px solid #ccc;
  width: 100%;
}
.table_form tr:first-child th {
  border-top: 5px solid #34495e;
}

.table_form tr:first-child td {
  border-top: 5px solid #ccc;
}
.table_form tr th,
.table_form tr td {
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
  padding: 6px;
  /*text-align: left;*/
  vertical-align: middle;
  font-size: 14px;
  height: 38px;
}
.table_form tr th {
  background: #f5f5f5;
  /*background: #ffdb14;*/
  font-weight: bold;
  text-align: left;
  min-width: 150px;
}
.table_form tr td {
  background: #fff;
}

.table_form.push_add tr th {
  width: 200px;
}
#segment tr td {
  height: 100%;
}
#segment tr td .accordion_body {
  display: flex;
  flex-wrap: wrap;
  /* height: 100%; */
  padding-top: 12px;
}
#segment tr td .checkbox {
  width: 25%;
}
#segment.accordion_body {
  border: none;
  padding: 0;
}


/* -------------------- pager -------------------- */
.pager {
  margin-top: 30px;
}
.pager span{
  display: inline-block;
}
.pager span a{
  border-radius: 4px;
  box-shadow:0px 0px 4px 0px #c5c5c7;
  -moz-box-shadow:0px 0px 4px 0px #c5c5c7;
  -webkit-box-shadow:0px 0px 4px 0px #c5c5c7;
  border: 1px solid #ccc;
  color: #000;
  background-color: #fff;
  font-size: 13px;
  display: block;
  padding: 6px 12px;
  margin-right: 6px;
  transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
}
.pager span:last-child a:hover,
.pager span:first-child a:hover,
.pager span a:hover{
  background: #333;
  color: #fff;
  text-decoration: none;
}
.pager span.prev a{
  padding-left: 12px;
  padding-right: 12px;
}
.pager span.next a{
  padding-left: 12px;
  padding-right: 12px;
}
.pager span.active {
  background: #333;
  color: #fff;
  border-radius: 4px;
  box-shadow:0px 0px 4px 0px #c5c5c7;
  -moz-box-shadow:0px 0px 4px 0px #c5c5c7;
  -webkit-box-shadow:0px 0px 4px 0px #c5c5c7;
  border: 1px solid #ccc;
  font-size: 13px;
  padding: 6px 12px;
  margin-right: 6px;
  transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
}


/* -------------------- colorbox -------------------- */
body#colorbox_body {
  background-color: #fff;
}
#colorbox_header {
  height: 40px;
  position: relative;
  border-bottom: 2px solid #ececec;
  margin-bottom: 10px;
}
#colorbox_header h1 {
  position: absolute;
  left: 16px;
  top: 8px;
}
#close_btn {
  position: absolute;
  right: 16px;
  top: 8px;
}
#colorbox_container {
  width: 98%;
  margin: 0 auto;
}


/* -------------------- accordion -------------------- */
.accordion {
  cursor: pointer;
  background-image: url('../img/admin/arr_s_d_bl.png');
  background-size: 16px auto;
  background-repeat: no-repeat;
  background-position: center right 16px;
  background-color: #f3f4f6;
  padding: 10px;
  border: 1px solid #ccc;
  -webkit-border-radius: 1px;/* for Safari and Chrome */
  -moz-border-radius: 1px; /* for Firefox */
  -o-border-radius: 1px; /* for opera */
  border-radius: 1px;
}
.accordion-selected {
  background-color: #e1e1e1;
  background-image: url('../img/admin/arr_s_u_bl.png');
}
.accordion_body {
  border: 1px solid #ccc;
  padding: 10px;
}



/* side_accordion */
#left-sidebar .accordion {
  border-right: none;
  border-left: none;
  border-bottom: none;
  background-color: #34495e;
  color: #fff;
  background-image: url('../img/admin/icon_plus_wh.png');
  background-size: 9px 9px;
  /*padding: 14px;*/
  padding: 0 14px;
  font-size: 14px;
  height: 50px;
  line-height: 50px;
}
#left-sidebar ul li:last-child .accordion{
  border-bottom: 1px solid #ccc;
}
#left-sidebar ul li:last-child .accordion_body ul li:last-child{
  border-bottom: 1px solid #ccc;
}
#left-sidebar .accordion-selected {
  background-color: #34495e;
  background-image: url('../img/admin/icon_minus_wh.png');
  background-size: 9px 9px;
  color: #fff;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #34495e;
}
#left-sidebar .accordion_body {
  border: none;
  background-color: #e6ecf0;
}
