﻿@charset "utf-8";

/**
 * layout_common.css
 *
 * @since   2017/09/07
 * @version 2017/09/07
 */

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    margin-right: auto;
    margin-left: auto;
}

/**
 * ヘッタ・コンテンツ・フッタ 領域固定
 */

/** ヘッタ */
#header {
    background-color: rgb(255,255,220);
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.4);
    color: black;
    height: 32px;
    left: 0;
    line-height: 32px;
    padding: 8px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 20;
    width: 1000px;
    margin-right: auto;
    margin-left: auto;
}

#header-menu {
 display: flex;
 justify-content: flex-end;
 align-items: center;
}

#header-menu-sp {
    float: right;
    margin-right: 10px;
}

#header-menu .btn-gradient-3d-simple {
    padding: 0px;
}
/** コンテンツ領域 */
#contents-area {
  height: auto;
  min-height: calc(100% - 43px);
  padding-top: 43px;  /* header physical height (height + padding-top + padding-bottom) */
  position: relative;
}

#menu {
  margin: 0px;
  padding-left: 0px;
  min-width: 180px;
  background-color: #c0c0c0;
}

#main { /* main タグの方が正しいが、IE で認識できない */
  height: auto;
  min-width: calc(100% - 200px);
}

#search-dialog {
  min-width: auto;
  width: 700px;
}

#search-dialog.smart-phone {
  min-width: auto;
  width: 500px;
}

/** フッタ */
#footer {
  background-color: #45282d;
  bottom: 0;
  color: white;
  height: 24px;
  line-height: 24px;
  min-width: 910px;
  position: absolute;
  width: 100%;
}

/**
 * ヘッダ領域
 */

/** ロゴ領域 */
#header-logo-area {
  float: left;
  text-align: left;
  height: 100%;
}

/** ロゴ */
#header-logo {
  border: none;
}

/** ログイン情報領域 */
#header-login-info-area {
  float: right;
  height: 100%;
  text-align: right;
}

/** ユーザ名 */
#header-user-name {
    width: 125px;
    border: none;
    background: none;
    color: black;
    display: inline-block;
    margin: 0 0.5em;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
}

.header-menu-button {
    /*線の基点とするためrelativeを指定*/
    position: relative;
    display: inline-block;
    text-decoration: none;
    outline: none;
    vertical-align: middle;
    color: black;
    margin: 0 0.5em;
}

/* スマホ版メニューボタン */
#g-nav .header-menu-button {
    margin: 0;
}

/*hoverした際のボタンの形状*/
.header-menu-button:hover {
    color: black;
}

/*背景の設定*/
.borderleft::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
    height: 100%;
    width: 0;
    background: #f68696;
}

.borderleft:hover::before {
    width: 100%;
}

/*ローディング処理*/
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(230, 230, 230, 0.3);
    z-index: 9998;
}

#animation {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

/**
 * フッタ領域
 */

/** フッタデザイン */
#footer:before {
  content: '';
  background-color: #45282d;
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
  top: -4px;
}

/** コピーライト */
#footer-copyright {
  text-align: center;
}
