@charset "utf-8";

:root {
    --bg-color-base: #F6F6F6; /* 全体の背景色 */
    --txt-color-base: #414141;
    --txt-color-dark-purple: #754E74;
    --main-color: #131C3D;
    --sub-color: #BA81B6;
    --box-border-color: #A5A5A5;
    --btn-hover-base: #F4F5F9;
    --btn-hover-border: solid 1px #936992;
    --btn-disabled-base: #E7E7E7;
    --btn-disabled-txt: #757575;
}

* {
    font-family: 'Meiryo, メイリオ, Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3',  sans-serif;
    font-size: 14px;
    color: var(--txt-color-base);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    position: relative;
    margin-bottom: 100px;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    background-color: var(--bg-color-base);
}

header {
    text-align: right;
    padding: 17px 22px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    border-bottom: solid 1px #A5A5A5;
    display: flex;
    justify-content: space-between;
    position: fixed;
    width: 100%;
    z-index: 10;
}

.utilityNav {
    display: flex;
}

.utilityNav li:not(:last-child) {
    padding: 0 20px;
    border-left: solid 1px #a5a5a5;
}

.utilityNav li:last-of-type {
    border-left: none;
}

.leftIcon {
    vertical-align: middle;
    margin-right: 5px;
}

a {
    color: var(--txt-color-dark-purple);
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul li {
    list-style-type: none;
}

.wrapper {
    height: 100%;
    background-color: var(--bg-color-base);
/*    padding-top: 10%;*/
   position: relative;
}

::placeholder {
    color: #a5a5a5;
    font-size: 12px;
}

.errorMsg {
    color: #e34850;
    font-size: 12px;
    width: 280px;
    margin: 0 auto;
    text-align: left;
}

.contentBox {
    width: 380px;
    min-height: 400px;
    background-color: #FFFFFF;
    box-shadow: 5px 5px 15px 5px rgba(209, 207, 203, 0.5);
    border-radius: 5px;
    padding: 20px 30px;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    margin: 0 auto; /* 画面の高さが小さいとき用 */
}

h1 {
    margin: 45px 0;
    font-size: 16px;
}

/* button のデフォルトのスタイルを打消し */
button {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

input[type=button] {
    cursor: pointer;
}

/* select の基本デザイン */
select {
    border: solid 1px var(--box-border-color);
    border-radius: 3px;
    min-height: 30px;
    padding: 8px 5px;
    font-size: 12px;
    background-color: #fff;
    cursor: pointer;
}

.prevMethod select {
    width: 95px;
    text-overflow: ellipsis;
}

option {
    font-size: 12px;
    padding: 8px 5px;
}

/* チェックボックスの基本デザイン */
input[type=checkbox] {
    width: 15px;
    margin: 0 15px;
}

/* ラジオボタンの基本デザイン */
input[type=radio] {
    width: 15px;
    margin: 0 15px;
}

label {
    cursor: pointer;
}

.logoTitle {
    font-weight: bold;
    font-size: 22px;
    text-align: center;
}

/* CSSアニメーション */
.walking {
    animation: upDown 1s linear infinite;
}

@keyframes upDown {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(3px);
    }
    100% {
        transform: translateY(0);
    }
}

.roop {
    width: 100%;
    background: url('../image/bg_kyoto.png') repeat-x bottom center;
    background-position: center center;
    -webkit-animation: bgroop 20s linear infinite;
    animation: bgroop 20s linear infinite;
}

@keyframes bgroop {
    from {
        background-position: 0 center;
    }
    to {
        background-position: 959px center;
    }
}

/* 接続できるようになりました画面ここから */
.connectInfoTable {
    background-color: #fff;
    padding: 18px;
    /*margin-bottom: 35px;*/
    width: 100%;
    text-align: left;
}

.connectInfoTable th,
.connectInfoTable td {
    padding: 8px;
    font-size: 16px;
    font-weight: bold;
}
/* 接続できるようになりました画面ここまで */

/* 待ち画面ここから */
.waitingContentsWrapper {
    max-width: 1024px;
    min-width: 600px;
    padding: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.waitingContents {
    margin: 2em 3em;
}

.waitingContentsLeft {
    width: 40%;
    margin: 0 8% 0 2%;
    min-height: 247px;
}

.waitingContentsRight {
    width:60%;
    max-width: 413px;
    text-align: center;
}

.waitingContentsRight img {
    width: 100%;
}

.waitingContentsTitle {
    font-size: 1.8em;
    text-align: center;
    margin: 10% 0;
}

.waitingContentsDesc {
    line-height: 2;
    height: 60px;
}

.watingTime {
    font-size: 2.5em;
    font-weight: bold;
    margin-top: 5%;
    text-align: center;
}

/* 見出し下の説明文 */
.instruction {
    text-align: center;
    margin-top: 45px;
}

.content {
    text-align: center;
    max-width: 280px;
    margin: 0 auto;
}

.loginData {
    margin: 10px auto;
    text-align: center;
}

.loginData input {
    border: solid 1px #e7e7e7;
    border-radius: 3px;
    height: 40px;
    width: 280px;
    padding: 10px 15px;
}

.centerBtnWrapper { /* 中央寄せのボタン */
    text-align: center;
}

.submitBtn, .cancelBtn {
    display: inline-block;
    text-align: center;
    min-width: 135px;
    min-height: 35px;
    border-radius: 5px;
    padding: 8px 28px;
    margin: 35px 5px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
}

.submitBtn {
    background-color: var(--main-color);
    color: #fff;
}

.cancelBtn {
    background-color: #fff;
    border: solid 1px #e7e7e7;
    color: var(--txt-color-base);
}

.submitBtn:hover {
    opacity: 0.7;
}

.cancelBtn:hover {
    border: solid 1px var(--box-border-color);
    color: #a5a5a5;
}

.submitBtn:disabled {
    background-color: var(--btn-disabled-base);
    color: var(--btn-disabled-txt);
    cursor: default;
    border: none;
    opacity: 1;
}

/* 管理者画面切り替えボタン */
.smallBtn {
    display: inline-block;
    text-align: center;
    min-height: 24px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    color: #131C3D;
}

.smallBtn:hover {
    opacity: 0.7;
}

.smallBtn:disabled {
    background-color: var(--btn-disabled-base);
    color: var(--btn-disabled-txt);
    cursor: default;
    border: none;
    opacity: 1;
}

/* 環境選択画面 */
.mainBtn {
    display: block;
    width: 280px;
    background-color: #fff;
    border: solid 1px var(--box-border-color);
    text-align: left;
    padding: 14px 10px;
    margin: 10px auto;
    border-radius: 3px;
    cursor: pointer;
}

.mainBtn.selected,
.mainBtn:hover {
    color: var(--txt-color-dark-purple);
    background-color: var(--btn-hover-base);
    border: var(--btn-hover-border);
}

.mainBtn.selected {
    font-weight: bold;
}

.subBtn {
    display: block;
    width: 280px;
    background-color: #fff;
    border: solid 1px #fff;
    text-align: left;
    padding: 14px 10px;
    margin: 10px auto;
    border-radius: 3px;
    cursor: pointer;
}

.subBtn.selected,
.subBtn:hover {
    border: solid 1px #936992;
    color: #936992;
    background-color: #f4eff4;
}

.subBtn.selected {
    font-weight: bold;
}

.reconnectBox {
    width: 435px;
}

.recContent {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
}

.reconnectBtn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.prevInfo {
    width: 270px;
}

.prevOS {
    display: block;
    font-weight: bold;
    color: #936992;
    margin-right: 15px;
}

.prevDetail {
    display: block;
    font-size: 12px;
    margin-right: 15px;
}

.prevMethod {
    font-size: 12px;
    text-align: right;
    white-space: nowrap;
    max-width: 270px;
}

.rightText,
.rightText a {
    text-align: right;
    font-size: 12px;
}

.horizontalLine {
    font-size: 12px;
    position: relative;
    width: 280px;
    margin: 45px auto 0 auto;
}

.horizontalLine:before,
.horizontalLine:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 100px;
  height: 1px;
  background-color: #e7e7e7;
}

.horizontalLine:before {
  left:0;
}

.horizontalLine:after {
  right: 0;
}

small {
    display: inline-block;
    margin: 15px 0 0 5px;
}

/* disabled ボタンに出てくるツールチップ */
.tooltip {
    display: inline-block;
    font-size: 12px;
    padding: 10px 20px;
    border-radius: 5px;
    background: #f4eff4;
    position: relative;
}

.tooltip:after {
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 10px;
    width:0;
    height:0;
    border-style:solid;
    border-width: 13px 22.5px 13px 0;
    border-color: transparent #f4eff4 transparent transparent;
    pointer-events: none;
    content: " ";
}

/* モーダル共通 */
#overlay {
    z-index: 11;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-color:rgba(83,83,83,0.7);
}

