a.sm-logo {
    width: 140px;
    display: inline-block;
    margin: 0 auto;
}

nav {
	text-align: center;
    background: rgba(255,255,255,0.5);
    background: rgb(241 245 255 / 74%);

    background: rgb(227 231 243);
    position: relative;
}

a.hamb {
    left: 28px;
    width: 1.6em;
	line-height: 1;
	top: 20px;
	font-size: 17px;
}

a.logout {
    font-size: 15px;
    color: var(--space-color);
    position: absolute;
    right: 28px;
    vertical-align: middle;
    line-height: 1.3;
    transition: 0.2s;
}
a.logout:hover {
    transform: scale(0.96);
}

footer {
	margin: 0;
    background: rgb(227 231 243) !important;
    color: var(--space-color) !important;
}

.contact-action {
    min-height: 70vh;
}

.adminmain .container > h2 {
    margin-top: 0;
    margin-bottom: 40px;
}

.adminwrapper {
    display: flex;
    flex-direction: row;
    margin-top: 67px;
    min-height: 80vh;

    margin-top: 0;
}

ul.admin-sidebar {
    background: #f1f5ff;
    padding: 0;
    width: 260px;
    display: flex;
    flex-direction: column;
    padding: 0;
    list-style-type: none;
    margin: 0;
	padding-top: 40px;

    background: #e3e7f3;
    box-shadow: inset -25px 0 23px -17px rgba(0,0,0,0.01);
}

.adminmain {
    width: 880px;
    width: calc(100% - 260px);
}

.adminmain .container {
    margin: 38px 3vw 60px;
    /*margin: 0;*/
    box-shadow: 1px 8px 10px -6px rgb(11 49 142 / .1), 1px 18px 75px rgb(11 49 142 / .1);
    padding: 20px 35px;
}

ul.admin-sidebar li a {
    padding: 20px;
    display: block;
    color: var(--space-color);
    letter-spacing: 1px;
}

ul.admin-sidebar li a:hover {
    background: rgba(0,0,0,0.04);
    transform: scale(1);
}

ul.admin-sidebar li a.active {
    background: rgba(0,0,0,0.04);
    position: relative;

    box-shadow: 1px 3px 5px rgb(11 49 142 / .05), 1px 8px 34px rgb(11 49 142 / .05);
    background: rgba(255,255,255,0.2);
    border-top-right-radius: 88px;
    border-bottom-right-radius: 88px;
}


ul.admin-sidebar li a.active {
    box-shadow: none;
    background: rgba(255,255,255,0.9);

    background: #f1f5ff;
    border-radius: 0;
}

/*ul.admin-sidebar li a.active:after {
    content: '';
    display: block;
    position: absolute;
    width: 0px;
    height: 0px;
    border: 15px solid transparent;
    border-left-color: #e7ebf5;
    top: 31%;
    right: -30px;
    top: calc(50% - 15px);
}*/

nav ul {
	display: none;
}

table.pointer tbody tr {
	cursor: pointer;
}

.admin-table tbody tr:not(.detail):hover td {
    background: #f7f7f7;
}

tr.active {
	font-weight:bold;
}

tr.active td {
    background: #f7f7f7;
}

.table td {
	vertical-align: middle;
}

.admin-table tbody tr.detail {
	display: none;
    background: #f7f7f7;
    cursor: text;
}

.admin-table tbody tr.detail.show {
	display: table-row;
}

a {
	    line-height: 1;
}
.admin-table a:hover {
	text-decoration:underline;
}



@media (max-width: 978px) {
	ul.admin-sidebar {
		display: none;
	}

	.adminmain {
	    width: 100%;
	}

	a.sm-logo {
	    width: 100px;
	}

}

.adminmain .container > h2 {
    text-align: left;
}

section.adminmain {
	text-align: left;
    background: #f1f5ff;
}

.sort {
	cursor: grab;
	text-align: center;
	width: 1.4em;
	color: var(--space-color);
}

