@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800&family=Urbanist:wght@400;500;600;700;800&family=Zen+Kaku+Gothic+New:wght@400;500;700;900&display=swap");

:root {
  --bg: #f4f4f4;
  --ink: #595757;
  --text: #827e7e;
  --muted: #939497;
  --line: #bcbcbc;
  --white: #ffffff;
  --design-width: 1440px;
  --layout-vw: 100vw;
  --page-scale: 1;
  --content-width: 1200px;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Arial, sans-serif;
  --font-zen: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-urbanist: "Urbanist", Arial, sans-serif;
  --header-logo-width: 179px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
}

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

a,
button {
  transition: opacity .2s ease;
}

a:hover,
button:hover {
  opacity: .6;
}

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

.sp-only {
  display: none;
}

button {
  font: inherit;
}

h1,
h2,
h3 {
  color: #201E1E;
  font-family: var(--font-zen);
  letter-spacing: .08em;
}

main {
  min-height: 100vh;
  overflow: hidden;
}

@media (min-width: 1441px) {
  :root {
    --layout-vw: var(--design-width);
  }

  body {
    overflow-x: hidden;
  }

  main {
    width: var(--design-width);
    margin: 0 auto;
    zoom: var(--page-scale);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  align-items: center;
  justify-content: space-between;
  height: 80px;
  min-height: 80px;
  max-height: 80px;
  padding-left: clamp(20px, 3vw, 40px);
  padding-top: 0;
  padding-bottom: 0;
  backdrop-filter: blur(16px);
}

.brand {
  width: var(--header-logo-width);
  flex: 0 0 auto;
}

.brand img {
  height: 40px;
  object-fit: contain;
}

.hero-caption {
  flex: 1 1 220px;
  min-width: 0;
  max-width: 430px;
  margin: 0;
  color: #201e1e;
  font-family: var(--font-zen);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
  text-align: left;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.hero-caption-en {
  white-space: nowrap;
}

.site-header nav {
  display: flex;
  gap: clamp(18px, 3.4vw, 32px);
  align-items: center;
  margin-left: auto;
  padding: 0 20px;
  color: #827E7E;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
}

.site-header nav a {
  white-space: nowrap;
}

.header-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 80px;
}

.header-service-trigger {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.header-service-trigger::after {
  content: ">";
  display: inline-block;
  color: currentcolor;
  font-size: 10px;
  line-height: 1;
  transform: rotate(90deg);
}

.header-service-menu {
  position: absolute;
  top: calc(100% - 10px);
  left: 50%;
  z-index: 30;
  display: flex;
  width: 280px;
  flex-direction: column;
  gap: 0;
  padding: 12px 0;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 16px 34px rgb(32 30 30 / 14%);
  color: #201E1E;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .2s ease, transform .2s ease;
}

.header-service-menu a {
  display: block;
  padding: 10px 18px;
  color: inherit;
  font-family: var(--font-zen);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  white-space: normal;
}

.header-service-menu a:hover,
.header-service-menu a:focus-visible {
  background: #F4F4F4;
}

.header-nav-item:hover .header-service-menu,
.header-nav-item:focus-within .header-service-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  width: auto;
  min-width: 0;
  max-width: none;
  flex: 0 0 auto;
  height: 80px;
  min-height: 80px;
  max-height: 80px;
  padding-right: clamp(20px, 3vw, 40px);
}

.header-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 116px;
  max-width: none;
  flex: 0 0 auto;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  padding: 0 22px;
  font-family: var(--font-zen);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.header-card.light {
  background: var(--white);
  color: var(--text);
  border: 1px solid #827e7e;
}

.header-card.dark {
  min-width: 140px;
  background: var(--ink);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: #201E1E;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.floating-menu {
  display: none;
}

body.menu-open {
  overflow: hidden;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 820px;
  padding: 40px clamp(20px, 6vw, 80px) 120px;
}

.hero-image {
  position: relative;
  width: min(1360px, 100%);
  height: 516px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.hero-ribbon {
  position: absolute;
  right: -7vw;
  bottom: 154px;
  left: -3vw;
  height: 230px;
  background:
    linear-gradient(168deg, transparent 0 46%, rgb(244 244 244 / 94%) 46% 100%),
    linear-gradient(16deg, transparent 0 42%, rgb(244 244 244 / 86%) 42% 100%);
  pointer-events: none;
}

.hero h1 {
  position: absolute;
  right: calc(var(--layout-vw) - 1320px);
  bottom: 150px;
  width: min(548px, calc(100% - 48px));
  margin: 0;
  color: #201e1e;
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  text-shadow: 0 4px 8px var(--white);
}

.hero-scroll-label {
  position: absolute;
  bottom: 70px;
  left: 50%;
  width: min(92vw, 520px);
  margin: 0;
  transform: translateX(-50%);
  color: #201e1e;
  font-family: var(--font-urbanist);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-align: center;
}

.scroll-line {
  position: absolute;
  bottom: -24px;
  left: 50%;
  width: 1px;
  height: 80px;
  background: var(--ink);
}

.section {
  width: min(var(--content-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0;
}

.split-section {
  display: grid;
  grid-template-columns: 193px minmax(0, 846px);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 36px;
  min-width: 0;
}

.section-mark {
  width: 12px;
  height: 2px;
  background: var(--ink);
}

.section-title h1,
.section-title h2 {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  margin: 0;
  color: #201E1E;
  font-family: var(--font-urbanist);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: .06em;
  line-height: 1;
}

.section-title h1 > span:not(.section-mark):not(.section-title-en),
.section-title h2 > span:not(.section-mark):not(.section-title-en) {
  padding-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.4;
  white-space: nowrap;
}

.section-title-en {
  display: inline-flex;
  position: relative;
  overflow: hidden;
  color: transparent;
  animation-fill-mode: forwards;
}

.section-title-en::after {
  position: absolute;
  inset: 0;
  background: #201E1E;
  content: "";
  transform: translateX(-101%);
  pointer-events: none;
}

.section-title-en-char {
  display: inline-block;
}

.section-title h1.is-visible .section-title-en,
.section-title h2.is-visible .section-title-en {
  animation: sectionTitleTextReveal .01s linear .36s forwards;
}

.section-title h1.is-visible .section-title-en::after,
.section-title h2.is-visible .section-title-en::after {
  animation: sectionTitleBarWipe .62s cubic-bezier(.87, 0, .13, 1) forwards;
}

@keyframes sectionTitleBarWipe {
  0% {
    transform: translateX(-101%);
  }

  58% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(101%);
  }
}

@keyframes sectionTitleTextReveal {
  to {
    color: #201E1E;
  }
}

.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .7s ease,
    transform .7s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(var(--reveal-index, 0) * .09s);
}

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

.text-reveal-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.85em);
  transition:
    opacity .5s ease,
    transform .5s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(var(--char-index, 0) * .035s);
}

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

