/*
Theme Name: Opinion Child
Template: opinion_tcd018
Author: Design Plus
Author URI: http://design-plus1.com/tcd-w/
Description: WordPressテーマ「Opinion」
Version: 4.4.7
Updated: 2017-07-28 02:42:18

*/

.single .post h2, .page .post h2 { border-left:#e60001 10px solid; border-bottom:#e60001 1px solid; padding:5px 0 5px 10px; margin-top:1.5em; }
.page .post h2 { font-size:18px; margin:0; }

/* --- WordPress preset CSS ----------------------------------------------------------------------------------------- */

/* headline */
.post p { line-height:2; margin:0 0 2em 0; }

/* caption */
.post .wp-caption-text { text-align:left; }

/* image */
.post img { height:auto; width:100%; }
.post .wp-caption { box-sizing:border-box; }


/* ----------------------------------------------------------------------
 ソーシャルボタン
---------------------------------------------------------------------- */
/*------------- share_top1 & share_btm1 button_color -------------*/

/* Pinterest */
#share_top1 ul li.line a, #share_btm1 ul li.line a { background-color:#00B900; }
#share_top1 ul li.line a:hover, #share_btm1 ul li.line a:hover { background-color:#128f0c; }

/* ----------------------------------------------------------------------
 ウィジェット
---------------------------------------------------------------------- */

.side_widget { border:none; background:none; padding:0; }
.side_widget a{ text-decoration:none; }
.side_headline { margin:0; background:none; border:none; line-height:inherit; padding:0; }


.side_widget.popular-posts{ margin:0 0 20px 0; font-size:11px; background:#f9f9f9; border:1px solid #ddd; padding:15px 15px 10px; position:relative; }
.side_widget.popular-posts .side_headline { margin:-15px -15px 15px; line-height:3px; line-height:36px; font-size:14px; font-weight:bold; background:url(../opinion_tcd018/img/common/headline1.gif) repeat-x left bottom; padding:0 15px; border-bottom:1px solid #ccc; }
.wpp-list { counter-reset: wpp-ranking; }
.wpp-list li{position: relative;}
.wpp-list li:before{ content: counter(wpp-ranking, decimal); counter-increment: wpp-ranking; position: absolute; left: 0; z-index: 10; width: 16px; height: 17px; line-height: 18px; color: #fff; background: #777; text-align: center; }
.wpp-list li:nth-child(1):before { background: rgba(255, 88, 196, 0.9); }
.wpp-list li:nth-child(2):before { background: rgba(245, 171, 31, 0.9); }
.wpp-list li:nth-child(3):before { background: rgba(255, 121, 37, 0.9); }
.wpp-list li img{ float: left;margin: 0 15px 0 0;width: 100px;height: 70px;opacity: 1;transition: opacity .4s ease-in-out;-moz-transition: opacity .4s ease-in-out;-webkit-transition: opacity .4s ease-in-out;-webkit-transform: rotate(0);-moz-transform: rotate(0);transform: rotate(0); }


/* ----------------------------------------------------------------------
 最新号
---------------------------------------------------------------------- */

.latest_issue{ background:#D4FB00; }
.latest_issue .issue_title { font-size:22px; font-weight:bold; margin:0 0 10px; }
.latest_issue .vol { background:#e60000; display:inline-block; float:right; color:#D4FB00; text-align:center; line-height:1; padding:3px; }
.latest_issue .vol span{ display:block; font-size:10px; }
.latest_issue .release_date { font-size:14px; font-weight:bold; }
.latest_issue img { width:40%; float:left; margin:0 10px 0 0; }
.latest_issue p { line-height:1.5; margin:0; }
.latest_issue a { border:#C0DA38 5px solid; display:block; padding:10px; box-sizing:border-box; overflow:hidden; }
.latest_issue a:hover{ border-color:#8EA70C; color:#333; }

/* ----------------------------------------------------------------------
 common icon
---------------------------------------------------------------------- */
.icon_new { background: #009fe6; border-radius: 5px; color: #fff; font-size: 11px; padding: 1px 5px; font-family: Arial; font-weight: normal; position:absolute; left:5px; bottom:5px; z-index:1; }
.icon_scoop { text-indent:-9999pt; display:block; width:50px; height:50px; position:absolute; background:url(../opinion_tcd018/img/index/icon_scoop.png) no-repeat; background-size:cover; z-index:1; top:-5px; left:-5px; }

/* ----------------------------------------------------------------------
 トップページ
---------------------------------------------------------------------- */
#header h1{ margin:0; font-weight:normal; font-size:12px; padding:5px 0; }
#index_recent_post ul,index_category_post ul { border:none; margin:0; padding:0; background:none;display: -webkit-box;display: -moz-box;display: -ms-box;display: -webkit-flexbox;display: -moz-flexbox;display: -ms-flexbox;display: -webkit-flex;display: -moz-flex;display: -ms-flex;display: flex;-webkit-box-lines: multiple;-moz-box-lines: multiple;-webkit-flex-wrap: wrap;-moz-flex-wrap: wrap;-ms-flex-wrap: wrap;flex-wrap: wrap;}


/* ----------------------------------------------------------------------
 ライター
---------------------------------------------------------------------- */
.writer { margin:0 0 15px; padding:0 0 15px; border-bottom:#ccc 1px dotted; }
.writer img { width:20%; float:left; border-radius:50%; border:#ccc 1px solid; margin:0 15px 0 0; }


/* ----------------------------------------------------------------------
 ギャラリー
---------------------------------------------------------------------- */
.gallery {}
.gallery-item { float: left; margin-bottom: 10px !important; }
.gallery-icon { text-align: center; }
.gallery-caption { color: #21759B; font-size: 90%; margin: 0; text-align: center; }
.gallery-item img{ width: 100%; padding: 0%; margin: 0%; float: left; height: auto; }
.gallery-columns-1 .gallery-item { width: 100%; margin: 0%; box-sizing: border-box; float: left; height: auto; }
.gallery-columns-2 .gallery-item { width: 48%; margin: 1%; float: left; height: auto; }
.gallery-columns-3 .gallery-item { width: 32%; margin-left: 1%; float: left; height: auto; }
.gallery-columns-4 .gallery-item { width: 23%; margin: 1%; float: left; height: auto; }


/* ----------------------------------------------------------------------
 関連写真
---------------------------------------------------------------------- */
.relation_gallery h3{ background:#ccc; padding:10px 15px; font-weight:normal; }
.relation_gallery h3:before{ font-family:FontAwesome; content:"\f083"; }
.relation_gallery ul{ display: -webkit-box;display: -moz-box;display: -ms-box;display: -webkit-flexbox;display: -moz-flexbox;display: -ms-flexbox;display: -webkit-flex;display: -moz-flex;display: -ms-flex;display: flex;-webkit-box-lines: multiple;-moz-box-lines: multiple;-webkit-flex-wrap: wrap;-moz-flex-wrap: wrap;-ms-flex-wrap: wrap;flex-wrap: wrap; }
.relation_gallery li{ float:left; width:23%; margin:0 1%; }
.relation_gallery li img{ width:100%; height:auto; }


/* ----------------------------------------------------------------------
 バイクアルバム
---------------------------------------------------------------------- */
.model-template.single h1 {
    margin:20px 0 0;
}
.model-template.single .post h2{
  border: none;
  padding:0;
  font-weight:normal;
  font-size:16px;
}
.model-template.single .post {
padding:0;
}
.model-template.single p {
    margin:10px 0 20px;
}

#contents .album .album_top_img {
    max-width: 100%;
    display: block;
    box-sizing: border-box;
    border: 1px solid #ccc;
}
#contents .album .album_top_img img {
    display: block;
}

#contents .album h2 {
    font-size: 28px;
    font-weight: bold;
    margin: 20px 0 10px;
}
#contents .album h3 {
    margin: 10px 0;
}

/* New icon */
.maker_album_list span.icon_new {
    top: 5px;
    bottom: auto;
}


/* タブ */
#contents .tab_wrap .tab, #contents .tab li, #contents .tab li a {
    float: left;
    margin:0;
    list-style:none;
    text-decoration: none;
    box-sizing:border-box;
}
#contents .tab_wrap .tab {
    width:100%;
}
#contents .tab_wrap .tab li:first-child {
    margin:0;
}

#contents .album .tab_wrap .tab li {
    padding: 3px;
    width: 25%;
    border-right: 1px solid #ccc;
    border-top: 1px solid #ccc;
    background: #efefef;
}
#contents .album .tab_wrap .tab li:first-child {
    border-left:1px solid #ccc;
}
#contents .maker_album_list .tab_wrap .tab li {
    padding: 10px;
    width: 50%;
    border-right: 1px solid #ccc;
    border-top: 1px solid #ccc;
    font-size: 16px;
    font-weight: bold;
    border-radius: 0 5px 0 0;
    box-sizing: border-box;
    background: #efefef;
}
#contents .maker_album_list .tab_wrap .tab li:first-child {
    border-left: 1px solid #ccc;
    border-radius: 5px 0 0 0;
}

#contents .tab_wrap .content {
    clear: both;
    overflow: hidden;
}
#contents .maker_album_list .tab_wrap .content {
    border-left: 1px solid #ccc;
    box-sizing: border-box;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
#contents .tab_wrap .area {
    display: none;
}
#contents .tab_wrap .tab li.active {
    background: #fff;
}
.maker_album_list .list_wrap li p {
    line-height: 1.4;
}
.maker_album_list .list_wrap li p a {
    text-decoration: none;
}
.maker_album_list .list_wrap img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
.maker_album_list h3 {
    border-left: 6px solid #e72519;
    padding: 0 0 0 6px;
}




