﻿/* ---- UTILS ---- */
:root {
    --lq: calc(10 / 375 * 100dvw);
}

html[data-browse-mode="P"] .pc,
html[data-browse-mode="S"] .sp {
    display: block;
}
html[data-browse-mode="P"] .sp,
html[data-browse-mode="S"] .pc {
    display: none;
}

/* ---- LAYOUT ---- */
html[data-browse-mode="P"] .block-event-page--header-freespace:has(.eventTemplate) {
    width: 1120px;
}
html[data-browse-mode="S"] .block-event-page--header-freespace:has(.eventTemplate) {
    width: 100%;
}

/* ---- Main Visual ---- */
.eventTemplate-mv {
    display: block;
    width: 100%;
}
.eventTemplate-mv picture {
    display: block;
    width: 100%;
    text-align: center;
}
html[data-browse-mode="P"] .eventTemplate-mv picture img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

/* ---- H1 ---- */
.eventTemplate h1 {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding: 0;
    margin: 32px 0;
}
html[data-browse-mode="S"] .eventTemplate h1 {
    font-size: calc(var(--lq) * 2.4);
    margin-top: calc(var(--lq) * 4);
    padding: 0 calc(var(--lq) * 2);
}

/* ---- Campaign ---- */
.eventTemplate-campaign {
    background-color: #F0F3FA;
    padding: 32px 112px;
}
html[data-browse-mode="S"] .eventTemplate-campaign {
    padding: calc(var(--lq) * 3.2) calc(var(--lq) * 1);
}
.eventTemplate-campaign-title {
    font-size: 18px;
    color: #011F62;
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px solid #D9D9D9;
}
html[data-browse-mode="S"] .eventTemplate-campaign-title {
    font-size: calc(var(--lq) * 1.8);
    padding-bottom: calc(var(--lq) * 1.6);
}
.eventTemplate-campaign-text {
    margin-top: 24px;
}
html[data-browse-mode="S"] .eventTemplate-campaign-text {
    margin-top: calc(var(--lq) * 2.4);
}
.eventTemplate-campaign-text {
    font-size: 16px;
    color: #011F62;
    line-height: 1.625;
}
.eventTemplate-campaign-text ul {
    padding-left: 1em;
    line-height: 1.6;
}
html[data-browse-mode="S"] .eventTemplate-campaign-text ul {
    padding-left: 2em;
}
.eventTemplate-campaign-text ul li {
    list-style: disc;
}
html[data-browse-mode="S"] .eventTemplate-campaign-text ul li,
html[data-browse-mode="S"] .eventTemplate-campaign-text p {
    font-size: calc(var(--lq) * 1.6);
}
.eventTemplate-campaign-text > * + *,
.eventTemplate-campaign-text > li + li {
    margin-top: 1em;
}
.eventTemplate-campaign-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    height: 52px;
    font-size: 16px;
    color: #011F62;
    padding: 0 64px;
    background-color: #fff;
    border-radius: 100px;
    margin: 32px auto 0;
}
.eventTemplate-campaign-btn:link,
.eventTemplate-campaign-btn:visited {
    color: #011F62;
    text-decoration: none;
}

/* ---- Container ---- */
.eventTemplate-container {
    margin-top: 30px;
}

/* ---- TAB ---- */
.eventTemplate-tab {
    display: flex;
    justify-content: center;
    column-gap: 20px;
    width: 100%;
    position: relative;
}
html[data-browse-mode="S"] .eventTemplate-tab {
    column-gap: calc(var(--lq) * 1);
    padding: 0 calc(var(--lq) * 1);
}
.eventTemplate-tab::after {
    display: block;
    content: "";
    width: 100vw;
    height: 1px;
    background-color: #D9D9D9;
    position: absolute;
    bottom: 0;
    left: (50% - 50vw);
}
.eventTemplate-tab-i {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    min-height: 50px;
    background-color: #efefef;
    border-radius: 5px 5px 0 0;
    color: #919191;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    border-left: 1px solid #D9D9D9;
    border-top: 1px solid #D9D9D9;
    border-right: 1px solid #D9D9D9;
    cursor: pointer;
    padding: 10px 20px;
}
.eventTemplate-tab-i:not(.-is-active):hover {
    opacity: .7;
}
html[data-browse-mode="S"] .eventTemplate-tab-i {
    min-height: calc(var(--lq) * 3);
    font-size: calc(var(--lq) * 1.2);
    padding: calc(var(--lq) * .5);
}

