html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    overflow-y: scroll;
}
body {
    position: relative;
    margin: auto;
    background-color: #f2f7fc;
    padding-bottom: 5em;

    padding-top: calc(68px + 2em + 1em + 1em + 1.6px + 1.15em + 2em) !important;
}

button {
    box-shadow: none;
}

.input-description {
    font-size: small;
}

#current-user {
    width: max-content;
}

.link-span, .link-span:link, .link-span:visited {
    text-decoration: auto;
    color: #000;
    cursor: pointer;
}

.tm-layout__wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    justify-content: center;
}
.tm-header {
    position: fixed;
    top: 0;
    left: 0;
    width: -webkit-fill-available;

    background-color: #f2f2f2;
    /*position: relative;*/
    z-index: 70
}

.tm-header_sticky {
    position: sticky;
    top: 0;
    z-index: 100
}

.tm-header_hidden {
    transform: translate3d(0,-100%,0)
}

.tm-header__container {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    margin: 0 auto
}

@media(max-width: 767px) {
    .tm-header__container {
        padding:0 16px
    }
}
.tm-page-width {
    margin: 0 auto;
    min-width: 320px
}

@media(min-width: 768px)and (max-width:1023px) {
    .tm-page-width {
        padding:0 16px;
        max-width: 768px
    }
}

@media(min-width: 1024px) {
    .tm-page-width {
        padding:0 24px;
        max-width: 1096px
    }
}

.tm-page-width_no-padding {
    padding: 0
}

.tm-page-width_full-width {
    max-width: 100%
}

.tm-header__icon {
    color: #fff;
    height: 4em;
    width: 100%
}
.tm-svg-img {
    fill: currentColor;
    overflow: hidden;
    stroke: inherit
}

.service-name {
    display: flex;
    justify-content: center;
    padding-top: 3em;
    font-weight: bold;
    text-align: center;
    line-height: 2;
}

.main-menu-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    width: 60%;
    margin-top: 3em;
    line-height: 2;

}

.top-menu {
    position: fixed;
    top: 68px;
    left: 0;
    width: -webkit-fill-available;

    display: flex;
    align-items: center;
    justify-content: end;
    z-index: 50;

    line-height: 1;

    background: #fff;
}

.top-menu>a {
    margin: 1em 0.5em;
    text-align: center;
}

.go-menu-btn-container {
    display: flex;
    width: -webkit-fill-available;
}

.go-menu-btn {
    width: 5.5em;
    padding-left: 1em;
    text-align: left !important;
    margin: 0 0.5em;
    height: 3em;
    align-items: center;
    display: flex;
    white-space: nowrap;
}

.cart-badge {
  position: absolute;
  top: -8px; /* Adjust the positioning to fit better */
  right: -8px; /* Adjust the positioning to fit better */
  background-color: red;
  color: white;
  border-radius: 50%;
  padding: 6px 8px; /* Increase padding for a bigger badge */
  font-size: 12px; /* Increase font size for the badge */
  cursor: pointer;
}

.current-user-prnt {
    display: flex;
}

.logout-btn{
    border: 1px solid #000;
    border-radius: 1px;
    padding: 0.5em;
    /*color: pink !important;*/
    width: 8em;
    white-space: nowrap;
}

.grey-btn {
    background: #7f7f7f;
    color: #ffffff;
    border-color: #7f7f7f;
}

.tomo-table-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2em 0.5em !important;
    margin-top: 0 !important;
    flex-direction: row;
    flex-wrap: nowrap;
    white-space: nowrap;
    /*border: 0 solid #fff;
    border-right-width: 1px;
    border-left-width: 1px;*/
    /*font-size: unset;*/
}

.menu-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.menu-group>a {
    /*background: #7f7f7f;*/
    /*background: #c1c1c1;*/
    background: #595959;
    color: #fff;
    width: 100%;
    text-align: center;
    line-height: 2;
    font-weight: bold;
}

.menu-group-item-list {
    display: flex;
    align-items: center;
    /*width: fit-content;*/
    width: 100%;
    /*flex-wrap: wrap;*/
    flex-wrap: no-wrap;
    justify-content: flex-start;
}