/* ----------------------------------------------------------------------
 スライド
---------------------------------------------------------------------- */
/*flex-slider*/
#contents .flexslider ul {
    margin:0;
}
#contents .flex-direction-nav li {
    list-style: none;
}
#contents .flex-direction-nav a {
    width:50px;
    height:80px;
}
#contents .flex-control-nav {
    bottom:-20px;
}
#contents .flex-direction-nav a {
    opacity: 1;
}
#contents .flex-direction-nav .flex-prev {
    left:10px;
}
#contents .flex-direction-nav .flex-next {
    right: 10px;
}
.model-template #contents p.flex-caption {
    padding: 0 10px;
}
.model-template.single #contents .flexslider p {
    margin: 10px 0 40px;
}
#contents .flexslider ol {
    margin-left: 0;
}



/* ----------------------------------------------------------------------
 メーカー一覧
---------------------------------------------------------------------- */
.all_maker ul {
  margin:0;
}
.all_maker ul li {
  list-style: none;
}
.all_maker ul li a {
  text-decoration: none;
}
.all_maker ul li p {
    text-align: center;
    margin: 0;
}

/* バイク選び　20190528
 * Moto Model API for WP
==================================================*/

.motoapi-box {
    background-color: #fff;
}

.motoapi-box a {
    text-decoration: none;
}