.space-new-btn {
    margin-bottom: 40px;
    font-size: 15px;
    padding: 4px 26px;
}

.flexforms {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.flexforms .contact-row {
    width: 33.333%;
    padding-right: 10px;
}

.flexforms.flexforms-news .contact-row {
    width: 50%;
}

.adminmain .contact-label {
    /*text-align: left;*/
    width: 120px;
}

.adminmain .contact-form {
    width: calc(100% - 120px);
}



p {
    line-height: 2;
    font-size: 19px;
    font-size: 15px;
}

.ql-editor {
	/*text-align: center !important;*/
}

.ql-toolbar.ql-snow {
    border-bottom-color: transparent !important;
    text-align: center;
}

.cmts {
    color: #848484;
    margin-bottom: 40px;
}

.contact-row.pageurlform.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before, .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before {
    color: var(--space-color);
    font-weight: normal;
    letter-spacing: 1px;
}


.container {
	box-shadow: none;
}

.ql-wrapper {
	box-shadow: 22px 88px 280px rgba(0,0,0,0.1), 2px 11px 13px rgba(0,0,0,0.03);
}

.ql-toolbar.ql-snow {
    border: none;
    background: #f5f5f5;
}

.ql-toolbar.ql-snow + .ql-container.ql-snow {
	border: 0;
	padding: 30px 0;
}

.ql-snow .ql-editor h3 {
    letter-spacing: 1.5px;
    font-size: 1.4em;
}

.ql-snow .ql-editor h2 {
    margin: 40px 0 60px;
        margin: 10px 0; 
}



.container.container-tr {
    padding: 0;
    box-shadow: none;
    background: transparent;
    margin-bottom: 0;
}

.container.container-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container-tr.container-head > h2 {
    margin: 0;
    margin-bottom: 0;
    font-size: 26px;
    letter-spacing: 2px;
}

.container-tr + .container {
    margin-top: 12px;
}

select {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    padding: 0;
    width: auto;
    background: #8c98b5;
    padding: 6px 23px;
    border-radius: 9px;
    color: #FFF;
    box-shadow: 1px 3px 4px rgb(11 49 142 / .15), 1px 8px 34px rgb(11 49 142 / .1);
    padding-right: 35px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Shin Go Regular';
}

.select-wrap {
    position: relative;
    transition:0.2s;
}

.select-wrap:after {
    content: '';
    position: absolute;
    pointer-events: none;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-top-color: #FFF;
    right: 16px;
    top: 11px;
}

.grid-wrap {
    display: grid;
    grid-template-columns: 50% 50%;
    /*grid-template-rows: 300px 180px 350px 300px 400px 300px;*/
    padding: 0 28px;
    margin-top: 12px;
    margin-bottom: -12px;
}

.grid-wrap.grid-wrap-ninchi {
    /*grid-template-columns: 25% 25% 25% 25%;*/
}

.grid-wrap > .container {
    margin: 7px 7px;
    padding: 14px 23px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

#radar_before {
    grid-row: 1;
    grid-column: 1;
}

#radar_after {
    grid-row: 1;
    grid-column: 2;
}

#steam_before {
    grid-row: 2;
    grid-column: 1;
}

#steam_after {
    grid-row: 2;
    grid-column: 2;
}

#yuui {
    grid-row: 3;
    grid-column: 1 / 3;
}

/*#stylekouka {
    grid-row: 4;
    grid-column: 1;
}

#kanren {
    grid-row: 4;
    grid-column: 2;
}*/

.grid-wrap.grid-wrap-style {
    grid-template-columns: 30% 30% 40%;
    grid-template-columns: 50% 50%;
}

#logs {
    grid-row: 5;
    grid-column: 1 / 3;
}

