/*
Theme Name: MassiveHeroes Cocoon Child
Theme URI: https://example.com/
Description: Mass-ive-Hero-ES custom child theme based on Cocoon.
Author: MobProject
Template: cocoon-master
Version: 2.8.0
*/

:root {
  --mh-bg: #fff;
  --mh-paper: #fff;
  --mh-ink: #111;
  --mh-muted: #77716a;
  --mh-line: #dedbd4;
  --mh-soft-line: #ece8df;
  --mh-accent: #b49c7d;
  --mh-max: 1180px;
  --mh-spread-ratio: 2.08;
  --mh-page-margin: 16px;
  --mh-shell-height: calc(100vh - 32px);
  --mh-header-height: clamp(48px, 5.4vh, 64px);
  --mh-footer-height: 34px;
  --mh-book-height: calc(var(--mh-shell-height) - var(--mh-header-height) - var(--mh-footer-height));
  --mh-spread-width: min(calc(100vw - var(--mh-page-margin)), calc(var(--mh-book-height) * var(--mh-spread-ratio)), 1760px);
  --mh-serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --mh-sans: "Helvetica Neue", Arial, "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
}

body {
  background: var(--mh-bg);
  color: var(--mh-ink);
  font-family: var(--mh-serif);
  letter-spacing: 0;
}

.mh-site {
  min-height: 100vh;
  background: var(--mh-bg);
}

.mh-container {
  width: min(calc(100% - 64px), var(--mh-max));
  margin: 0 auto;
}

.mh-spread-frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  width: var(--mh-spread-width);
  max-width: none;
  margin: 0 auto;
}

.mh-spread-frame::before,
.mh-spread-frame::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 24px;
  pointer-events: none;
  z-index: 2;
}

.mh-spread-frame::before {
  left: -24px;
  background:
    repeating-linear-gradient(90deg, rgba(80, 65, 48, 0.18) 0 1px, rgba(255, 255, 255, 0.48) 1px 3px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.24), rgba(255, 255, 255, 0.16) 72%, rgba(255, 255, 255, 0));
  border-left: 1px solid rgba(43, 34, 24, 0.28);
  border-right: 1px solid rgba(213, 205, 193, 0.7);
}

.mh-spread-frame::after {
  right: -24px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.48) 0 2px, rgba(80, 65, 48, 0.16) 2px 3px),
    linear-gradient(270deg, rgba(0, 0, 0, 0.24), rgba(255, 255, 255, 0.16) 72%, rgba(255, 255, 255, 0));
  border-left: 1px solid rgba(213, 205, 193, 0.7);
  border-right: 1px solid rgba(43, 34, 24, 0.28);
}

.mh-frame-spine {
  background: rgba(75, 60, 44, 0.28);
  border-left: 0;
  border-right: 0;
  box-shadow:
    -40px 0 54px rgba(46, 36, 25, 0.13),
    40px 0 54px rgba(46, 36, 25, 0.13);
  z-index: 1;
}

.mh-header {
  padding: 10px 0 0;
}

.mh-header__inner {
  border-left: 1px solid var(--mh-line);
  border-right: 1px solid var(--mh-line);
  border-bottom: 0;
  min-height: 0;
  height: var(--mh-header-height);
  background: var(--mh-bg);
  box-shadow:
    inset 20px 0 24px rgba(83, 63, 43, 0.045),
    inset -20px 0 24px rgba(83, 63, 43, 0.045);
}

.mh-header__inner--single {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-left: 0;
  border-right: 0;
  box-shadow: none;
}

.mh-header__inner--single .mh-header__left {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.mh-header__left,
.mh-header__right {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 6px 30px;
}

.mh-header-detail {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding-top: 3px;
  font-size: 15px;
  line-height: 1;
  text-transform: uppercase;
}

.mh-header-detail span:last-child {
  height: 1px;
  background: var(--mh-line);
}

.mh-brand {
  text-decoration: none;
  color: var(--mh-ink);
}

.mh-brand__name {
  display: block;
  font-size: 23px;
  line-height: 1.1;
  font-weight: 600;
}

.mh-brand__tagline {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}

.mh-brand--logo {
  display: flex;
  align-items: center;
  min-width: 0;
  max-height: calc(var(--mh-header-height) - 12px);
  overflow: hidden;
}

.mh-brand--logo .custom-logo-link {
  display: flex;
  align-items: center;
  max-height: inherit;
}

.mh-brand--logo img {
  display: block;
  width: auto;
  max-width: min(260px, 22vw);
  max-height: calc(var(--mh-header-height) - 14px);
  height: auto;
  object-fit: contain;
}

.mh-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: var(--mh-serif);
  font-size: 12px;
  text-transform: uppercase;
  padding-top: 4px;
}

