@charset "utf-8";

/* ==========================================================================
   1. Common & Typography
   ========================================================================== */
/* 汎用テキストリンク */
a.textlink,
p.textlink {
    color: #004090;
    font-size: 1.17rem;
    text-decoration: underline;
    cursor: pointer;
}

a.textlink:hover,
p.textlink:hover {
    text-decoration: none;
}

/* ユーティリティ */
.justify-center {
    justify-content: center;
}



/* ==========================================================================
   2. Layout: Header & Nav
   ========================================================================== */
/* Nav Items */
li.nav__list-item {
    flex-grow: 1;
}

/* Tel List (PC/SP adjustments handled in Media Queries) */


/* ==========================================================================
   3. Main Content Areas
   ========================================================================== */
.main {
    margin-top: 0;
}


/* タイトルバー共通 */
.title_colorbar {
    background-color: #009900;
    height: 6px;
}

.top_bnr_white {
    display: block;
    width: 100%;
    height: 60px;
    margin-bottom: 10px;
    overflow: hidden;
    font-size: 30px;
    line-height: 66px;
    font-weight: bold;
    text-indent: 15px;
    white-space: nowrap;
    background: #e7e7e7;
}

/* バナーボタンスタイル */
.top_bnr_white_shadow {
    cursor: pointer;
    display: flex;
    width: 395px;
    height: 40px;
    padding: 5px 10px;
    font-size: 20px;
    background: #ededed;
    box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.3);
    justify-content: space-between;
    align-items: center;
}

.top_bnr_white_shadow .title_3min {
    width: 300px;
}

.top_bnr_white_shadow .btn_arrow {
    width: 22px;
}


/* ==========================================================================
   4. News & FAQ Section
   ========================================================================== */
.news__area,
.faq__area {
    width: 1100px;
}

.news__img {
    width: auto;
}

.news-faq h2+p {
    width: 100%;
    display: block;
    font-size: 17px;
    line-height: 22px;
}

.news-faq ol,
.news-faq ul,
.news__area li,
.faq__area li,
.faq__area dt {
    width: 100%;
}

/* FAQ Block */
ul.faq_block {
    border: none;
    overflow-y: unset;
    height: auto;
    padding: 0;
}

.faq__area li {
    padding: 0;
}

.faq_li dt {
    margin-bottom: 0;
    cursor: pointer;
    padding: 15px 18px 10px 25px;
    /* 上右下左 */
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    position: relative;
    width: auto;
    background-color: #f8fafd;
    height: auto;
}

.faq_li dt::after {
    position: absolute;
    right: 10px;
    font-size: 1.8em;
    margin-left: auto;
    transition: transform 0.3s ease;
    color: #666;
    content: '+';
}

.faq_li dt.is-active::after {
    content: '-';
    transform: rotate(0deg);
    color: #007bff;
}

.faq__img {
    background: transparent;
    height: auto;
}

.faq__ttl {
    flex-grow: 1;
    height: auto;
}

.faq__ttl>p {
    color: #4472c4;
    font-size: 18px;
}

dd.faq__txt {
    display: none;
    padding: 18px 25px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    background-color: #fff;
}


/* ==========================================================================
   5. Sections: iDeCo / Features / App
   ========================================================================== */
section[class^="ideco"] {
    width: 1100px;
    margin: 20px auto;
}

