body {
    background: #fff;
    font-family: "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO" !important;
    margin: 0px;
}

header {
    position: relative;
    background-image: url("../image/block.png");
    display: inline-block;
    width: 100%;
    height: 112px;
}

/* ヘッダ　ロゴ */

header .logo {
    display: inline-block;
}

header .header_logo_size {
    position: absolute;
    width: 70px;
    top: 20px;
    left: 30px;
}

/* ヘッダ　タイトル */

header .title {
    position: absolute;
    top: 31px;
    left: 28px;
    width: 550px;
    font-size: 49px;
    display: inline-block;
    letter-spacing: 4px;
    /* 文字間 */
    color: #fff;
    text-shadow: 2px 2px 0px #00B7CE, -2px 2px 0px #00B7CE, 2px -2px 0px #00B7CE, -2px -2px 0px #00B7CE, 2px 0px 0px #00B7CE, 0px 2px 0px #00B7CE, -2px 0px 0px #00B7CE, 0px -2px 0px #00B7CE;
}

/* ヘッダ　ログインユーザー */

header .login_user {
    position: absolute;
    top: 20px;
    left: 120px;
    font-size: 22px;
    display: inline-block;
    font-weight: bold;
    color: #000;
    /* text-shadow: 2px 2px 0px #00B7CE, -2px 2px 0px #00B7CE, 2px -2px 0px #00B7CE, -2px -2px 0px #00B7CE, 2px 0px 0px #00B7CE, 0px 2px 0px #00B7CE, -2px 0px 0px #00B7CE, 0px -2px 0px #00B7CE; */
}

/* ヘッダ　アカウント登録 */

header .register {
    display: inline-block;
    margin-right: 15px;
}

header .profile {
    display: inline-block;
    margin-left: 10px;
    margin-right: 15px;
}

header .logout {
    display: inline-block;
    margin-left: 10px;
}

header .menu_list {
    position: absolute;
    display: flex;
    text-align: right;
    top: 38px;
    right: 31px;
}

header .menu {
    cursor: pointer;
    font-size: 23px;
    text-decoration: none;
    color: #fff;
    text-shadow: 2px 2px 0px #00B7CE, -2px 2px 0px #00B7CE, 2px -2px 0px #00B7CE, -2px -2px 0px #00B7CE, 2px 0px 0px #00B7CE, 0px 2px 0px #00B7CE, -2px 0px 0px #00B7CE, 0px -2px 0px #00B7CE;
}

/* ローディング */

.loadingWrap {
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    right: 0px;
    bottom: 0px;
    opacity: 0;
}

/* 共通メッセージ */

.message {
    margin: 5px 0px 10px 0px;
    padding: 5px;
    border: solid 2px #000;
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 15px;
    text-align: left;
}

.messageI {
    color: rgba(30, 37, 123, 1);
}

.messageW {
    color: DarkOrange;
    word-break: break-all;
}

.messageE {
    color: red;
}

.menu:hover {
    color: #fff;
}

/* ヘッダ下画面 */

article {
    display: flex;
}

/* サイドメニュー */

aside {
    background: #00B7CE;
    text-align: center;
    position: -webkit-sticky;
    /* Safari */
    position: sticky;
    top: 0;
    width: 271px;
}

aside div label {
    text-decoration: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    width: 100%;
    height: 90px;
    padding-left: 20px;
}

input[type="radio"][name="btnSide"] {
    display: none;
}

input[type="radio"][name="btnSide"]+label:before {
    content: "";
    display: inline-block;
    background-size: contain;
    width: 50px;
    height: 50px;
}

input[type="radio"][name="btnSide"]:checked+label {
    background-color: #e6c7a1;
    color: #00B7CE;
    width: 100%;
    height: 90px;
}

input[type="radio"][name="btnSide"][value="RentalList"]+label:before {
    background-image: url(../image/rental_list_off.png);
    background-repeat: no-repeat;
    margin-top: 17px;
    vertical-align: -17px;
}

