@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/* 固定ページの日付は表示しない */
.page .date-tags {
  display: none;
}

/* 共通追加 */
a:hover {
  opacity: 0.7;
}

.section {
  padding: 50px 0;
}

/* サブタイトル */
.article .sub-title {
  margin-bottom: 5px;
  color: #f00;
  font-size: 16px;
  display: inline-block;
  border: 2px solid #f00;
  padding: 0 8px;
  font-weight: bold;
}


/* ---製品個別ページ--- */
.single-product__flex {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.single-product-thumbnail {
  width: 48%;
}

.single-product-body {
  width: 48%;
}

.single-product-section {
  margin-bottom: 20px;
}

.single-product-body h1 {
  font-size: 24px;
}

.single-product-body h2 {
  font-size: 13px;
}

.product-no,
.product-price {
  font-size: 20px;
}

.single-product-content p {
  font-size: 13px;
}

.main-btn {
  border: 1px solid #555;
  display: block;
  width: 300px;
  margin: 0 auto;
  text-align: center;
  padding: 10px 0;
}

.main-btn a {
  color: inherit;
  text-decoration: none;
  display: block;
}

/* ---製品一覧ページ--- */
.product-lists {
  margin-top: 20px;
  margin-bottom: 30px;
}

.product-lists ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.product-lists ul li {
  width: 32%;
  margin-right: 2%;
  margin-bottom: 20px;
}

.product-lists ul li:nth-of-type(3n) {
  margin-right: 0;
}

.product-lists ul li img {
  vertical-align: bottom;
}

.product-lists .product-no {
  font-size: 14px;
  line-height: 1;
}

.product-lists ul li a {
  color: inherit;
  text-decoration: none;
  font-size: 15px;
  display: block;
}

@media screen and (max-width:767px) {
  .product-lists ul {
    display: block;
  }

  .product-lists ul li {
    width: 100%;
  }
}

/* トップページ */
.main-visual img {
  width: 100%;
}

.news-lists {
  margin-bottom: 50px;
}

.news-lists ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-lists ul a {
  color: inherit;
  text-decoration: none;
  padding: 20px;
  border-bottom: 1px solid #555;
  display: block;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px) {
  /*必要ならばここにコードを書く*/
}