@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Noto+Serif+JP:wght@300;400&display=swap");

/* Mass-ive-Hero-ES
--------------------------------------------- */

:root {
  --mhes-bg: #fff;
  --mhes-text: #111;
  --mhes-muted: #666;
  --mhes-line: #dedbd4;
  --mhes-side: clamp(22px, 4vw, 68px);
  --mhes-content: 1280px;
  --mhes-font: "Inter", "Noto Serif JP", serif;
}

html,
body {
  background: var(--mhes-bg);
}

body {
  color: var(--mhes-text);
  font-family: var(--mhes-font) !important;
  font-weight: 300;
  letter-spacing: 0;
}

a {
  color: var(--mhes-text);
}

/* Cocoon reset
--------------------------------------------- */

body.home .header-container,
body.front-page .header-container,
body:not(.home):not(.front-page) .header-container,
body.home .navi,
body.front-page .navi,
body:not(.home):not(.front-page) .navi,
body.home .mobile-menu-buttons,
body.front-page .mobile-menu-buttons,
body:not(.home):not(.front-page) .mobile-menu-buttons,
body.home .menu-drawer,
body.front-page .menu-drawer,
body:not(.home):not(.front-page) .menu-drawer,
body.home .breadcrumb,
body.front-page .breadcrumb,
body:not(.home):not(.front-page) .breadcrumb,
body.home .entry-title,
body.front-page .entry-title,
body:not(.home):not(.front-page) .entry-title,
body.home .date-tags,
body.front-page .date-tags,
body:not(.home):not(.front-page) .date-tags,
body.home .sns-share,
body.front-page .sns-share,
body:not(.home):not(.front-page) .sns-share,
body.home .sns-follow,
body.front-page .sns-follow,
body:not(.home):not(.front-page) .sns-follow,
body.home .under-entry-content,
body.front-page .under-entry-content,
body:not(.home):not(.front-page) .under-entry-content,
body.home .entry-footer,
body.front-page .entry-footer,
body:not(.home):not(.front-page) .entry-footer,
body.home .pager-post-navi,
body.front-page .pager-post-navi,
body:not(.home):not(.front-page) .pager-post-navi,
body.home .copy-info,
body.front-page .copy-info,
body:not(.home):not(.front-page) .copy-info,
body.home #sidebar,
body.front-page #sidebar,
body:not(.home):not(.front-page) #sidebar,
body.home .sidebar,
body.front-page .sidebar,
body:not(.home):not(.front-page) .sidebar {
  display: none !important;
}

body.home #container,
body.front-page #container,
body:not(.home):not(.front-page) #container,
body.home #content,
body.front-page #content,
body:not(.home):not(.front-page) #content,
body.home .content,
body.front-page .content,
body:not(.home):not(.front-page) .content,
body.home .content-in,
body.front-page .content-in,
body:not(.home):not(.front-page) .content-in,
body.home main,
body.front-page main,
body:not(.home):not(.front-page) main,
body.home #main,
body.front-page #main,
body:not(.home):not(.front-page) #main,
body.home .main,
body.front-page .main,
body:not(.home):not(.front-page) .main,
body.home .article,
body.front-page .article,
body:not(.home):not(.front-page) .article,
body.home .entry,
body.front-page .entry,
body:not(.home):not(.front-page) .entry,
body.home .entry-content,
body.front-page .entry-content,
body:not(.home):not(.front-page) .entry-content,
body.home .wrap,
body.front-page .wrap,
body:not(.home):not(.front-page) .wrap {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--mhes-bg) !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Shared font */
.mhes-page,
.mhes-page *,
.mhes-subpage,
.mhes-subpage *,
.mhes-bottom,
.mhes-bottom *,
.footer,
.footer *,
.footer-bottom,
.footer-bottom *,
.copyright,
.copyright * {
  font-family: var(--mhes-font) !important;
  font-weight: 300;
}

/* Home
--------------------------------------------- */

.mhes-page {
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--mhes-bg);
}

.mhes-hero {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  padding: 0 var(--mhes-side);
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  background: rgba(255, 255, 255, .62) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mhes-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.mhes-brand a {
  display: inline-flex;
  align-items: center;
}

.mhes-brand img {
  display: block;
  width: clamp(110px, 10vw, 160px);
  max-width: 100%;
  height: auto;
}

.mhes-brand p {
  margin: 0;
  color: rgba(17, 17, 17, .78);
  font-size: clamp(12px, .95vw, 15px);
  line-height: 1.2;
  white-space: nowrap;
}

.mhes-nav {
  display: flex;
  align-items: center;
  gap: clamp(26px, 4vw, 72px);
  margin-left: auto;
}

.mhes-nav a {
  color: rgba(17, 17, 17, .82);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1;
  text-decoration: none;
}

.mhes-nav a:hover {
  opacity: .55;
}

.mhes-main-visual {
  position: relative;
  width: 100%;
  height: clamp(620px, 100vh, 900px);
  margin: 0 0 clamp(38px, 4vw, 64px);
  background: var(--mhes-bg);
  overflow: hidden;
}

.mhes-main-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.92) contrast(.96);
}