.lead .text-reveal-char {
  transition-delay: calc(var(--char-index, 0) * .055s);
}

.news-list {
  width: 100%;
}

.news-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 52px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.news-item:first-child {
  padding-top: 0;
}

.news-item time {
  padding-top: 8px;
  color: var(--text);
  font-family: var(--font-urbanist);
  font-size: 14px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.news-item p {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.85;
}

.arrow-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: .05em;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.arrow-link span {
  order: -1;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 88px 60px;
  margin-top: 60px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.service-card > img {
  width: 100%;
  aspect-ratio: 333 / 267;
  object-fit: cover;
  border-radius: 2px;
}

.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 20px;
}

.service-label {
  margin: 0 0 28px;
  color: var(--muted);
  font-family: var(--font-urbanist);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .05em;
}

.service-card h3 {
  min-height: 80px;
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 2;
}

.service-card p:not(.service-label) {
  margin: 16px 0 24px;
  color: #595757;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.85;
}

.service-card .arrow-link {
  margin-top: auto;
  align-self: flex-end;
  min-width: 107px;
  justify-content: center;
  padding-bottom: 6px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.works-section {
  padding-top: 92px;
}

.lead {
  margin: 56px 0 0;
  color: var(--ink);
  font-size: clamp(22px, 3.2vw, 24px);
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.5;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.logo-tile {
  display: grid;
  min-height: 116px;
  place-items: center;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 700;
  text-align: center;
  background: var(--white);
  border-radius: 2px;
}

.case-panel {
  margin-top: 80px;
  padding-top: 1px;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.tabs button {
  height: 64px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.tabs button + button {
  border-left: 1px solid var(--line);
}

.tabs .active {
  border-bottom-color: var(--ink);
}

.case-note {
  margin: 36px 0;
  color: var(--ink);
  font-size: 16px;
  text-align: center;
}



.column-section,
.contact-section {
  width: 100%;
  padding-right: max(20px, calc((var(--layout-vw) - var(--content-width)) / 2));
  padding-left: max(20px, calc((var(--layout-vw) - var(--content-width)) / 2));
}

.column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}

.column-card img {
  width: 100%;
  aspect-ratio: 704 / 396;
  object-fit: cover;
}

.column-card h3 {
  margin: 20px 0 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 56px;
}

.contact-card {
  display: flex;
  min-height: 434px;
  flex-direction: column;
  background: var(--ink);
  border-radius: 2px;
  overflow: hidden;
}

.contact-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.contact-card div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px 32px;
  color: var(--white);
}

.contact-card h3 {
  margin: 0;
  color: var(--white);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: .08em;
}

.contact-card p {
  margin: 20px 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.85;
}

.contact-card a {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 10px 16px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  background: var(--white);
  border-radius: 2px;
}

.footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr .45fr;
  gap: clamp(40px, 7vw, 84px);
  padding: 60px max(20px, calc((var(--layout-vw) - var(--content-width)) / 2)) 40px;
  color: var(--white);
  background: var(--ink);
}

.footer-logo {
  display: block;
  width: fit-content;
  max-width: 100%;
}

.footer-company img {
  width: 260px;
  height: auto;
}

.footer-company {
  align-self: start;
}

.footer-company p {
  margin: 36px 0 60px;
  font-size: 12px;
  font-weight: 600;
  line-height: 2.1;
}

.sns {
  display: flex;
  gap: 16px;
  align-items: center;
}

.sns img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: opacity .2s ease;
}

.sns img:hover {
  opacity: .6;
}

.footer-company .copyright {
  margin: 80px 0 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
}

.footer-nav-groups {
  display: contents;
}

.footer-links,
.footer-menu {
  display: flex;
  align-self: start;
  flex-direction: column;
  gap: 12px;
  padding-left: 20px;
  border-left: 2px solid rgb(255 255 255);
}

.footer-links a,
.footer-menu a {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.8;
}

.mobile-contactbar {
  display: none;
}

.page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  display: block;
  width: 44px;
  height: 44px;
  background: url("../btn_gototop.webp") center / contain no-repeat;
  opacity: 1;
}