.modalContents {
    display: none;
    z-index:12;
    max-width: 435px;
    position: fixed;
    top: 20%;
    left: 0;
    right: 0;
    margin: auto;
    background-color: #fff;
    padding: 20px  30px;
    text-align: center;
    border: solid 1px #e7e7e7;
    border-radius: 3px;
}

.modalTitle {
    font-size: 16px;
    font-weight: bold;
}

/* 環境削除のモーダル */
.modalForm {
    margin: 0 auto;
}

.delCheck {
    width: 100%;
}

.delCheck li {
    display: flex;
    padding: 14px 0;
    border-bottom: solid 1px #e7e7e7;
}

.delCheck li:first-child {
    border-top: solid 1px #e7e7e7;
}

.delCheck li:hover {
    background-color: #f4eff4;
}

.delCheck label {
    width: calc(100% - 45px ); /* margin + width */
    display: flex;
    align-items: center;
}

.delCheck label span {
    width: 50%;
    text-align: left;
}

.delCheck label .delOS {
    font-weight: bold;
    padding: 0 10px;
}

.delCheck label .date {
    font-size: 12px;
    padding: 0 10px;
}

.deleteOne {
    visibility: hidden;
}

/* OK ボタンのあるモーダル */
#alertModal {
    max-width: 680px;
}

/* 接続中モーダル */
#connectingModal {
    top: 40%;
}

.modalText {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.infoTable {
    max-width: 400%;
    margin: 45px auto 0 auto;
    text-align: left;
}

.infoTable th {
    margin: 10px 0;
    font-weight: normal;
    width: 6em;
}

@media (max-height: 715px) {
   /* 高さ900px以下の場合 */
}