input[type="radio"][name="btnSide"][value="RentalList"]:checked+label::before {
    background-image: url(../image/rental_list_on.png);
    margin-top: 17px;
    vertical-align: -17px;
}

input[type="radio"][name="btnSide"][value="RentalHistory"]+label:before {
    background-image: url(../image/rental_history_off.png);
    background-repeat: no-repeat;
    margin-top: 17px;
    vertical-align: -17px;
}

input[type="radio"][name="btnSide"][value="RentalHistory"]:checked+label::before {
    background-image: url(../image/rental_history_on.png);
    margin-top: 17px;
    vertical-align: -17px;
}

input[type="radio"][name="btnSide"][value="KizaiToroku"]+label:before {
    background-image: url(../image/add_kizai_off.png);
    background-repeat: no-repeat;
    margin-top: 17px;
    vertical-align: -17px;
}

input[type="radio"][name="btnSide"][value="KizaiToroku"]:checked+label::before {
    background-image: url(../image/add_kizai_on.png);
    margin-top: 17px;
    vertical-align: -17px;
}

input[type="radio"][name="btnSide"][value="KizaiList"]+label:before {
    background-image: url(../image/download_off.png);
    background-repeat: no-repeat;
    margin-top: 17px;
    vertical-align: -17px;
}

input[type="radio"][name="btnSide"][value="KizaiList"]:checked+label::before {
    background-image: url(../image/download_on.png);
    margin-top: 17px;
    vertical-align: -17px;
}

.menu_table_cell {
    text-align: left;
}

/* メニューロゴ */

.gazou_check {
    width: 53px;
}

.menu_logo_size {
    width: 53px;
    margin-right: 5px;
    display: inline-block;
}

/* コンテンツ */

