﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}
/* 汎用 */
/* with */
.w-10 {
    width: 10% !important;
}

.w-15 {
    width: 15% !important;
}

.w-20 {
    width: 20% !important;
}

.w-25 {
    width: 25% !important;
}

.w-30 {
    width: 30% !important;
}

.w-35 {
    width: 35% !important;
}

.w-40 {
    width: 40% !important;
}

.w-41 {
    width: 41% !important;
}

.w-45 {
    width: 45% !important;
}

.w-55 {
    width: 55% !important;
}

.w-60 {
    width: 60% !important;
}

.w-64 {
    width: 64% !important;
}

.w-68 {
    width: 68% !important;
}

.w-70 {
    width: 70% !important;
}

.w-95 {
    width: 95% !important;
}

.w-50p {
    width: 50px !important;
}

.w-60p {
    width: 60px !important;
}

.w-100p {
    width: 100px !important;
}

.w-120p {
    width: 120px !important;
}

.w-150p {
    width: 150px !important;
}

.w-200p {
    width: 200px !important;
}

.w-250p {
    width: 250px !important;
}

/* margin */
.m-5 {
    margin: 2rem !important;
}

.m-6 {
    margin: 2.5rem !important;
}

.m-7 {
    margin: 3rem !important;
}

.mt-5 {
    margin-top: 2rem !important;
}

.mt-6 {
    margin-top: 2.5rem !important;
}

.mt-7 {
    margin-top: 3rem !important;
}

.mb-5 {
    margin-bottom: 2rem !important;
}

.mb-6 {
    margin-bottom: 2.5rem !important;
}

.mb-7 {
    margin-bottom: 3rem !important;
}

.ms-5 {
    margin-left: 2rem !important;
}

.ms-6 {
    margin-left: 2.5rem !important;
}

.ms-7 {
    margin-left: 3rem !important;
}

.ms-8 {
    margin-left: 3.5rem !important;
}

.ms-9 {
    margin-left: 4rem !important;
}

.ms-10 {
    margin-left: 4.5rem !important;
}

.ms-11 {
    margin-left: 5rem !important;
}

.ms-12 {
    margin-left: 5.5rem !important;
}

.me-5 {
    margin-right: 2rem !important;
}

.me-6 {
    margin-right: 2.5rem !important;
}

.me-7 {
    margin-right: 3rem !important;
}

.me-8 {
    margin-right: 3.5rem !important;
}

.me-9 {
    margin-right: 4rem !important;
}


/* 画像保存禁止 ipad */
img.protected {
    user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -webkit-touch-callout: none;
}
/* エラーページ */
.common_error_wrap {
    display: flex;
    justify-content: center;
}

.error_wrap {
    display: flex;
    justify-content: center;
    width: 100vw;
}

.error_container {
    width: 98%;
    max-width: 900px;
    margin: 50px auto;
    border: 1px solid #CCC;
    padding: 30px;
}

.common_error_wrap .error_title,
.error_wrap .error_title {
    font-weight: bold;
    font-size: 1.5em;
    margin-bottom: 10px;
    color: crimson;
}

.common_error_wrap .error_contents,
.error_wrap .error_contents {
    font-size: 1.2em;
    margin-top: 10px;
}

/* QR */
.qr_wrap {
    margin: 80px auto;
    text-align: center;
}

    .qr_wrap h1 {
        font-size: 1.5rem;
    }

    .qr_wrap p {
        font-size: 1.1rem;
        margin-top: 20px;
    }
/* form error */
.form-control.input-validation-error {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
    background-repeat: no-repeat;
    background-position: center right calc(0.375em + 0.1875rem);
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

    .form-control.input-validation-error:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }

    .form-control.input-validation-error ~ .invalid-feedback,
    .form-control.input-validation-error ~ .invalid-tooltip {
        display: block;
    }

textarea.form-control.input-validation-error {
    padding-right: calc(1.5em + 0.75rem);
    background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}

.custom-select.input-validation-error {
    border-color: #dc3545;
    padding-right: calc((1em + 0.75rem) * 3 / 4 + 1.75rem);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px, url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E") #fff no-repeat center right 1.75rem/calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

    .custom-select.input-validation-error:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }

    .custom-select.input-validation-error ~ .invalid-feedback,
    .custom-select.input-validation-error ~ .invalid-tooltip {
        display: block;
    }

.form-control-file.input-validation-error ~ .invalid-feedback,
.form-control-file.input-validation-error ~ .invalid-tooltip {
    display: block;
}

.form-check-input.input-validation-error ~ .form-check-label {
    color: #dc3545;
}

.form-check-input.input-validation-error ~ .invalid-feedback,
.form-check-input.input-validation-error ~ .invalid-tooltip {
    display: block;
}

.custom-control-input.input-validation-error ~ .custom-control-label {
    color: #dc3545;
}

    .custom-control-input.input-validation-error ~ .custom-control-label::before {
        border-color: #dc3545;
    }

.custom-control-input.input-validation-error ~ .invalid-feedback,
.custom-control-input.input-validation-error ~ .invalid-tooltip {
    display: block;
}

.custom-control-input.input-validation-error:checked ~ .custom-control-label::before {
    border-color: #e4606d;
    background-color: #e4606d;
}

.custom-control-input.input-validation-error:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.custom-control-input.input-validation-error:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #dc3545;
}

.custom-file-input.input-validation-error ~ .custom-file-label {
    border-color: #dc3545;
    color: red;
}
.custom-file-input.input-validation-error ~ .invalid-feedback,
.custom-file-input.input-validation-error ~ .invalid-tooltip {
    display: block;
}

.custom-file-input.input-validation-error:focus ~ .custom-file-label {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/*table*/
table.table th, table.table td {
    vertical-align: middle;
}
