html{
    font-size: 62.5%;
    color: #333;
}
body{
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    color: #333;
    position: relative;
}
h1,#intro>h2,#about h3,footer span,#drawer_menu ul:last-of-type span {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
    clip-path: inset(0px 0px 99.9% 99.9%);
    overflow: hidden;
    height: 1px;
    width: 1px;
}
p{
    font-size: 1.4rem;
    line-height: 1.8;
}
small{
    font-size: 1.2rem;
}
img{
    width: 100%;
    max-width: 100%;
    height: auto;
}
section img{
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
}
section small{
    display: inline-block;
    color: chocolate;
    margin-top: 1em;
}
.judson-regular {
    font-family: "Judson", serif;
    font-weight: 400;
    font-style: normal;
  }

.btn_ec{
    margin-top: 2em;
    flex: 0 0 100%;
    text-align: center;
    >a{
        display: block;
        border: 1px solid #CB9E00;
        border-radius: 5px;
        color: #CB9E00;
        margin: 0 auto;
        padding: 15px;
    }
}
#whole .btn_ec>a{
    border: 1px solid #06176C;
    color: #06176C;
}
#whole .btn_ec>a:last-of-type{
    border: 1px solid #CB9E00;
    color: #CB9E00;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeOut 1.5s 2.5s forwards;
  }
  
  @keyframes fadeOut {
    0% {
      opacity: 1;
    }
  
    100% {
      opacity: 0;
      visibility: hidden;
    }
  }
  
  .loading__logo {
    opacity: 0;
    animation: logo_fade 2s 0.5s forwards;
    width: 175px;
  }
  
  @keyframes logo_fade {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
  
    60% {
      opacity: 1;
      transform: translateY(0);
    }
  
    100% {
      opacity: 0;
    }
  }

header{
    padding: 15px 16px 20px;
    background-color: #fff;

    #logo{
        text-indent: 100%;
        white-space: nowrap;
        overflow: hidden;
    }
    #logo>a{
        display: block;
        background-image: url(../images/kh_logo_500.png);
        background-repeat: no-repeat;
        background-position: left center;
        background-size: contain;
        width: 100%;
        height: 6vh;
    }
    #logo+p{
        display: none;
    }
}

#intro{
    padding: 20px 16px;
    background-color: #fff;
    
    h3{
        color: #06176C;
        font-size: 2.1rem;
        text-align: center;
        margin-bottom: 0.8em;
    }
    >div{
        padding-bottom: 20px;
    }
}

#bg{
    border-radius: 15px;
    height: 60vh;
}

/* #about,#peti,#whole,#bake,#choco,#cafe,#shop */
main>section:not(#intro),#bake,#shop{
    background-color: #fff;
    padding: 40px 0px 60px;

    > div{
        display: grid;
        grid-template-columns: 20px 1fr;
        grid-template-rows: auto;
        align-items: center;
        padding: 0 16px 40px;

        h2{
            grid-column: 1/2;
            grid-row: 1/2;
            font-size: 1.2rem;
            font-weight: 700;
            color: #06176C;
            margin-bottom: 1em;
            -ms-writing-mode: tb-rl;
            writing-mode: vertical-rl;
        }
        h2::after{
            content: "";
            display: inline-block;
            height: 50px;
            border-left: 1px solid #06176C;
            margin-top: 5px;
        }
        p:first-of-type{
            grid-column: 2/3;
            grid-row: 1/2;
            color: #06176C;
            padding-left: 40px;
            font-size: 2.8rem;
            line-height: 1.2;
        }
        p:nth-of-type(2),p:last-of-type{
            grid-column: 1/3;
            padding: 0 20px 0 16px;
        }
    }

    >section>div{
        padding: 10px 0;
        position: relative;

        #bg2{
            aspect-ratio: 1/1.414;
            padding-top: 20vh;
            clip-path: polygon(0 0,100% 0,100% 100%,0 100vw);
        }
        #bg2+p{
            position: absolute;
            top: 10vh;
            left: 5%;
            width: 90%;
            margin: 0 auto;
            padding: 10px;
            background-color: rgb(255,255,255,0.4);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
    }

    #bg3,#bg4{
        clip-path: polygon(0 0,80% 23%,80% 100%,0 77%);
        aspect-ratio: 1/1.414;
        position: relative;
    
        p{
            position: absolute;
            right: 20vw;
            bottom: 50px;
            color: #06176C;
            font-size: 3.2rem;
            line-height: 1;
            text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
                        -1px 1px 0 #FFF, 1px -1px 0 #FFF,
                        0px 1px 0 #FFF,  0-1px 0 #FFF,
                        -1px 0 0 #FFF, 1px 0 0 #FFF;
            -ms-writing-mode: tb-rl;
            writing-mode: vertical-rl;
            
        }

        +div{
            padding: 20px;

            h4{
                color: #06176C;
                font-size: 1.6rem;
                line-height: 1.4;
                text-align: right;
                margin-bottom: 1em;
            }
            p{
                line-height: 1.8;
                margin-bottom: 1em;
            }
        }
    }
    #bg4{
        clip-path: polygon(0 0,90% 30%,90% 100%,0 100vw);
        padding-left: 60%;
    }
}