.menu-group-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: fit-content;
    width: 30%;
    height: 5em;
    margin: 1em calc(10% / 6 - 1px);
    padding: 1em 0;
    border: 1px solid #000;
    border-radius: 1px;
    position: relative;

    background: #fff;
}

.menu-group-item > a {
    text-decoration: none;
    color: #000;
    line-height: 1.5;
    text-align: center;
}
.menu-link {
    position: absolute;
    width: 100%;
    height: 100%;
}
@media(max-width: 767px) {
    .menu-group-item-list {
        flex-direction: column;
    }
    .menu-group-item {
        width: 90%;
    }
    .tm-layout__wrapper {
        /*width: max-content;*/
    }
}

.registration-cssave {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4em;
    padding-top: 3em;
    text-align: center;
    line-height: 2;
    width: fit-content;
    align-self: center;
    background-color: #f2f7fc;
}
@media(max-width: 767px) {
    .registration-cssave {
        padding: 0;
        width: 100%;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 1em 0;
    align-items: center;
}

.row-group {
    flex-direction: row !important;
}

.column-group {
    flex-direction: column !important;
}

.form-group>a {
    /*width: 12em;*/
    text-align: start;
    align-self: flex-start;
}

.registration-cssave>p {
    margin-block-start: unset;
    margin-block-end: unset;
}

#registration_form, #okurisaki_form, #update_user_form{
    background: #fff;
    padding: 0 2em;
}

.form-group>input, .form-group>div>input, .form-group>select {
    border-radius: 1px;
    border-width: 1.6px;
    width: 22em;
    line-height: 2;
}

.form-group>select {
    height: 2.5em;
    width: calc(22em + 5.2px);;
}

.login_btn {
    flex-direction: column;
    align-items: center;
    margin-right: 0;
}

.login_btn>button {
    margin: 0.5em;
    width: 12em;
    border-radius: 1px;
    padding: 0.5em;
    cursor: pointer;
}

.sep-block {
    display: flex;
    flex-direction: column;
    padding: 3em 0;
    text-align: center;
    line-height: 2;
    align-items: center;
}

.sep-block-child {
}

.sep-block>div {
    width: 60%;
    text-align: left;
}
@media(max-width: 767px) {
    .sep-block>div {
        width: 90%;
    }
    .address_block {
        margin: 0 0px;
    }
}

.news-block {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    align-items: flex-start;
    align-self: center;
    box-sizing: border-box;
    margin-top: 2em;
    width: 60%;
    height: 25em;
}
@media(max-width: 767px) {
    .news-block {
        width: 95%;
    }
}

.news-title {
    display: flex;
    flex-direction: row;
    width: -webkit-fill-available;
    /*margin-bottom: 1em;*/
    padding-left: 1em;
    background: #7f7f7f;
    color: #fff;
}

.news-last-preview {
    display: flex;
    flex-direction: row;
    margin-left: 1em;
    font-weight: bold;
    font-size: 1.17em;
}
.news-last-preview > a {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
}

.news-table-container {
    width: -webkit-fill-available;
    height: 25em;
    overflow-y: scroll;
}
.news-table-container>table>tbody>tr {
    /*background: rgba(64, 64, 64, 0.1);*/
}
.news-table-container>table>tbody>tr>td {
    padding: 1em 0.5em;
}

.address_block {
    display: flex;
    flex-direction: column;
    align-items: center;
    /*border: dotted #7f7f7f;*/
    width: max-content;
}

.form-group>button {
    margin: 0.5em;
    width: 12em;
    border-radius: 1px;
    padding: 0.5em;
}

.row-group>button {
    margin: 2px;
    border: 1px solid #404040;
    border-radius: 1px;
    background: #fff;
    color: #404040;
    font-weight: bold;
}

/*==============   NDA   ==========================*/
.nda-collect {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    width: 80%;
    line-height: 2;
    border: 1px solid #000;
    border-radius: 1px;

    background: #fff;
}

.nda-title {
    background: #7f7f7f;
    /*background: #404040;*/
    /*padding: 0.5em 0;*/
    width: 100%;
    color: #fff;
    font-weight: bold;
}

