@charset "UTF-8";
/* 色 */
/* pの行間 */
/* サイドエリアのグリッドサイズ */
/* サイドエリアの幅 */
/* 外周のマージン */
/* メインエリアのグリッドサイズ */
/* タブレットのメインエリア幅 */
/* スマホのヘッダー高さ */
/* セクションの最低高さ */
/* 690px */
/*
@use "./_mixins" as mixins;

@include mixins.mobileView {
}

@include mixins.mobileView {
}
*/
/* 全体 */
html,
body {
  width: 100vw;
  height: 100svh;
  overflow: hidden;
}

@media screen and (max-width: 1024px) {
  html,
  body {
    overflow: scroll;
  }
  section {
    scroll-margin-top: 180px; /* m-side-areaの高さ */
  }
}
.container {
  overflow: hidden;
  display: flex;
  width: 100vw;
  height: 100svh;
}

@media screen and (max-width: 1024px) {
  .container {
    display: block;
    width: 100vw;
    height: auto;
  }
}
/* 右エリア */
.main-area {
  width: calc(60vw - 24px);
  margin-left: calc(40vw + 24px);
  padding-right: 24px;
  color: #020202;
  overflow-x: hidden;
}

@media screen and (max-width: 1024px) {
  .main-area {
    width: 100vw;
    height: auto;
    margin-left: 0;
    overflow: hidden;
  }
}
/* 左エリア */
.side-area {
  position: fixed;
  display: grid;
  grid-template-columns: repeat(3, auto);
  grid-template-rows: 175px 175px auto 175px 175px;
  grid-template-areas: "jp-title-and-place  jp-title-and-place  jp-title-and-place" "year . ." ". . ." "menu menu sns" "bottom-area bottom-area bottom-area";
  gap: 8px;
  width: calc(40vw - 24px);
  height: calc(100svh - 48px);
  margin: 24px 0 24px 24px;
  color: #020202;
  overflow: hidden;
}

.m-side-area {
  display: none;
}

@media screen and (max-width: 1024px) {
  .side-area {
    display: none;
  }
  .m-side-area {
    display: flex;
    position: fixed;
    overflow: hidden;
    color: #020202;
    background-color: #fffbb6;
    z-index: 2;
  }
  .m-side-area .m-jp-marquee,
  .m-side-area .m-en-marquee {
    width: 200vw;
    /* 仮に200%にする */
    word-break: keep-all;
    word-break: keep-all;
    display: flex;
    align-items: center;
    height: 40px;
    line-height: 40px;
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
    z-index: 1;
  }
  .m-side-area .m-jp-marquee ul,
  .m-side-area .m-en-marquee ul {
    animation: flowing 20s linear infinite;
    font-size: 14px;
    transform: translateX(100%);
    margin: 0;
    padding: 0;
  }
  .m-side-area .m-jp-marquee li,
  .m-side-area .m-en-marquee li {
    display: inline-block;
  }
  .m-side-area .m-jp-marquee .red,
  .m-side-area .m-en-marquee .red {
    display: inline-block;
    margin: 0;
    padding: 0;
    color: #f7310b;
  }
  @keyframes flowing {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  .m-menu {
    width: 100vw !important;
    display: flex !important;
    justify-content: center !important;
  }
  .m-menu ul {
    width: 340px !important;
  }
}
/* 左エリアその他 */
/* Gridのために要素に名前をつける */
.jp-title {
  grid-area: jp-title;
}

.jp-title__item-1 {
  grid-area: jp-title__item-1;
}

.jp-title__item-2 {
  grid-area: jp-title__item-2;
}

.jp-title__item-3 {
  grid-area: jp-title__item-3;
}

.jp-title__item-4 {
  grid-area: jp-title__item-4;
}

.jp-title-and-place {
  grid-area: jp-title-and-place;
}

.year {
  grid-area: year;
}

.menu {
  grid-area: menu;
}

.bottom {
  grid-area: bottom-area;
}

.sns {
  grid-area: sns;
}

.en-title {
  grid-area: en-title;
}

/* 上エリア */
.jp-title-and-place {
  display: flex;
  flex-direction: column;
}

.jp-title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: 100%;
}

.jp-title__item-1,
.jp-title__item-2,
.jp-title__item-3 {
  display: flex;
  justify-content: start;
}

.jp-title__item-3 {
  margin-top: 0.2em;
  /* 高さを揃えるために、pのline-heightの差ぶん追加 */
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.jp-title__item-3__inner p {
  line-height: 1.8;
}

.mobile-marquee {
  display: none;
}

/* 場所と会期 */
.place {
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* 2025 */
.year__text {
  writing-mode: vertical-rl;
  text-orientation: sideways;
  line-height: 1;
  letter-spacing: 0.2em;
}

/* メニュー */
.menu,
.m-menu {
  display: block;
  width: 340px;
}

.menu ul,
.m-menu ul {
  list-style: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

.menu li,
.m-menu li {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  margin-bottom: 10px;
}

.menu li a,
.m-menu li a {
  text-decoration: none;
  color: inherit;
  padding: 5px 0;
  position: relative;
  display: flex;
  width: 100%;
}

.menu li a p,
.m-menu li a p {
  margin: 0;
  padding: 0;
}

.menu li a p:first-of-type,
.m-menu li a p:first-of-type {
  width: 70%;
  text-align: left;
  box-sizing: border-box;
}

@media screen and (max-width: 1024px) {
  .m-menu li a p:first-of-type {
    width: 100%;
  }
  .m-menu li a {
    padding: 0;
  }
  .m-menu li {
    margin-bottom: 0;
  }
}
.menu li a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background-color: black;
  position: absolute;
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

.menu li a:active,
.menu li a:hover::after {
  width: calc(100% + 50px);
}

.hover-image {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  width: 35px;
  margin-left: 10px;
}

.menu .nav-item.active .hover-image {
  visibility: visible;
  opacity: 1;
}

.menu li:last-child,
.m-menu li:last-child {
  margin-bottom: 0;
}

.menu li p,
.m-menu li p {
  margin-left: 14px;
}

/* 下エリア */
.bottom {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.sns {
  display: flex;
  flex-direction: row;
  gap: 17px;
  margin-left: auto;
}

.sns img {
  width: 36px;
  height: 36px;
}

.en-title {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.en-title__item-1,
.en-title__item-2,
.en-title__item-3 {
  text-align: right;
}

/*# sourceMappingURL=sidearea.css.map */
