

/* step-indicator */
.multi-steps > li span {

    color: #404040;
    white-space: nowrap;
}

.multi-steps > li.is-active:before, .multi-steps > li.is-active ~ li:before {
    content: counter(stepNum);
    font-family: inherit;
    font-weight: 700;
}

.multi-steps > li.is-active:after, .multi-steps > li.is-active ~ li:after {
    background-color: #ededed;
}

.multi-steps {
    display: table;
    table-layout: fixed;
    width: 90%;
    margin: 1em auto 1.5em auto
}

@media(max-width: 767px) {
    .multi-steps {
        margin: 1em auto 1em auto
    }
}

.multi-steps > li {
    counter-increment: stepNum;
    text-align: center;
    display: table-cell;
    position: relative;
    color: #87d05d;
}

.multi-steps > li.clickable {
    cursor: pointer;
}

.multi-steps > li:before {
    content: '\2713';
    display: block;
    margin: 0 auto 4px;
    background-color: #fff;
    width: 28px;
    height: 28px;
    font-size: 12pt;
    line-height: 28px;
    text-align: center;
    font-weight: bold;
    border-width: 2px;
    border-style: solid;
    border-color: #87d05d;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.multi-steps > li:after {
    content: '';
    height: 2px;
    width: 100%;
    background-color: #87d05d;
    position: absolute;
    top: 14px;
    left: 50%;
    z-index: 0;
}

.multi-steps > li:last-child:after {
    display: none;
}

.multi-steps > li.is-active:before {
    background-color: #fff;
    border-color: #87d05d;
}

.multi-steps > li.is-active ~ li {
    color: #808080;
}

.multi-steps > li.is-active ~ li:before {
    background-color: #ededed;
    border-color: #ededed;
}

/* button */
.register .buttons {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.register .buttons .primary {
    flex-grow: 1;
    text-align: right;
}
.register .buttons .secondary {
    text-align: left;
}
.register .buttons .loading {
    margin: 1.5em 0;
    flex-grow: 1;
    text-align: center;
}

/* product/present */


.register .items input:disabled, select:disabled {
    background-color: #e9ecef;
    opacity: 1;
}


.register .items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: auto;
    margin: 2em -10px;
}
.register .items.goods {
    max-height: 600px;
    overflow: auto;

    background:
        /* Shadow covers */
            linear-gradient(white 30%, rgba(255,255,255,0)),
            linear-gradient(rgba(255,255,255,0), white 70%) 0 100%,

                /* Shadows */
            radial-gradient(50% 0, farthest-side, rgba(0,0,0,.2), rgba(0,0,0,0)),
            radial-gradient(50% 100%,farthest-side, rgba(0,0,0,.2), rgba(0,0,0,0)) 0 100%;
    background:
        /* Shadow covers */
            linear-gradient(white 30%, rgba(255,255,255,0)),
            linear-gradient(rgba(255,255,255,0), white 70%) 0 100%,

                /* Shadows */
            radial-gradient(farthest-side at 50% 0, rgba(0,0,0,.2), rgba(0,0,0,0)),
            radial-gradient(farthest-side at 50% 100%, rgba(0,0,0,.2), rgba(0,0,0,0)) 0 100%;
    background-repeat: no-repeat;
    background-color: white;
    background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;

    /* Opera doesn't support this in the shorthand */
    background-attachment: local, local, scroll, scroll;

}

.register .items.goods .item {
    background-color: transparent;
}


.register .item {
    margin-bottom: 8px;
    margin-left: 8px;
    margin-right: 8px;

    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
}


.register .item.selected {
    border-color: #5ba1b9;
    box-shadow: 0px 4px 11px 1px #00BFFF;
}
.register .disabled {
    filter: grayscale(100%) contrast(95%) opacity(60%);
}
.register .disabled select {
    pointer-events: none;
}

.register .item .header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, .03);
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.products .item .header{
    cursor: pointer;
    text-indent: -20px;
    padding-left: 40px;
}