.mhes-main-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, .78) 0%,
      rgba(255, 255, 255, .52) 32%,
      rgba(255, 255, 255, .42) 58%,
      rgba(255, 255, 255, .86) 100%
    );
  pointer-events: none;
}

.mhes-visual-copy {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 62%;
  transform: translate(-50%, -50%);
  width: min(86vw, 760px);
  text-align: center;
  pointer-events: none;
}

.mhes-visual-copy img {
  display: block;
  width: clamp(170px, 18vw, 280px);
  height: auto;
  margin: 0 auto 34px;
  opacity: .42;
}

.mhes-visual-copy p {
  margin: 0;
  color: rgba(17, 17, 17, .32);
  font-size: clamp(16px, 2vw, 22px);
  line-height: 2.05;
  letter-spacing: .11em;
}

.mhes-section-head,
body.home .mhes-section-head,
body.front-page .mhes-section-head,
body.home .mhes-section-head *,
body.front-page .mhes-section-head *,
body.home .wp-block-group,
body.front-page .wp-block-group {
  background: #fff !important;
  background-color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
}

.mhes-section-head {
  width: 100%;
  max-width: var(--mhes-content);
  margin: 0 auto;
  padding: 0 var(--mhes-side);
  box-sizing: border-box;
}

.mhes-section-head h2 {
  margin: 0 0 8px;
  color: var(--mhes-text);
  font-size: clamp(26px, 2vw, 34px);
  line-height: 1.25;
}

.mhes-section-head p {
  margin: 0;
  color: var(--mhes-muted);
  font-size: clamp(14px, 1vw, 16px);
}

/* Home exhibition cards */

