/* ーーーーーーーーーーーー共通ーーーーーーーーーーーー */
main {
    line-height: 1.5;
    background-image: linear-gradient(to bottom, #ffff, #EEF0E5);
}

.sp-img {
    display: none;
}

#container1,
#container2,
#container3 {
    margin: 80px auto 0 auto;
    width: 80%;
    max-width: 1200px;
}

#container3 {
    margin-bottom: 80px;
}

.title-box img {
    width: 100%;
}

.title-number {
    font-weight: bold;
    font-size: 1.4em;
}

.title-connect {
    margin-left: 45px;
    font-weight: bold;
}

h3 {
    font-size: 1.6em;
    display: inline-block;
    display: block;
}

.bold {
    font-weight: bold;
}

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

    #container1,
    #container2,
    #container3 {
        /* margin: 20px min(8%, 70px) 80px min(8%, 70px); */
        margin: 20px auto 80px auto;
    }

    .pc-img {
        display: none;
    }

    .title-box {
        margin: 0 auto;
        text-align: center;
    }

    .title-connect {
        margin-left: 0;
    }

    h3 {
        background-size: 100% 4px;
    }
}

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

    #container1,
    #container2,
    #container3 {
        width: 90%;
    }

    .title-number {
        font-size: 1.2em;
    }

    h3 {
        font-size: 1.4em;
        word-break: keep-all;
        overflow-wrap: break-word;
    }
}

/* ーーーーーーーーーーーーサービス１ーーーーーーーーーーーー */
#container1 .img-box {
    text-align: center;
    margin: 30px 0;
    background-color: rgb(213, 231, 242);
    border-radius: 30px;
    padding: 20px;
}

#container1 .img-box .business-img {
    width: 100%;
}

.point-box .point {
    font-size: calc(2em + 0.5vw);
    font-weight: bold;
    opacity: calc(0.3);
    margin: 50px 0 0 0;
}

.flex-largebox {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
}

.flex-smallbox {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 45%;
    align-items: center;
    line-height: 1.4em;
    box-sizing: border-box;
}

.circle {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-image: linear-gradient(45deg, #F2F77A, #559EA8);
    margin: 10px;
}

.circle span {
    position: absolute;
    display: inline-block;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 120px;
    text-align: center;
    color: #ffff;
    text-shadow: 0 3px 6px rgb(0, 0, 0, 0.15);
    font-weight: bold;
}

@media screen and (max-width: 800px) {
    .point-box .point {
        font-size: calc(3em + 0.5vw);
        margin: 20px 0 0 0;
    }

    .point-box p,
    .point-box ul {
        width: 85%;
    }

    .flex-largebox {
        flex-direction: column;
    }

    .flex-smallbox {
        width: 100%;
    }

    .flex-smallbox2-left {
        margin-right: 0;
    }
}

@media screen and (max-width: 430px) {
    #container1 .img-box .business-img {
        display: none;
    }

    #container1 .img-box .sp-img {
        display: flex;
        flex-direction: column;

    }

    #container1 .img-box .sp-img .img-pf {
        position: static;
        width: 100%;
        margin: 0 auto;
    }

    #container1 .img-box .sp-img .flex-rowbox1 {
        display: flex;
        flex-direction: row;
        width: 100%;
    }

    #container1 .img-box .sp-img .flex-rowbox1 img {
        width: calc(33% - 10px);
        margin: 5px;
    }

    #container1 .img-box .sp-img .pf-text {
        margin: 5px;
        background-image: linear-gradient(to left, #559EA8, #F2F77A);
        background-repeat: no-repeat;
        background-size: 100% 4px;
        background-position: bottom;
        padding: 10px 0;
        text-align: left;
    }

    #container1 .img-box .sp-img .flex-rowbox2 {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: left;
        align-items: center;
        width: 100%;
        margin: 20px 0;
    }

    #container1 .img-box .sp-img .flex-rowbox2 img {
        width: 30%;
        margin: 5px 5px 10px 5px;
    }

    #container1 .img-box .sp-img .flex-rowbox2 .pf-text {
        width: 60%;
        margin: 5px 5px 10px 5px;
        background-size: 100% 4px;
    }

    .point-box {
        margin: 50px 0 60px 0;
    }

    .point-box p,
    .point-box ul {
        width: 100%;
    }

    .flex-smallbox {
        flex-direction: column;
        padding: 10px;
    }

    .circle {
        margin: 0;
    }
}