.page-top img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgb(0 0 0 / 18%));
}

.footer-link-marked {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.footer-link-marked::before {
  width: 16px;
  height: 1px;
  background: currentColor;
  content: "";
}

/* Restored top page styles */
.hero {
  padding: 40px 0 120px;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 50;
  background: #FFFFFF;
  pointer-events: none;
  content: "";
  animation: heroWhiteout 1s ease forwards;
}

.hero-image {
  left: 50%;
  width: min(1360px, calc(var(--layout-vw) - 80px));
  min-width: 0;
  height: 516px;
  margin: 0;
  transform: translateX(-50%);
}

.hero-image img {
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 516px;
  min-height: 516px;
}

.hero-ribbon {
  right: 0;
  left: 0;
  z-index: 1;
  height: 257px;
  background: none;
}

.hero-ribbon::after {
  position: absolute;
  bottom: 0;
  right: auto;
  left: 0;
  width: 1320px;
  aspect-ratio: 1183 / 257;
  background: url("../arrow.png") left bottom / 100% auto no-repeat;
  clip-path: inset(0 100% 0 0);
  content: "";
  animation: arrowWipe 1s ease 1s forwards;
}

@media (min-width: 921px) and (max-width: 1359px) {
  .hero-ribbon::after {
    left: calc(var(--layout-vw) - 1360px);
  }
}

@media (min-width: 403px) and (max-width: 920px) {
  .hero-ribbon::after {
    left: calc(100vw - 1020px);
    width: 1000px;
  }
}

.hero h1 {
  z-index: 2;
  color: #201E1E;
  font-family: var(--font-zen);
  letter-spacing: .25em;
}

.hero h1 span {
  display: block;
  width: fit-content;
  margin-left: auto;
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  animation: heroTextWipe 1s ease forwards;
}

.hero h1 span:nth-child(1) {
  animation-delay: 2s;
}

.hero h1 span:nth-child(2) {
  animation-delay: 2.5s;
}

@keyframes heroWhiteout {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes arrowWipe {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes heroTextWipe {
  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

@media (max-width: 1280px) {
  .hero h1 {
    right: calc(5vw + 36px);
  }
}

@media (min-width: 1184px) and (max-width: 1280px) {
  .hero h1 {
    right: calc(100vw - clamp(1080px, calc(18vw + 952.6px), 1183px));
  }
}

@media (max-width: 1230px) {
  .mission-block .about-copy {
    box-sizing: border-box;
    padding-left: 40px;
  }

  .vision-block .about-copy {
    box-sizing: border-box;
    padding-right: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
    opacity: 0;
  }

  .hero-ribbon::after,
  .hero h1 span,
  .section-title-en,
  .section-title-en-char,
  .reveal-item,
  .text-reveal-char {
    animation: none;
    transition: none;
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: translateY(0);
  }

  .section-title-en {
    color: #201E1E;
  }

  .section-title-en::after {
    display: none;
  }
}

.hero-scroll-label {
  z-index: 2;
  color: #000000;
}

.scroll-line {
  background: #939497;
}

#service,
.works-section {
  width: 100%;
  padding-right: max(20px, calc((var(--layout-vw) - var(--content-width)) / 2));
  padding-left: max(20px, calc((var(--layout-vw) - var(--content-width)) / 2));
}

#service {
  background: #F8F8F8;
}

.works-section {
  background: #FFFFFF;
}

.service-card > img {
  width: 333.33px;
  max-width: 100%;
  height: 267px;
  aspect-ratio: auto;
}

.service-card h3 {
  min-height: 40px;
  height: auto;
}

.service-card p:not(.service-label) {
  margin: 16px 0;
}

.service-card .arrow-link {
  font-family: var(--font-body);
}

.lead {
  margin: 60px 0 0;
  font-family: var(--font-zen);
}

.lead > span:not(.text-reveal-char):not(.text-reveal-static) {
  display: inline-block;
  padding-bottom: 4px;
}

.logo-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 60px;
}

.logo-tile {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
}

.logo-tile img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.tabs {
  border-bottom: 0;
}

.tabs button {
  color: var(--ink);
  font-family: var(--font-zen);
  font-weight: 600;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.tabs button + button {
  border-left: 0;
}

.tabs .active {
  border: 1px solid var(--line);
  border-bottom: 1px solid transparent;
}

.tabs button:not(.active) {
  color: #BCBCBC;
  border-bottom: 1px solid var(--line);
}

.case-note {
  font-size: 14px;
  letter-spacing: .08em;
}

.case-list-hero {
  padding-bottom: 36px;
}

.case-list-section {
  padding-top: 0;
  padding-bottom: 120px;
}

.case-list-section .case-panel {
  margin-top: 0;
}

.case-category {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 34px 0 0;
}

.case-category button {
  min-height: 32px;
  padding: 8px 16px;
  color: #827E7E;
  font-family: var(--font-zen);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}

.case-category .active {
  color: #FFFFFF;
  background: #827E7E;
  border-color: #827E7E;
}




.contact-section {
  padding-bottom: 160px;
}

.contact-card h3,
.contact-card a {
  font-family: var(--font-zen);
}

.contact-card a {
  gap: 12px;
  font-size: 20px;
  letter-spacing: .08em;
}

.contact-card a::after {
  content: "▶";
  font-size: .45em;
}

.company-hero {
  padding-top: 83px;
  padding-bottom: 70px;
}

.about-block {
  display: grid;
  grid-template-columns: minmax(0, 500px) 620px;
  gap: clamp(48px, 9vw, 120px);
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 40px 0 70px;
}

.about-block > img {
  width: 620px;
  height: 354px;
  object-fit: cover;
}

.mission-block {
  grid-template-columns:
    minmax(20px, calc((var(--layout-vw) - var(--content-width)) / 2 + 500px))
    620px;
  justify-content: end;
}

.mission-block .about-copy {
  max-width: 500px;
  justify-self: end;
}

.mission-block > img {
  justify-self: end;
}

.vision-block {
  grid-template-columns: 620px minmax(20px, calc((var(--layout-vw) - var(--content-width)) / 2 + 500px));
  justify-content: start;
  padding-top: 16px;
}

.vision-block .about-copy {
  max-width: 500px;
  justify-self: start;
}

.vision-block > img {
  justify-self: start;
}

.bracket-title {
  margin: 0 0 32px;
  color: var(--ink);
  font-family: var(--font-urbanist);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: .18em;
  line-height: 1;
}

.about-copy h1,
.about-copy h2,
.message-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(23px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.87;
}

.about-copy h1,
.mission-block .about-copy h2 {
  font-family: var(--font-zen);
  font-size: 30px;
  letter-spacing: .1em;
  line-height: 56px;
}

.message-section h2 {
  font-family: var(--font-zen);
  font-size: 20px;
  letter-spacing: .08em;
  line-height: 52px;
}

.about-copy p,
.message-body p {
  margin: 42px 0 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.86;
  white-space: pre-line;
}

.values-section {
  padding-top: 78px;
  padding-bottom: 70px;
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 60px;
  justify-content: center;
  max-width: 1120px;
  margin-top: 54px;
  margin-right: auto;
  margin-left: auto;
}

.value-card {
  width: 333.33px;
  text-align: center;
}

.value-card img {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  object-fit: contain;
}

.value-card-body {
  display: block;
}

.value-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.7;
}

.value-card p {
  margin: 10px 0 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.86;
  text-align: center;
}

.message-section {
  width: min(1120px, calc(100% - 40px));
  padding-top: 96px;
  padding-bottom: 132px;
}

.message-section h2 {
  margin-top: 64px;
  font-size: clamp(22px, 2.15vw, 28px);
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 2.15;
}

.message-body {
  width: min(734px, 100%);
  margin: 68px auto 0;
}

.message-body p {
  margin-top: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 2.45;
}

.message-signature {
  width: min(1120px, 100%);
  margin: 54px auto 0;
}

.message-signature img {
  width: 154px;
  margin: 0 0 0 auto;
}

.company-section {
  background: var(--white);
}

.company-section .section {
  padding-top: 80px;
  padding-bottom: 88px;
}

.company-table-wrap {
  position: relative;
  margin-top: 88px;
  padding-bottom: 148px;
}

.company-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin: 0;
}

.company-table-column {
  display: flex;
  flex-direction: column;
}

.company-table-column > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  min-height: 81px;
  padding: 24px 12px 20px;
  border-bottom: 1px solid var(--line);
}

