@charset "utf-8";

:root {
  --gap-s: clamp(10px, 0.398rem + 1.14vw, 20px);
  --gap-m: clamp(20px, 0.795rem + 2.27vw, 40px);
  --gap-l: clamp(30px, 1.989rem + 5.68vw, 60px);

  --color-red: #e43344;
  --color-blue: #004da1;
  --color-dark: #333;
  --color-gray:#999;
  --color-pale-gray:#f6f6f6;
  --color-pale-blue:#e2f5fb;
  --color-light-blue:#00a2e6;

  --color-nvidia: #76b900;
}

/*------------------------------------------
基本レイアウト
------------------------------------------*/
html {
  scroll-behavior: smooth;
}

.geforce-rtx{
  position:relative;
  width:100%;
  text-align:center;
}

.geforce-rtx img{
  width:100%;
  object-fit: contain;
}

.geforce-rtx .c-button{
  width:100%;
  padding-right: 16px;
}
.geforce-rtx .c-button::after {
  right: 16px;
}
.geforce-rtx .c-button,
.geforce-rtx .c-button span,
.geforce-rtx .c-button p{
  letter-spacing: 0;
  line-height:1.25;
  font-size:clamp(12px, 0.636rem + 0.48vw, 16px);
}

/*------------------------------------------
共通レイアウト
------------------------------------------*/
.cont-section {
  padding-block: var(--gap-l);
}

.cont-section:nth-of-type(odd) {
  background: var(--color-pale-gray);
}
.cont-section:nth-of-type(even) {
  background: #fff;
}

.contents-inner {
  width: calc(100% - 30px);
  max-width: 1140px;
  margin-inline: auto;
  text-align:left;
}

.cont-section section + section{
  margin-top: var(--gap-l);
}


/*------------------------------------------
共通レイアウト ヘッダ・テキスト
------------------------------------------*/
.sec-ttl {
  font-weight: 700;
  font-size: clamp(20px, 1.068rem + 0.91vw, 28px);
  text-align: left;
  color: var(--color-dark);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: var(--gap-s);
  line-height: 1.25;
}

.sec-sub-ttl {
  font-weight: 700;
  font-size: clamp(18px, 0.989rem + 0.68vw, 24px);
  text-align: center;
  color: var(--color-dark);
  margin-bottom: var(--gap-s);
}

.cont-section p {
  line-height: 1.6;
  font-size: clamp(12px, 0.636rem + 0.48vw, 16px);
}

.cont-section p.lead-txt {
  font-size: clamp(14px, 0.761rem + 0.48vw, 18px);
}

.cont-section p + p,
.cont-section p + ul,
.cont-section ul + ul,
.cont-section ul + p{
  margin-top:var(--gap-s);
}


/*--------------------------------
もっと見る
---------------------------------*/
.more-link {
  width: 100%;
  max-width: 600px;
  margin: var(--gap-s) auto 0 auto;
}

/*-------------------------------------
ページトップ
---------------------------------------*/
#pagetop a{
  position: fixed;
  border-radius: 50%;
  min-width: 44px;
  min-height: 44px;
  max-width: 60px;
  max-height: 60px;
  background: rgba(0, 0, 0, .4);
  right:15px;
  bottom: 15px;
  z-index: 100;
  width: 12.5vw;
  height: 12.5vw;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity .5s;
  opacity: 1;
}

#pagetop a::after {
  position: absolute;
  content: '';
  width: 30%;
  height: 30%;
  top: 40%;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(-12.5%, 12.5%);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#pagetop a:hover{
  background: rgba(0, 0, 0, .7);
}

/*------------------------------------------
KV
------------------------------------------*/
.cont-kv{
  padding-block: var(--gap-s);
}

.cont-kv h1{
  color:#000;
  font-weight:700;
  font-size: clamp(18px, 0.784rem + 1.45vw, 30px);
}