.Agree {
    /*height: 35em;*/
    overflow-y: scroll;
    text-align: left;
    padding: 1em;
}
.Agree::-webkit-scrollbar {
    width: 0.7em;
}
.Agree::-webkit-scrollbar-track {
    background: none;
}
.Agree::-webkit-scrollbar-track:hover {
    background: #f1f1f1;
}
.Agree::-webkit-scrollbar-thumb {
    background-color: #c1c1c1;
    border-radius: 10px;
    border: none;
}
.Agree::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}
.agreeSubTitle {
    font: inherit;
    background: #f1f1f1;
}
.Agree__inner>dl>dd>ol {
    list-style: decimal;
    list-style-position: outside;
    padding-inline-start: 0;
}

#nda_agree_form {
    display: flex;
    flex-direction: column;
    align-self: center;
    align-items: center;
    width: 80%;
    margin: 2em 0;
}
#nda_agree_form>div {
    flex-direction: row;
    margin: 0.5em;
}
#nda_agree{
    opacity: 0;
    filter: alpha(opacity=0);
    display: none;
}
#nda_agree + label{
    display: flex;
    position: relative;
    line-height: 1;
    height: 1em;
}
#nda_agree + label:before {
    content: '';
    cursor: pointer;
    -moz-appearance:none;
    -webkit-appearance:none;
    -o-appearance:none;
    display: inline-block;
    visibility: visible;
    width: 1em;
    height: 1em;
    margin: 0 1em;
    border: 1px solid #000;
    border-radius: 1px;
    text-align: center;
    line-height: 1;
    background: #fff;
}
#nda_agree:checked + label:before {
    content: '✔';
    line-height: 1;
}
#nda_agree_button {
    background: #7f7f7f;
    color: #ffffff;
    opacity: 20%;
}
/*=================================================*/

.darker-title {
    position: fixed;
    top: calc(68px + 2em + 1em + 1em + 1.6px);
    left: 0;
    width: -webkit-fill-available;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1em 0;
    background: #dae3f3;
}

.subsidy-table-container {
    display: flex;
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    line-height: 2;
}

.subsidy-table-container>table {
    border: 1px solid #fff;
    border-radius: 1px;
    border-collapse: collapse;
    display: flex;
    flex-direction: column;
}
.subsidy-table-container>table>thead {
    background: #f2f2f2;
    display: flex;
    flex-direction: row;
}
.subsidy-table-container>table>tbody {
    background: #fff;
    display: flex;
    flex-direction: row;
}
.subsidy-table-container>table>thead>tr, .subsidy-table-container>table>tbody>tr {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}
.subsidy-table-container>table>thead>tr>th, .subsidy-table-container>table>tbody>tr>td {
    border: 1px solid #c2c2c2;
    border-radius: 1px;
    border-collapse: collapse;
    padding: 1em 0.5em;
    box-sizing: border-box;
    width: calc(12.5%);
}

@media(max-width: 767px) {
    .subsidy-table-container>table { flex-direction: row; }
    .subsidy-table-container>table>thead>tr, .subsidy-table-container>table>tbody>tr { flex-direction: column; }
    .subsidy-table-container>table>thead>tr>th, .subsidy-table-container>table>tbody>tr>td { width: 100%; }
}

/*=================================================*/

.font-cart-icon{
    cursor: pointer;
    color: #374248;
    margin-right: 1em;
    position: relative;
}
.font-cart-icon>i{
    font-size: 2.5em;
}

.form-chuii{
    background: #4472c4;
    padding: 0;
    margin: 0 -4em;
    color: #fff;
    font-weight: bold;
}
#save_address_agree{
    opacity: 0;
    filter: alpha(opacity=0);
    display: none;
}
#save_address_agree + label{
    display: flex;
    position: relative;
    align-self: baseline;
    line-height: 1;
    height: 1em;
}
#save_address_agree + label:before {
    content: '';
    cursor: pointer;
    -moz-appearance:none;
    -webkit-appearance:none;
    -o-appearance:none;
    display: inline-block;
    visibility: visible;
    width: 1em;
    height: 1em;
    margin-right: 1em;
    border: 1px solid #000;
    border-radius: 1px;
    text-align: center;
    line-height: 1;
    background: #fff;
}
#save_address_agree:checked + label:before {
    content: '✔';
    line-height: 1;
}

