* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: "游ゴシック", "游ゴシック体", "Yu Gothic", "Noto Sans JP", Lato, YuGothic, "メイリオ", Meiryo, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    color: #333;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

main {
    flex: 1;
}

.main-contents {
    height: 100%;
    padding-top: 50px;
    padding-bottom: 70px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.container {
    max-width: 1000px;
    margin: auto;
    width: 90%;
}

.sp-only {
    display: none;
}

.test-view {
    display: none;
}

.flex-box {
    display: flex;
}

.input-text {
    border: 1px solid #c4c4c4;
    font-size: 1em;
    padding: 0 10px;
    outline: none;
    background: unset;
    height: 50px;
    font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", "Noto Sans JP", Lato, YuGothic, "メイリオ", Meiryo, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    color: #333;
    width: 100%;
}

.input-text:disabled {
    background-color: #c4c4c4;
}

.input-text.auto {
    width: auto;
}

.input-suffix {
    margin: auto;
    padding-left: 5px;
    width: 3em;
}

textarea.input-text {
    height: auto;
    resize: vertical;
    vertical-align: middle;
    padding: 10px;
}

.input-text[position-right] {
    text-align: right;
}

input[type='checkbox'][readonly] {
    opacity: 0.5;
}

button,
input,
select {
    font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", "Noto Sans JP", Lato, YuGothic, "メイリオ", Meiryo, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.next-btn {
    background-color: #d70228;
    color: #fff;
    text-decoration: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    border: none;
    min-width: 260px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition-duration: 0.28s;
    display: inline-block;
    font-size: 1.1em;
    font-weight: bold;
}

.next-btn:hover {
    opacity: 0.8;
}

.next-btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.next-btn.credit {
    background-color: #334094;
    padding: 15px 30px;
}

.contract-info .files-wrap a {
    display: block;
}

#contract-search .contract-search-btns-wrap {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

#contract-search .contract-search-btns-wrap>div {
    width: calc(100%/6);
    padding: 10px;
}

#contract-search .contract-search-btns-wrap>div .btn {
    min-width: 100%;
    font-size: 0.9em;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

#contract-search .white-btn {
    border: 1px solid #d70228;
    color: #d70228;
    background-color: #fff;
    outline: none;
    transition-duration: 0.28s;
    width: 100%;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-btn {
    border: none;
    background-color: #959595;
    text-decoration: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    min-width: 260px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition-duration: 0.28s;
    display: inline-block;
    font-size: 1.1em;
    color: #fff;
    font-weight: bold;
}

.back-btn:hover {
    opacity: 0.8;
}

.keep-btn {
    border: none;
    background-color: #000;
    text-decoration: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    min-width: 260px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition-duration: 0.28s;
    display: inline-block;
    font-size: 1.1em;
    color: #fff;
    font-weight: bold;
}

.keep-btn:hover {
    opacity: 0.8;
}

.cancel-btn {
    border: 1px solid #d70228;
    color: #d70228;
    text-decoration: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    min-width: 260px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition-duration: 0.28s;
    display: inline-block;
    font-size: 1.1em;
    font-weight: normal;
    background-color: #fff;
}

.cancel-btn:hover {
    opacity: 0.8;
}

.contact-btn {
    border: none;
    background-color: #334094;
    text-decoration: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    min-width: 260px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition-duration: 0.28s;
    display: inline-block;
    font-size: 1.1em;
    color: #fff;
    font-weight: bold;
}

.contact-btn:hover {
    opacity: 0.8;
}

.upload-btn {
    border: none;
    background-color: #d70228;
    text-decoration: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    padding: 5px 15px;
    text-align: center;
    cursor: pointer;
    transition-duration: 0.28s;
    display: inline-block;
    font-size: 1.1em;
    color: #fff;
    font-weight: normal;
}

.upload-btn.important {
    background-color: #EB4478;
    color: #fff;
}

.upload-btn.inactivate {
    background-color: #959595;
    color: #fff;
    pointer-events: none;
}

.add-delete-radio .radio-wrap {
    margin-bottom: 5px;
}

