﻿.faq-show-area {
    margin-right: 350px;
    margin-left: 350px;
}

div.caption {
    font-size: 25px;
    font-weight: bold;
    border-bottom: 2px solid #666;
}

    div.caption::before {
        font-family: "Font Awesome 5 Free";
        content: "\f059\00a0";
        font-weight: bold;
    }

.anchor {
    display: block;
    padding-top: 70px;
    margin-top: -70px;
}

div.question {
    font-size: 18px;
    border: 1px solid #4169E1;
    border-bottom: 1px dashed #4169E1;
    background-color: #f1f1f1;
    padding: 10px 15px 10px 15px;
    /*text-indent: -23px;*/
    /*word-break: keep-all;*/
}

    div.question:before {
        font-family: "Font Awesome 5 Free";
        content: "\f059\00a0";
        font-weight: bold;
    }

div.answer {
    /*font-size: 18px;*/
    border: 1px solid #4169E1;
    border-top: none;
    padding: 10px 15px 10px 15px;
    margin-bottom: 50px;
    /*text-indent: -23px;*/
}

    div.answer:before {
        font-family: "Font Awesome 5 Free";
        content: "\f27a\00a0";
        font-weight: bold;
    }

    div.answer i {
        margin-right: 4px;
    }

    div.answer a:link,
    div.answer a:visited {
        color: blue;
        text-decoration: underline;
    }

    div.answer a:hover {
        text-decoration: none;
    }

    div.answer dl dd {
        margin: 0;
        margin-bottom: 20px;
        padding: 0;
        padding-left: 35px;
        /*text-indent: -22px;*/
    }

    div.answer img {
        max-width: 100%;
        height: auto;
    }

@media screen and (max-width: 768px) {
    .faq-show-area {
        margin-right: 20px;
        margin-left: 20px;
    }
}

@media screen and (max-width: 768px) {
    .pdf_js_view {
        display: none;
    }

    .video_js_view {
        display: none;
    }
}

/*▼フィードバック▼*/
div.feedback {
    background-color: #F3F3F3;
    text-align: center;
    text-indent: initial;
    margin: 40px auto 5px auto;
    padding: 15px;
    font-size: 18px;
    margin-bottom: 50px;
}

div.feedbackTit {
    font-weight: bold;
}

ul.feedbackBtn {
    margin-top: 15px;
    display: flex;
    padding-left: 0px
}

    ul.feedbackBtn li {
        display: inline-block;
        width: 50%;
    }

button.voteBtn {
    padding: 15px 10px;
    background-color: #fff;
    border-radius: 6px;
    font-size: 14px;
    box-shadow: 3px 3px 4px #cccccc;
    width: 80%;
}

.BoldRed {
    color: red;
}

@media screen and (max-width: 769px) {
    div .feedback {
        padding: 15px 0px;
    }

    ul.feedbackBtn {
        display: block
    }

        ul.feedbackBtn li {
            display: block;
            margin: 10px auto;
            width: 100%;
        }

    button.voteBtn {
        width: 90%;
    }
}

button.btnYes {
    border: 2px solid #D7402E;
}

    button.btnYes i {
        color: #D7402E;
    }

    button.btnYes:hover {
        background-color: #D7402E;
        color: #fff;
    }

button.btnNo {
    border: 2px solid #1D54A7;
}

    button.btnNo i {
        color: #1D54A7;
    }

    button.btnNo:hover {
        background-color: #1D54A7;
        color: #fff;
    }

div.answerYes {
    margin: 15px auto;
}

div.answered-question {
    margin: 15px auto;
}

div.answerNo {
    margin: 15px auto;
}

    div.answerNo a:link,
    div.answerNo a:visited {
        display: block;
        margin-top: 15px;
        font-weight: bold;
    }
/*▲フィードバック▲*/

/*▼タブ▼*/
ul.tab, ul.tab li, ul.tab li a {
    float: left;
    padding: 3px 0;
    margin-right: 2px;
    list-style: none;
}

    ul.tab li {
        margin-right: 30px;
    }

        ul.tab li:last-child {
            margin: 0;
        }

        ul.tab li a:link,
        ul.tab li a:visited {
            position: relative;
            display: inline-block;
            border: 1px solid #38a75b;
            background-color: #38a75b;
            border-radius: 5px;
            padding: 10px 50px;
            color: #fff;
            font-weight: bold;
            font-size: 16px;
            text-decoration: none;
            letter-spacing: 2px;
            transition: 0.3s;
        }

        ul.tab li a::after {
            position: absolute;
            content: '';
            width: 6px;
            height: 6px;
            border: 0px;
            border-bottom: solid 2px #fff;
            border-right: solid 2px #fff;
            -ms-transform: rotate(45deg);
            -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
            top: 50%;
            right: 20px;
            margin-top: -5px;
        }

        ul.tab li a:hover {
            background-color: #fff;
            color: #38a75b;
        }

            ul.tab li a:hover::after {
                border-color: #38a75b;
            }

        ul.tab li.active a:link,
        ul.tab li.active a:visited {
            border-color: #888;
            background-color: #888;
            color: #fff;
        }

        ul.tab li.active a::after {
            border-color: #fff;
            -ms-transform: rotate(-135deg);
            -webkit-transform: rotate(-135deg);
            transform: rotate(-135deg);
            margin-top: 0;
        }

div.content {
    clear: both;
    text-indent: 0;
}

div.area {
    display: none;
}

iframe {
    width: 100%;
    height: 500px;
    border: none;
}

div.area video {
    width: 100%;
}
/*▲タブ▲*/

.button-area {
    margin-bottom: 20px;
}

.edit-button {
    text-decoration: none;
    color: black;
    background-color: white;
    padding: 0.5em 2em;
    font-weight: bold;
    border: solid 3px;
    border-radius: 10px;
    font-size: 20px;
}

    .edit-button:hover {
        background-color: black;
        cursor: pointer;
        color: white;
    }

/*エディターで作成したテーブルのデザイン*/
@media screen and (max-width: 570px) {
    table {
        width: 100% !important;
    }
}

/*既存のFAQのテーブルデザイン(後で作り直す)*/
table.tbAjust {
    margin-top: 5px;
}

    table.tbAjust td {
        vertical-align: top;
        font-size: 0.9em;
        font-weight: bold;
        width: 50%;
    }

        table.tbAjust td img {
            border: 1px solid #ccc;
            width: 80%;
        }

@media screen and (max-width: 559px) {
    table.tbAjust td {
        display: block;
        width: 100%;
    }

        table.tbAjust td img {
            width: 100%;
        }
}