/* =========================================================
   Startline Support｜金利変動情報
   STEP 2-8 ～ STEP 2-10
   統合・最適化CSS

   ・主要金利
   ・金利変動速報
   ・複数速報
   ・金利変動履歴
   ・金利詳細ページ
   ・レスポンシブ対応
========================================================= */


/* =========================================================
   STEP 2-8 ～ STEP 2-9
   金利変動情報セクション
   Lightning対応・画面全幅
========================================================= */

.sls-interest-rates-section {
    position: relative;

    width: 100vw !important;
    max-width: 100vw !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;

    padding: 100px 30px;

    box-sizing: border-box;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f6fafc 100%
        );

    overflow: hidden;
}


/* コンテンツ最大幅 */

.sls-interest-container {
    position: relative;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto;
}


/* =========================================================
   セクションタイトル
========================================================= */

.sls-interest-section-heading {
    position: relative;

    margin-bottom: 45px;

    text-align: center;
}


/* =========================================================
   英語ラベル
========================================================= */

.sls-interest-section-label,
.sls-interest-section-en {
    position: relative;

    display: block;

    width: 100%;

    margin: 0 0 24px;

    color: #269FD3;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.22em;

    line-height: 1.5;
}


/* =========================================================
   英語ラベル下のライン

   ・1本だけ
   ・画面幅いっぱい
   ・上側の不要なラインは表示しない
========================================================= */

.sls-interest-section-label::after,
.sls-interest-section-en::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -14px;

    width: 100vw;
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            #dce7ef 0%,
            #6f95b5 50%,
            #dce7ef 100%
        );
}


/* =========================================================
   タイトル
========================================================= */

.sls-interest-section-title,
.sls-interest-section-heading h2 {
    margin: 0;
    padding: 0;

    border: none !important;

    color: #173f67;

    font-size: 38px;
    font-weight: 700;

    line-height: 1.4;

    letter-spacing: 0.05em;
}


/* タイトル前後の不要な線を削除 */

.sls-interest-section-title::before,
.sls-interest-section-title::after,
.sls-interest-section-heading h2::before,
.sls-interest-section-heading h2::after {
    display: none !important;

    content: none !important;
}


/* 説明 */

.sls-interest-section-description {
    max-width: 620px;

    margin: 18px auto 0;

    color: #687786;

    font-size: 14px;

    line-height: 1.9;
}


/* =========================================================
   金利変動速報
   メイン速報
========================================================= */

.sls-interest-breaking-news {
    position: relative;

    max-width: 980px;

    margin: 45px auto 28px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #d9e6ed;
    border-left: 5px solid #269FD3;

    border-radius: 10px;

    box-shadow:
        0 12px 35px
        rgba(40, 76, 123, 0.08);
}


/* =========================================================
   速報ヘッダー
========================================================= */

.sls-interest-breaking-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 14px 25px;

    background: #284c7b;

    color: #ffffff;
}


.sls-interest-breaking-title {
    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.08em;
}


.sls-interest-breaking-dot {
    width: 8px;
    height: 8px;

    flex: 0 0 auto;

    border-radius: 50%;

    background: #269FD3;

    box-shadow:
        0 0 0 5px
        rgba(38, 159, 211, 0.15);
}


.sls-interest-breaking-live {
    color: rgba(255, 255, 255, 0.8);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.16em;
}


/* =========================================================
   速報本文
========================================================= */

.sls-interest-breaking-content {
    padding: 30px 35px 25px;
}


.sls-interest-breaking-category {
    margin: 0 0 10px;

    color: #269FD3;

    font-size: 12px;
    font-weight: 700;
}


.sls-interest-breaking-headline {
    margin: 0;

    color: #284c7b;

    font-size: 22px;
    font-weight: 700;

    line-height: 1.6;
}


/* =========================================================
   金利変動数値
========================================================= */

.sls-interest-breaking-rate,
.sls-interest-rate-change {
    display: flex;

    align-items: center;

    gap: 22px;

    margin: 28px 0;
}


.sls-interest-breaking-before,
.sls-interest-rate-before {
    color: #7d8c96;

    font-size: 28px;
    font-weight: 600;
}


.sls-interest-breaking-arrow,
.sls-interest-rate-arrow {
    color: #269FD3;

    font-size: 25px;
}


.sls-interest-breaking-after,
.sls-interest-rate-after {
    color: #173f67;

    font-size: 36px;
    font-weight: 700;
}


/* =========================================================
   速報フッター
========================================================= */

.sls-interest-breaking-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-top: 20px;

    border-top:
        1px solid #edf2f5;
}


.sls-interest-breaking-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #284c7b !important;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}


.sls-interest-breaking-link span {
    color: #269FD3;

    font-size: 17px;

    transition:
        transform 0.3s ease;
}


.sls-interest-breaking-link:hover span {
    transform: translateX(4px);
}


.sls-interest-breaking-date {
    color: #9aa8b2;

    font-size: 11px;
}


/* =========================================================
   その他の金利変動速報
========================================================= */

