@media (768px <= width) {
  body#event main.main .event__contents {
    margin-top: -10rem;
  }
}
body#event main.main .event__wrap {
  padding-left: calc(30 / var(--spSize) * 100vw);
  padding-right: calc(30 / var(--spSize) * 100vw);
  padding-bottom: calc(200 / var(--spSize) * 100vw);
  display: grid;
  gap: calc(50 / var(--spSize) * 100vw);
}
@media (768px <= width) {
  body#event main.main .event__wrap {
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 20rem;
    max-width: 1600px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 0 5%;
  }
}
body#event main.main .event__item {
  border-bottom: 1px solid var(--clr-lightYellow3);
  position: relative;
  padding-bottom: 2rem;
}
@media (768px <= width) {
  body#event main.main .event__item {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    margin-top: 10rem;
  }
}
@media (hover: hover) and (width >= 768px) {
  body#event main.main .event__item {
    transition: all var(--speed) ease-in-out;
  }
  body#event main.main .event__item:hover {
    opacity: 0.7;
  }
}
body#event main.main .event__item figure img {
  aspect-ratio: 480/340;
  -o-object-fit: cover;
     object-fit: cover;
}
body#event main.main .event__item .noimage {
  aspect-ratio: 480/340;
  background: #fff url(../images/common/logo-square.webp) center/auto 60% no-repeat;
  background-image: -webkit-image-set(url(../images/common/logo-square.webp) 1x, url(../images/common/logo-square@2x.webp) 2x);
  background-image: image-set(url(../images/common/logo-square.webp) 1x, url(../images/common/logo-square@2x.webp) 2x);
}
body#event main.main .event__item .tag {
  font-size: 1.2rem;
  color: #999;
  margin-top: 1rem;
}
@media (768px <= width) {
  body#event main.main .event__item .tag {
    font-size: 1.6rem;
  }
}
body#event main.main .event__item .title {
  font-family: var(--ff-shippori);
  margin-top: calc(10 / var(--spSize) * 100vw);
}
@media (768px <= width) {
  body#event main.main .event__item .title {
    font-size: 2rem;
    line-height: 1.8333;
    margin-top: 1rem;
  }
}
body#event main.main .event__item .info {
  display: grid;
  grid-template-columns: 5em auto;
}
body#event main.main .event__item .info dt,
body#event main.main .event__item .info dd {
  font-size: 1.2rem;
}
@media (768px <= width) {
  body#event main.main .event__item .info dt,
  body#event main.main .event__item .info dd {
    font-size: 1.6rem;
  }
}
body#event main.main .event__item .arrow {
  text-align: center;
  border-left: 1px dotted rgba(51, 51, 51, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
}

body#event.single #stage {
  padding-top: calc(250 / var(--spSize) * 100vw);
}
@media (768px <= width) {
  body#event.single #stage {
    padding-top: 31rem;
  }
}