.company-table dt {
  color: var(--text);
  font-family: var(--font-zen);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.86;
}

.company-table dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: .06em;
  line-height: 1.86;
  white-space: pre-line;
}

.company-table dd a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.company-logo-vertical {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: min(581px, 70%);
  transform: translateX(-50%);
}

.company-logo-sp-wrap,
.company-logo-sp {
  display: none;
}

@media (max-width: 1190px) {
  .site-header nav,
  .header-actions {
    display: none;
  }

  .hero-caption {
    max-width: calc(100vw - 260px);
    font-size: 11px;
    line-height: 1.6;
  }

  .menu-toggle {
    display: inline-flex;
    position: fixed;
    top: 40px;
    right: 20px;
    z-index: 40;
    transform: translateY(-50%);
  }

  .floating-menu {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: block;
    width: 100vw;
    min-height: 100vh;
    padding: 80px clamp(56px, 12vw, 104px) 180px;
    overflow-y: auto;
    background: #F4F4F4 url("../mobile_menu_bg.webp") left bottom / cover no-repeat;
    opacity: 0;
    pointer-events: none;
    transform: translateX(16px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .floating-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .floating-menu-close {
    position: fixed;
    top: 28px;
    right: 28px;
    z-index: 60;
    display: block;
    width: 32px;
    height: 32px;
    appearance: none;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  .floating-menu-close::before,
  .floating-menu-close::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 1px;
    background: #595757;
    content: "";
  }

  .floating-menu-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .floating-menu-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .floating-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .floating-menu a {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-zen);
    font-weight: 400;
    letter-spacing: .08em;
    line-height: 1.5;
  }

  .floating-menu-heading {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-zen);
    font-weight: 400;
    letter-spacing: .1em;
    line-height: 1.5;
  }

  .floating-menu-service {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 14px;
  }

  .floating-menu-heading,
  .floating-menu-primary {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 18px;
    border-bottom: 1px solid #BCBCBC;
    font-size: 24px;
  }

  .floating-menu-heading span,
  .floating-menu-primary span {
    flex: 1;
    font-size: 13px;
    letter-spacing: .06em;
  }

  .floating-menu a.floating-menu-primary {
    font-family: var(--font-urbanist);
    letter-spacing: .1em;
  }

  .floating-menu a.floating-menu-primary span {
    font-family: var(--font-zen);
    letter-spacing: .06em;
  }

  .floating-menu-service a,
  .floating-menu-primary,
  .floating-menu-contact {
    position: relative;
    padding-right: 24px;
  }

  .floating-menu-service a {
    font-size: 14px;
  }

  .floating-menu-service a::after,
  .floating-menu-primary::after,
  .floating-menu-contact::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 6px;
    height: 6px;
    border-top: 1px solid #827E7E;
    border-right: 1px solid #827E7E;
    content: "";
    transform: translateY(-50%) rotate(45deg);
  }

  .floating-menu .floating-menu-contact {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 0 56px 0 32px;
    background: var(--ink);
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .08em;
  }

  .floating-menu .floating-menu-contact::after {
    right: 32px;
    border-color: var(--white);
  }
}

