/*
  手打ちうどん 小髙 Base Styles
  Theme: 和の趣 × 手作りの温かみ
*/

:root {
    --primary-bg: #FAFAFA;
    --text-main: #3E2723;
    --text-light: #6D4C41;
    --accent-color: #B5651D;
    --accent-hover: #8a4d16;
    --border-color: #E0E0E0;
    --white: #FFFFFF;

    --font-heading: 'Shippori Mincho', serif;
    --font-body: 'Noto Sans JP', 'Inter', sans-serif;

    --container-width: 1000px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--primary-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-top: 70px;
    padding-bottom: 80px;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 5%; }
.section { padding: 100px 0; }
.bg-light { background-color: var(--white); }
.mt-10 { margin-top: 100px; }

h1, h2, h3, h4 { font-family: var(--font-heading); }

.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 60px; letter-spacing: 0.1em; }
.section-title span { color: var(--accent-color); }

/* Header */
.site-header {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 70px;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}
.header-inner {
    max-width: 1200px; margin: 0 auto; height: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 5%;
}
.logo { font-size: 1.4rem; font-weight: 700; }
.logo span { color: var(--accent-color); }
.global-nav ul { display: flex; gap: 30px; }
.global-nav a { font-weight: 500; font-size: 0.95rem; }
.global-nav a:hover { color: var(--accent-color); }
.btn-tel { background-color: var(--accent-color); color: var(--white); padding: 8px 20px; border-radius: 50px; font-weight: 700; letter-spacing: 0.05em; }
.btn-tel:hover { background-color: var(--accent-hover); }

.hamburger {
    display: none; background: none; border: none; cursor: pointer;
    width: 30px; height: 20px; position: relative; z-index: 1001;
}
.hamburger span { position: absolute; width: 100%; height: 2px; background: var(--text-main); transition: var(--transition); }
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

/* Hero */
.hero { position: relative; height: calc(100vh - 70px); width: 100%; overflow: hidden; background: #000; }
.hero-carousel { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.7; }
.carousel-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    opacity: 0; animation: slideFade 20s infinite;
}
@keyframes slideFade {
    0% { opacity: 0; transform: scale(1); }
    5% { opacity: 1; }
    25% { opacity: 1; }
    30% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; transform: scale(1.05); }
}
.hero-content { position: absolute; top: 50%; left: 5%; transform: translateY(-50%); color: var(--white); z-index: 2; }
.hero-copy { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.3; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); margin-bottom: 20px; }
.hero-sub { font-size: 1.15rem; font-weight: 500; text-shadow: 1px 1px 5px rgba(0,0,0,0.5); }

.scroll-indicator {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    color: var(--white); display: flex; flex-direction: column; align-items: center;
    font-size: 0.8rem; letter-spacing: 0.1em;
}
.scroll-indicator .line { width: 1px; height: 60px; background: rgba(255,255,255,0.3); margin-top: 10px; position: relative; overflow: hidden; }
.scroll-indicator .line::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 50%;
    background: var(--white); animation: scrollLine 2s infinite cubic-bezier(0.65, 0, 0.35, 1);
}
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }

/* Concept */
.concept-content { max-width: 800px; margin: 0 auto; text-align: center; }
.concept-text { font-family: var(--font-heading); font-size: 1.2rem; line-height: 2.2; color: var(--text-main); }