.content {
    background-color: #5abedc;
    flex: 1;
    z-index: 0;
    text-align: center;
    /* グラデーション指定 */
    background: -moz-linear-gradient(to bottom, #5abedc, #d5ecdf 70%, #fff);
    background: -webkit-linear-gradient(to bottom, #5abedc, #d5ecdf 70%, #fff);
    background: linear-gradient(to bottom, #5abedc, #d5ecdf 70%, #fff);
    min-height: 85vh;
}

/* コンテンツの中のフレーム */

.content_frame {
    padding: 21px 29px;
    margin: 25px 30px 0px 30px;
    background: #fff;
    border-radius: 10px;
    /* グラデーション指定 */
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
}

/* コンテンツ内画像 */

.content_frame_image {
    position: fixed;
    bottom: 20px;
    right: 35px;
    z-index: -1;
    text-align: right;
}

.back_img {
    width: 65%;
}

/* メイン画面のタイトルヘッダ */

h2 {
    font-size: 40px !important;
    color: #fff;
    background: #00B7CE;
    position: relative;
    margin: 10px 0px 0 0px !important;
    padding: 10px 3px 10px 10px;
    text-align: left;
    /* 角設定 */
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
}

.h2_comment {
    display: inline-block;
    font-size: 21px;
    vertical-align: middle;
    height: 30px;
}

/* トグルスイッチデザイン */

.toggle_switch {
    display: inline-block;
    font-size: 60px;
}

.toggle_switch>input {
    display: none;
}

.toggle_switch>label {
    display: block;
    position: relative;
    width: 40px;
    height: 22px;
    border-radius: 10px;
    background-color: #7d7d7d;
    cursor: pointer;
    border: 1px solid #7d7d7d;
}

.toggle_switch>input:checked+label {
    background-color: #fcd3b8;
}

.toggle_switch>label::before {
    position: absolute;
    top: 0.05em;
    left: 0.05em;
    width: calc(20px - 0.1em);
    height: calc(20px - 0.1em);
    border-radius: calc(1em - 0.1em);
    background-color: #fff;
    transition: 0.5s;
    content: "";
}

.toggle_switch>input:checked+label::before {
    left: calc(100% - 20px + 0.05em);
}

/* フッター非表示 */

#footer-fix {
    display: none;
}

/* ページング */

.page-parent {
    justify-content: flex-end;
    text-decoration: none;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.page-child {
    background: #00B7CE;
    min-width: 40px;
    height: 60px;
    border-radius: 8px;
    margin: 5px 0px 0px 6px;
    z-index: 1;
    padding: 0px;
    font-size: 25px;
    font-weight: bold;
    line-height: 60px;
    letter-spacing: 0px;
    padding-right: 5px;
    cursor: pointer;
}

.page-child-left {
    background: #00B7CE;
    width: 40px;
    height: 60px;
    border-radius: 8px;
    margin: 5px 10px 0px 0px;
    z-index: 1;
    font-size: 24px;
    font-weight: bold;
    line-height: 60px;
    cursor: pointer;
}

.page-child-right {
    background: #00B7CE;
    width: 40px;
    height: 60px;
    border-radius: 8px;
    margin: 5px 0px 0px 15px;
    z-index: 1;
    font-size: 24px;
    font-weight: bold;
    line-height: 60px;
    cursor: pointer;
}

.page-font {
    text-decoration: none;
    color: #fff;
    margin: 0px -1px 0px 2px;
}

.page-font:hover {
    text-decoration: none;
    color: #fff;
}

.disabled {
    pointer-events: none;
}

.active {
    background-color: #fff;
    border: 2px solid #00B7CE;
    pointer-events: none;
    line-height: 55px;
}

.active>a {
    pointer-events: none;
    color: #00B7CE !important;
}

.active>a:hover {
    pointer-events: none;
    color: #00B7CE !important;
}

.validation {
    color: red;
    margin-bottom: 0px;
    text-align: left;
}

.errorArea {
    text-align: center;
}

.errorCode {
    font-size: 8pt;
}

.errorComment {
    font-size: 26pt;
    height: 150px;
    font-weight: bold;
    margin-top: 45px;
    color: #1e257b;
    text-align: center;
}

/* ボタンホバー */

a:hover, button:hover, input[type="button"]:hover, label[class^="file_input"]:hover, li[class*="page-child"]:hover {
    filter: brightness(130%);
}

/* iPadデザイン */

@media screen and (max-width: 1200px) {

    /* ヘッダタイトル */
    header .title {
        font-size: 41px;
    }

    header .menu {
        font-size: 17px;
    }

    header .menu_list {
        display: inline-block;
        text-align: right;
        top: 15px;
        right: 0px;
    }

    /* ヘッダ　アカウント登録 */
    header .register {
        display: block;
        height: 27px;
    }

    /* ヘッダ　プロファイル変更 */
    header .profile {
        display: block;
        margin-left: 0px;
        margin-right: 15px;
        height: 27px;
    }

    /* ヘッダ　ログアウト */
    header .logout {
        margin-left: 0px;
        margin-right: 15px;
        height: 27px;
    }

    /* サイドメニュー */
    aside {
        width: 150px;
    }

    aside div label {
        text-decoration: none;
        color: #fff;
        font-size: 14px;
        padding-left: 10px;
    }

    input[type="radio"][name="btnSide"]+label:before {
        width: 40px;
    }

    input[type="radio"][name="btnSide"][value="RentalList"]+label:before {
        margin-top: 23px;
        vertical-align: -23px;
    }

    input[type="radio"][name="btnSide"][value="RentalList"]:checked+label::before {
        margin-top: 23px;
        vertical-align: -23px;
    }

    input[type="radio"][name="btnSide"][value="RentalHistory"]+label:before {
        margin-top: 23px;
        vertical-align: -23px;
    }

    input[type="radio"][name="btnSide"][value="RentalHistory"]:checked+label::before {
        margin-top: 23px;
        vertical-align: -23px;
    }

    input[type="radio"][name="btnSide"][value="KizaiToroku"]+label:before {
        margin-top: 23px;
        vertical-align: -23px;
    }

    input[type="radio"][name="btnSide"][value="KizaiToroku"]:checked+label::before {
        margin-top: 23px;
        vertical-align: -23px;
    }

    input[type="radio"][name="btnSide"][value="KizaiList"]+label:before {
        margin-top: 23px;
        vertical-align: -23px;
    }

    input[type="radio"][name="btnSide"][value="KizaiList"]:checked+label::before {
        margin-top: 23px;
        vertical-align: -23px;
    }

    .h2_comment {
        display: block;
        margin-top: 5px;
    }

    .content {
        background: -moz-linear-gradient(to bottom, #5abedc, #d5ecdf 30%, #fff);
        background: -webkit-linear-gradient(to bottom, #5abedc, #d5ecdf 30%, #fff);
        background: linear-gradient(to bottom, #5abedc, #d5ecdf 30%, #fff);
    }

    .content_frame {
        padding: 20px 20px;
    }

    .back_img {
        width: 70%;
    }
}

@media screen and (max-width: 800px) {
    .content_frame {
        padding: 10px 10px;
        margin: 10px 10px 0px 10px;
    }

    /* メイン画面のタイトルヘッダ */
    h2 {
        font-size: 24px !important;
    }

    .h2_comment {
        font-size: 13px;
        height: 20px;
    }

    /* ヘッダログインユーザー */
    header .login_user {
        top: 30px;
        left: 180px;
        font-size: 18px;
        width: 200px;
        line-height: 21px;
        vertical-align: middle;
    }

    .toggle_switch>label {
        width: 30px;
        height: 16px;
    }

    .toggle_switch>input:checked+label::before {
        left: calc(100% - 16px + 0.05em);
    }

    .toggle_switch>label::before {
        top: 2px;
        width: calc(16px - 0.1em);
        height: calc(16px - 0.1em);
    }
}

/* スマホデザイン */

@media screen and (max-width: 599px) {
    body {
        padding-bottom: 85px;
    }

    header {
        background-image: url("../image/block.png");
        background-size: 522px;
        height: 72px;
    }

    /* ヘッダ会社ロゴ */
    header .header_logo_size {
        width: 60px;
        top: 8px;
        left: 17px;
    }

    /* ヘッダタイトル */
    header .title {
        top: 33px;
        left: 14px;
        width: 70%;
        font-size: 23px;
        letter-spacing: 0px;
    }

    /* ヘッダログインユーザー */
    header .login_user {
        top: 18px;
        left: 123px;
        font-size: 12px;
        width: initial;
    }

    /* ヘッダメニュー */
    header .menu {
        font-size: 11px;
    }

    header .menu_list {
        display: inline-block;
        text-align: right;
        top: 10px;
        right: 0px;
    }

    /* ヘッダ　アカウント登録 */
    header .register {
        display: block;
        height: 17px;
    }

    /* ヘッダ　プロファイル変更 */
    header .profile {
        margin-left: 0px;
        margin-right: 15px;
        height: 17px;
    }

    /* ヘッダ　ログアウト */
    header .logout {
        margin-left: 0px;
        margin-right: 15px;
        height: 17px;
    }

    aside {
        display: none;
    }

    .content {
        width: 100%;
        background: -moz-linear-gradient(to bottom, #5abedc, #d5ecdf 30%, #fff);
        background: -webkit-linear-gradient(to bottom, #5abedc, #d5ecdf 30%, #fff);
        background: linear-gradient(to bottom, #5abedc, #d5ecdf 30%, #fff);
    }

    .content_frame {
        padding: 0.5em 1em;
    }

    .back_img {
        width: 90%;
    }

    /* メイン画面のタイトルヘッダ */
    h2 {
        font-size: 24px !important;
        font-weight: unset;
        position: relative;
        margin: 5px 0px 0 0px !important;
        padding: 3px 3px 3px 10px;
        text-align: left;
        /* 角設定 */
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
    }

    .h2_comment {
        font-size: 13px;
        display: block;
    }

    .content_frame_image {
        bottom: 110px;
    }

    /* フッター */
    footer {
        position: fixed;
        z-index: 2;
        bottom: 0;
        width: 100%;
        height: 85px;
    }

    #footer-fix {
        display: initial;
    }

    #footer-fix #footer-fix-menu {
        text-align: center;
        padding: 0;
        display: table;
        width: 100%;
        margin: 0;
    }

    #footer-fix #footer-fix-menu li {
        display: table-cell;
        width: 25%;
        background: #00B7CE;
        padding: 0;
        margin: 0;
        height: 85px;
        position: relative;
        vertical-align: middle;
        border: 1px solid #ffffff;
        font-size: 14px;
        text-align: -webkit-center;
    }

    #footer-fix #footer-fix-menu li a {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .menu_logo_size {
        width: 50px;
        display: inline-block;
    }

    .footer_font {
        color: #fff;
        text-decoration: none;
    }

    .footer_font:hover {
        color: #fff;
        text-decoration: none;
    }

    .footer_btn {
        margin-top: 15px;
    }

    input[type="radio"][name="btnFooter"] {
        display: none;
    }

    input[type="radio"][name="btnFooter"]+label {
        color: #fff;
    }

    input[type="radio"][name="btnFooter"]+label:before {
        content: "";
        display: inline-block;
        background-size: contain;
        width: 45px;
        height: 45px;
    }

    input[type="radio"][name="btnFooter"]:checked+label {
        background-color: #e6c7a1;
        color: #00B7CE;
        width: 100%;
        height: 100%;
    }

    input[type="radio"][name="btnFooter"][value="RentalList"]+label:before {
        background-image: url(../image/rental_list_off.png);
        background-repeat: no-repeat;
        display: flex;
    }

    input[type="radio"][name="btnFooter"][value="RentalList"]:checked+label::before {
        background-image: url(../image/rental_list_on.png);
        display: flex;
        margin-top: 9px;
    }

    input[type="radio"][name="btnFooter"][value="RentalHistory"]+label:before {
        background-image: url(../image/rental_history_off.png);
        background-repeat: no-repeat;
        display: flex;
    }

    input[type="radio"][name="btnFooter"][value="RentalHistory"]:checked+label::before {
        background-image: url(../image/rental_history_on.png);
        display: flex;
        margin-top: 9px;
    }

    input[type="radio"][name="btnFooter"][value="KizaiToroku"]+label:before {
        background-image: url(../image/add_kizai_off.png);
        background-repeat: no-repeat;
        display: flex;
    }

    input[type="radio"][name="btnFooter"][value="KizaiToroku"]:checked+label::before {
        background-image: url(../image/add_kizai_on.png);
        display: flex;
        margin-top: 9px;
    }

    .message {
        font-size: 12px;
    }

    .page-child-left {
        width: 20px;
        height: 35px;
        border-radius: 4px;
        font-size: 12px;
        line-height: 34px;
        margin: 5px 5px 0px 0px;
        border: 1px solid #00B7CE;
    }

    .page-child {
        min-width: 20px;
        height: 35px;
        border-radius: 4px;
        font-size: 12px;
        line-height: 33px;
        letter-spacing: 0px;
        padding-right: 3px;
        margin: 5px 0px 0px 4px;
        border: 1px solid #00B7CE;
    }

    .page-child-right {
        width: 20px;
        height: 35px;
        border-radius: 4px;
        font-size: 12px;
        line-height: 34px;
        margin: 5px 0px 0px 5px;
        border: 1px solid #00B7CE;
    }

    /* スマホ */
    @media screen and (max-width: 480px) {

        /* ヘッダログインユーザー */
        header .login_user {
            top: 18px;
            left: 100px;
            font-size: 10px;
            width: auto;
            line-height: 15px;
            vertical-align: middle;
        }

        header .register {
            margin-right: 5px;
        }

        header .profile {
            margin-right: 5px;
        }

        header .logout {
            margin-right: 5px;
        }

        .toggle_switch {
            padding: 5px 0px 10px 0px;
        }
    }
}