.register .item .body {
    display: grid;
    grid-auto-columns: minmax(100px,150px) 1fr;
}

.register .item .body .img {
    text-align: center;
    grid-column: 1/2;

    padding: 1em 0;
}

.register .item .body .img img {
    max-height: 100px;
    max-width: 100px;
    margin: 0 0.75em 0.75em 0.75em;
}

.register .item .body .content {
    grid-column: 2/2;

    padding: 1em;
}

.register .item.without-img .body {
    display: block;
}

.register .item.without-img .content {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.register .item.without-img .content .title {
    flex: 1 1 auto;
    margin-bottom: 0;
}

.register .item.without-img .content .price {
    margin: 0 0.5rem;
}


.register .item .body .content select {
    max-width: 160px;
}


@media(max-width: 767px) {
    .register .item .body .content select {
        max-width: 250px;
    }
}

.register .item h6 {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 0.75em;
}

.register .item .requiresGoldPoint {
    color: orange;
    font-weight: bold;
    font-size: 1.1em;
}

.stickToBottom {
    position: sticky;
    bottom: 0px;
    padding-bottom: 8px;
}

.goldPointStatus {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: auto;
    background-color: #a9e288;
    opacity: 0.9;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 6px 0 #ccc;

    border-radius: 10px;
}
@media(max-width: 767px) {
    .goldPointStatus {
        margi: 0;
    }
}


.goldPointStatus > div {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;

    color: #000;
}

.goldPointStatus .status {
    font-size: 1.1em;
    font-weight: bold;
}

.goldPointStatus .status span {
    font-size: 1.4em;
    color: #4141d4;
}

/* form */

.register section {
    margin-top: 3rem;
    margin-bottom: 3rem;
}
.register section + section{
    margin-top: 4rem;
}

.register .depends-on {
    display: none;
}


.register label {
    margin: 0.25em 0;
}

.register label, .register input[type=checkbox], .register input[type=radio] {
    cursor: pointer;
}

.register input, .register select {
    vertical-align: baseline;
    margin: 0.25em 0.25em 0.25em 0;
}
@media(max-width: 767px) {
    #content.register .kv-table .value,
    #content.register .readonly,
    #content.register input,
    #content.register select,
    #content.register label {
        font-size: 16px !important;
    }
    #content.register select {
        font-size: 16px !important;
        height: auto;
        padding: 2px 0 4px 0;
    }

}


.register select {
    min-width: 7em;
}

.register h3 {
    margin: 2rem 0 0 0;
}

.register .field-name {
    margin: 0.25em 0;
}

.register .form-group {
    margin: 0.5em 0;
}

.register .form-group a {
    color:#099;
}
.register .form-radio-buttons {
    margin-left: 1.5em;
}

.register .form-group .readonly,
.register .form-group input[type=text],
.register .form-group input[type=email],
.register .form-group input[type=password] {
    padding: 0.5em 1em 0.5em 0.5em;
}

.register .form-group label {
    padding: 0.5em 0.25em 0.5em 0;

}
.register .form-group select {
    height: 2.5em !important;
}

.register .form-group .hint {
    display: inline-block;
    margin: 0.25em 0.5em;
}

.register .field-set .form-group .hint {
    display: block;
    margin: 0.25em 0.5em;
}

.register button {
    height: 2.5em !important;
    min-width: 7em;
    max-width: 30em;
    margin: 0;
}

.register .form-group input[type=radio] {
    vertical-align: middle;
    margin: 0.5em 0.5em 0.5em 1em;
    width: auto;
}
.register .form-group input[type=radio] + label {
    display: inline-block;
    margin-right: 1em;
    min-width: 4em;
}

.register .field-set {
    display: flex;
    flex-wrap: wrap;
    /*grid-template-columns: repeat(auto-fill, 15em);*/
}
.register .field-set .form-group {
    margin-top: 0.25em;
    margin-bottom: 0.5em;
    margin-right: 0.5em;
}