body.home .wp-block-query,
body.front-page .wp-block-query {
  width: 100%;
  max-width: var(--mhes-content);
  margin: 0 auto;
  padding: 0 var(--mhes-side) clamp(88px, 8vw, 140px);
  box-sizing: border-box;
  background: var(--mhes-bg) !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.home .wp-block-post-template,
body.front-page .wp-block-post-template,
body.home .wp-block-post-template.is-flex-container,
body.front-page .wp-block-post-template.is-flex-container {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-items: center;
  gap: clamp(56px, 6vw, 104px) clamp(48px, 5vw, 88px);
  margin: 0 !important;
  padding: 0 !important;
  background: var(--mhes-bg) !important;
  border: 0 !important;
  overflow: visible !important;
}

body.home .wp-block-post-template > li,
body.front-page .wp-block-post-template > li,
body.home .wp-block-post-template.is-flex-container > li,
body.front-page .wp-block-post-template.is-flex-container > li {
  width: min(100%, 220px) !important;
  max-width: 220px !important;
  flex: none !important;
  margin: 0 !important;
  padding: 18px 10px 28px !important;
  list-style: none !important;
  background: var(--mhes-bg) !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.home .wp-block-post-featured-image,
body.front-page .wp-block-post-featured-image {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--mhes-bg) !important;
  overflow: visible !important;
}

body.home .wp-block-post-featured-image a,
body.front-page .wp-block-post-featured-image a,
body.home .wp-block-post-featured-image img,
body.front-page .wp-block-post-featured-image img {
  display: block;
  width: 100% !important;
}

body.home .wp-block-post-featured-image img,
body.front-page .wp-block-post-featured-image img {
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
  transition: transform .45s ease, box-shadow .45s ease, filter .45s ease;
  filter: saturate(.92) contrast(.96);
  box-shadow:
    0 28px 46px rgba(0, 0, 0, .28),
    0 8px 18px rgba(0, 0, 0, .18) !important;
}

body.home .wp-block-post-featured-image a:hover img,
body.front-page .wp-block-post-featured-image a:hover img {
  transform: translateY(-4px);
  box-shadow:
    0 30px 54px rgba(0, 0, 0, .20),
    0 8px 18px rgba(0, 0, 0, .12) !important;
  filter: saturate(1) contrast(1);
}

body.home .wp-block-post-title,
body.front-page .wp-block-post-title,
body.home .wp-block-post-date,
body.front-page .wp-block-post-date,
body.home .wp-block-post-excerpt,
body.front-page .wp-block-post-excerpt,
body.home .wp-block-post-terms,
body.front-page .wp-block-post-terms {
  display: none !important;
}

/* Home bottom */

body.home section.mhes-bottom,
body.front-page section.mhes-bottom,
body.home .mhes-bottom,
body.front-page .mhes-bottom {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: 1.35fr 1fr 1fr 1fr !important;
  grid-auto-flow: column !important;
  gap: 0 !important;
  padding: 0 !important;
  background: var(--mhes-bg) !important;
  border-top: 1px solid var(--mhes-line) !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

body.home .mhes-bottom > .mhes-bottom-item,
body.front-page .mhes-bottom > .mhes-bottom-item {
  min-width: 0 !important;
  min-height: 166px;
  padding: 34px clamp(34px, 3vw, 52px) 34px !important;
  background: var(--mhes-bg) !important;
  border-right: 1px solid var(--mhes-line) !important;
  box-shadow: none !important;
  box-sizing: border-box;
}

body.home .mhes-bottom > .mhes-bottom-item:first-child,
body.front-page .mhes-bottom > .mhes-bottom-item:first-child {
  padding-left: var(--mhes-side) !important;
}

body.home .mhes-bottom > .mhes-bottom-item:last-child,
body.front-page .mhes-bottom > .mhes-bottom-item:last-child {
  border-right: 0 !important;
  padding-right: var(--mhes-side) !important;
}

.mhes-bottom-item h3 {
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: var(--mhes-text);
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.35;
}

.mhes-bottom-item p,
.mhes-bottom-item a {
  color: var(--mhes-text);
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: clamp(13px, .95vw, 15px);
  line-height: 1.85;
}

.mhes-bottom-item p {
  margin: 0 0 16px;
}

.mhes-sub {
  color: var(--mhes-muted) !important;
}

.mhes-tag-links {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 14px 0 18px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.mhes-tag-links a {
  color: var(--mhes-text);
  text-decoration: none;
  border-bottom: 1px solid var(--mhes-text) !important;
}

.mhes-link {
  color: var(--mhes-text);
  text-decoration: none;
  border: 0 !important;
}

.mhes-curator-box .mhes-link {
  display: inline-block;
}

.mhes-curator-more {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--mhes-line);
  text-align: right;
}

.mhes-curator-more .mhes-link {
  display: inline-block;
}

/* Cocoon footer */

body.home .footer,
body.front-page .footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
  background: var(--mhes-bg) !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.home .footer-in,
body.front-page .footer-in,
body.home .footer-bottom,
body.front-page .footer-bottom {
  margin-top: 0 !important;
  padding-top: 0 !important;
  background: var(--mhes-bg) !important;
}

body.home .copyright,
body.front-page .copyright {
  color: var(--mhes-muted);
  font-size: 12px;
}

/* Sub pages
--------------------------------------------- */

.mhes-subpage {
  width: 100%;
  min-height: 100vh;
  background: var(--mhes-bg);
  color: var(--mhes-text);
}

.mhes-sub-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 76px;
  padding: 0 var(--mhes-side);
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mhes-sub-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.mhes-sub-brand img {
  display: block;
  width: clamp(110px, 10vw, 160px);
  height: auto;
}

.mhes-sub-brand p {
  margin: 0;
  color: rgba(17, 17, 17, .78);
  font-size: clamp(12px, .95vw, 15px);
  white-space: nowrap;
}

.mhes-sub-nav {
  display: flex;
  align-items: center;
  gap: clamp(26px, 4vw, 72px);
}

.mhes-sub-nav a {
  color: rgba(17, 17, 17, .82);
  font-size: clamp(13px, 1vw, 16px);
  text-decoration: none;
}

.mhes-sub-nav a:hover {
  opacity: .55;
}

.mhes-sub-content {
  width: min(calc(100vw - 40px), 880px);
  margin: 0 auto;
  padding: clamp(100px, 10vw, 160px) 0 clamp(96px, 10vw, 150px);
  box-sizing: border-box;
}

.mhes-sub-section {
  padding: 0 0 clamp(84px, 9vw, 132px);
  scroll-margin-top: 110px;
}

.mhes-sub-section h1,
.mhes-sub-section h2 {
  margin: 0 0 34px;
  padding-left: 0 !important;
  text-indent: 0 !important;
  color: var(--mhes-text);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.35;
  letter-spacing: .04em;
  background: transparent !important;
}

.mhes-sub-section p {
  margin: 0 0 28px;
  color: var(--mhes-text);
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 2.25;
  letter-spacing: .08em;
}

/* Concept
--------------------------------------------- */

/* Concept background: stable translucent NULL layer */
.mhes-concept-page {
  position: relative !important;
  isolation: isolate;
  background: #fff !important;
  overflow: hidden;
}

.mhes-concept-page::before,
.mhes-concept-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center center;
  pointer-events: none;
}

.mhes-concept-page::before {
  background-image: url("http://massiveheroes.readymade.jp/wp-content/uploads/2026/05/NULL_face01.png");
  background-size: min(64vw, 1536px) auto;
  opacity: .039;
}

.mhes-concept-page::after {
  background-image: url("http://massiveheroes.readymade.jp/wp-content/uploads/2026/05/NULL_face02.png");
  background-size: min(64vw, 1536px) auto;
  opacity: .055;
}

.mhes-concept-page .mhes-sub-header,
.mhes-concept-page .mhes-sub-content,
.mhes-concept-page .mhes-sub-section {
  position: relative;
  z-index: 2;
  background: transparent !important;
}

/* Permanent Exhibition
--------------------------------------------- */

.mhes-exhibition-page .mhes-sub-content {
  width: min(calc(100vw - 40px), 1180px);
  position: relative;
  background: transparent !important;
  overflow: visible;
}

.mhes-exhibition-page .mhes-sub-content::before {
  content: "";
  position: absolute;
  top: 250px;
  left: 47%;
  transform: translateX(-50%);
  width: min(100vw, 1180px);
  height: clamp(560px, 72vw, 920px);
  z-index: 0;
  background-image: url("http://massiveheroes.readymade.jp/wp-content/uploads/2026/05/exbition-background-fix.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 900px auto;
  opacity: .8;
  pointer-events: none;
}

.mhes-exhibition-page .mhes-sub-section {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(48px, 6vw, 88px);
  background: transparent !important;
}

.mhes-exhibition-page .wp-block-query {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  padding: 0 0 clamp(90px, 10vw, 150px);
  overflow: visible !important;
  background: transparent !important;
}

.mhes-exhibition-page .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(14, minmax(0, 1fr)) !important;
  grid-auto-flow: dense;
  gap: 10px 10px !important;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.mhes-exhibition-page .wp-block-post {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  justify-self: center;
  align-self: center;
  position: relative;
  z-index: 1;
}

.mhes-exhibition-page .wp-block-post:hover {
  z-index: 20;
}

.mhes-exhibition-page .wp-block-post-featured-image {
  margin: 0 !important;
  overflow: visible !important;
}

.mhes-exhibition-page .wp-block-post-featured-image a,
.mhes-exhibition-page .wp-block-post-featured-image img {
  display: block;
  width: 100% !important;
}

.mhes-exhibition-page .wp-block-post-featured-image img {
  height: auto !important;
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
  filter: saturate(.62) contrast(.9) brightness(1.12);
  opacity: .46;
  box-shadow:
    0 12px 24px rgba(0, 0, 0, .10),
    0 4px 10px rgba(0, 0, 0, .06);
  transition:
    transform .5s ease,
    filter .5s ease,
    opacity .5s ease,
    box-shadow .5s ease;
}

.mhes-exhibition-page .wp-block-post-featured-image a:hover img,
.mhes-exhibition-page .wp-block-post:hover .wp-block-post-featured-image img {
  filter: saturate(1.08) contrast(1.02) brightness(1);
  opacity: 1;
  transform: scale(2);
  box-shadow:
    0 34px 72px rgba(0, 0, 0, .28),
    0 10px 22px rgba(0, 0, 0, .16);
}

.mhes-exhibition-page .wp-block-post-title,
.mhes-exhibition-page .wp-block-post-date,
.mhes-exhibition-page .wp-block-post-excerpt,
.mhes-exhibition-page .wp-block-post-terms {
  display: none !important;
}

/* Permanent Exhibition: 28 works placement */

.mhes-exhibition-page .wp-block-post:nth-child(1) { grid-column: 6 / span 1; width: 82px; transform: translateY(18px); }
.mhes-exhibition-page .wp-block-post:nth-child(2) { grid-column: 7 / span 1; width: 116px; transform: translateY(-8px); }
.mhes-exhibition-page .wp-block-post:nth-child(3) { grid-column: 9 / span 1; width: 90px; transform: translateY(24px); }
.mhes-exhibition-page .wp-block-post:nth-child(4) { grid-column: 4 / span 1; width: 104px; transform: translateY(36px); }
.mhes-exhibition-page .wp-block-post:nth-child(5) { grid-column: 5 / span 1; width: 138px; transform: translateY(-26px); }
.mhes-exhibition-page .wp-block-post:nth-child(6) { grid-column: 7 / span 1; width: 88px; transform: translateY(28px); }
.mhes-exhibition-page .wp-block-post:nth-child(7) { grid-column: 9 / span 1; width: 150px; transform: translateY(-18px); }
.mhes-exhibition-page .wp-block-post:nth-child(8) { grid-column: 11 / span 1; width: 100px; transform: translateY(32px); }
.mhes-exhibition-page .wp-block-post:nth-child(9) { grid-column: 2 / span 1; width: 92px; transform: translateY(24px); }
.mhes-exhibition-page .wp-block-post:nth-child(10) { grid-column: 3 / span 1; width: 128px; transform: translateY(-20px); }
.mhes-exhibition-page .wp-block-post:nth-child(11) { grid-column: 5 / span 1; width: 82px; transform: translateY(34px); }
.mhes-exhibition-page .wp-block-post:nth-child(12) { grid-column: 6 / span 1; width: 160px; transform: translateY(-32px); }
.mhes-exhibition-page .wp-block-post:nth-child(13) { grid-column: 8 / span 1; width: 108px; transform: translateY(18px); }
.mhes-exhibition-page .wp-block-post:nth-child(14) { grid-column: 10 / span 1; width: 144px; transform: translateY(-24px); }
.mhes-exhibition-page .wp-block-post:nth-child(15) { grid-column: 12 / span 1; width: 86px; transform: translateY(38px); }
.mhes-exhibition-page .wp-block-post:nth-child(16) { grid-column: 2 / span 1; width: 120px; transform: translateY(-12px); }
.mhes-exhibition-page .wp-block-post:nth-child(17) { grid-column: 4 / span 1; width: 92px; transform: translateY(34px); }
.mhes-exhibition-page .wp-block-post:nth-child(18) { grid-column: 5 / span 1; width: 152px; transform: translateY(-28px); }
.mhes-exhibition-page .wp-block-post:nth-child(19) { grid-column: 7 / span 1; width: 104px; transform: translateY(24px); }
.mhes-exhibition-page .wp-block-post:nth-child(20) { grid-column: 9 / span 1; width: 132px; transform: translateY(-30px); }
.mhes-exhibition-page .wp-block-post:nth-child(21) { grid-column: 11 / span 1; width: 96px; transform: translateY(32px); }
.mhes-exhibition-page .wp-block-post:nth-child(22) { grid-column: 12 / span 1; width: 142px; transform: translateY(-14px); }
.mhes-exhibition-page .wp-block-post:nth-child(23) { grid-column: 4 / span 1; width: 96px; transform: translateY(-18px); }
.mhes-exhibition-page .wp-block-post:nth-child(24) { grid-column: 6 / span 1; width: 138px; transform: translateY(28px); }
.mhes-exhibition-page .wp-block-post:nth-child(25) { grid-column: 8 / span 1; width: 118px; transform: translateY(-22px); }
.mhes-exhibition-page .wp-block-post:nth-child(26) { grid-column: 10 / span 1; width: 92px; transform: translateY(30px); }
.mhes-exhibition-page .wp-block-post:nth-child(27) { grid-column: 6 / span 1; width: 86px; transform: translateY(-14px); }
.mhes-exhibition-page .wp-block-post:nth-child(28) { grid-column: 8 / span 1; width: 124px; transform: translateY(26px); }

/* Archive
--------------------------------------------- */

.mhes-archive-content {
  width: min(calc(100vw - 40px), 1120px);
}

.mhes-archive-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  margin: 0 0 clamp(54px, 7vw, 96px);
}

.mhes-archive-label,
.mhes-archive-label:visited,
.mhes-archive-label:hover,
.mhes-archive-label:focus {
  display: block;
  color: var(--mhes-text) !important;
  text-decoration: none !important;
}

.mhes-archive-label img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: none !important;
  opacity: .20;
  filter: saturate(.55) contrast(.92) brightness(1.1);
  transition: filter .45s ease, opacity .45s ease, transform .45s ease;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-composite: intersect;
}