@media (max-width: 920px) {
  .site-header {
    height: 80px;
    min-height: 80px;
    max-height: 80px;
 
  }

  .site-header nav {
    display: none;
  }

  .hero-caption {
    max-width: calc(100vw - 260px);
    font-size: 11px;
    line-height: 1.6;
  }

  .menu-toggle {
    display: inline-flex;
    position: fixed;
    top: 40px;
    right: 20px;
    z-index: 40;
    transform: translateY(-50%);
  }

  .floating-menu {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: block;
    width: 100vw;
    min-height: 100vh;
    padding: 80px clamp(56px, 12vw, 104px) 180px;
    overflow-y: auto;
    background: #F4F4F4 url("../mobile_menu_bg.webp") left bottom / cover no-repeat;
    opacity: 0;
    pointer-events: none;
    transform: translateX(16px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .floating-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .floating-menu-close {
    position: fixed;
    top: 28px;
    right: 28px;
    z-index: 60;
    display: block;
    width: 32px;
    height: 32px;
    appearance: none;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  .floating-menu-close::before,
  .floating-menu-close::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 1px;
    background: #595757;
    content: "";
  }

  .floating-menu-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .floating-menu-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .floating-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .floating-menu a {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-zen);
    font-weight: 400;
    letter-spacing: .08em;
    line-height: 1.5;
  }

  .floating-menu-heading {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-zen);
    font-weight: 400;
    letter-spacing: .1em;
    line-height: 1.5;
  }

  .floating-menu-service {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 14px;
  }

  .floating-menu-heading,
  .floating-menu-primary {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 18px;
    border-bottom: 1px solid #BCBCBC;
    font-size: 24px;
  }

  .floating-menu-heading span,
  .floating-menu-primary span {
    flex: 1;
    font-size: 13px;
    letter-spacing: .06em;
  }

  .floating-menu a.floating-menu-primary {
    font-family: var(--font-urbanist);
    letter-spacing: .1em;
  }

  .floating-menu a.floating-menu-primary span {
    font-family: var(--font-zen);
    letter-spacing: .06em;
  }

  .floating-menu-service a,
  .floating-menu-primary,
  .floating-menu-contact {
    position: relative;
    padding-right: 24px;
  }

  .floating-menu-service a {
    font-size: 14px;
  }

  .floating-menu-service a::after,
  .floating-menu-primary::after,
  .floating-menu-contact::after {
    position: absolute;
    top: 50%;
    right: 0;
    width: 6px;
    height: 6px;
    border-top: 1px solid #827E7E;
    border-right: 1px solid #827E7E;
    content: "";
    transform: translateY(-50%) rotate(45deg);
  }

  .floating-menu .floating-menu-contact {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 0 56px 0 32px;
    background: var(--ink);
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .08em;
  }

  .floating-menu .floating-menu-contact::after {
    right: 32px;
    border-color: var(--white);
  }

  .header-actions {
    display: none;
  }

  .header-card {
    font-size: 11px;
  }

  .hero {
    min-height: 660px;
    padding-top: 24px;
  }

  .hero-image {
    height: 420px;
  }

  .hero-ribbon {
    bottom: 112px;
  }

  .hero h1 {
    bottom: 132px;
  }

  .split-section {
    grid-template-columns: 1fr;
  }

  .column-grid,
  .contact-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer {
    gap: 56px;
  }

  .footer-company p {
    margin: 0;
  }

  .footer-company {
    display: contents;
  }

  .footer-company > .footer-logo,
  .footer-company > p:not(.copyright) {
    order: 1;
  }

  .footer-nav-groups {
    display: flex;
    flex-direction: column;
    gap: 32px;
    order: 2;
  }

  .footer-links,
  .footer-menu {
    order: 0;
  }

  .footer-company .sns {
    order: 3;
    justify-self: start;
  }

  .footer-company .copyright {
    order: 4;
  }

  .about-block,
  .vision-block {
    grid-template-columns: 1fr;
    width: min(var(--content-width), calc(100% - 40px));
    margin: 0 auto;
  }

  .mission-block .about-copy,
  .vision-block .about-copy {
    max-width: none;
    justify-self: stretch;
    padding-right: 0;
    padding-left: 0;
  }

  .company-logo-sp-wrap {
    display: block;
  }

  .company-logo-sp {
    display: block;
    width: 174px;
    margin: 0 auto 32px;
  }

  .company-logo-vertical {
    display: none;
  }

  .about-block > img {
    width: 100%;
    height: auto;
    aspect-ratio: 620 / 354;
  }

  .vision-block img {
    order: 2;
  }

  .values-grid {
    gap: 48px 32px;
    max-width: none;
  }

  .value-card {
    display: flex;
    gap: 20px;
    align-items: center;
    width: min(333px, 100%);
    text-align: left;
  }

  .value-card img {
    flex: 0 0 88px;
    margin: 0;
  }

  .value-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
  }

  .value-card h3 {
    font-size: 16px;
  }

  .value-card p {
    margin: 0;
    font-size: 14px;
    text-align: left;
  }

  .message-body {
    margin-right: 0;
  }

  .company-table {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .company-table-wrap {
    padding-bottom: 0;
  }
}