#peti,#whole,#bake,#choco,#cafe{

    ul{
        display: flex;
        flex-flow: row wrap;
        justify-content: space-around;
        gap: 8px 5px;
    
        li{
            flex: 0 1 32%;
        }
        li:first-child,
        li:nth-child(2){
            flex: 0 1 48%;
        }
    }

}
#whole,#bake{
    ul{
        li:first-child,
        li:nth-child(2){
            flex: 0 1 32%;
        }
    }
}
#choco,#cafe{
    ul{
        li{
            flex: 0 1 48%;
        }
    }
}

#bg_fix{
    padding: 70vh 0 50vh;
}

#bg_shop::before{
    content: "";
    display: block;
    position: sticky;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100vh;
    background-image: url(../images/bg_shop-1.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
#bg_shop::after{
    content: "";
    display: block;
    padding-top: 65dvh;
}
#bg_shop{
    width: 100%;

    #shop{
        color: #000;
        background-color: rgba(255,255,255,0.4);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);

        >section{
            padding: 20px 16px 80px;

            >div{
                padding-bottom: 40px;
            }
            h3{
                font-size: 2.1rem;
                margin-bottom: 1em;
            }
            #map {
                width: 100%;
                aspect-ratio: 4/3;

                iframe {
                    width: 100%;
                    height: 100%;
                  }
              }
            >p>a{
                display: block;
                padding: 15px;
                background-color: #06176C;
                color: #FFF;
                text-align: center;
                border-radius: 50px;
                letter-spacing: 1px;
            }
        }
        
        >div:last-of-type{
            display: block;
            >section{
                width: 100%;
                background-repeat: no-repeat;
                background-position: center top;
                background-size: 100% auto;
                padding: 70% 0 20px;
                margin-bottom: 40px;

                h3{
                    font-size: 1.8rem;
                    margin-bottom: 1em;

                    a{
                        text-decoration: underline;
                    }
                }
                ul{
                    margin-bottom: 1em;

                    li{
                        font-size: 1.4rem;
                        line-height: 1.6;
                    }
                }
                p{
                    padding-left: 0;

                    a{
                        font-size: 1.4rem;
                        display: block;
                        padding: 15px;
                        border: 1px solid #06176C;
                        color: #06176C;
                        text-align: center;
                    }
                }
            }
        }
        #umeda{
            background-image: url(../images/hk_umd_map.jpg);
        }
        #abeno{
            background-image: url(../images/kt_hal_map_l.jpg);
        }
    }

}

footer{
    width: 100%;
    /* height: 35dvh; */
    background-color: #FFF;
    padding: 4dvh 0 2dvh;
    border-top: 5px solid #06176C;

    p:first-of-type{
        width: 60%;
        max-width: 150px;
        height: auto;
        margin: 0 auto;
        padding-bottom: 2dvh;
    }

    ul{
        display: flex;
        flex-flow: row nowrap;
        justify-content: center;
        gap: 30px;
        padding-bottom: 2dvh;

        li{
            font-size: 3.2rem;
            color: #666;
        }
    }
    p:last-of-type{
        text-align: center;
    }
}

