@charset "utf-8";

/* ================================================= */
/* 1. Reset & Base Settings */
/* ================================================= */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap");

*,
::before,
::after {
    box-sizing: border-box;
    border-style: solid;
    border-width: 0;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    scroll-behavior: smooth;
    font-size: 14px;
}

body {
    margin: 0;
    background-color: #fff;
    color: #333;
    font-family: "Noto Sans JP", 'メイリオ', Meiryo, sans-serif !important;
    font-weight: 400;
}

@media screen and (min-width:961px) {
    body {
        font-size: 15px;
    }
}

img {
    vertical-align: bottom;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ================================================= */
/* 2. Layout (Header, Wrapper) */
/* ================================================= */
header {
    background-color: #182d7c;
    padding: 8px 16px;
}

/* ヘッダー内部を左右配分にする設定 */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; /* 必要に応じて最大幅を設定 */
    margin: 0 auto;
}

/* 右側ナビゲーションのスタイル */
.header-nav {
    display: flex;
    flex-direction: column;
    gap: 6px; /* 上下行の間隔 */
}

.nav-row {
    display: flex;
    gap: 12px; /* 左右ボタンの間隔 */
    justify-content: flex-end;
}

.nav-row a {
    display: inline-block;
    width: 96px;
    box-sizing: border-box;
    text-align: center;
    
    /* デザイン設定 */
    color: #182d7c ;
    background-color:#fff ;
    text-decoration: none;
    font-size: 11px;
    padding: 6px 0;
    transition: background-color 0.2s;}

.nav-row a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.njLpWrap {
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 12px;
}

@media screen and (min-width:961px) {
    .njLpWrap {
        margin-top: 40px;
    }
}

/* ================================================= */
/* PlayStation おすすめ関連製品特集ページ用 カスタムスタイル */
/* ================================================= */

.PS-container {
    max-width: 900px !important;
    margin: 0 auto;
}

/* メイン画像 */
.PS-hero img {
    display: block;
    width: 100%;
    border-radius: 4px;
}

/* 共通ボタン設定 */
.PS-container {
    max-width: 900px !important;
    margin: 0 auto;
    width: 100%;
}

.PS-section-nav ul {
    display: flex;
    justify-content: space-between;
    gap: 10px !important;
    width: 100%;
    margin: 0 p-0;
}

.PS-section-nav li {
    flex: 1;
    margin: 0;
    padding: 0;
}

/* ボタン共通設定 */
.PS-btn-navy,
.PS-title-main-btn,
.btn-secret {
    color: #fff !important;
    font-weight: bold;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    border: none;
    width: 100%;
    box-sizing: border-box;
}

/* ==========================================
   セクションナビ（リスト・レイアウト設定）
========================================== */
.PS-section-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* ボタン同士の間隔 */
    padding: 0;
    margin: 0;
    list-style: none;
}

/* PC表示（デフォルト：横4列） */
.PS-section-nav li {
    flex: 0 0 calc(25% - 7.5px); /* 100% ÷ 4列 からギャップ分を引く */
}

/* セクションナビボタン（PC表示） */
.PS-btn-navy {
    background-color: #0070CC !important;
    padding: 12px 28px 12px 16px;
    font-size: 15px;
    line-height: 1;
    border-radius: 4px;
    position: relative;
}

.PS-btn-navy::after {
    content: '▼';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) scaleY(0.7);
    font-size: 9px;
    color: #fff;
    pointer-events: none;
}

.PS-btn-navy:hover {
    opacity: 0.8;
    color: #fff !important;
}

/* 中見出し（PC表示） */
.PS-title-main-btn {
    background-color: #0070CC !important;
    padding: 14px 20px;
    font-size: 20px;
    line-height: 1.2;
}

/* スマホ表示の微調整 */
@media (max-width: 767px) {
  .PS-section-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px !important;
    padding: 0;
  }
  .PS-section-nav li {
    flex: 0 0 calc(50% - 4px);
    list-style: none;
  }
  .PS-btn-navy {
    width: 100% !important;
    padding: 10px 5px;
    font-size: 14px;
  }

  .PS-title-main-btn {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 12px 10px;
    font-size: 18px;
    display: flex !important;
    box-sizing: border-box;
  }

  .text-center.mb-4 {
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* button */
.btn-secret {
    background: #ff9600;
    color: white;
    border: none;
    padding: 14px 20px;
    font-size: 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secret:hover {
    background: #e78701;
    transform: translateY(-2px);
}

.btn-secret:active {
    transform: translateY(0);
}

.button-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  max-width: 960px;
  margin: 0 auto;
  padding: 30px;
}

.custom-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 calc(50% - 10px);
  max-width: calc(50% - 10px);
  box-sizing: border-box;

  height: 60px;
  background: #ff8c00;
  color: white;
  border-radius: 30px;
  white-space: nowrap;
  padding: 0 10px;
  box-sizing: border-box;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  position: relative;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;}

.custom-button .bold {
  font-size: 1.3em;
  font-weight: 800;
  vertical-align: middle;
}

.custom-button::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent white;
}

