/* =========================================
   ベース・リセット
========================================= */
:root {
    --bg-dark: #0a0a0a;
    --bg-card: #151515;
    --text-main: #e0e0e0;
    --text-muted: #999;
    --gold-accent: #b28a3f;
    --gold-hover: #d1a95e;
    --border-color: #2a2a2a;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif; /* 和風の明朝体 */
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

a:hover {
    color: var(--gold-hover);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    display: block;
}

/* 共通ボタン */
.btn {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid var(--gold-accent);
    color: var(--gold-accent);
    text-align: center;
    font-size: 0.9rem;
    margin-top: 15px;
}
.btn:hover {
    background-color: var(--gold-accent);
    color: #fff;
}

/* =========================================
   ヘッダー
========================================= */
header {
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-area .icon {
    width: 50px;
    height: 50px;
    background-image: url('image/samurai.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.5rem;
}
.logo-text h1 {
    font-size: 1.4rem;
    letter-spacing: 2px;
}
.logo-text span {
    font-size: 0.6rem;
    color: var(--gold-accent);
    letter-spacing: 1px;
}
.global-nav ul {
    display: flex;
    gap: 25px;
    font-size: 0.9rem;
}
.header-icons {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
    text-align: center;
}
.header-icons > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}
.header-icons i {
    font-size: 1.2rem;
    margin-bottom: 5px;
}
.cart-icon {
    position: relative;
}
.cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: var(--gold-accent);
    color: #000;
    font-size: 0.7rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* =========================================
   ヒーローセクション
========================================= */
.hero {
    position: relative;
    height: 500px;
    background-image: url('image/samurai-bg.jpg');
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}
/* 刀を持った侍の背景画像を想定したグラデーション */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}
.hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
}
.hero h2 {
    font-size: 2.8rem;
    line-height: 1.4;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-align: left;
}
.hero p {
    font-size: 1rem;
    line-height: 2;
    color: #ccc;
    margin-bottom: 30px;
    text-align: left;
}
.btn-gold-bg {
    background-color: #8c7343;
    color: #fff;
    padding: 12px 40px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
}
.btn-gold-bg:hover {
    background-color: var(--gold-accent);
}

/* =========================================
   特徴（3つの強み）
========================================= */
.features {
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0;
}
.features-inner {
    display: flex;
    justify-content: space-between;
}
.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 30%;
}
.feature-box i {
    color: var(--gold-accent);
    font-size: 2rem;
    margin-top: 5px;
}
.feature-box h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}
.feature-box p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =========================================
   メインコンテンツ（2カラム）
========================================= */
.main-content {
    padding: 50px 0;
    display: flex;
    gap: 40px;
}

/* サイドバー */
.sidebar {
    width: 20%;
}
.sidebar h3 {
    color: var(--gold-accent);
    font-size: 1rem;
    margin-bottom: 5px;
}
.sidebar .sub-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.sidebar ul li {
    border-bottom: 1px solid var(--border-color);
}
.sidebar ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 0;
    font-size: 0.95rem;
}
.sidebar ul li a i {
    color: var(--gold-accent);
    width: 20px;
    text-align: center;
}

/* 商品一覧（右側） */
.products-area {
    width: 80%;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}
.section-header h2 {
    font-size: 1.8rem;
    font-weight: normal;
}
.section-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}
.see-all {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.product-card {
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    padding: 15px;
    position: relative;
}
.product-img {
    width: 100%;
    height: 150px;
    background-color: #222;
    margin-bottom: 15px;
    /* 画像用のプレースホルダー。画像を入れる場合は<img>を配置 */
}
.gold-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(178, 138, 63, 0.9);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    line-height: 1.2;
    text-align: center;
}
.gold-badge span {
    font-size: 0.5rem;
}
.product-location {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}
.product-name {
    font-size: 1rem;
    margin-bottom: 5px;
    height: 3em; /* 2行分確保 */
}
.product-weight {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.product-price {
    font-size: 1.2rem;
    color: #fff;
}
.product-price span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ページネーションドット */
.dots {
    text-align: center;
    margin-top: 30px;
}
.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #444;
    border-radius: 50%;
    margin: 0 5px;
}
.dot.active {
    background-color: var(--gold-accent);
}

/* =========================================
   特別セット
========================================= */
.special-set {
    background-color: #1a110a; /* 暗い赤茶色 */
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.special-inner {
    display: flex;
    gap: 40px;
}
.special-text {
    width: 30%;
}
.tag-limited {
    border: 1px solid #d35400;
    color: #d35400;
    font-size: 0.8rem;
    padding: 3px 8px;
    display: inline-block;
    margin-bottom: 15px;
}
.special-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 1.3;
}
.special-text p {
    font-size: 0.9rem;
    color: #ccc;
}
.special-cards {
    width: 70%;
    display: flex;
    gap: 20px;
}
.s-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px;
    width: 50%;
}
.s-date {
    color: var(--gold-accent);
    font-size: 0.85rem;
    margin-bottom: 10px;
}
.s-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
}
.s-img {
    width: 100%;
    height: 120px;
    background-color: #222;
    margin-bottom: 15px;
}
.s-price {
    font-size: 1.3rem;
    text-align: right;
}
.s-price span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =========================================
   生ハム侍とは ＆ 読み物
