/*
Theme Name: Garage Labo Theme
Description: Garage Labo公式サイトをゼロから構築するための独立したオリジナルテーマです。
Version: 0.27.4
Text Domain: garage-labo-theme
*/

/*
 * Garage Labo Paper v0.2
 *
 * 白い和紙素材の見え方を、後から個別に調整できるよう変数で管理します。
 */
:root {
  --paper-white: #f6f1ee;
  --paper-texture-opacity: 0.82;
  --paper-texture-brightness: 1.02;
  --paper-texture-contrast: 0.95;
  --paper-texture-size: cover;
  --paper-texture-position: center;
  --bookshelf-paper: #ebe4de;
  --book-paper: #f2ece8;
  --news-paper: #f6f1ee;
}

html,
body {
  min-height: 100%;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  background-color: var(--paper-white);
  color: #36332f;
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  background-color: var(--paper-white);
  background-image: url("assets/images/garage-labo-paper-v03.jpg");
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  background-position: var(--paper-texture-position);
  background-size: var(--paper-texture-size);
  opacity: var(--paper-texture-opacity);
  filter:
    brightness(var(--paper-texture-brightness))
    contrast(var(--paper-texture-contrast));
}

/* SPLASH：制作・検証期間中はリロードごとに表示するテスト実装です。 */
.splash {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  overflow: hidden;
  background-color: rgb(246 241 238 / 0.97);
  opacity: 1;
  place-items: center;
  transition:
    opacity 2000ms ease,
    visibility 2000ms ease;
}

.splash::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background-color: var(--paper-white);
  background-image: url("assets/images/garage-labo-paper-v03.jpg");
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  background-position: var(--paper-texture-position);
  background-size: var(--paper-texture-size);
  opacity: var(--paper-texture-opacity);
  filter:
    brightness(var(--paper-texture-brightness))
    contrast(var(--paper-texture-contrast));
}

.splash__copy {
	display: flex;
	box-sizing: border-box;
	max-height: calc(100svh - clamp(4rem, 14vh, 8rem));
	margin: 0;
	font-size: clamp(1.05rem, 1.4vw, 1.4rem);
	line-height: 1.8;
	letter-spacing: 0.18em;
	opacity: 0;
	align-items: flex-start;
	flex-direction: row-reverse;
	gap: clamp(1.1rem, 2.2vw, 1.8rem);
	writing-mode: horizontal-tb;
	white-space: normal;
	text-orientation: mixed;
	animation: splash-copy-fade-in 2000ms ease forwards;
}

.splash__copy .temporal-text__block {
	display: block;
	max-height: inherit;
	writing-mode: vertical-rl;
}

.splash__copy .semantic-break-point__chunk {
	display: inline-block;
	max-height: 100%;
	white-space: normal;
	word-break: keep-all;
	overflow-wrap: anywhere;
}

@keyframes splash-copy-fade-in {
  to {
    opacity: 1;
  }
}

.splash.is-leaving,
.splash.is-skipped {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

body.is-splash-active {
  overflow: hidden;
}

.site-brand,
.top-page,
.site-footer {
  opacity: 1;
  transition: opacity 1200ms ease;
}

body.is-splash-active .site-brand,
body.is-splash-active .top-page,
body.is-splash-active .site-footer {
  visibility: hidden;
  opacity: 0;
}

/* 全ページ共通のサイトブランド導線。 */
.site-brand {
  position: absolute;
  z-index: 20;
  top: clamp(3rem, 6vw, 5.5rem);
  left: clamp(2rem, 5vw, 5.5rem);
  display: inline-flex;
  color: inherit;
  text-decoration: none;
  opacity: 0.84;
  transform: translateY(0);
  transition:
    opacity 760ms ease,
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  align-items: center;
  gap: 0.8rem;
}

.site-brand:hover,
.site-brand:focus-visible {
  opacity: 1;
  transform: translateY(-3px);
  transition-duration: 480ms;
}

.site-brand:focus-visible {
  outline: 1px solid rgb(54 51 47 / 0.48);
  outline-offset: 0.45rem;
}

.site-brand__logo {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
}

.site-brand__name {
  display: inline-flex;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.site-brand__name > span {
  display: inline-block;
  transform: translateY(0);
}

.site-brand__space {
  width: 0.35em;
}

.site-brand:hover .site-brand__name > span,
.site-brand:focus-visible .site-brand__name > span {
  animation: site-brand-letter-wave 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--letter-index) * 34ms);
}

@keyframes site-brand-letter-wave {
  42% {
    transform: translateY(-2px);
  }
}

/* MV */
.hero {
  position: relative;
  box-sizing: border-box;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(3rem, 7vw, 7rem);
}

.section-nav {
  position: absolute;
  top: 50%;
  left: clamp(2rem, 5vw, 5.5rem);
  transform: translateY(-50%);
}

.section-nav__list {
  display: grid;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.section-nav__item {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  opacity: 0.8;
  white-space: nowrap;
}

.section-nav__label {
  display: inline-block;
  transform: scale(1);
  transform-origin: left center;
  transition: transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
}

.section-nav__link::before {
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  margin-right: 0;
  background: currentColor;
  content: "";
  vertical-align: middle;
  opacity: 0.55;
  transform: scaleX(0.67);
  transform-origin: left center;
  transition: transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
}

.section-nav__link:hover::before {
  transform: scaleX(1);
}

.section-nav__item:hover .section-nav__label {
  transform: scale(1.075);
}

.hero__copy {
  display: flex;
  justify-content: flex-start;
  min-height: 0;
  gap: clamp(6rem, 11vw, 12rem);
  margin-left: clamp(12rem, 24vw, 27rem);
  padding-right: clamp(1rem, 4vw, 5rem);
  align-items: center;
  flex-direction: row-reverse;
}

.hero__title {
  margin: 0;
  font-size: clamp(4rem, 7vw, 7.5rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  white-space: nowrap;
}

.hero__statement {
  display: flex;
  flex-direction: row-reverse;
  margin: 0;
  font-size: clamp(0.95rem, 1.35vw, 1.25rem);
  line-height: 2.2;
  letter-spacing: 0.13em;
  gap: 1.15em;
}

.hero__statement span {
  display: block;
  writing-mode: vertical-rl;
  white-space: nowrap;
}

.hero__seasonal-illustration {
	position: absolute;
	bottom: clamp(3.5rem, 7vh, 5rem);
	left: clamp(17rem, 24.5vw, 29.5rem);
	width: clamp(12rem, 17vw, 20rem);
	pointer-events: none;
	opacity: 0.68;
}

.hero__seasonal-illustration[hidden] {
	display: none;
}

.hero__seasonal-illustration img {
	display: block;
	width: 100%;
	height: auto;
}

/*
 * v0.27.4: ガレージ戯画MVの四季共通配置基準。
 * 季節素材名には依存させず、共通スロットクラスへ適用します。
 */
@media (min-width: 64rem) {
	.hero__seasonal-illustration.top-mv-seasonal-illustration {
		top: auto;
		right: auto;
		bottom: clamp(3.5rem, 7vh, 5rem);
		left: clamp(17rem, 24.5vw, 29.5rem);
		width: clamp(12rem, 17vw, 20rem);
		max-width: none;
	}

	.top-mv-seasonal-illustration img {
		position: relative;
		top: 2vh;
		left: -7vw;
	}
}

/* 書架。背景色は #EBE4DE で正式FIX。 */
.bookshelf-intro {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(5rem, 7vw, 7rem) clamp(2rem, 4.5vw, 5rem) clamp(7rem, 11vw, 11rem);
  overflow: hidden;
  background-color: var(--bookshelf-paper);
  place-items: start center;
  text-align: center;
}

.bookshelf-intro::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background-color: var(--bookshelf-paper);
  background-image: url("assets/images/garage-labo-paper-v03.jpg");
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  background-position: var(--paper-texture-position);
  background-size: var(--paper-texture-size);
  opacity: var(--paper-texture-opacity);
  filter:
    brightness(var(--paper-texture-brightness))
    contrast(var(--paper-texture-contrast));
}

.bookshelf-intro__inner {
  width: 100%;
  max-width: 83rem;
  min-width: 0;
}

.bookshelf-intro__header {
  text-align: center;
}

.bookshelf-intro__title {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.22em;
}

.bookshelf-intro__title::after {
  display: block;
  width: 3.25rem;
  height: 1px;
  margin: 1.35rem auto 0;
  background: currentColor;
  content: "";
  opacity: 0.55;
}

.bookshelf-intro__description {
  margin: 1.5rem 0 0;
  font-size: clamp(0.9rem, 1.25vw, 1.05rem);
  line-height: 2;
  letter-spacing: 0.08em;
}

.bookshelf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 2.8vw, 2.65rem);
  margin-top: clamp(4.5rem, 7vw, 7rem);
  direction: rtl;
  text-align: left;
}

.bookshelf-carousel {
  position: relative;
  min-width: 0;
}

.bookshelf-carousel__controls {
  display: none;
}

.book-card {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  display: flex;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 58 / 91;
  height: clamp(29rem, 52vh, 31rem);
  min-width: 0;
  min-height: 0;
  padding: clamp(1.4rem, 2vw, 1.9rem);
  border: 1px solid rgb(54 51 47 / 0.24);
  background-color: var(--book-paper);
  direction: ltr;
  flex-direction: column;
  transform: translateY(0);
  transition:
    box-shadow 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.book-card:hover,
.book-card:focus-within {
  box-shadow: 0 0.42rem 1.15rem rgb(54 51 47 / 0.085);
  transform: translateY(-2px);
  transition-duration: 460ms;
}

.book-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-color: var(--book-paper);
  background-image: url("assets/images/garage-labo-paper-v03.jpg");
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  content: "";
  opacity: 0.48;
  filter: brightness(1.025) contrast(0.92);
}

