﻿
/* reset
========================================================================== */

body, h1, h2, h3, h4, h5, h6, div, p, ul, ol, li, dl, dt, dd, table, tr, thead, tbody, tfoot, th, td,header, footer, nav, article, aside, section, figure, figcaption {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

article, aside, details, figcaption, figure, footer, header, main, nav, section {
  display: block;
}

select, option, input, button, label, textarea {
  line-height: 1;
}

input {
  vertical-align: middle;
}

ol, ul {
  list-style: none;
}

em {
  font-style: normal;
}

table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

table th,
table td {
  word-break: break-all;
}

img,
a img {
  border: none;
}

img {
  vertical-align: top;
  font-size: 0;
  line-height: 0;
}

:root * {
  box-sizing: border-box;
}

a {
  word-wrap: break-word;
}

input, button, textarea, select {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-weight: 100;
  font-family: inherit;
}

textarea {
  resize: none;
}

select::-ms-expand {
  display: none;
}

select::-ms-value {
  color: currentColor;
  background: none;
}

input::-ms-clear,
input::-ms-reveal {
  display:none;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance:textfield;
}

/* placeholder */
textarea::placeholder,
input::placeholder {
  color: #A6A6A6;
  font-weight: normal;
}

/* iPhone */
input::-webkit-input-placeholder {
  line-height: 1.6;
}

@font-face{ 
  font-family: 'mplus-2p-light';
  src: url('../font/mplus-2p-light.woff') format('woff');
}

@font-face{ 
  font-family: 'mplus-2p-bold';
  src: url('../font/mplus-2p-bold.woff') format('woff');
}

@font-face {
  font-family: 'Amiri';
  font-style: normal;
  font-weight: 400;
  src: url('../font/Amiri-Italic.woff') format('woff');
}

html, body{
    font-family: "mplus-2p-light", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
    min-width: 1370px;
}

body {
    background: #262626;
}

.content {
    display: flex;
}

footer span {
    position: fixed;
    left: 28px;
    bottom: 22px;
    color: #848484;
    font-size: 9px;
}

footer img {
    position: fixed;
    right: 20px;
    bottom: 20px;
}

/* content
========================================================================== */

/*-- nav_main --*/
.nav_main {
    height: 40px;
    overflow: hidden;
    background: #353535;
    position: relative;
}

.nav_main ul {
    display: flex;
}

.nav_main ul li {
    display: flex;
}

.nav_main ul li + li {
    border-left: 1px solid #262626;
}

.nav_main > div ,
.nav_main ul li div {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 12px;
    font-size: 12px;
    color: #ffffff;
    background: #434343;
    cursor: pointer;
}

.nav_main > div:hover,
.nav_main ul li div:hover {
    opacity: 0.7;
}

.nav_main ul li div.is_active {
    background: #ff0000;
}

.nav_main > div img,
.nav_main ul li div img {
    margin-right: 8px;
}

.nav_main > div {
    position: absolute;
    top: 0;
    right: 0;
}

/*-- nav_aside --*/
.nav_aside {
    margin-top: 27px;
    width: 68px;
}

.nav_aside li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    width: 100%;
    height: 68px;
    cursor: pointer;
    background: #000000;
    position: relative;
}

.nav_aside li span {
  visibility: hidden;
  opacity: 0;
  background: #dcdcdc;
  position: absolute;
  bottom: 6px;
  left: 55px;
  padding: 2px 0 1px 0;
  font-size: 11px;
  text-align: center;
  color: #080808;
  font-family: 'mplus-2p-bold';
  transition: all 0s linear 0s;
}

.nav_aside li:nth-of-type(1) span {
  width: 114px;
}

.nav_aside li:nth-of-type(2) span {
  width: 124px;
}

.nav_aside li:nth-of-type(3) span,
.nav_aside li:nth-of-type(5) span {
  width: 78px;
}

.nav_aside li:nth-of-type(4) span {
  width: 55px;
}

.nav_aside li:nth-of-type(6) span {
  width: 67px;
}
.nav_aside li:nth-of-type(7) span {
  width: 134px;
}

.nav_aside li:nth-of-type(8) span {
  width: 101px;
}

