﻿@charset "UTF-8";

:root{
  --fg:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;
  --bg:#ffffff;

  --primary:#0066cc;
  --primary2:#0a53ce;
  --ghost:#f3f4f6;

  --radius: 14px;
  --shadow: 0 10px 26px rgba(0,0,0,.08);

  --fs-base: 16px;
  --fs-plus: 2px;
}

#usecase-nav {
  padding-top: 20px;
  max-width: 1290px;
  margin: 30px auto 0;
}

#usecase-nav .usecase,
#usecase-nav .ucBlock{
  color: var(--fg);
  font-size: calc(var(--fs-base) + var(--fs-plus)); /* +2px */
  line-height: 1.6;
}

#usecase-nav .usecase{
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;

}

#usecase-nav .usecase__title,
#storageFilterFeature .filterPanel__title{
  margin: 40px 0 10px;
  padding: 12px 14px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: .02em;
  background: linear-gradient(90deg, rgba(11,95,255,.12), rgba(45,212,191,.10));
  border-radius: 12px;
  position: relative;
}


#usecase-nav .usecase__title::after,
#storageFilterFeature .filterPanel__title::after{
  content:"";
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  height: 4px;
  border-radius: 999px;
  background: rgba(11,95,255,.55);
}

#usecase-nav .usecase__lead{
  margin: 15px 0;
  color: var(--muted);
  font-size: 16px;
}

/* =========
   用途ボタン
   ========= */
#usecase-nav .usecaseNav{
  display: grid;
  grid-template-columns: 1fr; /* SPは1列 */
  gap: 10px;
}

@media (min-width: 960px){
#usecase-nav .usecaseNav{
    grid-template-columns: 1fr 1fr; /* PCは2列 */
  }
}

#usecase-nav .usecaseNav__btn{
  display:flex;
  align-items:center;
  justify-content:center; /* 中央寄せ */
  text-align:center;

  width: 100%;
  min-height: 64px; /* 高さ固定 */
  padding: 12px 14px;

  border-radius: 10px;
  border: 1px solid rgba(11,95,255,.22);
  background: #fff;

  color: var(--fg);
  text-decoration:none;
  font-weight: 900;
  font-size: 16px;
  line-height: 1.25;

  transition: transform .05s ease, box-shadow .15s ease, border-color .15s ease;
}

#usecase-nav .usecaseNav__btn:hover{
  border-color: #0066cc;
}

#usecase-nav .usecaseNav__btn:active{
  transform: translateY(1px);
}

#usecase-nav .usecaseNav__btn--accent{
  border-color: rgba(245,158,11,.35);
  background: rgba(245,158,11,.08);
}

#usecase-nav .usecaseNav__btn--accent:hover{
  border-color: rgba(243, 172, 58, 1);
}

/* =========
   用途ブロック（H3強調）
   ========= */
#usecase-nav .ucBlock{
  max-width: 1290px;
  margin: 80px auto 0;
/* border: 1px solid var(--line); */
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

#usecase-nav .ucBlock__header{
  margin-bottom: 14px;
}

#usecase-nav .ucBlock__title{
  margin: 0 0 10px;
  padding: 12px 12px 12px 14px;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.25;

  background: rgba(11,95,255,.06);
  border-left: 6px solid rgba(11,95,255,.75);
  border-radius: 12px;
}

#usecase-nav .ucBlock__kicker{
  margin: 30px 0 6px;
  color: #374151;
  font-weight: 800;
}

#usecase-nav .ucBlock__desc{
  margin: 10px 0 25px 0;
  color: var(--muted);
  font-size: 16px;
}

/* バッジ */
#usecase-nav .badge{
  display:inline-block;
  padding: 4px 10px;
  border-radius:999px;
  font-size: 14px;
  font-weight: 900;
  margin-right: 8px;
  border: 1px solid #065f46;
  background: rgba(16,185,129,.12);
  color:#065f46;
}

/* =========
   商品カード：SP2列 / PC3列、最大6点でも崩れない
   ========= */
#usecase-nav .cardGrid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

@media (min-width: 960px){
#usecase-nav .cardGrid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* レコメンド枠専用：外側の cardGrid を無効化 */
#usecase-nav .cardGrid.cardGrid--reco23{
  display: block;
  margin-top: 14px;
}

