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

:root {
  --red: #e60012;
  --red-soft: #fff0f1;
  --black: #111111;
  --ink: #202020;
  --muted: #686868;
  --line: #e7e7e7;
  --paper: #ffffff;
  --soft: #f4f4f1;
  --soft-2: #fafafa;
  --max: 1180px;
  --section: clamp(92px, 9vw, 136px);
  --hero-space: clamp(64px, 6.4vw, 92px);
  --gap: clamp(42px, 6vw, 96px);
  --radius: 18px;
  --font-base: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-display: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --type-eyebrow: clamp(11px, 0.85vw, 12px);
  --type-body: clamp(15px, 1.05vw, 16px);
  --type-body-lg: clamp(16px, 1.18vw, 18px);
  --type-card-title: clamp(20px, 1.7vw, 24px);
  --type-section-title: clamp(38px, 4.25vw, 62px);
  --type-hero-title: clamp(46px, 5.1vw, 74px);
  --leading-title: 1.16;
  --leading-body: 1.9;
  --button-width: 190px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-base);
  font-size: var(--type-body);
  line-height: var(--leading-body);
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  padding: 0 clamp(22px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 0;
  backdrop-filter: blur(18px);
}

.brand {
  color: var(--red);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand--image img {
  width: 156px;
  height: auto;
}

.header-actions {
  display: none;
}

.button--mobile-contact {
  display: none;
}

.header-actions .button--mobile-contact {
  display: none;
}

.menu-toggle {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding-block: 8px;
  color: var(--ink);
}

.nav a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav a[aria-current="page"]::after,
.nav a:not(.button):hover::after {
  transform: scaleX(1);
}

.nav .button {
  color: #fff;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--button-width);
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.button--nav {
  min-width: 148px;
  min-height: 50px;
  padding-inline: 26px;
}

.button {
  color: #fff;
  background: var(--red);
  box-shadow: 0 10px 24px rgba(230, 0, 18, 0.18);
}

.button--light {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
}

.button--dark {
  color: #fff;
  background: var(--black);
  box-shadow: none;
}

.button--linkedin {
  color: #fff;
  background: #0a66c2;
  box-shadow: none;
}

.text-link {
  min-width: 0;
  min-height: auto;
  padding: 0;
  color: var(--red);
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(230, 0, 18, 0.24);
}

.button--light:hover {
  color: var(--red);
  border-color: rgba(230, 0, 18, 0.36);
  box-shadow: 0 14px 26px rgba(17, 17, 17, 0.08);
}

.button--dark:hover {
  background: #2a2a2a;
  box-shadow: 0 14px 26px rgba(17, 17, 17, 0.18);
}

.button--linkedin:hover {
  background: #084f98;
  box-shadow: 0 14px 26px rgba(10, 102, 194, 0.24);
}

.text-link:hover {
  transform: translateX(4px);
}

@media (max-width: 1100px) {
  .site-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px 18px;
    min-height: 72px;
    padding: 14px 18px;
  }

  .brand--image img {
    width: 136px;
  }

  .header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
  }

  .header-actions .button--mobile-contact {
    display: inline-flex;
    min-width: 126px;
    min-height: 42px;
    padding-inline: 18px;
    font-size: 13px;
    box-shadow: 0 8px 18px rgba(230, 0, 18, 0.14);
  }

  .menu-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 42px;
    padding: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
  }

  .menu-toggle span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 999px;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle span:nth-child(1) {
    transform: translateY(-6px);
  }

  .menu-toggle span:nth-child(3) {
    transform: translateY(6px);
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(1) {
    transform: rotate(42deg);
  }

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

  .site-header.is-menu-open .menu-toggle span:nth-child(3) {
    transform: rotate(-42deg);
  }

  .nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    padding: 10px 0 4px;
    border-top: 1px solid var(--line);
    font-size: 15px;
  }

  .site-header.is-menu-open .nav {
    display: grid;
    gap: 0;
  }

  .nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav a:not(.button)::after {
    display: none;
  }

  .nav a[aria-current="page"] {
    color: var(--red);
  }

  .nav .button {
    display: none;
  }
}