@media (max-width: 737px) {

  .value-card img {
    width: 80px;
    height: 80px;
    flex-basis: 80px;
  }
}

@media (max-width: 402px) {
  body.has-mobile-contactbar {
    padding-bottom: 104px;
  }

  .site-header {
    height: 52px;
    min-height: 52px;
    max-height: 52px;
    padding: 0 18px;
  }

  .brand {
    width: 142px;
  }

  .brand img {
    height: 32px;
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    top: 26px;
    right: 18px;
    width: 36px;
    height: 24px;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
  }

  .floating-menu-close {
    top: 24px;
    right: 24px;
    width: 28px;
    height: 28px;
  }

  .floating-menu-close::before,
  .floating-menu-close::after {
    width: 28px;
  }

  .floating-menu-service {
    gap: 26px;
  }

  .floating-menu-service a {
    font-size: 14px;
  }

  .floating-menu-contact {
    min-height: 68px;
    margin-top: 28px;
    font-size: 17px;
  }

  .hero {
    min-height: 640px;
    padding: 0 0 96px;
  }

  .hero-image {
    left: 50%;
    width: 346px;
    min-width: 0;
    height: 437px;
    transform: translateX(-50%);
  }

  .hero-image img {
    width: 346px;
    min-width: 0;
    height: 437px;
    min-height: 437px;
    object-position: 5% center;
  }

  .hero-ribbon {
    bottom: 128px;
    height: 92px;
  }

  .hero-ribbon::after {
    right: auto;
    left: calc(100vw - 650px);
    width: 630px;
    aspect-ratio: 1183 / 257;
    background-size: 100% auto;
  }

  .hero h1 {
    right: 18px;
    bottom: 116px;
    width: calc(100% - 36px);
    font-size: 26px;
    letter-spacing: .14em;
    line-height: 1.55;
    text-align: right;
  }

  .hero-caption {
    display: none;
  }

  .hero-scroll-label {
    bottom: 54px;
    width: calc(100% - 36px);
    font-size: 10px;
    text-align: center;
  }

  .scroll-line {
    height: 56px;
  }

  .section {
    padding: 56px 0;
  }

  #service,
  .works-section,
  .column-section,
  .contact-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .section-title {
    gap: 20px;
  }

  .section-title h1,
  .section-title h2 {
    font-size: 32px;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 44px 0 36px;
  }

  .news-item time {
    padding: 0;
  }

  .arrow-link {
    font-size: 13px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .service-card > img {
    width: 100%;
    height: auto;
    aspect-ratio: 333 / 267;
  }

  .service-card h3 {
    height: auto;
    min-height: 0;
    font-size: 18px;
    line-height: 1.8;
  }

  .column-grid,
  .contact-grid,
  .tabs {
    grid-template-columns: 1fr;
  }

  .logo-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    justify-content: stretch;
  }

  .logo-tile {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1;
  }

  .case-category {
    gap: 10px;
  }

  .case-category button {
    min-height: 40px;
    font-size: 12px;
  }



  .lead {
    margin-top: 36px;
    font-size: 16px;
  }

  .column-grid,
  .contact-grid {
    gap: 32px;
    margin-top: 36px;
  }

  .contact-card {
    min-height: 0;
  }

  .contact-card div {
    padding: 24px 22px;
  }

  .tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tabs button {
    font-size: 13px;
  }

  .tabs button + button {
    border-left: 1px solid var(--line);
  }

  .contact-card a {
    font-size: 15px;
  }

  .footer {
    gap: 56px;
    padding: 48px 24px 40px;
  }

  .footer-company {
    display: contents;
  }

  .footer-company p {
    margin: 0;
  }

  .footer-company > .footer-logo,
  .footer-company > p:not(.copyright) {
    order: 1;
  }


  .footer-company .copyright {
    margin: 44px 0 0;
    text-align: center;
  }


  .mobile-contactbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 82px;
    overflow: hidden;
    color: #000000;
    background: #F4F4F4;
    box-shadow: 0 0 16px rgb(0 0 0 / 28%);
    transition: transform .2s ease;
  }

  body.menu-open .mobile-contactbar {
    transform: translateY(100%);
  }

  .page-top {
    right: 16px;
    bottom: 16px;
  }

  body.has-mobile-contactbar .page-top {
    bottom: 98px;
  }

  .mobile-contactbar-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: center;
    min-width: 0;
    color: #000000;
    font-family: var(--font-zen);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    line-height: 1.2;
    text-decoration: none;
  }

  .mobile-contactbar-item + .mobile-contactbar-item {
    border-left: 1px solid #000000;
  }

  .mobile-contactbar-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
  }

  .mobile-contactbar-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }

  .company-hero {
    padding-top: 40px;
    padding-bottom: 20px;
  }

  .about-block {
    width: min(100% - 32px, var(--content-width));
    gap:32px;
    padding-bottom: 72px;
  }

  .bracket-title {
    margin-bottom: 16px;
    font-size: 22px;
  }

  .about-copy h1,
  .mission-block .about-copy h2 {
    font-size: 24px;
    line-height: 1.8;
  }

  .sp-only {
    display: block;
  }

  .about-copy p,
  .message-body p {
    margin-top: 32px;
    font-size: 14px;
  }

  .value-card h3 {
    font-size: 16px;
  }

  .message-section {
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .message-section h2 {
    margin-top: 40px;
    line-height: 1.9;
  }

  .message-body {
    margin-top: 40px;
  }

  .message-signature img {
    width: 125px;
  }

  .company-table-column > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .company-table-wrap {
    padding-bottom: 0;
    margin-top: 60px;
  }

}
