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

html{
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #5d4037; 
    background-color: #fdfaf1; 
    line-height: 1.8; 
    overflow-x: hidden;
}

.quick-nav {
    padding: 60px 20px;
    background-color: #fdfaf1;
}

.quick-nav-list {
    display: flex;
    justify-content: center;
    gap: 80px;
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
}

.quick-nav-list li a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.3s, transform 0.3s;
}

.quick-nav-list li a:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}

.quick-nav-list .en {
    font-size: 1.4rem;
    font-family: "Times New Roman", serif; 
    letter-spacing: 0.15em;
    color: #8c6a50;
    line-height: 1.2;
}

.quick-nav-list .jp {
    font-size: 0.6rem;
    color: #a68b7c;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

.section-title { 
    text-align: center; 
    margin-bottom: 60px; 
    font-size: 1.8rem; 
    font-family: "Times New Roman", serif; 
    letter-spacing: 0.2em; 
    color: #8c6a50; 
}

.section-title span { 
    display: block; 
    font-size: 0.85rem; 
    font-weight: normal; 
    letter-spacing: 0.1em; 
    margin-bottom: 5px; 
    color: #a68b7c; 
}

section { 
    padding: 100px 20px; 
}

.news, 
.shop {
    background-image: 
        linear-gradient(0deg, transparent 24%, #f2efe6 25%, #f2efe6 26%, transparent 27%),
        linear-gradient(90deg, transparent 24%, #f2efe6 25%, #f2efe6 26%, transparent 27%);
    background-size: 40px 40px;
    text-align: center;
}

.menu { 
    background-color: #fdfaf1;
    background-image: radial-gradient(#e0e0e0 1.5px, transparent 1.5px); 
    background-size: 25px 25px; 
}

.hero { 
    height: 50vh; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.hero .logo img { 
    max-width: 250px; 
    width: 100%; 
    height: auto; 
}


.hamburger {
    display: none; 
    position: fixed; 
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #8c6a50;
    border-radius: 5px;
    cursor: pointer;
    z-index: 10000; 
}

.hamburger span {
    position: absolute;
    left: 12px;
    width: 26px;
    height: 2px;
    background: #fff;
    transition: all 0.4s;
}

.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { top: 24px; }
.hamburger span:nth-child(3) { top: 32px; }

.nav.open + .hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.open + .hamburger span:nth-child(2) { opacity: 0; }
.nav.open + .hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(140, 106, 80, 0.98); 
    padding: 100px 40px;
    transition: all 0.5s;
    z-index: 9998; 
}

.nav.open {
    right: 0;
}

.nav-list {
    list-style: none;
}

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

.nav-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-family: "Times New Roman", serif;
}

.nav.open ~ .hamburger span:nth-child(1) {
    top: 24px; 
    transform: rotate(45deg);
}
.nav.open ~ .hamburger span:nth-child(2) {
    opacity: 0;
}
.nav.open ~ .hamburger span:nth-child(3) {
    top: 24px; 
    transform: rotate(-45deg);
}


.news-frame { 
    display: inline-block; 
    position: relative; 
    max-width: 600px; 
    width: 100%; 
    min-height: 400px; 
    background: url("../img/pinkwaku.png") no-repeat center center;
    background-size: contain; 
    padding: 55px 115px; 
    margin: 20px 0;
    z-index: 1;
}

.news-frame::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%; 
    height: 125%;
    transform: translate(-50%, -50%);
    background: url("../img/pinkwaku.png") no-repeat center center;
    background-size: 100% 100%;
    z-index: -1; 
}

.news-list { 
    list-style: none; 
    text-align: left; 
}

.news-list li { 
    padding: 12px 0; 
    border-bottom: 1px dashed #d7ccc8; 
    font-size: 0.95rem; 
    display: flex; 
    flex-direction: column; 
}


.news-list li a {
    display: flex;         
    flex-direction: column; 
    align-items: flex-start;
    text-decoration: none; 
    color: inherit;    
    width: 100%;
    transition: opacity 0.3s;
    padding: 12px 0;
}
.news-list li a:hover {
        opacity: 0.7;
    }
.news-list li .date {
    display: block;
    margin-bottom: 5px; 
    color: #8d6e63;
}


.news-accent { 
    position: absolute; 
    bottom: -10px; 
    right: -10px; 
    width: 90px; 
}

.concept { 
    background-color: #fffef9; 
    text-align: center; 
}

.concept-logo { 
    width: 230px; 
    margin-bottom: 20px; 
}

.concept-content {
    position: relative; 
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.concept-img {
    position: absolute;
    width: 175px; 
    height: auto;
    z-index: 1;
}

.milk {
    top: 10%; left: -5%; transform: rotate(-15deg); 
}
.egg {
    top: 8%; right: -5%; transform: rotate(15deg); 
}
.flour {
    top: 40%; left: -10%; transform: rotate(-10deg); 
}
.konekone {
    top: 40%; right: -8%; transform: rotate(10deg); 
}
.butter {
    bottom: 0; left: 5%; transform: rotate(-5deg); 
}
.mittens {
    bottom: 0; right: 5%; transform: rotate(5deg); 
}

.concept-logo, .concept-copy, .concept-text, .concept-btn-area {
    position: relative;
    z-index: 2;
}

.concept-copy {
    font-size: 1.6rem;
    color: #8c6a50;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
}

.btn-outline {
    display: inline-block;
    margin-top: 40px;
    padding: 15px 50px;
    border: 1px solid #8c6a50;
    color: #8c6a50;
    text-decoration: none;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #8c6a50;
    color: #fff;
}

.btn-outline {
    display: inline-block;
    position: relative; 
    margin-top: 40px;
    padding: 15px 80px 15px 50px;
    border: 1px solid #8c6a50;
    color: #8c6a50;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-outline::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px; 
    width: 40px;
    height: 1px; 
    background-color: #8c6a50;
    transition: all 0.3s;
}

.btn-outline::before {
    content: "";
    position: absolute;
    top: calc(50% - 4px);
    right: 20px;
    width: 8px;
    height: 8px;
    border-top: 1px solid #8c6a50;
    border-right: 1px solid #8c6a50;
    transform: rotate(45deg); 
    transition: all 0.3s;
    background-color: transparent !important;
}

.btn-outline:hover {
    background-color: #8c6a50;
    color: #fff;
}

.btn-outline:hover::after,
.btn-outline:hover::before {
    background-color: #fff;
    border-color: #fff;     
    right: 10px;           
}

.menu-tab-container { 
    max-width: 1000px; 
    margin: 0 auto; 
}

.menu-main-display { 
    display: none; 
}

.menu-main-display.is-active { 
    display: block; 
    animation: fadeIn 0.5s ease forwards; 
}

.menu-item { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 40px; 
}

.menu-img { 
    flex: 0 0 50%; 
    text-align: center; 
}

.menu-img img { 
    width: 100%; 
    max-width: 450px; 
    height: auto; 
    object-fit: cover; 
}

.menu-text {
    flex: 0 0 45%; 
    text-align: center; 
    padding: 60px 40px;
    background: url("../img/menu_kumo.png") no-repeat center / contain;
}

.menu-text h3 { 
    font-size: 1.8rem; 
    font-family: serif; 
    margin-bottom: 15px; 
    color: #5d4037; 
}

.menu-text p { 
    font-size: 1rem; 
    color: #8c6a50; 
    max-width: 85%; 
    margin: 0 auto; 
    line-height: 1.8; 
}

.menu-thumbnails {
    display: flex; 
    justify-content: center; 
    gap: 50px; 
    flex-wrap: wrap;
}

.thumb-item { 
    width: 100px; 
    cursor: pointer; 
    text-align: center; 
    transition: 0.3s; 
}

.thumb-item:hover {
    transform: scale(1.1) translateY(-5px);
}

.thumb-item img { 
    width: 100px; 
    height: 100px; 
    object-fit: cover; 
    margin-bottom: 8px; 
}

.thumb-item.is-active { 
    opacity: 1; 
    transform: translateY(-5px); 
}

.thumb-item.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    cursor: pointer;
}

.thumb-item.fade-up.show {
    opacity: 0.6; 
    transform: translateY(0);
}

.thumb-item.is-active {
    opacity: 1 !important;
    transform: translateY(-5px) !important;
}

.thumb-item:hover {
    opacity: 1 !important;
    transition: transform 0.1s ease-out !important;
    transition-delay: 0s !important; 
    transform: scale(1.1) translateY(-8px) !important;
}

.thumb-item.fade-up:nth-child(1) { transition-delay: 0.1s; }
.thumb-item.fade-up:nth-child(2) { transition-delay: 0.2s; }
.thumb-item.fade-up:nth-child(3) { transition-delay: 0.3s; }
.thumb-item.fade-up:nth-child(4) { transition-delay: 0.4s; }
.thumb-item.fade-up:nth-child(5) { transition-delay: 0.5s; }
.thumb-item.fade-up:nth-child(6) { transition-delay: 0.6s; }

.menu .concept-btn-area{
    justify-self: center;
}

.shop-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px 30px; 
    max-width: 1000px; 
    margin: 0 auto;
}

.shop-card { 
    text-align: center; 
    font-family: "Times New Roman", serif;
}

.shop-card img { 
    width: 100%; 
    max-width: 280px; 
    height: auto; 
    margin-bottom: 15px; 
}

.shop-card p:first-of-type {
    font-size: 1.4rem;  
    font-weight: bold;  
    color: #8c6a50;     
    margin-bottom: 10px; 
    display: block;    
}

.shop-card p { 
    font-weight: bold; 
    color: #5d4037; 
}


.btn-primary {
    display: inline-block; 
    padding: 4.5rem 8.7rem;
    background-color: #8c6a50; 
    color: #fff;
    text-decoration: none; 
    font-weight: bold; 
    transition: 0.3s;
    font-size: 3rem;
}

.btn-primary:hover { 
    background-color: #5d4037; 
}


.footer {
    background-color: #E9937D; 
    padding: 60px 20px 30px;
    color: #fff;
    text-align: center; 
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;           
    justify-content: space-between; 
    align-items: center;      
    padding-bottom: 40px;     
}

.footer-left {
    flex: 0 1 auto;
    text-align: left;
}

.footer-logo img {
    max-width: 115px;
    height: auto;
    display: block;
}


.footer-nav {
    display: flex;
    gap: 20px;
    list-style: none;
    margin-bottom: 15px;
    justify-content: flex-end; 
}

.footer-nav li a {
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
}

.footer-sns {
    display: flex;
    gap: 15px;
    justify-content: flex-end; 
}

.copyright {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 20px;
    color: #fff;
}

.footer-inner {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-evenly !important;
    align-items: center !important;
    max-width: 1000px;
    /* margin: 0 auto 40px !important; */
    text-align: left !important;
}

.footer-left {
    text-align: left !important;
}


.footer-nav {
    justify-content: flex-end !important;
    margin-bottom: 10px !important;
}

.footer-sns {
    justify-content: flex-end !important;
}

.footer-buttons {
    display: flex;      
    gap: 20px;           
    justify-content: flex-end; 
}

.btn-footer {
    display: inline-block;
    padding: 25px 80px;
    background-color: #8c6a50;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s;
    min-width: 180px;      
    text-align: center;
    color: #fff;
    letter-spacing: 0.15em;
    position: relative;
}


.btn-footer::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px; 
    width: 40px;
    height: 1px; 
    background-color: #FFF;
    transition: all 0.3s;
}

