
body.layout-event .article-header__inner,
body.layout-event .article-hero-image {
  max-width: 950px;
}

body.layout-event .article-layout {
  max-width: 822px;
}

body.layout-event .article-toc__head {
  display: none;
}

body.layout-event .article-content h2.h2-accent {
  padding-left: 0;
  border-left: none;
  color: var(--primary);
  font-size: 24px;
  font-weight: 800;
}

body.layout-event .article-content .event-box h2 {
  padding-left: 0;
  border-left: none;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

body.layout-event .article-content .event-box h2::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

body.layout-event .article-content .event-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin: 80px -64px 0;
  padding: 64px;
}

body.layout-event .article-content .event-box > h2:first-child {
  margin-top: 0;
}

body.layout-event .event-info {
  display: flex;
  flex-direction: column;
  margin: 24px 0 32px;
}

body.layout-event .event-info__row {
  display: flex;
  gap: 36px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

body.layout-event .event-info__row:first-child {
  padding-top: 0;
}

body.layout-event .event-info__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

body.layout-event .event-info__row.event-info__row--procedure {
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}

body.layout-event .event-info__row--procedure .event-info__label {
  align-self: center;
}

body.layout-event .event-info__label {
  flex: 0 0 88px;
  align-self: center;
  padding: 4px 0;
  border-radius: 6px;
  background: rgba(0, 80, 170, 0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

body.layout-event .event-info__value {
  flex: 1;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

body.layout-event .event-info__value p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

body.layout-event .event-info__row--procedure .event-info__value > p {
  font-size: 13px;
}

body.layout-event .event-steps__note {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
}

body.layout-event .event-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 28px 0 0;
}

body.layout-event .event-steps__item {
  display: flex;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

body.layout-event .event-steps__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

body.layout-event .event-steps__num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

body.layout-event .event-steps__body {
  flex: 1;
  padding-top: 3px;
}

body.layout-event .event-steps__title {
  margin: 0 0 4px;
  color: var(--secondary);
  font-size: 15px;
  font-weight: 700;
}

body.layout-event .event-steps__desc {
  margin: 0 0 12px;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
}

body.layout-event .event-steps__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 220px;
  margin-top: 8px;
  padding: 10px 22px;
  background: var(--bg-white);
  color: var(--primary);
  border: 3px solid var(--primary);
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
}

@media (hover: hover) {
  body.layout-event .event-steps__btn:hover {
    background: rgba(0, 80, 170, 0.08);
  }
}

body.layout-event .article-content ul {
  margin-left: 0;
}

body.layout-event .article-content li:not(.article-toc__item) {
  position: relative;
  padding-left: 1.2em;
  list-style: none;
}

body.layout-event .article-content li:not(.article-toc__item)::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

body.layout-event .event-program-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

body.layout-event .event-program-list > li {
  margin-bottom: 0;
}

body.layout-event .event-program-list__title {
  display: block;
  margin-bottom: 4px;
  color: var(--secondary);
  font-size: 16px;
  font-weight: 700;
}

body.layout-event .event-program-list__desc {
  display: block;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
}

body.layout-event .event-program-list__bullets {
  margin: 0;
  padding-left: 1.4em;
  list-style: disc;
}

body.layout-event .event-program-list__bullets > li {
  margin-bottom: 2px;
}

body.layout-event .event-notes-list {
  font-size: 13px;
}

@media (max-width: 768px) {
  body.layout-event .article-content .event-box {
    margin: 48px 0 0;
    padding: 24px;
  }

  body.layout-event .article-content h2.h2-accent {
    font-size: 20px;
  }

  body.layout-event .article-content .event-box h2 {
    font-size: 18px;
  }

  body.layout-event .event-info__row {
    flex-direction: column;
    gap: 8px;
    padding: 14px 0;
  }

  body.layout-event .event-info__label,
  body.layout-event .event-info__row--procedure .event-info__label {
    align-self: flex-start;
    flex: none;
    margin-top: 0;
    padding: 3px 10px;
  }

  body.layout-event .event-steps__btn {
    width: 100%;
  }

  body.layout-event .article-hero-image__badge {
    top: -8px;
    right: -8px;
    width: 56px;
    height: 56px;
    font-size: 13px;
  }
}