.mhes-archive-label:hover img {
  box-shadow: none !important;
  opacity: .62;
  filter: saturate(.85) contrast(.98) brightness(1.04);
  transform: translateY(-4px);
}

.mhes-archive-label span {
  display: block;
  margin-top: 14px;
  font-size: clamp(18px, 1.5vw, 24px);
  letter-spacing: .04em;
  transition: opacity .35s ease;
}

.mhes-archive-label:hover span {
  opacity: 0;
}

.mhes-record-case {
  position: relative;
  min-height: 190px;
  padding: 28px 0 24px;
  box-sizing: border-box;
  border: 0 !important;
  border-bottom: 1px solid var(--mhes-line) !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
}

.mhes-record-case::before {
  display: none !important;
}

.mhes-record-stack {
  display: flex;
  align-items: flex-end;
  min-height: 150px;
  overflow: visible;
}

.mhes-record-card {
  width: 86px;
  max-width: 86px;
  margin: 0 -20px 0 0;
  position: relative;
  z-index: 1;
  display: block;
  transition: transform .45s ease, z-index .45s ease;
}

.mhes-record-card:nth-child(2n) {
  transform: translateY(14px) rotate(-2deg);
}

.mhes-record-card:nth-child(3n) {
  transform: translateY(4px) rotate(2deg);
}

