/* --------------------
 Flow
-------------------- */
.com-page-head {
    background-image: url(../../images/pages/puppy/flow/flow-page-head-bg.webp);
}

.flow {
    overflow: hidden;
}

.flow-container {
    margin: 0 auto;
    max-width: 870px;
    padding: 0 20px;
    width: 100%;
}

@media (min-width: 768px) {
    .flow-container {
        padding: 0 30px;
    }
}

.flow__menu {
    align-items: flex-start;
    counter-reset: counter;
    display: flex;
    flex-flow: row wrap;
    gap: 10px 24px;
    justify-content: center;
    margin: 0 auto 80px;
    max-width: 420px;
}

@media (min-width: 768px) {
    .flow__menu {
        gap: 10px 40px;
        margin: 0 0 120px;
        max-width: none;
    }
}

.flow__menu__item {
    counter-increment: counter;
    position: relative;
    width: calc(33.33333% - 16px);
}

@media (min-width: 768px) {
    .flow__menu__item {
        width: calc(20% - 32px);
    }
}

.flow__menu__item:after {
    background-color: #c4c5c5;
    bottom: 0;
    -webkit-clip-path: polygon(0 0, 100% 50%, 0 100%);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    content: "";
    display: block;
    height: 18px;
    margin: auto;
    position: absolute;
    right: -17px;
    top: 0;
    width: 10px;
}

@media (min-width: 768px) {
    .flow__menu__item:after {
        height: 18px;
        right: -25px;
        width: 10px;
    }
}

.flow__menu__item a {
    align-items: center;
    aspect-ratio: 1/1;
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-size: var(--fs16);
    font-weight: 500;
    justify-content: center;
    letter-spacing: 0.075em;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    width: 100%;
}

@media (min-width: 768px) {
    .flow__menu__item a {
        font-size: var(--fs18);
    }
}

@media (min-width: 992px) {
    .flow__menu__item a {
        font-size: var(--fs20);
    }
}

.flow__menu__item a:before {
    align-items: center;
    bottom: 0;
    content: counter(counter);
    display: flex;
    flex-flow: row nowrap;
    font-size: 5rem;
    font-weight: 300;
    justify-content: center;
    left: 0;
    line-height: 1;
    opacity: 0.3;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
}

@media (min-width: 768px) {
    .flow__menu__item a:before {
        font-size: 5.625rem;
    }
}

@media (min-width: 992px) {
    .flow__menu__item a:before {
        font-size: 7.125rem;
    }
}

.flow__menu__item a > span {
    display: block;
    position: relative;
    z-index: 1;
}

.flow__menu__item a .-ls-1 {
    letter-spacing: -0.5em;
}

.flow__menu__item a:focus {
    opacity: 0.65;
}

@media (hover: hover) and (pointer: fine) {
    .flow__menu__item a:hover {
        opacity: 0.65;
    }
}

.flow__menu__item:nth-child(odd) a {
    background-color: #ec6d81;
}

.flow__menu__item:nth-child(even) a {
    background-color: #41bbc6;
}

@media (max-width: 767px) {
    .flow__menu__item:nth-child(3):after {
        display: none;
    }
}

.flow__menu__item:last-child:after {
    display: none;
}

.flow__item-wrapper {
    position: relative;
}