.eventTemplate-tab-i.-is-active {
    background-color: #fff;
    color: #011F62;
    border-bottom: 1px solid #fff;
    position: relative;
    z-index: 1;
}

/* ---- TAB Content ---- */
.eventTemplate-body-i.-initialized {
    display: none;
}
.eventTemplate-body-i.-initialized.-is-active {
    display: block;
}

/* ---- Navigation ---- */
/* pc */
html[data-browse-mode="P"] .eventTemplate-goods-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 32px;
    row-gap: 32px;
    margin-top: 32px;
}
html[data-browse-mode="P"] .eventTemplate-goods-nav-i {
    width: 256px;
}
html[data-browse-mode="P"] .eventTemplate-goods-nav-i-img {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
}
html[data-browse-mode="P"] .eventTemplate-goods-nav-i-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}
html[data-browse-mode="P"] .eventTemplate-goods-nav-i-btn a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 59px;
    font-size: 18px;
    font-weight: bold;
    color: #011F62;
    background-color: #F0F3FA;
    position: relative;
}
html[data-browse-mode="P"] .eventTemplate-goods-nav-i-btn a::after {
    display: block;
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1px solid #011F62;
    border-bottom: 1px solid #011F62;
    rotate: 45deg;
    position: absolute;
    top: 50%;
    right: 24px;
    translate: 0 -50%;
}

/* sp */
html[data-browse-mode="S"] *:not(.eventTemplate-goods-fixedNav) .eventTemplate-goods-nav {
    display: flex;
    flex-direction: column;
    row-gap: calc(var(--lq) * .8);
    padding: 0 calc(var(--lq) * 1);
    margin-top: calc(var(--lq) * 2.4);
}
html[data-browse-mode="S"] *:not(.eventTemplate-goods-fixedNav) .eventTemplate-goods-nav-i {
    display: flex;
    align-items: center;
}
html[data-browse-mode="S"] *:not(.eventTemplate-goods-fixedNav) .eventTemplate-goods-nav-i-img {
    width: calc(var(--lq) * 6.4);
    aspect-ratio: 1/1;
}
html[data-browse-mode="S"] *:not(.eventTemplate-goods-fixedNav) .eventTemplate-goods-nav-i-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}
html[data-browse-mode="S"] *:not(.eventTemplate-goods-fixedNav) .eventTemplate-goods-nav-i-btn {
    flex: 1;
}
html[data-browse-mode="S"] *:not(.eventTemplate-goods-fixedNav) .eventTemplate-goods-nav-i-btn a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: calc(var(--lq) * 2.4);
    height: calc(var(--lq) * 6.4);
    font-size: calc(var(--lq) * 1.6);
    font-weight: bold;
    color: #011F62;
    background-color: #F0F3FA;
    position: relative;
}
html[data-browse-mode="S"] *:not(.eventTemplate-goods-fixedNav) .eventTemplate-goods-nav-i-btn a:link,
html[data-browse-mode="S"] *:not(.eventTemplate-goods-fixedNav) .eventTemplate-goods-nav-i-btn a:visited {
    text-decoration: none;
}
html[data-browse-mode="S"] *:not(.eventTemplate-goods-fixedNav) .eventTemplate-goods-nav-i-btn a::after {
    display: block;
    content: "";
    width: calc(var(--lq) * .8);
    height: calc(var(--lq) * .8);
    border-right: 1px solid #011F62;
    border-bottom: 1px solid #011F62;
    rotate: 45deg;
    position: absolute;
    top: 50%;
    right: calc(var(--lq) * 2.4);
    translate: 0 -50%;
}

/* 固定ナビゲーション */
/* pc */
html[data-browse-mode="P"] .eventTemplate-goods-fixedNavWrapper {
    display: none;
    width: 100%;
    background-color: #fff;
    padding: 16px 0;
    position: fixed;
    top: -100%;
    left: 0;
    z-index: 10;
    transition: .3s;
}
html[data-browse-mode="P"] .eventTemplate-goods-fixedNavWrapper.-is-active {
    display: block;
}
html[data-browse-mode="P"] .eventTemplate-goods-fixedNavWrapper.-is-shown {
    top: 0;
}

