@charset "utf-8";

#naigai-onsono{
    font-family: var(--font-jp-not-sans);
    color: #0a2846;
}

#naigai-onsono a{
    color: #0a2846;
}

#onsono-category-visual{
    position: relative;
}

#onsono-category-visual footer{
    position: relative;
}

/* 追従ボタン */

/* 通常は固定 */
.onsono-follow a {
  position: fixed; 
  right: 7%;           
  top: 21.7%;           
  width: 90px;         
  height: 90px;  
  background-color: #1eb8c9;
  border-radius: 50px;  
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 999;
}

.onsono-follow a::before {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50%;
  left: 50%;
  background: url(../onsono/images/following-contact.png) center center / contain no-repeat;
  transform: translate(-50%, -50%); 
}

.onsono-follow a:hover {
  opacity: 0.5;
}

/* 止めるときのクラス（JSで付与） */
.onsono-follow a.absolute {
  position: absolute;
  top: auto; /* JSで場所を制御したいなら auto */
  bottom: 20px; /* セクション直前に止まる */
  right: 7%;
}



@media screen and ( max-width:1200px) {
    .onsono-follow a{
        right: 5%;           
    }    
    
}

@media screen and ( max-width:960px) {
    .onsono-follow a{
        right: 3%;           
    }    
    
}

@media screen and ( max-width:785px) {
    .onsono-follow a{
        right: 1%;           
    }    
    
}

@media screen and ( max-width:480px) {
    .onsono-follow a{
        right: 1%;           
        top: 15%;           
        width: 60px;         
        height: 60px;  
    }

    .onsono-follow a::before{
        width: 35px;
        height: 35px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); 
    }
}


/* トップ */
#onsono-category-visual .wrapper{
    background: var(--color-white);
    border-radius: 50px;
    position: initial;
}

#onsono-category-visual .visual-wrap{
    width: 89%;
    margin: 0 auto 0;
    padding: 4.6% 0 4.2%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#onsono-category-visual .visual-wrap .visual-wrap-left{
    width: 50%;
    margin: 3.4% 0 0;
}

#onsono-category-visual .visual-wrap .visual-wrap-right{
    width: 43.6%;
    min-width: 500px;
}

#onsono-category-visual .visual-wrap h1{
    font-size: 3.1em;
    line-height: 1.5em;
    margin-bottom: 10.6%;
}

#onsono-category-visual .visual-wrap .text{
    font-size: 1.2em;
    line-height: 1.86em;
    letter-spacing: 0.1em;
    margin-bottom: 8.5%;
}

#onsono-category-visual .top-button a{
    position: relative;
    display: block;
    width: 50.3%;
    min-width: 345px;
    background-color: #289ee3;
    color: var(--color-white);
    text-align: center;
    padding: 10px 27px 13px 0;
    font-size: 1.3em;
}

#onsono-category-visual .top-button a::before{
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    position: absolute;
    top: 26%;
    right: 20.9%;
    background-repeat: no-repeat;
    background: url(../onsono/images/arrow.svg) center center / contain;
}


#onsono-category-visual .top-button a:hover{
    transform: scale(0.92,0.92);
}


/*----------レスポンシブ----------*/

@media screen and ( max-width:1530px) {    

    #onsono-category-visual .wrapper{
        border-radius: 50px;
        position: initial;
    }

    #onsono-category-visual .visual-wrap{
        width: 89%;
        margin: 0 auto 0;
        padding: 4.6% 0 4.2%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #onsono-category-visual .visual-wrap .visual-wrap-left{
        width: 50%;
        margin: 3.4% 0 0;
    }

    #onsono-category-visual .visual-wrap .visual-wrap-right{
        width: 45%;
        min-width: auto;
    }

    #onsono-category-visual .visual-wrap h1{
        font-size: 2.6em;
        line-height: 1.5em;
        margin-bottom: 10.6%;
    }

    #onsono-category-visual .visual-wrap .text{
        font-size: 1.15em;
        line-height: 1.86em;
        letter-spacing: 0.1em;
        margin-bottom: 8.5%;
    }

    #onsono-category-visual .top-button a{
        position: relative;
        display: block;
        width: 60%;
        text-align: center;
        padding: 10px 27px 13px 0;
        font-size: 1.3em;
    }

    #onsono-category-visual .top-button a::before{
        content: "";
        display: block;
        width: 32px;
        height: 32px;
        position: absolute;
        top: 26%;
        right: 20.9%;
        background-repeat: no-repeat;
    }        
}

@media screen and ( max-width:1380px) {    

    #onsono-category-visual .visual-wrap{
        width: 89%;
        margin: 0 auto 0;
        padding: 4.6% 0 4.2%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #onsono-category-visual .visual-wrap .visual-wrap-left{
        width: 47%;
        margin: 3.4% 0 0;
    }

    #onsono-category-visual .visual-wrap .visual-wrap-right{
        width: 50%;
        min-width: auto;
    }

    #onsono-category-visual .visual-wrap h1{
        font-size: 2.4em;
        line-height: 1.5em;
        margin-bottom: 10.6%;
    }

    #onsono-category-visual .visual-wrap h1 .sp{
        display: block;
    }

    #onsono-category-visual .visual-wrap .text{
        font-size: 1.12em;
        line-height: 1.86em;
        letter-spacing: 0.1em;
        margin-bottom: 8.5%;
    }

    #onsono-category-visual .top-button a{
        position: relative;
        display: block;
        width: 60%;
        text-align: center;
        padding: 10px 27px 13px 0;
        font-size: 1.3em;
    }

    #onsono-category-visual .top-button a::before{
        content: "";
        display: block;
        width: 32px;
        height: 32px;
        position: absolute;
        top: 26%;
        right: 20.9%;
        background-repeat: no-repeat;
    }        
}