.mh-nav a {
  color: var(--mh-ink);
  text-decoration: none;
}

.mh-menu-icon {
  width: 26px;
  height: 18px;
  border: 0;
  border-top: 1px solid var(--mh-ink);
  border-bottom: 1px solid var(--mh-ink);
  background: linear-gradient(var(--mh-ink), var(--mh-ink)) center / 100% 1px no-repeat;
}

.mh-observed {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  text-align: right;
  padding-top: 8px;
  font-size: 15px;
}

.mh-section {
  margin-top: 54px;
}

.mh-book-wrap {
  width: var(--mh-spread-width);
  max-width: none;
  margin-top: 0;
}

.mh-book {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  align-items: stretch;
  height: var(--mh-book-height);
  min-height: 0;
  overflow: hidden;
  border-left: 1px solid var(--mh-line);
  border-right: 1px solid var(--mh-line);
  border-bottom: 1px solid var(--mh-line);
  background: var(--mh-bg);
  box-shadow: none;
}

.mh-book-page {
  min-height: inherit;
  background: var(--mh-bg);
  padding: 22px 30px 18px;
  overflow: hidden;
}

.mh-book-page--left {
  box-shadow:
    inset -28px 0 46px rgba(63, 48, 33, 0.095),
    inset 24px 0 34px rgba(83, 63, 43, 0.1);
}

.mh-book-page--right {
  box-shadow:
    inset 28px 0 46px rgba(63, 48, 33, 0.095),
    inset -24px 0 34px rgba(83, 63, 43, 0.1);
}

.mh-book-spine {
  background: rgba(75, 60, 44, 0.28);
  border-left: 0;
  border-right: 0;
  box-shadow:
    -40px 0 54px rgba(46, 36, 25, 0.13),
    40px 0 54px rgba(46, 36, 25, 0.13);
  z-index: 1;
}

.mh-section-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

.mh-section-head--compact {
  gap: 12px;
  margin-bottom: 16px;
}

.mh-section-title {
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 500;
}

.mh-section-subtitle {
  font-size: 13px;
  color: var(--mh-muted);
}

.mh-section-line {
  height: 1px;
  background: var(--mh-line);
}

.mh-link {
  color: var(--mh-ink);
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  white-space: nowrap;
}

.mh-link::after {
  content: "  ->";
}

.mh-exhibition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 70px;
}

.mh-exhibition-grid--book {
  gap: 18px 28px;
}

.mh-exhibition-grid--images {
  align-items: start;
}

.mh-card__image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--mh-paper);
  box-shadow: 16px 16px 30px rgba(0, 0, 0, 0.12);
}

.mh-card--book .mh-card__image {
  box-shadow: 12px 14px 22px rgba(0, 0, 0, 0.13);
}

.mh-card--image-only .mh-card__image {
  width: min(100%, 78%);
  margin: 0 auto;
  display: block;
}

.mh-card__title {
  margin: 18px 0 8px;
  font-size: 18px;
  line-height: 1.45;
}

.mh-card--book .mh-card__title {
  margin-top: 10px;
  margin-bottom: 4px;
  font-size: 15px;
}

.mh-card__meta,
.mh-card__date {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}

.mh-book-info {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  margin-top: 18px;
  border-top: 1px solid var(--mh-line);
  border-bottom: 1px solid var(--mh-line);
}

.mh-book-info--compact {
  margin-top: 14px;
}

.mh-book-info article {
  min-height: 104px;
  padding: 12px 15px 10px;
  border-right: 1px solid var(--mh-line);
}

.mh-book-info--compact article {
  min-height: 68px;
  padding: 10px 13px 8px;
}

.mh-book-info article:last-child {
  border-right: 0;
}

.mh-book-info h2 {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 500;
}

.mh-book-info p {
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1.65;
}

.mh-book-info--compact p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mh-book-info--compact .mh-link {
  font-size: 10px;
}

.mh-top-detail {
  display: grid;
  grid-template-columns: minmax(130px, 205px) 1fr;
  gap: 28px;
  align-items: start;
}

.mh-book-page--right-top {
  padding-top: 18px;
}

.mh-top-detail__cover {
  display: block;
}