html[data-browse-mode="P"] .eventTemplate-goods-fixedNav {
    display: flex;
    justify-content: center;
    column-gap: 32px;
    max-width: 1120px;
    margin: 0 auto;
}
html[data-browse-mode="P"] .eventTemplate-goods-fixedNav-i {
    width: 256px;
}
html[data-browse-mode="P"] .eventTemplate-goods-fixedNav-i a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 59px;
    font-size: 18px;
    font-weight: bold;
    color: #011F62;
    background-color: #F0F3FA;
    position: relative;
}
html[data-browse-mode="P"] .eventTemplate-goods-fixedNav-i a::after {
    display: block;
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1px solid #011F62;
    border-bottom: 1px solid #011F62;
    rotate: 45deg;
    position: absolute;
    top: 50%;
    right: 24px;
    translate: 0 -50%;
}

/* sp */
html[data-browse-mode="S"] .eventTemplate-goods-fixedNavWrapper {
    display: none;
    width: 100%;
    background-color: #fff;
    padding: 0 0 calc(var(--lq) * 1);
    position: fixed;
    top: -100%;
    left: 0;
    z-index: 10;
    transition: .3s;
    overflow-x: auto;
}
html[data-browse-mode="S"] .eventTemplate-goods-fixedNavWrapper.-is-active {
    display: block;
}
html[data-browse-mode="S"] .eventTemplate-goods-fixedNavWrapper.-is-shown {
    top: 14.21875vw; /* header height */
}

html[data-browse-mode="S"] .eventTemplate-goods-fixedNav {
    display: flex;
    justify-content: center;
    width: fit-content;
    min-width: 100%;
}
html[data-browse-mode="S"] .eventTemplate-goods-fixedNav-i {
    width: fit-content;
    position: relative;
}
html[data-browse-mode="S"] .eventTemplate-goods-fixedNav:not(:has(.eventTemplate-goods-fixedNav-i:nth-child(4))) .eventTemplate-goods-fixedNav-i {
    width: auto;
    flex: 1;
}
html[data-browse-mode="S"] .eventTemplate-goods-fixedNav-i + .eventTemplate-goods-fixedNav-i::before {
    display: block;
    content: "";
    width: 1px;
    height: calc(var(--lq) * 6.3);
    background-color: #D9D9D9;
    position: absolute;
    top: 50%;
    left: 0;
    translate: 0 -50%;
    z-index: 1;
}
html[data-browse-mode="S"] .eventTemplate-goods-fixedNav-i a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    height: calc(var(--lq) * 6.4);
    font-size: calc(var(--lq) * 1.6);
    font-weight: bold;
    color: #011F62;
    background-color: #F0F3FA;
    padding: 0 calc(var(--lq) * 3.5);
    white-space: nowrap;
}
html[data-browse-mode="S"] .eventTemplate-goods-fixedNav:not(:has(.eventTemplate-goods-fixedNav-i:nth-child(4))) .eventTemplate-goods-fixedNav-i a {
    width: 100%;
    padding: 0;
}
html[data-browse-mode="S"] .eventTemplate-goods-fixedNav-i a:link,
html[data-browse-mode="S"] .eventTemplate-goods-fixedNav-i a:visited {
    text-decoration: none;
}