========================================= */
.info-sections {
    display: flex;
    gap: 20px;
    padding: 50px 0;
}
.info-box {
    width: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    background-color: var(--bg-card);
    overflow: hidden;
}
.info-text {
    padding: 5px 5px;
    width: 50%;
}
.info-text h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.info-text p {
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 20px;
}
.info-img {
    width: 50%;
    background-color: #222;
    /* グラデーションフェード効果（左側） */
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    object-fit: cover;
}
.reading-box {
    background-color: #1a1a1a;
    position: relative;
}
.reading-box .info-text {
    width: 100%;
    position: relative;
    z-index: 1;
}
.reading-box .info-img {
    position: relative;
    z-index: 2;
}
/* 読み物の背景（生ハムが吊るされている画像想定） */
.reading-bg {
    position: absolute;
    top: 0; right: 0; width: 50%; height: 100%;
    background-color: #222;
}

/* =========================================
   フッター・サービス案内
========================================= */
.service-footer {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
}
.service-inner {
    display: flex;
    justify-content: space-between;
}
.srv-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 23%;
}
.srv-item i {
    font-size: 2rem;
    color: var(--gold-accent);
}
.srv-item h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
}
.srv-item p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* =========================================
   メインフッター
========================================= */
footer {
    padding: 30px 0;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-logo .icon {
    width: 30px; height: 30px;
    /* background-color: var(--gold-accent); */
    border-radius: 50%;
}
.footer-links ul {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.footer-sns {
    display: flex;
    gap: 15px;
    font-size: 1.2rem;
}

/* =========================================
   レスポンシブデザイン
========================================= */
/* タブレット（768px以下） */
@media (max-width: 768px) {
    /* ヘッダー */
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    .global-nav ul {
        gap: 15px;
        font-size: 0.85rem;
    }

    /* ヒーロセクション */
    .hero {
        height: 350px;
        background-size: 60%;
        background-position: right bottom;
    }
    .hero h2 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 0.9rem;
    }

    /* 特徴セクション */
    .features-inner {
        flex-direction: column;
        gap: 20px;
    }
    .feature-box {
        width: 100%;
    }

    /* メインコンテンツ */
    .main-content {
        flex-direction: column;
        gap: 30px;
    }
    .sidebar {
        width: 100%;
    }
    .products-area {
        width: 100%;
    }

    /* プロダクトグリッド（2列） */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* 情報セクション */
    .info-sections {
        flex-direction: column;
    }
    .info-box {
        width: 100%;
        flex-direction: column;
    }
    .info-text {
        width: 100%;
        padding: 30px 20px;
    }
    .info-img {
        width: 100%;
        height: 200px;
    }
    .reading-bg {
        width: 100%;
    }

    /* サービスフッター */
    .service-inner {
        flex-direction: column;
        gap: 20px;
    }
    .srv-item {
        width: 100%;
    }

    /* フッター */
    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .footer-links ul {
        flex-direction: column;
        gap: 10px;
    }
}

/* モバイル（480px以下） */
@media (max-width: 480px) {
    /* 基本 */
    .container {
        padding: 0 15px;
    }

    /* ヘッダー */
    .header-inner {
        gap: 10px;
    }
    .logo-area .icon {
        width: 40px;
        height: 40px;
    }
    .logo-text h1 {
        font-size: 1.1rem;
    }
    .logo-text span {
        font-size: 0.5rem;
    }
    .global-nav ul {
        gap: 10px;
        font-size: 0.75rem;
    }

    /* ヒーロセクション */
    .hero {
        height: 250px;
        background-size: 50%;
        background-position: right bottom;
    }
    .hero h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    .hero p {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }
    .btn-gold-bg {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    /* 特徴セクション */
    .features {
        padding: 20px 0;
    }
    .feature-box {
        gap: 10px;
    }
    .feature-box i {
        font-size: 1.5rem;
    }
    .feature-box h3 {
        font-size: 0.9rem;
    }
    .feature-box p {
        font-size: 0.75rem;
    }

    /* メインコンテンツ */
    .main-content {
        padding: 30px 0;
        gap: 20px;
    }
    .sidebar h3 {
        font-size: 0.9rem;
    }
    .sidebar ul li a {
        padding: 12px 0;
        font-size: 0.9rem;
    }

    /* セクションヘッダー */
    .section-header {
        flex-direction: column;
        gap: 10px;
    }
    .section-header h2 {
        font-size: 1.4rem;
    }
    .section-header p {
        font-size: 0.8rem;
    }

    /* プロダクトグリッド（1列） */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .product-name {
        font-size: 0.95rem;
    }
    .product-price {
        font-size: 1rem;
    }

    /* 情報セクション */
    .info-sections {
        padding: 30px 0;
        gap: 15px;
    }
    .info-text {
        padding: 20px 15px;
    }
    .info-text h2 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    .info-text p {
        font-size: 0.8rem;
    }
    .info-img {
        height: 150px;
    }

    /* サービスフッター */
    .service-footer {
        padding: 30px 0;
    }
    .srv-item i {
        font-size: 1.5rem;
    }
    .srv-item h4 {
        font-size: 0.9rem;
    }
    .srv-item p {
        font-size: 0.7rem;
    }

    /* フッター */
    footer {
        padding: 20px 0;
    }
    .footer-links ul {
        font-size: 0.75rem;
        gap: 10px;
    }
    .footer-sns {
        font-size: 1rem;
        gap: 10px;
    }
}
