@charset "utf-8";
/*********************************************************

WP Wysiwyg Editor用

*********************************************************/

/* ---------------------------------------------------- */
/* cs_post_wysiwyg */
/* ---------------------------------------------------- */
.cs_post_wysiwyg:after {
    content: ".";
    display: block;
    height: 0;
    font-size: 0;
    clear: both;
    visibility: hidden;
}

.cs_post_wysiwyg {
    display: block;
}

.cs_post_wysiwyg>*+* {
    margin-top: 20px;
}

@media (max-width: 767px) {
    .cs_post_wysiwyg>*+* {
        margin-top: 15px;
    }
}

/* ---------------------------------------------------- */
/* p */
/* ---------------------------------------------------- */
.cs_post_wysiwyg p {
    text-align: justify;
    line-height: 2.0;
}

.cs_post_wysiwyg p+p {
    margin-top: 1.5em;
}

/* ---------------------------------------------------- */
/* a */
/* ---------------------------------------------------- */
.cs_post_wysiwyg a {
    color: #3AB0E9;
}


/* ---------------------------------------------------- */
/* 装飾 */
/* ---------------------------------------------------- */
.cs_post_wysiwyg strong {
    font-weight: bold !important;
}

.cs_post_wysiwyg em {
    font-style: italic;
}

.cs_post_wysiwyg pre {
    font-size: 100%;
    white-space: pre-wrap;
    word-break: break-all;
}

.cs_post_wysiwyg a {
    text-decoration: underline;
}

.cs_post_wysiwyg a:hover {
    text-decoration: none;
}

.cs_post_wysiwyg blockquote {
    margin-left: 20px;
    margin-right: 20px;
    padding: 20px;
    background-color: #F5F8F9;
}

.cs_post_wysiwyg hr {
    margin: 60px 0;
    border: 0;
    border-top: 1px solid #C2D2D1;
}

@media (max-width: 767px) {
    .cs_post_wysiwyg blockquote {
        margin-left: 10px;
        margin-right: 10px;
    }

    .cs_post_wysiwyg hr {
        margin: 30px 0;
    }
}

/* ---------------------------------------------------- */
/* ul */
/* ---------------------------------------------------- */
.cs_post_wysiwyg ul {
    margin-left: 1.5em;
    list-style: disc;
    line-height: 2.0;
}

.cs_post_wysiwyg ol {
    margin-left: 1.5em;
    list-style: decimal;
    line-height: 2.0;
}

/* ---------------------------------------------------- */
/* h */
/* ---------------------------------------------------- */
.cs_post_wysiwyg *+h1,
.cs_post_wysiwyg *+h2,
.cs_post_wysiwyg *+h3 {
    margin-top: 50px;
}

.cs_post_wysiwyg *+h4,
.cs_post_wysiwyg *+h5,
.cs_post_wysiwyg *+h6 {
    margin-top: 40px;
}

.cs_post_wysiwyg h1+*,
.cs_post_wysiwyg h2+*,
.cs_post_wysiwyg h3+*,
.cs_post_wysiwyg h4+*,
.cs_post_wysiwyg h5+*,
.cs_post_wysiwyg h6+* {
    margin-top: 10px;
}

.cs_post_wysiwyg h1,
.cs_post_wysiwyg h2,
.cs_post_wysiwyg h3,
.cs_post_wysiwyg h4,
.cs_post_wysiwyg h5,
.cs_post_wysiwyg h6 {
    font-weight: 700;
}

.cs_post_wysiwyg h1 {
    font-size: 2.4rem;
}

.cs_post_wysiwyg h2 {
    font-size: 2.2rem;
}

.cs_post_wysiwyg h3 {
    font-size: 1.8rem;
}

.cs_post_wysiwyg h4 {
    font-size: 1.6rem;
}

.cs_post_wysiwyg h5 {
    font-size: 1.4rem;
}

.cs_post_wysiwyg h6 {
    font-size: 1.2rem;
}

@media (max-width: 767px) {

    .cs_post_wysiwyg *+h1,
    .cs_post_wysiwyg *+h2,
    .cs_post_wysiwyg *+h3 {
        margin-top: 30px;
    }

    .cs_post_wysiwyg *+h4,
    .cs_post_wysiwyg *+h5,
    .cs_post_wysiwyg *+h6 {
        margin-top: 20px;
    }

    .cs_post_wysiwyg h1+*,
    .cs_post_wysiwyg h2+*,
    .cs_post_wysiwyg h3+*,
    .cs_post_wysiwyg h4+*,
    .cs_post_wysiwyg h5+*,
    .cs_post_wysiwyg h6+* {
        margin-top: 10px;
    }

    .cs_post_wysiwyg h1 {
        font-size: 2.0rem;
    }

    .cs_post_wysiwyg h2 {
        font-size: 1.8rem;
    }

    .cs_post_wysiwyg h3 {
        font-size: 1.6rem;
    }

    .cs_post_wysiwyg h4 {
        font-size: 1.4rem;
    }

    .cs_post_wysiwyg h5 {
        font-size: 1.2rem;
    }

    .cs_post_wysiwyg h6 {
        font-size: 1.1rem;
    }
}

/* ---------------------------------------------------- */
/* img */
/* ---------------------------------------------------- */
.cs_post_wysiwyg img {
    width: auto;
    max-width: 100% !important;
    height: auto !important;
}

.cs_post_wysiwyg img.alignright {
    margin: 0 0 0 15px;
    display: inline;
    float: right;
}

.cs_post_wysiwyg img.alignleft {
    margin: 0 10px 0 0;
    display: inline;
    float: left
}

.cs_post_wysiwyg img.aligncenter {
    display: block;
    margin: 0 auto;
}

.cs_post_wysiwyg img.alignnone {
    margin: 0 10px 0 0;
}

.cs_post_wysiwyg img.size-thumbnail {
    display: inline-block;
    margin: 0 4% 0 0;
    width: 48%;
}

.cs_post_wysiwyg img.size-thumbnail+.size-thumbnail {
    margin: 0 0 0 0;
}

.cs_post_wysiwyg .wp-caption {
    max-width: 100% !important;
}

.cs_post_wysiwyg .wp-caption-text {
    font-size: 1.1rem;
}

/* ---------------------------------------------------- */
/* yt */
/* ---------------------------------------------------- */
.cs_post_wysiwyg .yt_wrap {
    position: relative;
    padding-top: 56.25%;
    width: 100%;
}

.cs_post_wysiwyg .yt_wrap iframe,
.cs_post_wysiwyg .yt_wrap object,
.cs_post_wysiwyg .yt_wrap embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}


/* ---------------------------------------------------- */
/* cs_table */
/* ---------------------------------------------------- */
.cs_post_wysiwyg table {
    width: 100%;
    border: 1px solid #C2D2D1;
}

.cs_post_wysiwyg table tr {
    border-bottom: 1px solid #C2D2D1;
}

.cs_post_wysiwyg table th,
.cs_post_wysiwyg table td {
    padding: 10px 20px;
    vertical-align: top;
    border: none;
    border-right: 1px solid #C2D2D1;
}
.cs_post_wysiwyg table th{
    font-weight: 700;
}

@media (max-width: 767px) {

    .cs_post_wysiwyg table,
    .cs_post_wysiwyg table tbody,
    .cs_post_wysiwyg table tr,
    .cs_post_wysiwyg table th,
    .cs_post_wysiwyg table td {
        display: block;
    }

    .cs_post_wysiwyg table th,
    .cs_post_wysiwyg table td {
        padding: 5px 5px;
    }
}