@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
*/

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

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

/* Review site */
.ccr-page {
  color: #26221e;
  margin: 0 auto;
  max-width: 1180px;
  padding: 34px 20px 64px;
}

.ccr-tabs {
  align-items: center;
  background: #fff;
  border: 1px solid #e2d8cc;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(56, 44, 30, 0.06);
  display: flex;
  gap: 6px;
  margin: 0 0 22px;
  overflow-x: auto;
  padding: 8px;
  position: sticky;
  top: 0;
  z-index: 3;
}

.ccr-tabs a {
  border-radius: 8px;
  color: #4a4037;
  flex: 0 0 auto;
  font-weight: 700;
  line-height: 1.25;
  padding: 10px 14px;
  text-decoration: none;
}

.ccr-tabs a:hover,
.ccr-tabs a.is-active {
  background: #2d2a26;
  color: #fff;
}

.ccr-hero,
.ccr-archive-header,
.ccr-single-header {
  background:
    linear-gradient(135deg, rgba(247, 241, 232, 0.96), rgba(255, 252, 247, 0.94)),
    repeating-linear-gradient(90deg, rgba(129, 94, 59, 0.08) 0, rgba(129, 94, 59, 0.08) 1px, transparent 1px, transparent 18px);
  border: 1px solid #e4d9c9;
  border-radius: 8px;
  margin-bottom: 30px;
  padding: 36px;
}

.ccr-hero h1,
.ccr-archive-header h1,
.ccr-single-header h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.18;
  margin: 0 0 16px;
}

.ccr-hero p,
.ccr-archive-header p,
.ccr-section-heading p {
  color: #665f55;
  font-size: 1rem;
  line-height: 1.9;
  margin: 0;
}

.ccr-kicker {
  color: #8c5e32;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.ccr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.ccr-stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 26px;
}

.ccr-stats span {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #eadfce;
  border-radius: 8px;
  color: #655b51;
  display: grid;
  gap: 4px;
  line-height: 1.25;
  padding: 13px 14px;
}

.ccr-stats strong {
  color: #2d2a26;
  font-size: 1.35rem;
}

.ccr-hero-actions a,
.ccr-filter button,
.ccr-review-link a {
  background: #2d2a26;
  border: 1px solid #2d2a26;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  line-height: 1.3;
  padding: 11px 16px;
  text-decoration: none;
}

.ccr-hero-actions a:nth-child(2n) {
  background: #7b5d40;
  border-color: #7b5d40;
}

.ccr-section {
  margin-top: 42px;
}