.motoapi-box {
    font-size: 14px;
    line-height: 1.3;
}

.motoapi-box * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    line-height: 1.3;
}

.motoapi-box .price {
    color: #e40011;
}

.motoapi-box .news_headline2 {
    border: none;
    border-bottom: 3px solid #000;
    margin: 10px 0;
    position: relative;
    padding: 0 15px 5px 0;
    height: auto;
    line-height: 36px;
    font-size: 20px;
}

.motoapi-box .news_headline2 img {
    position: absolute;
    max-width: 100px;
    right: 0;
    bottom: -3px;
    border-bottom: 3px solid #e71f22;
    padding-bottom: 10px;
}

.motoapi-box .sp-only {
    display: initial!important;
}

.motoapi-box .pc-only {
    display: none!important;
}

.motoapi-box .disabled {
    opacity: 0.5 !important;
    pointer-events: none !important;
    cursor: default !important;
}

/* bxSlider CSS */
.motoapi-box .bx-wrapper {
    position: relative;
    min-height: 150px;
    padding-bottom: 20px;
    margin-bottom: 15px;
    background-image: none;
}

.motoapi-box .bx-pager {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

.motoapi-box .bx-pager .bx-pager-item {
    display: inline;
}

.motoapi-box .bx-pager .bx-pager-item a {
    overflow: hidden;
    text-indent: 10px;
    display: inline-block;
    width: 35px;
    height: 5px;
    border: 1px #fff solid;
    vertical-align: top;
    /* border-radius: 50%; */
    padding: 0;
    margin: 5px 4px;
    background-color: #b6b6b6;
    -webkit-transition: background-color 0.2s ease;
    transition: background-color 0.2s ease;
    text-indent: 99999px;
}

.motoapi-box .bx-pager .bx-pager-item a.active {
    background-color: #e61e25;
}

.motoapi-box .bx-controls-direction {
    position: absolute;
    left: 0;
    right: 0;
    bottom: auto;
    top: 50%;
    margin-top: -35px;
}

.motoapi-box .bx-controls-direction .bx-prev,
.motoapi-box .bx-controls-direction .bx-next {
    background: rgba(0, 0, 0, 0.3) url(//img.webike.net/css/moto/spv2/img/sp_gallery_arrows.png) 30px 55px no-repeat;
    background-size: 70px 35px;
    display: block;
    height: 35px;
    line-height: 35px;
    overflow: hidden;
    position: absolute;
    text-indent: 100px;
    width: 25px;
    z-index: 3;
}

.motoapi-box .bx-controls-direction .bx-prev {
    background-position: 3px 0;
    left: -10px;
}

.motoapi-box .bx-controls-direction .bx-next {
    background-position: -48px 0;
    right: -10px;
}

.motoapi-box .bx-controls-direction .disabled {
    display: none;
}

.motoapi-box .bx-caption {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    left: 50px;
    right: 50px;
    bottom: 25px;
    text-align: center;
    padding: 5px;
    line-height: 1.4;
    font-size: 12rem;
    border-radius: 5px;
}


/* Box Model Products */
.post .motoapi-box1 ul {
    margin: 0 auto 15px auto;
    list-style: none;
}

.motoapi-box1 ul.list-motor {
}

.motoapi-box1 ul.list-motor .item {
    display: block;
    padding: 0 5px 5px;
    position: relative;
    font-style: normal;
}

.motoapi-box1 ul.list-motor .item .image {
    float: none;
    width: auto;
    position: relative;
}
.motoapi-box1 ul.list-motor .item .image:hover img{
    opacity:0.8;
}

.motoapi-box1 ul.list-motor .item .shinsya-badge {
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0;
    left: 0;
    background: url(//img.webike.net/css/moto/pcv2/img/pc_icons.png) -440px 0 no-repeat;
    z-index: 1;
    overflow: hidden;
    line-height: 40px;
    text-indent: 100px;
}

.motoapi-box1 ul.list-motor .item img {
    display: block;
    vertical-align: top;
    text-align: center;
    object-fit: contain;
    -o-object-fit: contain;
    height: 115px;
    background: #fff;
    max-width: 100%;
    margin: auto;
}

.motoapi-box1 ul.list-motor .item .info {
    margin: 10px 0 0 0;
    text-align: center;
}

.motoapi-box1 ul.list-motor .item .info address,
.motoapi-box1 ul.list-motor .item .info .point {
    color: #000;
    font-size: 12px;
    font-style: normal;
}

.motoapi-box1 ul.list-motor .item .info address {
    text-align: left;
    margin-top: 5px;
}

.motoapi-box1 ul.list-motor .item .info address a {
    color: #066aa7;
    text-decoration: underline;
}

.motoapi-box1 ul.list-button {
    margin-bottom: 0;
}

/* Box Model Pricing */
@media screen and (min-width: 640px) {
    .motoapi-box .sp-only {
        display: none!important;
    }

    .motoapi-box .pc-only {
        display: initial!important;
    }
}

.motoapi-box1 .info big {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.motoapi-box1 .info big span {
    font-size: 18px;
}

.motoapi-box1 .info big span em {
    font-size: 14px;
}

@media (max-width: 640px) {
    .motoapi-box1 .info big span {
        display: block;
    }
}

/* BOX 4 */
.motoapi-box4 {
    margin-bottom: 40px;
}

.motoapi-box4 .block-img {
    padding: 0 5px;
    display: table;
}

.motoapi-box4 .block-img .photo {
    border-radius: 100%;
    width: 145px;
    height: 145px;
    object-fit: cover;
    margin-right: 25px;
    vertical-align: middle;
    display: table-cell;
}

.motoapi-box4 .block-img h3 {
    display: inline;
    font-size: 25px;
    vertical-align: middle;
    display: table-cell;
}

.motoapi-box4 .noted {
    margin-bottom: 5px;
    text-align: right;
    position: ra;
}

.motoapi-box4 table.price-info {
    border-collapse: collapse;
    line-height: 1;
}

.motoapi-box4 table.price-info th,
.motoapi-box4 table.price-info td {
    border: 1px solid #b5b5b5;
    text-align: center;
    padding: 15px 10px;
}

.motoapi-box4 table.price-info p {
    margin-bottom: 0;
    line-height: 1.4;
}

.motoapi-box4 table.price-info .tbig {
    font-weight: bold;
    font-size: 18px;
}

.motoapi-box4 table.price-info .middle-title {
    font-size: 15px;
}

.motoapi-box4 table.price-info .price-info-title {
    font-size: 18px;
    width: 40%;
}

.motoapi-box4 table.price-info .price-info-title span {
    font-size: 20px;
}

.motoapi-box4 table.price-info thead {
    background: #efefef;
}

.motoapi-box4 table.price-info .price-info-title.new {
    background: #f9c83d;
}

.motoapi-box4 table.price-info .price-info-title.old {
    background: #41608f;
    color: #fff;
}

.motoapi-box4 table.price-info .sp {
    display: none;
}

.motoapi-box4 .group-button {
    overflow: hidden;
}

.motoapi-box4 .group-button .btn {
    float: left;
    margin-top: 15px;
    overflow: hidden;
    padding: 20px 0;
    text-align: center;
    color: #333;
    font-weight: bold;
    font-size: 18px;
    width: -webkit-calc((100% - 15px) / 2);
    width: -moz-calc((100% - 15px) / 2);
    width: calc((100% - 15px) / 2);
    line-height: 1;
}

.motoapi-box4 .group-button .btn.new {
    background: #f9c83d;
    margin-right: 15px;
	border:1px solid #f9c83d;
}
.motoapi-box4 .group-button .btn.new:hover{
	background:#fff;
	color:#f9c83d;
}

.motoapi-box4 .group-button .btn.old {
    background: #41608f;
    color: #fff;
	border:1px solid #41608f;
}
.motoapi-box4 .group-button .btn.old:hover{
	background:#fff;
	color:#41608f;
}
.motoapi-box4 .btn.btn-search {
    display: block;
    text-align: center;
    margin-top: 15px;
    border: 1px solid #e40011;
    color: #e40011;
    font-weight: bold;
    padding: 15px;
    font-size: 16px;
}
.motoapi-box4 .btn.btn-search:hover{
	background:#e40011;
	color:#ffffff;
}
@media (max-width: 640px) {
    .motoapi-box .news_headline2 {
        border-bottom: none;
        border-left: 5px solid #000;
        line-height: 20px;
        padding: 35px 0 0 10px;
    }

    .motoapi-box .news_headline2 img {
        top: 0;
        left: -5px;
        border-bottom: 0;
        border-left: 5px solid #e71f22;
        padding: 0 0 0 10px;
        max-width: 110px;
    }

    .motoapi-box4 table.price-info .sp {
        display: block;
    }

    .motoapi-box4 table.price-info .pc {
        display: none;
    }

    .motoapi-box4 .noted {
        font-size: 11px;
    }

    .motoapi-box4 table.price-info .middle-title {
        display: none;
    }

    .motoapi-box4 table.price-info .price-info-title {
        width: 50%;
    }

    .motoapi-box4 .block-img h3 {
        font-size: 20px;
    }

    .motoapi-box4 table.price-info td {
        vertical-align: top;
    }

    .motoapi-box4 table.price-info tbody tr:nth-child(1) td {
        border-bottom: 0;
        padding-bottom: 0;
        vertical-align: text-bottom;
    }

    .motoapi-box4 table.price-info tbody tr:nth-child(2) td {
        border-top: 0;
        padding-top: 5px;
    }

    .motoapi-box4 .block-img .photo {
        width: 100px;
        height: 100px;
        margin-right: 10px;
    }
}

/* ----------------------------------------------------------------------
 カスタム諸々
---------------------------------------------------------------------- */

/* 190802 ページネーション */
.pagination {
	color:red;
	padding: 1em;
	border: solid 1px #999;
	border-radius: 0.5em;
	background-color: #f5f5f5;
	font-size: large;
	font-weight: bold;
}

