@charset "utf-8";
@import url(common.css);

/*ページタイトルおよびセクションタイトルはcommonに定義*/

.page-title h1 {
    line-height: 160px;
}

.page-title {
    height: 160px;
}

@media screen and (max-width: 768px) {
    .page-title h1 {
        font-size: 1.5rem;
    }
}

.flow__chart {
    position: relative;
    max-width: 90vw;
    background-color: #D6E8C4;
    margin: 3rem auto;
    padding: 0.5rem;
    border-radius: 5vw;
}

.flow__chart div {
    max-width: 90%;
}

.flow__chart div p {
    max-width: 90%;
    margin: auto;
}

.flow__chart__number {
    position: absolute;
    width: 5rem;
    transform: translate(-2rem, -2rem);
    aspect-ratio: 1 / 1;
}

/*.flow__chart__number img {
    filter: drop-shadow(1rem 1rem 1rem #333);
}*/

.chart-title {
    font-size: 1.5rem;
    text-align: center;
    margin: 1rem auto 0.5rem auto;
    padding: 0.5rem;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.flow__chart__content {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.flow__chart__content__image {
    position: relative;
    width: 40%;
    margin: 0 auto;
    text-align: right;
}

.flow__chart__content__image img {
    width: 90%;
    margin: 1rem;
    text-align: right;
    object-fit: cover;
}

.towel {
    position: absolute;
    width: 180px !important;
    left: -2rem;
    bottom: 1rem;
    transform: rotate(-30deg);
}

.flow__chart__content__text {
    width: 55%;
    margin: 0 auto;
    padding: 1rem 0.5rem;
}

.flow__chart__content__text__sentence {
    margin: 1rem;
    font-size: 1rem;
}

.flow__chart__content__text__sentence p {
    margin: 0 auto;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: bold;
    font-style: normal;
}

.flow__chart__content__text__sentence span {
    font-size: 2rem;
}

.flow__chart__list__br {
    display: none;
}

.flow__chart__list__br::after {
    content: "・";
}

.flow__chart__content__text__button {
    display: flex;
    justify-content: space-evenly;
}

.flow__chart__content__text__button img {
    width: 90%;
}

.flow__chart__six {
    margin: auto;
}

.flow__chart__six .flow__chart__list {
    width: 90%;
    height: 8rem;
    border-radius: 1rem;
    background-color: #fff;
    border: 2px solid #000;
    margin: 1rem auto;
    padding: 2.5rem;
}

.flow__chart__six p {
    font-size: 1rem;
    font-weight: bold;
}

.flow__chart__six ul a {
    cursor: pointer;
}

.flow__chart__six ul li:nth-child(3) .flow__chart__list {
    padding: 1.5rem;
}

.flow__chart__list p {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.5rem;
}

.flow__chart__spacing {
    letter-spacing: 1rem;
}

.flow__chart__content__text__button__responsive {
    display: none;
}

.flow__chart__content__text__sentence img {
    text-align: center;
    margin: 1rem auto auto auto;
}

.pc_image {
    display: block;
}

.sp_image {
    display: none;
}

#flow .flow__chart:nth-of-type(5) .flow__chart__content__image .pc_image {
    transform: translate(40px);
}

.towel {
    position: absolute;
    left: -3.5rem;
    bottom: 1rem;
    width: 30px;
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 768px) {
    .flow__chart {
        max-width: 98vw;
        margin: 1rem auto;
    }

    .flow__chart div {
        max-width: 100%;
    }

    .flow__chart div p {
        max-width: 98%;
    }

    .flow__chart__number {
        position: absolute;
        width: 3rem;
        transform: translate(-0.5rem, -1rem);
    }

    .flow__chart__content__image {
        width: 28%;
    }

    .flow__chart__content__image img {
        width: 95%;
        margin: 1.5rem 0.5rem 1rem 0.5rem;
        text-align: right;
        object-fit: cover;
        aspect-ratio: 4 / 3;
    }

    .flow__chart__content__text {
        width: 60%;
        margin: 0 auto;
        padding: 0.5rem 0;
    }

    .flow__chart__content__text__sentence {
        margin: 0.5rem;
        font-weight: bold;
    }

    .flow__chart__content__text__sentence p {
        font-weight: bold;
    }

    .flow__chart__content__text__sentence span {
        font-size: 1.4rem;
    }

    .flow__chart__content__text__button {
        display: none;
    }

    .flow__chart__content__text__button__responsive {
        display: flex;
        justify-content: space-evenly;
        margin: 0.5rem auto 1rem auto;
        text-align: center;
    }

    .flow__chart__content__text__button__responsive img {
        width: 90%;
    }

    .flow__chart__spacing {
        letter-spacing: 0.5rem;
        font-size: 1.4rem;
    }

    .flow__chart__list__br {
        display: block;
    }

    .flow__chart__six ul li:first-of-type .flow__chart__list {
        font-size: 1.4rem;
    }

    .flow__chart__six ul li:nth-child(3) .flow__chart__list {
        padding: 1rem;
    }

    .flow__chart__six ul li:nth-child(3) .flow__chart__list .jp__bold {
        font-size: 1.2rem;
    }

    #flow .flow__chart:nth-of-type(5) .flow__chart__content__image {
        aspect-ratio: 16 / 25;
    }

    #flow .flow__chart:nth-of-type(5) .flow__chart__content__image img {
        aspect-ratio: 16 / 25;
    }

    .flow__chart__content__text__sentence img {
        max-height: 200px;
    }

    .pc_image {
        display: none;
    }

    .sp_image {
        display: block;
        margin-bottom: 2rem;
    }

    .towel {
        transform: rotate(0);
        left: 1rem;
        bottom: 0;
    }
}

