@charset "UTF-8";
:root {
  --paper: #efe9dd;
  --paper-2: #e5ddcd;
  --paper-hl: #f6f2ea;
  --ink: #1e1c1a;
  --ink-2: #5a554d;
  --line: #1e1c1a;
  --line-soft: rgb(30 28 26 / 18%);
  --red: #dc2635;
  --red-calm: #b9303a;
  --paper-light: #f6f2ea;
  --ochre: #dfc126;
  --ochre-ink: #8a7212;
  --f-ja: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --f-en: "Barlow Condensed", "Zen Kaku Gothic New", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --inner: clamp(16px, 4vw, 56px);
  --max: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--f-ja);
  font-weight: 500;
  line-height: 1.9;
  color: var(--ink);
  letter-spacing: 0.04em;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: var(--max);
  padding: 0 var(--gutter);
  margin: 0 auto;
}

.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.btn {
  display: inline-flex;
  gap: 0.6em;
  align-items: center;
  padding: 10px 20px;
  font-family: var(--f-en);
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.14em;
  background: var(--red);
  border: 1px solid var(--red);
  transition: background 0.2s, color 0.2s;
}
.btn:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.btn--ink {
  background: var(--ink);
  border-color: var(--ink);
}
.btn--ink:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.link {
  padding: 4px 6px 2px;
  font-family: var(--f-en);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.14em;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.link::after {
  margin-left: 0.5em;
  content: "→";
}
.link:hover {
  color: var(--red);
  border-color: var(--red);
}

.rv {
  opacity: 0;
  transition: opacity 0.8s, transform 0.8s cubic-bezier(0.2, 0.7, 0.1, 1);
  transform: translateY(24px);
}
.rv.on {
  opacity: 1;
  transform: none;
}

.frame {
  position: relative;
}

.trim {
  position: absolute;
  width: 28px;
  height: 28px;
}
.trim::before, .trim::after {
  position: absolute;
  content: "";
  background: var(--ink);
}
.trim::before {
  top: 50%;
  width: 100%;
  height: 1px;
}
.trim::after {
  left: 50%;
  width: 1px;
  height: 100%;
}
.trim.tl {
  top: -14px;
  left: -14px;
}
.trim.tr {
  top: -14px;
  right: -14px;
}
.trim.bl {
  bottom: -14px;
  left: -14px;
}
.trim.br {
  right: -14px;
  bottom: -14px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .rv {
    opacity: 1;
    transform: none;
  }
}
.page-frame {
  position: fixed;
  inset: 8px;
  z-index: 50;
  pointer-events: none;
  border: 5px double var(--ink);
  box-shadow: 0 0 0 40px var(--paper);
}

body {
  padding: 13px;
}
@media (min-width: 901px) {
  body {
    padding-right: 48px;
    padding-left: 48px;
  }
}
@media (max-width: 900px) {
  body {
    padding: 8px;
  }
}

@media (max-width: 900px) {
  .page-frame {
    inset: 4px;
    border-width: 4px;
  }
}
.side {
  position: fixed;
  top: 50%;
  z-index: 51;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}
@media (max-width: 900px) {
  .side {
    display: none;
  }
}

.side--l {
  left: 20px;
}

.side--r {
  right: 20px;
  font-family: var(--f-en);
  letter-spacing: 0.4em;
}

.gauge {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  writing-mode: horizontal-tb;
}

.g-label {
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
}

.g-ruler {
  position: relative;
  width: 12px;
  height: 36vh;
  background: repeating-linear-gradient(to bottom, var(--ink) 0 1px, transparent 1px 8px) left top/5px 100% no-repeat, repeating-linear-gradient(to bottom, var(--ink) 0 1px, transparent 1px 40px) left top/12px 100% no-repeat;
}

.g-mark {
  position: absolute;
  top: 0;
  left: -4px;
  width: 22px;
  height: 3px;
  background: var(--red);
  transform: translateY(calc(var(--p, 0) * 36vh));
}

.g-sec {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--red);
  letter-spacing: 0.2em;
  white-space: nowrap;
  writing-mode: vertical-rl;
}