.ccr-section-heading {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.ccr-section-heading h2 {
  font-size: 1.7rem;
  margin: 0 0 6px;
}

.ccr-text-link {
  color: #8c5e32;
  font-weight: 700;
  white-space: nowrap;
}

.ccr-review-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ccr-review-card {
  background: #fff;
  border: 1px solid #e6dfd5;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(56, 44, 30, 0.08);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.ccr-review-card:hover {
  border-color: #cdbb9e;
  box-shadow: 0 20px 44px rgba(56, 44, 30, 0.13);
  transform: translateY(-2px);
}

.ccr-card-thumb {
  aspect-ratio: 16 / 10;
  background: #ddd3c5;
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.ccr-card-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ccr-no-thumb {
  align-items: center;
  color: #6b5a49;
  display: flex;
  font-size: 1.15rem;
  font-weight: 700;
  height: 100%;
  justify-content: center;
}

.ccr-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.ccr-card-meta,
.ccr-single-meta {
  align-items: center;
  color: #746b61;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.86rem;
  gap: 12px;
}

.ccr-card-title {
  font-size: 1.14rem;
  line-height: 1.45;
  margin: 0;
}

.ccr-card-title a {
  color: #26221e;
  text-decoration: none;
}

.ccr-rating {
  align-items: center;
  display: inline-flex;
  gap: 2px;
  line-height: 1;
  white-space: nowrap;
}

.ccr-star {
  color: #d7cec0;
  display: inline-block;
  font-size: 1.12rem;
  position: relative;
}

.ccr-star.is-full {
  color: #c1842d;
}

.ccr-star.is-half,
.ccr-star.is-partial {
  color: #d7cec0;
}

.ccr-star.is-half::before,
.ccr-star.is-partial::before {
  color: #c1842d;
  content: "★";
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  width: 50%;
}

.ccr-star.is-partial::before {
  width: 0;
}

.ccr-star.fill-10::before {
  width: 10%;
}

.ccr-star.fill-20::before {
  width: 20%;
}

.ccr-star.fill-30::before {
  width: 30%;
}

.ccr-star.fill-40::before {
  width: 40%;
}

.ccr-star.fill-50::before {
  width: 50%;
}

.ccr-star.fill-60::before {
  width: 60%;
}

.ccr-star.fill-70::before {
  width: 70%;
}

.ccr-star.fill-80::before {
  width: 80%;
}

.ccr-star.fill-90::before {
  width: 90%;
}

.ccr-rating-number {
  color: #574b3e;
  font-size: 0.9rem;
  font-weight: 700;
  margin-left: 6px;
}

.ccr-rating-empty {
  color: #827a70;
  font-size: 0.9rem;
}

.ccr-card-tax,
.ccr-single-tax,
.ccr-series-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ccr-card-tax a,
.ccr-single-tax a,
.ccr-series-links a {
  background: #f2ece3;
  border-radius: 999px;
  color: #66523f;
  display: inline-flex;
  font-size: 0.78rem;
  line-height: 1.2;
  padding: 6px 10px;
  text-decoration: none;
}

.ccr-series-links {
  align-items: center;
}

.ccr-series-links > span {
  color: #746b61;
  font-size: 0.78rem;
  font-weight: 700;
}

.ccr-series-links a {
  background: #e9f0ee;
  color: #36564f;
}

.ccr-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ccr-detail-chips span {
  background: #fff8ed;
  border: 1px solid #eadcc8;
  border-radius: 999px;
  color: #68513a;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 5px 9px;
}

.ccr-card-excerpt {
  color: #5d554d;
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0;
}

.ccr-filter {
  align-items: end;
  background: #fff;
  border: 1px solid #e6dfd5;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 24px;
  padding: 18px;
}

.ccr-filter label {
  display: grid;
  gap: 6px;
  margin: 0;
}

.ccr-filter span {
  color: #665f55;
  font-size: 0.82rem;
  font-weight: 700;
}

.ccr-filter select,
.ccr-filter input[type="number"] {
  border: 1px solid #d8cdc0;
  border-radius: 8px;
  min-height: 42px;
  padding: 8px 10px;
  width: 100%;
}

.ccr-filter button {
  cursor: pointer;
  min-height: 42px;
}

.ccr-check-filter {
  align-items: center;
  display: flex;
  gap: 8px;
  min-height: 42px;
}

.ccr-check-filter input {
  margin: 0;
}

.ccr-single {
  max-width: 900px;
}

.ccr-review-single {
  background: #fff;
  border: 1px solid #e6dfd5;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(56, 44, 30, 0.07);
  overflow: hidden;
}

.ccr-review-single .ccr-single-header {
  border: 0;
  border-radius: 0;
  margin: 0;
}

.ccr-single-thumb {
  margin: 0;
}

.ccr-single-thumb img {
  display: block;
  height: auto;
  width: 100%;
}

.ccr-content {
  font-size: 1.03rem;
  line-height: 2;
  padding: 34px 36px;
}

.ccr-review-link {
  padding: 0 36px 36px;
}

.ccr-empty {
  color: #665f55;
  grid-column: 1 / -1;
  margin: 0;
}

.ccr-pagination {
  margin-top: 34px;
}

.ccr-series-block {
  background: #fbfaf7;
  border: 1px solid #e7ded2;
  border-radius: 8px;
  margin-top: 28px;
  padding: 22px;
}

.ccr-series-nav {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 20px;
}

.ccr-series-nav a {
  background: #fff;
  border: 1px solid #e1d8cb;
  border-radius: 8px;
  color: #2d2a26;
  display: grid;
  font-weight: 700;
  gap: 4px;
  line-height: 1.45;
  padding: 14px;
  text-decoration: none;
}

.ccr-series-nav span {
  color: #7b7065;
  font-size: 0.78rem;
  font-weight: 700;
}

.ccr-sidebar {
  color: #2d2a26;
}

.ccr-side-box {
  background: #fff;
  border: 1px solid #e6dfd5;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(56, 44, 30, 0.06);
  margin-bottom: 18px;
  padding: 18px;
}

.ccr-side-box h3 {
  border-bottom: 1px solid #eadfce;
  font-size: 1rem;
  margin: 0 0 12px;
  padding-bottom: 10px;
}

.ccr-side-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ccr-side-list li {
  border-bottom: 1px solid #f1eadf;
  display: grid;
  gap: 5px;
  padding-bottom: 10px;
}

.ccr-side-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ccr-side-list a {
  color: #312b25;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}

.ccr-side-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ccr-side-tags a {
  background: #f2ece3;
  border-radius: 999px;
  color: #66523f;
  display: inline-flex;
  font-size: 0.82rem;
  padding: 7px 10px;
  text-decoration: none;
}

.ccr-side-search form {
  display: grid;
  gap: 8px;
}

.ccr-side-search input[type="search"] {
  border: 1px solid #d8cdc0;
  border-radius: 8px;
  min-height: 42px;
  padding: 8px 10px;
  width: 100%;
}

.ccr-side-search button {
  background: #2d2a26;
  border: 1px solid #2d2a26;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  min-height: 42px;
}

@media screen and (max-width: 1023px) {
  .ccr-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ccr-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ccr-tabs {
    position: static;
  }
}

@media screen and (max-width: 640px) {
  .ccr-page {
    padding: 22px 14px 46px;
  }

  .ccr-hero,
  .ccr-archive-header,
  .ccr-single-header {
    padding: 24px 18px;
  }

  .ccr-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .ccr-review-grid,
  .ccr-filter,
  .ccr-stats,
  .ccr-series-nav {
    grid-template-columns: 1fr;
  }

  .ccr-hero-actions a,
  .ccr-filter button {
    width: 100%;
  }

  .ccr-content {
    padding: 26px 20px;
  }

  .ccr-review-link {
    padding: 0 20px 28px;
  }
}

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

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