.add-delete-radio .radio-wrap:last-child {
    margin-bottom: 0;
}

label.radio {
    cursor: pointer;
}

.radio-wrap {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
}

.radio-wrap>label {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
    cursor: pointer;
    padding: 2px 0;
}

.radio-wrap>span {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
    padding: 2px 0;
}

.radio-wrap>span:last-child {
    margin-right: 0;
}

.radio-wrap input[type="radio"] {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    flex-shrink: 0;
    -webkit-flex-shrink: 0;
}

.checkbox-wrap>label {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
    cursor: pointer;
}

.checkbox-wrap>span {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
}

.checkbox-wrap input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 7px;
    flex-shrink: 0;
    -webkit-flex-shrink: 0;
}

.checkbox-wrap.mt20 {
    margin-top: 20px;
}

.title-area {
    position: relative;
}

h2 {
    font-size: 2em;
    margin-bottom: 40px;
    text-align: left;
}

h2.with-block {
    margin-bottom: 75px;
}

h2 span {
    border-left: 10px solid #d70228;
    padding: 3px 30px;
}

.btn-wrap.col2>div {
    display: inline-block;
    vertical-align: text-top;
}

.btn-wrap.col2>div:not(:first-child) {
    margin-left: 30px;
}

.btn-wrap.col3>div {
    display: inline-block;
    margin-right: 30px;
    vertical-align: text-top;
}

.btn-wrap.col3>div:last-child {
    margin-right: 0;
}

.btn-wrap>div>p {
    margin-top: 5px;
    font-size: 0.9em;
}

.btn-wrap.process button,
.btn-wrap.process input[type="submit"] {
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

.btn-wrap .indication {
    font-size: 1.1em;
    margin: 5% 0;
}

.logout-btn {
    border: none;
    background-color: #d70228;
    text-decoration: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    color: #fff;
    padding: 7px 15px;
    font-size: 1em;
    cursor: pointer;
}

.logout-btn img {
    height: 22px;
    vertical-align: bottom;
    margin-right: 3px;
}

/* モーダル */

.modal {
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
}

.modal__bg {
    background: rgba(0, 0, 0, 0.7);
    height: 100vh;
    position: absolute;
    width: 100%;
}

.modal__content {
    background: #fff;
    border-radius: 10px;
    left: 50%;
    padding: 50px 40px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    width: 1000px;
    box-sizing: border-box;
    max-height: 90vh;
    overflow-y: scroll;
    -ms-overflow-style: none; /* IE, Edge 対応 */
    scrollbar-width: none; /* Firefox 対応 */
}

.modal__content::-webkit-scrollbar {
    display: none; /* Chrome, Safari 対応 */
}

.modal .message-modal {
    text-align: center;
}

.modal .message-modal .message-box {
    padding: 30px;
}

.modal .list-form table {
    min-width: 900px;
}

.modal .input-area {
    margin-top: 30px;
}

.modal .input-area .title {
    font-weight: bold;
    margin-bottom: 5px;
}

/* ヘッダー */

header {
    border-bottom: 3px solid #d70228;
    padding: 20px 0;
}

.head-wrap {
    display: flex;
    align-items: center;
}

.head-wrap .logo {
    flex-shrink: 0;
    -webkit-flex-shrink: 0;
}

.head-wrap .right-area {
    margin-left: auto;
}

.head-wrap .right-area .menu {
    display: flex;
    list-style: none;
}

.head-wrap .right-area .menu li {
    margin-left: 40px;
}

.head-wrap .right-area .menu li a {
    color: #333;
    text-decoration: none;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    letter-spacing: 1px;
}

.head-wrap .right-area .menu img {
    height: 25px;
    margin-right: 7px;
}

/* フッター */

footer {
    text-align: center;
    border-top: 3px solid #d70228;
    padding: 10px 0;
}

footer .site-links {
    margin: 10px 0;
}

footer .site-links .link {
    padding: 10px;
}

footer .site-links .link a,
footer .site-links .link a:visited {
    color: #334094;
    text-decoration: none;
}

footer .site-links .link a:hover {
    text-decoration: underline;
}

/* ログイン */

#login .container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#login .login-box {
    text-align: center;
}

