/* =========================================
   Brand detail common layout
========================================= */
.p_brand_features {
    position: relative;
    width: 100%;
    background-color: #000A02;
    color: #FFFFFF;
    padding: 10rem 0;
}

.p_brand_features__inner {
    width: 80%;
    max-width: 1430px;
    margin: 0 auto;
}

.p_brand_features__box {
    display: grid;
    grid-template-columns: minmax(0, 70.5fr) minmax(0, 66.5fr);
    gap: clamp(4rem, 3.125vw, 6rem);
    align-items: flex-start;
}

.p_brand_features__img {
    width: 100%;
}

.p_brand_features__img img {
    width: 100%;
    height: auto;
    display: block;
}

.p_brand_features__text_wrap {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    padding-top: clamp(4rem, 6.25vw, 12rem);
}

.p_brand_features__text {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2;
    letter-spacing: 0;
}

.l_brand_container {
    width: 80%;
    max-width: 1430px;
    margin: 0 auto;
    padding: 10rem 0 10rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-sizing: border-box;
}

.p_brand_sidebar {
    width: 27rem;
    flex-shrink: 0;
    position: sticky;
    top: 12rem;
    background-color: #FFFFFF;
    color: #000A02;
    padding-left: 2rem;
    z-index: 10;
}

.p_brand_sidebar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background-color: #DDDDDD;
}

.p_brand_sidebar__inner {
    padding-bottom: 0;
}

.p_brand_sidebar__nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.p_brand_sidebar__nav li {
    border-top: 1px solid currentColor;
    color: #848484;
    transition: color 0.3s ease;
}

.p_brand_sidebar__nav a {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.2rem 0 3rem;
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.p_brand_sidebar__nav li.is-active,
.p_brand_sidebar__nav li:hover {
    color: #000A02;
}

.p_brand_sidebar__nav a:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 0.4rem;
}

.p_brand_sidebar__nav_ja {
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.6;
}

.p_brand_sidebar__nav_en {
    font-family: 'Exo', sans-serif;
    font-size: 1.1rem;
    line-height: 1;
    color: inherit;
}

.p_brand_sidebar__sns {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: 0;
}

.p_brand_sidebar__sns img {
    width: 3rem;
    height: auto;
    display: block;
}

.p_brand_sidebar__prefs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0;
}

.p_brand_sidebar__pref {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 2px;
    background-color: #F8F8F8;
    color: #000A02;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.4;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.p_brand_sidebar__pref:hover {
    opacity: 0.7;
}

.p_brand_main {
    width: 69.58%;
    max-width: 995px;
    flex-shrink: 0;
    background-color: #FFFFFF;
    color: #000A02;
}

.p_brand_section {
    margin-bottom: 8rem;
    padding-bottom: 8rem;
    border-bottom: 1px solid #DDDDDD;
}

.p_brand_section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.p_brand_section__title {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 4rem;
    color: #000A02;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.5;
}

.p_brand_section__title_en {
    font-size: 1.2rem;
    line-height: normal;
    font-weight: normal;
}

.p_brand_commit {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 6rem;
}

.p_brand_commit:last-child {
    margin-bottom: 0;
}

.p_brand_commit__img {
    width: 100%;
}

.p_brand_commit__img img {
    width: 100%;
    height: auto;
    display: block;
}

.p_brand_commit__body {
    width: 100%;
}

.p_brand_commit__title {
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.6;
}

.p_brand_commit__text {
    font-size: 1.6rem;
    line-height: 2;
}

.p_brand_menu {
    display: grid;
    grid-template-columns: minmax(0, 56.28%) minmax(0, 1fr);
    gap: 4rem;
    align-items: end;
    margin-bottom: 2rem;
}

.p_brand_menu:last-child {
    margin-bottom: 0;
}

.p_brand_menu__img {
    width: 100%;
}

.p_brand_menu__img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.p_brand_menu__body {
    width: 100%;
    padding-bottom: 4rem;
}

.p_brand_menu__name {
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.6;
}

.p_brand_menu__desc {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 2;
}

.p_brand_menu__stores {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 2.4rem;
}

.p_brand_menu__store_badge {
    border: 1px solid #000A02;
    padding: 0.4rem 0.8rem;
    color: #000A02;
    font-size: 1.4rem;
    line-height: 1.4;
    border-radius: 2px;
}

.p_brand_access__area {
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.6rem;
    line-height: 1.5;
    padding: 1.2rem 0;
    background-color: #F8F8F8;
}

.p_brand_access__anchor {
    display: block;
    height: 0;
    overflow: hidden;
}

.p_brand_access {
    margin-bottom: 6rem;
}

.p_brand_access:last-child {
    margin-bottom: 0;
}

.p_brand_access__visual {
    display: grid;
    grid-template-columns: 560fr 427fr;
    column-gap: 8px;
    height: 31rem;
    margin-bottom: 2rem;
}