@media screen and ( max-width:1200px) {
    #onsono-category-visual .visual-wrap h1 .sp{
        display: none;
    }

    #onsono-category-visual .wrapper{
        position: relative;
    }

    #onsono-category-visual .visual-wrap{
        width: 90%;
        margin: 0 auto 0;
        padding: 4.6% 0 15.2%;
        display: flex;
        flex-direction: column;
    }
    #onsono-category-visual .visual-wrap .visual-wrap-left{
        width: 90%;
        margin: 3.4% auto 0;
        display: flex;
        flex-direction: column;
    }

    #onsono-category-visual .visual-wrap .visual-wrap-right{
        width: 55%;
        margin: 0 auto 4%;
    }

    #onsono-category-visual .visual-wrap h1{
        font-size: 3.1em;
        line-height: 1.5em;
        margin-bottom: 6%;
    }

    #onsono-category-visual .visual-wrap .text{
        font-size: 1.2em;
        line-height: 1.86em;
        letter-spacing: 0.1em;
        margin-bottom: 5%;
    }

    #onsono-category-visual .top-button{
        position: absolute;
        bottom: 5%;
        left: 0;
        right: 0;
    }

    #onsono-category-visual .top-button a{
        position: relative;
        display: block;
        width: 50%;
        background-color: #289ee3;
        color: var(--color-white);
        text-align: center;
        padding: 10px 27px 13px 0;
        font-size: 1.3em;
        margin: 0 auto;
    }
}

@media screen and ( max-width:960px) {
    #onsono-category-visual .wrapper{
        position: relative;
    }

    #onsono-category-visual .visual-wrap{
        width: 90%;
        margin: 0 auto 0;
        padding: 4.6% 0 18.2%;
        display: flex;
        flex-direction: column;
    }
    #onsono-category-visual .visual-wrap .visual-wrap-left{
        width: 100%;
        margin: 3.4% auto 0;
        display: flex;
        flex-direction: column;
    }

    #onsono-category-visual .visual-wrap .visual-wrap-right{
        width: 70%;
        margin: 0 auto 5%;
    }

    #onsono-category-visual .visual-wrap h1{
        font-size: 3.1em;
        line-height: 1.5em;
        margin-bottom: 9.2%;
    }

    #onsono-category-visual .visual-wrap .text{
        font-size: 1.2em;
        line-height: 1.86em;
        letter-spacing: 0.1em;
        margin-bottom: 5%;
    }

    #onsono-category-visual .top-button{
        position: absolute;
        bottom: 5%;
        left: 0;
        right: 0;
    }

    #onsono-category-visual .top-button a{
        position: relative;
        display: block;
        width: 50%;
        background-color: #289ee3;
        color: var(--color-white);
        text-align: center;
        padding: 10px 27px 13px 0;
        font-size: 1.3em;
        margin: 0 auto;
    }
}


@media screen and ( max-width:785px) {
    #onsono-category-visual .visual-wrap .visual-wrap-right{
        margin: 0 auto 7%;
    }

    #onsono-category-visual .visual-wrap h1{
        font-size: 2.7em;
        line-height: 1.5em;
        margin-bottom: 9.2%;
    }

    #onsono-category-visual .visual-wrap .text{
        font-size: 1.1em;
        line-height: 1.86em;
        letter-spacing: 0.1em;
        margin-bottom: 5%;
    }

}

@media screen and ( max-width:480px) {
    #onsono-category-visual .visual-wrap h1 .sp{
        display: block;
    }

    #onsono-category-visual .visual-wrap{
        width: 90%;
        margin: 0 auto 0;
        padding: 8% 0 18.2%;
    }
    #onsono-category-visual .visual-wrap .visual-wrap-right{
        width: 88%;
        margin: 0 auto 21%;
    }

    #onsono-category-visual .visual-wrap h1{
        font-size: 1.65em;
        line-height: 1.4em;
        margin-bottom: 9.2%;
    }

    #onsono-category-visual .visual-wrap .text{
        font-size: 1em;
        line-height: 1.5em;
        letter-spacing: 0.1em;
        margin-bottom: 10%;
    }

    #onsono-category-visual .top-button{
        position: absolute;
        bottom: 5%;
        left: 0;
        right: 0;
    }

    #onsono-category-visual .top-button a{
        width: 75%;
        min-width: auto;
        padding: 10px 27px 13px 0;
        font-size: 1em;
        margin: 0 auto;
    }

    #onsono-category-visual .top-button a::before{
        width: 32px;
        height: 32px;
        top: 20%;
        right: 18%;
    }

}



/* BEFORE・AFTER */

#onsono-about-problems{
    position: relative;
    padding: 7.3% 0 4.1%;
}

.onsono-before-after .wrapper{
    width: 68.3%;
    margin: 0 auto;
}

#onsono-about-problems .section-title{
    display: flex;
    align-items: center;
    gap: 64px;
    width: 86.8%;
    margin: 0 auto 5.6%;
}

#onsono-about-problems .section-title h2{
    text-align: center;
    font-size: 2.5em;
    line-height: 1.5em;
    letter-spacing: 0.1em;
}

#onsono-about-problems .section-title .title-image{
    display: block;
    width: 170px;
    height: auto;
}

.onsono-before-after  .problems{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 71px 67px;
}

.onsono-before-after .problems-comment {
  width: 29.8%;
  flex: 1 1 300px;
  max-width: 380px;
}