/* reco23 内の実データ領域を横並び化 */
#usecase-nav .cardGrid.cardGrid--reco23 #reco23 > div{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* SP */
  gap: 12px;
  width: 100%;
}

@media (min-width: 960px){
  #usecase-nav .cardGrid.cardGrid--reco23 #reco23 > div{
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* PC */
  }
}

/* card 自体 */
#usecase-nav .cardGrid.cardGrid--reco23 #reco23 > div > article.pCard{
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  font-size: calc(var(--fs-base) + var(--fs-plus));
}

#usecase-nav .pCard{
  display:flex;
  flex-direction: column;
  height: 100%; /* グリッド内で高さ揃え */
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

/* 画像エリア（比率固定） */
#usecase-nav .pCard__media{
  background: #f9fafb;
  aspect-ratio: 16 / 10;
  overflow:hidden;
}
#usecase-nav .pCard__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

#usecase-nav .pCard__img_top{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  margin-top: 20px;
}

#usecase-nav .pCard__tag{
  margin: 12px 14px 6px;
  font-size: 14px;
  font-weight: 900;
  color: var(--primary2);
}

#usecase-nav .pCard__title{
  margin: 0 14px 8px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}

#usecase-nav .pCard__title_reco{
  margin: 10px 14px 8px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;

  /* 2行分の高さに固定 */
  min-height: calc(1.35em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 説明文は2行固定（高さ揃え） */
#usecase-nav .pCard__desc{
  margin: 0 14px 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;

  /* 2行分の高さに固定 */
  min-height: calc(1.45em * 3);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#usecase-nav .pCard__desc_reco{
  margin: 0 14px 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;

  /* 2行分の高さに固定 */
  min-height: calc(1.45em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTAを下に揃える（カード高さが揃う） */
#usecase-nav .pCard__cta{
  margin: auto 14px 14px;
  min-height: 46px;
}
#usecase-nav .pCard__cta:hover{ background: var(--primary2); }

/* =========
   用途ブロック下のCTA（共通ベース）
   ========= */
.ucBlock__ctas{
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.ucBlock__ctas .ucBtn{
  width: 100%;
  max-width: none;
}

/* ボタンの中身を中央揃え */
.ucBlock__ctas .ucBtn{
  justify-content: center;
}

/* =========
   パターンA：SSD一覧 / HDD一覧（2列）
   ========= */
.ucBlock__subTitle{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
  color: #111827;
}

/* =========
   パターンB：SSD一覧 / HDD一覧 / 用途選択に戻る（3列）
   ========= */
.ucBlock__ctas--patternB{
  grid-template-columns: 1fr;
}

@media (min-width: 960px){
  .ucBlock__ctas--patternB{
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.ucBlock__ctas--patternA{
  grid-template-columns: 1fr;
}

@media (min-width: 960px){
  .ucBlock__ctas--patternA{
    grid-template-columns: 1fr 1fr;
  }
}

/* ボタン幅は揃える（固定でも可） */
#usecase-nav .ucBtn{
  width: min(420px, 100%); /* できるだけ同じ幅、SPは100% */
  min-height: 46px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;

  border-radius: 12px;
  text-decoration:none;
  font-weight: 950;

  background: var(--muted);
  color:#fff !important;
}
#usecase-nav .ucBtn:hover{ background-color: #9da4b2; }

#usecase-nav .ucBtn--ghost{
  background: var(--ghost);
  color: var(--fg);
  border: 1px solid var(--line);
}

#storageFilterFeature{
  max-width: 1290px;
  margin: 0 auto;
  color: #222;
  font-size: 16px;
  line-height: 1.6;
}

/* 全体：軽く、シンプルに */
#storageFilterFeature .filterPanel{
  padding: 16px 0;
  background: #fff;
}


#storageFilterFeature .filterPanel__lead{
  margin: 0 0 14px;
  color: #666;
}

/* 参考URLに寄せた、ボックス感のあるグルーピング */
#storageFilterFeature .filterGroups{
  display: grid;
  gap: 12px;
}