.mhes-record-card:nth-child(4n) {
  transform: translateY(22px) rotate(-1deg);
}

.mhes-record-card:hover {
  z-index: 20;
  transform: translateY(-52px) scale(1.32) rotate(0deg);
}

.mhes-record-card img,
.mhes-record-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
  filter: saturate(.55) contrast(.92) brightness(1.08);
  opacity: .72;
  box-shadow:
    0 12px 28px rgba(0,0,0,.16),
    0 4px 10px rgba(0,0,0,.1);
  transition: filter .45s ease, opacity .45s ease, box-shadow .45s ease;
}

.mhes-record-card:hover img {
  filter: saturate(1.08) contrast(1.02) brightness(1);
  opacity: 1;
  box-shadow:
    0 28px 58px rgba(0,0,0,.24),
    0 8px 18px rgba(0,0,0,.14);
}

.mhes-record-empty {
  color: var(--mhes-muted);
  font-size: 14px;
}

/* Tag stock pages
--------------------------------------------- */

.mhes-tag-content {
  width: min(calc(100vw - 40px), 1120px);
}

.mhes-tag-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(48px, 6vw, 88px) clamp(28px, 4vw, 56px);
  padding-bottom: clamp(96px, 10vw, 150px);
}

.mhes-tag-card {
  display: block;
  text-decoration: none;
}