.address-book-shadow {
    position: absolute;
    display: none;
    flex-wrap: wrap;
    align-self: center;
    align-items: flex-start;
    align-content: center;
    justify-content: center;
    /*background: rgba(64, 64, 64, 0.8);*/
    top: 0;
    left: 0;
    width: 100%;
    padding-top: 10em;
    z-index: 80;
}
.address-book-white{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-self: center;
    align-items: center;
    justify-content: left;
    overflow-y: scroll;
    height: 35em;

    padding: 2em;
    width: 90%;

    background: #fff;
}
.address-book-white::-webkit-scrollbar {
    width: 0.7em;
}
.address-book-white::-webkit-scrollbar-track {
    background: none;
}
.address-book-white::-webkit-scrollbar-track:hover {
    background: #f1f1f1;
}
.address-book-white::-webkit-scrollbar-thumb {
    background-color: #c1c1c1;
    border-radius: 10px;
    border: none;
}
.address-book-white::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}
.address-book-title-container{
    display: flex;
    flex-direction: row;
    align-self: center;
    width: 90%;
    padding: 0 2em;
    background: #fff;
}
.address-book-title{
    text-align: center;
    color: #000;
    background: #fff;
    width: -webkit-fill-available;
    margin-block: 0;
    margin-inline: 0;
    padding: 1em 0 0.5em 0;
}
.close-button{
    cursor: pointer;
    width: 1em;
    padding: 0;
    border: none;
    background: #fff;
    font-size: 4em;
    color: #a6a6a6;
    height: 1em;
}
/*.address-boxes-container{
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
}*/
.address-box {
    background: #fff;

    display: flex;
    flex-direction: row;
    /*padding: 0.5em 1em;*/
    /*border: 2px solid #7f7f7f;*/
    border: 2px solid #fff;
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-radius: 1px;
    /*line-height: 2;*/
    /*margin: 0.2em 0.6em;*/
    /*width: calc(50% - (1px * 2 * 2 + 0.6em * 2 * 2 + 1em * 2 * 2) + 2em + 1em + 4px);*/
    /*width: calc(50% - 0.6em*2);*/
    max-width: 100%;
    box-sizing: border-box;
}
@media(max-width: 767px) {
    .address-box { width: calc(100% - 0.6em*2); }
}
.address-box>.content-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.address-box>.content-block>a {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
.address-box>.content-block>a>span {
    display: flex;
    width: 8em;
    font-weight: bold;
}

.table-line {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    align-self: center;
    align-items: center;
    position: relative;

    border: 0 solid #fff;
    border-right-width: 1px;
    border-left-width: 1px;
    padding: 0.5em;
    background: inherit;

    line-height: 2.5;
    height: 2.5em;
}
.address-box-header > .table-line {
    align-items: start;
    height: 4em;
}
.searchable {
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    align-items: center
}
.searchable > input {
    width: 5em;
}
.table-line>span {
    display: flex;
    font-weight: bold;
    font-weight: unset;
    line-height: 1.15;
}

.address-box>button {
    /*width: 15em;*/
    align-self: center;
    margin-top: 2em;
    padding: 0.5em 0;
}
.address-box>.row-group {
    display: flex;
    align-self: center;
}
.address-box>.row-group>button {
    width: calc(7.5em - 2px);
    padding: 0.5em 0;
    font-weight: normal;
}

#wakarimasita{
    opacity: 0;
    filter: alpha(opacity=0);
    display: none;
}
#wakarimasita + label{
    display: flex;
    position: relative;
    align-self: center;
    line-height: 1;
    height: 1em;
}
#wakarimasita + label:before {
    content: '';
    cursor: pointer;
    -moz-appearance:none;
    -webkit-appearance:none;
    -o-appearance:none;
    display: inline-block;
    visibility: visible;
    width: 1em;
    height: 1em;
    margin-right: 1em;
    border: 1px solid #000;
    border-radius: 1px;
    text-align: center;
    line-height: 1;
    background: #fff;
}
#wakarimasita:checked + label:before {
    content: '✔';
    line-height: 1;
}

/*===================   Delivery   ==============================*/