.btn-footer::before {
    content: "";
    position: absolute;
    top: calc(50% - 4px);
    right: 20px;
    width: 8px;
    height: 8px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg); 
    transition: all 0.3s;
    background-color: transparent !important;
}

.btn-footer:hover {
    background-color: #E9937D;
    color: #fff;
    transform: translateY(-2px);
    border: 1px solid #fff;
}

.btn-footer:hover::after,
.btn-footer:hover::before {
    right: 10px;
}

.btn-footer:hover::after {
    background-color: #fff !important;
}

.btn-footer:hover::before {
    background-color: transparent !important;
    border-color: #fff !important;
}

.copyright {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    clear: both !important;
}

.copyright {
    font-size: 0.75rem;
    border-top: 1px solid rgba(93, 64, 55, 0.2);
    padding-top: 30px;
    color: #fff;
}


.fade-up { 
    opacity: 0; 
    transform: translateY(40px); 
    transition: opacity 1.2s ease, transform 1.2s ease; 
}


.fade-up.is-active {
    opacity: 1; 
    transform: translate(0, 0);
}

.reveal-box { 
    position: relative; 
    display: inline-block; 
    overflow: hidden; 
    opacity: 0; 
}

.reveal-box.is-active { 
    opacity: 1; 
}

.reveal-box::after {
    content: ""; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-color: #E9937D; 
    transform: scaleX(0); 
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1); 
    z-index: 2;
}