.mhes-tag-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
  filter: saturate(.62) contrast(.9) brightness(1.1);
  opacity: .58;
  box-shadow:
    0 18px 36px rgba(0,0,0,.16),
    0 6px 14px rgba(0,0,0,.10);
  transition: transform .45s ease, filter .45s ease, opacity .45s ease, box-shadow .45s ease;
}

.mhes-tag-card:hover img {
  transform: translateY(-8px) scale(1.05);
  filter: saturate(1.05) contrast(1.02) brightness(1);
  opacity: 1;
  box-shadow:
    0 30px 58px rgba(0,0,0,.24),
    0 8px 18px rgba(0,0,0,.14);
}

.mhes-pagination {
  padding-bottom: 80px;
}

.mhes-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.mhes-pagination a,
.mhes-pagination span {
  color: var(--mhes-text);
  font-family: var(--mhes-font);
  text-decoration: none;
}

/* Single article page
--------------------------------------------- */

.mhes-single-content {
  width: min(calc(100vw - 40px), 1040px);
  margin: 0 auto;
  padding: clamp(100px, 10vw, 150px) 0 clamp(100px, 10vw, 160px);
  box-sizing: border-box;
}

.mhes-single-article {
  background: transparent !important;
}

.mhes-single-intro {
  display: grid;
  grid-template-columns: minmax(180px, 320px) 1fr;
  gap: clamp(42px, 6vw, 96px);
  align-items: center;
  margin-bottom: clamp(72px, 9vw, 130px);
}

.mhes-single-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4.2;
  object-fit: cover;
  filter: saturate(.82) contrast(.96) brightness(1.04);
  box-shadow:
    0 28px 54px rgba(0, 0, 0, .22),
    0 8px 18px rgba(0, 0, 0, .12);
}

.mhes-single-meta h1 {
  margin: 0 0 28px;
  font-size: clamp(22px, 2.4vw, 38px);
  line-height: 1.35;
  letter-spacing: .02em;
  white-space: nowrap;
}

.mhes-single-tags {
  margin-bottom: 28px;
  color: var(--mhes-muted);
  font-size: clamp(13px, 1vw, 15px);
  letter-spacing: .06em;
}

.mhes-single-tags a {
  color: var(--mhes-muted);
  text-decoration: none;
}

.mhes-source {
  display: inline-block;
  color: var(--mhes-text);
  font-size: clamp(13px, 1vw, 15px);
  text-decoration: none;
  letter-spacing: .04em;
}

.mhes-single-body {
  width: min(100%, 820px);
  margin: 0 auto;
}

.mhes-single-body p {
  margin: 0 0 32px;
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 2.35;
  letter-spacing: .08em;
}