#login .login-box h2 {
    text-align: center;
}

#login .login-box h2 span {
    border: none;
}

#login .news-area {
    text-align: initial;
    background: #ffecef;
    padding: 15px 20px;
    margin: auto;
    margin-bottom: 40px;
    width: 60%;
}

#login .news-title {
    font-weight: bold;
    margin-bottom: 5px
}

#login .news-content-wrap {
    max-height: 20em;
    overflow-y: scroll;
}

#login .news-article {
    word-break: break-all;
}

#login .news-article:not(:last-child) {
    border-bottom: solid 1px #333;
    margin-bottom: 15px;
}

#login form {
    width: 400px;
    display: inline-block;
    text-align: left;
}

#login dl {
    margin-bottom: 20px;
}

#login dt {
    margin-bottom: 5px;
    font-size: 1.1em;
}

#login .btn-wrap {
    margin-top: 40px;
    text-align: center;
}

#login .next-btn {
    width: 100%;
}

#login .pass-forget {
    margin-top: 30px;
    text-align: center;
    margin-bottom: 30px;
}

#login .pass-forget a {
    color: #666;
}

/* 入力 */

.input-form .lead {
    margin-bottom: 20px;
}

.input-form .status-wrap {
    margin-bottom: 40px;
}

.input-form select {
    border: 1px solid #c4c4c4;
    font-size: 1em;
    padding: 0 10px;
    outline: none;
    background: unset;
    color: #333;
    max-width: 30em;
}

.input-form select.full {
    width: 100%;
}

.input-form:not(.confirm) select:not([multiple]) {
    height: 50px;
}

.input-form.confirm select {
    border: none;
    appearance: none;
    padding: 0px;
    opacity: 1;
    white-space: break-spaces;
    height: auto;
    width: 100%;
    max-width: 100%;
    line-height: 1.5;
}

#contract .confirmation-notice-wrap p {
    display: flex;
}

#contract .payment-description {
    margin: 10px;
    font-size: 0.9em;
}

#contract .payment-description .credit-list img {
    height: 2.5em;
    margin: auto 1px;
}

#contract .comp .lead {
    margin-bottom: 30px;
}

.input-form .form-box {
    margin-bottom: 40px;
}

.input-form .form-box .attachment-list a {
    display: block;
}

.input-form .middle-notice {
    padding: 1.5em 3em;
}

.input-form h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.input-form table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #d9d9d9;
}

.input-form table tr {
    border-bottom: 1px solid #d9d9d9;
}

.input-form table th {
    width: 30%;
    padding: 15px;
    background-color: #fafafa;
    height: 70px;
}

.input-form table th.highlight {
    background-color: #EB4478;
    color: #fff;
}

.input-form table td {
    padding: 15px;
    word-break: break-word;
}

.input-form table td.left-align {
    text-align: left;
}

.input-form table td .table {
    display: table;
    margin: -5px 0;
    width: 100%;
    margin-bottom: 10px;
}

.input-form table td .table:last-child {
    margin-bottom: -5px;
}

.input-form table td .table dl {
    display: table-row;
}

.input-form table td .table dl dt {
    display: table-cell;
    white-space: normal;
    vertical-align: middle;
    font-weight: bold;
    padding: 5px 15px;
    padding-left: 0;
}

.input-form table td .table dl dt .highlight {
    background-color: #EB4478;
    color: #fff;
    padding: 6px 10px;
    display: inline-block;
}

.input-form table td .table dl dd {
    display: table-cell;
    padding: 5px 0;
    width: 100%;
    vertical-align: middle;
    width: 65%;
}

.input-form table td .table dl dd dl dt {
    width: auto;
}

.input-form table td .table dl dd dl .highlight {
    background-color: #EB4478;
    color: #fff;
    padding: 5px 10px;
    margin: 5px 10px;
    display: inline-block;
}

.input-form table td .upload-wrap {
    padding: 5px 0;
}