.topbar {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--line);
}
.topbar .wrap {
  display: flex;
  gap: 1em;
  justify-content: space-between;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar span:last-child {
  color: var(--ink-2);
}
@media (max-width: 900px) {
  .topbar span:last-child {
    display: none;
  }
}

.site-header {
  position: sticky;
  top: 13px;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) {
  .site-header {
    top: 8px;
  }
}
.site-header > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  text-decoration: none;
}

.logo-text {
  margin: 0;
  font-family: var(--f-en);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.gnav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.gnav .menu {
  display: flex;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.gnav .menu a {
  position: relative;
  font-family: var(--f-en);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.14em;
}
.gnav .menu a::after {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--red);
  transition: transform 0.3s;
  transform: scaleX(0);
  transform-origin: right;
}
.gnav .menu a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.gnav .current-menu-item > a::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  padding: 8px 14px;
  font-family: var(--f-en);
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: 0.16em;
  cursor: pointer;
  background: var(--ink);
  border: 0;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }
  .gnav {
    position: fixed;
    inset: 80px 8px 8px;
    z-index: 40;
    display: none;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
    justify-content: center;
    padding: 0 32px;
    background: var(--paper);
  }
  .gnav .menu {
    flex-direction: column;
    gap: 12px;
  }
  .gnav .menu a {
    font-size: 36px;
  }
  .is-menu-open {
    overflow: hidden;
  }
  .is-menu-open .gnav {
    display: flex;
  }
}
.contact-cta {
  position: relative;
  padding: clamp(40px, 5vw, 64px) 0;
  overflow: hidden;
  color: var(--paper-light);
  text-align: center;
  background: var(--red-calm);
}
.contact-cta .inner {
  position: relative;
}
.contact-cta .owl {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  overflow: hidden;
  border-radius: 50%;
}
.contact-cta .owl img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}
.contact-cta h2 {
  margin: 0;
  font-family: var(--f-en);
  font-size: clamp(48px, 9vw, 112px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
}
.contact-cta p {
  max-width: 30em;
  margin: 14px auto 24px;
}
.contact-cta .mono {
  color: rgba(246, 242, 234, 0.7);
}
.contact-cta .btn--ink:hover {
  color: var(--ink);
  background: var(--paper-light);
  border-color: var(--paper-light);
}
.contact-cta .bg-text {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  font-family: var(--f-en);
  font-size: clamp(120px, 15vw, 220px);
  font-weight: 700;
  line-height: 1;
  color: rgba(0, 0, 0, 0.05);
  white-space: nowrap;
  pointer-events: none;
  transform: translateY(-50%);
}

.site-footer {
  padding: 56px 0 28px;
  color: var(--paper);
  background: var(--ink);
}
.site-footer .foot {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 900px) {
  .site-footer .foot {
    grid-template-columns: 1fr;
  }
}
.site-footer .foot-logo {
  font-family: var(--f-en);
  font-size: 28px;
  letter-spacing: 0.14em;
}
.site-footer p,
.site-footer li {
  font-size: 13px;
  color: #bdb6a8;
}
.site-footer .menu {
  padding: 0;
  margin: 0;
  list-style: none;
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--paper);
}
.site-footer .copy {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  margin-top: 40px;
  color: #8d867a;
  border-top: 1px solid #3a3733;
}