.mhes-single-body h2,
.mhes-single-body h3 {
  margin: 64px 0 28px;
  font-size: clamp(22px, 2vw, 34px);
  line-height: 1.5;
  letter-spacing: .06em;
}

.mhes-single-body a {
  color: var(--mhes-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mhes-single-body .mhes-source-link {
  margin-top: 72px;
  font-size: clamp(13px, 1vw, 15px);
  letter-spacing: .04em;
}

/* Responsive
--------------------------------------------- */

@media (max-width: 1100px) {
  body.home .wp-block-post-template,
  body.front-page .wp-block-post-template,
  body.home .wp-block-post-template.is-flex-container,
  body.front-page .wp-block-post-template.is-flex-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.home section.mhes-bottom,
  body.front-page section.mhes-bottom,
  body.home .mhes-bottom,
  body.front-page .mhes-bottom {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-flow: row !important;
  }
}

@media (max-width: 900px) {
  .mhes-exhibition-page .wp-block-post-template {
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
  }

  .mhes-tag-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .mhes-hero,
  .mhes-sub-header {
    height: auto;
    min-height: 74px;
    padding-top: 18px;
    padding-bottom: 16px;
    display: block;
  }

  .mhes-brand,
  .mhes-sub-brand {
    gap: 12px;
  }

  .mhes-brand img {
    width: 170px;
  }

  .mhes-sub-brand img {
    width: 150px;
  }

  .mhes-brand p,
  .mhes-sub-brand p {
    font-size: 12px;
  }

  .mhes-nav,
  .mhes-sub-nav {
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 18px;
  }

  .mhes-main-visual {
    height: 680px;
  }

  .mhes-visual-copy {
    top: 62%;
    width: 96vw;
  }

  .mhes-visual-copy img {
    width: 170px;
    margin-bottom: 24px;
  }

  .mhes-visual-copy p {
    white-space: nowrap;
    font-size: clamp(12px, 4vw, 18px);
    line-height: 1.6;
    letter-spacing: .03em;
  }

  body.home .wp-block-post-template,
  body.front-page .wp-block-post-template,
  body.home .wp-block-post-template.is-flex-container,
  body.front-page .wp-block-post-template.is-flex-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 28px;
  }

  body.home .wp-block-post-template > li,
  body.front-page .wp-block-post-template > li,
  body.home .wp-block-post-template.is-flex-container > li,
  body.front-page .wp-block-post-template.is-flex-container > li {
    width: min(100%, 190px) !important;
    max-width: 190px !important;
  }

  body.home section.mhes-bottom,
  body.front-page section.mhes-bottom,
  body.home .mhes-bottom,
  body.front-page .mhes-bottom {
    grid-template-columns: 1fr !important;
    grid-auto-flow: row !important;
  }

  body.home .mhes-bottom > .mhes-bottom-item,
  body.front-page .mhes-bottom > .mhes-bottom-item {
    min-height: 0;
    padding: 30px var(--mhes-side) !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--mhes-line) !important;
  }

  body.home .mhes-bottom > .mhes-bottom-item:last-child,
  body.front-page .mhes-bottom > .mhes-bottom-item:last-child {
    border-bottom: 0 !important;
  }

  .mhes-sub-content {
    width: min(calc(100vw - 40px), 880px);
    padding-top: 72px;
  }

  .mhes-exhibition-page .mhes-sub-content {
    width: 100%;
  }

  .mhes-exhibition-page .wp-block-post-template {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 18px 8px !important;
    padding: 0 14px !important;
  }

  .mhes-exhibition-page .wp-block-post {
    grid-column: auto !important;
    width: 54px !important;
  }

  .mhes-exhibition-page .wp-block-post:nth-child(5n+1) {
    width: 66px !important;
    grid-column: span 2 !important;
    transform: translateY(18px) !important;
  }

  .mhes-exhibition-page .wp-block-post:nth-child(5n+2) {
    width: 48px !important;
    grid-column: span 1 !important;
    transform: translateY(-12px) !important;
  }

  .mhes-exhibition-page .wp-block-post:nth-child(5n+3) {
    width: 72px !important;
    grid-column: span 2 !important;
    transform: translateY(6px) !important;
  }

  .mhes-exhibition-page .wp-block-post:nth-child(5n+4) {
    width: 50px !important;
    grid-column: span 1 !important;
    transform: translateY(22px) !important;
  }

  .mhes-exhibition-page .wp-block-post:nth-child(5n+5) {
    width: 62px !important;
    grid-column: span 2 !important;
    transform: translateY(-18px) !important;
  }

  .mhes-exhibition-page .wp-block-post-featured-image a:hover img,
  .mhes-exhibition-page .wp-block-post:hover .wp-block-post-featured-image img {
    transform: scale(1.55);
  }

  .mhes-archive-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .mhes-archive-label {
    max-width: 160px;
  }

  .mhes-record-case {
    padding: 24px 0 22px;
  }

  .mhes-record-card {
    width: 70px;
    max-width: 70px;
    margin-right: -18px;
  }

  .mhes-single-content {
    width: min(calc(100vw - 40px), 880px);
    padding-top: 72px;
  }

  .mhes-single-intro {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-bottom: 72px;
  }

  .mhes-single-image {
    max-width: 240px;
  }

  .mhes-single-meta h1 {
    white-space: normal;
    font-size: clamp(24px, 7vw, 36px);
  }

  .mhes-single-body p {
    font-size: 16px;
    line-height: 2.15;
    letter-spacing: .05em;
  }
}

