@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;
}

.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;
    }
}

/* ================================================= */
/* TV買い替えキャンペーン特集ページ用 カスタムスタイル */
/* ================================================= */

.tvcamp2026-container {
    max-width: 900px !important;
    margin: 0 auto;
}

/* メイン画像 */
.tvcamp2026-hero img {
    display: block;
    width: 100%;
    border-radius: 4px;
}

/* 共通ボタン設定 */
.tvcamp2026-container {
    max-width: 900px !important;
    margin: 0 auto;
    width: 100%;
}

/* カテゴリ選択 */
.tvcamp2026-section-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px !important;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tvcamp2026-section-nav li {
    width: calc((100% - 15px) / 2); 
    margin: 0;
    padding: 0;
    display: flex; 
}

.tvcamp2026-section-nav li a {
    display: block;
    width: 100%;
    position: relative;
    padding: 15px 35px 15px 15px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #333;
    text-align: left;
    box-sizing: border-box;
}

.tvcamp2026-section-nav li a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: 2px solid #f5f5f5;
    border-bottom: 2px solid #f5f5f5;
}

.tvcamp2026-btn-navy,
.tvcamp2026-title-main-btn,
.tvcamp2026-cbcp-main-btn,
.btn-secret {
    color: #ffffff !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%;
}

/* セクションナビボタン（PC表示） */
.tvcamp2026-btn-navy {
    background-color: #044A80 !important;
    padding: 12px 10px;
    font-size: 15px;
    line-height: 1;
    border-radius: 4px;
}

.tvcamp2026-btn-navy:hover {
    opacity: 0.8;
    color: #fff !important;
}

/* 中見出し（PC表示） */
.tvcamp2026-title-main-btn {
    background-color: #044A80 !important;
    padding: 14px 20px;
    font-size: 20px;
    line-height: 1.2;
}

/* キャッシュバックキャンペーン（PC表示） */
.tvcamp2026-cbcp-main-btn {
    background-color: #c1a470 !important;
    padding: 14px 20px;
    font-size: 20px;
    line-height: 1.2;
}

/* スマホ表示の微調整 */
@media (max-width: 767px) {
  .tvcamp2026-section-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px !important;
    padding: 0;
  }
  .tvcamp2026-section-nav li {
    flex: 0 0 calc(50% - 4px);
    list-style: none;
  }
  .tvcamp2026-btn-navy {
    width: 100% !important;
    padding: 10px 5px;
    font-size: 14px;
  }

  .tvcamp2026-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;
  }
}

/* メーカーキャンペーンバナー */
.image-gallery {
    display: flex;
    justify-content: space-between; 
    gap: 15px;
    width: 100%;
    margin-bottom: 5px;
}

.image-item {
    flex: 1;
}

.image-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; 
    object-fit: cover;
}

/* てんてん */
.dot-divider {
    text-align: center;
    margin: 5px;
}

.dot-divider::after {
    content: "・・・";
    font-size: 24px;
    color: #aaa;
    letter-spacing: 10px;
}


/* 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;
  flex-direction: column; 
  justify-content: center;
  align-items: center;
  white-space: normal; 
  text-align: center;
  height: auto;
  min-height: 60px;
  padding: 12px 40px;
  flex: 0 0 100%;
  max-width: 100%;
  background: #D61E02;
  color: white;
  border-radius: 30px;
  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: #b11902;
  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;
  }
}

.custom-button span {
  font-weight: normal;
  font-size: 0.85em;
  display: block;
  margin-top: 2px;
}

.tvcamp2026-section-head {
    margin-bottom: 20px;
}

.tvcamp2026-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) {
    .tvcamp2026-btn-navy {
        min-width: 45%;
        padding: 10px 5px;
        font-size: 14px;
    }

    .tvcamp2026-title-main-btn {
        width: 85%;
        padding: 12px 20px;
        font-size: 18px;
    }
}

.tvcamp2026-lead {
    color: #333;
    padding: 6px;
    margin: 0;
    display: block;
}

/* ================================================= */
/* 選べるメーカー別ボタン */
/* ================================================= */
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 24px;
  padding: 20px;
  box-sizing: border-box;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.grid-item {
  text-decoration: none;
  color: #333333;
  font-weight: 500;
  background: linear-gradient(135deg, #ffffff 0%, #fcfcfc 100%);
  border: 1px solid #e0e0e0; 
  border-radius: 8px; 
  aspect-ratio: 3.5 / 1; 
  
  /* 文字の中央揃え */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  letter-spacing: 0.05em;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  position: relative;
  justify-content: center;
  padding-right: 40px;
}

.grid-item::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  
  width: 6px;
  height: 6px;
  border-top: 2px solid #999999;
  border-right: 2px solid #999999;
  
  transition: all 0.3s ease;
}

.grid-item:hover {
  color: #111111;
  border-color: #cccccc;
  background: #ffffff;
  transform: translateY(-2px); 
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); 
}

/* 画面幅が768px以下（スマホ・タブレット）になった時の設定 */
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr); 
    gap: 12px; 
    padding: 12px;
  }

  .grid-item {
    aspect-ratio: 2.2 / 1; 
    font-size: 14px; 
    padding-right: 32px; 
  }
  
  .grid-item::after {
    right: 16px;
  }
  
  .grid-item:hover::after {
    right: 16px; 
  }
}



/* ================================================= */
/* どこでもカート (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行に4つ並ぶ設定 (25% - 余白) */
    .cartanywhere {
        flex: 0 0 calc(25% - 14px); 
        max-width: calc(25% - 14px);
        margin: 0 7px 2rem;
    }
}


/* 手動版カードの基本構造 */
.manual-product-card {
    width: 100%;
    margin-bottom: 1.5rem;
}

@media all and (min-width: 768px) {
    .manual-product-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

@media all and (min-width: 1024px) {
    .manual-product-card {
        flex: 0 0 calc(25% - 14px);
        max-width: calc(25% - 14px);
        margin: 0 7px 2rem;
    }
}

.custom-more-btn {
    display: block;
    width: 100%;
    background-color: #044A80;
    color: #fff;
    text-align: center;
    padding: 8px 0;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-top: 15px;
    transition: opacity 0.3s ease;
}

.manual-price-box {
    text-align: right; 
    white-space: nowrap; 
    margin-top: 5px;
    margin-bottom: 5px;
    display: block;
    width: 100%;
}

.manual-product-card .cartprice {
    display: inline-block;
    font-size: 1.6rem;
    color: #ff0000;
    font-weight: bold;
    text-align: right;
    margin: 0;
    line-height: 1;
}

.manual-product-card .yencolor {
    display: inline-block;
    color: #333;
    font-size: 0.75rem;
    font-weight: bold;
    margin-left: 2px;
    vertical-align: baseline;
}
.manual-product-card a:hover .custom-more-btn {
    opacity: 0.8;
    color: #fff;
}

.manual-product-card .cartprodname {
    min-height: 3.5em;
    margin-bottom: 10px;
}



/* ================================================= */
/* その他共通パーツ（ページトップ・フッター） */
/* ================================================= */
#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;
}