﻿body {
    background-color: #fff;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
}

    a.link-blank::after {
        content: "";
        display: inline-block;
        background-image: url(/theming_assets/01J03PAFAZ039YJYKEN7A8WYVF.svg);
        background-size: cover;
        background-repeat: no-repeat;
        width: 12px;
        height: 12px;
        margin: 0 0 0 5px;
    }

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODM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YuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* Header */
.header {
    height: auto;
    width: 100%;
    max-width: 100%;
    padding: 0;
    display: block;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, .15);
    background-color: #fff;
    /* top: 0; */
    left: 0;
    z-index: 100;
}

    .header .inner {
        position: relative;
        align-items: center;
        display: flex;
        height: inherit;
        justify-content: space-between;
        padding: 0 10px;
        margin: 0 auto;
    }

.header-common {
    width: 100%;
    background-color: #222;
    position: fixed;
    left: 0;
    z-index: 9999;
}

    .header-common .header-main {
        height: 40px;
        position: relative;
        z-index: 9999;
    }

.header .logo a {
    display: block;
    line-height: 0;
}

.header .logo img {
    max-height: 32px;
}

.header-common .header-main .logo svg, .header-common .header-main .logo img {
    max-height: 50px;
    width: 120px !important;
    width: 70px !important;
}

/* 交換問い合わせ用CSS */
.container {
    padding-top: 60px;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

    .container .inner {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        margin: 0 auto;
        height: auto;
    }

    .container .inner {
        padding-top: 15px;
    }

h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-weight: 400;
    margin-top: 0;
}

html.tpl_form h1 {
    margin-bottom: 0.5em;
}

h1 {
    font-size: 32px;
    margin: 0.67em 0;
}

h2 {
    font-size: 22px;
    margin: 0.67em 0;
}

.information-container {
    margin-bottom: 15px;
    max-width: 650px;
}

.important-text {
    border: solid 3px #f00;
    background-color: #fceaee;
    padding: 20px;
    margin: 10% 0%;
}

.form {
    max-width: 650px;
    padding: 10px !important;
}

