:root {
    --main-color: #178F3C;
    --sub-color: #C9E5D5;
    --white-color: #FFFFFF;
    --gray-color: #ccc;
    --step-green-completed: #7BC29A;
    --step-name: #999999;
    --step-name-active: #333333;
    --step-gray-uncompleted: #B3B3B3;
    --border-gray: #E6E6E6;
    --bg-gray: #F5F5F5;
    --required-red: #B7282D;
}
body {
    font-size: 87.5%;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', 'Noto Sans Japanese', 'Hiragino Kaku Gothic ProN', sans-serif;
    line-height: 1.5;
    color: #000;
    font-weight: 300;
}
div {
    margin: 0;
    padding: 0;
    line-height: 1.41;
}
* {
    box-sizing: border-box;
}
p {
    margin: 0;
    padding: 0;
    line-height: 1.41
}
.bold {
    font-weight: bold;
}
/*container:form*/
.wrapper {
    background: var(--bg-gray);
}
.wrapper .content {
    display: flex;
}
.wrapper .content .main {
    width: 100%;
    /*height: calc(100vh - 50px);*/
    padding: 16px 16px 0;
    /*overflow-y: scroll;*/
    flex-direction: column;
}
.wrapper .content .main .box {
    margin: 16px auto 80px;
    max-width: 1080px;
    padding: 32px 48px 80px;
    border-top: 4px solid var(--main-color);
    border-radius: 4px;
    background: var(--white-color);
}
.wrapper .content .main .box h2.box-title {
    color: var(--main-color);
    font-size: 24px;
    letter-spacing: 2px;
    font-weight: 700;
    padding-left: 0;
}
.wrapper .content .main .box h2.box-title:before {
    content: "";
    position: relative;
    display: inline-block;
    background-size: contain;
    width: 24px;
    height: 24px;
    margin-right: 16px;
}
.wrapper .content .main .box h3.box-title {
    margin-top: 16px;
    border-left: 2px solid var(--main-color);
    padding-left: 16px;
    line-height: 24px;
    font-weight: 700;
    font-size: 15px;
    color: #444;
}
.wrapper .content .main .box form {
    margin-top: 24px;
    padding: 16px 16px 40px;
    border: 1px solid var(--border-gray);
}
@media only screen and (max-width: 599.95px) {
    .wrapper .content .main .box form {
        padding: 8px 8px 20px;
    }
    .wrapper .content .main {
        width: 100vw !important;
        /*height: 100vh !important;*/
        overflow-y: inherit;
        flex-direction: column;
    }
    .wrapper .content .main .box {
        /*width: 100%;*/
        padding: 32px 15px 80px;
    }
}
/*header:step*/
.wrapper .content .main .stepper-wrapper {
    display: flex;
    justify-content: space-between;
    max-width: 1080px;
    margin: 0 auto 16px;
}
.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    /*background-color: var(--white-color);*/
    color: var(--step-name);
    font-weight: bold;
}

.stepper-item::before {
    position: absolute;
    content: "";
    border-bottom: 2px dotted var(--step-gray-uncompleted);
    width: 100%;
    top: 35px;
    left: -50%;
    z-index: 2;
}

.stepper-item::after {
    position: absolute;
    content: "";
    border-bottom: 2px dotted var(--step-gray-uncompleted);
    width: 100%;
    top: 35px;
    left: 50%;
    z-index: 2;
}

.stepper-item .step-counter {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--step-gray-uncompleted);
    border: 2px solid var(--step-gray-uncompleted);
    color: var(--white-color);
    margin-top: 6px;
    margin-bottom: 6px;
    text-align: center;
    font-weight: bold;
}
.step-name {
    text-align: center;
}
.step-name span {
    line-height: 1.4;
    margin: 0px;
    word-wrap: break-word;
    white-space: pre-wrap;
    width: 100%;
}

.stepper-item.active {
    color: var(--step-name-active);
}
.stepper-item.active .step-counter {
    background-color: var(--main-color);
    border: 2px solid var(--main-color);
    color: var(--white-color);
}
.stepper-item.completed .step-counter {
    background-color: var(--step-green-completed);
    border: 2px solid var(--step-green-completed);
    color: var(--white-color);
}

.stepper-item.completed::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid var(--step-green-completed);
    width: 100%;
    top: 35px;
    left: 50%;
    z-index: 3;
}