.sls-interest-breaking-list {
    max-width: 980px;

    margin: 0 auto 55px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #dfe6ee;

    border-radius: 8px;
}


.sls-interest-breaking-list-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 16px 20px;

    background: #f5f8fb;

    border-bottom:
        1px solid #dfe6ee;
}


.sls-interest-breaking-list-header h3 {
    margin: 0;

    color: #284c7b;

    font-size: 16px;
    font-weight: 700;
}


.sls-interest-breaking-list-header span {
    color: #6b7785;

    font-size: 13px;
    font-weight: 600;
}


.sls-interest-breaking-list-items {
    display: flex;

    flex-direction: column;
}


.sls-interest-breaking-list-item {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto
        auto;

    align-items: center;

    gap: 24px;

    padding: 18px 20px;

    border-bottom:
        1px solid #edf1f5;

    transition:
        background 0.25s ease;
}


.sls-interest-breaking-list-item:hover {
    background: #f8fbfd;
}


.sls-interest-breaking-list-item:last-child {
    border-bottom: none;
}


.sls-interest-breaking-list-category {
    display: inline-block;

    margin-bottom: 5px;

    color: #6b7785;

    font-size: 12px;
    font-weight: 600;
}


.sls-interest-breaking-list-name {
    margin: 0;

    color: #284c7b;

    font-size: 15px;
    font-weight: 700;
}


.sls-interest-breaking-list-rate {
    display: flex;

    align-items: center;

    gap: 8px;

    color: #667085;

    font-size: 15px;
}


.sls-interest-breaking-list-rate strong {
    color: #284c7b;

    font-size: 17px;
}


.sls-interest-breaking-list-arrow {
    color: #269FD3;
}


.sls-interest-breaking-list-date {
    white-space: nowrap;

    color: #8a96a3;

    font-size: 12px;
}


/* =========================================================
   最新更新情報
========================================================= */

.sls-interest-latest-update {
    max-width: 980px;

    margin: 40px auto 50px;
}


.sls-interest-latest-update-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 20px 25px;

    background: #ffffff;

    border: 1px solid #dfe8ee;

    border-radius: 8px;

    box-shadow:
        0 8px 25px
        rgba(40, 76, 123, 0.05);
}


.sls-interest-latest-update-label {
    color: #269FD3;

    font-size: 13px;
    font-weight: 700;
}


.sls-interest-latest-update-text {
    flex: 1;

    color: #284c7b;

    font-size: 14px;
    font-weight: 600;
}


.sls-interest-latest-update-date {
    color: #8a96a3;

    font-size: 11px;
}


/* =========================================================
   主要金利カード
========================================================= */

.sls-interest-rate-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 16px;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    align-items: stretch;
}


/* =========================================================
   カードリンク
========================================================= */

.sls-interest-rate-card-link {
    display: flex;

    width: 100%;
    height: 100%;

    color: inherit !important;

    text-decoration: none !important;
}


.sls-interest-rate-card-link:hover {
    color: inherit !important;

    text-decoration: none !important;
}


/* =========================================================
   金利カード
   高さ統一
========================================================= */

.sls-interest-rate-card {
    display: flex;

    flex-direction: column;

    width: 100%;
    height: 100%;

    min-height: 290px;

    box-sizing: border-box;

    padding: 24px 20px;

    background: #ffffff;

    border: 1px solid #e1eaf0;

    border-radius: 8px;

    box-shadow:
        0 6px 20px
        rgba(40, 76, 123, 0.04);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.sls-interest-rate-card-link:hover
.sls-interest-rate-card {
    transform: translateY(-5px);

    border-color:
        rgba(38, 159, 211, 0.5);

    box-shadow:
        0 14px 30px
        rgba(40, 76, 123, 0.10);
}


/* =========================================================
   カードヘッダー
========================================================= */

.sls-interest-rate-card-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;
}


.sls-interest-rate-number {
    color: #269FD3;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.1em;
}


.sls-interest-rate-status {
    padding: 4px 8px;

    background: #eef7fb;

    border-radius: 3px;

    color: #269FD3;

    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   金利名称
========================================================= */

.sls-interest-rate-name {
    margin: 22px 0 12px;

    color: #284c7b;

    font-size: 15px;
    font-weight: 700;

    line-height: 1.6;
}


/* =========================================================
   金利数値
========================================================= */

.sls-interest-rate-value {
    margin: 4px 0 16px;

    color: #173f67;

    font-size: 27px;
    font-weight: 700;

    line-height: 1;
}


.sls-interest-rate-value span {
    margin-left: 2px;

    font-size: 14px;
    font-weight: 600;
}


/* =========================================================
   説明
========================================================= */

.sls-interest-rate-note {
    margin: 0;

    color: #687786;

    font-size: 11px;

    line-height: 1.8;
}


/* =========================================================
   更新情報
========================================================= */

.sls-interest-rate-update {
    margin-top: auto;

    padding-top: 18px;

    color: #9aa8b2;

    font-size: 9px;
}


/* =========================================================
   金利変動方向
========================================================= */

.sls-interest-direction {
    display: inline-block;

    margin-right: 5px;

    font-size: 16px;
    font-weight: 700;
}


.sls-interest-direction.is-up {
    color: #d63638;
}


.sls-interest-direction.is-down {
    color: #269FD3;
}


.sls-interest-direction.is-same {
    color: #8a969e;
}


/* =========================================================
   カード詳細リンク
========================================================= */

.sls-interest-rate-card-detail {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-top: 15px;

    padding-top: 12px;

    border-top:
        1px solid
        rgba(40, 76, 123, 0.08);

    color: #269FD3;

    font-size: 11px;
    font-weight: 700;
}


.sls-interest-rate-card-detail span {
    font-size: 16px;

    transition:
        transform 0.25s ease;
}


.sls-interest-rate-card-link:hover
.sls-interest-rate-card-detail span {
    transform: translateX(4px);
}


/* =========================================================
   最近の金利変動
========================================================= */

.sls-interest-recent-history {
    max-width: 980px;

    margin: 70px auto 0;
}


.sls-interest-recent-history-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 20px;
}


