@charset "UTF-8";

/* main */
.top_content{
    position: relative;
    top: -5%;
    z-index: 10;
}
h2{
    position: relative;
    z-index: 10;
}
.grid{
    display: grid;
    place-items: center;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 170px 170px 170px;
    gap: 10px 20px;
    margin: auto;
}
.problems{
    width: 300px;
    height: 100px;
    background-color: #E9FAFF;
    outline: solid 1px #007DC7;
    outline-offset: -15px;
    margin: 0;
}
.problems:nth-child(3) > p, .problems:nth-child(7) > p{
    line-height: 50px;
}
.problems > p{
    text-align: center;
    padding: 25px 30px;
    margin: 0;
}
span{
    font-weight: bold;
}
.grid + p{
    text-align: center;
}
::marker{
    font-family: "Bungee Hairline", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(2rem ,calc(1.25vw + 2rem) ,4.8rem);
    margin: 10px;
}
.flow{
    list-style: decimal-leading-zero;
}
.flow > li{
    width: 300px;
    height: auto;
    position: relative;
    text-align: center;
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
}
.flow > li::after{
    content: '';
    border-top: solid 52px #E9FAFF;
    border-left: solid 30px transparent;
    border-right: solid 30px transparent;
    width: 0;
    height: 0;
    position: absolute;
    top: 65px;
    left: 120px;
}
.flow > li:nth-child(5)::after{
    border: 0;
}
.flow > li > span{
    font-weight: normal;
    vertical-align: 0.6rem;
}
.flow + p{
    text-align: center;
    margin-top: 100px;
    margin-bottom: 50px;
}
h3{
    padding-top: 100px;
}
.business_content:nth-of-type(2){
    padding-bottom: 100px;
    margin-top: 50px;
}
.business > li{
    list-style-type: disc;
}
.business > li::marker{
    font-size: 2rem;
}


/* image */
.back_image{
    width: auto;
    position: absolute;
    right: 0;
    object-fit: cover;
    z-index: -10;
}

/* back_image + grid 特別切り替え */
@media screen and (max-width:629px){
    /* image */
    .back_image{
        width: 50%;
        height: auto;
        /*height: 50%;*/
    }
    /* grid */
    .grid{
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    }
}
@media screen and (min-width:630px) and (max-width:959px){
    .back_image{
        height: 55%;
    }
    .grid{
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    }
}
@media screen and (min-width:960px){
    .back_image{
        height: auto;
    }
    .problems > p{
        font-size: 1.5rem;
        padding: 25px 0;
    }
    .problems:nth-child(1) > p{
        font-size: 1.4rem;
    }
}


/*PCデザイン*/
@media screen and (min-width:845px){
    /* main */
    .flex_item{
        width: 100%;
        height: auto;
        display: flex;
        justify-content: space-evenly;
    }
    h1{
        width: 45%;
        height: auto;
        margin-top: auto;
        margin-bottom: auto;
    }
    h1 + p{
        width: 40%;
        height: auto;
    }
    .business_content{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .business_content > .english_font_title{
        width: 30%;
        height: auto;
        text-align: right;
        margin-right: 50px;
    }
    .business{
        width: 50%;
        height: auto;
    }
}

/*スマホデザイン*/
@media screen and (max-width:844px){
    /* main */
    .flex_item{
        width: 80%;
        height: auto;
    }
    .flow > li{
        width: 200px;
        margin-top: 30px;
        margin-left: auto;
        margin-right: auto;
    }
    .flow > li::after{
        content: '';
        border-top: solid 26px #E9FAFF;
        border-left: solid 15px transparent;
        border-right: solid 15px transparent;
        top: 40px;
        left: 85px;
    }
    .flow + p{
        margin-top: 50px;
    }
    .business_content{
        width: 80%;
        height: auto;
        margin: auto;
    }
    .business_content > .english_font_title{
        text-align: center;
    }
    .business > li::marker{
        font-size: 1.5rem;
    }
}