.delivery-table-container, .users-table-container {
    display: flex;
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    align-self: center;
    line-height: 2;
    width: 90%;
    margin-top: 2em;
}

.delivery-table-container>table, .users-table-container>table {
    border: 1px solid #fff;
    border-radius: 1px;
    border-collapse: collapse;
    display: flex;
    flex-direction: column;
}
.delivery-table-container>table>thead, .users-table-container>table>thead {
    background: #f2f2f2;
    display: flex;
    flex-direction: column;
}
.delivery-table-container>table>tbody, .users-table-container>table>tbody {
    background: #fff;
    display: flex;
    flex-direction: column;
}
.delivery-table-container>table>thead>tr, .delivery-table-container>table>tbody>tr,
.users-table-container>table>thead>tr, .users-table-container>table>tbody>tr {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
}
.delivery-table-container>table>thead>tr>th, .delivery-table-container>table>tbody>tr>td,
.users-table-container>table>thead>tr>th, .users-table-container>table>tbody>tr>td {
    border: 1px solid #c2c2c2;
    border-radius: 1px;
    border-collapse: collapse;
    padding: 0.5em 0.5em;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}
.item-details {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    /*background: #fff;*/
    margin: 0.4em 0;
    border: 1px solid #c2c2c2;
    border-style: dashed;
}
.item-details>a {
    margin: 0 0.4em;
}

/*@media(max-width: 767px) {
    .delivery-table-container>table, .users-table-container>table { flex-direction: row; }
    .delivery-table-container>table>thead>tr, .delivery-table-container>table>tbody>tr,
    .users-table-container>table>thead>tr, .users-table-container>table>tbody>tr { flex-direction: column; }
    .delivery-table-container>table>thead>tr>th, .delivery-table-container>table>tbody>tr>td,
    .users-table-container>table>thead>tr>th, .users-table-container>table>tbody>tr>td { width: 100%; }
}*/

#shadower {
    display: none;
    z-index: 69;
    width: 100%;
    background: rgba(64, 64, 64, 0.8);
    top: -4em;
    bottom: 0px;
    position: fixed;
    height: calc(100vh + 4em);
}

.order-details-shadow {
    position: fixed;
    display: none;
    flex-wrap: wrap;
    align-self: center;
    align-items: flex-start;
    align-content: center;
    justify-content: center;
    /*background: rgba(64, 64, 64, 0.8);*/
    top: 0;
    left: 0;
    width: 100%;
    padding-top: 3.5em;
    z-index: 80;
}
.order-details-title-container, .admin-user-editor-title-container{
    display: flex;
    flex-direction: row;
    align-self: center;
    width: 60%;
    box-sizing: border-box;
    padding: 0 2em;
    background: #fff;
}
.order-details-title, .admin-user-editor-title{
    text-align: center;
    color: #000;
    background: #fff;
    width: -webkit-fill-available;
    margin-block: 0;
    margin-inline: 0;
    padding: 1em 0 0.5em 2.5em;
}
.order-details-white{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-self: center;
    align-items: center;
    align-content: flex-start;
    justify-content: flex-start;
    overflow-y: scroll;
    height: calc(100vh - 3.5em - 4em - 1em);

    padding: 2em;
    width: 60%;
    box-sizing: border-box;

    background: #fff;
}
.order-details-white::-webkit-scrollbar {
    width: 0.7em;
}
.order-details-white::-webkit-scrollbar-track {
    background: none;
}
.order-details-white::-webkit-scrollbar-track:hover {
    background: #f1f1f1;
}
.order-details-white::-webkit-scrollbar-thumb {
    background-color: #c1c1c1;
    border-radius: 10px;
    border: none;
}
.order-details-white::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}
.order-info-block {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    width: 50%;
    padding: 1em 2em;
    box-sizing: border-box;
    line-height: 2;
}
.order-info-block>a>span {
    font-weight: bold;
}
.order-items-info-container {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    width: 100%;
    padding: 1em 0;
    box-sizing: border-box;
    line-height: 2;
}