.onsono-before-after .problems-comment .balloon{
    position: relative;
    margin-bottom: 7.1%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.onsono-before-after .problems-comment .balloon img{
    width: 100%;
    height: auto;
}

.onsono-before-after .problems-comment .problems-reason{
  position: absolute;
  text-align: center;
  font-size: 1.4em;
  line-height: 1.7em;
  font-weight: bold;
  width: 90%; 
  top: 44%; 
  left: 50%;
  transform: translate(-50%, -50%); 
  margin:0;
  padding:0;
}

.onsono-before-after .problems-comment p{
    width: 93%;
    margin: 0 auto;
    letter-spacing: 0.16em;
    line-height: 1.7em;
}

#onsono-about-problems .problems-image{
    position: absolute;
    width: 12.5%;
    bottom: 7.3%;
    left: 10%;
    min-width: 200px;
}

/* AFTER */
#onsono-solve-problems{
    position: relative;
    padding: 4.8% 0 3.5%;
    margin: 0 auto 1.8%;
    background-color: #fcf564;
}

#onsono-solve-problems::before {
  content: "";
  position: absolute;
  top: 0;          /* 境目の位置 */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-right: 40px solid transparent;
  border-left: 40px solid transparent;
  border-top: 40px solid #f8fafa;
  border-bottom: 0;
}

#onsono-solve-problems .section-title{
    display: flex;
    align-items: center;
    gap: 84px;
    width: 86.5%;
    margin: 0 auto 4.7%;
}

#onsono-solve-problems .section-title h2{
    display: block;
    width: 53.3%;
    min-width: 570px;
    height: auto;
    margin: 1.9% 0 0;
}

#onsono-solve-problems .section-title .title-image{
    display: block;
    width: 170px;
    height: auto;
}

#onsono-solve-problems .problems-image{
    position: absolute;
    width: 8.8%;
    bottom: 2.5%;
    right: 14.6%;
}

/*----------レスポンシブ----------*/

@media screen and ( max-width:1530px) {
    #onsono-about-problems{
        position: relative;
        padding: 7.3% 0 2.9%;
    }

    .onsono-before-after .wrapper{
        width: 80%;
        margin: 0 auto;
    }

    #onsono-about-problems .section-title{
        display: flex;
        align-items: center;
        gap: 50px;
        width: 86.8%;
        margin: 0 auto 5.6%;
    }

    #onsono-about-problems .section-title h2{
        font-size: 2.5em;
        line-height: 1.5em;
        letter-spacing: 0.1em;
    }

    #onsono-about-problems .section-title .title-image{
        display: block;
        width: fit-content;
        min-width: 170px;
        height: auto;
    }

    .onsono-before-after  .problems{
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 71px 67px;
    }

    .onsono-before-after .problems-comment {
        width: 29.8%;
        flex: 1 1 300px;
        max-width: 380px;
    }

    .onsono-before-after .problems-comment .balloon{
        position: relative;
        margin-bottom: 7.1%;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .onsono-before-after .problems-comment .balloon img{
        width: 100%;
        height: auto;
    }

    .onsono-before-after .problems-comment .problems-reason{
        position: absolute;
        text-align: center;
        font-size: 1.4em;
        line-height: 1.7em;
        font-weight: bold;
        width: 90%; 
        top: 44%; 
        left: 50%;
        transform: translate(-50%, -50%); 
        margin:0;
        padding:0;
    }

    .onsono-before-after .problems-comment p{
        width: 93%;
        margin: 0 auto;
        letter-spacing: 0.16em;
        line-height: 1.7em;
    }

    #onsono-about-problems .problems-image{
        position: absolute;
        width: 13.3%;
        bottom: 6.8%;
        left: 7.1%;
        min-width: auto;
    }

    /* AFTER */
    #onsono-solve-problems{
        position: relative;
        padding: 4.8% 0 3.5%;
        margin: 0 auto 1.8%;
    }

    #onsono-solve-problems::before {
        content: "";
        position: absolute;
        top: 0;          /* 境目の位置 */
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-right: 40px solid transparent;
        border-left: 40px solid transparent;
        border-top: 40px solid #f8fafa;
        border-bottom: 0;
    }

    #onsono-solve-problems .section-title{
        display: flex;
        align-items: center;
        gap: 75px;
        width: 86.5%;
        margin: 0 auto 4.7%;
    }

    #onsono-solve-problems .section-title h2{
        display: block;
        width: 56%;
        height: auto;
        margin: 1.9% 0 0;
        min-width: 500px;
    }

    #onsono-solve-problems .section-title .title-image{
        display: block;
        width: fit-content;
        min-width: 170px;
        height: auto;
    }

    #onsono-solve-problems .problems-image{
        position: absolute;
        width: 8.8%;
        bottom: 2.5%;
        right: 9.6%;
    }
    
    
}

@media screen and ( max-width:1380px) {
    .onsono-before-after .wrapper{
        width: 85%;
        margin: 0 auto;
    }

    #onsono-about-problems .section-title h2{
        font-size: 2.3em;
        line-height: 1.5em;
        letter-spacing: 0.1em;
    }

    .onsono-before-after  .problems{
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 50px 75px
    }

    .onsono-before-after .problems-comment {
        width: 29.8%;
        flex: 1 1 100%;
        max-width: 400px;
    }

      .onsono-before-after .problems-comment .problems-reason{
        position: absolute;
        text-align: center;
        font-size: 1.5em;
        line-height: 1.7em;
        font-weight: bold;
        width: 90%; 
        top: 44%; 
        left: 50%;
        transform: translate(-50%, -50%); 
        margin:0;
        padding:0;
    }

    #onsono-about-problems .problems-image{
        position: absolute;
        width: 15%;
        bottom: 6.2%;
        left: 11.5%;
        min-width: auto;
    }

    #onsono-solve-problems .section-title h2{
        display: block;
        width: 54%;
        height: auto;
        margin: 1.9% 0 0;
        min-width: 500px;
    }

       #onsono-solve-problems .problems-image{
        position: absolute;
        width: 10.5%;
        bottom: 3.5%;
        right: 13.6%;
    }
}