.input-form table td .uploaded-file-wrap div {
    border-bottom: 1px solid #d9d9d9;
    margin-bottom: 5px;
}

.input-form table td .uploaded-file-wrap div span {
    margin: 10px;
}

.input-form table td .repletion {
    margin-top: 10px;
    font-size: 0.9em;
    display: flex;
}

.input-form table td .other-wrap {
    margin-top: 10px;
}

.input-form table td .col2 {
    display: flex;
}

.input-form table td .col2>input:not(:last-child) {
    margin-right: 15px;
}

.input-form table td .identification-wrap {
    display: flex;
    align-items: center;
}

.input-form table td .identification-wrap label {
    margin-right: 10px;
}

.input-form table td .agreement-wrap label {
    margin-top: 10px;
}

.input-form .btn-wrap {
    text-align: center;
    margin-top: 50px;
}

.input-form .pay-btn-wrap {
    margin-top: 40px;
    text-align: center;
}

.input-form .agree-area {
    text-align: center;
    margin-top: 40px;
}

.input-form .agree-area label {
    cursor: pointer;
}

.input-form .memo-area {
    display: flex;
    align-items: center;
}

.input-form .memo-area .text {
    width: 100%;
}

.input-form .memo-area .history-btn-wrap {
    flex-shrink: 0;
    -webkit-flex-shrink: 0;
    margin-left: 20px;
}

.input-form .error-msg {
    color: #dc000c;
}

.history-btn {
    text-decoration: none;
    background-color: #000;
    color: #fff;
    padding: 5px 15px;
    display: inline-block;
    white-space: nowrap;
    cursor: pointer;
}

.history-btn:hover {
    opacity: 0.8;
}

#memo-edit .btn-wrap {
    margin-top: 20px;
}

.pass-change-link {
    text-align: center;
    margin-top: 40px;
}

.pass-change-link a {
    color: #333;
}

.maturity-area input {
    white-space: nowrap;
}

.share-table-area input:disabled,
.maturity-area input:disabled {
    border: none;
    background-color: initial;
}

.maturity-area  table th {
    width: 20%;
    vertical-align: top;
}

.maturity-area .title-wrap {
    height: 2em;
}

.maturity-area  table td .table .title-area {
    display: flex;
}

.maturity-area  table td .table .title-area div {
    width: 50%;
}

.maturity-area .title-wrap th,
.maturity-area .title-wrap td {
    background-color: initial;
    height: initial;
    padding: 0;
}

.input-form .agree-area .agree-msg {
    text-align: left;
    margin-bottom: 20px;
}

.input-form .agree-area .agree-msg.red {
    color: #dc000c;
}

.input-form .form-box.center {
    text-align: center;
}

.input-form .form-box.center p {
    display: inline-block;
    text-align: left;
}

.input-form .form-box .btn-wrap {
    margin-top: 10px;
}

.input-form .form-box .btn-wrap.left {
    text-align: left;
}

.input-form .import-btn-area {
    margin-bottom: 50px;
}

.input-form .import-btn-area p {
    margin-bottom: 10px;
}

.input-form .agency-code-area {
    display: flex;
    align-items: center;
}

.input-form .agency-code-area span {
    padding: 0 5px;
}

/* 一覧 */

.notice-wrap {
    margin-bottom: 1em;
}

.table-wrap {
    overflow: auto;
}

.list-form h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.list-form.full-width,
.printing-list {
    margin-right: calc(45% - 45vw);
    margin-left: calc(45% - 45vw);
}

.list-form table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
    min-width: 1000px;
}

#contract-search .list-form table {
    white-space: nowrap;
}

#payment-match .list-form table {
    white-space: nowrap;
}

#securities-csv .list-form table {
    white-space: nowrap;
}

#securities-list .list-form {
    margin-top: 40px;
}

#securities-list .list-form table {
    white-space: nowrap;
}

.list-form table th {
    position: sticky;
    top: 0;
    white-space: nowrap;
    border: 1px solid #d9d9d9;
    padding: 10px 25px;
    background-color: #fafafa;
}