@media (min-width: 960px){
#storageFilterFeature .filterGroups{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#storageFilterFeature .filterGroup{
  border: 1px solid #d9d9d9;
  padding: 12px;
  background: #fff;
}

/* 枠は消して、項目は素のラベルに */
#storageFilterFeature .filterList{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#storageFilterFeature .filterChip{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  user-select: none;
  white-space: nowrap; /* 折り返し防止 */
}


/* チェック時の色 */
#storageFilterFeature .filterChip input[type="checkbox"].js-filter:checked{
  background: #0066cc;
  border-color: #0066cc;
}



/* リセット */
#storageFilterFeature .filterActions{
  margin-top: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

#storageFilterFeature .filterReset{
  border: 1px solid #cfcfcf;
  background: #f7f7f7;
  color: #222;
  padding: 8px 14px;
  cursor: pointer;
}

#storageFilterFeature .filterCount{
  margin: 0;
  color: #666;
}

/* 商品一覧 */
#storageFilterFeature .productList{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 960px){
#storageFilterFeature .productList{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

#storageFilterFeature .productCard{
  border: 1px solid #e0e0e0;
  background: #fff;
  padding: 12px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

#storageFilterFeature .productCard__img,
.cpIntro .productCard__img{
  width: 100%;
  height: auto;
  display: block;
}

#storageFilterFeature .productCard__type{
  margin: 8px 0 4px;
  font-size: 12px;
  color: #0066cc;
  font-weight: 700;
}

#storageFilterFeature .productCard__name{
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.4;
}

#storageFilterFeature .productCard__desc{
  margin: 0;
  color: #666;
  font-size: 14px;
  min-height: 2.8em;
}

/* クリックできるボタンだけに色とホバー */
#storageFilterFeature .productCard__cta,
#usecase-nav .pCard__cta{
  margin-top: auto;
  display: block;
  text-align: center;
  text-decoration: none;
  border: 1px solid #0066cc;
  background: #0066cc;
  color: #fff;
  padding: 9px 10px;
  transition: background-color .15s ease, border-color .15s ease, opacity .15s ease;
  border-radius: 10px;
}

#storageFilterFeature .productCard__cta:hover,
#usecase-nav .pCard__cta:hover{ 
  background: var(--primary2);
 }

#storageFilterFeature .noResult{
  margin-top: 12px;
  color: #c00;
}

/* =========================================================
   common.css の checkbox 装飾を完全に潰す
   ========================================================= */


/* checked時の自前マーク */
#storageFilterFeature .filterChip input[type="checkbox"].js-filter:checked{
  background: #0066cc;
  border-color: #0066cc;
}

/* common.css:136 を確実に潰す */
#storageFilterFeature .filterChip input[type="checkbox"].js-filter:checked::before,
#storageFilterFeature .filterChip input[type="checkbox"].js-filter:checked:before{
  content: none !important;
  display: none !important;
}



/* 未チェック時に念のため何も出さない */
#storageFilterFeature .filterChip input[type="checkbox"].js-filter:not(:checked)::before,
#storageFilterFeature .filterChip input[type="checkbox"].js-filter:not(:checked)::after{
  content: none !important;
  display: none !important;
}

#storageFilterFeature .filterChip input[type="checkbox"].js-filter:checked::after,
#storageFilterFeature .filterChip input[type="checkbox"].js-filter:checked:after{
  content: "";
  position: absolute;
  left: 5px;
  top: 0px;
  width: 6px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-left: 0;
  border-top: 0;
  transform: rotate(45deg);
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

/* checkbox を完全にフラット化 */
#storageFilterFeature .filterChip input[type="checkbox"].js-filter{
  -webkit-appearance: none;
  appearance: none;

  position: relative;
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 18px;

  border: 1px solid #bfc7d1;
  border-radius: 2px;
  background: #fff;

  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  text-shadow: none !important;
}

/* hover時も影を付けない */
#storageFilterFeature .filterChip:hover input[type="checkbox"].js-filter{
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

/* チェック時も影を付けない */
#storageFilterFeature .filterChip input[type="checkbox"].js-filter:checked{
  background: #0066cc;
  border-color: #0066cc;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

/* =========================================================
   ページ全体 wrapper
   ========================================================= */