.register .form-single-checkbox {
    background-color: #f7f7f7;
    padding: 0.75em 1em 0.75em 3em;
    text-indent: -2em;
}


@media(max-width: 767px) {
    .register .form-group input {
        width: 100%;
        min-width: auto !important;
    }

    .register .form-group .phoneNo-input {
        display: grid;
        grid-template-columns: auto 1fr;
        width: 100%;
    }
    .register .form-group .phoneNo-input .countryCallingCode {
        font-size: 16px;
        padding: 1em 0.5em 1em 0;
    }
    .register .form-group .phoneNo-input input {
        width: 100%;
    }

    .register .form-group select {
        width: 100%;
    }
    .register .field-set > .form-group {
        flex-basis: 100%;
    }

    .register .form-group.form-inline input,
    .register .form-group.form-inline select {
        width: auto;
        min-width: 5em !important;
    }


    .register .form-single-checkbox input {
        width: auto;
    }

}



.register ul.note {
    padding-left: 2em;
}
.register ul.note  li {
    padding-left: 0.5em;
}
.register ul.note > li  {
    list-style-type: '※';
}
.register ul.note ul {
    paddin-top: 0.5em;
    padding-left: 2em;
}
.register ul.note ul li  {
    list-style-type: disc;
}

    /* データ種別固有 */

.register .form-group input.fullname {
    min-width: 20em;
}

.register .form-group input.mailAddress {
    min-width: 20em;
}

.register .form-group input.partOfName {
    min-width: 10em;
}

.register .form-group input.address {
    min-width: 30em;
}

.register .form-group input.municipality {
    min-width: 20em;
}

.register .form-group input.streetNumber {
    min-width: 15em;
}

.register .form-group input.buildingName {
    min-width: 20em;
}

.register select.number {
    text-align-last: right;
}

.register select.number option {
    direction: rtl;
}
.register .form-group .year,
.register .form-group .month,
.register .form-group .day{
    min-width: 5em;
}

/** confirm */

.register .headline {
    /*display: flex;*/
}

.register a.edit {
    float: right;
    margin: 0.25em 0.5em;

}

.selected-items {
    display: flex;
    flex-wrap: wrap;
}
.selected-items > *:nth-child(1) {
    flex-grow: 5;
    width: 50%;
    margin: 1em 0;
}
.selected-items > *:nth-child(2) {
    flex-grow: 1;
    margin: 1em 0;
}

.selected-items .items {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;

}
.selected-items .items > * {
    width: 100%;
    margin: 0.25em 0;
}

.selected-items .items .item {
    margin: 0 0 0.5em 0;
    border-width: 1.5px;
    border-radius: 10px;
    border-color: #888;
}

.selected-items .img img {
    max-height: 80px;
}

.register .bundled-items {
    margin: 1em;
}


/* order-detail */
table.order-details {
    width: 100%;
}
table.order-details thead tr {
    background-color: #f0f0f0;
}

table.order-details td,
table.order-details th{
    padding: 0.25em 0.5em;
    border: 1px solid #bbb;
    vertical-align: middle;
}

table.order-details tr.detail td:nth-child(1) {
    padding-left: 2em;
}

table.order-details tfoot td {
    background-color: #fff !important;
}

table.order-details tfoot tr.total {
    background-color: #f0f0f0;
    font-size: 1.4em;
}

.emphasized {
    font-weight: bold;
    font-size: 1.4em;
}

table.order-details tfoot tr.total-for-history {
    background-color: #f0f0f0;
    font-size: 1em;
}

.emphasized-for-history {
    font-weight: bold;
    font-size: 1em;
}

table.order-details tfoot tr.total th,
table.order-details tfoot tr.total-for-history th {
    font-weight: bold;
    background-color: #f0f0f0;
    text-align: center;
}

table.order-details .number,
table.order-details .currency {
    text-align: right;
}