.list-form table td {
    white-space: nowrap;
    border: 1px solid #d9d9d9;
    padding: 10px;
    text-align: center;
    word-break: break-all;
}

.list-form table td .contract-btn-wrap {
    display: inline-flex;
}

.list-form table .width100 {
    width: 100px;
}

.list-form table td a {
    color: #d70228;
}

.list-form .btn-wrap {
    text-align: center;
    margin-top: 50px;
}

.list-form .detail-btn-wrap {
    display: inline-flex;
}

.list-form table td.left-align {
    text-align: left;
}

.download-btn {
    text-decoration: none;
    background-color: #d70228;
    color: #fff !important;
    padding: 5px 15px;
    display: inline-block;
    white-space: nowrap;
    border: none;
}

.btn.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.detail-btn {
    text-decoration: none;
    background-color: #000;
    color: #fff !important;
    padding: 5px 15px;
    display: inline-block;
    white-space: nowrap;
}

.detail-btn.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.process-btn {
    text-decoration: none;
    background-color: #000;
    color: #fff !important;
    padding: 3px 10px;
    display: block;
    white-space: nowrap;
    margin: 2px;
}

.order-btn {
    cursor: pointer;
}

.order-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    cursor: pointer;
    width: 12px;
    height: 12px;
}

.order-arrow:before,
.order-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent;
}

.order-arrow:not(.desc):before {
    margin-bottom: 1px;
    border-width: 0 6px 6px 6px;
    border-bottom-color: #999;
}

.order-arrow:not(.asc):after {
    margin-top: 1px;
    border-width: 6px 6px 0 6px;
    border-top-color: #999;
}

.pager {
    text-align: right;
    margin-top: 15px;
}

.pager li {
    display: inline-block;
    margin: 0 2px;
}

.pager li span.page-link {
    width: 30px;
    height: 30px;
    border-radius: 3px;
    display: inline-block;
    line-height: 30px;
    background: #eaeaea;
    color: #242424;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.pager li span.page-link:hover {
    background-color: #c3061c;
    color: #fff;
}

.pager li span.page-link:active {
    position: relative;
    top: 1px;
}

.pager li span.current {
    display: inline-block;
    line-height: 30px;
    background: #c3061c;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 3px;
    font-weight: bold;
    text-align: center;
}

.page-num {
    text-align: right;
    margin-bottom: 10px;
}

#contract-search .list-form {
    margin-top: 60px;
}

.filter-area {
    margin-bottom: 40px;
}

.filter-area h3 {
    font-size: 1em;
}

.filter-area table {
    width: auto;
}

.filter-area.narrow table {
    min-width: 400px;
}

.filter-area table th label {
    display: flex;
    align-items: center;
}

.filter-area table th label input {
    margin-right: 10px;
}

.filter-area table td {
    text-align: left;
}

.filter-area table td select {
    width: 100%;
    padding: 6px;
}

/* 完了 */
.complete {
    text-align: center;
}

.comp.left td {
    text-align: left;
}

.complete .comp-msg {
    background-color: #fafafa;
    padding: 30px;
    margin-bottom: 50px;
    line-height: 28px;
}

.complete .comp-msg.left {
    text-align: left;
}

.complete .comp-msg .step-notice {
    display: flex;
}

.auth-code-area {
    margin-top: 20px;
}

.auth-code-area dl {
    display: inline-flex;
    align-items: center;
    margin-top: 25px;
}

.auth-code-area dl dt {
    flex-shrink: 0;
    -webkit-flex-shrink: 0;
    margin-right: 20px;
}

.auth-code-area dl dd input {
    background-color: #fff;
    text-align: center;
}

/* エラー */

#error {
    text-align: center;
}

#error h3 {
    margin-bottom: 10px;
    font-size: 1.6em;
}

#error .error-msg {
    background-color: #fafafa;
    padding: 30px;
    margin-bottom: 50px;
}

.api-error-wrap {
    text-align: center;
    padding: auto;
}

.api-error-wrap>div {
    display: block;
    text-align: center;
    width: 60%;
}

