@charset "utf-8";

/* sidebar
---------------------------------------------------- */
#voice {
    padding: 60px 0;
}

#sidebar {
    width: 240px;
    float: left;
    border-top: 1px solid #ddd;
    border-left: 3px solid #3ca2dd;
    border-right: 1px solid #ddd;
}

#sidebar a {
    font-size: 18px;
    line-height: 1.4;
    display: block;
    border-bottom: 1px solid #ddd;
    padding: 15px 20px;
    position: relative;
    font-weight: 500;
    transition: all .4s;
}

#sidebar a::after {
    position: absolute;
    top: 50%;
    right: 15px;
    display: block;
    content: '';
    width: 8px;
    height: 8px;
    margin-top: -7px;
    border-top: 2px solid #3ca2dd;
    border-right: 2px solid #3ca2dd;
    transform: rotate(45deg);
}

#sidebar a span {
    display: block;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 1px;
    margin: 3px 0 0 3px;
    color: #3ca2dd;
}


@media screen and (max-width: 768px) {
    #voice {
        padding: 30px 20px;
    }

    #sidebar {
        width: auto;
        float: none;
        border-top: 1px solid #ddd;
        border-left: 1px solid #ddd;
        border-right: none;
        margin-bottom: 30px;
    }

    #sidebar li {
        display: block;
        float: left;
        width: 25%;
    }

    #sidebar a {
        font-size: 14px;
        line-height: 1.2;
        border-right: 1px solid #ddd;
        padding: 10px;
    }

    #sidebar a::after {
        right: 8px;
    }

    #sidebar a span {
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    #sidebar li {
        width: 50%;
    }

    #sidebar a {
        font-size: 13px;
        padding: 8px 10px;
    }

    #sidebar a span {
        font-size: 11px;
    }
}

/* contents
---------------------------------------------------- */
#contents {
    margin-left: 300px;
}

#contents h2 {
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    font-size: 24px;
    line-height: 1;
    padding: 18px 10px;
    margin-bottom: 20px;
    font-weight: 500;
}

#contents .date {
    text-align: right;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
}

.voice_box {
    margin: 30px 0;
}

.voice_box_img {
    width: 30%;
    float: right;
}

.voice_box_img img {
    border: 1px solid #ddd;
    box-sizing: border-box;
}

.voice_box_txt {
    width: 65%;
    float: left;
}

.voice_box_txt p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.voice_table {
    width: 100%;
    border-collapse: collapse;
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
}

.voice_table th,
.voice_table td {
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 13px 20px;
    font-size: 15px;
    line-height: 1.6;
}

.voice_table th {
    text-align: left;
    font-weight: 500;
    width: 35%;
    background-color: #e7f6ff;
}

@media screen and (max-width: 768px) {
    #contents {
        margin-left: 0;
    }

    #contents h2 {
        font-size: 16px;
        line-height: 1.2;
        padding: 10px 5px 12px;
        margin-bottom: 10px;
    }

    #contents .date {
        font-size: 14px;
    }

    .voice_box {
        margin: 20px 0;
    }

    .voice_box_img {
        width: auto;
        float: none;
        margin: 20px 0;
        text-align: center;
    }

    .voice_box_img img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .voice_box_txt {
        width: auto;
        float: none;
    }

    .voice_box_txt p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .voice_table th,
    .voice_table td {
        padding: 8px 10px;
        font-size: 14px;
    }
}


/* ba_box
---------------------------------------------------- */
.ba_box {
    padding: 40px;
    background-color: #44ade9;
    margin: 50px 0;
}

.before {
    float: left;
    width: 46%;
}

.ar {
    float: left;
    width: 8%;
    text-align: center;
    padding-top: 150px;
}

.ar img {
    width: 30%;
    height: auto;
}

.ar img.sp {
    display: none;
}

.after {
    float: left;
    width: 46%;
}

.ba_box .before img,
.ba_box .after img {
    border: 5px solid #fff;
    border-radius: 2px;
    box-sizing: border-box;
}

.ba_box_txt {
    background-color: #fff;
    border-radius: 50px;
    color: #44ade9;
    position: relative;
    padding: 10px;
    line-height: 1;
    text-align: center;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.ba_box_txt::after {
    border-left: solid 7px transparent;
    border-right: solid 7px transparent;
    border-top: solid 10px #fff;
    bottom: -10px;
    content: "";
    display: block;
    height: 0;
    left: 50%;
    position: absolute;
    width: 0;
    transform: translate(-50%, 0);
}

@media screen and (max-width: 768px) {
    .ba_box {
        padding: 20px;
        margin: 30px 0 0;
    }

    .before {
        float: none;
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }

    .ar {
        float: none;
        width: auto;
        text-align: center;
        padding-top: 0;
    }

    .ar img {
        width: auto;
        padding: 10px 0;
    }

    .ar img.pc {
        display: none;
    }

    .ar img.sp {
        display: inline;
        width: 60px;
        height: auto;
    }

    .after {
        float: none;
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }

    .ba_box_txt {
        font-size: 14px;
    }

}