@media (max-width: 600px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
    padding: 14px 16px;
  }

  .brand--image img {
    width: 122px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .button--mobile-contact {
    min-width: 112px;
    min-height: 40px;
    padding-inline: 15px;
    font-size: 12px;
    box-shadow: 0 7px 16px rgba(230, 0, 18, 0.13);
  }

  .menu-toggle {
    width: 44px;
    height: 40px;
  }
}

[data-reveal] {
  --reveal-x: 0;
  --reveal-y: 28px;
  --reveal-scale: 1;
}

.is-motion-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(var(--reveal-scale));
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.is-motion-ready [data-reveal="image"] {
  --reveal-y: 18px;
  --reveal-scale: 0.985;
}

.is-motion-ready [data-reveal="fade-left"] {
  --reveal-x: 32px;
  --reveal-y: 0;
}

.is-motion-ready [data-reveal="fade-right"] {
  --reveal-x: -32px;
  --reveal-y: 0;
}

.is-motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.card,
.value,
.service-detail__image {
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.card:hover,
.value:hover {
  transform: translateY(-4px);
}

.container {
  width: min(var(--max), calc(100% - 56px));
  margin-inline: auto;
}

.section {
  padding-block: var(--section);
}

.section--soft {
  background: var(--soft);
}

.section--dark {
  color: #fff;
  background: var(--black);
}

.section--message,
.section--team {
  padding-block: var(--hero-space);
}

.section--dark + .section--soft,
.section--soft + .section--dark,
.section--red + .cta {
  border-top: 0;
}

.section--red {
  color: #fff;
  background: var(--red);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--red);
  font-size: var(--type-eyebrow);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: var(--hero-space) 0 calc(var(--hero-space) + clamp(18px, 2vw, 28px));
}

.hero__grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(410px, 0.88fr);
  align-items: center;
  gap: var(--gap);
}

.hero h1,
.page-title {
  margin: 0;
  max-width: 760px;
  font-family: var(--font-display);
  font-size: var(--type-hero-title);
  line-height: 1.08;
  font-weight: 900;
  text-wrap: normal;
}

.keep-line {
  white-space: nowrap;
}

.hero-title--home {
  font-size: clamp(40px, 3.65vw, 54px);
  max-width: 680px;
}

.page-title--contact {
  font-size: clamp(42px, 4.05vw, 60px);
  max-width: 1040px;
}

.services-intro h2 .keep-line,
.contact-aside h2 .keep-line,
.service-detail__body h2 .keep-line {
  display: inline-block;
}

.services-intro h2,
.contact-aside h2,
.service-detail__body h2 {
  font-size: clamp(36px, 3.75vw, 56px);
}

.home-services-title {
  font-size: clamp(36px, 3.65vw, 54px) !important;
  max-width: 680px;
}

.hero__lead {
  max-width: 660px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: var(--type-body-lg);
  line-height: 1.95;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.photo-frame {
  position: relative;
  isolation: isolate;
}

.photo-frame::before {
  content: "";
  position: absolute;
  right: -9%;
  bottom: -8%;
  z-index: -1;
  width: 80%;
  height: 48%;
  background: var(--black);
  transform: skewX(-18deg);
}

.photo-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 42%;
  background: #f1f2f4;
  border-radius: var(--radius);
}

.section--services {
  background: #fff;
  border-top: 1px solid var(--line);
}

.services-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.64fr);
  gap: var(--gap);
  align-items: end;
  margin-bottom: clamp(46px, 6vw, 82px);
  padding: 0 0 clamp(28px, 3.5vw, 46px);
}

.services-intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--type-section-title);
  line-height: var(--leading-title);
  font-weight: 900;
}

.services-intro p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: var(--type-body-lg);
  line-height: 1.9;
}

.section--dark .services-intro p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.photo-frame--portrait img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.66fr);
  gap: var(--gap);
  align-items: end;
  margin-bottom: clamp(42px, 5.8vw, 78px);
}

.section-heading > .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: calc(var(--gap) * -0.62);
}

.section-heading--wide {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--type-section-title);
  line-height: var(--leading-title);
  font-weight: 900;
  text-wrap: balance;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: var(--leading-body);
}

.section--dark .section-heading p,
.section--dark .card p {
  color: rgba(255, 255, 255, 0.72);
}

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

