:root {
    --bs-base: #004876;
    --bs-accent: #e04687;
    --bs-black: #272727;
    --bs-gray: #c4c4c4;
}

body {
    color: var(--bs-black);
}

.bg-base {
    background-color: var(--bs-base);
}
.bg-accent {
    background-color: var(--bs-accent);
    border-color: var(--bs-accent);
}
.border-top {
    border-top-color: var(--bs-gray);
}
.border-bottom {
    border-top-color: var(--bs-gray);
}

.text-base {
    color: var(--bs-base) !important;
}
.text-accent {
    color: var(--bs-accent) !important;
}
.text-black {
    color: var(--bs-black) !important;
}
.text-white {
    color: white;
}
label {
    cursor: pointer;
}

.sticky-bottom {
    background-color: #f7f7f7;
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    z-index: 1000;
}

.bottom-100px {
    bottom: 100px;
}

.w-120px {
    width: 120px;
}

.btn-primary {
    background-color: #004789;
    border:1px solid #004789;
}

.btn-gray {
    background-color: #f0f0f0;
    color:#333;
}

.line .wrapper{
    min-height: 100vh;
    position: relative;/*←相対位置*/
    padding-bottom: 28px;/*←footerの高さ*/
    box-sizing: border-box;/*←全て含めてmin-height:100vhに*/
}

.line .wrapper footer{
    width: 100%;
    color: #fff;
    text-align: center;
    padding: 9px 0 0;
    position: absolute;/*←絶対位置*/
    bottom: 0; /*下に固定*/
}

.data-item {
    border-top:1px solid #ccc;
}

.data-item .label {
    float:left;
    width:100px;
    text-align:left;
    font-size:11px;
    font-weight:bold;
    padding-top:4px;
}

.data-item .value {
    width:calc(100% - 110px);
    float:left;
}

.bottom-area {
    position: absolute;
    bottom: 0;
    left: 0;
    width:100%;
    min-height:100px;
    z-index: 1000;
}

.footer-bar {
    position: fixed;
    width: 100vw;
    z-index: 50;
    bottom: 0px;
    background-color:white;
    border-top:1px solid #ccc;
}

/* -------------------------
* Other
*/

.bg-timeline {
    background-color:#f5f5f5;
}

.zip_help_icon {
    position: absolute;
    top: 50%;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.25rem;
    height: 1.25rem;
    color: white;
    font-size: 11px;
    font-weight: bold;
    background-color: var(--bs-base);
    border: 2px solid var(--bs-base);
    border-radius: 50%;
    transform: translate(0%, -50%);
    cursor: pointer;
}

/*Menus & Action Sheets & Modals*/
#menu-settings {
    overflow: hidden;
}

/*--Menu System---*/
.menu-title h1 {
    font-size: 23px;
    font-weight: 700;
    padding: 20px 0px 3px 20px;
}
.menu-title p {
    font-size: 11px;
    margin: -15px 0px 10px 20px;
    padding: 0px 0px 0px 0px;
}
.menu-title a {
    font-size: 20px;
    color: #dc3545;
    position: absolute;
    text-align: center;
    width: 55px;
    line-height: 85px;
    right: 0px;
    top: 0px;
}

.menu-bg {
    background-color: #f0f0f0;
}

.menu-hider {
    position: fixed;
    top: -100px;
    bottom: -100px;
    left: 0px;
    right: 0px;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transition: all 350ms ease;
}

.menu {
    display: none;
    position: fixed;
    background-color: #FFF;
    z-index: 101;
    overflow: scroll;
    transition: all 350ms ease;
    -webkit-overflow-scrolling: touch;
}
.menu .content {
    margin-bottom: 0px !important;
}

.menu-box-left {
    left: 0px;
    top: 0px !important;
    top: constant(safe-area-inset-top) !important;
    top: env(safe-area-inset-top) !important;
    width: 250px;
    height: 100%;
    bottom: 0px;
    box-shadow: 0 15px 25px 1px rgba(0, 0, 0, 0.1);
    transform: translate3d(-100%, 0, 0);
}

.menu-box-right {
    right: 0px;
    transform: translateX(100%);
    top: 0px !important;
    top: constant(safe-area-inset-top) !important;
    top: env(safe-area-inset-top) !important;
    height: 100%;
    bottom: 0px;
    box-shadow: 0 15px 25px 1px rgba(0, 0, 0, 0.1);
    width: 250px;
}

.menu-box-top {
    transform: translate3d(0, -115%, 0);
    top: 0px;
    left: 0px;
    right: 0px;
    height: auto;
}

.menu-box-bottom {
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: auto;
    transform: translate3d(0, 110%, 0);
}

.menu-box-modal {
    top: 50%;
    left: 50%;
    width: 330px;
    max-height: 480px;
    transform: translate(-50%, -50%) scale(0, 0);
    opacity: 0;
    pointer-events: none;
    transition: all 350ms ease;
}

.menu-box-modal-full {
    max-height: 100vh;
    width: 100vw;
    height: 100vh;
}

.menu-box-detached, .menu-box-modal {
    border-radius: 15px;
}

.menu-box-top.menu-box-detached {
    top: 10px;
    left: 10px;
    right: 10px;
}

.menu-box-bottom.menu-box-detached {
    bottom: 20px;
    left: 10px;
    right: 10px;
}

.menu-box-left.menu-active {
    transform: translate3d(0%, 0, 0) !important;
}

.menu-box-right.menu-active {
    transform: translate3d(0%, 0, 0) !important;
}

.menu-box-top.menu-active {
    transform: translate3d(0%, 0, 0) !important;
}

.is-on-homescreen .menu-box-top.menu-active {
    transform: translate3d(0%, 40px, 0) !important;
}

.menu-box-bottom.menu-active {
    transform: translate3d(0%, 0, 0) !important;
}

.menu-box-modal.menu-active {
    transition: all 350ms ease;
    pointer-events: all !important;
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1, 1);
}

.menu-box-modal.menu-box-modal-full {
    max-height: 100%;
    width: 100%;
    height: 100%;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    transform: translate(0%, 0%);
}

.menu-hider.menu-active {
    transition: all 350ms ease;
    opacity: 1;
    pointer-events: all;
}

.menu-hider.menu-active.menu-active-clear {
    background-color: rgba(0, 0, 0, 0) !important;
}

.menu-box-left[data-menu-effect=menu-reveal] {
    opacity: 0;
    pointer-events: none;
    transform: translate(0px) !important;
    z-index: 96;
}

.menu-box-right[data-menu-effect=menu-reveal] {
    opacity: 0;
    pointer-events: none;
    transform: translate(0px) !important;
    z-index: 96;
}

.menu-active.menu {
    opacity: 1 !important;
    transition: all 350ms ease;
    pointer-events: all !important;
}

/*Dividers*/
.divider {
    height: 1px;
    display: block;
    background-color: rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.divider-margins {
    margin: 0px 17px 30px 17px;
}

.divider-icon {
    height: 1px;
    display: block;
    background-color: rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
}
.divider-icon i {
    position: absolute;
    width: 50px;
    background-color: #f0f0f0;
    text-align: center;
    margin-top: -8px;
    left: 50%;
    transform: translateX(-50%);
}
