@charset "utf-8";

.page-title {
  margin-bottom: 80px;
}
.section-event {
  padding-block: 70px 100px;
}

.calendar-box {
  width: 1133px;
  max-width: calc(100% - 60px);
  margin: 0 auto 60px;
  overflow-x: auto;
}
.calendar-box::-webkit-scrollbar{
  display: none;
}
.calendar-list {
  display: flex;
  justify-content: flex-start;
  gap: 11px;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding: 2px;
  border-radius: 50px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background-color: var(--border-color);
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  cursor: grab;
}
.calendar-list::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.calendar-item {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 65px;
  aspect-ratio: 1 / 1;
  padding-top: 11px;
  text-align: center;
  border-radius: 50px;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}
.calendar-item.today {
  background-color: var(--text-color);
  color: #fff;
}
.calendar-item.sunday:not(.today) {
  color: var(--accent-color);
}
.calendar-item .date {
  display: flex;
  justify-content: center;
}
.calendar-item .month {
  font-size: 1.4rem;
  letter-spacing: 0.1em;
}
.calendar-item .day {
  font-size: 2.3rem;
}
.calendar-item .dow {
  font-size: 1rem;
  line-height: 1;
}


.section-event .tab-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  border-bottom: 1px solid var(--border-color2);
}
.section-event .tab-list li {
  width: 230px;
  height: 56px;
  border-radius: 10px 10px 0 0;
  background-color: var(--border-color);
}
.section-event .tab-list li a {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 1.6rem;
  transition: border 0.3s ease-in-out, background-color 0.3s ease-in-out,font-weight 0.3s ease-in-out,font-size 0.3s ease-in-out;
}
@media (any-hover: hover) {
  .section-event .tab-list li a:hover {
    border: 1px solid var(--border-color2);
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    background-color: #fff;
    opacity: 1;
  }
}
.section-event .tab-list li a:active {
  border-color: var(--border-color);
}

.section-event .tab-list li a.active {
  font-size: 1.8rem;
  font-weight: bold;
  border: 1px solid var(--border-color2);
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  background-color: #fff;
  pointer-events: none;
}
.section-event .tab-list li a.active::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 4px;
  border-radius: 10px 10px 0 0;
  background-color: #fff;
}
.section-event .event-date {
  padding-block: 50px 80px;
  font-size: 1.8rem;
  font-weight: 500;
  text-align: center;
}
.section-event .event-date span {
  font-size: 2.2rem;
  font-weight: bold;
}
.section-event .event-date time::after {
  content: var(--date-text, "");
  font-size: 0;
}
.section-event .event-list {
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 30px 100px;
  display: grid;
  grid-template-columns: repeat(auto-fill, 274px);
  gap: 51px;
  justify-content: center;
}
.section-event .event-list li {
  position: relative;
}
.section-event .event-list .new-shop {
  position: absolute;
  inset: -30px auto auto -23px;
  z-index: 10;
  width: 97px;
}
.section-event .event-list .list-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 274px;
  aspect-ratio: 1 / 1;
  margin-bottom: 10px;
  overflow: hidden;
  background-color: #f6f4f4;
}
.section-event .event-list .list-image.logo {
  background-color: #ffffff;
}
.section-event .event-list .list-image .no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-block: 50px;
  background: #fff;
}
.section-event .event-list .list-image img {
  position: relative;
  z-index: 5;
  object-fit: contain;
}
.section-event .event-list .list-image img:nth-child(2) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;
  filter: blur(10px);
}
.section-event .event-list .list-image img:nth-child(2)[src*="sc-logo"] {
  display: none;
}
.section-event .event-list .list-text {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.428;
}
.section-event .event-list .calendar-date {
  padding-top: 10px;
  font-size: 1.4rem;
  font-weight: 400;
}
.section-event .event-list .calendar-date img {
  width: 16px;
  margin-right: 8px;
  vertical-align: sub;
}

/* --------------------  detail  ---------------------- */