.api-error-wrap .title-wrap {
    width: 30%;
    min-width: 7em;
    text-align: left;
}

.api-error-wrap .body-wrap {
    width: 70%;
    text-align: left;
}

.api-error-wrap .api-error-code-wrap,
.api-error-wrap .api-error-code-wrap {
    display: flex;
    margin: auto;
}

.api-error-wrap .api-error-code-wrap .error-message-box {
    display: block;
}

/* 契約手続きサイト有無 */

#account-check .container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#account-check .select-box {
    margin-bottom: 40px;
}

#account-check .select-box ul {
    list-style: none;
}

#account-check .select-box ul li:not(:last-child) {
    margin-bottom: 40px;
}

#account-check .select-box ul li a {
    background-color: #d70228;
    text-decoration: none;
    color: #fff;
    padding: 15px;
    display: block;
    text-align: center;
}

/* メニュー */
.user-contract .container,
#menu .container,
#agent-menu .container,
#guide .container {
    position: relative;
}

.user-contract .code-area,
#menu .code-area,
#agent-menu .code-area,
#guide .code-area {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 0.9em;
}

.user-contract .code-area>dl,
#menu .code-area>dl,
#agent-menu .code-area>dl,
#guide .code-area>dl {
    display: flex;
}

#agent-menu .operation-wrap {
    margin-bottom: 20px;
    border-bottom: 2px solid #d9d9d9;
}

.user-contract .code-area dt {
    width: 6em;
}

.user-contract .code-area dd {
    max-width: 15em;
}

.menu-area ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.menu-area ul li {
    width: calc(100%/2);
    padding: 15px;
}

.menu-area ul li a {
    display: block;
    background-color: #d70228;
    color: #fff;
    text-decoration: none;
    padding: 20px;
    position: relative;
    padding-right: 40px;
    font-weight: bold;
}

.menu-area ul li a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform-origin: right top;
    transform: rotate(45deg);
}

/* 入金 */

.file-select label {
    background-color: #fafafa;
    padding: 60px 30px;
    text-align: center;
    display: block;
    border: 2px dashed #d9d9d9;
}

.capture-msg {
    text-align: center;
    margin-top: 40px;
    font-weight: bold;
}

.capture-msg p {
    margin-bottom: 5px;
}

.payment-list {
    margin-top: 40px;
    margin-bottom: 40px;
    padding-bottom: 50px;
    border-bottom: 2px dashed #d9d9d9;
}

.contract-list {
    margin-bottom: 60px;
}

.ke-list {
    margin-bottom: 40px;
}

.ke-list .table-wrap {
    max-height: 940px;
}

.printing-list .table-wrap {
    max-height: 940px;
}

.attachment-list .table-wrap {
    max-height: 1176px;
}

.payment-list .table-wrap {
    max-height: 506px;
}

.contract-list .table-wrap {
    max-height: 506px;
}

.history-list .table-wrap {
    max-height: 500px;
}

.list-form.payment-summary table th {
    position: initial;
}

.payment-summary .table-wrap {
    display: flex;
    width: 100%;
}

.payment-summary .table-wrap table {
    min-width: initial;
}

.payment-summary .table-wrap table.payment-method-col {
    width: 30%;
    border-right: 0;
}

.payment-summary .table-wrap table.payment-method-col th,
.payment-summary .table-wrap table.payment-method-col td {
    border-right: 0;
}

.payment-summary .table-wrap table.main-cols {
    width: 70%;
}

/* テーブルスクロール From */

.y-scroll-table .table-wrap tr {
    height: 50px;
}

/* 20行表示の場合 */
.y-scroll-table.rows-20 .table-wrap {
    max-height: 1125px;
}

/* テーブルスクロール End */

/* 更改データ取込み */

#renewal-capture .file-select {
    margin-top: 15px;
}

/* 資料アップロード */

[id^="file-upload"] .file-select {
    display: flex;
    align-items: center;
    background: #fafafa;
    padding: 15px;
    margin-bottom: 20px;
}

[id^="file-upload"] .file-select.agent {
    margin-bottom: 0;
}