.item-info-block {
    display: flex;
    flex-direction: row;
    width: 100%;
    border-bottom: 1px solid #0000ff;
    border-top: 1px solid #0000ff;
    margin: -0.4px 0;
    padding: 0.5em 0;
}
.item-info-image-container {
    margin: 0 1em;
}
.item-info-image-container>img {
    width: 10em;
}
.item-info-description-container {
    display: flex;
    flex-direction: column;
    margin: 0 1em;
    padding: 0.5em 0;
    justify-content: space-between;
}
.item-info-description-container>div {
    display: flex;
    flex-direction: column;
}

/*===================   Update User   ==============================*/

#login_kakunin, #user_update_kakunin, #delete_login_kakunin {
    position: fixed;
    top: 10em;
    left: 0;
    width: -webkit-fill-available;
    z-index: 99;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#user_update_kakunin > div {
    background: #fff;
    padding: 0 2em;
    border: 1px solid black;
    display: flex;
    flex-direction: column;
}
#user_update_kakunin > div > a {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    line-height: 2;
}
#user_update_kakunin > div > a > span {
    display: flex;
    width: 8em;
    font-weight: bold;
}

#selected-address {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 2;
}
#selected-address>a {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
#selected-address>a>span {
    display: flex;
    width: 8em;
    font-weight: bold;
}

/*===================   Catalogue Filter   ==============================*/

.catalogue_filter_main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.filter_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70%;
}

.filter-btn, #chuumon_all, .filter_btn_row > input, .searchBoardFilterInput, .searchBoardFilterInputNotInFilter {
    border-color: #7f7f7f;
    background: #ffffff;
    margin: 0.5em;
    border-radius: 1px;
    padding: 0.5em;
    box-shadow: none;
    cursor: pointer;
}

.favorites_container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: -webkit-fill-available;
    margin: 0.5em 0;
}

.filter_buttons_container {
    display: flex;
    flex-direction: column;
    width: -webkit-fill-available;
    margin: 0.5em 0;
    align-items: flex-start;
}

.filter_buttons_container > a, .filter_buttons_container > h3 {
    margin: 0.3em 0;
}

.filter_btn_row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: -webkit-fill-available;
    justify-content: flex-start;
    align-items: center;
}
.filter_buttons_container > .filter_btn_row > .filter-btn {
    width: calc(100% / 5 - 2px - 1em);
}
.filter-btn {
    font-size: 1vw !important;
}
.filter-btn-six {
    /* min-height: 4em; */
    width: calc(100% / 6 - 2px - 1em) !important;
    height: 4em;
    /* line-height: 2.5; */
    line-height: 1.25;
    font-size: 1vw !important;
}
.filter-btn-five {
    /* min-height: 4em; */
    width: calc(100% / 5 - 2px - 1em) !important;
    height: 4em;
    /* line-height: 2.5; */
    line-height: 1.25;
    font-size: 1vw !important;
}
@media(max-width: 767px) {
  .filter-btn, .filter-btn-six, .filter-btn-five {
      width: calc(100% - 2px - 1em) !important;
      font-size: unset !important;
  }
}

.pops_keywords_container {
    display: flex;
    flex-direction: column;
    width: -webkit-fill-available;
    margin: 0.5em 0;
    align-items: flex-start;
}
.pops_keywords_container > .filter_btn_row > .filter-btn {
    width: calc(100% / 5 - 2px - 1em);
}

/*---------------------------------------------------------*/

.catalogue {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70%;
}
.catalogue-counter {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 1em 0;
    font-weight: bold;
    justify-content: space-between;
    align-items: center;
}

.catalogue-table {
    /*background: #ffffff;*/

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.5em;
}
.catalogue-item {
    background: #ffffff;

    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% / 2 - 1em);
    margin: 0.5em;
}
.catalogue-item-header {
    background: #000000;
    /*background: #595959;
    border: 1px solid #000000;*/

    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% - 2em - 2px);
    margin: 0.3em;
    padding: 0.5em;
    color: #ffffff;
    font-weight: bold;
    overflow: hidden;
    white-space: nowrap;
}
.catalogue-item-nakami {
    background: #ffffff;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;

    width: calc(100% - 1em);
    padding: 0 0.5em;
    font-weight: bold;
    white-space: nowrap;
}
.catalogue-item-header:hover {
    min-width: calc(100% - 4em - 2px);
    width: fit-content;
    padding-right: 2.5em;
    overflow: visible;
    z-index: 2;

    -webkit-box-shadow: 0px 0px 2em 20px #fff;
    -moz-box-shadow: 0px 0px 2em 20px #fff;
    box-shadow: 0px 0px 2em 20px #fff;
}
.catalogue-item-header > a {
    align-self: flex-start;
}
.catalogue-btn-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: center;
    width: calc(100% - 1em);
}
.item-btn {
    display: flex;
    justify-content: center;
    width: calc(100% / 2 - 1em);
    margin: 0.3em;
}
.catalogue-item-description-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: center;
    width: calc(100% - 1em);
    height: 17em;
    margin: 0.3em 0;
}
.catalogue-image {
    display: flex;
    justify-content: center;
}
.catalogue-image > img {
    width: 200px;
}

