:root {
  --paper: #f7f5ef;
  --paper-deep: #eee9df;
  --ink: #15201b;
  --muted: #5d625c;
  --line: #d8d1c6;
  --green: #09271e;
  --green-soft: #12362a;
  --orange: #d83a16;
  --white: #fffdf8;
  --shadow: 0 24px 60px rgba(22, 31, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
  background:
    linear-gradient(rgba(247, 245, 239, 0.2), rgba(247, 245, 239, 0.2)),
    url("../images/bg-washi.webp"),
    var(--paper);
  background-size: auto, 720px auto, auto;
  background-repeat: repeat;
}

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

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

.nowrap {
  white-space: normal;
}

.page {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 40px 15px;
  transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
  content: "";
}

.site-header.is-scrolled {
  padding-top: 12px;
}

.site-header.is-scrolled::before {
  background: rgba(247, 245, 239, 0.9);
  box-shadow: 0 10px 30px rgba(20, 31, 27, 0.08);
  backdrop-filter: blur(14px);
}

.site-logo img,
.footer-logo img {
  width: 205px;
  height: auto;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 74px);
  font-size: 14px;
  font-weight: 500;
}

.global-nav a {
  position: relative;
}

.global-nav a:not(.nav-contact)::after,
.footer-nav a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  content: "";
}

.global-nav a:hover::after,
.footer-nav a:hover::after {
  transform: scaleX(1);
}