@media screen and ( max-width:1100px) {
    .onsono-before-after .problems-comment {
        width: 29.8%;
        flex: 1 1 100%;
        max-width: 350px;
    }

    #onsono-about-problems .section-title{
        gap: 50px;
        width: 94%;
        margin: 0 auto 5.6%;
    }

    #onsono-about-problems .section-title h2{
        font-size: 2.2em;
        line-height: 1.5em;
        letter-spacing: 0.1em;
    }

    #onsono-about-problems .section-title .title-image{
        display: block;
        width: fit-content;
        min-width: 150px;
        height: auto;
    }

    /* AFTER */
    #onsono-solve-problems{
        position: relative;
        padding: 7.8% 0 3.5%;
        margin: 0 auto 1.8%;
    }

    #onsono-solve-problems .section-title{
        gap: 75px;
        width: 94%;
        margin: 0 auto 4.7%;
    }

    #onsono-solve-problems .section-title h2{
        display: block;
        width: 54%;
        height: auto;
        margin: 1.9% 0 0;
        min-width: 510px;
    }

     #onsono-solve-problems .section-title .title-image{
        display: block;
        width: fit-content;
        min-width: 150px;
        height: auto;
    }

}

@media screen and ( max-width:960px) {
    #onsono-about-problems{
        position: relative;
        padding:  16% 0 9%;
    }

    .onsono-before-after .wrapper{
        width: 88%;
        margin: 0 auto;
    }

    #onsono-about-problems .section-title{
        position: relative;
        display: block;
        align-items: center;
        gap: 0;
        width: 85%;
        margin: 0 auto 5.6%;
    }

    #onsono-about-problems .section-title h2{
        text-align: center;
        font-size: 2.2em;
        line-height: 1.5em;
        letter-spacing: 0.1em;
    }

    #onsono-about-problems .section-title .title-image{
        position: absolute;
        top: -55%;
        left: -3%;
        display: block;
        width: auto;
        max-width: 145px;
        min-width: 20%;
        height: auto;
    }

    .onsono-before-after .problems{
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 71px 35px;
    }

    .onsono-before-after .problems-comment {
        width: 29.8%;
        flex: 1 1 315px;
        max-width: 315px;
    }

    .onsono-before-after .problems-comment .balloon{
        position: relative;
        margin-bottom: 7.1%;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .onsono-before-after .problems-comment .balloon img{
        width: 100%;
        height: auto;
    }

    .onsono-before-after .problems-comment .problems-reason{
        position: absolute;
        text-align: center;
        font-size: 1.3em;
        line-height: 1.7em;
        font-weight: bold;
        width: 88%; 
        top: 44%; 
        left: 50%;
        transform: translate(-50%, -50%); 
        margin:0;
        padding:0;
    }

    .onsono-before-after .problems-comment p{
        width: 93%;
        margin: 0 auto;
        letter-spacing: 0.16em;
        line-height: 1.7em;
    }

    #onsono-about-problems .problems-image{
        position: absolute;
        width: 19.3%;
        bottom: 6.4%;
        left: 5.9%;
    }

    /* AFTER */
    #onsono-solve-problems{
        position: relative;
        padding: 11% 0 9%;
        margin: 0 auto 1.8%;
        background-color: #fcf564;
    }

    #onsono-solve-problems::before {
        content: "";
        position: absolute;
        top: 0;          /* 境目の位置 */
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-right: 40px solid transparent;
        border-left: 40px solid transparent;
        border-top: 40px solid #f8fafa;
        border-bottom: 0;
    }

    #onsono-solve-problems .section-title{
        position: relative;
        display: flex;
        align-items: center;
        gap: 84px;
        width: 85%;
        margin: 0 auto 5.6%;
    }

    #onsono-solve-problems .section-title h2{
        display: block;
        width: 80%;
        height: auto;
        margin: 0 auto;
        min-width: auto;
    }

    #onsono-solve-problems .section-title .title-image{
        position: absolute;
        top: -55%;
        left: -3%;
        display: block;
        width: auto;
        max-width: 145px;
        min-width: 20%;
        height: auto;
    }

    #onsono-solve-problems .problems-image{
        position: absolute;
        width: 13.8%;
        bottom: 5.8%;
        right: 11%;
    }
}