.catalogue-description {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    /*align-self: flex-start;*/
    /*overflow: hidden;*/
    margin: 0.3em 0;
    /*max-height: calc(100% - 0.6em);*/
    max-height: calc(1.6em* 4 + 1.15em* 7 + 7em);
    width: calc(100% - 200px);
    position: relative;
    align-self: flex-start;

    --a-line-size: 1.5em;
}
.catalogue-description > a {
    margin: 0.1em;
    display: flex;
    flex-direction: row;
    width: calc(100% - 0.4em);
    height: var(--a-line-size);
    justify-content: flex-start;
    position: relative;
    white-space: nowrap;
    overflow-x: hidden;
    overflow-y: visible;
    font-size: 1em;
    font-weight: initial;
}
.catalogue-description > a.catalogue-description-keywords {
    display: unset;
    white-space: normal;
    height: calc(var(--a-line-size) * 5);
    overflow-y: hidden;
    background: rgb(255, 255, 255);
    width: calc(100% - 0.4em);
    font-size: 1em;
}
.catalogue-description > a:hover {
    background: #ffffff;
    min-width: calc(100% - 0.4em);
    width: max-content;
    overflow-x: visible;
    overflow-y: visible;
    margin: 0;
    border: 0.1em solid #c2c2c2;
    z-index: 2;
    font-size: 1em;
}
.catalogue-description > a.catalogue-description-keywords:hover {
    display: unset;
    white-space: normal;
    width: calc(100% - 0.4em);
    height: unset;
    overflow-y: hidden;
    position: absolute;
    top: calc((var(--a-line-size) + 0.2em) * 4);
    margin: 0;
    border: 0.1em solid #c2c2c2;
    z-index: 2;
    font-size: 1em;

    /*-webkit-box-shadow: 0px 0px 1em 0px rgba(89,89,89,0.75);
    -moz-box-shadow: 0px 0px 1em 0px rgba(89,89,89,0.75);
    box-shadow: 0px 0px 1em 0px rgba(89,89,89,0.75);*/
}
.catalogue-description > a > span {
    font-weight: bold;
    white-space: nowrap;
    margin-right: 1em;
}
.item-count-select {
    border-color: #7f7f7f;
    background: #ffffff;
    margin: 0.3em 1em;
    border-radius: 1px;
    padding: 0.5em;
    box-shadow: none;
}


/*.to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    height: 1.5em;
    width: 1.5em;
}*/
.to-top-btn {
    position: fixed;
    bottom: 1em;
    right: 3em;

    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;

    height: 3vw;
    width: 3vw;

    border: 2px solid rgba(64, 64, 64, 0.8);
    border-radius: 50%;
    background-color: rgba(64, 64, 64, 0.8);

    color: white;
    font-size: 2.5vw;

    cursor: pointer;
}

.show-more {
    position: absolute;
    /*top: calc(5.75em + 0.2 em);*/
    top: calc((1.15em + 0.2 em) * 4);
    left: 0;
    margin-top: 0 !important;
}

/*---------------------------------------------------------*/

.password-toggle-icon {
  position: absolute;
  cursor: pointer;
  bottom: 0;
  right: 0;
}

.password-toggle-icon i {
  line-height: 2;
  color: #333;
  transition: color 0.3s ease-in-out;
  margin: 0 10px;
}

.password-toggle-icon i:hover {
  color: #000;
}