/*------------------------------------------
商品検索リストアジャスト
------------------------------------------*/
.product-list .u-pc-width {
  width:100%;
  max-width:100%;
  padding:0;
}

.product-list .p-area-add-wish-list{
  display:none;
}

.product-list .p-products-all-item-product__buttons img {
  width: 18px !important;
  margin-right: 5px;
}

.product-list .p-products-all-item-product__review a > img {
  width: auto !important;
  height: 1em;
}

.product-list .p-products-all-item,
.product-list .p-products-all-item__item {
  padding-bottom: 0;
  padding-inline: 0;
}

.cont-section p.p-products-all-item-product__name__text{
  font-size:clamp(14px, 0.705rem + 0.73vw, 20px);
  line-height:1.2;
}



@media screen and (min-width: 768px), print {
  .product-list .p-products-all-item__more-full {
    margin-top: 90px;
    padding: 30px;
  }
  .p-products-all-item-product {
    grid-template-areas: 
    "product_label product_label"
    "product_image product_name"
    "product_image product_price"
    "product_image product_spec"
    "product_image product_buttons" !important;
    grid-template-columns: 250px 1fr;
  }
}

@media screen and (max-width: 767px) {
  .product-list .p-products-all-item__more-full {
    margin-top: 45px;
    padding: 25px;
  }
  .product-list .p-products-all-item-product__link--detail{
    padding-right: 10px;
  }
  .product-list .p-products-all-item-product__link--detail::after{
    right:10px;
  }
  .product-list .p-products-all-item-product__shipment,
  .product-list .p-products-all-item-product__shipment--red {
    margin-inline: 0;
    margin-block: 5px;
  }
}

/*------------------------------------------
性能比較グラフ
anchor-graph
------------------------------------------*/
.graph-wrapper{
  position:relative;
  width:100%;
}

/*------------------------------------------
スペック比較
anchor-spec
------------------------------------------*/
/*
specsheet-rtx50xx内に記載

.spec-wrapper{
  width:100%;
}

.spec-wrapper table{
  width:100%;
  table-layout: fixed;
  font-size:clamp(14px, 0.818rem + 0.24vw, 16px);
  line-height:1.2;
}

.spec-wrapper th,
.spec-wrapper td{
  position:relative;
  padding:1em;
  border-top:1px solid var(--color-gray);
  border-bottom:1px solid var(--color-gray);
  vertical-align:middle;
  text-align:left;
}

.spec-wrapper th{
  width:160px;
}

.spec-wrapper thead th,
.spec-wrapper thead td{
  background:var(--color-nvidia);
  color:#fff;
  font-weight:700;
}

.spec-wrapper tbody th{
  background:#ccc;
  font-weight:700;
}

.spec-wrapper tbody td{
  background:#fff;
}


.spec-wrapper th::before,
.spec-wrapper td::before{
  position:absolute;
  content:'';
  width:1px;
  height:100%;
  top:0;
  left:0;
  background:var(--color-gray);
}
.spec-wrapper th::after,
.spec-wrapper td::after{
  position:absolute;
  content:'';
  width:1px;
  height:100%;
  top:0;
  left:100%;
  background:var(--color-gray);
}

@media screen and (max-width: 767px) {
  .spec-wrapper{
    overflow-x: auto;
  }
  .spec-wrapper table{
    width:fit-content;
    table-layout: auto;
  }
  .spec-wrapper th{
    position:sticky;
    z-index:+1;
    width:100px;
    top:0;
    left:0;
  }
} */

.more-txt{
  margin-top:var(--gap-m);
}

/*------------------------------------------
よくあるご質問
anchor-faq
------------------------------------------*/
.faq-list{
  width:100%;
  counter-reset: faq-counter; 
}

.faq-list > li {
  counter-increment: faq-counter; 
  border-bottom:1px dotted #c8c8c8;
}
.faq-list > li:first-child{
  border-top:1px dotted #c8c8c8;
}

