/* FV */
.fv-txtarea {
    max-width: 1600px;
    display: flex;
    padding:30px ;
    margin: 0 auto;
    justify-content: space-evenly;
}
.qr-kome {
 padding:0 50px 10px ;
 text-align: right;
}
.fv-txtarea .left {
    max-width: 40%;
}
.fv-txtarea .right {
    max-width: 930px;
    margin: 0 auto;
}
.fv-txtarea .right picture img {
    position: relative;
    bottom: 20%;
}
.catchphrase h2 {
    font-size: clamp(23px, 5.5vw, 40px);
    line-height: 1.2;
}
.catchphrase h2 span {
    font-size: clamp(28px, 5.5vw, 50px);
}
.catchphrase p {
    font-size: clamp(16px, 2.5vw, 18px);
    line-height: 1.8;
}

 /* ボタン */
.fv-txtarea .button {
    background-color: #ff7900;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    
    padding: 15px;
    border-radius: 50px;
    font-weight: bold;
    font-size: clamp(16px, 2.5vw, 30px);
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 9px 0 #c46200;
}

/* ホバー時の動き */
.fv-txtarea .button:hover {
    transform: translateY(9px);
    background-color: #f58a20;
    box-shadow: 0 1px 0 #c46200;
}

/* アイコン画像の調整 */
.fv-txtarea .button img {
    position: static;
    width: 7%;
    height: auto;
}

@media screen and (max-width: 1024px) {
    .fv-txtarea {
        flex-direction: column-reverse;
        padding: 30px 10px;
        position: relative;
        top: -50px;
    }
    .fv-txtarea .left {
        max-width: 100%;
    }
    .fv-txtarea .button img {
        width: 5%;
    }
    .fv-txtarea .right picture img {
        position: relative;
        bottom: 0px!important;
    }
    .catchphrase h2 {
        margin-top: 20px;
        text-align: center;
    }
    .qr-kome {
        padding: 0 20px 20px;
    }
    .fv-txtarea .button img {
        width: 3%;
    }
}
@media screen and (max-width: 468px) {

    .fv-txtarea .button img {
        width: 6%;
    }
}

/* 共通　サービス内容 */
.service h2 {
    font-size: clamp(20px, 2.5vw, 40px);
    text-align: center;
}
.service h2 .txt-green {
    font-size: clamp(20px, 2.5vw, 60px);
}

/* 共通　できる事タイトル */
section.bgWhite.service {
    max-width: 1300px;
    padding: 0 10px;
    margin: 0 auto;
}
section.bgWhite.service p.asterisk {
    text-align: right;
}



/* --- 全体コンテナ --- */
.flow-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin: 0 auto;
    gap: 30px 0;
}

/* --- 各ステップの基本スタイル --- */
.flow-container .flow-step {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    min-height: 170px;
    width: 100%;
    min-width: 90px;
    max-width: 230px;
    filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.3));
    margin: 50px 10px 0 0;
}

/*  矢印背景 */
.flow-container .flow-step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f0fafa;
    clip-path: polygon(0% 0%, 88% 0%, 100% 50%, 88% 100%, 0% 100%);
    z-index: -1;
}

/* 最後のステップ */
.flow-container .flow-step.last::before {
    clip-path: none;
    border-radius: 0 8px 8px 0;
}
.flow-container .flow-step.last {
    margin-right: 0;
}

.flow-container .flow-step .position {
    position: absolute;
    top: -15px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.flow-badge {
    background-image: linear-gradient(90deg, #1bb097 58%, #7fd153);
    color: #fff;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
}

.flow-number {
    color: #00a09a;
    font-size: 40px;
    font-weight: bold;
    line-height: 1;
}

.step-text {
    font-size: 17px;
    line-height: 1.5;
    color: #333;
    margin: 0;
    z-index: 2;
}


.flow-container .flow-step img {
    position: absolute;
    bottom: -37px;
    right: 15px;
    width: 64px;
    height: auto;
    z-index: 10;
}

@media screen and (max-width: 768px) {
    .flow-container {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .flow-container .flow-step {
        max-width: 90%;
        width: 100%;
        margin-right: 0;
        margin: 0px 0px 30px 0;
    }

    .flow-container .flow-step:first-child {
        margin-top: 0;
    }

    .flow-container .flow-step::before {
        clip-path: polygon(0% 0%, 100% 0%, 100% 88%, 50% 100%, 0% 88%);
    }

    .flow-container .flow-step.last::before {
        clip-path: none;
        border-radius: 0 0 8px 8px;
    }

    .flow-container .flow-step img {
        right: 20px;
        bottom: 5px;
    }
}

/* 悩み別 */
.worries ul {
    display: flex;
    flex-wrap: wrap;
}

.worries  ul li {
    position: relative;
    max-width: 23%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
    min-width: 260px;
}

/* 吹き出しの中のテキスト */
.worries ul li p {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 30px 30px 10px 38px;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(15px, 2.5vw, 18px);
    line-height: 1.6;
    font-weight: bold;
    color: #333;
}

/* 吹き出し背景画像 (worriesXX_bg.png) */
.worries li img:last-child {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1;
}

/* 人物アイコン (worriesXX.png) */
.worries li img:first-child {
    position: absolute;
    z-index: 3;
    width: 80px;
    height: auto;
    margin-top: -10px;
    order: 2;
    right: 0;
    bottom: -80px;
}

/* レスポンシブ対応（スマホ時） */
@media (max-width: 1170px) {
    .worries ul {
        justify-content: center!important;
    }
    .worries ul li {
        width: 80%;

    }
    .mtno,.mtno2 {
        margin-top: 0px!important;
    }
}
@media (max-width: 1153px) {
    .mtno4 {
        margin-top: 100px!important;
    }
}
@media (max-width: 873px) {
    .mtno3 {
        margin-top: 100px!important;
    }
}
@media (max-width: 768px) {
    .worries {
        flex-wrap: wrap;
    }
    .mtno {
        margin-top: 100px;
    }
    .worries ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .worries ul li {
        margin-bottom: 30px;
        margin-right: 0px;
    }
    .worries ul li p {
        padding: 50px 50px 0px 50px;
    }
    .worries li img:first-child {
        bottom: -130px;
        right: 0;
        left: 0;
        margin: 0 auto;
    }
}
@media (max-width: 530px) {
    .mtno2,.mtno3,.mtno4 {
        margin-top: 100px!important;
    }
}