.book-card::after {
  position: absolute;
  right: -0.1rem;
  bottom: -0.1rem;
  width: 1.65rem;
  height: 1.65rem;
  background: linear-gradient(
    135deg,
    rgb(242 236 232 / 0) 44%,
    rgb(54 51 47 / 0.14) 48%,
    rgb(246 241 238 / 0.92) 54%
  );
  box-shadow: -0.16rem -0.16rem 0.36rem rgb(54 51 47 / 0.08);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translate(72%, 72%);
  transition:
    transform 520ms ease,
    opacity 520ms ease;
}

.book-card:has(.book-card__link:hover)::after,
.book-card:focus-within::after {
  opacity: 1;
  transform: translate(0, 0);
}

.book-card__episode,
.book-card__project,
.book-card__service,
.book-card__story-title {
  margin: 0;
}

.book-card__service {
  align-self: flex-end;
  font-size: 0.6rem;
  line-height: 1.6;
  letter-spacing: 0.14em;
  opacity: 0.5;
  white-space: nowrap;
}

.book-card__body {
  display: flex;
  height: 20rem;
  margin: clamp(1.9rem, 2.5vw, 2.3rem) auto 0;
  gap: clamp(1.75rem, 2.25vw, 2.25rem);
  flex: 0 0 20rem;
  flex-direction: row-reverse;
  align-items: flex-start;
}

.book-card__sequence {
  display: flex;
  padding-top: 1.2em;
  gap: clamp(0.45rem, 0.65vw, 0.65rem);
  flex-direction: row-reverse;
  align-items: flex-start;
}

.book-card__project {
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.08em;
  overflow-wrap: normal;
  white-space: nowrap;
  writing-mode: vertical-rl;
}

.book-card__story-title,
.book-card__episode {
  font-size: clamp(0.78rem, 0.9vw, 0.9rem);
  line-height: 1.9;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
}

.book-card__episode {
  white-space: nowrap;
}

.book-card__story-title {
  position: relative;
  padding-top: 2.9rem;
}

.book-card__story-title::before {
  position: absolute;
  top: 0;
  right: 50%;
  width: 1px;
  height: 2rem;
  background: currentColor;
  content: "";
  opacity: 0.38;
  transform: translateX(50%);
}

.book-card__link,
.news-item__link {
  color: inherit;
  text-decoration: none;
}

.book-card__link {
  width: fit-content;
  margin: auto auto 0;
  padding: 0.35rem 0;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

.bookshelf-all-stories {
  margin: clamp(4.5rem, 7vw, 7rem) 0 0;
  text-align: center;
}

.bookshelf-all-stories__label {
  position: relative;
  display: inline-block;
  padding: 0.55rem 0;
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  letter-spacing: 0.12em;
}

.bookshelf-all-stories__label::before,
.bookshelf-all-stories__label::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
}

.bookshelf-all-stories__label::before {
  opacity: 0.18;
}

.bookshelf-all-stories__label::after {
  opacity: 0.42;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.bookshelf-all-stories__label:hover::after {
  transform: scaleX(1);
}

/* お知らせ。背景色と細かな組版は検証値です。 */
.news-section,
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--news-paper);
}

.news-section::before,
.site-footer::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background-color: var(--news-paper);
  background-image: url("assets/images/garage-labo-paper-v03.jpg");
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  background-position: var(--paper-texture-position);
  background-size: var(--paper-texture-size);
  opacity: var(--paper-texture-opacity);
  filter:
    brightness(var(--paper-texture-brightness))
    contrast(var(--paper-texture-contrast));
}

.news-section {
  box-sizing: border-box;
  min-height: 75vh;
  min-height: 75svh;
  padding: clamp(7rem, 11vw, 11rem) clamp(2rem, 8vw, 8rem);
}

.news-section__inner {
  width: min(100%, 66rem);
  margin: 0 auto;
}

@media (min-width: 48.0625rem) {
  .news-section__inner {
    transform: translateX(clamp(-1.5rem, -1.5vw, -0.75rem));
  }
}

.news-section__title {
  width: fit-content;
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.22em;
}

.news-section__title::after {
  display: block;
  width: 2.75rem;
  height: 1px;
  margin: 1.25rem auto 0;
  background: currentColor;
  content: "";
  opacity: 0.48;
}

.news-list {
  margin-top: clamp(4rem, 7vw, 6.5rem);
  border-top: 1px solid rgb(54 51 47 / 0.25);
}

.news-section.is-reveal-ready .news-section__title,
.news-section.is-reveal-ready .news-section__title::after,
.news-section.is-reveal-ready .news-list {
  opacity: 0;
}

.news-section.is-reveal-ready.is-visible .news-section__title {
  opacity: 1;
  transition: opacity 900ms ease;
}

.news-section.is-reveal-ready.is-visible .news-section__title::after {
  opacity: 0.48;
  transition: opacity 800ms ease 120ms;
}

.news-section.is-reveal-ready.is-visible .news-list {
  opacity: 1;
  transition: opacity 1000ms ease 240ms;
}

.news-item {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: 1.75rem 0;
  border-bottom: 1px solid rgb(54 51 47 / 0.25);
  align-items: baseline;
}

.news-item__date {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  opacity: 0.7;
}

.news-item__link {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  line-height: 1.9;
  letter-spacing: 0.06em;
}

.book-card__link:focus-visible,
.book-card__link:hover,
.news-item__link:focus-visible,
.news-item__link:hover {
  opacity: 0.62;
}

.site-footer {
  box-sizing: border-box;
  display: grid;
  min-height: 38vh;
  min-height: 38svh;
  padding: clamp(5rem, 9vw, 9rem) clamp(2rem, 8vw, 8rem);
  place-items: end center;
}

