@charset "UTF-8";

.tablet-none {
    display: block;
}
.tablet-only {
    display: none;
}
@media screen and (max-width: 1024px) {
    .tablet-none {
        display: none;
    }
    .tablet-only {
        display: block;
    }
}

a.button.red:hover {
    background: #8d1930!important;
    opacity: 1;
}

a:hover, button:hover {
    opacity: 0.7;
}

a.section__button {
    box-sizing: border-box;
}

a:link.section__button {
    color: #fff;
}

a:visited.button,
a:visited.section__button {
    color: #fff!important;
}

.mT15 {
    margin-top: 15px !important;
}

.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.text-center a {
    text-decoration: underline;
}

.fc-blue {
    color: #000066 !important;
}

.fc-navy {
    color: #073586 !important;
}

.fc-pink {
    color: #f54c60 !important;
}

.fc-red {
    color: #d92214!important;
}

sup {
    vertical-align: super;
}

@media screen and (max-width: 767px) {
    .content article > .boueikyosai__toggle__area {
        margin-left: 0;
        margin-right: 0;
    }
}

/* 020-03-01コピーガード */
.campaign__item {
    position: relative;
    display: inline-block;
}
.campaign__item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    pointer-events: auto;
}
.campaign__item a {
    display: inline-block;
    height: 100%;
}
.copy_guard {
    pointer-events: none;
}
@media print {
    .copy_guard {
        display: none !important;
    }
}

.section__list-notes .section__list-item:not(.toggle__content .section__list-notes .section__list-item) {
    display: inline-block;
}

.section__list-notes .section__list-item small {
    font-size: 15px;
}

@media screen and (max-width: 767px) {
    .section__list-notes .section__list-item small {
        font-size: 14px;
    }
}

.button {
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 20px 63px 20px 44px;
    font-size: 22px !important;
    font-weight: bold;
    text-align: center;
    text-decoration: none !important;
    border-radius: 34px;
    box-sizing: border-box;
}

@media screen and (max-width: 767px) {
    .button {
        padding: 18px 45px 18px 20px;
        font-size: 17px !important;
    }
}

.button.red {
    background-color: #e6002d !important;
    color: #ffffff !important;
}

.button.button-internal-link::after {
    position: absolute;
    content: '';
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    display: inline-block;
    width: 43px;
    height: 43px;
    background-image: url(/special/images/icon_boueikyosai_arrow-right_pc.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

@media screen and (max-width: 767px) {
    .button.button-internal-link::after {
        width: 34px;
        height: 34px;
        background-image: url(/special/images/icon_boueikyosai_arrow-right_sp.png);
    }
}

.button.button-external-link::after {
    position: absolute;
    content: '';
    top: 50%;
    transform: translateY(-50%);
    right: 18px;
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url(/special/images/icon_boueikyosai_external.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
@media screen and (max-width: 767px) {
    .button.button-external-link::after {
        right: 14px;
        width: 20px;
        height: 20px;
    }
}

@media screen and (max-width: 767px) {
    p:has(.button) {
        margin-top: 17px;
    }
}


/* 口座開設 */
#accountOpeningMethods {
    margin: 50px 0;
    padding: 30px 20px 54px;
    background-image: url(/special/images/bg_boueikyosai_pc.png);
}
@media screen and (max-width: 767px) {
    #accountOpeningMethods {
        background-image: url(/special/images/bg_boueikyosai_sp.png);
    }
}

@media screen and (max-width: 767px) {
    #accountOpeningMethods {
        padding: 32px 15px 38px;
    }
}

#accountOpeningMethods h2 {
    color: #ffffff;
    font-size: 52px;
    font-weight: bold;
    text-align: center;
}

@media screen and (max-width: 767px) {
    #accountOpeningMethods h2 {
        font-size: 32px;
    }
}

#accountOpeningMethods h2 .sub-title {
    font-size: 27px;
}

@media screen and (max-width: 767px) {
    #accountOpeningMethods h2 .sub-title {
        font-size: 22px;
    }
}