.stepper-item:first-child::before {
    content: none;
}
.stepper-item:last-child::after {
    content: none;
}
@media only screen and (max-width: 599.95px) {
    .wrapper .content .main .stepper-wrapper {
        /*width: 100%;
        padding: 0 10px;*/
        flex-wrap: wrap;
    }
    .stepper-item .step-counter {
        width: 40px;
        height: 40px;
        font-size: .6rem;
    }
    .stepper-item::before,.stepper-item::after,.stepper-item.completed::after {
        top: 25px;
    }
    .step-name span {
        font-size: .5rem;    
    }
}
/*footer*/
.footer-root {
    margin: 20px -16px 0 -16px;
    padding: 0 16px;
    background: var(--white-color);
}
.footer {
    min-width: auto !important;
    margin-top: 20px;
    background: var(--white-color);
    padding-bottom: 48px;
}
.footer .footer-wrapper {
    display: flex;
    width: auto !important;
    max-width: 1100px;
    justify-content: space-between;
    margin: 0 auto;
    padding: 48px 0;
}
.footer .footer-wrapper .bank-logo {
    width: 20% !important;
}
.footer .footer-wrapper .bank-logo img {
    width: 100% !important;
    max-width: 173px;
}
.footer .footer-other {
    width: auto !important;
    max-width: 1080px;
    margin: 0 auto;
}
.footer p.about-bank {
    line-height: 1.7em;
    font-size: 12px;
}
.footer p.copy-right {
    line-height: 1.7em;
    font-size: 12px;
}

@media only screen and (max-width: 599.95px) {
    .footer {
        min-width: auto !important;
        margin-top: 0;
        padding-bottom: 0;
    }
    .footer .footer-wrapper {
        width: auto !important;
        max-width: 1100px;
        display: block;
        padding: 15px 15px 0;
    }
    .footer .footer-wrapper .bank-logo {
        text-align: right;
        width: 20% !important;
    }
    .footer .footer-other {
        margin: 0;
        width: auto !important;
        max-width: 1080px;
        padding: .75rem 15px;
        /* background-color: var(--main-color);
         color: var(--white-color);*/
    }
    .footer p.about-bank {
        font-size: .75rem;
        padding-bottom: .75rem;
    }
    .footer p.copy-right {
        font-size: .75rem;
        text-align: center;
    }
}
/*button*/
.text-center {
    text-align: center;
}
.btn {
    font-weight: bold;
}
.btn.arrow {
    position: relative;
}
.btn.size-l {
    width: 100% !important;
    max-width: 348px;
    height: 54px;
    line-height: 54px;
    border-radius: 5px;
    font-size: 16px;
    letter-spacing: 2px;
}