body#event.single main.main .post__contents {
  padding: 0 calc(30 / var(--spSize) * 100vw) calc(200 / var(--spSize) * 100vw);
  position: relative;
}
@media (768px <= width) {
  body#event.single main.main .post__contents {
    padding: 0 0 20rem;
  }
}
body#event.single main.main .post__contents::before, body#event.single main.main .post__contents::after {
  content: "";
  height: 1px;
  position: absolute;
  left: calc(30 / var(--spSize) * 100vw);
  top: 0;
}
@media (768px <= width) {
  body#event.single main.main .post__contents::before, body#event.single main.main .post__contents::after {
    left: 0;
  }
}
body#event.single main.main .post__contents::before {
  border-top: 1px dotted var(--clr-lightYellow3);
  width: calc(100% - 60 / var(--spSize) * 100vw);
}
@media (768px <= width) {
  body#event.single main.main .post__contents::before {
    width: 100%;
  }
}
body#event.single main.main .post__contents::after {
  width: 18.75%;
  background-color: var(--clr-blue);
}
@media (768px <= width) {
  body#event.single main.main .post__contents::after {
    width: 30rem;
  }
}
body#event.single main.main .post__header {
  padding: calc(30 / var(--spSize) * 100vw) 0;
}
@media (768px <= width) {
  body#event.single main.main .post__header {
    gap: 2rem 0;
    padding: 4rem 0;
  }
}
body#event.single main.main .post__header .tag {
  font-size: 1.8rem;
}
@media (768px <= width) {
  body#event.single main.main .post__header .tag {
    font-size: 2.2rem;
  }
}
body#event.single main.main .post__header .title {
  font-size: 3rem;
  font-family: var(--ff-shippori);
  line-height: 1.55;
}
@media (768px <= width) {
  body#event.single main.main .post__header .title {
    font-size: 4rem;
  }
}
body#event.single main.main .post__header .info {
  display: grid;
  grid-template-columns: 5em auto;
  gap: 0.3rem 0.5rem;
  margin-top: 2rem;
  color: #666;
}
@media (768px <= width) {
  body#event.single main.main .post__header .info {
    font-size: 2rem;
  }
}
body#event.single main.main .post__body {
  margin-bottom: calc(200 / var(--spSize) * 100vw);
}
body#event.single main.main .post__body figure {
  margin-bottom: calc(50 / var(--spSize) * 100vw);
}
@media (768px <= width) {
  body#event.single main.main .post__body {
    margin-bottom: 0;
    font-size: 2rem;
  }
  body#event.single main.main .post__body figure {
    margin-bottom: 5rem;
  }
}
body#event.single main.main .post__body #toc_container {
  border: 1px dotted var(--clr-lightYellow3);
  border-width: 1px 0;
  background: none;
  margin: calc(100 / var(--spSize) * 100vw) 0;
  padding: calc(20 / var(--spSize) * 100vw) 0;
  width: 100%;
}
@media (768px <= width) {
  body#event.single main.main .post__body #toc_container {
    margin: 10rem 0;
    padding: 2rem 0;
  }
}
body#event.single main.main .post__body #toc_container .toc_title {
  text-align: left;
  font-family: var(--ff-shippori);
}
body#event.single main.main .post__body #toc_container .toc_list {
  margin-top: 0;
  padding-left: 0.2em;
}
body#event.single main.main .post__body #toc_container .toc_list li {
  padding: 0;
}
body#event.single main.main .post__body #toc_container .toc_list a {
  color: var(--clr-blue);
  position: relative;
  padding-left: 1.5em;
  display: block;
}
body#event.single main.main .post__body #toc_container .toc_list a::before {
  content: "";
  width: 1rem;
  height: 1rem;
  border-radius: 10rem;
  background-color: var(--clr-blue);
  position: absolute;
  left: 0;
  top: 0.7em;
}
body#event.single main.main .post__body h2 {
  background-color: var(--clr-blue);
  color: #fff;
  font-size: 2.4rem;
  font-family: var(--ff-shippori);
  line-height: 1.8;
  margin: calc(80 / var(--spSize) * 100vw) 0 calc(50 / var(--spSize) * 100vw);
  position: relative;
  padding: 0.5rem 1.5rem 0.5rem 4rem;
}
@media (768px <= width) {
  body#event.single main.main .post__body h2 {
    font-size: 3.2rem;
    margin: 8rem 0 5rem;
  }
}
body#event.single main.main .post__body h2::before {
  content: "";
  width: 0.5rem;
  background-color: #fff;
  position: absolute;
  left: 2rem;
  top: 1.5rem;
  bottom: 1.5rem;
}
body#event.single main.main .post__body h3 {
  border: 1px dotted var(--clr-lightYellow3);
  border-width: 1px 0;
  margin: calc(80 / var(--spSize) * 100vw) 0 calc(50 / var(--spSize) * 100vw);
  padding: calc(20 / var(--spSize) * 100vw) 0;
  font-size: 2rem;
  font-family: var(--ff-shippori);
  line-height: 1.8;
}
@media (768px <= width) {
  body#event.single main.main .post__body h3 {
    font-size: 2.4rem;
  }
}
body#event.single main.main .post__body p {
  word-break: break-all;
}
body#event.single main.main .post__body table {
  margin: calc(50 / var(--spSize) * 100vw) 0;
}
body#event.single main.main .post__body table th,
body#event.single main.main .post__body table td {
  border: 1px solid var(--clr-lightYellow3);
  padding: 1rem;
}
body#event.single main.main .post__body table th {
  background-color: var(--clr-lightYellow2);
}
body#event.single main.main .post__body table td {
  background-color: #f9f7f4;
}
body#event.single main.main .post__body p:has(iframe[src*="youtube.com"]),
body#event.single main.main .post__body div:has(iframe[src*="youtube.com"]) {
  width: 100%;
  aspect-ratio: 560/315;
  margin: calc(50 / var(--spSize) * 100vw) 0;
}
body#event.single main.main .post__body p:has(iframe[src*="youtube.com"]) iframe,
body#event.single main.main .post__body div:has(iframe[src*="youtube.com"]) iframe {
  width: 100%;
  height: 100%;
}
body#event.single main.main .post__body iframe.wp-embedded-content {
  width: 100%;
}
body#event.single main.main .post__body ul li {
  position: relative;
  padding-left: 1.5em;
}
body#event.single main.main .post__body ul li::before {
  content: "";
  width: 1rem;
  height: 1rem;
  border-radius: 10rem;
  background-color: var(--clr-lightYellow4);
  position: absolute;
  left: 0;
  top: 0.7em;
}
body#event.single main.main .post__body ol {
  counter-reset: numberdot;
}
body#event.single main.main .post__body ol li {
  position: relative;
  padding-left: 1.5em;
  counter-increment: numberdot;
}
body#event.single main.main .post__body ol li::before {
  content: counter(numberdot) ". ";
  position: absolute;
  left: 0;
  color: var(--clr-gray1);
  font-weight: 500;
}
body#event.single main.main .post__body p a {
  color: var(--clr-blue);
  text-decoration: underline;
}
@media (hover: hover) and (width >= 768px) {
  body#event.single main.main .post__body p a {
    transition: all var(--speed) ease-in-out;
  }
  body#event.single main.main .post__body p a:hover {
    text-decoration: none;
  }
}
body#event.single main.main .tolist {
  margin-top: calc(150 / var(--spSize) * 100vw);
}
@media (768px <= width) {
  body#event.single main.main .tolist {
    margin-top: 15rem;
  }
}
body#event.single main.main .tolist a {
  font-family: var(--ff-shippori);
  display: block;
  text-align: center;
  border: 1px solid var(--clr-lightYellow3);
  border-width: 1px 0;
  line-height: 3.8;
}
@media (768px <= width) {
  body#event.single main.main .tolist a {
    font-size: 2rem;
  }
}
@media (hover: hover) and (width >= 768px) {
  body#event.single main.main .tolist a {
    transition: all var(--speed) ease-in-out;
  }
  body#event.single main.main .tolist a:hover {
    background: var(--clr-lightYellow2);
  }
}