.nav_aside li:nth-of-type(9) span {
  width: 67px;
}

.nav_aside li:hover {
    opacity: 1;
}

.nav_aside li:hover span {
  visibility: visible;
  opacity: 1;
  transition: all .3s linear .5s;
}

.nav_aside li.is_active {
  background: #ff0000;
}

.nav_aside_ttl {
    padding: 2px;
    width: 100%;
    font-size: 0;
    background: #434343;
}

/* box_canvas */
.box_canvas {
    overflow: hidden;
    height: calc(100vh - 40px);
    width: calc(100% - 268px);
    min-height: 591px;
    user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.box_canvas_outer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.box_canvas_inner {
    position: absolute;
}

.box_canvas_inner .canvas_line01,
.box_canvas_inner .canvas_line02,
.box_canvas_inner .canvas_line03,
.box_canvas_inner .canvas_line04 {
    display: block;
    position: absolute;
    z-index: 1;
}

.box_canvas_inner .canvas_line01,
.box_canvas_inner .canvas_line03 {
    width: 100%;
    height: 4px;
    left: 0;
}

.box_canvas_inner .canvas_line01:hover,
.box_canvas_inner .canvas_line03:hover {
    cursor: row-resize;
}

.box_canvas_inner .canvas_line02,
.box_canvas_inner .canvas_line04 {
    height: 100%;
    width: 4px;
    top: 0;
}

.box_canvas_inner .canvas_line02:hover,
.box_canvas_inner .canvas_line04:hover {
    cursor: col-resize;
}

.box_canvas_inner .canvas_line01 {
    top: -2px;
}

.box_canvas_inner .canvas_line02 {
    left: calc(100% - 2px);
}

.box_canvas_inner .canvas_line03 {
    top: calc(100% - 1px);
}

.box_canvas_inner .canvas_line04 {
    left: -3px;
}

/* option */
.option {
    margin-top: 27px;
    width: 202px;
}

.box_option {
    border: 1px solid #686868;
}

.box_option + .box_option {
    margin-top: 15px;
}

.box_option:last-child {
    margin-top: 8px;
}

.box_option_ttl {
    display: flex;
    align-items: center;
    padding-left: 5px;
    height: 18px;
    line-height: 1;
    background: #686868;
    color: #ffffff;
    font-size: 10px;
}

.box_option_ttl img {
    margin-right: 5px;
}

.box_option_content {
    padding: 7px;
    background: #434343;
}

.btn_save {
    display: flex;
    align-items: center;
    padding-left: 40px;
    height: 35px;
    cursor: pointer;
    color: #ffffff;
    font-size: 12px;
    position: relative;
}

.btn_save img {
    position: absolute;
    top: 50%;
    left: 10px;
    margin-top: -8px;
}

.btn_save:hover {
    opacity: 0.7;
}

.btn_save {
    margin: 0;
    background: #34355f;
}
.btn_save + .btn_save {
    margin: 7px 0;
    background: #6b3535;
}
.img_export {
    padding: 3px;
    background: #2f2f2f;
}

.img_export p {
    padding-top: 2px;
    text-align: center;
    color: #ffffff;
    font-size: 10px;
    line-height: 1;
}

.img_export ul {
    display: flex;
    margin-top: 5px;
}

.img_export ul li {
    display: flex;
    align-items: center;
    width: 50%;
    height: 31px;
    font-size: 12px;
    color: #ffffff;
    background: #565656;
    cursor: pointer;
    position: relative;
}

.img_export ul li:hover {
    opacity: 0.7;
}

.img_export ul li {
    padding-left: 32px;
}
.img_export ul li + li {
    margin-left: 1px;
    padding-left: 44px;
}

.img_export ul li img {
    position: absolute;
    top: 50%;
    left: 8px;
    margin-top: -7.5px;
}
.img_export ul li + li img {
    left: 10px;
    margin-top: -6px;
}

.box_option_select li + li {
    margin-top: 7px;
}
.box_option_select li {
    display: flex;
    align-items: center;
}
.box_option_select li > p {
    width: 54px;
    padding-left: 8px;
    font-size: 12px;
    color: #ffffff;
}

.box_select {
    position: relative;
    width: calc(100% - 54px);
    height: 31px;
    background: #2f2f2f;
}

.box_option_select_line .box_select {
    width: 100%;
}
.box_option_select_line + .box_option_select_line {
    margin-top: 1px;
}

.box_select:before {
    content: '';
    width: 5px;
    height: 5px;
    border: 0px;
    border-top: solid 1px #ffffff;
    border-right: solid 1px #ffffff;
    transform: rotate(135deg);
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -5px;
}

.box_select_ttl {
    cursor: pointer;
    height: 31px;
    padding-left: 10px;
    line-height: 31px;
    color: #ffffff;
    font-size: 12px;
    font-family: 'mplus-2p-bold';
}

/* is_disabled */
.box_option_select li.is_disabled {
  opacity: 0.4;
}
.box_option_select li.is_disabled .box_select_ttl {
  cursor: default;
}

.box_select_options {
    max-height: 220px;
    overflow-y: auto;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #686868;
    background: #2f2f2f;
    visibility: hidden;
    pointer-events: none;
    z-index: 10;
    font-family: 'mplus-2p-bold';
}

.box_select.is_open .box_select_options {
    visibility: visible;
    pointer-events: all;
}
.box_select.is_open .box_select_options.is_scroll {
    height: 100px;
    overflow-y: auto;
}

.box_select_option {
    position: relative;
    display: block;
    line-height: 28px;
    cursor: pointer;
    text-align: center;
    font-size: 12px;
    color: #ffffff;
    border-top: 1px solid #686868;
}

.box_select_option:hover {
    opacity: 0.7;
}
.box_select_color {
    display: inline-block;
    pointer-events: none;
    width: 94px;
    height: 17px;
    position: relative;
    top: 4px;
    border: 1px solid #626262;
}
.box_select_option_color {
    display: inline-block;
    pointer-events: none;
    width: calc(100% - 10px);
    height: 17px;
    position: relative;
    top: 4px;
    border: 1px solid #626262;
}


/* scroll */
.box_canvas .mCSB_scrollTools {
    width: 10px;
    opacity: 1;
}
.box_canvas .mCSB_inside>.mCSB_container {
    margin-right: 10px;
}
.box_canvas .mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar,
.box_canvas .mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar,
.box_canvas .mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.box_canvas .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    background: #bfbfbf;
}
.box_canvas .mCSB_scrollTools .mCSB_draggerRail,
.box_canvas .mCSB_scrollTools .mCSB_draggerContainer {
    background: #e5e5e5;
    border-radius: 16px;
}
.box_canvas .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    width: 10px;
}
.box_canvas .mCSB_scrollTools a+.mCSB_draggerContainer {
    margin: 10px 0 0 0;
}
.box_canvas .mCSB_container_wrapper>.mCSB_container {
    padding-right: 10px;
    padding-bottom: 10px;
}
.box_canvas .mCSB_container_wrapper {
    margin-right: 10px;
    margin-bottom: 10px;
}

/* bottom */
.box_canvas .mCSB_scrollTools.mCSB_scrollTools_horizontal {
    height: 10px;
}
.box_canvas .mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger .mCSB_dragger_bar {
    height: 10px;
    margin: 0 auto;
}
.box_canvas .mCSB_scrollTools.mCSB_scrollTools_horizontal a+.mCSB_draggerContainer {
    margin: 0 0 0 10px;
}
.box_canvas .mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_draggerRail {
    height: 10px;
    margin: 0;
}

/* loading */
.loading {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba(0,0,0, 0.7);
    z-index: 1000;
    visibility: collapse;
}
.loading.is_active {
    visibility: visible;
}
.loading_inner {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    margin: auto;
    width: 100px;
    height: 130px;
    text-align: center;
    color: #ffffff;
}
.loading_inner .loader,
.loading_inner .loader:after {
    border-radius: 50%;
    width: 10em;
    height: 10em;
}
.loading_inner .loader {
    margin: 0px auto 10px;
    font-size: 10px;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(255, 255, 255, 0.2);
    border-right: 1.1em solid rgba(255, 255, 255, 0.2);
    border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
    border-left: 1.1em solid #ffffff;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