.btn.key-color {
    border: 1px solid var(--main-color);
    color: var(--white-color);
    background: var(--main-color);
}
input[type="text"]:not(:focus), input[type="password"]:not(:focus), textarea:not(:focus), select:not(:focus), button:not(:focus) {
    outline: none;
}
@media only screen and (max-width: 599.95px) {
    .btnSp {
        width: 256px !important;
        font-size: 15px !important;
    }
}
.mt16 {
    margin-top: 16px;
}
.mt64 {
    margin-top: 64px;
}
.btn {
    display: inline-block;
    border: 1px solid var(--main-color);
    text-align: center;
    transition: background .3s, color .3s;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
}
button {
    margin: 0;
    padding: 0;
    border: none;
    cursor: pointer;
}
.btn.arrow::after {
    content: "＞";
    position: absolute;
    color: var(--white-color);
    right: 24px;
    transition: 0.3s;
}
.btn:disabled {
    border: 1px solid #b7bac1;
    color: var(--white-color);
    background: #b7bac1;
    cursor: default;
}
.btn.btnInline{
    height: 40px;
    line-height: 40px;
    max-width: 150px;
}
.btn.size-s {
    width: 100% !important;
    max-width: 348px;
    height: 54px;
    line-height: 54px;
    border-radius: 5px;
    letter-spacing: 2px;
}
.btn.sub-color {
    border: 1px solid var(--main-color);
    color: var(--main-color);
    background: var(--white-color);
}
.btn.btnSubtitle{
    height: 25px;
    line-height: 25px;
    max-width: 50px;
    float: right;
    margin-right: 10px;
}
.btn.btnBack{
    height: 25px;
    line-height: 25px;
    max-width: 50px;
    float: left;
    font-size: 16px; 
    margin-right: 10px;
}
/*title*/
div.div_frameitem_title {
    clear: both;
    display: table;
    height: 40px;
    width: 100%;
    color: var(--main-color);
    /*background-color: var(--main-color);
    border-left: 1px var(--main-color) solid !important;
    border-right: 1px var(--main-color) solid !important;
    color: var(--white-color);*/
    cursor: default;
    font-size: .7rem;
    font-weight: bold;
}
div.div_frameitem_title_contents {
    display: table-cell;
    padding: 1px 0px 0px 10px;
    vertical-align: middle;
    width: 100%;
    border-bottom: 1px solid var(--border-gray);
}
/*subtitle*/
div.div_frameitem_subtitle {
    clear: both;
    display: table;
    height: 20px;
    width: 100%;
    color: var(--main-color);
    /*background-color: var(--main-color);
    border-left: 1px var(--main-color) solid !important;
    border-right: 1px var(--main-color) solid !important;
    color: var(--white-color);*/
    cursor: default;
    font-size: .7rem;
    font-weight: bold;
}
div.div_frameitem_subtitle_contents {
    /*display: table-cell;
    padding: 1px 0px 0px 10px;*/
    vertical-align: middle;
    width: 100%;
    /*border-bottom: 1px solid var(--border-gray);*/
    background-color: var(--sub-color);
    height: 30px;
}
div.div_frameitem_subtitle_contents h2{
    padding: 2px;
}
/*input*/
.wrapper .content .main .box form .input-group {
    display: flex;
    flex-wrap: wrap;
    margin-top: 24px;
}
.wrapper .content .main .box form .input-group .input-label {
    width: 256px;
    height: 40px;
    margin-left: 20px;
    line-height: 40px;
    font-weight: bold;
}
.wrapper .content .main .box form .input-group .output-label {
    line-height: 40px;
    white-space: pre-wrap;
}
.wrapper .content .main .box form .input-group .input-label p {
    display: inline-block;
    min-width: 155px;
}
.wrapper .content .main .box form .input-group .input-label span {
    display: inline-block;
    color: var(--white-color);
    background-color: var(--required-red);
    height: 24px;
    line-height: 24px;
    border-radius: 4px;
    padding: 0 8px;
    margin-left: 8px;
    font-size: 13px;
    border: 1px solid var(--required-red);
    min-width: 44px;
}
.wrapper .content .main .box form.left .input-group .input-wrapper {
    flex: 1 1 399px;
    display: inline-block;
}
.wrapper .content .main .box form.left .input-group .input-wrapper .input-wrapper-group {
    display: inline-flex;
    margin-right: 8px;
    align-items: center;
    white-space: nowrap;
}
.wrapper .content .main .box form.left .input-group .input-wrapper .input-wrapper-group p {
    display: inline-block;
    min-width: 40px;
}
.wrapper .content .main .box form .input-group .input-wrapper input[type=number].size-l,
.wrapper .content .main .box form .input-group .input-wrapper input[type=text].size-l,
.wrapper .content .main .box form .input-group .input-wrapper select.size-l {
    width: 400px;
}
.wrapper .content .main .box form.left .input-group .input-wrapper input.size-l {
    max-width: 400px;
    width: 100% !important;
}

