body {
    background-color: #ccc;
    /* ページ全体の背景色 */
    font-family: 'Noto Sans JP', sans-serif;
}

.container {
    max-width: 100%;
}

.open-button {
    background-color: #C01F17;
    color: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    border: #C01F17;
    font-weight: bold;
}

.login-button {
    background-color: #CC9D2D;
    color: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    border: #CC9D2D;
    font-weight: bold;
}

.slide-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    /* 中央に配置 */
    background-color: #fff;
    /* サイドをグレーにする */
}

.slide-inner {
    position: relative;
    width: 1500px;
    /* ✅ バナー幅を1200pxに変更 */
    height: 490px;
    overflow: hidden;
    background-color: #fff;
}

/* スライド全体（2枚分） */
.slide {
    width: calc(1500px * 2);
    /* ✅ スライド幅を調整 */
    height: 100%;
    display: flex;
    transition: transform 0.5s ease;
}

/* 各スライド */
.slide div {
    width: 1500px;
    /* ✅ 各スライド幅も1200pxに統一 */
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}

.slide1 {
    transform: translateX(0);
}

.slide2 {
    transform: translateX(-1500px);
}



.slide div:nth-of-type(1) {
    background-color: #ffffff;
}

.slide div:nth-of-type(2) {
    background-color: #ffffff;
}

.slide div:nth-of-type(3) {
    background-color: #ffffff;
}

/* メニューの z-index を上げる */
global-nav,
.header-box,
.offcanvas {

    z-index: 1050;
    /* Bootstrapのモーダルより高めに設定するのが安全 */
}

.slide-wrapper,
.slide-inner,
.banner {
    position: relative;
    z-index: 1;
}



@media screen and (max-width: 600px) {
    .slide-inner {
        width: 100%;
        height: auto;
    }

    .slide-wrapper,
    .slide-inner,
    .banner {
        width: 100%;
    }

    .slide div {
        width: 100%;
        height: auto;
        flex-shrink: 0;
        font-size: 1.5rem;
    }

    .slide {
        width: 100%;
        /* 必要なら調整 */
    }

    .banner {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .banner-img {
        margin-top: 50px;
        width: 100%;
        height: auto;
        max-width: 100%;
        display: block;
    }

    .slide1 {
        transform: translateX(0);
    }

    .slide2 {
        transform: translateX(-100%);
    }

    .slide3 {
        transform: translateX(-200%);
    }
}

/* ボタン */
.prev,
.next {
    position: absolute;
    width: 15px;
    height: 15px;
    bottom: 50%;
    z-index: 10;
    cursor: pointer;
    border-top: solid 3px #000;
    border-right: solid 3px #000;
}

.prev {
    left: 30px;
    transform: rotate(-135deg) translateY(-50%);
}

.next {
    right: 30px;
    transform: rotate(45deg) translateY(50%);
}

/* インジケーター */
.indicator {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    column-gap: 18px;
    z-index: 10;
}

.indicator li {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #000;
    cursor: pointer;
    list-style: none;
    /* 不要な点々のmarkerを削除 */
}

.indicator li.active {
    background-color: #000;
}


.section-tools {
    display: flex;
    justify-content: space-between;
    margin: auto;
    padding: 100px 100px;
}

.button-second {
    padding: 20px 10px;
    border-radius: 10px;
    color: #E1F3FC;
    text-align: left;

}

.tradersgym-img {
    width: 200px;
    margin-left: 10px
}

.tradersgym {
    display: block;
}

.open-accountbutton {
    background-color: #C01F17;
    text-align: center;
    border-radius: 10px;
    width: 900px;
    padding: 10px;
    margin: 50px auto;
}

.open-account {

    display: flex;
    justify-content: space-around;
    text-decoration: none;

}

.open-accountnav {
    background-color: #fff;
    color: #CC9D2D;
    padding: 5px;
    font-weight: bold;
    font-size: 20px;
    border-radius: 5px;
    margin: auto;
}

.open-accounttitle {
    font-size: 30px;
    color: #fff;
    margin: auto;
    font-weight: bold;
}

.icon {
    text-align: center;
}


body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    background-color: #fff8f4;
    color: #333;
}