@media (min-width:768px){
    .btn_ec{
        margin-top: 0;
        width: 100%;

        a{
            display: inline-block;
            background-color: rgba(255,255,255,.5);
            padding: 10px;
            position: relative;
            overflow: hidden;
            outline: none;
            transition: ease .2s;
        }
        a:hover span{
            color:#fff;
          }
        span {
            position: relative;
            z-index: 3;
          }
    }

    .bgcenterx:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
        background: #CB9E00;
        width: 100%;
        height: 100%;
        transition: transform .3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
        transform: scale(0, 1);
        transform-origin: top;
      }
      .bgcenterx:hover:before{
        transform:scale(1, 1);
      }
    .bgcentery:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
        background: #06176C;
        width: 100%;
        height: 100%;
        transition: transform .3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
        transform: scale(0, 1);
        transform-origin: top;
      }
      .bgcentery:hover:before{
        transform:scale(1, 1);
      }

    header{
        width: 100%;
        padding: 15px 16px;
        position: fixed;
        top: 0;
        z-index: 100;
        background-color: rgba(255,255,255,0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);

        div{
            width: 100%;
            max-width: 1004px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 300px 1fr 250px;
            grid-template-rows: auto;
            align-items: center;
        }
    
        #logo{
            grid-column: 1/2;
            grid-row: 1/3;
            height: auto;
        }
        #logo>a{
            height: 56px;
        }
        #logo+p{
            display: block;
            grid-column: 3/4;
        }
    }

    #intro{
        padding: 150px 16px;
        
        h2+div{
            display: flex;
            flex-flow: row wrap;
            justify-content: center;
            align-items: center;
            padding-bottom: 40px;
        }
        h3{
            flex: 0 1 30%;
            max-width: 340px;
            font-size: 2.4rem;
            text-align: left;
            margin-bottom: 0;
        }
        p{
            flex: 0 1 70%;
            max-width: 664px;
            padding-left: 100px;
        }
        >div{
            padding-bottom: 0px;
        }
        #bg{
            height: 65vh;
        }
    }

    #peti,#whole,#bake,#choco,#cake{
        li{
            overflow: hidden;
        }
        img{
            -webkit-transform: scale(1);
            transform: scale(1);
            -webkit-transition: .3s ease-in-out;
            transition: .3s ease-in-out;
            }
        li:hover img{
            -webkit-transform: scale(1.3);
            transform: scale(1.3);
        }

    }
    #about,#shop{
        padding: 80px 0px;
    
        > div{
            grid-template-columns: 20px 1fr 620px;
            width: 100%;
            max-width: 1004px;
            margin: 0 auto;

            p:last-of-type{
                grid-column: 3/4;
            }
        }
    
        >section>div{
            width: 100%;
            max-width: 1142px;
            margin: 0 0 0 auto;
            position: static;
            display: grid;
            grid-template-columns: 1fr 430px 10% 490px 1fr;
            grid-template-rows: 1fr 1fr 1fr 1fr;
    
            #bg2{
                position: static;
                grid-row: 2/5;
                grid-column: 3/6;
                width: 100%;
                height: 35vh;
                aspect-ratio: normal;
                padding-top: 0vh;
                clip-path: polygon(0 0,100% 0,100% 100%,20% 100%,0 80%);
    
            }
            #bg2+p{
                position: static;
                grid-column: 2/4;
                grid-row: 1/3;
                width: 90%;
                margin: 0;
                padding: 20px 20px;
                line-height: 2em;
                background-color: rgb(255,255,255,0.4);
                backdrop-filter: blur(10px);
                -webkit-backdrop-filter: blur(10px);
            }
        }
        >section>section{
            width: 100%;
            max-width: 1004px;
            display: flex;
            flex-flow: row nowrap;
            justify-content: flex-start;
            align-items:flex-end;
            height: 60vh;
            margin-bottom: 40px;
            margin-left: 15%;
        
            &:last-of-type{
                margin-left: 0;
            }
        }
        #bg3,#bg4{
            width: auto;
            flex: 0 1 40%;
            clip-path: polygon(0 0, 100% 22%, 100% 100%, 80% 100%, 0 82%);
            aspect-ratio: 1/1.414;
            position: relative;
            height: 500px;

            p{
                right: 70px!important;                
            }
        
            +div{
                padding: 0 0 0 40px;

                h4{
                    font-size: 2.4rem;
                    text-align: left;
                    margin-bottom: 2em;
                }
                p{
                    line-height: 2;
                }
            }
        }
        #bg4{
            flex: 0 1 40%;
            padding-left: 0;
            margin-left: 0;
        }
            
    }

    #peti,#whole,#bake,#choco,#cafe{
        display: flex;
        flex-flow: row nowrap;
        justify-content: flex-end;
        padding-top: 80px;

        >div{
            flex: 0 1 23%;
            max-width: 340px;
            height: 50vh;
            grid-template-columns: 20px 1fr;
            grid-template-rows: auto;
            margin: 0;
        }
        p:first-of-type{
            grid-column: 2/3;
            grid-row: 1/2;
            padding-left: 20px;
        }
        p:nth-of-type(2){
            grid-column: 1/3!important;
            grid-row: 2/3;
        }
        p:last-of-type{
            grid-column: 1/3!important;
            grid-row: 3/4;
        }

        ul{
            flex: 0 1 67%;
            max-width: 800px;
            display: flex;
            flex-flow: row wrap;
            justify-content: space-between;
            align-content: flex-start;
            gap: 10px;
        
            li{
                flex: 0 1 24%;
            }
            li:first-child,li:nth-child(2),li:nth-child(3){
                flex: 0 1 32%;
            }
            li:nth-of-type(2),li:nth-of-type(5),li:nth-of-type(9){
                transition-delay: .1s;
            }
            li:nth-of-type(3),li:nth-of-type(6),li:nth-of-type(10){
                transition-delay: .2s;
            }
            li:nth-of-type(7),li:nth-of-type(11){
                transition-delay: .3s;
            }
        }
    
    }
    #whole,#bake{
        >div{
            height: 60vh;
        }
        li{
            flex: 0 1 32%!important;
        }
    }
    #bake,#choco{
        flex-flow: row-reverse nowrap;

    }
    #choco ul{
        display: grid;
        grid-template-rows: auto;
        grid-template-columns: 53% 1fr;
        

        li:first-child{
            display: none;
        }
        li:nth-child(2){
            grid-column: 1/2;
            grid-row: 1/3;
            transition-delay: .1s;
        }
        li:nth-child(3){
            grid-column: 2/3;
            grid-row: 1/2;
            transition-delay: .2s;
            img{
                aspect-ratio: 1.78/1!important;
            }
        }
        li:last-child{
            grid-column: 2/3;
            grid-row: 2/3;
            transition-delay: .0s;
            img{
                aspect-ratio: 1.78/1!important;
            }
        }
    }
    #cafe{
        flex-flow: column nowrap;
        justify-content: flex-end;
        align-content: flex-start;
        background-image: url(../images/bd_cafe.jpg);
        background-repeat: no-repeat;
        background-position: right center;
        background-size: 30% auto;
        padding-left: 20%;
        >div{
            flex: 0 1 30%!important;
            max-width: 610px;
            height: 40vh;
        }
        >ul{
            flex: 0 1 30%;
            max-width: 610px;
        }
        li{
            flex: 0 1 48%!important;
            max-width: 610px;
            &:nth-of-type(2),&:nth-of-type(3){
                transition-delay: .1s;
            }
            &:nth-of-type(4){
                transition-delay: .2s;
            }
        }
    }
    #bg_shop{

        #shop{

            >section{
                width: 100%;
                max-width: 1004px;
                margin: 0 auto;
                padding: 0 0 80px;
                display: flex;
                flex-flow: row-reverse wrap;
                justify-content: center;
                column-gap: 2%;

                >div{
                    display: block;
                    flex: 0 1 40%;
                    max-width: 414px;
                    padding: 0;
                }

                #map {
                    flex: 0 1 58%;
                    max-width: 590px;
                    width: auto;
                    aspect-ratio: 16/9;
    
                    iframe {
                        width: 100%;
                        max-width: 100%;
                        height: 100%;
                      }
                  }
                >p{
                    flex: 0 1 100%;
                    padding-top: 40px;
                }
                >p>a{
                    width: 40%;
                    margin: 0 auto;
                }
            }
            >div:last-of-type{
                width: 100%;
                max-width: 1004px;
                margin: 0 auto;
                display: flex;
                flex-flow: row nowrap;
                justify-content: center;
                column-gap: 5%;

                >section{
                    flex: 0 1 50%;
                    width: auto;
                    background-size: contain;
                    padding: 33% 0 20px;

                        a:hover{
                            border:1px solid #CB9E00;
                            color: #CB9E00;
                    } 
                }
            }
        }
    }

    footer{
        padding: 4dvh 0 2dvh;
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
    
        p:first-of-type{
            flex: 0 1 11%;
            max-width: 112px;
            width: auto;
            margin: 0;
        }
    
        ul{
            flex:  0 1 89%;
            max-width: 716px;
            justify-content: flex-end;
            gap: 30px;
    
            li{
                font-size: 3.2rem;
                color: #666;
            }
        }
        p:last-of-type{
            flex: 0 1 100%;
            text-align: center;
        }
    }
}



/* xmas_popup */
.xmas-cont {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    color: #fff;
    background: rgba(255, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    z-index: 100;
    visibility: hidden;
    box-shadow: 0px -4px 4px 0px rgba(0, 0, 0, 0.2);

    .xmas-text{
        width: 100%;
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        align-items: center;
    
    h2{
        font-size: 2.1rem;
        margin-bottom: 10px;
    }
    p{
        font-size: 1.6rem;
    }
}
  }
  .xmas-cont.is-show {
    visibility: visible;
  }
  .xmas-cont a {
    color: #fff !important;
  }
  /* メディアクエリ */
  @media screen and (min-width: 768px) {
    .xmas-text br{
        display: none;
    }
    
  }