@charset "utf-8";

html[lang="ja"] {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  scroll-behavior: smooth;
  min-width: 320px;
}

body {
    font-weight: 400;
    font-style: normal;
    margin: 0;
    background-color: #F3F4F8;
    color: #111111;
}

header,
footer {
    display: flex;
    width: 100%;
    height: 64px;
    box-sizing: border-box;
    border-bottom: 1px solid #CFCFCF;
    background-color: rgba(255, 255, 255, 1);
    min-width: 1000px;
}

footer {
    margin-top: 80px;
    padding-top: 40px;
    padding-bottom: 40px;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(207, 207, 207, 1);
}

header .container span {
    font-family: "Yu Gothic UI";
    font-size: 31px;
    font-weight: 400;
    font-style: normal;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    color: #003B75;
}

footer > div:nth-child(1) span {
    font-weight: 400;
}

footer > div:nth-child(n+2) {
    padding-top: 40px;
}

footer div:nth-child(2) {
    font-weight: 700;
    line-height: 160%;
    letter-spacing: 2%;
    gap: 40px;
}

footer div:nth-child(2) span {
    color: rgba(17, 17, 17, 1);
}

footer div:nth-child(3) {
    flex-direction: column;
}

footer div:nth-child(3) div:nth-child(1) {
    font-weight: 700;
    line-height: 160%;
    letter-spacing: 2%;
    color: rgba(17, 17, 17, 1);
}

footer div:nth-child(3) div:nth-child(2) {
    font-weight: 400;
    line-height: 130%;
    letter-spacing: 0%;
    color: rgba(110, 110, 110, 1);
    margin: 0;
    display: contents;
}

footer div:nth-child(4) {
    color: rgba(110, 110, 110, 1);
}

header .container,
footer .container {
    display: flex;
    width: 1000px;
    min-height: 32px;
    max-width: 1224px;
    column-gap: 8px;
    row-gap: 16px;
    opacity: 1;
    margin: auto;
}

header .container img#reload {
    cursor: pointer;
}

footer .container img {
    height: 22px;
    margin-top: auto;
    margin-bottom: auto;
}

footer .container span {
    font-family: "Yu Gothic UI";
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 130%;
    letter-spacing: 0%;
    text-align: center;
    color: #003B75;
    margin-top: auto;
    margin-bottom: auto;
}

footer .container a {
    text-decoration: none;
    color: rgba(17, 17, 17, 1);
}

header .container img:nth-last-child(1) {
    margin-left: auto;
    margin-right: 0;
}

main {
    width: 1000px;
    max-width: 1224px;
    margin-left: auto;
    margin-right: auto;
}

main ul {
    display: inline-grid;;
    padding-left: 0;
    column-gap: 16px;
    grid-template-columns: repeat(5, auto);
    grid-auto-columns: minmax(20px, auto);
}
main li {
    list-style: none;
}

.menu-frame {
    padding-top: 16px;
    height: 87px;;
}
.menu-frame > div:nth-child(1) {
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    line-height: 130%;
    letter-spacing: 0%;
}

/*
 * ボタン
 */
.button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 8px 8px 8px 16px;
    box-sizing: border-box;
    border: 1px solid #124897;
    background-color: #fff;
    color: #124897;
    border-radius: 100px;

    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0%;
    text-decoration: none;
}

.button svg {
    margin-left: 6px;
}

main section {
    margin-top: 24px;
}

/*
 * アコーディオン
 */
.accordion {
    max-width: 100%;
    margin-bottom: 7px;
    border: 1px solid #CFCFCF;
    border-radius: 10px;
    background-color: #FFFFFF;
    padding: 32px;
}

.accordion summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    font-weight: 600;
    cursor: pointer;
}

.accordion summary::-webkit-details-marker {
    display: none;
}

.accordion summary span::after {
    content: "開く";
    position: absolute;
    top: calc(50% - .7em);
    right: 3.5em;

    font-weight: 400;
    line-height: 130%;
    letter-spacing: 0%;
}

.accordion summary svg:nth-child(1) {
    color: #124897;
}

.accordion[open] summary span::after {
    content: "閉じる";
}

.accordion summary svg {
    transform: rotate(180deg);
}

.accordion[open] summary svg {
    transform: rotate(0deg);
}

.accordion > div {
    opacity: 0;
    margin: 0;
    margin-top: 32px;
    transition: opacity .5s;
}

.accordion[open] > div {
    transform: none;
    opacity: 1;
}

.accordion h1 {
    color: #111111;
    font-weight: 700;
    font-size: 20px;
    line-height: 130%;
    letter-spacing: 0%;
    margin: 0 auto 0 8px;
}

/*
 * 指数一覧
 */
.list_title {
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 40px;
    margin: 0 auto;
    border-collapse: collapse;
}

.list_title li {
    display: table-cell;
    font-weight: normal;
    box-sizing: border-box;
    border-top: 1px solid rgba(207, 207, 207, 1);
    border-bottom: 1px solid rgba(207, 207, 207, 1);

    font-weight: 400;
    font-size: 12px;
    line-height: 130%;
    letter-spacing: 0%;
    color: rgba(17, 17, 17, 0.6);
    vertical-align: middle;
}