.hero {
  position: relative;
  padding: clamp(24px, 4vw, 48px) 0 clamp(36px, 5vw, 64px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero > .wrap {
  position: relative;
  z-index: 1;
}
.hero .frame {
  padding: clamp(24px, 3.5vw, 44px) var(--inner);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg .row {
  display: block;
  font-family: var(--f-en);
  font-size: clamp(110px, 17vw, 270px);
  font-weight: 700;
  line-height: 0.62;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.hero-bg .row:nth-child(3n+1) {
  margin-left: -4vw;
}
.hero-bg .row:nth-child(3n+2) {
  margin-left: 18vw;
}
.hero-bg .row:nth-child(3n) {
  margin-left: 4vw;
}
.hero-bg .row:nth-child(4n) {
  margin-left: 34vw;
}
.hero-bg .s1 {
  color: var(--paper-2);
}
.hero-bg .s2 {
  color: transparent;
  background: repeating-linear-gradient(-45deg, rgba(30, 28, 26, 0.2) 0 2px, transparent 2px 9px);
  background-clip: text;
}
.hero-bg .s3 {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(30, 28, 26, 0.22);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 28px;
  color: var(--ink-2);
}
.hero-meta span {
  padding: 2px 8px 2px 4px;
  background: var(--paper);
}
.hero-meta span::before {
  color: var(--red);
  content: "■ ";
}

.catch {
  margin: 0;
  font-size: clamp(28px, 4.6vw, 56px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.06em;
}
.catch .ln {
  display: block;
  padding: 0.3em 0;
  margin: -0.3em 0;
  overflow: hidden;
}
.catch .ln > span {
  display: inline-block;
  padding: 0 0.14em;
  background: var(--paper);
  transform: translateY(110%);
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.1, 1) forwards;
}
.catch .ln:nth-child(2) > span {
  animation-delay: 0.12s;
}
.catch .ln:nth-child(3) > span {
  animation-delay: 0.24s;
}
.catch .ln:nth-child(4) > span {
  animation-delay: 0.36s;
}
.catch em {
  position: relative;
  font-style: normal;
  color: var(--red);
}
.catch mark {
  padding: 0 0.18em;
  margin-right: 0.1em;
  color: var(--paper);
  background: var(--ink);
}

@keyframes rise {
  to {
    transform: none;
  }
}
.redpen {
  position: absolute;
  top: -22%;
  left: -24%;
  width: 148%;
  height: 144%;
  overflow: visible;
  pointer-events: none;
}
.redpen path {
  fill: none;
  stroke: var(--red);
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  animation: draw 0.8s 1.2s cubic-bezier(0.5, 0, 0.3, 1) forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.hero-lead {
  max-width: 34em;
  margin: 28px 0 0;
  font-size: 15px;
  line-height: 2.2;
  color: var(--ink-2);
}
.hero-lead span {
  padding: 0.2em 0.4em;
  background: var(--paper);
  box-decoration-break: clone;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 32px;
}

.stamp-area {
  position: relative;
  justify-self: center;
  width: min(100%, 380px);
  aspect-ratio: 1;
}
@media (max-width: 900px) {
  .stamp-area {
    order: -1;
    width: min(72%, 300px);
  }
}

.stamp {
  position: absolute;
  inset: 8%;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 0 0 10px var(--red);
  opacity: 0;
  transform: scale(1.35) rotate(-14deg);
  animation: press 0.55s 0.6s cubic-bezier(0.3, 1.6, 0.5, 1) forwards;
}
.stamp img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}

@keyframes press {
  60% {
    opacity: 1;
    transform: scale(0.96) rotate(-6deg);
  }
  100% {
    opacity: 1;
    transform: rotate(-6deg);
  }
}
.ring {
  position: absolute;
  inset: 0;
  animation: spin 40s linear infinite;
}
.ring text {
  font-family: var(--f-mono);
  font-size: 8.6px;
  letter-spacing: 3.2px;
  fill: var(--ink);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.spec-tag {
  position: absolute;
  right: 0;
  bottom: 6%;
  padding: 8px 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ochre);
  border: 1px solid var(--ink);
  transform: rotate(4deg);
}

@media (prefers-reduced-motion: reduce) {
  .catch .ln > span,
  .stamp {
    opacity: 1;
    transform: none;
  }
  .redpen path {
    stroke-dashoffset: 0;
  }
}
section.sec {
  padding: clamp(72px, 10vw, 128px) 0;
  border-bottom: 1px solid var(--line);
}

.sec-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.sec-head::after {
  grid-column: 1/-1;
  height: 1px;
  content: "";
  background: var(--line);
}
@media (max-width: 900px) {
  .sec-head {
    grid-template-columns: auto 1fr;
  }
}

.sec-no {
  font-family: var(--f-en);
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 700;
  line-height: 0.8;
  color: var(--red);
}

.sec-title h2,
.sec-title h1 {
  margin: 0;
  font-family: var(--f-en);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
}
.sec-title p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.2em;
}

.sec-code {
  line-height: 1.6;
  color: var(--ink-2);
  text-align: right;
}
@media (max-width: 900px) {
  .sec-code {
    display: none;
  }
}

.sec-more {
  margin-top: 32px;
  text-align: right;
}

.svc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}
@media (max-width: 900px) {
  .svc {
    grid-template-columns: 1fr;
  }
}

.svc-item {
  padding: 28px 28px 32px;
  background: var(--paper);
  border-right: 1px solid var(--line);
  transition: background 0.25s;
}
.svc-item:last-child {
  border-right: 0;
}
.svc-item:hover {
  background: var(--paper-hl);
}
@media (max-width: 900px) {
  .svc-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .svc-item:last-child {
    border-bottom: 0;
  }
}
.svc-item .code {
  display: flex;
  justify-content: space-between;
  margin-bottom: 36px;
  color: var(--ink-2);
}
.svc-item .code b {
  font-weight: 500;
  color: var(--red);
}
.svc-item h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.svc-item h3 small {
  display: block;
  font-family: var(--f-en);
  font-size: 14px;
  font-weight: 600;
  color: var(--ochre-ink);
  letter-spacing: 0.2em;
}
.svc-item ul {
  padding: 0;
  margin: 20px 0 24px;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}
.svc-item li {
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.svc-item li::before {
  color: var(--red);
  content: "— ";
}
.svc-item dl {
  margin: 0;
  font-size: 12px;
  color: var(--ink-2);
}
.svc-item dt {
  font-family: var(--f-mono);
  letter-spacing: 0.1em;
}
.svc-item dd {
  margin: 0;
}

.price-wrap {
  position: relative;
}

.price {
  width: 100%;
  font-size: 15px;
  border-collapse: collapse;
}
.price th,
.price td {
  padding: 18px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}
.price thead th {
  padding-top: 0;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.12em;
  border-bottom: 2px solid var(--line);
}
.price .yen-head {
  text-align: right;
}
.price td.no {
  width: 4em;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-2);
}
.price td.item {
  width: 30%;
  font-weight: 700;
}
@media (max-width: 900px) {
  .price td.item {
    width: auto;
  }
}
.price td.yen {
  font-family: var(--f-en);
  font-size: 26px;
  font-weight: 600;
  text-align: right;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.price td.yen small {
  margin-left: 2px;
  font-family: var(--f-ja);
  font-size: 11px;
  font-weight: 500;
}
.price tbody tr {
  transition: background 0.2s;
}
.price tbody tr:hover {
  background: var(--paper-2);
}
@media (max-width: 900px) {
  .price .desc {
    display: none;
  }
}

.hanko {
  position: absolute;
  top: -64px;
  right: 2%;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--red);
  text-align: center;
  border: 3px solid var(--red);
  border-radius: 50%;
  opacity: 0.9;
  transform: rotate(-12deg);
}
@media (max-width: 900px) {
  .hanko {
    top: -56px;
    width: 72px;
    height: 72px;
    font-size: 12px;
  }
}

.note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--ink-2);
}

.flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: f;
  border-top: 2px solid var(--line);
}
@media (max-width: 900px) {
  .flow {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 8px;
  }
}
.flow li {
  position: relative;
  padding: 24px 18px 8px 0;
}
.flow li::before {
  display: block;
  font-family: var(--f-en);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  content: counter(f, decimal-leading-zero);
  counter-increment: f;
}
.flow li::after {
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--red);
}
.flow h3 {
  margin: 14px 0 8px;
  font-size: 16px;
  font-weight: 900;
}
.flow p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-2);
}

.about {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
}
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
  }
}
.about p {
  margin: 0 0 1.2em;
}

.spec {
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
  border-top: 2px solid var(--line);
}
.spec th,
.spec td {
  padding: 14px 8px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}
.spec th {
  width: 7.5em;
  padding-top: 17px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.1em;
}

.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}
@media (max-width: 900px) {
  .cases {
    grid-template-columns: 1fr;
  }
}

.cases--list {
  gap: 1px;
  background: var(--line);
}
.cases--list .case {
  border: 0;
}

.case {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--paper);
  border-right: 1px solid var(--line);
  transition: background 0.25s;
}
.case:last-child {
  border-right: 0;
}
.case:hover {
  background: var(--paper-hl);
}
@media (max-width: 900px) {
  .case {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .case:last-child {
    border-bottom: 0;
  }
}

.case-img {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4/3;
  overflow: hidden;
  color: var(--ink-2);
  background: repeating-linear-gradient(-45deg, transparent 0 10px, var(--line-soft) 10px 11px);
  border-bottom: 1px solid var(--line);
}
.case-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-img::after {
  position: absolute;
  inset: auto 0 0;
  padding: 10px 16px;
  font-family: var(--f-en);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.16em;
  content: "VIEW →";
  background: var(--red);
  transition: transform 0.3s;
  transform: translateY(100%);
}
.case:hover .case-img::after {
  transform: none;
}

.case-body {
  padding: 20px 24px 26px;
}
.case-body .code {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--ink-2);
}
.case-body .code b {
  font-weight: 500;
  color: var(--red);
}
.case-body h3 {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.6;
}
.case-body dl {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  margin: 0;
  font-size: 13px;
  border-top: 1px solid var(--line-soft);
}
.case-body dt,
.case-body dd {
  padding: 7px 0;
  margin: 0;
  border-bottom: 1px solid var(--line-soft);
}
.case-body dt {
  padding-top: 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--ink-2);
  letter-spacing: 0.12em;
}