.wrapper .content .main .box form .input-group .input-wrapper input[type=number],
.wrapper .content .main .box form .input-group .input-wrapper input[type=text],
.wrapper .content .main .box form .input-group .input-wrapper textarea,
.wrapper .content .main .box form .input-group .input-wrapper select {
    width: 300px;
    height: 40px;
    line-height: 40px;
    padding: 0 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
    font-size: 16px;
    letter-spacing: 1px;
    font-family: inherit;
}
.wrapper .content .main .box form .input-group .input-wrapper textarea{
    width: 400px;
    height: 160px;
}
.wrapper .content .main .box form .input-group .input-wrapper input[type=number].erroritem,
.wrapper .content .main .box form .input-group .input-wrapper input[type=text].erroritem {
    background: #ffe8e8;
    color: #cd2412;
    border: 1px solid red;
}
.error-message {
    color: red;
    font-size: 13px;
    margin-left: 20px;
    margin-top: 8px;
}
.no-margin-left{
    margin-left: 0;
}
.displayNone {
    display: none !important;
}
.wrapper .content .main .box .check-message {
    margin-top: 20px;
    white-space: pre-wrap;
}
.wrapper .content .main .box .info-area {
    border: 1px solid var(--border-gray);
    padding: 10px;
    p {
        white-space: pre-wrap;
        padding: 10px;
    }
}
.wrapper .content .main .box form.left .input-group .input-wrapper input.size-s {
    max-width: 200px;
    width: 100% !important;
    margin-bottom: 5px;
}
.wrapper .content .main .box form.left .input-group .input-wrapper input.size-xs {
    max-width: 80px;
    width: 100% !important;
    margin-bottom: 5px;
}
@media only screen and (max-width: 599.95px) {
    .wrapper .content .main .box form.left .input-group .input-label {
        margin-left: 0;
    }
    .wrapper .content .main .box form .input-group .input-label {
        margin-left: 0;
    }
    .wrapper .content .main .box form .input-group .input-label p {
        min-width: 100px;
    }
    .wrapper .content .main .box form .input-group .input-wrapper {
        width: 100%;
        max-width: 300px;
    }
    .wrapper .content .main .box form .input-group .input-wrapper input[type=text].size-l,
    .wrapper .content .main .box form .input-group .input-wrapper input[type=number].size-l,
    .wrapper .content .main .box form .input-group .input-wrapper select.size-l {
        width: 100%;
    }
    .wrapper .content .main .box form .input-group .input-wrapper textarea{
        width: 100%;
    }
    .error-message {
        margin-left: 0;
    }
}
/*checkbox*/
input[type=checkbox], input[type=file] {
    opacity: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: absolute;
    width: 0;
}
.c-form-checkbox__input {
    cursor: pointer;
}
.c-form-checkbox__parts {
    position: relative;
    padding-left: 25px;
}
.c-form-checkbox__parts::before {
    position: absolute;
    top: -1px;
    left: 0;
    display: block;
    width: 15px;
    height: 15px;
    content: "";
    border: 3px solid #ccc;
    border-radius: 4px;
    background: var(--white-color);
}
.color-red{
    color: red;
}
.c-form-checkbox__input:checked+.c-form-checkbox__parts::after {
    border-right: 3px solid var(--main-color);
    border-bottom: 3px solid var(--main-color);
}
.c-form-checkbox__input:checked+.c-form-checkbox__parts::after {
    position: absolute;
    top: -1px;
    left: 5px;
    display: block;
    width: 6px;
    height: 12px;
    content: "";
    transform: rotate(40deg);
}
.div_check {
    padding: 8px 8px 8px 6px;
    width: 90%;
    border: 1px solid #ddd;
    margin: auto;
    border-radius: 4px;
}
.wrapper .content .main .box form .input-group .input-wrapper .div_check {
    width: auto;
    max-width: 400px;
    margin: 0;
}
.div_check input[type=radio] {
    display: block;
    float: left;
    width: 14px;
    height: 14px;
    /* margin: 5px 0 0 0; */
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}
.div_check label {
    display: inline-block;
    min-width: 30%;
    padding: 8px;
}
.div_check label input[type=text]{
    width: 100% !important;
    height: 30px !important;
}
@media only screen and (max-width: 599.95px) {
    .div_check label {
        min-width: 70px;
        padding: 5px;
    }
    .div_check label input[type=text]{
        max-width: 150px;
    }
}
/*search-dropdown*/
.select-root {
    border: 0;
    margin: 0;
    display: inline-flex;
    padding: 0;
    position: relative;
    min-width: 0;
    flex-direction: column;
    /*vertical-align: top;*/
    width: 100%;
    max-width: 400px;
}
.input-root {
    flex-wrap: wrap;
    color: rgba(0, 0, 0, 0.87);
    cursor: text;
    display: inline-flex;
    position: relative;
    font-size: 1rem;
    box-sizing: border-box;
    align-items: center;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    line-height: 1.1876em;
    letter-spacing: 0.00938em;
}
.input-root input {
    width: 0;
    min-width: 30px;
    /*padding: 0 !important;*/
    opacity: 1;
    flex-grow: 1;
    text-overflow: ellipsis;
}
.input-base {
    font: inherit;
    color: currentColor;
    width: 100%;
    border: 0;
    height: 1.1876em;
    margin: 0;
    display: block;
    padding: 6px 0 7px;
    min-width: 0;
    background: none;
    box-sizing: content-box;
    animation-name: mui-auto-fill-cancel;
    letter-spacing: inherit;
    animation-duration: 10ms;
    -webkit-tap-highlight-color: transparent;
}
.endAdornment {
    top: calc(50% - 14px);
    right: 0;
    position: absolute;
}
@media (hover: none) {
    .button-root:hover {
        background-color: transparent;
    }
}

.button-root:hover {
    background-color: rgba(0, 0, 0, 0.04);
}
input[type="text"]:not(:focus), input[type="password"]:not(:focus), textarea:not(:focus), select:not(:focus), button:not(:focus) {
    outline: none;
}
.clearIndicator.focused {
    visibility: visible;
}
.clearIndicator {
    padding: 4px;
    visibility: hidden;
    margin-right: -2px;
}
.button-root {
    flex: 0 0 auto;
    color: rgba(0, 0, 0, 0.54);
    padding: 12px;
    overflow: visible;
    font-size: 1.5rem;
    text-align: center;
    transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    border-radius: 50%;
}
.button-root {
    color: inherit;
    border: 0;
    cursor: pointer;
    margin: 0;
    display: inline-flex;
    outline: 0;
    padding: 0;
    position: relative;
    align-items: center;
    user-select: none;
    vertical-align: middle;
    -moz-appearance: none;
    justify-content: center;
    text-decoration: none;
    background-color: transparent;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}