.list_title li:nth-child(1) {
    padding: 12px 0 12px 8px;
    width: 36px;
}

.list_title li:nth-child(2) {
    padding: 12px 4px;
    width: auto;
}

.list_title li:nth-child(3) {
    padding: 12px 0;
    text-align: center;
    width: 120px;
}

.list_title li:nth-child(4) {
    padding: 12px 0;
    text-align: right;
    width: 144px;
}

.list_title li:nth-child(5) {
    padding: 12px 4px 12px 8px;
    width: 120px;
    text-align: right;
}

.list_title li:nth-child(6) {
    width: 44px;
}

.list_title li:nth-child(7) {
    padding: 12px 4px 12px 8px;
    text-align: right;
    width: 120px;
}

.list_title li:nth-child(8),
.list_title li:nth-child(9) {
    display: none;
}

.list_table {
    display: table;
    table-layout: fixed;
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
}

.list_table.disabled li,
.list_table.disabled li a {
    font-weight: 400;
    color: #6E6E6E !important;
    pointer-events: none;
}

.list_table.disabled li:nth-child(8) svg {
    display: none;
}

.list_table li {
    display: table-cell;
    vertical-align: middle;

    box-sizing: border-box;
    border-bottom: 1px solid rgba(207, 207, 207, 1);
    height: 64px;

    font-weight: 700;
    line-height: 160%;
    letter-spacing: 2%;
}

/* 国旗 */
.list_table li:nth-child(1) {
    width: 36px;
    margin-left: 4px;
    margin-right: 8px;
    vertical-align: middle;
}

.list_table li:nth-child(1) img {
    vertical-align: bottom;
}

/* 銘柄名称 */
.list_table li:nth-child(2) {
    text-align: left;
    color: rgba(1, 83, 163, 1);
    width: auto;
}

.list_table li:nth-child(2) a {
    color: rgba(1, 83, 163, 1);
    text-decoration: none;
}

.list_table li:nth-child(2) > span:nth-child(2) {
    display: none;
}

/* チャート */
.list_table li:nth-child(3) {
    width: 120px;
}

.list_table li:nth-child(3) a {
    color: #6E6E6E;
    text-decoration: none;
}

.list_table li figure {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    max-height: 64px;
    color: #6E6E6E;
}

/* 現在値 */
.list_table li:nth-child(4) {
    width: 144px;
    white-space: nowrap;
    text-align: right;
}

.list_table li:nth-child(4) > span {
    display: none;
}

/* 前日比 */
.list_table li:nth-child(5) {
    width: 120px;
    white-space: nowrap;
    text-align: right;
}

.list_table li:nth-child(6) {
    width: 44px;
    text-align: center;
}

.list_table li:nth-child(6) svg {
    width: 24px;
    height: 24px;
    text-align: center;
    vertical-align: bottom;
    border-radius: 4px;
}

.list_table li.plus {
    color: rgba(207, 0, 17, 1);
}

.list_table li.plus svg {
    background-color: rgba(251, 242, 242, 1);
}

.list_table li.minus {
    color: rgba(0, 127, 102, 1);
}

.list_table li.minus svg {
    background-color: rgba(238, 248, 246, 1);
    transform: rotate(180deg);
}

.list_table li.even {
    color: rgba(110, 110, 110, 1);
}

.list_table li.even svg {
    background-color: rgba(243, 243, 243, 1);
    transform: rotate(90deg);
    color: rgba(136, 136, 136, 1);
}

/* 時刻 */
.list_table li:nth-child(7) {
    width: 120px;
    white-space: nowrap;
    text-align: right;
    font-weight: 400;
    color: rgba(17, 17, 17, 0.6);
}

.list_table.disabled li:nth-child(7) {
    color: rgba(110, 110, 110, 1);
}

/* チャートアイコン（SP） */
.list_table li:nth-child(8) {
    display: none;
}

#overseas_futures_and_indices .list_title li:nth-child(1),
#overseas_futures_and_indices .list_table li:nth-child(1) {
    display: none;
}

/*
 * ページトップへ
 */
.page_top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: #124897;
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    transition: opacity 0.3s;
    opacity: 0;
}

.page_top.is_active {
    opacity: 1;
}


/*
 * ローディング
 */
 .loading {
    display: flex;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 10;
    justify-content: center;
    align-items: center;
    background-color: white;
    opacity: 0.8;
}
.loading span {
    display: inline-block;
    color: #2589d0;
    font-weight: 600;
    font-size: 1.5em;
    animation: animation-loading 1s infinite;
}
.loading span:nth-of-type(2) {
    animation-delay: .1s;
}
.loading span:nth-of-type(3) {
    animation-delay: .2s;
}
.loading span:nth-of-type(4) {
    animation-delay: .3s;
}
.loading span:nth-of-type(5) {
    animation-delay: .4s;
}
.loading span:nth-of-type(6) {
    animation-delay: .5s;
}
.loading span:nth-of-type(7) {
    animation-delay: .6s;
}
.loading span:nth-of-type(8) {
    animation-delay: .7s;
}
.loading span:nth-of-type(9) {
    animation-delay: .8s;
}
.loading span:nth-of-type(10) {
    animation-delay: .9s;
}
@keyframes animation-loading {
    50% {
        transform: translateY(10px);
    }
}