.faq-list > li details[open]{
  padding-bottom:var(--gap-s);
}

.faq-list > li summary {
  list-style: none;
  display: block;
  position:relative;
  padding:var(--gap-s) 3em var(--gap-s) 0;
  font-size:clamp(14px, 0.818rem + 0.24vw, 16px);
  font-weight:700;
  cursor:pointer;
}
.faq-list > li details[open] summary {
  padding-bottom:calc(var(--gap-s) / 2);
}

.faq-list > li summary::-webkit-details-marker {
  display:none;
}
.faq-list > li summary::before{
  position:absolute;
  content:'';
  top:calc(50% - 1px);
  right:0;
  background:var(--color-blue);
  width:1em;
  height:2px;
}
.faq-list > li summary::after{
  position:absolute;
  content:'';
  top:calc(50% - 0.5em);
  right:calc(0.5em - 1px);
  background:var(--color-blue);
  width:2px;
  height:1em;
  transition: all 0.3s;
}
.faq-list > li details[open] summary::after{
  transform: rotate(90deg);
  transition: 0.3s all;
}

.faq-list > li summary p {
  position:relative;
  padding-left:3em;
}

.faq-list > li summary p::before {
  position:absolute;
  left:0;
  top:0;
  color:var(--color-blue);
  font-weight:700;
  content: "Q." counter(faq-counter); 
}

.faq-cont{
  background: #f6f6f6;
  border-radius: 2px;
  padding:var(--gap-s);
  font-size:clamp(12px, 0.636rem + 0.48vw, 16px);
  line-height:1.6;
}

/*------------------------------------------
関連ページ
anchor-related
------------------------------------------*/

/*---------------------
PCパーツ
related-parts-list
---------------------*/
.related-parts-list{
  width:100%;
  display:grid;
  gap: 15px;
  grid-template-columns: repeat(5,1fr);
}

.related-parts-list li{
  background: #fff;
  border: 1px solid #ececec;
  box-shadow: 3.5px 3.5px 0 0 rgba(72, 72, 72, .1);
  transition: transform .2s;
}

.related-parts-list li a{
  width:100%;
  height:100%;
  padding:10px;
  display:flex;
  flex-direction: column;
  justify-content: space-between;
  gap:10px;
  text-align:center;
  font-size:clamp(14px, 0.818rem + 0.24vw, 16px);
  font-weight:700;
}

.related-parts-list li a:hover {
  box-shadow: 0 0 4px 0 rgb(0 162 230 / 70%);
}

@media screen and (max-width: 767px) {
  .related-parts-list{
    gap: 10px;
    grid-template-columns: repeat(2,1fr);
  }
  .related-parts-list li a{
    padding:5px;
    gap:5px;
  }
}

/*---------------------
NVIDIAグラフィックボード一覧・搭載P
related-gpu-list
---------------------*/
.related-gpu-list{
  width:100%;
  display:grid;
  gap: 15px;
  grid-template-columns: repeat(2,1fr);
}

.related-gpu-list .c-button{
  height:50px;
}

@media screen and (max-width: 767px) {
  .related-gpu-list{
    gap: 10px;
  }
  .related-gpu-list .c-button{
    justify-content: flex-start;
    padding-left:10px;
  }
  .related-gpu-list .c-button::after{
    right:10px;
  }
}

/*---------------------
GPU・CPU性能比較
related-comparison-list
---------------------*/
.related-comparison-list{
  width:100%;
  display:grid;
  gap: 15px;
  grid-template-columns: repeat(2,1fr);
}

.related-comparison-list li a{
  width:100%;
  height:100%;
  display:flex;
  flex-direction: column;
  gap:10px;
}

.related-comparison-list li a:hover img{
  -webkit-animation-duration: 1s;
  -webkit-animation-name: flash;
  animation-name: hover-flash;
  animation-duration: 1s;
  opacity: 1;
}