.grid-wrap .container > h3 {
    font-size: 16px;
    letter-spacing: 0;
    color: #99a9ca;
    text-align: left;

    background: #99a3b7;
    width: fit-content;
    color: #FFF;
    line-height: 1.5;
    padding: 0 11px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 8px;

    border: 2px solid #99a3b7;
    background: transparent;
    color: #99a3b7;

    border: none;
    padding: 0;
    font-size: 15px;
    color: #959dab;

    position: relative;
    top: -14px;
    left: -23px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    padding: 4px 15px;
    border-top-left-radius: 8px;
    background: #e8edfc;
    margin-bottom: -8px;
    color: #7c8a9a;
}

.container-head h3 {
    font-size: 19px;
    letter-spacing: 1px;
    color: #626e7f;
}

.container-tr.container-tr-sm {
    margin-top: 25px;
}

.container-tr-sm + .grid-wrap {
    margin-top: 0px;
    margin-bottom: 10px;
}

.grid-wrap + .grid-wrap {
    margin-top: 36px;
}

.ninchi {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ninchi > img {
    width: 120px;
    display: block;
    margin: 18px auto 10px;
}

.ninchi > b, .ninchi > h4 {
    font-size: 15px;
    letter-spacing: 0;
    margin: 0 0 5px;
}

.ninchi > p {
    line-height: 1.56;
    font-size: 12px;
    text-align: center;
    margin-bottom: 10px;
    font-family: 'Shin Go Regular';
}

a, .select-wrap, input {
    transition: transform 0.2s;
}

a:hover, .select-wrap:hover, input:hover {
    transform: scale(0.95);
}

.styleandkouka {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.grid-wrap-style canvas {
    margin-top: 12px;
}

.grid-wrap + .grid-wrap.grid-wrap-style {
    margin-top: 15px;
}



.bold {
    font-family: 'Roboto', 'Shin Go Bold', "Hiragino Sans", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", 'Noto Sans JP', メイリオ, Meiryo, "ＭＳ Ｐゴシック", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

table * {
    text-align: center;
    font-family: 'Roboto', 'Shin Go Regular', "Hiragino Sans", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", 'Noto Sans JP', メイリオ, Meiryo, "ＭＳ Ｐゴシック", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

table.table th.bgw {
    background: transparent;
}

table.table th {
    border-top: 0;
    background: #f4f7ff;
    font-family: 'Roboto', 'Shin Go Bold', "Hiragino Sans", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", 'Noto Sans JP', メイリオ, Meiryo, "ＭＳ Ｐゴシック", "Helvetica Neue", Helvetica, Arial, sans-serif;
    vertical-align: middle;
    color: #7c8a9a;
}

table.table th {
    border-bottom: 0;
}

table.table thead tr + tr th, table.table .bbd {
    border-bottom: 5px solid #FFF;
}

table.table .rbd {
    border-right: 5px solid #FFF;
}

table.table .lbd {
    border-left: 5px solid #FFF;
}

table td {
    border-top: 0;
}

table tr.minutestd td {
    /*font-size: 11px;*/
}

.select-wrap.fixed {
    position: fixed;
    left: 22px;
    bottom: 20px;
    z-index: 999999;
}

table + p.caption {
    font-size: 0.9em;
    text-align: right;
    margin-top: -14px;
    margin-bottom: 10px;
}

table.table tbody th {
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 1.4;
}

table.table tbody th span {
    font-size: 0.8em;
    font-family: 'Roboto', 'Shin Go Bold', "Hiragino Sans", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", 'Noto Sans JP', メイリオ, Meiryo, "ＭＳ Ｐゴシック", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

table tbody tr:hover {
    background: #f4f7fe;
}

table tbody tr:hover th {
    background: #e9ecf3;
}

table tbody tr td.rbd, table tbody tr th {
    border-right: 5px solid #FFF;
}

table.table tbody th[rowspan] {
    background: #FFF;
}

.pattern-wrap {
    position: relative;
}

.pattern-wrap span.xaxes, .pattern-wrap span.yaxes {
    position: absolute;
    top: 25px;
    left: 50px;
    right: 50px;
    height: 3px;
    background: #dbe0ff;
    top: calc(50% - 6px);
    z-index: 1;
    top: calc(50% - 35px);
    top: calc(39% - 3px);
}

.pattern-wrap canvas {
    z-index: 999;
    position: relative;
}

.pattern-wrap span.yaxes {
    height: auto;
    width: 3px;
    top: 18px;
    bottom: 25px;
    right: auto;
    left: calc(50% - 1px);
    left: calc(50% + 11px);
}

.pattern-wrap .top, 
.pattern-wrap .left, 
.pattern-wrap .right, 
.pattern-wrap .bottom {
    position: absolute;
    width: 4em;
    text-align: center;
    line-height: 1;
}

.pattern-wrap .top {
    left: calc(50% - 2em);
    top:0;
    left: calc(50% - 1.1em);
}

.pattern-wrap .bottom {
    left: calc(50% - 2em);
    bottom:6px;
    left: calc(50% - 1.1em);
}

.pattern-wrap .left {
    top: calc(50% - 0.8em);
    left:0;
    top: calc(50% - 2.9em);
    top: calc(52% - 2.9em);
}

.pattern-wrap .right {
    top: calc(50% - 0.8em);
    right:0;
    top: calc(50% - 2.9em);
    top: calc(52% - 2.9em);
}




.grid-wrap-poll h3 + p {
    margin: 0;
    font-size: 14px;
    width: fit-content;
    display: inline-block;
    font-family: 'Roboto', 'Shin Go Regular';
    line-height: 1.5;
    font-weight: normal;
}

.grid-wrap.grid-wrap-poll {
    grid-template-columns: 50% 50%;
}

.grid-wrap-poll > .container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.grid-wrap.grid-wrap-poll > .container > h3 {
    margin-bottom: 0;
    margin-right: 10px;
    top: 0;
    left: 0;
    border-radius: 4px;
    background: transparent;
    padding: 0;
    margin-bottom: 4px;
}

.videos-wrap {
    display: flex;
    flex-direction: row;
    width: 100%;
    overflow-x: scroll;
    margin-top: 9px;
    /* white-space: nowrap; */
}

.videos-wrap .video {
    display: flex;
    flex-direction: column;
    background: #f5f5f5;
    margin-right: 17px;
    border-radius: 6px;
    min-width: 200px;
    width: 200px;
}

.videos-wrap .video img {
    margin-bottom: 7px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.videos-wrap .video span {
    padding: 0 12px;
}

.videos-wrap .video span.steam {
    padding: 0 12px 12px;
    font-weight: bold;
    text-transform: uppercase;
    opacity: 0.5;
    text-align: right;
}

.videos-wrap .video span.type {
    color: #0e3fbd;
    font-size: 0.9em;
}

.videos-wrap .video span.title {
    font-weight: bold;
    font-family: 'Roboto', 'Shin Go Bold';
    margin-bottom: 4px;
}

.grid-wrap.grid-wrap-poll.grid-wrap-poll-special {
    grid-template-columns: 100%;
    margin-top: -10px;
    margin-bottom: -36px;
}

ul.poll-texts {
    padding: 0;
    height: 181px;
    overflow-y: auto;
    margin: 0;
    list-style-type: none;
    width: 100%;
    display: block;
}

.poll-texts li {
    padding: 5px 0;
    border-bottom: 2px solid #eee;
}

.grid-wrap-poll canvas {
    margin-top: 10px;
}

.grid-wrap-poll-special + .grid-wrap-poll + .grid-wrap-poll-special {
    margin-top: 13px;
}

.fixedmenu {
    position: fixed;
    left: 22px;
    bottom: 70px;
    z-index: 999999;
    width: 216px;
    height: 250px;
    background: rgba(255,255,255,0.8);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    box-shadow: 1px 4px 8px rgba(0,0,0,0.05), 2px 2px 47px rgba(0,0,0,0.05);
    height: 200px;
    overflow: auto;
    transition: 0.4s;
}

.fixedmenu:hover {
    background: rgba(255,255,255,1);
    height: 50vh;
    box-shadow: 1px 3px 7px rgba(0,0,0,0.075), 1px 18px 28px rgba(0,0,0,0.075), 1px 10px 40px rgba(0,0,0,0.075);
}

ul.links {
    padding: 0;
    list-style-type: none;
    margin: 0;
    margin: 20px;
    border-bottom: 2px solid #d4d8ec;
    padding-bottom: 5px;
}

ul.links a {
    width: 100%;
    display: block;
    padding: 8px 0px;
    color: #7986cb;
}

ul.links a:hover {
    color: var(--space-color);
    transform: initial;
}

.grid-wrap.grid-wrap-shikou {
    grid-template-columns: 20% 20% 20% 20% 20%;
}

span.shikou-disp {
    margin: 0 auto;
    display: block;
    width: 6em;
    text-align: center;
    padding: 3px 0px;
    background: #7583a0;
    margin: 9px auto 0;
    border-radius: 48px;
    color: #FFF;
}

.grid-wrap.grid-wrap-shikou > .container {
    justify-content: start;
}

.adminmain {
    padding-bottom: 80px;
}

.presets a {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    background: #eee;
    margin-right: 7px;
    margin-top: 7px;
}

.presets {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.presets a.active {
    background: var(--space-color);
    color: #FFF;
    box-shadow: 0px 2px 1px rgba(0,0,0,0.15);
}

.container.presets-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: -12px;
}

.container.presets-container h3 {
    font-size: 15px;
    letter-spacing: 0;
    padding: 10px 0;
    line-height: 1;
    margin-top: 6px;
    margin-right: 18px;
}

.container.presets-container {
    background: transparent;
    padding: 0;
    box-shadow: none;
    margin-top: 9px;
}

.presets a {
    background: #dbe3f7;
    /* box-shadow: 0px 2px 3px rgba(0,0,0,0.04); */
}

.fixedmenu .checks {
    padding: 0 20px 20px;
    font-size: 12px;
    margin-top: -10px;
    vertical-align: middle;
    line-height: 1;
}

.fixedmenu .checks b {
    display: block;
    margin-top: 7px;
}


@media screen and (max-width: 978px) {

    .grid-wrap * {
        grid-row: initial !important;
        grid-column: initial !important;
    }

    .grid-wrap {
        grid-template-columns: 100% !important;
    }

    #logs table.table {
        display: block;
        overflow-x: scroll;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .fixedmenu {
        height: 39px;
    }
}

.poll-texts li {
    background: #f7f7f7;
    padding: 7px 8px;
    border: 0;
    margin: 9px 0;
}

span.xaxes, span.yaxes {
    opacity: 0;
}

.pattern-wrap .topleft,.pattern-wrap .topright,.pattern-wrap .bottomleft,.pattern-wrap .bottomright {
    background: #dbf9e0 !important;
    width: 24%;
    height: 21%;
    position: absolute;
    top: 5%;
    left: 29%;
}

.pattern-wrap .topright {
    right: 22%;
    left: auto;
    background: #d9deff !important;
}

.pattern-wrap .bottomleft {
    top: 39%;
    height: 38%;
    background: #ffe3df !important;
}

.pattern-wrap .bottomright {
    top: 39%;
    right: 21.9%;
    left: auto;
    background: #f8dcff !important;
    height: 38%;
}

.pattern-wrap .bottomleft, .pattern-wrap .bottomright {
    top: 28%;
    height: 45%;
}

a.printlink {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    color: #FFF;
    background: #8c99b4;
    border-radius: 80px;
    box-shadow: 1px 3px 4px rgb(11 49 142 / 15%), 1px 8px 34px rgb(11 49 142 / 10%);
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
}