.detail-page .category-title {
  width: 1100px;
  max-width: calc(100% - 60px);
  margin: 0 auto;
  padding-block: 70px 50px;
  font-size: 1.4rem;
  line-height: 2.7rem;
}
.detail-page .category-title span {
  display: inline-block;
  margin-right: 10px;
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 2.7rem;
  font-family: var(--font-family-en);
}
.contents-area {
  width: 1100px;
  max-width: calc(100% - 60px);
  margin: 0 auto;
  padding-bottom: 100px;
}
.contents-area .post-date {
  position: relative;
  margin-bottom: 10px;
  font-size: 1.6rem;
  color: var(--accent-color);
}
.contents-area .post-date .new {
  display: inline-block;
  margin-right: 10px;
  font-weight: 900;
  font-family: var(--font-family-en);
}
.contents-area .post-date .new::before {
  content: "\\";
  display: inline-block;
  margin-right: 5px;
}
.contents-area .post-date .new::after {
  content: "/";
  display: inline-block;
  margin-left: 5px;
}
.contents-area dl {
  display: flex;
}
.contents-area dl dt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  width: 135px;
  height: 43px;
  margin-right: 20px;
  padding-inline: 28px 16px;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.7em;
  background: var(--bg-menu);
}
.contents-area .post-place dt {
  padding-left: 25px;
}
/* .contents-area dl svg {
  margin-right: 20px;
} */
.contents-area .post-period svg rect,
.contents-area .post-period svg path {
  fill: var(--text-color);
}
.contents-area dl dd {
  display: flex;
  align-items: center;
  width: 342px;
  font-size: 1.6rem;
  line-height: 1.3;
}
.contents-area .post-link,
.contents-area .post-link-pdf {
  position: relative;
  display: inline-block;
  padding-top: 25px;
  font-size: 1.6rem;
  line-height: 1.5;
  text-decoration: underline;
}
.contents-area .post-link::after {
  content: "";
  position: absolute;
  right: -43px;
  bottom: 3px;
  width: 23px;
  height: 23px;
  background: url("../img/newwindow-icon.svg") no-repeat center center / 100% 100%;
}
.contents-area .post-link-pdf::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: 0;
  width: 28px;
  height: 28px;
  background: url("../img/pdf-icon.svg") no-repeat center center / 100% 100%;
}
.contents-area .post-sns {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 50px;
  font-size: 1.8rem;
}
.contents-area .post-sns .sns-list {
  gap: 20px;
}
.contents-area .post-sns .sns-list img {
  width: 50px;
}
.contents-area + .more-btn {
  margin-bottom: 160px;
}

.detail-page table{
  font-size: 1.6rem;
  border-collapse: collapse;
}
.detail-page th,
.detail-page td {
  padding: 0.5em;
  text-align: center;
  font-weight: normal;
  border: 1px solid var(--border-color2);
}
.detail-page th {
  font-weight: bold;
  background: var(--accent-color-light);
}


@media (min-width: 768px) {
  .contents-area .post-header,
  .contents-area dl {
    clear: right;
    float: right;
    width: calc(50% - 50px);
  }

  .contents-area dl + dl:first-of-type{
    padding-top: 15px;
  }
  .contents-area dl + dl {
    padding-top: 25px;
  }
  .contents-area .post-image {
    float: left;
    width: 50%;
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    background: var(--bg-menu);
	background-color: #f6f4f4;
  }
  .contents-area .post-image.logo {
    background-color: #ffffff;
  }	
  .contents-area .post-shop {
    margin-bottom: 5px;
    font-size: 2rem;
  }
  .contents-area .post-title {
    margin-bottom: 40px;
    padding-bottom: 20px;
    font-size: 2.2rem;
    line-height: 1.42;
    border-bottom: 1px solid var(--bg-calendar);
  }
  .contents-area .post-text {
    clear: both;
    padding-block: 50px 25px;
    font-size: 1.6rem;
    line-height: 28px;
  }
  /* .contents-area .post-place svg {
    margin-right: 18px;
  } */
}


