@charset "UTF-8";

/*チャットボット
---------------------------------------------------------------------------*/
df-messenger {
    --df-messenger-bot-message: #878fac;
    --df-messenger-button-titlebar-color: #fff4b6;
    --df-messenger-button-titlebar-font-color: #696969;
    --df-messenger-chat-background-color: #ddfafd;
    --df-messenger-font-color: white;
    --df-messenger-send-icon: #878fac;
    --df-messenger-user-message: #479b3d;
}

.chat-mainimg {
    width: 100%;
    height: auto;
}

.chat-cont {
    width: 862px;
    margin: 70px auto;
}

.chat-cont h3 {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.chat-cont p {
    font-size: 17px;
}

.chat-btn-area {
    width: 100%;
    height: 105px;
    line-height: 105px;
    background: #F2F2F2;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 17px;
}

.btn-area-txt {
    font-size: 14px;
    line-height: 1.6;
    background: #F2F2F2;
    padding: 25px 20px 0 20px;
    text-align: center;
}

.chat-btn-area a {
    display: block;
    width: 174px;
    height: 50px;
    line-height: 50px;
    margin-left: 20px;
    background: #EE887E;
    display: flex;
    justify-content: center;
    color: #fff;
}

.chat-btn-area img {
    width: 20px;
    margin-right: 10px;
}

.line {
    width: 100%;
    height: 30px;
    border-bottom: 1px dashed #D0D0D0;
    margin-bottom: 50px;
}

.chat-row {
    font-size: 15px;
    display: flex;
    margin-bottom: 20px;
}

.chat-row:last-child {
    margin-top: 20px;
    margin-bottom: 40px;
}

.chat-row .right {
    line-height: 1.8;
}

.chat-row .right ul {}

.chat-row .right ul li.maru {
    line-height: 1.4;
    margin-bottom: 10px;
}

.chat-row .right ul li.maru:before {
    content: "";
    width: 10px;
    height: 10px;
    display: inline-block;
    background-color: #FFF;
    border-radius: 50%;
    border: 1px solid #595757;
}

.chat-row .right ul li ul li {
    padding-left: 0.8em;
}



/*index
---------------------------------------------------------------------------*/
/*グラフ画像*/
.gp {
    display: block;
    width: 600px;
    height: auto;
    margin: 40px auto 0;
}

.hosoku {
    font-size: 0.8em;
    text-align: right;
    padding-right: 90px;
    padding-bottom: 20px;
}

/*調査の詳細へのリンク*/
.link {
    border: 1px dotted #707070;
    padding: 0.5em 1em;
    margin-top: 2em;
}

.link img {
    padding-left: 0.5em;
}


/*list
---------------------------------------------------------------------------*/
/*ふたりめ不妊ウェルカム病院 全国病院リスト*/
.title-box {
    width: 100%;
    height: 240px;
    background-image: url(../images/list/sub-img01.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 622.32px auto;
}

.title-box h1 {
    position: relative;
    display: block;
    height: 81px;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    padding-bottom: 0.5em;
}

.list-title-img {
    position: absolute;
    width: 222px;
    height: 81px;
    right: 227px;
    top: 0;
}

p.list-txt {
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: #8EBCD1;
}

p.up {
    font-size: 11px;
    padding: 3em 0 2em;
    color: #5CA9CC;
    text-align: right;
}

/*アコーディオン*/
accordion ul {
    list-style: none;
    margin: 0;
}

label {
    cursor: pointer;
    display: block;
    width: 100%;
    border-bottom: 1px solid #8EBCD1;
    padding: 1em 1em 0.7em;
    color: #5ca9cc;
    position: relative;
}

label:hover {
    background: #EBF5FA;
    opacity: 0.66;
}

label.ken-list {
    cursor: pointer;
    display: block;
    margin: 0 auto;
    width: 90%;
    border-bottom: 1px solid #8EBCD1;
    padding: 0.7em 1em;
    color: #5ca9cc;
    position: relative;
}

.toggle {
    display: none;
}

.toggle + ul {
    max-height: 0;
    overflow: hidden;
    transition: all .3s ease-out;
}

.toggle:checked + ul {
    max-height: 50000px;
    transition: all 1s ease-in;
}

.toggle + ul.list-content {
    max-height: 0;
    overflow: hidden;
    transition: none;
}

.toggle:checked + ul.list-content {
    max-height: 30000px;
    transition: all 0.5s ease-in;
    display: block;
    margin: 0 auto;
    width: 94%;
    padding: 1% 0;
}



/*＋-アイコン*/
/* 二本の横棒を作成する */
label span.pm::before,
label span.pm::after {
    content: '';
    display: block;
    width: 15px;
    height: 3px;
    border-radius: 5px;
    background: #5CA9CC;
    position: absolute;
    right: 1em;
    top: 50%;
    transform: translateY(-50%);
}

/* 2本の横棒のうち一本は縦棒にする */
label span.pm::after {
    background: #5CA9CC;
    /* 横棒を縦にするために90℃回転させる */
    transform: translateY(-50%) rotate(90deg);
    /* プラスからマイナスへの切り替えをゆっくり行いアニメーションさせる */
    transition: 0.5s;
}

/*
  ラベルがクリックされたら縦棒を横にしてマイナスにする疑似要素
  jQueryで付け外しを行う
  */
label.active span.pm::after {
    transform: rotate(0);
    transition: 0.5s;
}


/*病院詳細*/
.about-box p {
    color: #5CA9CC;
}

li.hospital {
    display: block;
    width: 94%;
    height: auto;
    padding: 2% 3%;
    font-size: 14px;
}

h3 {
    font-weight: bold;
    padding-bottom: 0.3em;
    font-size: 16px;
}

.name-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.about-box {
    border: 1px solid #5CA9CC;
    padding: 0 3%;
    margin-top: 0.5em;
    padding-bottom: 3%;
}

.about-box ul {
    display: flex;
    flex-wrap: wrap;
}

h4 {
    color: #5CA9CC;
    font-weight: bold;
    padding-top: 3%;
    padding-bottom: 0.5%;
}

.h4-sub {
    color: #5CA9CC;
}

.h4-sub-after {
    color: #5CA9CC;
    padding-top: 0.5em
}

.about-box ul li {
    padding-left: 1.2em;
    background-image: url(../images/check.png);
    background-repeat: no-repeat;
    background-position: left center;
    display: block;
    margin-right: 1em;
    color: #5CA9CC;
}

.single-box {
    margin-bottom: 2em;
}

@media (max-width: 769px) {

    /*preconceptioncare
---------------------------------------------------------------------------*/
    .chat-mainimg {
        margin-top: 95px;
    }

    .chat-cont {
        width: 90%;
        margin: 20px auto 50px;
    }

    .chat-cont p {
        font-size: 16px;
    }

    .line {
        height: 20px;
        margin-bottom: 30px;
    }

    .chat-row .left {
        white-space: nowrap;
    }

    .btn-area-txt {
        font-size: 14px;
        line-height: 1.6;
        background: #F2F2F2;
        padding: 25px 20px 0 20px;
        text-align: left;
    }

    .chat-btn-area {
        display: block;
        height: auto;
        line-height: 2;
        display: block;
        padding: 10px 0 20px;
    }

    .chat-btn-area p {
        display: block;
        width: 100%;
        text-align: center;
        padding-bottom: 0;
    }

    .chat-btn-area a {
        margin: 0 auto;
    }

    /*index
---------------------------------------------------------------------------*/
    .gp {
        margin: 20px auto 5px;
        width: 96%;
        height: auto;
    }

    .hosoku {
        padding-right: 1em;
        font-size: 11px;
    }

    p.index-txt {
        font-size: 14px;
        padding: 0 2% 0;
        word-break: break-all;
    }

    .link {
        margin-top: 0.5em;
        font-size: 11px;
    }

    .link img {
        padding-left: 0.5em;
    }


    /*list
---------------------------------------------------------------------------*/
    .single-box {
        margin-top: 92px;
    }

    .title-box {
        width: 100%;
        height: auto;
        padding-bottom: 10%;
        background-image: url(../images/list/sub-img01.png);
        background-repeat: no-repeat;
        background-position: center bottom;
        background-size: 100% auto;
    }

    .title-box h1 {
        position: relative;
        display: block;
        height: 71px;
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        padding-bottom: 0.5em;
    }

    .list-title-img {
        position: absolute;
        width: 50%;
        height: 3.3em;
        right: 15%;
        top: 0;
    }

    p.list-txt {
        text-align: center;
        font-size: 15px;
        font-weight: bold;
        color: #8EBCD1;
    }

    .name-item img {
        width: 44px;
    }

    p.up {
        text-align: left;
    }

    label {
        padding: 1em 0em 0.7em 3%;
        width: 97%;
    }

    label.ken-list {
        padding: 0.7em 0 0.7em 3%;
        width: 97;
    }

    .toggle:checked + ul.list-content {
        width: 100%;
    }

    h4 {
        padding-top: 5%;
    }

    .about-box ul li {
        padding-left: 1.2em;
        background-image: url(../images/check.png);
        background-repeat: no-repeat;
        background-position: left top 0.3em;
        display: block;
        margin-right: 1em;
        color: #5CA9CC;
    }
}