.nav-contact {
  min-width: 152px;
  padding: 16px 28px;
  color: var(--white);
  text-align: center;
  background: var(--orange);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.nav-contact:hover {
  background: #b92f12;
  box-shadow: 0 14px 28px rgba(216, 58, 22, 0.22);
  transform: translateY(-3px);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 720px;
  padding: 170px 8vw 80px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  min-height: 390px;
  margin-left: clamp(10px, 4vw, 88px);
}

.hero-copy h1,
.hero-sub {
  writing-mode: vertical-rl;
  letter-spacing: 0;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 500;
  line-height: 1.75;
}

.letter-rise .char {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(14px);
  animation: letterRise 0.9s ease forwards;
  animation-delay: calc(var(--char-index) * 0.08s + 0.2s);
}

.hero-sub {
  margin: 16px 0 0;
  color: #37403b;
  font-size: 17px;
  line-height: 2.1;
}

.stamp {
  position: absolute;
  left: 0;
  bottom: 26px;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.ink-field {
  position: absolute;
  z-index: 1;
  top: 120px;
  right: 30px;
  width: min(82vw, 1120px);
  height: 500px;
  background: url("../images/hero-brush.png") center / contain no-repeat;
  pointer-events: none;
}

.ink-field .ink-splash,
.ink-field .ink-wave {
  display: none;
}

.ink-wave {
  position: absolute;
  inset: 70px 0 60px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 47% 42%, rgba(8, 25, 19, 0.86) 0 15%, rgba(8, 25, 19, 0.44) 25%, transparent 44%),
    radial-gradient(ellipse at 37% 52%, rgba(8, 25, 19, 0.72) 0 11%, transparent 32%),
    linear-gradient(168deg, transparent 12%, rgba(10, 27, 21, 0.15) 18%, rgba(10, 27, 21, 0.88) 40%, rgba(10, 27, 21, 0.26) 55%, transparent 76%);
  filter: blur(0.2px);
  transform: rotate(-8deg) skewX(-12deg);
  animation: inkFloat 9s ease-in-out infinite;
}

.ink-wave::before,
.ink-wave::after {
  position: absolute;
  inset: 20px -20px;
  border-top: 5px solid rgba(12, 28, 22, 0.56);
  border-radius: 50%;
  transform: rotate(4deg);
  content: "";
}

.ink-wave::after {
  inset: 40px -12px;
  border-top-width: 2px;
  border-color: rgba(12, 28, 22, 0.34);
  transform: rotate(-2deg);
}

.ink-splash {
  position: absolute;
  border-radius: 50%;
  background: rgba(15, 31, 25, 0.74);
}

.splash-a {
  top: 116px;
  left: 170px;
  width: 14px;
  height: 14px;
  box-shadow: 52px 38px 0 4px rgba(15, 31, 25, 0.62), 118px -18px 0 -3px rgba(15, 31, 25, 0.45);
}

.splash-b {
  top: 72px;
  left: 330px;
  width: 8px;
  height: 8px;
  box-shadow: 32px 70px 0 7px rgba(15, 31, 25, 0.55), 92px 60px 0 2px rgba(15, 31, 25, 0.45);
}

.hero-message {
  position: absolute;
  z-index: 3;
  right: 13vw;
  bottom: 112px;
  font-size: 16px;
  line-height: 2.1;
}

.hero-message p {
  margin: 0 0 8px;
}

.scroll-sign {
  position: absolute;
  right: 6vw;
  bottom: 70px;
  display: flex;
  align-items: center;
  gap: 14px;
  writing-mode: vertical-rl;
  color: #4a514d;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10px;
}

.scroll-sign::before {
  display: block;
  width: 18px;
  height: 58px;
  border: 1px solid rgba(74, 81, 77, 0.5);
  border-radius: 999px;
  background:
    radial-gradient(circle, var(--orange) 0 3px, transparent 4px) center 11px / 100% 18px no-repeat,
    rgba(255, 253, 248, 0.34);
  box-shadow: 0 8px 22px rgba(20, 31, 27, 0.08);
  animation: scrollDot 1.7s ease-in-out infinite;
  content: "";
}

.scroll-sign::after {
  display: block;
  width: 1px;
  height: 38px;
  background: linear-gradient(rgba(74, 81, 77, 0), rgba(74, 81, 77, 0.62));
  content: "";
}

.section-grid {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: clamp(34px, 5vw, 80px);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
}

.section-heading span {
  writing-mode: vertical-rl;
  color: var(--orange);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  letter-spacing: 0;
}

.section-heading h2 {
  margin: 0;
  writing-mode: vertical-rl;
  font-size: 31px;
  font-weight: 500;
  line-height: 1.45;
}

.section-heading.light {
  color: var(--white);
}

.service {
  position: relative;
  align-items: center;
  padding: 42px 0 0 7vw;
  background: rgba(255, 253, 248, 0.52);
}

.service-body {
  max-width: 560px;
  padding-bottom: 70px;
}

.service-text {
  margin-bottom: 56px;
  font-size: 16px;
  line-height: 2;
}

.service-text p {
  margin: 0;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  border-top: 1px solid transparent;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 112px;
  padding: 0 22px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.service-card:first-child {
  border-left: 0;
}

.service-card h3 {
  margin: 18px 0 0;
  font-size: 13px;
  font-weight: 500;
}

.line-icon {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  margin: 0 auto;
}

.service-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto;
  object-fit: contain;
}

.ai-icon {
  position: relative;
  display: block;
  border: 1px solid #56625b;
  border-radius: 50%;
}

.ai-icon::before,
.ai-icon::after {
  position: absolute;
  content: "";
}

.ai-icon::before {
  inset: 10px;
  border: 1px solid #56625b;
  border-radius: 50%;
}

.ai-icon::after {
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow:
    -11px -8px 0 -2px #56625b,
    11px -8px 0 -2px #56625b,
    -11px 8px 0 -2px #56625b,
    11px 8px 0 -2px #56625b;
  transform: translate(-50%, -50%);
}

.monitor {
  border: 1px solid #56625b;
  border-radius: 3px;
}

.monitor::before {
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: -8px;
  height: 1px;
  background: #56625b;
  box-shadow: 0 -4px 0 #56625b;
  content: "";
}

.gear {
  border: 2px solid #56625b;
  border-radius: 50%;
}

.gear::before {
  position: absolute;
  inset: 8px;
  border: 1px solid #56625b;
  border-radius: 50%;
  content: "";
}

.circle {
  border: 1px solid #56625b;
  border-radius: 50%;
  box-shadow: inset 0 0 0 6px var(--paper);
}

.headset::before {
  position: absolute;
  left: 6px;
  top: 5px;
  width: 24px;
  height: 22px;
  border: 2px solid #56625b;
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  content: "";
}

.headset::after {
  position: absolute;
  left: 4px;
  top: 21px;
  width: 8px;
  height: 12px;
  border: 1px solid #56625b;
  border-radius: 6px;
  box-shadow: 20px 0 0 -1px var(--paper), 20px 0 0 0 #56625b;
  content: "";
}

.text-link,
.works-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  font-size: 13px;
}