.case-detail {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 900px) {
  .case-detail {
    grid-template-columns: 1fr;
  }
}

.case-detail-img {
  margin: 0 0 40px;
  border: 1px solid var(--line);
}

.case-detail-spec {
  position: sticky;
  top: 100px;
}
.case-detail-spec .btn {
  justify-content: center;
  width: 100%;
  margin-top: 24px;
}
@media (max-width: 900px) {
  .case-detail-spec {
    position: static;
  }
}

.page-head {
  padding: clamp(18px, 2.6vw, 30px) 0;
  border-bottom: 1px solid var(--line);
}
.page-head .frame {
  padding: clamp(16px, 2.2vw, 26px) var(--inner);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
  margin-bottom: 8px;
  color: var(--ink-2);
}
.crumbs a {
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--red);
}
.crumbs [aria-current] {
  color: var(--red);
}

.page-en {
  margin: 0;
  font-family: var(--f-en);
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 700;
  line-height: 0.9;
  color: var(--ink);
  letter-spacing: 0.06em;
  overflow-wrap: anywhere;
}

.page-title {
  margin: 8px 0 0;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 900;
  letter-spacing: 0.1em;
}
.page-title span {
  padding: 0 0.2em;
  background: linear-gradient(transparent 62%, rgba(220, 38, 53, 0.25) 62%);
}

.page-body {
  padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 10vw, 128px);
}
.page-body > .wrap {
  padding-right: calc(var(--gutter) + var(--inner));
  padding-left: calc(var(--gutter) + var(--inner));
}