.button-label {
    width: 100%;
    display: flex;
    align-items: inherit;
    justify-content: inherit;
    color: rgba(0, 0, 0, 0.54);
}
.svgIcon-root {
    font-size: 1.25rem;
    fill: currentColor;
    width: 1em;
    height: 1em;
    display: inline-block;
    font-size: 1.5rem;
    transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    flex-shrink: 0;
    user-select: none;
}
.touch-root {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    position: absolute;
    border-radius: inherit;
    pointer-events: none;
}
.popupIndicator {
    padding: 2px;
    margin-right: -2px;
}
.list-search-container {
    background-color: white;
    margin-top: 42px;
    /*padding: 20px;*/
    border-radius: 10px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    display: none;
    cursor: pointer;
    position: absolute;
    width: 100%;
}
.container.active .list-search-container {
    display: block;
    z-index: 1300;
}
.container.active .select-box svg {
    transform: rotate(-180deg);
}

.list {
    margin: 0;
    padding: 8px 0;
    overflow: auto;
    list-style: none;
    max-height: 40vh;
}
.list-items {
    cursor: pointer;
    display: flex;
    outline: 0;
    box-sizing: border-box;
    min-height: 40px;
    align-items: center;
    padding-top: 6px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 6px;
    justify-content: flex-start;
    -webkit-tap-highlight-color: transparent;
}
.list li {
    /* font-size: 21px;
     height: 50px;
     padding: 10px 15px;*/
    list-style: none;
    position: relative;
}
.list li:hover,
li.selected {
    border-radius: 5px;
    background: #f2f2f2;
}
.pointer {
    cursor: pointer;
}
/*dialog*/
/* Overlay to cover the entire viewport */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    display: none; /* Hidden by default, shown with JavaScript */
    align-items: center; /* Center items vertically */
    justify-content: center; /* Center items horizontally */
    z-index: 1000;
}

/* Dialog box styling */
.modal-dialog {
    background: white;
    width: 90%;
    max-width: 500px; /* Set a max-width for larger screens */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /*text-align: center;*/
    position: relative;
}
.modal-dialog .input-group {
    display: flex;
    flex-wrap: wrap;
    margin-top: 24px;
}
.modal-dialog .input-group .input-wrapper {
    flex: 1 1 360px;
    display: inline-block;
}
.modal-dialog .input-group .input-label p {
    display: inline-block;
    /*min-width: 150px;*/
}
.modal-dialog .input-group .input-label {
    /*width: 256px;*/
    height: 30px;
    margin-right: 20px;
    line-height: 30px;
    font-weight: bold;
}
.modal-dialog .input-group .input-wrapper input.size-s {
    max-width: 150px;
    width: 100% !important;
    margin-bottom: 5px;
}
.modal-dialog .input-group .input-wrapper input[type=text] {
    width: 300px;
    height: 30px;
    line-height: 40px;
    padding: 0 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
    font-size: 16px;
    letter-spacing: 1px;
    font-family: inherit;
}
/* Title styling */
.modal-dialog h2 {
    font-size: 1.5em;
    margin: 0 0 15px;
    color: #333;
}

.modal-dialog .btn.btnInline {
    height: 30px;
    line-height: 30px;
    max-width: 100px;
}
.modal-dialog form {
    height: 200px;
    overflow: auto;
}
.modal-dialog form input[type=radio] {
    display: block;
    float: left;
    width: 16px;
    height: 16px;
    /*margin: 5px 0 0 0;*/
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}
.modal-dialog form label {
    display: block;
    margin: 0 0 0 40px;
    font-size: 16px;
}
/* Message text styling */
.modal-dialog p {
    /*font-size: 1em;
    color: #666;*/
    font: inherit;
    margin: 0 0 20px;
}

/* Buttons container */
.dialog-buttons {
    display: flex;
    justify-content: space-between;
}

/* Confirm and cancel buttons */
.dialog-buttons button {
    width: 38%;
    /* padding: 10px; */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    /* font-size: 1em; */
    transition: background 0.3s ease;
    font-size: inherit;
    /* font-family: bold; */
    font-weight: bold;
    margin-top: 24px;
    height: 30px;
    line-height: 30px;
}

/* 分割線 */
.green-line {
    border: 1px solid var(--main-color);
    margin-top: 24px;
}
