/* ======================
common
=========================*/
:root {
    --color-bgtext: #F2E9DD;
    --color-primary: #3D2702;
    --color-secondary: #C19160;
    --color-accent: #1B1E3D;
    --color-text: #D2D2D2;
    --contentWidth: 89.3%;
    --contentPadding: 5.3%;
}

body {
    font-family: 
        "Shippori Mincho", 
        "Hiragino Mincho ProN", 
        "Yu Mincho", 
        serif;
    font-style: normal;
    color: var(--color-primary, #3D2702);
    background-color: var(--color-bgtext, #F2E9DD);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

.copy {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    line-height: 1;
    margin: 0 auto;
}

/* PC: 769px and up */
@media screen and (min-width:769px){
    :root {
    --contentPaddingPC: 9.7%;
    }

    body {
        font-size: 1.25rem;
    }
}


/* ======================
body_loadingScreen
=========================*/
.loadingScreen {
    width: 100%;
    height: 100vh;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--color-primary);
}

.loadingScreen__bg {
    background-image: url(../images/background_mozaic.png);
    opacity: 0.5;
}

.loadingScreen__logo {
    transition: opacity 0.3s ease;

}

.loadingScreen__logo img {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.container {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}

.container.open {
    opacity: 1;
    visibility: visible;
}

/* PC: 769px and up */
@media screen and (min-width:769px){
    .loadingScreen__logo img {
        width: 260px;
        height: auto;
}
}


 /* ======================
header
=========================*/
.header {
    height: 66px;
    align-items: center;
    padding: var(--contentPadding, 5.3%);
    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;
    width: 100%;
}

.visually-hidden {
    display: none;
}

.nav {
    background-color: var(--color-bgtext);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding: var(--contentPadding) var(--contentPadding) 0 var(--contentPadding);
    transform: translateX(-100%);
    transition: transform 0.4s;
    z-index: 100;
}

/* nav.active表示 */
.nav.active {
    transform: translateX(0);
    z-index: 100;
}

.nav__bg {
    background-image: url(../images/background_oldpaper.png);
    opacity: 0.1;
    background-repeat: repeat;
    z-index: 100;
}

.nav__header {
    position: relative;
    width: 26px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 201;
}

.line {
    box-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.nav__header span {
  display: block;
  height: 1px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav__header.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav__header.active span:nth-child(2) {
  opacity: 0;
}
.nav__header.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav__list {
    margin-top: 66px;
    text-align: center;
}

.nav__item {
    margin-top: 24px
}

.button {
    margin-top: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.button__contact,
.button__bulkOrders {
    color: var(--color-bgtext);
    background-color: var(--color-primary);
    width: 230px;
    height: 66px;
    outline: 1px solid var(--color-bgtext);
    outline-offset: -6px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}

.button__contact:hover {
    color: var(--color-primary);
    background-color: var(--color-secondary);
    outline: 1px solid var(--color-primary);
    outline-offset: -6px;
}

.button__bulkOrders {
    line-height: 1.3;
    margin-top: 12px;
}

.button__bulkOrders:hover {
    color: var(--color-primary);
    background-color: var(--color-secondary);
    outline: 1px solid var(--color-primary);
    outline-offset: -6px;
}

.link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

/* PC: 769px and up */
@media screen and (min-width:769px){
    .nav__list {
        font-size: 1.375rem;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        gap: 22px;
        margin-top: 100px;
    }

    .button__contact,
    .button__bulkOrders {
        font-size: 1rem;
        width: 374px;
    }
}

/* ======================
main
=========================*/
    /* ======================
    section.access
    =========================*/
.access {
    padding: 100px var(--contentPadding) 50px var(--contentPadding);
    position: relative;
    background-color: var(--color-secondary);

}

.access::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;

    left: 50%;
    width: 100%;
    transform: translateX(-50%);

    background-image: url("../images/background_mozaic.png");
    background-size: contain;
    background-position: center;
    background-repeat: repeat;
    opacity: 0.05;
}

.access::after {
    content: "Access";
    opacity: 10%;
    font-family: "Pinyon Script";
    font-size: 6.25rem;
    white-space: nowrap;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
}

address {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
}

.access__left  {
    order: 2;
}

.access__map {
    width: 100%;
    height: 230px;
    order: 1;
}

.access__postalCode {
    margin-top: 12px;
}

.access__address {
    line-height: 1.4;
    margin-top: 2px;
}

.access__station {
    margin-top: 8px;
}

.event {
    margin-top: 50px;
    position: relative;
}

.event img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center top;
    margin-top: 30px;
}

.event__txt {
    line-height: 1.4;
    margin-top: 12px;
    text-align: justify;
}

.instagram-link_event {
    color: var(--color-bgtext);
    background-color: var(--color-primary);
    width: 230px;
    height: 66px;
    outline: 1px solid var(--color-bgtext);
    outline-offset: -6px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
    margin: 12px auto 0;
}

.instagram-link_event:hover {
    color: var(--color-text);
    background-color: var(--color-accent);
    outline: 1px solid var(--color-text);
    outline-offset: -6px;
}

.instagram-link_event::before {
    content: "";
    position: absolute;
    top: 40px;
    bottom: 0;
    left: 250px;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-image: url("../images/logo_link.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.access__map,
.instagram-link_event {
    position: relative;
}

/* PC: 769px and up */
@media screen and (min-width:769px){
    .access {
        padding: 180px var(--contentPaddingPC, 9.7%) 180px var(--contentPaddingPC);
    }

    .access::after {
        font-size: clamp(4.6875rem, 11.161vw - 0.67rem, 9.375rem);
        opacity: 100%;
        top: 200px;
        left: var(--contentPaddingPC);
        transform: translateX(0);
    }

    .access__map {
        width: 630px;
        height: 460px;

    }

    address {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        margin-top: 0;
    }

    .access__addressWrap {
        display: flex;
        align-items: flex-start;
        gap: 48px;   
    }
    
    .access__left {
        order: 1;
    }

    .access h2 {
        font-size: 2.25rem;
        position: absolute;
        left: var(--contentPaddingPC);
        top: 370px;
        z-index: 1;
    }

    .access__map {
        order: 2;
        margin-left: auto;
    }

    .access__detail {
        margin-top: auto;
    }


    .summary-indent {
        display: inline-block;
        margin-left: 0;
    }

    .access__detail .pcBr {
        display: none;
    }

    .event {
        display: flex;
        gap: 24px;
        margin-top: 100px;
    }

    .event__right {
        display: flex;
        flex-direction: column;
        justify-content: end;
    }

    .event img {
        height: 300px;
        object-position: center;
        margin-top: 0;
    }

    .event__txt {
        margin: 0 80px 0;
    }
}

 /* ======================
footer
=========================*/
.footer {
    padding: 50px var(--contentPadding) 50px var(--contentPadding);
    position: relative;
    color: var(--color-bgtext);
    background-color: var(--color-primary);
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;

    left: 50%;
    width: 100%;
    transform: translateX(-50%);

    background-image: url("../images/background_mozaic.png");
    background-size: contain;
    background-position: center;
    background-repeat: repeat;
    opacity: 0.05;
}

.copy__link {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

.footer__copy {
    text-align: center;
    font-size: clamp(1rem, 0.595vw + 0.714rem, 1.25rem);
    white-space: nowrap;
}

.copy__logo {
    width: 120px;
    height: auto;
    margin: 12px auto 0;
}

.basicInfo {
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    display: flex;
    width: fit-content;
    gap: 10px;
    margin: 20px auto 0;
    white-space: nowrap;
}

.link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    background: none;
    outline: none;
}

.link img {
    display: block;
}

.footer__copyright {
    text-align: center;
    font-size: 0.75pc;
    margin-top: 20px;
}

.copy__link,
.link {
    position: relative;
}

/* PC: 769px and up */
@media screen and (min-width:769px){
    .footer {
        padding: 100px 250px;
    }

    .footer__left {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .copy__logo {
        width: 200px;
    }

    .basicInfo {
        justify-content: right;
        margin: 0;
    }

    .link {
        margin-top: 30px;
    }

    .instagram-link_event {
        font-size: 1rem;
    }
}