.sls-interest-recent-history-title {
    margin: 0;

    color: #173f67;

    font-size: 24px;
    font-weight: 700;
}


.sls-interest-recent-history-list {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e1eaf0;

    border-radius: 8px;

    box-shadow:
        0 8px 25px
        rgba(40, 76, 123, 0.05);
}


.sls-interest-recent-history-item {
    display: grid;

    grid-template-columns:
        120px
        minmax(0, 1fr)
        auto
        170px;

    align-items: center;

    gap: 20px;

    padding: 18px 22px;

    border-bottom:
        1px solid #edf2f5;
}


.sls-interest-recent-history-item:last-child {
    border-bottom: none;
}


.sls-interest-recent-history-category {
    color: #269FD3;

    font-size: 11px;
    font-weight: 700;
}


.sls-interest-recent-history-name {
    color: #284c7b;

    font-size: 14px;
    font-weight: 700;
}


.sls-interest-recent-history-rate {
    color: #687786;

    font-size: 14px;
}


.sls-interest-recent-history-rate strong {
    color: #173f67;

    font-size: 16px;
}


.sls-interest-recent-history-date {
    white-space: nowrap;

    color: #9aa8b2;

    font-size: 11px;
}


/* =========================================================
   詳細ページ導線
========================================================= */

.sls-interest-rates-action,
.sls-interest-rates-more-wrap {
    margin-top: 45px;

    text-align: center;
}


.sls-interest-rates-button,
.sls-interest-rates-more {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    min-width: 320px;

    padding: 17px 30px;

    background: #284c7b;

    border-radius: 4px;

    color: #ffffff !important;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.sls-interest-rates-button:hover,
.sls-interest-rates-more:hover {
    background: #269FD3;

    color: #ffffff !important;

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px
        rgba(40, 76, 123, 0.15);
}


.sls-interest-rates-button-arrow {
    font-size: 18px;
}
/* =========================================================
   STEP 2-10
   金利詳細ページ
   完全版

   新HTML対応

   ・現在の金利
   ・前回 → 現在
   ・今回の変動
   ・グラフ
   ・履歴
   ・戻る
========================================================= */


/* =========================================================
   詳細ページ全体
========================================================= */

.sls-interest-detail-section {
    position: relative;

    display: block;

    width: 100% !important;
    max-width: 820px !important;

    margin: 0 auto !important;

    padding: 0px 0px;

    box-sizing: border-box;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f6fafc 100%
        );

    overflow: hidden;
}


/* =========================================================
   詳細ページコンテナ
========================================================= */

.sls-interest-detail-container {
    position: relative;

    display: block;

    width: 100% !important;
    max-width: 760px !important;

    margin: 0 auto !important;
}

/* =========================================================
   詳細ページヘッダー
========================================================= */

.sls-interest-detail-header {
    position: relative;

    display: block;

    width: 100%;

    margin: 0 0 45px !important;

    padding: 0;

    text-align: center;
}


.sls-interest-detail-category {
    display: block;

    margin: 0 0 12px;

    color: #269FD3 !important;

    font-size: 12px !important;
    font-weight: 700 !important;

    line-height: 1.5;

    letter-spacing: 0.08em;
}


.sls-interest-detail-title {
    display: block;

    margin: 0 !important;
    padding: 0 !important;

    border: none !important;

    color: #173f67 !important;

    font-size: 38px !important;
    font-weight: 700 !important;

    line-height: 1.4;

    letter-spacing: 0.03em;
}


.sls-interest-detail-description {
    display: block;

    width: 100%;
    max-width: 650px;

    margin: 20px auto 0 !important;
    padding: 0;

    color: #687786 !important;

    font-size: 14px !important;
    font-weight: 400;

    line-height: 1.9;
}


/* =========================================================
   現在の金利
========================================================= */