@media screen and ( max-width:785px) {
    #onsono-about-problems{
        position: relative;
        padding:  16% 0 9%;
    }

    #onsono-about-problems .section-title{
        width: 100%;
        margin: 0 auto 8%;
    }

    #onsono-about-problems .section-title h2{
        font-size: 2em;
        line-height: 1.5em;
        letter-spacing: 0.1em;
    }

    #onsono-about-problems .section-title .title-image{
        top: -55%;
        left: 0;
        width: 130px;
        max-width: 145px;
        height: auto;
    }

    .onsono-before-after .problems{
        width: 100%;
        gap: 50px 80px;
    }

    .onsono-before-after .problems-comment {
        width: 100%;
        flex: 1 1 300px;
        max-width: 90%;
    }

    .onsono-before-after .problems-comment .balloon{
        margin: 0 auto 5%;
        width: 90%;
    }

    .onsono-before-after .problems-comment .problems-reason{
        position: absolute;
        text-align: center;
        font-size: 1.5em;
        line-height: 1.7em;
        font-weight: bold;
        width: 80%; 
        top: 44%; 
        left: 50%;
        transform: translate(-50%, -50%); 
        margin:0;
        padding:0;
    }

    .onsono-before-after .problems-comment p{
        width: 93%;
        margin: 0 auto;
        font-size: 1.2em;
        letter-spacing: 0.1em;
        line-height: 1.7em;
    }

    #onsono-about-problems .problems-image{
        position: initial;
        margin: 6% auto 0;
        width: 30%;
    }

    /* AFTER */
    #onsono-solve-problems{
        position: relative;
        padding: 16% 0 9%;
        margin: 0 auto 1.8%;
    }

    #onsono-solve-problems::before {
        content: "";
        position: absolute;
        top: 0;          /* 境目の位置 */
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-right: 40px solid transparent;
        border-left: 40px solid transparent;
        border-top: 40px solid #f8fafa;
        border-bottom: 0;
    }

    #onsono-solve-problems .section-title{
        position: relative;
        display: flex;
        align-items: center;
        gap: 84px;
        width: 100%;
        margin: 0 auto 8%;
    }

    #onsono-solve-problems .section-title h2{
        display: block;
        width: 80%;
        height: auto;
        margin: 0 auto;
    }

    #onsono-solve-problems .section-title .title-image{
        position: absolute;
        top: -55%;
        left: 0;
        display: block;
        width: 170px;
        max-width: 130px;
        height: auto;
    }

    #onsono-solve-problems .problems-image{
        position: initial;
        width: 22%;
        margin: 6% auto 0;
    }
}

@media screen and ( max-width:480px) {
    #onsono-about-problems{
        position: relative;
        margin-top: 8%;
        padding: 26% 0 9%;
    }

    #onsono-about-problems .section-title{
        width: 100%;
        margin: 0 auto 10%;
    }

    #onsono-about-problems .section-title h2{
        font-size: 1.5em;
        line-height: 1.4em;
        letter-spacing: 0.1em;
    }

    #onsono-about-problems .section-title .title-image{
        top: -89%;
        left: 0;
        width: 95px;
        max-width: 145px;
        height: auto;
    
    }

    .onsono-before-after .problems{
        width: 100%;
        gap: 30px 80px;
    }

    .onsono-before-after .problems-comment .balloon{
        margin: 0 auto 5%;
        width: 100%;
    }

    .onsono-before-after .problems-comment .problems-reason{
        font-size: 1.2em;
        line-height: 1.5em;
        font-weight: bold;
        width: 80%; 
        top: 44%; 
        left: 50%;
        transform: translate(-50%, -50%); 
        margin:0;
        padding:0;
    }

    .onsono-before-after .problems-comment p{
        width: 93%;
        margin: 0 auto;
        font-size: 0.95em;
        letter-spacing: 0.1em;
        line-height: 1.5em;
    }

    #onsono-about-problems .problems-image{
        margin: 6% auto 0;
        width: 40%;
    }

    /* AFTER */
    #onsono-solve-problems{
        position: relative;
        padding: 36% 0 9%;
        margin: 0 auto 1.8%;
    }

    #onsono-solve-problems::before {
        content: "";
        position: absolute;
        top: 0;    
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-right: 30px solid transparent;
        border-left: 30px solid transparent;
        border-top: 30px solid #f8fafa;
        border-bottom: 0;
    }

    #onsono-solve-problems .section-title{
        position: relative;
        display: flex;
        align-items: center;
        gap: 84px;
        width: 100%;
        margin: 0 auto 10%;
    }

    #onsono-solve-problems .section-title h2{
        display: block;
        width: 100%;
        height: auto;
        margin: 0 auto;
        min-width: auto;
    }

    #onsono-solve-problems .section-title .title-image{
        position: absolute;
        top: -120%;
        left: 0;
        display: block;
        width: 95px;
        max-width: 130px;
        height: auto;
        }

    #onsono-solve-problems .problems-image{
        position: initial;
        width: 30%;
        margin: 6% auto 0;
    }
}




/* 対応工程 */
#supported-process{
    background-color: #d4ecf3;
    position: relative;
    padding-bottom: 3.1%;
}

#supported-process .wrapper{
    width: 77.5%;
   
}

#supported-process .title-image{
    width: 25.4%;
    min-width: 315px;
    margin: 0 auto;
    position: relative;
    z-index: 100;
}

#supported-process .back-border{
    border: 2px solid #0a2846;
    border-radius: 35px;
    margin: -5.7% auto 0;
    position: relative;
    z-index: 1; 
}

#supported-process .back-border .wrapper{
    width: 88%;
    margin: 0 auto;
    padding: 7.6% 0 16.4%;
}

#supported-process .back-border .wrapper .process-image{
    position: relative;
    width: 100%;
    margin: 0 auto 3.3%;
}

#supported-process .back-border .wrapper .process-image .process-pc{
    display: block;
}
#supported-process .back-border .wrapper .process-image .process-sp{
    display: none;
}

#supported-process .back-border .wrapper .process-image .process-text{
    position: absolute;
    bottom: 7.6%;
    right: 6%;
    width: 42.2%;
    font-size: 1.2em;
    line-height: 1.8em;
    max-height: 110px;
    box-sizing: border-box;
}

#supported-process .process-link{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 46px 3.5%;
}

#supported-process .process-link .process-link-box{
    width: 30%;
    border-radius: 25px;
    background-color: #fff;
    padding: 3.5% 3% 5.3%;
}