#accountOpeningMethods .toggle {
    position: relative;
    display: block;
    width: 100%;
    max-width: 963px;
    margin: 36px auto 0;
    background-color: #ffffff;
    border-bottom: 5px solid #00a9d5;
    border-radius: 8px 8px 0 0;
}

@media screen and (max-width: 767px) {
    #accountOpeningMethods .toggle {
        margin-top: 21px;
    }
}

#accountOpeningMethods .toggle__title::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: 30px;
    right: 20px;
    width: 27px;
    height: 27px;
    background-image: url(/special/images/icon_boueikyosai_next.png);
    background-size: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#accountOpeningMethods .is-open .toggle__title::before {
    transform: rotate(180deg);
}

@media screen and (max-width: 767px) {
    #accountOpeningMethods .toggle__title::before {
        top: 25px;
        right: 10px;
        width: 21px;
        height: 21px;
    }
}

#accountOpeningMethods .toggle + .toggle {
    margin-top: 15px;
}

#accountOpeningMethods .toggle__title {
    padding: 9px 50px 10px 22px;
    color: #000066;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
}

@media screen and (max-width: 767px) {
    #accountOpeningMethods .toggle__title {
        padding: 5px 28px;
        font-size: 21px;
    }
}

#accountOpeningMethods .toggle__title .sub-title {
    font-size: 17px;
}

@media screen and (max-width: 767px) {
    #accountOpeningMethods .toggle__title .sub-title {
        font-size: 13px;
        letter-spacing: -0.5px;
    }
}

#accountOpeningMethods .toggle__content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    padding: 0 128px 0;
    border-top: 2px solid #000066;
}
#accountOpeningMethods .toggle.is-open .toggle__content {
    max-height: 3000px;
    opacity: 1;
    visibility: visible;
    padding: 36px 128px 50px;
}

@media screen and (max-width: 767px) {
    #accountOpeningMethods .toggle__content {
        padding: 0 15px 0;
    }
    #accountOpeningMethods .toggle.is-open .toggle__content {
        padding: 18px 15px 26px;
    }
}

#accountOpeningMethods .toggle__content h3 {
    color: #000066;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

@media screen and (max-width: 767px) {
    #accountOpeningMethods .toggle__content h3 {
        font-size: 21px;
    }
}

#accountOpeningMethods .toggle__content p + h3 {
    margin-top: 40px;
}

@media screen and (max-width: 767px) {
    #accountOpeningMethods .toggle__content p + h3 {
        margin-top: 22px;
    }
}

#accountOpeningMethods .toggle__content p {
    text-align: center;
}

@media screen and (max-width: 767px) {
    #accountOpeningMethods .toggle__content p {
        font-size: 14px;
    }
}

#accountOpeningMethods .toggle__content p small {
    font-size: 12px;
}

#accountOpeningMethods .toggle__content h3 + p {
    margin-top: 16px;
}

@media screen and (max-width: 767px) {
    #accountOpeningMethods .toggle__content h3 + p {
        margin-top: 12px;
    }
}

#accountOpeningMethods .toggle__content p + p {
    margin-top: 17px;
}

#accountOpeningMethods .toggle__content .step__contents {
    max-width: 544px;
    margin: 24px auto 0;
}

@media screen and (max-width: 767px) {
    #accountOpeningMethods .toggle__content .step__contents {
        margin-top: 12px;
    }
}

#accountOpeningMethods .toggle__content .step__contents__item p + p {
    margin-top: 13px;
}

body #accountOpeningMethods .toggle__content a,
body #accountOpeningMethods .toggle__content a:link {
    font-size: 18px;
    color: #000066;
    text-decoration: underline;
}
@media screen and (max-width: 767px) {
    body #accountOpeningMethods .toggle__content a:link {
        font-size: 14px;
    }
}

#accountOpeningMethods .toggle__content a.internal-link {
    position: relative;
    padding-left: 15px;
    display: inline-block;
}

#accountOpeningMethods .toggle__content a.internal-link::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: 2px;
    width: 9px;
    height: 14px;
    background-image: url(/special/images/icon_boueikyosai_arrow-right.png);
    background-size: contain;
    left: 0;
}

#accountOpeningMethods .toggle__content .step__contents__item p {
    font-size: 16px;
}

