@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){
  /*必要ならばここにコードを書く*/
}

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

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

.hg-product-top {
  margin: 24px 0 32px;
}

.hg-product-top .column-left,
.hg-product-top .column-right,
.hg-product-top-gallery,
.hg-product-top-specs {
  min-width: 0;
}

.hg-item-block {
  margin: 0;
}

.hg-gallery {
  margin: 0 0 24px;
}

.hg-gallery-main {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #f5f5f5;
  cursor: zoom-in;
}

.hg-gallery-main-image {
  display: block;
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  background: #fff;
}

.hg-gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  position: relative;
  z-index: 2;
}

.hg-gallery-thumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 88px;
  height: 88px;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}

.hg-gallery-thumb.is-active {
  border-color: #111;
}

.hg-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hg-gallery-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(9, 14, 20, 0.82);
  z-index: 99999;
}

.hg-gallery-lightbox.is-open {
  display: flex;
}

.hg-gallery-lightbox-image {
  max-width: min(96vw, 1400px);
  max-height: 90vh;
  border-radius: 16px;
  background: #fff;
}

.hg-gallery-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-width: 48px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.hg-status {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.hg-status-preorder_open {
  background: #ffe7a8;
  color: #6b4e00;
}

.hg-status-preorder_soon {
  background: #e4ecff;
  color: #1f3f8f;
}

.hg-status-preorder_closed {
  background: #ffd9d9;
  color: #8a2323;
}

.hg-status-on_sale {
  background: #d9f7df;
  color: #17603a;
}

.hg-status-release_waiting {
  background: #e8e1ff;
  color: #4f3a8a;
}

.hg-status-ended {
  background: #ececec;
  color: #555555;
}

.hg-status-unknown {
  background: #f3f3f3;
  color: #666666;
}

.hg-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.hg-spec {
  padding: 14px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #ffffff;
  box-sizing: border-box;
}

.hg-label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: #666666;
  line-height: 1.4;
}

.hg-value {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #222222;
  line-height: 1.7;
  word-break: break-word;
}

.hg-value a,
.hg-shop-link {
  color: #0f5cc0;
  text-decoration: none;
}

.hg-value a:hover,
.hg-shop-link:hover {
  text-decoration: underline;
}

.hg-actions {
  margin-top: 16px;
}

.hg-description-block {
  margin: 32px 0 0;
}

.hg-description-title {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.4;
}

.hg-description-body p {
  margin: 0 0 1em;
  line-height: 1.9;
}

.hg-button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.hg-button:hover {
  background: #333333;
  color: #ffffff;
}

@media (max-width: 960px) {
  .hg-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hg-spec-grid {
    grid-template-columns: 1fr;
  }

  .hg-spec {
    padding: 12px 14px;
  }

  .hg-gallery-thumb {
    width: 72px;
    height: 72px;
  }
}

.hg-taxonomies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.hg-taxonomy-item {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f4f4f4;
  color: #333;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.hg-taxonomy-item:hover {
  opacity: 0.9;
  text-decoration: none;
}

.hg-taxonomy-goods_status {
  background: #ffe8a3;
  color: #6b4e00;
}

.hg-taxonomy-holo_group {
  background: #ffe1cf;
  color: #9b4b1e;
}

.hg-filter-app {
  margin: 24px 0 40px;
}

.hg-archive-header {
  margin: 0 0 20px;
}

.hg-archive-title {
  margin-bottom: 10px;
}

.hg-archive-description {
  color: #666;
  line-height: 1.8;
}

body.archive.column-full-wide .content-in.wrap,
body.archive.column-full-wide .content-in,
body.category.column-full-wide .content-in.wrap,
body.category.column-full-wide .content-in,
body.tax.column-full-wide .content-in.wrap,
body.tax.column-full-wide .content-in,
body.tag.column-full-wide .content-in.wrap,
body.tag.column-full-wide .content-in,
body.home.column-full-wide .content-in.wrap,
body.home.column-full-wide .content-in,
body.blog.column-full-wide .content-in.wrap,
body.blog.column-full-wide .content-in,
body.front-top-page.column-full-wide .content-in.wrap,
body.front-top-page.column-full-wide .content-in {
  width: 100%;
  max-width: none;
}

body.front-top-page.column-full-wide #content,
body.home.column-full-wide #content,
body.blog.column-full-wide #content {
  width: 100%;
  max-width: none;
}

