/*
Theme Name: Yanoman
Theme URI: http://www.yanoman.xyz
Description: Yanoman
Version: 1.0
Author:dcWORKS
Author URI: https://www.dcworks.jp/
*/

body.post-type-archive-products .hd-right ul li:nth-child(1) a,
body.company .hd-right ul li:nth-child(2) a,
body.support .hd-right ul li:nth-child(3) a{
    border-bottom: 2px #333 solid;
}

@media screen and (max-width: 1000px) {
    body.post-type-archive-products .gnavi-sp ul li:nth-child(1) a,
    body.company .gnavi-sp ul li:nth-child(2) a,
    body.support .gnavi-sp ul li:nth-child(3) a {
       color: #ffaaca;
    }
}

body.support .lower-nav li:nth-child(1),
body.company .lower-nav li:nth-child(1) {
    background: #ccc;
}

body.post-type-archive-products{
    padding-top: 69px;
}
@media screen and (max-width: 1000px) {
    body.post-type-archive-products{
        padding-top: 0
    }
}

#product-category .menu .current,
#product-category div.index .current {
  color: #ff2f7d;
}

.breadcrumb strong {
    font-weight:normal;
    margin-left:10px;
}
.breadcrumb .inner a {
    margin-right:10px;
}
.breadcrumb span.search-everything-highlight-color {
    background-color:inherit !important;
}

.search-bar ul li:last-child {
    height:inherit;
}

.breadcrumb .inner {
    flex-wrap: wrap;
}

/* フォーム */

.submit {
    margin-bottom:10px !important;
}

span.mwform-file-delete {
    margin-left:100px;
}

input[type="file"] {
    padding-top:20px;
}

/* TOPのバナーエリア */

h2.widgettitle {
    display:none;
}
.widget.widget_sp_image img {
    height:inherit;
}

/* 製品のページナビ */
.pagenav li {
    margin-right:5px;
}

/* 製品のページナビ追加 */
#product-category div.index .left {
    width: 100%;
    padding: 0 20px;
}

#product-category .pagenav div.index .left li:nth-child(1) {
    width: 28%;
    text-align: left;
}

#product-category div.index .left li:nth-child(2) {
    width: 100%;
    text-align: left;
}

#product-category div.index .left ul.inner {
 width:inherit;}

#product-category div.index .left li:nth-child(2) {
	width:100%;
}

#product-category div.index .right {
 width:inherit;
}
#product-category div.index .right {
    width: inherit;
    margin-right: 20px;
}

/* 製品のページナビ追加ここまで */


/*
form.taxselect:before {
    content:'絞り込み：';
}
 */

form.taxselect {
    text-align:right;
}

form.taxselect select {
    font-size:15px;
    border: none;
    height: 40px;
    font-size: 15px;
    background-color: #f7f7f7;
}
@media screen and (max-width: 1000px) {
    form.taxselect {
    text-align:left;
    }
    form.taxselect select {
        width:100%;
    }
    form.taxselect {
        line-height:2.5;
        margin-top:-12px;
    }
}

/* 上部のパンくず */
.breadcrumb.hd {
    border: none;
	padding-top: 0;
	margin-top: 0;
	margin-bottom: 20px;
}


/* 製品一覧のタグ絞り込み */
div.taxlist {
    text-align:left;
    margin-left:10px;
	line-height: 2;
}

div.taxlist::after {
	content: "";
	display: table;
	clear: both;
}

div.taxlist ul {

}

div.taxlist ul li {
    float:left;
    margin-bottom:2px;
    margin-right:5px;
}


div.taxlist ul li a {
    background: #0097c6;
    padding: 5px 13px;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-size: 13px;
}

div.taxlist ul li a:hover {
    background: #035f7b;
}

div.taxlist ul li.selected a{
    background: #035f7b;
    font-weight:bold;
}

.bread_crumb li {
    display:none;
}

.bread_crumb li:nth-last-child(2) {
    display:block;

}

.bread_crumb li:nth-last-child(1) {
    display:block;
    font-size: 13px;
    padding-top:0.2em;
}

.bread_crumb li:nth-last-child(1):before {
    content:' > '
}

div.taxlist .bread_crumb li a{
    background: #035f7b;
}

div.thistax {
    margin-bottom:10px;
}

/* タグの表示・非表示 */

div.taxlist ul li.more span {
	font-size:6px;
    margin-top:5px;
    padding:6px;
    border-radius: 50%;
    background: #eee;
	border: 1px solid #8b8b8b;
	cursor:pointer;
	-webkit-transition: all .25s;
	-moz-transition: all .25s;
	transition: all .25s;
}