.flow__item-wrapper:before {
    background-image: url(../../images/pages/puppy/flow/flow-line.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    bottom: 50px;
    content: "";
    display: block;
    height: auto;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    top: 12%;
    width: 240px;
    z-index: 0;
}

@media (min-width: 768px) {
    .flow__item-wrapper:before {
        bottom: 140px;
        left: auto;
        right: -40px;
        top: 60px;
        width: 730px;
    }
}

@media (min-width: 992px) {
    .flow__item-wrapper:before {
        background-size: 730px 1650px;
        bottom: auto;
        height: 1650px;
        left: auto;
        right: -80px;
        top: 140px;
        width: 730px;
    }
}

.flow__item {
    display: flex;
    flex-flow: column nowrap;
    gap: 20px 30px;
    margin: 0 0 80px;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .flow__item {
        align-items: flex-start;
        flex-direction: row;
        justify-content: space-between;
        margin: 0 0 80px;
    }
}

@media (min-width: 992px) {
    .flow__item {
        margin: 0 0 95px;
    }
}

.flow__item:last-child {
    margin-bottom: 0;
}

.flow__item__main {
    width: 100%;
}

@media (min-width: 768px) {
    .flow__item__main {
        width: 54.3209876543%;
    }
}

@media (min-width: 992px) {
    .flow__item__main {
        padding: 20px 0 0;
    }
}

.flow__item__main__number {
    font-size: var(--fs14);
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.2;
    margin: 0 0 6px;
}

@media (min-width: 768px) {
    .flow__item__main__number {
        font-size: var(--fs16);
    }
}

.flow__item__main__title {
    font-size: var(--fs22);
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.4;
    margin: 0 0 14px;
}

@media (min-width: 768px) {
    .flow__item__main__title {
        font-size: var(--fs26);
    }
}

.flow__item__main__content p {
    font-size: var(--fs14);
    letter-spacing: 0.11em;
    line-height: 2;
    margin: 0;
}

.flow__item__main__content p em {
    font-size: inherit;
    font-style: normal;
    font-weight: inherit;
}

.flow__item__main__content p a {
    color: inherit;
    font-size: inherit;
    text-decoration: underline;
    transition: opacity 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s, -webkit-text-decoration-color 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    transition: opacity 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s, text-decoration-color 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
    transition: opacity 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s, text-decoration-color 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s, -webkit-text-decoration-color 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

.flow__item__main__content p a:focus {
    opacity: 0.65;
}

@media (hover: hover) and (pointer: fine) {
    .flow__item__main__content p a:hover {
        opacity: 0.65;
    }
}

.flow__item__main__note p {
    color: #848484;
    font-size: var(--fs12);
    letter-spacing: 0.11em;
    line-height: 1.8;
    margin: 0;
}

.flow__item__fig {
    text-align: center;
    width: 100%;
}

@media (min-width: 768px) {
    .flow__item__fig {
        width: calc(45.67901% - 30px);
    }
}

.flow__item:nth-child(odd) .flow__item__main__title {
    color: #ec6d81;
}

.flow__item:nth-child(odd) .flow__item__main__content em {
    color: #ec6d81;
}

.flow__item:nth-child(odd) .flow__item__main__content a {
    color: #ec6d81;
    -webkit-text-decoration-color: #ec6d81;
    text-decoration-color: #ec6d81;
}

.flow__item:nth-child(odd) .flow__item__main__content a:focus {
    -webkit-text-decoration-color: rgba(236, 109, 129, 0);
    text-decoration-color: rgba(236, 109, 129, 0);
}

@media (hover: hover) and (pointer: fine) {
    .flow__item:nth-child(odd) .flow__item__main__content a:hover {
        -webkit-text-decoration-color: rgba(236, 109, 129, 0);
        text-decoration-color: rgba(236, 109, 129, 0);
    }
}

@media (min-width: 768px) {
    .flow__item:nth-child(even) {
        flex-direction: row-reverse;
    }
}

.flow__item:nth-child(even) .flow__item__main__title {
    color: #41bbc6;
}

.flow__item:nth-child(even) .flow__item__main__content em {
    color: #41bbc6;
}

.flow__item:nth-child(even) .flow__item__main__content a {
    color: #41bbc6;
    -webkit-text-decoration-color: #41bbc6;
    text-decoration-color: #41bbc6;
}

.flow__item:nth-child(even) .flow__item__main__content a:focus {
    -webkit-text-decoration-color: rgba(65, 187, 198, 0);
    text-decoration-color: rgba(65, 187, 198, 0);
}

@media (hover: hover) and (pointer: fine) {
    .flow__item:nth-child(even) .flow__item__main__content a:hover {
        -webkit-text-decoration-color: rgba(65, 187, 198, 0);
        text-decoration-color: rgba(65, 187, 198, 0);
    }
}