.tag {
    background-color: #eee;
    border: 1px solid #ccc;
    padding: 0.1em 10px;
    margin: 0 0.25em;
    border-radius: 1em;
}

.register h4 {
    margin: 2em 0.5em 1em 0.5em;
}
/* key-value table */
.register .kv-table {
    margin: 0.5em 0;
}
.register .kv-table > *:nth-child(odd) {
    background-color: #f8f8f8;
}
.register .kv-table > * {
    display: flex;
    flex-wrap: nowrap;
}
.register .kv-table .key {
    width: 18em;
    font-weight: bold;
    padding: 0.5em 0.5em 0.5em 5em;
}
.register .kv-table .value {
    flex-grow: 1;
    min-width: 18em;

    padding: 0.5em 0.5em;
}

.register section p {
    margin: 0.5em 1em;
}

@media(max-width: 767px) {
    .register .kv-table > *:nth-child(odd) {
        background-color: #fff;
    }
    .register .kv-table > * {
        flex-wrap: wrap;
    }
    .register .kv-table .key {
        color: #999;
        margin-top: 1.25rem;
        padding: 0 0 0 1rem;
    }
    .register .kv-table .value {
        padding: 0 0 0 1rem;
        margin-top: 0.2rem;
        width: 100%;
    }
}

.register .result {
    margin: 1.5em 0 1em 0;
}

.register .primary-message {
    font-size: 120%;
    font-weight: bold;
}

.register .warning {
    color: #f53333;
}

.register .errors {
    border: 3px solid #f53333;
    padding: 1em;
    color: #f53333;
    font-weight: bold;
    font-size: 110%;
}
.register .errors .additional-message{
    color: #f53333;
    font-weight: normal;
    font-size: 110%;
}
.register .debug-info {
    text-align: right;
    font-size: 90%;
    color: #888;
    margin: 0.5em;
}

/* document */
.register .preview {
    margin: 1rem;
    padding: 1rem;
    position: relative;
}
.register .preview img {
    max-width: 100%;
    /*box-shadow: 2px 5px 15px rgba(30, 30, 30, 0.8);*/
    border-color: #5ba1b9;
    box-shadow: 0px 4px 11px 1px #00BFFF;
}

.register .destination dt {
    float: left;
    margin-left: 1rem;
}

.register .destination dd {
    padding-left: 5rem;
}

.register .nested {
    margin: 1rem 2rem 0 1rem;
}

#content ol li {
    list-style: decimal;
    margin: 0.5em 1em 0.5em 2em;
    padding-left: 0.25em;
}

.univapay-button button {
    border-radius: unset !important;
    font: unset !important;
    text-shadow: unset !important;
    cursor: inherit !important;
    outline-style: unset !important;
    padding: unset !important;

    line-height: normal !important;
    color: #000 !important;
    font-size: 13.3333px !important;
    font-family: 'Lucida Grande', 'Arial', 'Meiryo', 'sans-serif' !important;
    font-weight: normal !important;
    border: 0px  !important;
    background: url(/static/img/empty.gif) 0 50% no-repeat  !important;
}

.register .credit-card {
    margin: 3em 1em;
    padding: 1em;
    display: flex;
}
.register .credit-card .brand-logo img {
    margin-right: 0.5rem;
}
.register .credit-card .main * {
    line-height: 200%;
}



.register .form-group dl {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}
.register .form-group dl dt {
    text-indent: -2.5rem;
    margin-left: 3rem;
    margin-top: 1rem;
}
.register .form-group dl dt input[type=radio] + label {
    display: inline;
}
.register .form-group dl dd {
    margin-top: 0.5rem;
    margin-left: 3rem;
}

 .register .credit-card-list .credit-card {
    margin: 0 0.5em;
  }

 .register .credit-card-list .univapay-button {
    margin-left: 1.7rem;
  }

 .register .credit-card-list li {
    display: flex;
    align-items: center;
  }

  .register  .register .form-group .credit-card-list li input[type=radio]{
    margin: 0 0.5rem 0 0;
  }