#supported-process .process-link-box .process-cate{
    position: relative;
    font-weight: bold;
    font-size: 1.6em;
    line-height: 1em;
    min-height: 74px;
    letter-spacing: 0.1em;
    text-indent: -1.6em;
    padding-left: 1.6em;
}

#supported-process .process-link-box .white-balloon::before{
    content: "";
    display: inline-block;
    width: 35px;
    height: 35px;
    margin-right: 9px;
    vertical-align: middle;
    background: url(../onsono/images/white-balloon.png) center center / contain;
    background-repeat: no-repeat;
}

#supported-process .process-link-box .yellow-balloon:before{
    content: "";
    display: inline-block;
    width: 35px;
    height: 35px;
    margin-right: 5px;
    vertical-align: middle;
    background: url(../onsono/images/yellow-balloon.png) center center / contain;
    background-repeat: no-repeat;
}

#supported-process .process-link .process-link-box p{
    line-height: 1.7em;
    letter-spacing: 0.08em;
    min-height: 158px;
}

#supported-process .process-link .process-link-box .long{
    letter-spacing: 0.08em;
}

#supported-process .process-link .process-link-box a{
    position: relative;
    display: inline-block;
    width: 100%;
    border: 1px solid #0a2846;
    font-size: 0.9em;
    letter-spacing: 0.04em;
    text-align: right;
    padding: 3.6% 20.6% 4.6% 3.6%;
    margin-bottom: 9px;
}

#supported-process .process-link .process-link-box a::before{
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 21%;
    right: 5.8%;
    background: url(../onsono/images/arrow.svg) center center / contain;
    background-repeat: no-repeat;
    transition: all 0.2s;
}

#supported-process .process-link .process-link-box a:hover{
    opacity: 0.6;
    color: #0a2846;
    /* transform: scale(0.95,0.95); */
}

#supported-process .process-link .process-link-box a:hover:before{
    right: 3.5%;
}

#supported-process .process-link .process-link-box .link a:nth-of-type(2){
    margin-bottom: 0;
}

/*----------レスポンシブ----------*/

@media screen and ( max-width:1530px) {
    #supported-process{
        padding-bottom: 5.1%;
    }

    #supported-process .wrapper{
        width: 80%;
    
    }

    #supported-process .title-image{
        width: 25.4%;
        min-width: 315px;
        margin: 0 auto;
        position: relative;
        z-index: 100;
    }

    #supported-process .back-border{
        border: 2px solid #0a2846;
        border-radius: 35px;
        margin: -5.7% auto 0;
        position: relative;
        z-index: 1; 
    }

    #supported-process .back-border .wrapper{
        width: 92%;
        margin: 0 auto;
        padding: 7.6% 0 16.4%;
    }

    #supported-process .back-border .wrapper .process-image{
        position: relative;
        width: 100%;
        margin: 0 auto 5%;
    }

    #supported-process .back-border .wrapper .process-image .process-text{
        position: absolute;
        bottom: 4.6%;
        right: 1%;
        width: 47.6%;
        font-size: 1.1em;
        line-height: 1.8em;
    }

    #supported-process .process-link{
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 46px 3.5%;
    }

    #supported-process .process-link .process-link-box{
        width: 31%;
        border-radius: 25px;
        padding: 3.5% 3% 5.3%;
    }

    #supported-process .process-link-box .process-cate{
        position: relative;
        font-weight: bold;
        font-size: 1.6em;
        line-height: 1em;
        min-height: 74px;
        letter-spacing: 0.1em;
        text-indent: -1.6em;
        padding-left: 1.6em;
    }

    #supported-process .process-link-box .white-balloon::before{
        content: "";
        display: inline-block;
        width: 35px;
        height: 35px;
        margin-right: 9px;
        vertical-align: middle;
        background-repeat: no-repeat;
    }

    #supported-process .process-link-box .yellow-balloon:before{
        content: "";
        display: inline-block;
        width: 35px;
        height: 35px;
        margin-right: 5px;
        vertical-align: middle;
        background-repeat: no-repeat;
    }

    #supported-process .process-link .process-link-box p{
        line-height: 1.7em;
        letter-spacing: 0.08em;
        min-height: 158px;
        margin-bottom: 5%;
    }

    #supported-process .process-link .process-link-box a{
        position: relative;
        display: inline-block;
        width: 100%;
        border: 1px solid #0a2846;
        font-size: 0.9em;
        letter-spacing: 0.04em;
        text-align: right;
        padding: 3.6% 19.6% 4.6% 2.7%;
        margin-bottom: 9px;
    }

    #supported-process .process-link .process-link-box a::before{
        content: "";
        display: block;
        width: 30px;
        height: 30px;
        position: absolute;
        top: 21%;
        right: 5.8%;
        background-repeat: no-repeat;
        transition: all 0.2s;
    }

    #supported-process .process-link .process-link-box a:hover:before{
        right: 3.3%;
    }
        
}

@media screen and ( max-width:1300px) {

    #supported-process .back-border .wrapper .process-image{
        position: relative;
        width: 100%;
        margin: 0 auto 5%;
    }

    #supported-process .back-border .wrapper .process-image .process-text{
        position: initial;
        margin: 3% auto 0;
        width: 95%;
        font-size: 1.2em;
        line-height: 1.8em;
    }
        
}

@media screen and ( max-width:1320px) {

    #supported-process .process-link .process-link-box{
        width: 48.2%;
        border-radius: 25px;
        padding: 3.5% 3% 5.3%;
    }
        
}

