@charset "utf-8";

/* ========= 共通  ========= */

/* ◇ .btn_list_a
-------------------------------- */
ul.btn_list_a{
	&._block {
		li{
			a{
				width:fit-content;
			}
		}
	}
}

/* ◇ .hd_b
-------------------------------- */
h2.hd_b{
	&._dichromatic {
			text-align: left !important;
			padding-bottom: 0;
			margin-left: 10px;

		&::before {
				content: "";
				width: 4px;
				height: calc(100% - .2em);
				position: absolute;
				top: .1em;
				left: 0;
				background: linear-gradient(to bottom, #FAD433 0%, #FAD433 50%, #176CFF 50%, #176CFF 100%);
		}
	}
}

/* ◇ .hd_a
-------------------------------- */
.hd_a {
    &._flex {
        display: flex;
        align-items: flex-start;
        gap: 8px;

        @media (min-width: 1024px) {
            align-items: center;
        }

        @media (max-width: 1023px) {
            > img{
                width: auto;
                height: 1.5em;
            }
        }
    }
}

/* ◇ .num_list
-------------------------------- */
.num_list {
    list-style: none;
    padding: 0;

    > li{
        counter-increment: numlist;
        display: flex;
        align-items: flex-start;
        gap: 8px;

        > img{
            flex-shrink: 0;
        }

        &::before {
            content: counter(numlist);
            background: var(--c-main);
            text-align: center;
            color: #fff;
            line-height: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 1.4em;
            height: 1.4em;
            border-radius: 50%;
            font-size: 1.2rem;
            margin-top: 0.45em;
            flex-shrink: 0;
        }
    }
}
/* ◇ .stepFlow
-------------------------------- */
main .stepFlow {
    align-items: stretch;
    flex-wrap: nowrap;

	@media (min-width: 1024px) {
		gap: 64px;
	}


    > .grow{
        position: relative;
        padding-bottom: 6.25em;

        @media (max-width: 1023px) {
            padding-top: 1.5em;
            padding-left: 3em;

            &::before {
                content: "";
                display: block;
                width: 2px;
                height: calc(100% - 13px);
                position: absolute;
                top: 0;
                left: 1em;
                margin: auto;
                background-image: linear-gradient(to bottom, var(--bg-main-b) 2px, transparent 2px);
                background-size: 2px 6px;
                background-repeat: repeat-y;
                background-position: left bottom;
            }
    
            &::after {
                content: "";
                position: absolute;
                width: 20px;
                height: 20px;
                mask: var(--ui-link-arrow) center / 150% no-repeat;
                transform: rotate(90deg);
                background-color: var(--c-main);
                left: 0.45em;
                bottom: 5px;
                margin: auto;
            }

        }

    }
    &:last-child{
        > .grow{
            padding-bottom: 0;
        }
    }

    .step{
        position: relative;
        flex-shrink: 0;

        @media (min-width: 1024px) {

            &::before {
                content: "";
                display: block;
                width: 2px;
                height: calc(100% - 60px);
                position: absolute;
                top: 47px;
                left: 0;
                right: 0;
                margin: auto;
                background-image: linear-gradient(to bottom, var(--bg-main-b) 2px, transparent 2px);
                background-size: 2px 6px;
                background-repeat: repeat-y;
                background-position: left bottom;
            }

            &::after {
                content: "";
                position: absolute;
                width: 20px;
                height: 20px;
                mask: var(--ui-link-arrow) center / 150% no-repeat;
                transform: rotate(90deg);
                background-color: var(--c-main);
                left: 0;
                right: 0;
                bottom: 5px;
                margin: auto;
            }

        }
    }

    .col{

        > section{
            & + section{
                margin-top: 3.75em;
            }

            > section{
                & + section{
                    margin-top: 2em;
                }
            }
        }

        h2.hd_b{
            margin-bottom: 1.5em;
        }
        .hd_a._xl{
            margin-bottom: 0.83em;
        }
        ul.ul_att{
            margin-top: 0.75em;
        }

        ul.btn_list_a{
            margin-top: 1.25em;
        }
    }

    .badge {
        i {
            font-size: 1.4rem;
            color: var(--c-main);
            font-weight: 700;
            line-height: 1;
            display: inline-block;
            border-radius: 8em;
            background-color: var(--bg-main-a);
            padding: 1.1em .75em;
            min-width: 8.5em;
            text-align: center;
        }
    }
}

/* ◇ .flexbox
-------------------------------- */
.flex_box {
    display:flex;
    flex-wrap: wrap;
    align-items: center;
}
.flex_box.nowrap {
    flex-wrap: nowrap;
}
.flex_box.between {
    justify-content: space-between;
}
.flex_box.around {
    justify-content: space-around;
}
.flex_box.jc_start {
    justify-content: flex-start;
}
.flex_box.align_start {
    align-items: flex-start;
}
.flex_box.stretch {
    align-items: stretch;
}
.flex_box.column {
    flex-direction: column;
}
.flex_box.col2 > * {
    width: 48%;
}
.flex_box.col3 > * {
    width: 32%;
}

.flex_box.col2.gap20 {
    gap: 20px;
}
.flex_box.col2.gap20 > * {
    width: calc((100% - 20px) / 2);
}


.flex_box .grow {
    flex-grow: 1;
}

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

    .flex_box.sp_no_flex {
        display:block;
    }

    .flex_box.col2.sp_no_flex > * {
        width: auto;
    }
    .flex_box.col3.sp_no_flex > * {
        width: auto;
    }
    .flex_box.sp_column {
        flex-direction: column;
    }
    .flex_box.sp_reverse {
        flex-direction: column-reverse;
    }
    .flex_box.sp_column > *,
    .flex_box.sp_reverse > * {
        width: 100%!important;
    }
    .sp_flex {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .sp_flex > * {
        width: 100%!important;
    }
}