@media screen and (max-width: 767px) {
    #accountOpeningMethods .toggle__content .step__contents__item p {
        font-size: 14px;
    }
}

#accountOpeningMethods .toggle__content .arrow {
    margin: 12px 0 9px;
}

@media screen and (max-width: 767px) {
    #accountOpeningMethods .toggle__content .icon__plus {
        width: auto;
    }
    #accountOpeningMethods .toggle__content .arrow img {
        width: auto;
    }
}

#accountOpeningMethods .toggle__content .button {
    margin-top: 30px;
    max-width: 375px;
}


/* 留意事項 */
#attention {
    padding: 20px 20px;
}

@media screen and (max-width: 767px) {
    #attention {
        padding: 0 15px 35px;
    }
}

#attention .toggle {
    position: relative;
    display: block;
    max-width: 963px;
    margin: 0 auto;
    background-color: #ffffff;
    border: 2px solid #000066;
}

#attention .attention-title-box + .toggle {
    margin-top: 28px;
}

#attention .toggle + .toggle {
    margin-top: 16px;
}

#attention .toggle__title {
    position: relative;
    padding: 18px;
    color: #000066;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

@media screen and (max-width: 767px) {
    #attention .toggle__title {
        padding: 10px 18px;
        font-size: 16px;
    }
}

#attention .toggle__title::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    width: 27px;
    height: 27px;
    background-image: url(/special/images/icon_boueikyosai_next.png);
    background-size: contain;
    cursor: pointer;
}

@media screen and (max-width: 767px) {
    #attention .toggle__title::before {
        right: 8px;
        width: 21px;
        height: 21px;
    }
}

#attention .attention-title-box {
    margin-top: 28px;
    text-align: center;
}

#attention .attention-title {
    position: relative;
    display: inline-block;
    padding-left: 30px;
    color: #d92214;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
}

@media screen and (max-width: 767px) {
    #attention .attention-title {
        padding-left: 22px;
        font-size: 19px;
    }
}

#attention .attention-title::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: 0;
    left: 0;
    width: 26px;
    height: 26px;
    background-image: url(/special/images/icon_boueikyosai_attention.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

@media screen and (max-width: 767px) {
    #attention .attention-title::before {
        width: 19px;
        height: 19px;
    }
}

#attention .toggle__content {
    width: 96%;
    margin: 0 auto;
    padding: 15px 0;
    border-top: 2px solid #000066;

    /* アニメーション用 */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    padding: 0; /* 閉じている時は余白ゼロ */
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

@media screen and (max-width: 767px) {
    #attention .toggle__content {
        width: 90%;
    }
}

#attention .toggle.is-open .toggle__content {
    max-height: 3000px; /* 十分に大きい値 */
    opacity: 1;
    visibility: visible;
    padding: 15px 0; /* 開いた時の余白 */
}

#attention .toggle__title::before {
    transition: transform 0.3s ease;
}
#attention .toggle.is-open .toggle__title::before {
    transform: translateY(-50%) rotate(180deg);
}

#attention .toggle__content ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

#attention .toggle__content ul li {
    position: relative;
    padding-left: 15px;
    font-size: 16px;
    line-height: 20px;
}

#attention .toggle__content ul li::before {
    content: '●';
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 12px;
    color: #000066;
    line-height: 1;
}

body #attention .toggle__content p a,
body #attention .toggle__content p a:link {
    color: #000066;
    text-decoration: underline;
}

/* 印刷用スタイル */
@media print {
    /* 印刷時のスケーリング調整 */
    body {
        zoom: 0.8;
        transform-origin: top left;
    }
    
    img {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
    }
    
    /* 印刷時に不要な要素を非表示 */
    .floating-actions,
    .pagetop,
    .carousel-button,
    .modal,
    .modal-overlay {
        display: none !important;
    }
    
    /* 印刷時のページ設定 */
    @page {
        margin: 0.5cm;
        size: A4 landscape;
    }
    
    /* コンテナの幅を1280pxに制限 */
    .container,
    .main-content,
    .section {
        max-width: 1280px !important;
        margin: 0 auto !important;
    }
}