/*
HEADER
FOOTER
MAIN CONTENTS
*/

html {
    background-color: #fff;
    scroll-behavior: smooth;
}

body {
    color: var(--color-primary);
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
    font-size: 1.4em;
    font-weight: 400;
    line-height: 1.8;
    overflow-wrap: anywhere;
    word-break: normal;
    line-break: strict;
    overflow-x: hidden;
    position: relative;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

a:link,
a:visited,
a:active,
a:hover {
    color: var(--color-textlink);
    font-weight: bold;
}

a:active,
a:hover {
    text-decoration: none;
}

/* HEADER ==================== */
header { 
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    width: 100%;
}

header h1 {
    background-image: url(../img/logo.svg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% auto;
    width: 74%;
    aspect-ratio: 420/294;
    margin: 0 auto;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

@media screen and (min-width: 960px) {
    header { aspect-ratio: 2 / 1;}

    header h1 {
        width: 48%;
    }
}


/* FOOTER ==================== */
footer { padding: 40px 0; }

.copyright {
    font-size: 1.2rem;
    text-align: center;
}


/* MAIN CONTENTS ==================== */
main {
    background-color: var(--color-bg);
    padding: 60px 0;
    position: relative;
    width: 100%;
}

@media screen and (min-width: 640px) {
    main {
        padding: 80px 0;
    }
}

h2 {
    background-color: var(--color-primary);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: var(--color-bg-goods);
    font-family: var(--gfont-jp), sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 3;
    text-align: center;
}

@media screen and (min-width: 640px) {
    h2 {
        font-size: 2.4rem;
    }
}



/* Store Select */
#store-select__wrap {
    background-color: var(--color-bg-goods);
    border-radius: 10px;
    margin: 0 var(--padding-rl-sp);
    padding: 30px 5vw;
}

#store-select {
    border-bottom: 1px solid var(--color-bg);
    margin-bottom: 30px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 20px;
}

#store-select li {
    width: 100%;
}

#store-select li a {
    background-color: var(--color-secondary);
    border: 4px solid var(--color-bg);
    border-radius: 9999px;
    color: var(--color-bg-goods);
    display: block;
    font-family: var(--gfont-jp), sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 3.2;
    padding-bottom: 2px;
    position: relative;
    text-align: center;
    text-decoration: none;
    width: 100%;
    transition: var(--transition-opacity);
}

#store-select li a::after {
    content: "";
    display: inline-block;
    border-top: 2px solid var(--color-bg);
    border-right: 2px solid var(--color-bg);
    width: 10px;
    aspect-ratio: 1 / 1;
    position: absolute;
    top: 50%;
    right: 30px;
    transform-origin: center center 0;
    transform: translateY(-50%) rotate(45deg);
}

@media screen and (min-width: 640px) {
    #store-select__wrap {
        padding: 50px 5vw;
    }

    #store-select {
        margin-bottom: 40px;
        padding-bottom: 40px;
        flex-direction: row;
        justify-content: center;
        column-gap: 30px;
    }
}

@media screen and (min-width: 1100px) {
    #store-select__wrap {
        margin: 0 auto;
        padding: 60px;
        width: var(--width-pc);
    }

    #store-select {
        column-gap: 60px;
    }

    #store-select li {
        width: auto;
    }

    #store-select li a {
        min-width: 280px;
    }
}

@media screen and (hover: hover) {
    #store-select li a:hover {
        opacity: var(--fade-opacity);
    }
}


/* Goods */
.goods__wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 5vw;
    margin: 0 auto;
    padding: 0 var(--padding-rl-sp);
    width: 100%;
}

.goods {
    background-color: var(--color-bg-goods);
    border-radius: 10px;
    color: var(--color-bg-goods);
    position: relative;
    width: calc((100% - (5vw * 1)) / 2);
}

.goods a {
    color: var(--color-primary);
    display: block;
    text-decoration: none;
    padding: 10px;
    width: 100%;
    height: 100%;
    transition: var(--transition-opacity);
}

.goods img {
    width: 100%;
    height: auto;
}

.goods__name {
    color: var(--color-secondary);
    font-family: var(--gfont-jp), sans-serif;
    font-weight: 700;
    line-height: 1.6;
    padding: 16px 0 6px;
}

.goods__price span {
    font-size: 87.5%;
}

.goods__new-icon {
    background-color: var(--color-secondary);
    border-radius: 50%;
    color: var(--color-bg);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 40px;
    text-align: center;
    width: 40px;
    aspect-ratio: 1 / 1;
    position: absolute;
    top: -10px;
    right: -10px;
}

@media screen and (min-width: 640px) {
    .goods__wrap {
        gap: 2.5vw;
        padding: 0 var(--padding-rl-sp);
    }

    .goods {
        width: calc((100% - (2.5vw * 2)) / 3);
    }

    .goods a {
        padding: 20px;
    }

    .goods__name {
        padding: 20px 0 10px;
    }

    .goods__new-icon {
        top: -16px;
        right: -16px;
    }
}

@media screen and (min-width: 1100px) {
    .goods__wrap {
        padding: 0;
        width: var(--width-pc);
    }
    .goods a {
        padding: 24px;
    }

    .goods__name {
        font-size: 1.6rem;
    }

    .goods__new-icon {
        font-size: 1.6rem;
        line-height: 56px;
        width: 56px;
        top: -20px;
        right: -20px;
    }
}

@media screen and (hover: hover) {
    .goods a:hover {
        opacity: var(--fade-opacity);
    }
}


/* Schedule */
.schedule__wrap {
    background-color: var(--color-bg-goods);
    border-radius: 10px;
    margin: 60px var(--padding-rl-sp) 0;    
    position: relative;
}

.schedule__inner {
    padding: 30px 5vw;
}

.schedule li {
    font-size: 1.6rem;
    padding-bottom: 24px;
}

.schedule li p {
    font-size: 1.4rem;
}

.schedule__att {
    border-top: 1px solid var(--color-bg);
    margin-top: 30px;
    padding-top: 30px;
}

@media screen and (min-width: 640px) {
    .schedule__wrap {
        margin-top: 80px;
    }

    .schedule__inner {
        padding: 40px 5vw;
    }

    .schedule li {
        font-size: 1.8rem;
    }

    .schedule__att {
        margin-top: 40px;
        padding-top: 40px;
    }
}

@media screen and (min-width: 1100px) {
    .schedule__wrap {
        margin: 80px auto 0;      
        width: var(--width-pc);
    }

    .schedule__inner {
        padding: 60px;
    }
}