.sls-interest-detail-current {
    position: relative;

    display: block;

    width: 100%;
    max-width: 760px;

    margin: 0 auto 24px !important;

    padding: 45px 40px !important;

    box-sizing: border-box;

    background: #ffffff !important;

    border: 1px solid #dce7ee !important;
    border-top: 4px solid #269FD3 !important;

    border-radius: 12px !important;

    text-align: center;

    box-shadow:
        0 12px 35px
        rgba(40, 76, 123, 0.08);

    overflow: hidden;
}


/* 上部アクセント */

.sls-interest-detail-current::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 90px;
    height: 4px;

    transform: translateX(-50%);

    background: #269FD3;

    border-radius: 0 0 4px 4px;
}


/* CURRENT RATE */

.sls-interest-detail-current-label {
    display: block;

    margin: 0 0 14px !important;
    padding: 0;

    color: #687786 !important;

    font-size: 12px !important;
    font-weight: 700 !important;

    line-height: 1.5;

    letter-spacing: 0.16em;
}


/* 現在金利 */

.sls-interest-detail-current-value {
    display: flex !important;

    align-items: baseline;
    justify-content: center;

    margin: 0 !important;
    padding: 0;

    color: #173f67 !important;

    font-size: 58px !important;
    font-weight: 700 !important;

    line-height: 1.1 !important;

    letter-spacing: -0.02em;
}


.sls-interest-detail-current-value span {
    display: inline-block;

    margin-left: 6px;

    color: #284c7b !important;

    font-size: 22px !important;
    font-weight: 600 !important;

    line-height: 1;
}


/* 更新日時 */

.sls-interest-detail-updated {
    display: block;

    margin: 16px 0 0 !important;
    padding: 0;

    color: #8a96a3 !important;

    font-size: 11px !important;
    font-weight: 400;

    line-height: 1.5;
}


/* =========================================================
   金利変動パネル
========================================================= */

.sls-interest-detail-change-panel {
    position: relative;

    display: block;

    width: 100%;

    margin: 0 auto 60px !important;

    padding: 32px 35px 35px !important;

    box-sizing: border-box;

    background: #ffffff !important;

    border: 1px solid #dfe8ee !important;

    border-radius: 12px !important;

    box-shadow:
        0 10px 30px
        rgba(40, 76, 123, 0.06);

    overflow: hidden;
}


/* =========================================================
   金利変動タイトル
========================================================= */

.sls-interest-detail-change-heading {
    display: flex !important;

    align-items: center;
    justify-content: center;

    width: 100%;

    margin: 0 0 28px !important;
    padding: 0;

    text-align: center;
}


.sls-interest-detail-change-heading span {
    position: relative;

    display: inline-block;

    margin: 0;
    padding: 0 22px;

    color: #173f67 !important;

    font-size: 18px !important;
    font-weight: 700 !important;

    line-height: 1.5;

    letter-spacing: 0.08em;
}


/* タイトル左右のライン */

.sls-interest-detail-change-heading span::before,
.sls-interest-detail-change-heading span::after {
    content: "";

    position: absolute;

    top: 50%;

    width: 80px;
    height: 1px;

    background: #dce7ee;
}


.sls-interest-detail-change-heading span::before {
    right: 100%;

    margin-right: 10px;
}


.sls-interest-detail-change-heading span::after {
    left: 100%;

    margin-left: 10px;
}


/* =========================================================
   比較エリア
========================================================= */

.sls-interest-detail-comparison {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        70px
        minmax(0, 1fr);

    align-items: center;

    width: 100%;

    gap: 15px;

    margin: 0 0 25px !important;
    padding: 0;
}


/* =========================================================
   前回・現在カード
========================================================= */

.sls-interest-detail-comparison-item {
    position: relative;

    display: block;

    width: 100%;

    margin: 0;
    padding: 25px 20px !important;

    box-sizing: border-box;

    background: #f7fafc !important;

    border: 1px solid #e4edf2 !important;

    border-radius: 8px !important;

    text-align: center;

    overflow: hidden;
}


/* 現在側 */

.sls-interest-detail-comparison-item.is-current {
    background: #f2f9fc !important;

    border-color:
        rgba(38, 159, 211, 0.35) !important;

    box-shadow:
        inset 0 3px 0 #269FD3;
}


/* 現在カードの上部ライン */

.sls-interest-detail-comparison-item.is-current::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 55px;
    height: 3px;

    transform: translateX(-50%);

    background: #269FD3;

    border-radius: 0 0 3px 3px;
}


/* =========================================================
   比較ラベル
========================================================= */

.sls-interest-detail-comparison-label {
    display: block;

    margin: 0 0 10px !important;
    padding: 0;

    color: #687786 !important;

    font-size: 12px !important;
    font-weight: 600 !important;

    line-height: 1.5;

    letter-spacing: 0.08em;
}


/* =========================================================
   比較数値
========================================================= */

.sls-interest-detail-comparison-value {
    display: block;

    margin: 0 !important;
    padding: 0;

    color: #173f67 !important;

    font-size: 30px !important;
    font-weight: 700 !important;

    line-height: 1.2;
}


/* =========================================================
   比較矢印
========================================================= */

