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

/*
==============================================================
  MDL.make ゲーミングPC 記事用カスタムCSS
  → ダッシュボード > 外観 > テーマエディター > Cocoon Child: style.css
    の末尾に追記してください
==============================================================
*/

/* ============ ラッパー ============ */
.mdl-wrap {
  font-family: 'Noto Sans JP', sans-serif;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* ============ ヒーローバナー ============ */
.mdl-hero {
  background: linear-gradient(135deg, #0d0f14 0%, #131a2e 60%, #0d1520 100%);
  border-radius: 12px;
  padding: 40px 24px 48px;
  text-align: center;
  margin-bottom: 40px;
  border: 1px solid rgba(0,200,255,0.2);
  position: relative;
  overflow: hidden;
}
.mdl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 25% 50%, rgba(0,200,255,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.mdl-hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #00cfff;
  border: 1px solid rgba(0,200,255,0.5);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 16px;
}
.mdl-hero-title {
  font-size: clamp(24px, 4.5vw, 46px) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  color: #ffffff !important;
  margin: 0 0 14px !important;
  border: none !important;
  padding: 0 !important;
}
.mdl-hero-title::before,
.mdl-hero-title::after { display: none !important; }
.mdl-hero-title span { color: #00cfff; }
.mdl-hero-desc {
  color: #9aa5c0;
  font-size: 14px;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* ============ セクションタイトル ============ */
.mdl-section-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #00cfff !important;
  border-left: 4px solid #00cfff !important;
  border-bottom: none !important;
  padding: 4px 0 4px 14px !important;
  margin: 44px 0 20px !important;
  background: none !important;
}
.mdl-section-title::before,
.mdl-section-title::after { display: none !important; }

/* ============ 比較表 ============ */
.mdl-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 40px; }
.mdl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 680px;
}
.mdl-table thead tr {
  background: #131a2e;
}
.mdl-table th {
  padding: 11px 13px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #00cfff;
  border-bottom: 2px solid rgba(0,200,255,0.25);
  white-space: nowrap;
}
.mdl-table td {
  padding: 10px 13px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #d8dce8;
  vertical-align: middle;
  font-size: 13px;
  background: #141720;
}
.mdl-table tbody tr:nth-child(even) td { background: #1a1f2e; }
.mdl-table tbody tr:hover td { background: rgba(0,200,255,0.06); }
.mdl-model-id { color: #7a8399; font-size: 10px; font-family: monospace; }
.mdl-price { font-size: 15px; font-weight: 700; color: #ff5555; }
.mdl-price-orig { color: #7a8399; font-size: 11px; }
.mdl-tag-sale {
  display: inline-block;
  background: #ff5555;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  vertical-align: middle;
}
.mdl-ship-fast {
  display: inline-block;
  background: rgba(0,200,255,0.12);
  color: #00cfff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.mdl-ship-slow {
  display: inline-block;
  background: rgba(245,197,24,0.12);
  color: #e6b800;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

/* ============ PCカード ============ */
.mdl-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,200,255,0.15);
  margin-bottom: 28px;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.mdl-card:hover {
  box-shadow: 0 8px 32px rgba(0,200,255,0.1);
  border-color: rgba(0,200,255,0.35);
}
/* カードヘッダー（ティア別色） */
.mdl-card-head {
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mdl-tier-entry  { background: linear-gradient(135deg, #0e1825, #102030); }
.mdl-tier-mid    { background: linear-gradient(135deg, #160e28, #1e1040); }
.mdl-tier-high   { background: linear-gradient(135deg, #1c1600, #2a2000); }
.mdl-tier-flagship { background: linear-gradient(135deg, #1e0a0a, #2e1010); }
.mdl-tier-intel  { background: linear-gradient(135deg, #0a1520, #0e2030); }

.mdl-tier-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: #9aa5c0;
}
.mdl-card-head h4 {
  font-size: 19px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 10px !important;
  line-height: 1.25 !important;
  border: none !important;
  padding: 0 !important;
}
.mdl-card-head h4::before,
.mdl-card-head h4::after { display: none !important; }
.mdl-price-block { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mdl-card-price { font-size: 26px; font-weight: 800; color: #ff5555; line-height: 1; }
.mdl-card-orig { font-size: 13px; color: #7a8399; }
.mdl-discount-badge {
  font-size: 12px;
  font-weight: 700;
  background: rgba(255,85,85,0.15);
  color: #ff5555;
  border: 1px solid rgba(255,85,85,0.3);
  padding: 2px 9px;
  border-radius: 100px;
}
/* カードボディ */
.mdl-card-body { padding: 18px 20px 12px; background: #141720; }
.mdl-spec-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  margin: 0 0 14px;
  font-size: 13px;
}
.mdl-spec-list dt {
  font-size: 11px;
  font-weight: 700;
  color: #7a8399;
  letter-spacing: 0.5px;
  white-space: nowrap;
  padding-top: 2px;
}
.mdl-spec-list dd {
  color: #d8dce8;
  margin: 0;
  line-height: 1.5;
}
.mdl-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.mdl-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid;
}
.mdl-tag-blue   { color: #00cfff; border-color: rgba(0,200,255,0.35); background: rgba(0,200,255,0.07); }
.mdl-tag-red    { color: #ff5555; border-color: rgba(255,85,85,0.35);  background: rgba(255,85,85,0.07); }
.mdl-tag-yellow { color: #e6b800; border-color: rgba(230,184,0,0.35);  background: rgba(230,184,0,0.07); }
.mdl-tag-green  { color: #4ade80; border-color: rgba(74,222,128,0.35); background: rgba(74,222,128,0.07); }
.mdl-tag-gray   { color: #9aa5c0; border-color: rgba(154,165,192,0.3); background: rgba(154,165,192,0.06); }

.mdl-comment {
  font-size: 13px;
  color: #9aa5c0;
  line-height: 1.8;
  margin: 0;
}
/* カードフッター */
.mdl-card-footer {
  background: #1a1f2e;
  padding: 12px 20px 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.mdl-ship-info {
  font-size: 12px;
  color: #7a8399;
}

/* Cocoon囲みボタン（btn-wrap）のカード内スタイル上書き */
.mdl-card-footer .btn-wrap a {
  background: linear-gradient(135deg, #00cfff, #0099cc) !important;
  color: #000 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  border-radius: 8px !important;
  padding: 10px 22px !important;
  text-decoration: none !important;
  letter-spacing: 0.5px;
}
.mdl-card-footer .btn-wrap a:hover {
  opacity: 0.85 !important;
  color: #000 !important;
}

/* ============ 免責文 ============ */
.mdl-disclaimer {
  font-size: 11px;
  color: #7a8399;
  line-height: 1.8;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ============ レスポンシブ ============ */
@media (max-width: 640px) {
  .mdl-hero { padding: 28px 16px 36px; }
  .mdl-card-head, .mdl-card-body, .mdl-card-footer { padding-left: 14px; padding-right: 14px; }
  .mdl-card-footer { flex-direction: column; align-items: flex-start; }
  .mdl-card-footer .btn-wrap { width: 100%; text-align: center; }
  .mdl-spec-list { grid-template-columns: 1fr; }
  .mdl-spec-list dt { margin-top: 6px; }
  .mdl-spec-list dd { margin-left: 8px; }
}

