:root {
  --font-ja:
      "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP",
      system-ui, sans-serif;
  --font-en: helvetica, "Helvetica Neue", arial, system-ui, -apple-system, "Segoe UI", roboto, sans-serif;
  --bg: #f5f5f5;
  --text: #2c2c2c;
  --muted: #555;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ja);
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.wrap {
  margin-inline: auto;
}

#lp {
  padding-bottom: 72px;
}
#lp .pc {
  display: none;
}

.section {
  padding: 72px 0 0;
}

.block-title {
  margin-bottom: 28px;
  text-align: center;
  padding: 0 24px;
}
.block-title h2 {
  font-weight: 300;
  font-size: 32px;
  line-height: 1.35;
  text-align: center;
}
.block-title p {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 560px;
  background: url("https://wcdn.valuebooks.jp/endpaper/upload/hero-image1-sp.jpg") center center/cover no-repeat;
}
.hero .hero-nav {
  display: none;
}
.hero .hero-mark {
  position: absolute;
  right: 24px;
  bottom: 34px;
  width: 56px;
}
.hero .hero-copy {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateY(-100%) translateX(-50%);
  width: 211px;
}

#moji {
  position: fixed;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 999;
  top: 0;
  left: 0;
  background: #fff;
  opacity: 1;
  visibility: visible;
  animation: moji-overlay-out var(--overlay-fade-duration, 0.6s) ease forwards;
  animation-delay: var(--overlay-delay, 2000ms);
}
#moji .moji-stage {
  position: relative;
  width: 100vw;
  height: 100%;
  margin-inline: auto;
}
#moji .moji-item {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: calc(clamp(8px, 2.4vw, 14.4px) * var(--s, 1));
  transform: translate(-50%, -50%) rotate(calc(var(--r, 0) * 1deg));
  transform-origin: center;
  line-height: 1;
  pointer-events: none;
  opacity: 0;
  animation: moji-item-fade-in var(--item-fade-in-duration, 0.45s) ease-out var(--delay, 0ms) forwards, moji-item-fade-out var(--item-fade-out-duration, 0.45s) ease-in calc(var(--delay, 0ms) + var(--item-fade-in-duration, 0.45s) + var(--item-visible-duration, 0.35s)) forwards;
}
#moji .moji-item img {
  width: 100%;
  height: auto;
  user-select: none;
}
#moji.is-item-hold .moji-item {
  animation: moji-item-fade-in var(--item-fade-in-duration, 0.45s) ease-out var(--delay, 0ms) forwards;
}

@keyframes moji-item-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes moji-overlay-out {
  from {
    opacity: 1;
    visibility: visible;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes moji-item-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.products {
  padding-top: 80px;
}
.products .products-grid {
  display: grid;
  gap: 60px;
}
.products .product {
  width: 100%;
  margin: 0 auto;
}
.products .product.product-01 {
  width: 87.1vw;
}
.products .product.product-02 {
  width: 71.8vw;
}
.products .product.product-03 {
  width: 61vw;
  margin-left: 30vw;
}
.products .product.product-04 {
  width: 57vw;
  margin-left: 10vw;
}
.products .product > .ph {
  margin-bottom: 10px;
}
.products .product h2 {
  font-size: 24px;
  line-height: 1.35;
  font-weight: 300;
}
.products .product h2 span {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 300;
}
.products .product .spec {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 300;
}
.products .product .label-new {
  display: inline-block;
  margin-bottom: 6px;
  padding: 0 4px;
  background: #d3edab;
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
  font-family: var(--font-en);
  line-height: 1.2;
}

.ph {
  position: relative;
  overflow: hidden;
  background: #d9d9d9;
}
.ph.ph-portrait, .ph.ph-landscape, .ph.ph-tall {
  width: 100%;
}
.ph img {
  width: 100%;
  height: 100%;
  transition: opacity 0.35s ease;
}
.ph .ph-over {
  position: absolute;
  inset: 0;
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .ph:hover .ph-base {
    opacity: 0;
  }
  .ph:hover .ph-over {
    opacity: 1;
  }
}
#process {
  margin-top: 16vw;
}

.process-rows {
  display: grid;
  gap: 80px;
  counter-reset: process-step;
  width: 87vw;
  margin: 16vw auto 0;
}
.process-rows .process-row {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.process-rows .process-row .txt {
  order: 1;
}
.process-rows .process-row img {
  order: 2;
  width: 100%;
  margin-inline: auto;
  mix-blend-mode: multiply;
}
.process-rows .process-row h3 {
  font-size: clamp(30px, 10vw, 48px);
  line-height: 1.1;
  font-weight: 300;
}
.process-rows .process-row h3::before {
  counter-increment: process-step;
  content: counter(process-step) ". ";
  font-family: var(--font-en);
  font-size: clamp(32px, 11vw, 50px);
  font-weight: 300;
}
.process-rows .process-row p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 300;
}
.process-rows .process-row.reverse img,
.process-rows .process-row.reverse .txt {
  order: unset;
}
.process-rows .process-row.reverse .txt {
  order: 1;
}
.process-rows .process-row.reverse img {
  order: 2;
}

.journal .journal-grid {
  border-top: 1px solid #2c2c2c;
  border-bottom: 1px solid #2c2c2c;
}
.journal .journal-card {
  padding: 64px 36px;
  display: grid;
  gap: 10px;
}
.journal .journal-card + .journal-card {
  border-top: 1px solid #2c2c2c;
}
.journal .journal-card img {
  width: 100%;
  max-width: 100%;
  background: #ddd;
}
.journal .journal-card a {
  font-size: 14px;
  line-height: 1.55;
  font-weight: 300;
}

.contact {
  padding-bottom: 80px;
}
.contact .contact-lead,
.contact .contact-mail {
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
  font-weight: 300;
}
.contact .contact-mail {
  margin-top: 4px;
}
.contact .contact-row {
  margin-top: 26px;
  display: grid;
  gap: 16px;
  justify-content: center;
}
.contact .contact-row .img {
  display: flex;
  justify-content: center;
}
.contact .contact-row .img img {
  width: min(79vw, 310px);
}
.contact .contact-row ul {
  margin-top: 10vw;
  list-style: none;
  text-align: left;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 300;
  margin-inline: auto;
}

.about {
  padding-top: 64px;
  padding-bottom: 16px;
}
.about .about-row {
  display: grid;
  gap: 20px;
  width: 79vw;
}
.about .about-row figure {
  margin: 0;
}
.about .about-row figcaption {
  margin-top: 8px;
}
.about .about-row figcaption h2 {
  font-weight: 300;
  font-size: 20px;
  line-height: 1.3;
}
.about .about-row figcaption p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 300;
}
.about .about-text p {
  font-size: 12px;
  line-height: 1.8;
  font-weight: 300;
}
.about .about-text p + p {
  margin-top: 1em;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