.sls-interest-detail-comparison-arrow {
    display: flex !important;

    align-items: center;
    justify-content: center;

    width: 70px;
    height: 70px;

    margin: 0;
    padding: 0;

    box-sizing: border-box;

    background: #eef7fb !important;

    border: 1px solid #d6eaf3 !important;

    border-radius: 50% !important;

    color: #269FD3 !important;

    font-size: 25px !important;
    font-weight: 600 !important;

    line-height: 1;

    box-shadow:
        0 5px 15px
        rgba(38, 159, 211, 0.08);
}


/* =========================================================
   今回の変動
========================================================= */

.sls-interest-detail-change-result {
    display: flex !important;

    align-items: center;
    justify-content: center;

    gap: 8px;

    width: 100%;
    min-height: 58px;

    margin: 0 !important;
    padding: 12px 20px !important;

    box-sizing: border-box;

    background: #f7fafc !important;

    border: 1px solid #e2eaf0 !important;

    border-radius: 8px !important;

    color: #687786 !important;

    font-size: 16px !important;
    font-weight: 700 !important;

    line-height: 1.5;
}


/* 上昇 */

.sls-interest-detail-change-result.is-up {
    background: #fff7f7 !important;

    border-color:
        rgba(214, 54, 56, 0.20) !important;

    color: #d63638 !important;
}


/* 低下 */

.sls-interest-detail-change-result.is-down {
    background: #f2f9fc !important;

    border-color:
        rgba(38, 159, 211, 0.22) !important;

    color: #269FD3 !important;
}


/* 変動なし */

.sls-interest-detail-change-result.is-same {
    background: #f7f9fa !important;

    border-color: #e3e8eb !important;

    color: #7d8891 !important;
}


/* =========================================================
   変動アイコン
========================================================= */

.sls-interest-detail-change-icon {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    flex: 0 0 28px;

    margin: 0;
    padding: 0;

    border-radius: 50%;

    font-size: 17px !important;
    font-weight: 700 !important;

    line-height: 1;
}


/* 上昇 */

.sls-interest-detail-change-result.is-up
.sls-interest-detail-change-icon {
    background:
        rgba(214, 54, 56, 0.10);

    color: #d63638 !important;
}


/* 低下 */

.sls-interest-detail-change-result.is-down
.sls-interest-detail-change-icon {
    background:
        rgba(38, 159, 211, 0.10);

    color: #269FD3 !important;
}


/* 変動なし */

.sls-interest-detail-change-result.is-same
.sls-interest-detail-change-icon {
    background: #edf1f3;

    color: #7d8891 !important;
}


/* ＋ */

.sls-interest-detail-change-sign {
    display: inline-block;

    margin: 0;

    font-size: 17px !important;
    font-weight: 700 !important;
}


/* 変動数値 */

.sls-interest-detail-change-number {
    display: inline-block;

    margin: 0;

    font-size: 17px !important;
    font-weight: 700 !important;
}


/* =========================================================
   詳細セクションタイトル
========================================================= */

.sls-interest-detail-section-title {
    margin: 0 0 25px !important;
    padding: 0 !important;

    border: none !important;

    color: #173f67 !important;

    font-size: 26px !important;
    font-weight: 700 !important;

    line-height: 1.4;
}


/* =========================================================
   グラフ
========================================================= */

.sls-interest-chart-section {
    position: relative;

    margin: 0 0 70px !important;
}


.sls-interest-chart-wrap {
    position: relative;

    width: 100%;

    height: 400px;

    margin: 0;
    padding: 30px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e1eaf0;

    border-radius: 10px;

    box-shadow:
        0 8px 25px
        rgba(40, 76, 123, 0.04);
}


/* =========================================================
   履歴テーブル
========================================================= */

.sls-interest-history-table-wrap {
    width: 100%;

    margin: 0;

    overflow-x: auto;

    background: #ffffff;

    border: 1px solid #e1eaf0;

    border-radius: 8px;

    box-shadow:
        0 8px 25px
        rgba(40, 76, 123, 0.04);
}


.sls-interest-history-table {
    width: 100%;

    margin: 0;

    border-collapse: collapse;

    border-spacing: 0;
}


.sls-interest-history-table th {
    padding: 16px;

    background: #f5f8fb;

    color: #284c7b;

    font-size: 13px;
    font-weight: 700;

    text-align: left;

    white-space: nowrap;
}


.sls-interest-history-table td {
    padding: 16px;

    border-top:
        1px solid #edf2f5;

    color: #687786;

    font-size: 13px;

    line-height: 1.5;
}


.sls-history-change.is-up {
    color: #d63638 !important;
}


.sls-history-change.is-down {
    color: #269FD3 !important;
}


/* =========================================================
   履歴なし
========================================================= */

.sls-interest-no-history {
    width: 100%;

    margin: 0;

    padding: 40px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e1eaf0;

    border-radius: 8px;

    color: #8a96a3;

    text-align: center;
}


/* =========================================================
   戻る
========================================================= */

.sls-interest-detail-back {
    margin: 50px 0 0 !important;

    text-align: center;
}


