/* index.html専用スタイル */

/* ヒーローバナー */
.hero-banner {
    width: 100%;
}

.hero-content {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.hero-images {
    text-align: center;
}

.hero-images img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 特徴セクション */
.features {
    width: 100%;
    background-color: #ffffff;
    padding: 60px 0;
}

.features .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
}

.feature-box {
    font-family: 'Noto Sans JP', sans-serif;
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-icon img {
    max-width: 120px;
    height: auto;
}

.feature-box p {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

/* 商品カテゴリー */
.product-categories {
    width: 100%;
    background-color: #1a237e;
    padding: 60px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.category-box {
    background-color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
}

.category-title {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    padding: 15px 20px;
    margin: 0;
    background-color: #FFFFFF;
}

.category-image {
    padding: 20px;
    background-color: #ffffff;
}

.category-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.category-text {
    padding: 20px;
    background-color: #ffffff;
}
.category-text a{
    color: #000;
    text-decoration: none;
}

.category-text p {
    font-size: 14px;
    color: #333;
    margin: 5px 0;
}

/* 売上ランキング */
.sales-ranking {
    width: 100%;
    background-color: #FFFFFF;
    padding: 60px 0;
}

.ranking-carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s;
    flex-shrink: 0;
    margin: 0 10px;
}

.carousel-btn:hover {
    background-color: #45a049;
}

.carousel-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.ranking-items {
    display: flex;
    gap: 30px;
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 20px 0;
    position: relative;
}

.ranking-items::-webkit-scrollbar {
    display: none;
}

.ranking-items {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.ranking-item {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 0;
    background-color: #ffffff;
    padding: 30px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 10px 0;
    box-sizing: border-box;
}


.ranking-item .product-image {
    text-align: center;
    margin: 20px 0;
    position: relative;
    min-height: 200px;
}

.ranking-item .product-image img:not(.rank-badge) {
    max-width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

.ranking-item .product-image .rank-badge {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: auto;
    z-index: 10;
    pointer-events: none;
    display: block !important;
}

.product-info {
    text-align: center;
}

.product-name {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
}

.product-name a{
    color: #000;
    text-decoration: none;
}

.product-price {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}
@media screen and (max-width: 768px){
    .product-price {
        font-size: 16px;
    }
}
/* 商品一覧 */
.product-list {
    width: 100%;
    background-color: #F5F5F5;
    padding: 60px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}
.product-card a{
    text-decoration: none !important;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card .product-image {
    margin-bottom: 15px;
}

.product-card .product-image img {
    max-width: 100%;
    height: auto;
}

.product-card .product-name {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
}

.product-card .product-price {
    font-size: 14px;
    font-weight: bold;
    color: #C30202;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    border: none;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.page-btn-nav {
    background-color: #2E8B57;
    color: white;
}

.page-btn-nav:hover {
    background-color: #228B22;
}

.page-btn-number {
    background-color: #EBF3EF;
    color: #2E8B57;
}

.page-btn-number:nth-of-type(3) {
    background-color: #D9E8E0;
}

.page-btn-number.active {
    background-color: #90BEA8;
    color: white;
}

.page-btn-number:hover {
    background-color: #D9E8E0;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .features-grid,
    .categories-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ranking-item {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .features-grid,
    .categories-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .ranking-item {
        flex: 0 0 calc(100% - 10px);
        min-width: 280px;
    }
    
    .ranking-items {
        padding: 20px 10px;
    }
}

/*---------------------------------
cart
---------------------------------*/
.cart-title-wrap {
    width: 1200px;
    margin: 0 auto;
    padding-top: 130px;
}
.cart-title {
    font-size: 20px;
    font-family: 'Marcellus', serif;
    font-weight: bold;
    color: #6E6E6E;
    letter-spacing: .2em;
}
.cart {
    margin-top: 60px;
}
.cart-text-head {
    border-bottom: 1px dotted #6E6E6E;
    padding-bottom: 16px!important;
    display: flex;
}
.cart-product {
    padding: 16px 0;
    display: flex;
    border-bottom: 1px dotted #6E6E6E;
    align-items: center;
}
.cart .img-head {
    width: 20%;
}
.cart-product img {
    width: 160px;
}
.cart .name-head {
    width: 25%;
    padding-right: 40px;
    line-height: 1.4em;
}
.cart .qty-head {
    width: 15%;
}
.cart .price-head {
    width: 25%;
}
.cart .remove-head {
    width: 15%;
}
.cart-item-text {
    display: flex;
    justify-content: space-between;
    width: 76%;
    align-items: center;
}
.cart .img {
    width: 20%;
}
.cart .name {
    width: 25%;
    line-height: 1.4em;
}
.cart .qty {
    width: 15%;
    display: flex;
}
.cart .price {
    width: 25%;
}
.cart .remove {
    width: 15%;
    padding-left: 14px;
}
.cart .add-btn {
    width: 100%;
}
.amazon-button > div {
    margin: 0 auto;
}
.remove-sp {
    display: none;
}
.total {
    text-align: right;
    margin: 56px 0 32px;
}
.total-text {
    font-size: 18px;
}
.total-price {
    font-size: 32px;
    padding-left: 16px;
}
.total-text-small {
    font-size: 14px;
}
.continue-shopping {
    padding-right: 40px;
}
.payment-add-btn {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}
.quantity-notification {
    width: 44px;
    height: 44px;
    text-align: center;
}
.awesome a{
    cursor: pointer !important;
    text-align: center !important;
    display: inline-block;
    vertical-align: middle !important;
    color: #fff!important;
    width: 85px!important;

    height: 100%!important;
    background: #6E6E6E!important;
    font-size: 12px;
    margin-left: 6px;
    text-decoration: none;
    padding: 14px;
}
.add-btn {
    background: #af4233;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    width: 60%;
    border-radius: 3px;
    margin-bottom: 20px;
}
.add-btn:hover {
    background: #EB503C;
}
.add-btn a.cart-btn{
    color: #FFF;
}
.outstock-btn {
    background: #989898;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    width: 60%;
    border-radius: 3px;
    padding: 24px;
}
.outstock {
    color: #fff;
    display: inline-block;
    border-radius: 2px;
    width: 100%;
}
.sold-btn {
    background: #adadad!important;
}
.sold-btn:hover {
    background: #989898!important;
}
.cart-btn {
    display: inline-block;
    border-radius: 2px;
    width: 100%;
    padding: 24px;
}
.add-btn a {
    color: #fff;
    text-decoration: none;
}
.add-btn a:hover {
    opacity: 1;
}
.add-btn-right {
    width: 24%;
}
.cart-option-area {
    font-size: 12px;
    margin-top: 10px;
}
.cart-option-area span {
    display: block;
}
.sell-period-btn {
    background: #adadad!important;
}
.sell-period-btn p {
  color: #fff;
}

/*その他ページ
************************************************************************************/
.page-content a{
    color: #000;
}
.guide-section p{
    padding-bottom: 1em;
}
.guide-section-title{
    margin: 1em 0;
    font-size: 120%;
    font-weight: bold;
}
table.normal{
	margin: 5px auto 15px auto;
	width: 100%;
	border: 0;
	border-top: 1px solid #ccc;
}
table.normal thead th{
	padding: 15px;
	border-bottom: 1px solid #ccc;
	text-align: center;
	font-weight:bold;
	color: #FFF;
	background: #666;
}
table.normal tbody th{
	padding: 15px;
	text-align: left;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	background: #f3f3f3;
}
table.normal.auto th{
	padding: 1px 2em;
}

table.normal tbody td{
	padding: 15px;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
}
table.normal tbody td:last-child{
	border-right: 0;
}
@media screen and (min-width: 769px){
    .page-contract table.normal tbody th{
        width: 11em;
    }
}
@media screen and (max-width: 768px){
    table.normal{
        display: block;
        width: 100%;
    }
    table.normal tbody{
        display: block;
        width: 100%;
    }
    table.normal tr{
        display: block;
        width: 100%;
    }
    table.normal th,
    table.normal td{
        display: list-item;
        width: 100%;
        box-sizing: border-box;
        display: block;
    }
    table.normal th{
        list-style-type: none;
        display: block;
    }
    table.normal td{
        margin-left: 0;
        list-style-type: none;
        border: 0;
    }
}

/* 2025/12/21 追記 */
/* 買い物かご レスポンシブ*/
@media screen and (max-width: 768px) {

    .cart-product{
        justify-content: space-between;
    }

    .cart-product a{
         width: 100%;
         display: block;
    }

    .cart-product .img{
        width: 48%;
    }

    .cart-product img{
         width: 100%;
    }

    .cart-product .cart-item-text{
         width: 48%;
         flex-direction: column;
         gap: 10px;
    }

    .cart-product .cart-item-text .name{
         width: 100%;
    }

    .cart-product .cart-item-text .qty{
        width: 100%;
    }

    .cart-product .cart-item-text .price{
         width: 100%;
    }

    .cart-product .cart-item-text .remove{
         width: 100%;
    }

    .add-btn-right{
        width: fit-content;
    }

}

/* 非表示商品 */
[data-code="000000000084"]{
    display:none;
 }
 
 [data-code="000000000065"]{
    display:none;
 }
 
 [data-code="000000000066"]{
    display:none;
 }
 
 [data-code="000000000067"]{
    display:none;
 }
 
 [data-code="000000000093"]{
    display:none;
 }
 
 [data-code="000000000094"]{
    display:none;
 }
 
 [data-code="000000000095"]{
    display:none;
 }


/* 2025/12/23 追記 */
/* ソイラクトLP モーダル*/
.couponMdodal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
    z-index: 999999;
}

.couponMdodal.active{
    opacity: 1;
    visibility: visible;
}

.couponMdodal__frame{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: fit-content;
    padding: 50px 10px;
    text-align: center;
    background: #ffffff;
}

.couponMdodal__btn{
    margin-top: 25px;
}

.couponMdodal__close:hover,
.couponMdodal__btn:hover{
    cursor: pointer;
}


.couponMdodal__frame img{
    width: 100%;
    max-width: 400px; 
}

.couponMdodal__btn-txt{
    display: none;
}

.couponCode{
    font-weight: bold;
    color: #b90000;
    margin-bottom: 10px;
}

.couponTxt{
    font-weight: bold;
    color: #b90000;
    margin-bottom: 25px;
}

@media screen and (max-width: 768px){

    .couponMdodal__frame{
        padding: 10px;
        width: 95%;
    }

}

/* グローバルメニュー */
@media screen and (max-width: 768px){

    .main-nav{
        flex-direction: row;
        gap: 20px;
    }

}

.header-icons a{
    font-size: 16px;
    font-weight: 400;
    color: #333333;
}

@media screen and (max-width: 768px){

    .header-icons a{
        font-size: 14px;
    }

}

/* 会社概要 */
@media screen and (max-width: 768px){

    .company table tr{
        display: flex;
        flex-direction: column;
    }

    .company table th{
        width: 100%;
    }

}