.text-link span,
.works-link span,
.contact-button span {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--orange);
}

.text-link span::after,
.works-link span::after,
.contact-button span::after {
  display: block;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 auto;
  border-top: 1px solid var(--orange);
  border-right: 1px solid var(--orange);
  transform: rotate(45deg);
  content: "";
}

.service-visual {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(50vw, 720px);
  height: 340px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.garden-panel {
  background:
    radial-gradient(circle at 70% 70%, #9a8b6e 0 6%, transparent 7%),
    radial-gradient(circle at 65% 72%, #676457 0 12%, transparent 13%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 38px),
    linear-gradient(110deg, rgba(8, 31, 23, 0.25), rgba(8, 31, 23, 0.1)),
    radial-gradient(circle at 50% 20%, #6d966e, #183c2d 38%, #0b2118 78%);
}

.room-panel {
  position: relative;
  background:
    linear-gradient(90deg, rgba(20, 16, 12, 0.1), rgba(20, 16, 12, 0.52)),
    repeating-linear-gradient(0deg, transparent 0 44px, rgba(30, 20, 12, 0.5) 45px 47px),
    repeating-linear-gradient(90deg, #d9caa9 0 58px, #6f5335 59px 62px);
}

.room-panel::after {
  position: absolute;
  right: 22%;
  bottom: 22px;
  width: 34px;
  height: 120px;
  border-left: 3px solid #1f2a20;
  border-bottom: 38px solid #1c1712;
  transform: rotate(-8deg);
  content: "";
}

.works {
  position: relative;
  padding: 48px 7vw 64px;
  color: var(--white);
  background:
    radial-gradient(circle at 93% 65%, rgba(255, 253, 248, 0.06), transparent 19%),
    linear-gradient(90deg, #0f2a1f 0%, #1f4a37 100%);
}

.works::after {
  position: absolute;
  right: 5vw;
  bottom: 0;
  width: 240px;
  height: 320px;
  opacity: 0.28;
  background: url("../images/works-bamboo.png") right bottom / contain no-repeat;
  content: "";
}

.works-inner {
  position: relative;
  z-index: 1;
  align-items: center;
}

.works-collage {
  position: relative;
  min-height: 410px;
  width: min(100%, 1240px);
}

.works-collage:hover .works-shot {
  filter: brightness(0.72) saturate(0.82);
}

.works-shot {
  position: absolute;
  display: block;
  width: 31%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(255, 253, 248, 0.2);
  background: #d7d0c4;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.18) inset,
    0 18px 24px rgba(0, 0, 0, 0.26),
    16px 24px 42px rgba(0, 0, 0, 0.34);
  transform: rotate(var(--rotate, 0deg)) translate3d(0, 0, 0);
  animation: worksFloat var(--float-speed, 8s) ease-in-out infinite;
  transition: box-shadow 0.35s ease, filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.works-shot:hover {
  z-index: 12;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.2) inset,
    0 24px 32px rgba(0, 0, 0, 0.3),
    22px 32px 56px rgba(0, 0, 0, 0.42);
  filter: brightness(1.05) saturate(1.04);
  transform: rotate(var(--rotate, 0deg)) translate3d(0, -10px, 0) scale(1.03);
}

.shot-01 {
  left: 1%;
  bottom: 34px;
  z-index: 3;
  width: 29%;
  --rotate: -2.4deg;
  --float-speed: 8.4s;
}

.shot-02 {
  left: 12%;
  top: 18px;
  z-index: 4;
  width: 31%;
  --rotate: 1.6deg;
  --float-speed: 7.6s;
  animation-delay: -1.2s;
}

.shot-03 {
  left: 31%;
  bottom: 48px;
  z-index: 7;
  width: 34%;
  --rotate: -0.8deg;
  --float-speed: 8.8s;
  animation-delay: -2.4s;
}

.shot-04 {
  left: calc(56% - 30px);
  top: 18px;
  z-index: 5;
  width: 30%;
  --rotate: 2.2deg;
  --float-speed: 7.9s;
  animation-delay: -3.1s;
}

.shot-05 {
  right: -1%;
  bottom: 18px;
  z-index: 6;
  width: 26%;
  --rotate: -1.7deg;
  --float-speed: 8.2s;
  animation-delay: -1.9s;
}

.shot-06 {
  left: 3%;
  top: 82px;
  z-index: 5;
  width: 24%;
  opacity: 0.94;
  filter: brightness(0.9) saturate(0.95);
  --rotate: 2.8deg;
  --float-speed: 9.2s;
  animation-delay: -3.7s;
}

.shot-07 {
  right: 20%;
  top: 152px;
  z-index: 8;
  width: 21%;
  --rotate: 1.2deg;
  --float-speed: 7.4s;
  animation-delay: -2.8s;
}

.shot-08 {
  right: 1%;
  top: 120px;
  z-index: 4;
  width: 30%;
  opacity: 0.92;
  filter: brightness(0.88) saturate(0.94);
  --rotate: -3deg;
  --float-speed: 9.6s;
  animation-delay: -4.2s;
}

.shot-09 {
  right: 15%;
  bottom: 6px;
  z-index: 9;
  width: 24%;
  --rotate: 1.9deg;
  --float-speed: 8.6s;
  animation-delay: -3.4s;
}

.shot-10 {
  right: 28%;
  top: 6px;
  z-index: 3;
  width: 23%;
  opacity: 0.9;
  filter: brightness(0.86) saturate(0.92);
  --rotate: -2.1deg;
  --float-speed: 9s;
  animation-delay: -4.8s;
}

.works-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
}

.work-card h3 {
  margin: 18px 0 6px;
  font-size: 17px;
  font-weight: 500;
}

.work-card p {
  margin: 0;
  color: rgba(255, 253, 248, 0.68);
  font-size: 13px;
}

.work-thumb {
  min-height: 148px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  background-color: #d7d0c4;
  box-shadow: 13px 13px 0 rgba(255, 253, 248, 0.08);
}

.thumb-01 {
  background:
    linear-gradient(0deg, rgba(8, 23, 18, 0.44), rgba(8, 23, 18, 0)),
    linear-gradient(145deg, transparent 42%, rgba(255, 253, 248, 0.7) 43% 45%, transparent 46%),
    radial-gradient(circle at 22% 68%, #e2792e 0 8%, transparent 9%),
    linear-gradient(145deg, #4e5b5f, #1b2628 58%, #ad8a5a);
}

.thumb-02 {
  background:
    radial-gradient(circle at 58% 60%, #dfd9cf 0 19%, transparent 20%),
    linear-gradient(90deg, transparent 40%, rgba(12, 25, 20, 0.18) 41% 42%, transparent 43%),
    linear-gradient(#faf8f3, #e9e4da);
}

.thumb-03 {
  background:
    radial-gradient(circle at 70% 45%, #d17b33 0 16%, transparent 17%),
    radial-gradient(circle at 76% 43%, rgba(255, 253, 248, 0.85) 0 5%, transparent 6%),
    repeating-linear-gradient(90deg, transparent 0 30px, rgba(216, 58, 22, 0.18) 31px 32px),
    linear-gradient(90deg, #fbf6ea, #ece1d0);
}

.works-link {
  justify-self: end;
  align-self: end;
  color: var(--white);
}

.flow {
  padding: 46px 7vw 70px;
  background: rgba(255, 253, 248, 0.72);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}

.flow-item {
  position: relative;
  min-height: 150px;
  padding-right: 28px;
}

.flow-item:not(:last-child)::after {
  position: absolute;
  top: 58px;
  right: 0;
  width: 18px;
  height: 18px;
  border-top: 1px solid #8f938e;
  border-right: 1px solid #8f938e;
  transform: rotate(45deg);
  content: "";
}

.flow-item span {
  display: block;
  margin-bottom: 14px;
  font-size: 30px;
}

.flow-item h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 500;
}

.flow-item p {
  margin: 0;
  color: #3f4742;
  font-size: 13px;
  line-height: 1.9;
}

.company {
  padding: 74px 7vw 78px;
  background: rgba(255, 253, 248, 0.42);
  border-top: 1px solid rgba(216, 209, 198, 0.72);
}

.company-body {
  max-width: 880px;
}

.company-lead {
  max-width: 680px;
  margin: 0 0 36px;
  font-size: 16px;
  line-height: 2;
}

.company-lead-break {
  display: block;
}

.company-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-list div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.company-list dt {
  color: var(--orange);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  letter-spacing: 0;
}

.company-list dd {
  margin: 0;
  color: #303833;
  font-size: 15px;
  line-height: 1.8;
}

.contact-area {
  position: relative;
  padding: 22px 7vw 18px;
}

.branch {
  position: absolute;
  left: -8px;
  bottom: 28px;
  width: 360px;
  height: 210px;
  background: url("../images/contact-plum.png") left bottom / contain no-repeat;
}

.contact-box {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 36px;
  min-height: 154px;
  margin-left: 110px;
  padding: 34px 84px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.62);
}

.contact-label {
  margin: 0 0 10px;
  color: var(--orange);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
}

.contact-box .contact-label {
  color: var(--orange);
}

.contact-box h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
}

.contact-box p {
  max-width: 640px;
  margin: 0;
  color: #3f4742;
  font-size: 14px;
  line-height: 1.9;
}

.contact-box p + p {
  margin-top: 12px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-width: 270px;
  padding: 21px 34px;
  color: var(--white);
  background: var(--orange);
  font-size: 15px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-button:hover {
  background: #b92f12;
  box-shadow: 0 18px 34px rgba(216, 58, 22, 0.24);
  transform: translateY(-4px);
}

.contact-button span {
  background: rgba(255, 253, 248, 0.8);
  transition: width 0.3s ease;
}

.contact-button:hover span {
  width: 62px;
}

.contact-button span::after {
  border-color: rgba(255, 253, 248, 0.8);
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  padding: 22px 7vw;
  color: var(--white);
  background: linear-gradient(90deg, #0f2a1f 0%, #1f4a37 100%);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  font-size: 12px;
}

.footer-nav a {
  position: relative;
}

.site-footer small {
  color: rgba(255, 253, 248, 0.8);
  font-size: 11px;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes inkFloat {
  0%,
  100% {
    transform: rotate(-8deg) skewX(-12deg) translateY(0);
  }
  50% {
    transform: rotate(-6deg) skewX(-12deg) translateY(14px);
  }
}

@keyframes worksFloat {
  0%,
  100% {
    transform: rotate(var(--rotate, 0deg)) translate3d(0, 0, 0);
  }
  50% {
    transform: rotate(var(--rotate, 0deg)) translate3d(0, -12px, 0);
  }
}

@keyframes scrollDot {
  0%,
  100% {
    background-position: center 10px, center;
    opacity: 0.72;
  }
  50% {
    background-position: center 30px, center;
    opacity: 1;
  }
}

@keyframes letterRise {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .works-shot,
  .scroll-sign::before,
  .letter-rise .char {
    animation: none;
  }

  .letter-rise .char {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

@media (max-width: 1660px) {
  .service {
    align-items: start;
    padding-right: 7vw;
  }

  .service-body {
    max-width: none;
    padding-bottom: 32px;
  }

  .service-cards {
    max-width: 1120px;
    margin: 0 auto;
  }

  .service-visual {
    position: relative;
    grid-column: 2;
    width: 100%;
    max-width: none;
    height: 340px;
    margin-top: -48px;
  }
}

@media (max-width: 1180px) {
  .service {
    align-items: start;
    padding-right: 34px;
  }

  .service-body {
    max-width: none;
  }

  .service-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 0;
  }

  .service-visual {
    position: relative;
    grid-column: 2;
    width: 100%;
    height: 300px;
  }
}

@media (max-width: 1024px) {
  .site-header {
    padding: 28px 34px 18px;
  }

  .global-nav {
    gap: 28px;
  }

  .hero {
    min-height: 690px;
    padding-top: 140px;
  }

  .ink-field {
    top: 150px;
    right: 30px;
    width: 74vw;
    opacity: 0.82;
  }

  .service {
    padding-right: 34px;
  }

  .service-visual {
    position: relative;
    grid-column: 2;
    width: 100%;
    height: 280px;
  }

  .service-cards,
  .flow-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .works-list {
    grid-template-columns: 1fr;
  }

  .works-collage {
    min-height: 600px;
  }

  .works-shot {
    width: 45%;
  }

  .shot-01 {
    left: 0;
    top: 34px;
    width: 44%;
  }

  .shot-02 {
    left: 30%;
    top: 0;
    width: 50%;
  }

  .shot-03 {
    left: 10%;
    top: 154px;
    width: 58%;
  }

  .shot-04 {
    right: 0;
    left: auto;
    top: 220px;
    width: 45%;
  }

  .shot-05 {
    left: 0;
    right: auto;
    top: 330px;
    width: 50%;
  }

  .shot-06 {
    left: 55%;
    top: 104px;
    width: 36%;
  }

  .shot-07 {
    right: 8%;
    top: 378px;
    width: 38%;
  }

  .shot-08 {
    left: 42%;
    right: auto;
    top: 296px;
    width: 42%;
  }

  .shot-09 {
    right: 0;
    bottom: 24px;
    width: 38%;
  }

  .shot-10 {
    left: 2%;
    right: auto;
    top: 438px;
    width: 36%;
  }

  .contact-box {
    margin-left: 0;
    padding: 34px;
  }
}

.page-top {
  display: none;
}

@media (max-width: 767px) {
  .nowrap {
    white-space: nowrap;
  }

  .site-header {
    padding: 18px 20px;
  }

  .site-logo img,
  .footer-logo img {
    width: 160px;
  }

  .menu-button {
    position: relative;
    z-index: 25;
    display: grid;
    gap: 6px;
    width: 42px;
    height: 42px;
    padding: 10px 9px;
    border: 1px solid var(--line);
    background: rgba(247, 245, 239, 0.92);
  }

  .menu-button span {
    position: absolute;
    left: 9px;
    right: 9px;
    top: 50%;
    display: block;
    height: 1px;
    background: var(--ink);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .menu-button span:first-child {
    transform: translateY(-7px);
  }

  .menu-button span:nth-child(2) {
    transform: translateY(0);
  }

  .menu-button span:last-child {
    transform: translateY(7px);
  }

  .menu-button.is-open span:first-child {
    transform: translateY(0) rotate(45deg);
  }

  .menu-button.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.is-open span:last-child {
    transform: translateY(0) rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    inset: 0 0 auto;
    display: grid;
    gap: 22px;
    padding: 92px 24px 32px;
    background: rgba(247, 245, 239, 0.97);
    box-shadow: 0 20px 50px rgba(20, 31, 27, 0.16);
    transform: translateY(-105%);
  }

  .global-nav.is-ready {
    transition: transform 0.35s ease;
  }

  .global-nav.is-open {
    transform: translateY(0);
  }

  .nav-contact {
    width: 100%;
  }

  .hero {
    min-height: 660px;
    padding: 116px 20px 50px;
  }

  .hero-copy {
    gap: 20px;
    min-height: 350px;
    margin-left: 8px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-sub {
    font-size: 14px;
  }

  .ink-field {
    top: 180px;
    right: -24vw;
    width: 118vw;
    height: 320px;
  }

  .hero-message {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 4;
    max-width: 250px;
    margin: -28px 0 0 auto;
    font-size: 14px;
  }

  .scroll-sign {
    right: 18px;
    bottom: 44px;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-heading {
    justify-content: flex-start;
  }

  .section-heading h2,
  .section-heading span {
    writing-mode: horizontal-tb;
  }

  .service,
  .works,
  .flow,
  .company,
  .contact-area {
    padding-left: 20px;
    padding-right: 20px;
  }

  .service {
    padding-top: 34px;
  }

  .service-body {
    padding-bottom: 22px;
  }

  .service-text {
    margin-bottom: 32px;
    font-size: 14px;
  }

  .service-cards {
    grid-template-columns: 1fr 1fr;
    gap: 22px 0;
  }

  .service-card {
    padding: 0 14px;
  }

  .service-visual {
    grid-column: auto;
    grid-template-columns: 1fr;
    height: 360px;
    width: calc(100% + 40px);
    margin-top: -8px;
    margin-left: -20px;
    margin-right: -20px;
  }

  .room-panel {
    min-height: 160px;
  }

  .works {
    padding-top: 42px;
  }

  .works-collage {
    min-height: 800px;
  }

  .works-shot {
    width: 72%;
  }

  .shot-01 {
    left: 0;
    top: 18px;
    width: 66%;
  }

  .shot-02 {
    left: 26%;
    top: 92px;
    width: 72%;
  }

  .shot-03 {
    left: 5%;
    top: 186px;
    width: 78%;
  }

  .shot-04 {
    right: 0;
    top: 286px;
    width: 68%;
  }

  .shot-05 {
    left: 0;
    top: 378px;
    width: 70%;
  }

  .shot-06 {
    left: 42%;
    top: 18px;
    width: 50%;
  }

  .shot-07 {
    right: 6%;
    top: 486px;
    width: 54%;
  }

  .shot-08 {
    left: 8%;
    top: 516px;
    width: 50%;
  }

  .shot-09 {
    right: 0;
    bottom: 18px;
    width: 58%;
  }

  .shot-10 {
    left: 0;
    top: 588px;
    width: 52%;
  }

  .flow-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .company {
    padding-top: 42px;
    padding-bottom: 50px;
  }

  .company-lead {
    margin-bottom: 28px;
    max-width: none;
    font-size: 13px;
    line-height: 1.9;
  }

  .company-lead-break {
    display: none;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }

  .flow-item {
    min-height: auto;
    padding: 0 0 20px 58px;
    border-bottom: 1px solid var(--line);
  }

  .flow-item:not(:last-child)::after {
    display: none;
  }

  .flow-item span {
    position: absolute;
    left: 0;
    top: -4px;
    font-size: 25px;
  }

  .branch {
    left: -86px;
    bottom: 76px;
    opacity: 0.75;
  }

  .contact-box {
    grid-template-columns: 1fr;
    padding: 26px 22px;
  }

  .contact-button {
    width: 100%;
    min-width: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .page-top {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 40;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    background: var(--orange);
    color: var(--white);
    font-family: "Noto Sans JP", sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.06em;
    box-shadow: 0 8px 22px rgba(216, 58, 22, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
  }

  .page-top::before {
    display: block;
    margin-bottom: 1px;
    font-size: 13px;
    line-height: 1;
    content: "↑";
  }

  .page-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* max-width: 426px
* * * * * * * * * * * * * * * * * * * * */
@media only screen and (max-width: 426px){

  .hero {
    min-height: 560px;
  }

}
/* max-width: 426px @end */