.reveal-box.is-active::after { 
    animation: reveal-bg 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards; 
}

.reveal-box img { 
    opacity: 0; 
    transition: opacity 0.1s 0.6s; 
}

.reveal-box.is-active img { 
    opacity: 1; 
}

.pop-in {
    opacity: 0;
    transform: scale(0.5); 
    transition: opacity 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pop-in.is-active {
    opacity: 1;
    transform: scale(1); 
}

.page-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.page-top.is-active {
    opacity: 1;
    visibility: visible;
}

.page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #8c6a50; 
    color: #fff;
    width: 60px;
    height: 60px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 50%; 
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: background 0.3s, transform 0.3s;
}

.page-top a:hover {
    background: #5d4037;
    transform: translateY(-5px); 
}



@keyframes reveal-bg {
    0% { transform: scaleX(0); transform-origin: left; }
    50% { transform: scaleX(1); transform-origin: left; }
    51% { transform: scaleX(1); transform-origin: right; }
    100% { transform: scaleX(0); transform-origin: right; }
}

@keyframes fadeIn { 
    from { opacity: 0; } 
    to { opacity: 1; } 
}

@media (max-width: 768px) {
    section { 
        padding: 60px 20px; 
    }
    .section-title{
        margin-bottom: 0;
    }

    .hamburger {
        display: block; 
    } 
    
    .quick-nav { 
        display: none; 
    } 

    .menu-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .menu-img {
        width: 100%;
        flex: 0 0 100%; 
    }

    .menu-text {
        width: 100%;
        max-width: 100%;
        padding: 40px 20px;
        background-size: contain;
        background-position: center;
        flex: 0 0 100%; 
        width: 100%; 
        margin-top: -145px;
    }

    .menu-text p {
        max-width: 90%; 
    }

    .menu-thumbnails{
        justify-content: space-around;
    }

 
    .hero { 
        height: 40vh; 
    }
    .menu-thumbnails {
    gap: 0; 
    }
    .page-top {
        right: 15px;
        bottom: 15px;
    }
    .page-top a {
        width: 50px;
        height: 50px;
    }
    .concept-img {
        width: 50px;
        opacity: 0.5; 
    }

    .news-frame {
        min-height: auto; 
        background-size: 100% 100%;
        background-position: center;
        padding: 45px; 
        width: 100%;
        max-width: 100%;
        margin: 20px 0;
    }

    .news-frame::before {
        width: 170%;  
        height: 120%; 
        background-size: 100% 100%;
    }

    .concept-btn-area {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .concept-btn-area .btn-outline {
        margin-top: 20px; 
    }

    .menu-text {
        margin-top: -168px;
    }

    .news, .concept, .menu, .shop, .contact {
        overflow-x: hidden; 
    }
    
    .concept-content {
        width: 100%;
        max-width: 100%;
        padding: 40px 10px;
    }
    
    .concept-content img {
        width: 30%;
    }
    .milk { left: 2%; top: 5%; }
    .egg { right: 2%; top: 8%; }
    .flour { left: -2%; top: 40%; }
    .konekone { right: -2%; top: 45%; }
    .butter { bottom: -5%; left: 0; }
    .mittens { bottom: -5%; right: 0; }
    
    .menu-img img {
        width: 90%;
    }

    .menu .concept-btn-area{
        justify-self: center;
    }

    .shop-grid {
        display: flex; 
        overflow-x: auto; 
        scroll-snap-type: x mandatory; 
        gap: 20px;
        padding: 20px 20px 40px; 
        -webkit-overflow-scrolling: touch; 
    }

    .shop-card {
        flex: 0 0 80%;
        scroll-snap-align: center; 
    }

    .shop-grid::-webkit-scrollbar {
        height: 5px;
    }
    .shop-grid::-webkit-scrollbar-thumb {
        background: #8c6a50;
        border-radius: 10px;
    }


    .concept-copy {
        font-size: 1.2rem; 
    }

    .quick-nav-list {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .quick-nav-list .en {
        font-size: 1rem;
    }

    .btn-outline {
        padding: 12px 60px 12px 30px; 
        font-size: 0.9rem;
    }

    .btn-primary {
        font-size: 1.5rem; 
        padding: 1.5rem 3rem; 
        width: auto;
        min-width: 200px;
        display: inline-block;
        line-height: 1;
    }

    
    .btn-primary {
        font-size: 1.5rem; 
        padding: 20px 40px; 
        width: 80%; 
        max-width: 300px;
        display: inline-block;
        line-height: 1.5;
        height: auto;
    }
    
    .contact {
        padding: 60px 0; 
        text-align: center;
        overflow: hidden;
    }

    .footer {
        padding: 60px 20px 30px;
    }

    .footer-inner {
        flex-direction: column; 
        gap: 30px;
        padding-bottom: 30px;
    }

    .footer-left {
        text-align: center; 
    }

    .footer-nav {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 20px;
    }

    .footer-sns {
        justify-content: center;
    }

    .footer-buttons {
        flex-direction: column; 
        align-items: center;   
        gap: 15px;
    }
    .btn-footer {
        width: 90%;  
        max-width: 300px;
        padding: 15px 40px 15px 20px !important;
        font-size: 0.9rem;     
    }
    .btn-footer::after,
    .btn-footer::before {
        right: 15px;
    }
    
}




@media (max-width: 600px) {
    .quick-nav-list {
        gap: 20px;
    }
    .quick-nav-list .en {
        font-size: 1.1rem;
    }
    .quick-nav-list .jp {
        font-size: 0.65rem;
    }
}

/* スクショ用：すべてを強制表示 */
/* * {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    transition: none !important;
} */