.sls-interest-detail-back a {
    display: inline-flex;

    align-items: center;

    color: #284c7b !important;

    font-size: 14px !important;
    font-weight: 600 !important;

    text-decoration: none !important;

    transition:
        color 0.25s ease;
}


.sls-interest-detail-back a:hover {
    color: #269FD3 !important;
}


/* =========================================================
   金利トップページ Responsive
========================================================= */

/* Tablet */

@media screen and (max-width: 1100px) {

    .sls-interest-rates-section {
        padding: 85px 25px;
    }

    .sls-interest-section-title,
    .sls-interest-section-heading h2 {
        font-size: 34px;
    }

    .sls-interest-rate-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .sls-interest-rate-card {
        min-height: 280px;
        padding: 22px 18px;
    }

    .sls-interest-recent-history-item {
        grid-template-columns:
            110px
            minmax(0, 1fr)
            auto
            150px;
        gap: 15px;
        padding: 17px 18px;
    }

}

/* Mobile */

@media screen and (max-width: 768px) {

    .sls-interest-rates-section {
        padding: 70px 20px;
    }

    .sls-interest-section-heading {
        margin-bottom: 35px;
    }

    .sls-interest-section-label,
    .sls-interest-section-en {
        margin-bottom: 20px;
        font-size: 10px;
    }

    .sls-interest-section-title,
    .sls-interest-section-heading h2 {
        font-size: 30px;
        line-height: 1.45;
    }

    .sls-interest-section-description {
        margin-top: 16px;
        font-size: 13px;
    }

    .sls-interest-breaking-news {
        margin-top: 35px;
    }

    .sls-interest-breaking-header {
        padding: 13px 18px;
    }

    .sls-interest-breaking-content {
        padding: 25px 20px 22px;
    }

    .sls-interest-breaking-headline {
        font-size: 19px;
    }

    .sls-interest-breaking-rate,
    .sls-interest-rate-change {
        gap: 14px;
        margin: 22px 0;
    }

    .sls-interest-breaking-before,
    .sls-interest-rate-before {
        font-size: 23px;
    }

    .sls-interest-breaking-arrow,
    .sls-interest-rate-arrow {
        font-size: 21px;
    }

    .sls-interest-breaking-after,
    .sls-interest-rate-after {
        font-size: 30px;
    }

    .sls-interest-breaking-footer {
        flex-wrap: wrap;
        gap: 12px;
    }

    .sls-interest-breaking-list {
        margin-bottom: 40px;
    }

    .sls-interest-breaking-list-item {
        grid-template-columns:
            minmax(0, 1fr)
            auto;
        gap: 10px 15px;
        padding: 15px 16px;
    }

    .sls-interest-breaking-list-rate {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .sls-interest-breaking-list-date {
        grid-column: 1;
        grid-row: 2;
    }

    .sls-interest-latest-update {
        margin: 30px auto 40px;
    }

    .sls-interest-latest-update-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding: 18px 20px;
    }

    .sls-interest-rate-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .sls-interest-rate-card {
        min-height: 260px;
        padding: 20px 16px;
    }

    .sls-interest-rate-name {
        margin: 18px 0 10px;
        font-size: 14px;
        line-height: 1.6;
    }

    .sls-interest-rate-value {
        margin: 4px 0 14px;
        font-size: 25px;
    }

    .sls-interest-rate-value span {
        font-size: 13px;
    }

    .sls-interest-rate-note {
        font-size: 10px;
        line-height: 1.7;
    }

    .sls-interest-rate-update {
        padding-top: 14px;
        font-size: 9px;
    }

    .sls-interest-rate-card-detail {
        margin-top: 12px;
        padding-top: 10px;
        font-size: 10px;
    }

    .sls-interest-recent-history {
        margin-top: 50px;
    }

    .sls-interest-recent-history-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .sls-interest-recent-history-title {
        font-size: 21px;
    }

    .sls-interest-recent-history-item {
        grid-template-columns:
            100px
            minmax(0, 1fr);
        gap: 8px 14px;
        padding: 15px 16px;
    }

    .sls-interest-recent-history-category {
        grid-column: 1;
        grid-row: 1;
    }

    .sls-interest-recent-history-name {
        grid-column: 2;
        grid-row: 1;
    }

    .sls-interest-recent-history-rate {
        grid-column: 1 / span 2;
        grid-row: 2;
    }

    .sls-interest-recent-history-date {
        grid-column: 1 / span 2;
        grid-row: 3;
    }

    .sls-interest-rates-action,
    .sls-interest-rates-more-wrap {
        margin-top: 35px;
    }

    .sls-interest-rates-button,
    .sls-interest-rates-more {
        min-width: 260px;
        padding: 15px 24px;
        font-size: 13px;
    }

}

/* Small Mobile */

