@charset "UTF-8";

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    color: #A40000;
    font-family: "DotGothic16", sans-serif;
    background-color: #A40000;
}

th,
td {
    color: #f3f3f3;
    font-family: sans-serif;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: #f3f3f3;
    font-family: sans-serif;
}

img {
    width: 100%;
}

p {
    font-family: sans-serif;
}

address {
    font-style: normal;
}

.title {
    text-align: center;
    margin-top: 20px;
    font-size: 2rem;
    border-bottom: 1px dotted #f3f3f3;
    color: #f3f3f3;
}

.wrapper {
    width: 80%;
    margin: 0 auto;
}

.logo {
    width: 170px;
}

.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-image: url(../img/header-bg.png);
    background-size: cover;
    height: 120px;
    z-index: 9999;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 75px;
}

.drawer-btn {
    position: relative;
    width: 3rem;
    height: 3rem;
    border: none;
    cursor: pointer;
    z-index: 999;
}

.drawer-btn>span {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2rem;
    height: .125rem;
    background-color: #f3f3f3;
    transform: translateX(-50%);
}

.drawer-btn>span:first-child {
    transform: translate(-50%, calc(-50% - 0.5rem));
    transition: transform 0.1s ease;
}

.drawer-btn>span:nth-child(2) {
    transform: translate(-50%, -50%);
    transition: opacity 0.1s ease;
}

.drawer-btn>span:last-child {
    transform: translate(-50%, calc(-50% + 0.5rem));
    transition: transform 0.1s ease;
}

.drawer-btn.is-active>span:first-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.drawer-btn.is-active>span:nth-child(2) {
    opacity: 0;
}

.drawer-btn.is-active>span:last-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.drawer-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.drawer-nav.is-active {
    opacity: 1;
    visibility: visible;
}

.drawer-nav-inner {
    position: relative;
    width: 50%;
    height: 100%;
    background-color: #A40000;
    padding: 4rem 1.5rem 1rem;
    margin: 0 0 0 auto;
    overflow: scroll;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.drawer-nav.is-active .drawer-nav-inner {
    transform: translateX(0);
}

.drawer-nav-menu {
    list-style-type: none;
    padding-left: 0;
}

.drawer-nav-link {
    display: block;
    text-decoration: none;
    color: #f3f3f3;
    font-weight: bold;
    padding: 1rem 1rem;
    border-bottom: 1px dotted lightgray;
}

body.is-active {
    height: 100%;
    overflow: hidden;
    /* これのおかげでメニューを出している時は画面が移動しない */
}

/* 下記のコードはレスポンシブの際に修正がいる */
.pc-nav {
    display: none;
}



/* swiper---------- */
.content-title {
    text-align: center;
    margin: 20px auto;
    color: #A40000;
}

.loading {
    text-align: center;
    font-size: 1.5rem;
}

.menu {
    width: 90%;
    margin: 30px auto 0;
    background-color: #fff6ce;
    padding: 20px;
    border-radius: 5px;
}

.menu-container {
    display: flex;
    justify-content: space-between;
}

.menu-reverse {
    flex-direction: row-reverse;
}

.menu a {
    display: block;
    margin: 0 auto;
    margin-top: 20px;
    text-align: center;
    font-size: .75rem;
}

.menu-content p {
    font-size: .85rem;
}

.menu-img {
    width: 50%;
}

.menu-img img {
    aspect-ratio: 1/1;
    object-fit: cover;
}

.menu-content {
    width: 45%;
    
}

.menu-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1rem;
    background-color: rgb(154, 0, 0);
    /* 赤系 */
    color: #f3f3f3;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.menu-btn:hover {
    background-color: rgb(108, 39, 39);
    scale: 1.02;
}


/* shop----------- */
.shop-about {
    background-color: #fff6ce;
    padding: 20px;
    border-radius: 5px;
}

.shop-info {
    padding: 20px;
    border-spacing: 0;
    margin: 0 auto;
}

.shop-info th {
    width: 35%;
    font-size: .875rem;
}

.shop-info th,
.shop-info td {
    color: #333;
    text-align: left;
    padding: 10px;
    border-bottom: 1px dotted #A40000;
}

.shop-content {
    color: #333;
    padding: 20px;
}

.shop-about {
    margin-top: 3rem;
}

