/* =========================================
   ベース設定（明るい配色）
========================================= */
body {
    margin: 0;
    font-family: "Hiragino Sans", sans-serif;
    background: #f7f7f7; /* ← 明るい背景 */
    color: #333;
    line-height: 1.6;
}

h1, h2, h3 {
    margin: 0 0 10px;
    font-weight: 600;
}

a {
    color: #007acc; /* 明るい青 */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* =========================================
   ヘッダー
========================================= */
.header {
    background: #ffffff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #007acc;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav a {
    font-weight: bold;
    color: #333;
}

/* =========================================
   ヒーローエリア
========================================= */
.hero {
    position: relative;
    height: 300px;
    background: url('hero.jpg') center/cover no-repeat;
}

.search-box {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.9); /* 明るい半透明 */
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.search-box input,
.search-box select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #ccc;
    color: #333;
    border-radius: 5px;
}

.search-btn {
    width: 100%;
    padding: 12px;
    background: #007acc;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
}

.search-btn:hover {
    background: #1a8be0;
}

/* =========================================
   セクション共通
========================================= */
section {
    padding: 40px 20px;
}

h2 {
    margin-bottom: 20px;
    border-left: 5px solid #007acc;
    padding-left: 10px;
    color: #333;
}

/* =========================================
   生活情報ダッシュボード
========================================= */
.dashboard-items {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.dashboard .item {
    flex: 1;
    min-width: 120px;
    background: #ffffff;
    padding: 15px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* =========================================
   新着店舗（カードUI）
========================================= */
.shop-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.shop-card {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: calc(33% - 20px);
    min-width: 260px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.shop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-color: #007acc;
}

.shop-img {
    height: 160px;
    background: #eaeaea url('noimage.jpg') center/cover no-repeat;
}

.shop-info {
    padding: 15px;
}

.shop-info h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #007acc;
}

.shop-info p {
    margin: 4px 0;
    font-size: 14px;
    color: #555;
}

/* タグ */
.shop-tags {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.shop-tag {
    background: #eef7ff;
    border: 1px solid #cce6ff;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 5px;
    color: #007acc;
}

/* =========================================
   地図
========================================= */
.map-area {
    height: 300px;
    background: #eaeaea;
    border-radius: 8px;
}

/* =========================================
   リンク集
========================================= */
.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.link-grid a {
    background: #ffffff;
    padding: 15px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #ddd;
    display: block;
    color: #333;
}

/* =========================================
   フッター
========================================= */
.footer {
    background: #ffffff;
    text-align: center;
    padding: 20px;
    border-top: 1px solid #ddd;
    color: #555;
}

/* =========================================
   スマホ対応
========================================= */
@media (max-width: 768px) {
    .nav ul {
        display: none;
    }

    .shop-card {
        width: 100%;
    }

    .dashboard-items {
        flex-direction: column;
    }
}