.card {
  padding: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.055);
}

.card__body {
  padding: 28px 28px 30px;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 2.8;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 0;
}

.card h3 {
  margin: 14px 0 14px;
  font-family: var(--font-display);
  font-size: var(--type-card-title);
  line-height: 1.34;
  text-wrap: balance;
}

.card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 11px;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.message-band {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(390px, 0.68fr);
  gap: var(--gap);
  align-items: center;
}

.message-band h2,
.split h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--type-section-title);
  line-height: var(--leading-title);
  font-weight: 900;
  text-wrap: balance;
}

.message-band p,
.split p {
  margin: 30px 0 0;
  color: inherit;
  max-width: 620px;
  font-size: var(--type-body);
  line-height: var(--leading-body);
}

.message-band .button,
.split .button {
  margin-top: 32px;
}

.large-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.large-photo--portrait {
  aspect-ratio: 4 / 3.65;
  object-position: center 12%;
}

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

.value {
  padding: clamp(30px, 3.2vw, 40px);
  background: #252525;
  border-radius: 14px;
}

.value strong {
  display: block;
  margin-bottom: 22px;
  color: var(--red);
  font-size: 34px;
  line-height: 1;
}

.value h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 21px;
}

.value p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.media-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(430px, 0.8fr);
  gap: var(--gap);
  align-items: center;
}

.media-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--type-section-title);
  line-height: var(--leading-title);
  font-weight: 900;
  text-wrap: balance;
}

.section--media p:not(.eyebrow) {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
}

.section--media .button {
  margin-top: 34px;
}

.media-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.media-mosaic img {
  width: 100%;
  aspect-ratio: 4 / 3.05;
  object-fit: cover;
  background: #171717;
  filter: none;
}

.media-mosaic img:first-child {
  grid-row: span 2;
  aspect-ratio: 4 / 6.2;
}

.section--recruit .eyebrow,
.section--recruit p {
  color: rgba(255, 255, 255, 0.86);
}

.split--recruit {
  grid-template-columns: minmax(0, 0.82fr) minmax(390px, 0.62fr);
}

.recruit-photo {
  aspect-ratio: 4 / 3.15;
  object-position: center 34%;
}

.cta {
  padding-block: clamp(72px, 7vw, 96px);
  text-align: center;
  background: #fff;
  border-top: 1px solid var(--line);
}

.cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--type-section-title);
  line-height: var(--leading-title);
  text-wrap: balance;
}

.cta p {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: var(--type-body);
  line-height: var(--leading-body);
}

.cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.site-footer {
  color: #fff;
  background: #0d0d0d;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.6fr);
  gap: var(--gap);
  padding-block: clamp(66px, 8vw, 104px);
}

.footer-logo {
  width: 154px;
  height: auto;
  margin-bottom: 26px;
}

.footer-main p,
.footer-main a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.footer-nav {
  display: grid;
  gap: 12px;
}