.mh-top-detail__title {
  margin: 4px 0 9px;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.mh-top-detail__body p {
  margin: 0 0 7px;
  font-size: 12px;
  line-height: 1.65;
}

.mh-top-detail__intro {
  padding-right: 22px;
}

.mh-book-related {
  margin-top: 30px;
}

.mh-object-grid--book {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.mh-object--book {
  padding: 10px;
}

.mh-object--book h3 {
  margin: 9px 0 3px;
  font-size: 13px;
}

.mh-object--book p {
  margin: 0;
  font-size: 12px;
}

.mh-book-sound {
  margin-top: 12px;
}

.mh-soundscape--book {
  grid-template-columns: 96px 1fr auto;
  gap: 10px;
  padding: 6px;
}

.mh-soundscape--book h3 {
  margin: 0 0 3px;
  font-size: 12px;
}

.mh-soundscape--book p {
  margin: 0;
  font-size: 10px;
  line-height: 1.35;
}

.mh-book-lower {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 12px;
  border-top: 1px solid var(--mh-line);
  padding-top: 12px;
}

.mh-book-mini-list .mh-section-title {
  font-size: 16px;
}

.mh-book-mini-list .mh-section-subtitle {
  font-size: 11px;
}

.mh-list-item--compact {
  grid-template-columns: 54px 1fr;
  gap: 10px;
  padding: 6px 0;
}

.mh-list-item--compact img {
  width: 54px;
}

.mh-list-item--compact h3 {
  font-size: 12px;
  margin-bottom: 2px;
}

.mh-list-item--compact p {
  font-size: 10px;
  line-height: 1.4;
}

.mh-list-item--compact p:nth-of-type(2) {
  display: none;
}

.mh-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  border-top: 1px solid var(--mh-line);
  border-bottom: 1px solid var(--mh-line);
}

.mh-info-box {
  min-height: 210px;
  padding: 24px 28px;
  border-right: 1px solid var(--mh-line);
}

.mh-info-box:last-child {
  border-right: 0;
}

.mh-info-box h3 {
  margin: 0 0 10px;
  font-size: 17px;
  text-transform: uppercase;
  font-weight: 500;
}

.mh-info-box p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 2;
}

.mh-work-hero {
  display: grid;
  grid-template-columns: minmax(280px, 430px) 1fr;
  gap: 95px;
  align-items: center;
  margin-top: 42px;
}

.mh-detail {
  padding-top: 12px;
}

.mh-work-hero--detail {
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
  gap: 86px;
  align-items: start;
}

.mh-work-cover-wrap {
  padding-left: 8%;
}

.mh-work-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: 18px 24px 36px rgba(0, 0, 0, 0.15);
}

.mh-work-summary {
  padding-top: 18px;
}

.mh-kicker {
  font-size: 15px;
  text-transform: uppercase;
}

.mh-page-title {
  margin: 22px 0 16px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.mh-lead {
  font-size: 16px;
  line-height: 2.2;
}

.mh-rule {
  margin: 22px 0 15px;
  border: 0;
  border-top: 1px solid var(--mh-line);
}

.mh-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.mh-tag {
  border: 1px solid var(--mh-line);
  padding: 9px 17px;
  font-size: 13px;
  background: transparent;
}

.mh-action-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  border: 1px solid var(--mh-line);
  margin-top: 42px;
}

.mh-action-box {
  padding: 22px 26px;
  border-right: 1px solid var(--mh-line);
}

.mh-action-box:last-child {
  border-right: 0;
}

.mh-action-title {
  margin: 0 0 14px;
  font-size: 16px;
  text-transform: uppercase;
}

.mh-downloads {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.mh-button-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  border: 1px solid var(--mh-line);
  padding: 16px 18px;
  color: var(--mh-ink);
  text-decoration: none;
  font-size: 14px;
}

.mh-soundscape {
  display: grid;
  grid-template-columns: 270px 1fr auto;
  gap: 32px;
  align-items: center;
  border: 1px solid var(--mh-line);
  padding: 14px;
}

.mh-soundscape img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.mh-object-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.mh-object {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--mh-soft-line);
  background: rgba(255, 255, 255, 0.36);
}

.mh-object img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.mh-object::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.82));
}

.mh-object__label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
}

.mh-object__label h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
}

.mh-object__label p {
  margin: 5px 0 0;
  font-size: 13px;
}

.mh-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  border-top: 1px solid var(--mh-line);
  padding-top: 26px;
}

.mh-two-column--archive {
  align-items: start;
}

.mh-list-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--mh-soft-line);
}

.mh-list-item a {
  color: var(--mh-ink);
  text-decoration: none;
}

.mh-list-item h2,
.mh-list-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}

.mh-list-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
}

.mh-list-item--large {
  grid-template-columns: 120px 1fr;
  padding: 22px 0;
}

.mh-list-item img {
  width: 82px;
  aspect-ratio: 1;
  object-fit: cover;
}

.mh-list-item--large img {
  width: 120px;
}

.mh-article-layout {
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 42px;
}

.mh-article-layout--journal {
  grid-template-columns: minmax(320px, 48%) minmax(0, 1fr);
  gap: 58px;
}