.form-field {
}

    .form-field ~ .form-field {
        margin-top: 25px;
    }

    .form-field.required label::after {
        content: " *";
        color: red; /* アスタリスクの色 */
        font-weight: bold; /* 太字にする */
    }

    .form-field label {
        display: block;
        font-size: 13px;
        margin-bottom: 5px;
    }

    .form-field.card-name label, .form-field.card-name p {
        display: block;
        font-size: 15px;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .form-field input, .textarea {
        font-size: 16px;
        padding: 8px 10px;
    }

        .form-field input[type="text"], input[type="date"] {
            width: 100%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
        }

    .form-field .upload-dropzone {
        border: 1px solid #ddd;
        font-size: 12px;
        padding: 8px 10px;
        overflow: hidden;
        position: relative;
        text-align: center;
    }

        .form-field .upload-dropzone span {
            color: #666;
            display: inline-block;
            line-height: 24px;
            padding: 2px;
        }

        .form-field .upload-dropzone input[type=file] {
            opacity: 0;
            position: absolute;
            top: 0;
            right: 0;
            cursor: pointer;
            height: 100%;
            width: 100%;
        }

    .form-field .upload-pool {
        margin: 0;
        overflow: hidden;
        padding: 0;
    }

        .form-field .upload-pool ul {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .form-field .upload-pool .upload-item {
            border-radius: 3px;
            clear: left;
            float: left;
            font-size: 12px;
            margin-top: 10px;
            overflow: hidden;
            padding: 5px;
            position: relative;
            width: 50%;
        }

            .form-field .upload-pool .upload-item:hover {
                background: #f2f2f2;
            }

            .form-field .upload-pool .upload-item .upload-item-icon {
                vertical-align: middle;
            }

            .form-field .upload-pool .upload-item .upload-item-icon-spacer {
                display: inline-block;
                width: 5px;
            }

            .form-field .upload-pool .upload-item .upload-link {
                color: #333;
                display: inline-block;
                max-width: calc(100% - 30px);
                overflow: hidden;
                text-decoration: none;
                text-overflow: ellipsis;
                vertical-align: middle;
                white-space: nowrap;
            }

            .form-field .upload-pool .upload-item > a, .upload-item span {
                position: relative;
                z-index: 1;
            }

            .form-field .upload-pool .upload-item .upload-path {
                display: none !important;
            }

            .form-field .upload-pool .upload-item .upload-remove {
                color: #888;
                cursor: pointer;
                float: right;
                font-weight: bold;
                margin: 0 5px 0 15px;
            }

            .form-field .upload-pool .upload-item .upload-progress {
                background-color: #0072ef;
                height: 2px;
                transition: width .5s linear;
                visibility: hidden;
                width: 5%;
            }

    .form-field .textarea {
        width: 100%;
        min-height: 120px;
        vertical-align: middle;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-sizing: border-box;
        margin-bottom: 0px;
    }

    .form-field .select {
        width: 100%;
        border: 1px solid #ddd;
        border-radius: 4px;
        box-sizing: border-box;
        min-height: 40px;
        padding: 4px 3px;
        padding-right: 28px;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='gray' d='M5.5 7.5l4.5 4.5 4.5-4.5z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 10px center;
        background-size: 12px;
        background-color: #fff;
    }

    .form-field input[type="text"]:focus, input[type="number"]:focus, input[type="date"]:focus, input[type="search"]:focus, .textarea:focus, .select:focus {
        border-color: black; /* フォーカス時の色を設定 */
        box-shadow: 0 0 0px rgba(0, 0, 0, 0); /* フォーカス時の影を設定 */
        outline: none; /* デフォルトのアウトラインを削除 */
    }

    .form-field span {
        font-size: 13px;
        margin-left: 10px;
    }

    .form-field p {
        color: #666;
        font-size: 12px;
        margin: 5px 0;
    }

    .form-field ul {
        color: #666;
        font-size: 12px;
        margin: 5px 0;
        list-style: none;
        padding: 0;
    }

    .form-field a.link-blank {
        position: relative;
    }

    .form-field a {
        color: #15537d;
        text-decoration: none;
        background-color: transparent;
    }

        .form-field a.link-blank::after {
            content: "";
            display: inline-block;
            background-image: url(/theming_assets/01J03PAFAZ039YJYKEN7A8WYVF.svg);
            background-size: cover;
            background-repeat: no-repeat;
            width: 12px;
            height: 12px;
            margin: 0 0 0 5px;
        }

img {
    border-style: none;
    width: 100%;
    height: auto;
}


.valid.modified:not([type=checkbox]) {
    outline: none;
}

.form footer {
    margin-top: 40px;
    padding-top: 30px;
}

.button-large, input[type="submit"], input[type="button"] {
    cursor: pointer;
    background-color: #222;
    border: 0;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 2.72;
    min-width: 190px;
    padding: 0 1.9286em;
    width: 100%;
}

input[type="button"], input[type="submit"] {
    margin-bottom: 15px;
    margin-right: 20px;
}

.add {
    background-color: white !important;
    color: #258cfb !important;
    border: 1px solid #258cfb !important;
}

.remove {
    background-color: white !important;
    color: #e50000 !important;
    border: 1px solid #e50000 !important;
}

.agreementSection {
    margin-top: 30px;
}

.agreement-container {
    margin-bottom: 15px;
}

.hide {
    display: none !important;
}

.form-agreetext .agree-body {
    border-radius: 5px;
    border: 1px solid #dddddd;
    padding: 10px;
    border: 3px solid red;
    padding: 15px;
    /* background: #fffafa; */
    margin: 20px 0 0;
    box-shadow: 3px 3px #d0d0d0;
    border-radius: 20px;
    position: relative;
    font-size: 14px;
}

@media (min-width: 768px) {
    .header .header-common .header-main .inner {
        padding: 0 20px;
        margin: 0;
    }

    .header-common .header-main {
        height: 71px;
    }

        .header-common .header-main .logo svg, .header-common .header-main .logo img {
            width: 120px !important;
        }

    .container .inner {
        padding-top: 40px;
    }

    .container {
        padding-top: 60px;
    }

    .inner {
        max-width: 1160px;
        padding: 0 20px;
    }

    .button-large, input[type="submit"], input[type="button"] {
        width: auto;
    }

    .form-agreetext .agree-body {
        max-height: none;
        overflow-y: visible;
    }
}

textarea {
    margin-bottom: 20px;
}

.text-success {
    color: green;
    font-weight: bold;
    margin-top: 15px;
}

.footer {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

    .footer a {
        color: #666;
    }

footer .inner {
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
    margin: 0 auto;
    height: auto;
}

.footer-common {
    background-color: #222;
    color: #fff;
    padding: 15px 0;
    text-align: center;
    font-size: 12px;
    margin-top: 20px;
}

    .footer-common .copy {
        margin: 0 0 15px 0;
        margin: 0;
        font-size: 2.3vw;
    }

    .footer-common .subtext {
        margin: 0 0 0 0;
        font-size: 2.3vw;
    }

.brand_footer {
    background-color: #dddddd;
    padding: 15px 20px;
    text-align: center;
    margin-top: 20px;
}

    .brand_footer p {
        margin: 0;
    }

    .brand_footer a {
        display: block;
        margin-bottom: 5px;
    }

    .brand_footer + .footer-common {
        margin-top: 0;
    }

.footer_message:not(:empty) {
    margin-top: 20px;
    padding: 15px 20px;
    text-align: center;
}

    .footer_message:not(:empty) + .brand_footer {
        margin-top: 15px;
    }

@media (min-width: 576px) {
    .footer-common {
        margin-top: 60px;
    }

        .footer-common .copy {
            font-size: 12px;
        }

        .footer-common .subtext {
            font-size: 12px;
        }

    .brand_footer + .footer-common {
        margin-top: 0;
    }

    .footer_message:not(:empty) {
        margin-top: 60px;
    }

        .footer_message:not(:empty) + .brand_footer {
            margin-top: 15px;
        }

    img {
        border-style: none;
        width: 50%;
        height: auto;
    }
}

@media (min-width: 768px) {
    .important-text {
        margin: 10px 0 0 0;
    }

    .brand_footer {
        margin-top: 60px;
    }

        .brand_footer p {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
        }

        .brand_footer a {
            display: block;
            margin-bottom: 0;
            padding: 0 5px;
            position: relative;
        }

            .brand_footer a:before {
                content: "";
                display: block;
                width: 1px;
                height: 80%;
                position: absolute;
                left: 0;
                top: 50%;
                transform: translateY(-50%);
                border-left: 1px solid #666666;
            }

            .brand_footer a:first-child:before, .brand_footer a.hide + a:before {
                content: none;
            }
}

/* ファイルアップロード挙動用 */


.upload-dropzone label {
    display: block;
    margin: 0;
    cursor: pointer;
    width: 100%;
    color: #6c757d;
}

.file-input {
    display: none;
}

.file-label {
    font-size: 12px;
}

.drag-over {
    background-color: #f8f9fa;
    border-color: #adb5bd;
}

.uploading-files {
    margin-top: 1rem;
    display: flow-root;
}

.file-upload-item {
    margin-bottom: 1rem;
}

.file-name {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.progress-line-container {
    width: 100%;
    height: 2px;
    background-color: #f0f0f0;
    overflow: hidden;
}

.progress-line {
    height: 100%;
    background-color: #0d6efd;
    transition: width 0.2s ease;
}

.upload-item {
    border-radius: 3px;
    clear: left;
    float: left;
    font-size: 12px;
    margin-top: 10px;
    overflow: hidden;
    padding: 5px;
    position: relative;
    width: 50%;
}

.upload-item-icon-spacer {
    display: inline-block;
    width: 5px;
}

.upload-item .upload-link {
    color: #333;
    display: inline-block;
    max-width: calc(100% - 30px);
    overflow: hidden;
    text-decoration: none;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
}

.upload-item > a, .upload-item span {
    position: relative;
    z-index: 1;
}

.upload-item .upload-remove {
    color: #888;
    cursor: pointer;
    float: right;
    font-weight: bold;
    margin: 0 5px 0 15px;
}

.pseudo::after, .pseudo::before {
    display: none;
}
/* 入力エラー系 */
.notification {
    border: 1px solid;
    display: flex;
    font-family: sans-serif;
    font-size: 12px;
    padding: 13px 15px;
    transition: height .2s;
    width: 100%;
    color: #555;
}

.notification-error {
    background: #ffeded;
    border-color: #f7cbcb;
}

.notification-inline.notification-error {
    background-color: #fff0f1;
    border: 1px solid #e35b66;
    color: #cc3340;
}

    .notification-inline.notification-error::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' focusable='false' viewBox='0 0 12 12'%3E%3Cg fill='none' stroke='%23e35b66'%3E%3Ccircle cx='5.5' cy='6.5' r='5'/%3E%3Cpath stroke-linecap='round' d='M5.5 3.5v3'/%3E%3C/g%3E%3Ccircle cx='5.5' cy='9' r='1' fill='%23e35b66'/%3E%3C/svg%3E");
        margin: -2px 5px 0 0;
    }

.notification-inline {
    border-radius: 4px;
    line-height: 14px;
    margin-top: 5px;
    padding: 5px;
    position: relative;
    text-align: left;
    vertical-align: middle;
}

    .notification-icon::before, .notification-inline.notification-error::before {
        background-size: cover;
        content: "";
        display: inline-block;
        height: 14px;
        width: 14px;
        vertical-align: middle;
    }