div.taxlist ul li.more span:hover {
    background: #bbb;
}

.toggle {
	-webkit-transition: all .25s;
	-moz-transition: all .25s;
	transition: all .25s;
}

@media screen and (max-width: 1000px) {
	div.taxlist ul li {
	    margin-bottom:10px;
	}
	div.taxlist ul li a {
	    font-size: 15px;
	}
	.bread_crumb li:nth-last-child(1) {
	    font-size: 15px;
	}
	div.taxlist ul li.more span {
    font-size:15px;
    margin-left: 8px;
	}
}


/* 関連製品4つ並びになるよう調整 */

.lower-news-details .product-results ul.inner li {
padding:0;
margin-left:0;
}

/* ビジュアルエディタで入れるテーブルの調整 */
.lower-news-details table,#company-recruit table {
	max-width: 100%;

}

/* モバイルサイズでもパンくず表示 */
@media screen and (max-width: 1000px) {
    .breadcrumb {
    display: block;
    text-align:left;
    }
    .breadcrumb .inner p {
    display: block;
    text-align:left;
    text-indent: -10px;
    line-height:1.4;
    }
}

/* 製品一覧でcredit、piecesがどちらかしかない場合の表示 */
.product-results ul.inner li a ul.inner li.single {
    width:100%;
    text-align:center;
}
.product-results ul.inner li a ul.inner li.single p {
    text-align:center;
}
.product-results ul.inner li a ul.inner li.single p.tag {
    width:60%;
}
/*製品詳細ページの詳細テキスト（標準の投稿欄使用）*/
div.detailtext p {
    line-height:1.5;
    margin-bottom:20px;
}

/* 関連製品の表示調整 */
#faq-details .product-results p {
    padding:0;
    margin:0;
    text-align:inherit;
    line-height:1;
    letter-spacing:inherit;
}
.product-results h5 {
    margin:15px 0 0 0 !important;
    padding:0 !important;
}

.product-results ul.inner li a ul.inner {
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 5px 0 !important;
}
.product-results ul{
    padding:0 !important;
}
.lower-news-details .product-results ul.inner li a ul.inner {
    display:inline-flex;
}
.lower-news-details .product-results ul.inner li a ul.inner li p.tag {
    text-align:center;
}
#faq-details .product-results ul.inner li a ul.inner li p.tag {
    text-align:center;
    padding: 3px 5px;
}
#faq-details .product-results ul.inner li a p.price {
    color: #333;
    margin-top: 10px;
    font-size: 14px;
    text-align:center;
}
#faq-details .product-results ul.inner li a p.date {
    text-align:right;
}
@media screen and (max-width: 1000px) {
.lower-news-details .product-results ul.inner li a ul.inner li p.tag {
    text-align:left;
}
#faq-details .product-results ul.inner li a ul.inner li p.tag {
    text-align:left;
}
}

/*TOPの特集のテキストの高さ変更*/
#top-feature .box a p {
    height: 120px;
}

/* スライドスクリプトSlick用の調整 */
.lower-news-details ul.slick-dots {
	text-align: center;
	padding:0;
}

/* 画像横幅はみ出さないための調整 */
div.faq-detail img,.product-details-content img,.detailtext img {
    max-width:100%;
    height:auto;
}

/* 画像のフロート */

.alignleft {
	float: left;
	margin-right:20px;
}
.alignright {
	float: right;
	margin-left:20px;
}
.aligncenter {
    display:block;
	margin-left:auto;
	margin-right:auto;
}

/* clearfix */

.cf:after {
    content: "";
    display: block;
    clear: both;
}

/* 記事内youtube調整　2017-6-28 */
.movie-wrap {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
.movie-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 製品を探す */
.ym-find_products {

}

.ym-find_products__piece .box {
    margin-bottom: 22px;
}

@media screen and (max-width: 1000px) {
    .ym-find_products__piece .box {
        width: 48% !important;
    }
}


.ym-find_products__piece__link {
    display: block;
    border: 1px solid rgb(255, 170, 202);
    text-decoration: none;
    position: relative;
    border-radius: 5px;
    font-weight: bold;
    color: #000 !important;
}

.ym-find_products__piece__link:hover {
    color: #fff !important;
    background: rgb(255, 170, 202);
}



.ym-find_products__piece__link::before {
    content: ">";
    position: absolute;
    top: 50%;
    -webkit-transform : translateY(-50%);
    transform : translateY(-50%);
    right: 10px;
    color: rgb(255, 170, 202);
}

.ym-find_products__piece__link:hover:before {
    color: #fff;
}


.ym-find_products__piece__link p {
    padding: 15px !important;
}