.copyright {
  padding: 22px 0;
  color: rgba(255, 255, 255, 0.48);
  text-align: center;
  font-size: 12px;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 900px) {
  :root {
    --section: clamp(52px, 10vw, 68px);
    --hero-space: clamp(46px, 9vw, 58px);
    --button-width: 168px;
  }

  .site-header {
    position: sticky;
  }

  .hero__grid,
  .split,
  .message-band,
  .media-grid,
  .section-heading,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .cards,
  .value-list {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .page-title {
    font-size: clamp(32px, 9.2vw, 50px);
  }

  .page-title {
    font-size: clamp(28px, 7.4vw, 44px);
    line-height: 1.12;
  }

  .hero {
    padding: clamp(46px, 9vw, 56px) 0 clamp(40px, 8vw, 50px);
  }

  .hero__lead {
    margin-top: 28px;
  }

  .hero__actions {
    gap: 12px;
    margin-top: 32px;
  }

  .hero__actions .button {
    width: min(100%, 288px);
  }

  .hero .photo-frame img {
    aspect-ratio: 4 / 3.45;
    object-position: center 36%;
  }

  .section--services {
    padding-top: clamp(44px, 9vw, 56px);
  }

  .section--message,
  .section--team {
    padding-block: clamp(46px, 9vw, 58px);
  }

  .section--values {
    padding-top: clamp(44px, 9vw, 56px);
  }

  .media-title,
  .message-band h2,
  .split h2,
  .section-heading h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .cards {
    gap: 32px;
  }

  .card {
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.07);
  }

  .card img {
    aspect-ratio: 16 / 10;
  }

  .photo-frame::before {
    right: -4%;
    bottom: -4%;
    height: 32%;
  }

  .services-intro {
    grid-template-columns: 1fr;
    margin-bottom: clamp(30px, 7vw, 42px);
    padding-bottom: 0;
  }

  .section-heading > .eyebrow {
    margin-bottom: -18px;
  }

  .section--message .large-photo--portrait {
    aspect-ratio: 4 / 3.2;
    object-position: center 10%;
  }

  .media-grid {
    gap: 42px;
  }

  .media-mosaic {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .media-mosaic img,
  .media-mosaic img:first-child {
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }

  .split--recruit {
    gap: 44px;
  }

  .recruit-photo {
    aspect-ratio: 16 / 10;
  }

  .cta {
    padding-block: clamp(58px, 11vw, 72px);
  }

  .container {
    width: min(var(--max), calc(100% - 36px));
  }

  .button,
  .text-link {
    min-height: 50px;
    padding-inline: 24px;
    font-size: 14px;
  }

  .is-motion-ready [data-reveal="fade-left"],
  .is-motion-ready [data-reveal="fade-right"] {
    --reveal-x: 0;
    --reveal-y: 24px;
  }

  .is-motion-ready [data-reveal] {
    transition-duration: 560ms;
  }
}

/* Lower pages */
.mobile-break {
  display: none;
}
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 8vw, 124px) 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.page-hero__grid {
  display: block;
}

.page-hero__grid > div:first-child {
  max-width: 900px;
}

.page-lead {
  max-width: 800px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: var(--type-body-lg);
  line-height: 1.95;
}

.page-hero__photo {
  margin-top: clamp(48px, 5vw, 76px);
}

.page-hero__photo::before {
  display: none;
}

.page-hero__photo img {
  aspect-ratio: 21 / 8;
  object-position: center 52%;
}

.page-intro {
  background: var(--black);
  color: #fff;
  padding-block: clamp(76px, 8vw, 118px);
}

.page-intro .section-heading {
  display: block;
  max-width: 940px;
  margin-bottom: 0;
  text-align: center;
}

.page-intro .section-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 4vw, 58px);
}

.page-intro .section-heading h2::before {
  content: "SERVICE CONCEPT";
  display: block;
  margin: 0 0 clamp(20px, 2.4vw, 30px);
  color: var(--red);
  font-family: var(--font-base);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.page-intro .section-heading[data-label] h2::before {
  content: attr(data-label);
}

.page-intro--manual-label .section-heading h2::before {
  display: none;
}

.page-intro__label {
  margin: 0 0 clamp(20px, 2.4vw, 30px);
  color: var(--red);
}

.page-intro .section-heading p {
  max-width: 780px;
  margin: clamp(28px, 3.2vw, 38px) auto 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: var(--type-body-lg);
  line-height: 2;
}

.page-intro .section-heading .page-intro__label {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 0 clamp(20px, 2.4vw, 30px);
  color: var(--red);
  line-height: 1.2;
  text-align: center;
}

.service-detail {
  padding-block: clamp(88px, 8.5vw, 126px);
  background: #fff;
}

.service-detail--soft {
  background: var(--soft);
}

.service-detail--separated {
  border-top: 1px solid var(--line);
}

.service-detail__grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 0.9fr);
  align-items: center;
  gap: var(--gap);
}

.service-detail__grid--reverse .service-detail__image {
  order: 2;
}

.service-detail__image {
  width: 100%;
  aspect-ratio: 4 / 3.45;
  object-fit: cover;
  border-radius: var(--radius);
}

.service-detail__body h2,
.service-value h2 {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: var(--type-section-title);
  line-height: var(--leading-title);
  font-weight: 900;
  text-wrap: balance;
}

.service-detail__body p {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: var(--type-body-lg);
  line-height: 1.95;
}