@media (max-width: 600px) {
  .mhes-tag-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 22px;
  }
}

@media (max-width: 480px) {
  .mhes-exhibition-page .wp-block-post-template {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 16px 6px !important;
  }
}

/* Final layout fix: center all custom non-home pages */
body:not(.home):not(.front-page) #content,
body:not(.home):not(.front-page) .content,
body:not(.home):not(.front-page) .content-in,
body:not(.home):not(.front-page) #main,
body:not(.home):not(.front-page) .main,
body:not(.home):not(.front-page) .article,
body:not(.home):not(.front-page) .entry,
body:not(.home):not(.front-page) .entry-content,
body:not(.home):not(.front-page) .wrap {
  float: none !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
}

body:not(.home):not(.front-page) .mhes-subpage {
  width: 100% !important;
  margin: 0 auto !important;
}

body:not(.home):not(.front-page) .mhes-sub-content,
body:not(.home):not(.front-page) .mhes-single-content,
body:not(.home):not(.front-page) .mhes-tag-content {
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Single page centering fix */
.mhes-single-page {
  width: 100% !important;
}

.mhes-single-page .mhes-single-content {
  width: min(calc(100vw - 40px), 1040px) !important;
  max-width: 1040px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

.mhes-single-page .mhes-single-article {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
}

/* Final breakout fix for custom sub pages */
body:not(.home):not(.front-page) .mhes-subpage {
  position: relative !important;
  left: 50% !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  background: #fff !important;
}

body:not(.home):not(.front-page) .mhes-sub-content,
body:not(.home):not(.front-page) .mhes-single-content,
body:not(.home):not(.front-page) .mhes-tag-content {
  width: min(calc(100vw - 40px), 1040px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

body:not(.home):not(.front-page) .mhes-single-article {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Concept NULL background restore */
body:not(.home):not(.front-page) .mhes-concept-page {
  position: relative !important;
  isolation: isolate;
  background: #fff !important;
  overflow: hidden;
}

body:not(.home):not(.front-page) .mhes-concept-page::before,
body:not(.home):not(.front-page) .mhes-concept-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center center;
  pointer-events: none;
}

body:not(.home):not(.front-page) .mhes-concept-page::before {
  background-image: url("http://massiveheroes.readymade.jp/wp-content/uploads/2026/05/NULL_face01.png");
  background-size: min(64vw, 1536px) auto;
  opacity: .039;
}

body:not(.home):not(.front-page) .mhes-concept-page::after {
  background-image: url("http://massiveheroes.readymade.jp/wp-content/uploads/2026/05/NULL_face02.png");
  background-size: min(64vw, 1536px) auto;
  opacity: .055;
}

body:not(.home):not(.front-page) .mhes-concept-page .mhes-sub-header,
body:not(.home):not(.front-page) .mhes-concept-page .mhes-sub-content,
body:not(.home):not(.front-page) .mhes-concept-page .mhes-sub-section {
  position: relative;
  z-index: 2;
  background: transparent !important;
}


/* Final font enforcement */
body,
body *,
.mhes-page,
.mhes-page *,
.mhes-subpage,
.mhes-subpage *,
.mhes-single-page,
.mhes-single-page *,
.mhes-concept-page,
.mhes-concept-page *,
.mhes-exhibition-page,
.mhes-exhibition-page *,
.mhes-archive-page,
.mhes-archive-page *,
.mhes-tag-page,
.mhes-tag-page * {
  font-family: var(--mhes-font) !important;
  font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.article h1,
.article h2,
.article h3,
.mhes-sub-section h1,
.mhes-sub-section h2,
.mhes-single-meta h1,
.mhes-single-body h2,
.mhes-single-body h3,
.mhes-section-head h2,
.mhes-bottom-item h3 {
  font-family: var(--mhes-font) !important;
  font-weight: 300 !important;
}