.site-footer__copyright {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

@media (max-width: 64rem) {
  .bookshelf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-card {
    min-height: 30rem;
    aspect-ratio: auto;
  }
}

@media (max-width: 48rem) {
	.splash__copy {
		max-height: calc(100svh - clamp(3rem, 12vh, 5rem));
		font-size: clamp(0.88rem, 3.8vw, 1.02rem);
		gap: clamp(0.9rem, 4.5vw, 1.25rem);
		letter-spacing: 0.14em;
	}

  .hero {
    display: grid;
    height: 100vh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100svh;
    padding: 0 clamp(1.5rem, 8vw, 3rem);
    overflow: hidden;
  }

  .site-brand {
    top: 2rem;
    left: 1.5rem;
    gap: 0.55rem;
  }

  .site-brand__logo {
    width: 2.5rem;
    height: 2.5rem;
  }

  .site-brand__name {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .section-nav {
    top: clamp(2rem, 5vh, 2.75rem);
    right: 1.5rem;
    left: auto;
    transform: none;
  }

  .section-nav__list {
    gap: 0.45rem;
    text-align: right;
  }

  .section-nav__item {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .section-nav__link::before {
    display: none;
  }

  .hero__copy {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 0;
    gap: 0;
    grid-template-rows:
      clamp(17rem, 44svh, 26rem)
      auto
      clamp(3.5rem, 12svh, 7rem)
      auto
      minmax(2rem, 1fr);
    margin: 0;
    padding: 0;
    align-self: stretch;
  }

  .hero__title {
    grid-row: 2;
    font-size: clamp(3.5rem, 17vw, 5rem);
    line-height: 1.2;
    writing-mode: horizontal-tb;
  }

  .hero__statement {
    grid-row: 4;
    display: block;
    margin: 0;
    font-size: clamp(0.95rem, 4vw, 1.1rem);
    line-height: 2.05;
  }

	.hero__statement span {
    writing-mode: horizontal-tb;
    white-space: normal;
	}

	.hero__seasonal-illustration {
		width: clamp(8.75rem, 42vw, 11rem);
	}

	.top-mv-seasonal-illustration img {
		position: absolute;
		top: auto;
		right: -5vw;
		bottom: -2.5vh;
		left: auto;
		max-width: min(52vw, 360px);
		height: auto;
		display: block;
	}

	@media (max-height: 44rem) {
		.hero__seasonal-illustration {
			width: clamp(8rem, 36vw, 9rem);
		}
	}

  .bookshelf-intro {
    min-height: auto;
    padding: clamp(4.5rem, 10vh, 6rem) clamp(1.5rem, 9vw, 3rem) clamp(6rem, 14vh, 8rem);
  }

  .bookshelf-intro__description {
    max-width: 18rem;
    margin-right: auto;
    margin-left: auto;
  }

  .bookshelf-carousel {
    margin-top: clamp(4rem, 14vw, 5.5rem);
  }

  .bookshelf-grid {
    display: flex;
    gap: 0.75rem;
    margin-top: 0;
    overflow-x: auto;
    direction: ltr;
    scroll-behavior: smooth;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .bookshelf-grid::-webkit-scrollbar {
    display: none;
  }

  .book-card {
    width: min(74vw, 18.5rem);
    height: auto;
    min-height: 0;
    aspect-ratio: 58 / 91;
    padding: 1.75rem;
    flex: 0 0 min(74vw, 18.5rem);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .book-card__body {
    height: 18rem;
    margin-top: 2.15rem;
    gap: clamp(1.75rem, 8vw, 2.25rem);
    flex-basis: 18rem;
  }

  .book-card__sequence {
    gap: 0.55rem;
  }

  .book-card__project {
    font-size: clamp(1.05rem, 5vw, 1.25rem);
  }

  .bookshelf-all-stories {
    margin-top: clamp(4rem, 15vw, 5.5rem);
  }

  .bookshelf-carousel__controls {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: -1.15rem;
    left: -1.15rem;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    transform: translateY(-50%);
  }

  .bookshelf-carousel__control {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 1rem;
    line-height: 1;
    opacity: 0.5;
    cursor: pointer;
    pointer-events: auto;
    place-items: center;
  }

  .bookshelf-carousel__control:disabled {
    opacity: 0.12;
    cursor: default;
  }

  .bookshelf-carousel__control:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: -0.4rem;
  }

  .news-section {
    min-height: auto;
    padding: clamp(6rem, 16vh, 8rem) clamp(1.5rem, 9vw, 3rem);
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 1.5rem 0;
  }

  .site-footer {
    min-height: 32vh;
    min-height: 32svh;
    padding: 4rem 1.5rem;
  }
}

/* 下層ページ共通MV。TOPのDOM・スタイルから独立して再利用します。 */
.subpage-hero {
  box-sizing: border-box;
  height: 100vh;
  height: 100svh;
  padding: clamp(7rem, 12vh, 9rem) clamp(2rem, 8vw, 8rem);
  overflow: hidden;
}

.subpage-hero__inner {
  display: grid;
  width: min(100%, 72rem);
  height: 100%;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.subpage-hero__title {
  margin: 0;
  font-size: clamp(2.1rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
  white-space: nowrap;
}

.subpage-hero__description {
  max-height: 100%;
  margin: 0;
  font-size: clamp(0.95rem, 1.25vw, 1.1rem);
  line-height: 2.2;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}

.subpage-hero--type-a .subpage-hero__title {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

.subpage-hero--type-a .subpage-hero__description {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
}

.subpage-hero--type-b .subpage-hero__title {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.subpage-hero--type-b .subpage-hero__description {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
}

@media (max-width: 48rem) {
  .subpage-hero {
    height: 100vh;
    height: 100svh;
    padding: clamp(8.5rem, 19svh, 11rem) clamp(1.5rem, 9vw, 3rem) clamp(4rem, 10svh, 6rem);
  }

  .subpage-hero__inner {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(3.25rem, 9svh, 5.5rem);
  }

  .subpage-hero__title,
  .subpage-hero__description {
    max-height: none;
    writing-mode: horizontal-tb;
  }

  .subpage-hero__title {
    font-size: clamp(2rem, 8vw, 2.75rem);
    line-height: 1.55;
    white-space: normal;
  }

  .subpage-hero__description {
    width: min(100%, 27rem);
    font-size: 0.95rem;
    line-height: 2.15;
  }

}

@media (prefers-reduced-motion: reduce) {
  .splash {
    transition: none;
  }

  .splash__copy {
    animation: none;
  }

  .top-page,
  .site-footer {
    transition: none;
  }

  .book-card::after {
    display: none;
    transition: none;
  }

  .book-card,
  .book-card:hover,
  .book-card:focus-within {
    box-shadow: none;
    transform: none;
    transition: none;
  }

  .site-brand,
  .site-brand:hover,
  .site-brand:focus-visible {
    opacity: 0.9;
    transform: none;
    transition: none;
  }

  .site-brand__name > span,
  .site-brand:hover .site-brand__name > span,
  .site-brand:focus-visible .site-brand__name > span {
    animation: none;
    transform: none;
  }

  .section-nav__link::before,
  .section-nav__link:hover::before {
    transform: scaleX(0.67);
    transition: none;
  }

  .section-nav__item,
  .section-nav__item:hover {
    opacity: 0.86;
    transition: none;
  }

  .section-nav__label,
  .section-nav__item:hover .section-nav__label {
    transform: none;
    transition: none;
  }

  .bookshelf-all-stories__label::after {
    display: none;
    transition: none;
  }

  .news-section.is-reveal-ready .news-section__title,
  .news-section.is-reveal-ready .news-section__title::after,
  .news-section.is-reveal-ready .news-list,
  .news-section.is-reveal-ready.is-visible .news-section__title,
  .news-section.is-reveal-ready.is-visible .news-section__title::after,
  .news-section.is-reveal-ready.is-visible .news-list {
    opacity: 1;
    transition: none;
  }

  .bookshelf-grid {
    scroll-behavior: auto;
  }

  html {
    scroll-behavior: auto;
  }
}

/* v0.21.0: Aboutページの章を、紙色・文字・余白だけで構成します。 */
:root {
  --section-paper-a: var(--paper-white);
  --section-paper-b: var(--bookshelf-paper);
}

.about-section {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  min-height: clamp(32rem, 65svh, 46rem);
  padding: clamp(8rem, 13vw, 13rem) clamp(2rem, 8vw, 8rem) clamp(10rem, 16vw, 15rem);
  overflow: hidden;
  background-color: var(--about-section-paper);
}

.about-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-color: var(--about-section-paper);
  background-image: url("assets/images/garage-labo-paper-v03.jpg");
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  background-position: var(--paper-texture-position);
  background-size: var(--paper-texture-size);
  content: "";
  opacity: var(--paper-texture-opacity);
  filter:
    brightness(var(--paper-texture-brightness))
    contrast(var(--paper-texture-contrast));
}

.about-section--paper-a {
  --about-section-paper: var(--section-paper-a);
}

.about-section--paper-b {
  --about-section-paper: var(--section-paper-b);
}

.about-section__inner {
  width: min(100%, 68rem);
  margin: 0 auto;
}

.about-section__header {
  margin-bottom: clamp(5rem, 8vw, 7rem);
}

.about-section__title,
.about-section__eyebrow,
.about-background__category,
.about-background__items,
.about-section__content p {
  margin: 0;
}

.about-section__title {
  font-size: var(--type-level-3-section);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.18em;
}

.about-section__eyebrow {
  margin-top: 0.85rem;
  font-size: var(--type-auxiliary);
  line-height: 1.6;
  letter-spacing: 0.18em;
  opacity: 0.58;
}

.about-background__groups {
  display: grid;
  grid-template-columns: minmax(22rem, 1.35fr) minmax(16rem, 0.8fr);
  column-gap: clamp(5rem, 9vw, 9rem);
  row-gap: clamp(4.5rem, 7vw, 6.5rem);
}

.about-background__group {
  min-width: 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgb(54 51 47 / 0.24);
}

.about-background__group--google {
  grid-row: 1 / 3;
}

.about-background__category {
  font-size: var(--type-level-4-copy);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

.about-background__items {
  display: grid;
  margin-top: clamp(1.35rem, 2vw, 1.75rem);
  gap: 1.05rem;
  padding: 0;
  list-style: none;
}

.about-background__items li,
.about-section__content {
  font-size: var(--type-level-5-body);
  line-height: 2;
  letter-spacing: 0.06em;
}

.about-section__content {
  width: min(100%, 42rem);
}

.about-section__content p + p {
  margin-top: 1.6em;
}

@media (min-width: 64.0625rem) {
  .about-section {
    padding-right: clamp(3rem, 8vw, 8rem);
    padding-left: var(--pc-fixed-lane);
  }
}

@media (max-width: 64rem) {
  .about-background__groups {
    grid-template-columns: 1fr;
  }

  .about-background__group--google {
    grid-row: auto;
  }
}

@media (max-width: 48rem) {
  .about-section {
    min-height: clamp(28rem, 62svh, 38rem);
    padding: clamp(7rem, 20vw, 9rem) clamp(1.5rem, 9vw, 3rem) clamp(9rem, 24vw, 12rem);
  }

  .about-section__header {
    margin-bottom: clamp(4.5rem, 16vw, 6rem);
  }

  .about-background__groups {
    row-gap: clamp(4.5rem, 16vw, 6rem);
  }

  .about-background__items {
    margin-top: 1.5rem;
  }
}

/* v0.14.0: 下層ページ共通タイポグラフィと固定ナビゲーション軸。 */
:root {
  --type-level-1: clamp(2.1rem, 3vw, 2.75rem);
  --type-level-2: clamp(0.95rem, 1.25vw, 1.1rem);
  --type-level-3: clamp(2rem, 3.5vw, 3.25rem);
  --type-level-4: clamp(1.08rem, 1.55vw, 1.35rem);
  --type-level-5: 0.64rem;
}

.subpage-fixed-unit {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
}

.subpage-fixed-unit .site-brand,
.subpage-fixed-unit .subpage-nav {
  position: absolute;
  pointer-events: auto;
}

.subpage-fixed-unit .site-brand {
  left: clamp(2rem, 5vw, 5.5rem);
}

.subpage-fixed-unit .subpage-nav {
  left: clamp(2rem, 5vw, 5.5rem);
}

.subpage-hero__title {
  font-size: var(--type-level-1);
}

.subpage-hero__description {
  display: flex;
  max-height: none;
  font-size: var(--type-level-2);
  writing-mode: horizontal-tb;
  flex-direction: row-reverse;
  gap: 1.15em;
}

.subpage-hero__description span {
  display: block;
  writing-mode: vertical-rl;
  white-space: nowrap;
}

.subpage-nav__item.is-current {
  font-weight: 600;
  opacity: 1;
}

.subpage-nav__item.is-current .subpage-nav__link::before {
  height: 1.5px;
  opacity: 0.86;
  transform: scaleX(1);
}

.subpage-nav__item.is-current .subpage-nav__label,
.subpage-nav__item.is-current .subpage-nav__link:hover .subpage-nav__label,
.subpage-nav__item.is-current .subpage-nav__link:focus-visible .subpage-nav__label {
  transform: scale(1.11);
}

.subpage-scroll {
  bottom: clamp(3rem, 6vh, 4.5rem);
}

/* about：ブロック内を近く、ブロック間を広く保ちます。 */
.about-profile__inner {
  width: min(100%, 52rem);
  transform: translateX(clamp(1rem, 2vw, 2.5rem));
}

.about-profile__header {
  margin-bottom: clamp(5rem, 8vw, 7rem);
}

.about-profile__title {
  margin-top: 0.85rem;
  font-size: var(--type-level-3);
}

.about-fact {
  width: min(100%, 46rem);
  margin-bottom: clamp(6rem, 8vw, 8rem);
}

.about-fact__heading {
  margin: 0;
}

.about-fact__heading-ja {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.1em;
}

.about-fact__label {
  margin-top: 0.35rem;
  font-size: var(--type-level-5);
}

.about-fact__label::before {
  width: 0.9rem;
}

.about-fact__content,
.about-fact > .about-fact__primary,
.about-fact__businesses {
  margin-top: clamp(1.25rem, 2vw, 1.75rem);
}

.about-fact__primary,
.about-fact__secondary,
.about-fact__postal,
.about-fact__businesses li {
  font-size: var(--type-level-4);
  line-height: 1.9;
  letter-spacing: 0.06em;
}

.about-fact__secondary {
  margin-top: 0.3rem;
  opacity: 0.72;
}

.about-fact__postal {
  opacity: 1;
}

.about-fact__content--address .about-fact__primary {
  margin-top: 0.35rem;
}

.about-fact__address span {
  display: block;
}

.about-fact__businesses {
  gap: 0.45rem;
}

.about-fact__businesses li {
  white-space: nowrap;
}

@media (max-width: 64rem) {
  .subpage-fixed-unit {
    position: absolute;
    height: 100vh;
    height: 100svh;
    bottom: auto;
  }

  .subpage-fixed-unit .site-brand {
    left: 1.5rem;
  }

  .subpage-fixed-unit .subpage-nav {
    right: 1.5rem;
    left: auto;
  }

  .subpage-nav__item.is-current .subpage-nav__label,
  .subpage-nav__item.is-current .subpage-nav__link:hover .subpage-nav__label,
  .subpage-nav__item.is-current .subpage-nav__link:focus-visible .subpage-nav__label {
    transform: scale(1.075);
    transform-origin: right center;
  }
}

@media (max-width: 48rem) {
  :root {
    --type-level-4: clamp(0.95rem, 4vw, 1.08rem);
  }

  .subpage-hero__description {
    display: block;
  }

  .subpage-hero__description span {
    writing-mode: horizontal-tb;
    white-space: normal;
  }

  .subpage-scroll {
    bottom: 2.25rem;
  }

  .about-profile__inner {
    transform: none;
  }

  .about-profile__header {
    margin-bottom: clamp(4.5rem, 16vw, 6rem);
  }

  .about-profile__title {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .about-fact {
    margin-bottom: clamp(5rem, 17vw, 6.5rem);
  }

  .about-fact__heading-ja {
    font-size: 1rem;
  }

  .about-fact__businesses li {
    letter-spacing: 0.025em;
  }
}

/* 固定ページ「ガレージラボについて」。TOPのスタイルと独立した専用範囲で管理します。 */
.about-page {
  position: relative;
}

.about-hero {
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(11rem, 16vh, 15rem) clamp(2rem, 8vw, 8rem) clamp(8rem, 12vh, 11rem);
}

.about-hero__inner {
  display: grid;
  width: min(100%, 72rem);
  min-height: calc(100svh - clamp(19rem, 28vh, 26rem));
  margin: 0 auto;
  grid-template-columns: minmax(12rem, 0.8fr) minmax(20rem, 1.2fr);
  align-items: center;
  gap: clamp(6rem, 12vw, 12rem);
}

.about-hero__heading {
  display: flex;
  flex-direction: row-reverse;
  justify-self: end;
  align-items: flex-start;
  gap: 1.4rem;
}

.about-hero__eyebrow,
.about-profile__eyebrow,
.about-fact__label {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.6;
  letter-spacing: 0.18em;
  opacity: 0.58;
}

.about-hero__eyebrow {
  writing-mode: vertical-rl;
}

.about-hero__title {
  margin: 0;
  font-size: clamp(2.5rem, 4.4vw, 4.5rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.14em;
  writing-mode: vertical-rl;
  white-space: nowrap;
}

.about-hero__introduction {
  max-width: 31rem;
  margin: 0;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 2.35;
  letter-spacing: 0.1em;
}

.about-profile {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  padding: clamp(8rem, 13vw, 13rem) clamp(2rem, 8vw, 8rem) clamp(10rem, 16vw, 16rem);
  overflow: hidden;
  background-color: var(--bookshelf-paper);
}

.about-profile::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background-color: var(--bookshelf-paper);
  background-image: url("assets/images/garage-labo-paper-v03.jpg");
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  background-position: var(--paper-texture-position);
  background-size: var(--paper-texture-size);
  opacity: var(--paper-texture-opacity);
  filter:
    brightness(var(--paper-texture-brightness))
    contrast(var(--paper-texture-contrast));
}

.about-profile__inner {
  width: min(100%, 68rem);
  margin: 0 auto;
}

.about-profile__header {
  margin-bottom: clamp(7rem, 12vw, 11rem);
}

.about-profile__title {
  margin: 1.25rem 0 0;
  font-size: clamp(2.2rem, 4vw, 3.75rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.18em;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(5rem, 10vw, 10rem);
  row-gap: clamp(7rem, 11vw, 11rem);
}

.about-fact {
  min-width: 0;
}

.about-fact--wide {
  grid-column: 1 / -1;
}

.about-fact__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-fact__label::before {
  width: 1.4rem;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.55;
}

.about-fact__content,
.about-fact > .about-fact__primary,
.about-fact__businesses {
  margin-top: clamp(2.25rem, 3.5vw, 3.25rem);
}

.about-fact__primary,
.about-fact__secondary,
.about-fact__postal {
  margin: 0;
}

.about-fact__primary {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 2;
  letter-spacing: 0.08em;
}

.about-fact__secondary,
.about-fact__postal {
  font-size: 0.82rem;
  line-height: 1.9;
  letter-spacing: 0.1em;
  opacity: 0.68;
}

.about-fact__secondary {
  margin-top: 0.85rem;
}

.about-fact__content--address .about-fact__primary {
  margin-top: 1rem;
}

.about-fact__businesses {
  display: grid;
  max-width: 42rem;
  gap: 1.15rem;
  padding: 0;
  list-style: none;
}

.about-fact__businesses li {
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.85;
  letter-spacing: 0.07em;
}

.about-fact--resource {
  padding-top: clamp(1rem, 2vw, 2rem);
}

@media (max-width: 48rem) {
  .about-hero {
    min-height: auto;
    padding: clamp(10rem, 24vh, 12rem) clamp(1.5rem, 9vw, 3rem) clamp(7rem, 17vh, 9rem);
  }

  .about-hero__inner {
    display: block;
    min-height: 0;
  }

  .about-hero__heading {
    display: block;
  }

  .about-hero__eyebrow {
    writing-mode: horizontal-tb;
  }

  .about-hero__title {
    margin-top: 1.2rem;
    font-size: clamp(2.3rem, 10vw, 3.25rem);
    line-height: 1.55;
    writing-mode: horizontal-tb;
    white-space: normal;
  }

  .about-hero__introduction {
    margin-top: clamp(5rem, 18vw, 7rem);
    font-size: 1rem;
    line-height: 2.25;
  }

  .about-profile {
    padding: clamp(7rem, 18vh, 9rem) clamp(1.5rem, 9vw, 3rem) clamp(9rem, 24vh, 12rem);
  }

  .about-profile__header {
    margin-bottom: clamp(6rem, 20vw, 8rem);
  }

  .about-profile__title {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .about-facts {
    grid-template-columns: 1fr;
    row-gap: clamp(5.5rem, 18vw, 7.5rem);
  }

  .about-fact--wide {
    grid-column: auto;
  }

  .about-fact__content,
  .about-fact > .about-fact__primary,
  .about-fact__businesses {
    margin-top: 2.25rem;
  }

  .about-fact__primary {
    font-size: clamp(1.08rem, 5vw, 1.3rem);
    line-height: 2;
  }

  .about-fact__businesses li {
    font-size: clamp(1.02rem, 4.6vw, 1.2rem);
    line-height: 1.9;
  }
}

/* v0.12.0: about本文を一つの縦軸へ統一します。 */
.about-profile__inner {
  width: min(100%, 52rem);
  transform: translateX(clamp(-3rem, -3vw, -1rem));
}

.about-facts {
  display: block;
}

.about-fact {
  width: min(100%, 42rem);
  margin-bottom: clamp(6rem, 9vw, 9rem);
}

.about-fact:last-child {
  margin-bottom: 0;
}

.about-fact--resource {
  padding-top: 0;
}

.about-fact__businesses {
  max-width: none;
}

@media (max-width: 48rem) {
  .about-profile__inner {
    width: 100%;
    transform: none;
  }

  .about-facts {
    display: block;
  }

  .about-fact {
    width: 100%;
    margin-bottom: clamp(5rem, 18vw, 7rem);
  }
}

/* v0.13.0: 主要下層ページ共通ナビ。TOPのsection-navとは独立して管理します。 */
:root {
  --subpage-nav-line-thickness: 1px;
  --subpage-nav-line-length: 1.5rem;
  --subpage-nav-current-line-length: 1.7rem;
}

.subpage-nav {
  position: fixed;
  z-index: 18;
  top: 50%;
  left: clamp(2rem, 5vw, 5.5rem);
  transform: translateY(-50%);
}

.subpage-nav__list {
  display: grid;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.subpage-nav__item {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  opacity: 0.8;
  white-space: nowrap;
}

.subpage-nav__link {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.2rem;
  color: inherit;
  text-decoration: none;
}

.subpage-nav__link::before {
  display: inline-block;
  width: var(--subpage-nav-line-length);
  height: var(--subpage-nav-line-thickness);
  margin-right: 0;
  background: currentColor;
  content: "";
  vertical-align: middle;
  opacity: 0.55;
  transform: scaleX(0.67);
  transform-origin: left center;
  transition:
    opacity 440ms ease,
    transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
}

.subpage-nav__label {
  display: inline-block;
  transform: scale(1);
  transform-origin: left center;
  transition: transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
}

.subpage-nav__link:hover::before,
.subpage-nav__link:focus-visible::before {
  transform: scaleX(1);
}

.subpage-nav__link:hover .subpage-nav__label,
.subpage-nav__link:focus-visible .subpage-nav__label {
  transform: scale(1.075);
}

.subpage-nav__link:focus-visible {
  outline: 1px solid rgb(54 51 47 / 0.48);
  outline-offset: 0.45rem;
}

.subpage-nav__item.is-current {
  font-weight: 600;
  opacity: 0.96;
}

.subpage-nav__item.is-current .subpage-nav__link::before {
  opacity: 0.72;
  transform: scaleX(0.84);
}

.subpage-nav__item.is-current .subpage-nav__label {
  transform: scale(1.055);
}

.subpage-nav__item.is-current .subpage-nav__link:hover::before,
.subpage-nav__item.is-current .subpage-nav__link:focus-visible::before {
  transform: scaleX(1);
}

.subpage-nav__item.is-current .subpage-nav__link:hover .subpage-nav__label,
.subpage-nav__item.is-current .subpage-nav__link:focus-visible .subpage-nav__label {
  transform: scale(1.075);
}

/* 下層MVの次セクション誘導。 */
.subpage-hero {
  position: relative;
}

.subpage-scroll {
  position: absolute;
  right: clamp(2rem, 5vw, 5.5rem);
  bottom: clamp(1.25rem, 2.5vh, 2rem);
  display: flex;
  color: inherit;
  text-decoration: none;
  opacity: 0.56;
  align-items: center;
  flex-direction: column;
  gap: 0.65rem;
}

.subpage-scroll__label {
  font-size: 0.58rem;
  line-height: 1;
  letter-spacing: 0.18em;
}

.subpage-scroll__track {
  position: relative;
  width: 1px;
  height: clamp(2.5rem, 6vh, 3.75rem);
  overflow: hidden;
  background: rgb(54 51 47 / 0.25);
}

.subpage-scroll__track::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 42%;
  background: currentColor;
  content: "";
  animation: subpage-scroll-flow 2400ms cubic-bezier(0.45, 0, 0.55, 1) infinite;
  transform: translateY(-120%);
}

.subpage-scroll:focus-visible {
  outline: 1px solid rgb(54 51 47 / 0.48);
  outline-offset: 0.45rem;
}

@keyframes subpage-scroll-flow {
  0% {
    opacity: 0;
    transform: translateY(-120%);
  }

  18% {
    opacity: 0.72;
  }

  72% {
    opacity: 0.72;
  }

  100% {
    opacity: 0;
    transform: translateY(250%);
  }
}

@media (max-width: 64rem) {
  .subpage-nav {
    position: absolute;
    top: clamp(2rem, 5vh, 2.75rem);
    right: 1.5rem;
    left: auto;
    transform: none;
  }

  .subpage-nav__list {
    gap: 0.45rem;
    text-align: right;
  }

  .subpage-nav__item {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .subpage-nav__link::before {
    display: none;
  }

  .subpage-nav__item.is-current .subpage-nav__label {
    transform: scale(1.04);
    transform-origin: right center;
  }

  .subpage-nav__item.is-current .subpage-nav__link:hover .subpage-nav__label,
  .subpage-nav__item.is-current .subpage-nav__link:focus-visible .subpage-nav__label {
    transform: scale(1.04);
  }
}

@media (max-width: 48rem) {
  .subpage-scroll {
    right: 1.5rem;
    bottom: 1rem;
    gap: 0.5rem;
  }

  .subpage-scroll__track {
    height: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .subpage-nav__link::before,
  .subpage-nav__label,
  .subpage-nav__link:hover::before,
  .subpage-nav__link:focus-visible::before,
  .subpage-nav__link:hover .subpage-nav__label,
  .subpage-nav__link:focus-visible .subpage-nav__label {
    transition: none;
  }

  .subpage-scroll__track::after {
    top: 29%;
    animation: none;
    opacity: 0.62;
    transform: none;
  }
}

/* v0.14.0 final overrides: 既存下層CSSより後で階層値を確定します。 */
.subpage-nav__item.is-current {
  font-weight: 600;
  opacity: 1;
}

.subpage-nav__item.is-current .subpage-nav__link::before {
  height: 1.5px;
  opacity: 0.86;
  transform: scaleX(1);
}

.subpage-nav__item.is-current .subpage-nav__label,
.subpage-nav__item.is-current .subpage-nav__link:hover .subpage-nav__label,
.subpage-nav__item.is-current .subpage-nav__link:focus-visible .subpage-nav__label {
  transform: scale(1.11);
}

.subpage-scroll {
  bottom: clamp(3rem, 6vh, 4.5rem);
}

.about-profile__inner {
  width: min(100%, 52rem);
  transform: translateX(clamp(1rem, 2vw, 2.5rem));
}

.about-profile__header {
  margin-bottom: clamp(5rem, 8vw, 7rem);
}

.about-profile__title {
  margin-top: 0.85rem;
  font-size: var(--type-level-3);
}

.about-fact {
  width: min(100%, 46rem);
  margin-bottom: clamp(6rem, 8vw, 8rem);
}

.about-fact__heading {
  margin: 0;
}

.about-fact__heading-ja {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.1em;
}

.about-fact__label {
  margin-top: 0.35rem;
  font-size: var(--type-level-5);
}

.about-fact__label::before {
  width: 0.9rem;
}

.about-fact__content,
.about-fact > .about-fact__primary,
.about-fact__businesses {
  margin-top: clamp(1.25rem, 2vw, 1.75rem);
}

.about-fact__primary,
.about-fact__secondary,
.about-fact__postal,
.about-fact__businesses li {
  font-size: var(--type-level-4);
  line-height: 1.9;
  letter-spacing: 0.06em;
}

.about-fact__secondary {
  margin-top: 0.3rem;
  opacity: 0.72;
}

.about-fact__postal {
  opacity: 1;
}

.about-fact__content--address .about-fact__primary {
  margin-top: 0.35rem;
}

.about-fact__address span {
  display: block;
}

.about-fact__businesses {
  gap: 0.45rem;
}

.about-fact__businesses li {
  white-space: nowrap;
}

@media (max-width: 64rem) {
  .subpage-nav__item.is-current .subpage-nav__label,
  .subpage-nav__item.is-current .subpage-nav__link:hover .subpage-nav__label,
  .subpage-nav__item.is-current .subpage-nav__link:focus-visible .subpage-nav__label {
    transform: scale(1.075);
    transform-origin: right center;
  }
}

@media (max-width: 48rem) {
  .subpage-scroll {
    bottom: 2.25rem;
  }

  .about-profile__inner {
    transform: none;
  }

  .about-profile__header {
    margin-bottom: clamp(4.5rem, 16vw, 6rem);
  }

  .about-profile__title {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .about-fact {
    margin-bottom: clamp(5rem, 17vw, 6.5rem);
  }

  .about-fact__heading-ja {
    font-size: 1rem;
  }

  .about-fact__businesses li {
    letter-spacing: 0.025em;
  }
}

/* v0.15.0 final overrides. */
.subpage-scroll__label {
  letter-spacing: 0.14em;
  text-orientation: upright;
  writing-mode: vertical-rl;
}

.subpage-nav__item.is-current {
  font-weight: 600;
  opacity: 1;
}

.subpage-nav__item.is-current .subpage-nav__link::before {
  width: var(--subpage-nav-current-line-length);
  height: var(--subpage-nav-line-thickness);
  opacity: 0.55;
  transform: scaleX(1);
}

.subpage-nav__item.is-current .subpage-nav__label,
.subpage-nav__item.is-current .subpage-nav__link:hover .subpage-nav__label,
.subpage-nav__item.is-current .subpage-nav__link:focus-visible .subpage-nav__label {
  transform: scale(1.16);
}

.about-profile__title {
  margin-top: 0.35rem;
}

.about-fact__label {
  margin-top: 0.16rem;
}

.about-fact__content,
.about-fact > .about-fact__primary,
.about-fact__businesses {
  margin-top: clamp(0.72rem, 1.15vw, 1rem);
}

.about-fact__secondary {
  margin-top: 0.18rem;
}

.about-fact__content--address .about-fact__primary {
  margin-top: 0.18rem;
}

.about-fact__address span,
.about-fact__businesses li,
.subpage-hero__description span {
  display: block;
}

.about-fact__businesses {
  display: block;
}

.about-fact__businesses li + li {
  margin-top: 0.32rem;
}

@media (max-width: 64rem) {
  .subpage-nav__item.is-current .subpage-nav__label,
  .subpage-nav__item.is-current .subpage-nav__link:hover .subpage-nav__label,
  .subpage-nav__item.is-current .subpage-nav__link:focus-visible .subpage-nav__label {
    transform: scale(1.1);
  }
}

/* v0.16.0: 入力行を表示単位として固定し、会社情報を編集的な2カラムにします。 */
.subpage-hero__description {
  display: grid;
  direction: rtl;
  grid-auto-columns: max-content;
  grid-auto-flow: column;
  gap: 1.15em;
}

.subpage-hero__description-line {
  display: block;
  direction: ltr;
  writing-mode: vertical-rl;
  white-space: nowrap;
}

.about-fact {
  position: relative;
  display: grid;
  width: min(100%, 50rem);
  grid-template-columns: minmax(9rem, 11rem) minmax(0, 1fr);
  column-gap: clamp(2.25rem, 4vw, 4rem);
  align-items: stretch;
}

.about-fact__heading {
  grid-column: 1;
  grid-row: 1;
  padding-right: clamp(1.5rem, 2.5vw, 2.25rem);
  border-right: 1px solid rgb(54 51 47 / 0.24);
}

.about-fact__content,
.about-fact > .about-fact__primary,
.about-fact__businesses {
  grid-column: 2;
  grid-row: 1;
  margin-top: 0;
  align-self: start;
}

.about-fact__address-line,
.about-fact__business-item {
  display: block;
  width: 100%;
}

.about-fact__address-line + .about-fact__address-line {
  margin-top: 0;
}

.about-fact__businesses {
  display: block;
}

.about-fact__business-item + .about-fact__business-item {
  margin-top: 0.32rem;
}

@media (max-width: 64rem) {
  .about-fact {
    grid-template-columns: minmax(8rem, 9rem) minmax(0, 1fr);
    column-gap: clamp(1.5rem, 3vw, 2.25rem);
  }
}

@media (max-width: 48rem) {
  .subpage-hero__description {
    display: grid;
    direction: ltr;
    grid-auto-columns: auto;
    grid-auto-flow: row;
    gap: 0.1em;
  }

  .subpage-hero__description-line {
    writing-mode: horizontal-tb;
    white-space: nowrap;
  }

  .about-fact {
    display: block;
    width: 100%;
  }

  .about-fact__heading {
    padding-right: 0;
    border-right: 0;
  }

  .about-fact__content,
  .about-fact > .about-fact__primary,
  .about-fact__businesses {
    margin-top: clamp(0.72rem, 2.8vw, 0.95rem);
  }

  .about-fact__address-line,
  .about-fact__business-item {
    white-space: nowrap;
  }
}

/* v0.17.0: 管理画面の1行を、実画面でも必ず独立した行／列として表示します。 */
.subpage-hero__description {
  display: flex;
  direction: rtl;
  writing-mode: horizontal-tb;
  flex-flow: row nowrap;
  align-items: flex-start;
  gap: 1.15em;
}

.subpage-hero__description-line {
  display: block;
  flex: 0 0 auto;
  direction: ltr;
  writing-mode: vertical-rl;
  white-space: nowrap;
}

.subpage-hero__title {
  position: relative;
  top: clamp(-3rem, -4vh, -1.75rem);
  height: 11.2em;
}

.subpage-hero__title-line {
  display: block;
}

.about-fact__label {
  display: grid;
  grid-template-columns: 0.9rem max-content;
  column-gap: 0.75rem;
  align-items: center;
}

.about-fact__label::before {
  display: block;
  width: 0.9rem;
  min-width: 0.9rem;
  height: 1px;
  margin: 0;
  background: rgb(54 51 47 / 0.55);
  opacity: 1;
  content: "";
}

.about-fact__address {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-flow: row;
  row-gap: 0;
}

.about-fact__address-line {
  display: block;
  min-width: 0;
  white-space: nowrap;
}

.about-fact__businesses {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-flow: row;
  row-gap: 0.32rem;
}

.about-fact__business-item,
.about-fact__business-item + .about-fact__business-item {
  display: block;
  min-width: 0;
  margin-top: 0;
  white-space: nowrap;
}

@media (max-width: 48rem) {
  .subpage-hero__description {
    display: flex;
    direction: ltr;
    flex-flow: column nowrap;
    gap: 0.1em;
  }

  .subpage-hero__description-line {
    width: 100%;
    writing-mode: horizontal-tb;
    white-space: nowrap;
  }

  .subpage-hero__title {
    top: 0;
    height: auto;
    min-height: 3.1em;
  }

  .about-fact__address-line,
  .about-fact__business-item {
    white-space: normal;
  }
}

/* v0.19.0: 全ページ共通の文字階層・固定レーン・MV文法。 */
:root {
  --type-level-1-brand: clamp(4rem, 7vw, 7.5rem);
  --type-level-2-page: clamp(2.1rem, 3vw, 2.75rem);
  --type-level-3-section: clamp(2rem, 3.5vw, 3.25rem);
  --type-level-4-copy: clamp(0.95rem, 1.35vw, 1.25rem);
  --type-level-5-body: clamp(0.9rem, 1.2vw, 1.05rem);
  --type-auxiliary: 0.64rem;
  --type-level-1: var(--type-level-2-page);
  --type-level-2: var(--type-level-4-copy);
  --type-level-3: var(--type-level-3-section);
  --type-level-4: var(--type-level-5-body);
  --type-level-5: var(--type-auxiliary);
  --pc-fixed-lane: clamp(13rem, 18vw, 17rem);
}

.hero__title {
  font-size: var(--type-level-1-brand);
}

.hero__statement,
.subpage-hero__description,
.bookshelf-intro__description {
  font-size: var(--type-level-4-copy);
}

.bookshelf-intro__title,
.news-section__title,
.about-profile__title {
  font-size: var(--type-level-3-section);
}

.news-item__link,
.about-fact__heading-ja,
.about-fact__primary,
.about-fact__secondary,
.about-fact__postal,
.about-fact__businesses li {
  font-size: var(--type-level-5-body);
}

.about-profile__eyebrow,
.about-fact__label {
  font-size: var(--type-auxiliary);
}

.section-nav__link {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.2rem;
  color: inherit;
  text-decoration: none;
}

.section-nav__link:focus-visible {
  outline: 1px solid rgb(54 51 47 / 0.48);
  outline-offset: 0.45rem;
}

.top-fixed-unit {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
}

.top-fixed-unit .site-brand,
.top-fixed-unit .section-nav {
  position: absolute;
  pointer-events: auto;
}

body.is-splash-active .top-fixed-unit {
  visibility: hidden;
  opacity: 0;
}

.top-fixed-unit,
.top-page,
.site-footer {
  transition: opacity 1200ms ease;
}

.top-scroll {
  z-index: 3;
}

@media (min-width: 64.0625rem) {
  .subpage-hero__inner {
    grid-template-columns: minmax(0, 1fr) max-content;
    column-gap: clamp(5.5rem, 8vw, 8rem);
  }

  .subpage-hero--title-right .subpage-hero__title {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .subpage-hero--title-right .subpage-hero__description {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
  }

  .bookshelf-intro {
    padding-right: clamp(2.5rem, 5vw, 5rem);
    padding-left: var(--pc-fixed-lane);
  }

  .bookshelf-intro__inner {
    max-width: 75rem;
  }

  .bookshelf-grid {
    gap: clamp(1.6rem, 2.4vw, 2.35rem);
  }

  .news-section {
    padding-right: clamp(3rem, 8vw, 8rem);
    padding-left: var(--pc-fixed-lane);
  }

  .news-section__inner {
    width: min(100%, 62rem);
    transform: none;
  }

  .site-footer {
    padding-left: var(--pc-fixed-lane);
  }
}

.about-fact {
  margin-bottom: clamp(5.5rem, 7.5vw, 7.5rem);
}

.about-fact__primary,
.about-fact__secondary,
.about-fact__postal,
.about-fact__businesses li {
  line-height: 2;
}

@media (max-width: 64rem) {
  .top-fixed-unit {
    position: absolute;
    height: 100vh;
    height: 100svh;
    bottom: auto;
  }
}

@media (max-width: 48rem) {
  :root {
    --type-level-2-page: clamp(2rem, 8vw, 2.75rem);
    --type-level-3-section: clamp(2rem, 9vw, 2.75rem);
    --type-level-4-copy: clamp(0.95rem, 4vw, 1.1rem);
    --type-level-5-body: clamp(0.9rem, 3.8vw, 1.02rem);
  }

  .hero__title {
    font-size: clamp(3.5rem, 17vw, 5rem);
  }

  .top-scroll {
    right: 1rem;
    bottom: 1.5rem;
  }

  .about-fact {
    margin-bottom: clamp(4.75rem, 16vw, 6rem);
  }
}

/* v0.20.0: 言葉を一度だけ、位置を動かさず紙面へじんわり表示します。 */
:root {
  --text-reveal-duration: 2200ms;
  --text-reveal-duration-mobile: 1900ms;
  --text-reveal-easing: ease;
}

.is-text-reveal-ready {
  opacity: 0;
}

.is-text-reveal-ready.is-text-reveal-visible {
  animation: garage-labo-text-reveal var(--text-reveal-duration) var(--text-reveal-easing) both;
}

/* TOP「届ける。」はv0.20.0までの正本（内側1100ms＋TOP全体1200ms）を維持します。 */
.hero__copy.is-text-reveal-ready.is-text-reveal-visible {
  animation-duration: 1100ms;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes garage-labo-text-reveal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* 日本語見出しを主、英字を補助として必ず下へ置きます。 */
.about-profile__title {
  margin-top: 0;
}

.about-profile__eyebrow {
  margin-top: 0.85rem;
}

@media (max-width: 48rem) {
  .is-text-reveal-ready.is-text-reveal-visible {
    animation-duration: var(--text-reveal-duration-mobile);
  }

  .hero__copy.is-text-reveal-ready.is-text-reveal-visible {
    animation-duration: 900ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  .is-text-reveal-ready,
  .is-text-reveal-ready.is-text-reveal-visible {
    opacity: 1;
    animation: none;
  }
}

/* v0.21.1: TOP書架の開始リズムと、下層MV専用の静かな立ち上がり。 */
:root {
  --section-title-start: clamp(5rem, 7vw, 7rem);
  --section-title-start-mobile: clamp(4.5rem, 10vh, 6rem);
  --subpage-copy-reference-height: clamp(20.2rem, 28.73vw, 26.6rem);
}

@media (min-width: 64.0625rem) {
  .subpage-hero__description {
    position: relative;
    top: calc(50% - (var(--subpage-copy-reference-height) / 2));
    height: var(--subpage-copy-reference-height);
    align-self: start;
  }
}

.about-profile,
.about-section {
  padding-top: var(--section-title-start);
}

@media (max-width: 48rem) {
  .about-profile,
  .about-section {
    padding-top: var(--section-title-start-mobile);
  }
}

/* v0.22.0: ブランドプロモーションを共通の章扉と紙の章で構成します。 */
.brand-section {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  min-height: clamp(28rem, 58svh, 40rem);
  padding: var(--section-title-start) clamp(2rem, 8vw, 8rem) clamp(9rem, 14vw, 13rem);
  overflow: hidden;
  background-color: var(--brand-section-paper);
}

.brand-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-color: var(--brand-section-paper);
  background-image: url("assets/images/garage-labo-paper-v03.jpg");
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  background-position: var(--paper-texture-position);
  background-size: var(--paper-texture-size);
  content: "";
  opacity: var(--paper-texture-opacity);
  filter:
    brightness(var(--paper-texture-brightness))
    contrast(var(--paper-texture-contrast));
}

.brand-section--paper-a {
  --brand-section-paper: var(--section-paper-a);
}

.brand-section--paper-b {
  --brand-section-paper: var(--section-paper-b);
}

.brand-section__inner {
  width: min(100%, 68rem);
  margin: 0 auto;
}

.brand-section__header {
  margin-bottom: clamp(1rem, 1.25vw, 1.25rem);
}

.brand-section__title,
.brand-section__copy,
.brand-section__items {
  margin: 0;
}

.brand-section__title {
  font-size: var(--type-level-3-section);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.18em;
}

.brand-section__items {
  display: grid;
  width: min(100%, 42rem);
  gap: 1.05rem;
  padding: 0;
  list-style: none;
}

.brand-section__copy {
  width: min(100%, 36rem);
  font-size: var(--type-level-4-copy);
  line-height: 2;
  letter-spacing: 0.08em;
}

.brand-section__copy-line {
  display: block;
}

.brand-section__copy + .brand-section__items {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

/* 説明コピーを持たない「その他」は、小さいLEVEL 5文字面に合わせて光学補正します。 */
.brand-section--without-copy .brand-section__header {
  margin-bottom: 1.25rem;
}

.brand-section__item {
  font-size: var(--type-level-5-body);
  line-height: 2;
  letter-spacing: 0.06em;
}

/* v0.23.0: 法人向けお問い合わせを、紙・文字・細い線で静かに構成します。 */
.contact-form-section {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  min-height: clamp(52rem, 108svh, 76rem);
  padding: var(--section-title-start) clamp(2rem, 8vw, 8rem) clamp(10rem, 16vw, 15rem);
  overflow: hidden;
  background-color: var(--section-paper-b);
}

.contact-form-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-color: var(--section-paper-b);
  background-image: url("assets/images/garage-labo-paper-v03.jpg");
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  background-position: var(--paper-texture-position);
  background-size: var(--paper-texture-size);
  content: "";
  opacity: var(--paper-texture-opacity);
  filter:
    brightness(var(--paper-texture-brightness))
    contrast(var(--paper-texture-contrast));
}

.contact-form-section__inner {
  width: min(100%, 62rem);
  margin: 0 auto;
}

.contact-form-section__header {
  margin-bottom: clamp(5rem, 8vw, 8rem);
}

.contact-form-section__title,
.contact-form-section__eyebrow {
  margin: 0;
}

.contact-form-section__title {
  font-size: var(--type-level-3-section);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.18em;
}

.contact-form-section__eyebrow {
  margin-top: 0.85rem;
  font-size: var(--type-auxiliary);
  line-height: 1.6;
  letter-spacing: 0.18em;
}

.contact-form__required-note {
  margin: clamp(2.25rem, 3.5vw, 3.25rem) 0 0;
  font-size: var(--type-auxiliary);
  line-height: 1.8;
  letter-spacing: 0.12em;
  opacity: 0.66;
}

.contact-form {
  display: grid;
  gap: clamp(3.5rem, 6vw, 5.5rem);
  width: min(100%, 50rem);
}

.contact-field {
  min-width: 0;
}

.contact-field__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
  font-size: var(--type-level-5-body);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

.contact-field__requirement {
  flex: 0 0 auto;
  font-size: var(--type-auxiliary);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.14em;
  opacity: 0.62;
}

.contact-field__required-mark {
  display: inline-block;
  margin-left: 0.22em;
  font-size: 0.82em;
  line-height: 1;
  vertical-align: 0.18em;
  opacity: 0.72;
}

.contact-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.contact-field__control {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0.8rem 0.2rem 1rem;
  border: 0;
  border-bottom: 1px solid rgb(54 51 47 / 0.34);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #36332f;
  font: inherit;
  font-size: var(--type-level-5-body);
  line-height: 1.8;
  letter-spacing: 0.05em;
  box-shadow: none;
  transition: border-color 360ms ease;
}

.contact-field__control:focus {
  border-bottom-color: rgb(54 51 47 / 0.82);
}

.contact-field__control[aria-invalid="true"] {
  border-bottom-color: rgb(109 57 53 / 0.72);
}

.contact-field__select-wrap {
  position: relative;
}

.contact-field__select-wrap::after {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.contact-field__select {
  padding-right: 2rem;
  appearance: none;
}

.contact-field__textarea {
  min-height: 12rem;
  resize: vertical;
  border: 1px solid rgb(54 51 47 / 0.3);
  padding: 1.2rem;
}

.contact-field__textarea:focus {
  border-color: rgb(54 51 47 / 0.78);
}

.contact-field__error,
.contact-form__notice,
.contact-form__admin-notice {
  font-size: var(--type-level-5-body);
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.contact-field__error {
  margin: 0.8rem 0 0;
  color: #6d3935;
}

.contact-form__notice,
.contact-form__admin-notice {
  width: min(100%, 50rem);
  margin: 0 0 clamp(3rem, 5vw, 5rem);
  padding-left: 1.2rem;
  border-left: 1px solid currentColor;
}

.contact-form__admin-notice {
  opacity: 0.72;
}

.contact-field--agreement {
  padding-top: 0.5rem;
}

.contact-agreement {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: var(--type-level-5-body);
  line-height: 1.9;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.contact-agreement__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-agreement__mark {
  position: relative;
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.32rem;
  border: 1px solid rgb(54 51 47 / 0.52);
}

.contact-agreement__input:checked + .contact-agreement__mark::after {
  position: absolute;
  top: 0.12rem;
  left: 0.34rem;
  width: 0.28rem;
  height: 0.56rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.contact-agreement__input:focus-visible + .contact-agreement__mark {
  outline: 1px solid rgb(54 51 47 / 0.68);
  outline-offset: 0.28rem;
}

.contact-agreement a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.contact-turnstile {
  min-height: 4.1rem;
  overflow: hidden;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: var(--type-level-5-body);
  line-height: 1.7;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.contact-submit__line {
  display: block;
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.72);
  transform-origin: left center;
  transition: transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-submit__label {
  transition: transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-submit:hover .contact-submit__line,
.contact-submit:focus-visible .contact-submit__line {
  transform: scaleX(1);
}

.contact-submit:hover .contact-submit__label,
.contact-submit:focus-visible .contact-submit__label {
  transform: scale(1.035);
  transform-origin: left center;
}

.contact-submit:focus-visible {
  outline: 1px solid rgb(54 51 47 / 0.48);
  outline-offset: 0.45rem;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.55;
}

.contact-honeypot {
  position: fixed !important;
  top: -100vh !important;
  left: -100vw !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-complete {
  width: min(100%, 50rem);
  min-height: clamp(18rem, 32vw, 28rem);
}

.contact-complete__title,
.contact-complete__text {
  margin: 0;
}

.contact-complete__title {
  font-size: var(--type-level-4-copy);
  line-height: 2;
  letter-spacing: 0.08em;
}

.contact-complete__text {
  margin-top: 1.5rem;
  font-size: var(--type-level-5-body);
  line-height: 2;
  letter-spacing: 0.06em;
}

@media (min-width: 64.0625rem) {
  .contact-form-section {
    padding-right: clamp(3rem, 8vw, 8rem);
    padding-left: var(--pc-fixed-lane);
  }
}

@media (max-width: 48rem) {
  .contact-form-section {
    min-height: 48rem;
    padding: var(--section-title-start-mobile) clamp(1.5rem, 9vw, 3rem) clamp(8rem, 22vw, 11rem);
  }

  .contact-form-section__header {
    margin-bottom: clamp(4.5rem, 16vw, 6rem);
  }

  .contact-form {
    gap: clamp(3.25rem, 14vw, 4.5rem);
  }

  .contact-field__label {
    gap: 0.75rem;
  }

  .contact-field__textarea {
    min-height: 11rem;
  }

  .contact-turnstile {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-field__control,
  .contact-submit__line,
  .contact-submit__label {
    transition: none;
  }
}

/* v0.24.1: サンクスページだけ、SPにも送信後の余韻を残す縦書きを採用します。 */
@media (max-width: 48rem) {
  .page-contact-thanks .subpage-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    column-gap: clamp(1.25rem, 5.5vw, 2rem);
    align-items: center;
    justify-content: end;
  }

  .page-contact-thanks .subpage-hero__title {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    min-height: 0;
    justify-self: end;
    font-size: clamp(1.85rem, 7.5vw, 2.15rem);
    line-height: 1.48;
    writing-mode: vertical-rl;
    white-space: nowrap;
  }

  .page-contact-thanks .subpage-hero__description {
    display: flex;
    grid-column: 1;
    grid-row: 1;
    width: auto;
    justify-self: end;
    direction: rtl;
    flex-flow: row nowrap;
    align-items: flex-start;
    gap: 0.72em;
    font-size: clamp(0.88rem, 3.7vw, 1rem);
    line-height: 2;
    writing-mode: horizontal-tb;
  }

  .page-contact-thanks .subpage-hero__description-line {
    width: auto;
    flex: 0 0 auto;
    direction: ltr;
    writing-mode: vertical-rl;
    white-space: nowrap;
  }
}

/* v0.25.0: 標準投稿を正本にした、お知らせ一覧と静かな詳細紙面。 */
.news-all-link,
.news-list__empty,
.news-archive-empty {
  font-size: var(--type-level-5-body);
  line-height: 2;
  letter-spacing: 0.06em;
}

.news-list__empty {
  margin: 0;
  padding: 2rem 0;
  border-bottom: 1px solid rgb(54 51 47 / 0.25);
}

.news-all-link {
  margin: clamp(3.5rem, 6vw, 5.5rem) 0 0;
  text-align: right;
}

.news-all-link a,
.news-detail__back a {
  position: relative;
  display: inline-block;
  padding: 0.45rem 0;
  color: inherit;
  text-decoration: none;
}

.news-all-link a::before,
.news-all-link a::after,
.news-detail__back a::before,
.news-detail__back a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
}

.news-all-link a::before,
.news-detail__back a::before {
  opacity: 0.2;
}

.news-all-link a::after,
.news-detail__back a::after {
  opacity: 0.5;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.news-all-link a:hover::after,
.news-all-link a:focus-visible::after,
.news-detail__back a:hover::after,
.news-detail__back a:focus-visible::after {
  transform: scaleX(1);
}

.news-item__link {
  position: relative;
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.semantic-break-point__chunk {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  white-space: normal;
  vertical-align: top;
}

.news-item__link::after {
  position: absolute;
  right: 0;
  bottom: -0.22rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.34;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.news-item__link:hover::after,
.news-item__link:focus-visible::after {
  transform: scaleX(1);
}

.news-archive-section,
.news-detail {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  overflow: hidden;
}

.news-archive-section {
  background-color: var(--section-paper-b);
}

.news-detail {
  background-color: var(--section-paper-a);
}

.news-archive-section::before,
.news-detail::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: url("assets/images/garage-labo-paper-v03.jpg");
  background-blend-mode: multiply;
  background-repeat: no-repeat;
  background-position: var(--paper-texture-position);
  background-size: var(--paper-texture-size);
  content: "";
  opacity: var(--paper-texture-opacity);
  filter:
    brightness(var(--paper-texture-brightness))
    contrast(var(--paper-texture-contrast));
}

.news-archive-section::before {
  background-color: var(--section-paper-b);
}

.news-detail::before {
  background-color: var(--section-paper-a);
}

.news-archive-section {
  min-height: clamp(52rem, 108svh, 76rem);
  padding: var(--section-title-start) clamp(2rem, 8vw, 8rem) clamp(10rem, 16vw, 15rem);
}

.news-archive-section__inner {
  width: min(100%, 62rem);
  margin: 0 auto;
}

.news-archive-section__title {
  margin: 0;
  font-size: var(--type-level-3-section);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.18em;
}

.news-list--archive {
  margin-top: clamp(5rem, 8vw, 8rem);
}

.news-pagination {
  display: flex;
  margin-top: clamp(4rem, 7vw, 6rem);
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
  font-size: var(--type-level-5-body);
  letter-spacing: 0.08em;
}

.news-pagination .page-numbers {
  color: inherit;
  text-decoration: none;
  opacity: 0.56;
  transition: opacity 360ms ease;
}

.news-pagination .page-numbers.current,
.news-pagination .page-numbers:hover,
.news-pagination .page-numbers:focus-visible {
  opacity: 1;
}

.news-archive-empty {
  margin: clamp(5rem, 8vw, 8rem) 0 0;
}

.news-detail {
  padding: clamp(10rem, 16vh, 13rem) clamp(2rem, 8vw, 8rem) clamp(10rem, 16vw, 15rem);
}

.news-detail__inner {
  width: min(100%, 68rem);
  margin: 0 auto;
}

.news-detail__header {
  margin: 0 0 clamp(3rem, 5vw, 4.25rem);
}

.news-detail__date {
  display: block;
  font-size: var(--type-auxiliary);
  line-height: 1.8;
  letter-spacing: 0.16em;
  opacity: 0.66;
}

.news-detail__title {
  max-width: 100%;
  margin: clamp(1.4rem, 2.5vw, 2rem) 0 0;
  font-size: var(--type-level-3-section);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.12em;
  overflow-wrap: anywhere;
}

.news-detail__content {
  width: min(100%, 54rem);
  font-size: var(--type-level-5-body);
  line-height: 2.2;
  letter-spacing: 0.055em;
  overflow-wrap: anywhere;
}

.news-detail__content > *:first-child {
  margin-top: 0;
}

.news-detail__content > *:last-child {
  margin-bottom: 0;
}

.news-detail__content p,
.news-detail__content ul,
.news-detail__content ol,
.news-detail__content figure {
  margin-top: 0;
  margin-bottom: 2em;
}

.news-detail__content h2,
.news-detail__content h3,
.news-detail__content h4 {
  margin: 3.2em 0 1.4em;
  font-weight: 500;
  line-height: 1.8;
}

.news-detail__content h2 {
  font-size: var(--type-level-4-copy);
}

.news-detail__content h3,
.news-detail__content h4 {
  font-size: var(--type-level-5-body);
  font-weight: 600;
}

.news-detail__content a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

.news-detail__content ul,
.news-detail__content ol {
  padding-left: 1.5em;
}

.news-detail__content img,
.news-detail__content figure,
.news-detail__content .wp-block-image {
  max-width: 100%;
  height: auto;
}

.news-detail__content figcaption {
  margin-top: 0.8rem;
  font-size: var(--type-auxiliary);
  line-height: 1.8;
  opacity: 0.66;
}

.news-detail__back {
  width: min(100%, 54rem);
  margin: clamp(6rem, 10vw, 9rem) 0 0;
  font-size: var(--type-level-5-body);
  letter-spacing: 0.08em;
}

@media (min-width: 64.0625rem) {
  .news-archive-section,
  .news-detail {
    padding-right: clamp(3rem, 8vw, 8rem);
    padding-left: var(--pc-fixed-lane);
  }
}

@media (max-width: 48rem) {
  .news-archive-section {
    min-height: 48rem;
    padding: var(--section-title-start-mobile) clamp(1.5rem, 9vw, 3rem) clamp(8rem, 22vw, 11rem);
  }

  .news-list--archive {
    margin-top: clamp(4.5rem, 14vw, 6rem);
  }

  .news-all-link {
    text-align: left;
  }

  .news-detail {
    padding: clamp(8rem, 18vw, 10rem) clamp(1.5rem, 9vw, 3rem) clamp(8rem, 22vw, 11rem);
  }

  .news-detail__header {
    margin-bottom: clamp(2.5rem, 9vw, 3.5rem);
  }

  .news-detail__title {
    margin-top: 1.25rem;
    font-size: var(--type-level-3-section);
    line-height: 1.6;
    letter-spacing: 0.1em;
  }

  .news-pagination {
    gap: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-all-link a::after,
  .news-detail__back a::after,
  .news-item__link::after,
  .news-pagination .page-numbers {
    transition: none;
  }
}

@media (min-width: 64.0625rem) {
  .brand-section {
    padding-right: clamp(3rem, 8vw, 8rem);
    padding-left: var(--pc-fixed-lane);
  }
}

@media (max-width: 48rem) {
  .brand-section {
    min-height: clamp(25rem, 54svh, 34rem);
    padding: var(--section-title-start-mobile) clamp(1.5rem, 9vw, 3rem) clamp(8rem, 22vw, 11rem);
  }

  .brand-section__header {
    margin-bottom: 0.875rem;
  }

  .brand-section__copy + .brand-section__items {
    margin-top: 1.5rem;
  }

  .brand-section--without-copy .brand-section__header {
    margin-bottom: 1rem;
  }
}