.shop-about img {
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: top;
}


/* history--------- */
.history-content p {
    color: #333;
}

.history-inner {
    background-color: #fff6ce;
    border-radius: 5px;
    padding: 30px;
    margin: 20px 0;
}







/* footer---------- */
footer {
    background-image: url(../img/footer-bg.png);
    padding-top: 40px;
    position: absolute;
    z-index: 999;
    margin-top: 100px;
}

.footer-container h1 {
    text-align: center;
}

.footer-about {
    padding: 25px 10px 10px;
    display: flex;
    justify-content: space-between;
}

.footer-logo {
    width: 140px;
    margin: 0 auto;
}

.logo-item {
    width: 40%;
}

.info {
    width: 50%;
    text-align: left;
}

.info th {
    margin-bottom: 5px;
}

.info th span {
    padding-bottom: 3px;
    border-bottom: 1px dotted #f3f3f3;
}

.info th,
.info td {
    display: block;
    font-size: .8rem;
}

.sns {
    width: 35%;
    margin: 30px auto 0;
}

/* show.html ------------- */
.product-image {
    margin-top: 30px;
}

#product-detail {
    width: 60%;
    height: 60vh;
    margin: 0 auto;
    background-color: #fff6ce;
    border-radius: 5px;
}

#product-detail h2 {
    display: inline-block;
    border-bottom: 1px dotted #A40000;
    font-size: 1.2rem;
}

#product-detail p {
    margin-top: 10px;
    width: 80%;
    margin: 0 auto;
    text-align: center;
    color: #333;
}



@media (min-width: 500px) {
    .menu-container {
        justify-content: center;
        gap: 30px;
    }

    .menu-img {
        width: 40%;
    }

    .menu-content h3 {
        font-size: 1.5rem;
    }

    .menu-content p {
        font-size: 1rem;
        margin-top: 10px;
    }

    .menu-content a {
        margin-top: 40px;
        font-size: 1rem;
    }
  }

@media (min-width: 768px) {
    .wrapper {
        width: 70%;
    }

    
    .header {
        height: 120px;
    }
    
    .header-inner {
        height: 75px;
    }

    .pc-nav {
        display: block;
    }

    .drawer-btn,
    .drawer-nav {
        display: none;
    }

    .pc-nav-menu {
        display: flex;
        gap: 1.5rem;
    }

    .pc-nav-menu li a {
        color: #f3f3f3;
    }

    .menu {
        width: 70%;
    }
    
    .menu-img {
        width: 35%;
    }

    /* footer------- */
    .sns {
        width: 25%;
        margin: 0 auto 0;
    }

    /* history----- */
    .history-flex {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 80%;
    }

    .history-inner {
        width: 47%;
    }

    .history-content img {
        aspect-ratio: 4/3;
        object-fit: cover;
        object-position: center;
    }


    /* shop */
    .shop-about img {
        aspect-ratio: 16/9;
        object-fit: cover;
        object-position: top;
    }

    .shop-flex {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .shop-about:first-child {
        width: 100%;
        margin: 3rem auto 0;
    }

    .shop-info th {
        width: 45%;
    }

    .shop-about {
        width: 48%;
    }

    .shop-info {
        padding: 10px;
    }

    /* show */
    #product-detail {
        width: 40%;
    }
    
}

@media (min-width: 1024px) {
    .menu-content h3 {
        font-size: 1.75rem;
    }

    .menu-content p {
        font-size: 1.25rem;
        margin-top: 15px;
    }

    .menu-content a {
        margin-top: 70px;
    }

    .sns {
        width: 15%;
    }
}

@media (min-width: 1280px) {
    .menu {
        width: 50%;
        margin: 30px auto 0;
        padding: 20px;
        border-radius: 5px;
    }

    .menu-content a {
        margin-top: 60px;
    }

    .sns {
        width: 10%;
        margin: 10px auto 0;
    }

    .footer-about {
        padding: 25px 10px 10px;
        justify-content: center;
    }

    /* shop------ */
    .shop-info {
        width: 80%;
        margin: 0 auto;
    }

    .shop-info th {
        font-size: 1rem;
    }

    /* show------ */
    .item-about {
        width: 40%;
        margin: 0 auto;
    }

    /* history----- */
    .history-flex {
        width: 60%;
    }
}