/* WEB SITE DETAIL / 01 — companion to service.css */
.web-detail-page {
  background: #f5f9fc;
  color: #0e263d;
}
.web-hero {
  background: #030b17;
  color: #fff;
  min-height: 760px;
  height: min(88svh,840px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.web-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 45% 65% at 78% 44%,rgba(17,115,224,.25),transparent 72%);
  z-index: -1;
}
.web-hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size: 25% 100%;
  mask-image: linear-gradient(90deg,transparent,#000 35%,#000 100%);
}
.web-hero-orbit {
  position: absolute;
  width: 850px;
  aspect-ratio: 1;
  border: 1px solid rgba(57,148,247,.14);
  border-radius: 50%;
  left: 50%;
  top: -43%;
  pointer-events: none;
}
.web-hero-orbit::after {
  content: '';
  position: absolute;
  inset: 100px;
  border: 1px solid rgba(98,199,253,.09);
  border-radius: 50%;
}
.web-hero-grid {
  height: 100%;
  min-height: 700px;
  display: grid;
  grid-template-columns: 51% 49%;
  align-items: center;
  position: relative;
  padding-top: 90px;
  padding-bottom: 85px;
}
.web-hero-copy {
  position: relative;
  z-index: 4;
  padding-top: 25px;
}
.web-eyebrow {
  font: 600 10px 'DM Sans',sans-serif;
  letter-spacing: .22em;
  color: #c8e1f5;
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 32px;
}
.web-eyebrow b {
  color: #68c5fb;
  font-weight: 600;
}
.web-eyebrow span {
  border-left: 1px solid rgba(255,255,255,.28);
  padding-left: 18px;
}
.web-hero h1 {
  font: 800 clamp(100px,11.5vw,190px)/.75 'Manrope',sans-serif;
  letter-spacing: -.09em;
  margin: 0 0 33px;
}
.web-hero h1>span {
  display: block;
}
.web-hero h1 .web-dot {
  color: #1ba3ff;
}
.web-hero-ja {
  font: 500 clamp(26px,2.35vw,37px)/1.68 'Noto Serif JP',serif;
  letter-spacing: .02em;
  margin: 42px 0 20px;
}
.web-hero-text {
  font: 400 13px/2.15 'Noto Sans JP',sans-serif;
  color: #bcccdc;
  letter-spacing: .035em;
  margin: 0;
}
.web-scroll {
  font: 600 10px 'DM Sans',sans-serif;
  letter-spacing: .16em;
  display: inline-flex;
  gap: 22px;
  align-items: center;
  margin-top: 37px;
  color: #8fd9ff;
}
.web-scroll span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(146,208,250,.42);
  font-size: 17px;
  transition: transform .3s;
}
.web-scroll:hover span {
  transform: translateY(5px);
}
.web-hero-visual {
  position: absolute;
  right: 0;
  top: 14%;
  width: 53%;
  height: 73%;
  z-index: 1;
}
.web-hero-glow {
  position: absolute;
  inset: -15%;
  background: radial-gradient(ellipse at 56% 45%,rgba(27,138,255,.42),rgba(18,110,218,.12) 43%,transparent 68%);
  filter: blur(27px);
  animation: floatBloom 8s ease-in-out infinite alternate;
}
@keyframes floatBloom {
  to {
    transform: translate(20px,-12px) scale(1.08);
    opacity: .68;
  }
}
.web-hero-photo {
  position: absolute;
  inset: 8% 5% 4% 3%;
  overflow: hidden;
  clip-path: polygon(15% 0,100% 0,100% 84%,85% 100%,0 100%,0 15%);
  box-shadow: 0 20px 50px #0005;
}
.web-hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,rgba(4,11,25,.32),transparent 38%),linear-gradient(180deg,rgba(4,11,25,.08),rgba(3,11,24,.55));
}
.web-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(.85) brightness(.73);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  to {
    transform: scale(1.07) translateX(-1.5%);
  }
}
.web-hero-corner {
  position: absolute;
  width: 90px;
  height: 90px;
  border: 1px solid #49b8ff;
  opacity: .6;
  z-index: 3;
}
.web-hero-corner.tl {
  left: -2%;
  top: 2%;
  border-right: 0;
  border-bottom: 0;
}
.web-hero-corner.br {
  right: -1%;
  bottom: 0;
  border-left: 0;
  border-top: 0;
}
.web-hero-side {
  position: absolute;
  right: -3%;
  top: 39%;
  writing-mode: vertical-rl;
  font: 600 10px 'DM Sans';
  letter-spacing: .31em;
  color: #a5bfd3;
}
.web-hero-number {
  font: 800 145px/.9 'Manrope';
  letter-spacing: -.07em;
  color: rgba(255,255,255,.06);
  position: absolute;
  right: 3%;
  bottom: -9%;
  pointer-events: none;
}
.web-hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 1px solid rgba(232,242,252,.15);
  z-index: 4;
}
.web-hero-bottom>.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 61px;
  font: 600 10px 'DM Sans';
  letter-spacing: .13em;
  color: #aabfd2;
}
.web-hero-bottom nav {
  display: flex;
  gap: 12px;
  align-items: center;
}
.web-hero-bottom nav a:hover {
  color: #fff;
}
.web-hero-bottom nav strong {
  color: #fff;
  font-weight: 600;
}
.small-section-title {
  font: 700 11px 'DM Sans';
  letter-spacing: .22em;
  color: #2079b1;
}
.caption-blue {
  font: 700 11px 'DM Sans';
  letter-spacing: .25em;
  color: #1487d1;
  display: block;
  margin-bottom: 18px;
}
.web-lead-section {
  background: linear-gradient(130deg,#fff,#f2f8fd);
  padding: 128px 0 116px;
  position: relative;
}
.lead-layout {
  display: grid;
  grid-template-columns: 29% 71%;
  gap: 30px;
}
.lead-copy h2,.offer-body h2,.process-heading h2,.samples-header h2,.demo-gallery-content h2 {
  font: 500 clamp(34px,4.1vw,61px)/1.55 'Noto Serif JP',serif;
  letter-spacing: .01em;
  margin: 0;
}
.lead-copy h2 em,.process-heading h2 em,.samples-header h2 em,.demo-gallery-content h2 em {
  font-style: normal;
  color: #1379b2;
}
.lead-prose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  max-width: 810px;
  margin-top: 35px;
}
.lead-prose p {
  font: 400 14px/2.3 'Noto Sans JP',sans-serif;
  letter-spacing: .025em;
  color: #607587;
  margin: 0;
}
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  margin-top: 115px;
  border-top: 1px solid #d0dfe9;
  border-bottom: 1px solid #d0dfe9;
}
.principle {
  position: relative;
  padding: 34px 30px 38px;
  min-height: 260px;
  transition: background .35s;
}
.principle:first-child {
  padding-left: 0;
}
.principle:not(:last-child) {
  border-right: 1px solid #d0dfe9;
}
.principle:hover {
  background: #e8f4fc;
}
.principle>span {
  display: block;
  font: 700 10px 'DM Sans';
  letter-spacing: .15em;
  color: #2c90c9;
  margin-bottom: 35px;
}
.principle h3 {
  font: 500 23px/1.7 'Noto Serif JP';
  margin: 0 0 17px;
}
.principle p {
  font: 400 13px/2 'Noto Sans JP';
  color: #5f7688;
  max-width: 280px;
  margin: 0;
}
.principle i {
  position: absolute;
  right: 26px;
  top: 31px;
  font-style: normal;
  color: #2686bf;
}
.web-offer-section {
  padding: 124px 0 135px;
  background: #eaf2f8;
}
.offer-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: clamp(70px,8vw,126px);
}
.offer-photo {
  height: 610px;
  position: relative;
  overflow: hidden;
  background: #23495d;
}
.offer-photo>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  filter: saturate(.9);
  transition: transform 1.2s cubic-bezier(.22,1,.36,1);
}
.offer-photo:hover>img {
  transform: scale(1.045);
}
.offer-photo-index {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #081e32;
  color: #fff;
  padding: 20px 26px;
  font: 600 11px 'DM Sans';
  letter-spacing: .2em;
}
.offer-body h2 {
  font-size: clamp(34px,3.7vw,55px);
  margin: 25px 0 18px;
}
.offer-body>p {
  font: 400 14px/2.25 'Noto Sans JP';
  color: #567186;
  max-width: 440px;
  margin: 0 0 30px;
}
.offer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #bfd1df;
}
.offer-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid #bfd1df;
  align-items: start;
}
.offer-list li>b {
  font: 700 12px 'DM Sans';
  color: #108ac7;
  margin-top: 4px;
}
.offer-list li strong {
  display: block;
  font: 500 18px/1.4 'Noto Serif JP';
  margin-bottom: 7px;
}
.offer-list li span {
  display: block;
  font: 400 12px/1.8 'Noto Sans JP';
  color: #617a8d;
}
.web-process-section {
  background: #041323;
  color: #fff;
  padding: 125px 0 138px;
  position: relative;
  overflow: hidden;
}
.web-process-section::after {
  content: '';
  position: absolute;
  width: 900px;
  height: 700px;
  right: -240px;
  bottom: -350px;
  background: radial-gradient(circle,rgba(22,126,255,.24),transparent 64%);
  pointer-events: none;
}
.web-process-section .small-section-title {
  color: #76c9f7;
}
.process-header {
  display: grid;
  grid-template-columns: 28% 72%;
  gap: 30px;
}
.process-heading h2 {
  font-size: clamp(32px,3.8vw,54px);
}
.process-heading h2 em {
  color: #94dfff;
}
.process-heading>p {
  font: 400 13px/2.15 'Noto Sans JP';
  color: #a8bfd3;
  max-width: 550px;
  margin: 26px 0 0;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  margin-top: 83px;
  border-top: 1px solid rgba(180,211,239,.3);
  position: relative;
  z-index: 1;
}
.process-steps article {
  padding: 28px 26px 0;
  border-right: 1px solid rgba(180,211,239,.22);
  min-height: 246px;
}
.process-steps article:first-child {
  padding-left: 0;
}
.process-steps article:last-child {
  border-right: 0;
}
.process-steps article>span {
  font: 600 10px 'DM Sans';
  letter-spacing: .22em;
  color: #77c8f8;
}
.step-num {
  font: 700 59px/.9 'Manrope';
  letter-spacing: -.08em;
  color: rgba(133,203,252,.24);
  margin: 24px 0;
}
.process-steps h3 {
  font: 500 19px 'Noto Serif JP';
  margin: 0 0 17px;
}
.process-steps p {
  font: 400 12px/2 'Noto Sans JP';
  color: #afc2d4;
  margin: 0;
  max-width: 240px;
}
.web-samples {
  background: #f8fbfe;
  padding: 124px 0 118px;
}
.samples-header {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 55px;
  align-items: end;
  margin-bottom: 58px;
}
.samples-header h2 {
  margin-top: 26px;
}
.samples-aside {
  padding: 0 0 8px 24px;
  border-left: 1px solid #b8d3e6;
}
.samples-aside p {
  font: 400 14px/2.25 'Noto Sans JP';
  margin: 0 0 19px;
  color: #567083;
}
.samples-aside small {
  display: block;
  font: 400 11px/1.95 'Noto Sans JP';
  color: #7991a1;
}
.sample-filters {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid #ccdae5;
  padding-bottom: 13px;
  margin-bottom: 32px;
}
.sample-filters button {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 40px;
  padding: 11px 18px;
  font: 700 11px 'DM Sans';
  letter-spacing: .12em;
  color: #6c8396;
  transition: .25s;
}
.sample-filters button span {
  font-size: 10px;
  color: #80b3d5;
  margin-left: 5px;
}
.sample-filters button.active,.sample-filters button:hover {
  border-color: #91bfdb;
  color: #0a658d;
  background: #e7f4fb;
}
.samples-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 37px 22px;
  transition: opacity .2s;
}
.sample-card {
  min-width: 0;
  display: block;
}
.sample-card[hidden] {
  display: none !important;
}
.sample-frame {
  position: relative;
  padding: 8px;
  border: 1px solid #d0dde7;
  background: #e9f0f5;
  box-shadow: 0 14px 25px rgba(16,39,62,.06);
  transition: transform .45s cubic-bezier(.22,1,.36,1),box-shadow .45s;
}
.sample-card:hover .sample-frame {
  transform: translateY(-8px);
  box-shadow: 0 26px 44px rgba(16,50,85,.15);
}
.browser-bar {
  height: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  background: #fafcff;
  border-radius: 4px 4px 0 0;
}
.browser-bar i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c9d7e2;
}
.browser-bar i:nth-child(2) {
  background: #b8cad8;
}
.browser-bar i:nth-child(3) {
  background: #a5c2d7;
}
.browser-bar span {
  font: 500 8px 'DM Sans';
  color: #7e9caf;
  letter-spacing: .07em;
  margin: auto;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  max-width: 85%;
}
.sample-screen {
  height: 208px;
  position: relative;
  overflow: hidden;
  background: #0c2239;
}
.sample-screen>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .65s ease;
}
.sample-card:hover .sample-screen>img {
  transform: scale(1.05);
}
.sample-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 23px;
  color: #fff;
  background: radial-gradient(circle at 82% 12%,rgba(161,219,255,.24),transparent 44%),linear-gradient(135deg,#071624,#2a5168);
}
.sample-fallback small {
  font: 700 10px 'DM Sans';
  letter-spacing: .16em;
  margin-bottom: 17px;
  opacity: .86;
}
.sample-fallback strong {
  font: 600 26px/1.4 'Noto Serif JP';
}
.sample-fallback>span {
  font: 500 9px 'DM Sans';
  letter-spacing: .16em;
  margin-top: 25px;
  color: #9bc7dc;
}
.thumb-forest .sample-fallback {
  background: linear-gradient(125deg,#142622,#486152);
}
.thumb-salon .sample-fallback {
  background: linear-gradient(125deg,#1b1e22,#6d5448);
}
.thumb-ryokan .sample-fallback {
  background: linear-gradient(125deg,#161e25,#475650);
}
.thumb-tech .sample-fallback {
  background: linear-gradient(125deg,#081526,#0d536e);
}
.thumb-delivery .sample-fallback {
  background: linear-gradient(125deg,#22364e,#7b9caa);
}
.thumb-finance .sample-fallback {
  background: linear-gradient(125deg,#243341,#805468);
}
.sample-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(4,17,32,.77);
  color: #fff;
  font: 700 11px 'DM Sans';
  letter-spacing: .15em;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.sample-hover b {
  width: 39px;
  height: 39px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
}
.sample-card:hover .sample-hover {
  opacity: 1;
}
.sample-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  padding: 17px 1px 0;
}
.sample-title>span {
  font: 700 10px 'DM Sans';
  letter-spacing: .12em;
  color: #2683b8;
}
.sample-title h3 {
  font: 500 18px/1.5 'Noto Serif JP';
  margin: 8px 0 0;
}
.sample-type {
  font: 700 10px 'DM Sans';
  letter-spacing: .1em;
  white-space: nowrap;
  color: #668298;
  margin-bottom: 3px;
}
.sample-type span {
  color: #148ac2;
  margin-left: 7px;
  font-size: 16px;
}
.samples-more {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  border-top: 1px solid #d2e1eb;
  margin-top: 70px;
  padding-top: 30px;
}
.samples-more p {
  font: 400 13px/2.1 'Noto Sans JP';
  margin: 0;
  color: #5b7488;
}
.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  min-width: 300px;
  padding: 14px 14px 14px 25px;
  border-radius: 50px;
  font: 600 12px 'Noto Sans JP';
  transition: transform .3s,box-shadow .3s;
}
.pill-link:hover {
  transform: translateY(-3px);
}
.pill-link>span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 19px;
}
.pill-dark {
  color: #092135;
  border: 1px solid #a9c2d5;
}
.pill-dark:hover {
  box-shadow: 0 14px 30px rgba(32,111,160,.12);
  border-color: #2587c5;
}
.demo-gallery-section {
  background: #041323;
  color: #fff;
  padding: 120px 0 120px;
  overflow: hidden;
}
.demo-gallery-grid {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: clamp(60px,8vw,125px);
  align-items: center;
}
.demo-gallery-content .small-section-title {
  color: #79cef6;
}
.gallery-kicker {
  font: 700 11px 'DM Sans';
  letter-spacing: .2em;
  color: #83c9ef;
  display: block;
  margin: 45px 0 20px;
}
.demo-gallery-content h2 {
  font-size: clamp(33px,3.65vw,52px);
}
.demo-gallery-content h2 em {
  color: #8cddff;
}
.demo-gallery-content>p {
  font: 400 13px/2.3 'Noto Sans JP';
  color: #b2c8d8;
  max-width: 490px;
  margin: 30px 0 40px;
}
.pill-light {
  border: 1px solid rgba(166,219,251,.5);
  color: #fff;
}
.pill-light:hover {
  background: rgba(13,119,204,.22);
}
.demo-gallery-art {
  height: 460px;
  border: 1px solid rgba(108,190,245,.4);
  background: radial-gradient(circle at 75% 35%,rgba(13,142,246,.22),transparent 55%),linear-gradient(130deg,#0b2541,#081424);
  padding: 30px 30px 26px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px #0005;
}
.demo-ui-top {
  display: flex;
  justify-content: space-between;
  font: 600 10px 'DM Sans';
  letter-spacing: .14em;
  color: #8bbfe4;
  border-bottom: 1px solid rgba(184,223,250,.16);
  padding-bottom: 18px;
}
.ui-dot {
  font-size: 9px;
  letter-spacing: .1em;
  color: #429ed4;
}
.demo-ui-heading {
  font: 800 clamp(55px,6vw,95px)/.93 'Manrope';
  letter-spacing: -.09em;
  color: #e8f6ff;
  margin: 42px 0 25px;
}
.demo-ui-heading span {
  color: #28a9fc;
}
.demo-ui-label {
  font: 600 10px 'DM Sans';
  letter-spacing: .18em;
  color: #b0d9ee;
}
.demo-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 440px;
  margin-top: 17px;
  position: relative;
  z-index: 2;
}
.demo-filter-chips span {
  font: 600 10px 'DM Sans';
  letter-spacing: .08em;
  padding: 10px 13px;
  border: 1px solid rgba(147,206,246,.35);
  background: rgba(7,43,74,.6);
  border-radius: 30px;
  color: #d1eaff;
}
.demo-filter-chips span:nth-child(2),.demo-filter-chips span:nth-child(5) {
  background: #2ca9f0;
  color: #fff;
  border-color: #2ca9f0;
}
.demo-art-rings {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(88,193,255,.3);
  border-radius: 50%;
  bottom: -165px;
  right: -70px;
  box-shadow: 0 0 0 33px rgba(16,148,244,.035),0 0 0 70px rgba(16,148,244,.025);
  pointer-events: none;
}
.demo-ui-caption {
  position: absolute;
  bottom: 19px;
  right: 26px;
  font: 600 9px 'DM Sans';
  letter-spacing: .18em;
  color: #79badd;
}
.rise {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease,transform .85s cubic-bezier(.18,1,.25,1);
}
.rise.is-visible {
  opacity: 1;
  transform: none;
}
.image-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s cubic-bezier(.2,1,.3,1);
}
.image-reveal.is-visible {
  clip-path: inset(0);
}
@media(max-width:1180px) {
  .web-hero-grid {
    grid-template-columns: 50% 50%;
  }
  .web-hero h1 {
    font-size: clamp(99px,12vw,149px);
  }
  .web-hero-visual {
    width: 55%;
  }
  .sample-screen {
    height: 180px;
  }
  .sample-title h3 {
    font-size: 16px;
  }
  .offer-grid {
    gap: 65px;
  }
  .offer-photo {
    height: 540px;
  }
}
@media(max-width:900px) {
  .web-hero {
    min-height: 730px;
    height: auto;
  }
  .web-hero-grid {
    min-height: 720px;
  }
  .web-hero h1 {
    font-size: clamp(105px,15vw,145px);
  }
  .web-hero-visual {
    top: 18%;
    width: 57%;
    opacity: .72;
  }
  .lead-layout,.process-header {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .principle-grid {
    margin-top: 75px;
  }
  .principle {
    padding: 24px 22px;
  }
  .offer-grid {
    grid-template-columns: 1fr;
  }
  .offer-photo {
    height: 420px;
  }
  .offer-body {
    max-width: 700px;
  }
  .process-steps {
    grid-template-columns: repeat(2,1fr);
  }
  .process-steps article {
    border-bottom: 1px solid rgba(180,211,239,.2);
    padding: 25px;
  }
  .samples-header {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .samples-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .sample-screen {
    height: 230px;
  }
  .demo-gallery-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .demo-gallery-art {
    height: 420px;
  }
  .web-hero-side {
    right: 0;
  }
}
@media(max-width:600px) {
  .web-hero {
    min-height: 760px;
    min-height: 100svh;
  }
  .web-hero-grid {
    display: block;
    min-height: 760px;
    min-height: 100svh;
    padding-top: 124px;
    padding-bottom: 72px;
    width: calc(100% - 44px);
  }
  .web-hero-copy {
    padding-top: 0;
  }
  .web-eyebrow {
    font-size: 9px;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 23px;
  }
  .web-eyebrow span {
    padding-left: 10px;
  }
  .web-hero h1 {
    font-size: clamp(92px,25vw,132px);
    margin-bottom: 20px;
  }
  .web-hero-ja {
    font-size: clamp(23px,6.2vw,31px);
    line-height: 1.7;
    margin: 34px 0 12px;
  }
  .web-hero-text {
    font-size: 11px;
    line-height: 2.05;
    max-width: 270px;
  }
  .web-scroll {
    margin-top: 18px;
    font-size: 9px;
  }
  .web-hero-visual {
    right: -31%;
    top: auto;
    bottom: 9%;
    width: 93%;
    height: 41%;
    opacity: .5;
  }
  .web-hero-glow {
    filter: blur(17px);
  }
  .web-hero-photo {
    inset: 2% 3% 8% 0;
  }
  .web-hero-side,.web-hero-number,.web-hero-orbit {
    display: none;
  }
  .web-hero-bottom>.container {
    min-height: 55px;
  }
  .web-hero-bottom>.container>span {
    display: none;
  }
  .web-hero-bottom nav {
    font-size: 9px;
    gap: 9px;
  }
  .web-lead-section {
    padding: 78px 0 76px;
  }
  .lead-copy h2,.offer-body h2,.process-heading h2,.samples-header h2,.demo-gallery-content h2 {
    font-size: clamp(29px,7.6vw,40px);
  }
  .lead-prose {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 22px;
  }
  .lead-prose p {
    font-size: 13px;
    line-height: 2.2;
  }
  .principle-grid {
    grid-template-columns: 1fr;
    margin-top: 56px;
  }
  .principle {
    padding: 24px 9px 25px !important;
    min-height: 0;
    border-right: 0 !important;
    border-bottom: 1px solid #d0dfe9;
  }
  .principle:last-child {
    border-bottom: 0;
  }
  .principle>span {
    margin-bottom: 20px;
  }
  .principle h3 {
    font-size: 21px;
  }
  .principle p {
    font-size: 12px;
  }
  .web-offer-section {
    padding: 78px 0 80px;
  }
  .offer-grid {
    gap: 45px;
  }
  .offer-photo {
    height: 270px;
  }
  .offer-body h2 {
    margin-top: 19px;
  }
  .offer-body>p {
    font-size: 13px;
  }
  .offer-list li {
    grid-template-columns: 34px 1fr;
    gap: 15px;
  }
  .offer-list li strong {
    font-size: 16px;
  }
  .offer-list li span {
    font-size: 11px;
  }
  .web-process-section {
    padding: 83px 0 82px;
  }
  .process-heading>p {
    font-size: 12px;
    margin-top: 18px;
  }
  .process-steps {
    margin-top: 49px;
  }
  .process-steps article {
    padding: 20px 14px;
    min-height: 0;
  }
  .process-steps article:nth-child(odd) {
    padding-left: 0;
  }
  .process-steps article:nth-child(even) {
    border-right: 0;
  }
  .process-steps article>span {
    font-size: 9px;
  }
  .step-num {
    font-size: 46px;
    margin: 20px 0;
  }
  .process-steps h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }
  .process-steps p {
    font-size: 11px;
  }
  .web-samples {
    padding: 77px 0 80px;
  }
  .samples-header {
    margin-bottom: 32px;
  }
  .samples-aside {
    padding-left: 15px;
  }
  .samples-aside p {
    font-size: 13px;
  }
  .samples-aside small {
    font-size: 10px;
  }
  .sample-filters {
    overflow-x: auto;
    scrollbar-width: none;
    gap: 2px;
  }
  .sample-filters button {
    white-space: nowrap;
    padding: 9px 10px;
    font-size: 10px;
  }
  .samples-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .sample-screen {
    height: 240px;
  }
  .sample-info {
    padding-top: 12px;
  }
  .sample-title h3 {
    font-size: 17px;
  }
  .samples-more {
    display: block;
    margin-top: 55px;
  }
  .samples-more p {
    font-size: 12px;
    margin-bottom: 23px;
  }
  .pill-link {
    width: 100%;
    min-width: 0;
    font-size: 11px;
    gap: 10px;
  }
  .demo-gallery-section {
    padding: 85px 0;
  }
  .gallery-kicker {
    margin-top: 28px;
  }
  .demo-gallery-content>p {
    font-size: 12px;
    margin: 24px 0 29px;
  }
  .demo-gallery-art {
    height: 350px;
    padding: 22px;
  }
  .demo-ui-heading {
    font-size: 57px;
    margin: 40px 0 26px;
  }
  .demo-filter-chips span {
    font-size: 9px;
    padding: 8px 10px;
  }
  .demo-ui-caption {
    font-size: 8px;
  }
  .closing h2 {
    font-size: clamp(29px,7vw,40px);
  }
}
@media(prefers-reduced-motion:reduce) {
  .rise {
    opacity: 1;
    transform: none;
  }
  .image-reveal {
    clip-path: none;
  }
  .web-hero-glow,.web-hero-photo img {
    animation: none;
  }
}
/* Mobile hero art: keep the actual WEB design scene within the viewport */
@media(max-width:600px) {
  .web-hero-visual {
    right: -5%;
    bottom: 9%;
    width: 95%;
    height: 36%;
    opacity: .51;
  }
  .web-hero-photo {
    inset: 2% 0 6% 1%;
  }
  .web-hero-photo img {
    object-position: 72% center;
  }
}
/* v2 correction: imagery must remain visible even when IntersectionObserver
   does not intersect clipped elements. The original full-width clip-path
   concealed the photo indefinitely on some browser/scroll combinations. */
.image-reveal,
.image-reveal.is-visible {
  clip-path: none !important;
}
.offer-photo.image-reveal > img {
  opacity: 1;
}
.offer-photo.image-reveal.is-visible > img {
  animation: webPhotoLighting .85s ease-out both;
}
@keyframes webPhotoLighting {
  from {
    filter: saturate(.78) brightness(.81);
  }
  to {
    filter: saturate(.9) brightness(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .offer-photo.image-reveal.is-visible > img {
    animation: none;
  }
}
/* Ver.3: Corporate demos + tax-office gallery share one bright samples section. */
.web-samples {
  background: #f7fbfe;
  padding-bottom: 110px;
}
.samples-grid {
  align-items: stretch;
}
.sample-card {
  min-width: 0;
}
.sample-filters button:focus-visible,.sample-card:focus-visible,.closing-cta:focus-visible {
  outline: 2px solid #24a4e7;
  outline-offset: 4px;
}
.tax-sample-screen {
  background: #eaf2f9;
  overflow: hidden;
}
.tax-design-preview {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  background: linear-gradient(128deg,#f9fcff 0%,#e4f1fa 53%,#c3dff0 100%);
  color: #122e45;
}
.tax-design-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 73% 77%,rgba(42,157,233,.27),transparent 54%);
  pointer-events: none;
}
.tax-preview-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid #c4d9e8;
  position: relative;
}
.tax-preview-bar b {
  font: 700 10px 'DM Sans',sans-serif;
  letter-spacing: .12em;
}
.tax-preview-bar span {
  font: 600 7px 'DM Sans',sans-serif;
  letter-spacing: .05em;
  white-space: nowrap;
  color: #658196;
}
.tax-preview-main {
  flex: 1;
  display: grid;
  grid-template-columns: 1.14fr .86fr;
  align-items: center;
  gap: 6px;
  padding: 12px 15px;
  position: relative;
}
.tax-preview-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.tax-preview-left small {
  font: 700 8px 'DM Sans';
  letter-spacing: .13em;
  color: #1684c4;
}
.tax-preview-left strong {
  font: 600 clamp(16px,1.65vw,23px)/1.5 'Noto Serif JP',serif;
  letter-spacing: .03em;
}
.tax-preview-left>span {
  font: 700 7px 'DM Sans';
  letter-spacing: .06em;
  color: #678aa1;
}
.tax-preview-right {
  position: relative;
  height: 138px;
}
.tax-window {
  position: absolute;
  top: 13px;
  bottom: 4px;
  width: 71%;
  border: 4px solid #e8f2f8;
  box-shadow: 0 10px 20px #22496333;
  background: linear-gradient(160deg,#1c4568,#2074a4 65%,#a2d0e7);
}
.tax-window::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 14%;
  height: 13%;
  background: #fff9;
  box-shadow: 0 20px 0 #ffffff55,0 40px 0 #ffffff55,0 60px 0 #ffffff33;
}
.tax-a {
  right: 31%;
  transform: rotate(-8deg);
  opacity: .66;
}
.tax-b {
  right: 15%;
  transform: rotate(1deg);
  background: linear-gradient(145deg,#f3f8fb,#7eacbb);
  opacity: .9;
}
.tax-c {
  right: 0;
  transform: rotate(9deg);
  background: linear-gradient(145deg,#102d4d,#236aa3);
}
.tax-preview-bottom {
  padding: 10px 15px;
  background: #0c2944;
  color: #e6f5ff;
  font: 600 7px 'DM Sans';
  letter-spacing: .12em;
  display: flex;
  justify-content: space-between;
  position: relative;
}
.tax-preview-bottom b {
  font-size: 12px;
}
/* Replace two consecutive dark end sections with one light, compact CTA. */
.web-closing-light {
  color: #102e46;
  background: linear-gradient(115deg,#e8f4fc 0%,#f8fcff 56%,#e4f3fc 100%);
  padding: 82px 0 84px;
  border-top: 1px solid #d7e8f3;
  overflow: hidden;
}
.web-closing-light::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -240px;
  width: 660px;
  height: 580px;
  border: 1px solid rgba(23,137,204,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgba(22,125,198,.035),0 0 0 108px rgba(22,125,198,.02);
  pointer-events: none;
}
.web-closing-light .closing-inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 60px;
  align-items: center;
}
.web-closing-light .closing-copy {
  max-width: 620px;
}
.web-closing-light .closing-label {
  color: #147bb4;
  font-size: 10px;
  letter-spacing: .22em;
  margin-bottom: 17px;
}
.web-closing-light h2 {
  color: #133248;
  font-size: clamp(30px,3.25vw,44px);
  line-height: 1.5;
  margin: 0 0 14px;
}
.web-closing-light h2 em {
  color: #1386c5;
}
.web-closing-light p {
  color: #557388;
  font-size: 13px;
  line-height: 2.1;
  margin: 0;
}
.web-closing-light .closing-cta {
  border: 1px solid #9fc9e2;
  color: #0b3f60;
  background: #fff;
  min-width: 350px;
  gap: 30px;
  box-shadow: 0 15px 40px rgba(28,104,159,.08);
  transition: background .23s ease,border-color .23s ease,transform .35s ease;
}
.web-closing-light .closing-cta:hover {
  background: #edf8ff;
  border-color: #168aca;
  transform: translateY(-3px);
}
.web-closing-light .cta-arrow {
  color: #fff;
  background: #126aa2;
}
.web-closing-light .closing-big-type {
  display: none;
}
.site-footer {
  padding-top: 35px;
}
/* Match service-top-page reveals: one quiet upward motion; no permanent blank photos. */
.web-detail-page .reveal {
  opacity: 1;
  transform: none;
  transition: opacity .75s ease,transform .9s cubic-bezier(.2,1,.25,1);
}
.web-detail-page.motion-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(26px);
}
.web-detail-page .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.web-detail-page .offer-photo.image-reveal {
  clip-path: none !important;
}
.web-detail-page.motion-ready .offer-photo.image-reveal:not(.is-visible) {
  clip-path: inset(0 100% 0 0) !important;
}
.web-detail-page.motion-ready .offer-photo.image-reveal.is-visible {
  clip-path: inset(0) !important;
  transition: clip-path 1s cubic-bezier(.25,1,.32,1);
}
@media(max-width:900px) {
  .web-closing-light .closing-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: start;
  }
  .web-closing-light .closing-cta {
    min-width: 0;
    width: min(100%,430px);
  }
}
@media(max-width:600px) {
  .web-samples {
    padding-bottom: 76px;
  }
  .tax-preview-right {
    height: 155px;
  }
  .tax-preview-left strong {
    font-size: 22px;
  }
  .web-closing-light {
    padding: 62px 0 66px;
  }
  .web-closing-light h2 {
    font-size: clamp(27px,7.2vw,34px);
  }
  .web-closing-light p {
    font-size: 12px;
  }
  .web-closing-light .closing-cta {
    padding-left: 18px;
    font-size: 12px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .web-detail-page.motion-ready .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
  .web-detail-page.motion-ready .offer-photo.image-reveal:not(.is-visible) {
    clip-path: none !important;
  }
}