body.archive.column-full-wide.no-sidebar .content .main,
body.category.column-full-wide.no-sidebar .content .main,
body.tax.column-full-wide.no-sidebar .content .main,
body.tag.column-full-wide.no-sidebar .content .main,
body.home.column-full-wide.no-sidebar .content .main,
body.blog.column-full-wide.no-sidebar .content .main,
body.front-top-page.column-full-wide.no-sidebar .content .main {
  width: 100%;
  max-width: none;
}

.hg-filter-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  justify-content: flex-start;
}

.hg-filter-toggle,
.hg-filter-reset {
  padding: 10px 14px;
  border: none;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.hg-filter-sort-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.hg-filter-sort-label {
  font-size: 13px;
  font-weight: 700;
  color: #555;
  white-space: nowrap;
  flex: 0 0 auto;
}

.hg-filter-sort {
  min-width: 124px;
  padding: 10px 36px 10px 12px;
  border: 1px solid #dcdcdc;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.hg-filter-reset {
  background: #f1f1f1;
  color: #444;
}

.hg-filter-panel {
  display: grid;
  gap: 18px;
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid #ececec;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.22s ease, margin 0.22s ease, padding 0.22s ease;
}

.hg-filter-panel.is-collapsed {
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
}

.hg-filter-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  margin-bottom: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
  border-width: 1px;
}

.hg-filter-group {
  display: grid;
  gap: 10px;
}

.hg-filter-label {
  font-size: 14px;
  font-weight: 700;
  color: #555;
}

.hg-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hg-filter-button {
  padding: 10px 14px;
  border: 1px solid #e4e4e4;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.hg-filter-clear {
  background: #f6f6f6;
}

.hg-filter-button.is-active {
  background: #333;
  border-color: #333;
  color: #fff;
}

.hg-filter-meta {
  margin-bottom: 16px;
  color: #666;
  font-size: 13px;
}

.hg-filter-meta:empty {
  display: none;
}

.hg-filter-pagination {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.hg-filter-more {
  padding: 12px 20px;
  border: none;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.hg-card-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.hg-card {
  width: 100%;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hg-card-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1.28;
  background: #f5f5f5;
  overflow: hidden;
}

.hg-card-main-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hg-card-image-wrap-empty {
  background: linear-gradient(135deg, #f2f2f2, #fafafa);
}

.hg-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.hg-card-link:hover .hg-card-image {
  transform: scale(1.04);
}

.hg-card-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.12) 26%, rgba(0, 0, 0, 0.1) 58%, rgba(0, 0, 0, 0.78)),
    linear-gradient(135deg, rgba(10, 10, 10, 0.14), rgba(10, 10, 10, 0));
  pointer-events: none;
  z-index: 1;
}

.hg-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 14px 12px 12px;
  pointer-events: none;
}

.hg-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hg-card-chips-top {
  position: absolute;
  top: 12px;
  left: 10px;
  right: 10px;
  z-index: 3;
  margin-bottom: 0;
}

.hg-card-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #333;
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.hg-card-chip-goods_status {
  background: #fff0b8;
  color: #7a5600;
}

.hg-card-chip-holo_group {
  background: #ffe2d4;
  color: #9a4318;
}

.hg-card-chip-goods_type {
  background: #e6f0ff;
  color: #2453a6;
}

.hg-card-title {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.45;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hg-card-title-link {
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
}

.hg-card-title-link:hover {
  color: inherit;
  text-decoration: none;
}

.hg-card-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hg-card-date-top {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-weight: 700;
  pointer-events: none;
}

.hg-filter-empty {
  padding: 24px 0;
  color: #666;
}

.hg-filter-app.is-loading .hg-filter-results {
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

@media screen and (max-width: 1400px){
  .hg-card-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media screen and (max-width: 1200px){
  .hg-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

  .hg-card-image-wrap {
    aspect-ratio: 1 / 1.2;
  }

  .hg-card-title {
    font-size: 16px;
  }
}

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

  .hg-card-image-wrap {
    aspect-ratio: 1 / 1.08;
  }
}

@media screen and (max-width: 480px){
  .hg-filter-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .hg-card-grid {
    grid-template-columns: 1fr;
  }

  .hg-filter-button {
    font-size: 13px;
    padding: 9px 12px;
  }

  .hg-filter-toggle {
    width: 100%;
  }

  .hg-filter-reset {
    width: 100%;
  }

  .hg-card-image-wrap {
    aspect-ratio: 4 / 5;
  }

  .hg-card-title {
    font-size: 18px;
    line-height: 1.45;
  }

  .hg-card-chip {
    font-size: 12px;
  }
}