/* ーーーーーーーーーーーーーーーサービス２,3ーーーーーーーーーーーーーーー */
.flex-largebox2,
.flex-largebox3 {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.flex-smallbox2-left,
.flex-smallbox3-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 70%;
    margin-right: 50px;
}

.flex-smallerbox2 {
    display: flex;
    flex-direction: row;
    margin: 10px 0;
    align-items: flex-start;
}

.big {
    font-weight: bold;
    margin: 40px 0;
}

.img-number {
    margin-right: 20px;
}

.flex-smallbox2-right,
.flex-smallbox3-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 30%;
    align-items: center;
    box-sizing: border-box;
    padding-top: 20px;
}

.flex-smallbox2-right p,
.flex-smallbox3-right p {
    white-space: nowrap;
    font-size: 0.8em;
}

.flex-smallbox2-right .img-model,
.flex-smallbox3-right .img-model {
    width: 100%;
    padding: 10px;
}

@media screen and (max-width: 800px) {
    .big {
        margin: 20px 0;
    }

    .flex-largebox2,
    .flex-largebox3 {
        flex-direction: column;
    }

    .flex-smallbox2-left,
    .flex-smallbox3-left {
        width: 100%;
        margin: 0;
    }

    .flex-smallerbox2 {
        width: 100%;
        margin: 10px 0;
    }

    .flex-smallbox2-right,
    .flex-smallbox3-right {
        width: 80%;
        margin: 0 auto;
        padding: 20px;
    }

    .flex-smallbox2-right .img-model,
    .flex-smallbox3-right .img-model {
        width: min(80vw, 88%);
    }
}

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

    .flex-largebox2,
    .flex-largebox3 {
        flex-direction: column;
        justify-content: space-between;
    }

    .flex-smallbox2-left,
    .flex-smallbox3-left {
        width: 100%;
        margin: 0;
    }

    .flex-smallerbox2 {
        display: flex;
        width: 100%;
        margin: 20px 0;
    }

    .img-number {
        margin-right: 9px;
    }

    .flex-smallerbox2 p {
        word-break: normal;
        overflow-wrap: break-word;
    }

    .flex-smallerbox2 .img-number {
        width: 15%;
    }

    .flex-smallbox2-right,
    .flex-smallbox3-right {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        align-items: center;
        margin-top: 30px;
    }

    .flex-smallbox2-right .img-model,
    .flex-smallbox3-right .img-model {
        width: 100%;
    }
}


/* ーーーーーーーーーーーーーーーサービス3のみーーーーーーーーーーーーーーー */
.flex-smallerbox3 {
    background-color: #ffff;
    padding: 10px 20px;
    text-align: center;
    width: 70%;
}

.flex-smallerbox3 p::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url(../img/icon-point.svg);
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.ul-flex {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.ul-flex li {
    font-size: min(3vw, 1em);
    background-image: linear-gradient(to left, #559EA8, #F2F77A);
    background-repeat: no-repeat;
    background-size: 100% 4px;
    background-position: bottom;
    padding: 5px 10px;
    text-align: center;
    width: auto;
    margin: 0 auto 10px auto;
}

@media screen and (max-width: 800px) {
.flex-smallerbox3 {
    margin: 0 auto 20px auto;
}

    .ul-flex {
        margin-left: 0;
        justify-content: center;
        text-align: center;
        align-items: center;
    }

    .ul-flex li {
        margin: 0 10px;
        padding: 5px 1;
        font-size: min(2vw, 1em);
        word-wrap: break-word;
        word-break: keep-all;
        overflow-wrap: break-word;
    }
}

@media screen and (max-width: 430px) {
    .ul-flex {
        padding: 15px 20px;
    }

    .ul-flex li {
        font-size: 1em;
    }
}