[id^="file-upload"] .add-btn {
    margin-left: auto;
    background: #d70528;
    color: #fff;
    border: none;
    padding: 5px 20px;
    font-size: 1em;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

[id^="file-upload"] .add-btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

[id^="file-upload"] .delete-btn {
    margin-left: auto;
    background: #000;
    color: #fff;
    border: none;
    padding: 5px 20px;
    font-size: 1em;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

[id^="file-upload"] .delete-btn.disabled,
[id^="file-upload"] .delete-btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

[id^="file-upload"] .list-form table {
    min-width: 100%;
}

[id^="file-upload"] .delete-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 5px 20px;
    font-size: 1em;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    text-decoration: none;
}

[id^="file-upload"] .upload-notice {
    text-align: left;
    padding: 0 5%;
    margin-bottom: 30px;
}

[id^="file-upload"] .upload-notice p {
    display: flex;
}

.add-document-list>div {
    margin-bottom: 40px;
}

.add-document-list h3 {
    margin-bottom: 15px;
    font-size: 1.2em;
}

.ui-menu .ui-menu-item-wrapper {
    padding: 0 10px;
    line-height: 40px;
}

/* Message Components */
.error-message {
    display: block;
    text-align: left;
    margin-top: 10px;
    font-size: 0.9rem;
}

.error-message-wrap .error-message {
    text-align: center;
}

.error-message.red {
    color: #dc000c;
}

.error-message.center {
    text-align: center;
}
/* Message Components */

/* 矢羽 */

.step {
    list-style-type: none;
    display: table;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
    margin-bottom: 50px;
}

.step li {
    display: table-cell;
    position: relative;
    background: #959595;
    padding: 0 16px;
    color: #fff;
    width: calc(100%/3);
    text-align: center;
    height: 60px;
}

.step li:last-child:before,
.step li:last-child:after {
    display: none;
}

.step li:before,
.step li:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    margin: auto;
}

.step li:before {
    top: -6px;
    left: 101%;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
    border-width: 36px 0 36px 1em;
    z-index: 10;
}

.step li:after {
    top: -6px;
    left: 100%;
    border-style: solid;
    border-color: transparent transparent transparent #959595;
    border-width: 36px 0 36px 1em;
    z-index: 10;
}

.step li.is-current {
    background: #d70228;
    font-weight: bold;
}

.step li.is-current:after {
    border-color: transparent transparent transparent #d70228;
}

.step li span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 100%;
    padding-left: 16px;
    line-height: 1.4;
}

.step li:first-child span {
    padding-left: 8px;
}

/* 請求書 */

#invoice {
    font-size: 14px;
    padding: 30px 0;
    color: #000;
}

#invoice .issue {
    text-align: right;
}

#invoice h1 {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 20px;
}

.issue-contents .detail {
    margin-top: 20px;
    margin-bottom: 20px;
}

.issue-contents .detail .price {
    font-size: 1.4em;
}

.issue-contents .detail .price td {
    font-weight: bold;
}

.issue-contents .detail table {
    width: 100%;
    border-collapse: collapse;
}

.issue-contents .detail table tr {
    vertical-align: top;
}

.issue-contents .detail table th {
    font-weight: normal;
    text-align: left;
    height: 40px;
    width: 30%;
    white-space: nowrap;
}

#invoice .transfer-account {
    margin-top: 20px;
    margin-bottom: 20px;
}

#invoice .transfer-account table {
    margin-top: 10px;
    margin-bottom: 10px;
}

#invoice .transfer-account table th {
    padding-left: 1em;
}

#invoice .contact {
    margin-top: 40px;
}

#invoice .contact-detail>div {
    display: inline-block;
    vertical-align: text-top;
}

#invoice .contact-info {
    margin-right: 60px;
}

#invoice .contact table {
    border-collapse: collapse;
    margin-top: 10px;
}

#invoice .contact table th {
    font-weight: normal;
    vertical-align: top;
    white-space: nowrap;
}

/* パスワードリマインダー */

.pass-reminder .btn-wrap {
    text-align: center;
    margin-top: 40px;
}
