/* ===============================================
ハンバーガーボタンのスタイリング
=============================================== */
/* input[type="checkbox"] {
    opacity: 0;
    visibility: hidden;
    position: absolute;
} */

.hamburger {
    display: block;
    width: 50px;
    height: 80px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.hamburger span,
.hamburger span::before,
.hamburger span::after {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.5s;
}

.hamburger span::before {
    top: -10px;
}

.hamburger span::after {
    bottom: -10px;
}

input[type="checkbox"]:checked+.hamburger span {
    background-color: transparent;
}

input[type="checkbox"]:checked+.hamburger span::before {
    top: 0;
    transform: rotate(45deg);
}

input[type="checkbox"]:checked+.hamburger span::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* ===============================================
  メニューのスタイリング
  =============================================== */
.nav {
    position: fixed;
    width: 80%;
    height: 100vh;
    top: 80px;
    right: -120%;
    background-color: #0f5474;
    color: #fff;
    padding: 50px 0;
    transition: all 0.5s;
}

.nav__item a {
    display: block;
    font-size: 20px;
    padding: 20px 0 20px 50px;
    text-transform: uppercase;
}

.nav__item a:hover {
    color: #0f5474;
    background-color: #fff;
}

input[type="checkbox"]:checked~.nav {
    right: 0;
}

input,
select {
    padding: 0.3rem;
    border: solid 1px #000;
    border-radius: 3px;
}

textarea {
    vertical-align: middle;
}

table {
    border: solid 2px #000;
    border-collapse: collapse;
    width: 100%;
}

td,
tr,
th {
    border: solid 1px #000;
    border-collapse: collapse;
}

td {
    font-size: 1rem;
    padding: 0.1rem 0.2rem;
    background: #fff;
}

th {
    background: #99FFFF;
}

.no_border {
    border: none;
    background: transparent;
    text-align: center;
    vertical-align: middle;
}

div.schroll_auto {
    width: 100%;
    height: 87%;
    overflow: auto;
}

div.schroll_auto30 {
    width: 100%;
    height: 27%;
    overflow: auto;
}

div.schroll_auto50 {
    width: 100%;
    height: 50%;
    overflow: auto;
}

div.schroll_auto75 {
    width: 100%;
    height: 75%;
    overflow: auto;
    margin-bottom: 2%;
}

input.submit_in_table {
    background: none;
    border: none;
    color: blue;
    /**    text-decoration: underline;**/
    cursor: pointer;
}

button {
    border: solid 1px #777;
    border-radius: 3px;
    cursor: pointer;
    text-align: center;
    padding: 0.3em;
}

.block14s {
    width: 14%;
    min-width: 140px;
    padding: 0.1em;
    height: 2em;
    float: left;
}

.block14i {
    width: 14%;
    min-width: 100px;
    padding: 0.1em;
    height: 2em;
    float: left;
}

.block14r {
    width: 14%;
    min-width: 80px;
    padding: 0.1em;
    height: 2em;
    float: left;
    margin-bottom: 0.2em;
}

@media screen and (min-width: 1060px) {

    table.ellipsis {
        table-layout: fixed;
    }

    td.ellipsis {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        max-width: 0;
    }

    .header {
        position: absolute;
        top: 1%;
        left: 1%;
        bottom: 93%;
        right: 1%;
        border: solid 1px #555;
        background: beige;
        padding: 0.5em;
    }

    .block1,
    .block2,
    .block3,
    .block111,
    .block222,
    .block7 {
        padding: 0.5em;
    }

    .block0 {
        clear: both;
        width: 100%;
        max-width: 1200px;
        margin: auto;
    }

    .block7 {
        width: 12%;
        margin: auto;
    }

    .block1 {
        position: absolute;
        top: 8%;
        right: 50%;
        bottom: 1%;
        left: 1%;
        border: solid 1px #555;
        background: antiquewhite;
    }

    .block111 {
        position: absolute;
        top: 8%;
        right: 50%;
        bottom: 1%;
        left: 1%;
        border: solid 1px #555;
        background: antiquewhite;
    }

    .block2 {
        position: absolute;
        top: 54%;
        right: 50%;
        bottom: 1%;
        left: 1%;
        border: solid 1px #555;
        background: aliceblue;
    }

    .block222 {
        position: absolute;
        top: 8%;
        right: 50%;
        bottom: 1%;
        left: 1%;
        border: solid 1px #555;
        background: aliceblue;

    }

    .block3 {
        position: absolute;
        top: 8%;
        right: 1%;
        bottom: 1%;
        left: 51%;
        border: solid 1px #555;
        background-color: floralwhite;

    }

    .id {
        position: absolute;
        left: 2%;
        top: 12%;
        bottom: 80%;
        width: 100px;
        border: solid 1px #333;
        padding: 0.5% 7px;
        font-size: 13px;
        background-color: #fff;
    }

    .prospect_name {
        position: absolute;
        left: 2%;
        top: 20%;
        right: 2%;
        border: solid 1px #333;
        padding: 0.5% 7px;
        background-color: #fff;
    }

    .post_code {
        position: absolute;
        left: 2%;
        top: 43%;
        bottom: 49%;
        width: 100px;
        border: solid 1px #333;
        padding: 0.5% 7px;
        font-size: 13px;
        background-color: #fff;
    }

    .address {
        position: absolute;
        left: 2%;
        top: 51%;
        right: 2%;
        border: solid 1px #333;
        padding: 0.5% 7px;
        font-size: 15px;
        background-color: #fff;
    }

    .industry_code {
        position: absolute;
        left: 2%;
        top: 72%;
        bottom: 20%;
        right: 2%;
        border: solid 1px #333;
        padding: 0.5% 7px;
        font-size: 13px;
        background-color: #fff;
        white-space: nowrap;
    }

    .industry {
        position: absolute;
        left: 2%;
        top: 80%;
        right: 2%;
        border: solid 1px #333;
        padding: 0.5% 7px;
        font-size: 13px;
        background-color: #fff;
    }

}

/**タブレット**/
@media screen and (max-width: 1060px) {

    .header {
        position: absolute;
        top: 1%;
        left: 1%;
        bottom: 93%;
        right: 1%;
        border: solid 1px #555;
        background-color: beige;
        padding: 0.5em;
    }

    .block1,
    .block2,
    .block3,
    .block111,
    .block222 {
        padding: 0.5em;
    }

    .block0 {
        clear: both;
        width: 100%;
        margin: auto;
    }

    .block1 {
        position: absolute;
        top: 8%;
        right: 1%;
        bottom: 1%;
        left: 1%;
        border: solid 1px #555;
        background-color: antiquewhite;
    }

    .block111 {
        position: absolute;
        top: 8%;
        right: 1%;
        bottom: 1%;
        left: 1%;
        border: solid 1px #555;
        background-color: antiquewhite;
    }

    .block2 {
        position: absolute;
        top: 54%;
        right: 1%;
        bottom: 1%;
        left: 1%;
        border: solid 1px #555;
        background-color: aliceblue;
    }

    .block222 {
        position: absolute;
        top: 8%;
        right: 1%;
        bottom: 1%;
        left: 1%;
        border: solid 1px #555;
        background-color: aliceblue;
    }

    .block3 {
        position: absolute;
        top: 100%;
        right: 1%;
        left: 1%;
        height: 91%;
        border: solid 1px #555;
        background-color: floralwhite;
    }

    .id {
        position: absolute;
        left: 2%;
        top: 12%;
        bottom: 80%;
        width: 100px;
        border: solid 1px #333;
        padding: 0.5% 7px;
        font-size: 13px;
        background-color: #fff;
    }

    .prospect_name {
        position: absolute;
        left: 2%;
        top: 20%;
        right: 2%;
        border: solid 1px #333;
        padding: 0.5% 7px;
        background-color: #fff;
    }

    .post_code {
        position: absolute;
        left: 2%;
        top: 43%;
        bottom: 49%;
        width: 100px;
        border: solid 1px #333;
        padding: 0.5% 7px;
        font-size: 13px;
        background-color: #fff;
    }

    .address {
        position: absolute;
        left: 2%;
        top: 51%;
        right: 2%;
        border: solid 1px #333;
        padding: 0.5% 7px;
        font-size: 15px;
        background-color: #fff;
    }

    .industry_code {
        position: absolute;
        left: 2%;
        top: 72%;
        bottom: 20%;
        right: 2%;
        border: solid 1px #333;
        padding: 0.5% 7px;
        font-size: 13px;
        background-color: #fff;
        white-space: nowrap;
    }

    .industry {
        position: absolute;
        left: 2%;
        top: 80%;
        right: 2%;
        border: solid 1px #333;
        padding: 0.5% 7px;
        font-size: 13px;
        background-color: #fff;
    }

}


/**スマホ**/
@media screen and (max-width: 460px) {

    td,
    th {
        font-size: clamp(9px, calc(100% / 10), 18px);
    }

    .pc_only {
        display: none;
    }

    td.ellipsis {
        text-overflow: clip;
        white-space: normal;
        overflow: clip;
        max-width: 1;
    }

    .header {
        position: absolute;
        top: 1%;
        left: 1%;
        bottom: 93%;
        right: 1%;
        border: solid 1px #555;
        background-color: beige;
        padding: 0 auto 1em;
    }

}


.hidden {
    display: none;
}