.p_brand_access__img,
.p_brand_access__map {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.p_brand_access__img img,
.p_brand_access__map img,
.p_brand_access__map iframe {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.p_brand_access__info_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #DDDDDD;
}

.p_brand_access__name {
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.5;
}

.p_brand_access__sns {
    display: flex;
    flex-shrink: 0;
    gap: 0.4rem;
}

.p_brand_access__sns img {
    width: 3.2rem;
    height: auto;
    display: block;
}

.p_brand_access__table {
    width: 100%;
}

.p_brand_access__row {
    display: flex;
    padding: 2rem 0;
    border-bottom: 1px solid #DDDDDD;
    font-size: 1.6rem;
    line-height: 1.8;
}

.p_brand_access__row dt {
    width: 10rem;
    margin-right: 2rem;
    flex-shrink: 0;
    font-weight: normal;
}

.p_brand_access__row dd {
    flex: 1;
}

.p_brand_hours {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.p_brand_hours__row {
    display: grid;
    grid-template-columns: 20rem minmax(0, 1fr);
    column-gap: 2rem;
}

.p_brand_hours__row--single {
    grid-template-columns: 1fr;
}

.p_brand_hours__day,
.p_brand_hours__time {
    display: block;
}

@media (max-width: 1279px) {
    .p_brand_features__inner,
    .l_brand_container {
        width: 86%;
    }

    .p_brand_features__box {
        gap: 4rem;
    }

    .p_brand_features__text_wrap {
        padding-top: clamp(3rem, 4.6875vw, 6rem);
    }

    .p_brand_sidebar {
        width: 24%;
    }

    .p_brand_main {
        width: 72%;
    }

    .p_brand_menu {
        gap: 3rem;
    }

    .p_brand_menu__body {
        padding-bottom: 2rem;
    }

    .p_brand_access__visual {
        height: clamp(26rem, 24.21875vw, 31rem);
    }

    .p_brand_hours__row {
        grid-template-columns: minmax(10rem, 16rem) minmax(0, 1fr);
        column-gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .p_brand_features {
        padding: 8rem 0;
    }

    .p_brand_features__inner,
    .l_brand_container {
        width: 92%;
    }

    .p_brand_features__box {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .p_brand_features__text_wrap {
        padding-top: 0;
    }

    .l_brand_container {
        display: block;
        padding: 8rem 0;
    }

    .p_brand_sidebar {
        position: relative;
        top: auto;
        width: 100%;
        padding-left: 0;
        margin-bottom: 4rem;
    }

    .p_brand_sidebar::before {
        display: none;
    }

    .p_brand_sidebar__nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 2rem;
    }

    .p_brand_sidebar__nav a {
        min-height: 100%;
        padding: 1.2rem 0 2.4rem;
    }

    .p_brand_sidebar__prefs,
    .p_brand_sidebar__sns {
        margin-top: 2rem;
    }

    .p_brand_main {
        width: 100%;
        max-width: none;
    }

    .p_brand_section {
        margin-bottom: 8rem;
        padding-bottom: 8rem;
    }
}

@media (max-width: 900px) {
    .p_brand_menu {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .p_brand_menu__body {
        padding-bottom: 0;
    }

    .p_brand_access__visual {
        grid-template-columns: 1fr;
        row-gap: 8px;
        height: auto;
    }

    .p_brand_access__img,
    .p_brand_access__map {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 700px) {
    .p_brand_features {
        padding: 6rem 0;
    }

    .p_brand_features__inner,
    .l_brand_container {
        width: 100%;
        padding-left: 3rem;
        padding-right: 3rem;
        box-sizing: border-box;
    }

    .p_brand_features__box {
        gap: 3rem;
    }

    .p_brand_features__text,
    .p_brand_commit__text,
    .p_brand_menu__desc,
    .p_brand_access__row {
        font-size: 1.5rem;
    }

    .l_brand_container {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .p_brand_sidebar {
        margin-bottom: 4rem;
    }

    .p_brand_sidebar__nav {
        grid-template-columns: 1fr;
        row-gap: 0;
    }

    .p_brand_sidebar__nav a {
        padding: 1.2rem 0 2rem;
    }

    .p_brand_section {
        margin-bottom: 6rem;
        padding-bottom: 6rem;
    }

    .p_brand_section__title {
        margin-bottom: 3rem;
        font-size: 1.8rem;
    }

    .p_brand_commit {
        gap: 1.6rem;
        margin-bottom: 4rem;
    }

    .p_brand_commit__title,
    .p_brand_menu__name,
    .p_brand_access__name {
        font-size: 1.8rem;
    }

    .p_brand_menu {
        margin-bottom: 4rem;
    }

    .p_brand_menu__name {
        margin-bottom: 1.6rem;
    }

    .p_brand_menu__stores {
        gap: 0.8rem;
        margin-top: 2rem;
    }

    .p_brand_access {
        margin-bottom: 5rem;
    }

    .p_brand_access__area {
        font-size: 1.5rem;
        padding: 1rem 0;
    }

    .p_brand_access__info_head {
        align-items: flex-start;
        gap: 1.6rem;
    }

    .p_brand_access__row {
        display: block;
        padding: 2rem 0;
    }

    .p_brand_access__row dt {
        width: auto;
        margin-right: 0;
        margin-bottom: 0.4rem;
    }

    .p_brand_hours {
        gap: 1.2rem;
    }

    .p_brand_hours__row {
        grid-template-columns: 1fr;
        row-gap: 0.2rem;
    }

    .p_brand_hours__day {
        color: #000A02;
    }
}

@media (max-width: 430px) {
    .p_brand_features__inner,
    .l_brand_container {
        padding-left: 2.4rem;
        padding-right: 2.4rem;
    }

    .p_brand_section__title,
    .p_brand_commit__title,
    .p_brand_menu__name,
    .p_brand_access__name {
        font-size: 1.8rem;
    }
}

@media (max-width: 360px) {
    .p_brand_features__inner,
    .l_brand_container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .p_brand_section__title,
    .p_brand_commit__title,
    .p_brand_menu__name,
    .p_brand_access__name {
        font-size: 1.7rem;
    }
}