@media (max-width: 767.999px) {
  .page-title {
    margin-bottom: 30px;
  }
  .section-event {
    padding-block: 35px 0;
  }
  .section-event .event-date {
    padding-block: 35px 45px;
    font-size: 1.6rem;
  }
  .calendar-box {
    width: calc(100% - 40px);
    margin-bottom: 30px;
  }
  .calendar-list {
    gap: 6px;
  }
  .section-event .event-date span {
    font-size: 2rem;
  }
  .calendar-item.pc-only {
    display: none;
  }
  .calendar-item {
    width: min(10vw, 50px);
    min-width: 42px;
    padding-top: max(1vw, 5px);
  }
  .calendar-item .month {
    position: relative;
    top: -1px;
    left: 1px;
    font-size: 1.2rem;
    letter-spacing: 0.06em;
  }
  .calendar-item .month.c2 {
    padding-left: 1px;
    letter-spacing: -0.02em;
  }
  .calendar-item .month.c2 + .day {
    padding-left: 1px;
  }
  .calendar-item .day {
    font-size: 1.6rem;
  }
  .calendar-item .dow {
    font-size: 0.9rem;
  }
  .section-event .tab-list li a.active {
    font-size: 1.4rem;
  }
  .section-event .tab-list li a {
    font-size: 1.2rem;
  }
  .section-event .event-list {
    grid-template-columns: repeat(auto-fill, calc(50% - 10px));
    gap: 40px 20px;
    padding: 0 20px 90px;
  }
  .section-event .event-list li {
    width: 274px;
    max-width: 100%;
    margin-inline: auto;
  }
  .section-event .event-list .new-shop {
    inset: -12px auto auto -12px;
    width: 65px;
  }
  .section-event .event-list .list-text {
    font-size: 1.4rem;
  }
  .section-event .event-list .calendar-date {
    padding-top: 3px;
    font-size: 1.2rem;
  }
  .section-event .tab-list {
    padding-inline: 20px;
  }
  .section-event .tab-list li {
    height: 40px;
  }

  /* --------------------  detail  ---------------------- */


  .detail-page .category-title {
    max-width: calc(100% - 30px);
    font-size: 1.2rem;
    padding-block: 35px 30px;
  }
  .detail-page .category-title span {
    font-size: 2.2rem;
    line-height: 2.3rem;
  }
  .contents-area {
    max-width: calc(100% - 30px);
    padding-bottom: 70px;
  }
  .contents-area header {
    display: block;
  }
  .contents-area .post-date,
  .contents-area .post-shop {
    margin-bottom: 10px;
  }
  .contents-area .post-title {
    margin-bottom: 20px;
    padding-bottom: 15px;
    font-size: 1.9rem;
    line-height: 1.39;
    border-bottom: 1px solid var(--bg-calendar);
  }
  .contents-area .post-image {
    margin-bottom: 20px;
  }
  .contents-area .post-image:has(.no-image) {
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 274px;
    aspect-ratio: 1 / 1;
    margin-inline: auto;
    background: var(--bg-menu);
  }
  .contents-area dl {
    margin-bottom: 10px;
  }
  .contents-area dl:has(+ .post-text) {
    margin-bottom: 30px;
  }
  .contents-area dl dt {
    width: 90px;
    height: 30px;
    margin-right: 7px;
    padding-inline: 14px 4px;
    font-size: 1.4rem;
  }
  .contents-area .post-place dt {
    padding-left: 13px;
  }
  .contents-area dl svg {
    width: 12px;
  }
  .contents-area dl dd {
    font-size: 1.4rem;
  }
  .contents-area .post-text {
    padding-bottom: 15px;
    font-size: 1.4rem;
    line-height: 26px;
  }
  .contents-area .post-link,
  .contents-area .post-link-pdf {
    font-size: 1.4rem;
    line-height: 1.5;
  }
  .contents-area .post-sns {
    flex-direction: column;
    gap: 15px;
    padding-top: 40px;
  }
  .contents-area .post-sns .sns-list {
    flex-direction: row;
    gap: 15px;
  }
  .contents-area .post-sns .sns-list li {
    width: 46px;
  }
  .contents-area + .more-btn {
    height: 40px;
    margin-bottom: 90px;
    font-size: 1.4rem;
  }
  .detail-page table{
    font-size: 1.4rem;
  }
}

/* --------------------------------------------------
   イベント詳細ページ：メイン画像の重ね合わせスタイル（修正・統合版）
   -------------------------------------------------- */

.contents-area .post-image {
  position: relative;
  z-index: 1;          
  overflow: hidden; 
  display: flex;
  justify-content: center;
  align-items: center;
}


.contents-area .post-image img {
  position: relative;
  z-index: 5;          
  width: 100%;
  height: 100%;
  object-fit: contain; 
}

/* 2枚目の画像（背景用ぼかし） */
.contents-area .post-image img:nth-child(2) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;          
  object-fit: cover;   
  filter: blur(24px);  
}

/* ---------- ロゴ画像の場合の例外設定 ---------- */
.contents-area .post-image img.logo {
  /*width: auto;*/
  /*height: auto;*/
  max-width: 60%;
  max-height: 60%;
  object-fit: contain;
}
