/* カスタム CSS をここに入力してください */
.bg_orange {
  background-color: #FDE1A8;
}

#article_detail article h4{
  font-size:21px;
  border-bottom:1px solid #333;
  margin-bottom: 10px;
  line-height:1.2;
}

.underline{
  text-decoration: underline;
}

.futoji{
  font-weight:bold;
}

/*********
アフィリエイト
*********/
.af-box{
    border-radius: 5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border: 1px solid #d1d1d1;
    padding: 10px;
    margin: 0 8px 25px;
}
.af-imgbox{
    width: 160px;
    margin-right: 10px;
    float: left;
    text-align: center;
}
.af-textbox{
    width: 100%;
}
.af-title{
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}
.af-desc{
    font-size:14px;
    margin-bottom: 10px;
}
.af-kobox{
    width: 120px;
    margin: 0 5px 0 0;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    float: left;
    text-align: center;
}
.af-kobox a.aflink{
    display: block;
    padding: 5px 0 5px 0;
    text-decoration: none;
}
.af-amazon{
    border: 1px solid #F3A847;
}
.af-amazon a{
    color: #F3A847;
}
.af-rakuten{
    border: 1px solid #BF0000;
    color: #BF0000;
}
.af-rakuten a{
    color: #BF0000;
}
.af-blue{
    border: 1px solid #1995DF;
    color: #1995DF;
}
.af-blue a{
    color: #1995DF;
}
.clear{clear:both;}
@media screen and (max-width: 399px) {

    .af-imgbox{
        margin: 0 auto;
        text-align: center;
        float: none;
    }

}

.waku{
  border:1px solid #333;
  padding:0 1em;
}

.VideoWrapper {
}

.video {
width: 100%;
margin: 0 auto 20px;
}

.youtube-wrapper {
    position: relative;
width: 100%;
padding-top: 56.25%;
overflow: hidden;
}

.youtube-wrapper > iframe {
    width: 100% !important;
height: 100% !important;
position: absolute;
top: 0;
left: 0;
}

.mass {
  padding:20px;
  border:solid 1px #666;
}

#article_detail article blockquote::before {
    left: -30px;
    position: absolute;
    top: -10px;
    width: 100px;
    z-index: 1;
}

#article_detail article blockquote::after {
    border-top: 1px solid #fff;
    color: #555;
    content: attr(title) "\a " attr(cite);
    display: block;
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: break-word;
    padding-top: 5px;
    text-align: right;
    text-shadow: 1px 1px 0 #eee;
    white-space: pre-wrap;
}

#article_detail article blockquote {
    background: #f3f3f3 none repeat scroll 0 0;
    border: 1px solid #ccc;
    border-radius: 1rem;
    font-size: 1rem;
    margin-bottom: 3rem;
    padding: 1rem;
    position: relative;
    quotes: none;
}

#article_detail article li a {
  color: #1d3994;
  text-decoration: underline;
}

table.txt {
    width: 100%;
    margin: 0 auto;
    border-spacing: 0px 15px;
    font-size: 16px;
  	border-collapse: collapse;
    border: 1px solid #666;
  	margin-bottom:30px;
}

table.txt th,
table.txt tr,
table.txt td {
    vertical-align: middle;
    text-align: left;
    font-weight: normal;
    font-size: 16px;
    padding:5px;
}

table.txt th.center,
table.txt td.center {
    text-align:center;
}

table.txt th,
table.txt td {
    border: 1px solid #666;
}

table.txt th a,
table.txt td a {
    text-decoration: underline;
    color: #1d3994;
}

#article_detail article ol {
    margin: 0 0 20px 30px;
    padding: 0;
}

#article_detail article ol li::before {
    color: #aa8b6c;
    content: "";
    font-size: 8px;
    left: -1.5em;
    position: absolute;
    top: 4px;
}

#article_detail article ol li {
    font-size: 16px;
    padding: 0 0 3px;
    position: relative;
}

@media screen and (max-width: 768px) {

table.txt {
    border: 1px solid #666;
    border-collapse: collapse;
    border-spacing: 0 15px;
    font-size: 16px;
    margin: 0 10px 30px;
    width:auto;
}
}