.check-list {
  display: grid;
  gap: 0;
  margin: 30px 0 32px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.check-list li {
  position: relative;
  padding: 15px 0 15px 24px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  line-height: 1.6;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25px;
  width: 8px;
  height: 8px;
  background: var(--red);
}

.service-value {
  text-align: center;
}

.service-value__inner {
  max-width: 860px;
}

.service-value p:not(.eyebrow) {
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: var(--type-body-lg);
  line-height: 1.95;
}

.service-value--accent {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 118%, rgba(230, 0, 18, 0.16), transparent 36%),
    linear-gradient(135deg, #fff 0%, #fff7f7 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-value--accent::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  background: var(--red);
}

.service-value--accent::after {
  content: "";
  position: absolute;
  inset: auto 8% -46% auto;
  width: min(42vw, 500px);
  aspect-ratio: 1;
  border: 1px solid rgba(230, 0, 18, 0.14);
  border-radius: 999px;
}

.service-value--accent .service-value__inner {
  position: relative;
}

.service-value--accent .eyebrow {
  color: var(--red);
}

.service-value--accent h2 {
  color: var(--ink);
}

.service-value--accent p:not(.eyebrow) {
  color: var(--muted);
}

.message-signature {
  margin-top: clamp(30px, 3.2vw, 42px);
  color: var(--ink);
  font-size: var(--type-body-lg);
  font-weight: 900;
  line-height: 1.7;
}

.message-photo-frame {
  overflow: hidden;
}

.message-photo-inner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.message-photo-inner--single {
  object-position: center 20%;
  transform: scale(1.36);
  transform-origin: center 22%;
}

.message-photo--pair {
  object-position: center 18%;
}

.message-photo-inner--team {
  object-position: center 14%;
}

.team-photo--group {
  aspect-ratio: 16 / 10;
  object-position: center 32%;
}

.team-photo--culture {
  aspect-ratio: 16 / 10;
  object-position: center 36%;
}

.team-members {
  background: #fff;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.8vw, 32px);
}

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

.member-card {
  min-height: 100%;
  padding: clamp(28px, 3vw, 38px);
  background: var(--soft-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.member-card__photo {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 26px;
  overflow: hidden;
  color: rgba(230, 0, 18, 0.48);
  background:
    linear-gradient(135deg, rgba(230, 0, 18, 0.08), transparent 44%),
    #fff;
  border: 1px solid rgba(230, 0, 18, 0.14);
  border-radius: calc(var(--radius) - 6px);
}

.member-grid--two .member-card__photo {
  width: min(100%, 360px);
  margin-inline: auto;
  margin-bottom: 24px;
}

.member-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-card__photo span,
.member-card__number {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.member-card__photo span {
  color: rgba(230, 0, 18, 0.56);
}

.member-card h3 {
  margin: 18px 0 0;
  font-size: var(--type-card-title);
  line-height: 1.25;
}

.member-card p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: var(--leading-body);
}

.member-card__position {
  margin-top: 8px !important;
  color: var(--ink) !important;
  font-weight: 800;
}

.company-photo {
  object-position: center 52%;
}

.company-missions {
  background: #fff;
}

.company-values,
.company-history {
  background: #fff;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.8vw, 32px);
}

.mission-card {
  min-height: 100%;
  padding: clamp(28px, 3vw, 38px);
  background: var(--soft-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mission-card span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.mission-card h3 {
  margin: 18px 0 0;
  font-size: var(--type-card-title);
  line-height: 1.35;
}

.mission-card p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: var(--leading-body);
}

.company-panel {
  padding: clamp(28px, 4vw, 46px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(17, 17, 17, 0.04);
}

.profile-list {
  margin: 0;
}

.profile-list > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.profile-list > div:first-child {
  padding-top: 0;
}

.profile-list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.profile-list dt {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.profile-list dd {
  margin: 0;
  color: var(--muted);
  line-height: var(--leading-body);
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(300px, 0.5fr);
  gap: var(--gap);
  align-items: stretch;
}

.access-map {
  overflow: hidden;
  min-height: 420px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.access-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.access-info {
  align-self: stretch;
}

.access-info h3 {
  margin: 0;
  font-size: var(--type-card-title);
  line-height: 1.3;
}

.access-info p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--muted);
  line-height: var(--leading-body);
}

.history-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.history-list li {
  display: grid;
  grid-template-columns: minmax(130px, 0.22fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.history-list time {
  color: var(--ink);
  font-weight: 900;
}

.history-list span {
  color: var(--muted);
  line-height: var(--leading-body);
}

.media-photo {
  object-position: center 28%;
}

.media-channels {
  background: #fff;
}

.media-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.8vw, 32px);
}

.media-channel-card {
  overflow: hidden;
  min-height: 100%;
  background: var(--soft-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.media-channel-card img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
  object-position: top center;
  background: #fff;
}

.media-channel-card__body {
  padding: clamp(26px, 3vw, 34px);
}

.media-channel-card__body span,
.personal-sns-card__role {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.media-channel-card__body h3,
.personal-sns-card h3 {
  margin: 16px 0 0;
  font-size: var(--type-card-title);
  line-height: 1.3;
}

.media-channel-card__body p,
.personal-sns-card p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: var(--leading-body);
}

.media-channel-card__body .text-link {
  margin-top: 22px;
}

.personal-sns-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.8vw, 32px);
}

.personal-sns-card {
  padding: clamp(30px, 3.4vw, 44px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.personal-sns-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.personal-sns-preview img {
  width: 100%;
  aspect-ratio: 4 / 3.1;
  object-fit: cover;
  object-position: top center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 10px);
}

.sns-link-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.sns-link-grid .button {
  width: 176px;
  min-width: 0;
}

.recruit-page-photo--main {
  aspect-ratio: 16 / 10;
  object-position: center 32%;
}

.recruit-page-photo--culture {
  aspect-ratio: 16 / 10;
  object-position: center 36%;
}

.recruit-guide {
  background: #fff;
}

.recruit-site-body .button {
  margin-top: clamp(38px, 4vw, 54px);
}

.recruit-card p {
  min-height: 0;
}

.recruit-personality-list {
  display: grid;
  gap: 0;
  padding: clamp(28px, 4vw, 46px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(17, 17, 17, 0.04);
}

.recruit-personality-list > div {
  display: grid;
  grid-template-columns: minmax(92px, 0.16fr) minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 42px);
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.recruit-personality-list > div:first-child {
  padding-top: 0;
}

.recruit-personality-list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.recruit-personality-list span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.recruit-personality-list h3 {
  margin: 0;
  font-size: var(--type-card-title);
  line-height: 1.3;
}

.recruit-personality-list p {
  margin: 0;
  color: var(--muted);
  line-height: var(--leading-body);
}

.service-value .button {
  margin-top: 32px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.52fr) minmax(0, 0.98fr);
  gap: var(--gap);
  align-items: start;
}

.contact-aside h2 {
  margin: 0;
  font-size: var(--type-section-title);
  line-height: var(--leading-title);
}

.contact-aside p:not(.eyebrow) {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: var(--type-body-lg);
  line-height: 1.95;
}

.contact-type-list {
  display: grid;
  gap: 0;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.contact-type-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-type-list span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.contact-type-list strong {
  line-height: 1.6;
}

.contact-form-panel {
  padding: clamp(30px, 4vw, 48px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 22px 56px rgba(17, 17, 17, 0.05);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 24px;
}

.contact-form-grid__full {
  grid-column: 1 / -1;
}

.contact-form-panel label {
  display: grid;
  gap: 10px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-panel label > span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.contact-form-panel em {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-left: 8px;
  padding: 0 8px;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.contact-form-panel input,
.contact-form-panel select,
.contact-form-panel textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form-panel textarea {
  min-height: 190px;
  padding-block: 15px;
  resize: vertical;
}

.contact-form-panel input:focus,
.contact-form-panel select:focus,
.contact-form-panel textarea:focus {
  outline: 0;
  border-color: rgba(230, 0, 18, 0.62);
  box-shadow: 0 0 0 4px rgba(230, 0, 18, 0.09);
}

.contact-form-privacy {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.contact-form-privacy a {
  color: var(--red);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact-form-status {
  display: none;
  margin: 24px 0 0;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 800;
  line-height: 1.7;
}

.contact-form-status.is-visible {
  display: block;
}

.contact-form-status.is-success {
  color: #126233;
  background: #eefaf3;
  border: 1px solid #bfe8cd;
}

.contact-form-status.is-error {
  color: #9b0c16;
  background: #fff0f1;
  border: 1px solid rgba(230, 0, 18, 0.24);
}

.contact-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.contact-form-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-form-actions .button {
  border: 0;
  cursor: pointer;
}

.contact-form-actions .button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.contact-note {
  background: #fff;
  border-top: 1px solid var(--line);
}

.contact-note__inner {
  max-width: 860px;
  text-align: center;
}

.contact-note h2 {
  margin: 0;
  font-size: var(--type-section-title);
  line-height: var(--leading-title);
}

.contact-note p:not(.eyebrow) {
  margin: 28px auto 0;
  color: var(--muted);
  font-size: var(--type-body-lg);
  line-height: 1.95;
}

.legal-section {
  background: var(--soft);
}

.legal-content {
  max-width: 980px;
  padding: clamp(34px, 5vw, 64px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 22px 56px rgba(17, 17, 17, 0.05);
}

.legal-content h2 {
  margin: clamp(38px, 4vw, 54px) 0 0;
  padding-top: clamp(30px, 3vw, 42px);
  border-top: 1px solid var(--line);
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.45;
}

.legal-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-content h3 {
  margin: 30px 0 0;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.55;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: var(--type-body-lg);
  line-height: 2;
}

.legal-content p {
  margin: 24px 0 0;
}

.legal-content ul {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.legal-content li {
  position: relative;
  padding-left: 22px;
}

.legal-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.92em;
  width: 8px;
  height: 8px;
  background: var(--red);
}

.legal-company {
  margin-top: clamp(34px, 4vw, 50px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.legal-company p {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: var(--type-body);
  font-weight: 700;
  line-height: 1.8;
}

.services-intro h2,
.contact-aside h2,
.service-detail__body h2 {
  font-size: clamp(36px, 3.75vw, 56px);
}

@media (max-width: 900px) {
  .page-lead,
  .hero__lead,
  .service-detail__body p,
  .service-value p:not(.eyebrow),
  .page-intro .section-heading p,
  .contact-aside p:not(.eyebrow),
  .contact-note p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.86;
  }

  .page-intro .section-heading h2 {
    font-size: clamp(31px, 8vw, 42px);
  }

  .mobile-break {
    display: block;
  }

  .service-detail__grid {
    grid-template-columns: 1fr;
  }

  .service-detail__body,
  .service-value__inner,
  .contact-aside,
  .contact-form-panel {
    min-width: 0;
  }

  .service-detail__body h2,
  .service-value h2,
  .contact-aside h2,
  .contact-note h2 {
    font-size: clamp(31px, 8.2vw, 42px);
  }

  .member-grid {
    grid-template-columns: 1fr;
  }

  .member-grid--two .member-card__photo {
    width: min(100%, 320px);
    margin-inline: auto;
    margin-bottom: 26px;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .access-grid {
    grid-template-columns: 1fr;
  }

  .profile-list > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .history-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .media-channel-grid,
  .personal-sns-grid {
    grid-template-columns: 1fr;
  }

  .recruit-personality-list > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-layout,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .media-channel-card img {
    aspect-ratio: 16 / 9;
  }

  .page-hero {
    padding: clamp(50px, 10vw, 70px) 0 clamp(56px, 11vw, 76px);
  }

  .page-lead {
    margin-top: 22px;
  }

  .service-detail__image {
    aspect-ratio: 16 / 10;
  }

  .page-hero__photo {
    margin-top: clamp(34px, 8vw, 48px);
  }

  .page-hero__photo img {
    aspect-ratio: 16 / 9;
  }

  .page-intro {
    padding-block: clamp(64px, 12vw, 84px);
  }

  .service-detail {
    padding-block: clamp(64px, 12vw, 84px);
  }

  .service-detail__grid--reverse .service-detail__image {
    order: 0;
  }

  .message-photo-inner--single {
    transform: scale(1);
  }

  .contact-form-panel {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .contact-form-grid {
    gap: 22px;
  }

  .contact-form-actions .button {
    width: 100%;
  }
}
