/* PC時 */

/* 既存CSSの打消し in-height:指定を打消し*/
@media screen and (min-height: 620px){
  .login-left, .login-right{
    height: auto;
  }
}

@media screen and (min-width: 980px) {
  /* 既存CSSの打消し　Login関連要Menu　画像　Footter非表示 */
  div#cms-header{
    display: none;
  }
  div#sp-login-image{
    display: none;
  }
  div#sp-footer{
    display:none;
  }


  /* 画面残体　左側 ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
  div.login-left{
      height: auto;
  }

  /* 画面残体　右側 ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
  div.login-right{
    height: 100%;
  }

  /* 右側　言語 */
  ul.login-lang-select{
    position: static;
    height: 4%;
    width: 100%;
    margin: 0;
    padding: 24px 12px;
    box-sizing: border-box;
  }

  /* 言語の他要素全部 */
  div.login-main{
    display: block;
    height: auto;
    margin: 0 auto 24px;
  }

  /* 入力欄全体 */
  div.login-main div#cms-form-login{
    padding: 12px 48px 48px;
  }
  div.login-main div#cms-form-login.cms-contents-wrap{
    margin-bottom: 12px;
  }
  /* 入力欄 中身 */
  .login-input-area{
    margin-bottom: 16px;
  }
  .login-input-area label[for="login_id"]{
    margin-bottom: 8px !important
  }
  .login-input-area label[for="password"]{
    margin-bottom: 8px !important
  }
  .login-forget-password{
    margin-bottom: 12px;
  }

  /* 補助文言 */
  div.login-main .m4-b.alert-simple-danger{
    font-size:14px;
    line-height:21px;
  }
  div.login-main .m4-b.alert-simple-danger + p{
    font-size:14px;
    line-height:21px;
  }
  div.login-main .m4-b.alert-simple-danger + p a{
		font-size:14px;
		line-height:21px;
  }

  .area-qr + p,
  .area-qr + p a{
		font-size:14px;
		line-height:21px;
  }

  /* ToSP　QRCode */
  /* 全体 */
  .area-qr{
    display: block;
    width: 100%;
    padding: 36px 0 36px;
  }
  /* 見出し */
  .area-qr p.tit-qr{
    font-weight:bold;
    font-size: 18px;
    margin: 0 0 8px;
    text-align: center;
  }
  /* Code部 外形*/
  .area-qr #img-qr{
    display: table;
    width: 332px;
    padding: 12px 0;
    margin: 0 auto;
    box-sizing: border-box;
    background-color: white;
  }
  /* Code部 */
  .area-qr #img-qr canvas{
    display: block;
    margin: 0 auto;
    padding:12px;
    border:solid 1px #333;
    background-color:white;
  }
  /* 説明 */
  .area-qr .desc-qr{
    display: table;
    width: 332px;
    margin: 0 auto;
    padding: 0 24px 12px;
    box-sizing: border-box;
    background-color: white;
    font-size: 12px;
    line-height: 18px;
    font-weight: normal;
    word-break: break-all;
    word-wrap: break-word;
  }

  div.login-right #footer{
    display: block;
    position: static;
    height: 4%;
    width: 100%;
    padding: 12px 0;
  }

}


/* TAB　SP 時 */
@media screen and (max-width: 979px) {

  /* 全体　初期化 */
  html {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    scroll-behavior: smooth;
  }

  * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  html body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  html body:not(.siteinit) #cms-menu + #cms-main {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }


  /*Login Sp HeaderMenu */
  #cms-header {
    min-height: 72px;
    height: auto;
    width: 100%;
    position: fixed;
    top: 0;
  }

  #cms-header div.header-inner {
    padding: 12px 12px;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  #cms-header div.header-Area {
    width: 100%;
    float: none;
    display: flex;
    margin: 0;
    margin-bottom: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  #cms-header div.header-Area img {
    width: 144px;
    max-height: 100%;
    padding: 0;
    margin: 0 0 0 12px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  div.login-left{
    display: none;
  }
  div#cms-form-login legend{
    display: none;
  }
  div#footer{
    display: none;
  }

  div.login-right{
    width: 100%;
    height: 100%;
    padding-top: 152px;
    padding-bottom: 20px;
  }

  /* 言語 */
  ul.login-lang-select{
    top:16%
  }
  
  div.login-main{
    width: 100%;
  }

  div.login-main .login-input-area label{
    font-weight: bold;
  }

  div#cms-form-login{
    width: 100%;
    padding: 12px;
  }
  
  div#cms-form-login form{
    width: 100%;
  }

  /* 入力部枠内 */
  #cms-form-login .input-text-std{
    height: 40px;
  }
  /* 枠内部　文言 */
  div.login-main p.cms-link-text{
    width: auto;
    margin: 12px;
  }

  /* 文言 */
  p.m4-b.alert-simple-danger{
    margin: 0 12px;
  }
  p.m4-b.alert-simple-danger + p{
    margin: 0 12px;
  }

  /* ToSP　QRCode */
  /* 全体 SP時消去*/
  .area-qr{
    display: none;
  }

  /* SP Image */
  div#sp-login-image{
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  /*SP Footer */
  div#sp-footer{
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 10;
    background-color: #888;
  }

  
}
/* @media screen and (max-width: 979px)  END*/