@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&display=swap');

:root {
    --btn-border-color: #ccc;
    --border-color: #ddd;
    --overlay-color: rgba(0, 0, 0, 0.4);
    --odd-color: #fcfcfc;
    --even-color: #fff;
    --primary-color: #616161;
    --font-color: #666;
    --header-height: 53px;
    --user-info-height: 27px;
    --footer-height: 30px;
    --admin-header-height: 45px;
    --body-max-width: 800px;
    --html-min-width: 1200px;
    --header-min-width: 500px;
}

* {
    box-sizing: inherit;
}

html {
    font-size: 62.5%;
    line-height: 1.5;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    width: 100%;
    margin: 0 auto;
    font-size: 1.6rem;
    color: var(--font-color);
}

a {
    text-decoration: none;
    color: var(--font-color);
}

a:hover {
    color: inherit;
}

ol,
ul {
    padding-left: 0;
}

li {
    list-style: none;
}

.btn {
    border-radius: 6px !important;
    color: var(--font-color);
    border-color: var(--btn-border-color);
}

.btn:hover {
    color: #fff;
}

.btn-gray {
    border-radius: 14px;
    background-color: var(--primary-color);
    color: #fff !important;
    border: none;
}

.error-msg {
    color: red;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes growth {
    from {
        transform: scale(var(--growth-from));
    }

    to {
        transform: scale(var(--growth-to));
    }
}

@keyframes rotateX {
    0% {
        opacity: 0;
        transform: rotateX(-90deg);
    }

    50% {
        transform: rotateX(-20deg);
    }

    100% {
        opacity: 1;
        transform: rotateX(0deg);
    }
}

/* Modal */
.overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--overlay-color);
    z-index: 100;
    display: none;
}

.overlay__body {
    background: #fff;
    padding: 12px;
    padding-bottom: 0;
    --growth-from: 0.7;
    --growth-to: 1;
    position: relative;
    animation: growth linear 0.1s;
    width: 350px;
}

.overlay__content {
    margin-bottom: 50px;
    padding-inline: 12px;
}

.overlay--active {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    animation: fadeIn linear 0.1s;

}

.overlay__btn-wrapper {
    display: flex;
    justify-content: space-around;
    margin: 24px 0;
}

.overlay__btn-primary,
.overlay__btn-secondary,
.overlay__btn-close {
    padding: 6px 8px;
    width: 150px;
    text-align: center;
    border-radius: 6px;
    font-size: 1.8rem;
}

/* カレンダー */
.tempus-dominus-widget {
    width: 25rem;
}

.tempus-dominus-widget .toolbar {
    justify-content: center;
}

.tempus-dominus-widget .toolbar div {
    width: 70px;
}

.tempus-dominus-widget.light .toolbar div:hover {
    background: transparent;
}

.toolbar .btn {
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toolbar .btn::before {
    content: "クリア";
    font-style: normal;
    font-size: 1.4rem;
}
.cart__delete-img {
    cursor: pointer;
}

.setfont {
    font-size: 1.3rem !important;
}
.login__show-pass {
    font-size: 15px;
    position: absolute;
    top: 50%;
    transform: translatey(-50%);
    bottom: 0;
    right: 20px;
    color: #969696;
}
