/* モダンな配色：ネイビーとゴールドを基調に */
:root {
    --primary-color: #1a3a5f; /* 信頼のネイビー */
    --accent-color: #d4af37;  /* 品格のゴールド */
    --bg-color: #fcfdfd;
    --card-bg: #ffffff;
    --text-main: #333333;
    --text-sub: #666666;
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-size: 18px;
    line-height: 1.8;
}

/* ヘッダー：グラデーションでモダンに */
.main-header {
    background: linear-gradient(135deg, #1a3a5f 0%, #2c5282 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.main-header h1 {
    font-size: 2.8rem;
    margin: 0;
    font-weight: 700;
}

/* ナビゲーション：固定表示 */
.main-nav {
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-main);
    padding: 20px 30px;
    display: block;
    font-weight: bold;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--accent-color);
}

/* コンテナ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ヒーローカード */
.hero-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
}

.hero-content {
    padding: 50px;
    text-align: center;
}

.hero-content h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-top: 0;
}

.hero-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* 記事グリッド */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

.info-card {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border-top: 5px solid var(--accent-color);
}

.info-card:hover {
    transform: translateY(-8px);
}

.category-tag {
    font-size: 0.85rem;
    background: #fff8e1;
    color: #b8860b;
    padding: 4px 14px;
    border-radius: 4px;
    font-weight: bold;
}

.read-more {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid var(--primary-color);
}

/* 商品セクション */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.product-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.item-card {
    display: flex;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #eee;
}

.item-img img {
    width: 200px;
    height: 100%;
    object-fit: cover;
}

.item-body {
    padding: 30px;
}

.recommend-badge {
    background: #e74c3c;
    color: white;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: bold;
}

.shop-btn {
    display: block;
    text-align: center;
    background: linear-gradient(to bottom, #f39c12, #e67e22);
    color: white;
    text-decoration: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    margin-top: 20px;
    box-shadow: 0 4px 0 #d35400;
    transition: 0.2s;
}

.shop-btn:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #d35400;
}

/* フッター */
.main-footer {
    background: var(--primary-color);
    color: #e0e0e0;
    text-align: center;
    padding: 50px 20px;
    margin-top: 80px;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .product-wrapper { grid-template-columns: 1fr; }
    .item-card { flex-direction: column; }
    .item-img img { width: 100%; height: 200px; }
    .header-inner h1 { font-size: 2rem; }
}