.mh-article-layout--reference {
  grid-template-columns: minmax(280px, 40%) minmax(0, 1fr);
  gap: 58px;
}

.mh-article-main-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.mh-body {
  font-size: 15px;
  line-height: 2.35;
}

.mh-source-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  border-top: 1px solid var(--mh-line);
  border-bottom: 1px solid var(--mh-line);
  padding: 14px 0;
  font-size: 13px;
  text-transform: uppercase;
}

.mh-related-work {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 42px;
  border: 1px solid var(--mh-line);
  padding: 28px;
}

.mh-related-work img {
  width: 170px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.mh-fixed-page {
  max-width: 980px;
  margin: 42px auto 0;
  text-align: center;
}

.mh-fixed-visual {
  position: relative;
  margin: 32px 0 30px;
}

.mh-fixed-visual img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
}

.mh-fixed-visual__title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(80%, 680px);
  color: var(--mh-ink);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-align: center;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.82);
}

.mh-fixed-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
  border-top: 1px solid var(--mh-line);
  padding-top: 30px;
}

.mh-fixed-content h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.mh-fixed-content p {
  margin: 0 0 34px;
  font-size: 15px;
  line-height: 2.25;
}

.mh-footer {
  margin-top: 0;
  padding: 0;
  font-size: 13px;
}

.mh-footer__inner {
  min-height: var(--mh-footer-height);
  border-left: 1px solid var(--mh-line);
  border-right: 1px solid var(--mh-line);
  border-top: 0;
  background: var(--mh-bg);
  box-shadow:
    inset 20px 0 24px rgba(83, 63, 43, 0.045),
    inset -20px 0 24px rgba(83, 63, 43, 0.045);
}

.mh-footer__inner--single {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-left: 0;
  border-right: 0;
  box-shadow: none;
}

.mh-footer__inner--single .mh-footer__left,
.mh-footer__inner--single .mh-footer__right {
  padding-left: 0;
  padding-right: 0;
}

.mh-footer__left,
.mh-footer__right {
  display: flex;
  align-items: center;
  padding: 0 30px;
}

.mh-footer__right {
  justify-content: flex-end;
  gap: 36px;
  text-align: right;
}

@media (max-width: 900px) {
  .mh-container {
    width: min(calc(100% - 32px), var(--mh-max));
  }

  .mh-spread-frame,
  .mh-book-wrap {
    width: min(calc(100% - 32px), var(--mh-max));
  }

  .mh-header__inner {
    height: auto;
  }

  .mh-header__inner,
  .mh-spread-frame,
  .mh-book,
  .mh-work-hero,
  .mh-article-layout,
  .mh-two-column,
  .mh-related-work {
    grid-template-columns: 1fr;
  }

  .mh-book {
    border-left: 0;
    border-right: 0;
    box-shadow: none;
    height: auto;
    overflow: visible;
  }

  .mh-book-page {
    min-height: auto;
    padding: 32px 0;
    box-shadow: none;
    overflow: visible;
  }

  .mh-book-spine {
    display: none;
  }

  .mh-frame-spine {
    display: none;
  }

  .mh-spread-frame::before,
  .mh-spread-frame::after {
    display: none;
  }

  .mh-header__left,
  .mh-header__right,
  .mh-footer__left,
  .mh-footer__right {
    padding-left: 0;
    padding-right: 0;
  }

  .mh-nav {
    justify-content: space-between;
    gap: 18px;
    font-size: 11px;
  }

  .mh-exhibition-grid,
  .mh-object-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 22px;
  }

  .mh-book-info,
  .mh-top-detail,
  .mh-book-lower,
  .mh-soundscape--book {
    grid-template-columns: 1fr;
  }

  .mh-book-info article {
    border-right: 0;
    border-bottom: 1px solid var(--mh-line);
  }

  .mh-book-info article:last-child {
    border-bottom: 0;
  }

  .mh-info-grid,
  .mh-action-grid {
    grid-template-columns: 1fr;
  }

  .mh-info-box,
  .mh-action-box {
    border-right: 0;
    border-bottom: 1px solid var(--mh-line);
  }

  .mh-info-box:last-child,
  .mh-action-box:last-child {
    border-bottom: 0;
  }

  .mh-soundscape {
    grid-template-columns: 1fr;
  }

  .mh-footer__inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .mh-footer__right {
    justify-content: flex-start;
    flex-wrap: wrap;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .mh-brand__name {
    font-size: 24px;
  }

  .mh-nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .mh-exhibition-grid,
  .mh-object-grid,
  .mh-downloads {
    grid-template-columns: 1fr;
  }

  .mh-page-title {
    font-size: 30px;
  }
}
