@charset "UTF-8";

/*  Add Custom CSS here.  */
*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    display: block;
}

/* 枠デザイン１ */
.framedesign01 {
    margin: 50px auto 200px;
    max-width: 730px;
    position: relative;
    border-image: url("https://chibikko-shinryousyo.com/assets/img/common/mokomoko.png") 25 fill round;
    /* border-image-slice: 28;
    border-image-repeat: round; */
    border-style: solid;
    border-width: 25px;
}

.framedesign01 .inner {
    background-color: #fff;
    padding: 80px 26px 20px;
}

.framedesign01 .box-ttl {
    position: absolute;
    left: 0;
    right: 0;
    top: -145px;
    text-align: center;
}

.framedesign01 .box-ttl img {
    max-width: 350px;
}

.framedesign01 p {
    font-weight: 400;
    font-size: 18px;
}

/* 枠デザイン２ */
.framedesign02 {
    margin: 50px auto 200px;
    max-width: 730px;
    position: relative;

    border-image: url("https://chibikko-shinryousyo.com/assets/img/common/mokomoko02.png") 25 round;
    border-style: solid;
    border-width: 25px;
}

.framedesign02 p {
    font-weight: 400;
    font-size: 18px;
}

.framedesign02 .inner {
    padding: 80px 26px 20px;
    position: relative;
    background-color: #fff;
}

.framedesign02 .box-ttl {
    position: absolute;
    left: 0;
    right: 0;
    top: -145px;
    text-align: center;
}

.framedesign02 .box-ttl img {
    max-width: 350px;
}

/* 枠デザイン３ */
.framedesign03-outer {
    padding: 0 17px;
}

.framedesign03 {
    display: block;
    margin: 50px auto 200px;
    max-width: 710px;
    padding: 2px 0 0 0;
    border: 2px solid #534741;
    border-width: 2px 0;
    position: relative;
    background: #fff;
    margin-bottom: 150px;
}

.framedesign03 .box-ttl {
    position: absolute;
    left: 0;
    right: 0;
    top: -160px;
    text-align: center;
}

.framedesign03 .box-ttl img {
    max-width: 350px;
}

.framedesign03 .inner {
    position: relative;
    padding: 0px 26px;
    margin: 18px -20px;
    background: #fff;
    border: 2px solid #534741;
    border-width: 0 2px;
}

.framedesign03 p {
    font-size: 18px;
    padding: 80px 0 20px 0;
    font-weight: 400;
}

.framedesign03:before,
.framedesign03:after,
.framedesign03 .inner:before,
.framedesign03 .inner:after {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    border: 20px solid #ffffff;
    border-radius: 50%;
    background: transparent;
    -webkit-box-shadow: inset 0 0 0 2px #534741;
    box-shadow: inset 0 0 0 2px #534741;
}

.framedesign03:before {
    top: -40px;
    left: -60px;
    clip: rect(40px, auto, auto, 40px);
    /* CSS 2.1 way - deprecated */
    -webkit-clip-path: rectangle(50%, 50%, 100%, 100%, 0, 0);
    /* CSS 3 */
    content: "";
    position: absolute;
    width: 82px;
    height: 80px;
    border: 20px solid #ffffff;
    border-radius: 50%;
    background: transparent;
    -webkit-box-shadow: inset 0 0 0 2px #534741;
    box-shadow: inset 0 0 0 2px #534741;
}

.framedesign03:after {
    top: -40px;
    right: -58px;
    clip: rect(40px, 40px, auto, auto);
    -webkit-clip-path: rectangle(0, 50%, 50%, 100%, 0, 0);
    content: "";
    position: absolute;
    width: 80px;
    height: 82px;
    border: 20px solid #ffffff;
    border-radius: 50%;
    background: transparent;
    -webkit-box-shadow: inset 0 0 0 2px #534741;
    box-shadow: inset 0 0 0 2px #534741;
}