@media screen and ( max-width:960px) {
    #supported-process{
        position: relative;
        padding-bottom: 7%;
    }

    #supported-process .wrapper{
        width: 90%;
    
    }

    #supported-process .title-image{
        width: 25.4%;
        min-width: 315px;
        margin: 0 auto;
        position: relative;
        z-index: 100;
    }

    #supported-process .back-border{
        border-radius: 35px;
        margin: -12.2% auto 0;
        position: relative;
        z-index: 1; 
    }

    #supported-process .back-border .wrapper{
        width: 88%;
        margin: 0 auto;
        padding: 15.6% 0 16.4%;
    }

    #supported-process .back-border .wrapper .process-image .process-pc{
        display: none;
    }
    #supported-process .back-border .wrapper .process-image .process-sp{
        display: block;
    }

    #supported-process .back-border .wrapper .process-image{
        position: relative;
        width: 80%;
        margin: 8.2% auto 10%;
    }

    #supported-process .back-border .wrapper .process-image .process-text{
        position: initial;
        width: 100%;
        margin: 7% auto 0;
        font-size: 1.2em;
        line-height: 1.8em;
    }

    #supported-process .process-link{
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 46px 3.5%;
    }

    #supported-process .process-link .process-link-box{
        width: 48.2%;
        border-radius: 25px;
        padding: 4% 3.2% 5.3%;
    }

    #supported-process .process-link-box .process-cate{
        position: relative;
        font-weight: bold;
        font-size: 1.6em;
        letter-spacing: 0.1em;
        margin-bottom: 7.9%;
        line-height: 1em;
        min-height: 60px;
    }

    #supported-process .process-link-box .white-balloon::before{
        margin-right: 8px;
    }

    #supported-process .process-link-box .yellow-balloon:before{
        margin-right: 8px;
    }

    #supported-process .process-link .process-link-box p{
        line-height: 1.7em;
        letter-spacing: 0.08em;
        min-height: 162px;
    }

    #supported-process .process-link .process-link-box .long{
        letter-spacing: 0.08em;
    }

    #supported-process .process-link .process-link-box a{
        position: relative;
        display: inline-block;
        width: 100%;
        border: 1px solid #0a2846;
        font-size: 0.85em;
        letter-spacing: 0.04em;
        text-align: right;
        padding: 3.6% 20.6% 4.6% 3.6%;
        margin-bottom: 9px;
    }


    #supported-process .process-link .process-link-box a:hover:before{
        right: 3.5%;
    }

    #supported-process .process-link .process-link-box .link a:nth-of-type(2){
        margin-bottom: 0;
    }
}


@media screen and ( max-width:785px) {
    #supported-process{
        position: relative;
        padding-bottom: 7%;
    }

    #supported-process .title-image{
        width: 25.4%;
        min-width: 315px;
        margin: 0 auto;
        position: relative;
        z-index: 100;
    }

    #supported-process .back-border{
        border-radius: 35px;
        margin: -9.7% auto 0;
        position: relative;
        z-index: 1; 
    }

    #supported-process .back-border .wrapper{
        width: 88%;
        margin: 0 auto;
        padding: 15.6% 0 16.4%;
    }

    #supported-process .back-border .wrapper .process-image{
        position: relative;
        width: 90%;
        margin: 8.2% auto 10%;
    }

    #supported-process .back-border .wrapper .process-image .process-text{
        position: initial;
        width: 100%;
        margin: 7% auto 0;
        font-size: 1.2em;
        line-height: 1.8em;
        display: inline-block;
    }

    #supported-process .process-link{
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 46px 3.5%;
    }

    #supported-process .process-link .process-link-box{
        width: 100%;
        border-radius: 25px;
        padding: 4.8% 6.5% 9%;
    }

    #supported-process .process-link-box .process-cate{
        position: relative;
        font-weight: bold;
        font-size: 1.6em;
        letter-spacing: 0.1em;
        margin-bottom: 4%;
        line-height: 1em;
        min-height: 0;
    }

    #supported-process .process-link .process-link-box p{
        line-height: 1.7em;
        letter-spacing: 0.08em;
        min-height: 0;
        margin-bottom: 5%;
    }

    #supported-process .process-link .process-link-box .long{
        letter-spacing: 0.08em;
    }

    #supported-process .process-link .process-link-box a{
        position: relative;
        display: block;
        width: 58%;
        border: 1px solid #0a2846;
        font-size: 0.9em;
        letter-spacing: 0.04em;
        text-align: right;
        padding: 3% 13.6% 3% 3.6%;
        margin: 0 auto 9px;
    }

    #supported-process .process-link .process-link-box a::before{
        width: 30px;
        height: 30px;
        position: absolute;
        top: 30%;
        right: 5.8%;
    }
}