.custom-button:hover {
  background: #E85F0E;
  color: white;
  box-shadow: 0 6px 8px rgba(0,0,0,0.2);
  transform: translateY(-1px);
  text-decoration: none;
}

@media (max-width: 600px) {
  .button-container {
    gap: 10px;
  }

  .custom-button {
    flex: 0 0 100%;
    max-width: 100%;
    
    white-space: normal;
    font-size: 14px;
    line-height: 1.2;
    padding: 10px 30px;
    height: auto;
    min-height: 50px;
  }
}

.PS-section-head {
    margin-bottom: 20px;
}

.PS-sub-title {
    border-bottom: 3px solid #ffca04 !important;
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    padding-bottom: 6px;
    margin: 0;
    display: block;
}

/* スマホ表示の微調整 */
@media (max-width: 767px) {
    .PS-btn-navy {
        min-width: 45%;
        padding: 10px 5px;
        font-size: 14px;
    }

    .PS-title-main-btn {
        width: 85%;
        padding: 12px 20px;
        font-size: 18px;
    }
}

.PS-lead {
    color: #333;
    padding: 6px;
    margin: 0;
    display: block;
}

/* ================================================= */
/* どこでもカート (productslist) & アイテム内のスタイル */
/* ================================================= */

.productslist * {
    box-sizing: border-box;
}

.productslist {
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    padding: 5px;
}

.cartanywhere {
    width: 100%;
    margin: 0 0 1.5rem;
    display: block;
}

.productslist ul {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #ccc;
    height: 100%;
    padding: 1rem;
    margin: 0;
    list-style: none;
}

/* 1. 画像エリア (モバイル: 50%) */
.productslist ul li:nth-child(1) {
    flex: 0 0 50%;
    padding-right: 10px;
}

.productslist ul li:nth-child(1) img {
    width: 100% !important;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 2. 情報エリア (モバイル: 50%) */
.productslist ul li:nth-child(2) {
    flex: 0 0 50%;
    text-align: left;
}

/* 3. それ以降のliがある場合の対策 (ボタンなど) */
.productslist ul li:nth-child(n+3) {
    flex: 0 0 100%;
    margin-top: 10px;
}

/* --- 商品情報テキスト --- */
.productslist p {
    background-color: #CAE5E9;
    font-size: 0.8rem;
    padding: 0.5rem;
    line-height: 1.6;
    margin: 0 0 0.5rem 0;
}

.cartprodname {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    line-height: 1.4;
}

/* 価格表示 */
.cartprice {
    font-size: 1.4rem;
    color: #ff0000;
    font-weight: bold;
    text-align: right;
    display: block;
}

.yencolor {
    color: #000;
    font-size: 0.75rem;
    margin-left: 2px;
}

/* 納期・クーポン・ポイント */
.cartnouki {
    font-size: 0.8rem;
    color: #27c10d;
}

.cartcoupon {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #d80c39;
    color: #ffffff;
    font-size: 1.0rem;
    font-weight: bold;
    padding: 4px 0;
    box-sizing: border-box;
}

.cartcoupon:empty,
.cartcoupon:has(> .result-data:empty) {
    display: none !important;
}

.pointkangen {
    font-size: 0.8rem;
    font-weight: normal;
}

.pointkangen::before {
    content: "\f51e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 0.25em;
    color: rgb(250, 202, 10);
}



/* ================================================= */
/* メディアクエリ (PC・タブレット向け) */
/* ================================================= */

/* --- タブレットサイズ (768px以上): 2列表示 --- */
@media all and (min-width: 768px) {

    /* 1行に2つ並ぶ設定 */
    .cartanywhere {
        display: flex;
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
        margin-bottom: 2rem;
    }

    .productslist ul {
        display: block;
        padding: 0;
        border: 1px solid #eee;
        overflow: hidden;
        background: #fff;
    }

    .productslist ul li:nth-child(1) {
        width: 100%;
        padding: 0;
    }

    .productslist ul li:nth-child(1) img {
        width: 100% !important;
        height: auto;
        margin: 0;
        display: block;
    }

    .productslist ul li:nth-child(2) {
        width: 100%;
        padding: 15px;
        text-align: left;
    }

    .cartprice {
        font-size: 1.6rem;
        text-align: right;
    }
}

/* --- PCサイズ (1024px以上): 3列表示 --- */
@media all and (min-width: 1024px) {
    article {
        max-width: 1100px;
    }

    /* 1行に3つ並ぶ設定 (25% - 余白) */
    .cartanywhere {
        flex: 0 0 calc(25% - 14px);
        max-width: calc(25% - 14px);
        margin: 0 7px 2rem;
    }
}



/* ================================================= */
/* その他共通パーツ（ページトップ・フッター） */
/* ================================================= */
#pageTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

#pageTop a {
    display: block;
    padding: 8px;
    border-radius: 60px;
    width: 70px;
    height: 70px;
    background-color: #9FD6D2;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

body footer.mt-5 {
    background-color: #182d7c !important;
    color: #ffffff !important;
    margin: 0 calc(50% - 50%) 0 !important;
}

body footer.mt-5 div {
    padding: 20px 0 !important;
}

body footer.mt-5 small {
    color: #fff !important;
}