.wrapper_contentpage_test{
  background: #fff;
}

.container_contentpage_test{
  max-width: 1290px;
  margin: 0 auto;
}

/* 各ブロックの余白 */
.cpIntro,
.cpCompare,
.cpBlock{
  margin-bottom: 32px;
}

.cpSectionTitle{
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 900;
  color: #222;
}

/* =========================================================
   導入
   ========================================================= */
.cpIntro{
  padding: 0 0 8px;
}

.cpIntro__title{
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 900;
  color: #222;
}

.cpIntro__lead{
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

/* =========================================================
   比較表
   ========================================================= */
.cpCompare__tableWrap{
  overflow-x: auto;
}

.cpCompare__table{
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #d9d9d9;
}

.cpCompare__table th,
.cpCompare__table td{
  border: 1px solid #d9d9d9;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.5;
}

.cpCompare__table thead th{
  background: #f7f7f7;
  font-weight: 700;
}

.cpCompare__table tbody th{
  background: #fafafa;
  font-weight: 700;
  width: 18%;
}

/* =========================================================
   usecase-nav を storageFilterFeature のフラット感に寄せる
   ※ storageFilterFeature は触らない
   ========================================================= */
.wrapper_contentpage_test #usecase-nav{
  max-width: 1290px;
  margin: 0 auto;
  color: #222;
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
  border: 0;
  box-shadow: none;
  padding: 0;
}

/* もし usecase 側に .usecase ラッパーがあるならフラット化 */
.wrapper_contentpage_test #usecase-nav .usecase{
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}



/* チップ群 */
.wrapper_contentpage_test #usecase-nav .chipNav{
  display: flex;
  gap: 10px;
  overflow: auto;
  padding: 4px 0 10px;
  box-shadow: none;
}

.wrapper_contentpage_test #usecase-nav .chipNav__chip{
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #222;
  box-shadow: none;
}

/* 用途ブロック本体をフラットに */
.wrapper_contentpage_test #usecase-nav .ucBlock{
  background: #fff;
  box-shadow: none;
  border-radius: 0;
}

/* 用途見出しもフラット */
.wrapper_contentpage_test #usecase-nav .ucBlock__title{
  position: relative;
  background: transparent;
  border-left: 0;
  border-radius: 0;
  box-shadow: none;
  padding-left: 18px; /* 縦棒分の余白 */
}

.wrapper_contentpage_test #usecase-nav .ucBlock__title::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 5px;
  background: rgba(11, 95, 255, .55);
  border-radius: 999px; /* 上下を角丸にする */
}

/* 商品カードなどの影は使わない */
.wrapper_contentpage_test #usecase-nav .pCard,
.wrapper_contentpage_test #usecase-nav .ucBtn{
  box-shadow: none;
}

/* th内の画像とテキストを横並びにする */
.cpCompare__thInner{
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

/* BD・HDD・SSDの見出しは中央寄せ */
.cpCompare__thInner--center{
  justify-content: center;
}

/* アイコン画像 */
.cpCompare__icon{
  display: block;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* 見出しテキスト */
.cpCompare__thInner > span{
  display: block;
  min-width: 0;
  line-height: 1.4;
}

/* 行見出しは左寄せ */
.cpCompare__table tbody th{
  text-align: left;
  vertical-align: middle;
}

/* 表のヘッダーは中央寄せ */
.cpCompare__table thead th{
  vertical-align: middle;
}

/* スマートフォン */
@media (max-width: 767px){
  .cpCompare__thInner{
    gap: 6px;
  }

  .cpCompare__icon{
    width: 24px;
    height: 24px;
  }

  .cpCompare__thInner > span{
    line-height: 1.35;
  }
}

/* BD / HDD / SSD の見出しラベル */
.cpCompare__storageLabel{
  display: inline-block;
  min-width: 52px;
  padding: 5px 10px;
  border-radius: 4px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}

/* BD */
.cpCompare__storageLabel--bd{
  background: #6b7280;
}

/* HDD */
.cpCompare__storageLabel--hdd{
  background: #16806b;
}

/* SSD */
.cpCompare__storageLabel--ssd{
  background: #2563eb;
}