* {margin: 0; padding: 0; box-sizing: border-box;}
html {scroll-behavior: smooth;}

:root {
    --wood-darker: #654321;
    --wood-text: #22190f;
    --wood-accent: #cd853f;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}

@font-face {
    font-family: "手書き風フォント";
    src: url("fonts/ktegaki.woff2") format("woff2");
    font-display: swap;
}

body {
    font-family: 'Zen Maru Gothic','Noto Sans JP','sans-serif';
    font-weight: 500;
    line-height: 1.8;
    color: var(--wood-text);
    background: #fffcf7;
}

.container {max-width: 1800px; margin: 0 auto; padding: 0 30px;}
.donguri-line {
  height: 50px;
  background-image: url('images/donguri.line.png');
  background-repeat: repeat-x;
  background-position: center;
  background-size: contain;
  opacity: 0.8;
  margin-top: 7rem;
}

#about, #menu, #access {
   scroll-margin-top: 90px;
}

.font-accent,.section-title{font-family: '手書き風フォント',sans-serif; }

/* Header Styles */
header {
    width: 100%;
    position: fixed; inset: 0 0 auto 0;
    background-color: rgba(183, 148, 92, 0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(101, 82, 12, .3);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
    transition: var(--transition-smooth);
}

.header-content {
    position: relative;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.1rem 0; gap: 2rem;
}

.logo {
    display: flex; align-items: center; gap: 0.3rem;
    font-size: 1.5rem; font-weight: 600;
    color: var(--wood-darker);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.logo:hover { transform: translateY(-2px); }
.logo img { height: 100px; display: block;}

.shop-titles {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5em;
  font-size: 2rem;
  flex-wrap: wrap; 
}

.shop-subname { font-size: 1.2rem; letter-spacing: 0.5px; }
.shop-name { font-size: 2.5rem; letter-spacing: 10px; }

nav { display: flex; gap: 1.5rem; margin-left: auto; }

nav a {
    display: flex; flex-direction: column; align-items: center;
    text-decoration: none;
    color: var(--wood-darker);
    font-weight: 600;
    padding: .5rem 1rem;
    position: relative; 
    transition: var(--transition-smooth);
}

nav a::after {
    content: '';
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 3px;
    background: var(--wood-accent);
    transition: width 0.3s ease-in-out;
}

nav a:hover { color: var(--wood-accent); transform: translateY(-2px); }
nav a:hover::after { width: 80%; }
nav a .en { font-size: 1.2rem; }
nav a .jp { font-size: 1rem; margin-top: 0; font-weight: 500; }

.menu-toggle { display: none; }

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .header-content { display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 16px; 
    position: relative;}
    .logo { justify-self: start;}
    .logo img { height: 70px;}
    .shop-titles {flex-direction: column; gap: 0; }
    .shop-subname { font-size: 1rem; padding-bottom: 0; }
    .shop-name { font-size: 2rem; letter-spacing: 5px; }
    .shop-subname, .shop-name { line-height: 1.3; }

    .menu-icon {
        justify-self: end;
        position: absolute;
        top: 2rem;
        right: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        cursor: pointer;
        z-index: 1100;
    }

    .menu-icon span {
        display: block;
        height: 4px;
        background-color: var(--wood-darker);
        border-radius: 2px;
    }


    .menu-toggle:checked+.menu-icon+nav {
        display: flex;
    }
    

   header nav {
        position: absolute;
         top: 100%;
         left: 0;
        width: 100%;
        display: flex;             /* flex に変更 */
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(4px);
        border-top: 1px solid rgba(101, 82, 12, 0.2);
        padding: 1rem 0;
        transform: translateX(100%);
        opacity: 0;
        transition: transform 0.35s ease-in-out, opacity 0.35s ease-in-out;
        z-index: 1000;
        }

        .menu-toggle:checked + .menu-icon + nav {
          transform: translateX(0);
          opacity: 1;
}

    nav a {
        padding: 0.8rem 1.5rem;
        border-bottom: 1px solid rgba(101, 82, 12, 0.1);
        text-align: left;
        align-items: flex-start;
        position: relative;
    }

    nav a .en { font-size: 1rem;}
    nav a .jp { font-size: 0.9rem;}
}

/* Menu Section */
.menu-content {
    max-width: 1200px;
    margin: 0 auto;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 0 auto;
    gap: 1rem;
    padding: 2rem 0;

}

.menu-image {
    width: 350px;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.menu-item-name {
    text-align: left;
    font-size: 1.2rem;
    color: var(--wood-darker);
    margin-bottom: 0.5rem;
    margin-left: 5px;
}

.menu-item-description {
    text-align: left;
    font-size: 0.95rem;
    color: var(--wood-text);
    line-height: 1.6;
    margin-left: 5px;
}

.menu-content h2 {
    text-align: left;
    font-size: 2rem;
    margin: 2rem 0 1rem;
    letter-spacing: 0.05em;
}


.menu-item-name {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #6b4c3b;
}

.menu-item-description {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
}

.menu-category h2 {
    text-align: center;
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    letter-spacing: 0.05em;
    color: #6b4c3b;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.menu-item {
    font-family: 手書き風フォント, serif;
    background-color: #fff8f0;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid var(--wood-medium);

}

.menu-item:hover {
    transform: translateY(-4px);
    background-color: #ffdebf;
}

.menu-item-name {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #6b4c3b;
}

.menu-item-description {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
}

.menu-item-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-temp-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.menu-btn {
    display: inline-block;
    margin: 0 auto;
    padding: 0.6em 1.8em;
    font-size: 1.5rem;
    color: #ffffff;
    background-color: rgba(126, 94, 57, 0.8);
    border-radius: 8px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 0 #d8cfc4;
}

.menu-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('handdrawn-border.svg');
    background-size: cover;
    pointer-events: none;
    border-radius: 8px;
}

.menu-btn:hover {
    background-color: rgba(126, 94, 57);
    color: #ffffff;
    box-shadow: 2px 2px 0 #b8a89c;
    transform: translateY(-2px);
}

.btn-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 2em;
    padding-bottom: 10rem;
}

@media (max-width: 768px) {
    .menu-item {
        padding: 0.8rem;
    }

    .menu-item-name {
        font-size: 1rem;
    }

    .menu-item-description {
        font-size: 0.9rem;
    }

    .menu-temp-icon {
        width: 36px;
        height: 36px;
    }

    .menu-category h2 {
        font-size: 1.6rem;
    }

    .menu-btn {
        font-size: 1.2rem;
        padding: 0.5em 1.2em;
    }

    .menu-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 1rem;
    }

}


/* Footer */
.hokkori-footer {
    background-color: rgba(183, 148, 92, 0.6);
    opacity: 0.8;
    padding: 1rem 1rem;
    text-align: center;
    font-family: "M PLUS Rounded 1c", sans-serif;
    color: #5c4a3b;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.sns-icons {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
    font-size: 2rem;
    width: 60px;
    height: auto;
}

.sns-icons a {
    color: #5c4a3b;
    transition: color 0.3s ease;
}

.sns-icons a:hover {
    color: #c89f7b;
}

.copyright {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.5);
}

@media (max-width: 600px) {
    .footer-center {
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }
}

@media (max-width: 640px) {
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}