@media screen and (max-width: 480px) {

    .sls-interest-rates-section {
        padding: 60px 15px;
    }

    .sls-interest-section-heading {
        margin-bottom: 30px;
    }

    .sls-interest-section-label,
    .sls-interest-section-en {
        font-size: 9px;
        letter-spacing: 0.16em;
    }

    .sls-interest-section-title,
    .sls-interest-section-heading h2 {
        font-size: 26px;
    }

    .sls-interest-section-description {
        font-size: 12px;
    }

    .sls-interest-breaking-news {
        margin-top: 30px;
        border-left-width: 4px;
        border-radius: 8px;
    }

    .sls-interest-breaking-header {
        padding: 12px 15px;
    }

    .sls-interest-breaking-title {
        font-size: 12px;
    }

    .sls-interest-breaking-content {
        padding: 22px 15px 20px;
    }

    .sls-interest-breaking-category {
        font-size: 11px;
    }

    .sls-interest-breaking-headline {
        font-size: 17px;
    }

    .sls-interest-breaking-rate,
    .sls-interest-rate-change {
        gap: 10px;
        margin: 20px 0;
    }

    .sls-interest-breaking-before,
    .sls-interest-rate-before {
        font-size: 19px;
    }

    .sls-interest-breaking-arrow,
    .sls-interest-rate-arrow {
        font-size: 19px;
    }

    .sls-interest-breaking-after,
    .sls-interest-rate-after {
        font-size: 25px;
    }

    .sls-interest-breaking-link {
        font-size: 12px;
    }

    .sls-interest-breaking-list-header {
        padding: 14px 15px;
    }

    .sls-interest-breaking-list-header h3 {
        font-size: 14px;
    }

    .sls-interest-breaking-list-header span {
        font-size: 11px;
    }

    .sls-interest-breaking-list-item {
        padding: 14px 15px;
    }

    .sls-interest-breaking-list-category {
        font-size: 11px;
    }

    .sls-interest-breaking-list-name {
        font-size: 13px;
    }

    .sls-interest-breaking-list-rate {
        font-size: 13px;
    }

    .sls-interest-breaking-list-rate strong {
        font-size: 15px;
    }

    .sls-interest-latest-update-inner {
        padding: 16px 15px;
    }

    .sls-interest-latest-update-label {
        font-size: 12px;
    }

    .sls-interest-latest-update-text {
        font-size: 13px;
    }

    .sls-interest-rate-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .sls-interest-rate-card {
        min-height: 250px;
        padding: 18px 12px;
    }

    .sls-interest-rate-card-header {
        gap: 5px;
    }

    .sls-interest-rate-number {
        font-size: 10px;
    }

    .sls-interest-rate-status {
        padding: 3px 6px;
        font-size: 9px;
    }

    .sls-interest-rate-name {
        margin: 16px 0 9px;
        font-size: 13px;
        line-height: 1.55;
    }

    .sls-interest-rate-value {
        margin: 4px 0 12px;
        font-size: 23px;
    }

    .sls-interest-rate-value span {
        font-size: 12px;
    }

    .sls-interest-rate-note {
        font-size: 10px;
        line-height: 1.65;
    }

    .sls-interest-rate-update {
        padding-top: 12px;
        font-size: 8px;
    }

    .sls-interest-rate-card-detail {
        margin-top: 10px;
        padding-top: 9px;
        font-size: 9px;
    }

    .sls-interest-rate-card-detail span {
        font-size: 14px;
    }

    .sls-interest-recent-history {
        margin-top: 45px;
    }

    .sls-interest-recent-history-title {
        font-size: 19px;
    }

    .sls-interest-recent-history-item {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 14px 15px;
    }

    .sls-interest-recent-history-category,
    .sls-interest-recent-history-name,
    .sls-interest-recent-history-rate,
    .sls-interest-recent-history-date {
        grid-column: 1;
        grid-row: auto;
    }

    .sls-interest-rates-action,
    .sls-interest-rates-more-wrap {
        margin-top: 30px;
    }

    .sls-interest-rates-button,
    .sls-interest-rates-more {
        width: 100%;
        min-width: 0;
        padding: 14px 20px;
        font-size: 12px;
    }

}


/* =========================================================
   Tablet
========================================================= */

@media screen and (max-width: 1100px) {

    .sls-interest-detail-section {
        padding:
            85px 25px;
    }


    .sls-interest-detail-container {
        max-width: 900px !important;
    }


    .sls-interest-detail-title {
        font-size: 34px !important;
    }


    .sls-interest-detail-current-value {
        font-size: 52px !important;
    }


    .sls-interest-detail-change-panel {
        padding:
            30px 28px 32px !important;
    }


    .sls-interest-detail-comparison {
        grid-template-columns:
            minmax(0, 1fr)
            60px
            minmax(0, 1fr);
    }


    .sls-interest-detail-comparison-arrow {
        width: 60px;
        height: 60px;
    }

}


/* =========================================================
   Mobile
========================================================= */