.admin-user-editor {
    position: fixed;
    display: none;
    align-self: center;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
    height: calc(100vh - 3.5em - 4em - 1em);
    width: 50%;
    padding-bottom: 1.5em;
    top: 6em;
    z-index: 80;
    overflow-y: scroll;
    background: #f2f7fc;
}
.admin-user-editor-title-container {
    width: 100%;
    background: #f2f7fc;
}
.admin-user-editor-title-container>* {
    background: #f2f7fc;
}

.loader {
    display: none;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;

    position: fixed;
    left: calc(50% - 5em);
    top: 50vh;
    z-index: 999;
}
/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.little-oshirase {
    font-size: 0.7em;
    line-height: 1.5em;
    display: flex;
    flex-direction: row;
}
span.little-oshirase-left {
    /*background: red;*/
    width: 6em;
}
span.little-oshirase-right {
    /*background: green;*/
    /*width: 10em;*/
}

@media(max-width: 767px) {
    .darker-title { top: calc(68px + 2em + 1em + 1em + 1.6px); }
    body > h1 { margin-top: 4em; }
    .filter_container { width: 95%; }
    .catalogue { width: 95%; }
    .catalogue-item { width: 95%; }
    .catalogue-item-description-row { height: unset; flex-wrap: wrap; }
    .catalogue-description { width: 95%; }
    .catalogue-description > a.catalogue-description-keywords { height: unset; }
    .catalogue-description > a.catalogue-description-keywords:hover {
        display: unset;
        white-space: normal;
        height: unset;
        position: inherit;
        overflow-y: hidden;
        background: rgb(255, 255, 255);
        width: calc(100% - 0.4em);
        font-size: 1em;
        top: unset;
        margin: unset;
        border: unset;
        z-index: unset;
    }
    .to-top-btn {
        bottom: 0.1em;
        right: 0.1em;
        height: 20vw;
        width: 20vw;
        font-size: 16vw;
    }
    .address-box>.content-block>a { flex-wrap: wrap; }
    .address-book-title-container { width: 80%; }
    .address-book-white { width: 80%; }
    .form-chuii { margin: unset; }
    #kanarazu_oshirase { margin-right: unset; }

    .delivery-table-container, .users-table-container { margin-top: 5em; }
    .delivery-table-container>table>thead { display: none; }
    .delivery-table-container>table>tbody, .delivery-table-container>table>tbody>tr {
        width : 100% !important;
        flex-direction: column;
    }
    .delivery-table-container>table>tbody>tr>td {
        width : 100% !important;
        flex-direction: row;
        /*justify-content: flex-start;*/
        justify-content: space-between;
        flex-wrap: nowrap;
        border: unset;
        text-align: right;
    }
    .delivery-table-container>table>tbody>tr>td::before {
        content: attr(data-label);
        font-weight: bold;
        text-align: left;
        margin-right: 1em;
        white-space: nowrap;
    }
    .item-cell { flex-wrap: wrap !important; text-align: left !important;}




    .order-details-title-container, .admin-user-editor-title-container { width: 95%; }
    .order-info-block { width: 100%; }
    .order-details-white { width: 95%; }
    #order-bot-info { width: 95%; padding: 0; }
    .item-info-block { flex-wrap: wrap; justify-content: center; }

    .current-user-prnt { display: none; }
    /*body { padding-top: calc(68px + 2em + 1em + 1em + 1.6px + 1.15em + 2em + 4em) !important; }*/
}

.disabled-opt {
    display: none;
}


.page-bottom-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4em;
    padding-top: 3em;
    text-align: center;
    line-height: 2;
    width: fit-content;
    align-self: center;
    background-color: #f2f7fc;
}
@media(max-width: 767px) {
    .page-bottom-link {
        padding: 0;
        width: 100%;
    }
}
.page-bottom-link>p {
    margin-block-start: unset;
    margin-block-end: unset;
    color: rgba(118, 118, 118, 1);
}

.form-group > fieldset {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    margin: 0;
    width: 100%;
    border: 1.6px solid #000;
    border-radius: 1px;
    /* border: none; */
}
.form-group > fieldset > legend {
    text-align: left;
    margin-left: 0.5em;
}
.form-group > fieldset > label {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    margin: 0 1em 0.5em 1em;
}

