@charset "utf-8";

/* ================================================= */
/* 1. Reset & Base Settings (destyle.css + Custom) */
/* ================================================= */
@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; }
}

main { display: block; }
img, svg, iframe { vertical-align: bottom; max-width: 100%; }
a { text-decoration: none; color: inherit; background-color: transparent; }
button { cursor: pointer; -webkit-appearance: none; appearance: none; background: none; }

/* ================================================= */
/* 2. Layout (Header , Common Wrapper) */
/* ================================================= */
header {
    background-color: #182d7c;
    padding: 8px;
}


.njLpWrap {
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 12px;
}

.custom-width {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

@media screen and (min-width:961px) {
    .njLpWrap { margin-top: 80px; }
}

.target-products-header {
    background-color: #182d7c; 
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 2px;
    border: 1px solid #182d7c;
}

@media (max-width: 767px) {
    .target-products-header {
        font-size: 1rem;
        letter-spacing: 1px;
    }
}

h1 {
  background: linear-gradient(transparent 70%, #a7d6ff 70%);
    font-weight: bold;
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.btn-check-all {
    display: inline-block;
    padding: 12px 50px; 
    
    background-color: #fff;
    border: 1px solid #d80c39;
    color: #d80c39 !important;

    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    
    border-radius: 50px;
    transition: all 0.3s;
    
    box-shadow: 0 4px 0 #d80c39; 
}

/* ホバー（マウスを乗せた時）の演出 */
.btn-check-all:hover {
    background-color: #d80c39;
    color: #fff !important;
    transform: translateY(2px);
    box-shadow: 0 2px 0 #d80c39;
}

.btn-check-howto {
    display: inline-block;
    padding: 12px 50px; 
    
    background-color: #fff;
    border: 1px solid #182d7c;
    color: #182d7c !important;

    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    
    border-radius: 50px;
    transition: all 0.3s;
    
    box-shadow: 0 4px 0 #182d7c; 
}

/* ホバー（マウスを乗せた時）の演出 */
.btn-check-howto:hover {
    background-color: #182d7c;
    color: #fff !important;
    transform: translateY(2px);
    box-shadow: 0 2px 0 #182d7c;
}



/* ================================================= */
/* どこでもカート (productslist) & アイテム内のスタイル */
/* ================================================= */

.productslist * {
    box-sizing: border-box;
}

.productslist {
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto; 
    padding: 0 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つ並ぶ設定 (33.3% - 余白) */
    .cartanywhere {
        flex: 0 0 calc(33.333% - 14px); 
        max-width: calc(33.333% - 14px);
        margin: 0 7px 2rem;
    }
}


/* ================================================= */
/* Manual Slider Custom Style */
/* ================================================= */
.manual-slider {
    max-width: 900px; 
    margin: 0 auto;
}

.manual-slider.carousel {
    padding-bottom: 30px;
    position: relative;
    background-color: #fff;
}

.manual-slider .carousel-inner {
    border: 1px solid #ddd;
    background-color: #f8f9fa;
}

.manual-slider .carousel-indicators{
    position: absolute;
    bottom: -5px;
    margin-bottom: 0;
    z-index: 15;

}

.manual-slider .carousel-indicators [type="button"] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    opacity: 1;
    margin: 0 6px;
    transition: background-color 0.3s;
}

.manual-slider .carousel-indicators .active {
    background-color: #182d7c !important;
}

.manual-slider .carousel-control-prev-icon,
.manual-slider .carousel-control-next-icon {
    background-color: rgba(24, 45, 124, 0.6);
    border-radius: 50%;
    background-size: 60% 60%;
    padding: 20px;
}

.manual-slider .carousel-control-prev:hover .carousel-control-prev-icon,
.manual-slider .carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(24, 45, 124, 0.9); 
}

.row.mb-5.justify-content-center {
    margin-bottom: 1.5rem !important;
}



/* ページトップボタン */
#pageTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

#pageTop a {
    display: block;
    z-index: 999;
    padding: 8px;
    border-radius: 60px;
    width: 70px;
    height: 70px;
    background-color: #9FD6D2;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
}

#pageTop a:hover {
    text-decoration: none;
    opacity: 0.7;
}

body footer.mt-5 {
    background-color: #182d7c !important;
    color: #ffffff !important;
    border: none !important;
    display: block !important;
    margin: 0 calc(50% - 50vw) 0 !important;
    padding: 0 !important;
    clear: both !important;
}

body footer.mt-5 div {
    background-color: transparent !important;
    border: none !important;
    padding: 20px 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

body footer.mt-5 small {
    font-weight: normal !important;
    border: none !important;
    color: #fff !important;
}