@media screen and ( max-width:480px) {
    #supported-process{
        position: relative;
        padding-bottom: 19%;
    }

    #supported-process .wrapper {
        width: 92%;
    }

    #supported-process .title-image{
        width: 15%;
        min-width: 210px;
        margin: 0 auto;
        position: relative;
        z-index: 100;
    }

    #supported-process .back-border{
        border-radius: 35px;
        margin: -18% auto 0;
        position: relative;
        z-index: 1; 
    }

    #supported-process .back-border .wrapper{
        width: 90%;
        margin: 0 auto;
        padding: 15.6% 0 22%;
    }

    #supported-process .back-border .wrapper .process-image{
        position: relative;
        width: 100%;
        margin: 8.2% auto 15%;
    }

    #supported-process .back-border .wrapper .process-image .process-text{
        position: initial;
        width: 100%;
        margin: 10% auto 0;
        font-size: 1em;
        line-height: 1.5em;
    }

    #supported-process .process-link{
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 46px 3.5%;
    }

    #supported-process .process-link .process-link-box{
        width: 100%;
        border-radius: 25px;
        padding: 8% 6.5% 12%;
    }

    #supported-process .process-link-box .process-cate{
        position: relative;
        font-weight: bold;
        font-size: 1.2em;
        letter-spacing: 0.1em;
        margin-bottom: 5%;
        line-height: 1em;
        min-height: 0;
    }

    #supported-process .process-link .process-link-box p{
        line-height: 1.5em;
        letter-spacing: 0.08em;
        min-height: 0;
        margin-bottom: 10%;
    }

    #supported-process .process-link .process-link-box .long{
        letter-spacing: 0.08em;
    }

    #supported-process .process-link .process-link-box a{
        position: relative;
        display: block;
        width: 95%;
        border: 1px solid #0a2846;
        font-size: 0.8em;
        letter-spacing: 0.04em;
        text-align: right;
        padding: 5% 17% 5.6% 0;
        margin: 0 auto 9px;
    }

    #supported-process .process-link .process-link-box a::before{
        width: 25px;
        height: 25px;
        position: absolute;
        top: 25%;
        right: 5%;
    }

    #supported-process .process-link-box .white-balloon::before{
        width: 30px;
        height: 30px;
        margin-right: 6px;
        vertical-align: text-bottom;
    }

    #supported-process .process-link-box .yellow-balloon:before{
        width: 30px;
        height: 30px;
        margin-right: 6px;
        vertical-align: text-bottom;
    }
}


/*  */

#supported-process .message{
    width: 83.6%;
    margin: -10.5% auto 0;

}

#supported-process .message-text{
    position: relative;
    display: inline-block;
    padding: 5.4% 10px;
    min-width: 120px;
    max-width: 100%;
    width: 100%;
    background: #d4ecf3;
    border: solid 2.5px #0a2846;
    box-sizing: border-box;
    border-radius: 15px;
    text-align: center;
    z-index: 100;
}

#supported-process .message-text:before{
    content: "";
    position: absolute;
    width: 40px;
    height: 5px;
    background-color: #d4ecf3;
    left: 0;
    right: 0;
    bottom: -5px;
    margin: auto;
    z-index: 2;
}

#supported-process .message-text::after{
    content: "";
    position: absolute;
    width: 50px;
    height: 2px;
    bottom: -20px;
    transform: rotate(-45deg);
    left: 6px;
    right: 0;
    margin: auto;
    background-color: #0a2846;
    z-index: 2;
}

#supported-process .message-text h3{
  text-align: center;
  font-size: 2em;
  line-height: 1.7em;
  font-weight: bold;
  width: 90%; 
  margin:0 auto 0;
  padding:0;
}

#supported-process .message-text h3 span{
    font-size: 1.1em;
     font-weight: bolder;
}

#onsono-contact{
    margin: 0 auto;
    padding: 4% 0;
}

#onsono-contact a{
    width: 54.9%;
    min-width: 765px;
    display: block;
    font-size: 1.85em;
    line-height: 1.7em;
    font-weight: bold;
    text-align: center;
    padding: 1.4% 0;
    border-radius: 30px;
    margin: 0 auto 0;
    background-color: #1eb8c9;
    color: var(--color-white);
}

#onsono-contact a:hover{
    transform: scale(0.95,0.95);
}

/*----------レスポンシブ----------*/

@media screen and ( max-width:1500px) {
    #supported-process .message-text h3{
        width: 95%;
        font-size: 1.7em;
        line-height: 1.4em;
    }
    
}

@media screen and ( max-width:960px) {
    #supported-process .message{
        width: 92%;
        margin: -10.5% auto 0;

    }

    #supported-process .message-text{
        padding: 5% 2% 7%;
        min-width: 120px;
        max-width: 100%;
        width: 100%;
    }


    #supported-process .message-text h3{
        font-size: 1.5em;
        line-height: 1.4em;
        width: 100%; 
        margin:0 auto 0;
        padding:0;
    }

    #supported-process .message-text h3 span{
        font-size: 1.1em;
        font-weight: bolder;
    }

    #onsono-contact{
        margin: 0 auto;
        padding: 4% 0;
    }

    #onsono-contact a{
        width: 90%;
        min-width: 100%;
        font-size: 1.6em;
        line-height: 1.7em;
        padding: 1.6% 0;
        margin: 0 auto 0;
    }
}


@media screen and ( max-width:785px) {
    #supported-process .message-text h3{
        font-size: 1.4em;
        line-height: 1.4em;
    }

    #supported-process .message {
        width: 94%;
        margin: -10.5% auto 0;
    }

    #supported-process .message-text {
        padding: 5% 2% 6%;
        min-width: 120px;
        max-width: 100%;
        width: 100%;
    }

    #onsono-contact{
        margin: 0 auto;
        padding: 4% 0;
    }

    #onsono-contact a{
        width: 95%;
        font-size: 1.5em;
        line-height: 1.7em;
        padding: 2% 0;
        margin: 0 auto 0;
    }

}

@media screen and ( max-width:480px) {
    #supported-process .message-text h3{
        font-size: 1.1em;
        line-height: 1.3em;
        width: 95%;
    }

    #supported-process .message {
        width: 97%;
        margin: -10.5% auto 0;
    }

    #supported-process .message-text {
        padding: 7% 2% 8%;
        min-width: 120px;
        max-width: 100%;
        width: 100%;
    }

    #onsono-contact{
        margin: 0 auto;
        padding: 7% 0;
    }

    #onsono-contact a{
        width: 100%;
        font-size: 1.2em;
        line-height: 1.5em;
        padding: 5% 0;
        margin: 0 auto 0;
        border-radius: 20px;

}


}