@import url(https://fonts.googleapis.com/earlyaccess/notosansjapanese.css);

/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html, body, button, input, select, textarea {
    color: rgb(105, 105, 105);
}
html {
    height: 100%;
	font-size: 1em;
	/*line-height: 1.4;*/
	line-height: 1.8;
	font-family: Quicksand, 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	position: relative;
	min-height: 100%;
}
body{
	margin: 0px auto;
	padding: 0;
	margin-bottom: 2em;
    height: 100%;
    /*overflow-y: hidden;*/
    overflow: hidden;
}
/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */
::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}
::selection {
    background: #b3d4fc;
    text-shadow: none;
}
/*
 * A better looking default horizontal rule
 */
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}
/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */
audio, canvas, img, video {
    vertical-align: middle;
}
/*
 * Remove default fieldset styles.
 */
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}
/*
 * Allow only vertical resizing of textareas.
 */
textarea {
    resize: vertical;
}
/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */
.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
#wp{
  width: 100%;
  margin: 0px auto;
  padding: 0;
}
#global-header{
  position: absolute;
  left: 0px;
  top:0px;
  width: 100%;
  height: 60px;
  display: block;
  margin: 0;
  padding: 0;
  background-color: #fff !important;
  border-bottom: 1px solid #e3e3e3!important;
   -webkit-animation-duration: 0.5s;
   animation-duration: 0.5s;
   -webkit-animation-fill-mode: both;
   animation-fill-mode: both;
   font-family: 'Noto Sans Japanese', serif;
}
.scrollHeader{
  position: fixed !important;
  left: 0px;
  top:0px;
  z-index: 1000;
  border-bottom: 1px solid #e3e3e3!important;
  box-shadow: 0 0 5px #cacaca;
   -webkit-animation-name: headerShrink;
   animation-name: headerShrink;
}
@-webkit-keyframes headerShrink {
 0% {
  opacity: 0;
  -webkit-transform: translate3d(0, -100%, 0);
  transform: translate3d(0, -100%, 0);
 }
 100% {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
 }
}
@keyframes headerShrink {
 0% {
  opacity: 0;
  -webkit-transform: translate3d(0, -100%, 0);
  -ms-transform: translate3d(0, -100%, 0);
  transform: translate3d(0, -100%, 0);
 }
 100% {
  opacity: 1;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
 }
}
.admin-header{
	border-bottom: 2px solid #A48744;
	height: 44px;
}
.header-img{
    background-image: url(/img/UPC-Logo.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    width: 180px;
    height: 40px;
    margin: 0px 0 0px 15px;
    display: inline-block;
}
.header-user{
    background-color: #D9D9D9;
    color: #7F7F7F;
    cursor: auto;
    position: absolute;
    right: 0;
    margin: 4px 8px;
    border-radius: 50%;
    padding: 2px;
    width: 32px;
    height: 32px;
    font-size: 12px;
    display: inline-block;
    text-align: center;
    line-height: 32px;
}
/*
.header-user li {
    height: 0;
    overflow: hidden;
    transition: .5s;
}
.header-user li a {
    border-top: 1px solid #eee;
}
.header-user:hover > ul > li {
    height: 2rem;
    overflow: visible;
}
*/
.header-user ul{
    display: table-row;
	/*デザイン*/
    background-color: #D9D9D9;
    color: #7F7F7F;
    width: 88px;
	align-items: center;
	padding-left: 0px;
	/*配置*/
	position: absolute;
	top: 16px;/*#menu divの高さ*/
	right: 0;
    border-radius: 8px;
	list-style: none;
	display: none;
}
.header-user li{
    display: inline-table;
	/*配置*/
	pointer-events: auto;
}
.header-user button{
    background: none;
    border: none;
    color: #7F7F7F;
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: 12px;
}
.header-user button:focus {
    outline: none;
}
.header-user:hover ul{
    height: 2rem;
    overflow: visible;
    display: block;
}
#contents{
  margin: 50px auto 0 auto;
  padding: 0 0 80px 0;
}
#contents > .container{
  width: 980px;
  margin: 0 auto;
  padding: 0;
}
#contents .w100{
  width: 100%;
}
#contents .w480{
  width: 480px;
}
#contents .w560{
  width: 560px;
}
.msg {
	font-size: 13px;
	font-weight: bold;
	color: #EA2F2F;

    display: flex;
    align-items: center;
    padding-left: 5px;
    min-width: 100px;
}
.center-msg {
	font-size: 13px;
	font-weight: bold;
	color: #EA2F2F;

    display: flex;
    justify-content: center;
    align-items: center;
}
.body_full {
	width: 100%;
	margin: auto;
	display: flex;
	flex-direction: row;
	/*height: 94%;*/
	height: 100%;
}
.menu {
	display: inline-block;
	width: 14%;
	height: auto;
	background-color: #595959;
}
.menu ul {
	list-style: none;
	padding-left: 0px;
	margin: 0;
	font-size: 14px;
}
/*
.menu li {
	padding: 16px;
}
*/
.menu li a {
    display: block;
    padding: 16px;
    padding-left: 24px;
}
.menu-item-active {
    background-color: rgba(105, 105, 105,0.8);
}
.menu a {
	cursor:pointer;
	color: #fff;
	padding-left: 8px;
	text-decoration: none;
}
.content {
	float: right;
	width: 86%;
    background-color: #F2F2F2;
}
.content > form {
	height: 100%;
}
.content-inner {
    /* display: table; */
    width: 96%;
    margin: 0px auto;
    padding: 16px 0 16px 0;
    background-color: #fff;
    border-radius: 8px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 76%;
}
.content_title {
/*
    margin: 12px auto 8px auto;
    font-weight: bold;
    font-size: 20px;
    width: 100%;
*/
    font-weight: bold;
    font-size: 18px;
    background-color: #F2F2F2;
    padding: 8px 24px;
    box-sizing: border-box;
    float: left;
}
.content_sub_title {
	margin: 6px 0 6px 25px;
	color: #696969;
	font-weight: bold;
	font-size: 15px;
}
.content_value {
	margin: 0 0 15px 35px;
}
.content_btn {
	text-align: center;
	margin: 30px auto 20px auto;
}
.content_left {
	display: inline-block;
	width: 28%;
	box-shadow:2px 1px 4px -2px rgba(0, 0, 0, 0.5);
	border-bottom: 1px solid #e8e8e8;
}
.content_right {
	width:72%;
	/* max-height: 640px; */
	float:right;
	background-color: #F2F2F2;
	height: 700px;
	overflow-y: scroll;
	overflow-x: hidden;
}
/*bootstrap*/
.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent
}
/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Image replacement
 */
.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}
.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}
/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */
.hidden {
    display: none !important;
    visibility: hidden;
}
/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */
.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}
/*
 * Hide visually and from screenreaders, but maintain layout
 */
.invisible {
    visibility: hidden;
}
/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}
.clearfix:after {
    clear: both;
}
/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.clearfix {
    *zoom: 1;
}
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}
@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}
/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a, a:visited {
        text-decoration: underline;
    }
    a[href]:after {
        content: " (" attr(href) ")";
    }
    abbr[title]:after {
        content: " (" attr(title) ")";
    }
    /*
     * Don't show links for images, or javascript/internal links
     */
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }
    pre, blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group; /* h5bp.com/t */
    }
    tr, img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    @page {
        margin: 0.5cm;
    }
    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }
    h2, h3 {
        page-break-after: avoid;
    }
}