.entry > :first-child {
  margin-top: 0;
}
.entry h2 {
  padding-bottom: 12px;
  margin: 2.6em 0 1em;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 900;
  letter-spacing: 0.08em;
  border-bottom: 2px solid var(--line);
}
.entry h2::before {
  margin-right: 0.4em;
  color: var(--red);
  content: "■";
}
.entry h3 {
  padding-left: 14px;
  margin: 2em 0 0.8em;
  font-size: 18px;
  font-weight: 900;
  border-left: 4px solid var(--red);
}
.entry h4 {
  margin: 1.6em 0 0.6em;
  font-size: 16px;
  font-weight: 700;
}
.entry p {
  margin: 0 0 1.4em;
}
.entry ul,
.entry ol {
  padding-left: 1.4em;
  margin: 0 0 1.4em;
}
.entry li {
  margin-bottom: 0.4em;
}
.entry ul li::marker {
  color: var(--red);
}
.entry a:not(.btn) {
  text-decoration-thickness: 2px;
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}
.entry a:not(.btn):hover {
  color: var(--red);
}
.entry strong {
  font-weight: 900;
}
.entry .has-text-color {
  color: inherit !important;
}
.entry figure {
  margin: 0 0 1.6em;
}
.entry table {
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
  border-top: 2px solid var(--line);
}
.entry th,
.entry td {
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}
.entry thead th {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.1em;
  background: var(--paper-2);
}
.entry .wp-block-table {
  overflow-x: auto;
}
.entry .wp-block-table table {
  min-width: 520px;
}
.entry hr {
  margin: 3em 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.post-list {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 2px solid var(--line);
}
.post-list a {
  display: flex;
  gap: 24px;
  padding: 16px 8px;
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}
.post-list a:hover {
  background: var(--paper-hl);
}
.post-list time {
  color: var(--ink-2);
}

.pagination .nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
  font-family: var(--f-en);
  font-weight: 600;
  letter-spacing: 0.1em;
}
.pagination .nav-links .page-numbers {
  padding: 6px 12px;
  text-decoration: none;
  border: 1px solid var(--line);
}
.pagination .nav-links .current {
  color: var(--paper);
  background: var(--ink);
}

.empty {
  color: var(--ink-2);
}

.wpcf7 {
  max-width: 740px;
}
.wpcf7 form > p {
  margin: 0 0 24px;
}
.wpcf7 label {
  display: block;
  font-weight: 700;
}
.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 input[type=tel],
.wpcf7 input[type=url],
.wpcf7 textarea {
  width: 100%;
  padding: 12px 14px;
  margin-top: 6px;
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  background: #fbf9f4;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  transition: box-shadow 0.2s;
}
.wpcf7 input[type=text]:focus,
.wpcf7 input[type=email]:focus,
.wpcf7 input[type=tel]:focus,
.wpcf7 input[type=url]:focus,
.wpcf7 textarea:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 53, 0.25);
}
@media (max-width: 900px) {
  .wpcf7 input[type=text],
  .wpcf7 input[type=email],
  .wpcf7 input[type=tel],
  .wpcf7 input[type=url],
  .wpcf7 textarea {
    font-size: 16px;
  }
}
.wpcf7 .wpcf7-acceptance label {
  display: inline-flex;
  gap: 0.6em;
  align-items: center;
  font-weight: 500;
  cursor: pointer;
}
.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}
.wpcf7 input[type=checkbox] {
  width: 1.3em;
  height: 1.3em;
  accent-color: var(--red);
}
.wpcf7 .wpcf7-not-valid-tip,
.wpcf7 .form-confirm-error {
  display: block;
  margin-top: 0.25em;
  font-size: 0.875em;
  color: var(--red);
}
.wpcf7 .wpcf7-response-output {
  padding: 12px 16px !important;
  margin: 0 0 24px !important;
  border: 2px solid var(--red) !important;
}

.wpcf7-submit,
.form-confirm-btn,
.form-confirm-back {
  display: block;
  min-width: 300px;
  padding: 14px 2em;
  margin: 0 auto 12px;
  font-family: var(--f-en);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.16em;
  cursor: pointer;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 0;
  transition: background 0.2s;
}
.wpcf7-submit:hover,
.form-confirm-btn:hover,
.form-confirm-back:hover {
  background: var(--ink);
  border-color: var(--ink);
}
@media (max-width: 900px) {
  .wpcf7-submit,
  .form-confirm-btn,
  .form-confirm-back {
    width: 100%;
    min-width: 0;
  }
}

.form-confirm-back {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}
.form-confirm-back:hover {
  color: var(--paper);
}

.form-confirm-lead {
  font-weight: 700;
}

.form-confirm-list {
  margin: 0 0 2em;
  border-top: 2px solid var(--line);
}
.form-confirm-list dt {
  padding-top: 1em;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-2);
  letter-spacing: 0.1em;
}
.form-confirm-list dd {
  padding: 0.25em 0 1em;
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  border-bottom: 1px solid var(--line-soft);
}

.wpcf7 [hidden] {
  display: none !important;
}
