html {
    font-size: 62.5%;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-size: 1.6rem;
    letter-spacing: 0.048em;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
p,
ul,
dd {
    margin: 0;
}

h1, h2, h3 {
    line-height: 1.4;
}

h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: initial;
}

h2 {
    font-size: 3.2rem;
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    position: relative;
}

h2::before,
h2::after {
    bottom: 0;
    border-radius: 2px;
    content: "";
    display: inline-block;
    height: 4px;
    left: 0;
    position: absolute;
}

h2::before {
    background-color: #d6ebff;
    width: 100%;
}

h2::after {
    background-color: #003f9e;
    width: 80px;
}

h3 {
    background-color: #f0f9ff;
    font-size: 2rem;
    padding-block: 8px;
    padding-left: 16px;
    position: relative;
}

h3::before {
    background: linear-gradient(349deg,#0073cd 0,#003f9e 100%);
    border-radius: 0 4px 4px 0;
    content: "";
    display: inline-block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 8px;
}

section {
    margin-block: 64px;
}

ul {
    padding-left: 2em;
}

li {
    margin-block: 0.5em;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

dt {
    font-weight: 700;
}

.disp-inbl {
    display: inline-block;
}

.pl-1em {
    padding-left: 1em;
}


body > *:not(.title) {
    margin-inline: auto;
    width: min(90%, 1080px);
}

.bold {
    font-weight: 700;
}

.title {
    background: linear-gradient(90deg, #0066cc, #003399);
    color: #fff;
    padding-block: 64px;
}

h1 {
    margin-inline: auto;
    width: min(90%, 1080px);
}



.flow {
    list-style: none;
    padding-left: 0;
}

.flow-item {
    background-color: #fffeeb;
    box-shadow: 0px 8px 16px rgb(1 105 147 / .1);
    /* display: grid;
    gap: 0 1em;
    grid-template-columns: 59.84px 1fr; */
    margin-block: 0;
    padding: 1em 3em;
    position: relative;
}

.flow-item:not(:last-child){
    margin-bottom: 96px;
}

.flow-item:last-child{
    margin-bottom: 32px;
}

.flow-item:not(:last-child)::after {
    background: linear-gradient(#40b1e8, #1ebdcd);
    bottom: -72px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: "";
    display: inline-block;
    height: 32px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 160px;
}

.flow-index,
.step-block {
    font-weight: 700;
}

.flow-index {
    align-self: center;
    font-size: 2rem;
    margin-block: calc((1.8 * 1.2 * 2.4rem + 8px - 1lh) / 2);
}

.step-block {
    background:linear-gradient(320deg, #40b1e8, #1ebdcd);
    border-radius: 50%;
    color: #fff;
    font-size: 2.4rem;
    display: inline-block;
    display: none;
    height: 1.5lh;
    line-height: 1.2;
    padding: calc(0.15lh + 4px);
    text-align: center;
    width: 1.5lh;
}

.step-block > span {
    display: block;
    font-size: 0.5em;
}

.flow-sup {
    grid-column: 2/3;
    margin-bottom: calc((1.8 * 1.2 * 2.4rem + 8px - 1lh) / 2);
}

.mark-txt {
    margin-top: 0.4em;
    padding-left: 1em;
    text-indent: -1em;
}



.card-select {
    margin-block: 32px;
}

.card-select > div {
    display: grid;
    gap: 24px;
    grid-template-columns: 2em 1fr 2fr;
    grid-template-rows: auto 1fr;
    margin-block: 48px;
}

.card-select input,
.card-select img {
    align-self: center;
    grid-row: 1/3;
}

.card-select > div:not(:first-of-type){
    border-top: solid 4px #e6e6e6;
    padding-top: 48px;
}

.card-select input {
    cursor: pointer;
    height: 2em;
    width: 2em;
}

.card-select img {
    justify-self: center;
    max-width: 270px;
    width: 100%;
}

.description > dl {
    margin-block: 0 24px;
}

.button {
    background: linear-gradient(279deg,#0073cd 0,#003f9e 100%);
    border-radius: 8px;
    color: #fff;
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 56px auto;
    padding: 16px;
    text-align: center;
    width: min(400px, 90%);
}

.button:not(.disabled) {
    cursor: pointer;
}

.button.disabled {
    filter: grayscale(1);
    opacity: 0.5;
    pointer-events: none;
}

@media(max-width: 1127px) {
    .w-1128 {
        display: none;
    }
}

@media(min-width: 1128px){
    .w-1127 {
        display: none;
    }
}

@media(max-width: 767px){
    h1 {
        font-size: min(3.2rem, 7vw);
    }

    h2 {
        font-size: 2.4rem;
    }

    .title {
        padding-block: 32px;
    }

    section {
        margin-block: 48px;
    }

    .flow-item {
        gap: 1em;
        padding: 1em;
    }

    .flow-sup {
        grid-column: 1/3;
    }

    .card-select > div {
        column-gap: 8px;
        grid-template-columns: 2em 1fr;
        margin-block: 32px;
    }

    .card-select > div:not(:first-of-type){
        padding-top: 32px;
    }

    .card-select input,
    .card-select img {
        grid-row: unset;
    }

    .card-select img,
    .card-select .description {
        grid-column: 1/3;
    }
}