/* ------------------------------------------------------------------------- *
 *  ユーザーコンテンツ用スタイル
/* ------------------------------------------------------------------------- */

/*  base : img
/* ------------------------------------ */
.aligncenter {
    display: block;
    margin: 0 auto;
}
.alignright {
    float: right;
    margin-left: 1rem;
}
.alignleft {
    float: left;
    margin-right: 1rem;
}
img[class*="wp-image-"], img[class*="attachment-"] {
    max-width: 100%;
    height: auto;
}
img.aligncenter,
img.alignright,
img.alignleft,
img[class*="wp-image-"],
img[class*="attachment-"] {
    margin-bottom: 1.5em;
}
.user-content .list-layout > ul,
.user-content .list-layout > ol,
.user-content ol,
.user-content ul {
    margin: 1.5rem 0;
}
.user-content ol,
.user-content ul {
    padding-left: 1.5em;
}
.user-content ol ul,
.user-content ul ul,
.user-content ol ol,
.user-content ul ol {
    margin: 0.5rem 0;
}
.user-content ol > li,
.user-content ul > li {
    margin-bottom: 0.5em;
}
.user-content ul {
    list-style: disc;
}
.user-content ol {
    list-style: decimal;
}
.user-content ul.list-layout {
    list-style: none;
    padding-left: 0;
}
.user-content p + .list-layout,
#main-content.user-content p + .list-layout {
    margin-top: 2rem;
}
.user-content {
    overflow: hidden;
}
.user-content table {
    margin: 1.5em auto;
    font-size: 0.9rem;
}
.user-content table, .user-content table th, .user-content table td {
    border: 1px solid #cacaca;
}
.user-content table th, .user-content table td {
    padding: 0.5rem;
}
.user-content table th p, .user-content table td p {
    line-height: 1.65;
}
.user-content table th {
    background-color: #F5F4ED;
}
.user-content table img {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.user-content table th > *:nth-last-child(1),
.user-content table td > *:nth-last-child(1) {
    margin-bottom: 0;
}
.user-content h1 {
    font-weight: bold;
}
.user-content h1, .user-content h2 {
    font-size: 1.5rem;
}
.user-content h3 {
    font-size: 1.35rem;
}
.user-content h4 {
    font-size: 1.15rem;
}
.user-content h5 {
    font-size: 1rem;
}
.user-content h6 {
    font-size: 0.9rem;
}
.user-content h1, .user-content h2, .user-content h3, .user-content h4, .user-content h5, .user-content h6 {
    margin-bottom: 1em;
}
/* 引用タグ */
blockquote {
    position: relative;
    margin: 1.5rem 0;
    padding: 2.5rem 1rem;
    border: 1px dotted #bababa;
    background-color: #F5F4ED;
    z-index: 1;
    border-radius: 2px;
}
blockquote p {
    position: relative;
    z-index: 1;
}
blockquote:before {
    content: '\201C';
    font-size: 500%;
    line-height: 1em;
    color: #aaa;
    position: absolute;
    left: 0;
    top: 0;
}
blockquote:after {
    content: '\201D';
    font-size: 500%;
    line-height: 0em;
    color: #aaa;
    position: absolute;
    right: 0;
    bottom: 0;
}
#bukkenList ul,
.block-bukkenList-full ul,
.block-bukkenList ul,
.user-content ul.row,
.user-content .list-boxes {
    list-style: none !important;
    padding-left: 0 !important;
}
.user-content .item .ttl:before, .user-content .item .ttl:after, .user-content .item .item-title:before, .user-content .item .item-title:after {
    content: none !important;
}
.user-content > *:nth-child(1) .container:nth-of-type(1) > .ttl:nth-child(1) {
    font-size: 1.5rem;
}
.user-content > *:nth-child(n+2) .container:nth-of-type(1) > .ttl:nth-child(1) {
    font-size: 1.35rem;
}
.user-content .list-layout > li > .ttl {
    font-size: 1.15rem;
}
body .user-content p {
    display: block;
    margin-bottom: 0.8em;
}
.user-content strong {
    font-weight: bold;
}
.user-content em {
    font-style: italic;
}
.user-content ol.row,
.user-content ul.row {
    margin-left: -15px;
    margin-right: -15px;
}
.user-content > article,
.user-content > .container > article {
    padding-bottom: 3rem;;
    position: relative;
}
.user-content header {
    padding-bottom: 1rem;
}
article.user-content,
.user-content > header, .user-content > article {
    border-bottom: 2px solid #ddd;
}
.user-content > footer, .user-content > article {
    padding-top: 0;
    clear: both;
}
.user-content > article:nth-last-of-type(1) {
    border-bottom: 0;
}
.user-content footer, .user-content > article:last-child {
    border-bottom: 2px solid #3872AD;
    padding-bottom: 3rem;
}
.user-content .container > article:after {
    content: '';
    height: 2px;
    margin: 0;
    width: 100vw;
    position: absolute;
    left: calc(-50vw + 50%);
    bottom: 0;
    border-bottom: 2px solid #ddd;
    z-index: -1;
}
.user-content .container > article:before, .user-content > .container > .article:nth-of-type(1):before, .user-content > article > .container:nth-of-type(1):before {
    content: '';
    border-top: 2px solid #009D5E;
    display: block;
    width: 100%;
    margin-top: -2px;
}
.user-content > .container > article:nth-last-of-type(1):after, .user-content > .container > article:nth-of-type(1):before {
    content: none !important;
    height: 0;
    border: 0;
}
.user-content > .container > .article:nth-of-type(1):before, .user-content > article > .container:nth-of-type(1):before {
    margin-top: -2px;
}
.user-content .ttl {
    margin-bottom: 1em;
}
.user-content > .container > article > .ttl:nth-of-type(1) {
    padding-top: 1rem;
}
.user-content h2:before, .user-content h3.ttl:before {
    content: '\25CB';
    color: #009D5E;
    font-weight: bold;
    font-size: 110%;
    margin-right: 0.4rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.user-content > article.accordion > .container > .ttl:nth-child(1):after, .user-content > article:nth-child(1) .container:nth-of-type(1):before {
    content: none;
    border-top: 0;
}
.user-content > article.accordion > .container > .ttl span, .user-content > article.accordion > .container > .ttl a {
    color: #009D5E;
    text-decoration: none;
    text-align: center;
    padding-right: 1rem;
}
.user-content > *:nth-child(1) > *:nth-of-type(1) > .ttl:nth-child(1) {
    font-size: 1.5rem;
    text-align: center;
    margin-top: 0;
}
.user-content > *:nth-child(1) > *:nth-of-type(1) > .ttl:nth-child(1):before {
    content: none !important;
}
.user-content > *.accordion > * > .ttl:nth-child(1) {
    padding-bottom: 1rem;
}
.user-content > * > *:nth-of-type(1) > .ttl:nth-child(1) {
    padding-top: 1rem;
    margin-bottom: 2rem;
}
.user-content > article.accordion > .container:nth-of-type(1) > .ttl:nth-child(1),
.user-content > * > .container.accordion {
    padding-bottom: 0;
    margin-bottom: 0;
}
.user-content > article.accordion > .container:nth-of-type(1) > .ttl:nth-child(1) + * {
    padding-top: 2rem;
    padding-bottom: 3rem;
}
.user-content > article.accordion > .container:nth-of-type(1) > .ttl:nth-child(1) + *:before {
    margin-bottom: 2rem;
}
.user-content > * > *:nth-of-type(1) > .ttl:nth-child(1):after, .user-content > .container > article > .ttl:nth-of-type(1):after {
    height: 1rem !important;
}
.user-content > * > *:nth-of-type(1) > .ttl:nth-child(1):before, .user-content > article.accordion > .container:nth-of-type(1) > .ttl:nth-child(1):before {
    content: none !important;
}
/*===== SP =====*/
@media screen and (max-width: 767px) {
    article.user-content,
    .user-content > header, .user-content > article {
        border-bottom: 2px solid #009D5E;
    }
    .user-content .container > article:before,
    .user-content > article .container:nth-of-type(1):before {
        content: none !important;
    }
    .user-content > article.accordion:nth-last-of-type(1) {
    padding-bottom: 3rem;
    }
}
/* .border-dotted-gray */
.user-content > .container > article > .ttl:nth-of-type(1):after,
.user-content > article.accordion > .container:nth-of-type(1) > .ttl:nth-child(1):after,
.user-content > * > *:nth-of-type(1) > .ttl:nth-child(1):after {
    display: block;
    content: "";
    height: 1px;
    background-image: linear-gradient(to right, #939393, #939393 1px, transparent 1px, transparent 2px);
    background-size: 6px 1px;
    background-position: 0 bottom;
    background-repeat: repeat-x;
}
.user-content > article.accordion > .container:nth-of-type(1) > .ttl:nth-child(1):after {
    margin-top: 1px;
    margin-bottom: -1px;
}

/*
h1, h2, h3, h4, h5, h6, ul, li, img, table, tr, th, td, dl, dt, dd {
	font-weight: normal;
	margin: 0px;
	padding: 0px;
	border: none;
	list-style-type: none;
}
*/
/*  base : clear
/* ------------------------------------ */
/* bootstrapで適用
.clearfix {
    overflow: hidden;
    zoom: 1;
}
.clearfix:after {
    content: "";
    display: block;
    clear: both;
}
*/
/*
.user-content blockquote {
    display: block;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 40px;
    -webkit-margin-end: 40px;
}
*/