/* ---- 関連イベント ---- */
.eventTemplate-eventItem {
    margin-top: 100px;
}
html[data-browse-mode="S"] .eventTemplate-eventItem {
    margin-top: calc(var(--lq) * 8);
}
.eventTemplate-eventItem-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #011F62;
    margin: 0;
}
html[data-browse-mode="S"] .eventTemplate-eventItem-title {
    font-size: calc(var(--lq) * 2.4);
}
.eventTemplate-eventItem-content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    background-color: #F0F3FA;
    margin-top: 24px;
}
html[data-browse-mode="S"] .eventTemplate-eventItem-content {
    flex-direction: column;
    margin-top: calc(var(--lq) * 2);
}
.eventTemplate-eventItem-content-left {
    width: 483px;
}
html[data-browse-mode="S"] .eventTemplate-eventItem-content-left {
    width: 100%;
}
.eventTemplate-eventItem-content-left-img {
    width: 100%;
    height: 100%;
}
.eventTemplate-eventItem-content-left-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.eventTemplate-eventItem-content-right {
    flex: 1;
    padding: 48px;
}
html[data-browse-mode="S"] .eventTemplate-eventItem-content-right {
    padding: calc(var(--lq) * 1.6) calc(var(--lq) * 1.6) calc(var(--lq) * 2.4);
}
.eventTemplate-eventItem-content-right-white {
    display: flex;
    justify-content: flex-start;
    column-gap: 32px;
    background-color: #fff;
    padding: 24px;
}
html[data-browse-mode="S"] .eventTemplate-eventItem-content-right-white {
    column-gap: calc(var(--lq) * 1.6);
    padding: calc(var(--lq) * 1.6);
}
.eventTemplate-eventItem-content-right-white-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    aspect-ratio: 1/1;
}
html[data-browse-mode="S"] .eventTemplate-eventItem-content-right-white-img {
    width: calc(var(--lq) * 15.7);
}
.eventTemplate-eventItem-content-right-white-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}
.eventTemplate-eventItem-content-right-white-info {
    display: flex;
    flex-direction: column;
}
html[data-browse-mode="P"] .eventTemplate-eventItem-content-right-white-info {
    width: calc(100% - 32px - 200px);
}
html[data-browse-mode="S"] .eventTemplate-eventItem-content-right-white-info {
    width: calc(100% - calc(var(--lq) * 1.6) - calc(var(--lq) * 15.7));
}
.eventTemplate-eventItem-content-right-white-info-name {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1em;
    row-gap: .5rem;
    font-size: 20px;
    font-weight: bold;
    word-break: break-word;
}
html[data-browse-mode="S"] .eventTemplate-eventItem-content-right-white-info-name {
    font-size: calc(var(--lq) * 1.6);
}
.eventTemplate-eventItem-content-right-white-info-price {
    font-size: 24px;
    margin-top: 16px;
}
html[data-browse-mode="S"] .eventTemplate-eventItem-content-right-white-info-price {
    font-size: calc(var(--lq) * 2);
    margin-top: calc(var(--lq) * 1.6);
}
.eventTemplate-eventItem-content-right-white-info-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    height: 52px;
    font-size: 16px;
    color: #fff;
    background-color: #011F62;
    border-radius: 100px;
    margin: auto auto 0;
    padding: 0 40px;
}
html[data-browse-mode="S"] .eventTemplate-eventItem-content-right-white-info-btn {
    height: calc(var(--lq) * 3.9);
    font-size: calc(var(--lq) * 1.2);
    padding: 0 calc(var(--lq) * 1.8);
    color: #fff;
}
html[data-browse-mode="S"] .eventTemplate-eventItem-content-right-white-info-btn:link,
html[data-browse-mode="S"] .eventTemplate-eventItem-content-right-white-info-btn:visited {
    text-decoration: none;
    color: #fff;
}
.eventTemplate-eventItem-content-right-info-description {
    margin-top: 30px;
}
html[data-browse-mode="S"] .eventTemplate-eventItem-content-right-info-description {
    margin-top: calc(var(--lq) * 2.4);
}
.eventTemplate-eventItem-content-right-info-description-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}
html[data-browse-mode="S"] .eventTemplate-eventItem-content-right-info-description-title {
    font-size: calc(var(--lq) * 1.4);
}
.eventTemplate-eventItem-content-right-info-description-text {
    font-size: 16px;
    line-height: 1.66;
    margin-top: 10px;
}
html[data-browse-mode="S"] .eventTemplate-eventItem-content-right-info-description-text {
    font-size: calc(var(--lq) * 1.4);
    margin-top: calc(var(--lq) * 1.6);
}

.eventTemplate-eventItem-items {
    margin-top: 32px;
}
html[data-browse-mode="S"] .eventTemplate-eventItem-items {
    margin-top: calc(var(--lq) * 2.4);
}
html[data-browse-mode="S"] .eventTemplate-eventItem-items .goods-st-outer {
    display: none;
}
.eventTemplate-eventItem-items-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    height: 52px;
    font-size: 16px;
    color: #011F62;
    background-color: #fff;
    border: 1px solid #011F62;
    border-radius: 100px;
    padding: 0 40px;
    margin: 32px auto 0;
}
html[data-browse-mode="S"] .eventTemplate-eventItem-items-btn {
    height: calc(var(--lq) * 4.8);
    font-size: calc(var(--lq) * 1.6);
    padding: 0 calc(var(--lq) * 4);
    margin: calc(var(--lq) * 2.4) auto 0;
}
html[data-browse-mode="S"] .eventTemplate-eventItem-items-btn:link,
html[data-browse-mode="S"] .eventTemplate-eventItem-items-btn:visited {
    color: #011F62;
    text-decoration: none;
}
