/* 基本設定 */
:root {
    --primary-color: #5D4037; /* コーヒーブラウン */
    --accent-color: #A1887F;   /* ミルクティー色 */
    --bg-color: #FAFAFA;       /* オフホワイト */
    --text-color: #333;
    --white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', 'Noto Serif JP', serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--primary-color);
}

/* ヘッダー */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: rgba(255, 255, 255, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a:hover {
    color: var(--accent-color);
}

/* ファーストビュー */
.hero {
    height: 100vh;
    background-image: url('/css/Image_20250523_142021_856.jpeg'); /* カフェのイメージ */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    position: relative;
}

/* 画像を少し暗くして文字を読みやすくする */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

/* コンセプト */
.concept-grid {
    display: flex;
    align-items: center;
    gap: 50px;
}

.concept-text {
    flex: 1;
}

.concept-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.concept-img {
    flex: 1;
    height: 500px;
    background-image: url('/css/1-de38d006.png');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

/* お知らせ */
.news {
    background-color: #fff;
}

.news-list li {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.news-list .date {
    font-weight: bold;
    margin-right: 15px;
    color: var(--primary-color);
}

.news-list .tag {
    background: var(--accent-color);
    color: #fff;
    font-size: 0.8rem;
    padding: 3px 8px;
    margin-right: 15px;
    border-radius: 4px;
}

.news-list a:hover {
    text-decoration: underline;
}

/* メニュー */
.menu-note {
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 10px 40px;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.3s;
    font-family: inherit;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.menu-content {
    display: none; /* デフォルトは非表示 */
    animation: fadeIn 0.5s ease;
}

.menu-content.active {
    display: grid; /* activeクラスがついたら表示 */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.05);
}

.menu-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.menu-header h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.price {
    font-weight: bold;
    font-size: 1.2rem;
}

.desc {
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: #555;
}

.allergy {
    font-size: 0.8rem;
    color: #888;
    display: block;
}

/* 店舗情報 */
.access-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

dl {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 15px;
}

dt {
    font-weight: bold;
    color: var(--primary-color);
    border-right: 2px solid var(--accent-color);
}

.map-placeholder {
    flex: 1;
    min-width: 300px;
    height: 300px;
    background-color: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    border-radius: 8px;
}

/* フッター */
.footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* レスポンシブ対応 (スマホ向け) */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }

    .concept-grid {
        flex-direction: column;
    }
    
    .menu-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .access-info {
        flex-direction: column;
    }
}