@media screen and (max-width: 768px) {

    .sls-interest-detail-section {
        padding:
            70px 20px;
    }


    .sls-interest-detail-header {
        margin-bottom: 35px !important;
    }


    .sls-interest-detail-category {
        font-size: 11px !important;
    }


    .sls-interest-detail-title {
        font-size: 30px !important;
    }


    .sls-interest-detail-description {
        margin-top: 16px !important;

        font-size: 13px !important;
    }


    /* 現在金利 */

    .sls-interest-detail-current {
        margin-bottom: 18px !important;

        padding:
            30px 20px !important;
    }


    .sls-interest-detail-current-label {
        font-size: 11px !important;
    }


    .sls-interest-detail-current-value {
        font-size: 42px !important;
    }


    .sls-interest-detail-current-value span {
        margin-left: 4px;

        font-size: 17px !important;
    }


    .sls-interest-detail-updated {
        margin-top: 12px !important;

        font-size: 10px !important;
    }


    /* 金利変動 */

    .sls-interest-detail-change-panel {
        margin-bottom: 45px !important;

        padding:
            25px 18px 25px !important;
    }


    .sls-interest-detail-change-heading {
        margin-bottom: 22px !important;
    }


    .sls-interest-detail-change-heading span {
        padding: 0 12px;

        font-size: 16px !important;
    }


    .sls-interest-detail-change-heading span::before,
    .sls-interest-detail-change-heading span::after {
        width: 35px;
    }


    /* 前回 → 現在 */

    .sls-interest-detail-comparison {
        grid-template-columns:
            minmax(0, 1fr)
            45px
            minmax(0, 1fr);

        gap: 8px;

        margin-bottom: 20px !important;
    }


    .sls-interest-detail-comparison-item {
        padding:
            20px 10px !important;
    }


    .sls-interest-detail-comparison-label {
        font-size: 11px !important;
    }


    .sls-interest-detail-comparison-value {
        font-size: 23px !important;
    }


    .sls-interest-detail-comparison-arrow {
        width: 45px;
        height: 45px;

        font-size: 19px !important;
    }


    /* 変動結果 */

    .sls-interest-detail-change-result {
        min-height: 52px;

        padding:
            10px 14px !important;

        font-size: 14px !important;
    }


    .sls-interest-detail-change-number {
        font-size: 15px !important;
    }


    /* セクションタイトル */

    .sls-interest-detail-section-title {
        margin-bottom: 20px !important;

        font-size: 22px !important;
    }


    /* グラフ */

    .sls-interest-chart-section {
        margin-bottom: 50px !important;
    }


    .sls-interest-chart-wrap {
        height: 300px;

        padding: 15px;
    }


    /* 履歴 */

    .sls-interest-history-table th,
    .sls-interest-history-table td {
        white-space: nowrap;

        padding: 13px;
    }


    /* 戻る */

    .sls-interest-detail-back {
        margin-top: 40px !important;
    }

}


/* =========================================================
   Small Mobile
========================================================= */

@media screen and (max-width: 480px) {

    /* 詳細ページ */

    .sls-interest-detail-section {
        padding: 60px 15px;
    }

    .sls-interest-detail-title {
        font-size: 26px !important;
    }

    .sls-interest-detail-description {
        font-size: 12px !important;
    }

    .sls-interest-detail-current {
        padding: 25px 15px !important;
    }

    .sls-interest-detail-current-value {
        font-size: 36px !important;
    }

    .sls-interest-detail-current-value span {
        font-size: 15px !important;
    }

    .sls-interest-detail-change-panel {
        padding: 22px 12px !important;
    }

    .sls-interest-detail-change-heading span {
        font-size: 15px !important;
    }

    .sls-interest-detail-change-heading span::before,
    .sls-interest-detail-change-heading span::after {
        width: 20px;
    }

    .sls-interest-detail-comparison {
        grid-template-columns:
            minmax(0, 1fr)
            36px
            minmax(0, 1fr);
        gap: 5px;
    }

    .sls-interest-detail-comparison-item {
        padding: 17px 5px !important;
    }

    .sls-interest-detail-comparison-label {
        font-size: 10px !important;
    }

    .sls-interest-detail-comparison-value {
        font-size: 19px !important;
    }

    .sls-interest-detail-comparison-arrow {
        width: 36px;
        height: 36px;
        font-size: 16px !important;
    }

    .sls-interest-detail-change-result {
        gap: 5px;
        padding: 10px 8px !important;
        font-size: 13px !important;
    }

    .sls-interest-detail-change-icon {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
        font-size: 15px !important;
    }

    .sls-interest-detail-change-sign,
    .sls-interest-detail-change-number {
        font-size: 14px !important;
    }

    /* グラフ */

    .sls-interest-chart-wrap {
        height: 260px;
        padding: 10px;
    }

    /* 速報 */

    .sls-interest-breaking-live {
        display: none;
    }

    .sls-interest-breaking-title {
        font-size: 12px;
    }

    .sls-interest-breaking-rate {
        gap: 10px;
    }

    .sls-interest-breaking-before {
        font-size: 19px;
    }

    .sls-interest-breaking-after {
        font-size: 25px;
    }

    /* 金利カード */

    .sls-interest-rate-grid {
        gap: 10px;
    }

    .sls-interest-rate-card {
        min-height: 240px;
        padding: 18px 12px;
    }
}