.section {
    padding: 60px 20px;
    text-align: center;
}

.section-support {
    background-color: #fff;
}

h2 {
    font-size: 28px;
    margin-bottom: 40px;
}

.button {
    padding: 20px 10px;
    border-radius: 10px;
    color: #ffffff;
    text-align: center;
}

.button a {
    display: inline-block;
    background-color: #C29900;
    color: #fff;
    text-decoration: none;
    padding: 10px 70px;
    font-size: 18px;
    border-radius: 6px;
    transition: background-color 0.3s;
    font-weight: bold;
}

.button-second a {
    display: inline-block;
    background-color: #C29900;
    color: #fff;
    text-decoration: none;
    padding: 10px 70px;
    font-size: 14px;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.button-second a:hover {
    background-color: #a77f00;
}

.button a:hover {
    background-color: #a77f00;
}

.icon-main {
    align-items: start;
}


.support-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.section-support {
    display: flex;
    justify-content: space-between;
}

.bg-secondary {
    display: block;
}

.section-toolssecond {
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    margin: auto;
    padding: 100px 100px;
}

.section-steps {
    background-color: #fff;
    text-align: center;
    padding: 30px;

}

.step-flow {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
}

.step {
    background: #fff;
    padding: 20px;
    width: 200px;
    border-radius: 8px;
}

.btn {
    display: inline-block;
    background: #d4a373;
    color: white;
    padding: 12px 24px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: bold;
}

.btn.red {
    background: #c1272d;
}

.account-flow {
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
    font-family: 'Arial', sans-serif;
    background-image: url('pattern-bg.png');
    /* 背景柄（必要であれば） */
    background-repeat: repeat;
}

.subtitle {
    color: #C29900;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
}

.section-title {
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: bold;
    color: #2a1c0f;
    font-family: serif;
}

.step-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    flex: 1 1 220px;
    max-width: 240px;
    text-align: center;
}

.circle {
    width: 40px;
    height: 40px;
    background-color: #C29900;
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}

.step h3 {
    font-size: 18px;
    margin: 10px 0;
    color: #2a1c0f;
    font-weight: bold;
}

.step-icon {
    width: 60px;
    margin: 10px 0;
    height: 100px;
}

.step p {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.doc-link {
    display: inline-block;
    padding: 4px 10px;
    margin-top: 10px;
    font-size: 13px;
    color: #C29900;
    border: 1px solid #C29900;
    border-radius: 4px;
    text-decoration: none;
    width: 100%;
}

.step-text {
    text-align: left;
    font-size: 15px;
    font-weight: 300;
}

.announce {
    background-color: #fff;
    max-width: 60%;
    margin: auto;
}

.mb-3 {
    text-align: center;
    font-size: 25px;
    font-family: serif;
}

body {
    font-family: "游ゴシック体", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
    background-color: #fff;
    margin: 0;
    padding: 0;
}

.news-section {
    max-width: 800px;
    margin: 50px auto;
    padding: 0 20px;
}

.news-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}

.news-item {
    border-top: 1px solid #ddd;
    padding: 15px 0;
    display: flex;
    gap: 10px;
    font-size: 14px;
}

.news-item:last-child {
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap;
}

.news-date {
    width: 80px;
    color: #333;
}

.news-label {
    font-weight: bold;
    color: #666;
}

.news-text {
    color: #333;
}

.button-group {
    text-align: center;
    margin-top: 40px;
}

.button-group a {
    display: inline-block;
    background-color: #d2a24c;
    color: #fff;
    text-decoration: none;
    padding: 10px 30px;
    margin: 10px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.button-group a:hover {
    background-color: #b88a3b;
}

p a {
    text-decoration: none;
    color: #fff;
    width: 350px;
}






@media screen and (max-width: 600px) {
    .open-accountbutton {
        width: 90%;
    }

    .open-account {
        display: block;
    }


    .card {
        margin-bottom: 30px;
    }


    .tool-title {
        width: 600px;
    }

    .infomation-button {
        width: 80%;
    }

    .open-button {
        font-size: 14px;
        padding: 10px;
    }
    .button {
        padding: 0px;
    }
    .button a {
        padding: 10px;
    }
    .card-grid.tool {
        gap: 0px;
    }
}