.framedesign03 .inner:before {
    bottom: -60px;
    left: -40px;
    clip: rect(auto, auto, 40px, 40px);
    -webkit-clip-path: rectangle(50%, 0, 100%, 50%, 0, 0);
    content: "";
    position: absolute;
    width: 80px;
    height: 82px;
    border: 20px solid #ffffff;
    border-radius: 50%;
    background: transparent;
    -webkit-box-shadow: inset 0 0 0 2px #534741;
    box-shadow: inset 0 0 0 2px #534741;
}

.framedesign03 .inner:after {
    bottom: -60px;
    right: -40px;
    clip: rect(auto, 40px, 40px, auto);
    -webkit-clip-path: rectangle(0, 0, 50%, 50%, 0, 0);
    content: "";
    position: absolute;
    width: 80px;
    height: 82px;
    border: 20px solid #ffffff;
    border-radius: 50%;
    background: transparent;
    -webkit-box-shadow: inset 0 0 0 2px #534741;
    box-shadow: inset 0 0 0 2px #534741;
}

/* .c-titlepage .c-titlepage-char2 {
    width: 300px;
    width: 400px;
    height: 225px;
    position: absolute;
    bottom: -86px;
    bottom: -96px;
    left: 150px;
    left: 10px;
    z-index: 4;
    transition: all .3s;
    animation: fxFloating 3s infinite;
    animation-timing-function: linear;
} */

.link-wrap.top {
    max-width: 260px;
    /*max-width: 610px;*/
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 40px auto 40px auto;
}

.link-wrap.top img {
    max-width: 260px;
}

.header .hd-btn-web__icon {
    background-color: #e92847;
}

@media screen and (max-width: 767px) {
    /* 枠デザイン１ */
    .framedesign01 {
        border-image: url("https://chibikko-shinryousyo.com/assets/img/common/mokomoko.png") 25 round;
        margin: 50px auto 150px;
    }

    .framedesign01 .inner {
        padding: 50px 12px 20px;
    }

    .framedesign01 .box-ttl {
        top: -110px;
    }

    .framedesign01 .box-ttl img {
        max-width: 260px;
    }

    .framedesign01 p {
        font-size: 15px;
    }

    /* 枠デザイン２ */
    .framedesign02 {
        border-image: url("https://chibikko-shinryousyo.com/assets/img/common/mokomoko02.png") 25 round;
        margin: 50px auto 150px;
    }

    .framedesign02 .inner {
        padding: 50px 12px 20px;
    }

    .framedesign02 .box-ttl {
        top: -110px;
    }

    .framedesign02 .box-ttl img {
        max-width: 260px;
    }

    .framedesign02 p {
        font-size: 15px;
    }

    .framedesign03 {
        margin: 50px auto 150px;
    }

    /* 枠デザイン３ */
    .framedesign03 .inner {
        padding: 50px 30px 20px;
    }

    .framedesign03 .box-ttl {
        top: -126px;
    }

    .framedesign03 .box-ttl img {
        max-width: 260px;
    }

    .framedesign03 p {
        font-size: 15px;
        padding: 0;
    }

    .link-wrap.top {
        max-width: 100%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .link-wrap.top img {
        max-width: 200px;
    }

    /* .c-titlepage .c-titlepage-char2 {
        width: 150px !important;
        height: 100px !important;
        left: 20px !important;
        bottom: -38px !important;
    } */
}

#open-chatbot {
    position: fixed;
    bottom: 50px;
    left: 30px;
    cursor: pointer;
    z-index: 999;
    transition: opacity 0.3s ease;
    outline: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 300px;
}
@media screen and (max-width: 999px) {
    #open-chatbot {
        width: 170px;
        left: 15px;
        bottom: 15px;
    }
}

.rounded-box .txt .red {
    color: #ff0000;
}

.rounded-box .txt .blue {
    color: #3fa9f5;
}