/* iDeCo Info Section */
.ideco-info {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

ul.info-list {
    display: flex;
    flex-direction: column;
    flex: 6;
    gap: 10px;
}

li.info-item {
    border: 1px solid #009900;
    border-radius: 5px;
    padding: 10px;
    flex-grow: 1;
}

li.info-item p {
    margin-top: 20px;
    margin-left: 10px;
    font-size: 17px;
    line-height: 22px;
}

.user-guide {
    flex: 4;
    background: #c6dede;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
}

.user-guide p {
    font-size: 17px;
    line-height: 22px;
}

.user-guide .user-guide-link {
    margin: auto;
}

.user-guide img {
    margin: auto;
    display: block;
    padding: 10px;
    width: 200px;
}

/* Feature Section (スマート積立プランの特長) */
ul.feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

li.feature-item {
    border: 1px solid #009900;
    border-radius: 5px;
    padding: 10px;
}

.feature-item-flow {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.feature-item-arrow {
    display: block;
    margin: auto;
}

.feature-table-summary {
    font-size: 17px;
    line-height: 22px;
}

table.feature-table {
    width: 300px;
}

td.feature-table-index {
    display: flex;
    align-items: center;
    gap: 12px;
}

td.feature-table-index span:nth-child(1) {
    background: #f0015c;
    display: flex;
    text-align: center;
    color: #fff;
    min-width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    line-height: 20px;
    font-size: 15px;
    font-weight: bold;
}

td.feature-table-index span:nth-child(2) {
    color: #f0015c;
    font-weight: bold;
    font-size: 17px;
}

/* Feature Item Info Area */
.feature-item-info {
    background: #c6dede;
    padding: 15px;
    border-radius: 5px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: fit-content;
    margin: 10px auto 0;
}

.feature-item-info-text {
    font-weight: bold;
    font-size: 30px;
}

.feature-item-info-banner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-item-info-banner a {
    padding: 0px 30px;
    background: #009900;
    color: #fff;
    font-size: 25px;
    font-weight: bold;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 6px;
    border-bottom: 4px solid #008000;
}

.feature-item-info-banner a span {
    color: #fff;
    font-weight: normal;
    font-size: 20px;
    margin: 3px;
}

.feature-item-qa {
    font-size: 20px;
    width: 670px;
    margin-left: auto;
    line-height: 30px;
}

.feature-item-qa span {
    display: block;
    font-size: 17px;
    line-height: 30px;
    text-align: center;
}

.feature-item-qa span::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #000;
    margin-right: 5px;
    vertical-align: middle;
}

/* App Section (お申込) */
ul.app-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

li.app-item {
    border: 1px solid #009900;
    border-radius: 5px;
    padding: 10px;
}

.app-item-flex {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.app-item-flex div {
    display: flex;
    flex-direction: column;
}

li.app-item p,
.app-item-flex p {
    font-size: 17px;
    line-height: 22px;
}

li.app-item p {
    line-height: 27px;
    width: 80%;
    margin: 0 auto;
}

li.app-item a {
    margin: 0 auto;
}

.request_info {
    margin: 20px 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.indent-box {
    padding-left: 1.2em;
    display: block;
    line-height: 27px;
    font-size: 17px;
}

/* Step Icon */
.step {
    overflow: hidden;
    white-space: nowrap;
    font-size: 25px;
    line-height: 47px;
    font-weight: bold;
    color: #fff;
    text-indent: 50px;
    background: url(../../client/img/step.png) no-repeat;
    margin-bottom: 20px;
}

/* Request Button within App Item */
a.btn__request.web_app.update-link {
    position: relative;
}

a.btn__request.web_app.update-link p {
    position: absolute;
    top: 47px;
    font-size: 13px;
    font-weight: bold;
    width: 100%;
    color: #333;
    text-align: center;
}

.web_app>span::before {
    background: url(../../client/img/icon2.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.btn__request.webrequest_materials>span::before {
    background: url(../../client/img/icon1.png);
    background-repeat: no-repeat;
    background-size: contain;
}


/* ==========================================================================
   6. Modals & Video
   ========================================================================== */
/* Modal Common */
h2.modal_title {
    font-size: 22px;
    line-height: 26px;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 30px;
}

/* Video Modal (Vmodal) */
.Vmodal section {
    height: 100vh;
}

.Vmodal__area {
    height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.Vmodal__close.bottom {
    margin-top: 20px;
}

.video1 {
    font-size: 50px;
    line-height: 50px;
}
.video-pre {
    text-align: center;
    font-size: 17px;
    margin: 10px 0;
}
.video-title {
    position: relative;
    display: inline-block;
    padding: 0px 30px;
    margin: 10px auto;
    font-weight: bold;
    color: #333;
    line-height: 1;
    font-size: 20px;
}

.video-title::before,
.video-title::after {
    content: "";
    position: absolute;
    top: 43%;
    width: 31px;
    height: 3px;
    background-color: #ff9800;
    border-radius: 2px;
}

.video-title::before {
    left: 0;
    transform: translateY(-50%) rotate(45deg);
}

.video-title::after {
    right: 0;
    transform: translateY(-50%) rotate(-45deg);
}

.video-wrapper {
    padding: 0 20%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.pre-video-wrapper {
    width: 535px;
    margin: auto;
}

.pre-youtube-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.pre-youtube-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: sans-serif;
    font-size: 1.2em;
    text-align: center;
}

.pre-youtube-placeholder p {
    margin: 5px 0;
    color: #ffffff;
}

.youtube-img1 {
    background-image: url(../../client/img/video1.jpg);
}
.youtube-img2 {
    background-image: url(../../client/img/video2.png);
}
.youtube-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: all 0.3s;
}

.youtube-container::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 25px 0 25px 40px;
    border-color: transparent transparent transparent rgba(255, 255, 255, 0.9);

    transition: all 0.3s;
}

.youtube-container:hover {
    opacity: 0.8;
}

.youtube-container:hover::after {
    border-color: transparent transparent transparent #d5d5d5;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Basic Modal (Bmodal) - iDeCoのきほん */
.basic__ttl-01 {
    margin: 0 4px;
    font-size: 31px;
    line-height: 27px;
    color: #12988a;
}

/* Transvection Modal (Tmodal) - 移換 */
.transvection1 .top_bnr_white {
    width: auto;
    padding-left: 40px;
    text-indent: inherit;
}

.transvection1 p {
    font-size: 17px;
    line-height: 25px;
    margin: 20px 40px;
}

._hdg_3-01 {
    margin: 34px 0 17px 20px;
    border-bottom: 1px solid #00665a;
    padding: 0px 0 7px 0px;
    line-height: 1.3;
    color: #0c423c;
}

._hdg_3-01 span {
    position: relative;
    font-size: 22px;
    padding-left: 15px;
}

._hdg_3-01>span:before {
    height: 100%;
    background: #00665a;
}

._hdg_3-01>span:after {
    height: 15px;
    background: #14b87e;
}

._hdg_3-01>span:before,
._hdg_3-01>span:after {
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    width: 4px;
}

.transvection_img {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 30px;
}

.transvection_img img {
    width: 100%;
}

/* Notes & Annotations (HTML内にクラス使用箇所が見当たらないが、Modal内のコンテンツ等で使われている可能性があるため維持) */
.notes {
    border: 1px solid #4472c4;
    border-radius: 5px;
    margin: 20px 0;
}

img.notes-icon {
    width: 25px;
    margin: 0 10px;
}

.notes-title {
    height: 45px;
    background: #4472c4;
    color: #fff;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
    line-height: 30px;
}

.notes-summary {
    padding: 15px;
}

.notes-summary h1 {
    font-size: 20px;
    line-height: 30px;
}

.notes-summary p a {
    color: #004090;
    font-size: 1.17rem;
}

.notes-annotation {
    background: #c6dede;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
}

.notes-annotation p {
    color: red;
    font-weight: bold;
}

li.annotation-item {
    list-style-type: disc;
    line-height: 25px;
}

.notes-annotation ul {
    margin-left: 40px;
}

/* 資料請求 */
._number-01 {
    font-size: 250%;
    font-size: 2.5rem;
    color: #ed115e;
    font-weight: bold;
    line-height: 1.1;
    font-family: Arial, メイリオ, Meiryo, "ＭＳ Pゴシック", sans-serif;
}

._box_inquiry-01 {
    border-radius: 4px;
    border: 1px solid #eec713;
    margin-top: 10px;
}

._box_inquiry-01>.hdg {
    font-size: 125%;
    font-size: 1.5rem;
    border-radius: 3px 3px 0 0;
    padding: 12px 22px 10px;
    background: #fef7db;
}

._box_inquiry-01>.content {
    padding: 15px 22px 18px;
}

._box_inquiry-01>.content>*:last-child {
    margin-bottom: 0;
}

._box_inquiry-01>.content>.tel>.hdg {
    position: relative;
    font-weight: bold;
    line-height: 1.4;
}

._box_inquiry-01>.content>.tel>.content {
    display: table;
    width: 100%;
}

._box_inquiry-01>.content>.tel>.content>.col {
    white-space: nowrap;
    padding-right: 20px;
}

._box_inquiry-01>.content>.tel>.content>.col,
._box_inquiry-01>.content>.tel>.content>.col-2 {
    display: table-cell;
    vertical-align: middle;
}

._box_inquiry-01>.content>.tel>.content>.col-2 {
    box-sizing: border-box;
    padding-left: 15px;
    border-left: 1px dotted #dadada;
    width: 100%;
}

.merit__img {
    display: block;
    margin: 0px auto 40px auto;
}

/* ==========================================================================
   7. Media Queries
   ========================================================================== */

/* PC / Large Screens (min-width: 751px) */
@media screen and (min-width: 751px) {

    .main.top .main__cont {
        /* background-image: none; */
    }

    .news-faq>div {
        height: 407px;
    }

    .news-faq .news_block {
        height: 189px;
    }

    .tel__list ul {
        float: none;
    }

    .tel__list p {
        text-align: unset;
    }

    .footer__inquiry {
        height: 188px;
    }

    /* 資料請求 */
    ._number-01 {
        font-size: 250%;
        font-size: 3rem;
        color: #ed115e;
        font-weight: bold;
        line-height: 1.1;
        font-family: Arial, メイリオ, Meiryo, "ＭＳ Pゴシック", sans-serif;
    }

    ._box_inquiry-01 {
        border-radius: 4px;
        border: 1px solid #eec713;
        margin-top: 10px;
    }

    ._box_inquiry-01>.hdg {
        font-size: 125%;
        font-size: 1.5rem;
        border-radius: 3px 3px 0 0;
        padding: 12px 22px 10px;
        background: #fef7db;
    }

    ._box_inquiry-01>.content {
        padding: 15px 22px 18px;
    }

    ._box_inquiry-01>.content>*:last-child {
        margin-bottom: 0;
    }

    ._box_inquiry-01>.content>.tel>.hdg {
        position: relative;
        font-weight: bold;
        line-height: 1.4;
    }

    ._box_inquiry-01>.content>.tel>.content {
        display: table;
        width: 100%;
    }

    ._box_inquiry-01>.content>.tel>.content>.col {
        white-space: nowrap;
        padding-right: 20px;
    }

    ._box_inquiry-01>.content>.tel>.content>.col,
    ._box_inquiry-01>.content>.tel>.content>.col-2 {
        display: table-cell;
        vertical-align: middle;
    }

    ._box_inquiry-01>.content>.tel>.content>.col-2 {
        box-sizing: border-box;
        padding-left: 15px;
        border-left: 1px dotted #dadada;
        width: 100%;
    }

    ._box_inquiry-01 p br {
        display: none;
    }
}

/* Tablet / SP / Small Screens (max-width: 750px) */
@media screen and (max-width: 750px) {

    .main.top {
        /* background-image: none; */
    }

    .main__lead,
    .main__lead span {
        color: #000;
    }

    /* Header & Nav */
    nav.nav.sp-only {
        display: flex;
    }

    nav.nav.sp-only .nav__list {
        display: block;
        width: 50%;
    }

    .nav .nav__list .nav__list-item {
        border: 1px solid rgb(61, 61, 61);
    }

    .footer__inquiry a.btn__request.web_app.update-link {
        box-shadow: none;
    }


    /* News & FAQ */
    .news-faq {
        height: 300px;
    }

    .news__area,
    .news-faq ul,
    .news__area li,
    .news__area dl {
        width: 100%;
    }

    ul.faq_block {
        margin: auto;
        width: 90%;
    }

    .news-faq ol,
    .news-faq h2+p {
        width: 94%;
    }

    .news__area li {
        padding-bottom: 0;
        margin-bottom: 0;
        display: flex;
        align-items: center;
    }

    .faq__area {
        width: 100%;
    }

    .faq_li dt::after {
        display: none;
    }

    /* Main Sections */
    .contents section {
        width: 100%;
    }

    /* iDeCo Info */
    .ideco-info {
        flex-direction: column;
        padding: 10px;
    }

    .top_bnr_white {
        font-size: 22px;
    }

    .top_bnr_white_shadow,
    a.BmodalOn {
        width: 95%;
        font-size: 17px;
        margin: auto;
    }

    .top_bnr_white_shadow .title_3min {
        width: 260px;
    }

    span.basic__ttl-01 {
        font-size: 24px;
    }

    .user-guide img {
        width: 40%;
    }

    /* Features */
    ul.feature-list {
        padding: 10px;
    }

    table.feature-table {
        width: 100%;
    }

    td.feature-table-index span:nth-child(2) {
        font-size: 20px;
    }

    .feature-item-flow {
        flex-direction: column;
    }

    img.feature-item-arrow {
        display: none;
    }

    .feature-item-info {
        flex-direction: column;
        height: 180px;
        margin-top: 20px;
        width: auto;
    }

    .feature-item-info-text {
        font-size: 20px;
        word-break: keep-all;
    }

    .feature-item-info-banner {
        min-width: 80%;
    }

    .feature-item-info-banner a {
        font-size: 17px;
        padding: 0px 9px;
    }

    .feature-item-info-banner a span {
        font-weight: bold;
        font-size: 13px;
        margin: 1px;
    }

    .feature-item-qa {
        width: 100%;
        font-size: 17px;
        line-height: 22px;
    }

    .feature-item-qa span {
        font-size: 14px;
    }

    .feature-item-qa a {
        display: block;
    }

    /* App / Request */
    .app-item-flex {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .video-wrapper {
        padding: 0 5%;
    }

    .btn__request.web_app {
        margin-top: 0;
    }

    a.btn__request.param_target.web_app {
        box-shadow: none;
    }

    ul.app-list {
        padding: 10px;
    }

    .step {
        font-size: 23px;
        line-height: 42px;
    }

    a#request_materials {
        margin: 20px auto;
    }

    li.app-item p {
        font-size: 15px;
        line-height: 22px;
    }

    li.app-item p.txt-holiday {
        font-size: 14px;
    }

    li.app-item .btn__request p {
        top: 40px;
        left: 0;
        font-size: 11px;
        width: 100%;
    }

    a.btn__request.web_app.update-link p {
        top: 42px;
    }

    /* Notes */
    .notes-title,
    .notes-summary h1 {
        font-size: 16px;
    }

    .notes-summary p,
    .notes-annotation p {
        font-size: 13px;
        line-height: 20px;
    }

    .notes-annotation ul {
        margin-left: 19px;
    }

    /* Modals */
    ._hdg_3-01 span {
        font-size: 17px;
        display: block;
    }

    .transvection_img {
        padding: 20px;
    }

    /* Footer */
    .footer__copy-pagetop {
        padding: 0;
    }

    .footer__inquiry {
        /* position: static; */
    }

    .footer__pagetop a {
        bottom: 15px;
    }

    /* 資料請求 */
    ._box_inquiry-01 {
        margin-bottom: 24px;
    }

    ._box_inquiry-01>.content {
        padding: 15px 15px 18px;
    }

    ._box_inquiry-01>.content>.tel>.hdg {
        margin-bottom: 9px;
    }

    ._box_inquiry-01>.content>.tel>.content {
        display: block;
        width: auto;
    }

    ._box_inquiry-01>.content>.tel>.content>.col {
        white-space: normal;
        padding-bottom: 13px;
    }

    ._box_inquiry-01>.content>.tel>.content>.col-2 {
        border-left: none;
    }

    ._box_inquiry-01>.content>.tel>.content>.col,
    ._box_inquiry-01>.content>.tel>.content>.col-2 {
        display: block;
        width: auto;
        padding: 0;
    }

    ._box_inquiry-01 p br {
        display: block;
    }

    img.merit__img {
        margin: 40px auto;
        display: block;
        width: 90%;
    }

    .indent-box {
        font-size: 15px;
        line-height: 22px;
    }
}

/* Tablet / SP / Small Screens (max-width: 430px) */
@media screen and (max-width: 430px) {
    .feature-item-info-text {
        font-size: 17px;
        word-break: keep-all;
    }

    .feature-item-info-banner {
        min-width: 100%;
    }

    .feature-item-info-banner a {
        font-size: 13px;
        padding: 0px 9px;
    }

    .feature-item-info-banner a span {
        font-weight: bold;
        font-size: 12px;
        margin: 1px;
    }
}