/* タイトル */
.mimamori_wrap .title {}

.mimamori_wrap .title .image {
    position: relative;
    width: fit-content;
    margin: 0 auto;
}

.mimamori_wrap .title .image img {
    max-width: 100%;
}

.mimamori_wrap .title .text {
    text-align: right;
    position: absolute;
    right: 20px;
    top: -10px;
    color: #fff;
    font-size: 1.2rem;
}

@media print,
screen and (min-width: 950px) {
    .mimamori_wrap .title .text {
        font-size: 1.8rem;
    }
}

/* 前文 */
.mimamori_wrap .lead {
    text-align: justify;
    text-indent: 1.6rem;
}

/* 見守り対象 */
.mimamori_wrap .target .title {
    font-size: 2.0rem;
    font-weight: bold;
    margin: 15px 0;
    color: red;
}

/* 見出し */
.mimamori_wrap .subtitle {
    font-size: 1.3rem;
    /* background-color: var(--base-color-green); */
    background: linear-gradient(135deg, #6f9d2f, #8BC34A);
    color: #fff;
    padding: 5px 10px;
    font-weight: normal;
    border-radius: 2px;
}

/* コンテンツ幅 */
@media print,
screen and (min-width: 950px) {
    .mimamori_wrap .content {
        margin: 0 40px;
    }
}

@media print,
screen and (min-width: 950px) {
    .mimamori_wrap .subtitle {
        font-size: 1.6rem;
    }
}

/* 動画 */
.mimamori_wrap .movie_wrap {
    max-width: 500px;
    margin: 30px auto;
}

.mimamori_wrap .movie_wrap .movie {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.mimamori_wrap .movie_wrap .movie iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* フォームへのリンク */
.mimamori_wrap .form_link {
    margin: 40px 0;
    text-align: center;
}

.mimamori_wrap .form_link a {
    /* background-color: #888; */
    background: linear-gradient(135deg, #2196f3, #00BCD4);
    padding: 10px 15px;
    display: inline-block;
    border-radius: 3px;
    color: #fff;
    text-decoration: none;
    width: 300px;
}

.mimamori_wrap .form_link a:hover {
    opacity: .5;
}

@media print,
screen and (min-width: 950px) {
    .mimamori_wrap .form_link a {
        width: 430px;
    }
}

/* 見守りサービスの流れ */
@media print,
screen and (min-width: 950px) {
    .mimamori_wrap .flow {
        display: flex;
    }

    .mimamori_wrap .flow .left {
        margin: 20px 40px;
    }
}

.mimamori_wrap .tree-chart {
    width: 330px;
    margin: 20px auto;
    font-family: sans-serif;
    position: relative;
}

.mimamori_wrap .tree-chart .node {
    width: 160px;
    margin: 0 auto;
    text-align: center;
    padding: 10px;
    border: 2px solid #555;
    border-radius: 5px;
    position: relative;
    font-size: 1.4rem;
}

.mimamori_wrap .tree-chart .line-down {
    width: 2px;
    height: 20px;
    background: #555;
    margin: 0 auto;
}

.mimamori_wrap .tree-chart .branches {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 20px;
}

.mimamori_wrap .tree-chart .branches::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 50px;
    width: 230px;
    height: 2px;
    background: #555;
}

.mimamori_wrap .tree-chart .branch {
    width: 100px;
    text-align: center;
    position: relative;
}

.mimamori_wrap .tree-chart .branch::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 50%;
    width: 2px;
    height: 20px;
    background: #555;
    transform: translateX(-50%);
}

.mimamori_wrap .tree-chart .box {
    padding: 10px 5px;
    border: 2px solid #555;
    border-radius: 5px;
    background: #fff;
    font-size: 1.3rem;
}

/* @media print,
screen and (min-width: 950px) {
    .mimamori_wrap .tree-chart {
        width: 600px;
    }

    .mimamori_wrap .tree-chart .node {
        width: 200px;
    }

    .mimamori_wrap .tree-chart .branches::before {
        left: 90px;
        width: 421px;
    }

    .mimamori_wrap .tree-chart .branch {
        width: 180px;
    }

} */

.mimamori_wrap hr {
    margin: 0;
    padding: 0;
    border: 0;
    height: 1px;
    background-image: -webkit-linear-gradient(left, #e4e4e4, #b1b1b1, #e4e4e4);
    background-image: -moz-linear-gradient(left, #e4e4e4, #b1b1b1, #e4e4e4);
    background-image: -ms-linear-gradient(left, #e4e4e4, #b1b1b1, #e4e4e4);
    background-image: -o-linear-gradient(left, #e4e4e4, #b1b1b1, #e4e4e4);
}
