@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@600&family=Zen+Kaku+Gothic+New:wght@400;500&display=swap');

:root {
    --bg: #EFE7D8;
    --surface: #FBF8F1;
    --ink: #2B2622;
    --seal: #AC3F2C;
    --matcha: #6E7F54;
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    color: var(--ink);
    font-family: 'Zen Kaku Gothic New', sans-serif;
    line-height: 1.8;
}

h1, h2, h3, h4, .brand-font {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
}

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

/* 页眉与导航 */
header {
    border-bottom: 1px solid var(--ink);
    padding: 20px 0;
    background-color: var(--bg);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text .kanji {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}

.logo-text .roman {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
}

nav.desktop-nav {
    display: flex;
    gap: 30px;
}

nav.desktop-nav a {
    color: var(--ink);
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s;
}

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

/* 按钮组件 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--ink);
    color: var(--surface);
    padding: 12px 28px;
    text-decoration: none;
    font-family: 'Shippori Mincho', serif;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.4s, color 0.4s;
    border-radius: 0; /* 严格直角 */
    gap: 12px;
}

.btn:hover {
    background-color: var(--seal);
}

.btn .dot {
    width: 6px;
    height: 6px;
    background-color: var(--seal);
    display: inline-block;
}

.btn-outline {
    background-color: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
}

.btn-outline:hover {
    background-color: var(--ink);
    color: var(--surface);
}

.btn-outline .dot {
    background-color: var(--ink);
}

.btn-outline:hover .dot {
    background-color: var(--surface);
}

/* 带有印章的标题 */
.heading-with-seal {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.heading-with-seal h2 {
    font-size: 2rem;
}

.hanko-stamp {
    width: 28px;
    height: 28px;
}

/* 独立区块 */
section {
    padding: 90px 0;
    border-bottom: 1px dashed var(--ink);
}

section:last-of-type {
    border-bottom: none;
}

/* 主视觉 (Hero) 不对称布局 */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 120px 0;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.2;
    color: var(--ink);
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-vertical {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-family: 'Shippori Mincho', serif;
    font-size: 1.6rem;
    border-left: 1px solid var(--ink);
    padding-left: 20px;
    height: 300px;
    color: var(--matcha);
    letter-spacing: 0.2em;
}

/* 菜单式价格表 */
.menu-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
}

.menu-list li {
    margin-bottom: 30px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    position: relative;
}

.menu-item::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    border-bottom: 1px dotted var(--ink);
    z-index: 1;
}

.menu-name {
    background-color: var(--bg);
    padding-right: 15px;
    z-index: 2;
    font-family: 'Shippori Mincho', serif;
    font-size: 1.4rem;
}

.menu-price {
    background-color: var(--bg);
    padding-left: 15px;
    z-index: 2;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
}

.menu-desc {
    display: block;
    font-size: 0.9rem;
    color: #555;
}

/* 网格与卡片 */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.card {
    background-color: var(--surface);
    padding: 40px;
    border: 1px solid var(--ink);
    position: relative;
    transition: background-color 0.4s ease;
}

.card:hover {
    background-color: #f7f1e6;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* 今日特供卡片 */
.today-set {
    border: 2px solid var(--seal);
    text-align: center;
    background-color: var(--surface);
}

.today-set:hover {
    background-color: var(--surface);
}

.seal-corner {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border: 2px solid var(--seal);
    border-radius: 14%;
    color: var(--seal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Shippori Mincho', serif;
    font-size: 1rem;
    transform: rotate(-15deg);
    font-weight: bold;
}

/* 页脚 */
footer {
    padding: 60px 0;
    background-color: var(--surface);
    border-top: 1px solid var(--ink);
    text-align: center;
}

.footer-links a {
    margin: 0 15px;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--seal);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-vertical {
        writing-mode: horizontal-tb;
        border-left: none;
        border-top: 1px solid var(--ink);
        padding-left: 0;
        padding-top: 20px;
        height: auto;
        margin-top: 40px;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    nav.desktop-nav {
        display: none; /* 简化移动端头部 */
    }
    
    .menu-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .menu-item::after {
        display: none;
    }
    
    .menu-name, .menu-price {
        padding: 0;
        background-color: transparent;
    }
    
    .menu-price {
        margin-top: 5px;
        margin-bottom: 5px;
        color: var(--seal);
    }
}