/* Menu grid */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.menu-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.05); transition: var(--transition); }
.menu-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.card-image { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #eee; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.menu-card:hover .card-image img { transform: scale(1.05); }

.badge {
    position: absolute; top: 15px; left: -15px; background: var(--accent-color); color: var(--white);
    padding: 5px 30px; font-size: 0.8rem; font-weight: bold; transform: rotate(-45deg); box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.card-content { padding: 25px; text-align: center; }
.card-content h3 { font-size: 1.3rem; margin-bottom: 15px; color: var(--text-main); border-bottom: 2px solid var(--accent-color); padding-bottom: 10px; display: inline-block; }
.card-content p { font-size: 0.95rem; color: var(--text-light); text-align: left; }

/* Seasonal layout (originally drink-layout) */
.drink-layout { display: flex; align-items: center; gap: 50px; background: var(--primary-bg); border-radius: 12px; overflow: hidden; }
.drink-image { flex: 1; min-height: 400px; background: #eee; }
.drink-image img { width: 100%; height: 100%; object-fit: cover; }
.drink-text { flex: 1; padding: 40px; }
.drink-list { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 30px; }
.drink-list li { background: var(--white); border: 1px solid var(--accent-color); color: var(--accent-color); padding: 8px 20px; border-radius: 50px; font-weight: 500; font-size: 0.95rem; }

/* Space (Z-pattern) */
.space-z-pattern { display: flex; flex-direction: column; gap: 80px; }
.z-item { display: flex; align-items: center; gap: 5%; }
.z-item.reverse { flex-direction: row-reverse; }
.z-image { flex: 1; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 25px rgba(0,0,0,0.1); background: #eee; aspect-ratio: 4/3; }
.z-image img { width: 100%; height: 100%; object-fit: cover; }
.z-text { flex: 1; }
.z-text h3 { font-size: 1.8rem; margin-bottom: 20px; color: var(--accent-color); }
.z-text p { font-size: 1.05rem; line-height: 1.8; }

/* Info */
.info-layout { display: flex; flex-direction: column; gap: 40px; }
@media (min-width: 768px) { .info-layout { flex-direction: row; } }
.info-list { flex: 1; background: var(--white); padding: 40px; border-radius: 12px; box-shadow: 0 2px 15px rgba(0,0,0,0.05); }
.info-list dt { font-weight: 700; color: var(--accent-color); margin-bottom: 5px; font-size: 1.1rem; border-left: 3px solid var(--accent-color); padding-left: 10px; }
.info-list dd { margin-bottom: 25px; line-height: 1.5; font-size: 0.95rem; }
.info-list dd:last-child { margin-bottom: 0; }
.info-list .tel a { display: inline-block; font-size: 1.8rem; font-weight: 700; color: var(--text-main); }
.info-list .tel a:hover { color: var(--accent-color); }
.info-list .note { display: block; font-size: 0.9rem; color: var(--text-light); margin-top: 5px; }
.info-list .link-row { display: flex; gap: 16px; flex-wrap: wrap; }
.info-list .link-row a { color: var(--accent-color); font-weight: 600; font-size: 0.95rem; text-decoration: underline; }

.map-container { flex: 1; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 15px rgba(0,0,0,0.05); }
.map-container iframe { width: 100%; height: 300px; border: 0; display: block; }

/* Sticky CTA */
.sticky-cta { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--white); padding: 15px; box-shadow: 0 -2px 15px rgba(0,0,0,0.1); z-index: 100; text-align: center; }
.cta-inner { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cta-inner p { font-size: 0.9rem; font-weight: 700; color: var(--text-light); }
.btn-cta {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--accent-color); color: var(--white); width: 100%; max-width: 400px;
    padding: 15px; border-radius: 50px; font-size: 1.4rem; font-weight: 700;
    box-shadow: 0 4px 15px rgba(181, 101, 29, 0.4);
}
.btn-cta:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* Footer */
.site-footer { background: var(--text-main); color: var(--white); text-align: center; padding: 60px 0 30px; }
.footer-logo { font-size: 1.8rem; margin-bottom: 30px; }
.footer-logo span { color: var(--accent-color); }
.footer-nav { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.footer-nav a:hover { color: var(--accent-color); }
.footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; font-size: 0.9rem; }
.footer-links a { color: rgba(255,255,255,0.8); text-decoration: underline; }
.copyright { font-size: 0.9rem; color: rgba(255,255,255,0.6); }

/* Menu list */
.menu-note { text-align: center; font-size: 0.9rem; color: var(--text-light); margin-top: -40px; margin-bottom: 50px; }
.menu-category { max-width: 700px; margin: 0 auto 50px; }
.menu-category:last-child { margin-bottom: 0; }
.menu-cat-title {
    font-size: 1.3rem; color: var(--accent-color); border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px; margin-bottom: 20px; letter-spacing: 0.1em;
}
.menu-list { display: flex; flex-direction: column; gap: 0; }
.menu-item {
    padding: 14px 0; border-bottom: 1px dashed var(--border-color);
}
.menu-item:last-child { border-bottom: none; }
.menu-item-top, .menu-item:not(.has-desc) { display: flex; align-items: baseline; gap: 0; }
.menu-name { font-size: 1.05rem; font-weight: 600; white-space: nowrap; }
.menu-dots { flex: 1; border-bottom: 1px dotted #bbb; margin: 0 10px; position: relative; top: -4px; min-width: 20px; }
.menu-price { font-size: 1.05rem; font-weight: 700; color: var(--accent-color); white-space: nowrap; }
.menu-desc { font-size: 0.88rem; color: var(--text-light); margin-top: 6px; line-height: 1.6; }

/* Responsive */
@media (max-width: 900px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 768px) {
    .global-nav {
        position: fixed; top: 70px; left: 0; width: 100%; height: calc(100vh - 70px);
        background: var(--white); display: flex; flex-direction: column; justify-content: center; align-items: center;
        transform: translateY(-100%); opacity: 0; transition: var(--transition); visibility: hidden;
    }
    .global-nav.active { transform: translateY(0); opacity: 1; visibility: visible; }
    .global-nav ul { flex-direction: column; align-items: center; gap: 40px; }
    .global-nav a { font-size: 1.2rem; }
    .hamburger { display: block; }
    .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .menu-grid { grid-template-columns: 1fr; }
    .drink-layout { flex-direction: column; }
    .drink-image { min-height: 220px; width: 100%; }
    .z-item, .z-item.reverse { flex-direction: column; gap: 30px; }
    .z-item .z-image { width: 100%; }
    .section { padding: 60px 0; }
    .mt-10 { margin-top: 60px; }
    .hero-content { left: 50%; transform: translate(-50%, -50%); text-align: center; width: 90%; }
    .map-container iframe { height: 260px; }
    .btn-tel { display: none; }
}
